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 


im having a problem using the offsets to find a pointer

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

Joined: 23 Sep 2010
Posts: 0

PostPosted: Thu Sep 23, 2010 2:18 am    Post subject: im having a problem using the offsets to find a pointer Reply with quote

just need some quick help decoding this offset
mov [edx+ebx*4+0c]
i tried 0c and 0 both of them changed to original value so its not right help please XD
Back to top
View user's profile Send private message
XaLeX
Expert Cheater
Reputation: 0

Joined: 19 Aug 2008
Posts: 226

PostPosted: Thu Sep 23, 2010 7:39 am    Post subject: Reply with quote

edx is the base, ebx*4+0c is the offset, with ebx obviously being a counter.
Back to top
View user's profile Send private message
Burningmace
Grandmaster Cheater
Reputation: 5

Joined: 17 Feb 2008
Posts: 520
Location: Inside the Intel CET shadow stack

PostPosted: Thu Sep 23, 2010 10:04 pm    Post subject: Reply with quote

To elabourate a little on what XaLeX said...

Let's say your instruction is:
mov [edx+ebx*4+0c], 0x123

1) Multiply ebx by 4.
2) Add 0x0C (decimal 12) to that value.
3) Add that to the value in edx.
4) The number you have now is your address. Write 0x123 to that address.

So, for example, if ebx was 6 and edx was 0x00040000:

0x6 * 0x4 = 0x18
0x18 + 0x0C = 0x24
0x00040000 + 0x24 = 0x00040024
Write 0x123 at the address 0x00040024.

_________________
It's not fun unless every exploit mitigation is enabled.
Back to top
View user's profile Send private message
Teh1337Bix
Cheater
Reputation: 3

Joined: 22 Mar 2010
Posts: 37
Location: Australia

PostPosted: Tue Sep 28, 2010 8:01 pm    Post subject: Reply with quote

Looking at the *4 part, it looks like ebx is the index of an array stored at 12 past edx. So it might have 3 dwords describing an array, and then an array after that. But then again I don't even know what game your hacking or anything so I'm probably reading to much into one instruction.
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