冰楓論壇

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

作者: prt    時間: 2021-11-5 00:05
標題: TwMS v238.4 滑鼠左鍵點擊移動
  1. //TwMS v238.4 滑鼠左鍵點擊移動
  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],0186CC16
  9. jne GetCursorPos
  10. nop
  11. mov [esp+24],Mouse_Teleport
  12. jmp GetCursorPos

  13. Mouse_Teleport:
  14. mov esi,[04627928]
  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,[04387158]
  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 00C44B30
  37. ret

  38. Exit:
  39. popad
  40. jmp 0186CC16+6

  41. 05250B48:
  42. DD Check_ESP

  43. [DISABLE]
  44. 05250B48:
  45. DD GetCursorPos

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





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