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

320 lines
12 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.graphics.PointF;
import android.os.SystemClock;
import android.view.KeyEvent;
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 net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC15351go;
import o.aUR;
/* renamed from: o.jv, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C15960jv extends C15620hF {
private static char[] e;
private static boolean f;
private static int g;
private static int i;
private static boolean j;
private final aUR b;
private final C17535xa c;
private final pou d;
private static final byte[] $$a = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67};
private static final int $$b = 95;
private static int $10 = 0;
private static int $11 = 1;
private static int h = 1;
/* 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:0x002f). 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, byte r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = 1 - r8
byte[] r1 = o.C15960jv.$$a
int r7 = r7 * 57
int r7 = 122 - r7
int r6 = r6 * 2
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L19
r3 = r7
r4 = r2
r7 = r6
goto L2f
L19:
r3 = r2
L1a:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L29
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L29:
r3 = r1[r6]
r5 = r7
r7 = r6
r6 = r3
r3 = r5
L2f:
int r6 = -r6
int r6 = r6 + r3
int r7 = r7 + 1
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: o.C15960jv.l(byte, byte, int, java.lang.Object[]):void");
}
public static final /* synthetic */ C17535xa e(C15960jv c15960jv) {
int i2 = 2 % 2;
int i3 = h + 125;
int i4 = i3 % 128;
i = i4;
int i5 = i3 % 2;
C17535xa c17535xa = c15960jv.c;
int i6 = i4 + 21;
h = i6 % 128;
int i7 = i6 % 2;
return c17535xa;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C15960jv(pou pouVar, aUR aur, C17535xa c17535xa) {
super((byte) 0);
C14957gcv.e(pouVar, "");
C14957gcv.e(aur, "");
C14957gcv.e(c17535xa, "");
this.d = pouVar;
this.b = aur;
this.c = c17535xa;
}
/* renamed from: o.jv$LWm */
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* renamed from: o.jv$HBt */
/* loaded from: classes3.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<hDB, C0937Rx> {
private C15960jv a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C0937Rx invoke(hDB hdb) {
hDB hdb2 = hdb;
C14957gcv.e(hdb2, "");
C15960jv.e(this.a);
return C17535xa.e(hdb2);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(C15960jv c15960jv) {
super(1);
this.a = c15960jv;
}
}
public final void a(InterfaceC14894gbR<? super C0937Rx, C14866gag> interfaceC14894gbR, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2) {
int i2 = 2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
b(this.d, interfaceC14894gbR, interfaceC14894gbR2, new AbstractC15351go.LWm(), new HBt(this));
int i3 = i + 43;
h = i3 % 128;
int i4 = i3 % 2;
}
public final void d(String str, boolean z, InterfaceC14894gbR<? super Boolean, C14866gag> interfaceC14894gbR, InterfaceC14894gbR<? super Throwable, C14866gag> interfaceC14894gbR2) {
int i2 = 2 % 2;
int i3 = i + 89;
h = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(str, "");
C14957gcv.e(interfaceC14894gbR, "");
C14957gcv.e(interfaceC14894gbR2, "");
aUR aur = this.b;
Object[] objArr = new Object[1];
k(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, (ViewConfiguration.getEdgeSlop() >> 16) + 127, objArr);
String intern = ((String) objArr[0]).intern();
if (!z) {
intern = null;
}
if (intern == null) {
int i5 = h + 77;
i = i5 % 128;
int i6 = i5 % 2;
Object[] objArr2 = new Object[1];
k(null, new byte[]{-126}, null, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 127, objArr2);
intern = ((String) objArr2[0]).intern();
int i7 = h + 13;
i = i7 % 128;
int i8 = i7 % 2;
}
aur.e(interfaceC14894gbR, interfaceC14894gbR2, new aUR.RVV(new C4856bi(str, intern)), this.a);
}
private static void k(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = e;
float f2 = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = 0;
while (i5 < length) {
int i6 = $10 + 75;
$11 = i6 % 128;
int i7 = i6 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getScrollFriction() > f2 ? 1 : (ViewConfiguration.getScrollFriction() == f2 ? 0 : -1)) + 4, (char) (ImageFormat.getBitsPerPixel(0) + 1));
byte b = (byte) 0;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
l(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i5++;
i3 = 2;
f2 = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(g)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 283, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (39813 - View.resolveSize(0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
l(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (f) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $11 + 107;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!j) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
c3614bBe.a++;
}
String str = new String(cArr5);
int i10 = $11 + 95;
$10 = i10 % 128;
if (i10 % 2 == 0) {
objArr[0] = str;
return;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i11 = $10 + 125;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((-16777176) - Color.rgb(0, 0, 0), 5 - KeyEvent.normalizeMetaState(0), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
objArr[0] = new String(cArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
static void b() {
e = new char[]{16046, 16045};
g = 1934311069;
j = true;
f = true;
}
static {
i = 0;
b();
new LWm((byte) 0);
int i2 = h + 117;
i = i2 % 128;
int i3 = i2 % 2;
}
}