package com.scb.phone.view.activity.mwpartner; import android.content.Context; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; import android.view.MenuItem; import android.view.MotionEvent; 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.activity.HomeActivity; import com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.fragment.TermsAndConditionsFragment; import java.lang.reflect.Method; import o.AbstractActivityC8882dYq; import o.AbstractC13482fbE; import o.C0371Fd; import o.C5650bx; import o.C8919dZt; import o.IRS; import o.InterfaceC12853fJD; import o.InterfaceC13391fZD; import o.InterfaceC9417djO; import o.ZI; import o.bWG; import o.xzZ; import okhttp3.internal.http2.Http2Connection; import org.bouncycastle.crypto.tls.CipherSuite; import org.jnbis.internal.NistHelper; /* loaded from: classes5.dex */ public class MwTermsAndConditionsActivity extends AbstractActivityC8882dYq implements InterfaceC9417djO, InterfaceC12853fJD { @InterfaceC13391fZD public bWG merchantTermsAndConditionsPresenter; private static final byte[] $$y = {102, 118, 67, -58}; private static final int $$z = 62; private static int $10 = 0; private static int $11 = 1; private static int s = 0; private static int q = 1; private static char[] m = {37297, 32511, 20278, 23649, 11451, 15868, 2610, 6969, 60343, 63722, 51572, 54859, 42670, 47090, 33853, 38266, 26035, 29426, 36785, 24806, 20770, 16995, 12979, 9209, 5152, 1364, 62890, 59115, 55092, 51312, 47293, 43518, 39464, 35700, 31661, 27885, 53622, 15921, 4081, 7398, 27760, 32097, 19111, 23521, 43821, 47159, 35327, 38637, 59000, 63336, 50426, 54704, 9525, 12837, 999, 4268, 24672, 28966, 24240, 44969, 48953, 35880, 40382, 60073, 64056, 52003, 55485, 10665, 14678, 1555, 6109, 25749, 29701, 17735, 21123, 41922, 45917, 32794, 37332, 65177, 52744, 57106, 11404, 15772, 2975, 58585, 54606, 50780, 46792, 42973, 36936, 33028, 29079, 25222, 21314, 19463, 15556, 11649, 7747, 3844, 65500, 59551, 55641, 51739, 47757, 43929, 33805, 29977, 26065, 22165, 18256, 12354, 8404, 4510, 596, 62237, 58349, 56492, 52589, 48760, 44779, 40871, 34878, 31103, 27108, 23281, 19249, 9255, 5347, 1446, 63074, 59255, 55214, 49331, 45358, 41534, 37549, 33719, 31865, 28015, 24058, 20192, 16241, 10297, 6384, 2533, 64037, 60256, 36791, 24818, 20834, 16933, 12978, 9134, 5216, 1317, 62967, 59053, 55144, 51324, 47292, 43442, 39528, 35631, 31731, 27826, 23917, 20064, 16036, 12258, '\'', 61736, 57848, 53992, 50042, 46184, 42233, 38378, 34351, 30520, 26566, 22662, 18753, 14932}; private static long k = -8947938593368743789L; /* renamed from: o, reason: collision with root package name */ private static char[] f7593o = {49116, 48174, 49093, 49126, 49115, 49110, 48160, 49027, 49109, 49053, 48161, 49104, 49105, 49138, 49025, 49024, 49112, 49094, 48171, 49028, 49111, 49033, 49029, 49117, 49088, 49119, 49107, 48170, 49095, 49052, 49026, 49030, 49091, 49034, 48173, 48169, 49098, 49118, 48168, 49106, 49031, 49127, 49035, 48172, 49090, 49108, 49114, 49089, 48175}; private static char l = 35374; /* 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:0x002c). 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 aF(short r7, short r8, int r9, java.lang.Object[] r10) { /* int r8 = 120 - r8 int r7 = r7 * 3 int r7 = 3 - r7 int r9 = r9 * 2 int r9 = 1 - r9 byte[] r0 = com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity.$$y byte[] r1 = new byte[r9] r2 = 0 if (r0 != 0) goto L15 r8 = r7 r3 = r9 r4 = r2 goto L2c L15: r3 = r2 L16: int r4 = r3 + 1 byte r5 = (byte) r8 r1[r3] = r5 if (r4 != r9) goto L25 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L25: int r7 = r7 + 1 r3 = r0[r7] r6 = r8 r8 = r7 r7 = r6 L2c: int r7 = r7 + r3 r3 = r4 r6 = r8 r8 = r7 r7 = r6 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity.aF(short, short, int, java.lang.Object[]):void"); } public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) { int i4 = (i * 217) + (i2 * (-215)) + ((~(i | i3)) * 216); int i5 = (~i2) | i; int i6 = ~i3; int i7 = i4 + ((i5 | i6) * (-216)) + (((~(i | i6)) | i2) * 216); if (i7 == 1) { return c(objArr); } if (i7 != 2) { MwTermsAndConditionsActivity mwTermsAndConditionsActivity = (MwTermsAndConditionsActivity) objArr[0]; int i8 = 2 % 2; int i9 = s + 39; q = i9 % 128; int i10 = i9 % 2; super.Z(); mwTermsAndConditionsActivity.setTitle(R.string.mr_terms_and_conditions_nev_title); mwTermsAndConditionsActivity.ac(); int i11 = q + 77; s = i11 % 128; int i12 = i11 % 2; return null; } int i13 = 2 % 2; int i14 = q + 83; s = i14 % 128; int i15 = i14 % 2; return null; } public static Intent aiK_(Context context) { int i = 2 % 2; Intent intent = new Intent(context, (Class) MwTermsAndConditionsActivity.class); int i2 = q + 33; s = i2 % 128; if (i2 % 2 != 0) { int i3 = 57 / 0; } return intent; } /* JADX WARN: Removed duplicated region for block: B:51:0x03c3 */ /* JADX WARN: Removed duplicated region for block: B:53:0x03c4 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aD(int r21, int r22, char r23, java.lang.Object[] r24) { /* Method dump skipped, instructions count: 973 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity.aD(int, int, char, java.lang.Object[]):void"); } /* JADX WARN: Code restructure failed: missing block: B:18:0x00cb, code lost: if (r4 > 99999) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x00c5, code lost: if (r4 > 99999) goto L11; */ /* JADX WARN: Removed duplicated region for block: B:9:0x0428 */ @Override // o.AbstractActivityC8882dYq, 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: 1303 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity.onCreate(android.os.Bundle):void"); } @Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity public boolean onOptionsItemSelected(MenuItem menuItem) { int i = 2 % 2; int i2 = q + 77; s = i2 % 128; if (i2 % 2 != 0) { menuItem.getItemId(); throw null; } if (menuItem.getItemId() == 16908332) { j(); return true; } boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem); int i3 = q + 31; s = i3 % 128; int i4 = i3 % 2; return onOptionsItemSelected; } @Override // androidx.activity.ComponentActivity, android.app.Activity public void onBackPressed() { int i = 2 % 2; int i2 = s + 83; q = i2 % 128; int i3 = i2 % 2; Object obj = null; j(); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = s + 75; q = i4 % 128; if (i4 % 2 != 0) { return; } obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final Fragment M() { int i = 2 % 2; Fragment fragment = new Fragment(); int i2 = s + 85; q = i2 % 128; if (i2 % 2 != 0) { return fragment; } Object obj = null; obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final String L() { int i = 2 % 2; int i2 = q + 21; s = i2 % 128; int i3 = i2 % 2; String string = getString(R.string.tc_action_bar_title); int i4 = s + 65; q = i4 % 128; int i5 = i4 % 2; return string; } @Override // o.InterfaceC9652dno public final void A() { boolean z; int i = 2 % 2; int i2 = s + 41; q = i2 % 128; if (i2 % 2 == 0) { "ONBOARD".equalsIgnoreCase(this.merchantTermsAndConditionsPresenter.e.e.d().e); Object obj = null; obj.hashCode(); throw null; } bWG bwg = this.merchantTermsAndConditionsPresenter; if ("ONBOARD".equalsIgnoreCase(bwg.e.e.d().e)) { ZI.IeS ieS = new ZI.IeS() { // from class: o.bWP @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9417djO) obj2).d(); } }; if (bwg.f != 0) { int i3 = s + 17; q = i3 % 128; if (i3 % 2 == 0) { return; } ieS.e(bwg.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bWM @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9417djO) obj2).e(); } }; if (bwg.f != 0) { int i4 = q + 81; s = i4 % 128; int i5 = i4 % 2; z = true; } else { z = false; } if (!z) { return; } ieS2.e(bwg.f); int i6 = s + 17; q = i6 % 128; int i7 = i6 % 2; } public static /* synthetic */ void aiL_(DialogInterface dialogInterface) { int i = 2 % 2; int i2 = q + 85; s = i2 % 128; int i3 = i2 % 2; dialogInterface.dismiss(); if (i3 != 0) { throw null; } int i4 = s + 91; q = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC12853fJD public final void d(String str) { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.mr_terms_and_conditions_accept_dialog_title).d(R.string.mr_terms_and_conditions_accept_dialog_description), Integer.valueOf(R.string.mr_terms_and_conditions_accept_dialog_btn_cancel), new DialogInterface.OnClickListener() { // from class: o.eaT @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.aiL_(dialogInterface); } }})).aoT_(R.string.mr_terms_and_conditions_accept_dialog_btn_accept, new DialogInterface.OnClickListener(this) { // from class: o.eaR private MwTermsAndConditionsActivity d; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.c(this.d); } { this.d = this; } }).show(); int i2 = s + 117; q = i2 % 128; int i3 = i2 % 2; } @Override // o.InterfaceC12853fJD public final void e(String str) { int i = 2 % 2; bWG bwg = this.merchantTermsAndConditionsPresenter; ZI.IeS ieS = new ZI.IeS() { // from class: o.bWN @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9417djO) obj).c(); } }; if (!(!(bwg.f != 0))) { int i2 = q + 65; s = i2 % 128; int i3 = i2 % 2; ieS.e(bwg.f); int i4 = q + 67; s = i4 % 128; int i5 = i4 % 2; } } @Override // o.InterfaceC12828fIc public final void h() { int i = 2 % 2; int i2 = q + 93; s = i2 % 128; int i3 = i2 % 2; finish(); int i4 = q + 81; s = i4 % 128; int i5 = i4 % 2; } private void j() { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.mr_terms_and_conditions_exit_dialog_title).d(R.string.mr_terms_and_conditions_exit_dialog_description), Integer.valueOf(R.string.mr_terms_and_conditions_exit_dialog_btn_cancel), new DialogInterface.OnClickListener() { // from class: o.eaQ @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.f(); } }})).aoT_(R.string.mr_terms_and_conditions_exit_dialog_btn_accept, new DialogInterface.OnClickListener(this) { // from class: o.eaP private MwTermsAndConditionsActivity e; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.b(new Object[]{this.e}, 2121291547, -2121291546, (int) System.currentTimeMillis()); } { this.e = this; } }).show(); int i2 = s + 67; q = i2 % 128; if (i2 % 2 == 0) { int i3 = 48 / 0; } } @Override // o.InterfaceC9417djO public final void c() { int i = 2 % 2; ((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.mr_terms_and_conditions_decline_dialog_title).d(R.string.mr_terms_and_conditions_decline_dialog_description), Integer.valueOf(R.string.mr_terms_and_conditions_decline_dialog_btn_cancel), new DialogInterface.OnClickListener() { // from class: o.eaM @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.b(new Object[0], 1832907509, -1832907507, (int) System.currentTimeMillis()); } }})).aoT_(R.string.mr_terms_and_conditions_decline_dialog_btn_decline, new DialogInterface.OnClickListener(this) { // from class: o.eaS private MwTermsAndConditionsActivity a; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { MwTermsAndConditionsActivity.b(this.a); } { this.a = this; } }).show(); int i2 = s + 117; q = i2 % 128; int i3 = i2 % 2; } @Override // o.InterfaceC9417djO public final void e() { int i = 2 % 2; int i2 = s + 55; q = i2 % 128; if (i2 % 2 != 0) { startActivity(MwLandingActivity.aiu_(this)); finish(); } else { startActivity(MwLandingActivity.aiu_(this)); finish(); Object obj = null; obj.hashCode(); throw null; } } @Override // o.InterfaceC9417djO public final void d() { int i = 2 % 2; int i2 = q + 5; s = i2 % 128; int i3 = i2 % 2; startActivity(MwBusinessDetailsActivity.aij_(this)); finish(); int i4 = q + 101; s = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9652dno public final void a(C0371Fd c0371Fd) { AbstractC13482fbE a; int i = 2 % 2; int i2 = s + 93; q = i2 % 128; int i3 = i2 % 2; TermsAndConditionsFragment a2 = TermsAndConditionsFragment.a(c0371Fd); if (i3 == 0) { a = getSupportFragmentManager().a(); a.b(R.id.container, a2, null, 4); } else { a = getSupportFragmentManager().a(); a.b(R.id.container, a2, null, 2); } a.b(); int i4 = q + 85; s = i4 % 128; int i5 = i4 % 2; } @Override // o.AbstractActivityC8882dYq, 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 = s + 99; q = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aE(new char[]{'%', 25, 19, '0', 4, '*', 16, '\r', '.', '\'', 30, 11, 7, '\f', ' ', '*', 4, ',', 29, '#', '\'', 6, 5, '\f', ')', 18}, (byte) (33 - TextUtils.getTrimmedLength("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 78, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 86, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.return_to_subscription_list).substring(24, 25).codePointAt(0) - 87, (char) (((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_check_box_title).substring(81, 82).codePointAt(0) - 32), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = s + 97; q = i4 % 128; int i5 = i4 % 2; 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, 0), ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '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(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 487, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) Color.red(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(); } private static void aE(char[] cArr, byte b, int i, Object[] objArr) { int i2; int length; char[] cArr2; int i3; int i4 = 2 % 2; IRS irs = new IRS(); char[] cArr3 = f7593o; int i5 = 6; if (cArr3 != null) { int i6 = $10 + 87; int i7 = i6 % 128; $11 = i7; if (i6 % 2 == 0) { length = cArr3.length; cArr2 = new char[length]; i3 = 1; } else { length = cArr3.length; cArr2 = new char[length]; i3 = 0; } int i8 = i7 + 75; $10 = i8 % 128; int i9 = i8 % 2; while (i3 < length) { try { Object[] objArr2 = {Integer.valueOf(cArr3[i3])}; Object obj = xzZ.y.get(-1987398494); if (obj == null) { Class cls = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 298, MotionEvent.axisFromString("") + i5, (char) View.getDefaultSize(0, 0)); byte b2 = (byte) 0; byte b3 = (byte) (b2 + 3); Object[] objArr3 = new Object[1]; aF(b2, b3, (byte) (b3 - 3), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj); } cArr2[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i3++; i5 = 6; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr3 = cArr2; } Object[] objArr4 = {Integer.valueOf(l)}; Object obj2 = xzZ.y.get(-1987398494); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 298, 4 - TextUtils.lastIndexOf("", '0'), (char) Color.blue(0)); byte b4 = (byte) 0; byte b5 = (byte) (b4 + 3); Object[] objArr5 = new Object[1]; aF(b4, b5, (byte) (b5 - 3), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj2); } char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); char[] cArr4 = new char[i]; if (i % 2 != 0) { i2 = i - 1; cArr4[i2] = (char) (cArr[i2] - b); int i10 = $11 + 85; $10 = i10 % 128; int i11 = i10 % 2; } else { i2 = i; } if (i2 > 1) { irs.e = 0; while (irs.e < i2) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { cArr4[irs.e] = (char) (irs.b - b); cArr4[irs.e + 1] = (char) (irs.c - b); } else { Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs}; Object obj3 = xzZ.y.get(822107368); if (obj3 == null) { Class cls3 = (Class) xzZ.c(233 - ExpandableListView.getPackedPositionType(0L), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 22024)); byte b6 = (byte) 0; byte b7 = b6; Object[] objArr7 = new Object[1]; aF(b6, b7, b7, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj3); } if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) { int i12 = $11 + 55; $10 = i12 % 128; int i13 = i12 % 2; Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj4 = xzZ.y.get(-1152873385); if (obj4 == null) { Class cls4 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 327, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) KeyEvent.getDeadChar(0, 0)); byte b8 = (byte) 0; byte b9 = (byte) (b8 + 2); Object[] objArr9 = new Object[1]; aF(b8, b9, (byte) (b9 - 2), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj4); } int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue(); int i14 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[intValue]; cArr4[irs.e + 1] = cArr3[i14]; } else if (irs.a == irs.d) { irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i15 = (irs.a * charValue) + irs.f; int i16 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[i15]; cArr4[irs.e + 1] = cArr3[i16]; } else { int i17 = (irs.a * charValue) + irs.j; int i18 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr3[i17]; cArr4[irs.e + 1] = cArr3[i18]; } } irs.e += 2; } } for (int i19 = 0; i19 < i; i19++) { cArr4[i19] = (char) (cArr4[i19] ^ 13722); } objArr[0] = new String(cArr4); } /* JADX WARN: Code restructure failed: missing block: B:29:0x0027, code lost: r11 = (java.lang.Object[]) null; r11 = new java.lang.Object[1]; aE(new char[]{'%', 25, 19, '0', 4, '*', 16, '\r', '.', '\'', 30, 11, 7, '\f', ' ', '*', 4, ',', 29, '#', '\'', 6, 5, '\f', ')', 18}, (byte) (android.text.TextUtils.lastIndexOf("", '0') + 34), ((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.debit_card_activation_empty_footer).substring(35, 37).codePointAt(1) - 29, r11); r1 = java.lang.Class.forName((java.lang.String) r11[0]); r11 = new java.lang.Object[1]; aD(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, 18 - (android.view.ViewConfiguration.getScrollBarSize() >> 8), (char) (((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.banking_actions_scb_connect).substring(0, 11).length() - 11), r11); r1 = (android.content.Context) r1.getMethod((java.lang.String) r11[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:31:0x0025, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost: if (r1 == null) goto L9; */ @Override // o.AbstractActivityC8882dYq, 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 onPause() { /* Method dump skipped, instructions count: 434 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.mwpartner.MwTermsAndConditionsActivity.onPause():void"); } @Override // o.AbstractActivityC8882dYq, 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 = q + 51; s = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aD(Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, (char) (7681 - TextUtils.indexOf((CharSequence) "", '0', 0)), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aE(new char[]{'&', '%', 4, '-', 13946}, (byte) ((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)) + 124), ExpandableListView.getPackedPositionType(0L) + 5, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = s + 9; q = i4 % 128; int i5 = i4 % 2; if (intValue <= 99999) { return; } } if (context != null) { context = context.getApplicationContext(); } if (context != null) { int i6 = q + 125; s = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 5 - (KeyEvent.getMaxKeyCode() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aD(36 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 48 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (24214 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aD(83 - ((byte) KeyEvent.getModifierMetaStateMask()), View.MeasureSpec.makeMeasureSpec(0, 0) + 64, (char) (33832 - (ViewConfiguration.getJumpTapTimeout() >> 16)), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aE(new char[]{'#', '.', '\b', 14, '$', 18, 13835, 13835, 19, NistHelper.SEP_FS, 19, 1, 19, '/', 14, 0, '(', 11, '\t', '\b', NistHelper.SEP_FS, '\t', 20, 15, 7, '.', '\f', 1, '+', 21, '\"', 19, '/', 19, '&', ' ', NistHelper.SEP_FS, 17, 13751, 13751, NistHelper.SEP_FS, '\n', 29, 17, '\t', '\f', 26, 1, 19, '\f', 21, 0, 26, 29, '\b', '\t', 11, '#', 11, '$', NistHelper.SEP_FS, '-', '\f', 18}, (byte) (12 - View.MeasureSpec.getSize(0)), 64 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aE(new char[]{0, ' ', 29, '!', 25, 22, 13774, 13774, 25, '-', '(', '&', 7, 4, 13840, 13840, '\f', 5, 18, 4, '.', ' ', 11, '(', 30, 23, 7, 30, 5, '.', 4, '(', ' ', 7, '&', 25, 30, 7, 3, 24, '(', '.', 17, 27, '-', 16, '(', '.', 2, '\f', 7, 4, '$', 30, '.', '\'', '+', ' ', ',', 25, '/', 3, 21, 31, 30, 1, 15, NistHelper.SEP_FS, 6, 3, 2, 26, 31, 21}, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 24), View.getDefaultSize(0, 0) + 74, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aE(new char[]{30, '\f', ',', 7, 13804}, (byte) ('r' - AndroidCharacter.getMirror('0')), 5 - TextUtils.getTrimmedLength(""), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aD((ViewConfiguration.getFadingEdgeLength() >> 16) + CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 36, (char) KeyEvent.getDeadChar(0, 0), objArr8); Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - Color.red(0), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).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 i8 = s + 25; q = i8 % 128; int i9 = i8 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } public static /* synthetic */ void c(MwTermsAndConditionsActivity mwTermsAndConditionsActivity) { boolean z; int i = 2 % 2; bWG bwg = mwTermsAndConditionsActivity.merchantTermsAndConditionsPresenter; if (bwg.f != 0) { int i2 = s + 37; q = i2 % 128; int i3 = i2 % 2; z = true; } else { int i4 = s + 1; q = i4 % 128; if (i4 % 2 == 0) { int i5 = 4 % 3; } z = false; } if (!(!z)) { bwg.f.y(); } C5650bx c = C5650bx.c(); c.e = bwg.e.e.d().e; bwg.b.a(c); C8919dZt c8919dZt = bwg.b; c8919dZt.d(c8919dZt.i, new bWG.IeS(bwg)); } private static /* synthetic */ Object c(Object[] objArr) { MwTermsAndConditionsActivity mwTermsAndConditionsActivity = (MwTermsAndConditionsActivity) objArr[0]; int i = 2 % 2; int i2 = s + 33; q = i2 % 128; if (i2 % 2 == 0) { mwTermsAndConditionsActivity.startActivity((Intent) HomeActivity.e(new Object[]{mwTermsAndConditionsActivity}, -1290522472, 1290522474, (int) System.currentTimeMillis())); int i3 = 52 / 0; return null; } mwTermsAndConditionsActivity.startActivity((Intent) HomeActivity.e(new Object[]{mwTermsAndConditionsActivity}, -1290522472, 1290522474, (int) System.currentTimeMillis())); return null; } public static /* synthetic */ void b(MwTermsAndConditionsActivity mwTermsAndConditionsActivity) { int i = 2 % 2; int i2 = s + 43; q = i2 % 128; int i3 = i2 % 2; mwTermsAndConditionsActivity.startActivity((Intent) HomeActivity.e(new Object[]{mwTermsAndConditionsActivity}, -1290522472, 1290522474, (int) System.currentTimeMillis())); int i4 = s + 49; q = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } @Override // o.AbstractActivityC8882dYq, 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 = s + 61; q = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 == 0) { throw null; } int i4 = s + 41; q = i4 % 128; int i5 = i4 % 2; } @Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity public final void Z() { b(new Object[]{this}, -642518655, 642518655, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 454239665); } public static /* synthetic */ void f() { int i = 2 % 2; int i2 = s + 65; q = i2 % 128; int i3 = i2 % 2; } }