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 


Writing to "sub" offsets?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Tue Jan 21, 2014 4:42 pm    Post subject: Writing to "sub" offsets? Reply with quote

Hey guys I have a question, have a look below


Assuming [114921F0-10] was the beginning of ESI or w/e, if I wanted to copy a value to ESI, I would simply write MOV[ESI+00],##. But I'm fairly certain the value in the rectangle box is what I'm looking to modify (offset 14 under offset 4), how would I write to that? MOV[ESI+04+14],##? I'm just taking a wild guess I have no clue.
Back to top
View user's profile Send private message
++METHOS
I post too much
Reputation: 92

Joined: 29 Oct 2010
Posts: 4197

PostPosted: Tue Jan 21, 2014 5:00 pm    Post subject: Reply with quote

To mov a value in to that address...I would add it to my cheat table to see what accesses it, and use that injection point for manipulation. If I wanted to compare a value against it, I would do something like this:

Code:
push edi
mov edi,[esi+04]
mov edi,[edi+14]
cmp edi,768
pop edi
jne originalcode


You wouldn't mov a value in to ESI without filtering out addresses first. So, you either filter or use the proper instruction for your injection point.
Back to top
View user's profile Send private message
vng21092
Grandmaster Cheater
Reputation: 15

Joined: 05 Apr 2013
Posts: 644

PostPosted: Tue Jan 21, 2014 5:09 pm    Post subject: Reply with quote

Yup, I actually needed to compare it (don't know why I said modify... brainfart o.O) so you answered that already, I'm gonna go try that now, thanks a lot.
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