![Rank: 7](static/image/common/star_level3.gif) ![Rank: 7](static/image/common/star_level2.gif) ![Rank: 7](static/image/common/star_level1.gif)
- UID
- 119417
- 帖子
- 11164
- 主題
- 4478
- 精華
- 0
- 積分
- 5560
- 楓幣
- 16811
- 威望
- 5460
- 存款
- 70
- 贊助金額
- 0
- 推廣
- 0
- GP
- 895
- 閱讀權限
- 150
- 性別
- 保密
- 在線時間
- 2006 小時
- 註冊時間
- 2015-10-18
- 最後登入
- 2025-2-17
|
本帖最後由 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)
複製代碼 |
-
總評分: 楓幣 + 5
威望 + 1
鑰匙 + 2
GP + 1
查看全部評分
|