diff --git a/scripts/hook.js b/scripts/hook.js index eb3a4ac..9c4d728 100644 --- a/scripts/hook.js +++ b/scripts/hook.js @@ -141,6 +141,14 @@ function setupInterceptor() { } }) break; + case 11159: + Interceptor.attach(address.SwitchVersion, { + onEnter(args) { + this.context.r8 = this.context.rax + sendMessage() + } + }) + break; case 13080811: Interceptor.attach(address.WechatAppHtml, { @@ -150,6 +158,16 @@ function setupInterceptor() { } }) break; + + case 13080812: + Interceptor.attach(address.WechatAppHtml, { + onEnter(args) { + this.context.rsi = address.WechatWebHtml + sendMessage() + } + }) + break; + default: console.log(address.Version);