[VM] TWMS V2.12.2 讀取解輪介面按鍵
//V_212.2 讀取解輪介面按鍵alloc(MY_043C1577,48)
alloc(ARROW01,4)
registersymbol(ARROW01)
alloc(ARROW02,4)
registersymbol(ARROW02)
alloc(ARROW03,4)
registersymbol(ARROW03)
alloc(ARROW04,4)
registersymbol(ARROW04)
MY_043C1577:
push
xchg ,eax
push 4
xchg ,eax
pop edx
imul edx,eax
push ARROW01
xchg ,edx
add edx,
push
dec eax
pop
pop edx
imul edx,eax
pop eax
push eax
jmp 04543AF6
04543AF1:
jmp MY_043C1577
04543AF1:
db 6B 55 98 0C 50
dealloc(MY_043C1577)
dealloc(ARROW01)
unregistersymbol(ARROW01)
dealloc(ARROW02)
unregistersymbol(ARROW02)
dealloc(ARROW03)
unregistersymbol(ARROW03)
dealloc(ARROW04)
unregistersymbol(ARROW04)
// 讀取到的按鍵依序放在ARROW01、ARROW02、ARROW03、ARROW04之中,
// 0 = 方向鍵下、1 = 方向鍵上、2 = 方向鍵左、3 = 方向鍵右
頁:
[1]