290 lines
11 KiB
Java
290 lines
11 KiB
Java
|
package com.google.android.gms.internal.measurement;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.PointF;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.util.Iterator;
|
||
|
import java.util.List;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.dQY;
|
||
|
import o.xzZ;
|
||
|
|
||
|
/* loaded from: classes.dex */
|
||
|
public final class zzan implements zzap {
|
||
|
private static final byte[] $$a = {16, ISO7816.INS_MANAGE_CHANNEL, -67, -78};
|
||
|
private static final int $$b = 60;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int b = 0;
|
||
|
private static int c = 1;
|
||
|
private static char[] e = {38445, 47983, 52381, 7716};
|
||
|
private static long d = 5566154267212030603L;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). Please report as a decompilation issue!!! */
|
||
|
/*
|
||
|
Code decompiled incorrectly, please refer to instructions dump.
|
||
|
To view partially-correct add '--show-bad-code' argument
|
||
|
*/
|
||
|
private static void g(int r5, short r6, int r7, java.lang.Object[] r8) {
|
||
|
/*
|
||
|
int r7 = 106 - r7
|
||
|
int r5 = r5 + 4
|
||
|
int r6 = r6 * 3
|
||
|
int r6 = 1 - r6
|
||
|
byte[] r0 = com.google.android.gms.internal.measurement.zzan.$$a
|
||
|
byte[] r1 = new byte[r6]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L13
|
||
|
r4 = r7
|
||
|
r3 = r2
|
||
|
r7 = r6
|
||
|
goto L27
|
||
|
L13:
|
||
|
r3 = r2
|
||
|
L14:
|
||
|
byte r4 = (byte) r7
|
||
|
r1[r3] = r4
|
||
|
int r3 = r3 + 1
|
||
|
if (r3 != r6) goto L23
|
||
|
java.lang.String r5 = new java.lang.String
|
||
|
r5.<init>(r1, r2)
|
||
|
r8[r2] = r5
|
||
|
return
|
||
|
L23:
|
||
|
int r5 = r5 + 1
|
||
|
r4 = r0[r5]
|
||
|
L27:
|
||
|
int r7 = r7 + r4
|
||
|
goto L14
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: com.google.android.gms.internal.measurement.zzan.g(int, short, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
public final boolean equals(Object obj) {
|
||
|
int i = 2 % 2;
|
||
|
if (obj != this) {
|
||
|
return obj instanceof zzan;
|
||
|
}
|
||
|
int i2 = c;
|
||
|
int i3 = i2 + 123;
|
||
|
b = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
int i5 = i2 + 89;
|
||
|
b = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
return true;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final zzap zzbK(String str, zzg zzgVar, List<zzap> list) {
|
||
|
int i = 2 % 2;
|
||
|
throw new IllegalStateException(String.format("null has no function %s", str));
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final Boolean zzg() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 55;
|
||
|
b = i2 % 128;
|
||
|
Boolean valueOf = Boolean.valueOf(i2 % 2 != 0);
|
||
|
int i3 = b + 53;
|
||
|
c = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
return valueOf;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final Double zzh() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 43;
|
||
|
c = i2 % 128;
|
||
|
Double valueOf = Double.valueOf(i2 % 2 == 0 ? 1.0d : 0.0d);
|
||
|
int i3 = c + 67;
|
||
|
b = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
return valueOf;
|
||
|
}
|
||
|
|
||
|
private static void f(char c2, int i, int i2, Object[] objArr) {
|
||
|
int i3 = 2 % 2;
|
||
|
dQY dqy = new dQY();
|
||
|
long[] jArr = new long[i2];
|
||
|
dqy.a = 0;
|
||
|
while (dqy.a < i2) {
|
||
|
int i4 = dqy.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Integer.valueOf(e[i + dqy.a])};
|
||
|
Object obj = xzZ.y.get(1095064095);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(308 - (Process.myTid() >> 22), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 32797));
|
||
|
byte b2 = (byte) (-1);
|
||
|
byte b3 = (byte) (b2 + 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(b2, b3, (byte) (b3 | 8), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1095064095, obj);
|
||
|
}
|
||
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(-548438098);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 413, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
|
||
|
byte b4 = (byte) (-1);
|
||
|
byte b5 = (byte) (b4 + 1);
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g(b4, b5, (byte) (b5 | 7), objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(-548438098, obj2);
|
||
|
}
|
||
|
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
||
|
Object[] objArr6 = {dqy, dqy};
|
||
|
Object obj3 = xzZ.y.get(1071125919);
|
||
|
if (obj3 == null) {
|
||
|
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 407, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (29234 - View.getDefaultSize(0, 0)));
|
||
|
byte b6 = (byte) (-1);
|
||
|
byte b7 = (byte) (b6 + 1);
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(b6, b7, b7, objArr7);
|
||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj3);
|
||
|
}
|
||
|
((Method) obj3).invoke(null, objArr6);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
char[] cArr = new char[i2];
|
||
|
dqy.a = 0;
|
||
|
int i5 = $11 + 123;
|
||
|
$10 = i5 % 128;
|
||
|
int i6 = 2;
|
||
|
int i7 = i5 % 2;
|
||
|
while (dqy.a < i2) {
|
||
|
int i8 = $10 + 21;
|
||
|
$11 = i8 % 128;
|
||
|
if (i8 % i6 == 0) {
|
||
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
||
|
Object[] objArr8 = {dqy, dqy};
|
||
|
Object obj4 = xzZ.y.get(1071125919);
|
||
|
if (obj4 == null) {
|
||
|
Class cls4 = (Class) xzZ.c(407 - Color.alpha(0), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (KeyEvent.keyCodeFromString("") + 29234));
|
||
|
byte b8 = (byte) (-1);
|
||
|
byte b9 = (byte) (b8 + 1);
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
g(b8, b9, b9, objArr9);
|
||
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj4);
|
||
|
}
|
||
|
((Method) obj4).invoke(null, objArr8);
|
||
|
throw null;
|
||
|
}
|
||
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
||
|
try {
|
||
|
Object[] objArr10 = {dqy, dqy};
|
||
|
Object obj5 = xzZ.y.get(1071125919);
|
||
|
if (obj5 == null) {
|
||
|
Class cls5 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 407, 5 - TextUtils.getOffsetAfter("", 0), (char) (29234 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
|
||
|
byte b10 = (byte) (-1);
|
||
|
byte b11 = (byte) (b10 + 1);
|
||
|
Object[] objArr11 = new Object[1];
|
||
|
g(b10, b11, b11, objArr11);
|
||
|
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1071125919, obj5);
|
||
|
}
|
||
|
((Method) obj5).invoke(null, objArr10);
|
||
|
i6 = 2;
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
String str = new String(cArr);
|
||
|
int i9 = $11 + 125;
|
||
|
$10 = i9 % 128;
|
||
|
if (i9 % 2 == 0) {
|
||
|
objArr[0] = str;
|
||
|
} else {
|
||
|
int i10 = 63 / 0;
|
||
|
objArr[0] = str;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final Iterator<zzap> zzl() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 115;
|
||
|
c = i2 % 128;
|
||
|
Object obj = null;
|
||
|
if (i2 % 2 != 0) {
|
||
|
return null;
|
||
|
}
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final String zzi() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = b + 113;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
Object[] objArr = new Object[1];
|
||
|
f((char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 6545), View.MeasureSpec.getSize(0), TextUtils.indexOf("", "", 0) + 4, objArr);
|
||
|
String intern = ((String) objArr[0]).intern();
|
||
|
int i4 = c + 101;
|
||
|
b = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
int i5 = 86 / 0;
|
||
|
}
|
||
|
return intern;
|
||
|
}
|
||
|
|
||
|
@Override // com.google.android.gms.internal.measurement.zzap
|
||
|
public final zzap zzd() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 27;
|
||
|
b = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
zzap zzapVar = zzap.zzg;
|
||
|
int i4 = b + 31;
|
||
|
c = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
return zzapVar;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
public final int hashCode() {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 95;
|
||
|
int i3 = i2 % 128;
|
||
|
b = i3;
|
||
|
int i4 = i2 % 2;
|
||
|
int i5 = i3 + 123;
|
||
|
c = i5 % 128;
|
||
|
if (i5 % 2 != 0) {
|
||
|
return 1;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
}
|