冰楓論壇

標題: TwMS v206.1 CRC 取得人物血、魔 [打印本頁]

作者: prt    時間: 2018-4-13 17:22
標題: TwMS v206.1 CRC 取得人物血、魔
  1. //TwMS v206.1 CRC 取得人物血、魔
  2. //Author:zeach01

  3. [Enable]
  4. RegisterSymbol(NowHP)
  5. RegisterSymbol(NowMP)
  6. RegisterSymbol(MaxHP)
  7. RegisterSymbol(MaxMP)
  8. Alloc(NowHP,4)
  9. Alloc(NowMP,4)
  10. Alloc(MaxHP,4)
  11. Alloc(MaxMP,4)
  12. Alloc(GetHP,64)
  13. Alloc(GetMP,64)

  14. GetHP:
  15. xor ecx,BAADF00D
  16. mov [NowHP],eax
  17. mov [MaxHP],esi
  18. ror ecx,05
  19. jmp 01BF01FD

  20. GetMP:
  21. mov [edi+000001FC],ebx
  22. mov [NowMP],ebx
  23. mov [MaxMP],esi
  24. push eax
  25. jmp 01BF0A14

  26. 01BF01F4:
  27. jmp GetHP

  28. 01BF0A0D:
  29. jmp GetMP

  30. [Disable]
  31. 01BF01F4:
  32. xor ecx,BAADF00D
  33. ror ecx,05


  34. 01BF0A0D:
  35. mov [edi+000001FC],ebx
  36. push eax


  37. DeAlloc(NowHP)
  38. DeAlloc(NowMP)
  39. DeAlloc(MaxHP)
  40. DeAlloc(MaxMP)
  41. DeAlloc(GetHP)
  42. DeAlloc(GetMP)
  43. UnRegisterSymbol(NowHP)
  44. UnRegisterSymbol(NowMP)
  45. UnRegisterSymbol(MaxHP)
  46. UnRegisterSymbol(MaxMP)
複製代碼





歡迎光臨 冰楓論壇 (https://bingfong.com/) Powered by 冰楓