冰楓論壇
標題:
TwMS 213.3 ICS 人物左右走
[打印本頁]
作者:
prt
時間:
2019-2-12 00:06
標題:
TwMS 213.3 ICS 人物左右走
//TwMS 213.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
//-----------------------------------------------
AutoLRICSEntry:
Cmp [Esp], 009BE1C1
Jne ICSReturn
Mov [Esp], AutoLRMain
ICSReturn:
Jmp GetFocus
//-------------------
AutoLRMain:
Cmp [AutoLRRange], 0
Je 009BE1C1
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 009BDFE3
GoRight:
Mov [Ebp-1C], 00000001
Pop Eax
Jmp 009BDFE3
//-----------------------------------------------
03BBF2A8:
DD AutoLRICSEntry
[DISABLE]
03BBF2A8:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
009BE1B1 //3b * 0f 85 * * * * 8b 0d * * * * e8 * * * * 85 * 0f 84 * * * * 83 3d * * * * * 0f 85 * * * * 8b * 8b *
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓