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 


How to save aob value and use it in AA?

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

Joined: 12 Jun 2016
Posts: 96

PostPosted: Fri Mar 24, 2017 10:49 am    Post subject: How to save aob value and use it in AA? Reply with quote

The code I'm looking for is something like

Code:

movsxd  rcx,dword ptr [rsi+5C]


and other version it may be

Code:

movsxd  rcx,dword ptr [rsi+64]


The byte code is
48 63 4E 5C
and
48 63 4E 64

what I want to do is replace this value in my inject address like
C7 46 XX 00000000 - mov [rsi+XX],00000000
48 63 4E XX - movsxd rcx,dword ptr [rsi+XX]

XX may change to anything,only 1 byte

So how can I save the byte code value in a variable or something and use it in AA in case it change to other value?

I mean no matter what offset it is,I can read that value correctly.
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Fri Mar 24, 2017 3:41 pm    Post subject: This post has 1 review(s) Reply with quote

Code:
aobscan(myaob,48 63 4E ?? {plus more to make it unique})

newmem:
  //mov [rsi+XX],00000000
  db C7 46
  readmem(myaob+3, 1)
  db 00 00 00 00
Back to top
View user's profile Send private message
mindoff
Advanced Cheater
Reputation: 0

Joined: 12 Jun 2016
Posts: 96

PostPosted: Fri Mar 24, 2017 10:07 pm    Post subject: Reply with quote

Thank you,Zanzer
Now it's perfect! Very Happy
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