- 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
72 lines
1.9 KiB
Java
72 lines
1.9 KiB
Java
package com.google.android.gms.internal.ads;
|
|
|
|
import androidx.annotation.Nullable;
|
|
import java.nio.ByteBuffer;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzpr extends zzci {
|
|
|
|
@Nullable
|
|
private int[] zzd;
|
|
|
|
@Nullable
|
|
private int[] zze;
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzci
|
|
public final zzcf zzi(zzcf zzcfVar) throws zzcg {
|
|
int[] iArr = this.zzd;
|
|
if (iArr == null) {
|
|
return zzcf.zza;
|
|
}
|
|
if (zzcfVar.zzd != 2) {
|
|
throw new zzcg("Unhandled input format:", zzcfVar);
|
|
}
|
|
boolean z = zzcfVar.zzc != iArr.length;
|
|
int i = 0;
|
|
while (true) {
|
|
int length = iArr.length;
|
|
if (i >= length) {
|
|
return z ? new zzcf(zzcfVar.zzb, length, 2) : zzcf.zza;
|
|
}
|
|
int i2 = iArr[i];
|
|
if (i2 >= zzcfVar.zzc) {
|
|
throw new zzcg("Unhandled input format:", zzcfVar);
|
|
}
|
|
z |= i2 != i;
|
|
i++;
|
|
}
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzci
|
|
public final void zzk() {
|
|
this.zze = this.zzd;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzci
|
|
public final void zzm() {
|
|
this.zze = null;
|
|
this.zzd = null;
|
|
}
|
|
|
|
public final void zzo(@Nullable int[] iArr) {
|
|
this.zzd = iArr;
|
|
}
|
|
|
|
@Override // com.google.android.gms.internal.ads.zzch
|
|
public final void zze(ByteBuffer byteBuffer) {
|
|
int[] iArr = this.zze;
|
|
iArr.getClass();
|
|
int position = byteBuffer.position();
|
|
int limit = byteBuffer.limit();
|
|
ByteBuffer zzj = zzj(((limit - position) / this.zzb.zze) * this.zzc.zze);
|
|
while (position < limit) {
|
|
for (int i : iArr) {
|
|
zzj.putShort(byteBuffer.getShort(i + i + position));
|
|
}
|
|
position += this.zzb.zze;
|
|
}
|
|
byteBuffer.position(limit);
|
|
zzj.flip();
|
|
}
|
|
}
|