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 


Some question about pointers...

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
ericwowo2003
How do I cheat?
Reputation: 0

Joined: 21 Oct 2009
Posts: 2

PostPosted: Wed Oct 21, 2009 6:47 am    Post subject: Some question about pointers... Reply with quote

I have a case like this:
mov ecx,[eax+edx*4]
It is a multiplication and edx is a variable
so i dont know how to find ecx with pointers and offsets..

can anyone teach me how to find ecx with pointers and offsets??


Last edited by ericwowo2003 on Wed Oct 21, 2009 9:20 am; edited 3 times in total
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Wed Oct 21, 2009 8:59 am    Post subject: Reply with quote

the offset is edx*4
just get edx, multiply that by 4, and you have the offset

Or see if you can find a different path without the *4

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
ericwowo2003
How do I cheat?
Reputation: 0

Joined: 21 Oct 2009
Posts: 2

PostPosted: Wed Oct 21, 2009 9:27 am    Post subject: Reply with quote

Dark Byte wrote:
the offset is edx*4
just get edx, multiply that by 4, and you have the offset

Or see if you can find a different path without the *4

i have already gotten edx
but edx is a variable
the value would change
so i cant just multiply that by 4

Is offset only support addition?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 470

Joined: 09 May 2003
Posts: 25788
Location: The netherlands

PostPosted: Wed Oct 21, 2009 9:48 am    Post subject: Reply with quote

so the value of edx changes each time ?
Usually the index identifier (edx in this case) tends to have a value that's the same each time. (e.g weapon 1 has a offset of 1, weapon 2 offset 2, etc...)

in that case just find a different path or try code injection

_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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