Add decompiled APK source code (JADX)

- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,39 @@
package com.mbridge.msdk.foundation.tools;
import android.content.Context;
import android.content.res.Resources;
/* loaded from: classes4.dex */
public final class x {
public static int a(Context context, String str, String str2) {
String str3 = "";
try {
try {
str3 = com.mbridge.msdk.foundation.controller.c.m().g();
} catch (Exception unused) {
af.b("ResourceUtil", "MBSDKContext.getInstance() is null resName:" + str);
}
if (ap.a(str3) && context != null) {
str3 = context.getPackageName();
}
if (ap.a(str3) || context == null) {
return -1;
}
return context.getResources().getIdentifier(str, str2, str3);
} catch (Exception unused2) {
af.b("ResourceUtil", "Resource not found resName:" + str);
return -1;
}
}
public static Resources a(Context context) {
if (context != null) {
try {
return context.getResources();
} catch (Exception e) {
af.b("ResourceUtil", "Resource error:" + e.getMessage());
}
}
return null;
}
}