TwMS v234.1 ICS 人物左右走
// TwMS v234.1 ICS 人物左右走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 ,00C316E7
jne ICSReturn
mov ,AutoLRMain
ICSReturn:
jmp GetFocus
//-------------------
AutoLRMain:
cmp , 0
je 00C316E7
push eax
inc
mov eax,
cmp eax,
jge GoLeft
add eax,
cmp eax,
jge GoRight
mov ,1
jmp GoLeft
GoLeft:
mov ,FFFFFFFF
pop eax
jmp 00C317A9
GoRight:
mov ,00000001
pop eax
jmp 00C317A9
04C28F40:
DD AutoLRICSEntry
04C28F40:
DD GetFocus
Dealloc(AutoLRICSEntry)
UnregisterSymbol(AutoLRMain)
Dealloc(AutoLRMain)
UnregisterSymbol(AutoLRRange)
Dealloc(AutoLRRange)
Dealloc(AutoLRValue)
頁:
[1]