prt 發表於 2025-2-27 04:13:27

TwMs v268.4 人物左右走

//TwMs v268.4 人物左右走

Alloc(AutoLRICSEntry,128,1411A11EB)
Alloc(AutoLRRange,08,1411A11EB)
Alloc(AutoLRMain,256,1411A11EB)
Alloc(AutoLRValue,08,1411A11EB)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)


AutoLRRange:
DQ A  //16進制 A=10 設置0為不左右走

AutoLRICSEntry:
push rax
mov rax,1411A11EB
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax
ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp , 0
je 1411A11EB
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
mov byte ptr ,00
mov ,FFFFFFFF
jmp 1411A121A

GoRight:
mov byte ptr ,00
mov ,01
jmp 1411A121A


1488CD950:
DQ AutoLRICSEntry


1488CD950:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
頁: [1]
查看完整版本: TwMs v268.4 人物左右走