冰楓論壇
標題:
TwMS v263.3 牆值左右走
[打印本頁]
作者:
晴曦
時間:
2024-8-16 04:12
標題:
TwMS v263.3 牆值左右走
//TwMS v263.3 牆值左右走
[ENABLE]
Alloc(AutoLRICSEntry,128,140F7B610)
Alloc(AutoLRMain,256,140F7B610)
Alloc(MyLR,08,140F7B610)
Label(GetWall)
Label(GetChrX)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)
MyLR:
DQ 1
AutoLRICSEntry:
push rax
mov rax,140F7B610
cmp [rsp+08],rax
jne ICSReturn
mov rax,AutoLRMain
mov [rsp+08],rax
ICSReturn:
pop rax
jmp GetFocus
AutoLRMain:
call GetWall
mov byte ptr [rbp-0A],00
mov [rbp+000000E0],eax
xor rcx,rcx
xor rbx,rbx
xor rax,rax
jmp 140F7B63F
GetWall:
call GetChrX
mov rcx,[147AEAE60]
mov ebx,[rcx+18]
sub eax,ebx
cmp eax,0
jle GoRight
call GetChrX
mov rcx,[147AEAE60]
mov ebx,[rcx+20]
sub ebx,eax
cmp ebx,0
jle GoLeft
mov eax,[MyLR]
ret
GoLeft:
Mov [MyLR],FFFFFFFF
Mov Eax,FFFFFFFF
Ret
GoRight:
Mov [MyLR],1
Mov Eax,1
Ret
GetChrX:
mov rax,[14785FB98]
mov rax,[rax+1028]
mov rax,[rax+E0]
mov rax,[rax+58]
mov rax,[rax+28]
mov rax,[rax+58]
mov rax,[rax+70]
ret
147B78370:
DQ AutoLRICSEntry
[DISABLE]
147B78370:
DQ GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓