冰楓論壇

標題: TwMS v240.3 滑鼠左鍵點擊移動 [打印本頁]

作者: prt    時間: 2022-1-27 01:39
標題: TwMS v240.3 滑鼠左鍵點擊移動
  1. //TwMS v240.3 滑鼠左鍵點擊移動
  2. [ENABLE]
  3. Alloc(Check_ESP,64)
  4. Alloc(Mouse_Teleport,128)
  5. Label(Teleport)
  6. Label(Exit)

  7. Check_ESP:
  8. cmp [esp+24],0193DBF6
  9. jne GetCursorPos
  10. nop
  11. mov [esp+24],Mouse_Teleport
  12. jmp GetCursorPos

  13. Mouse_Teleport:
  14. mov esi,[046D6DC8]
  15. pushad
  16. mov eax,esi
  17. cmp [eax+00000974],0C
  18. jne Exit
  19. mov eax,[eax+0000097C]
  20. mov edx,[eax+000000B0]
  21. mov ebx,[eax+000000B4]
  22. call Teleport
  23. jmp Exit

  24. Teleport:
  25. mov esi,[044358A0]
  26. lea ecx,[esi+04]
  27. mov eax,[esi+04]
  28. mov eax,[eax+24]
  29. call eax
  30. test eax,eax
  31. je Exit
  32. push ebx
  33. push edx
  34. push 01
  35. mov ecx,eax
  36. call 00C76100
  37. ret

  38. Exit:
  39. popad
  40. jmp 0193DBF6+6

  41. 05300428:
  42. DD Check_ESP

  43. [DISABLE]
  44. 05300428:
  45. DD GetCursorPos

  46. DeAlloc(Check_ESP)
  47. DeAlloc(Mouse_Teleport)
複製代碼





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