theboy181 Advanced Cheater Reputation: 0
Joined: 26 Jan 2018 Posts: 90
|
Posted: Wed May 19, 2021 5:30 pm Post subject: Help with setting Start and Stop Memory Address |
|
|
Code: | [ENABLE]
{$lua}
if syntaxcheck then return end
function aob_register(sym, pat)
instr = AOBScan(pat, "+r+w")
addy = instr[0]
instr.destroy()
addy = tonumber(addy, 16)
unregisterSymbol(sym)
registerSymbol(sym, addy)
end
aob_register("BASE","4D 5A 90 00 03 00 00 00 04 00 00 00 FF FF 00 00 B8 00 00 00 00 00 00 00 40 00 00 00 00 00 00 00")
local startAddress = BASE
local stopAddress = BASE + 8000000
{$asm}
[DISABLE]
unregistersymbol(BASE) |
I want to be able to do a scan of the whole memory, then have it set the range in CE's Start and Stop address, is this possible?
|
|