冰楓論壇
標題:
TwMS v258.4 AutoKey
[打印本頁]
作者:
prt
時間:
2024-1-31 16:59
標題:
TwMS v258.4 AutoKey
//TwMS v258.4 AutoKey
//左右鍵 搭配攻擊和拾取鍵
[ENABLE]
alloc(newmem,$1000,144A3C7E3)
label(code)
label(return)
//r8 PressCode
//edx keycode
newmem:
//判斷按鍵是否為方向鍵左右
code:
cmp r8,27
je func
cmp r8,25
je func
call 144A2BF00
jmp return
//若是方向鍵左右 則釋放 c、shift、z
func:
mov r8, 001D0030//Ctrl
mov edx,11
mov rcx,[147132218]
call 1443D2D50
mov r8, 2C0000//Z
mov edx,5A
mov rcx,[147132218]
call 1443D2D50
mov r8,002A0003
mov edx,10 //SHIFT
mov rcx,[147132218]
call 1443D2D50
jmp return
144A3C7E3:
jmp newmem
return:
[DISABLE]
144A3C7E3:
db E8 18 F7 FE FF
dealloc(newmem)
複製代碼
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓