Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzfox.java
Daniel Elliott c080f0d97f 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
2026-02-18 15:48:36 -08:00

110 lines
3.6 KiB
Java

package com.google.android.gms.internal.ads;
import android.content.Context;
import android.content.SharedPreferences;
import android.text.TextUtils;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.annotation.VisibleForTesting;
import com.google.android.gms.common.util.Hex;
import java.io.File;
/* loaded from: classes3.dex */
public final class zzfox {
@VisibleForTesting
final File zza;
private final File zzb;
private final SharedPreferences zzc;
private final int zzd;
public zzfox(@NonNull Context context, int i) {
this.zzc = context.getSharedPreferences("pcvmspf", 0);
File dir = context.getDir("pccache", 0);
zzfoy.zza(dir, false);
this.zzb = dir;
File dir2 = context.getDir("tmppccache", 0);
zzfoy.zza(dir2, true);
this.zza = dir2;
this.zzd = i;
}
private final File zzd() {
File file = new File(this.zzb, Integer.toString(this.zzd - 1));
if (!file.exists()) {
file.mkdir();
}
return file;
}
private final String zze() {
StringBuilder sb = new StringBuilder();
sb.append("FBAMTD");
sb.append(this.zzd - 1);
return sb.toString();
}
private final String zzf() {
StringBuilder sb = new StringBuilder();
sb.append("LATMTD");
sb.append(this.zzd - 1);
return sb.toString();
}
/* JADX WARN: Removed duplicated region for block: B:26:0x014a */
/* JADX WARN: Removed duplicated region for block: B:29:0x0158 */
/* JADX WARN: Removed duplicated region for block: B:32:0x016a */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean zza(@androidx.annotation.NonNull com.google.android.gms.internal.ads.zzaxw r8, @androidx.annotation.Nullable com.google.android.gms.internal.ads.zzfpd r9) {
/*
Method dump skipped, instructions count: 390
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzfox.zza(com.google.android.gms.internal.ads.zzaxw, com.google.android.gms.internal.ads.zzfpd):boolean");
}
@Nullable
@VisibleForTesting
public final zzaxz zzb(int i) {
String string = i == 1 ? this.zzc.getString(zzf(), null) : this.zzc.getString(zze(), null);
if (TextUtils.isEmpty(string)) {
return null;
}
try {
byte[] stringToBytes = Hex.stringToBytes(string);
zzgwj zzgwjVar = zzgwj.zzb;
zzaxz zzh = zzaxz.zzh(zzgwj.zzv(stringToBytes, 0, stringToBytes.length));
String zzk = zzh.zzk();
File zzb = zzfoy.zzb(zzk, "pcam.jar", zzd());
if (!zzb.exists()) {
zzb = zzfoy.zzb(zzk, "pcam", zzd());
}
File zzb2 = zzfoy.zzb(zzk, "pcbc", zzd());
if (zzb.exists()) {
if (zzb2.exists()) {
return zzh;
}
}
} catch (zzgyg unused) {
}
return null;
}
@Nullable
public final zzfow zzc(int i) {
zzaxz zzb = zzb(1);
if (zzb == null) {
return null;
}
String zzk = zzb.zzk();
File zzb2 = zzfoy.zzb(zzk, "pcam.jar", zzd());
if (!zzb2.exists()) {
zzb2 = zzfoy.zzb(zzk, "pcam", zzd());
}
return new zzfow(zzb, zzb2, zzfoy.zzb(zzk, "pcbc", zzd()), zzfoy.zzb(zzk, "pcopt", zzd()));
}
}