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

129 lines
3.3 KiB
Java

package com.google.android.gms.internal.ads;
import android.support.v4.media.session.PlaybackStateCompat;
import androidx.annotation.Nullable;
import java.io.IOException;
/* loaded from: classes3.dex */
public class zzaby {
protected final zzabs zza;
protected final zzabx zzb;
@Nullable
protected zzabu zzc;
private final int zzd;
public zzaby(zzabv zzabvVar, zzabx zzabxVar, long j, long j2, long j3, long j4, long j5, long j6, int i) {
this.zzb = zzabxVar;
this.zzd = i;
this.zza = new zzabs(zzabvVar, j, 0L, j3, j4, j5, j6);
}
public static final int zzf(zzaco zzacoVar, long j, zzadj zzadjVar) {
if (j == zzacoVar.zzf()) {
return 0;
}
zzadjVar.zza = j;
return 1;
}
public static final boolean zzg(zzaco zzacoVar, long j) throws IOException {
long zzf = j - zzacoVar.zzf();
if (zzf < 0 || zzf > PlaybackStateCompat.ACTION_SET_REPEAT_MODE) {
return false;
}
zzacoVar.zzk((int) zzf);
return true;
}
public final int zza(zzaco zzacoVar, zzadj zzadjVar) throws IOException {
long j;
long j2;
long j3;
long j4;
int i;
long j5;
long j6;
long j7;
long j8;
long j9;
long j10;
long j11;
while (true) {
zzabu zzabuVar = this.zzc;
zzcw.zzb(zzabuVar);
j = zzabuVar.zzf;
j2 = zzabuVar.zzg;
j3 = zzabuVar.zzh;
if (j2 - j <= this.zzd) {
zzc(false, j);
return zzf(zzacoVar, j, zzadjVar);
}
if (!zzg(zzacoVar, j3)) {
return zzf(zzacoVar, j3, zzadjVar);
}
zzacoVar.zzj();
zzabx zzabxVar = this.zzb;
j4 = zzabuVar.zzb;
zzabw zza = zzabxVar.zza(zzacoVar, j4);
i = zza.zzb;
if (i == -3) {
zzc(false, j3);
return zzf(zzacoVar, j3, zzadjVar);
}
if (i == -2) {
j10 = zza.zzc;
j11 = zza.zzd;
zzabu.zzh(zzabuVar, j10, j11);
} else {
if (i != -1) {
j5 = zza.zzd;
zzg(zzacoVar, j5);
j6 = zza.zzd;
zzc(true, j6);
j7 = zza.zzd;
return zzf(zzacoVar, j7, zzadjVar);
}
j8 = zza.zzc;
j9 = zza.zzd;
zzabu.zzg(zzabuVar, j8, j9);
}
}
}
public final zzadm zzb() {
return this.zza;
}
public final void zzc(boolean z, long j) {
this.zzc = null;
this.zzb.zzb();
}
public final void zzd(long j) {
long j2;
long j3;
long j4;
long j5;
long j6;
zzabu zzabuVar = this.zzc;
if (zzabuVar != null) {
j6 = zzabuVar.zza;
if (j6 == j) {
return;
}
}
zzabs zzabsVar = this.zza;
long zzf = zzabsVar.zzf(j);
j2 = zzabsVar.zzc;
j3 = zzabsVar.zzd;
j4 = zzabsVar.zze;
j5 = zzabsVar.zzf;
this.zzc = new zzabu(j, zzf, 0L, j2, j3, j4, j5);
}
public final boolean zze() {
return this.zzc != null;
}
}