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 


a little information

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
kitesan
Expert Cheater
Reputation: 0

Joined: 01 May 2014
Posts: 124

PostPosted: Sat Jun 07, 2014 10:19 am    Post subject: a little information Reply with quote

i want to calculate this:

ecx+eax*4+000000A0

how does it work? what eax*4 means?
Back to top
View user's profile Send private message
justa_dude
Grandmaster Cheater
Reputation: 23

Joined: 29 Jun 2010
Posts: 893

PostPosted: Sat Jun 07, 2014 11:13 am    Post subject: Re: a little information Reply with quote

kitesan wrote:
i want to calculate this:

ecx+eax*4+000000A0

how does it work? what eax*4 means?


It's exactly like basic arithmetic or algebra... you multiply eax by four, then add ecx and a0. As an aside, this kind of construct pops up a lot when you're iterating over an array of pointers or dwords. In such a case, ecx would be the base of the object or array, a0 would be the offset of the first element, and eax would be the index of the element we desire for retrieval.

_________________
A nagy kapu mellett, mindig van egy kis kapu.
----------------------
Come on...
Back to top
View user's profile Send private message
kitesan
Expert Cheater
Reputation: 0

Joined: 01 May 2014
Posts: 124

PostPosted: Sat Jun 07, 2014 11:17 am    Post subject: Reply with quote

Thank alot.
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