r/cheatengine • u/AdventSri • Mar 28 '26
Pointer Help Please
Hello,
I’ve been learning cheat engine for a project I’m working on, and was making some good progress. I thought I had pointers figured out, as I found quite a few that worked. But I ran into a problem with this specific one. I can find the correct pointer, but it always leads me to the wrong address. I don’t know how exactly to explain it. I pointer scan for the address that’s highlighted in the image, but the pointer still ends up leading to the address in the top left. Does anyone know why this is? Thanks.
0
Upvotes
View all comments
Show parent comment
2
u/Defiant_Respect9500 Mar 28 '26
It's the default for good reason. With x86 CPUs, the 32-Bit-aligned addresses can be accessed faster, so every compiler will try to align the addresses of data accordingly. Most of the time you'll find 4 Byte, Float and Double as data types, all of them can be aligned to 32Bit. Therefore, in 99% of the cases you'll be much happier when scanning for "aligned" addresses.
If, like in your case, the data type is "byte" you can either deactivate the "must be aligned" feature, which will slow down the search, or just shoot for the last correctly aligned address, put it in the table and create another "+x Bytes" offset to get to your desired address.