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

267 lines
8.1 KiB
Java

package o;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.View;
import android.widget.ExpandableListView;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes3.dex */
public final class SKo extends ZTC {
private static long a;
private static int d;
private static final byte[] $$d = {43, -33, 87, 81};
private static final int $$e = 80;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x0030). 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 r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r8 = 3 - r8
int r7 = r7 * 2
int r7 = r7 + 119
byte[] r0 = o.SKo.$$d
int r6 = r6 * 2
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L18
r3 = r8
r4 = r2
goto L30
L18:
r3 = r2
L19:
int r8 = r8 + 1
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r6) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r4 = r0[r8]
int r3 = r3 + 1
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L30:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.SKo.g(int, int, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public SKo() {
}
public static List<cIM> b(YVC yvc) {
int i;
int i2 = 2 % 2;
int i3 = d + 119;
e = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(yvc, "");
List<QII> list = yvc.d;
if (list == null) {
return new ArrayList();
}
List<QII> list2 = list;
C14957gcv.e(list2, "");
if (list2 instanceof Collection) {
i = list2.size();
int i5 = e + 49;
d = i5 % 128;
int i6 = i5 % 2;
} else {
i = 10;
}
ArrayList arrayList = new ArrayList(i);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
arrayList.add(c((QII) it.next()));
int i7 = d + 53;
e = i7 % 128;
int i8 = i7 % 2;
}
return arrayList;
}
public static cIM c(QII qii) {
String str;
String str2;
double d2;
int i = 2 % 2;
int i2 = e + 27;
d = i2 % 128;
int i3 = i2 % 2;
boolean z = false;
int i4 = -1;
Object[] objArr = new Object[1];
f(new char[]{16487, 47241, 64003, 27368, 16470}, (-1) - TextUtils.lastIndexOf("", '0', 0), objArr);
String intern = ((String) objArr[0]).intern();
C14957gcv.e(qii, "");
cIM b = cIM.b();
Integer num = qii.m;
if (num != null) {
i4 = num.intValue();
} else {
int i5 = e + 33;
d = i5 % 128;
int i6 = i5 % 2;
}
b.q = i4;
yzb yzbVar = qii.b;
if (yzbVar == null || (str = yzbVar.e) == null) {
str = "-";
}
b.d = str;
yzb yzbVar2 = qii.b;
if (yzbVar2 == null || (str2 = yzbVar2.c) == null) {
str2 = "-";
}
b.b = str2;
String str3 = qii.c;
b.e = str3 != null ? str3 : "-";
b.j = qii.a;
b.m = C14957gcv.b((Object) qii.l, (Object) intern);
b.i = C14957gcv.b((Object) qii.h, (Object) intern);
b.n = C14957gcv.b((Object) qii.k, (Object) intern);
b.l = C14957gcv.b((Object) qii.f, (Object) intern);
b.k = C14957gcv.b((Object) qii.f8322o, (Object) intern);
b.g = qii.j;
b.f = qii.i;
Double d3 = qii.d;
if (d3 != null) {
int i7 = d + 107;
e = i7 % 128;
int i8 = i7 % 2;
d2 = d3.doubleValue();
} else {
int i9 = e + 13;
d = i9 % 128;
int i10 = i9 % 2;
d2 = 0.0d;
}
b.c = d2;
b.a = qii.e;
b.f8605o = qii.n;
Boolean bool = qii.g;
if (bool != null) {
int i11 = e + 55;
d = i11 % 128;
if (i11 % 2 == 0) {
bool.booleanValue();
Object obj = null;
obj.hashCode();
throw null;
}
z = bool.booleanValue();
} else {
int i12 = d + 95;
e = i12 % 128;
int i13 = i12 % 2;
}
b.h = z;
C14957gcv.c(b, "");
return b;
}
/* loaded from: classes3.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void f(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(a ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a2.length) {
int i4 = $11 + 35;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(a)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - TextUtils.indexOf("", ""), View.getDefaultSize(0, 0) + 5, (char) (1707 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
g(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 391, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) View.resolveSize(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
g(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i7 = $11 + 97;
$10 = i7 % 128;
int i8 = i7 % 2;
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a2, 4, a2.length - 4);
}
static void c() {
a = -8243782251461823953L;
}
static {
d = 1;
c();
new IeS((byte) 0);
int i = e + 67;
d = i % 128;
if (i % 2 == 0) {
int i2 = 14 / 0;
}
}
}