Files
rr3-apk/decompiled/sources/com/google/android/gms/internal/ads/zzhap.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

59 lines
1.8 KiB
Java

package com.google.android.gms.internal.ads;
import com.applovin.exoplayer2.common.base.Ascii;
/* loaded from: classes3.dex */
final class zzhap {
public static /* bridge */ /* synthetic */ void zza(byte b, byte b2, byte b3, byte b4, char[] cArr, int i) {
if (zzg(b2) || (((b << Ascii.FS) + (b2 + 112)) >> 30) != 0 || zzg(b3) || zzg(b4)) {
throw new zzgyg("Protocol message had invalid UTF-8.");
}
int i2 = ((b & 7) << 18) | ((b2 & 63) << 12) | ((b3 & 63) << 6) | (b4 & 63);
cArr[i] = (char) ((i2 >>> 10) + 55232);
cArr[i + 1] = (char) ((i2 & 1023) + 56320);
}
public static /* bridge */ /* synthetic */ void zzc(byte b, byte b2, char[] cArr, int i) {
if (b < -62 || zzg(b2)) {
throw new zzgyg("Protocol message had invalid UTF-8.");
}
cArr[i] = (char) (((b & Ascii.US) << 6) | (b2 & 63));
}
public static /* bridge */ /* synthetic */ boolean zzd(byte b) {
return b >= 0;
}
public static /* bridge */ /* synthetic */ boolean zze(byte b) {
return b < -16;
}
public static /* bridge */ /* synthetic */ boolean zzf(byte b) {
return b < -32;
}
private static boolean zzg(byte b) {
return b > -65;
}
public static /* bridge */ /* synthetic */ void zzb(byte b, byte b2, byte b3, char[] cArr, int i) {
if (!zzg(b2)) {
if (b == -32) {
if (b2 >= -96) {
b = -32;
}
}
if (b == -19) {
if (b2 < -96) {
b = -19;
}
}
if (!zzg(b3)) {
cArr[i] = (char) (((b & Ascii.SI) << 12) | ((b2 & 63) << 6) | (b3 & 63));
return;
}
}
throw new zzgyg("Protocol message had invalid UTF-8.");
}
}