From b93bf4d25a988b5d301adaf532c1af3e0405f882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8F=8C=E8=8D=89=E9=85=B8=E9=85=AF?= <17663689+kotori2@users.noreply.github.com> Date: Wed, 20 Apr 2022 17:57:24 +0800 Subject: [PATCH] fix:fix:error obfuscate classes list (#1876) --- core/src/main/jni/src/jni/resources_hook.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/jni/src/jni/resources_hook.cpp b/core/src/main/jni/src/jni/resources_hook.cpp index e1d0608f..ccd29652 100644 --- a/core/src/main/jni/src/jni/resources_hook.cpp +++ b/core/src/main/jni/src/jni/resources_hook.cpp @@ -51,8 +51,8 @@ namespace lspd { LOGW("GetXResourcesClassName: obfuscation_map empty?????"); } static auto name = lspd::JavaNameToSignature( - obfs_map.at("android.content.res.X")) // TODO: kill this hardcoded name - .substr(1) + "Resources"; + obfs_map.at("android.content.res.XRes")) // TODO: kill this hardcoded name + .substr(1) + "ources"; LOGD("{}", name.c_str()); return name; }