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

345 lines
13 KiB
Java

package o;
import android.os.Process;
import android.os.SystemClock;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes3.dex */
public final class MLN extends wRi {
private static char[] a;
private static char c;
private static int e;
private static final byte[] $$a = {85, 123, 51, ISO7816.INS_READ_RECORD2};
private static final int $$b = 85;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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 r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 3
int r0 = 1 - r8
int r6 = 120 - r6
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r1 = o.MLN.$$a
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L17
r6 = r7
r3 = r8
r4 = r2
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r3 = r1[r7]
r5 = r7
r7 = r6
r6 = r5
L2c:
int r3 = -r3
int r7 = r7 + r3
int r6 = r6 + 1
r3 = r4
r5 = r7
r7 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.MLN.j(short, byte, int, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public MLN(yRw yrw, yRw yrw2) {
super(yrw, yrw2);
C14957gcv.e(yrw, "");
C14957gcv.e(yrw2, "");
}
public static String e(List<C14569fvg> list, int i) {
int i2 = 2 % 2;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList();
Iterator<T> it = list.iterator();
while (true) {
Object obj = null;
if (!it.hasNext()) {
ArrayList arrayList2 = new ArrayList();
Iterator it2 = arrayList.iterator();
while (it2.hasNext()) {
C14881gav.d(arrayList2, ((C14569fvg) it2.next()).e.get(0).c);
}
ArrayList arrayList3 = new ArrayList();
for (Object obj2 : arrayList2) {
if (((slh) obj2).d) {
int i3 = b + 15;
e = i3 % 128;
int i4 = i3 % 2;
arrayList3.add(obj2);
}
}
ArrayList arrayList4 = arrayList3;
C14957gcv.e(arrayList4, "");
ArrayList arrayList5 = new ArrayList(arrayList4.size());
Iterator it3 = arrayList4.iterator();
while (it3.hasNext()) {
int i5 = e + 109;
b = i5 % 128;
int i6 = i5 % 2;
arrayList5.add(((slh) it3.next()).a);
}
ArrayList arrayList6 = arrayList5;
C14957gcv.e(arrayList6, "");
if (arrayList6.isEmpty()) {
int i7 = e + 79;
b = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
} else {
obj = arrayList6.get(0);
}
String str = (String) obj;
if (str != null) {
return str;
}
int i8 = e + 83;
b = i8 % 128;
int i9 = i8 % 2;
Object[] objArr = new Object[1];
g(1 - (ViewConfiguration.getTapTimeout() >> 16), new char[]{13772}, (byte) (KeyEvent.normalizeMetaState(0) + 34), objArr);
String intern = ((String) objArr[0]).intern();
int i10 = e + 29;
b = i10 % 128;
int i11 = i10 % 2;
return intern;
}
int i12 = b + 1;
e = i12 % 128;
if (i12 % 2 == 0) {
int i13 = ((C14569fvg) it.next()).a;
obj.hashCode();
throw null;
}
Object next = it.next();
if (((C14569fvg) next).a == i) {
arrayList.add(next);
}
}
}
/* loaded from: classes3.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void g(int i, char[] cArr, byte b2, Object[] objArr) {
int i2;
Object obj;
char c2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = a;
Object obj2 = null;
int i4 = 3;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 297, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + i5, (char) View.MeasureSpec.getSize(0));
byte b3 = (byte) i4;
byte b4 = (byte) (b3 - 3);
Object[] objArr3 = new Object[1];
j(b3, b4, b4, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i6] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i6++;
i4 = 3;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(c)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(298 - (Process.myPid() >> 22), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) View.resolveSize(0, 0));
byte b5 = (byte) 3;
byte b6 = (byte) (b5 - 3);
Object[] objArr5 = new Object[1];
j(b5, b6, b6, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
int i7 = $11 + 17;
$10 = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 2 % 4;
}
} else {
i2 = i;
}
if (i2 > 1) {
char c3 = 11;
int i9 = $11 + 11;
$10 = i9 % 128;
int i10 = i9 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
c2 = c3;
obj = obj2;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[c3] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[5] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 233, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (KeyEvent.keyCodeFromString("") + 22024));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr7 = new Object[1];
j(b7, b8, b8, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
int i11 = $10 + 75;
$11 = i11 % 128;
int i12 = i11 % 2;
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 != null) {
c2 = 11;
} else {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16));
byte b9 = (byte) 2;
byte b10 = (byte) (b9 - 2);
Object[] objArr9 = new Object[1];
j(b9, b10, b10, objArr9);
c2 = 11;
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i13];
} else {
obj = null;
c2 = 11;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
obj2 = obj;
c3 = c2;
}
}
int i18 = $10 + 109;
$11 = i18 % 128;
int i19 = i18 % 2;
for (int i20 = 0; i20 < i; i20++) {
cArr4[i20] = (char) (cArr4[i20] ^ 13722);
}
objArr[0] = new String(cArr4);
}
static void c() {
a = new char[]{49027};
c = (char) 35368;
}
static {
e = 1;
c();
new LWm((byte) 0);
int i = b + 57;
e = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}