package com.scb.phone.view.activity.investment.discover; import android.content.Context; import android.graphics.Color; import android.media.AudioTrack; import android.os.Bundle; import android.os.SystemClock; import android.text.AndroidCharacter; 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.Button; import android.widget.ExpandableListView; import androidx.fragment.app.Fragment; import butterknife.BindView; import butterknife.OnClick; 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.BaseActivity; import com.scb.phone.view.activity.BaseActivityWithFragment; import com.scb.phone.view.fragment.TermsAndConditionsFragment; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import o.AbstractC13482fbE; import o.C0369Fc; import o.C0371Fd; import o.C14957gcv; import o.C4593bdB; import o.Iki; import o.InterfaceC12853fJD; import o.InterfaceC13391fZD; import o.InterfaceC9400diy; import o.ZI; import o.bBE; import o.xzZ; /* loaded from: classes4.dex */ public abstract class BaseDiscoverDisclaimerActivity extends BaseActivityWithFragment implements InterfaceC9400diy, InterfaceC12853fJD { private static int k; private static byte[] l; private static int m; /* renamed from: o, reason: collision with root package name */ private static int f7444o; private static int p; private static short[] q; private static long s; private Iki b; @BindView public Button btnAccept; @InterfaceC13391fZD public bBE presenter; private static final byte[] $$p = {4, -82, -41, -98}; private static final int $$q = 117; private static int $10 = 0; private static int $11 = 1; private static int t = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aC(short r5, byte r6, int r7, java.lang.Object[] r8) { /* int r6 = r6 * 3 int r6 = r6 + 4 int r5 = r5 * 2 int r0 = 1 - r5 byte[] r1 = com.scb.phone.view.activity.investment.discover.BaseDiscoverDisclaimerActivity.$$p int r7 = 110 - r7 byte[] r0 = new byte[r0] r2 = 0 int r5 = 0 - r5 if (r1 != 0) goto L17 r7 = r5 r4 = r6 r3 = r2 goto L29 L17: r3 = r2 L18: byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r5) goto L25 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L25: int r3 = r3 + 1 r4 = r1[r6] L29: int r6 = r6 + 1 int r4 = -r4 int r7 = r7 + r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverDisclaimerActivity.aC(short, byte, int, java.lang.Object[]):void"); } private static void aB(char[] cArr, int i, Object[] objArr) { Object method; int i2 = 2 % 2; C4593bdB c4593bdB = new C4593bdB(); c4593bdB.a = i; int length = cArr.length; long[] jArr = new long[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { int i3 = $10 + 23; $11 = i3 % 128; if (i3 % 2 == 0) { int i4 = c4593bdB.e; try { Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj = xzZ.y.get(-1229953068); if (obj == null) { Class cls = (Class) xzZ.c(402 - TextUtils.getOffsetBefore("", 0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21607)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, (byte) (b2 | 33), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() % (s / (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 238, 5 - TextUtils.getOffsetAfter("", 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 | 32), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { int i5 = c4593bdB.e; Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1229953068); if (obj3 == null) { Class cls3 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 402, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (21608 - TextUtils.getOffsetAfter("", 0))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; aC(b5, b6, (byte) (b6 | 33), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj3); } jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (s ^ (-6958928035870403642L)); Object[] objArr8 = {c4593bdB, c4593bdB}; Object obj4 = xzZ.y.get(-1143917229); if (obj4 == null) { Class cls4 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 239, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) View.MeasureSpec.getMode(0)); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr9 = new Object[1]; aC(b7, b8, (byte) (b8 | 32), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj4); } ((Method) obj4).invoke(null, objArr8); } } char[] cArr2 = new char[length]; c4593bdB.e = 0; int i6 = $11 + 57; $10 = i6 % 128; int i7 = i6 % 2; while (c4593bdB.e < cArr.length) { int i8 = $11 + 69; $10 = i8 % 128; if (i8 % 2 != 0) { cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr10 = {c4593bdB, c4593bdB}; Object obj5 = xzZ.y.get(-1143917229); if (obj5 == null) { Class cls5 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 238, 4 - MotionEvent.axisFromString(""), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16)); byte b9 = (byte) 0; byte b10 = b9; Object[] objArr11 = new Object[1]; aC(b9, b10, (byte) (b10 | 32), objArr11); obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj5); } ((Method) obj5).invoke(null, objArr10); throw null; } cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr12 = {c4593bdB, c4593bdB}; Object obj6 = xzZ.y.get(-1143917229); if (obj6 != null) { method = obj6; } else { Class cls6 = (Class) xzZ.c(238 - ExpandableListView.getPackedPositionType(0L), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0)); byte b11 = (byte) 0; byte b12 = b11; Object[] objArr13 = new Object[1]; aC(b11, b12, (byte) (b12 | 32), objArr13); method = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(-1143917229, method); } ((Method) method).invoke(null, objArr12); } objArr[0] = new String(cArr2); } /* loaded from: classes4.dex */ public static final class RVV { private RVV() { } public /* synthetic */ RVV(byte b) { this(); } } @Override // 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 onCreate(Bundle bundle) { int i = 2 % 2; int i2 = p + 79; t = i2 % 128; int i3 = i2 % 2; Iki iki = null; Object[] objArr = new Object[1]; ay((short) View.resolveSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 55554263, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 36, (-1168636733) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{61198, 23165, 34296, 53055, 15003}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) + 46340, 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]; aB(new char[]{61186, 37390, 5377, 38936, 6912, 40453, 277, 33880, 1818, 35336, 3341, 45164, 13062, 46631, 14653, 48167, 16165, 41529, 9505, 43043, 11019, 44596, 20819, 54339, 22346, 55884}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_value).substring(0, 7).codePointAt(5) + 31955, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(new char[]{61184, 42287, 31587, 12730, 51170, 39952, 21057, 59565, 48859, 29458, 2357, 57209, 38316, 11239, 57353, 46685, 19612, 708}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 18890, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new char[]{61266, 31195, 49737, 11436, 46444, 8139, 26719, 62187, 23417, 42077, 3783, 38695, 57828, 19010, 54402, 15674, 34801, 4143, 31071, 50118, 11388, 46828, 8008, 27011, 62061, 23714, 42374, 3651, 39076, 57705, 19397, 54275, 16050, 34617, 4517, 31455, 49945, 11693, 46651, 200, 26889, 62384, 23596, 42323, 3988, 39032, 58036, 19222}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 38509, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ll_terminal_id).substring(0, 5).length() - 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 55554257, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 15, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_top_up_turn_off).substring(4, 5).codePointAt(0) - 1168636762, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_landing_amount_too_high).substring(11, 12).length() - 1), objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99), Color.green(0) - 55554147, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.switch_on_description).substring(4, 5).length() - 3, (-1168636735) - ((byte) KeyEvent.getModifierMetaStateMask()), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fill_information_title_breadcrumb_th).substring(0, 16).codePointAt(8) - 3621), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new char[]{61195, 58448, 63897, 52934, 49676, 55098, 44262, 41405, 46376, 35445, 40900, 37635, 26708, 32151, 29420, 17959, 23414, 20646, 9726, 14671, 3726, 988, 5915, 60515, 57765, 63207, 51835, 57194, 54479, 43034, 48468, 45723, 34807, 39719, 36972, 26021, 31467, 19982, 17294, 22727, 11290, 8526, 13985, 3069, 7974, 5229, 59840, 64792, 62038, 51162, 56542, 53289, 42338, 47871, 36856, 33618, 39042, 28035, 24860, 30288, 19360, 16621, 21538, 10606, 16012, 12818, 1823, 7385, 4570, 58678, 64108, 53180, 50415, 55343}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 2789, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ay((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 55554117, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 117, (-1168636775) - TextUtils.indexOf((CharSequence) "", '0', 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aB(new char[]{61190, 62049, 54679, 46974, 39563, 32181, 24325, 8934, 1110, 59182, 51853, 44103, 36773, 37193, 29757, 22428, 14690, 7361, 65464, 49499, 42173, 34329, 27010, 19627, 11801, 12715, 4959, 63091, 55680, 47921, 40602, 25003, 17207, 9877, 2164, 60303}, Color.blue(0) + 7523, 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.combineMeasuredStates(0, 0), View.combineMeasuredStates(0, 0) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); bBE bbe = this.presenter; if (bbe != null) { int i4 = p + 21; t = i4 % 128; int i5 = i4 % 2; } else { C14957gcv.a(""); bbe = null; } bbe.e((bBE) this); bBE bbe2 = this.presenter; if (bbe2 != null) { int i6 = t + 103; p = i6 % 128; if (i6 % 2 == 0) { int i7 = 83 / 0; } } else { C14957gcv.a(""); bbe2 = null; } ZI.IeS ieS = new ZI.IeS() { // from class: o.bBD @Override // o.ZI.IeS public final void e(Object obj3) { ((InterfaceC9400diy) obj3).d(); } }; if (bbe2.f != 0) { int i8 = p; int i9 = i8 + 91; t = i9 % 128; int i10 = i9 % 2; int i11 = i8 + 5; t = i11 % 128; if (i11 % 2 != 0) { ieS.e(bbe2.f); iki.hashCode(); throw null; } ieS.e(bbe2.f); } Iki iki2 = new Iki(); this.b = iki2; iki2.d(Iki.d.e, Iki.e.c); Iki iki3 = this.b; if (iki3 == null) { C14957gcv.a(""); int i12 = t + 31; p = i12 % 128; int i13 = i12 % 2; } else { iki = iki3; } iki.c(((BaseActivity) this).scbAnalytics, Iki.a.e); d_("prdiscover_disclaimer_mainpage"); } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final Fragment M() { int i = 2 % 2; Fragment fragment = new Fragment(); int i2 = t + 33; p = i2 % 128; int i3 = i2 % 2; return fragment; } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final String L() { int i = 2 % 2; int i2 = p + 77; t = i2 % 128; if (i2 % 2 != 0) { C14957gcv.c((Object) getString(R.string.investment_discover_disclaimer_title), ""); throw null; } String string = getString(R.string.investment_discover_disclaimer_title); C14957gcv.c((Object) string, ""); return string; } @Override // o.InterfaceC9400diy public final void d() { int i = 2 % 2; String string = getString(R.string.investment_discover_disclaimer_title); C14957gcv.c((Object) string, ""); C0371Fd c0371Fd = new C0371Fd("DiscoverDisclaimerActivity", (String) null, "mutualfunds_disclaimers", (String) null, string, (String) null, (String) null, false, false, false, (C0369Fc) null, 0, 7784); TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c; TermsAndConditionsFragment c = TermsAndConditionsFragment.HBt.c(c0371Fd); AbstractC13482fbE a = getSupportFragmentManager().a(); a.b(R.id.container, c, null, 2); a.b(); int i2 = t + 91; p = i2 % 128; int i3 = i2 % 2; } @Override // o.InterfaceC9400diy public final void a() { int i = 2 % 2; int i2 = p + 25; t = i2 % 128; int i3 = i2 % 2; setResult(-1); finish(); int i4 = p + 27; t = i4 % 128; if (i4 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } @OnClick public final void onAcceptButtonClicked() { int i = 2 % 2; int i2 = p + 101; int i3 = i2 % 128; t = i3; bBE bbe = null; if (i2 % 2 != 0) { throw null; } Iki iki = this.b; if (iki == null) { int i4 = i3 + 95; p = i4 % 128; int i5 = i4 % 2; C14957gcv.a(""); iki = null; } iki.d(Iki.d.e, Iki.e.a); Iki iki2 = this.b; if (iki2 == null) { C14957gcv.a(""); iki2 = null; } iki2.c(((BaseActivity) this).scbAnalytics, Iki.a.e); d_("prdiscover_disclaimer_accepted"); bBE bbe2 = this.presenter; if (bbe2 != null) { bbe = bbe2; } else { C14957gcv.a(""); } bbe.d.a.t(); ZI.IeS ieS = new ZI.IeS() { // from class: o.bBH @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9400diy) obj).a(); } }; if (bbe.f != 0) { ieS.e(bbe.f); } } @Override // androidx.activity.ComponentActivity, android.app.Activity public void onBackPressed() { int i = 2 % 2; int i2 = t + 89; p = i2 % 128; int i3 = i2 % 2; setResult(0); super.onBackPressed(); finish(); int i4 = p + 125; t = i4 % 128; int i5 = i4 % 2; } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object e(Object[] objArr) { BaseDiscoverDisclaimerActivity baseDiscoverDisclaimerActivity = (BaseDiscoverDisclaimerActivity) objArr[0]; int i = 2 % 2; int i2 = p + 13; t = i2 % 128; int i3 = i2 % 2; baseDiscoverDisclaimerActivity.onBackPressed(); int i4 = p + 1; t = i4 % 128; int i5 = i4 % 2; return null; } @Override // 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; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aB(new char[]{61186, 37390, 5377, 38936, 6912, 40453, 277, 33880, 1818, 35336, 3341, 45164, 13062, 46631, 14653, 48167, 16165, 41529, 9505, 43043, 11019, 44596, 20819, 54339, 22346, 55884}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 32003, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{61184, 42287, 31587, 12730, 51170, 39952, 21057, 59565, 48859, 29458, 2357, 57209, 38316, 11239, 57353, 46685, 19612, 708}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_duration_value).substring(0, 9).length() + 18992, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i2 = p + 65; t = i2 % 128; int i3 = i2 % 2; } if (baseContext != null) { int i4 = p + 3; t = i4 % 128; int i5 = i4 % 2; baseContext = baseContext.getApplicationContext(); int i6 = p + 1; t = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { int i8 = p + 111; t = i8 % 128; int i9 = i8 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(Color.green(0) + 492, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 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 - View.resolveSize(0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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(); } /* JADX WARN: Removed duplicated region for block: B:43:0x01c5 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void ay(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) { /* Method dump skipped, instructions count: 751 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverDisclaimerActivity.ay(short, int, int, int, byte, java.lang.Object[]):void"); } @Override // 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; int i2 = t + 97; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = t + 9; p = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aB(new char[]{61186, 37390, 5377, 38936, 6912, 40453, 277, 33880, 1818, 35336, 3341, 45164, 13062, 46631, 14653, 48167, 16165, 41529, 9505, 43043, 11019, 44596, 20819, 54339, 22346, 55884}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 31888, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{61184, 42287, 31587, 12730, 51170, 39952, 21057, 59565, 48859, 29458, 2357, 57209, 38316, 11239, 57353, 46685, 19612, 708}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 18967, 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(TextUtils.getOffsetBefore("", 0) + 492, '5' - AndroidCharacter.getMirror('0'), (char) (ViewConfiguration.getTapTimeout() >> 16))).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(TextUtils.getOffsetBefore("", 0) + 487, '5' - AndroidCharacter.getMirror('0'), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 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(); int i6 = p + 7; t = i6 % 128; int i7 = i6 % 2; } /* JADX WARN: Code restructure failed: missing block: B:4:0x007d, code lost: if (r3 > 99999) goto L6; */ @Override // 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 /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void attachBaseContext(android.content.Context r26) { /* Method dump skipped, instructions count: 780 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverDisclaimerActivity.attachBaseContext(android.content.Context):void"); } static void g() { m = 1350676128; f7444o = 1406017044; k = 376038794; l = new byte[]{4, Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, ISO7816.INS_PSO, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, ISO7816.INS_PSO, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, 17, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE}; s = -5698710294597075803L; } @Override // 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 = t + 117; p = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = t + 71; p = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC12828fIc public final void h() { int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 158293868; e(new Object[]{this}); } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final int K() { int i = 2 % 2; int i2 = p + 79; t = i2 % 128; if (i2 % 2 == 0) { return R.layout.2131558515; } Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC12853fJD public final void e(String str) { int i = 2 % 2; int i2 = p + 99; t = i2 % 128; if (i2 % 2 != 0) { throw null; } } @Override // o.InterfaceC12853fJD public final void d(String str) { int i = 2 % 2; int i2 = p + 81; t = i2 % 128; if (i2 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } static { p = 1; g(); new RVV((byte) 0); int i = t + 39; p = i % 128; if (i % 2 == 0) { throw null; } } }