Cheat Engine Forum Index Cheat Engine
The Official Site of Cheat Engine
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Find the returned value/structure (function)

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking
View previous topic :: View next topic  
Author Message
PhouPhoune
Newbie cheater
Reputation: 0

Joined: 26 Jul 2017
Posts: 17

PostPosted: Tue Aug 22, 2017 5:35 am    Post subject: Find the returned value/structure (function) Reply with quote

Hey guys Smile

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 Wink
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group

CE Wiki   IRC (#CEF)   Twitter
Third party websites