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

149 lines
4.0 KiB
Java

package com.google.android.gms.internal.ads;
import java.io.IOException;
/* loaded from: classes3.dex */
abstract class zzajt {
private zzadt zzb;
private zzacq zzc;
private zzajo zzd;
private long zze;
private long zzf;
private long zzg;
private int zzh;
private int zzi;
private long zzk;
private boolean zzl;
private boolean zzm;
private final zzajm zza = new zzajm();
private zzajq zzj = new zzajq();
public abstract long zza(zzdy zzdyVar);
public void zzb(boolean z) {
int i;
if (z) {
this.zzj = new zzajq();
this.zzf = 0L;
i = 0;
} else {
i = 1;
}
this.zzh = i;
this.zze = -1L;
this.zzg = 0L;
}
public abstract boolean zzc(zzdy zzdyVar, long j, zzajq zzajqVar) throws IOException;
public final int zze(zzaco zzacoVar, zzadj zzadjVar) throws IOException {
zzcw.zzb(this.zzb);
int i = zzei.zza;
int i2 = this.zzh;
if (i2 == 0) {
while (this.zza.zze(zzacoVar)) {
long zzf = zzacoVar.zzf();
long j = this.zzf;
this.zzk = zzf - j;
if (zzc(this.zza.zza(), j, this.zzj)) {
this.zzf = zzacoVar.zzf();
} else {
zzab zzabVar = this.zzj.zza;
this.zzi = zzabVar.zzE;
if (!this.zzm) {
this.zzb.zzm(zzabVar);
this.zzm = true;
}
zzajo zzajoVar = this.zzj.zzb;
if (zzajoVar != null) {
this.zzd = zzajoVar;
} else if (zzacoVar.zzd() == -1) {
this.zzd = new zzajr(null);
} else {
zzajn zzb = this.zza.zzb();
this.zzd = new zzaji(this, this.zzf, zzacoVar.zzd(), zzb.zzd + zzb.zze, zzb.zzb, (zzb.zza & 4) != 0);
}
this.zzh = 2;
this.zza.zzd();
}
}
this.zzh = 3;
return -1;
}
if (i2 == 1) {
zzacoVar.zzk((int) this.zzf);
this.zzh = 2;
return 0;
}
if (i2 != 2) {
return -1;
}
long zzd = this.zzd.zzd(zzacoVar);
if (zzd >= 0) {
zzadjVar.zza = zzd;
return 1;
}
if (zzd < -1) {
zzi(-(zzd + 2));
}
if (!this.zzl) {
zzadm zze = this.zzd.zze();
zzcw.zzb(zze);
this.zzc.zzO(zze);
this.zzl = true;
}
if (this.zzk <= 0 && !this.zza.zze(zzacoVar)) {
this.zzh = 3;
return -1;
}
this.zzk = 0L;
zzdy zza = this.zza.zza();
long zza2 = zza(zza);
if (zza2 >= 0) {
long j2 = this.zzg;
if (j2 + zza2 >= this.zze) {
long zzf2 = zzf(j2);
this.zzb.zzr(zza, zza.zze());
this.zzb.zzt(zzf2, 1, zza.zze(), 0, null);
this.zze = -1L;
}
}
this.zzg += zza2;
return 0;
}
public final long zzf(long j) {
return (j * 1000000) / this.zzi;
}
public final long zzg(long j) {
return (this.zzi * j) / 1000000;
}
public final void zzh(zzacq zzacqVar, zzadt zzadtVar) {
this.zzc = zzacqVar;
this.zzb = zzadtVar;
zzb(true);
}
public void zzi(long j) {
this.zzg = j;
}
public final void zzj(long j, long j2) {
this.zza.zzc();
if (j == 0) {
zzb(!this.zzl);
return;
}
if (this.zzh != 0) {
long zzg = zzg(j2);
this.zze = zzg;
zzajo zzajoVar = this.zzd;
int i = zzei.zza;
zzajoVar.zzg(zzg);
this.zzh = 2;
}
}
}