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,370 @@
package com.google.android.gms.measurement.internal;
import android.content.SharedPreferences;
import android.os.Build;
import android.os.Bundle;
import android.text.TextUtils;
import android.util.Pair;
import android.util.SparseArray;
import androidx.annotation.WorkerThread;
import com.facebook.gamingservices.cloudgaming.internal.SDKAnalyticsEvents;
import com.google.android.gms.ads.identifier.AdvertisingIdClient;
import com.google.android.gms.common.internal.Preconditions;
import com.google.android.gms.measurement.internal.zzin;
/* loaded from: classes3.dex */
final class zzgl extends zzim {
static final Pair<String, Long> zza = new Pair<>("", 0L);
private long zzaa;
public zzgp zzb;
public final zzgm zzc;
public final zzgm zzd;
public final zzgr zze;
public final zzgm zzf;
public final zzgk zzg;
public final zzgr zzh;
public final zzgn zzi;
public final zzgk zzj;
public final zzgm zzk;
public final zzgm zzl;
public boolean zzm;
public zzgk zzn;
public zzgk zzo;
public zzgm zzp;
public final zzgr zzq;
public final zzgr zzr;
public final zzgm zzs;
public final zzgn zzt;
private SharedPreferences zzv;
private Object zzw;
private SharedPreferences zzx;
private String zzy;
private boolean zzz;
@WorkerThread
public final SharedPreferences zzc() {
zzt();
zzac();
if (this.zzx == null) {
synchronized (this.zzw) {
try {
if (this.zzx == null) {
String str = zza().getPackageName() + "_preferences";
zzj().zzp().zza("Default prefs file", str);
this.zzx = zza().getSharedPreferences(str, 0);
}
} finally {
}
}
}
return this.zzx;
}
@Override // com.google.android.gms.measurement.internal.zzim
public final boolean zzo() {
return true;
}
@WorkerThread
public final SharedPreferences zzg() {
zzt();
zzac();
Preconditions.checkNotNull(this.zzv);
return this.zzv;
}
@WorkerThread
public final Pair<String, Boolean> zza(String str) {
zzt();
if (!zzn().zza(zzin.zza.AD_STORAGE)) {
return new Pair<>("", Boolean.FALSE);
}
long elapsedRealtime = zzb().elapsedRealtime();
if (this.zzy != null && elapsedRealtime < this.zzaa) {
return new Pair<>(this.zzy, Boolean.valueOf(this.zzz));
}
this.zzaa = elapsedRealtime + zze().zzd(str);
AdvertisingIdClient.setShouldSkipGmsCoreVersionCheck(true);
try {
AdvertisingIdClient.Info advertisingIdInfo = AdvertisingIdClient.getAdvertisingIdInfo(zza());
this.zzy = "";
String id = advertisingIdInfo.getId();
if (id != null) {
this.zzy = id;
}
this.zzz = advertisingIdInfo.isLimitAdTrackingEnabled();
} catch (Exception e) {
zzj().zzc().zza("Unable to get advertising id", e);
this.zzy = "";
}
AdvertisingIdClient.setShouldSkipGmsCoreVersionCheck(false);
return new Pair<>(this.zzy, Boolean.valueOf(this.zzz));
}
public final SparseArray<Long> zzh() {
Bundle zza2 = this.zzi.zza();
if (zza2 == null) {
return new SparseArray<>();
}
int[] intArray = zza2.getIntArray("uriSources");
long[] longArray = zza2.getLongArray("uriTimestamps");
if (intArray == null || longArray == null) {
return new SparseArray<>();
}
if (intArray.length != longArray.length) {
zzj().zzg().zza("Trigger URI source and timestamp array lengths do not match");
return new SparseArray<>();
}
SparseArray<Long> sparseArray = new SparseArray<>();
for (int i = 0; i < intArray.length; i++) {
sparseArray.put(intArray[i], Long.valueOf(longArray[i]));
}
return sparseArray;
}
@WorkerThread
public final zzax zzm() {
zzt();
return zzax.zza(zzg().getString("dma_consent_settings", null));
}
@WorkerThread
public final zzin zzn() {
zzt();
return zzin.zza(zzg().getString("consent_settings", "G1"), zzg().getInt("consent_source", 100));
}
@WorkerThread
public final Boolean zzp() {
zzt();
if (zzg().contains("use_service")) {
return Boolean.valueOf(zzg().getBoolean("use_service", false));
}
return null;
}
@WorkerThread
public final Boolean zzu() {
zzt();
if (zzg().contains("measurement_enabled_from_api")) {
return Boolean.valueOf(zzg().getBoolean("measurement_enabled_from_api", true));
}
return null;
}
@WorkerThread
public final Boolean zzv() {
zzt();
if (zzg().contains("measurement_enabled")) {
return Boolean.valueOf(zzg().getBoolean("measurement_enabled", true));
}
return null;
}
@WorkerThread
public final String zzw() {
zzt();
String string = zzg().getString("previous_os_version", null);
zzf().zzac();
String str = Build.VERSION.RELEASE;
if (!TextUtils.isEmpty(str) && !str.equals(string)) {
SharedPreferences.Editor edit = zzg().edit();
edit.putString("previous_os_version", str);
edit.apply();
}
return string;
}
@WorkerThread
public final String zzx() {
zzt();
return zzg().getString("admob_app_id", null);
}
@WorkerThread
public final String zzy() {
zzt();
return zzg().getString("gmp_app_id", null);
}
public zzgl(zzhj zzhjVar) {
super(zzhjVar);
this.zzw = new Object();
this.zzf = new zzgm(this, "session_timeout", 1800000L);
this.zzg = new zzgk(this, "start_new_session", true);
this.zzk = new zzgm(this, "last_pause_time", 0L);
this.zzl = new zzgm(this, SDKAnalyticsEvents.PARAMETER_SESSION_ID, 0L);
this.zzh = new zzgr(this, "non_personalized_ads", null);
this.zzi = new zzgn(this, "last_received_uri_timestamps_by_source", null);
this.zzj = new zzgk(this, "allow_remote_dynamite", false);
this.zzc = new zzgm(this, "first_open_time", 0L);
this.zzd = new zzgm(this, "app_install_time", 0L);
this.zze = new zzgr(this, "app_instance_id", null);
this.zzn = new zzgk(this, "app_backgrounded", false);
this.zzo = new zzgk(this, "deep_link_retrieval_complete", false);
this.zzp = new zzgm(this, "deep_link_retrieval_attempts", 0L);
this.zzq = new zzgr(this, "firebase_feature_rollouts", null);
this.zzr = new zzgr(this, "deferred_attribution_cache", null);
this.zzs = new zzgm(this, "deferred_attribution_cache_timestamp", 0L);
this.zzt = new zzgn(this, "default_event_parameters", null);
}
@WorkerThread
public final void zzz() {
zzt();
Boolean zzv = zzv();
SharedPreferences.Editor edit = zzg().edit();
edit.clear();
edit.apply();
if (zzv != null) {
zza(zzv);
}
}
@Override // com.google.android.gms.measurement.internal.zzim
@WorkerThread
public final void zzaa() {
SharedPreferences sharedPreferences = zza().getSharedPreferences("com.google.android.gms.measurement.prefs", 0);
this.zzv = sharedPreferences;
boolean z = sharedPreferences.getBoolean("has_been_opened", false);
this.zzm = z;
if (!z) {
SharedPreferences.Editor edit = this.zzv.edit();
edit.putBoolean("has_been_opened", true);
edit.apply();
}
this.zzb = new zzgp(this, "health_monitor", Math.max(0L, zzbh.zzc.zza(null).longValue()));
}
@WorkerThread
public final void zzb(String str) {
zzt();
SharedPreferences.Editor edit = zzg().edit();
edit.putString("admob_app_id", str);
edit.apply();
}
@WorkerThread
public final void zzc(String str) {
zzt();
SharedPreferences.Editor edit = zzg().edit();
edit.putString("gmp_app_id", str);
edit.apply();
}
@WorkerThread
public final void zza(Boolean bool) {
zzt();
SharedPreferences.Editor edit = zzg().edit();
if (bool != null) {
edit.putBoolean("measurement_enabled", bool.booleanValue());
} else {
edit.remove("measurement_enabled");
}
edit.apply();
}
@WorkerThread
public final void zzb(Boolean bool) {
zzt();
SharedPreferences.Editor edit = zzg().edit();
if (bool != null) {
edit.putBoolean("measurement_enabled_from_api", bool.booleanValue());
} else {
edit.remove("measurement_enabled_from_api");
}
edit.apply();
}
@WorkerThread
public final void zza(boolean z) {
zzt();
SharedPreferences.Editor edit = zzg().edit();
edit.putBoolean("use_service", z);
edit.apply();
}
@WorkerThread
public final void zzb(boolean z) {
zzt();
zzj().zzp().zza("App measurement setting deferred collection", Boolean.valueOf(z));
SharedPreferences.Editor edit = zzg().edit();
edit.putBoolean("deferred_analytics_collection", z);
edit.apply();
}
public final void zza(SparseArray<Long> sparseArray) {
if (sparseArray == null) {
this.zzi.zza(null);
return;
}
int[] iArr = new int[sparseArray.size()];
long[] jArr = new long[sparseArray.size()];
for (int i = 0; i < sparseArray.size(); i++) {
iArr[i] = sparseArray.keyAt(i);
jArr[i] = sparseArray.valueAt(i).longValue();
}
Bundle bundle = new Bundle();
bundle.putIntArray("uriSources", iArr);
bundle.putLongArray("uriTimestamps", jArr);
this.zzi.zza(bundle);
}
@WorkerThread
public final boolean zzab() {
SharedPreferences sharedPreferences = this.zzv;
if (sharedPreferences == null) {
return false;
}
return sharedPreferences.contains("deferred_analytics_collection");
}
public final boolean zza(long j) {
return j - this.zzf.zza() > this.zzk.zza();
}
@WorkerThread
public final boolean zza(zzax zzaxVar) {
zzt();
if (!zzin.zza(zzaxVar.zza(), zzm().zza())) {
return false;
}
SharedPreferences.Editor edit = zzg().edit();
edit.putString("dma_consent_settings", zzaxVar.zzf());
edit.apply();
return true;
}
@WorkerThread
public final boolean zza(zzin zzinVar) {
zzt();
int zza2 = zzinVar.zza();
if (!zza(zza2)) {
return false;
}
SharedPreferences.Editor edit = zzg().edit();
edit.putString("consent_settings", zzinVar.zzh());
edit.putInt("consent_source", zza2);
edit.apply();
return true;
}
@WorkerThread
public final boolean zza(int i) {
return zzin.zza(i, zzg().getInt("consent_source", 100));
}
@WorkerThread
public final boolean zza(zzms zzmsVar) {
zzt();
String string = zzg().getString("stored_tcf_param", "");
String zzc = zzmsVar.zzc();
if (zzc.equals(string)) {
return false;
}
SharedPreferences.Editor edit = zzg().edit();
edit.putString("stored_tcf_param", zzc);
edit.apply();
return true;
}
}