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 


Is this considered a base address?

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

Joined: 31 Oct 2015
Posts: 17

PostPosted: Fri Oct 11, 2019 1:56 pm    Post subject: Reply with quote

I'm not well versed in assembler terminology but I'd say it's the base address of the player struct.

In this case ECX will be the address of the player struct and ECX+E2 gives you the pointer to the HP value. The brackets, [ECX+E2], will dereference the pointer which means: read the value that is stored at the address ECX+OFFSET.

Note that there's no guarantee that the ECX register at that instruction will always point to the player address. There might be multiple structs in the game you're hacking that all pass through that same instruction. You can right-click the instruction in CE and "Find out what addresses this instruction accesses" to see this.
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