冰楓論壇
標題:
TwMS v229.3 ICS 人物左右走
[打印本頁]
作者:
prt
時間:
2020-10-28 20:42
標題:
TwMS v229.3 ICS 人物左右走
// TwMS v229.3 ICS 人物左右走
[ENABLE]
Alloc(AutoLRICSEntry, 64)
Label(ICSReturn)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRMain, 128)
Label(GoLeft)
Label(GoRight)
RegisterSymbol(AutoLRRange)
Alloc(AutoLRRange, 4)
Alloc(AutoLRValue, 4)
//-----------------------------------------------
AutoLRRange:
DD A //16進制 A=10 設置0為不左右走
//-----------------------------------------------
AutoLRICSEntry:
cmp [esp],00B9A316
jne ICSReturn
mov [esp],AutoLRMain
ICSReturn:
jmp GetFocus
//-------------------
AutoLRMain:
cmp [AutoLRRange], 0
je 00B9A316
push eax
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 [ebp-1C],FFFFFFFF
pop eax
jmp 00B9A3D8
GoRight:
mov [ebp-1C],00000001
pop eax
jmp 00B9A3D8
0457EC60:
DD AutoLRICSEntry
[DISABLE]
0457EC60:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
複製代碼
作者:
q9303201
時間:
2020-10-29 15:00
怎麼會出現Error 的錯誤訊息
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓