prt 發表於 2023-9-10 03:29:46

TwMS v255.1 牆值左右走

//TwMs v255.1 牆值左右走

Alloc(AutoLRICSEntry,128,140CAD188)
Alloc(AutoLRMain,256,140CAD188)
Alloc(MyLR,08,140CAD188)
Label(GetWall)
Label(GetChrX)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)

MyLR:
DQ 1

AutoLRICSEntry:
push rax
mov rax,140CAD188
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
call GetWall
mov ,r14l
mov ,eax
xor rcx,rcx
xor rbx,rbx
xor rax,rax
jmp 140CAD1B7

GetWall:
call GetChrX
mov rcx,
mov ebx,
sub eax,ebx
cmp eax,32
jle GoRight
call GetChrX
mov rcx,
mov ebx,
sub ebx,eax
cmp ebx,20
jle GoLeft
mov eax,
ret

GoLeft:
Mov ,FFFFFFFF
Mov Eax,FFFFFFFF
Ret

GoRight:
Mov ,1
Mov Eax,1
Ret

GetChrX:
mov rax,
mov rax,
mov rax,
mov rax,
mov rax,
ret


147007B20:
DQ AutoLRICSEntry


147007B20:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
頁: [1]
查看完整版本: TwMS v255.1 牆值左右走