aobScan(grenades,41 FF 08 4A 8B 84 ED)
grenades:
nop 3
aobScan(Ammunition, 41 83 2C C2 01 4D 8D 04 C2 49 8B 84 CA)
registersymbol(Ammunition)
Ammunition+4:
db 00
aobScan(Syringes,41 FF CF 3B C2 74 61)
registersymbol(Syringes)
Syringes:
nop 3
aobScan(NoReload, 41 89 28 49 8B 84 CA 28 20 00 00 8B 48 10)
label(code)
label(return)
code:
nop
mov rax, [r10+rcx*8+00002028]
mov ecx, [rax+10]
jmp return
newmem:
noReload:
jmp far newmem
return:
registersymbol(NoReload)