冰楓論壇

標題: TwMS v230.2 ICS 皇家守護 [打印本頁]

作者: prt    時間: 2020-12-16 19:11
標題: TwMS v230.2 ICS 皇家守護
  1. // TwMS v230.2 ICS 皇家守護
  2. [ENABLE]
  3. Registersymbol(RoyalguardSW)
  4. Alloc(Royalguardhook,128)
  5. Alloc(RoyalguardSW,4)
  6. Label(Royalguard)
  7. Label(RoyalguardSWon)
  8. Label(RoyalguardSWoff)
  9. Label(Royalguardon)
  10. Label(Royalguardoff)

  11. Royalguardhook:
  12. cmp [esp],00B9E256
  13. jne GetFocus
  14. mov [esp],Royalguard
  15. jmp GetFocus

  16. RoyalguardSW:
  17. DD 01//1=開,0=關

  18. Royalguard:
  19. cmp [RoyalguardSW],1
  20. je RoyalguardSWon
  21. cmp [RoyalguardSW],0
  22. je RoyalguardSWoff
  23. jmp 00B9E256

  24. RoyalguardSWon:
  25. call Royalguardon
  26. jmp 00B9E256

  27. RoyalguardSWoff:
  28. call Royalguardoff
  29. jmp 00B9E256

  30. Royalguardon:
  31. push eax
  32. mov eax,[042DEB04]
  33. mov [eax+5694],C691E02A
  34. mov [eax+5694+4],5E348F01
  35. mov [eax+5694+8],9A166F82
  36. mov [eax+5694+C],667F8358
  37. mov [eax+5694+10],B32BADAF
  38. mov [eax+5694+14],62124149
  39. pop eax
  40. ret

  41. Royalguardoff:
  42. push eax
  43. mov eax,[042DEB04]
  44. mov [eax+5694],AECFF36D
  45. mov [eax+5694+4],6D767F9B
  46. mov [eax+5694+8],6E198FB6
  47. mov [eax+5694+C],5D252455
  48. mov [eax+5694+10],AAE92922
  49. mov [eax+5694+14],72256FC4
  50. pop eax
  51. ret

  52. 0458DE18:
  53. DD Royalguardhook

  54. [DISABLE]
  55. 0458DE18:
  56. DD GetFocus

  57. DeAlloc(Royalguardhook)
  58. DeAlloc(RoyalguardSW)
  59. UnRegistersymbol(RoyalguardSW)
複製代碼





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