冰楓論壇

標題: TwMS v243.1 滑鼠移動 [打印本頁]

作者: prt    時間: 2022-5-12 01:04
標題: TwMS v243.1 滑鼠移動
  1. //TwMS v243.1 滑鼠移動
  2. [enable]
  3. alloc(Mouse_Teleport, 256, 141EBF6F0)

  4. // mouse_lbtn_flag = [[145D33C78]+994]
  5. // cursor_lt_x = [[[145D33C78]+9A0]+E0]
  6. // cursor_lt_y = [[[145D33C78]+9A0]+E4]

  7. Mouse_Teleport:
  8. cmp dword ptr [rcx+00000994], 0C
  9. jne Return
  10. push rax
  11. push rcx
  12. push rdx
  13. push r8
  14. push r9
  15. push r10
  16. push r11

  17. mov rcx,[145A7F288]
  18. lea rcx,[rcx+08]
  19. mov rax,[rcx]
  20. call qword ptr [rax+48]
  21. test rax,rax
  22. je Mouse_Teleport_Ret
  23. mov rcx,[145D33C78]
  24. mov rcx,[rcx+9A0]
  25. mov r9d,dword ptr [rcx+E4]
  26. mov r8d,dword ptr [rcx+E0]
  27. mov rcx,rax
  28. xor edx,edx
  29. inc edx
  30. call 140A32D10

  31. Mouse_Teleport_Ret:
  32. pop r11
  33. pop r10
  34. pop r9
  35. pop r8
  36. pop rdx
  37. pop rcx
  38. pop rax

  39. Return:
  40. mov eax,[rcx+00000994]
  41. ret

  42. 141EBF6F0:
  43. jmp Mouse_Teleport
  44. nop

  45. [disable]
  46. dealloc(Mouse_Teleport)

  47. 141EBF6F0:
  48. mov eax,[rcx+00000994]
複製代碼

作者: s6813526    時間: 2022-5-12 04:07





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