删除 SettingServiceImpl.js
parent
1c199de379
commit
2311f5ad29
|
|
@ -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);
|
|
||||||
}
|
|
||||||
});
|
|
||||||
Reference in New Issue