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

477 lines
18 KiB
Java

package o;
import android.graphics.Color;
import android.graphics.PointF;
import android.os.Process;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
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.C16374nnr;
/* loaded from: classes3.dex */
public final class Evt extends ZTC {
private static final byte[] $$d = {82, ISO7816.INS_UNBLOCK_CHV, -108, -93};
private static final int $$e = 59;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int c = 1;
private static int[] b = {-745468580, 620471088, -186533539, -669350544, 1863506270, 1665833980, -372105870, -2146129614, -1893631189, 1731664585, -216044648, -1194473119, -1692223786, 33017750, 367564609, -1871851237, -2083103524, -976065867};
/* 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: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(short r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 2
int r8 = r8 + 102
int r6 = r6 * 3
int r0 = r6 + 1
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r1 = o.Evt.$$d
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L17
r3 = r6
r8 = r7
r4 = r2
goto L30
L17:
r3 = r2
L18:
byte r4 = (byte) r8
int r7 = r7 + 1
r0[r3] = r4
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L30:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.Evt.g(short, int, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public Evt() {
}
public final hMS e(lBu lbu, List<hAo> list, String str, String str2) {
int i;
String str3;
int i2 = 2 % 2;
C14957gcv.e(lbu, "");
C14957gcv.e(list, "");
List<OQN> list2 = lbu.e;
C14957gcv.e(list2, "");
if (list2 instanceof Collection) {
i = list2.size();
int i3 = d + 91;
c = i3 % 128;
int i4 = i3 % 2;
} else {
i = 10;
}
ArrayList arrayList = new ArrayList(i);
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
int i5 = d + 35;
c = i5 % 128;
int i6 = i5 % 2;
arrayList.add(b((OQN) it.next(), list));
}
ArrayList arrayList2 = arrayList;
LhO e = C16374nnr.RVV.e(lbu.b);
Double d2 = lbu.g;
Object[] objArr = new Object[1];
f(new int[]{955121230, -1318224046}, 1 - (Process.myPid() >> 22), objArr);
boolean b2 = C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) lbu.i);
if (str2 == null) {
int i7 = d + 83;
c = i7 % 128;
if (i7 % 2 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
str3 = "";
} else {
str3 = str2;
}
boolean z = lbu.h != null && lbu.h.booleanValue();
List<gPE> e2 = e(lbu.j);
qXn e3 = e(lbu.c);
Boolean bool = lbu.f;
return new hMS(arrayList2, e, d2, b2, str, str3, z, e2, e3, bool != null ? bool.booleanValue() : false);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes3.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<hAo, Boolean> {
private OQN c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ Boolean invoke(hAo hao) {
hAo hao2 = hao;
return Boolean.valueOf(hao2.j != null && C14957gcv.b((Object) hao2.j, (Object) this.c.f));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(OQN oqn) {
super(1);
this.c = oqn;
}
}
private static final boolean c(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = c + 63;
d = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
boolean booleanValue = ((Boolean) interfaceC14894gbR.invoke(obj)).booleanValue();
int i4 = c + 39;
d = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 94 / 0;
}
return booleanValue;
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:36:0x0107 */
/* JADX WARN: Removed duplicated region for block: B:41:0x012d */
/* JADX WARN: Removed duplicated region for block: B:54:0x0182 */
/* JADX WARN: Removed duplicated region for block: B:57:0x0194 */
/* JADX WARN: Removed duplicated region for block: B:60:0x019f */
/* JADX WARN: Removed duplicated region for block: B:63:0x01b4 */
/* JADX WARN: Removed duplicated region for block: B:66:0x01db */
/* JADX WARN: Removed duplicated region for block: B:69:0x021f */
/* JADX WARN: Removed duplicated region for block: B:72:0x022c */
/* JADX WARN: Removed duplicated region for block: B:76:0x023f */
/* JADX WARN: Removed duplicated region for block: B:77:0x0226 */
/* JADX WARN: Removed duplicated region for block: B:78:0x01e2 */
/* JADX WARN: Removed duplicated region for block: B:79:0x01c7 */
/* JADX WARN: Removed duplicated region for block: B:80:0x01a6 */
/* JADX WARN: Removed duplicated region for block: B:81:0x0199 */
/* JADX WARN: Removed duplicated region for block: B:82:0x018f */
/* JADX WARN: Removed duplicated region for block: B:92:0x0179 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static o.Dzn b(o.OQN r53, java.util.List<o.hAo> r54) {
/*
Method dump skipped, instructions count: 627
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.Evt.b(o.OQN, java.util.List):o.Dzn");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object a(Object[] objArr) {
Nqt nqt = (Nqt) objArr[0];
int i = 2 % 2;
String str = "";
C14957gcv.e(nqt, "");
String str2 = nqt.a;
if (str2 == null) {
int i2 = d + 99;
c = i2 % 128;
int i3 = i2 % 2;
str2 = "";
}
String str3 = nqt.e;
if (str3 == null) {
int i4 = d;
int i5 = i4 + 115;
c = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
int i6 = i4 + 9;
c = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 2 % 4;
}
} else {
str = str3;
}
return new gPE(str2, str);
}
private static void f(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = b;
int i4 = 16;
int i5 = 1;
char c3 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = $10 + 29;
$11 = i6 % 128;
int i7 = i6 % 2;
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr3[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> i4) + 15, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
i4 = 16;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = b;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
int i10 = $11 + 37;
$10 = i10 % 128;
int i11 = i10 % 2;
Object[] objArr3 = new Object[1];
objArr3[c3] = Integer.valueOf(iArr6[i9]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c2 = 55346;
} else {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 15, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (58134 - Color.blue(0)))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c2 = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i9] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i9++;
iArr6 = iArr2;
c3 = 0;
}
int i12 = $10 + 21;
$11 = i12 % 128;
int i13 = i12 % 2;
iArr6 = iArr7;
i2 = 0;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
cArr[i2] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i14 = $11 + 17;
$10 = i14 % 128;
int i15 = 2;
int i16 = i14 % 2;
int i17 = 0;
while (i17 < 16) {
int i18 = $10 + 3;
$11 = i18 % 128;
if (i18 % i15 == 0) {
c4403bZM.e ^= iArr5[i17];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c(118 - TextUtils.getTrimmedLength(""), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (TextUtils.lastIndexOf("", '0') + 1));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
g(b2, b3, (byte) (b3 + 1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i17 += 91;
} else {
c4403bZM.e ^= iArr5[i17];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 118, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i17++;
}
i15 = 2;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(View.resolveSize(0, 0) + 98, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (AndroidCharacter.getMirror('0') - '0'));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr9 = new Object[1];
g(b6, b7, b7, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
i2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private static qXn e(EOs eOs) {
int i = 2 % 2;
int i2 = c + 55;
d = i2 % 128;
int i3 = i2 % 2;
if (eOs == null) {
qXn qxn = new qXn((byte) 0);
int i4 = d + 29;
c = i4 % 128;
int i5 = i4 % 2;
return qxn;
}
String str = eOs.a;
if (str == null) {
int i6 = d + 31;
c = i6 % 128;
int i7 = i6 % 2;
str = "";
}
String str2 = eOs.b;
if (str2 == null) {
str2 = "";
}
String str3 = eOs.e;
return new qXn(str, str2, str3 != null ? str3 : "");
}
private static List<gPE> e(List<Nqt> list) {
C14851gaI c14851gaI;
int i = 2 % 2;
int i2 = c + 119;
d = i2 % 128;
int i3 = i2 % 2;
List<Nqt> list2 = list;
if (list2 != null && !list2.isEmpty()) {
List<Nqt> list3 = list;
C14957gcv.e(list3, "");
ArrayList arrayList = new ArrayList(list3 instanceof Collection ? list3.size() : 10);
Iterator<T> it = list3.iterator();
while (!(!it.hasNext())) {
Object[] objArr = {(Nqt) it.next()};
arrayList.add((gPE) a(objArr));
}
c14851gaI = arrayList;
} else {
c14851gaI = C14851gaI.c;
}
int i4 = d + 61;
c = i4 % 128;
if (i4 % 2 != 0) {
return c14851gaI;
}
throw null;
}
private static gPE c(Nqt nqt) {
return (gPE) a(new Object[]{nqt});
}
public static /* synthetic */ boolean b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = d + 59;
c = i2 % 128;
if (i2 % 2 == 0) {
c(interfaceC14894gbR, obj);
Object obj2 = null;
obj2.hashCode();
throw null;
}
boolean c2 = c(interfaceC14894gbR, obj);
int i3 = d + 57;
c = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 53 / 0;
}
return c2;
}
}