冰楓論壇

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

作者: prt    時間: 2022-1-13 00:26
標題: TwMS v240.1 滑鼠左鍵點擊移動
  1. //TwMS v240.1 滑鼠左鍵點擊移動
  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],0193E186
  9. jne GetCursorPos
  10. nop
  11. mov [esp+24],Mouse_Teleport
  12. jmp GetCursorPos

  13. Mouse_Teleport:
  14. mov esi,[046D7DC0]
  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,[04436898]
  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 00C75FB0
  37. ret

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

  41. 05301420:
  42. DD Check_ESP

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

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





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