From d941f41f216beb6efa7b7aa4688fe886b4464d2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E5=A4=A7=E4=BC=9F?= Date: Thu, 3 Sep 2026 14:06:30 +0800 Subject: [PATCH] support additional mini program launch scenes --- frida/hook.js | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/frida/hook.js b/frida/hook.js index 3f2c2f6..882956b 100644 --- a/frida/hook.js +++ b/frida/hook.js @@ -60,8 +60,11 @@ const hookOnLoadScene = (a1, sceneOffsets) => { // 1000: from issue #83 <-- will crash the process // 1007: from issue #80 // 1008: from issue #53 + // 1011: scan QR code + // 1012: recognize QR code from long-pressed image (issue #128) // 1027: from issue #78 // 1035: from issue #78 + // 1037: opened from another mini program // 1053: from issue #25 // 1074: from issue #32 // 1145: from search @@ -71,8 +74,8 @@ const hookOnLoadScene = (a1, sceneOffsets) => { // 1302: from services // 1308: minigame? const sceneNumberArray = [ - 1005, 1007, 1008, 1027, 1035, 1053, 1074, 1145, 1178, 1256, 1260, 1302, - 1308, + 1005, 1007, 1008, 1011, 1012, 1027, 1035, 1037, 1053, 1074, 1145, 1178, + 1256, 1260, 1302, 1308, ]; if (!sceneNumberArray.includes(miniappScenePtr.readInt())) { return; @@ -128,4 +131,4 @@ const main = () => { patchCDPFilter(mainModule.base, config); }; -main(); \ No newline at end of file +main();