what-the-bank/sources/com/facetec/sdk/kl.java

144 lines
5.5 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.facetec.sdk;
import com.google.common.base.Ascii;
import net.sf.scuba.smartcards.ISO7816;
/* loaded from: classes.dex */
public abstract class kl implements Runnable {
private String e;
private static final byte[] d = {114, ISO7816.INS_READ_BINARY_STAMPED, Ascii.DC4, -27, -16, 5, 2, 15, -7, -4, ISO7816.INS_MSE, -18, -8, 15, 6, -1, 11, -19, Ascii.ETB, 53, -60, 13, -11, 9, 59, ISO7816.INS_UPDATE_RECORD, -18, -8, 15, 6, -1};
private static final int b = 198;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 f(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 7
int r5 = 106 - r5
int r6 = r6 * 12
int r6 = 15 - r6
byte[] r0 = com.facetec.sdk.kl.d
int r7 = r7 * 3
int r1 = r7 + 13
byte[] r1 = new byte[r1]
int r7 = r7 + 12
r2 = 0
if (r0 != 0) goto L18
r4 = r7
r3 = r2
goto L2c
L18:
r3 = r2
L19:
int r6 = r6 + 1
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L28
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L28:
r4 = r0[r6]
int r3 = r3 + 1
L2c:
int r5 = r5 - r4
int r5 = r5 + 2
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.kl.f(short, short, short, java.lang.Object[]):void");
}
protected abstract void a();
public kl(String str, Object... objArr) {
this.e = km.a(str, objArr);
}
@Override // java.lang.Runnable
public final void run() {
try {
byte[] bArr = d;
byte b2 = bArr[15];
byte b3 = (byte) (b2 + 1);
Object[] objArr = new Object[1];
f(b3, b3, (byte) (-b2), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
byte b4 = (byte) (-bArr[15]);
byte b5 = b4;
Object[] objArr2 = new Object[1];
f(b4, b5, (byte) (b5 - 1), objArr2);
String name = ((Thread) cls.getMethod((String) objArr2[0], null).invoke(null, null)).getName();
try {
byte b6 = bArr[15];
byte b7 = (byte) (b6 + 1);
Object[] objArr3 = new Object[1];
f(b7, b7, (byte) (-b6), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
byte b8 = (byte) (-bArr[15]);
byte b9 = b8;
Object[] objArr4 = new Object[1];
f(b8, b9, (byte) (b9 - 1), objArr4);
((Thread) cls2.getMethod((String) objArr4[0], null).invoke(null, null)).setName(this.e);
try {
a();
try {
byte b10 = bArr[15];
byte b11 = (byte) (b10 + 1);
Object[] objArr5 = new Object[1];
f(b11, b11, (byte) (-b10), objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
byte b12 = (byte) (-bArr[15]);
byte b13 = b12;
Object[] objArr6 = new Object[1];
f(b12, b13, (byte) (b13 - 1), objArr6);
((Thread) cls3.getMethod((String) objArr6[0], null).invoke(null, null)).setName(name);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
try {
byte b14 = (byte) (d[15] + 1);
Object[] objArr7 = new Object[1];
f(b14, b14, (byte) (-d[15]), objArr7);
Class<?> cls4 = Class.forName((String) objArr7[0]);
byte b15 = (byte) (-d[15]);
byte b16 = b15;
Object[] objArr8 = new Object[1];
f(b15, b16, (byte) (b16 - 1), objArr8);
((Thread) cls4.getMethod((String) objArr8[0], null).invoke(null, null)).setName(name);
throw th2;
} catch (Throwable th3) {
Throwable cause2 = th3.getCause();
if (cause2 == null) {
throw th3;
}
throw cause2;
}
}
} catch (Throwable th4) {
Throwable cause3 = th4.getCause();
if (cause3 == null) {
throw th4;
}
throw cause3;
}
} catch (Throwable th5) {
Throwable cause4 = th5.getCause();
if (cause4 == null) {
throw th5;
}
throw cause4;
}
}
}