|
in hu2011.exe+0x15F5C have this:
mov ecx,[eax+4]
mov [ecx],edi
if eax+0x30 points to a unicode string AmmoLoaded, edi contains your current ammo (current number of bullets). modify edi to get infinite ammo, or write to [ecx] directly and skip original code (only if condition is true)..
for more options you can use the same hook, for example when eax+0x30 is AmmoTotal etc etc.
|