Advertisement
Guest User

Untitled

a guest
Dec 5th, 2019
120
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.47 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CheatTable>
  3. <CheatEntries>
  4. <CheatEntry>
  5. <ID>102</ID>
  6. <Description>"Player Damage Modifier"</Description>
  7. <Options moHideChildren="1"/>
  8. <LastState/>
  9. <VariableType>Auto Assembler Script</VariableType>
  10. <AssemblerScript>[ENABLE]
  11. //code from here to '[DISABLE]' will be used to enable the cheat
  12. alloc(newmem,2048)
  13. alloc(hitmultiplier,8)
  14. registersymbol(hitmultiplier)
  15. label(returnhere)
  16. label(originalcode)
  17. label(exit)
  18.  
  19. hitmultiplier:
  20. multiplier:
  21. dd (float)1.0
  22.  
  23. newmem: //this is allocated memory, you have read,write,execute access
  24. cmp [edi+34], 469C4000
  25. je originalcode
  26.  
  27. movss xmm4,[edi+30]
  28. subss xmm4,xmm0
  29. movss xmm0,[edi+30]
  30. mulss xmm4,[hitmultiplier]
  31. subss xmm0,xmm4
  32.  
  33.  
  34. originalcode:
  35. movss [edi+30],xmm0
  36.  
  37. exit:
  38. jmp returnhere
  39.  
  40. "DevilMayCry4SpecialEdition.exe"+22DDE0:
  41. jmp newmem
  42. returnhere:
  43.  
  44.  
  45.  
  46.  
  47. [DISABLE]
  48. //code from here till the end of the code will be used to disable the cheat
  49. dealloc(newmem)
  50. dealloc(hitmultiplier)
  51. unregistersymbol(hitmultiplier)
  52. "DevilMayCry4SpecialEdition.exe"+22DDE0:
  53. movss [edi+30],xmm0
  54. //Alt: db F3 0F 11 47 30
  55. </AssemblerScript>
  56. <CheatEntries>
  57. <CheatEntry>
  58. <ID>229</ID>
  59. <Description>"Multiplier"</Description>
  60. <VariableType>Float</VariableType>
  61. <Address>hitmultiplier</Address>
  62. </CheatEntry>
  63. </CheatEntries>
  64. </CheatEntry>
  65. </CheatEntries>
  66. </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement