Skip to content

Commit 5c0ff94

Browse files
authoredAug 7, 2024
Update hook.js
1 parent 30efbaf commit 5c0ff94

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed
 

Diff for: ‎scripts/hook.js

+18
Original file line numberDiff line numberDiff line change
@@ -141,6 +141,14 @@ function setupInterceptor() {
141141
}
142142
})
143143
break;
144+
case 11159:
145+
Interceptor.attach(address.SwitchVersion, {
146+
onEnter(args) {
147+
this.context.r8 = this.context.rax
148+
sendMessage()
149+
}
150+
})
151+
break;
144152

145153
case 13080811:
146154
Interceptor.attach(address.WechatAppHtml, {
@@ -150,6 +158,16 @@ function setupInterceptor() {
150158
}
151159
})
152160
break;
161+
162+
case 13080812:
163+
Interceptor.attach(address.WechatAppHtml, {
164+
onEnter(args) {
165+
this.context.rsi = address.WechatWebHtml
166+
sendMessage()
167+
}
168+
})
169+
break;
170+
153171

154172
default:
155173
console.log(address.Version);

0 commit comments

Comments
 (0)
Please sign in to comment.