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

80 lines
1.8 KiB
Java

package com.google.android.gms.internal.ads;
import java.util.Arrays;
/* loaded from: classes3.dex */
final class zzzi {
private long zza;
private long zzb;
private long zzc;
private long zzd;
private long zze;
private long zzf;
private final boolean[] zzg = new boolean[15];
private int zzh;
public final long zza() {
long j = this.zze;
if (j == 0) {
return 0L;
}
return this.zzf / j;
}
public final long zzb() {
return this.zzf;
}
public final void zzc(long j) {
long j2 = this.zzd;
if (j2 == 0) {
this.zza = j;
} else if (j2 == 1) {
long j3 = j - this.zza;
this.zzb = j3;
this.zzf = j3;
this.zze = 1L;
} else {
long j4 = j - this.zzc;
int i = (int) (j2 % 15);
if (Math.abs(j4 - this.zzb) <= 1000000) {
this.zze++;
this.zzf += j4;
boolean[] zArr = this.zzg;
if (zArr[i]) {
zArr[i] = false;
this.zzh--;
}
} else {
boolean[] zArr2 = this.zzg;
if (!zArr2[i]) {
zArr2[i] = true;
this.zzh++;
}
}
}
this.zzd++;
this.zzc = j;
}
public final void zzd() {
this.zzd = 0L;
this.zze = 0L;
this.zzf = 0L;
this.zzh = 0;
Arrays.fill(this.zzg, false);
}
public final boolean zze() {
long j = this.zzd;
if (j == 0) {
return false;
}
return this.zzg[(int) ((j - 1) % 15)];
}
public final boolean zzf() {
return this.zzd > 15 && this.zzh == 0;
}
}