Advertisement
Guest User

Untitled

a guest
Sep 30th, 2012
6,497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.81 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <CheatTable CheatEngineTableVersion="14">
  3. <CheatEntries>
  4. <CheatEntry>
  5. <ID>0</ID>
  6. <Description>"BL2: Fix Slots"</Description>
  7. <Options moHideChildren="1"/>
  8. <Color>80000008</Color>
  9. <VariableType>Auto Assembler Script</VariableType>
  10. <AssemblerScript>
  11. [ENABLE]
  12. aobscan(FixSlotsSignature,8B 7D D8 8B 3F 8B C8 03 C9 F3 0F 10 54 CF 04 F3 0F 58 D0)
  13. alloc(FixSlots,256)
  14. alloc(Data,8)
  15. label(Exit)
  16. label(Return)
  17. label(FixSlotsInjectionLocation)
  18. label(FixSlotsCounter)
  19. label(FixSlotsValue)
  20. registersymbol(FixSlotsInjectionLocation)
  21. registersymbol(FixSlotsCounter)
  22. registersymbol(FixSlotsValue)
  23.  
  24. Data:
  25. FixSlotsValue:
  26. db 0C 30 00 00
  27.  
  28. Data+4:
  29. FixSlotsCounter:
  30.  
  31. FixSlots:
  32. cmp [esi],0x434347AE
  33. jnz Exit
  34. add [FixSlotsCounter],1
  35. mov eax,[FixSlotsValue]
  36. and eax,0x7FFF
  37.  
  38. Exit:
  39. movss xmm1,[esi]
  40. xorps xmm0,xmm0
  41. jmp Return
  42.  
  43. FixSlotsSignature-63:
  44. FixSlotsInjectionLocation:
  45. jmp FixSlots
  46. nop
  47. nop
  48. Return:
  49.  
  50. [DISABLE]
  51. FixSlotsInjectionLocation:
  52. movss xmm1,[esi]
  53. xorps xmm0,xmm0
  54.  
  55. dealloc(FixSlots)
  56. dealloc(Counter)
  57. unregistersymbol(FixSlotsInjectionLocation)
  58. unregistersymbol(FixSlotsValue)
  59. unregistersymbol(FixSlotsCounter)
  60. </AssemblerScript>
  61. <CheatEntries>
  62. <CheatEntry>
  63. <ID>1</ID>
  64. <Description>"Trigger Count"</Description>
  65. <Color>80000008</Color>
  66. <VariableType>4 Bytes</VariableType>
  67. <Address>FixSlotsCounter</Address>
  68. </CheatEntry>
  69. <CheatEntry>
  70. <ID>2</ID>
  71. <Description>"Type"</Description>
  72. <Color>80000008</Color>
  73. <VariableType>4 Bytes</VariableType>
  74. <Address>FixSlotsValue</Address>
  75. </CheatEntry>
  76. </CheatEntries>
  77. </CheatEntry>
  78. </CheatEntries>
  79. </CheatTable>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement