From 2311f5ad29b58c927fd2e4e27516b941ebe5d0b1 Mon Sep 17 00:00:00 2001 From: wangsiyuan <2392948297@qq.com> Date: Mon, 25 Sep 2023 15:13:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=A0=E9=99=A4=20SettingServiceImpl.js?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SettingServiceImpl.js | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 SettingServiceImpl.js diff --git a/SettingServiceImpl.js b/SettingServiceImpl.js deleted file mode 100644 index 1f4833c..0000000 --- a/SettingServiceImpl.js +++ /dev/null @@ -1,22 +0,0 @@ - - -Java.perform(function() { - var SettingServiceImpl = Java.use("com.p314ss.android.ugc.aweme.setting.services.SettingServiceImpl"); - - var originalLJIILL = SettingServiceImpl.LJIILL.implementation; - - SettingServiceImpl.LJIILL.implementation = function() { - // 打印日志,表示方法被hook - console.log("LJIILL method is called!"); - - // 尝试获取 accountRegion 字段的值 - if (this.hasOwnProperty('accountRegion')) { - console.log("accountRegion: " + this.accountRegion); - } else { - console.log("accountRegion field not found in SettingServiceImpl."); - } - - // 调用原始方法 - originalLJIILL.call(this); - } -});