prt 發表於 2024-9-12 01:28:30

TwMs v264.2 牆值左右走

//TwMs v264.2 牆值左右走

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

MyLR:
DQ 1

AutoLRICSEntry:
push rax
mov rax,1410A4D20
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax

ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
call GetWall
mov byte ptr ,00
mov ,eax
xor rcx,rcx
xor rbx,rbx
xor rax,rax
jmp 1410A4D4F

GetWall:
call GetChrX
mov rcx,
mov ebx,
sub eax,ebx
cmp eax,0
jle GoRight
call GetChrX
mov rcx,
mov ebx,
sub ebx,eax
cmp ebx,0
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,
mov rax,
mov rax,
ret

147DF5210:
DQ AutoLRICSEntry


147DF5210:
DQ GetFocus

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