晴曦 發表於 2024-8-17 18:39:54

TwMS v263.3 人物左右走

//TwMS v263.3 人物左右走

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

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

AutoLRICSEntry:
push rax
mov rax,140F7B610
cmp ,rax
jne ICSReturn
mov rax,AutoLRMain
mov ,rax

ICSReturn:
pop rax
jmp GetFocus

AutoLRMain:
cmp ,0
je 140F7B610
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 140F7B63F

GoRight:
mov byte ptr ,00
mov ,01
jmp 140F7B63F

147B78370:
DQ AutoLRICSEntry


147B78370:
DQ GetFocus

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