(Lua, ASMx86) Replication of Devil May Cry 4's debug functions for it's re-released version.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

berial-fire-lost.CEA 718B

123456789101112131415161718192021222324252627282930313233343536
  1. [enable]
  2. alloc(newmem,29)
  3. label(returnhere)
  4. label(originalcode)
  5. label(exit)
  6. DevilMayCry4SpecialEdition.exe+352388:
  7. db 90 90 90 90 90 90 90 90 //dazing should no longer expire
  8. newmem: //this is allocated memory, you have read,write,execute access
  9. //place your code here
  10. originalcode:
  11. movss xmm0,[esi+00002100]
  12. addss xmm0,[esi+00002100]
  13. movss [esi+2110], xmm0
  14. exit:
  15. jmp returnhere
  16. "DevilMayCry4SpecialEdition.exe"+3614E6:
  17. jmp newmem
  18. nop
  19. nop
  20. nop
  21. returnhere:
  22. [disable]
  23. dealloc(newmem)
  24. DevilMayCry4SpecialEdition.exe+352388:
  25. //8 byte instruction
  26. movss [edi+00002128],xmm0 //this updates the daze timer on berial
  27. "DevilMayCry4SpecialEdition.exe"+3614E6:
  28. movss xmm0,[esi+00002110]