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

315 lines
14 KiB
Java

package o;
import android.graphics.Color;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.InterfaceC6669cZl;
import o.ZI;
import o.wRi;
/* renamed from: o.bDk, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public class C3683bDk extends ZI<InterfaceC6669cZl.Sts> {
public final pMB b;
@InterfaceC13391fZD
public C3683bDk(pMB pmb, C16903sI c16903sI) {
super(c16903sI);
this.b = pmb;
}
/* renamed from: o.bDk$Sts */
/* loaded from: classes4.dex */
public class Sts extends wRi.LWm<Mho> {
private C3683bDk e;
private static final byte[] $$a = {61, 7, ISO7816.INS_READ_RECORD_STAMPED, 119};
private static final int $$b = 48;
private static int $10 = 0;
private static int $11 = 1;
private static int c = 0;
private static int d = 1;
private static char[] a = {54116};
private static long b = 2352288277382826892L;
/* 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 g(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 4
int r7 = 4 - r7
byte[] r0 = o.C3683bDk.Sts.$$a
int r8 = r8 * 3
int r1 = r8 + 1
int r6 = r6 + 98
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r6 = r7
r4 = r8
r3 = r2
goto L2a
L15:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L19:
byte r4 = (byte) r7
r1[r3] = r4
if (r3 != r8) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L26:
int r3 = r3 + 1
r4 = r0[r6]
L2a:
int r7 = r7 + r4
int r6 = r6 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.C3683bDk.Sts.g(int, int, short, java.lang.Object[]):void");
}
private Sts(C3683bDk c3683bDk) {
this.e = c3683bDk;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final /* synthetic */ void onNext(Object obj) {
int i = 2 % 2;
int i2 = d + 105;
c = i2 % 128;
int i3 = i2 % 2;
a((Mho) obj);
int i4 = d + 93;
c = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.wRi.LWm, o.InterfaceC13174fSv
public final void onError(Throwable th) {
int i = 2 % 2;
int i2 = d + 47;
c = i2 % 128;
int i3 = i2 % 2;
C3683bDk.b(this.e);
C3683bDk.e(this.e, th);
int i4 = d + 57;
c = i4 % 128;
int i5 = i4 % 2;
}
private void a(Mho mho) {
int i = 2 % 2;
C3683bDk.a(this.e);
Object[] objArr = new Object[1];
f((char) (23687 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), TextUtils.indexOf((CharSequence) "", '0', 0) + 1, 1 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
if (((String) objArr[0]).intern().equals(mho.d)) {
C3683bDk c3683bDk = this.e;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bDj
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6669cZl.Sts) obj).d();
}
};
if (!(!(c3683bDk.f != 0))) {
ieS.e(c3683bDk.f);
return;
}
return;
}
C3683bDk c3683bDk2 = this.e;
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bDn
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6669cZl.Sts) obj).a();
}
};
if (c3683bDk2.f != 0) {
int i2 = d;
int i3 = i2 + 101;
c = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 41;
c = i5 % 128;
int i6 = i5 % 2;
ieS2.e(c3683bDk2.f);
}
}
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;
while (dqy.a < i2) {
int i4 = $11 + 123;
$10 = i4 % 128;
if (i4 % 2 != 0) {
int i5 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(a[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - ((Process.getThreadPriority(0) + 20) >> 6), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 32796));
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(TextUtils.getOffsetAfter("", 0) + 412, MotionEvent.axisFromString("") + 6, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 1;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
g(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i5] = ((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.getScrollBarSize() >> 8), 5 - KeyEvent.normalizeMetaState(0), (char) (29235 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))));
byte b6 = (byte) 0;
Object[] objArr7 = new Object[1];
g((byte) ($$a[1] + 1), b6, 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;
}
} else {
int i6 = dqy.a;
Object[] objArr8 = {Integer.valueOf(a[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 309, 5 - KeyEvent.keyCodeFromString(""), (char) (AndroidCharacter.getMirror('0') + 32749));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
g(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(b), Integer.valueOf(c2)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 412, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) TextUtils.indexOf("", "", 0));
byte b9 = (byte) 1;
byte b10 = (byte) (b9 - 1);
Object[] objArr11 = new Object[1];
g(b9, b10, b10, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i6] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((Process.myTid() >> 22) + 407, 5 - Color.red(0), (char) (29233 - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b11 = (byte) 0;
Object[] objArr13 = new Object[1];
g((byte) ($$a[1] + 1), b11, b11, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
}
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[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (29235 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
byte b12 = (byte) 0;
Object[] objArr15 = new Object[1];
g((byte) ($$a[1] + 1), b12, b12, objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
int i8 = 61 / 0;
} else {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 407, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (Color.argb(0, 0, 0, 0) + 29234));
byte b13 = (byte) 0;
Object[] objArr17 = new Object[1];
g((byte) ($$a[1] + 1), b13, b13, objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
}
objArr[0] = new String(cArr);
}
public /* synthetic */ Sts(C3683bDk c3683bDk, byte b2) {
this(c3683bDk);
}
}
static /* synthetic */ void b(C3683bDk c3683bDk) {
if (c3683bDk.f != 0) {
c3683bDk.f.ar_();
}
}
static /* synthetic */ void e(C3683bDk c3683bDk, Throwable th) {
if (c3683bDk.b(th)) {
c3683bDk.d(c3683bDk.j.e(th));
}
}
static /* synthetic */ void a(C3683bDk c3683bDk) {
if (c3683bDk.f != 0) {
c3683bDk.f.ar_();
}
}
}