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

774 lines
23 KiB
Java

package o;
import android.graphics.Color;
import android.text.TextUtils;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.gson.Gson;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import o.C0690Mh;
import o.InterfaceC9383dih;
import o.ZI;
/* loaded from: classes4.dex */
public final class bAV extends ZI<InterfaceC9383dih.LWm> {
private static int g;
private static long i;
private final C17166uT a;
private C0819Pd b;
private final C11548ehS c;
private OD d;
private List<String> e;
private static final byte[] $$a = {85, -17, 4, -90};
private static final int $$b = 234;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 1;
public static /* synthetic */ Object d(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = ~i4;
int i7 = ~(i5 | i6);
int i8 = ~((~i3) | i4);
int i9 = (i2 * (-574)) + (i3 * (-574)) + ((i7 | i8) * 1150) + (((~(i3 | i6)) | i8) * (-575)) + (((~(i2 | i6)) | (~(i5 | i4))) * 575);
return i9 != 1 ? i9 != 2 ? i9 != 3 ? e(objArr) : a(objArr) : c(objArr) : b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 l(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 4 - r7
byte[] r0 = o.bAV.$$a
int r8 = r8 * 2
int r8 = r8 + 1
int r6 = 78 - r6
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r5 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r6
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L24:
r3 = r0[r7]
L26:
int r7 = r7 + 1
int r6 = r6 + r3
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.bAV.l(byte, short, short, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public bAV(C16903sI c16903sI, C17166uT c17166uT, C11548ehS c11548ehS) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(c17166uT, "");
C14957gcv.e(c11548ehS, "");
this.a = c17166uT;
this.c = c11548ehS;
this.e = new ArrayList();
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
public final void b(OD od) {
int i2 = 2 % 2;
int i3 = h + 73;
g = i3 % 128;
int i4 = i3 % 2;
if (this.f != 0) {
int i5 = h + 69;
g = i5 % 128;
int i6 = i5 % 2;
this.f.y();
}
this.d = od;
C11548ehS c11548ehS = this.c;
c11548ehS.d(c11548ehS.a.a(), new fSQ(this) { // from class: o.bAT
private bAV a;
@Override // o.fSQ
public final void c(Object obj) {
bAV.d(new Object[]{this.a, (zZj) obj}, -1781401542, 1781401545, (int) System.currentTimeMillis());
}
{
this.a = this;
}
}, new fSQ(this) { // from class: o.bAX
private bAV e;
@Override // o.fSQ
public final void c(Object obj) {
bAV.b(this.e, (Throwable) obj);
}
{
this.e = this;
}
});
}
private static final void c(final bAV bav, zZj zzj) {
boolean z;
int i2 = 2 % 2;
C14957gcv.e(bav, "");
if (bav.f != 0) {
int i3 = g + 121;
h = i3 % 128;
int i4 = i3 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
int i5 = g + 35;
h = i5 % 128;
if (i5 % 2 == 0) {
bav.f.ar_();
throw null;
}
bav.f.ar_();
}
C17166uT c17166uT = bav.a;
C14957gcv.c(zzj, "");
final C0819Pd c = c17166uT.c(zzj);
ZI.IeS ieS = new ZI.IeS(c, bav) { // from class: o.bAU
private bAV c;
private C0819Pd d;
@Override // o.ZI.IeS
public final void e(Object obj) {
bAV.d(this.d, this.c, (InterfaceC9383dih.LWm) obj);
}
{
this.d = c;
this.c = bav;
}
};
if (bav.f == 0) {
int i6 = g + 39;
h = i6 % 128;
int i7 = i6 % 2;
} else {
int i8 = g + 81;
h = i8 % 128;
int i9 = i8 % 2;
ieS.e(bav.f);
}
}
private static final void b(C0819Pd c0819Pd, bAV bav, InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = h + 11;
g = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(c0819Pd, "");
C14957gcv.e(bav, "");
lWm.d(c0819Pd);
bav.d(c0819Pd);
int i5 = h + 53;
g = i5 % 128;
int i6 = i5 % 2;
}
private static final void e(bAV bav, Throwable th) {
int i2 = 2 % 2;
int i3 = h + 19;
g = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(bav, "");
C0690Mh.IeS ieS = C0690Mh.IeS.NAVIGATE_BACK;
if (bav.b(th)) {
int i5 = g + 121;
h = i5 % 128;
if (i5 % 2 == 0) {
bav.d(bav.j.d(th, ieS));
throw null;
}
bav.d(bav.j.d(th, ieS));
int i6 = g + 59;
h = i6 % 128;
int i7 = i6 % 2;
}
}
public final void d(C0819Pd c0819Pd) {
int i2 = 2 % 2;
int i3 = g + 87;
h = i3 % 128;
if (i3 % 2 == 0) {
C14957gcv.e(c0819Pd, "");
this.b = c0819Pd;
a();
int i4 = 79 / 0;
} else {
C14957gcv.e(c0819Pd, "");
this.b = c0819Pd;
a();
}
int i5 = h + 59;
g = i5 % 128;
int i6 = i5 % 2;
}
private final void a() {
int i2 = 2 % 2;
this.e.clear();
C0819Pd c0819Pd = this.b;
if (c0819Pd == null) {
C14957gcv.a("");
c0819Pd = null;
}
List<OZ> list = c0819Pd.c;
final boolean z = true;
if (!(list instanceof Collection) || !list.isEmpty()) {
Iterator<T> it = list.iterator();
int i3 = h + 125;
g = i3 % 128;
int i4 = i3 % 2;
loop0: while (it.hasNext()) {
int i5 = g + 107;
h = i5 % 128;
int i6 = i5 % 2;
List<OW> list2 = ((OZ) it.next()).e;
if ((!(list2 instanceof Collection)) || !list2.isEmpty()) {
Iterator<T> it2 = list2.iterator();
int i7 = g + 11;
h = i7 % 128;
int i8 = i7 % 2;
while (!(!it2.hasNext())) {
OW ow = (OW) it2.next();
if (ow.b) {
this.e.add(String.valueOf(ow.d));
}
if (ow.b) {
break;
}
}
}
z = false;
}
}
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bAZ
private boolean b;
@Override // o.ZI.IeS
public final void e(Object obj) {
bAV.d(new Object[]{Boolean.valueOf(this.b), (InterfaceC9383dih.LWm) obj}, 744677906, -744677905, (int) System.currentTimeMillis());
}
{
this.b = z;
}
};
if (this.f != 0) {
int i9 = g + 87;
int i10 = i9 % 128;
h = i10;
int i11 = i9 % 2;
int i12 = i10 + 77;
g = i12 % 128;
if (i12 % 2 == 0) {
ieS.e(this.f);
} else {
ieS.e(this.f);
int i13 = 23 / 0;
}
}
}
private static final void c(boolean z, InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = h + 23;
g = i3 % 128;
int i4 = i3 % 2;
lWm.b(z);
if (i4 != 0) {
throw null;
}
}
private static final void e(InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = g + 87;
h = i3 % 128;
int i4 = i3 % 2;
lWm.b();
int i5 = h + 59;
g = i5 % 128;
int i6 = i5 % 2;
}
public final void d() {
Object next;
int i2 = 2 % 2;
List<String> list = this.e;
ArrayList arrayList = new ArrayList();
Iterator<T> it = list.iterator();
int i3 = g + 117;
h = i3 % 128;
int i4 = i3 % 2;
while (it.hasNext()) {
int i5 = h + 1;
g = i5 % 128;
if (i5 % 2 != 0) {
next = it.next();
Object[] objArr = new Object[1];
k(new char[]{2306}, 54632 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr);
if (C14957gcv.b(next, (Object) ((String) objArr[0]).intern())) {
arrayList.add(next);
}
} else {
next = it.next();
Object[] objArr2 = new Object[1];
k(new char[]{2306}, 54632 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr2);
if (C14957gcv.b(next, (Object) ((String) objArr2[0]).intern())) {
arrayList.add(next);
}
}
}
if (arrayList.size() <= 0) {
b();
return;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.bAW
@Override // o.ZI.IeS
public final void e(Object obj) {
bAV.b((InterfaceC9383dih.LWm) obj);
}
};
if (this.f != 0) {
ieS.e(this.f);
}
int i6 = g + 115;
h = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
private static void k(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i2;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i4 = $10 + 55;
$11 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
int i6 = 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 403, 5 - Color.red(0), (char) (21608 - View.MeasureSpec.makeMeasureSpec(0, 0)));
byte b = (byte) 1;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
l(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i6] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (i ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 237, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
l(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 i7 = $11 + 35;
$10 = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 5 % 4;
}
} 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) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 239, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
l(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i9 = $11 + 17;
$10 = i9 % 128;
int i10 = i9 % 2;
}
objArr[0] = new String(cArr2);
}
public final void b() {
int i2 = 2 % 2;
HashMap hashMap = new HashMap();
final HashMap hashMap2 = new HashMap();
int i3 = 0;
for (Object obj : this.e) {
int i4 = i3 + 1;
if (i3 < 0) {
throw new ArithmeticException("Index overflow has happened.");
}
String str = (String) obj;
hashMap.put("qk".concat(String.valueOf(i4)), e(str));
hashMap2.put("Q".concat(String.valueOf(i4)), str);
i3 = i4;
}
OD od = this.d;
String str2 = null;
if (od != null) {
int i5 = h + 1;
g = i5 % 128;
if (i5 % 2 != 0) {
String str3 = od.p;
throw null;
}
str2 = od.p;
}
if (str2 == null) {
int i6 = g + 3;
h = i6 % 128;
int i7 = i6 % 2;
str2 = "";
}
C5597bw c5597bw = new C5597bw(str2, hashMap);
if (this.f != 0) {
int i8 = g + 121;
h = i8 % 128;
if (i8 % 2 != 0) {
this.f.y();
}
} else {
int i9 = g + 79;
h = i9 % 128;
int i10 = i9 % 2;
}
C11548ehS c11548ehS = this.c;
C14957gcv.e(c5597bw, "");
c11548ehS.d(c11548ehS.a.e(c5597bw), new fSQ(hashMap2, this) { // from class: o.bBa
private bAV d;
private HashMap e;
@Override // o.fSQ
public final void c(Object obj2) {
bAV.e(this.e, this.d);
}
{
this.e = hashMap2;
this.d = this;
}
}, new fSQ(this) { // from class: o.bAY
private bAV d;
@Override // o.fSQ
public final void c(Object obj2) {
bAV.c(this.d, (Throwable) obj2);
}
{
this.d = this;
}
});
}
private static /* synthetic */ Object e(Object[] objArr) {
HashMap hashMap = (HashMap) objArr[0];
bAV bav = (bAV) objArr[1];
int i2 = 2 % 2;
C14957gcv.e(hashMap, "");
C14957gcv.e(bav, "");
final String json = new Gson().toJson(hashMap);
if (bav.f != 0) {
int i3 = h + 73;
g = i3 % 128;
if (i3 % 2 != 0) {
bav.f.ar_();
int i4 = 91 / 0;
} else {
bav.f.ar_();
}
}
ZI.IeS ieS = new ZI.IeS(json) { // from class: o.bAS
private String a;
@Override // o.ZI.IeS
public final void e(Object obj) {
bAV.c(this.a, (InterfaceC9383dih.LWm) obj);
}
{
this.a = json;
}
};
Object obj = null;
if (bav.f != 0) {
int i5 = g;
int i6 = i5 + 21;
h = i6 % 128;
int i7 = i6 % 2;
int i8 = i5 + 65;
h = i8 % 128;
if (i8 % 2 == 0) {
ieS.e(bav.f);
obj.hashCode();
throw null;
}
ieS.e(bav.f);
}
return null;
}
private static /* synthetic */ Object c(Object[] objArr) {
String str = (String) objArr[0];
InterfaceC9383dih.LWm lWm = (InterfaceC9383dih.LWm) objArr[1];
int i2 = 2 % 2;
int i3 = h + 99;
g = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.c((Object) str, "");
lWm.a(str);
lWm.e();
int i4 = 47 / 0;
} else {
C14957gcv.c((Object) str, "");
lWm.a(str);
lWm.e();
}
int i5 = h + 109;
g = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 26 / 0;
}
return null;
}
private static final void a(bAV bav, Throwable th) {
int i2 = 2 % 2;
C14957gcv.e(bav, "");
if (bav.b(th)) {
int i3 = g + 87;
h = i3 % 128;
if (i3 % 2 == 0) {
bav.d(bav.j.e(th));
throw null;
}
bav.d(bav.j.e(th));
}
int i4 = g + 31;
h = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 97 / 0;
}
}
private static String e(String str) {
int i2 = 2 % 2;
Object[] objArr = new Object[1];
k(new char[]{2306}, MotionEvent.axisFromString("") + 54632, objArr);
if (!C14957gcv.b((Object) str, (Object) ((String) objArr[0]).intern())) {
return "Y";
}
int i3 = h + 23;
int i4 = i3 % 128;
g = i4;
int i5 = i3 % 2;
int i6 = i4 + 63;
h = i6 % 128;
int i7 = i6 % 2;
return "N";
}
private static /* synthetic */ Object a(Object[] objArr) {
bAV bav = (bAV) objArr[0];
zZj zzj = (zZj) objArr[1];
int i2 = 2 % 2;
int i3 = h + 21;
g = i3 % 128;
int i4 = i3 % 2;
c(bav, zzj);
int i5 = h + 73;
g = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 84 / 0;
}
return null;
}
private static /* synthetic */ Object b(Object[] objArr) {
boolean booleanValue = ((Boolean) objArr[0]).booleanValue();
InterfaceC9383dih.LWm lWm = (InterfaceC9383dih.LWm) objArr[1];
int i2 = 2 % 2;
int i3 = h + 61;
g = i3 % 128;
int i4 = i3 % 2;
c(booleanValue, lWm);
int i5 = h + 55;
g = i5 % 128;
Object obj = null;
if (i5 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
static void c() {
i = 2549942174495021814L;
}
private static final void b(String str, InterfaceC9383dih.LWm lWm) {
d(new Object[]{str, lWm}, 206089312, -206089310, (int) System.currentTimeMillis());
}
private static final void d(HashMap hashMap, bAV bav) {
d(new Object[]{hashMap, bav}, -1876027915, 1876027915, (int) System.currentTimeMillis());
}
static {
g = 0;
c();
new LWm((byte) 0);
int i2 = h + 33;
g = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 74 / 0;
}
}
public static /* synthetic */ void e(HashMap hashMap, bAV bav) {
int i2 = 2 % 2;
int i3 = h + 87;
g = i3 % 128;
int i4 = i3 % 2;
d(new Object[]{hashMap, bav}, -1876027915, 1876027915, (int) System.currentTimeMillis());
int i5 = g + 63;
h = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void d(C0819Pd c0819Pd, bAV bav, InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = g + 65;
h = i3 % 128;
int i4 = i3 % 2;
b(c0819Pd, bav, lWm);
int i5 = g + 37;
h = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void c(String str, InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = g + 101;
h = i3 % 128;
int i4 = i3 % 2;
d(new Object[]{str, lWm}, 206089312, -206089310, (int) System.currentTimeMillis());
int i5 = h + 73;
g = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void b(bAV bav, Throwable th) {
int i2 = 2 % 2;
int i3 = h + 63;
g = i3 % 128;
int i4 = i3 % 2;
e(bav, th);
int i5 = g + 49;
h = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void b(InterfaceC9383dih.LWm lWm) {
int i2 = 2 % 2;
int i3 = g + 91;
h = i3 % 128;
int i4 = i3 % 2;
e(lWm);
int i5 = g + 35;
h = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void c(bAV bav, Throwable th) {
int i2 = 2 % 2;
int i3 = h + 55;
g = i3 % 128;
int i4 = i3 % 2;
a(bav, th);
int i5 = g + 125;
h = i5 % 128;
int i6 = i5 % 2;
}
}