package com.scb.phone.view.activity.hml; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.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.google.common.primitives.SignedBytes; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.hml.HmlNTBPinConsentActivity; import com.scb.phone.view.activity.hml.HmlNTBReviewActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractC5096bmb; import o.C0371Fd; import o.C14866gag; import o.C14957gcv; import o.C5352brS; import o.InterfaceC13391fZD; import o.OVB; import o.TVH; import o.xzZ; import org.bouncycastle.crypto.signers.PSSSigner; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.lds.CVCAFile; /* loaded from: classes4.dex */ public final class HmlNTBConsentActivity extends Hilt_HmlNTBConsentActivity { public static final LWm k; private static int m; /* renamed from: o, reason: collision with root package name */ private static int f7295o; private static short[] p; private static byte[] q; private static char[] r; private static int s; private static int t; @InterfaceC13391fZD public C5352brS presenter; private static final byte[] $$y = {67, 63, -31, 118}; private static final int $$z = 69; private static int $10 = 0; private static int $11 = 1; private static int u = 1; /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002d). 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(byte r6, int r7, int r8, java.lang.Object[] r9) { /* int r8 = r8 * 4 int r0 = 1 - r8 int r6 = r6 + 71 byte[] r1 = com.scb.phone.view.activity.hml.HmlNTBConsentActivity.$$y int r7 = r7 + 4 byte[] r0 = new byte[r0] r2 = 0 int r8 = 0 - r8 if (r1 != 0) goto L14 r3 = r7 r4 = r2 goto L2d L14: r3 = r2 L15: byte r4 = (byte) r6 r0[r3] = r4 int r7 = r7 + 1 if (r3 != r8) goto L24 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L24: int r3 = r3 + 1 r4 = r1[r7] r5 = r7 r7 = r6 r6 = r4 r4 = r3 r3 = r5 L2d: int r6 = -r6 int r6 = r6 + r7 r7 = r3 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBConsentActivity.aF(byte, int, int, java.lang.Object[]):void"); } public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-300)) + (i2 * 302) + ((~(i | i2 | i3)) * (-301)); int i5 = ~i2; return (i4 + (((~(i5 | i3)) | (~((~i3) | i))) * (-301))) + (((~((~i) | i3)) | i5) * 301) != 1 ? c(objArr) : a(objArr); } /* loaded from: classes4.dex */ public static final class LWm { private LWm() { } public static Intent afY_(Context context, OVB ovb, C0371Fd c0371Fd) { C14957gcv.e(context, ""); C14957gcv.e(ovb, ""); Intent intent = new Intent(context, (Class) HmlNTBConsentActivity.class); intent.putExtra("HML_CONSENT_TYPE", ovb); intent.putExtra("HML_TERM_AND_CONDITION_DISPLAY", c0371Fd); return intent; } public /* synthetic */ LWm(byte b) { this(); } } @Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity public final void o() { int i = 2 % 2; int i2 = u; int i3 = i2 + 11; s = i3 % 128; C5352brS c5352brS = null; if (i3 % 2 != 0) { c5352brS.hashCode(); throw null; } C5352brS c5352brS2 = this.presenter; if (c5352brS2 != null) { int i4 = i2 + 77; s = i4 % 128; int i5 = i4 % 2; c5352brS = c5352brS2; } else { C14957gcv.a(""); } c5352brS.e((C5352brS) this); } @Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity public final AbstractC5096bmb f() { int i = 2 % 2; C5352brS c5352brS = this.presenter; if (c5352brS != null) { int i2 = u + 33; s = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); c5352brS = null; } C5352brS c5352brS2 = c5352brS; int i4 = s + 65; u = i4 % 128; int i5 = i4 % 2; return c5352brS2; } private static /* synthetic */ Object a(Object[] objArr) { HmlNTBConsentActivity hmlNTBConsentActivity = (HmlNTBConsentActivity) objArr[0]; int i = 2 % 2; HmlNTBPinConsentActivity.Sts sts = HmlNTBPinConsentActivity.b; HmlNTBConsentActivity hmlNTBConsentActivity2 = hmlNTBConsentActivity; C14957gcv.e(hmlNTBConsentActivity2, ""); hmlNTBConsentActivity.startActivityForResult(new Intent(hmlNTBConsentActivity2, (Class) HmlNTBPinConsentActivity.class), 5658); int i2 = s + 49; u = i2 % 128; if (i2 % 2 == 0) { int i3 = 35 / 0; } return null; } private static /* synthetic */ Object c(Object[] objArr) { HmlNTBConsentActivity hmlNTBConsentActivity = (HmlNTBConsentActivity) objArr[0]; boolean booleanValue = ((Boolean) objArr[1]).booleanValue(); int i = 2 % 2; int i2 = s + 61; u = i2 % 128; int i3 = i2 % 2; hmlNTBConsentActivity.startActivityForResult(HmlVerifyPhoneActivity.agv_(hmlNTBConsentActivity, Boolean.valueOf(booleanValue)), 5658); int i4 = s + 69; u = i4 % 128; int i5 = i4 % 2; return null; } @Override // o.InterfaceC9246dgB public final void b() { int i = 2 % 2; HmlNTBReviewActivity.HBt hBt = HmlNTBReviewActivity.f7314o; HmlNTBConsentActivity hmlNTBConsentActivity = this; C14957gcv.e(hmlNTBConsentActivity, ""); startActivity(new Intent(hmlNTBConsentActivity, (Class) HmlNTBReviewActivity.class)); C14866gag c14866gag = C14866gag.c; finish(); int i2 = u + 33; s = i2 % 128; if (i2 % 2 != 0) { int i3 = 3 / 0; } } @Override // o.InterfaceC9246dgB public final void c(boolean z) { int i = 2 % 2; Intent putExtra = new Intent().putExtra("EXTRA_IS_ACCEPTED", z); OVB ovb = ((HmlBaseConsentActivity) this).l; Object obj = null; if (ovb != null) { int i2 = u; int i3 = i2 + 19; s = i3 % 128; if (i3 % 2 != 0) { obj.hashCode(); throw null; } int i4 = i2 + 11; s = i4 % 128; int i5 = i4 % 2; } else { C14957gcv.a(""); int i6 = u + 75; s = i6 % 128; int i7 = i6 % 2; ovb = null; } setResult(-1, putExtra.putExtra("HML_CONSENT_TYPE", ovb)); finish(); } /* JADX WARN: Code restructure failed: missing block: B:10:0x002a, code lost: r4.c(); */ /* JADX WARN: Code restructure failed: missing block: B:11:0x002d, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x001d, code lost: if (r5 == (-1)) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x001a, code lost: if (r5 == (-1)) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:7:0x001f, code lost: r4 = r3.presenter; */ /* JADX WARN: Code restructure failed: missing block: B:8:0x0021, code lost: if (r4 == null) goto L13; */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0024, code lost: o.C14957gcv.a(""); r4 = null; */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onActivityResult(int r4, int r5, android.content.Intent r6) { /* r3 = this; r0 = 2 int r1 = r0 % r0 super.onActivityResult(r4, r5, r6) r6 = 5658(0x161a, float:7.929E-42) if (r4 != r6) goto L2e int r1 = com.scb.phone.view.activity.hml.HmlNTBConsentActivity.s int r1 = r1 + 9 int r2 = r1 % 128 com.scb.phone.view.activity.hml.HmlNTBConsentActivity.u = r2 int r1 = r1 % r0 r2 = -1 if (r1 != 0) goto L1d r1 = 36 int r1 = r1 / 0 if (r5 != r2) goto L2e goto L1f L1d: if (r5 != r2) goto L2e L1f: o.brS r4 = r3.presenter if (r4 == 0) goto L24 goto L2a L24: java.lang.String r4 = "" o.C14957gcv.a(r4) r4 = 0 L2a: r4.c() return L2e: if (r4 != r6) goto L45 int r4 = com.scb.phone.view.activity.hml.HmlNTBConsentActivity.s int r4 = r4 + 25 int r6 = r4 % 128 com.scb.phone.view.activity.hml.HmlNTBConsentActivity.u = r6 int r4 = r4 % r0 if (r5 != 0) goto L45 int r6 = r6 + 113 int r4 = r6 % 128 com.scb.phone.view.activity.hml.HmlNTBConsentActivity.s = r4 int r6 = r6 % r0 r3.finish() L45: return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBConsentActivity.onActivityResult(int, int, android.content.Intent):void"); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 final void onCreate(Bundle bundle) { int i = 2 % 2; int i2 = s + 43; u = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_slip_warning_title).substring(50, 51).length() - 1), (-1406508828) + (ViewConfiguration.getWindowTouchSlop() >> 8), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_message_m_card).substring(0, 7).length() - 6, (-1666669720) - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 94), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aE(new int[]{0, 5, 198, 0}, true, new byte[]{0, 1, 0, 0, 0}, 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]; aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offline_success_continue_to_register_ntb).substring(19, 20).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offline_success_contact).substring(10, 11).length() - 1406508812, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 4, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 1666669733, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_error_divisible_by).substring(28, 29).length() - 116), objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aD((short) (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)), (-1406508799) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), '1' - AndroidCharacter.getMirror('0'), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 1666669828, (byte) (Drawable.resolveOpacity(0, 0) + 2), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); int i4 = s + 47; u = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { int i6 = u + 109; s = i6 % 128; int i7 = i6 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Color.red(0), View.combineMeasuredStates(0, 0) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aE(new int[]{5, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aE(new int[]{53, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aD((short) Color.green(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_review_innovest_x_account).substring(16, 17).length() - 1406508770, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1666669754, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 22), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aE(new int[]{117, 74, 9, 70}, false, new byte[]{0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0}, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aE(new int[]{CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aD((short) (Process.myTid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.company_name_inline_error).substring(58, 59).length() - 1406508707, 19 - Color.alpha(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1666669750, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_statement_successful_description_with_note).substring(13, 14).length() + 76), objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (MotionEvent.axisFromString("") + 1))).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); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 final void onResume() { int i = 2 % 2; int i2 = s + 7; u = i2 % 128; Object obj = null; if (i2 % 2 == 0) { getBaseContext(); obj.hashCode(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aD((short) (MotionEvent.axisFromString("") + 1), KeyEvent.getDeadChar(0, 0) - 1406508811, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 25, (-1666669720) - ExpandableListView.getPackedPositionType(0L), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_title).substring(18, 19).length() - 116), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aD((short) KeyEvent.normalizeMetaState(0), (-1406508786) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 1, (ViewConfiguration.getScrollBarSize() >> 8) - 1666669718, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 107), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i3 = s + 101; u = i3 % 128; int i4 = i3 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), TextUtils.getTrimmedLength("") + 5, (char) View.combineMeasuredStates(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c(View.resolveSize(0, 0) + 487, 5 - TextUtils.indexOf("", "", 0), (char) TextUtils.getOffsetAfter("", 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i5 = u + 19; s = i5 % 128; int i6 = i5 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } private static void aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) { int i = 2; int i2 = 2 % 2; TVH tvh = new TVH(); int i3 = 0; int i4 = iArr[0]; int i5 = iArr[1]; int i6 = iArr[2]; int i7 = iArr[3]; char[] cArr = r; float f = BitmapDescriptorFactory.HUE_RED; if (cArr != null) { int length = cArr.length; char[] cArr2 = new char[length]; int i8 = 0; while (i8 < length) { int i9 = $10 + 15; $11 = i9 % 128; int i10 = i9 % i; try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr[i8]); Object obj = xzZ.y.get(1645349359); if (obj == null) { Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0', i3, i3) + 41978)); byte b = (byte) i3; byte b2 = (byte) (b - 1); Object[] objArr3 = new Object[1]; aF(b, b2, (byte) (b2 + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; i = 2; i3 = 0; f = BitmapDescriptorFactory.HUE_RED; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr = cArr2; } char[] cArr3 = new char[i5]; System.arraycopy(cArr, i4, cArr3, 0, i5); if (bArr != null) { char[] cArr4 = new char[i5]; tvh.c = 0; char c = 0; while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i11 = tvh.c; Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (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)) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 55))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr4[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } else { int i12 = tvh.c; try { Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 14, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (Color.green(0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr4[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } c = cArr4[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 402, (Process.myPid() >> 22) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 21609)); byte b3 = (byte) 2; byte b4 = (byte) (b3 - 3); Object[] objArr7 = new Object[1]; aF(b3, b4, (byte) (b4 + 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); int i13 = $10 + 83; $11 = i13 % 128; int i14 = i13 % 2; } cArr3 = cArr4; } if (i7 > 0) { char[] cArr5 = new char[i5]; System.arraycopy(cArr3, 0, cArr5, 0, i5); int i15 = i5 - i7; System.arraycopy(cArr5, 0, cArr3, i15, i7); System.arraycopy(cArr5, i7, cArr3, 0, i15); } if (z) { int i16 = $10 + 85; $11 = i16 % 128; int i17 = i16 % 2; char[] cArr6 = new char[i5]; int i18 = 0; while (true) { tvh.c = i18; if (tvh.c >= i5) { break; } cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1]; i18 = tvh.c + 1; } cArr3 = cArr6; } if (i6 > 0) { int i19 = $11 + 61; $10 = i19 % 128; int i20 = i19 % 2; int i21 = 0; while (true) { tvh.c = i21; if (tvh.c >= i5) { break; } int i22 = $11 + 103; $10 = i22 % 128; if (i22 % 2 != 0) { cArr3[tvh.c] = (char) (cArr3[tvh.c] * iArr[5]); i21 = tvh.c % 0; } else { cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]); i21 = tvh.c + 1; } } } objArr[0] = new String(cArr3); } /* JADX WARN: Code restructure failed: missing block: B:49:0x0247, code lost: if ((!r4) != false) goto L53; */ /* JADX WARN: Code restructure failed: missing block: B:50:0x025b, code lost: r4 = 1; */ /* JADX WARN: Code restructure failed: missing block: B:85:0x025d, code lost: r4 = 0; */ /* JADX WARN: Code restructure failed: missing block: B:87:0x0259, code lost: if (r4 != false) goto L52; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aD(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) { /* Method dump skipped, instructions count: 906 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlNTBConsentActivity.aD(short, int, int, int, byte, java.lang.Object[]):void"); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 final void onPause() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = s + 29; u = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 1406508922, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 4, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1666669754, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 128), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aD((short) (ViewConfiguration.getKeyRepeatDelay() >> 16), (-1406508786) - ((Process.getThreadPriority(0) + 20) >> 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, (-1666669828) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_counter_teaser_desc).substring(79, 80).length() + 1), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = u + 101; s = i4 % 128; if (i4 % 2 != 0) { baseContext = baseContext.getApplicationContext(); int i5 = 66 / 0; } else { baseContext = baseContext.getApplicationContext(); } } if (baseContext != null) { int i6 = s + 49; u = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - Color.red(0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) Color.blue(0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i8 = s + 87; u = i8 % 128; int i9 = i8 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 final void attachBaseContext(Context context) { Context context2; int i = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aD((short) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1406508829, KeyEvent.keyCodeFromString("") + 1, (-1666669720) - (Process.myPid() >> 22), (byte) (TextUtils.lastIndexOf("", '0') + 108), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aE(new int[]{0, 5, 198, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { int i2 = s + 1; u = i2 % 128; if (i2 % 2 == 0) { context.getApplicationContext(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i3 = u + 103; s = i3 % 128; int i4 = i3 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, (-16777211) - Color.rgb(0, 0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aE(new int[]{5, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aE(new int[]{53, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aD((short) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1), (-1406508770) - TextUtils.indexOf((CharSequence) "", '0'), ImageFormat.getBitsPerPixel(0) + 48, Color.alpha(0) - 1666669720, (byte) (View.MeasureSpec.getSize(0) + 126), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aE(new int[]{117, 74, 9, 70}, false, new byte[]{0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 0, 0}, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aE(new int[]{CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256, 5, 0, 1}, true, new byte[]{1, 1, 0, 0, 0}, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aD((short) (ViewConfiguration.getJumpTapTimeout() >> 16), (-1406508707) - TextUtils.indexOf((CharSequence) "", '0', 0), 18 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 1666669716, (byte) (77 - TextUtils.getCapsMode("", 0, 0)), objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - TextUtils.getOffsetBefore("", 0), 5 - (Process.myTid() >> 22), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } static void g() { f7295o = 1802505; m = 1406017028; t = 815350508; q = new byte[]{126, ISO7816.INS_MANAGE_CHANNEL, 124, ISOFileInfo.LCS_BYTE, ISOFileInfo.FILE_IDENTIFIER, 92, 92, -59, 122, 63, ISO7816.INS_READ_BINARY_STAMPED, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISO7816.INS_MANAGE_CHANNEL, -120, 115, -101, ISOFileInfo.FMD_BYTE, 107, -110, ISOFileInfo.SECURITY_ATTR_COMPACT, 67, -99, -109, 107, -107, 109, -119, -70, ISOFileInfo.SECURITY_ATTR_EXP, 38, -104, -105, ISOFileInfo.AB, 82, 99, ISOFileInfo.FCP_BYTE, 101, -106, 110, -107, -24, 17, ISO7816.INS_APPEND_RECORD, 4, -23, -19, -22, -21, Ascii.ETB, 56, ISO7816.INS_PUT_DATA, 17, 30, ISO7816.INS_DELETE_FILE, Ascii.ETB, -22, 5, -65, SignedBytes.MAX_POWER_OF_TWO, 104, -65, -112, 110, 90, ISOFileInfo.A1, 93, -100, 104, -107, 109, -90, 104, -106, ISO7816.INS_REHABILITATE_CHV, -72, -106, 88, -107, 110, -112, ISOFileInfo.FCI_BYTE, 107, -108, -106, 107, -65, -108, 69, -69, SignedBytes.MAX_POWER_OF_TWO, 104, -107, -72, -108, 69, -66, 90, -112, 108, -108, 106, ISOFileInfo.A1, ISOFileInfo.FCI_BYTE, 106, CVCAFile.CAR_TAG, 99, -105, -71, -106, 89, -111, 108, -90, 107, 89, -71, 69, 104, -109, PSSSigner.TRAILER_IMPLICIT, 108, -92, 89, -89, ISOFileInfo.LCS_BYTE, -90, 118, ISOFileInfo.CHANNEL_SECURITY, 119, -105, 105, 93, -110, -90, 91, 89, 108, -92, 88, -89, -90, 95, -109, ISOFileInfo.A5, 109, -94, 81, ISOFileInfo.A5, -92, -93, ISOFileInfo.ENV_TEMP_EF, 104, 90, -119, -92, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK}; r = new char[]{40094, 40231, 40238, 40230, 40242, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 39989, 40020, 39990, 39987, 40017, 40060, 40037, 40059, 40058, 40057, 40060, 40061, 40057, 40063, 40056, 40036, 40037, 40036, 40059, 40033, 40059, 40062, 40030, 40017, 40060, 40061, 40063, 40039, 40056, 40063, 40032, 40056, 40055, 40017, 40024, 40060, 40063, 40057, 40063, 40063, 40048, 40055, 40063, 40057, 40063, 40025, 40026, 40057, 40060, 40028, 40026, 40058, 40062, 40030, 40030, 40063, 40056, 40036, 40062, 40055, 40017, 40016, 40022, 39986, 40024, 40061, 40061, 40057, 40049, 40055, 40061, 40060, 40054, 40048, 39959, 39999, 39972, 39992, 39992}; } @Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 final void onStart() { int i = 2 % 2; int i2 = u + 49; s = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = u + 37; s = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.InterfaceC9246dgB public final void a() { e(new Object[]{this}, 957161892, -957161891, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 484796625); } @Override // o.InterfaceC9246dgB public final void e(boolean z) { e(new Object[]{this, Boolean.valueOf(z)}, 2079981560, -2079981560, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1748681307); } @Override // o.InterfaceC9246dgB public final void d() { int i = 2 % 2; int i2 = s + 73; u = i2 % 128; int i3 = i2 % 2; } @Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity public final String j() { int i = 2 % 2; int i2 = s + 13; u = i2 % 128; if (i2 % 2 != 0) { return "ntb"; } Object obj = null; obj.hashCode(); throw null; } static { s = 0; g(); k = new LWm((byte) 0); int i = u + 121; s = i % 128; if (i % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } }