package com.scb.phone.view.activity.debitcard; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; 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.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.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.BaseOtpActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.DFY; import o.InterfaceC17278vUG; import o.dAJ; import o.jTb; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; import org.bouncycastle.pqc.math.linearalgebra.Matrix; /* loaded from: classes4.dex */ public abstract class Hilt_DebitCardRequestPayOtpActivity extends BaseOtpActivity { private static short[] s; private boolean b = false; private static final byte[] $$E = {40, -44, -105, ISO7816.INS_READ_BINARY2}; private static final int $$F = 18; private static int $10 = 0; private static int $11 = 1; private static int u = 0; private static int w = 1; /* renamed from: o, reason: collision with root package name */ private static int f6798o = 630704114; private static int m = 1406017078; private static int l = 1476705710; private static byte[] k = {-6, 114, 120, 124, -26, -17, 92, 92, -43, 118, ISO7816.INS_READ_RECORD2, ISO7816.INS_CHANGE_CHV, Ascii.NAK, Ascii.DC4, -17, 120, ISO7816.INS_CREATE_FILE, Ascii.DEL, -9, ISO7816.INS_DECREASE, -83, Ascii.NAK, ISOFileInfo.A5, ISO7816.INS_APPEND_RECORD, 105, ISO7816.INS_READ_BINARY_STAMPED, -71, 102, -100, -47, ISOFileInfo.FCI_BYTE, 97, -71, 103, -65, -101, 78, -103, ISO7816.INS_GET_DATA, 104, 101, 121, -90, ISO7816.INS_READ_BINARY2, ISO7816.INS_READ_RECORD_STAMPED, -73, 122, -78, 103, -6, -108, 61, 110, 0, -107, 105, -106, -105, 51, ISO7816.INS_REHABILITATE_CHV, 102, 61, 58, 96, 51, -106, 1, 8, 63, -70, ISO7816.INS_ENVELOPE, 63, -22, -52, ISO7816.INS_WRITE_BINARY, 5, -39, 30, ISO7816.INS_ENVELOPE, 17, -55, 4, ISO7816.INS_ENVELOPE, Ascii.DC4, -90, ISO7816.INS_INCREASE, Ascii.DC4, ISO7816.INS_WRITE_RECORD, 17, -52, -22, -49, -61, Ascii.SYN, Ascii.DC4, -61, 63, Ascii.SYN, ISOFileInfo.A1, 51, -70, ISO7816.INS_ENVELOPE, 17, ISO7816.INS_INCREASE, Ascii.SYN, ISOFileInfo.A1, 60, ISO7816.INS_WRITE_BINARY, -22, -50, Ascii.SYN, ISO7816.INS_GET_RESPONSE, 5, -49, ISO7816.INS_GET_RESPONSE, -72, -37, Ascii.ETB, 61, Ascii.DC4, -35, Ascii.NAK, -50, 4, -61, -35, 61, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -21, 62, Ascii.DC4, 59, 99, 54, 108, 65, 109, 93, 69, 92, 124, 38, 10, 121, 109, ISO7816.INS_DECREASE, 54, 59, 99, 55, 108, 109, ISO7816.INS_DECREASE_STAMPED, 120, ISOFileInfo.FCP_BYTE, 58, 105, 62, ISOFileInfo.FCP_BYTE, 99, 104, 90, 39, 49, 70, 99}; private static char t = 36668; private static char p = 32008; private static char r = 40510; private static char q = 20692; private static void aJ(int i, int i2, int i3, Object[] objArr) { byte[] bArr = $$E; int i4 = i * 2; int i5 = 4 - (i3 * 2); int i6 = i2 + 66; byte[] bArr2 = new byte[i4 + 1]; int i7 = -1; if (bArr == null) { i6 += i4; i5++; } while (true) { i7++; bArr2[i7] = (byte) i6; if (i7 == i4) { objArr[0] = new String(bArr2, 0); return; } else { i6 += bArr[i5]; i5++; } } } /* JADX INFO: Access modifiers changed from: package-private */ public Hilt_DebitCardRequestPayOtpActivity() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.debitcard.Hilt_DebitCardRequestPayOtpActivity.2 private Hilt_DebitCardRequestPayOtpActivity e; { this.e = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { this.e.l(); } }); } @Override // o.AbstractActivityC9736dpX public final void l() { int i = 2 % 2; if (this.b) { return; } int i2 = w + 117; u = i2 % 128; int i3 = i2 % 2; this.b = true; ((dAJ) y_()).d((DebitCardRequestPayOtpActivity) this); int i4 = u + 113; w = i4 % 128; int i5 = i4 % 2; } private static void aI(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; jtb.b = 0; char[] cArr3 = new char[2]; int i3 = $10 + 15; $11 = i3 % 128; int i4 = i3 % 2; while (jtb.b < cArr.length) { cArr3[0] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i5 = 58224; int i6 = 0; while (i6 < 16) { int i7 = $10 + 67; $11 = i7 % 128; int i8 = i7 % 2; char c = cArr3[1]; char c2 = cArr3[0]; try { Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(q)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aJ(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr3[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (t ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(p)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 412, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aJ(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i5 -= 40503; i6++; int i9 = $11 + 1; $10 = i9 % 128; int i10 = i9 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2[jtb.b] = cArr3[0]; cArr2[jtb.b + 1] = cArr3[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 98, View.getDefaultSize(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))); byte b5 = (byte) 0; byte b6 = (byte) (b5 + 1); Object[] objArr7 = new Object[1]; aJ(b5, b6, (byte) (b6 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); } String str = new String(cArr2, 0, i); int i11 = $11 + 39; $10 = i11 % 128; int i12 = i11 % 2; objArr[0] = str; } @Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { int i = 2 % 2; Object[] objArr = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 21), (-1985599976) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_verify_national_ID_description).substring(58, 59).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 137, (-197829508) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_discover_remark_unable_to_purchase).substring(0, 1).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_promptpay_bill_alert_message).substring(CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DHE_DSS_WITH_AES_256_GCM_SHA384).codePointAt(0) - 107), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 137), Color.alpha(0) - 1985599957, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 49, (ViewConfiguration.getScrollDefaultDelay() >> 16) - 197829454, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 35), 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) { int i2 = w + 101; u = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fingerprint_dialog_content).substring(31, 32).length() + 112), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1985599986, (-36) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 197829500, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_card).substring(30, 31).codePointAt(0) - 50), objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.example_tg12123).substring(12, 13).length() - 85), (-1985599927) - MotionEvent.axisFromString(""), (-36) - TextUtils.getOffsetAfter("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.lifestyle_tutorial_message_step_11).substring(20, 21).codePointAt(0) - 197829496, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.schedule_setup_remarks).substring(87, 88).length() - 47), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = w + 89; u = i4 % 128; int i5 = i4 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = u + 105; w = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 491, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aI(new char[]{29696, 51779, 51241, 39380, 24530, 34053, 61143, 7886, 12467, 32016, 38657, 35999, 7018, 31594, 41224, 51727, Matrix.MATRIX_TYPE_RANDOM_LT, 59241, 61451, 54396, 48165, 32206, 13202, 24259, 37881, 56583, 38457, 21376, 8144, 38424, 27507, 27563, 21751, 40641, 'j', 4992, 22898, 55125, 19961, 50418, 23989, 9876, 41035, 34571, 23158, 7323, 5967, 41928}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 56, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aI(new char[]{5772, 27879, 15176, 63826, 62529, 50418, 46338, 50277, 53182, 7928, 38233, 23092, 38233, 23092, 50624, 60202, 57648, 28878, 50304, 31151, 55015, 15388, 62978, 43274, 3796, 31918, 38585, 59650, 10496, 21708, 45814, 12919, 9653, 558, 57967, 23311, 25123, 42798, 19961, 50418, 62529, 50418, 6207, 32915, 53140, 16656, 62529, 50418, 25984, 56006, 11977, 54875, 23158, 7323, 3386, 14836, 47372, 15165, 28967, 26115, 62529, 50418, 206, 44053}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hms_bindfaildlg_message).substring(0, 5).codePointAt(1) + 15, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aG((short) ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_title_auto_topup).substring(0, 19).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1985599942, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 134, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_commercial_loan_success_desc).substring(35, 36).codePointAt(0) - 197829498, (byte) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 22), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aI(new char[]{5606, 45950, 18337, 26789, 62504, 11228, 50024, 46196, 25304, 34409, 32067, 21748, 24502, 10348, 40022, 28706, 12722, 43995, 56924, 21880, 56054, 48409, 62360, 42934, 21589, 35144, 64004, 54758, 13396, 50521, 60092, 11144, 37357, 57183, ' ', 60111, 7021, 56878, 47618, 63704, 32130, 39427, 18998, 61427, 7726, 20123, 32130, 39427, 51845, 39022, 24502, 10348, 36533, 30867, 58920, 8034, 17741, 56290, 14306, 24019, 56981, 12633, 14945, 23145, 2187, 5642, 37417, 29482, 2086, 61954, 12623, 32868, 52207, 10953}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aI(new char[]{19807, 7883, 34980, 28959, 48442, 36999}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_schedule_popup_message).substring(293, 294).length() + 4, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_button_text).substring(14, 16).length() - 80), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 1985599890, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 70, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_mcmc_intructions_description).substring(36, 37).codePointAt(0) - 197829494, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_mf_account).substring(37, 38).codePointAt(0) - 76), 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(KeyEvent.keyCodeFromString("") + 487, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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 i8 = w + 35; u = i8 % 128; int i9 = i8 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); } @Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = w + 47; u = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deny_consent_dialog_description).substring(21, 22).codePointAt(0) + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_ekyc_passport_2001_title).substring(0, 4).length() - 1985599956, (-36) - KeyEvent.normalizeMetaState(0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) - 197829466, (byte) (Process.getGidForName("") - 17), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((short) ((-84) - (ViewConfiguration.getScrollBarFadeDuration() >> 16)), (-1985599958) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_user_info_mobile_number_placeholder).substring(24, 25).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_blurry).substring(0, 2).length() - 38, (-197829464) - (ViewConfiguration.getTapTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 80), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = w + 83; u = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - ExpandableListView.getPackedPositionType(0L), (char) TextUtils.indexOf("", "", 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((Process.myTid() >> 22) + 487, AndroidCharacter.getMirror('0') - '+', (char) View.MeasureSpec.getMode(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); int i6 = w + 63; u = i6 % 128; int i7 = i6 % 2; } @Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onPause() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = w + 109; u = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aG((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_company_search_add_dialog_error).substring(16, 17).length() + 112), (-1985599951) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 70, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_title_cardx).substring(0, 9).length() - 197829475, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 52), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((short) (ImageFormat.getBitsPerPixel(0) - 83), (-1985599926) + (ViewConfiguration.getKeyRepeatDelay() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 49, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 197829464, (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) - 46), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i4 = u + 41; w = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getOffsetBefore("", 0) + 5, (char) ((-16777216) - Color.rgb(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(487 - (ViewConfiguration.getEdgeSlop() >> 16), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).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(); } private static void aG(short s2, int i, int i2, int i3, byte b, Object[] objArr) { int i4 = 2; int i5 = 2 % 2; DFY dfy = new DFY(); StringBuilder sb = new StringBuilder(); try { Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(m)}; Object obj = xzZ.y.get(-2092856797); float f = BitmapDescriptorFactory.HUE_RED; if (obj == null) { Class cls = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 337, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; aJ(b2, (byte) (-$$E[1]), b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj); } Object obj2 = null; int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); int i6 = intValue == -1 ? 1 : 0; if (i6 != 0) { byte[] bArr = k; if (bArr != null) { int i7 = $10 + 85; $11 = i7 % 128; int i8 = i7 % 2; int length = bArr.length; byte[] bArr2 = new byte[length]; int i9 = 0; while (i9 < length) { int i10 = $11 + 1; $10 = i10 % 128; int i11 = i10 % i4; Object[] objArr4 = {Integer.valueOf(bArr[i9])}; Object obj3 = xzZ.y.get(-1648115392); if (obj3 == null) { Class cls2 = (Class) xzZ.c(60 - Color.blue(0), 5 - (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)), (char) (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1))); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; aJ(b3, (byte) (b3 | ISO7816.INS_PSO), b3, objArr5); obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1648115392, obj3); } bArr2[i9] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue(); i9++; int i12 = $11 + 63; $10 = i12 % 128; int i13 = i12 % 2; i4 = 2; f = BitmapDescriptorFactory.HUE_RED; } bArr = bArr2; } if (bArr != null) { byte[] bArr3 = k; Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f6798o)}; Object obj4 = xzZ.y.get(-2092856797); if (obj4 == null) { Class cls3 = (Class) xzZ.c(337 - TextUtils.getTrimmedLength(""), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) KeyEvent.getDeadChar(0, 0)); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; aJ(b4, (byte) (-$$E[1]), b4, objArr7); obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(-2092856797, obj4); } intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L)))); } else { intValue = (short) (((short) (s[i + ((int) (f6798o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (m ^ (-7303220121662775787L)))); } } if (intValue > 0) { dfy.c = ((i + intValue) - 2) + ((int) (f6798o ^ (-7303220121662775787L))) + i6; Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(l), sb}; Object obj5 = xzZ.y.get(1546973421); if (obj5 == null) { obj5 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 748, Color.rgb(0, 0, 0) + 16777221, (char) (Process.myTid() >> 22))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class); xzZ.y.put(1546973421, obj5); } ((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a); dfy.e = dfy.a; byte[] bArr4 = k; if (bArr4 != null) { int i14 = $11 + 51; $10 = i14 % 128; int i15 = i14 % 2; int length2 = bArr4.length; byte[] bArr5 = new byte[length2]; for (int i16 = 0; i16 < length2; i16++) { bArr5[i16] = (byte) (bArr4[i16] ^ (-7303220121662775787L)); } bArr4 = bArr5; } boolean z = bArr4 != null; dfy.d = 1; while (dfy.d < intValue) { int i17 = $11 + 53; $10 = i17 % 128; if (i17 % 2 != 0) { obj2.hashCode(); throw null; } if (!(!z)) { byte[] bArr6 = k; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((byte) (((byte) (bArr6[r8] ^ (-7303220121662775787L))) + s2)) ^ b)); } else { short[] sArr = s; dfy.c = dfy.c - 1; dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r8] ^ (-7303220121662775787L))) + s2)) ^ b)); } sb.append(dfy.a); dfy.e = dfy.a; dfy.d++; } } objArr[0] = sb.toString(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } @Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public void attachBaseContext(Context context) { Context context2; int i = 2 % 2; int i2 = w + 45; u = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aG((short) (78 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), Color.argb(0, 0, 0, 0) - 1985599975, (-35) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 23766 - AndroidCharacter.getMirror('0'), (byte) (TextUtils.lastIndexOf("", '0', 0, 0) - 74), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((short) (Gravity.getAbsoluteGravity(0, 0) - 103), (-1985599957) - (ViewConfiguration.getKeyRepeatTimeout() >> 16), TextUtils.indexOf("", "", 0, 0) - 36, (-197829454) - View.resolveSize(0, 0), (byte) (68 - Process.getGidForName("")), 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 i4 = u + 105; w = i4 % 128; int i5 = i4 % 2; context2 = context.getApplicationContext(); int i6 = w + 13; u = i6 % 128; int i7 = i6 % 2; } else { context2 = context; } if (context2 != null) { int i8 = u + 45; w = i8 % 128; int i9 = i8 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 5 - KeyEvent.keyCodeFromString(""), (char) Color.argb(0, 0, 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aI(new char[]{29696, 51779, 51241, 39380, 24530, 34053, 61143, 7886, 12467, 32016, 38657, 35999, 7018, 31594, 41224, 51727, Matrix.MATRIX_TYPE_RANDOM_LT, 59241, 61451, 54396, 48165, 32206, 13202, 24259, 37881, 56583, 38457, 21376, 8144, 38424, 27507, 27563, 21751, 40641, 'j', 4992, 22898, 55125, 19961, 50418, 23989, 9876, 41035, 34571, 23158, 7323, 5967, 41928}, ImageFormat.getBitsPerPixel(0) + 49, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aI(new char[]{5772, 27879, 15176, 63826, 62529, 50418, 46338, 50277, 53182, 7928, 38233, 23092, 38233, 23092, 50624, 60202, 57648, 28878, 50304, 31151, 55015, 15388, 62978, 43274, 3796, 31918, 38585, 59650, 10496, 21708, 45814, 12919, 9653, 558, 57967, 23311, 25123, 42798, 19961, 50418, 62529, 50418, 6207, 32915, 53140, 16656, 62529, 50418, 25984, 56006, 11977, 54875, 23158, 7323, 3386, 14836, 47372, 15165, 28967, 26115, 62529, 50418, 206, 44053}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 64, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aG((short) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 18), (-1985599908) - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getLongPressTimeout() >> 16) - 36, (-197829466) - (ViewConfiguration.getTouchSlop() >> 8), (byte) ((-23) - (ViewConfiguration.getKeyRepeatTimeout() >> 16)), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aI(new char[]{5606, 45950, 18337, 26789, 62504, 11228, 50024, 46196, 25304, 34409, 32067, 21748, 24502, 10348, 40022, 28706, 12722, 43995, 56924, 21880, 56054, 48409, 62360, 42934, 21589, 35144, 64004, 54758, 13396, 50521, 60092, 11144, 37357, 57183, ' ', 60111, 7021, 56878, 47618, 63704, 32130, 39427, 18998, 61427, 7726, 20123, 32130, 39427, 51845, 39022, 24502, 10348, 36533, 30867, 58920, 8034, 17741, 56290, 14306, 24019, 56981, 12633, 14945, 23145, 2187, 5642, 37417, 29482, 2086, 61954, 12623, 32868, 52207, 10953}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 73, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aI(new char[]{19807, 7883, 34980, 28959, 48442, 36999}, 5 - (ViewConfiguration.getEdgeSlop() >> 16), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aG((short) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 77), View.MeasureSpec.getSize(0) - 1985599844, (-36) - View.getDefaultSize(0, 0), ((Process.getThreadPriority(0) + 20) >> 6) - 197829462, (byte) (((byte) KeyEvent.getModifierMetaStateMask()) - 43), 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 - TextUtils.getOffsetBefore("", 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } @Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onStart() { int i = 2 % 2; int i2 = w + 123; u = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = w + 59; u = i4 % 128; if (i4 % 2 != 0) { int i5 = 36 / 0; } } }