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,155 @@
package com.ironsource;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import com.applovin.impl.sdk.utils.JsonUtils;
import com.ironsource.mediationsdk.logger.IronLog;
import com.ironsource.qf;
import com.ironsource.v8;
import java.util.ArrayList;
import java.util.List;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class dj {
private static final String b = "dj";
private static final String c = "supersonic_shared_preferen";
private static final String d = "version";
private static final String e = "back_button_state";
private static final String f = "search_keys";
private static final String g = "^\\d+_\\d+$";
private static dj h;
private SharedPreferences a;
private dj(Context context) {
this.a = context.getSharedPreferences("supersonic_shared_preferen", 0);
}
public static synchronized dj a(Context context) {
dj djVar;
synchronized (dj.class) {
try {
if (h == null) {
h = new dj(context);
}
djVar = h;
} catch (Throwable th) {
throw th;
}
}
return djVar;
}
private boolean b(String str) {
return str.matches(g);
}
public static synchronized dj e() {
dj djVar;
synchronized (dj.class) {
djVar = h;
}
return djVar;
}
public String a(String str) {
String string = this.a.getString(str, null);
return string != null ? string : JsonUtils.EMPTY_JSON;
}
public ArrayList<String> a() {
ArrayList<String> arrayList = new ArrayList<>();
String[] strArr = (String[]) this.a.getAll().keySet().toArray(new String[0]);
SharedPreferences.Editor edit = this.a.edit();
for (String str : strArr) {
if (b(str)) {
arrayList.add(str);
edit.remove(str);
}
}
edit.apply();
return arrayList;
}
public void a(String str, String str2) {
SharedPreferences.Editor edit = this.a.edit();
edit.putString(str, str2);
edit.apply();
}
public boolean a(String str, String str2, String str3) {
String string = this.a.getString("ssaUserData", null);
if (TextUtils.isEmpty(string)) {
return false;
}
try {
JSONObject jSONObject = new JSONObject(string);
if (jSONObject.isNull(str2)) {
return false;
}
JSONObject jSONObject2 = jSONObject.getJSONObject(str2);
if (jSONObject2.isNull(str3)) {
return false;
}
jSONObject2.getJSONObject(str3).put("timestamp", str);
SharedPreferences.Editor edit = this.a.edit();
edit.putString("ssaUserData", jSONObject.toString());
edit.apply();
return true;
} catch (JSONException e2) {
i9.d().a(e2);
IronLog.INTERNAL.error(e2.toString());
return false;
}
}
public qf.a b() {
int parseInt = Integer.parseInt(this.a.getString(e, "2"));
return parseInt == 0 ? qf.a.None : parseInt == 1 ? qf.a.Device : parseInt == 2 ? qf.a.Controller : qf.a.Controller;
}
public String c() {
return this.a.getString("version", "-1");
}
public void c(String str) {
SharedPreferences.Editor edit = this.a.edit();
edit.putString(e, str);
edit.apply();
}
public List<String> d() {
String string = this.a.getString(f, null);
ArrayList arrayList = new ArrayList();
if (string != null) {
wp wpVar = new wp(string);
if (wpVar.a(v8.h.R)) {
try {
arrayList.addAll(wpVar.a((JSONArray) wpVar.b(v8.h.R)));
} catch (JSONException e2) {
i9.d().a(e2);
IronLog.INTERNAL.error(e2.toString());
}
}
}
return arrayList;
}
public void d(String str) {
if (c().equalsIgnoreCase(str)) {
return;
}
SharedPreferences.Editor edit = this.a.edit();
edit.putString("version", str);
edit.apply();
}
public void e(String str) {
SharedPreferences.Editor edit = this.a.edit();
edit.putString(f, str);
edit.apply();
}
}