|
|
@@ -0,0 +1,36 @@ |
|
|
|
[enable]
|
|
|
|
alloc(newmem,29)
|
|
|
|
label(returnhere)
|
|
|
|
label(originalcode)
|
|
|
|
label(exit)
|
|
|
|
|
|
|
|
DevilMayCry4SpecialEdition.exe+352388:
|
|
|
|
db 90 90 90 90 90 90 90 90 //dazing should no longer expire
|
|
|
|
|
|
|
|
newmem: //this is allocated memory, you have read,write,execute access
|
|
|
|
//place your code here
|
|
|
|
|
|
|
|
originalcode:
|
|
|
|
movss xmm0,[esi+00002100]
|
|
|
|
addss xmm0,[esi+00002100]
|
|
|
|
movss [esi+2110], xmm0
|
|
|
|
|
|
|
|
exit:
|
|
|
|
jmp returnhere
|
|
|
|
|
|
|
|
"DevilMayCry4SpecialEdition.exe"+3614E6:
|
|
|
|
jmp newmem
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
nop
|
|
|
|
returnhere:
|
|
|
|
|
|
|
|
[disable]
|
|
|
|
dealloc(newmem)
|
|
|
|
|
|
|
|
DevilMayCry4SpecialEdition.exe+352388:
|
|
|
|
//8 byte instruction
|
|
|
|
movss [edi+00002128],xmm0 //this updates the daze timer on berial
|
|
|
|
|
|
|
|
"DevilMayCry4SpecialEdition.exe"+3614E6:
|
|
|
|
movss xmm0,[esi+00002110]
|