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

797 lines
25 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC15351go;
import o.C2402adt;
import o.InterfaceC6627cYe;
import o.ZI;
import o.wRi;
/* renamed from: o.adt, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C2402adt extends ZI<InterfaceC6627cYe.jbe> {
private boolean a;
private boolean b;
private final jxu c;
private final Fnl d;
private boolean e;
private final SMl g;
private boolean h;
private final sfP i;
private final fSC n;
private static final byte[] $$a = {94, -19, ISOFileInfo.FCP_BYTE, 2};
private static final int $$b = 247;
private static int $10 = 0;
private static int $11 = 1;
private static int k = 0;
/* renamed from: o, reason: collision with root package name */
private static int f8517o = 1;
private static char[] m = {22854};
private static long l = 7100995786379958553L;
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = (~(i4 | i5)) | (~(i5 | i3));
int i7 = ~i3;
int i8 = i7 | i;
int i9 = (i * 1773) + (i2 * (-885)) + ((i6 | (~(i8 | i2))) * 886) + ((i | (~(i2 | i7))) * (-1772)) + ((~i8) * 886);
if (i9 == 1) {
return d(objArr);
}
if (i9 == 2) {
return a(objArr);
}
if (i9 != 3) {
int i10 = 2 % 2;
int i11 = AnonymousClass5.d[((mfY) objArr[0]).ordinal()];
if (i11 != 1 && i11 != 2) {
int i12 = k + 79;
int i13 = i12 % 128;
f8517o = i13;
if (i12 % 2 != 0 ? i11 != 3 : i11 != 5) {
int i14 = i13 + 37;
k = i14 % 128;
int i15 = i14 % 2;
return false;
}
}
return true;
}
return b(objArr);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002d). 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 q(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 3
int r7 = 1 - r7
int r9 = r9 + 4
byte[] r0 = o.C2402adt.$$a
int r8 = 106 - r8
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L12
r3 = r9
r5 = r2
goto L2d
L12:
r3 = r2
L13:
r6 = r9
r9 = r8
r8 = r6
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
int r8 = r8 + 1
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2d:
int r8 = r8 + r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.C2402adt.q(int, short, short, java.lang.Object[]):void");
}
static /* synthetic */ void a(C2402adt c2402adt) {
int i = 2 % 2;
if (c2402adt.f != 0) {
int i2 = k;
int i3 = i2 + 101;
f8517o = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 11;
f8517o = i5 % 128;
int i6 = i5 % 2;
c2402adt.f.aq_();
return;
}
int i7 = f8517o + 95;
k = i7 % 128;
int i8 = i7 % 2;
}
private static /* synthetic */ Object b(Object[] objArr) {
C2402adt c2402adt = (C2402adt) objArr[0];
Throwable th = (Throwable) objArr[1];
int i = 2 % 2;
int i2 = k + 1;
f8517o = i2 % 128;
int i3 = i2 % 2;
boolean i4 = c2402adt.i(th);
if (i3 == 0) {
int i5 = 60 / 0;
}
return Boolean.valueOf(i4);
}
static /* synthetic */ void h(C2402adt c2402adt) {
int i = 2 % 2;
int i2 = f8517o + 37;
k = i2 % 128;
if (i2 % 2 != 0) {
T t = c2402adt.f;
throw null;
}
if (!(c2402adt.f != 0)) {
return;
}
int i3 = k + 95;
f8517o = i3 % 128;
int i4 = i3 % 2;
c2402adt.f.aq_();
}
@InterfaceC13391fZD
public C2402adt(Fnl fnl, C16903sI c16903sI, sfP sfp, SMl sMl, jxu jxuVar, fSC fsc) {
super(c16903sI);
this.b = false;
this.d = fnl;
this.i = sfp;
this.g = sMl;
this.c = jxuVar;
this.n = fsc;
}
private static /* synthetic */ Object d(Object[] objArr) {
C2402adt c2402adt = (C2402adt) objArr[0];
int i = 2 % 2;
int i2 = k + 83;
f8517o = i2 % 128;
int i3 = i2 % 2;
c2402adt.i.b.b();
int i4 = f8517o + 43;
k = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void d() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
T extends o.cYp r1 = r4.f
r2 = 0
if (r1 == 0) goto L16
int r1 = o.C2402adt.f8517o
int r1 = r1 + 41
int r3 = r1 % 128
o.C2402adt.k = r3
int r1 = r1 % r0
if (r1 == 0) goto L14
goto L1f
L14:
r0 = 1
goto L20
L16:
int r1 = o.C2402adt.k
int r1 = r1 + 95
int r3 = r1 % 128
o.C2402adt.f8517o = r3
int r1 = r1 % r0
L1f:
r0 = r2
L20:
if (r0 == 0) goto L27
T extends o.cYp r0 = r4.f
r0.v()
L27:
o.sfP r0 = r4.i
r0.e()
o.sfP r0 = r4.i
o.adt$LWm r1 = new o.adt$LWm
r1.<init>(r4, r2)
o.fSk r2 = r0.i
r0.d(r2, r1)
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.C2402adt.d():void");
}
private /* synthetic */ void b(boolean z, boolean z2, boolean z3, InterfaceC6627cYe.jbe jbeVar) {
int i = 2 % 2;
int i2 = k + 123;
f8517o = i2 % 128;
int i3 = i2 % 2;
jbeVar.b(a(), z, z2, this.g.d.p(), z3);
int i4 = k + 123;
f8517o = i4 % 128;
int i5 = i4 % 2;
}
private static void p(char c, int i, int i2, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(m[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(307 - ImageFormat.getBitsPerPixel(0), TextUtils.indexOf("", "", 0, 0) + 5, (char) (TextUtils.indexOf("", "", 0) + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
q(b, (byte) (b | 8), (byte) (-1), 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(l), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getTouchSlop() >> 8), 5 - TextUtils.indexOf("", "", 0), (char) TextUtils.indexOf("", "", 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
q(b2, (byte) (b2 | 7), (byte) (-1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((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(407 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) (29234 - TextUtils.indexOf("", "", 0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
q(b3, b4, (byte) (b4 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i5 = $10 + 59;
$11 = i5 % 128;
int i6 = i5 % 2;
} 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 = $11 + 111;
$10 = i7 % 128;
if (i7 % 2 != 0) {
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 - (ViewConfiguration.getDoubleTapTimeout() >> 16), Color.blue(0) + 5, (char) (TextUtils.lastIndexOf("", '0') + 29235));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
q(b5, b6, (byte) (b6 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls5 = (Class) xzZ.c(408 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), View.MeasureSpec.getMode(0) + 5, (char) (29234 - ((Process.getThreadPriority(0) + 20) >> 6)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr11 = new Object[1];
q(b7, b8, (byte) (b8 - 1), objArr11);
obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
public final void c(boolean z, final boolean z2, final boolean z3, final boolean z4) {
boolean z5;
int i = 2 % 2;
this.a = z2;
this.h = z3;
this.e = z4;
if (!z) {
d();
return;
}
b(new Object[]{this}, -1123342097, 1123342098, System.identityHashCode(this));
ZI.IeS ieS = new ZI.IeS(this, z2, z3, z4) { // from class: o.adw
private boolean b;
private boolean c;
private C2402adt d;
private boolean e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2402adt.d(this.d, this.b, this.e, this.c, (InterfaceC6627cYe.jbe) obj);
}
{
this.d = this;
this.b = z2;
this.e = z3;
this.c = z4;
}
};
if (this.f != 0) {
int i2 = k;
int i3 = i2 + 27;
f8517o = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 91;
f8517o = i5 % 128;
int i6 = i5 % 2;
z5 = true;
} else {
z5 = false;
}
if (z5) {
int i7 = f8517o + 63;
k = i7 % 128;
if (i7 % 2 == 0) {
ieS.e(this.f);
} else {
ieS.e(this.f);
throw null;
}
}
}
public final void c() {
int i = 2 % 2;
this.c.b(new InterfaceC13176fSx<ROy>(this) { // from class: o.adt.3
private C2402adt b;
@Override // o.InterfaceC13176fSx
public final void onError(Throwable th) {
}
@Override // o.InterfaceC13176fSx
public final void onSubscribe(fSJ fsj) {
}
{
this.b = this;
}
@Override // o.InterfaceC13176fSx
public final /* synthetic */ void e(ROy rOy) {
final ROy rOy2 = rOy;
if (this.b.f != 0) {
C2402adt c2402adt = this.b;
ZI.IeS ieS = new ZI.IeS(rOy2) { // from class: o.adB
private ROy b;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.jbe) obj).d(this.b.d);
}
{
this.b = rOy2;
}
};
if (c2402adt.f != 0) {
ieS.e(c2402adt.f);
}
}
}
}, new AbstractC15351go.LWm(), this.n);
int i2 = k + 119;
f8517o = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
public final void b(mfY mfy) {
int i = 2 % 2;
if (!(!this.a) && ((Boolean) b(new Object[]{mfy}, 1238729099, -1238729099, (int) System.currentTimeMillis())).booleanValue()) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.adv
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.jbe) obj).d();
}
};
if (this.f != 0) {
int i2 = k + 57;
f8517o = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 5 / 3;
}
ieS.e(this.f);
return;
}
return;
}
if (this.h && mfy == mfY.MF_PRODUCT_RECOMMEND) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.adC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.jbe) obj).b();
}
};
if (this.f != 0) {
int i4 = k + 63;
f8517o = i4 % 128;
int i5 = i4 % 2;
ieS2.e(this.f);
}
}
}
public final boolean a() {
int i = 2 % 2;
int i2 = k + 47;
f8517o = i2 % 128;
int i3 = i2 % 2;
if (this.d.d.a() == null || this.d.d.a().r == null || !this.d.d.a().r.F) {
return false;
}
int i4 = f8517o + 121;
k = i4 % 128;
int i5 = i4 % 2;
return true;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.adt$5, reason: invalid class name */
/* loaded from: classes3.dex */
public static /* synthetic */ class AnonymousClass5 {
static final int[] d;
static {
int[] iArr = new int[mfY.values().length];
d = iArr;
try {
iArr[mfY.MF_DISCOVER_NONE_ACCOUNT.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
d[mfY.MF_DISCOVER_PORTFOLIO.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
d[mfY.MF_DISCOVER_DEEPLINK.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
}
}
public final void e(final int i) {
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS(this, i) { // from class: o.ady
private int b;
private C2402adt d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2402adt c2402adt = this.d;
int i3 = this.b;
C2402adt.b(new Object[]{c2402adt, Integer.valueOf(i3), (InterfaceC6627cYe.jbe) obj}, 504021563, -504021561, i3);
}
{
this.d = this;
this.b = i;
}
};
if (this.f != 0) {
int i3 = k + 25;
int i4 = i3 % 128;
f8517o = i4;
int i5 = i3 % 2;
int i6 = i4 + 37;
k = i6 % 128;
int i7 = i6 % 2;
ieS.e(this.f);
}
}
private /* synthetic */ void c(int i, InterfaceC6627cYe.jbe jbeVar) {
int i2 = 2 % 2;
int i3 = f8517o + 19;
int i4 = i3 % 128;
k = i4;
int i5 = i3 % 2;
if (i != 1) {
int i6 = i4 + 89;
f8517o = i6 % 128;
int i7 = i6 % 2;
if (i == 2) {
jbeVar.c("myalert_landing", new pug("entry_point", b()));
return;
}
} else {
Object[] objArr = new Object[1];
p((char) (54949 - Color.green(0)), KeyEvent.keyCodeFromString(""), 1 - Gravity.getAbsoluteGravity(0, 0), objArr);
jbeVar.c("mutualfund_discover_landing", new pug("mf_customer", ((String) objArr[0]).intern()), new pug("source", "tab"));
jbeVar.d_("prdiscover_landing");
jbeVar.e();
int i8 = f8517o + 7;
k = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 3 / 5;
}
}
int i10 = f8517o + 39;
k = i10 % 128;
if (i10 % 2 != 0) {
throw null;
}
}
@Override // o.ZI
public final void w_() {
int i = 2 % 2;
int i2 = f8517o + 53;
k = i2 % 128;
if (i2 % 2 == 0) {
this.n.dispose();
super.w_();
} else {
this.n.dispose();
super.w_();
throw null;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.adt$LWm */
/* loaded from: classes3.dex */
public final class LWm extends wRi.LWm<Boolean> {
private C2402adt b;
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onComplete() {
}
private LWm(C2402adt c2402adt) {
this.b = c2402adt;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
final Boolean bool = (Boolean) obj;
C2402adt.h(this.b);
C2402adt c2402adt = this.b;
ZI.IeS ieS = new ZI.IeS(this, bool) { // from class: o.adz
private Boolean a;
private C2402adt.LWm b;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2402adt.LWm.e(this.b, this.a, (InterfaceC6627cYe.jbe) obj2);
}
{
this.b = this;
this.a = bool;
}
};
if (c2402adt.f != 0) {
ieS.e(c2402adt.f);
}
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
if (!((Boolean) C2402adt.b(new Object[]{this.b, th}, -1039015203, 1039015206, (int) System.currentTimeMillis())).booleanValue() && this.b.f != 0) {
C2402adt c2402adt = this.b;
ZI.IeS ieS = new ZI.IeS() { // from class: o.adD
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6627cYe.jbe) obj).c();
}
};
if (c2402adt.f != 0) {
ieS.e(c2402adt.f);
}
}
C2402adt.a(this.b);
}
public static /* synthetic */ void e(LWm lWm, Boolean bool, InterfaceC6627cYe.jbe jbeVar) {
if (Boolean.TRUE.equals(bool)) {
jbeVar.b(lWm.b.a(), C2402adt.e(lWm.b), C2402adt.b(lWm.b), C2402adt.c(lWm.b).d.p(), C2402adt.d(lWm.b));
} else {
jbeVar.c(C2402adt.e(lWm.b), C2402adt.b(lWm.b));
}
}
/* synthetic */ LWm(C2402adt c2402adt, byte b) {
this(c2402adt);
}
}
private static /* synthetic */ Object a(Object[] objArr) {
C2402adt c2402adt = (C2402adt) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
InterfaceC6627cYe.jbe jbeVar = (InterfaceC6627cYe.jbe) objArr[2];
int i = 2 % 2;
int i2 = f8517o + 117;
k = i2 % 128;
int i3 = i2 % 2;
c2402adt.c(intValue, jbeVar);
int i4 = k + 89;
f8517o = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 17 / 0;
}
return null;
}
private void i() {
b(new Object[]{this}, -1123342097, 1123342098, System.identityHashCode(this));
}
private static boolean e(mfY mfy) {
return ((Boolean) b(new Object[]{mfy}, 1238729099, -1238729099, (int) System.currentTimeMillis())).booleanValue();
}
private String b() {
int i = 2 % 2;
int i2 = k + 7;
int i3 = i2 % 128;
f8517o = i3;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (!this.h || this.b) {
return "menu";
}
int i4 = i3 + 77;
int i5 = i4 % 128;
k = i5;
int i6 = i4 % 2;
this.b = true;
int i7 = i5 + 107;
f8517o = i7 % 128;
if (i7 % 2 != 0) {
return "deeplink";
}
throw null;
}
static /* bridge */ /* synthetic */ SMl c(C2402adt c2402adt) {
int i = 2 % 2;
int i2 = k + 121;
int i3 = i2 % 128;
f8517o = i3;
int i4 = i2 % 2;
SMl sMl = c2402adt.g;
int i5 = i3 + 59;
k = i5 % 128;
int i6 = i5 % 2;
return sMl;
}
static /* synthetic */ boolean b(C2402adt c2402adt) {
int i = 2 % 2;
int i2 = k + 61;
f8517o = i2 % 128;
int i3 = i2 % 2;
boolean z = c2402adt.h;
if (i3 != 0) {
return z;
}
Object obj = null;
obj.hashCode();
throw null;
}
static /* synthetic */ boolean e(C2402adt c2402adt) {
int i = 2 % 2;
int i2 = f8517o + 21;
int i3 = i2 % 128;
k = i3;
int i4 = i2 % 2;
boolean z = c2402adt.a;
if (i4 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = i3 + 65;
f8517o = i5 % 128;
int i6 = i5 % 2;
return z;
}
static /* bridge */ /* synthetic */ boolean d(C2402adt c2402adt) {
int i = 2 % 2;
int i2 = f8517o;
int i3 = i2 + 37;
k = i3 % 128;
int i4 = i3 % 2;
boolean z = c2402adt.e;
int i5 = i2 + 45;
k = i5 % 128;
int i6 = i5 % 2;
return z;
}
public static /* synthetic */ void d(C2402adt c2402adt, boolean z, boolean z2, boolean z3, InterfaceC6627cYe.jbe jbeVar) {
int i = 2 % 2;
int i2 = k + 89;
f8517o = i2 % 128;
int i3 = i2 % 2;
c2402adt.b(z, z2, z3, jbeVar);
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = k + 43;
f8517o = i4 % 128;
int i5 = i4 % 2;
}
}