break and trace does not point to correct address in memory viewer

rydr

rydr

What is cheating?
Joined
Jun 23, 2018
Messages
1
So I have found the address that do the comparison thing using break and trace, and I want to replace the value before the comparison happen.
At the tracer the address is GameName.UI.ItemSlot::LeftClick+2AC but when I double click on that address the memory viewer shows GameName.UI.ItemSlot::LeftClick+254 and has different value when I use auto assembler.

Here is the code that i write so far:

//define(address,2CB81E54) <-- this works, but i have to find the address again if i re-run the game.
define(address,GameName.UI.ItemSlot::LeftClick+2AC) <-- this doesn't
define(bytes,83 B8 A4 00 00 00 00)

[ENABLE]

assert(address,bytes)
alloc(newmem,$1000)

label(code)
label(return)

newmem:

code:
push ebx
mov ebx,[eax+000000A8]
mov [eax+000000A4],ebx //#999
pop ebx
cmp dword ptr [eax+000000A4],00
jmp return

address:
jmp newmem
nop 2
return:

[DISABLE]

address:
db bytes
// cmp dword ptr [eax+000000A4],00

dealloc(newmem)


So how do I make script that I dont have to find the address again every time I play the game. Thank you
 
TheyCallMeTim13

TheyCallMeTim13

Enchanter
Staff member
Administrator
Fearless Donors
Talents
Joined
Mar 3, 2017
Messages
1,799
M

MartaLabieniec

Expert Cheater
Joined
Oct 6, 2018
Messages
282
This is Asphalt 9 game?
 
Top