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 


Copy part of an Aob with ?? ?? ?? ??

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

Joined: 27 Sep 2018
Posts: 43

PostPosted: Thu Sep 27, 2018 7:14 am    Post subject: Copy part of an Aob with ?? ?? ?? ?? Reply with quote

Hi.
I have an AOBscan like this :

aobscan(MyScan, F3 0F 11 8B ?? ?? ?? ??)
registersymbol(MyScan)
label(MyScanReturn)

I have to copy the 4 bytes ?? ?? ?? ?? (an adress) to use them later before changing my code

How to ?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4704

PostPosted: Thu Sep 27, 2018 7:30 am    Post subject: Reply with quote

Code:
readmem(MyScan+4,4)

This works like db- just place it wherever you want to write the bytes to.

_________________
I don't know where I'm going, but I'll figure it out when I get there.
Back to top
View user's profile Send private message
Sanglante
Cheater
Reputation: 0

Joined: 27 Sep 2018
Posts: 43

PostPosted: Thu Sep 27, 2018 7:58 am    Post subject: Reply with quote

ParkourPenguin wrote:
Code:
readmem(MyScan+4,4)

This works like db- just place it wherever you want to write the bytes to.

Ok thank for the how to read so i can do this like that ?

Code:
aobscan(MyScan, F3 0F 11 8B ?? ?? ?? ??)
registersymbol(MyScan)
label(MyScanReturn)

originaladress:
readmem(MyScan+4,4)


And then everywhere i try to mov or add originaladress he will use the ?? ?? ?? ??

right ?
Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4704

PostPosted: Thu Sep 27, 2018 8:13 am    Post subject: Reply with quote

Kind of. If you do it like that, you'll need to address an additional memory location.
Code:
mov eax,[originaladress]  // move the original address into eax
mov ecx,[eax]             // move the value at the original address into ecx

_________________
I don't know where I'm going, but I'll figure it out when I get there.
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