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

528 lines
17 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.ViewConfiguration;
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;
import net.sf.scuba.smartcards.ISO7816;
import o.Uyw;
/* renamed from: o.nym, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C16403nym extends ZTC {
private static final byte[] $$d = {85, 123, 51, ISO7816.INS_READ_RECORD2};
private static final int $$e = 7;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int b = 1;
private static int e = 2015661690;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002e). 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(short r7, short r8, short r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.C16403nym.$$d
int r7 = r7 * 4
int r7 = r7 + 1
int r8 = r8 * 7
int r8 = r8 + 69
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L17
r8 = r7
r3 = r9
r4 = r2
goto L2e
L17:
r3 = r2
L18:
int r4 = r3 + 1
byte r5 = (byte) r8
int r9 = r9 + 1
r1[r3] = r5
if (r4 != r7) goto L29
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L29:
r3 = r0[r9]
r6 = r3
r3 = r9
r9 = r6
L2e:
int r9 = -r9
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16403nym.g(short, short, short, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C16403nym() {
}
private static void f(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
Object method;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $10 + 43;
$11 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i3 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(e)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(142 - TextUtils.lastIndexOf("", '0', 0, 0), Color.blue(0) + 7, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
g(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 342, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
g(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i2 > 0) {
zui.a = i2;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i8 = $10 + 97;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 != null) {
method = obj3;
} else {
Class cls3 = (Class) xzZ.c(342 - ExpandableListView.getPackedPositionGroup(0L), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0)));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
g(b6, b7, (byte) (b7 - 1), objArr7);
method = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, method);
}
((Method) method).invoke(null, objArr6);
}
cArr2 = cArr4;
}
String str = new String(cArr2);
int i10 = $11 + 55;
$10 = i10 % 128;
if (i10 % 2 == 0) {
objArr[0] = str;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:129:0x03ee, code lost:
if (r1 != null) goto L133;
*/
/* JADX WARN: Code restructure failed: missing block: B:130:0x03f7, code lost:
r1 = r1.c;
*/
/* JADX WARN: Code restructure failed: missing block: B:198:0x03f5, code lost:
if (r1 != null) goto L133;
*/
/* JADX WARN: Removed duplicated region for block: B:153:0x0486 */
/* JADX WARN: Removed duplicated region for block: B:164:0x04bb */
/* JADX WARN: Removed duplicated region for block: B:177:0x0531 */
/* JADX WARN: Removed duplicated region for block: B:180:0x0541 */
/* JADX WARN: Removed duplicated region for block: B:183:0x0544 */
/* JADX WARN: Removed duplicated region for block: B:184:0x053a */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.MBF a(o.AXL r28) {
/*
Method dump skipped, instructions count: 1460
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16403nym.a(o.AXL):o.MBF");
}
private static /* synthetic */ Uyw a(int i, String str, String str2, String str3, String str4, String str5, Boolean bool, FeA feA, String str6, String str7, String str8, int i2) {
String str9;
FeA feA2;
String str10;
String str11;
int i3 = 2 % 2;
Object obj = null;
if ((i2 & 32) != 0) {
int i4 = b + 51;
a = i4 % 128;
int i5 = i4 % 2;
str9 = null;
} else {
str9 = str5;
}
if ((i2 & 128) != 0) {
int i6 = b + 67;
a = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
feA2 = null;
} else {
feA2 = feA;
}
if ((i2 & 256) != 0) {
int i7 = b + 119;
a = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
str10 = null;
} else {
str10 = str6;
}
if ((i2 & 512) != 0) {
int i8 = a + 103;
b = i8 % 128;
if (i8 % 2 == 0) {
obj.hashCode();
throw null;
}
str11 = null;
} else {
str11 = str7;
}
return c(i, str, str2, str3, str4, str9, bool, feA2, str10, str11, (i2 & 1024) != 0 ? null : str8);
}
private static Uyw c(int i, String str, String str2, String str3, String str4, String str5, Boolean bool, FeA feA, String str6, String str7, String str8) {
boolean z;
int i2 = 2 % 2;
Uyw.LWm lWm = new Uyw.LWm();
lWm.k = i;
lWm.d = str;
lWm.m = str2;
lWm.n = str3;
lWm.c = str4;
lWm.b = str5;
if (bool != null) {
int i3 = a + 19;
b = i3 % 128;
if (i3 % 2 == 0) {
bool.booleanValue();
throw null;
}
z = bool.booleanValue();
} else {
int i4 = b + 19;
a = i4 % 128;
int i5 = i4 % 2;
z = true;
}
lWm.f8402o = Boolean.valueOf(z).booleanValue();
lWm.i = e(feA);
lWm.l = str6;
lWm.j = str7;
lWm.g = str8;
return new Uyw(lWm, (byte) 0);
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0015, code lost:
if (r3 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost:
if (r3 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001a, code lost:
r2 = r2 + 33;
o.C16403nym.b = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0022, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0019, code lost:
return r3.c;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static java.lang.String e(o.FeA r3) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C16403nym.b
int r1 = r1 + 57
int r2 = r1 % 128
o.C16403nym.a = r2
int r1 = r1 % r0
if (r1 == 0) goto L15
r1 = 72
int r1 = r1 / 0
if (r3 == 0) goto L1a
goto L17
L15:
if (r3 == 0) goto L1a
L17:
java.lang.String r3 = r3.c
return r3
L1a:
int r2 = r2 + 33
int r3 = r2 % 128
o.C16403nym.b = r3
int r2 = r2 % r0
r3 = 0
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16403nym.e(o.FeA):java.lang.String");
}
private static Uyw d(int i, String str, String str2, String str3, Boolean bool, FeA feA, String str4, String str5) {
boolean z;
int i2 = 2 % 2;
Uyw.LWm lWm = new Uyw.LWm();
lWm.k = i;
lWm.d = str;
lWm.e = str2;
lWm.m = str3;
if (bool != null) {
int i3 = b + 109;
a = i3 % 128;
if (i3 % 2 != 0) {
z = bool.booleanValue();
int i4 = 21 / 0;
} else {
z = bool.booleanValue();
}
int i5 = b + 13;
a = i5 % 128;
int i6 = i5 % 2;
} else {
z = true;
}
lWm.f8402o = Boolean.valueOf(z).booleanValue();
lWm.i = e(feA);
lWm.c = str4;
lWm.a = str5;
return new Uyw(lWm, (byte) 0);
}
private static /* synthetic */ Uyw c(int i, String str, String str2, String str3, Boolean bool, FeA feA, String str4) {
int i2 = 2 % 2;
int i3 = b + 23;
a = i3 % 128;
if (i3 % 2 != 0) {
c(i, str, str2, str3, bool, feA, str4, null, null);
Object obj = null;
obj.hashCode();
throw null;
}
Uyw c = c(i, str, str2, str3, bool, feA, str4, null, null);
int i4 = a + 15;
b = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 85 / 0;
}
return c;
}
private static Uyw c(int i, String str, String str2, String str3, Boolean bool, FeA feA, String str4, String str5, String str6) {
boolean z;
int i2 = 2 % 2;
Uyw.LWm lWm = new Uyw.LWm();
lWm.k = i;
lWm.d = str;
lWm.m = str2;
lWm.n = str3;
if (bool != null) {
int i3 = b + 29;
a = i3 % 128;
if (i3 % 2 != 0) {
bool.booleanValue();
Object obj = null;
obj.hashCode();
throw null;
}
z = bool.booleanValue();
} else {
int i4 = b + 111;
a = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 % 4;
}
z = true;
}
lWm.f8402o = Boolean.valueOf(z).booleanValue();
lWm.i = e(feA);
lWm.c = str4;
lWm.h = str5;
lWm.f = str6;
return new Uyw(lWm, (byte) 0);
}
private static Uyw b(int i, String str, String str2, Boolean bool, FeA feA, String str3) {
boolean z;
int i2 = 2 % 2;
Uyw.LWm lWm = new Uyw.LWm();
lWm.k = i;
lWm.d = str;
lWm.e = str2;
if (bool != null) {
int i3 = a + 85;
b = i3 % 128;
int i4 = i3 % 2;
z = bool.booleanValue();
int i5 = a + 109;
b = i5 % 128;
int i6 = i5 % 2;
} else {
z = true;
}
lWm.f8402o = Boolean.valueOf(z).booleanValue();
lWm.i = e(feA);
lWm.c = str3;
return new Uyw(lWm, (byte) 0);
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Multi-variable type inference failed */
public static /* synthetic */ Object e(Object[] objArr) {
boolean z;
boolean z2 = false;
boolean z3 = true;
LfX lfX = (LfX) objArr[1];
int i = 2 % 2;
int i2 = b + 85;
a = i2 % 128;
Throwable th = null;
if (i2 % 2 != 0) {
C14957gcv.e(lfX, "");
C14957gcv.b((Object) lfX.d.getStatus().e, (Object) "1000");
Object obj = null;
obj.hashCode();
throw null;
}
C14957gcv.e(lfX, "");
String str = !C14957gcv.b((Object) lfX.d.getStatus().e, (Object) "1000") ? lfX.d.getStatus().c : null;
List<PFu> list = lfX.d.a;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10);
Iterator<T> it = list.iterator();
while (!(it.hasNext() ^ z3)) {
int i3 = a + 21;
b = i3 % 128;
int i4 = i3 % 2;
PFu pFu = (PFu) it.next();
int i5 = pFu.f;
String str2 = pFu.a;
String str3 = pFu.i.e;
String str4 = pFu.i.c;
String str5 = pFu.c;
Boolean bool = pFu.h;
if (bool != null) {
z = bool.booleanValue();
int i6 = b + 37;
a = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 2 / 2;
}
} else {
z = false;
}
arrayList.add(a(i5, str2, str3, str4, str5, null, Boolean.valueOf(z), pFu.j, pFu.g, pFu.e, null, 1056));
z2 = false;
z3 = true;
th = null;
}
C12053equ c12053equ = new C12053equ(str, arrayList);
String str6 = th;
if (!C14957gcv.b((Object) lfX.c.getStatus().e, (Object) "1000")) {
int i8 = a + 95;
b = i8 % 128;
if (i8 % 2 == 0) {
String str7 = lfX.c.getStatus().c;
th.hashCode();
throw th;
}
str6 = lfX.c.getStatus().c;
}
List<PFu> list2 = lfX.c.b;
C14957gcv.e(list2, "");
ArrayList arrayList2 = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
for (PFu pFu2 : list2) {
int i9 = pFu2.f;
String str8 = pFu2.a;
String str9 = pFu2.i.e;
String str10 = pFu2.i.c;
String str11 = pFu2.c;
Boolean bool2 = pFu2.h;
arrayList2.add(a(i9, str8, str9, str10, str11, null, Boolean.valueOf(bool2 != null ? bool2.booleanValue() : z2), pFu2.j, pFu2.g, pFu2.e, pFu2.b, 32));
}
return new PLV(c12053equ, new C12053equ(str6, arrayList2));
}
public final PLV e(LfX lfX) {
System.identityHashCode(this);
return (PLV) e(new Object[]{this, lfX});
}
}