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 


Cheat Engine Calculation

 
Post new topic   Reply to topic    Cheat Engine Forum Index -> General programming
View previous topic :: View next topic  
Author Message
NachoImperium
How do I cheat?
Reputation: 0

Joined: 27 Dec 2018
Posts: 1

PostPosted: Thu Dec 27, 2018 7:59 am    Post subject: Cheat Engine Calculation Reply with quote

Hey Guys,

i have just a simple Question, how does CheatENgine calculates the adress "00000AC8" from the module "THREADSTACK0" in the first line?

You can see the adresses in the picture.



Unbenannt.PNG
 Description:
Picture
 Filesize:  73.54 KB
 Viewed:  2762 Time(s)

Unbenannt.PNG


Back to top
View user's profile Send private message
OldCheatEngineUser
Whateven rank
Reputation: 20

Joined: 01 Feb 2016
Posts: 1586

PostPosted: Thu Dec 27, 2018 12:01 pm    Post subject: Reply with quote

NachoImperium wrote:
how does CheatENgine calculates the adress "00000AC8" from the module "THREADSTACK0" in the first line?

ThreadStack0 is not a module, its the pushed return address from kernel32.BaseThreadInitThunk

you can notice there are two symbols, + and -

in your case its minus (it will be minus - always), so ThreadStack0 is ESP (when system call your entry point)

value of [esp - AC8] = some address
that address + offset 40 = ???
??? + D8 = ??
?? + offset = ?

and so on, but dont depend on stack contents.

_________________
About Me;
I Use CE Since Version 1.X, And Still Learning How To Use It Well!
Jul 26, 2020
STN wrote:
i am a sweetheart.
Back to top
View user's profile Send private message Visit poster's website
ParkourPenguin
I post too much
Reputation: 138

Joined: 06 Jul 2014
Posts: 4275

PostPosted: Thu Dec 27, 2018 10:47 pm    Post subject: Reply with quote

That's not an address; that's an offset.

There are some posts relating to THREADSTACK#. e.g.:
https://forum.cheatengine.org/viewtopic.php?t=582604

_________________
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 -> General programming 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