冰楓論壇
標題:
TWMS 255.1 人物左右走
[打印本頁]
作者:
peter0517
時間:
2023-9-7 15:18
標題:
TWMS 255.1 人物左右走
//TWMS 255.1 人物左右走
[ENABLE]
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 [rsp+08],rax
jne ICSReturn
mov rax,AutoLRMain
mov [rsp+08],rax
ICSReturn:
pop rax
jmp GetFocus
AutoLRMain:
cmp [AutoLRRange], 0
je 140CAD188
inc [AutoLRValue]
mov eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jge GoLeft
add eax,[AutoLRRange]
cmp eax,[AutoLRValue]
jge GoRight
mov [AutoLRValue],1
jmp GoLeft
GoLeft:
mov [rbp-12],r14l
mov [rbp+000000CC],FFFFFFFF
jmp 140CAD1B7
GoRight:
mov [rbp-12],r14l
mov [rbp+000000CC],1
jmp 140CAD1B7
147007B20:
DQ AutoLRICSEntry
[DISABLE]
147007B20:
DQ GetFocus
DeAlloc(AutoLRMain)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRICSEntry)
作者:
qa960362
時間:
2023-9-8 17:51
抱歉 有牆值的數據嗎...
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓