Add Discord community version (64-bit only)

- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,84 @@
package com.ea.nimble;
import android.content.pm.ApplicationInfo;
import android.os.Bundle;
import com.ea.nimble.Log;
/* loaded from: classes2.dex */
public class NimbleApplicationConfiguration {
private static final String LOG_TITLE = "AppConfig";
public static boolean configValueExists(String str) {
Bundle bundle;
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
ApplicationInfo applicationInfo = Utility.getApplicationInfo(128);
if (applicationInfo == null || (bundle = applicationInfo.metaData) == null) {
return false;
}
return bundle.containsKey(str);
}
public static String getConfigValueAsString(String str) {
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
return getConfigValueAsString(str, "");
}
public static String getConfigValueAsString(String str, String str2) {
Bundle bundle;
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
ApplicationInfo applicationInfo = Utility.getApplicationInfo(128);
if (applicationInfo != null && (bundle = applicationInfo.metaData) != null) {
return bundle.getString(str);
}
Log.Helper.LOGES(LOG_TITLE, "Config value of key '%s' cannot be retrieved.", str);
return str2;
}
public static int getConfigValueAsInt(String str) {
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
return getConfigValueAsInt(str, 0);
}
public static int getConfigValueAsInt(String str, int i) {
Bundle bundle;
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
ApplicationInfo applicationInfo = Utility.getApplicationInfo(128);
if (applicationInfo != null && (bundle = applicationInfo.metaData) != null) {
return bundle.getInt(str);
}
Log.Helper.LOGES(LOG_TITLE, "Config value of key '%s' cannot be retrieved.", str);
return i;
}
public static double getConfigValueAsDouble(String str) {
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
return getConfigValueAsDouble(str, 0.0d);
}
public static double getConfigValueAsDouble(String str, double d) {
Bundle bundle;
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
ApplicationInfo applicationInfo = Utility.getApplicationInfo(128);
if (applicationInfo != null && (bundle = applicationInfo.metaData) != null) {
return bundle.getDouble(str);
}
Log.Helper.LOGES(LOG_TITLE, "Config value of key '%s' cannot be retrieved.", str);
return d;
}
public static boolean getConfigValueAsBoolean(String str) {
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
return getConfigValueAsBoolean(str, false);
}
public static boolean getConfigValueAsBoolean(String str, boolean z) {
Bundle bundle;
Log.Helper.LOGPUBLICFUNCS(LOG_TITLE);
ApplicationInfo applicationInfo = Utility.getApplicationInfo(128);
if (applicationInfo != null && (bundle = applicationInfo.metaData) != null) {
return bundle.getBoolean(str);
}
Log.Helper.LOGES(LOG_TITLE, "Config value of key '%s' cannot be retrieved.", str);
return z;
}
}