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

570 lines
18 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.huawei.hms.support.hianalytics.HiAnalyticsConstant;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;
import java.util.regex.Pattern;
import net.sf.scuba.smartcards.ISO7816;
import o.PRA;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.fkM, reason: case insensitive filesystem */
/* loaded from: classes.dex */
public final class C13967fkM extends ZTC {
private final C17519xTA a;
private String c;
private static final byte[] $$d = {40, -44, -105, ISO7816.INS_READ_BINARY2};
private static final int $$e = CipherSuite.TLS_RSA_WITH_CAMELLIA_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int e = 1;
private static long d = -8349047786623143917L;
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * 592) + (i2 * (-590)) + ((~(i4 | i2)) * (-1182));
int i6 = ~i2;
return (i5 + (((~(i | i2)) | (~((i4 | i6) | (~i3)))) * (-591))) + (((i3 | i4) | i6) * 591) != 1 ? e(objArr) : c(objArr);
}
/* 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:0x002b). 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(int r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = 78 - r5
byte[] r0 = o.C13967fkM.$$d
int r6 = r6 * 4
int r1 = 1 - r6
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L17
r3 = r5
r5 = r6
r4 = r2
goto L2b
L17:
r3 = r2
L18:
byte r4 = (byte) r5
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L27:
int r7 = r7 + 1
r3 = r0[r7]
L2b:
int r5 = r5 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C13967fkM.h(int, byte, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C13967fkM(String str, C17519xTA c17519xTA) {
this.c = str;
this.a = c17519xTA;
}
private /* synthetic */ boolean e(Rgo rgo) {
int i = 2 % 2;
boolean z = false;
if (rgo.h > Integer.parseInt(this.c)) {
int i2 = b + 125;
e = i2 % 128;
if (i2 % 2 != 0) {
z = true;
}
}
int i3 = b + 21;
e = i3 % 128;
int i4 = i3 % 2;
return z;
}
public final List<QJg> b(List<Rgo> list) {
int i = 2 % 2;
int i2 = b + 27;
e = i2 % 128;
int i3 = i2 % 2;
if (list == null) {
return new ArrayList();
}
YKU b2 = new YKU(list).b(new Jel(this) { // from class: o.dQd
private C13967fkM d;
@Override // o.Jel
public final boolean e(Object obj) {
return C13967fkM.b(this.d, (Rgo) obj);
}
{
this.d = this;
}
});
List<QJg> list2 = (List) new YKU(b2.a, new wxK(b2.b, new InterfaceC1244Ytw(this) { // from class: o.AMS
private C13967fkM b;
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
C13967fkM c13967fkM = this.b;
return (QJg) C13967fkM.c(new Object[]{c13967fkM, (Rgo) obj}, -2125077293, 2125077293, System.identityHashCode(c13967fkM));
}
{
this.b = this;
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i4 = e + 13;
b = i4 % 128;
int i5 = i4 % 2;
return list2;
}
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 = $10 + 115;
$11 = i3 % 128;
int i4 = i3 % 2;
int i5 = 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(402 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 21607));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
h(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (d ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 238, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) TextUtils.indexOf("", ""));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
h(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 73;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i8 = $10 + 7;
$11 = i8 % 128;
int i9 = i8 % 2;
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 - View.combineMeasuredStates(0, 0), 5 - Color.red(0), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
h(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
public static Wdj e(C16374nnr c16374nnr) {
int i = 2 % 2;
String str = c16374nnr.c;
int i2 = c16374nnr.a;
Wdj wdj = new Wdj(str, String.valueOf(i2), c16374nnr.j, c16374nnr.i, c16374nnr.f);
wdj.c = c16374nnr.h;
wdj.h = c16374nnr.i;
wdj.j = c16374nnr.g;
int i3 = b + 111;
e = i3 % 128;
int i4 = i3 % 2;
return wdj;
}
public final C8064dAG a() {
int i = 2 % 2;
int i2 = b + 41;
e = i2 % 128;
int i3 = i2 % 2;
C8064dAG a = this.a.a();
int i4 = b + 41;
e = i4 % 128;
if (i4 % 2 != 0) {
return a;
}
throw null;
}
public final void b(C8064dAG c8064dAG) {
int i = 2 % 2;
int i2 = b + 119;
e = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
this.a.e(c8064dAG);
obj.hashCode();
throw null;
}
this.a.e(c8064dAG);
int i3 = b + 107;
e = i3 % 128;
if (i3 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object e(Object[] objArr) {
String str;
String str2;
boolean z = false;
C13967fkM c13967fkM = (C13967fkM) objArr[0];
Rgo rgo = (Rgo) objArr[1];
int i = 2 % 2;
uQE a = c13967fkM.a(rgo);
QJg d2 = QJg.d();
d2.A = rgo.s;
d2.k = rgo.i;
d2.I = rgo.q;
d2.G = rgo.y;
d2.D = rgo.v;
d2.C = rgo.w;
if (rgo.a != null) {
int i2 = b + 93;
e = i2 % 128;
if (i2 % 2 == 0) {
str = rgo.a.k;
int i3 = 66 / 0;
} else {
str = rgo.a.k;
}
int i4 = b + 43;
e = i4 % 128;
int i5 = i4 % 2;
} else {
str = null;
}
d2.J = str;
d2.K = rgo.a != null ? rgo.a.f8461o : null;
d2.d = rgo.a != null ? rgo.a.c : null;
if (rgo.a != null) {
int i6 = e + 87;
b = i6 % 128;
if (i6 % 2 != 0) {
String str3 = rgo.a.j;
r7.hashCode();
throw null;
}
str2 = rgo.a.j;
} else {
str2 = null;
}
d2.l = str2;
d2.p = 0;
d2.z = a.c();
d2.E = rgo.C;
d2.L = rgo.z;
d2.F = rgo.B;
d2.f = c13967fkM.c(rgo).a;
d2.i = c13967fkM.c(rgo).e;
d2.u = a.a();
d2.H = a.g();
d2.y = rgo.f8346o;
d2.v = rgo.p;
d2.w = a.b();
d2.t = ((Integer) uQE.e(new Object[]{a}, 183110155, -183110155, System.identityHashCode(a))).intValue();
d2.B = a.e();
d2.q = a.f();
d2.n = rgo.h;
d2.m = rgo.g;
d2.h = rgo.b;
d2.g = c(rgo.d);
d2.j = rgo.a != null ? rgo.a.f : null;
d2.a = rgo.a != null ? rgo.a.a : null;
d2.b = rgo.a != null ? rgo.a.d : null;
d2.c = rgo.c;
d2.r = rgo.k;
d2.x = rgo.l;
d2.M = rgo.a != null ? c13967fkM.b(rgo.a.g) : null;
if (a.i() == 1) {
int i7 = e + 97;
b = i7 % 128;
int i8 = i7 % 2;
z = true;
}
d2.s = z;
d2.e = rgo.a != null ? (List) c(new Object[]{rgo.a.b}, 685550854, -685550853, (int) System.currentTimeMillis()) : null;
d2.f8323o = rgo.e;
return d2;
}
private static String[] g(String str) {
int i = 2 % 2;
int i2 = e + 1;
b = i2 % 128;
int i3 = i2 % 2;
String[] strArr = new String[0];
if (Pzh.d(str)) {
return strArr;
}
int i4 = e + 41;
b = i4 % 128;
return str.split(Pattern.quote(HiAnalyticsConstant.REPORT_VAL_SEPARATOR), i4 % 2 != 0 ? 118 : -2);
}
private YBI c(Rgo rgo) {
int i;
int i2;
String[] g;
int i3 = 2 % 2;
YBI ybi = new YBI();
if (b()) {
int i4 = b + 95;
e = i4 % 128;
int i5 = i4 % 2;
if (rgo.a != null) {
int i6 = b + 67;
e = i6 % 128;
if (i6 % 2 == 0) {
g = g(rgo.a.h);
if (g.length != 3) {
return ybi;
}
} else {
g = g(rgo.a.h);
if (g.length != 2) {
return ybi;
}
}
String str = g[0];
Object[] objArr = new Object[1];
f(new char[]{58340}, 6947 - (ViewConfiguration.getTouchSlop() >> 8), objArr);
YBI ybi2 = new YBI(((String) objArr[0]).intern().equals(str), Integer.parseInt(g[1]));
int i7 = b + 103;
e = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 4 % 2;
}
return ybi2;
}
}
if (rgo.a == null) {
return ybi;
}
if (rgo.a.e != null) {
int i9 = b + 97;
e = i9 % 128;
int i10 = i9 % 2;
i = rgo.a.e.intValue();
int i11 = b + 111;
e = i11 % 128;
int i12 = i11 % 2;
} else {
i = 0;
}
if (rgo.a.i != null) {
i2 = rgo.a.i.intValue();
} else {
int i13 = b + 71;
e = i13 % 128;
int i14 = i13 % 2;
i2 = 0;
}
return new YBI(i == 1, i2);
}
private uQE a(Rgo rgo) {
String intern;
int i = 2 % 2;
uQE uqe = new uQE();
if (b()) {
String[] g = g(rgo.A);
return g.length == 8 ? new uQE(Integer.parseInt(g[0]), Integer.parseInt(g[1]), Integer.parseInt(g[2]), Integer.parseInt(g[3]), Integer.parseInt(g[4]), Integer.parseInt(g[5]), Integer.parseInt(g[6]), g[7]) : uqe;
}
int i2 = rgo.j;
int i3 = rgo.t;
int i4 = rgo.n;
int i5 = rgo.x;
int i6 = rgo.m;
int i7 = rgo.f;
int i8 = rgo.D;
if (!Pzh.d(rgo.r)) {
intern = rgo.r;
int i9 = b + 79;
e = i9 % 128;
int i10 = i9 % 2;
} else {
int i11 = e + 119;
b = i11 % 128;
if (i11 % 2 != 0) {
Object[] objArr = new Object[1];
f(new char[]{58340}, 19248 % (CdmaCellLocation.convertQuartSecToDecDegrees(1) > 1.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(1) == 1.0d ? 0 : -1)), objArr);
intern = ((String) objArr[0]).intern();
} else {
Object[] objArr2 = new Object[1];
f(new char[]{58340}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 6947, objArr2);
intern = ((String) objArr2[0]).intern();
}
}
return new uQE(i2, i3, i4, i5, i6, i7, i8, intern);
}
private boolean b() {
int i = 2 % 2;
int i2 = e + 105;
b = i2 % 128;
int i3 = i2 % 2;
C8064dAG a = this.a.a();
if (a != null) {
int i4 = b + 71;
e = i4 % 128;
int i5 = i4 % 2;
if (a.r != null) {
return a.r.Y;
}
}
int i6 = e + 71;
b = i6 % 128;
int i7 = i6 % 2;
return false;
}
private static /* synthetic */ Object c(Object[] objArr) {
List list = (List) objArr[0];
int i = 2 % 2;
int i2 = b + 97;
e = i2 % 128;
int i3 = i2 % 2;
if (list == null) {
return new ArrayList();
}
YKU yku = new YKU(list);
List list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.fFH
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return ((C16374nnr) obj).b();
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i4 = b + 53;
e = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 94 / 0;
}
return list2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ vrx c(C14264fpt c14264fpt) {
int i = 2 % 2;
vrx vrxVar = new vrx();
vrxVar.c = c14264fpt.a;
vrxVar.e = c14264fpt.e;
int i2 = b + 121;
e = i2 % 128;
if (i2 % 2 != 0) {
return vrxVar;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static List<vrx> c(List<C14264fpt> list) {
int i = 2 % 2;
if (list == null) {
int i2 = e + 81;
b = i2 % 128;
if (i2 % 2 == 0) {
return Collections.emptyList();
}
int i3 = 60 / 0;
return Collections.emptyList();
}
YKU yku = new YKU(list);
List<vrx> list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw() { // from class: o.sDX
@Override // o.InterfaceC1244Ytw
public final Object d(Object obj) {
return C13967fkM.c((C14264fpt) obj);
}
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
int i4 = e + 31;
b = i4 % 128;
int i5 = i4 % 2;
return list2;
}
public final QJg d(Rgo rgo) {
return (QJg) c(new Object[]{this, rgo}, -2125077293, 2125077293, System.identityHashCode(this));
}
private static List<LhO> a(List<C16374nnr> list) {
return (List) c(new Object[]{list}, 685550854, -685550853, (int) System.currentTimeMillis());
}
public static /* synthetic */ boolean b(C13967fkM c13967fkM, Rgo rgo) {
int i = 2 % 2;
int i2 = b + 73;
e = i2 % 128;
if (i2 % 2 != 0) {
return c13967fkM.e(rgo);
}
c13967fkM.e(rgo);
throw null;
}
}