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

482 lines
16 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes.dex */
public final class FHb extends ZTC {
private static final byte[] $$d = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$e = 44;
private static int $10 = 0;
private static int $11 = 1;
private static int d = 0;
private static int c = 1;
private static char[] e = {4471};
private static long b = -8654540524561355701L;
private static void g(short s, int i, byte b2, Object[] objArr) {
int i2 = i + 98;
int i3 = s * 3;
byte[] bArr = $$d;
int i4 = 3 - (b2 * 4);
byte[] bArr2 = new byte[1 - i3];
int i5 = 0 - i3;
int i6 = -1;
if (bArr == null) {
i2 = (-i2) + i4;
i4 = i4;
i6 = -1;
}
while (true) {
int i7 = i6 + 1;
bArr2[i7] = (byte) i2;
int i8 = i4 + 1;
if (i7 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 = (-bArr[i8]) + i2;
i4 = i8;
i6 = i7;
}
}
@InterfaceC13391fZD
public FHb() {
}
public static mKA d(BUi bUi) {
String str;
String str2;
String str3;
String str4;
String str5;
String str6;
String str7;
String str8;
String str9;
String str10;
int i = 2 % 2;
C14957gcv.e(bUi, "");
String str11 = bUi.t;
String str12 = bUi.q;
Object[] objArr = new Object[1];
f((char) (TextUtils.getOffsetBefore("", 0) + 40596), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, (ViewConfiguration.getPressedStateDuration() >> 16) + 1, objArr);
if (C14957gcv.b((Object) str12, (Object) ((String) objArr[0]).intern()) && bUi.s != null) {
str11 = bUi.s.d;
}
String str13 = str11;
Integer num = bUi.h;
String str14 = bUi.e;
String str15 = str14 == null ? "" : str14;
String str16 = bUi.a;
String str17 = str16 == null ? "" : str16;
GIr gIr = bUi.f;
String str18 = gIr != null ? gIr.c : null;
String str19 = str18 == null ? "" : str18;
GIr gIr2 = bUi.r;
String str20 = gIr2 != null ? gIr2.c : null;
String str21 = str20 == null ? "" : str20;
GIr gIr3 = bUi.f;
if (gIr3 != null) {
int i2 = c + 45;
d = i2 % 128;
if (i2 % 2 != 0) {
String str22 = gIr3.h;
r4.hashCode();
throw null;
}
str = gIr3.h;
} else {
str = null;
}
String str23 = str == null ? "" : str;
GIr gIr4 = bUi.r;
if (gIr4 != null) {
str2 = gIr4.h;
int i3 = d + 53;
c = i3 % 128;
int i4 = i3 % 2;
} else {
str2 = null;
}
String str24 = str2 == null ? "" : str2;
String str25 = bUi.j;
if (str25 == null) {
int i5 = c + 95;
d = i5 % 128;
int i6 = i5 % 2;
str3 = "";
} else {
str3 = str25;
}
String str26 = bUi.c;
String str27 = str26 == null ? "" : str26;
String str28 = bUi.k;
String str29 = str28 == null ? "" : str28;
GIr gIr5 = bUi.f;
String str30 = gIr5 != null ? gIr5.b : null;
String str31 = str30 == null ? "" : str30;
GIr gIr6 = bUi.f;
String str32 = gIr6 != null ? gIr6.d : null;
String str33 = str32 == null ? "" : str32;
GIr gIr7 = bUi.f;
if (gIr7 != null) {
int i7 = d + 1;
c = i7 % 128;
int i8 = i7 % 2;
str4 = gIr7.i;
} else {
str4 = null;
}
String str34 = str4 == null ? "" : str4;
GIr gIr8 = bUi.r;
String str35 = gIr8 != null ? gIr8.b : null;
String str36 = str35 == null ? "" : str35;
GIr gIr9 = bUi.r;
String str37 = gIr9 != null ? gIr9.d : null;
String str38 = str37 == null ? "" : str37;
GIr gIr10 = bUi.r;
if (gIr10 != null) {
str5 = gIr10.i;
} else {
int i9 = d + 61;
c = i9 % 128;
int i10 = i9 % 2;
str5 = null;
}
String str39 = str5 == null ? "" : str5;
GIr gIr11 = bUi.f;
String str40 = gIr11 != null ? gIr11.a : null;
if (str40 == null) {
int i11 = d + 71;
c = i11 % 128;
if (i11 % 2 == 0) {
r4.hashCode();
throw null;
}
str6 = "";
} else {
str6 = str40;
}
GIr gIr12 = bUi.f;
String str41 = gIr12 != null ? gIr12.e : null;
String str42 = str41 == null ? "" : str41;
GIr gIr13 = bUi.f;
String str43 = gIr13 != null ? gIr13.f : null;
if (str43 == null) {
int i12 = c + 15;
d = i12 % 128;
if (i12 % 2 != 0) {
throw null;
}
str7 = "";
} else {
str7 = str43;
}
GIr gIr14 = bUi.r;
if (gIr14 != null) {
int i13 = c + 115;
d = i13 % 128;
if (i13 % 2 != 0) {
String str44 = gIr14.a;
r4.hashCode();
throw null;
}
str8 = gIr14.a;
} else {
str8 = null;
}
String str45 = str8 == null ? "" : str8;
GIr gIr15 = bUi.r;
if (gIr15 != null) {
int i14 = c + 105;
d = i14 % 128;
if (i14 % 2 != 0) {
String str46 = gIr15.e;
throw null;
}
str9 = gIr15.e;
} else {
str9 = null;
}
String str47 = str9 == null ? "" : str9;
GIr gIr16 = bUi.r;
r4 = gIr16 != null ? gIr16.f : null;
String str48 = r4 == null ? "" : r4;
String str49 = bUi.p;
if (str49 == null) {
int i15 = d + 23;
c = i15 % 128;
int i16 = i15 % 2;
str10 = "";
} else {
str10 = str49;
}
String str50 = bUi.i;
String str51 = str50 == null ? "" : str50;
String str52 = bUi.f8106o;
String str53 = str52 == null ? "" : str52;
paz b2 = paz.b(bUi.m);
Jky jky = new Jky(d(bUi.d));
String str54 = bUi.g;
Double d2 = bUi.l;
Boolean bool = bUi.b;
boolean booleanValue = bool != null ? bool.booleanValue() : false;
Boolean bool2 = bUi.n;
return new mKA(num, str15, str17, str19, str21, str23, str24, str3, str27, str29, str31, str33, str34, str36, str38, str39, str6, str42, str7, str45, str47, str48, str10, str13, str51, str53, b2, jky, str54, d2, booleanValue, bool2 != null ? bool2.booleanValue() : false, 268435456, 0);
}
private static List<jSX> d(TIx tIx) {
String str;
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
if (tIx != null) {
int i2 = c + 45;
d = i2 % 128;
if (i2 % 2 != 0) {
List<jwX> list = tIx.e;
throw null;
}
List<jwX> list2 = tIx.e;
if (list2 != null) {
Iterator<T> it = list2.iterator();
while (it.hasNext()) {
int i3 = c + 75;
d = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
jwX jwx = (jwX) it.next();
String str2 = jwx != null ? jwx.d : null;
String str3 = jwx != null ? jwx.c : null;
String str4 = jwx != null ? jwx.b : null;
String str5 = jwx != null ? jwx.g : null;
String str6 = jwx != null ? jwx.h : null;
if (jwx != null) {
String str7 = jwx.a;
int i4 = d + 45;
c = i4 % 128;
int i5 = i4 % 2;
str = str7;
} else {
str = null;
}
arrayList.add(new jSX(str2, str3, str4, str5, str6, str, jwx != null ? jwx.e : null));
}
}
}
return arrayList;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0017, code lost:
r4 = r4;
o.C14957gcv.e(r4, "");
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0022, code lost:
if ((r4 instanceof java.util.Collection) == false) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0024, code lost:
r2 = r4.size();
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x002e, code lost:
r1 = new java.util.ArrayList(r2);
r4 = r4.iterator();
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x003b, code lost:
if (r4.hasNext() == false) goto L21;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x003d, code lost:
r2 = o.FHb.d + 47;
o.FHb.c = r2 % 128;
r2 = r2 % 2;
r1.add(d((o.BUi) r4.next()));
r2 = o.FHb.d + 81;
o.FHb.c = r2 % 128;
r2 = r2 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x005d, code lost:
r1 = r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x002c, code lost:
r2 = 10;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x0015, code lost:
if (r4 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost:
if (r4 != null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0060, code lost:
r1 = null;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.util.List<o.mKA> c(java.util.List<o.BUi> r4) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.FHb.d
int r1 = r1 + 93
int r2 = r1 % 128
o.FHb.c = r2
int r1 = r1 % r0
if (r1 != 0) goto L15
r1 = 29
int r1 = r1 / 0
if (r4 == 0) goto L60
goto L17
L15:
if (r4 == 0) goto L60
L17:
java.lang.Iterable r4 = (java.lang.Iterable) r4
java.util.ArrayList r1 = new java.util.ArrayList
java.lang.String r2 = ""
o.C14957gcv.e(r4, r2)
boolean r2 = r4 instanceof java.util.Collection
if (r2 == 0) goto L2c
r2 = r4
java.util.Collection r2 = (java.util.Collection) r2
int r2 = r2.size()
goto L2e
L2c:
r2 = 10
L2e:
r1.<init>(r2)
java.util.Collection r1 = (java.util.Collection) r1
java.util.Iterator r4 = r4.iterator()
L37:
boolean r2 = r4.hasNext()
if (r2 == 0) goto L5d
int r2 = o.FHb.d
int r2 = r2 + 47
int r3 = r2 % 128
o.FHb.c = r3
int r2 = r2 % r0
java.lang.Object r2 = r4.next()
o.BUi r2 = (o.BUi) r2
o.mKA r2 = d(r2)
r1.add(r2)
int r2 = o.FHb.d
int r2 = r2 + 81
int r3 = r2 % 128
o.FHb.c = r3
int r2 = r2 % r0
goto L37
L5d:
java.util.List r1 = (java.util.List) r1
goto L61
L60:
r1 = 0
L61:
if (r1 != 0) goto L68
o.gaI r4 = o.C14851gaI.c
r1 = r4
java.util.List r1 = (java.util.List) r1
L68:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.FHb.c(java.util.List):java.util.List");
}
private static void f(char c2, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
int i4 = $11 + 83;
$10 = i4 % 128;
int i5 = i4 % 2;
while (dqy.a < i2) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(e[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - Color.red(0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (Color.red(0) + 32797));
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);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(b), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) KeyEvent.getDeadChar(0, 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], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 407, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (29234 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b6 = (byte) 0;
Object[] objArr7 = new Object[1];
g(b6, (byte) (b6 | 8), b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 11;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (TextUtils.getOffsetBefore("", 0) + 29234));
byte b7 = (byte) 0;
Object[] objArr9 = new Object[1];
g(b7, (byte) (b7 | 8), b7, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
}