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 


Symbols and Pointers

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

Joined: 06 Aug 2014
Posts: 27

PostPosted: Thu Mar 14, 2019 5:22 pm    Post subject: Symbols and Pointers Reply with quote

Hello,

I've come across an odd scenario where the value i'm looking at only has an address and is only referred to as such.

Rather than my address being like [RSI+24] it's just an address

Code:
0F165C05: 74 07                          -  je 0F165C0E
// ---------- INJECTING HERE ----------
0F165C07: 83 05 94 5A 45 01 0A           -  add dword ptr [01455A94],0A
// ---------- DONE INJECTING  ----------
0F165C0E: A1 94 5A 45 01                 -  mov eax,[01455A94]



This confuses me since I don't understand how I can get a pointer from this, normally I make a label, register symbol and do like 'mov [symbol],esi then in address list i'll add the offset.

I found an example of someone doing it on internet but I've no idea how it works

Code:
[ENABLE]
aobscan(clock,83 05 * * * * 0A A1 * * * * B9)
label(clock_ptr)
clock+2:
clock_ptr:
registersymbol(clock)
registersymbol(clock_ptr)

[DISABLE]
clock+6:
db 0A
unregistersymbol(clock)
unregistersymbol(clock_ptr)


Using the address [clock_ptr] works but how does it? In the assembler it doesn't look like anything is mov'ed into it

EDIT: I've tried backtracking and I see lines like 'mov [01455A94],eax' so I thought i'd yoink the time from there but no matter where I try it crashes
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Cheat Engine Forum Index -> General Gamehacking 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