- 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
109 lines
3.3 KiB
Java
109 lines
3.3 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
import java.util.Iterator;
|
|
import java.util.concurrent.CopyOnWriteArraySet;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzaaq {
|
|
private final zzaal zza;
|
|
|
|
@Nullable
|
|
private zzcd zzf;
|
|
private long zzh;
|
|
private final zzzx zzj;
|
|
private final zzaaj zzb = new zzaaj();
|
|
private final zzee zzc = new zzee(10);
|
|
private final zzee zzd = new zzee(10);
|
|
private final zzdq zze = new zzdq(16);
|
|
private zzcd zzg = zzcd.zza;
|
|
private long zzi = C.TIME_UNSET;
|
|
|
|
public zzaaq(zzzx zzzxVar, zzaal zzaalVar) {
|
|
this.zzj = zzzxVar;
|
|
this.zza = zzaalVar;
|
|
}
|
|
|
|
private static Object zzf(zzee zzeeVar) {
|
|
zzcw.zzd(zzeeVar.zza() > 0);
|
|
while (zzeeVar.zza() > 1) {
|
|
zzeeVar.zzb();
|
|
}
|
|
Object zzb = zzeeVar.zzb();
|
|
zzb.getClass();
|
|
return zzb;
|
|
}
|
|
|
|
public final void zza() {
|
|
this.zze.zzc();
|
|
this.zzi = C.TIME_UNSET;
|
|
zzee zzeeVar = this.zzd;
|
|
if (zzeeVar.zza() > 0) {
|
|
this.zzd.zzd(0L, Long.valueOf(((Long) zzf(zzeeVar)).longValue()));
|
|
}
|
|
if (this.zzf != null) {
|
|
this.zzc.zze();
|
|
return;
|
|
}
|
|
zzee zzeeVar2 = this.zzc;
|
|
if (zzeeVar2.zza() > 0) {
|
|
this.zzf = (zzcd) zzf(zzeeVar2);
|
|
}
|
|
}
|
|
|
|
public final void zzb(int i, int i2) {
|
|
this.zzf = new zzcd(i, i2, 1.0f);
|
|
}
|
|
|
|
public final void zzc(long j, long j2) {
|
|
this.zzd.zzd(j, Long.valueOf(j2));
|
|
}
|
|
|
|
public final void zzd(long j, long j2) throws zzib {
|
|
CopyOnWriteArraySet copyOnWriteArraySet;
|
|
while (true) {
|
|
zzdq zzdqVar = this.zze;
|
|
if (zzdqVar.zzd()) {
|
|
return;
|
|
}
|
|
zzee zzeeVar = this.zzd;
|
|
long zza = zzdqVar.zza();
|
|
Long l = (Long) zzeeVar.zzc(zza);
|
|
if (l != null && l.longValue() != this.zzh) {
|
|
this.zzh = l.longValue();
|
|
this.zza.zzf();
|
|
}
|
|
int zza2 = this.zza.zza(zza, j, j2, this.zzh, false, this.zzb);
|
|
if (zza2 != 0 && zza2 != 1) {
|
|
if (zza2 == 2 || zza2 == 3 || zza2 == 4) {
|
|
this.zzi = zza;
|
|
this.zze.zzb();
|
|
zzzx zzzxVar = this.zzj;
|
|
copyOnWriteArraySet = zzzxVar.zza.zzj;
|
|
Iterator it = copyOnWriteArraySet.iterator();
|
|
while (it.hasNext()) {
|
|
((zzaac) it.next()).zzz(zzzxVar.zza);
|
|
}
|
|
zzcw.zzb(null);
|
|
throw null;
|
|
}
|
|
return;
|
|
}
|
|
this.zzi = zza;
|
|
long longValue = Long.valueOf(this.zze.zzb()).longValue();
|
|
zzcd zzcdVar = (zzcd) this.zzc.zzc(longValue);
|
|
if (zzcdVar != null && !zzcdVar.equals(zzcd.zza) && !zzcdVar.equals(this.zzg)) {
|
|
this.zzg = zzcdVar;
|
|
this.zzj.zza(zzcdVar);
|
|
}
|
|
this.zzj.zzb(zza2 == 0 ? -1L : this.zzb.zzd(), longValue, this.zza.zzp());
|
|
}
|
|
}
|
|
|
|
public final boolean zze(long j) {
|
|
long j2 = this.zzi;
|
|
return j2 != C.TIME_UNSET && j2 >= j;
|
|
}
|
|
}
|