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

632 lines
23 KiB
Java

package o;
import android.os.Process;
import android.text.TextUtils;
import android.util.TypedValue;
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 java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C6491cUi;
import o.ZI;
import o.wRi;
/* renamed from: o.cUi, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C6491cUi extends ZI<InterfaceC9287dgr> {
public final yGw a;
private final RyF b;
public final YUM d;
private final C0323Ea e;
@InterfaceC13391fZD
public C6491cUi(YUM yum, yGw ygw, RyF ryF, C0323Ea c0323Ea, C16903sI c16903sI) {
super(c16903sI);
this.d = yum;
this.a = ygw;
this.b = ryF;
this.e = c0323Ea;
}
/* renamed from: o.cUi$Sts */
/* loaded from: classes4.dex */
public final class Sts extends wRi.LWm<C1299ZyL> {
private String c;
private C6491cUi d;
private static final byte[] $$a = {54, -11, ISOFileInfo.SECURITY_ATTR_COMPACT, 41};
private static final int $$b = 90;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
private static int a = 1;
private static int[] e = {-117876697, 1046032046, -333360265, -250096369, -560466871, 592463484, -110531947, -878985079, 125200915, -1755895192, -2099301014, -427940815, 1732565060, 1080406342, -1705244106, -1269629773, 401900836, 1260991901};
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * (-716)) + (i2 * 1435) + ((i2 | i4) * (-1434));
int i6 = ~i3;
int i7 = ~(i6 | i2);
int i8 = ~(i | i2);
int i9 = i4 | (~i2);
return (i5 + (((i7 | i8) | (~(i9 | i3))) * 717)) + (((i8 | (~(i9 | i6))) | (~(i2 | i3))) * 717) != 1 ? c(objArr) : a(objArr);
}
/* 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: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 g(int r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r8 = 1 - r8
int r7 = r7 * 3
int r7 = 3 - r7
int r6 = r6 * 2
int r6 = r6 + 102
byte[] r0 = o.C6491cUi.Sts.$$a
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L17
r3 = r6
r6 = r8
r4 = r2
goto L2b
L17:
r3 = r2
L18:
int r7 = r7 + 1
int r4 = r3 + 1
byte r5 = (byte) r6
r1[r3] = r5
if (r4 != r8) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L29:
r3 = r0[r7]
L2b:
int r6 = r6 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C6491cUi.Sts.g(int, short, byte, java.lang.Object[]):void");
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
int i = 2 % 2;
int i2 = b + 51;
a = i2 % 128;
int i3 = i2 % 2;
b((C1299ZyL) obj);
int i4 = a + 51;
b = i4 % 128;
int i5 = i4 % 2;
}
public Sts(C6491cUi c6491cUi, String str) {
this.d = c6491cUi;
this.c = str;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
int i = 2 % 2;
int i2 = a + 67;
b = i2 % 128;
int i3 = i2 % 2;
super.onError(th);
if (this.d.i(th)) {
return;
}
C6491cUi c6491cUi = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cUl
@Override // o.ZI.IeS
public final void e(Object obj) {
C6491cUi.Sts.e((InterfaceC9287dgr) obj);
}
};
if (c6491cUi.f != 0) {
int i4 = a + 7;
b = i4 % 128;
int i5 = i4 % 2;
ieS.e(c6491cUi.f);
}
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void e(InterfaceC9287dgr interfaceC9287dgr) {
int i = 2 % 2;
int i2 = a + 83;
b = i2 % 128;
int i3 = i2 % 2;
interfaceC9287dgr.aq_();
interfaceC9287dgr.d();
interfaceC9287dgr.b(true);
int i4 = a + 59;
b = i4 % 128;
int i5 = i4 % 2;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void c(InterfaceC9287dgr interfaceC9287dgr) {
int i = 2 % 2;
int i2 = a + 17;
b = i2 % 128;
int i3 = i2 % 2;
interfaceC9287dgr.b(false);
int i4 = b + 67;
a = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
private void b(C1299ZyL c1299ZyL) {
boolean z;
int i = 2 % 2;
super.onNext(c1299ZyL);
C6491cUi c6491cUi = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cUm
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9287dgr) obj).aq_();
}
};
if (c6491cUi.f != 0) {
int i2 = b + 37;
a = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (z) {
ieS.e(c6491cUi.f);
}
C6491cUi c6491cUi2 = this.d;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cUo
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9287dgr) obj).d();
}
};
if (c6491cUi2.f != 0) {
int i4 = a + 103;
b = i4 % 128;
int i5 = i4 % 2;
ieS2.e(c6491cUi2.f);
}
zIf zif = c1299ZyL.i;
if (zif != null && !TextUtils.isEmpty(zif.e)) {
String str = zif.e;
String str2 = zif.a;
Object[] objArr = new Object[1];
f(new int[]{234018410, -449931146}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 1, objArr);
if (str.equals(((String) objArr[0]).intern())) {
int i6 = b + 45;
a = i6 % 128;
int i7 = i6 % 2;
if (((Boolean) e(new Object[]{str2}, -1891546547, 1891546547, (int) System.currentTimeMillis())).booleanValue()) {
d(c1299ZyL);
return;
}
}
Object[] objArr2 = new Object[1];
f(new int[]{-1418312506, 1945994179}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
if (!str.equals(((String) objArr2[0]).intern()) || !e(str2)) {
Object[] objArr3 = new Object[1];
f(new int[]{-1418312506, 1945994179}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 1, objArr3);
if (str.equals(((String) objArr3[0]).intern()) && a(str2)) {
int i8 = b + 57;
a = i8 % 128;
int i9 = i8 % 2;
a();
return;
}
C6491cUi c6491cUi3 = this.d;
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.cUs
@Override // o.ZI.IeS
public final void e(Object obj) {
C6491cUi.Sts.c((InterfaceC9287dgr) obj);
}
};
if (c6491cUi3.f != 0) {
int i10 = a + 69;
b = i10 % 128;
int i11 = i10 % 2;
ieS3.e(c6491cUi3.f);
return;
}
return;
}
}
e(new Object[]{this, c1299ZyL}, 548955726, -548955725, System.identityHashCode(this));
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(AbstractC1237Yr abstractC1237Yr, InterfaceC9287dgr interfaceC9287dgr) {
int i = 2 % 2;
int i2 = a + 95;
b = i2 % 128;
int i3 = i2 % 2;
interfaceC9287dgr.a(abstractC1237Yr);
if (i3 != 0) {
int i4 = 63 / 0;
}
int i5 = b + 19;
a = i5 % 128;
int i6 = i5 % 2;
}
private void d(C1299ZyL c1299ZyL) {
int i = 2 % 2;
final AbstractC1237Yr d = this.d.e.d(c1299ZyL, true, this.d.b.b.T());
C6491cUi c6491cUi = this.d;
ZI.IeS ieS = new ZI.IeS(d) { // from class: o.cUk
private AbstractC1237Yr c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6491cUi.Sts.a(this.c, (InterfaceC9287dgr) obj);
}
{
this.c = d;
}
};
if (c6491cUi.f != 0) {
int i2 = a + 113;
int i3 = i2 % 128;
b = i3;
if (i2 % 2 != 0) {
return;
}
int i4 = i3 + 33;
a = i4 % 128;
int i5 = i4 % 2;
ieS.e(c6491cUi.f);
}
}
private void a() {
int i = 2 % 2;
C6491cUi c6491cUi = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cUh
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9287dgr) obj).a();
}
};
if (c6491cUi.f != 0) {
int i2 = a + 21;
b = i2 % 128;
int i3 = i2 % 2;
ieS.e(c6491cUi.f);
int i4 = b + 35;
a = i4 % 128;
int i5 = i4 % 2;
}
}
private static /* synthetic */ Object a(Object[] objArr) {
boolean z = false;
final Sts sts = (Sts) objArr[0];
int i = 2 % 2;
final AbstractC1237Yr d = sts.d.e.d((C1299ZyL) objArr[1], false, sts.d.b.b.T());
C6491cUi c6491cUi = sts.d;
ZI.IeS ieS = new ZI.IeS(sts, d) { // from class: o.cUn
private AbstractC1237Yr a;
private C6491cUi.Sts d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C6491cUi.Sts.e(this.d, this.a, (InterfaceC9287dgr) obj);
}
{
this.d = sts;
this.a = d;
}
};
if (c6491cUi.f != 0) {
int i2 = a + 75;
b = i2 % 128;
int i3 = i2 % 2;
z = true;
}
if (!z) {
return null;
}
int i4 = a + 45;
b = i4 % 128;
int i5 = i4 % 2;
ieS.e(c6491cUi.f);
return null;
}
private /* synthetic */ void c(AbstractC1237Yr abstractC1237Yr, InterfaceC9287dgr interfaceC9287dgr) {
int i = 2 % 2;
int i2 = a + 97;
b = i2 % 128;
int i3 = i2 % 2;
interfaceC9287dgr.c(abstractC1237Yr);
if (i3 != 0) {
throw null;
}
}
private static /* synthetic */ Object c(Object[] objArr) {
boolean z = false;
String str = (String) objArr[0];
int i = 2 % 2;
if (str != null) {
int i2 = a + 33;
b = i2 % 128;
if (i2 % 2 != 0) {
str.equals("ACT");
throw null;
}
if (str.equals("ACT")) {
int i3 = b + 117;
a = i3 % 128;
int i4 = i3 % 2;
z = true;
}
}
return Boolean.valueOf(z);
}
private static boolean a(String str) {
int i = 2 % 2;
if (str != null) {
int i2 = a + 89;
b = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
str.equals("FZM");
throw null;
}
if (!str.equals("FZM")) {
int i3 = a + 95;
b = i3 % 128;
if (i3 % 2 != 0) {
str.equals("DOR");
obj.hashCode();
throw null;
}
if (str.equals("DOR")) {
}
}
return true;
}
return false;
}
private static boolean e(String str) {
int i = 2 % 2;
int i2 = a + 45;
b = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 86 / 0;
if (str == null) {
return false;
}
} else if (str == null) {
return false;
}
if (!str.equals("CLS") && !str.equals("CLO")) {
int i4 = b + 71;
a = i4 % 128;
int i5 = i4 % 2;
if (!str.equals("TRM") && !str.equals("PRG")) {
return false;
}
}
int i6 = b + 121;
a = i6 % 128;
int i7 = i6 % 2;
return true;
}
private static void f(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
char c;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = e;
int i4 = 1;
char c2 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i5 = 0;
while (i5 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[0] = Integer.valueOf(iArr3[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 15, 4 - TextUtils.lastIndexOf("", '0'), (char) ((Process.myTid() >> 22) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i5++;
i4 = 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 = e;
if (iArr6 != null) {
int i6 = $10 + 25;
$11 = i6 % 128;
int i7 = i6 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i8 = 0;
while (i8 < length3) {
int i9 = $11 + 113;
$10 = i9 % 128;
int i10 = i9 % 2;
Object[] objArr3 = new Object[1];
objArr3[c2] = Integer.valueOf(iArr6[i8]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 15, 4 - Process.getGidForName(""), (char) (58134 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj2);
}
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i8++;
iArr6 = iArr2;
c2 = 0;
}
int i11 = $10 + 47;
$11 = i11 % 128;
int i12 = i11 % 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 i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr5[i13];
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 - (ViewConfiguration.getTouchSlop() >> 8), View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
g(b2, b3, b3, 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;
i13++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = 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[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(99 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), MotionEvent.axisFromString("") + 6, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
g(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
i2 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
private void a(C1299ZyL c1299ZyL) {
e(new Object[]{this, c1299ZyL}, 548955726, -548955725, System.identityHashCode(this));
}
private static boolean c(String str) {
return ((Boolean) e(new Object[]{str}, -1891546547, 1891546547, (int) System.currentTimeMillis())).booleanValue();
}
public static /* synthetic */ void e(Sts sts, AbstractC1237Yr abstractC1237Yr, InterfaceC9287dgr interfaceC9287dgr) {
int i = 2 % 2;
int i2 = a + 25;
b = i2 % 128;
int i3 = i2 % 2;
sts.c(abstractC1237Yr, interfaceC9287dgr);
int i4 = b + 61;
a = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}
/* renamed from: o.cUi$HBt */
/* loaded from: classes4.dex */
public final class HBt extends wRi.LWm<List<LEE>> {
private C6491cUi a;
private HBt(C6491cUi c6491cUi) {
this.a = c6491cUi;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
C6491cUi c6491cUi = this.a;
C6489cUg c6489cUg = new C6489cUg();
if (c6491cUi.f != 0) {
c6489cUg.e(c6491cUi.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
C6491cUi c6491cUi = this.a;
C6489cUg c6489cUg = new C6489cUg();
if (c6491cUi.f != 0) {
c6489cUg.e(c6491cUi.f);
}
}
public /* synthetic */ HBt(C6491cUi c6491cUi, byte b) {
this(c6491cUi);
}
}
}