Palworld-Server-Modding/UE4SS_Signatures/FName_ToString.lua.example
tetosama b1ad8316b7 1
1
2024-01-22 02:19:03 -05:00

13 lines
426 B
Plaintext

function Register()
return "C 3/3 3/C 0/4 8/8 D/5 4/2 4/2 0/4 8/8 B/C F/4 8/8 9/4 4/2 4/2 0/4 8/8 9/4 4/2 4/2 8/E 8"
end
function OnMatchFound(MatchAddress)
local AOBSize = 22
local CallInstr = MatchAddress + AOBSize - 1
local InstrSize = 5
local NextInstr = CallInstr + InstrSize
local Offset = DerefToInt32(CallInstr + 1)
local ToStringAddress = NextInstr + Offset
return ToStringAddress
end