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

608 lines
19 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.ZI;
import o.wRi;
/* loaded from: classes4.dex */
public class cAL extends ZI<InterfaceC9605dmr> {
private Context a;
private final LFW b;
private static final byte[] $$a = {8, 78, -66, ISO7816.INS_PSO};
private static final int $$b = 92;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 0;
private static int g = 1;
private static char[] e = {16109, 15898, 16096, 15902, 15899, 16101};
private static int d = 1934311084;
private static boolean c = true;
private static boolean i = true;
public static /* synthetic */ Object a(Object[] objArr, int i2, int i3, int i4) {
int i5 = ~i2;
int i6 = ~i3;
int i7 = (i2 * 881) + (i3 * 881) + (((~(i6 | i4)) | (~(i5 | i6)) | (~(i5 | i4))) * (-880));
int i8 = i3 | (~(i5 | (~i4)));
int i9 = ~(i2 | i4);
int i10 = i7 + ((i8 | i9) * (-880)) + (i9 * 880);
if (i10 != 1) {
if (i10 != 2) {
cAL cal = (cAL) objArr[0];
int i11 = 2 % 2;
int i12 = g + 103;
h = i12 % 128;
int i13 = i12 % 2;
cal.b(false);
int i14 = h + 63;
g = i14 % 128;
int i15 = i14 % 2;
return null;
}
return c(objArr);
}
cAL cal2 = (cAL) objArr[0];
int i16 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAO
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9605dmr) obj).e();
}
};
if (cal2.f != 0) {
ieS.e(cal2.f);
int i17 = h + 65;
g = i17 % 128;
int i18 = i17 % 2;
}
int i19 = g + 43;
h = i19 % 128;
int i20 = i19 % 2;
return null;
}
/* 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:0x002e). 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, int r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r7 = r7 * 57
int r7 = r7 + 65
byte[] r0 = o.cAL.$$a
int r8 = r8 * 4
int r1 = r8 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r3 = r7
r4 = r2
r7 = r6
goto L2e
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
int r6 = r6 + 1
if (r3 != r8) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r6]
int r3 = r3 + 1
r5 = r7
r7 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = r6 + r3
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.cAL.l(byte, int, int, java.lang.Object[]):void");
}
static /* synthetic */ void a(cAL cal, Throwable th) {
int i2 = 2 % 2;
int i3 = g + 3;
h = i3 % 128;
int i4 = i3 % 2;
cal.f(th);
if (i4 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = h + 121;
g = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 82 / 0;
}
}
static /* synthetic */ void d(cAL cal) {
int i2 = 2 % 2;
int i3 = h + 3;
g = i3 % 128;
int i4 = i3 % 2;
if (cal.f != 0) {
int i5 = g + 29;
h = i5 % 128;
int i6 = i5 % 2;
cal.f.ar_();
return;
}
int i7 = g + 117;
h = i7 % 128;
int i8 = i7 % 2;
}
static /* synthetic */ void e(cAL cal) {
int i2 = 2 % 2;
if (cal.f != 0) {
int i3 = h + 105;
int i4 = i3 % 128;
g = i4;
int i5 = i3 % 2;
int i6 = i4 + 37;
h = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 5 / 4;
}
cal.f.ar_();
}
}
static /* synthetic */ void e(cAL cal, Throwable th) {
int i2 = 2 % 2;
int i3 = h + 23;
g = i3 % 128;
int i4 = i3 % 2;
cal.f(th);
int i5 = h + 111;
g = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@InterfaceC13391fZD
public cAL(C16903sI c16903sI, LFW lfw, Context context) {
super(c16903sI);
this.b = lfw;
this.a = context;
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void a(InterfaceC9605dmr interfaceC9605dmr) {
int i2 = 2 % 2;
int i3 = h + 119;
g = i3 % 128;
int i4 = i3 % 2;
interfaceC9605dmr.e(true, true);
int i5 = g + 121;
h = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void j() {
boolean z;
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAM
@Override // o.ZI.IeS
public final void e(Object obj) {
cAL.a((InterfaceC9605dmr) obj);
}
};
if (this.f != 0) {
int i3 = h;
int i4 = i3 + 75;
g = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 21;
g = i6 % 128;
int i7 = i6 % 2;
z = true;
} else {
z = false;
}
if (!z) {
return;
}
ieS.e(this.f);
}
/* JADX INFO: Access modifiers changed from: package-private */
public static /* synthetic */ void b(InterfaceC9605dmr interfaceC9605dmr) {
int i2 = 2 % 2;
int i3 = g + 115;
h = i3 % 128;
int i4 = i3 % 2;
interfaceC9605dmr.e(false, false);
int i5 = g + 69;
h = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public final void d() {
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAP
@Override // o.ZI.IeS
public final void e(Object obj) {
cAL.b((InterfaceC9605dmr) obj);
}
};
if (!(!(this.f != 0))) {
int i3 = h + 107;
g = i3 % 128;
int i4 = i3 % 2;
ieS.e(this.f);
int i5 = g + 97;
h = i5 % 128;
int i6 = i5 % 2;
}
a(new Object[]{this}, 150652918, -150652917, System.identityHashCode(this));
}
private static /* synthetic */ Object c(Object[] objArr) {
cAL cal = (cAL) objArr[0];
int i2 = 2 % 2;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAN
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9605dmr) obj).d();
}
};
if (cal.f == 0) {
return null;
}
int i3 = h + 23;
int i4 = i3 % 128;
g = i4;
int i5 = i3 % 2;
int i6 = i4 + 115;
h = i6 % 128;
int i7 = i6 % 2;
ieS.e(cal.f);
return null;
}
public final void a(boolean z) {
int i2 = 2 % 2;
Object obj = null;
if (this.f != 0) {
int i3 = g + 53;
int i4 = i3 % 128;
h = i4;
if (i3 % 2 == 0) {
int i5 = i4 + 21;
g = i5 % 128;
if (i5 % 2 == 0) {
this.f.y();
obj.hashCode();
throw null;
}
this.f.y();
}
}
LFW lfw = this.b;
C4362bXu c2 = C4362bXu.c();
Object[] objArr = new Object[1];
k(null, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 126, objArr);
c2.d = ((String) objArr[0]).intern();
c2.b = C6583cXR.e(this.a);
lfw.d(c2);
LFW lfw2 = this.b;
lfw2.d(lfw2.i, new wRi.LWm<Boolean>(this, z) { // from class: o.cAL.3
private boolean a;
private cAL c;
{
this.c = this;
this.a = z;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj2) {
cAL.e(this.c);
cAL cal = this.c;
ZI.IeS ieS = new ZI.IeS() { // from class: o.cAR
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9605dmr) obj3).x();
}
};
if (cal.f != 0) {
ieS.e(cal.f);
}
if (this.a) {
cAL cal2 = this.c;
C5815cAQ c5815cAQ = new C5815cAQ();
if (cal2.f != 0) {
c5815cAQ.e(cal2.f);
return;
}
return;
}
cAL.a(this.c);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
cAL.e(this.c, th);
}
});
}
public final void c() {
int i2 = 2 % 2;
C5815cAQ c5815cAQ = new C5815cAQ();
boolean z = false;
if (this.f != 0) {
int i3 = h + 93;
g = i3 % 128;
if (i3 % 2 != 0) {
z = true;
}
}
if (!(!z)) {
c5815cAQ.e(this.f);
}
int i4 = h + 71;
g = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
public final void e(boolean z) {
int i2 = 2 % 2;
int i3 = h + 5;
g = i3 % 128;
int i4 = i3 % 2;
b(z);
int i5 = g + 121;
h = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 31 / 0;
}
}
private void b(boolean z) {
int i2 = 2 % 2;
if (this.f != 0) {
int i3 = h + 37;
g = i3 % 128;
int i4 = i3 % 2;
this.f.y();
}
LFW lfw = this.b;
C4362bXu c2 = C4362bXu.c();
Object[] objArr = new Object[1];
k(null, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, 126 - TextUtils.indexOf((CharSequence) "", '0'), objArr);
c2.d = ((String) objArr[0]).intern();
c2.b = "";
lfw.d(c2);
LFW lfw2 = this.b;
lfw2.d(lfw2.i, new wRi.LWm<Boolean>(this, z) { // from class: o.cAL.5
private cAL a;
private boolean d;
{
this.a = this;
this.d = z;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
cAL.d(this.a);
if (this.d) {
cAL cal = this.a;
C5815cAQ c5815cAQ = new C5815cAQ();
if (cal.f != 0) {
c5815cAQ.e(cal.f);
return;
}
return;
}
cAL.a(this.a);
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
cAL.a(this.a, th);
}
});
int i5 = g + 51;
h = i5 % 128;
int i6 = i5 % 2;
}
private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
char[] cArr2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr3 = e;
int i5 = -1;
char c2 = 0;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 97;
$11 = i7 % 128;
if (i7 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c2] = Integer.valueOf(cArr3[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b = (byte) i5;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
l(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr4[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr3[i6])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 337, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) ((-1) - MotionEvent.axisFromString("")));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
l(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr4[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
i3 = 2;
i5 = -1;
c2 = 0;
}
cArr3 = cArr4;
}
Object[] objArr6 = {Integer.valueOf(d)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.blue(0) + 283, (Process.myPid() >> 22) + 5, (char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 39813));
byte b5 = (byte) (-1);
byte b6 = (byte) (-b5);
Object[] objArr7 = new Object[1];
l(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (!(!i)) {
c3614bBe.c = bArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) View.combineMeasuredStates(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr5);
return;
}
if (c) {
int i8 = $11 + 53;
$10 = i8 % 128;
if (i8 % 2 != 0) {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = cArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 41, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr2);
return;
}
int i9 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i9;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
}
int i10 = $11 + 73;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
i9 = c3614bBe.a + 1;
}
}
public final void a() {
a(new Object[]{this}, -1162901698, 1162901698, System.identityHashCode(this));
}
public final void b() {
a(new Object[]{this}, -1052252644, 1052252646, System.identityHashCode(this));
}
private void g() {
a(new Object[]{this}, 150652918, -150652917, System.identityHashCode(this));
}
static /* synthetic */ void a(cAL cal) {
int i2 = 2 % 2;
int i3 = h + 77;
g = i3 % 128;
if (i3 % 2 == 0) {
a(new Object[]{cal}, 150652918, -150652917, System.identityHashCode(cal));
int i4 = 92 / 0;
} else {
a(new Object[]{cal}, 150652918, -150652917, System.identityHashCode(cal));
}
int i5 = g + 89;
h = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
}