I've got a script I'm working on, and I need to compare a register with a static address to determine whether to execute my code or the original.
But I don't want to compute this static address every time the check is performed. How do I assign a label to it?
To give you more details, the address looks something like:
[["game.exe" + 0x44] + 0x23] + 0x588
(well, I say it's a static address, but it's more of a pointer with a static address and known offsets)
I'm pretty sure you can do something like this in cheat engine:
Code: Select all
[Enable]
label(my_address)
[["game.exe" + 0x44] + 0x23] + 0x588:
my_address:
[Disable]
What's the correct syntax for this?