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,269 @@
package com.applovin.impl;
import android.app.Activity;
import android.app.AlertDialog;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.os.Bundle;
import com.applovin.impl.d4;
import com.applovin.impl.ke;
import com.applovin.impl.sdk.utils.JsonUtils;
import com.applovin.impl.tm;
import com.applovin.mediation.MaxDebuggerActivity;
import com.applovin.sdk.AppLovinSdkUtils;
import com.ea.eadp.pushnotification.forwarding.FCMMessageService;
import com.google.android.gms.drive.DriveFile;
import java.lang.ref.WeakReference;
import java.util.ArrayList;
import java.util.Collections;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.TimeUnit;
import java.util.concurrent.atomic.AtomicBoolean;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes.dex */
public class ue implements d4.e {
private static WeakReference m;
private static final AtomicBoolean n = new AtomicBoolean();
private final com.applovin.impl.sdk.j a;
private final com.applovin.impl.sdk.n b;
private final Context c;
private final te d;
private boolean h;
private boolean j;
private Map k;
private final y0 l;
private final Map f = new HashMap();
private final AtomicBoolean g = new AtomicBoolean();
private int i = 2;
public void a(boolean z, int i) {
this.h = z;
this.i = i;
}
public boolean g() {
return this.h;
}
public String toString() {
return "MediationDebuggerService{, listAdapter=" + this.d + "}";
}
/* JADX INFO: Access modifiers changed from: private */
public boolean c() {
WeakReference weakReference = m;
return (weakReference == null || weakReference.get() == null) ? false : true;
}
public ue(com.applovin.impl.sdk.j jVar) {
this.a = jVar;
this.b = jVar.J();
Context l = com.applovin.impl.sdk.j.l();
this.c = l;
te teVar = new te(l);
this.d = teVar;
this.l = new y0(jVar, teVar);
}
public void e() {
if (this.g.compareAndSet(false, true)) {
this.a.j0().a((yl) new mm(this, this.a), tm.b.OTHER);
}
}
public void h() {
a((Map) null);
}
public class a extends p {
public a() {
}
@Override // com.applovin.impl.p, android.app.Application.ActivityLifecycleCallbacks
public void onActivityCreated(Activity activity, Bundle bundle) {
if (activity instanceof MaxDebuggerActivity) {
com.applovin.impl.sdk.n.g("AppLovinSdk", "Started mediation debugger");
if (!ue.this.c() || ue.m.get() != activity) {
MaxDebuggerActivity maxDebuggerActivity = (MaxDebuggerActivity) activity;
WeakReference unused = ue.m = new WeakReference(maxDebuggerActivity);
maxDebuggerActivity.setListAdapter(ue.this.d, ue.this.a.e());
}
ue.n.set(false);
}
}
@Override // com.applovin.impl.p, android.app.Application.ActivityLifecycleCallbacks
public void onActivityDestroyed(Activity activity) {
if (activity instanceof MaxDebuggerActivity) {
com.applovin.impl.sdk.n.g("AppLovinSdk", "Mediation debugger destroyed");
WeakReference unused = ue.m = null;
}
}
}
private void f() {
this.a.e().a(new a());
}
/* JADX INFO: Access modifiers changed from: private */
public /* synthetic */ void d() {
Activity n0 = this.a.n0();
if (n0 != null && !n0.isFinishing()) {
new AlertDialog.Builder(n0).setTitle("Review Integration Errors").setMessage("Looks like MAX Mediation Debugger flagged several errors in your build. Make sure to resolve these before you go live.\n\nNote that this prompt will only be shown in your development builds. Live apps will not be affected.").setPositiveButton("Show Mediation Debugger", new DialogInterface.OnClickListener() { // from class: com.applovin.impl.ue$$ExternalSyntheticLambda0
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i) {
ue.this.a(dialogInterface, i);
}
}).setNegativeButton("DISMISS", (DialogInterface.OnClickListener) null).create().show();
} else {
com.applovin.impl.sdk.n.h("AppLovinSdk", "MAX Mediation Debugger has flagged several errors in your build. Make sure to resolve these before you go live.\n\nNote that this log will only be shown in your development builds. Live apps will not be affected.");
}
}
private List a(JSONObject jSONObject, List list, com.applovin.impl.sdk.j jVar) {
JSONArray jSONArray = JsonUtils.getJSONArray(jSONObject, "ad_units", new JSONArray());
ArrayList arrayList = new ArrayList(jSONArray.length());
for (int i = 0; i < jSONArray.length(); i++) {
JSONObject jSONObject2 = JsonUtils.getJSONObject(jSONArray, i, (JSONObject) null);
if (jSONObject2 != null) {
arrayList.add(new z(jSONObject2, this.f, jVar));
}
}
Collections.sort(arrayList);
return arrayList;
}
public List a(String str) {
Map map = this.k;
if (map == null || map.isEmpty()) {
return null;
}
return (List) this.k.get(str);
}
private List a(List list, com.applovin.impl.sdk.j jVar) {
List<String> adUnitIds;
if (jVar.z0().get()) {
adUnitIds = jVar.g0().getInitializationAdUnitIds();
} else {
adUnitIds = jVar.H() != null ? jVar.H().getAdUnitIds() : null;
}
if (adUnitIds != null && !adUnitIds.isEmpty()) {
ArrayList arrayList = new ArrayList(adUnitIds.size());
Iterator it = list.iterator();
while (it.hasNext()) {
z zVar = (z) it.next();
if (adUnitIds.contains(zVar.c())) {
arrayList.add(zVar);
}
}
return arrayList;
}
return Collections.emptyList();
}
private List a(JSONObject jSONObject, com.applovin.impl.sdk.j jVar) {
JSONArray jSONArray = JsonUtils.getJSONArray(jSONObject, "networks", new JSONArray());
ArrayList arrayList = new ArrayList(jSONArray.length());
for (int i = 0; i < jSONArray.length(); i++) {
JSONObject jSONObject2 = JsonUtils.getJSONObject(jSONArray, i, (JSONObject) null);
if (jSONObject2 != null) {
ke keVar = new ke(jSONObject2, jVar);
arrayList.add(keVar);
this.f.put(keVar.b(), keVar);
}
}
Collections.sort(arrayList);
return arrayList;
}
private List a(JSONObject jSONObject) {
ArrayList arrayList = new ArrayList();
for (String str : JsonUtils.getList(jSONObject, "required_app_ads_txt_entries", new ArrayList())) {
x0 x0Var = new x0(str);
if (x0Var.h()) {
arrayList.add(x0Var);
} else if (com.applovin.impl.sdk.n.a()) {
this.b.b("MediationDebuggerService", "app-ads.txt entry passed down for validation is misformatted: " + str);
}
}
return arrayList;
}
/* JADX INFO: Access modifiers changed from: private */
public /* synthetic */ void a(DialogInterface dialogInterface, int i) {
h();
}
private void a(List list) {
Iterator it = list.iterator();
while (it.hasNext()) {
ke keVar = (ke) it.next();
if (keVar.z() && keVar.q() == ke.a.INVALID_INTEGRATION) {
AppLovinSdkUtils.runOnUiThreadDelayed(new Runnable() { // from class: com.applovin.impl.ue$$ExternalSyntheticLambda1
@Override // java.lang.Runnable
public final void run() {
ue.this.d();
}
}, TimeUnit.SECONDS.toMillis(2L));
return;
}
}
}
@Override // com.applovin.impl.d4.e
public void a(String str, JSONObject jSONObject, int i) {
List a2 = a(jSONObject, this.a);
List a3 = a(jSONObject, a2, this.a);
List a4 = a(a3, this.a);
List a5 = a(jSONObject);
JSONObject jSONObject2 = JsonUtils.getJSONObject(jSONObject, FCMMessageService.PushIntentExtraKeys.ALERT, (JSONObject) null);
this.d.a(a2, a3, a4, a5, JsonUtils.getString(jSONObject2, "title", null), JsonUtils.getString(jSONObject2, "message", null), JsonUtils.getString(jSONObject, "account_id", null), JsonUtils.getBoolean(jSONObject, "complies_with_google_families_policy", null), JsonUtils.getBoolean(jSONObject, "should_display_cmp_details", Boolean.TRUE).booleanValue(), this.a);
if (!a5.isEmpty()) {
this.l.a();
}
if (g()) {
AppLovinSdkUtils.runOnUiThreadDelayed(new Runnable() { // from class: com.applovin.impl.ue$$ExternalSyntheticLambda2
@Override // java.lang.Runnable
public final void run() {
ue.this.h();
}
}, TimeUnit.SECONDS.toMillis(this.i));
} else {
a(a2);
}
}
public void a(Map map) {
this.k = map;
e();
if (!c() && n.compareAndSet(false, true)) {
if (!this.j) {
f();
this.j = true;
}
Intent intent = new Intent(this.c, (Class<?>) MaxDebuggerActivity.class);
intent.setFlags(DriveFile.MODE_READ_ONLY);
com.applovin.impl.sdk.n.g("AppLovinSdk", "Starting mediation debugger...");
this.c.startActivity(intent);
return;
}
com.applovin.impl.sdk.n.h("AppLovinSdk", "Mediation debugger is already showing");
}
@Override // com.applovin.impl.d4.e
public void a(String str, int i, String str2, JSONObject jSONObject) {
if (com.applovin.impl.sdk.n.a()) {
this.b.b("MediationDebuggerService", "Unable to fetch mediation debugger info: server returned " + i);
}
com.applovin.impl.sdk.n.h("AppLovinSdk", "Unable to show mediation debugger.");
this.d.a(null, null, null, null, null, null, null, null, false, this.a);
this.g.set(false);
}
}