From 1926c6c78b5f7130f8381ec97036a72faaa8987c Mon Sep 17 00:00:00 2001 From: wangsiyuan <2392948297@qq.com> Date: Mon, 21 Aug 2023 11:40:22 +0800 Subject: [PATCH] Create AppLogReaperServiceImpl.js --- AppLogReaperServiceImpl.js | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 AppLogReaperServiceImpl.js diff --git a/AppLogReaperServiceImpl.js b/AppLogReaperServiceImpl.js new file mode 100644 index 0000000..54d8ea0 --- /dev/null +++ b/AppLogReaperServiceImpl.js @@ -0,0 +1,11 @@ +//AppLogReaperServiceImpl类的LIZ方法 +Java.perform(function() { + var AppLogReaperServiceImpl = Java.use("com.ss.android.ugc.aweme.lancet.AppLogReaperServiceImpl"); + + AppLogReaperServiceImpl.LIZ.overload('org.json.JSONObject').implementation = function(jsonObject) { + console.log("Logged JSON: " + jsonObject.toString()); + + // Call the original function + return this.LIZ(jsonObject); + }; +});