晴曦 發表於 2024-10-17 22:45:24

TwMS v265.3 人物左右走

//TwMS v265.3 人物左右走

Alloc(AutoLRICSEntry,128,1410A16B0)
Alloc(AutoLRMain,256,1410A16B0)
Alloc(AutoLRRange,08,1410A16B0)
Alloc(AutoLRValue,08,1410A16B0)
Label(ICSReturn)
Label(GoLeft)
Label(GoRight)

AutoLRRange:
DQ #50 //此為左右走之範圍,請自行依需求設定。

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

ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp ,0
je 1410A16B0
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 1410A16DF

GoRight:
mov byte ptr ,00
mov ,01
jmp 1410A16DF

147DEC6B0:
DQ AutoLRICSEntry


147DEC6B0:
DQ GetFocus

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