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

500 lines
16 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C5553bvI;
import o.InterfaceC9252dgH;
import o.ZI;
import o.lNZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.bvI */
/* loaded from: classes4.dex */
public final class C5553bvI<T extends InterfaceC9252dgH> extends ZI<T> {
public boolean a;
public final lNZ b;
public boolean c;
public final fSC d;
public final TJT e;
public boolean g;
public boolean h;
public boolean i;
public final SSH k;
public final ATB l;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C5553bvI(C16903sI c16903sI, fSC fsc, SSH ssh, TJT tjt, ATB atb) {
super(c16903sI);
C14957gcv.e(c16903sI, "");
C14957gcv.e(fsc, "");
C14957gcv.e(ssh, "");
C14957gcv.e(tjt, "");
C14957gcv.e(atb, "");
this.d = fsc;
this.k = ssh;
this.e = tjt;
this.l = atb;
this.b = new lNZ((byte) 0);
this.g = true;
}
/* renamed from: o.bvI$LWm */
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* renamed from: o.bvI$RVV */
/* loaded from: classes4.dex */
public static final class RVV extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5553bvI<T> d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C5553bvI<T> c5553bvI = this.d;
C5553bvI.a(c5553bvI, th2, new Runnable(c5553bvI) { // from class: o.bwa
private C5553bvI c;
@Override // java.lang.Runnable
public final void run() {
C5553bvI.RVV.e(this.c);
}
{
this.c = c5553bvI;
}
});
return C14866gag.c;
}
public static /* synthetic */ void e(C5553bvI c5553bvI) {
C14957gcv.e(c5553bvI, "");
ZI.IeS ieS = new ZI.IeS() { // from class: o.bwb
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9252dgH) obj).a();
}
};
if (c5553bvI.f != 0) {
ieS.e(c5553bvI.f);
}
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(C5553bvI<T> c5553bvI) {
super(1);
this.d = c5553bvI;
}
}
/* renamed from: o.bvI$Sts */
/* loaded from: classes4.dex */
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Mqw, C14866gag> {
private static short[] i;
private C5553bvI<T> a;
private static final byte[] $$a = {124, -126, ISO7816.INS_MSE, 69};
private static final int $$b = CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
private static int f = 1;
private static int c = -2667323;
private static int b = 1406017142;
private static int d = -1474698637;
private static byte[] e = {ISOFileInfo.SECURITY_ATTR_EXP};
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002a). 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 j(short r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 108
int r6 = r6 * 2
int r6 = r6 + 4
byte[] r0 = o.C5553bvI.Sts.$$a
int r5 = r5 * 3
int r1 = 1 - r5
byte[] r1 = new byte[r1]
r2 = 0
int r5 = 0 - r5
if (r0 != 0) goto L18
r4 = r5
r3 = r2
goto L2a
L18:
r3 = r2
L19:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L26:
r4 = r0[r6]
int r3 = r3 + 1
L2a:
int r7 = r7 + r4
int r6 = r6 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.C5553bvI.Sts.j(short, byte, byte, java.lang.Object[]):void");
}
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Mqw mqw) {
int i2 = 2 % 2;
int i3 = f + 9;
h = i3 % 128;
int i4 = i3 % 2;
d(mqw);
C14866gag c14866gag = C14866gag.c;
int i5 = f + 73;
h = i5 % 128;
if (i5 % 2 == 0) {
return c14866gag;
}
throw null;
}
private static final void b(Mqw mqw, InterfaceC9252dgH interfaceC9252dgH) {
int i2 = 2 % 2;
int i3 = f + 95;
h = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(mqw, "");
interfaceC9252dgH.e(C17105tv.c(mqw));
int i5 = f + 61;
h = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private void d(Mqw mqw) {
boolean z;
int i2 = 2 % 2;
int i3 = h + 111;
f = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(mqw, "");
C5553bvI.e(this.a);
String str = mqw.d;
if (str != null) {
this.a.b(str);
}
String str2 = mqw.b.c;
C5553bvI<T> c5553bvI = this.a;
boolean z2 = false;
if (str2 != null) {
int i5 = f + 87;
h = i5 % 128;
int i6 = i5 % 2;
String str3 = mqw.b.c;
Object[] objArr = new Object[1];
g((short) View.getDefaultSize(0, 0), (byte) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (ViewConfiguration.getMaximumFlingVelocity() >> 16) - 100, 1407626544 - KeyEvent.getDeadChar(0, 0), TextUtils.getOffsetBefore("", 0) + 69731274, objArr);
z = gdZ.a(str3, ((String) objArr[0]).intern(), false);
} else {
z = false;
}
c5553bvI.h = z;
String str4 = mqw.b.e;
C5553bvI<T> c5553bvI2 = this.a;
if (str4 != null) {
int i7 = h + 27;
f = i7 % 128;
int i8 = i7 % 2;
String str5 = mqw.b.c;
Object[] objArr2 = new Object[1];
g((short) View.MeasureSpec.getSize(0), (byte) (ViewConfiguration.getFadingEdgeLength() >> 16), (-99) - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 1407626544 - KeyEvent.getDeadChar(0, 0), 69731274 - KeyEvent.keyCodeFromString(""), objArr2);
z2 = gdZ.a(str5, ((String) objArr2[0]).intern(), false);
}
c5553bvI2.a = z2;
C5553bvI<T> c5553bvI3 = this.a;
ZI.IeS ieS = new ZI.IeS(mqw) { // from class: o.bvY
private Mqw a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5553bvI.Sts.e(this.a, (InterfaceC9252dgH) obj);
}
{
this.a = mqw;
}
};
if (c5553bvI3.f == 0) {
int i9 = h + 121;
f = i9 % 128;
int i10 = i9 % 2;
} else {
int i11 = f + 7;
h = i11 % 128;
int i12 = i11 % 2;
ieS.e(c5553bvI3.f);
}
}
/* JADX WARN: Code restructure failed: missing block: B:58:0x0289, code lost:
if (r0 != true) goto L148;
*/
/* JADX WARN: Code restructure failed: missing block: B:59:0x028e, code lost:
r4 = o.C5553bvI.Sts.e;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((byte) (((byte) (r4[r7] ^ (-7303220121662775787L))) + r17)) ^ r18));
r4 = o.C5553bvI.Sts.$11 + 5;
o.C5553bvI.Sts.$10 = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x02bc, code lost:
r4 = o.C5553bvI.Sts.i;
r1.c = r1.c - 1;
r1.a = (char) (r1.e + (((short) (((short) (r4[r8] ^ (-7303220121662775787L))) + r17)) ^ r18));
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x028c, code lost:
if (r0 != false) goto L147;
*/
/* JADX WARN: Removed duplicated region for block: B:35:0x01b7 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void g(short r17, byte r18, int r19, int r20, int r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 762
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.C5553bvI.Sts.g(short, byte, int, int, int, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public Sts(C5553bvI<T> c5553bvI) {
super(1);
this.a = c5553bvI;
}
public static /* synthetic */ void e(Mqw mqw, InterfaceC9252dgH interfaceC9252dgH) {
int i2 = 2 % 2;
int i3 = h + 5;
f = i3 % 128;
int i4 = i3 % 2;
b(mqw, interfaceC9252dgH);
if (i4 == 0) {
int i5 = 8 / 0;
}
int i6 = h + 97;
f = i6 % 128;
int i7 = i6 % 2;
}
}
/* renamed from: o.bvI$HBt */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private C5553bvI<T> d;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
C5553bvI.e(this.d);
C5553bvI<T> c5553bvI = this.d;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bvZ
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9252dgH) obj).c();
}
};
if (c5553bvI.f != 0) {
ieS.e(c5553bvI.f);
}
this.d.g = true;
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public HBt(C5553bvI<T> c5553bvI) {
super(0);
this.d = c5553bvI;
}
}
/* renamed from: o.bvI$IeS */
/* loaded from: classes4.dex */
public static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private C5553bvI<T> c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
C14957gcv.e(th2, "");
C5553bvI.e(this.c, th2);
this.c.g = true;
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public IeS(C5553bvI<T> c5553bvI) {
super(1);
this.c = c5553bvI;
}
}
@Override // o.ZI
public final void w_() {
this.d.dispose();
super.w_();
}
public static /* synthetic */ void b(C5553bvI c5553bvI, boolean z, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(c5553bvI, "");
SSH ssh = c5553bvI.k;
String str = c5553bvI.b.c.b;
interfaceC9252dgH.c((str == null || !ssh.c.matcher(str).matches()) && !z);
}
public static /* synthetic */ void c(String str, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(str, "");
interfaceC9252dgH.b(str);
}
public static /* synthetic */ void e(C5553bvI c5553bvI, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(c5553bvI, "");
interfaceC9252dgH.e(!c5553bvI.c());
}
public static /* synthetic */ void a(String str, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(str, "");
interfaceC9252dgH.d(str);
}
public static /* synthetic */ void a(C5553bvI c5553bvI, boolean z, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(c5553bvI, "");
interfaceC9252dgH.a(c5553bvI.b.a == null && !z);
}
public static /* synthetic */ void c(C5553bvI c5553bvI, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(c5553bvI, "");
interfaceC9252dgH.b(!c5553bvI.b(), c5553bvI.b.e.e);
}
public static /* synthetic */ void d(C5553bvI c5553bvI, InterfaceC9252dgH interfaceC9252dgH) {
C14957gcv.e(c5553bvI, "");
interfaceC9252dgH.d(!c5553bvI.b.c.e);
}
public static /* synthetic */ void e(lNZ.IeS ieS, InterfaceC9252dgH interfaceC9252dgH) {
Integer num;
Integer num2;
C14957gcv.e(ieS, "");
interfaceC9252dgH.e((ieS.a == null || ieS.d == null || (num = ieS.a) == null || num.intValue() != 0 || (num2 = ieS.d) == null || num2.intValue() != 0) ? false : true);
}
public static final /* synthetic */ void e(C5553bvI c5553bvI) {
if (c5553bvI.f != 0) {
c5553bvI.f.ar_();
}
}
public static final /* synthetic */ void e(C5553bvI c5553bvI, Throwable th) {
if (c5553bvI.b(th)) {
c5553bvI.d(c5553bvI.j.e(th));
}
}
public static final /* synthetic */ void a(C5553bvI c5553bvI, Throwable th, Runnable runnable) {
if (c5553bvI.b(th)) {
c5553bvI.d(c5553bvI.j.c(th, runnable));
}
}
public final boolean c() {
Integer num;
Integer num2;
lNZ.IeS ieS = this.b.b;
return (ieS.a == null || ieS.d == null || ((num = ieS.a) != null && num.intValue() == 0 && (num2 = ieS.d) != null && num2.intValue() == 0)) ? false : true;
}
public final boolean b() {
lNZ.LWm lWm = this.b.e;
return !lWm.e || lWm.a || lWm.d;
}
public final void d(String str) {
C14957gcv.e(str, "");
String str2 = str;
this.b.c.e = !(str2 == null || gdZ.d((CharSequence) str2));
C5568bvX c5568bvX = new C5568bvX(this);
if (this.f != 0) {
c5568bvX.e(this.f);
}
}
public final void b(String str) {
C14957gcv.e(str, "");
this.b.a = str;
ZI.IeS ieS = new ZI.IeS(str) { // from class: o.bvW
private String b;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5553bvI.a(this.b, (InterfaceC9252dgH) obj);
}
{
this.b = str;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
public final void e(boolean z) {
this.b.e.e = z;
ZI.IeS ieS = new ZI.IeS(z) { // from class: o.bvR
private boolean a;
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9252dgH) obj).b(this.a);
}
{
this.a = z;
}
};
if (this.f != 0) {
ieS.e(this.f);
}
}
static {
new LWm((byte) 0);
}
}