aobscanmodule(ammoPTR,GTA5.exe,89 5F 20 48 8B 5C 24 30 48 8B 6C) // should be unique
alloc(newmem,$1000,"GTA5.exe"+10147E5)
// --------DONE INJECTING--------
"GTA5.exe"+10147ED: 48 8B 6C 24 38 - mov rbp,[rsp+38]
"GTA5.exe"+10147F2: 48 8B 74 24 40 - mov rsi,[rsp+40]
"GTA5.exe"+10147F7: 48 83 C4 20 - add rsp,20
// --------INJECTING HERE--------
"GTA5.exe"+10147E5: 89 5F 20 - mov [rdi+20],ebx
"GTA5.exe"+10147E8: 48 8B 5C 24 30 - mov rbx,[rsp+30]