prt 發表於 2023-7-27 02:12:10

TwMs v254.2 人物左右走

//TwMs v254.2 人物左右走

Alloc(AutoLRICSEntry,128,140C20BC8)
Alloc(AutoLRRange,08,140C20BC8)
Alloc(AutoLRMain,256,140C20BC8)
Alloc(AutoLRValue,08,140C20BC8)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)


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

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

AutoLRMain:
cmp , 0
je 140C20BC8
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft

GoLeft:
mov ,r14l
mov ,FFFFFFFF
jmp 140C20BF7

GoRight:
mov ,r14l
mov ,1
jmp 140C20BF7

146C945E0:
DQ AutoLRICSEntry


146C945E0:
DQ GetFocus

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