357 lines
13 KiB
Java
357 lines
13 KiB
Java
package o;
|
|
|
|
import android.graphics.Color;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.airbnb.deeplinkdispatch.UrlTreeKt;
|
|
import com.google.common.base.Ascii;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import org.jmrtd.lds.CVCAFile;
|
|
|
|
/* JADX WARN: Enum visitor error
|
|
jadx.core.utils.exceptions.JadxRuntimeException: Init of enum field 'VALUE_NULL' uses external variables
|
|
at jadx.core.dex.visitors.EnumVisitor.createEnumFieldByConstructor(EnumVisitor.java:451)
|
|
at jadx.core.dex.visitors.EnumVisitor.processEnumFieldByRegister(EnumVisitor.java:395)
|
|
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromFilledArray(EnumVisitor.java:324)
|
|
at jadx.core.dex.visitors.EnumVisitor.extractEnumFieldsFromInsn(EnumVisitor.java:262)
|
|
at jadx.core.dex.visitors.EnumVisitor.convertToEnum(EnumVisitor.java:151)
|
|
at jadx.core.dex.visitors.EnumVisitor.visit(EnumVisitor.java:100)
|
|
*/
|
|
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
|
/* loaded from: classes.dex */
|
|
public final class GbJ {
|
|
private static final GbJ[] $VALUES;
|
|
public static final GbJ END_ARRAY;
|
|
public static final GbJ END_OBJECT;
|
|
public static final GbJ FIELD_NAME;
|
|
public static final GbJ NOT_AVAILABLE;
|
|
public static final GbJ START_ARRAY;
|
|
public static final GbJ START_OBJECT;
|
|
public static final GbJ VALUE_EMBEDDED_OBJECT;
|
|
public static final GbJ VALUE_FALSE;
|
|
public static final GbJ VALUE_NULL;
|
|
public static final GbJ VALUE_NUMBER_FLOAT;
|
|
public static final GbJ VALUE_NUMBER_INT;
|
|
public static final GbJ VALUE_STRING;
|
|
public static final GbJ VALUE_TRUE;
|
|
private static char[] a;
|
|
private static int b;
|
|
private static boolean c;
|
|
private static boolean d;
|
|
private static int g;
|
|
final int _id;
|
|
final boolean _isBoolean;
|
|
final boolean _isNumber;
|
|
final boolean _isScalar;
|
|
final boolean _isStructEnd;
|
|
final boolean _isStructStart;
|
|
final String _serialized;
|
|
final byte[] _serializedBytes;
|
|
final char[] _serializedChars;
|
|
private static final byte[] $$a = {CVCAFile.CAR_TAG, 74, -6, Ascii.DEL};
|
|
private static final int $$b = 255;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int e = 0;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 h(byte r5, short r6, byte r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r5 = r5 * 3
|
|
int r5 = 4 - r5
|
|
byte[] r0 = o.GbJ.$$a
|
|
int r6 = r6 * 3
|
|
int r1 = r6 + 1
|
|
int r7 = r7 * 57
|
|
int r7 = 122 - r7
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
if (r0 != 0) goto L16
|
|
r4 = r6
|
|
r3 = r2
|
|
goto L28
|
|
L16:
|
|
r3 = r2
|
|
L17:
|
|
byte r4 = (byte) r7
|
|
r1[r3] = r4
|
|
if (r3 != r6) goto L24
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r1, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L24:
|
|
int r3 = r3 + 1
|
|
r4 = r0[r5]
|
|
L28:
|
|
int r4 = -r4
|
|
int r7 = r7 + r4
|
|
int r5 = r5 + 1
|
|
goto L17
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.GbJ.h(byte, short, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
public static GbJ valueOf(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = g + 87;
|
|
e = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
GbJ gbJ = (GbJ) Enum.valueOf(GbJ.class, str);
|
|
int i4 = e + 73;
|
|
g = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return gbJ;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
public static GbJ[] values() {
|
|
int i = 2 % 2;
|
|
int i2 = g + 27;
|
|
e = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
GbJ[] gbJArr = (GbJ[]) $VALUES.clone();
|
|
int i4 = e + 121;
|
|
g = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return gbJArr;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
static {
|
|
g = 1;
|
|
a();
|
|
GbJ gbJ = new GbJ("NOT_AVAILABLE", 0, null, -1);
|
|
NOT_AVAILABLE = gbJ;
|
|
GbJ gbJ2 = new GbJ("START_OBJECT", 1, UrlTreeKt.componentParamPrefix, 1);
|
|
START_OBJECT = gbJ2;
|
|
GbJ gbJ3 = new GbJ("END_OBJECT", 2, UrlTreeKt.componentParamSuffix, 2);
|
|
END_OBJECT = gbJ3;
|
|
GbJ gbJ4 = new GbJ("START_ARRAY", 3, "[", 3);
|
|
START_ARRAY = gbJ4;
|
|
GbJ gbJ5 = new GbJ("END_ARRAY", 4, "]", 4);
|
|
END_ARRAY = gbJ5;
|
|
GbJ gbJ6 = new GbJ("FIELD_NAME", 5, null, 5);
|
|
FIELD_NAME = gbJ6;
|
|
GbJ gbJ7 = new GbJ("VALUE_EMBEDDED_OBJECT", 6, null, 12);
|
|
VALUE_EMBEDDED_OBJECT = gbJ7;
|
|
GbJ gbJ8 = new GbJ("VALUE_STRING", 7, null, 6);
|
|
VALUE_STRING = gbJ8;
|
|
GbJ gbJ9 = new GbJ("VALUE_NUMBER_INT", 8, null, 7);
|
|
VALUE_NUMBER_INT = gbJ9;
|
|
GbJ gbJ10 = new GbJ("VALUE_NUMBER_FLOAT", 9, null, 8);
|
|
VALUE_NUMBER_FLOAT = gbJ10;
|
|
GbJ gbJ11 = new GbJ("VALUE_TRUE", 10, "true", 9);
|
|
VALUE_TRUE = gbJ11;
|
|
GbJ gbJ12 = new GbJ("VALUE_FALSE", 11, "false", 10);
|
|
VALUE_FALSE = gbJ12;
|
|
Object[] objArr = new Object[1];
|
|
f(null, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, Color.blue(0) + 127, objArr);
|
|
GbJ gbJ13 = new GbJ("VALUE_NULL", 12, ((String) objArr[0]).intern(), 11);
|
|
VALUE_NULL = gbJ13;
|
|
$VALUES = new GbJ[]{gbJ, gbJ2, gbJ3, gbJ4, gbJ5, gbJ6, gbJ7, gbJ8, gbJ9, gbJ10, gbJ11, gbJ12, gbJ13};
|
|
int i = e + 119;
|
|
g = i % 128;
|
|
int i2 = i % 2;
|
|
}
|
|
|
|
private GbJ(String str, int i, String str2, int i2) {
|
|
boolean z;
|
|
boolean z2;
|
|
boolean z3;
|
|
boolean z4 = false;
|
|
if (str2 != null) {
|
|
this._serialized = str2;
|
|
char[] charArray = str2.toCharArray();
|
|
this._serializedChars = charArray;
|
|
int length = charArray.length;
|
|
this._serializedBytes = new byte[length];
|
|
for (int i3 = 0; i3 < length; i3++) {
|
|
this._serializedBytes[i3] = (byte) this._serializedChars[i3];
|
|
}
|
|
} else {
|
|
this._serialized = null;
|
|
this._serializedChars = null;
|
|
this._serializedBytes = null;
|
|
int i4 = 2 % 2;
|
|
}
|
|
this._id = i2;
|
|
if (i2 == 10 || i2 == 9) {
|
|
z = true;
|
|
} else {
|
|
int i5 = g + 95;
|
|
e = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
z = false;
|
|
}
|
|
this._isBoolean = z;
|
|
if (i2 == 7 || i2 == 8) {
|
|
z2 = true;
|
|
} else {
|
|
int i7 = e + 73;
|
|
g = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
z2 = false;
|
|
}
|
|
this._isNumber = z2;
|
|
boolean z5 = i2 == 1 || i2 == 3;
|
|
this._isStructStart = z5;
|
|
if (i2 == 2 || i2 == 4) {
|
|
z3 = true;
|
|
} else {
|
|
int i9 = 2 % 2;
|
|
z3 = false;
|
|
}
|
|
this._isStructEnd = z3;
|
|
if (!z5 && !z3 && i2 != 5 && i2 != -1) {
|
|
z4 = true;
|
|
}
|
|
this._isScalar = z4;
|
|
int i10 = e + 21;
|
|
g = i10 % 128;
|
|
if (i10 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
private static void f(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
C3614bBe c3614bBe = new C3614bBe();
|
|
char[] cArr2 = a;
|
|
long j = 0;
|
|
int i3 = 1;
|
|
if (cArr2 != null) {
|
|
int i4 = $10 + 77;
|
|
$11 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i6 = 0;
|
|
while (i6 < length) {
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
|
|
Object obj = xzZ.y.get(-950481649);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 337, (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
h(b2, b3, (byte) (b3 + 1), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(-950481649, obj);
|
|
}
|
|
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i6++;
|
|
j = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
Object[] objArr4 = {Integer.valueOf(b)};
|
|
Object obj2 = xzZ.y.get(-1521625011);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 283, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (39813 - KeyEvent.keyCodeFromString("")));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
h(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
|
xzZ.y.put(-1521625011, obj2);
|
|
}
|
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
|
if (!d) {
|
|
if (!c) {
|
|
c3614bBe.c = iArr.length;
|
|
char[] cArr4 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr4[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
|
c3614bBe.a++;
|
|
}
|
|
objArr[0] = new String(cArr4);
|
|
return;
|
|
}
|
|
c3614bBe.c = cArr.length;
|
|
char[] cArr5 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
|
Object obj3 = xzZ.y.get(1779759091);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(40 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr5);
|
|
return;
|
|
}
|
|
c3614bBe.c = bArr.length;
|
|
char[] cArr6 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
int i7 = $11 + 15;
|
|
$10 = i7 % 128;
|
|
if (i7 % 2 != 0) {
|
|
cArr6[c3614bBe.a] = (char) (cArr2[bArr[c3614bBe.c + c3614bBe.a] << i] >> intValue);
|
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
|
Object obj4 = xzZ.y.get(1779759091);
|
|
if (obj4 == null) {
|
|
Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 40, 5 - Color.red(0), (char) (ExpandableListView.getPackedPositionChild(0L) + i3));
|
|
Class<?>[] clsArr = new Class[2];
|
|
clsArr[0] = Object.class;
|
|
clsArr[i3] = Object.class;
|
|
obj4 = cls3.getMethod("D", clsArr);
|
|
xzZ.y.put(1779759091, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr7);
|
|
} else {
|
|
cArr6[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - i3) - c3614bBe.a] + i] - intValue);
|
|
Object[] objArr8 = {c3614bBe, c3614bBe};
|
|
Object obj5 = xzZ.y.get(1779759091);
|
|
if (obj5 == null) {
|
|
Class cls4 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 40, KeyEvent.keyCodeFromString("") + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
|
|
Class<?>[] clsArr2 = new Class[2];
|
|
clsArr2[0] = Object.class;
|
|
clsArr2[i3] = Object.class;
|
|
obj5 = cls4.getMethod("D", clsArr2);
|
|
xzZ.y.put(1779759091, obj5);
|
|
}
|
|
((Method) obj5).invoke(null, objArr8);
|
|
i3 = 1;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr6);
|
|
}
|
|
|
|
static void a() {
|
|
a = new char[]{16310, 16301, 16308};
|
|
b = 1934311000;
|
|
c = true;
|
|
d = true;
|
|
}
|
|
}
|