But this is a code that displays my current Damage:
Code: Select all
[ENABLE]
aobscan(aobDamageIncrease,8B 80 CC 00 00 00 89 45 C0)
alloc(newmem,$100,aobDamageIncrease)
label(code)
label(return)
newmem:
code:
mov eax,[eax+000000CC]
jmp return
aobDamageIncrease:
jmp newmem
nop
return:
registersymbol(aobDamageIncrease)
[DISABLE]
aobDamageIncrease:
db 8B 80 CC 00 00 00
unregistersymbol(aobDamageIncrease)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: 17403352
""+17403333: 83 EC 04 - sub esp,04
""+17403336: 68 90 BB 3E 55 - push 553EBB90
""+1740333B: 6A 04 - push 04
""+1740333D: 50 - push eax
""+1740333E: E8 CD DC 84 EE - call 05C51010
""+17403343: 83 C4 10 - add esp,10
""+17403346: 8B 45 BC - mov eax,[ebp-44]
""+17403349: 89 45 C4 - mov [ebp-3C],eax
""+1740334C: 89 45 C8 - mov [ebp-38],eax
""+1740334F: 8B 47 1C - mov eax,[edi+1C]
// ---------- INJECTING HERE ----------
""+17403352: 8B 80 CC 00 00 00 - mov eax,[eax+000000CC]
// ---------- DONE INJECTING ----------
""+17403358: 89 45 C0 - mov [ebp-40],eax
""+1740335B: 83 EC 0C - sub esp,0C
""+1740335E: 68 44 8B 1F 02 - push 021F8B44
""+17403363: E8 48 DC 84 EE - call 05C50FB0
""+17403368: 83 C4 10 - add esp,10
""+1740336B: 8B C8 - mov ecx,eax
""+1740336D: 8B 45 C4 - mov eax,[ebp-3C]
""+17403370: 8B 55 C0 - mov edx,[ebp-40]
""+17403373: 89 51 08 - mov [ecx+08],edx
""+17403376: 83 EC 04 - sub esp,04
}
Instead of changing it to 999 can I do some sort of Multiplier for it? and also a way for people to change it via adding manual address.