givemeasmile01 發表於 2020-6-25 21:00:48

左右走 不偏移數據

如標題 收個

rhg59321 發表於 2020-6-28 19:39:50

這個會偏?

// TwMS v226.2 ICS 人物左右走

RegisterSymbol(AutoLRRange)
RegisterSymbol(AutoLRMain)
Alloc(AutoLRICSEntry,64)
Alloc(AutoLRMain,128)
Alloc(AutoLRRange,04)
Alloc(AutoLRValue,04)
Label(GoLeft)
Label(GoRight)
//-----------------------------------------------
AutoLRRange:
DD A    //16進制 A=10 設置0為不左右走
//-----------------------------------------------
AutoLRICSEntry:
cmp ,00B3DE0A
jne GetFocus
mov ,AutoLRMain
jmp GetFocus
//-------------------
AutoLRMain:
cmp , 0
je 00B3DE0A
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 00B3E6B1

GoRight:
mov ,00000001
pop eax
jmp 00B3E6B1

04340068:
DD AutoLRICSEntry


04340068:
DD GetFocus

DeAlloc(AutoLRMain)
DeAlloc(AutoLRRange)
DeAlloc(AutoLRValue)
DeAlloc(AutoLRICSEntry)
UnRegisterSymbol(AutoLRMain)
UnRegisterSymbol(AutoLRRange)
頁: [1]
查看完整版本: 左右走 不偏移數據