package com.kofax.mobile.sdk.capture.creditcard; import android.app.Activity; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; 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.google.common.base.Ascii; import com.kofax.mobile.sdk._internal.dagger.Injector; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.kofax.mobile.sdk.capture.model.CreditCard; import com.scb.phone.R; import io.card.payment.CardIOActivity; import java.io.Serializable; import java.lang.reflect.Method; import java.util.Locale; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C3614bBe; import o.C4403bZM; import o.xzZ; /* loaded from: classes3.dex */ public class CardIoWrapperActivity extends Activity { public static final String EXTRA_EXTRA_TIME_FOR_EXPIRY = "com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.extraTimeForExpiry"; private static char[] a; private static UnsatisfiedLinkError abZ; private static boolean b; private static int c; private static int[] d; private static boolean e; private static int g; private static final byte[] $$a = {15, Ascii.DC4, ISO7816.INS_MSE, -3}; private static final int $$b = 60; private static int $10 = 0; private static int $11 = 1; private static int j = 1; private static void i(byte b2, short s, short s2, Object[] objArr) { int i = b2 + 65; byte[] bArr = $$a; int i2 = 4 - (s2 * 2); int i3 = s * 2; byte[] bArr2 = new byte[i3 + 1]; int i4 = -1; if (bArr == null) { i2++; i = i3 + i; } while (true) { i4++; bArr2[i4] = (byte) i; if (i4 == i3) { objArr[0] = new String(bArr2, 0); return; } else { int i5 = bArr[i2]; i2++; i += i5; } } } static { g = 0; a(); try { System.loadLibrary("cardioDecider"); System.loadLibrary("ee77d4"); System.loadLibrary("cardioRecognizer"); int i = j + 27; g = i % 128; int i2 = i % 2; } catch (UnsatisfiedLinkError e2) { abZ = e2; } } @Override // android.app.Activity protected void onCreate(Bundle bundle) { int i = 2 % 2; Object[] objArr = new Object[1]; f(null, null, 127 - (ViewConfiguration.getFadingEdgeLength() >> 16), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; h(new int[]{-899131228, 984592849, 397373681, 2104355851}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, 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]; h(new int[]{-1077696951, -1535326127, 202029632, 1724530380, 703629410, 2040546494, 1474746519, -820717839, 509604836, 2013193883, -977508038, 1127323155, 95094200, 1271948724}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.speedy_loan_cdx_maximum_loan).substring(0, 21).length() + 5, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_touchpoints_answer_fatca).substring(11, 12).codePointAt(0) + 62, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i2 = j + 5; g = i2 % 128; int i3 = i2 % 2; } if (baseContext != null) { int i4 = g + 27; j = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, 5 - (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)), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-109, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, ISOFileInfo.SECURITY_ATTR_EXP, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; h(new int[]{-1041216751, -858939249, 1751837012, 19177372, 699369875, -161579328, -1513007032, 857147505, -1385970666, 1785472378, 765875014, 1588996295, -1617166210, 1702100654, -1637464829, 1348416975, 1152383261, -1275000768, 827899447, 2050078177, 1488166044, -795862617, 1054596723, 2143285244, 933352267, 727158756, -988242924, 2142194013, -1604928336, 1086976129, 2009416008, 1482282488}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_qualification_first_note).substring(0, 1).length() + 63, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; h(new int[]{846639801, -520338001, -1630792923, 497385917, -2115984795, -269319181, -1999738120, -876616685, -957795951, 140958191, -751863999, -254134993, -1273497640, -256002470, 2065607747, 1349973743, 1941738712, -1300558312, -1297510641, 2121199135, -778474774, 1357816220, 987023472, 983925, -2122228699, -743531987, 807695513, 800618504, 255578895, 1110904990, 1664791195, 661549547}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redeem_rmf_dialog_description).substring(81, 82).length() + 63, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; h(new int[]{612220633, 1395618159, 1763585940, 395166648, 1216032182, 1237218715, 64774878, 618427306, -518060002, -899824275, -852123186, 43068609, 2049697222, 772156897, 2114945156, -2136413327, 666473577, -1638717160, -222535057, -1689015090, 935672264, 1814303460, 390813064, 1921354794, -1586248779, -1517916407, 1437624835, -356816483, -213836980, 26771095, 1859717110, 1647084016, 1976149363, 1468736236, -518598579, -2102923224, 586002299, -105557694}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.speedy_cash_cdx_maximum_loan).substring(0, 23).codePointAt(20) - 3545, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.isprint_touch_point_force_set_new_pin_message).substring(41, 42).length() + 126, new byte[]{-100, ISOFileInfo.FCI_EXT, -103, ISOFileInfo.FCI_EXT, -105}, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.card_x_estimated_loan).substring(0, 23).codePointAt(5) - 3482, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, ISOFileInfo.SECURITY_ATTR_EXP, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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.getMode(0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); Injector.getInjector(this).inject(this); if (bundle == null && abZ == null) { Intent intent = new Intent(this, (Class) CardIOActivity.class); a(intent); startActivityForResult(intent, 0); } else if (abZ != null) { Intent intent2 = new Intent(); intent2.putExtra(CreditCardWorkflowActivity.CREDIT_CARD_EXCEPTION, abZ); setResult(0, intent2); finish(); } } private void a(Intent intent) { int i = 2 % 2; int i2 = j + 111; g = i2 % 128; int i3 = i2 % 2; long longExtra = getIntent().getLongExtra(EXTRA_EXTRA_TIME_FOR_EXPIRY, 1000L); intent.putExtra("io.card.payment.requireExpiry", true); intent.putExtra("io.card.payment.extraTimeForExpiry", longExtra); intent.putExtra("io.card.payment.requireCVV", false); intent.putExtra("io.card.payment.requirePostalCode", false); intent.putExtra("io.card.payment.suppressManual", true); intent.putExtra("io.card.payment.suppressConfirmation", true); intent.putExtra("io.card.payment.useCardIOLogo", true); intent.putExtra("io.card.payment.hideLogo", true); int i4 = g + 85; j = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // android.app.Activity protected void onActivityResult(int i, int i2, Intent intent) { int i3 = 2 % 2; int i4 = j + 59; g = i4 % 128; if (i4 % 2 == 0) { super.onActivityResult(i, i2, intent); b(intent); finish(); } else { super.onActivityResult(i, i2, intent); b(intent); finish(); Object obj = null; obj.hashCode(); throw null; } } /* JADX WARN: Code restructure failed: missing block: B:10:0x0032, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:11:0x0033, code lost: r4 = null; r4.hashCode(); */ /* JADX WARN: Code restructure failed: missing block: B:12:0x0037, code lost: throw null; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x001e, code lost: if (c(r4) != true) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (c(r4) != false) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0020, code lost: tQ(); */ /* JADX WARN: Code restructure failed: missing block: B:6:0x0023, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0024, code lost: d(r4); r4 = com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.g + 91; com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.j = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0030, code lost: if ((r4 % 2) == 0) goto L14; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private void b(android.content.Intent r4) { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.j int r1 = r1 + 35 int r2 = r1 % 128 com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.g = r2 int r1 = r1 % r0 if (r1 == 0) goto L19 boolean r1 = r3.c(r4) r2 = 8 int r2 = r2 / 0 if (r1 == 0) goto L20 goto L24 L19: boolean r1 = r3.c(r4) r2 = 1 if (r1 == r2) goto L24 L20: r3.tQ() return L24: r3.d(r4) int r4 = com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.g int r4 = r4 + 91 int r1 = r4 % 128 com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.j = r1 int r4 = r4 % r0 if (r4 == 0) goto L33 return L33: r4 = 0 r4.hashCode() throw r4 */ throw new UnsupportedOperationException("Method not decompiled: com.kofax.mobile.sdk.capture.creditcard.CardIoWrapperActivity.b(android.content.Intent):void"); } private static void h(int[] iArr, int i, Object[] objArr) { int i2; int length; int[] iArr2; int i3; char c2; int i4; int i5 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr3 = d; int i6 = 729798706; float f = BitmapDescriptorFactory.HUE_RED; int i7 = 1; int i8 = 0; if (iArr3 != null) { int i9 = $11 + 41; $10 = i9 % 128; int i10 = i9 % 2; int length2 = iArr3.length; int[] iArr4 = new int[length2]; int i11 = 0; while (i11 < length2) { try { Object[] objArr2 = new Object[i7]; objArr2[0] = Integer.valueOf(iArr3[i11]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)) + 14, Color.alpha(0) + 5, (char) ((AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr4[i11] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i11++; f = BitmapDescriptorFactory.HUE_RED; i7 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr3 = iArr4; } int length3 = iArr3.length; int[] iArr5 = new int[length3]; int[] iArr6 = d; if (iArr6 != null) { int i12 = $10 + 91; $11 = i12 % 128; if (i12 % 2 == 0) { length = iArr6.length; iArr2 = new int[length]; i3 = 1; } else { length = iArr6.length; iArr2 = new int[length]; i3 = 0; } while (i3 < length) { Object[] objArr3 = new Object[1]; objArr3[i8] = Integer.valueOf(iArr6[i3]); Object obj2 = xzZ.y.get(Integer.valueOf(i6)); if (obj2 != null) { i4 = i6; c2 = 58133; } else { c2 = 58133; Class cls = (Class) xzZ.c(15 - Drawable.resolveOpacity(i8, i8), TextUtils.getCapsMode("", i8, i8) + 5, (char) (58133 - (ExpandableListView.getPackedPositionForChild(i8, i8) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i8, i8) == 0L ? 0 : -1)))); Class[] clsArr = new Class[1]; clsArr[i8] = Integer.TYPE; obj2 = cls.getMethod("i", clsArr); i4 = 729798706; xzZ.y.put(729798706, obj2); } iArr2[i3] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i3++; i6 = i4; i8 = 0; } i2 = i8; iArr6 = iArr2; } else { i2 = 0; } System.arraycopy(iArr6, i2, iArr5, i2, length3); c4403bZM.b = i2; while (c4403bZM.b < iArr.length) { cArr[i2] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr5); int i13 = 0; for (int i14 = 16; i13 < i14; i14 = 16) { c4403bZM.e ^= iArr5[i13]; Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj3 = xzZ.y.get(-1196964548); if (obj3 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> i14) + 118, 5 - (ViewConfiguration.getDoubleTapTimeout() >> i14), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; i((byte) 39, b2, b2, objArr5); obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i13++; } int i15 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i15; c4403bZM.a ^= iArr5[16]; c4403bZM.e ^= iArr5[17]; int i16 = c4403bZM.e; int i17 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr5); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; try { Object[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls3 = (Class) xzZ.c(Color.alpha(0) + 98, (ViewConfiguration.getFadingEdgeLength() >> 16) + 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))); byte b3 = (byte) 0; Object[] objArr7 = new Object[1]; i((byte) 37, b3, b3, objArr7); obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); i2 = 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr2, 0, i); } private boolean c(Intent intent) { boolean z; int i = 2 % 2; if (intent == null || !intent.hasExtra("io.card.payment.scanResult")) { int i2 = g + 37; j = i2 % 128; int i3 = i2 % 2; z = false; } else { int i4 = g + 97; j = i4 % 128; int i5 = i4 % 2; z = true; } int i6 = j + 49; g = i6 % 128; int i7 = i6 % 2; return z; } private void tQ() { int i = 2 % 2; setResult(0, new Intent()); int i2 = g + 89; j = i2 % 128; if (i2 % 2 == 0) { int i3 = 87 / 0; } } private void d(Intent intent) { int i = 2 % 2; CreditCard e2 = e(intent); Intent intent2 = new Intent(); intent2.putExtra(CreditCardWorkflowActivity.CREDIT_CARD_RESULTS, (Serializable) e2); setResult(-1, intent2); int i2 = g + 47; j = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } private CreditCard e(Intent intent) { int i = 2 % 2; io.card.payment.CreditCard creditCard = (io.card.payment.CreditCard) intent.getParcelableExtra("io.card.payment.scanResult"); CreditCard creditCard2 = new CreditCard(); creditCard2.setCardNumber(creditCard.cardNumber); a(creditCard, creditCard2); int i2 = j + 59; g = i2 % 128; int i3 = i2 % 2; return creditCard2; } private static void f(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int i2 = 2; int i3 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = a; int i4 = 0; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i5 = 0; while (i5 < length) { int i6 = $10 + 5; $11 = i6 % 128; if (i6 % i2 == 0) { try { Object[] objArr2 = new Object[1]; objArr2[i4] = Integer.valueOf(cArr2[i5]); Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(View.resolveSize(i4, i4) + 337, TextUtils.getCapsMode("", i4, i4) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))); byte b2 = (byte) i4; byte b3 = b2; Object[] objArr3 = new Object[1]; i(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i5 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { Object[] objArr4 = {Integer.valueOf(cArr2[i5])}; Object obj2 = xzZ.y.get(-950481649); if (obj2 == null) { Class cls2 = (Class) xzZ.c((-16776879) - Color.rgb(0, 0, 0), 5 - KeyEvent.getDeadChar(0, 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; i(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-950481649, obj2); } cArr3[i5] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i5++; } int i7 = $10 + 71; $11 = i7 % 128; int i8 = i7 % 2; i2 = 2; i4 = 0; } cArr2 = cArr3; } Object[] objArr6 = {Integer.valueOf(c)}; Object obj3 = xzZ.y.get(-1521625011); if (obj3 == null) { Class cls3 = (Class) xzZ.c(283 - (KeyEvent.getMaxKeyCode() >> 16), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 39813)); byte b6 = (byte) 0; Object[] objArr7 = new Object[1]; i((byte) ($$b - 3), b6, b6, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE); xzZ.y.put(-1521625011, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue(); if (!e) { if (!b) { c3614bBe.c = iArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr4[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); c3614bBe.a++; int i9 = $11 + 17; $10 = i9 % 128; int i10 = i9 % 2; } objArr[0] = new String(cArr4); return; } c3614bBe.c = cArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i11 = $11 + 47; $10 = i11 % 128; int i12 = i11 % 2; cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); Object[] objArr8 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 41, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr8); } objArr[0] = new String(cArr5); return; } c3614bBe.c = bArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i13 = $11 + 89; $10 = i13 % 128; if (i13 % 2 != 0) { cArr6[c3614bBe.a] = (char) (cArr2[bArr[c3614bBe.c / c3614bBe.a] - i] / intValue); try { Object[] objArr9 = {c3614bBe, c3614bBe}; Object obj5 = xzZ.y.get(1779759091); if (obj5 == null) { obj5 = ((Class) xzZ.c(39 - ExpandableListView.getPackedPositionChild(0L), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj5); } ((Method) obj5).invoke(null, objArr9); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { cArr6[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr10 = {c3614bBe, c3614bBe}; Object obj6 = xzZ.y.get(1779759091); if (obj6 == null) { obj6 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 39, Color.argb(0, 0, 0, 0) + 5, (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj6); } ((Method) obj6).invoke(null, objArr10); } } String str = new String(cArr6); int i14 = $11 + 59; $10 = i14 % 128; if (i14 % 2 == 0) { objArr[0] = str; } else { int i15 = 28 / 0; objArr[0] = str; } } private void a(io.card.payment.CreditCard creditCard, CreditCard creditCard2) { int i = 2 % 2; int i2 = j + 33; g = i2 % 128; Object obj = null; if (i2 % 2 == 0) { c(creditCard, creditCard2); b(creditCard, creditCard2); int i3 = j + 65; g = i3 % 128; if (i3 % 2 == 0) { return; } obj.hashCode(); throw null; } c(creditCard, creditCard2); b(creditCard, creditCard2); obj.hashCode(); throw null; } private void b(io.card.payment.CreditCard creditCard, CreditCard creditCard2) { int i = 2 % 2; int i2 = j + 25; g = i2 % 128; if (i2 % 2 == 0) { int i3 = creditCard.expiryYear; if (i3 > 0) { creditCard2.setExpirationYear(String.format(Locale.US, "%04d", Integer.valueOf(i3))); int i4 = g + 41; j = i4 % 128; int i5 = i4 % 2; return; } return; } int i6 = creditCard.expiryYear; throw null; } private void c(io.card.payment.CreditCard creditCard, CreditCard creditCard2) { int i = 2 % 2; int i2 = creditCard.expiryMonth; if (i2 > 0) { int i3 = j; int i4 = i3 + 101; g = i4 % 128; int i5 = i4 % 2; if (i2 <= 12) { int i6 = i3 + 23; g = i6 % 128; creditCard2.setExpirationMonth(i6 % 2 != 0 ? String.format(Locale.US, "%02d", Integer.valueOf(i2)) : String.format(Locale.US, "%02d", Integer.valueOf(i2))); } } int i7 = g + 3; j = i7 % 128; if (i7 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // android.app.Activity protected void onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; h(new int[]{-1077696951, -1535326127, 202029632, 1724530380, 703629410, 2040546494, 1474746519, -820717839, 509604836, 2013193883, -977508038, 1127323155, 95094200, 1271948724}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_touchpoints_answer_fatca).substring(11, 12).length() + 126, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i2 = j + 115; g = i2 % 128; int i3 = i2 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), 5 - TextUtils.indexOf("", ""), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).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(487 - (ViewConfiguration.getTouchSlop() >> 8), 5 - View.MeasureSpec.getMode(0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i4 = j + 29; g = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // android.app.Activity protected void onPause() { int i = 2 % 2; int i2 = g + 13; j = i2 % 128; if (i2 % 2 == 0) { getBaseContext(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; h(new int[]{-1077696951, -1535326127, 202029632, 1724530380, 703629410, 2040546494, 1474746519, -820717839, 509604836, 2013193883, -977508038, 1127323155, 95094200, 1271948724}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_aip_not_finalized).substring(0, 1).codePointAt(0) - 16, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; f(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_delete_message).substring(29, 30).codePointAt(0) + 95, new byte[]{-126, ISOFileInfo.PROP_INFO, -122, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -122, -112, -113, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, -126, ISOFileInfo.SECURITY_ATTR_EXP, -124, -124, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[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 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - ExpandableListView.getPackedPositionType(0L), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, (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)) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); int i3 = g + 1; j = i3 % 128; if (i3 % 2 == 0) { throw null; } } @Override // 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(null, null, 128 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; h(new int[]{-899131228, 984592849, 397373681, 2104355851}, ExpandableListView.getPackedPositionType(0L) + 5, 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 = g + 91; j = i2 % 128; int i3 = i2 % 2; context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, View.resolveSizeAndState(0, 0, 0) + 5, (char) TextUtils.indexOf("", ""))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; f(null, null, TextUtils.getTrimmedLength("") + 127, new byte[]{-109, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, ISOFileInfo.SECURITY_ATTR_EXP, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; h(new int[]{-1041216751, -858939249, 1751837012, 19177372, 699369875, -161579328, -1513007032, 857147505, -1385970666, 1785472378, 765875014, 1588996295, -1617166210, 1702100654, -1637464829, 1348416975, 1152383261, -1275000768, 827899447, 2050078177, 1488166044, -795862617, 1054596723, 2143285244, 933352267, 727158756, -988242924, 2142194013, -1604928336, 1086976129, 2009416008, 1482282488}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 64, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; h(new int[]{846639801, -520338001, -1630792923, 497385917, -2115984795, -269319181, -1999738120, -876616685, -957795951, 140958191, -751863999, -254134993, -1273497640, -256002470, 2065607747, 1349973743, 1941738712, -1300558312, -1297510641, 2121199135, -778474774, 1357816220, 987023472, 983925, -2122228699, -743531987, 807695513, 800618504, 255578895, 1110904990, 1664791195, 661549547}, (Process.myPid() >> 22) + 64, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; h(new int[]{612220633, 1395618159, 1763585940, 395166648, 1216032182, 1237218715, 64774878, 618427306, -518060002, -899824275, -852123186, 43068609, 2049697222, 772156897, 2114945156, -2136413327, 666473577, -1638717160, -222535057, -1689015090, 935672264, 1814303460, 390813064, 1921354794, -1586248779, -1517916407, 1437624835, -356816483, -213836980, 26771095, 1859717110, 1647084016, 1976149363, 1468736236, -518598579, -2102923224, 586002299, -105557694}, 73 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; f(null, null, 128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), new byte[]{-100, ISOFileInfo.FCI_EXT, -103, ISOFileInfo.FCI_EXT, -105}, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; f(null, null, 127 - (KeyEvent.getMaxKeyCode() >> 16), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, ISOFileInfo.SECURITY_ATTR_EXP, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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(487 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 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 i4 = g + 77; j = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } static void a() { a = new char[]{15998, 15979, 15985, 15983, 15980, 15990, 15915, 15968, 15949, 15984, 15986, 15970, 15969, 15966, 15981, 15977, 15918, 15908, 15905, 15999, 15904, 15987, 15910, 15919, 15909, 15907, 15906, 15917, 15914}; c = 1934310941; b = true; e = true; d = new int[]{-892176221, -208478926, 1023895977, 686549646, -1844750551, 105584719, 362519161, 1854609022, -1712766432, 963303137, 106792318, -369958053, 2127014844, -185779879, 556558098, 1188051768, 54661722, 1391396001}; } @Override // android.app.Activity public void onStart() { int i = 2 % 2; int i2 = g + 77; j = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 == 0) { int i4 = 61 / 0; } int i5 = g + 83; j = i5 % 128; if (i5 % 2 == 0) { int i6 = 96 / 0; } } }