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

258 lines
9.9 KiB
Java

package o;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
/* renamed from: o.ax, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C3412ax {
private static char[] a;
private static boolean c;
private static int d;
private static boolean e;
private static int f;
@SerializedName("loginModuleId")
private String b;
private static final byte[] $$a = {85, -17, 4, -90};
private static final int $$b = 48;
private static int $10 = 0;
private static int $11 = 1;
private static int g = 0;
/* 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 i(int r5, int r6, byte r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
int r6 = r6 * 57
int r6 = r6 + 65
int r5 = r5 * 2
int r0 = 1 - r5
byte[] r1 = o.C3412ax.$$a
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L18
r4 = r5
r3 = r2
goto L2a
L18:
r3 = r2
L19:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r5) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L26:
r4 = r1[r7]
int r3 = r3 + 1
L2a:
int r4 = -r4
int r6 = r6 + r4
int r7 = r7 + 1
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: o.C3412ax.i(int, int, byte, java.lang.Object[]):void");
}
public C3412ax() {
Object[] objArr = new Object[1];
h(null, new byte[]{-120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, null, KeyEvent.keyCodeFromString("") + 127, objArr);
this.b = ((String) objArr[0]).intern();
}
public C3412ax(String str) {
C14957gcv.e(str, "");
this.b = str;
}
/* renamed from: o.ax$LWm */
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void h(char[] cArr, byte[] bArr, int[] iArr, int i, Object[] objArr) {
Object method;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = a;
int i3 = 0;
if (cArr2 != null) {
int i4 = $10 + 31;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getPressedStateDuration() >> 16), Process.getGidForName("") + 6, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
i(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(d)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777499, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 39813));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
i(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (c) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i7 = $11 + 111;
$10 = i7 % 128;
if (i7 % 2 != 0) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) / c3614bBe.a] / i] / intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (Process.myTid() >> 22), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
} else {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 40, 5 - (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)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
}
objArr[0] = new String(cArr4);
return;
}
if (e) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 != null) {
method = obj5;
} else {
method = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 40, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, method);
}
((Method) method).invoke(null, objArr8);
int i8 = $10 + 87;
$11 = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr5);
return;
}
int i10 = 0;
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i10;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i10 = c3614bBe.a + 1;
}
}
}
static void b() {
a = new char[]{16120, 16071, 16127, 15889, 16100, 15899, 15902, 16103};
d = 1934311042;
e = true;
c = true;
}
public final String c() {
int i = 2 % 2;
int i2 = f + 69;
int i3 = i2 % 128;
g = i3;
int i4 = i2 % 2;
String str = this.b;
int i5 = i3 + 5;
f = i5 % 128;
int i6 = i5 % 2;
return str;
}
static {
f = 1;
b();
new LWm((byte) 0);
int i = g + 65;
f = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}