prt 發表於 2024-11-7 01:14:41

TwMs v265.5 牆值左右走

//TwMs v265.5 牆值左右走

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

MyLR:
DQ 1

AutoLRICSEntry:
push rax
mov rax,1410A1B60
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 1410A1B8F

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

147DEC6D0:
DQ AutoLRICSEntry


147DEC6D0:
DQ GetFocus

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