File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -116,10 +116,22 @@ function setupInterceptor() {
116116 }
117117 } )
118118 break ;
119-
119+ case 9079 :
120+ Interceptor . attach ( address . SwitchVersion , {
121+ onEnter ( args ) {
122+ this . context . r8 = this . context . rax
123+ sendMessage ( )
124+ }
125+ } )
126+ break ;
120127
121128 default :
122-
129+ Interceptor . attach ( address . WechatAppHtml , {
130+ onEnter ( args ) {
131+ this . context . rdx = address . WechatWebHtml ;
132+ sendMessage ( )
133+ }
134+ } ) ;
123135 break ;
124136
125137
@@ -156,18 +168,7 @@ function setupInterceptor() {
156168
157169 // break;
158170
159-
160- // // case 9105:
161- // // Interceptor.attach(address.LaunchAppletBegin, {
162- // // onEnter(args) {
163- // // this.context.rdx= address.WechatWebHtml;
164- // // sendMessage()
165- // // }
166- // // })
167- // break;
171+
168172
169173 }
170-
171-
172-
173174}
You can’t perform that action at this time.
0 commit comments