Files
rr3-apk/decompiled-community/sources/com/google/android/gms/internal/ads/zzahk.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

199 lines
6.6 KiB
Java

package com.google.android.gms.internal.ads;
import android.util.Pair;
import com.mbridge.msdk.playercommon.exoplayer2.util.MimeTypes;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
/* loaded from: classes3.dex */
public final class zzahk {
public byte[] zzN;
public zzadu zzT;
public boolean zzU;
public zzadt zzW;
public int zzX;
private int zzY;
public String zza;
public String zzb;
public int zzc;
public int zzd;
public int zze;
public int zzf;
public boolean zzg;
public byte[] zzh;
public zzads zzi;
public byte[] zzj;
public zzu zzk;
public int zzl = -1;
public int zzm = -1;
public int zzn = -1;
public int zzo = -1;
public int zzp = -1;
public int zzq = 0;
public int zzr = -1;
public float zzs = 0.0f;
public float zzt = 0.0f;
public float zzu = 0.0f;
public byte[] zzv = null;
public int zzw = -1;
public boolean zzx = false;
public int zzy = -1;
public int zzz = -1;
public int zzA = -1;
public int zzB = 1000;
public int zzC = 200;
public float zzD = -1.0f;
public float zzE = -1.0f;
public float zzF = -1.0f;
public float zzG = -1.0f;
public float zzH = -1.0f;
public float zzI = -1.0f;
public float zzJ = -1.0f;
public float zzK = -1.0f;
public float zzL = -1.0f;
public float zzM = -1.0f;
public int zzO = 1;
public int zzP = -1;
public int zzQ = 8000;
public long zzR = 0;
public long zzS = 0;
public boolean zzV = true;
private String zzZ = "eng";
private static Pair zzf(zzdy zzdyVar) throws zzbc {
try {
zzdyVar.zzM(16);
long zzs = zzdyVar.zzs();
if (zzs == 1482049860) {
return new Pair("video/divx", null);
}
if (zzs == 859189832) {
return new Pair(MimeTypes.VIDEO_H263, null);
}
if (zzs != 826496599) {
zzdo.zzf("MatroskaExtractor", "Unknown FourCC. Setting mimeType to video/x-unknown");
return new Pair(MimeTypes.VIDEO_UNKNOWN, null);
}
int zzd = zzdyVar.zzd() + 20;
byte[] zzN = zzdyVar.zzN();
while (true) {
int length = zzN.length;
if (zzd >= length - 4) {
throw zzbc.zza("Failed to find FourCC VC1 initialization data", null);
}
int i = zzd + 1;
if (zzN[zzd] == 0 && zzN[i] == 0 && zzN[zzd + 2] == 1 && zzN[zzd + 3] == 15) {
return new Pair(MimeTypes.VIDEO_VC1, Collections.singletonList(Arrays.copyOfRange(zzN, zzd, length)));
}
zzd = i;
}
} catch (ArrayIndexOutOfBoundsException unused) {
throw zzbc.zza("Error parsing FourCC private data", null);
}
}
private static List zzg(byte[] bArr) throws zzbc {
int i;
int i2;
try {
if (bArr[0] != 2) {
throw zzbc.zza("Error parsing vorbis codec private", null);
}
int i3 = 0;
int i4 = 1;
while (true) {
int i5 = bArr[i4];
i4++;
i = i5 & 255;
if (i != 255) {
break;
}
i3 += 255;
}
int i6 = i3 + i;
int i7 = 0;
while (true) {
int i8 = bArr[i4];
i4++;
i2 = i8 & 255;
if (i2 != 255) {
break;
}
i7 += 255;
}
int i9 = i7 + i2;
if (bArr[i4] != 1) {
throw zzbc.zza("Error parsing vorbis codec private", null);
}
byte[] bArr2 = new byte[i6];
System.arraycopy(bArr, i4, bArr2, 0, i6);
int i10 = i4 + i6;
if (bArr[i10] != 3) {
throw zzbc.zza("Error parsing vorbis codec private", null);
}
int i11 = i10 + i9;
if (bArr[i11] != 5) {
throw zzbc.zza("Error parsing vorbis codec private", null);
}
int length = bArr.length - i11;
byte[] bArr3 = new byte[length];
System.arraycopy(bArr, i11, bArr3, 0, length);
ArrayList arrayList = new ArrayList(2);
arrayList.add(bArr2);
arrayList.add(bArr3);
return arrayList;
} catch (ArrayIndexOutOfBoundsException unused) {
throw zzbc.zza("Error parsing vorbis codec private", null);
}
}
private static boolean zzh(zzdy zzdyVar) throws zzbc {
try {
int zzk = zzdyVar.zzk();
if (zzk == 1) {
return true;
}
if (zzk == 65534) {
zzdyVar.zzL(24);
if (zzdyVar.zzt() == zzahm.zze.getMostSignificantBits()) {
if (zzdyVar.zzt() == zzahm.zze.getLeastSignificantBits()) {
return true;
}
}
}
return false;
} catch (ArrayIndexOutOfBoundsException unused) {
throw zzbc.zza("Error parsing MS/ACM codec private", null);
}
}
private final byte[] zzi(String str) throws zzbc {
byte[] bArr = this.zzj;
if (bArr != null) {
return bArr;
}
throw zzbc.zza("Missing CodecPrivate for codec ".concat(String.valueOf(str)), null);
}
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
/* JADX WARN: Removed duplicated region for block: B:116:0x03ca */
/* JADX WARN: Removed duplicated region for block: B:17:0x03ae */
/* JADX WARN: Removed duplicated region for block: B:22:0x03c8 */
/* JADX WARN: Removed duplicated region for block: B:25:0x03d7 */
/* JADX WARN: Removed duplicated region for block: B:28:0x05c0 */
/* JADX WARN: Removed duplicated region for block: B:33:0x03e7 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void zze(com.google.android.gms.internal.ads.zzacq r19, int r20) throws com.google.android.gms.internal.ads.zzbc {
/*
Method dump skipped, instructions count: 1742
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.ads.zzahk.zze(com.google.android.gms.internal.ads.zzacq, int):void");
}
}