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 


How to find previeus instruction which writes the memory

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

Joined: 27 Jul 2020
Posts: 17

PostPosted: Mon Jul 27, 2020 4:38 am    Post subject: How to find previeus instruction which writes the memory Reply with quote

i'm debugging a game and it's hard to get the dedired game state. So i use break and trace.
say, the game derive the lost HP, save it into an dynamic address, but not stack, like

mov [esi+0C],eax // set lost hp. i want to backtrace this

and set HP like

sub eax,[esi+1c0] // set hp. i start debug here

where i start debug from.

so, could i use a lua search to backtrace the instruction which modified a memory? like find AccessMemory==0xXXXX

and can cheat engine snap shoot the whole game state?
Back to top
View user's profile Send private message
zhaihouxi
Newbie cheater
Reputation: 0

Joined: 27 Jul 2020
Posts: 17

PostPosted: Tue Jul 28, 2020 5:44 am    Post subject: Reply with quote

or is there some lua command to log every instruction that visits memory?

log:
mov [esi],eax
add [esi],eax
...
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine 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