- 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
190 lines
5.6 KiB
Java
190 lines
5.6 KiB
Java
package com.google.android.gms.internal.auth;
|
|
|
|
import com.facebook.appevents.integrity.IntegrityManager;
|
|
import java.lang.reflect.Field;
|
|
import java.nio.Buffer;
|
|
import java.security.AccessController;
|
|
import java.util.logging.Level;
|
|
import java.util.logging.Logger;
|
|
import sun.misc.Unsafe;
|
|
|
|
/* loaded from: classes3.dex */
|
|
final class zzhj {
|
|
static final boolean zza;
|
|
private static final Unsafe zzb;
|
|
private static final Class zzc;
|
|
private static final boolean zzd;
|
|
private static final zzhi zze;
|
|
private static final boolean zzf;
|
|
private static final boolean zzg;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:15:0x011a */
|
|
/* JADX WARN: Removed duplicated region for block: B:20:0x012c */
|
|
/* JADX WARN: Removed duplicated region for block: B:24:0x006c */
|
|
static {
|
|
/*
|
|
Method dump skipped, instructions count: 304
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.auth.zzhj.<clinit>():void");
|
|
}
|
|
|
|
private zzhj() {
|
|
}
|
|
|
|
public static double zza(Object obj, long j) {
|
|
return zze.zza(obj, j);
|
|
}
|
|
|
|
public static float zzb(Object obj, long j) {
|
|
return zze.zzb(obj, j);
|
|
}
|
|
|
|
public static int zzc(Object obj, long j) {
|
|
return zze.zza.getInt(obj, j);
|
|
}
|
|
|
|
public static long zzd(Object obj, long j) {
|
|
return zze.zza.getLong(obj, j);
|
|
}
|
|
|
|
public static Object zze(Class cls) {
|
|
try {
|
|
return zzb.allocateInstance(cls);
|
|
} catch (InstantiationException e) {
|
|
throw new IllegalStateException(e);
|
|
}
|
|
}
|
|
|
|
public static Object zzf(Object obj, long j) {
|
|
return zze.zza.getObject(obj, j);
|
|
}
|
|
|
|
public static Unsafe zzg() {
|
|
try {
|
|
return (Unsafe) AccessController.doPrivileged(new zzhf());
|
|
} catch (Throwable unused) {
|
|
return null;
|
|
}
|
|
}
|
|
|
|
public static /* bridge */ /* synthetic */ void zzh(Throwable th) {
|
|
Logger.getLogger(zzhj.class.getName()).logp(Level.WARNING, "com.google.protobuf.UnsafeUtil", "logMissingMethod", "platform method missing - proto runtime falling back to safer methods: ".concat(th.toString()));
|
|
}
|
|
|
|
public static /* synthetic */ void zzi(Object obj, long j, boolean z) {
|
|
zzhi zzhiVar = zze;
|
|
long j2 = (-4) & j;
|
|
int i = zzhiVar.zza.getInt(obj, j2);
|
|
int i2 = ((~((int) j)) & 3) << 3;
|
|
zzhiVar.zza.putInt(obj, j2, ((z ? 1 : 0) << i2) | ((~(255 << i2)) & i));
|
|
}
|
|
|
|
public static /* synthetic */ void zzj(Object obj, long j, boolean z) {
|
|
zzhi zzhiVar = zze;
|
|
long j2 = (-4) & j;
|
|
int i = (((int) j) & 3) << 3;
|
|
zzhiVar.zza.putInt(obj, j2, ((z ? 1 : 0) << i) | ((~(255 << i)) & zzhiVar.zza.getInt(obj, j2)));
|
|
}
|
|
|
|
public static void zzk(Object obj, long j, boolean z) {
|
|
zze.zzc(obj, j, z);
|
|
}
|
|
|
|
public static void zzl(Object obj, long j, double d) {
|
|
zze.zzd(obj, j, d);
|
|
}
|
|
|
|
public static void zzm(Object obj, long j, float f) {
|
|
zze.zze(obj, j, f);
|
|
}
|
|
|
|
public static void zzn(Object obj, long j, int i) {
|
|
zze.zza.putInt(obj, j, i);
|
|
}
|
|
|
|
public static void zzo(Object obj, long j, long j2) {
|
|
zze.zza.putLong(obj, j, j2);
|
|
}
|
|
|
|
public static void zzp(Object obj, long j, Object obj2) {
|
|
zze.zza.putObject(obj, j, obj2);
|
|
}
|
|
|
|
public static /* bridge */ /* synthetic */ boolean zzq(Object obj, long j) {
|
|
return ((byte) ((zze.zza.getInt(obj, (-4) & j) >>> ((int) (((~j) & 3) << 3))) & 255)) != 0;
|
|
}
|
|
|
|
public static /* bridge */ /* synthetic */ boolean zzr(Object obj, long j) {
|
|
return ((byte) ((zze.zza.getInt(obj, (-4) & j) >>> ((int) ((j & 3) << 3))) & 255)) != 0;
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
public static boolean zzs(Class cls) {
|
|
int i = zzds.zza;
|
|
try {
|
|
Class cls2 = zzc;
|
|
Class cls3 = Boolean.TYPE;
|
|
cls2.getMethod("peekLong", cls, cls3);
|
|
cls2.getMethod("pokeLong", cls, Long.TYPE, cls3);
|
|
Class cls4 = Integer.TYPE;
|
|
cls2.getMethod("pokeInt", cls, cls4, cls3);
|
|
cls2.getMethod("peekInt", cls, cls3);
|
|
cls2.getMethod("pokeByte", cls, Byte.TYPE);
|
|
cls2.getMethod("peekByte", cls);
|
|
cls2.getMethod("pokeByteArray", cls, byte[].class, cls4, cls4);
|
|
cls2.getMethod("peekByteArray", cls, byte[].class, cls4, cls4);
|
|
return true;
|
|
} catch (Throwable unused) {
|
|
return false;
|
|
}
|
|
}
|
|
|
|
public static boolean zzt(Object obj, long j) {
|
|
return zze.zzf(obj, j);
|
|
}
|
|
|
|
public static boolean zzu() {
|
|
return zzg;
|
|
}
|
|
|
|
public static boolean zzv() {
|
|
return zzf;
|
|
}
|
|
|
|
private static int zzw(Class cls) {
|
|
if (zzg) {
|
|
return zze.zza.arrayBaseOffset(cls);
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
private static int zzx(Class cls) {
|
|
if (zzg) {
|
|
return zze.zza.arrayIndexScale(cls);
|
|
}
|
|
return -1;
|
|
}
|
|
|
|
private static Field zzy() {
|
|
int i = zzds.zza;
|
|
Field zzz = zzz(Buffer.class, "effectiveDirectAddress");
|
|
if (zzz != null) {
|
|
return zzz;
|
|
}
|
|
Field zzz2 = zzz(Buffer.class, IntegrityManager.INTEGRITY_TYPE_ADDRESS);
|
|
if (zzz2 == null || zzz2.getType() != Long.TYPE) {
|
|
return null;
|
|
}
|
|
return zzz2;
|
|
}
|
|
|
|
private static Field zzz(Class cls, String str) {
|
|
try {
|
|
return cls.getDeclaredField(str);
|
|
} catch (Throwable unused) {
|
|
return null;
|
|
}
|
|
}
|
|
}
|