冰楓論壇
標題:
TwMS v253.2 視野調整(Zoom)
[打印本頁]
作者:
prt
時間:
2023-7-4 01:30
標題:
TwMS v253.2 視野調整(Zoom)
本帖最後由 prt 於 2023-7-4 01:32 編輯
//TwMS v253.2 視野調整(Zoom)
//按鍵參考:https://bingfong.com/thread-1754611-1-1.html
[Enable]
Alloc(Hook,2048,$process)
Alloc(ScreenVal,4)
Label(Function)
Label(Return)
Label(Increase)
Label(Decrease)
Label(Reset)
Label(Exit)
Label(Exit2)
ScreenVal:
dd #1000
Hook:
cmp r8d,01490000 //按鍵名稱PgUp
je Increase
cmp r8d,01510000 //按鍵名稱PgDn
je Decrease
cmp r8d,01470000 //按鍵名稱Home
je Reset
Exit:
cmp qword ptr [rax+08],00
jmp Return
Increase:
add [ScreenVal],#20
jmp Function
Decrease:
sub [ScreenVal],#20
jmp Function
Reset:
mov [ScreenVal],#1000
Function:
push rcx
push rax
push rdx
mov rcx,[146C72BB0]
test rcx,rcx
je Exit2
mov rax,[rcx]
mov edx,[ScreenVal]
call qword ptr [rax+000001F8]
jmp Exit2
Exit2:
pop rdx
pop rax
pop rcx
cmp qword ptr [rax+08],00
jmp Return
14450BAE4:
jmp Hook
Return:
[Disable]
14450BAE4:
cmp qword ptr [rax+08],00
DeAlloc(Hook)
DeAlloc(ScreenVal)
複製代碼
作者:
harrytuasas
時間:
2023-7-5 22:44
請問這是做什麼用的數據呢?
歡迎光臨 冰楓論壇 (https://bingfong.com/)
Powered by 冰楓