12-21-2017, 01:19 PM
Macro Macro2936
;Declaration of Addresses/offsets
def BaseAddress 0x0BB2EE
def Offset1 0x2C7
def Offset2 0xBB1
;Setting the Pointer for the addresses
byte* Address1 = +(BaseAddress + Offset1)
byte* Address2 = +(BaseAddress + Offset2)
;Attach Process, don't allocate memory
int hWnd = win("Target Window")
__ProcessMemory o.Alloc(hWnd 0)
;Write/Read the memory
int value=1111
o.WriteOther(Address1 &value 4)
int newValue
o.ReadOther(&newValue Address1 4)
out newValue