package com.scb.phone.view.activity.bond; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import androidx.fragment.app.Fragment; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.fragment.bond.BondNoAccountsErrorFragment; import java.lang.reflect.Method; import o.AbstractActivityC9962dtl; import o.EV; import o.GuL; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public class BondErrorNoAccountsActivity extends AbstractActivityC9962dtl { private static final byte[] $$E = {67, 119, -105, 2}; private static final int $$F = CipherSuite.TLS_PSK_WITH_3DES_EDE_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int l = 0; /* renamed from: o, reason: collision with root package name */ private static int f6583o = 1; private static long b = 2039783146239141067L; private static char[] k = {528, 24627, 50758, 9393, 35525, 46195, 54866, 28684, 37575, 15529, 24429, 63790, 7120, 42456, 51087, 25178, 35876, 12007, 18618, 60262, 30016, 38671, 12761, 36835, 60882, 19336, 43285, 1853, 25762, 49918, 8242, 40456, 64516, 22982, 47086, 5493, 29563, 53475, 20179, 44224, 2630, 26686, 50687, 9133, 33125, 65289, 23834, 47772, 6331, 30247, 54314, 12725, 45008, 3524, 27466, 51459, 9968, 33956, 57958, 16392, 48708, 7066, 31185, 55160, 13609, 37613, 61658, 28357, 52289, 10837, 34815, 36791, 60807, 19338, 43282, 1848, 25763, 49836, 8298, 40463, 64520, 22982, 47033, 5492, 29487, 53479, 20186, 44180, 2625, 26685, 50677, 9213, 33127, 65289, 23831, 47817, 6331, 30324, 54396, 12772, 45008, 3472, 27459, 51461, 9970, 33961, 57910, 16475, 48665, 7066, 31185, 55164, 13695, 37557, 61657, 28307, 52296, 10758, 34729, 58854, 17261, 41226, 7952, 31901, 55945, 14461, 38497, 62434, 20878, 53141, 11591, 35584, 59563, 18145, 42046, 36843, 60875, 19332, 43353, 1854, 42840, 50539, 25441, 33196, 12165, 19479, 59971, 2188, 46760, 54500, 28971, 40709, 15819, 23515, 63499, 26166, 33916, 8875, 16590, 60745, 2835, 43483, 55268, 30177, 37415, 12289, 24217, 64657, 6414, 34659, 9516, 17313, 57833, 3615, 44098, 51933}; private static long m = 7256563912222633445L; private static void aJ(int i, byte b2, short s, Object[] objArr) { int i2 = b2 * 3; int i3 = (s * 3) + 4; int i4 = 121 - i; byte[] bArr = $$E; byte[] bArr2 = new byte[1 - i2]; int i5 = 0 - i2; int i6 = -1; if (bArr == null) { i4 = (-i4) + i5; i3++; i6 = -1; } while (true) { int i7 = i6 + 1; bArr2[i7] = (byte) i4; if (i7 == i5) { objArr[0] = new String(bArr2, 0); return; } i4 = (-bArr[i3]) + i4; i3++; i6 = i7; } } public static void a(Context context, EV ev, String str) { int i = 2 % 2; Intent intent = new Intent(context, (Class) BondErrorNoAccountsActivity.class); intent.putExtra("EXTRA_ERROR_DISPLAY", ev); intent.putExtra("BOND_ERROR_DISPLAY_PROSPECTUS", str); context.startActivity(intent); int i2 = l + 53; f6583o = i2 % 128; if (i2 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.ErrorGenericActivity, com.scb.phone.view.activity.BaseActivityWithFragment public final Fragment M() { int i = 2 % 2; int i2 = l + 21; f6583o = i2 % 128; if (i2 % 2 != 0) { return BondNoAccountsErrorFragment.b((EV) getIntent().getParcelableExtra("EXTRA_ERROR_DISPLAY"), getIntent().getStringExtra("BOND_ERROR_DISPLAY_PROSPECTUS")); } BondNoAccountsErrorFragment.b((EV) getIntent().getParcelableExtra("EXTRA_ERROR_DISPLAY"), getIntent().getStringExtra("BOND_ERROR_DISPLAY_PROSPECTUS")); Object obj = null; obj.hashCode(); throw null; } private static void aG(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(b ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $11 + 125; $10 = i3 % 128; int i4 = i3 % 2; while (guL.a < a.length) { int i5 = $10 + 5; $11 = i5 % 128; int i6 = i5 % 2; guL.c = guL.a - 4; int i7 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(b)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(209 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) ((Process.myPid() >> 22) + 1706)); byte b2 = $$E[3]; byte b3 = (byte) (b2 - 2); Object[] objArr3 = new Object[1]; aJ(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 392, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; aJ(b4, b5, b5, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a, 4, a.length - 4); } /* JADX WARN: Removed duplicated region for block: B:64:0x028e */ /* JADX WARN: Removed duplicated region for block: B:65:0x028f */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aI(int r20, int r21, char r22, java.lang.Object[] r23) { /* Method dump skipped, instructions count: 664 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bond.BondErrorNoAccountsActivity.aI(int, int, char, java.lang.Object[]):void"); } /* JADX WARN: Code restructure failed: missing block: B:4:0x00d3, code lost: if (r2 > 99999) goto L6; */ @Override // o.AbstractActivityC9962dtl, com.scb.phone.view.activity.ErrorGenericActivity, o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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 onCreate(android.os.Bundle r20) { /* Method dump skipped, instructions count: 1342 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bond.BondErrorNoAccountsActivity.onCreate(android.os.Bundle):void"); } @Override // o.AbstractActivityC9962dtl, com.scb.phone.view.activity.ErrorGenericActivity, o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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; int i2 = f6583o + 17; l = i2 % 128; if (i2 % 2 != 0) { getBaseContext(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { int i3 = l + 41; f6583o = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; aG(new char[]{64149, 25622, 64244, 9755, 6380, 24452, 57175, 10826, 2218, 2715, 52487, 14246, 7764, 1362, 64419, 1526, 11300, 14321, 63095, 4929, 13219, 8619, 58375, 24833, 16721, 23642, 37585, 28333, 22292, 19974}, ViewConfiguration.getScrollDefaultDelay() >> 16, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.installment_plans_general_terms_for_credit_card).substring(35, 36).codePointAt(0) - 27, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_summary_simulator_about_steps).substring(0, 3).codePointAt(1) - 28, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_charge_info).substring(0, 1).codePointAt(0) + 15256), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i5 = f6583o + 101; l = i5 % 128; int i6 = i5 % 2; } if (baseContext != null) { int i7 = l + 75; f6583o = i7 % 128; if (i7 % 2 == 0) { baseContext = baseContext.getApplicationContext(); int i8 = 96 / 0; } else { baseContext = baseContext.getApplicationContext(); } } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), KeyEvent.getDeadChar(0, 0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (Process.myPid() >> 22))).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(); } @Override // o.AbstractActivityC9962dtl, com.scb.phone.view.activity.ErrorGenericActivity, o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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) { Object[] objArr = new Object[1]; aG(new char[]{64149, 25622, 64244, 9755, 6380, 24452, 57175, 10826, 2218, 2715, 52487, 14246, 7764, 1362, 64419, 1526, 11300, 14321, 63095, 4929, 13219, 8619, 58375, 24833, 16721, 23642, 37585, 28333, 22292, 19974}, ((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]; aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_qr_prompt_pay_is_required_detail).substring(20, 21).codePointAt(0) - 27, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_charge_info).substring(0, 1).codePointAt(0) + 15256), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i2 = f6583o + 65; l = i2 % 128; int i3 = i2 % 2; } if (baseContext != null) { int i4 = l + 57; f6583o = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 5 - TextUtils.getOffsetBefore("", 0), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).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(Color.alpha(0) + 487, AndroidCharacter.getMirror('0') - '+', (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 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(); } @Override // o.AbstractActivityC9962dtl, com.scb.phone.view.activity.ErrorGenericActivity, o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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; int i2 = l + 29; f6583o = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aG(new char[]{62410, 37907, 62379, 16250, 59625, 60189, 50742, 40659, 501, 64158, 54374, 33599, 5893, 62804, 58012, 45329, 9544, 51192, 61185, 42964, 15097, 53684}, View.resolveSizeAndState(0, 0, 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aI(TextUtils.indexOf("", "", 0, 0), KeyEvent.keyCodeFromString("") + 5, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 36271), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = l + 43; f6583o = i4 % 128; if (i4 % 2 == 0) { throw null; } if (intValue <= 99999) { return; } } Context applicationContext = context != null ? context.getApplicationContext() : context; if (applicationContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aI(23 - (ViewConfiguration.getEdgeSlop() >> 16), 48 - (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) View.MeasureSpec.getMode(0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aI(72 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 63, (char) Gravity.getAbsoluteGravity(0, 0), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aG(new char[]{34551, 30943, 34454, 20543, 1139, 24230, 43303, 11049, 29894, 5640, 47906, 14031, 25189, 6610, 36292, 1183, 20581, 11119, 32791, 4658, 20438, 15721, 37425, 24682, 15702, 16587, 58544, 28632, 11124, 21139, 63313, 32095, 9983, 25645, 51550, 19246, 5187, 30633, 56310, 22191, 530, 31113, 11766, 42011, 61922, 35675, 8258, 45641, 61409, 40632, 12945, 33263, 56661, 41198, 1253, 36834, 51409, 45634, 5943, 40204, 50855, 50250, 27089, 59611, 46194, 55203, 31620, 63229}, ViewConfiguration.getTapTimeout() >> 16, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aG(new char[]{55565, 33174, 55653, 18331, 64886, 54723, 48839, 40975, 11054, 61256, 44236, 48608, 15838, 57547, 39474, 36850, 3998, 53885, 38894, 39170, 4136, 50224, 34192, 60246, 25340, 47582, 62273, 58606, 29827, 43913, 57533, 63019, 31061, 40224, 56998, 49230, 19449, 36577, 52306, 56716, 23977, 32988, 14852, 12090, 44620, 29264, 14263, 14700, 45068, 26599, 9570, 2717, 33448, 23020, 4880, 1232, 38768, 19229, 194, 5759, 39172, 15693, 32378, 25521, 60378, 11959, 27696, 32219, 64546, 8308, 22913, 20304, 52792, 4612, 22406, 22689, 53465, 2001}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aI(135 - View.MeasureSpec.getMode(0), 5 - View.resolveSize(0, 0), (char) View.resolveSize(0, 0), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aI((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA, TextUtils.getOffsetBefore("", 0) + 36, (char) (ExpandableListView.getPackedPositionChild(0L) + 10480), 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(Process.getGidForName("") + 488, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) Color.alpha(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 i5 = f6583o + 111; l = i5 % 128; int i6 = i5 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } @Override // o.AbstractActivityC9962dtl, com.scb.phone.view.activity.ErrorGenericActivity, o.AbstractActivityC9734dpV, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f6583o + 63; l = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = l + 97; f6583o = i4 % 128; int i5 = i4 % 2; } }