Skip to content

Commit 4902166

Browse files
authored
Update hook.js
1 parent ee4ab16 commit 4902166

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

scripts/hook.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -184,6 +184,14 @@ function setupInterceptor() {
184184
}
185185
})
186186
break;
187+
case 11253:
188+
Interceptor.attach(address.SwitchVersion, {
189+
onEnter(args) {
190+
this.context.r8 = this.context.rax
191+
sendMessage()
192+
}
193+
})
194+
break;
187195
default:
188196
console.log(address.Version);
189197
Interceptor.attach(address.WechatAppHtml, {

0 commit comments

Comments
 (0)