package o; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; 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.view.activity.BaseActivity; import com.scb.phone.view.activity.ntb.EkycSuccessActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13068fPo; import o.VLM; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.lds.CVCAFile; /* renamed from: o.edr, reason: case insensitive filesystem */ /* loaded from: classes5.dex */ public abstract class AbstractActivityC11361edr extends BaseActivity implements fPA { private static short[] y; private volatile C13073fPt b; private final Object l = new Object(); /* renamed from: o, reason: collision with root package name */ private boolean f8979o = false; private static final byte[] $$E = {78, ISO7816.INS_DELETE_FILE, 113, -27}; private static final int $$F = 30; private static int $10 = 0; private static int $11 = 1; private static int w = 0; private static int u = 1; private static long m = 9051040786702654117L; private static int k = 38628718; private static char s = 55973; private static int r = -505894477; private static int t = 1406017025; private static int p = 1302852804; private static byte[] q = {4, Ascii.US, Ascii.DC4, 13, 55, -4, 6, 12, Ascii.DC4, 14, Ascii.SYN, 10, 37, ISO7816.INS_DECREASE_STAMPED, -39, Ascii.ESC, 8, 84, -51, 28, 29, 30, 9, 17, 14, 71, 76, 73, 87, 113, -100, 69, Ascii.SUB, -113, Ascii.ESC, 65, 116, ISO7816.INS_REHABILITATE_CHV, 89, 77, -104, 12, 89, 119, -112, 0, ISO7816.INS_REHABILITATE_CHV, 74, -99, 9, 83, 113, ISO7816.INS_PSO, CVCAFile.CAR_TAG, ISO7816.INS_REHABILITATE_CHV, 119, 80, 113, ISO7816.INS_PSO, 116, -103, Ascii.CAN, 65, ISO7816.INS_MANAGE_CHANNEL, ISO7816.INS_REHABILITATE_CHV, 87, 115, 90, 83, 72, 82, ISOFileInfo.SECURITY_ATTR_COMPACT, 3, 69, 117, 71, 92, 75, 94, 76, 81, 117, 94, 70, ISO7816.INS_REHABILITATE_CHV, 74, 92, 74, 94, 92, -126, 70, 93, 15, 67, 90, 70, 74, 123, 119, 99, 116, Ascii.NAK, Ascii.NAK, Ascii.NAK}; private static void aJ(int i, short s2, short s3, Object[] objArr) { byte[] bArr = $$E; int i2 = s3 * 3; int i3 = 115 - s2; int i4 = 3 - (i * 2); byte[] bArr2 = new byte[1 - i2]; int i5 = 0 - i2; int i6 = -1; if (bArr == null) { i6 = -1; i3 = i4 + i5; i4 = i4; } while (true) { int i7 = i6 + 1; bArr2[i7] = (byte) i3; int i8 = i4 + 1; if (i7 == i5) { objArr[0] = new String(bArr2, 0); return; } else { i6 = i7; i3 = bArr[i8] + i3; i4 = i8; } } } public AbstractActivityC11361edr() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.edr.3 private AbstractActivityC11361edr c; { this.c = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { this.c.j(); } }); } @Override // o.fPC public final Object y_() { int i = 2 % 2; int i2 = w + 9; u = i2 % 128; int i3 = i2 % 2; Object y_ = g().y_(); if (i3 == 0) { int i4 = 97 / 0; } return y_; } private C13073fPt g() { if (this.b == null) { synchronized (this.l) { if (this.b == null) { this.b = new C13073fPt(this); } } } return this.b; } protected void j() { int i = 2 % 2; int i2 = w; int i3 = i2 + 117; u = i3 % 128; int i4 = i3 % 2; if (this.f8979o) { return; } int i5 = i2 + 45; u = i5 % 128; int i6 = i5 % 2; this.f8979o = true; ((InterfaceC11363edt) y_()).d((EkycSuccessActivity) this); } @Override // androidx.activity.ComponentActivity, o.GvH public VLM.LWm getDefaultViewModelProviderFactory() { Bundle bundle; int i = 2 % 2; VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory(); C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a(); if (getIntent() != null) { int i2 = w + 123; u = i2 % 128; int i3 = i2 % 2; bundle = getIntent().getExtras(); int i4 = w + 59; u = i4 % 128; if (i4 % 2 == 0) { int i5 = 3 % 2; } } else { bundle = null; } return a.aBN_(this, bundle, defaultViewModelProviderFactory); } private static void aG(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2 = 2; int i3 = 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] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i4 = $10 + 41; $11 = i4 % 128; int i5 = i4 % i2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(45 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), View.MeasureSpec.getSize(0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); try { Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(352 - (KeyEvent.getMaxKeyCode() >> 16), Color.green(0) + 5, (char) (52128 - View.MeasureSpec.getMode(0))); byte b = (byte) 0; byte b2 = b; Object[] objArr4 = new Object[1]; aJ(b, b2, b2, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); try { 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 - TextUtils.indexOf("", ""), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod(com.pingan.ai.p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); try { 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(View.combineMeasuredStates(0, 0) + 402, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (Gravity.getAbsoluteGravity(0, 0) + 21608)); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 1); Object[] objArr7 = new Object[1]; aJ(b3, b4, (byte) (b4 - 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]) ^ (m ^ 9051040786702654117L)) ^ ((int) (k ^ 9051040786702654117L))) ^ ((char) (s ^ 9051040786702654117L))); nhs.a++; i2 = 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } String str = new String(cArr6); int i6 = $10 + 81; $11 = i6 % 128; if (i6 % 2 != 0) { objArr[0] = str; } else { Object obj5 = null; obj5.hashCode(); throw null; } } @Override // 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; int i2 = u + 17; w = i2 % 128; int i3 = i2 % 2; Object obj = null; Object[] objArr = new Object[1]; aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 48937), new char[]{7219, 44668, 64787, 31758, 7146, 21984, 40818, 25597, 4705, 22778, 55757, 12596, 37323, 45653, 23338, 28738, 10906, 57432}, new char[]{16190, 62522, 22452, 42687}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((char) (TextUtils.getTrimmedLength("") + 23846), new char[]{22341, 53336, 16671, 44467, 19606}, new char[]{62133, 11347, 9770, 62557}, new char[]{0, 0, 0, 0}, TextUtils.getOffsetAfter("", 0) + 707548146, 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 i4 = u + 87; w = i4 % 128; int i5 = i4 % 2; Object[] objArr3 = new Object[1]; aI((short) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 15), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 1307134029, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.modify_quick_balance_next).substring(0, 1).length() + 5, (ViewConfiguration.getPressedStateDuration() >> 16) - 510257776, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_commercial_referral_header_info).substring(19, 20).length() - 1), objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.landing_page_scb).substring(0, 3).length() + 4729), new char[]{40045, 42965, 1319, 54621, 9949, 15247, 24247, 3801, 41118, 36575, 18414, 52489, 62477, 41704, 21442, 21539, 38739, 50376}, new char[]{39100, 45901, 31871, 30738}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); int i6 = w + 15; u = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { int i8 = w + 111; u = i8 % 128; if (i8 % 2 == 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 492, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) TextUtils.indexOf("", ""))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr5 = new Object[1]; aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), new char[]{54079, 13399, 50074, 36486, 44582, 34585, 1207, 36352, 34272, 56498, 17949, 38889, 59437, 58620, 53096, 50930, 50354, 26640, 30763, 52626, 23322, 48587, 62021, 11794, 62372, 51074, 62338, 52448, 48006, 17464, 56939, 28890, 44611, 9575, 20269, 3193, 15642, 23063, 12446, 40555, 20944, 6139, 54353, 62873, 37980, 6435, 20293, 35318}, new char[]{61704, 27358, 7964, 23422}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", "", 0), objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aG((char) ExpandableListView.getPackedPositionType(0L), new char[]{1119, 51803, 11216, 47019, 23431, 4266, 2583, 9153, 33635, 2672, 40081, 7900, 5402, 586, 40284, 41309, 1684, 42149, 52883, 61601, 64204, 59728, 35261, 62023, 58080, 4825, 985, 7522, 33729, 57911, 64441, 63203, 34912, 60604, 8659, 28401, 52343, 8707, 4578, 20554, 55683, 8613, 17379, 17007, 51115, 52519, 30979, 63193, 36713, 34339, 8588, 56063, 51521, 9002, 13130, 63332, 22954, 8668, 62821, 7215, 48946, 41626, 47192, 23191}, new char[]{7675, 38589, 36340, 18258}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_maemanee_gmb_entrace_open_gmb_button).substring(18, 19).codePointAt(0) - 32, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 110), new char[]{49601, 13373, 41267, 48631, 19270, 25750, 30794, 37922, 38126, 64629, 15885, 43391, 16572, 21366, 1983, 18924, 59666, 53691, 31045, 45217, 30133, 39613, 28912, 58137, 62769, 21499, 6804, 46355, 42324, 38245, 56766, 35970, 59148, 52257, 38828, 47611, 36185, 16576, 45128, 36701, 3767, 6048, 45289, 2029, 11581, 51748, 29729, 38714, 42647, 55892, 17904, 48059, 31658, 3164, 24835, 49782, 3107, 25420, 42089, 44864, 42955, 15534, 11950, 53351}, new char[]{11965, 57347, 62228, 43359}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.registration_thai).substring(0, 3).length() - 3, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aI((short) (View.getDefaultSize(0, 0) - 83), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 1307133963, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_introduction_cashback_benefits).substring(0, 2).length() + 52, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 510257768, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aI((short) ((-108) - KeyEvent.keyCodeFromString("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1307134106, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.check_eligibility_resume_dialog_text).substring(17, 18).codePointAt(0) - 47, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_otp_verify).substring(12, 17).length() - 510257821, (byte) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aG((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{44888, 30641, 31006, 60151, 3456, 15697, 54581, 20715, 26676, 62764, 8329, 23973, 45132, 37104, 55281, 62251, 20981, 50899, 29500, 33867, 30590, 54560, 2011, 12137, 48295, 30287, 34441, 37570, 64038, 49621, 37507, 48390, 7731, 49400, 43978, 35541}, new char[]{41575, 24931, 48997, 10679}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.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).length() - 1, objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), 4 - TextUtils.lastIndexOf("", '0', 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); } @Override // 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) { Object[] objArr = new Object[1]; aI((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.account_summary_my_investment_message).substring(0, 1).codePointAt(0) - 56), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ntb_scb_customer_tile).substring(16, 20).codePointAt(0) + 1307134010, 6 - (ViewConfiguration.getPressedStateDuration() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_banking_action).substring(18, 19).codePointAt(0) - 510257808, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 4719), new char[]{40045, 42965, 1319, 54621, 9949, 15247, 24247, 3801, 41118, 36575, 18414, 52489, 62477, 41704, 21442, 21539, 38739, 50376}, new char[]{39100, 45901, 31871, 30738}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.review_disclaimer_description_cdx).substring(0, 205).length() - 205, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = w + 77; u = i2 % 128; int i3 = i2 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = w + 15; u = i4 % 128; try { if (i4 % 2 == 0) { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 5 - View.MeasureSpec.getMode(0), (char) (KeyEvent.getMaxKeyCode() >> 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(487 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).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(487 - Color.green(0), 5 - View.combineMeasuredStates(0, 0), (char) View.combineMeasuredStates(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(); } /* JADX WARN: Code restructure failed: missing block: B:27:0x0023, code lost: r7 = (java.lang.Object[]) null; r6 = new java.lang.Object[1]; aI((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 27), 1307134041 - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 28, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_personal_laser_id_header).substring(30, 31).length() - 510257777, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregister_not_me_text).substring(60, 61).length() - 1), r6); r6 = java.lang.Class.forName((java.lang.String) r6[0]); r1 = new java.lang.Object[1]; aG((char) (4732 - android.widget.ExpandableListView.getPackedPositionType(0)), new char[]{40045, 42965, 1319, 54621, 9949, 15247, 24247, 3801, 41118, 36575, 18414, 52489, 62477, 41704, 21442, 21539, 38739, 50376}, new char[]{39100, 45901, 31871, 30738}, new char[]{0, 0, 0, 0}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, r1); r1 = (android.content.Context) r6.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null); r6 = o.AbstractActivityC11361edr.w + 77; o.AbstractActivityC11361edr.u = r6 % 128; r6 = r6 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0021, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 == null) goto L9; */ @Override // 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 /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onPause() { /* Method dump skipped, instructions count: 510 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11361edr.onPause():void"); } private static void aI(short s2, int i, int i2, int i3, byte b, Object[] objArr) { int i4; int i5; int i6 = 2 % 2; DFY dfy = new DFY(); StringBuilder sb = new StringBuilder(); try { Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(t)}; Object obj = xzZ.y.get(-2092856797); if (obj == null) { Class cls = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 337, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16)); byte b2 = (byte) 0; byte b3 = (byte) (b2 + 5); Object[] objArr3 = new Object[1]; aJ(b2, b3, (byte) (b3 - 5), 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(); if (intValue == -1) { int i7 = $11 + 3; $10 = i7 % 128; int i8 = i7 % 2; i4 = 1; } else { i4 = 0; } if (i4 != 0) { int i9 = $11 + 55; $10 = i9 % 128; if (i9 % 2 != 0) { obj2.hashCode(); throw null; } byte[] bArr = q; if (bArr != null) { int length = bArr.length; byte[] bArr2 = new byte[length]; for (int i10 = 0; i10 < length; i10++) { int i11 = $10 + 47; $11 = i11 % 128; int i12 = i11 % 2; Object[] objArr4 = {Integer.valueOf(bArr[i10])}; Object obj3 = xzZ.y.get(-1648115392); if (obj3 == null) { Class cls2 = (Class) xzZ.c(60 - (ViewConfiguration.getTapTimeout() >> 16), View.MeasureSpec.getSize(0) + 5, (char) KeyEvent.getDeadChar(0, 0)); byte b4 = (byte) 0; Object[] objArr5 = new Object[1]; aJ(b4, (byte) (b4 | 7), b4, objArr5); obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1648115392, obj3); } bArr2[i10] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue(); } bArr = bArr2; } if (bArr != null) { byte[] bArr3 = q; Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(r)}; Object obj4 = xzZ.y.get(-2092856797); if (obj4 == null) { Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 337, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16)); byte b5 = (byte) 0; byte b6 = (byte) (b5 + 5); Object[] objArr7 = new Object[1]; aJ(b5, b6, (byte) (b6 - 5), 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) (t ^ (-7303220121662775787L)))); } else { intValue = (short) (((short) (y[i + ((int) (r ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (t ^ (-7303220121662775787L)))); } } if (intValue > 0) { int i13 = $10 + 51; $11 = i13 % 128; int i14 = i13 % 2; dfy.c = ((i + intValue) - 2) + ((int) (r ^ (-7303220121662775787L))) + i4; Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(p), sb}; Object obj5 = xzZ.y.get(1546973421); if (obj5 == null) { obj5 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 749, View.getDefaultSize(0, 0) + 5, (char) KeyEvent.normalizeMetaState(0))).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 = q; if (bArr4 != null) { int length2 = bArr4.length; byte[] bArr5 = new byte[length2]; for (int i15 = 0; i15 < length2; i15++) { bArr5[i15] = (byte) (bArr4[i15] ^ (-7303220121662775787L)); } bArr4 = bArr5; } boolean z = bArr4 != null; dfy.d = 1; while (dfy.d < intValue) { if (z) { int i16 = $11 + 103; $10 = i16 % 128; if (i16 % 2 != 0) { byte[] bArr6 = q; int i17 = dfy.c; dfy.c = 0; i5 = dfy.e * (((byte) (((byte) (bArr6[i17] - 7303220121662775787L)) + s2)) ^ b); } else { byte[] bArr7 = q; dfy.c = dfy.c - 1; i5 = dfy.e + (((byte) (((byte) (bArr7[r8] ^ (-7303220121662775787L))) + s2)) ^ b); } dfy.a = (char) i5; } else { short[] sArr = y; 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.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) { int i = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aG((char) (48982 - Process.getGidForName("")), new char[]{7219, 44668, 64787, 31758, 7146, 21984, 40818, 25597, 4705, 22778, 55757, 12596, 37323, 45653, 23338, 28738, 10906, 57432}, new char[]{16190, 62522, 22452, 42687}, new char[]{0, 0, 0, 0}, 1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aG((char) (23845 - ImageFormat.getBitsPerPixel(0)), new char[]{22341, 53336, 16671, 44467, 19606}, new char[]{62133, 11347, 9770, 62557}, new char[]{0, 0, 0, 0}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 707548146, 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 applicationContext = context != null ? context.getApplicationContext() : context; if (applicationContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aG((char) (ViewConfiguration.getTouchSlop() >> 8), new char[]{54079, 13399, 50074, 36486, 44582, 34585, 1207, 36352, 34272, 56498, 17949, 38889, 59437, 58620, 53096, 50930, 50354, 26640, 30763, 52626, 23322, 48587, 62021, 11794, 62372, 51074, 62338, 52448, 48006, 17464, 56939, 28890, 44611, 9575, 20269, 3193, 15642, 23063, 12446, 40555, 20944, 6139, 54353, 62873, 37980, 6435, 20293, 35318}, new char[]{61704, 27358, 7964, 23422}, new char[]{0, 0, 0, 0}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aG((char) ((-1) - TextUtils.lastIndexOf("", '0', 0)), new char[]{1119, 51803, 11216, 47019, 23431, 4266, 2583, 9153, 33635, 2672, 40081, 7900, 5402, 586, 40284, 41309, 1684, 42149, 52883, 61601, 64204, 59728, 35261, 62023, 58080, 4825, 985, 7522, 33729, 57911, 64441, 63203, 34912, 60604, 8659, 28401, 52343, 8707, 4578, 20554, 55683, 8613, 17379, 17007, 51115, 52519, 30979, 63193, 36713, 34339, 8588, 56063, 51521, 9002, 13130, 63332, 22954, 8668, 62821, 7215, 48946, 41626, 47192, 23191}, new char[]{7675, 38589, 36340, 18258}, new char[]{0, 0, 0, 0}, TextUtils.lastIndexOf("", '0') + 1, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aG((char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1), new char[]{49601, 13373, 41267, 48631, 19270, 25750, 30794, 37922, 38126, 64629, 15885, 43391, 16572, 21366, 1983, 18924, 59666, 53691, 31045, 45217, 30133, 39613, 28912, 58137, 62769, 21499, 6804, 46355, 42324, 38245, 56766, 35970, 59148, 52257, 38828, 47611, 36185, 16576, 45128, 36701, 3767, 6048, 45289, 2029, 11581, 51748, 29729, 38714, 42647, 55892, 17904, 48059, 31658, 3164, 24835, 49782, 3107, 25420, 42089, 44864, 42955, 15534, 11950, 53351}, new char[]{11965, 57347, 62228, 43359}, new char[]{0, 0, 0, 0}, KeyEvent.normalizeMetaState(0), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aI((short) ((-83) - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), 1307134067 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 54 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (-510257769) - Color.blue(0), (byte) View.MeasureSpec.getSize(0), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aI((short) (65476 - AndroidCharacter.getMirror('0')), 1307134139 - MotionEvent.axisFromString(""), TextUtils.getOffsetAfter("", 0) - 15, (ViewConfiguration.getScrollBarFadeDuration() >> 16) - 510257816, (byte) (KeyEvent.getMaxKeyCode() >> 16), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aG((char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), new char[]{44888, 30641, 31006, 60151, 3456, 15697, 54581, 20715, 26676, 62764, 8329, 23973, 45132, 37104, 55281, 62251, 20981, 50899, 29500, 33867, 30590, 54560, 2011, 12137, 48295, 30287, 34441, 37570, 64038, 49621, 37507, 48390, 7731, 49400, 43978, 35541}, new char[]{41575, 24931, 48997, 10679}, new char[]{0, 0, 0, 0}, ViewConfiguration.getJumpTapTimeout() >> 16, objArr8); Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - Gravity.getAbsoluteGravity(0, 0), (char) TextUtils.getOffsetBefore("", 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, objArr9); int i2 = u + 91; w = i2 % 128; int i3 = i2 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } int i4 = w + 119; u = i4 % 128; int i5 = i4 % 2; } @Override // 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 = u + 65; w = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { throw null; } int i4 = u + 53; w = i4 % 128; int i5 = i4 % 2; } }