Assign label to a static address?
Posted: Sun Nov 28, 2021 7:30 pm
Hey all,
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:
Or something similar. Basically, I just want to tell AutoAssembler "I've got this specific address I know. Please put a label here"
What's the correct syntax for this?
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?