PhouPhoune Newbie cheater
Reputation: 0
Joined: 26 Jul 2017 Posts: 17
|
Posted: Tue Aug 22, 2017 5:35 am Post subject: Find the returned value/structure (function) |
|
|
Hey guys
I searched a while about my problem, tested on my game, but without success..
I'm working on an Unity Game, so I used the mono dissector and find an interesting function (getPlayersDatas, which return an object "PlayersDatas").
I found the instruction which call this function, and his return instruction.
I'm interesting about the returned value (the "PlayerDatas"), so I searched where the function store it:
The problem is I dont success to retrieve the returned structure. If I well understood, complex structures are not returned directly, but are stored into a region of the memory. A pointer to this region is given as a first hidden parameter to the function.
I took notes of all registers + last values in the stack before the call was done, then I breakpointed just after the ret instruction, and searched all the addresses, but none gave me the good memory region. use these addresses as pointers ( I mean if Eax store FFFF FFFF, I search the address of FFFF FFFF and check this address).
Sorry if I'm not really understandable, I'm not that good in English :p
Thanks in advance  |
|