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

145 lines
5.3 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.graphics.PointF;
import android.os.Process;
import android.text.TextUtils;
import android.view.View;
import android.view.ViewConfiguration;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.gson.annotations.SerializedName;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
/* renamed from: o.cw, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public class C7847cw {
private static final byte[] $$a = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$b = 45;
private static int $10 = 0;
private static int $11 = 1;
private static long c = 5011553315860293731L;
@SerializedName("documentType")
private String a;
@SerializedName("laserCode")
private String b;
@SerializedName("photo")
private String d;
@SerializedName("issueDate")
private String e;
/* 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: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 g(int r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = 1 - r8
int r6 = r6 * 2
int r6 = 121 - r6
byte[] r1 = o.C7847cw.$$a
int r7 = r7 * 3
int r7 = r7 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L19
r3 = r7
r6 = r8
r4 = r2
goto L2f
L19:
r3 = r2
L1a:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2f:
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L1a
*/
throw new UnsupportedOperationException("Method not decompiled: o.C7847cw.g(int, byte, int, java.lang.Object[]):void");
}
public C7847cw(String str, String str2, String str3) {
this.d = str;
this.b = str2;
this.e = str3;
Object[] objArr = new Object[1];
f(new char[]{63504, 54700, 63520, 29915, 9493}, (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)), objArr);
this.a = ((String) objArr[0]).intern();
}
private static void f(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(c ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 1;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(c)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(207 - TextUtils.lastIndexOf("", '0', 0, 0), 5 - (Process.myPid() >> 22), (char) (1706 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b = (byte) ($$b & 3);
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
g(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - View.resolveSize(0, 0), (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
g(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 73;
$10 = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 3 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
}