- 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
104 lines
2.6 KiB
Java
104 lines
2.6 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import com.mbridge.msdk.playercommon.exoplayer2.C;
|
|
import kotlin.jvm.internal.ByteCompanionObject;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzamr {
|
|
private final zzadt zza;
|
|
private long zzb;
|
|
private boolean zzc;
|
|
private int zzd;
|
|
private long zze;
|
|
private boolean zzf;
|
|
private boolean zzg;
|
|
private boolean zzh;
|
|
private boolean zzi;
|
|
private boolean zzj;
|
|
private long zzk;
|
|
private long zzl;
|
|
private boolean zzm;
|
|
|
|
public zzamr(zzadt zzadtVar) {
|
|
this.zza = zzadtVar;
|
|
}
|
|
|
|
private final void zzf(int i) {
|
|
long j = this.zzl;
|
|
if (j == C.TIME_UNSET) {
|
|
return;
|
|
}
|
|
boolean z = this.zzm;
|
|
long j2 = this.zzb - this.zzk;
|
|
this.zza.zzt(j, z ? 1 : 0, (int) j2, i, null);
|
|
}
|
|
|
|
public final void zza(long j) {
|
|
this.zzm = this.zzc;
|
|
zzf((int) (j - this.zzb));
|
|
this.zzk = this.zzb;
|
|
this.zzb = j;
|
|
zzf(0);
|
|
this.zzi = false;
|
|
}
|
|
|
|
public final void zzb(long j, int i, boolean z) {
|
|
if (this.zzj && this.zzg) {
|
|
this.zzm = this.zzc;
|
|
this.zzj = false;
|
|
} else if (this.zzh || this.zzg) {
|
|
if (z && this.zzi) {
|
|
zzf(i + ((int) (j - this.zzb)));
|
|
}
|
|
this.zzk = this.zzb;
|
|
this.zzl = this.zze;
|
|
this.zzm = this.zzc;
|
|
this.zzi = true;
|
|
}
|
|
}
|
|
|
|
public final void zzc(byte[] bArr, int i, int i2) {
|
|
if (this.zzf) {
|
|
int i3 = this.zzd;
|
|
int i4 = (i + 2) - i3;
|
|
if (i4 >= i2) {
|
|
this.zzd = i3 + (i2 - i);
|
|
} else {
|
|
this.zzg = (bArr[i4] & ByteCompanionObject.MIN_VALUE) != 0;
|
|
this.zzf = false;
|
|
}
|
|
}
|
|
}
|
|
|
|
public final void zzd() {
|
|
this.zzf = false;
|
|
this.zzg = false;
|
|
this.zzh = false;
|
|
this.zzi = false;
|
|
this.zzj = false;
|
|
}
|
|
|
|
public final void zze(long j, int i, int i2, long j2, boolean z) {
|
|
this.zzg = false;
|
|
this.zzh = false;
|
|
this.zze = j2;
|
|
this.zzd = 0;
|
|
this.zzb = j;
|
|
if (i2 >= 32 && i2 != 40) {
|
|
if (this.zzi && !this.zzj) {
|
|
if (z) {
|
|
zzf(i);
|
|
}
|
|
this.zzi = false;
|
|
}
|
|
if (i2 <= 35 || i2 == 39) {
|
|
this.zzh = !this.zzj;
|
|
this.zzj = true;
|
|
}
|
|
}
|
|
boolean z2 = i2 >= 16 && i2 <= 21;
|
|
this.zzc = z2;
|
|
this.zzf = z2 || i2 <= 9;
|
|
}
|
|
}
|