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 can I add pointer which has multiple registers?

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> Cheat Engine
View previous topic :: View next topic  
Author Message
bshi02
Newbie cheater
Reputation: 0

Joined: 08 Apr 2020
Posts: 13

PostPosted: Thu Mar 23, 2023 12:31 am    Post subject: How can I add pointer which has multiple registers? Reply with quote

I found below opcode which very frequently access to an address which I aimed at.


AI5WIN.exe+DCE7 - 8B 80 E8000000 - mov eax,[eax+000000E8]
AI5WIN.exe+DCED - 8B 48 0C - mov ecx,[eax+0C]
AI5WIN.exe+DCF0 - 8B 51 04 - mov edx,[ecx+04]
AI5WIN.exe+DCF3 - 8B 84 02 64B50400 - mov eax,[edx+eax+0004B564]

EAX=083CC088
EDX=0002299C

But the opcode(AI5WIN.exe+DCF3) ,which very frequently access to aimed address, seems that It has two register(edx,eax) which originally consist of
add calculation and multiple dereference of eax register like below code.
Code:

mov "altered eax",[ [[[eax+000000E8]+0C]+04]+[eax+000000E8]+0004B564 ]

Is it possible to point(dereference) to an aimed address in cheat engine with add calculation of edx and eax register which seems to consist of multiple pointer ?
Back to top
View user's profile Send private message
TsTg
Master Cheater
Reputation: 5

Joined: 12 Dec 2012
Posts: 334
Location: Somewhere....

PostPosted: Thu Mar 23, 2023 4:02 am    Post subject: Reply with quote

CE won't say no, but first you need the initial eax, the one that will be added to the offset of E8 (ie: the base pointer where it is coming from), that will then be used to calculate the rest of the pointer's addresses in order to reach your final target address
Code:
mov eax,[eax+000000E8]
Back to top
View user's profile Send private message
bshi02
Newbie cheater
Reputation: 0

Joined: 08 Apr 2020
Posts: 13

PostPosted: Thu Mar 23, 2023 5:15 am    Post subject: Reply with quote

TsTg wrote:
CE won't say no, but first you need the initial eax, the one that will be added to the offset of E8 (ie: the base pointer where it is coming from), that will then be used to calculate the rest of the pointer's addresses in order to reach your final target address
Code:
mov eax,[eax+000000E8]

Is it impossible to add each of two base address, which is dereferenced by eax register, instead of to add offset by clicking the add address manually button in order to create pointer in cheat engine?
Back to top
View user's profile Send private message
Dark Byte
Site Admin
Reputation: 458

Joined: 09 May 2003
Posts: 25296
Location: The netherlands

PostPosted: Thu Mar 23, 2023 5:35 am    Post subject: Reply with quote

easier to do a code injection that stores the address somewhere
_________________
Do not ask me about online cheats. I don't know any and wont help finding them.

Like my help? Join me on Patreon so i can keep helping
Back to top
View user's profile Send private message MSN Messenger
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