861 lines
35 KiB
Java
861 lines
35 KiB
Java
|
package com.facetec.sdk;
|
|||
|
|
|||
|
import android.content.Context;
|
|||
|
import android.graphics.Color;
|
|||
|
import android.media.AudioTrack;
|
|||
|
import android.os.Process;
|
|||
|
import android.os.SystemClock;
|
|||
|
import android.telephony.cdma.CdmaCellLocation;
|
|||
|
import android.text.AndroidCharacter;
|
|||
|
import android.text.TextUtils;
|
|||
|
import android.util.TypedValue;
|
|||
|
import android.view.KeyEvent;
|
|||
|
import android.view.View;
|
|||
|
import android.view.ViewConfiguration;
|
|||
|
import android.widget.ExpandableListView;
|
|||
|
import com.facetec.sdk.h;
|
|||
|
import com.facetec.sdk.jy;
|
|||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|||
|
import com.huawei.hms.framework.common.hianalytics.CrashHianalyticsData;
|
|||
|
import java.io.File;
|
|||
|
import java.io.IOException;
|
|||
|
import java.lang.reflect.Method;
|
|||
|
import java.nio.charset.StandardCharsets;
|
|||
|
import java.util.ArrayList;
|
|||
|
import java.util.Arrays;
|
|||
|
import java.util.Collections;
|
|||
|
import java.util.Date;
|
|||
|
import java.util.List;
|
|||
|
import java.util.concurrent.Semaphore;
|
|||
|
import org.bouncycastle.i18n.LocalizedMessage;
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* loaded from: classes.dex */
|
|||
|
public class al {
|
|||
|
private static final byte[] $$a = null;
|
|||
|
private static final int $$b = 0;
|
|||
|
private static int $10;
|
|||
|
private static int $11;
|
|||
|
private static volatile boolean a;
|
|||
|
private static int b;
|
|||
|
private static boolean c;
|
|||
|
private static char[] d;
|
|||
|
private static final Semaphore e;
|
|||
|
private static int f;
|
|||
|
private static boolean g;
|
|||
|
private static boolean h;
|
|||
|
private static int i;
|
|||
|
private static int j;
|
|||
|
|
|||
|
/* 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: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 m(short r5, short r6, int r7, java.lang.Object[] r8) {
|
|||
|
/*
|
|||
|
int r6 = r6 << 2
|
|||
|
int r6 = 4 - r6
|
|||
|
int r5 = r5 * 3
|
|||
|
int r7 = 121 - r7
|
|||
|
byte[] r0 = com.facetec.sdk.al.$$a
|
|||
|
int r1 = 1 - r5
|
|||
|
byte[] r1 = new byte[r1]
|
|||
|
r2 = 0
|
|||
|
int r5 = 0 - r5
|
|||
|
if (r0 != 0) goto L16
|
|||
|
r3 = r5
|
|||
|
r4 = r2
|
|||
|
goto L28
|
|||
|
L16:
|
|||
|
r3 = r2
|
|||
|
L17:
|
|||
|
byte r4 = (byte) r7
|
|||
|
r1[r3] = r4
|
|||
|
int r4 = r3 + 1
|
|||
|
if (r3 != r5) goto L26
|
|||
|
java.lang.String r5 = new java.lang.String
|
|||
|
r5.<init>(r1, r2)
|
|||
|
r8[r2] = r5
|
|||
|
return
|
|||
|
L26:
|
|||
|
r3 = r0[r6]
|
|||
|
L28:
|
|||
|
int r7 = r7 + r3
|
|||
|
int r6 = r6 + 1
|
|||
|
r3 = r4
|
|||
|
goto L17
|
|||
|
*/
|
|||
|
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.al.m(short, short, int, java.lang.Object[]):void");
|
|||
|
}
|
|||
|
|
|||
|
al() {
|
|||
|
}
|
|||
|
|
|||
|
static /* synthetic */ void b(Context context, String str, long j2, String str2, String str3) {
|
|||
|
j = (i + 9) % 128;
|
|||
|
e(context, str, j2, str2, str3);
|
|||
|
j = (i + 47) % 128;
|
|||
|
}
|
|||
|
|
|||
|
static /* synthetic */ boolean e() {
|
|||
|
int i2 = j + 91;
|
|||
|
i = i2 % 128;
|
|||
|
if (i2 % 2 == 0) {
|
|||
|
return a;
|
|||
|
}
|
|||
|
throw null;
|
|||
|
}
|
|||
|
|
|||
|
static {
|
|||
|
init$0();
|
|||
|
$10 = 0;
|
|||
|
$11 = 1;
|
|||
|
i = 0;
|
|||
|
j = 1;
|
|||
|
c();
|
|||
|
int i2 = (i + 55) % 128;
|
|||
|
j = i2;
|
|||
|
i = (i2 + 9) % 128;
|
|||
|
c = true;
|
|||
|
e = new Semaphore(1);
|
|||
|
a = false;
|
|||
|
j = (i + 37) % 128;
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
public static void a(Context context, ap apVar) {
|
|||
|
int i2 = i + 49;
|
|||
|
j = i2 % 128;
|
|||
|
c(context, apVar, null);
|
|||
|
if (i2 % 2 == 0) {
|
|||
|
throw null;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
public static void c(final Context context, ap apVar, final Runnable runnable) {
|
|||
|
String str;
|
|||
|
int i2 = i + 125;
|
|||
|
j = i2 % 128;
|
|||
|
if (i2 % 2 != 0) {
|
|||
|
if (bf.b()) {
|
|||
|
final String c2 = bz.c(e(apVar));
|
|||
|
final long time = new Date().getTime();
|
|||
|
if (apVar.c()) {
|
|||
|
int i3 = i + 87;
|
|||
|
j = i3 % 128;
|
|||
|
if (i3 % 2 != 0) {
|
|||
|
str = cd.d;
|
|||
|
} else {
|
|||
|
String str2 = cd.d;
|
|||
|
throw null;
|
|||
|
}
|
|||
|
} else {
|
|||
|
str = null;
|
|||
|
}
|
|||
|
final String str3 = cd.b;
|
|||
|
if (bf.d == null) {
|
|||
|
int i4 = i + 89;
|
|||
|
j = i4 % 128;
|
|||
|
if (i4 % 2 == 0) {
|
|||
|
e(context, c2, time, str3, str);
|
|||
|
throw null;
|
|||
|
}
|
|||
|
e(context, c2, time, str3, str);
|
|||
|
}
|
|||
|
final boolean z = true;
|
|||
|
final String str4 = str;
|
|||
|
cy.c(new Runnable(context, c2, str3, str4, z, time, runnable) { // from class: com.facetec.sdk.al$$ExternalSyntheticLambda1
|
|||
|
public final Context f$0;
|
|||
|
public final String f$1;
|
|||
|
public final String f$2;
|
|||
|
public final String f$3;
|
|||
|
public final boolean f$4;
|
|||
|
public final long f$5;
|
|||
|
public final Runnable f$6;
|
|||
|
|
|||
|
@Override // java.lang.Runnable
|
|||
|
public final void run() {
|
|||
|
al.b(this.f$0, this.f$1, this.f$2, this.f$3, this.f$4, this.f$5, this.f$6);
|
|||
|
}
|
|||
|
|
|||
|
{
|
|||
|
this.f$0 = context;
|
|||
|
this.f$1 = c2;
|
|||
|
this.f$2 = str3;
|
|||
|
this.f$3 = str4;
|
|||
|
this.f$4 = z;
|
|||
|
this.f$5 = time;
|
|||
|
this.f$6 = runnable;
|
|||
|
}
|
|||
|
});
|
|||
|
return;
|
|||
|
}
|
|||
|
return;
|
|||
|
}
|
|||
|
bf.b();
|
|||
|
throw null;
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: private */
|
|||
|
public static /* synthetic */ void b(Context context, String str, String str2, String str3, boolean z, long j2, Runnable runnable) {
|
|||
|
ka e2 = ax.e(context);
|
|||
|
StringBuilder sb = new StringBuilder();
|
|||
|
Object[] objArr = new Object[1];
|
|||
|
k(127 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), null, null, "\u0086\u0092\u008b\u0088\u0084\u0084\u0091\u0084\u0086\u008c\u008b\u008b\u008a\u0086\u0090\u008f\u0086\u0088\u0083\u0087\u0086\u008c\u008b\u008e\u0089\u0081\u0082\u008d\u0087\u008c\u008b\u008b\u008a\u0089\u0088\u0083\u0087\u0086\u0086\u0085\u0084\u0083\u0082\u0082\u0081", objArr);
|
|||
|
sb.append(((String) objArr[0]).intern());
|
|||
|
sb.append(bf.d);
|
|||
|
String obj = sb.toString();
|
|||
|
jy.a aVar = new jy.a();
|
|||
|
Object[] objArr2 = new Object[1];
|
|||
|
k(ExpandableListView.getPackedPositionType(0L) + 127, null, null, "\u0091", objArr2);
|
|||
|
jy.a d2 = aVar.d(((String) objArr2[0]).intern(), str);
|
|||
|
Object[] objArr3 = new Object[1];
|
|||
|
l("↓\ufffe\f\f\u0002\b\u0007¬<EFBFBD><EFBFBD>\u0002\ufffa\u0000\u0007\b\f\r\u0002", false, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 10, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, KeyEvent.normalizeMetaState(0) + 202, objArr3);
|
|||
|
d2.d(((String) objArr3[0]).intern(), str2);
|
|||
|
if (str3 != null) {
|
|||
|
j = (i + 91) % 128;
|
|||
|
Object[] objArr4 = new Object[1];
|
|||
|
l("\u0003\ufffb\u0001\b\t\r\u000e\u0003<EFBFBD> ̄\ufffe\ufffe", false, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 10, 12 - View.MeasureSpec.getSize(0), 202 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr4);
|
|||
|
d2.d(((String) objArr4[0]).intern(), str3);
|
|||
|
}
|
|||
|
try {
|
|||
|
e2.c(h.c(context, obj).d(d2.a()).b()).a(new jm(z, context, str, j2, str2, str3, runnable) { // from class: com.facetec.sdk.al.4
|
|||
|
private boolean a;
|
|||
|
private String b;
|
|||
|
private long c;
|
|||
|
private String d;
|
|||
|
private Context e;
|
|||
|
private Runnable f;
|
|||
|
private String h;
|
|||
|
|
|||
|
{
|
|||
|
this.a = z;
|
|||
|
this.e = context;
|
|||
|
this.d = str;
|
|||
|
this.c = j2;
|
|||
|
this.b = str2;
|
|||
|
this.h = str3;
|
|||
|
this.f = runnable;
|
|||
|
}
|
|||
|
|
|||
|
@Override // com.facetec.sdk.jm
|
|||
|
public final void e() {
|
|||
|
if (this.a) {
|
|||
|
al.b(this.e, this.d, this.c, this.b, this.h);
|
|||
|
}
|
|||
|
Runnable runnable2 = this.f;
|
|||
|
if (runnable2 != null) {
|
|||
|
runnable2.run();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
@Override // com.facetec.sdk.jm
|
|||
|
public final void e(kh khVar) throws IOException {
|
|||
|
if (al.e()) {
|
|||
|
al.e(this.e);
|
|||
|
}
|
|||
|
}
|
|||
|
});
|
|||
|
int i2 = j + 67;
|
|||
|
i = i2 % 128;
|
|||
|
if (i2 % 2 != 0) {
|
|||
|
throw null;
|
|||
|
}
|
|||
|
} catch (h.d unused) {
|
|||
|
e(context, str, j2, str2, str3);
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
public static void e(Context context) {
|
|||
|
int i2 = j + 111;
|
|||
|
i = i2 % 128;
|
|||
|
if (i2 % 2 == 0) {
|
|||
|
final Context applicationContext = context.getApplicationContext();
|
|||
|
cy.c(new Runnable(applicationContext) { // from class: com.facetec.sdk.al$$ExternalSyntheticLambda0
|
|||
|
public final Context f$0;
|
|||
|
|
|||
|
@Override // java.lang.Runnable
|
|||
|
public final void run() {
|
|||
|
al.d(this.f$0);
|
|||
|
}
|
|||
|
|
|||
|
{
|
|||
|
this.f$0 = applicationContext;
|
|||
|
}
|
|||
|
});
|
|||
|
i = (j + 73) % 128;
|
|||
|
} else {
|
|||
|
final Context applicationContext2 = context.getApplicationContext();
|
|||
|
cy.c(new Runnable(applicationContext2) { // from class: com.facetec.sdk.al$$ExternalSyntheticLambda0
|
|||
|
public final Context f$0;
|
|||
|
|
|||
|
@Override // java.lang.Runnable
|
|||
|
public final void run() {
|
|||
|
al.d(this.f$0);
|
|||
|
}
|
|||
|
|
|||
|
{
|
|||
|
this.f$0 = applicationContext2;
|
|||
|
}
|
|||
|
});
|
|||
|
throw null;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: private */
|
|||
|
public static /* synthetic */ void d(Context context) {
|
|||
|
List<d> list;
|
|||
|
try {
|
|||
|
Semaphore semaphore = e;
|
|||
|
semaphore.acquire();
|
|||
|
list = d(context, Boolean.TRUE);
|
|||
|
semaphore.release();
|
|||
|
i = (j + 117) % 128;
|
|||
|
} catch (Exception unused) {
|
|||
|
e.release();
|
|||
|
list = null;
|
|||
|
} catch (Throwable th) {
|
|||
|
e.release();
|
|||
|
throw th;
|
|||
|
}
|
|||
|
if (list == null || list.isEmpty()) {
|
|||
|
return;
|
|||
|
}
|
|||
|
a(context, list);
|
|||
|
j = (i + 45) % 128;
|
|||
|
}
|
|||
|
|
|||
|
private static void a(Context context, List<d> list) {
|
|||
|
Object[] objArr = new Object[1];
|
|||
|
k(126 - TextUtils.lastIndexOf("", '0', 0, 0), null, null, "\u0091\u0092\u0088\u0094\u0093\u0093\u008b\u0086\u0092\u008b\u0088\u0084\u0084\u0091\u0084\u0086\u008c\u008b\u008b\u008a\u0086\u0090\u008f\u0086\u0088\u0083\u0087\u0086\u008c\u008b\u008e\u0089\u0081\u0082\u008d\u0087\u008c\u008b\u008b\u008a\u0089\u0088\u0083\u0087\u0086\u0086\u0085\u0084\u0083\u0082\u0082\u0081", objArr);
|
|||
|
try {
|
|||
|
ax.e(context).c(h.c(context, ((String) objArr[0]).intern(), list)).a(new jm() { // from class: com.facetec.sdk.al.5
|
|||
|
@Override // com.facetec.sdk.jm
|
|||
|
public final void e() {
|
|||
|
}
|
|||
|
|
|||
|
@Override // com.facetec.sdk.jm
|
|||
|
public final void e(kh khVar) throws IOException {
|
|||
|
}
|
|||
|
});
|
|||
|
i = (j + 51) % 128;
|
|||
|
} catch (h.d e2) {
|
|||
|
Color.argb(0, 0, 0, 0);
|
|||
|
KeyEvent.getModifierMetaStateMask();
|
|||
|
Color.green(0);
|
|||
|
e2.getMessage();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static void e(Context context, String str, long j2, String str2, String str3) {
|
|||
|
b(context, Collections.singletonList(new d(str, j2, str2, str3)));
|
|||
|
j = (i + 115) % 128;
|
|||
|
}
|
|||
|
|
|||
|
private static void b(Context context, List<d> list) {
|
|||
|
Semaphore semaphore;
|
|||
|
List<d> d2;
|
|||
|
int i2 = j + 45;
|
|||
|
i = i2 % 128;
|
|||
|
try {
|
|||
|
if (i2 % 2 != 0) {
|
|||
|
semaphore = e;
|
|||
|
semaphore.acquire();
|
|||
|
d2 = d(context, Boolean.FALSE);
|
|||
|
d2.addAll(list);
|
|||
|
} else {
|
|||
|
semaphore = e;
|
|||
|
semaphore.acquire();
|
|||
|
d2 = d(context, Boolean.FALSE);
|
|||
|
d2.addAll(list);
|
|||
|
}
|
|||
|
c(context, d2);
|
|||
|
a = true;
|
|||
|
semaphore.release();
|
|||
|
} catch (Exception unused) {
|
|||
|
e.release();
|
|||
|
} catch (Throwable th) {
|
|||
|
e.release();
|
|||
|
throw th;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static void c(Context context, List<d> list) throws Exception {
|
|||
|
String b2 = new dx().b(list);
|
|||
|
bh.d(new File(context.getCacheDir(), b()), c(context), b2.getBytes(StandardCharsets.UTF_8));
|
|||
|
int i2 = j + 59;
|
|||
|
i = i2 % 128;
|
|||
|
if (i2 % 2 != 0) {
|
|||
|
throw new ArithmeticException();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static List<d> d(Context context, Boolean bool) throws Exception {
|
|||
|
File file = new File(context.getCacheDir(), b());
|
|||
|
if (file.exists()) {
|
|||
|
d[] dVarArr = (d[]) new dx().d(new String(bh.a(file, c(context)), StandardCharsets.UTF_8), d[].class);
|
|||
|
if (bool.booleanValue()) {
|
|||
|
i = (j + 43) % 128;
|
|||
|
file.delete();
|
|||
|
a = false;
|
|||
|
i = (j + 23) % 128;
|
|||
|
}
|
|||
|
return new ArrayList(Arrays.asList(dVarArr));
|
|||
|
}
|
|||
|
return new ArrayList();
|
|||
|
}
|
|||
|
|
|||
|
private static String b() {
|
|||
|
i = (j + 13) % 128;
|
|||
|
Object[] objArr = new Object[1];
|
|||
|
l("○\uffd8\u000e\uffd9\n\u0007\u0015\u0017\u0017\"\n\u0013\u001d\ufff6\uffdf¢↑\ufff6\u000b\"\ufff5", true, 10 - KeyEvent.keyCodeFromString(""), 21 - View.resolveSizeAndState(0, 0, 0), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 188, objArr);
|
|||
|
String intern = ((String) objArr[0]).intern();
|
|||
|
j = (i + 121) % 128;
|
|||
|
return intern;
|
|||
|
}
|
|||
|
|
|||
|
private static byte[] c(Context context) throws Exception {
|
|||
|
byte[] a2;
|
|||
|
int i2 = j + 63;
|
|||
|
i = i2 % 128;
|
|||
|
if (i2 % 2 != 0) {
|
|||
|
byte[] e2 = c.e(context);
|
|||
|
Object[] objArr = new Object[1];
|
|||
|
k(27683 - TextUtils.lastIndexOf("", (char) 22), null, null, "\u0082\u0091\u0097\u008e\u0091\u0084\u0096\u0091\u0081\u008e\u0087\u008e\u0096\u0082\u0092\u0091\u008f\u0095", objArr);
|
|||
|
a2 = bl.a(e2, ((String) objArr[0]).intern());
|
|||
|
} else {
|
|||
|
byte[] e3 = c.e(context);
|
|||
|
Object[] objArr2 = new Object[1];
|
|||
|
k(TextUtils.lastIndexOf("", '0') + 128, null, null, "\u0082\u0091\u0097\u008e\u0091\u0084\u0096\u0091\u0081\u008e\u0087\u008e\u0096\u0082\u0092\u0091\u008f\u0095", objArr2);
|
|||
|
a2 = bl.a(e3, ((String) objArr2[0]).intern());
|
|||
|
}
|
|||
|
int i3 = i + 43;
|
|||
|
j = i3 % 128;
|
|||
|
if (i3 % 2 != 0) {
|
|||
|
return a2;
|
|||
|
}
|
|||
|
throw new ArithmeticException();
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* loaded from: classes.dex */
|
|||
|
public static class d {
|
|||
|
|
|||
|
@eo(a = "diagnosticSessionId")
|
|||
|
private String a;
|
|||
|
|
|||
|
@eo(a = "event")
|
|||
|
private String b;
|
|||
|
|
|||
|
@eo(a = "diagnosticId")
|
|||
|
private String c;
|
|||
|
|
|||
|
@eo(a = CrashHianalyticsData.TIME)
|
|||
|
private long e;
|
|||
|
|
|||
|
d(String str, long j, String str2, String str3) {
|
|||
|
this.b = str;
|
|||
|
this.e = j;
|
|||
|
this.a = str2;
|
|||
|
this.c = str3;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|||
|
/* renamed from: com.facetec.sdk.al$3, reason: invalid class name */
|
|||
|
/* loaded from: classes.dex */
|
|||
|
public static final /* synthetic */ class AnonymousClass3 {
|
|||
|
static final int[] d;
|
|||
|
|
|||
|
static {
|
|||
|
int[] iArr = new int[ap.values().length];
|
|||
|
d = iArr;
|
|||
|
try {
|
|||
|
iArr[ap.FT_EVENT_ENROLL_SESSION_START.ordinal()] = 1;
|
|||
|
} catch (NoSuchFieldError unused) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_MID_ENROLL_SESSION_GLASSES_SUCCESS.ordinal()] = 2;
|
|||
|
} catch (NoSuchFieldError unused2) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_ENROLL_SESSION_SUCCESS.ordinal()] = 3;
|
|||
|
} catch (NoSuchFieldError unused3) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_ENROLL_SESSION_FAIL.ordinal()] = 4;
|
|||
|
} catch (NoSuchFieldError unused4) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_ENROLL_SESSION_CANCEL.ordinal()] = 5;
|
|||
|
} catch (NoSuchFieldError unused5) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_VERIFY_SESSION_START.ordinal()] = 6;
|
|||
|
} catch (NoSuchFieldError unused6) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_VERIFY_SESSION_SUCCESS.ordinal()] = 7;
|
|||
|
} catch (NoSuchFieldError unused7) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_VERIFY_SESSION_FAIL.ordinal()] = 8;
|
|||
|
} catch (NoSuchFieldError unused8) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_VERIFY_SESSION_CANCEL.ordinal()] = 9;
|
|||
|
} catch (NoSuchFieldError unused9) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_AUTH_SESSION_START.ordinal()] = 10;
|
|||
|
} catch (NoSuchFieldError unused10) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_AUTH_SESSION_SUCCESS.ordinal()] = 11;
|
|||
|
} catch (NoSuchFieldError unused11) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_AUTH_SESSION_FAIL.ordinal()] = 12;
|
|||
|
} catch (NoSuchFieldError unused12) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_AUTH_SESSION_CANCEL.ordinal()] = 13;
|
|||
|
} catch (NoSuchFieldError unused13) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_DIAGNOSTIC_UPLOAD_FAIL.ordinal()] = 14;
|
|||
|
} catch (NoSuchFieldError unused14) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_FACESCAN_SESSION_SUCCESS.ordinal()] = 15;
|
|||
|
} catch (NoSuchFieldError unused15) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_PHOENIX_SESSION_FAIL.ordinal()] = 16;
|
|||
|
} catch (NoSuchFieldError unused16) {
|
|||
|
}
|
|||
|
try {
|
|||
|
d[ap.FT_EVENT_FACESCAN_SESSION_FAIL.ordinal()] = 17;
|
|||
|
} catch (NoSuchFieldError unused17) {
|
|||
|
}
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static String e(ap apVar) {
|
|||
|
j = (i + 29) % 128;
|
|||
|
switch (AnonymousClass3.d[apVar.ordinal()]) {
|
|||
|
case 1:
|
|||
|
Object[] objArr = new Object[1];
|
|||
|
l("\u0000", true, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 1, (ViewConfiguration.getLongPressTimeout() >> 16) + 1, 205 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr);
|
|||
|
String intern = ((String) objArr[0]).intern();
|
|||
|
j = (i + 91) % 128;
|
|||
|
return intern;
|
|||
|
case 2:
|
|||
|
Object[] objArr2 = new Object[1];
|
|||
|
k(View.resolveSize(0, 0) + 127, null, null, "\u008c", objArr2);
|
|||
|
return ((String) objArr2[0]).intern();
|
|||
|
case 3:
|
|||
|
Object[] objArr3 = new Object[1];
|
|||
|
l("\u0000", false, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 1, 1 - TextUtils.indexOf("", ""), 209 - View.resolveSize(0, 0), objArr3);
|
|||
|
return ((String) objArr3[0]).intern();
|
|||
|
case 4:
|
|||
|
Object[] objArr4 = new Object[1];
|
|||
|
k((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 127, null, null, "\u008b", objArr4);
|
|||
|
return ((String) objArr4[0]).intern();
|
|||
|
case 5:
|
|||
|
Object[] objArr5 = new Object[1];
|
|||
|
k(127 - (ViewConfiguration.getTouchSlop() >> 8), null, null, "\u0083", objArr5);
|
|||
|
return ((String) objArr5[0]).intern();
|
|||
|
case 6:
|
|||
|
Object[] objArr6 = new Object[1];
|
|||
|
k((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 127, null, null, "\u0084", objArr6);
|
|||
|
return ((String) objArr6[0]).intern();
|
|||
|
case 7:
|
|||
|
Object[] objArr7 = new Object[1];
|
|||
|
k((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 127, null, null, "\u0082", objArr7);
|
|||
|
return ((String) objArr7[0]).intern();
|
|||
|
case 8:
|
|||
|
Object[] objArr8 = new Object[1];
|
|||
|
k(Color.red(0) + 127, null, null, "\u008d", objArr8);
|
|||
|
return ((String) objArr8[0]).intern();
|
|||
|
case 9:
|
|||
|
Object[] objArr9 = new Object[1];
|
|||
|
k(127 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), null, null, "\u008f", objArr9);
|
|||
|
return ((String) objArr9[0]).intern();
|
|||
|
case 10:
|
|||
|
Object[] objArr10 = new Object[1];
|
|||
|
k((Process.myPid() >> 22) + 127, null, null, "\u0087", objArr10);
|
|||
|
return ((String) objArr10[0]).intern();
|
|||
|
case 11:
|
|||
|
Object[] objArr11 = new Object[1];
|
|||
|
k(128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), null, null, "\u0098", objArr11);
|
|||
|
return ((String) objArr11[0]).intern();
|
|||
|
case 12:
|
|||
|
Object[] objArr12 = new Object[1];
|
|||
|
l("\u0000", false, (ViewConfiguration.getTapTimeout() >> 16) + 1, 1 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), AndroidCharacter.getMirror('0') + 150, objArr12);
|
|||
|
return ((String) objArr12[0]).intern();
|
|||
|
case 13:
|
|||
|
Object[] objArr13 = new Object[1];
|
|||
|
l("\u0000", false, 1 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 1, (Process.myPid() >> 22) + 199, objArr13);
|
|||
|
return ((String) objArr13[0]).intern();
|
|||
|
case 14:
|
|||
|
Object[] objArr14 = new Object[1];
|
|||
|
k(127 - (KeyEvent.getMaxKeyCode() >> 16), null, null, "\u0099", objArr14);
|
|||
|
return ((String) objArr14[0]).intern();
|
|||
|
case 15:
|
|||
|
Object[] objArr15 = new Object[1];
|
|||
|
l("\u0000", false, -TextUtils.indexOf((CharSequence) "", '0', 0, 0), (ViewConfiguration.getScrollBarSize() >> 8) + 1, Color.blue(0) + 219, objArr15);
|
|||
|
return ((String) objArr15[0]).intern();
|
|||
|
case 16:
|
|||
|
Object[] objArr16 = new Object[1];
|
|||
|
l("\u0000", false, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 1 - KeyEvent.keyCodeFromString(""), 213 - KeyEvent.getDeadChar(0, 0), objArr16);
|
|||
|
return ((String) objArr16[0]).intern();
|
|||
|
case 17:
|
|||
|
Object[] objArr17 = new Object[1];
|
|||
|
k(ExpandableListView.getPackedPositionChild(0L) + 128, null, null, "\u008a", objArr17);
|
|||
|
return ((String) objArr17[0]).intern();
|
|||
|
default:
|
|||
|
if (!c) {
|
|||
|
throw new AssertionError();
|
|||
|
}
|
|||
|
Object[] objArr18 = new Object[1];
|
|||
|
k(TextUtils.indexOf("", "", 0) + 127, null, null, "\u0087\u0092", objArr18);
|
|||
|
return ((String) objArr18[0]).intern();
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static void k(int i2, String str, int[] iArr, String str2, Object[] objArr) {
|
|||
|
String str3 = str2;
|
|||
|
$10 = ($11 + 11) % 128;
|
|||
|
byte[] bArr = str3;
|
|||
|
if (str3 != null) {
|
|||
|
bArr = str3.getBytes(LocalizedMessage.DEFAULT_ENCODING);
|
|||
|
}
|
|||
|
byte[] bArr2 = bArr;
|
|||
|
char[] charArray = str != null ? str.toCharArray() : str;
|
|||
|
gi giVar = new gi();
|
|||
|
char[] cArr = d;
|
|||
|
float f2 = BitmapDescriptorFactory.HUE_RED;
|
|||
|
if (cArr != null) {
|
|||
|
int length = cArr.length;
|
|||
|
char[] cArr2 = new char[length];
|
|||
|
int i3 = 0;
|
|||
|
while (i3 < length) {
|
|||
|
$11 = ($10 + 29) % 128;
|
|||
|
try {
|
|||
|
Object[] objArr2 = {Integer.valueOf(cArr[i3])};
|
|||
|
Object obj = bo.s.get(1952646647);
|
|||
|
if (obj == null) {
|
|||
|
Class cls = (Class) bo.e(1091 - TextUtils.getTrimmedLength(""), (char) (2831 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), 23 - (TypedValue.complexToFraction(0, f2, f2) > f2 ? 1 : (TypedValue.complexToFraction(0, f2, f2) == f2 ? 0 : -1)));
|
|||
|
Object[] objArr3 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 9, objArr3);
|
|||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|||
|
bo.s.put(1952646647, obj);
|
|||
|
}
|
|||
|
cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|||
|
i3++;
|
|||
|
f2 = BitmapDescriptorFactory.HUE_RED;
|
|||
|
} catch (Throwable th) {
|
|||
|
Throwable cause = th.getCause();
|
|||
|
if (cause == null) {
|
|||
|
throw th;
|
|||
|
}
|
|||
|
throw cause;
|
|||
|
}
|
|||
|
}
|
|||
|
$11 = ($10 + 31) % 128;
|
|||
|
cArr = cArr2;
|
|||
|
}
|
|||
|
try {
|
|||
|
Object[] objArr4 = {Integer.valueOf(b)};
|
|||
|
Object obj2 = bo.s.get(-1943762483);
|
|||
|
if (obj2 == null) {
|
|||
|
Class cls2 = (Class) bo.e(1571 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (Color.red(0) + 11060), TextUtils.indexOf((CharSequence) "", '0') + 24);
|
|||
|
Object[] objArr5 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 2, objArr5);
|
|||
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
|||
|
bo.s.put(-1943762483, obj2);
|
|||
|
}
|
|||
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
|||
|
if (g) {
|
|||
|
giVar.d = bArr2.length;
|
|||
|
char[] cArr3 = new char[giVar.d];
|
|||
|
giVar.e = 0;
|
|||
|
while (giVar.e < giVar.d) {
|
|||
|
cArr3[giVar.e] = (char) (cArr[bArr2[(giVar.d - 1) - giVar.e] + i2] - intValue);
|
|||
|
try {
|
|||
|
Object[] objArr6 = {giVar, giVar};
|
|||
|
Object obj3 = bo.s.get(655191618);
|
|||
|
if (obj3 == null) {
|
|||
|
Class cls3 = (Class) bo.e(((Process.getThreadPriority(0) + 20) >> 6) + 218, (char) ((-1) - Process.getGidForName("")), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 23);
|
|||
|
Object[] objArr7 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 0, objArr7);
|
|||
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|||
|
bo.s.put(655191618, obj3);
|
|||
|
}
|
|||
|
((Method) obj3).invoke(null, objArr6);
|
|||
|
} catch (Throwable th2) {
|
|||
|
Throwable cause2 = th2.getCause();
|
|||
|
if (cause2 == null) {
|
|||
|
throw th2;
|
|||
|
}
|
|||
|
throw cause2;
|
|||
|
}
|
|||
|
}
|
|||
|
objArr[0] = new String(cArr3);
|
|||
|
return;
|
|||
|
}
|
|||
|
if (h) {
|
|||
|
int i4 = $11 + 9;
|
|||
|
$10 = i4 % 128;
|
|||
|
int i5 = i4 % 2;
|
|||
|
giVar.d = charArray.length;
|
|||
|
char[] cArr4 = new char[giVar.d];
|
|||
|
giVar.e = 0;
|
|||
|
while (giVar.e < giVar.d) {
|
|||
|
cArr4[giVar.e] = (char) (cArr[charArray[(giVar.d - 1) - giVar.e] - i2] - intValue);
|
|||
|
try {
|
|||
|
Object[] objArr8 = {giVar, giVar};
|
|||
|
Object obj4 = bo.s.get(655191618);
|
|||
|
if (obj4 == null) {
|
|||
|
Class cls4 = (Class) bo.e((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 218, (char) (ViewConfiguration.getEdgeSlop() >> 16), 23 - TextUtils.indexOf((CharSequence) "", '0', 0));
|
|||
|
Object[] objArr9 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 0, objArr9);
|
|||
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
|||
|
bo.s.put(655191618, obj4);
|
|||
|
}
|
|||
|
((Method) obj4).invoke(null, objArr8);
|
|||
|
} catch (Throwable th3) {
|
|||
|
Throwable cause3 = th3.getCause();
|
|||
|
if (cause3 == null) {
|
|||
|
throw th3;
|
|||
|
}
|
|||
|
throw cause3;
|
|||
|
}
|
|||
|
}
|
|||
|
objArr[0] = new String(cArr4);
|
|||
|
return;
|
|||
|
}
|
|||
|
giVar.d = iArr.length;
|
|||
|
char[] cArr5 = new char[giVar.d];
|
|||
|
int i6 = 0;
|
|||
|
while (true) {
|
|||
|
giVar.e = i6;
|
|||
|
if (giVar.e >= giVar.d) {
|
|||
|
objArr[0] = new String(cArr5);
|
|||
|
return;
|
|||
|
} else {
|
|||
|
cArr5[giVar.e] = (char) (cArr[iArr[(giVar.d - 1) - giVar.e] - i2] - intValue);
|
|||
|
i6 = giVar.e + 1;
|
|||
|
}
|
|||
|
}
|
|||
|
} catch (Throwable th4) {
|
|||
|
Throwable cause4 = th4.getCause();
|
|||
|
if (cause4 == null) {
|
|||
|
throw th4;
|
|||
|
}
|
|||
|
throw cause4;
|
|||
|
}
|
|||
|
}
|
|||
|
|
|||
|
private static void l(String str, boolean z, int i2, int i3, int i4, Object[] objArr) {
|
|||
|
char[] charArray = str != null ? str.toCharArray() : str;
|
|||
|
gq gqVar = new gq();
|
|||
|
char[] cArr = new char[i3];
|
|||
|
gqVar.a = 0;
|
|||
|
while (gqVar.a < i3) {
|
|||
|
$10 = ($11 + 75) % 128;
|
|||
|
gqVar.d = charArray[gqVar.a];
|
|||
|
cArr[gqVar.a] = (char) (i4 + gqVar.d);
|
|||
|
int i5 = gqVar.a;
|
|||
|
try {
|
|||
|
Object[] objArr2 = {Integer.valueOf(cArr[i5]), Integer.valueOf(f)};
|
|||
|
Object obj = bo.s.get(-354709869);
|
|||
|
if (obj == null) {
|
|||
|
obj = ((Class) bo.e(1758 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), Color.red(0) + 23)).getMethod("x", Integer.TYPE, Integer.TYPE);
|
|||
|
bo.s.put(-354709869, obj);
|
|||
|
}
|
|||
|
cArr[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|||
|
try {
|
|||
|
Object[] objArr3 = {gqVar, gqVar};
|
|||
|
Object obj2 = bo.s.get(-1900584905);
|
|||
|
if (obj2 == null) {
|
|||
|
Class cls = (Class) bo.e(1570 - (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) (11061 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), TextUtils.indexOf("", "", 0, 0) + 23);
|
|||
|
Object[] objArr4 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 3, objArr4);
|
|||
|
obj2 = cls.getMethod((String) objArr4[0], Object.class, Object.class);
|
|||
|
bo.s.put(-1900584905, obj2);
|
|||
|
}
|
|||
|
((Method) obj2).invoke(null, objArr3);
|
|||
|
} 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;
|
|||
|
}
|
|||
|
}
|
|||
|
if (i2 > 0) {
|
|||
|
$10 = ($11 + 23) % 128;
|
|||
|
gqVar.e = i2;
|
|||
|
char[] cArr2 = new char[i3];
|
|||
|
System.arraycopy(cArr, 0, cArr2, 0, i3);
|
|||
|
System.arraycopy(cArr2, 0, cArr, i3 - gqVar.e, gqVar.e);
|
|||
|
System.arraycopy(cArr2, gqVar.e, cArr, 0, i3 - gqVar.e);
|
|||
|
}
|
|||
|
if (z) {
|
|||
|
$10 = ($11 + 41) % 128;
|
|||
|
char[] cArr3 = new char[i3];
|
|||
|
gqVar.a = 0;
|
|||
|
while (gqVar.a < i3) {
|
|||
|
cArr3[gqVar.a] = cArr[(i3 - gqVar.a) - 1];
|
|||
|
try {
|
|||
|
Object[] objArr5 = {gqVar, gqVar};
|
|||
|
Object obj3 = bo.s.get(-1900584905);
|
|||
|
if (obj3 == null) {
|
|||
|
Class cls2 = (Class) bo.e(1569 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (11060 - ExpandableListView.getPackedPositionGroup(0L)), ExpandableListView.getPackedPositionType(0L) + 23);
|
|||
|
Object[] objArr6 = new Object[1];
|
|||
|
m((short) 0, (short) 0, 3, objArr6);
|
|||
|
obj3 = cls2.getMethod((String) objArr6[0], Object.class, Object.class);
|
|||
|
bo.s.put(-1900584905, obj3);
|
|||
|
}
|
|||
|
((Method) obj3).invoke(null, objArr5);
|
|||
|
} catch (Throwable th3) {
|
|||
|
Throwable cause3 = th3.getCause();
|
|||
|
if (cause3 == null) {
|
|||
|
throw th3;
|
|||
|
}
|
|||
|
throw cause3;
|
|||
|
}
|
|||
|
}
|
|||
|
cArr = cArr3;
|
|||
|
}
|
|||
|
objArr[0] = new String(cArr);
|
|||
|
}
|
|||
|
|
|||
|
static void init$0() {
|
|||
|
$$a = new byte[]{15, 35, -101, 56};
|
|||
|
$$b = 63;
|
|||
|
}
|
|||
|
|
|||
|
static void c() {
|
|||
|
b = -2056768752;
|
|||
|
h = true;
|
|||
|
d = new char[]{13192, 13188, 13184, 13191, 13150, 13123, 13169, 13193, 13122, 13214, 13187, 13197, 13189, 13175, 13210, 13121, 13173, 13186, 13194, 13196, 13141, 13104, 13190, 13174, 13209};
|
|||
|
g = true;
|
|||
|
f = 1540757253;
|
|||
|
}
|
|||
|
}
|