39880
"Fast Bonus Gauge Fill"
Auto Assembler Script
{ Game : disgaea5.exe
Version:
Date : 2018-10-24
Author : Kratos284
This script does blah blah blah
}
[ENABLE]
aobscanmodule(Bonus_Gauge,disgaea5.exe,01 47 0C 44 39 67 0C) // should be unique
alloc(newmem,$1000,"disgaea5.exe"+4CB213)
label(code)
label(return)
newmem:
code:
add [rdi+0C],64
cmp [rdi+0C],r12d
jmp return
Bonus_Gauge:
jmp newmem
nop
nop
return:
registersymbol(Bonus_Gauge)
[DISABLE]
Bonus_Gauge:
db 01 47 0C 44 39 67 0C
unregistersymbol(Bonus_Gauge)
dealloc(newmem)
{
// ORIGINAL CODE - INJECTION POINT: "disgaea5.exe"+4CB213
"disgaea5.exe"+4CB1F4: 0F 28 DE - movaps xmm3,xmm6
"disgaea5.exe"+4CB1F7: 0F 28 D6 - movaps xmm2,xmm6
"disgaea5.exe"+4CB1FA: 8D 4A 1A - lea ecx,[rdx+1A]
"disgaea5.exe"+4CB1FD: E8 0E BC F2 FF - call disgaea5.exe+3F6E10
"disgaea5.exe"+4CB202: 29 77 10 - sub [rdi+10],esi
"disgaea5.exe"+4CB205: 41 8B C7 - mov eax,r15d
"disgaea5.exe"+4CB208: 79 07 - jns disgaea5.exe+4CB211
"disgaea5.exe"+4CB20A: 8B 47 10 - mov eax,[rdi+10]
"disgaea5.exe"+4CB20D: 44 89 7F 10 - mov [rdi+10],r15d
"disgaea5.exe"+4CB211: 03 C6 - add eax,esi
// ---------- INJECTING HERE ----------
"disgaea5.exe"+4CB213: 01 47 0C - add [rdi+0C],eax
"disgaea5.exe"+4CB216: 44 39 67 0C - cmp [rdi+0C],r12d
// ---------- DONE INJECTING ----------
"disgaea5.exe"+4CB21A: 0F 8C 66 01 00 00 - jl disgaea5.exe+4CB386
"disgaea5.exe"+4CB220: 0F B6 05 28 77 0D 05 - movzx eax,byte ptr [disgaea5.exe+55A294F]
"disgaea5.exe"+4CB227: 41 B8 28 00 00 00 - mov r8d,00000028
"disgaea5.exe"+4CB22D: 48 8B 0F - mov rcx,[rdi]
"disgaea5.exe"+4CB230: 2C 02 - sub al,02
"disgaea5.exe"+4CB232: 3C 01 - cmp al,01
"disgaea5.exe"+4CB234: C7 44 24 20 FF FF FF FF - mov [rsp+20],FFFFFFFF
"disgaea5.exe"+4CB23C: BA 82 00 00 00 - mov edx,00000082
"disgaea5.exe"+4CB241: 0F 96 C0 - setbe al
"disgaea5.exe"+4CB244: 84 C0 - test al,al
}