求教學更新牆值左右
完全看不懂 哈哈//TwMs v254.4 牆值左右走
Alloc(AutoLRICSEntry,128,140C20C38)
Alloc(AutoLRMain,256,140C20C38)
Alloc(MyLR,08,140C20C38)
Label(GetWall)
Label(GetChrX)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)
MyLR:
DQ 1
AutoLRICSEntry:
push rax
mov rax,140C20C38
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 140C20C67
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
146C94630:
DQ AutoLRICSEntry
146C94630:
DQ GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
//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) prt 發表於 2023-9-10 03:30 static/image/common/back.gif
//TwMs v255.1 牆值左右走
Alloc(AutoLRICSEntry,128,140CAD188)
我是指求教學更新
不是求更新 哈哈
DQ跟指針不會
頁:
[1]