peter0517 發表於 2023-9-7 15:18:32

TWMS 255.1 人物左右走

//TWMS 255.1 人物左右走

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


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

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

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

GoLeft:
mov ,r14l
mov ,FFFFFFFF
jmp 140CAD1B7

GoRight:
mov ,r14l
mov ,1
jmp 140CAD1B7


147007B20:
DQ AutoLRICSEntry


147007B20:
DQ GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)

qa960362 發表於 2023-9-8 17:51:32

抱歉 有牆值的數據嗎...
頁: [1]
查看完整版本: TWMS 255.1 人物左右走