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

336 lines
12 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.Color;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import okhttp3.internal.http2.Http2Connection;
/* loaded from: classes3.dex */
public final class tRa {
private final jOh b;
private static final byte[] $$a = {75, ISO7816.INS_UPDATE_RECORD, 11, 77};
private static final int $$b = 217;
private static int $10 = 0;
private static int $11 = 1;
private static int e = 0;
private static int c = 1;
private static long a = 1796761588021462342L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 f(short r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r0 = 1 - r5
int r6 = r6 * 2
int r6 = 4 - r6
int r7 = 78 - r7
byte[] r1 = o.tRa.$$a
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L16
r4 = r5
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r6]
L28:
int r4 = -r4
int r6 = r6 + 1
int r7 = r7 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.tRa.f(short, byte, int, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public tRa(jOh joh) {
C14957gcv.e(joh, "");
this.b = joh;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x006b, code lost:
if ((r10 instanceof java.util.Collection) == false) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x006d, code lost:
r4 = r10.size();
r5 = o.tRa.c + 125;
o.tRa.e = r5 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x007d, code lost:
if ((r5 % 2) == 0) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x007f, code lost:
r0 = 2 / 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0083, code lost:
r3 = new java.util.ArrayList(r4);
r10 = r10.iterator();
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0090, code lost:
if (r10.hasNext() == false) goto L23;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0092, code lost:
r3.add(o.jOh.b((o.BmF) r10.next()));
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x00a0, code lost:
r3 = r3;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0081, code lost:
r4 = 10;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0060, code lost:
if (r10 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x003a, code lost:
if (r10 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x00a3, code lost:
r3 = o.C14851gaI.c;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0062, code lost:
r10 = r10;
o.C14957gcv.e(r10, "");
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.XNX b(o.xMn r10) {
/*
r9 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.tRa.e
int r1 = r1 + 123
int r2 = r1 % 128
o.tRa.c = r2
int r1 = r1 % r0
r2 = 45491(0xb1b3, float:6.3746E-41)
r3 = 5809(0x16b1, float:8.14E-42)
r4 = 1
java.lang.String r5 = ""
r6 = 0
if (r1 != 0) goto L3d
o.C14957gcv.e(r10, r5)
java.lang.String r1 = r10.c
java.lang.String r7 = r10.d
char[] r8 = new char[r4]
r8[r6] = r3
int r3 = android.text.TextUtils.getCapsMode(r5, r6, r6)
int r2 = r2 >>> r3
java.lang.Object[] r3 = new java.lang.Object[r4]
d(r8, r2, r3)
r2 = r3[r6]
java.lang.String r2 = (java.lang.String) r2
java.lang.String r2 = r2.intern()
boolean r2 = o.C14957gcv.b(r7, r2)
java.util.List<o.BmF> r10 = r10.a
if (r10 == 0) goto La3
goto L62
L3d:
o.C14957gcv.e(r10, r5)
java.lang.String r1 = r10.c
java.lang.String r7 = r10.d
char[] r8 = new char[r4]
r8[r6] = r3
int r3 = android.text.TextUtils.getCapsMode(r5, r6, r6)
int r3 = r3 + r2
java.lang.Object[] r2 = new java.lang.Object[r4]
d(r8, r3, r2)
r2 = r2[r6]
java.lang.String r2 = (java.lang.String) r2
java.lang.String r2 = r2.intern()
boolean r2 = o.C14957gcv.b(r7, r2)
java.util.List<o.BmF> r10 = r10.a
if (r10 == 0) goto La3
L62:
java.lang.Iterable r10 = (java.lang.Iterable) r10
java.util.ArrayList r3 = new java.util.ArrayList
o.C14957gcv.e(r10, r5)
boolean r4 = r10 instanceof java.util.Collection
if (r4 == 0) goto L81
r4 = r10
java.util.Collection r4 = (java.util.Collection) r4
int r4 = r4.size()
int r5 = o.tRa.c
int r5 = r5 + 125
int r6 = r5 % 128
o.tRa.e = r6
int r5 = r5 % r0
if (r5 == 0) goto L83
int r0 = r0 / r0
goto L83
L81:
r4 = 10
L83:
r3.<init>(r4)
java.util.Collection r3 = (java.util.Collection) r3
java.util.Iterator r10 = r10.iterator()
L8c:
boolean r0 = r10.hasNext()
if (r0 == 0) goto La0
java.lang.Object r0 = r10.next()
o.BmF r0 = (o.BmF) r0
o.ZQZ r0 = o.jOh.b(r0)
r3.add(r0)
goto L8c
La0:
java.util.List r3 = (java.util.List) r3
goto La8
La3:
o.gaI r10 = o.C14851gaI.c
r3 = r10
java.util.List r3 = (java.util.List) r3
La8:
o.XNX r10 = new o.XNX
r10.<init>(r1, r2, r3)
return r10
*/
throw new UnsupportedOperationException("Method not decompiled: o.tRa.b(o.xMn):o.XNX");
}
private static void d(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.green(0) + 402, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (21608 - KeyEvent.normalizeMetaState(0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
f(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (a ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((-16776978) - Color.rgb(0, 0, 0), (Process.myPid() >> 22) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
f(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i4 = $11 + 7;
$10 = i4 % 128;
int i5 = i4 % 2;
while (c4593bdB.e < cArr.length) {
int i6 = $10 + 13;
$11 = i6 % 128;
if (i6 % 2 == 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.alpha(0) + 238, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
f(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = 47 / 0;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} else {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.alpha(0) + 238, 5 - Color.argb(0, 0, 0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
f(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
}
objArr[0] = new String(cArr2);
}
}