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 


Beginner's problem, I don't understand why the base address

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

Joined: 16 Apr 2023
Posts: 3

PostPosted: Mon Apr 17, 2023 3:19 pm    Post subject: Beginner's problem, I don't understand why the base address Reply with quote

Beginner's problem, I don't understand why the base address is different. And also the values at offsets too.

In the first screenshot, if you look at the address of xrCDB.dll + its offset it will be 0x04227730. Although if you look at the result of the second screenshot of the pointer scanner, the address of the xrCDB module is 0x59040000.

Why does xrCDB not match in the pointer that ended up with offsets?

If I get the module in c++ code, I always get 0x59040000, which is xrCDB.dll, but cheatEngine specifies other values in the address.

If I add up all the offsets, they get different values too. If you even look at the first screenshot with the address and offsets even if you add 0x04227730 with the first offset 20, you get 0x04227750. Why cheatEngine indicates in the first screenshot that 0x04227730 + 0x20 = 0x5487CD20.

I've been struggling with this problem for a week and a half now. I don't understand what's wrong. Please explain to a newbie.



Screenshot 2023-04-17 025726.jpg
 Description:
2 Screenshot
 Filesize:  147.76 KB
 Viewed:  850 Time(s)

Screenshot 2023-04-17 025726.jpg



Screenshot 2023-04-17 025606.jpg
 Description:
1 Screenshot
 Filesize:  55.39 KB
 Viewed:  850 Time(s)

Screenshot 2023-04-17 025606.jpg


Back to top
View user's profile Send private message
ParkourPenguin
I post too much
Reputation: 152

Joined: 06 Jul 2014
Posts: 4709

PostPosted: Mon Apr 17, 2023 4:07 pm    Post subject: Reply with quote

That's not how pointers work.

A pointer is a type. Its value is another address: a 4-byte integer in 32-bit processes, or an 8-byte integer in 64-bit processes. You have to read the value of the pointer to get the address it points to.

The arrow -> means "points to", or "the value stored at this address is..."
"[address1] -> address2" means the value of the pointer at address1 is address 2.

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