冰楓論壇

標題: TwMS v266.2 牆值左右走 [打印本頁]

作者: prt    時間: 前天 01:07
標題: TwMS v266.2 牆值左右走
  1. //TwMs v266.2 牆值左右走
  2. [ENABLE]
  3. Alloc(AutoLRICSEntry,128,14109F700)
  4. Alloc(AutoLRMain,256,14109F700)
  5. Alloc(MyLR,08,14109F700)
  6. Label(GetWall)
  7. Label(GetChrX)
  8. Label(ICSReturn)
  9. Label(GoLeft)
  10. Label(GoRight)

  11. MyLR:
  12. DQ 1

  13. AutoLRICSEntry:
  14. push rax
  15. mov rax,14109F700
  16. cmp [rsp+08],rax
  17. jne ICSReturn
  18. mov rax,AutoLRMain
  19. mov [rsp+08],rax

  20. ICSReturn:
  21. pop rax
  22. jmp GetFocus

  23. AutoLRMain:
  24. call GetWall
  25. mov byte ptr [rbp-0A],00
  26. mov [rbp+000000E0],eax
  27. xor rcx,rcx
  28. xor rbx,rbx
  29. xor rax,rax
  30. jmp 14109F72F

  31. GetWall:
  32. call GetChrX
  33. mov rcx,[147D40D18]
  34. mov ebx,[rcx+18]
  35. sub eax,ebx
  36. cmp eax,0
  37. jle GoRight
  38. call GetChrX
  39. mov rcx,[147D40D18]
  40. mov ebx,[rcx+20]
  41. sub ebx,eax
  42. cmp ebx,0
  43. jle GoLeft
  44. mov eax,[MyLR]
  45. ret

  46. GoLeft:
  47. Mov [MyLR],FFFFFFFF
  48. Mov Eax,FFFFFFFF
  49. Ret

  50. GoRight:
  51. Mov [MyLR],1
  52. Mov Eax,1
  53. Ret

  54. GetChrX:
  55. mov rax,[147AB6318]
  56. mov rax,[rax+1028]
  57. mov rax,[rax+E8]
  58. mov rax,[rax+58]
  59. mov rax,[rax+28]
  60. mov rax,[rax+58]
  61. mov rax,[rax+70]
  62. ret

  63. 147DCEAA0:
  64. DQ AutoLRICSEntry

  65. [DISABLE]
  66. 147DCEAA0:
  67. DQ GetFocus

  68. DeAlloc(AutoLRMain)
  69. DeAlloc(AutoLRValue)
  70. DeAlloc(AutoLRRange)
  71. DeAlloc(AutoLRICSEntry)
複製代碼





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