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

691 lines
29 KiB
Java

package com.facetec.sdk;
import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.content.res.Configuration;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import java.lang.reflect.Method;
import o.dQY;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes.dex */
public final class FaceTecSessionActivity extends bg {
static FaceTecFaceScanProcessor e;
static FaceTecIDScanProcessor i;
private static final byte[] $$a = {45, 6, -13, -19};
private static final int $$b = 10;
private static int $10 = 0;
private static int $11 = 1;
private static int C = 0;
private static int D = 1;
private static int x = 2015661583;
private static char[] w = {36799, 7717, 44187, 15121, 51598, 26794, 63778, 19379, 56403, 11920, 48958, 425, 37400, 58505, 30044, 50981, 10720, 47616, 3279, 40300, 61425, 28697, 49862, 21333, 42281, 14256, 38921, 60110, 31584, 52653, 24179, 41108, 12628, 33648, 5556, 26203, 51352, 22890, 44000, 15487, 36544, 7941, 24952, 62445, 17499, 54937, 10001, 35310, 6772, 27792, 64853, 20346, 53693, 17662, 54631, 26595, 61507, 719, 12012, 48998, 3495, 39447, 26837, 63862, 18409, 54363, 41684, 13121, 33077, 28662, 64579, 19090, 56185, 43497, 13912, 34006, 5464, 58210, 29171, 56906, 44254, 15718, 35819, 6196, 59095, 30482, 50486, 21498, 8270, 36494, 8061, 60914, 31332, 51334, 36787, 7730, 44202, 15114, 51589, 22653, 59106, 29982, 963, 37468, 8238, 52966, 23867, 60295, 31330, 2281, 38724, 9685, 46170, 16929, 53406, 32540, 3476, 40053, 10979, 47464, 36785, 7721, 44220, 15114, 51599, 22650, 59122, 30065, 978, 37468, 8242, 52897, 23833, 60293, 31330, 2281, 38749, 9682};
private static long v = -67383587054215588L;
/* 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:0x002b). 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 aY(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 3
int r9 = 1 - r9
int r7 = 106 - r7
byte[] r0 = com.facetec.sdk.FaceTecSessionActivity.$$a
int r8 = r8 * 2
int r8 = 3 - r8
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
int r8 = r8 + 1
if (r4 != r9) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2b:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.FaceTecSessionActivity.aY(int, short, short, java.lang.Object[]):void");
}
@Override // com.facetec.sdk.bg, android.app.Activity
public final /* bridge */ /* synthetic */ void onBackPressed() {
int i2 = 2 % 2;
int i3 = D + 37;
C = i3 % 128;
int i4 = i3 % 2;
super.onBackPressed();
int i5 = C + 19;
D = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.facetec.sdk.be, android.app.Activity, android.content.ComponentCallbacks
public final /* synthetic */ void onConfigurationChanged(Configuration configuration) {
int i2 = 2 % 2;
int i3 = C + 47;
D = i3 % 128;
int i4 = i3 % 2;
super.onConfigurationChanged(configuration);
if (i4 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.facetec.sdk.bg, android.app.Activity
public final /* bridge */ /* synthetic */ void onNewIntent(Intent intent) {
int i2 = 2 % 2;
int i3 = D + 83;
C = i3 % 128;
int i4 = i3 % 2;
super.onNewIntent(intent);
if (i4 != 0) {
int i5 = 77 / 0;
}
}
@Override // com.facetec.sdk.bg, android.app.Activity
public final /* bridge */ /* synthetic */ void onRequestPermissionsResult(int i2, String[] strArr, int[] iArr) {
int i3 = 2 % 2;
int i4 = C + 101;
D = i4 % 128;
int i5 = i4 % 2;
super.onRequestPermissionsResult(i2, strArr, iArr);
int i6 = C + 25;
D = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.facetec.sdk.bg, android.app.Activity, android.view.Window.Callback
public final /* bridge */ /* synthetic */ void onWindowFocusChanged(boolean z) {
int i2 = 2 % 2;
int i3 = D + 41;
C = i3 % 128;
int i4 = i3 % 2;
super.onWindowFocusChanged(z);
if (i4 != 0) {
throw null;
}
}
@Override // com.facetec.sdk.bg, com.facetec.sdk.cs.e
public final /* bridge */ /* synthetic */ void p() {
int i2 = 2 % 2;
int i3 = C + 85;
D = i3 % 128;
int i4 = i3 % 2;
super.p();
int i5 = D + 71;
C = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public static void createAndLaunchSession(Context context, FaceTecFaceScanProcessor faceTecFaceScanProcessor) {
int i2 = 2 % 2;
int i3 = C + 81;
D = i3 % 128;
int i4 = i3 % 2;
createAndLaunchSession(context, faceTecFaceScanProcessor, null, "");
int i5 = D + 73;
C = i5 % 128;
int i6 = i5 % 2;
}
public static void createAndLaunchSession(Context context, FaceTecFaceScanProcessor faceTecFaceScanProcessor, String str) {
int i2 = 2 % 2;
int i3 = C + 17;
D = i3 % 128;
int i4 = i3 % 2;
createAndLaunchSession(context, faceTecFaceScanProcessor, null, str);
int i5 = D + 123;
C = i5 % 128;
int i6 = i5 % 2;
}
private static void aX(char c, int i2, int i3, Object[] objArr) {
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i3];
dqy.a = 0;
while (dqy.a < i3) {
int i5 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(w[i2 + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 307, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 32796));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aY((byte) ($$b - 2), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(v), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - KeyEvent.keyCodeFromString(""), 5 - View.resolveSize(0, 0), (char) Color.red(0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aY((byte) ($$b - 3), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i5] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (29233 - ImageFormat.getBitsPerPixel(0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aY(b3, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
char[] cArr = new char[i3];
dqy.a = 0;
int i6 = $11 + 119;
$10 = i6 % 128;
int i7 = i6 % 2;
while (dqy.a < i3) {
int i8 = $11 + 107;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(406 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - Drawable.resolveOpacity(0, 0), (char) (ExpandableListView.getPackedPositionType(0L) + 29234));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr9 = new Object[1];
aY(b5, b6, b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr);
}
public static void createAndLaunchSession(Context context, FaceTecFaceScanProcessor faceTecFaceScanProcessor, FaceTecIDScanProcessor faceTecIDScanProcessor) {
int i2 = 2 % 2;
int i3 = D + 49;
C = i3 % 128;
int i4 = i3 % 2;
createAndLaunchSession(context, faceTecFaceScanProcessor, faceTecIDScanProcessor, "");
if (i4 != 0) {
throw null;
}
int i5 = D + 5;
C = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public static void createAndLaunchSession(Context context, FaceTecFaceScanProcessor faceTecFaceScanProcessor, FaceTecIDScanProcessor faceTecIDScanProcessor, String str) {
int i2 = 2 % 2;
bf.f();
Intent intent = new Intent(context, (Class<?>) FaceTecSessionActivity.class);
if (str != null) {
int i3 = D + 5;
C = i3 % 128;
if (i3 % 2 != 0) {
intent.putExtra("zoom.serverSessionToken", str);
throw null;
}
intent.putExtra("zoom.serverSessionToken", str);
int i4 = D + 15;
C = i4 % 128;
int i5 = i4 % 2;
}
e = faceTecFaceScanProcessor;
i = faceTecIDScanProcessor;
((Activity) context).startActivityForResult(intent, 1002);
}
private static void aW(int i2, boolean z, int i3, int i4, char[] cArr, Object[] objArr) {
int i5 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i2];
zui.d = 0;
while (zui.d < i2) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i4 + zui.c);
int i6 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6]), Integer.valueOf(x)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.alpha(0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 6 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) TextUtils.getCapsMode("", 0, 0));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aY((byte) 37, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - View.MeasureSpec.getMode(0), 5 - View.getDefaultSize(0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aY((byte) ($$b | 20), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, 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;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i2];
System.arraycopy(cArr2, 0, cArr3, 0, i2);
System.arraycopy(cArr3, 0, cArr2, i2 - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i2 - zui.a);
}
if (z) {
char[] cArr4 = new char[i2];
zui.d = 0;
while (zui.d < i2) {
cArr4[zui.d] = cArr2[(i2 - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - Drawable.resolveOpacity(0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aY((byte) ($$b | 20), b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $10 + 3;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr2 = cArr4;
}
String str = new String(cArr2);
int i9 = $10 + 57;
$11 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
public static void createAndLaunchSession(Context context, FaceTecIDScanProcessor faceTecIDScanProcessor, String str) {
int i2 = 2 % 2;
bf.f();
Intent intent = new Intent(context, (Class<?>) FaceTecSessionActivity.class);
Object obj = null;
if (str != null) {
int i3 = D + 59;
C = i3 % 128;
if (i3 % 2 != 0) {
intent.putExtra("zoom.serverSessionToken", str);
throw null;
}
intent.putExtra("zoom.serverSessionToken", str);
}
e = null;
i = faceTecIDScanProcessor;
intent.putExtra("facetec.idScanOnlyMode", true);
((Activity) context).startActivityForResult(intent, 1002);
int i4 = D + 23;
C = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public static FaceTecSessionResult getSessionResultFromActivityResult(Intent intent) {
int i2 = 2 % 2;
if (intent != null) {
int i3 = D + 93;
C = i3 % 128;
int i4 = i3 % 2;
return (FaceTecSessionResult) intent.getParcelableExtra(FaceTecSDK.EXTRA_SESSION_RESULTS);
}
int i5 = D + 77;
C = i5 % 128;
int i6 = i5 % 2;
return null;
}
public static FaceTecIDScanResult getIDScanResultFromActivityResult(Intent intent) {
int i2 = 2 % 2;
int i3 = D;
int i4 = i3 + 49;
int i5 = i4 % 128;
C = i5;
int i6 = i4 % 2;
Object obj = null;
if (intent == null) {
int i7 = i5 + 21;
D = i7 % 128;
if (i7 % 2 != 0) {
return null;
}
throw null;
}
int i8 = i3 + 29;
C = i8 % 128;
int i9 = i8 % 2;
FaceTecIDScanResult faceTecIDScanResult = (FaceTecIDScanResult) intent.getParcelableExtra(FaceTecSDK.EXTRA_ID_SCAN_RESULTS);
if (i9 == 0) {
return faceTecIDScanResult;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0081, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void attachBaseContext(android.content.Context r19) {
/*
Method dump skipped, instructions count: 848
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.FaceTecSessionActivity.attachBaseContext(android.content.Context):void");
}
/* JADX INFO: Access modifiers changed from: protected */
/* JADX WARN: Code restructure failed: missing block: B:4:0x00b6, code lost:
if (r6 > 99999) goto L6;
*/
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r20) {
/*
Method dump skipped, instructions count: 1406
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.facetec.sdk.FaceTecSessionActivity.onCreate(android.os.Bundle):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.app.Activity
public final void onPause() {
int i2 = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aX((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_sym_shortcut_label).substring(0, 4).length() - 4), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 81, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_document_description_mhmc).substring(65, 66).codePointAt(0) - 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aX((char) ((-1) - MotionEvent.axisFromString("")), 120 - (Process.myTid() >> 22), TextUtils.lastIndexOf("", '0', 0, 0) + 19, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = C + 107;
D = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = C + 77;
D = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = D + 75;
C = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), Color.alpha(0) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i9 = C + 29;
D = i9 % 128;
if (i9 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.app.Activity
public final void onResume() {
int i2 = 2 % 2;
int i3 = C + 9;
D = i3 % 128;
int i4 = i3 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aX((char) KeyEvent.normalizeMetaState(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.cardless_atm_cardx_rebrand_description).substring(22, 23).length() + 93, (ViewConfiguration.getEdgeSlop() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aX((char) TextUtils.indexOf("", ""), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_prepend_shortcut_label).substring(4, 5).codePointAt(0) + 77, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = C + 103;
D = i5 % 128;
if (i5 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 487, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = C + 107;
D = i6 % 128;
if (i6 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.app.Activity
public final void onStart() {
int i2 = 2 % 2;
int i3 = D + 89;
C = i3 % 128;
int i4 = i3 % 2;
super.onStart();
int i5 = D + 75;
C = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.view.ContextThemeWrapper, android.content.ContextWrapper, android.content.Context
public final Resources getResources() {
int i2 = 2 % 2;
int i3 = C + 117;
D = i3 % 128;
if (i3 % 2 != 0) {
return super.getResources();
}
super.getResources();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.content.ContextWrapper
public final Context getBaseContext() {
int i2 = 2 % 2;
int i3 = D + 69;
C = i3 % 128;
int i4 = i3 % 2;
Context baseContext = super.getBaseContext();
if (i4 != 0) {
int i5 = 58 / 0;
}
return baseContext;
}
@Override // com.facetec.sdk.bg, com.facetec.sdk.be, android.content.ContextWrapper, android.content.Context
public final Context getApplicationContext() {
int i2 = 2 % 2;
int i3 = D + 13;
C = i3 % 128;
int i4 = i3 % 2;
Context applicationContext = super.getApplicationContext();
int i5 = D + 45;
C = i5 % 128;
int i6 = i5 % 2;
return applicationContext;
}
}