what-the-bank/sources/o/gcQ.java

548 lines
18 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import java.util.Collection;
import java.util.List;
/* loaded from: classes.dex */
public class gcQ {
private static final byte[] $$a = {43, 11, 51, -107};
private static final int $$b = 19;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int a = 1;
private static long e = 1488783138700261803L;
public static /* synthetic */ Object a(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i3;
int i5 = ~(i4 | i);
int i6 = (i * 765) + (i2 * (-1527)) + ((i2 | i5) * 764);
int i7 = ~((~i) | i2);
if (i6 + (((~(i4 | i2)) | i7) * (-1528)) + (((~(i | (~i2))) | i7 | i5) * 764) == 1) {
ClassCastException classCastException = (ClassCastException) objArr[0];
int i8 = 2 % 2;
int i9 = c + 49;
a = i9 % 128;
int i10 = i9 % 2;
throw ((ClassCastException) a(classCastException));
}
int i11 = 2 % 2;
throw ((ClassCastException) a(new Object[]{new ClassCastException((String) objArr[0])}, -282582197, 282582198, (int) System.currentTimeMillis()));
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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 i(int r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
int r8 = 78 - r8
int r9 = r9 * 4
int r9 = 3 - r9
byte[] r0 = o.gcQ.$$a
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r8 = r9
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
int r9 = r9 + 1
if (r4 != r7) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r6
L2c:
int r9 = r9 + r3
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.gcQ.i(int, byte, byte, java.lang.Object[]):void");
}
private static <T extends Throwable> T a(T t) {
int i = 2 % 2;
int i2 = c + 61;
a = i2 % 128;
int i3 = i2 % 2;
T t2 = (T) C14957gcv.c((Throwable) t, gcQ.class.getName());
int i4 = a + 85;
c = i4 % 128;
int i5 = i4 % 2;
return t2;
}
private static void e(Object obj, String str) {
String name;
int i = 2 % 2;
if (obj != null) {
name = obj.getClass().getName();
} else {
int i2 = a + 27;
c = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
f(new char[]{59907, 5105, 6611, 1978}, 63977 << (Process.myPid() >>> 49), objArr);
name = ((String) objArr[0]).intern();
} else {
Object[] objArr2 = new Object[1];
f(new char[]{59907, 5105, 6611, 1978}, (Process.myPid() >> 22) + 63977, objArr2);
name = ((String) objArr2[0]).intern();
}
int i3 = a + 57;
c = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 5 % 3;
}
}
StringBuilder sb = new StringBuilder();
sb.append(name);
sb.append(" cannot be cast to ");
sb.append(str);
a(new Object[]{sb.toString()}, -1181582948, 1181582948, (int) System.currentTimeMillis());
}
private static void f(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(0) + 402, 5 - Color.argb(0, 0, 0, 0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21607));
byte b = (byte) 0;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
i(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (e ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(239 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
i(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 49;
$10 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $11 + 57;
$10 = i6 % 128;
int i7 = i6 % 2;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - KeyEvent.keyCodeFromString(""), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0') + 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
i(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr2);
}
public static Iterable d(Object obj) {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 83;
a = i3 % 128;
Object obj2 = null;
if (i3 % 2 != 0) {
if ((obj instanceof InterfaceC14932gcO) && !(obj instanceof gcP)) {
int i4 = i2 + 111;
a = i4 % 128;
if (i4 % 2 != 0) {
e(obj, "kotlin.collections.MutableIterable");
} else {
e(obj, "kotlin.collections.MutableIterable");
throw null;
}
}
return a(obj);
}
boolean z = obj instanceof InterfaceC14932gcO;
obj2.hashCode();
throw null;
}
private static Iterable a(Object obj) {
Iterable iterable;
int i = 2 % 2;
int i2 = c + 81;
a = i2 % 128;
try {
if (i2 % 2 == 0) {
iterable = (Iterable) obj;
int i3 = 15 / 0;
} else {
iterable = (Iterable) obj;
}
return iterable;
} catch (ClassCastException e2) {
throw ((ClassCastException) a(new Object[]{e2}, -282582197, 282582198, (int) System.currentTimeMillis()));
}
}
public static Collection c(Object obj) {
int i = 2 % 2;
int i2 = a + 99;
c = i2 % 128;
int i3 = i2 % 2;
if ((obj instanceof InterfaceC14932gcO) && !(obj instanceof gcR)) {
e(obj, "kotlin.collections.MutableCollection");
}
Collection e2 = e(obj);
int i4 = a + 41;
c = i4 % 128;
if (i4 % 2 == 0) {
return e2;
}
throw null;
}
private static Collection e(Object obj) {
Collection collection;
int i = 2 % 2;
int i2 = c + 81;
a = i2 % 128;
try {
if (i2 % 2 == 0) {
collection = (Collection) obj;
int i3 = 2 / 0;
} else {
collection = (Collection) obj;
}
return collection;
} catch (ClassCastException e2) {
throw ((ClassCastException) a(new Object[]{e2}, -282582197, 282582198, (int) System.currentTimeMillis()));
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0022, code lost:
r2 = r2 + 37;
o.gcQ.c = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x002b, code lost:
if ((r2 % 2) != 0) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x002d, code lost:
e(r4, "kotlin.collections.MutableList");
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0031, code lost:
e(r4, "kotlin.collections.MutableList");
r4 = null;
r4.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0038, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x001b, code lost:
if ((!(r4 instanceof o.InterfaceC14932gcO)) != false) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if ((r4 instanceof o.InterfaceC14932gcO) != false) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0020, code lost:
if ((r4 instanceof o.InterfaceC14934gcU) != false) goto L17;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.util.List b(java.lang.Object r4) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.gcQ.c
int r1 = r1 + 43
int r2 = r1 % 128
o.gcQ.a = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
boolean r1 = r4 instanceof o.InterfaceC14932gcO
r3 = 82
int r3 = r3 / 0
if (r1 == 0) goto L39
goto L1e
L17:
boolean r1 = r4 instanceof o.InterfaceC14932gcO
r1 = r1 ^ 1
if (r1 == 0) goto L1e
goto L39
L1e:
boolean r1 = r4 instanceof o.InterfaceC14934gcU
if (r1 != 0) goto L39
int r2 = r2 + 37
int r1 = r2 % 128
o.gcQ.c = r1
int r2 = r2 % r0
java.lang.String r0 = "kotlin.collections.MutableList"
if (r2 != 0) goto L31
e(r4, r0)
goto L39
L31:
e(r4, r0)
r4 = 0
r4.hashCode()
throw r4
L39:
java.util.List r4 = h(r4)
return r4
*/
throw new UnsupportedOperationException("Method not decompiled: o.gcQ.b(java.lang.Object):java.util.List");
}
private static List h(Object obj) {
List list;
int i = 2 % 2;
int i2 = a + 79;
c = i2 % 128;
try {
if (i2 % 2 != 0) {
list = (List) obj;
int i3 = 31 / 0;
} else {
list = (List) obj;
}
return list;
} catch (ClassCastException e2) {
throw ((ClassCastException) a(new Object[]{e2}, -282582197, 282582198, (int) System.currentTimeMillis()));
}
}
private static int g(Object obj) {
int i = 2 % 2;
int i2 = c;
int i3 = i2 + 123;
int i4 = i3 % 128;
a = i4;
if (i3 % 2 == 0) {
boolean z = obj instanceof InterfaceC14956gcu;
throw null;
}
if (obj instanceof InterfaceC14956gcu) {
return ((InterfaceC14956gcu) obj).getArity();
}
if (obj instanceof InterfaceC14890gbN) {
int i5 = i4 + 21;
c = i5 % 128;
int i6 = i5 % 2;
return 0;
}
if (!(!(obj instanceof InterfaceC14894gbR))) {
return 1;
}
if (!(!(obj instanceof InterfaceC14937gcb))) {
return 2;
}
if (obj instanceof InterfaceC14939gcd) {
return 3;
}
if (obj instanceof InterfaceC14938gcc) {
return 4;
}
if (obj instanceof InterfaceC14942gcg) {
return 5;
}
if (obj instanceof InterfaceC14948gcm) {
return 6;
}
if (obj instanceof InterfaceC14946gck) {
return 7;
}
if (obj instanceof InterfaceC14945gcj) {
int i7 = i4 + 91;
c = i7 % 128;
return i7 % 2 != 0 ? 115 : 8;
}
if (obj instanceof InterfaceC14944gci) {
int i8 = i2 + 113;
a = i8 % 128;
return i8 % 2 == 0 ? 118 : 9;
}
if (obj instanceof InterfaceC14891gbO) {
return 10;
}
if (obj instanceof InterfaceC14893gbQ) {
int i9 = i4 + 75;
c = i9 % 128;
if (i9 % 2 == 0) {
return 11;
}
throw null;
}
if (obj instanceof gbT) {
return 12;
}
if (obj instanceof gbU) {
int i10 = i4 + 69;
c = i10 % 128;
int i11 = i10 % 2;
return 13;
}
if (obj instanceof gbV) {
return 14;
}
if (obj instanceof InterfaceC14895gbS) {
int i12 = i2 + 11;
a = i12 % 128;
return i12 % 2 == 0 ? 73 : 15;
}
if (obj instanceof gbW) {
return 16;
}
if (obj instanceof InterfaceC14897gbY) {
int i13 = i4 + 85;
c = i13 % 128;
int i14 = i13 % 2;
return 17;
}
if (obj instanceof InterfaceC14896gbX) {
return 18;
}
if (obj instanceof InterfaceC14898gbZ) {
return 19;
}
if (obj instanceof InterfaceC14936gca) {
return 20;
}
if (obj instanceof InterfaceC14940gce) {
return 21;
}
if (obj instanceof InterfaceC14941gcf) {
int i15 = i2 + 23;
a = i15 % 128;
return i15 % 2 == 0 ? 70 : 22;
}
int i16 = i2 + 45;
a = i16 % 128;
int i17 = i16 % 2;
return -1;
}
private static boolean b(Object obj, int i) {
int i2 = 2 % 2;
if ((obj instanceof fZN) && g(obj) == i) {
int i3 = a + 83;
c = i3 % 128;
int i4 = i3 % 2;
return true;
}
int i5 = a + 33;
c = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 5 % 3;
}
return false;
}
public static Object c(Object obj, int i) {
int i2 = 2 % 2;
if (obj != null) {
int i3 = a + 7;
c = i3 % 128;
int i4 = i3 % 2;
if (!b(obj, i)) {
int i5 = c + 15;
a = i5 % 128;
int i6 = i5 % 2;
e(obj, "kotlin.jvm.functions.Function".concat(String.valueOf(i)));
int i7 = c + 5;
a = i7 % 128;
int i8 = i7 % 2;
}
}
return obj;
}
private static void b(String str) {
a(new Object[]{str}, -1181582948, 1181582948, (int) System.currentTimeMillis());
}
private static ClassCastException a(ClassCastException classCastException) {
return (ClassCastException) a(new Object[]{classCastException}, -282582197, 282582198, (int) System.currentTimeMillis());
}
}