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 


Getting the offset to the found address relative to the base

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

Joined: 18 Oct 2024
Posts: 7

PostPosted: Sat Oct 19, 2024 3:39 am    Post subject: Getting the offset to the found address relative to the base Reply with quote

Hello.
Im trying to write a simple "mod menu" for some game.
I have found the address (type is float if it matters).
In the disassembly when checking what is writing to that address I get this instruction:
Code:
19E4485314A - F3 0F11 68 74  - movss [rax+74],xmm5


So my pointer would be [rax+74]. I've noticed it is constant. The offset (74) doesnt change, only the rax register is different (that one is obvious).

How can I, from the C++ side if possible, get the base address for that pointer?
How would I get the offset to it so it would work all the time?
With CE I can do aobscan but in C++?
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