package com.kofax.mobile.sdk.capture.check; import android.app.Activity; import android.content.Context; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Bundle; 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.Gravity; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.kmc.ken.engines.data.CheckSide; import com.kofax.mobile.sdk._internal.dagger.Injector; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.kofax.mobile.sdk.capture.IImageStorage; import com.kofax.mobile.sdk.capture.WorkflowActivity; import com.kofax.mobile.sdk.capture.model.CaptureData; import com.kofax.mobile.sdk.capture.model.Check; import com.kofax.mobile.sdk.capture.model.CheckIQAData; import com.kofax.mobile.sdk.capture.model.CheckUsabilityData; import com.kofax.mobile.sdk.capture.model.Field; import com.kofax.mobile.sdk.capture.parameter.IParameters; import com.pingan.ai.p; import com.scb.phone.R; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import o.InterfaceC13390fZB; import o.InterfaceC13391fZD; import o.Nhs; import o.xzZ; import o.zUI; import org.bouncycastle.asn1.eac.EACTags; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.cbeff.ISO781611; import org.jnbis.internal.NistHelper; /* loaded from: classes3.dex */ public class CheckWorkflowActivity extends WorkflowActivity { public static final String CHECK_EXCEPTION = "_com.kofax.mobile.sdk.capture._check_exception_"; public static final String CHECK_PARAMETERS = "_com.kofax.mobile.sdk.capture._check_parameters_"; public static final String CHECK_RESULTS = "_com.kofax.mobile.sdk.capture._check_results_"; @InterfaceC13390fZB(a = CHECK_PARAMETERS) @InterfaceC13391fZD IParameters YA; @InterfaceC13391fZD IImageStorage YK; private static final byte[] $$d = {ISO7816.INS_MANAGE_CHANNEL, -18, 54, -52}; private static final int $$e = 51; private static int $10 = 0; private static int $11 = 1; private static int c = 0; private static int h = 1; private static long e = 9051040786702654117L; private static int d = 122426853; private static char b = 55973; private static int a = 2015661596; /* 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:0x0030). 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 l(short r6, int r7, byte r8, java.lang.Object[] r9) { /* int r8 = r8 * 2 int r0 = 1 - r8 int r6 = r6 * 2 int r6 = 3 - r6 int r7 = 115 - r7 byte[] r1 = com.kofax.mobile.sdk.capture.check.CheckWorkflowActivity.$$d byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L17 r7 = r6 r3 = r8 r4 = r2 goto L30 L17: r3 = r2 L18: int r6 = r6 + 1 byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r8) goto L27 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L27: int r3 = r3 + 1 r4 = r1[r6] r5 = r7 r7 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r7 r7 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.check.CheckWorkflowActivity.l(short, int, byte, java.lang.Object[]):void"); } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public /* bridge */ /* synthetic */ String getDefaultProcessingString(CheckParameters checkParameters) { int i = 2 % 2; int i2 = h + 25; c = i2 % 128; int i3 = i2 % 2; String defaultProcessingString2 = getDefaultProcessingString2(checkParameters); int i4 = c + 107; h = i4 % 128; int i5 = i4 % 2; return defaultProcessingString2; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public /* bridge */ /* synthetic */ CheckParameters getParametersInstance() { int i = 2 % 2; int i2 = h + 53; c = i2 % 128; int i3 = i2 % 2; CheckParameters parametersInstance = getParametersInstance(); if (i3 != 0) { int i4 = 58 / 0; } return parametersInstance; } private static void f(char c2, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr2.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr2, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c2); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i3 = $10 + 33; $11 = i3 % 128; int i4 = i3 % 2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 45, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 352, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (ExpandableListView.getPackedPositionGroup(0L) + 52128)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr4 = new Object[1]; l(b2, b3, b3, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(748 - View.resolveSizeAndState(0, 0, 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) Color.blue(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 402, KeyEvent.normalizeMetaState(0) + 5, (char) (21609 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 1); Object[] objArr7 = new Object[1]; l(b4, b5, (byte) (b5 - 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (e ^ 9051040786702654117L)) ^ ((int) (d ^ 9051040786702654117L))) ^ ((char) (b ^ 9051040786702654117L))); nhs.a++; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } String str = new String(cArr6); int i5 = $10 + 13; $11 = i5 % 128; if (i5 % 2 == 0) { throw null; } objArr[0] = str; } private static void j(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) { int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr2 = new char[i]; zui.d = 0; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i2 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(a)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 7, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1)); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; l(b2, (byte) (b2 | 46), b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((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(TextUtils.indexOf("", "", 0, 0) + 342, ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; l(b3, (byte) (b3 | 39), b3, 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) { int i6 = $10 + 19; $11 = i6 % 128; int i7 = i6 % 2; zui.a = i3; char[] cArr3 = new char[i]; System.arraycopy(cArr2, 0, cArr3, 0, i); System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a); System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a); } if (z) { char[] cArr4 = new char[i]; zui.d = 0; int i8 = $11 + 45; $10 = i8 % 128; int i9 = i8 % 2; while (zui.d < i) { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; try { Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 342, 5 - KeyEvent.normalizeMetaState(0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1)); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; l(b4, (byte) (b4 | 39), b4, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } cArr2 = cArr4; } objArr[0] = new String(cArr2); } /* loaded from: classes3.dex */ static class a extends Check { @Override // com.kofax.mobile.sdk.capture.model.Check public Field getAmount() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getAuxiliaryOnUs() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getCar() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public CheckIQAData getCheckIQAData() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getCheckNumber() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public CheckUsabilityData getCheckUsabilityData() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getDate() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getEpc() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getLar() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getMicr() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getMicrAmount() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getOnUs1() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getOnUs2() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getPayee() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public String getRawData() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getReasonForRejection() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getRestrictiveEndorsement() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getRestrictiveEndorsementPresent() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getTransit() { return null; } @Override // com.kofax.mobile.sdk.capture.model.Check public Field getUsable() { return null; } private a() { } } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity public void onCreate(Bundle bundle) { int i = 2 % 2; int i2 = h + 35; c = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; f((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pin_lock_button).substring(11, 15).codePointAt(1) + 64), new char[]{23199, 50892, 13804, 44772, 37343, 972, 55007, 61143, 56646, 26212, 44945, 12982, 7504, 2272, 34787, 19828, 38086, 39145}, new char[]{55381, 44194, 36995, 55040}, new char[]{0, 0, 0, 0}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; f((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 52505), new char[]{7156, 32897, 8238, 24585, 26587}, new char[]{32555, 44738, 9814, 13517}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 1454293585, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr3 = new Object[1]; f((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 32433), new char[]{23807, 39713, 13357, 40989, 32820, 61517, 58735, 32482, 15038, 46789, 1472, 55745, 36013, 62002, 38204, 32936, 29515, 30211, 61903, 62875, 38650, 32685, 51489, 29951, 46154, 20243}, new char[]{5822, 3447, 8242, 56703}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvc_title_short).substring(0, 3).codePointAt(0) - 67, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; j(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.crop_document_warning_missing_borders).substring(30, 31).length() + CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Color.red(0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; j(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, new char[]{65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27}, View.getDefaultSize(0, 0) + ISO781611.BIOMETRIC_SUBTYPE_TAG, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_sym_shortcut_label).substring(0, 4).codePointAt(1) - 82, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; j(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvc_desc).substring(24, 25).length() + 63, new char[]{30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522}, 175 - AndroidCharacter.getMirror('0'), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 108, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; f((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.msg_pointx_input_remark).substring(8, 9).codePointAt(0) - 32), new char[]{44463, 17498, 53654, 55252, 43319, 63686, 52738, 40253, 2481, 46741, 62312, 56989, 23264, 35971, 182, 59290, 43945, 54001, 62741, 14378, 8039, 48696, 62907, 12246, 23768, 50718, 1930, 53008, 20883, 45838, 46344, 59012, 8633, 60743, 65165, 24378, 8524, 4894, 26296, 18409, 26507, 60672, 52216, 26869, 21668, 15418, 25553, 16294, 7487, 42002, 47272, 64022, 62378, 62289, 12231, 47206, 46996, 58869, 49207, 57122, 15607, 7669, 46058, 16069}, new char[]{6110, 20093, 39620, 28902}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; f((char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1), new char[]{50051, 1968, 56045, 39958, 18323, 33699, 40797, 20658, 590, 3411, 29219, 8984, 31281, 5536, 64391, 37907, 31801, 58447, 1965, 46871, 35832, 24291, 6787, 23356, 17739, 40127, 60029, 59185, 61420, 22230, 9119, 29620, 40306, 34069, 39617, 17061, 52115, 16732, 2888, 2982, 2249, 18823, 2894, 30141, 6456, 42525, 65414, 45082, 51446, 19945, 20744, 56275, 19818, 8471, 64845, 20755, 8510, 20081, 44034, 16549, 39082, 1756, 12746, 3225, 30387, 37224, 49614, 16498, 60759, 19547, 52675, 37223, 37617, 20107}, new char[]{54216, 36009, 40152, 63227}, new char[]{0, 0, 0, 0}, View.MeasureSpec.getSize(0), objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; j(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_shop_ref_hint).substring(4, 5).codePointAt(0) - 27, new char[]{65532, 6, 65532, 65534, 7}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.instant_cash_upto_text).substring(12, 13).codePointAt(0) + 99, false, View.MeasureSpec.makeMeasureSpec(0, 0) + 4, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; j((ViewConfiguration.getScrollDefaultDelay() >> 16) + 36, new char[]{NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.installment_plans_general_terms_for_credit_card).substring(35, 36).length() + 127, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17, objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); int i4 = h + 45; c = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } Injector.getInjector(this).inject(this); super.onCreate(bundle); } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public Class getCaptureActivityClass() { int i = 2 % 2; int i2 = c + 55; int i3 = i2 % 128; h = i3; int i4 = i2 % 2; int i5 = i3 + 43; c = i5 % 128; if (i5 % 2 == 0) { return CheckCaptureActivity.class; } Object obj = null; obj.hashCode(); throw null; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public Class getExtractActivityClass() { int i = 2 % 2; int i2 = c + 47; int i3 = i2 % 128; h = i3; int i4 = i2 % 2; int i5 = i3 + 1; c = i5 % 128; int i6 = i5 % 2; return CheckExtractActivity.class; } /* renamed from: getDefaultProcessingString, reason: avoid collision after fix types in other method */ public String getDefaultProcessingString2(CheckParameters checkParameters) { int i = 2 % 2; int i2 = h + 45; c = i2 % 128; if (i2 % 2 != 0) { CheckSide.FRONT.equals(checkParameters.side); throw null; } if (!CheckSide.FRONT.equals(checkParameters.side)) { int i3 = c + 53; h = i3 % 128; int i4 = i3 % 2; return CheckCaptureModule.DEFAULT_PROCESS_STRING_BACK; } int i5 = h + 15; c = i5 % 128; if (i5 % 2 == 0) { return CheckCaptureModule.DEFAULT_PROCESS_STRING_FRONT; } throw null; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public CaptureData getDefaultReturnObject() { int i = 2 % 2; a aVar = new a(); int i2 = c + 83; h = i2 % 128; int i3 = i2 % 2; return aVar; } /* JADX WARN: Can't rename method to resolve collision */ @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public CheckParameters getParametersInstance() { int i = 2 % 2; int i2 = c + 117; h = i2 % 128; int i3 = i2 % 2; CheckParameters checkParameters = Injector.getInjector(this).getCheckParameters(); if (i3 == 0) { int i4 = 41 / 0; } return checkParameters; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity public void onResume() { int i = 2 % 2; int i2 = c + 53; h = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = h + 59; c = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; f((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 32443), new char[]{23807, 39713, 13357, 40989, 32820, 61517, 58735, 32482, 15038, 46789, 1472, 55745, 36013, 62002, 38204, 32936, 29515, 30211, 61903, 62875, 38650, 32685, 51489, 29951, 46154, 20243}, new char[]{5822, 3447, 8242, 56703}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; j(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_personal_info_card_lifetime_placeholder).substring(10, 12).codePointAt(0) - 14, new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + ISO781611.CREATION_DATE_AND_TIME_TAG, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.number_of_purchases).substring(0, 3).codePointAt(1) - 110, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i6 = c + 125; h = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i8 = c + 53; h = i8 % 128; try { if (i8 % 2 == 0) { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.resolveSize(0, 0) + 487, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); throw null; } Object obj3 = xzZ.y.get(125943855); if (obj3 == null) { obj3 = ((Class) xzZ.c((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)) + 492, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj3); } Object invoke2 = ((Method) obj3).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj4 = xzZ.y.get(1378719468); if (obj4 == null) { obj4 = ((Class) xzZ.c(Color.alpha(0) + 487, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) KeyEvent.getDeadChar(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj4); } ((Method) obj4).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity public void onPause() { int i = 2 % 2; int i2 = c + 63; h = i2 % 128; Object obj = null; if (i2 % 2 != 0) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; f((char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + EACTags.DISPLAY_CONTROL), new char[]{23807, 39713, 13357, 40989, 32820, 61517, 58735, 32482, 15038, 46789, 1472, 55745, 36013, 62002, 38204, 32936, 29515, 30211, 61903, 62875, 38650, 32685, 51489, 29951, 46154, 20243}, new char[]{5822, 3447, 8242, 56703}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_facial_verification_locked_description).substring(63, 64).codePointAt(0) - 32, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; j(18 - TextUtils.getTrimmedLength(""), new char[]{65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529}, 165 - TextUtils.getCapsMode("", 0, 0), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend_error).substring(17, 18).codePointAt(0) - 27, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i3 = h + 35; c = i3 % 128; int i4 = i3 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - Color.red(0), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -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 - TextUtils.getCapsMode("", 0, 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).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(); return; } getBaseContext(); obj.hashCode(); throw null; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public void attachBaseContext(Context context) { Context context2; int i = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; f((char) ((ViewConfiguration.getTapTimeout() >> 16) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA), new char[]{23199, 50892, 13804, 44772, 37343, 972, 55007, 61143, 56646, 26212, 44945, 12982, 7504, 2272, 34787, 19828, 38086, 39145}, new char[]{55381, 44194, 36995, 55040}, new char[]{0, 0, 0, 0}, View.getDefaultSize(0, 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; f((char) (52518 - (ViewConfiguration.getScrollBarSize() >> 8)), new char[]{7156, 32897, 8238, 24585, 26587}, new char[]{32555, 44738, 9814, 13517}, new char[]{0, 0, 0, 0}, KeyEvent.getDeadChar(0, 0) + 1454293631, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { int i2 = c + 31; h = i2 % 128; int i3 = i2 % 2; context2 = context.getApplicationContext(); int i4 = h + 125; c = i4 % 128; int i5 = i4 % 2; } else { context2 = context; } if (context2 != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 4 - ExpandableListView.getPackedPositionChild(0L), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; j(Color.red(0) + 48, new char[]{65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27}, View.MeasureSpec.makeMeasureSpec(0, 0) + ISO781611.BIOMETRIC_SUBTYPE_TAG, false, 39 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; j(64 - Color.argb(0, 0, 0, 0), new char[]{30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522}, Color.alpha(0) + 127, false, 3 - TextUtils.getCapsMode("", 0, 0), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; f((char) ((Process.getThreadPriority(0) + 20) >> 6), new char[]{44463, 17498, 53654, 55252, 43319, 63686, 52738, 40253, 2481, 46741, 62312, 56989, 23264, 35971, 182, 59290, 43945, 54001, 62741, 14378, 8039, 48696, 62907, 12246, 23768, 50718, 1930, 53008, 20883, 45838, 46344, 59012, 8633, 60743, 65165, 24378, 8524, 4894, 26296, 18409, 26507, 60672, 52216, 26869, 21668, 15418, 25553, 16294, 7487, 42002, 47272, 64022, 62378, 62289, 12231, 47206, 46996, 58869, 49207, 57122, 15607, 7669, 46058, 16069}, new char[]{6110, 20093, 39620, 28902}, new char[]{0, 0, 0, 0}, (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)), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; f((char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1), new char[]{50051, 1968, 56045, 39958, 18323, 33699, 40797, 20658, 590, 3411, 29219, 8984, 31281, 5536, 64391, 37907, 31801, 58447, 1965, 46871, 35832, 24291, 6787, 23356, 17739, 40127, 60029, 59185, 61420, 22230, 9119, 29620, 40306, 34069, 39617, 17061, 52115, 16732, 2888, 2982, 2249, 18823, 2894, 30141, 6456, 42525, 65414, 45082, 51446, 19945, 20744, 56275, 19818, 8471, 64845, 20755, 8510, 20081, 44034, 16549, 39082, 1756, 12746, 3225, 30387, 37224, 49614, 16498, 60759, 19547, 52675, 37223, 37617, 20107}, new char[]{54216, 36009, 40152, 63227}, new char[]{0, 0, 0, 0}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; j(5 - (ViewConfiguration.getTouchSlop() >> 8), new char[]{65532, 6, 65532, 65534, 7}, 109 - (ViewConfiguration.getWindowTouchSlop() >> 8), false, TextUtils.indexOf("", "", 0, 0) + 4, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; j(37 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new char[]{NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512}, 127 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), false, 17 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, View.combineMeasuredStates(0, 0) + 5, (char) (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)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); int i6 = c + 11; h = i6 % 128; if (i6 % 2 == 0) { int i7 = 3 % 4; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity, android.app.Activity public void onStart() { int i = 2 % 2; int i2 = h + 85; c = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = h + 27; c = i4 % 128; int i5 = i4 % 2; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public String getResultKey() { int i = 2 % 2; int i2 = h + 79; int i3 = i2 % 128; c = i3; int i4 = i2 % 2; int i5 = i3 + 95; h = i5 % 128; if (i5 % 2 == 0) { int i6 = 77 / 0; } return CHECK_RESULTS; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public String getParametersKey() { int i = 2 % 2; int i2 = h; int i3 = i2 + 81; c = i3 % 128; int i4 = i3 % 2; int i5 = i2 + 57; c = i5 % 128; if (i5 % 2 == 0) { return CHECK_PARAMETERS; } throw null; } @Override // com.kofax.mobile.sdk.capture.WorkflowActivity public String getExceptionKey() { int i = 2 % 2; int i2 = h; int i3 = i2 + 109; c = i3 % 128; int i4 = i3 % 2; int i5 = i2 + 29; c = i5 % 128; int i6 = i5 % 2; return CHECK_EXCEPTION; } }