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 


aobscan command for pointers?

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

Joined: 21 Feb 2016
Posts: 115

PostPosted: Sat Oct 15, 2016 3:21 pm    Post subject: aobscan command for pointers? Reply with quote

I've just recently been making use of the aobscan instruction CE has and was wondering if it can be used (or if there's something similar to it) for pointers?

So let's say I had something like this:

Code:
[enable]
aobscan(Address, aob signature)
aobscan(OpCode, aob signature)
label(_Address)
registersymbol(_Address)
registersymbol(OpCode)

alloc(hook,128)

hook:
mov eax,[pointer]
lea eax,[eax+offset]
mov [esp+04],eax
jmp OpCode

Address:
_Address:
call hook

[disable]
_Address:
call OpCode

dealloc(hook)

unregistersymbol(_Address)
unregistersymbol(OpCode)


How could I have it scan the aob for the pointers address and then grab that pointer in memview? To get to it you have to scan -> disassemble first result -> and then click the assembly to get the pointer in mov eax,[]
Back to top
View user's profile Send private message
Zanzer
I post too much
Reputation: 126

Joined: 09 Jun 2013
Posts: 3278

PostPosted: Sat Oct 15, 2016 5:27 pm    Post subject: Reply with quote

That address would be inside of the AOB and replaced with ?? ?? ?? ??.
So whatever your AOB is named, you could use as the pointer address.
Just set the address to [aobname+2].
Back to top
View user's profile Send private message
usernotfound
Expert Cheater
Reputation: 0

Joined: 21 Feb 2016
Posts: 115

PostPosted: Sat Oct 15, 2016 6:14 pm    Post subject: Reply with quote

Saved the day yet again Zanzer, thanks! Smile
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