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

90 lines
2.1 KiB
Java

package com.google.android.gms.internal.ads;
import android.util.SparseArray;
import com.mbridge.msdk.playercommon.exoplayer2.C;
/* loaded from: classes3.dex */
final class zzamp {
private final zzadt zza;
private final SparseArray zzb = new SparseArray();
private final SparseArray zzc = new SparseArray();
private final byte[] zzd;
private int zze;
private long zzf;
private long zzg;
private boolean zzh;
private long zzi;
private long zzj;
private boolean zzk;
private boolean zzl;
public zzamp(zzadt zzadtVar, boolean z, boolean z2) {
this.zza = zzadtVar;
byte[] bArr = new byte[128];
this.zzd = bArr;
new zzfl(bArr, 0, 0);
this.zzh = false;
}
private final void zzg(int i) {
long j = this.zzj;
if (j == C.TIME_UNSET) {
return;
}
boolean z = this.zzk;
long j2 = this.zzf - this.zzi;
this.zza.zzt(j, z ? 1 : 0, (int) j2, i, null);
}
private final void zzh() {
boolean z = this.zzl;
boolean z2 = this.zzk;
int i = this.zze;
boolean z3 = true;
if (i != 5 && (!z || i != 1)) {
z3 = false;
}
this.zzk = z2 | z3;
}
public final void zza(long j) {
zzh();
this.zzf = j;
zzg(0);
this.zzh = false;
}
public final void zzb(zzfi zzfiVar) {
this.zzc.append(zzfiVar.zza, zzfiVar);
}
public final void zzc(zzfj zzfjVar) {
this.zzb.append(zzfjVar.zzd, zzfjVar);
}
public final void zzd() {
this.zzh = false;
}
public final void zze(long j, int i, long j2, boolean z) {
this.zze = i;
this.zzg = j2;
this.zzf = j;
this.zzl = z;
}
public final boolean zzf(long j, int i, boolean z) {
if (this.zze == 9) {
if (z && this.zzh) {
zzg(i + ((int) (j - this.zzf)));
}
this.zzi = this.zzf;
this.zzj = this.zzg;
this.zzk = false;
this.zzh = true;
}
zzh();
return this.zzk;
}
}