package com.scb.phone.view.activity.ndid; import android.content.Context; import android.content.Intent; import android.graphics.Color; 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.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import butterknife.ButterKnife; import butterknife.OnClick; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.scb.phone.R; import com.scb.phone.view.activity.ndid.NdidMenuActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C14957gcv; import o.C3614bBe; import o.C4403bZM; import o.xzZ; /* loaded from: classes5.dex */ public final class NdidIdpMenuErrorActivity extends Hilt_NdidIdpMenuErrorActivity { public static final Sts k; private static char[] l; private static int m; /* renamed from: o, reason: collision with root package name */ private static boolean f7615o; private static int[] q; private static boolean r; private static int s; private static final byte[] $$p = {93, -104, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_WRITE_RECORD}; private static final int $$q = 240; private static int $10 = 0; private static int $11 = 1; private static int p = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 aC(short r7, int r8, short r9, java.lang.Object[] r10) { /* int r8 = r8 + 65 int r7 = r7 * 3 int r7 = r7 + 1 int r9 = r9 * 2 int r9 = 3 - r9 byte[] r0 = com.scb.phone.view.activity.ndid.NdidIdpMenuErrorActivity.$$p byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L15 r3 = r7 r8 = r9 r4 = r2 goto L2c L15: r3 = r2 L16: int r9 = r9 + 1 int r4 = r3 + 1 byte r5 = (byte) r8 r1[r3] = r5 if (r4 != r7) goto L27 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L27: r3 = r0[r9] r6 = r9 r9 = r8 r8 = r6 L2c: int r3 = -r3 int r9 = r9 + r3 r3 = r4 r6 = r9 r9 = r8 r8 = r6 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidIdpMenuErrorActivity.aC(short, int, short, java.lang.Object[]):void"); } /* loaded from: classes5.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } @Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuErrorActivity, 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; Object[] objArr = new Object[1]; aA(null, null, 127 - TextUtils.getTrimmedLength(""), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_label_scb_connect).substring(5, 17).length() + 115, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = s + 87; p = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; aB(new int[]{988261555, 81798553, 548339127, 1426902280, -428852573, -1066681115, 281348252, -1170494521, 1226528744, 1011613175, -402363337, 1379885732, -515935509, -501428880}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_authentication_ota_title).substring(8, 10).length() + 24, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(new int[]{-1675668202, -1296898222, 1886528327, -1629152420, 1856690492, 1420672302, -1242313876, -1268003643, -1617261513, -1327213991}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_function_shortcut_label).substring(0, 9).length() + 9, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); int i4 = p + 97; s = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { int i6 = p + 89; s = i6 % 128; if (i6 % 2 == 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i7 = s + 57; p = i7 % 128; int i8 = i7 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((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)) + 492, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new int[]{-912821224, -1526948402, 974068835, -651176005, 616948484, -554728769, -1256947808, -1787858448, 1669397970, -2142598674, 554909347, 596961428, 1956883670, 1084477306, -2099124693, 780425067, -1896307407, 1225162084, 1518240647, 1301586824, -258024527, 1066449463, -1434803727, -1398315155}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_laser_id_placeholder).substring(0, 12).length() + 115, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -113, -112, -103, -106, ISOFileInfo.LCS_BYTE, -103, -113, -109, -103, ISOFileInfo.LCS_BYTE, -107, -102, -103, ISOFileInfo.FILE_IDENTIFIER, -113, -112, -106, -109, -112, ISOFileInfo.DATA_BYTES2, -113, -112, -113, -113, -103, -109, ISOFileInfo.DATA_BYTES2, -109, -107, -107, -103, -104, -110, -108, ISOFileInfo.LCS_BYTE, -104, -112, -105, -111, ISOFileInfo.DATA_BYTES2, -112, ISOFileInfo.LCS_BYTE, -108, -106, -111, -112, -106, -107, -112, -108, -112, -108, -109, ISOFileInfo.SECURITY_ATTR_EXP, -110, -111, -113, -112, ISOFileInfo.SECURITY_ATTR_EXP, -112, -113, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-107, ISOFileInfo.LCS_BYTE, -103, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, -104, -102, -104, -110, -112, -103, -108, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.LCS_BYTE, -102, -105, -109, -104, -109, -106, -106, -108, -109, -109, ISOFileInfo.DATA_BYTES2, -113, -111, ISOFileInfo.FILE_IDENTIFIER, -110, -112, -103, ISOFileInfo.SECURITY_ATTR_EXP, -102, -103, ISOFileInfo.LCS_BYTE, -108, -107, -104, -106, -104, -102, -113, ISOFileInfo.DATA_BYTES2, -103, -104, -111, -113, ISOFileInfo.SECURITY_ATTR_EXP, -105, -110, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.DATA_BYTES2, -105, -104, -103, ISOFileInfo.DATA_BYTES2}, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new int[]{-237415371, -424184091, 1040757047, 779742355, -1257507923, -1788250827, 1382303941, -2073174723, -1766185957, -430671553, 1297988344, 1509338667, 764230150, 1764522721, 242983381, -257272812, -2053049527, -1360054472, 744655166, 1534858190, 1810958873, -1117254087, -1895791316, -1951467132, 1817523227, 217532092, -454138629, 538374309, -795231496, 1846021509, -37414341, -1156175420, -1761828879, -770451685, 622919797, 1255065959, -1950246374, 1585297480}, ((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_decline_description_dialog).substring(31, 32).codePointAt(0) + 42, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aA(null, null, (ViewConfiguration.getJumpTapTimeout() >> 16) + 127, new byte[]{-104, ISOFileInfo.FCI_EXT, -103, ISOFileInfo.FCI_EXT, -110}, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 15, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -106, -109, -111, -109, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -108, -101, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.DATA_BYTES2, -101, -106, -106, -108, -111, -101, -113, ISOFileInfo.SECURITY_ATTR_EXP, -104, -112, -101, -104, -111, -110, ISOFileInfo.FILE_IDENTIFIER, -111, -108, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, 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.MeasureSpec.getMode(0), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (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)))).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); setContentView(R.layout.2131558690); ButterKnife.Dg_(this); Z(); setTitle(R.string.ndid_view_request); S(); } @OnClick public final void onClickOk() { int i = 2 % 2; NdidMenuActivity.IeS ieS = NdidMenuActivity.f7624o; NdidIdpMenuErrorActivity ndidIdpMenuErrorActivity = this; C14957gcv.e(ndidIdpMenuErrorActivity, ""); Intent intent = new Intent(ndidIdpMenuErrorActivity, (Class) NdidMenuActivity.class); intent.addFlags(603979776); startActivity(intent); int i2 = p + 117; s = i2 % 128; if (i2 % 2 == 0) { throw null; } } @OnClick public final void onClickReturn() { int i = 2 % 2; int i2 = s + 69; p = i2 % 128; j(i2 % 2 == 0); } /* JADX WARN: Code restructure failed: missing block: B:28:0x0023, code lost: r1 = com.scb.phone.view.activity.ndid.NdidIdpMenuErrorActivity.p + 75; com.scb.phone.view.activity.ndid.NdidIdpMenuErrorActivity.s = r1 % 128; r1 = r1 % 2; r8 = (java.lang.Object[]) null; r8 = new java.lang.Object[1]; aB(new int[]{988261555, 81798553, 548339127, 1426902280, -428852573, -1066681115, 281348252, -1170494521, 1226528744, 1011613175, -402363337, 1379885732, -515935509, -501428880}, ((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.error_description_open_mf_account).substring(23, 24).length() + 25, r8); r1 = java.lang.Class.forName((java.lang.String) r8[0]); r8 = new java.lang.Object[1]; aB(new int[]{-1675668202, -1296898222, 1886528327, -1629152420, 1856690492, 1420672302, -1242313876, -1268003643, -1617261513, -1327213991}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, r8); r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:30:0x0021, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 == null) goto L9; */ @Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuErrorActivity, 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 final void onResume() { /* Method dump skipped, instructions count: 400 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndid.NdidIdpMenuErrorActivity.onResume():void"); } private static void aB(int[] iArr, int i, Object[] objArr) { int length; int[] iArr2; int i2; int i3 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr3 = q; int i4 = 16; int i5 = 1; char c = 0; if (iArr3 != null) { int i6 = $10 + 67; $11 = i6 % 128; if (i6 % 2 == 0) { length = iArr3.length; iArr2 = new int[length]; i2 = 1; } else { length = iArr3.length; iArr2 = new int[length]; i2 = 0; } int i7 = i2; while (i7 < length) { try { Object[] objArr2 = new Object[i5]; objArr2[c] = Integer.valueOf(iArr3[i7]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> i4) + 15, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (58135 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr2[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i7++; i4 = 16; i5 = 1; c = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr3 = iArr2; } int length2 = iArr3.length; int[] iArr4 = new int[length2]; int[] iArr5 = q; if (iArr5 != null) { int length3 = iArr5.length; int[] iArr6 = new int[length3]; int i8 = $10 + 93; $11 = i8 % 128; int i9 = 2; int i10 = i8 % 2; int i11 = 0; while (i11 < length3) { int i12 = $11 + 43; $10 = i12 % 128; if (i12 % i9 != 0) { try { Object[] objArr3 = {Integer.valueOf(iArr5[i11])}; Object obj2 = xzZ.y.get(729798706); if (obj2 == null) { obj2 = ((Class) xzZ.c(15 - ExpandableListView.getPackedPositionGroup(0L), 5 - View.MeasureSpec.getMode(0), (char) (AndroidCharacter.getMirror('0') + 58086))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj2); } iArr6[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i11 <<= 1; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { Object[] objArr4 = {Integer.valueOf(iArr5[i11])}; Object obj3 = xzZ.y.get(729798706); if (obj3 == null) { obj3 = ((Class) xzZ.c(15 - KeyEvent.getDeadChar(0, 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (View.MeasureSpec.getSize(0) + 58134))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj3); } iArr6[i11] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); i11++; } i9 = 2; } iArr5 = iArr6; } System.arraycopy(iArr5, 0, iArr4, 0, length2); c4403bZM.b = 0; while (c4403bZM.b < iArr.length) { int i13 = $10 + 115; $11 = i13 % 128; int i14 = i13 % 2; cArr[0] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr4); int i15 = 0; for (int i16 = 16; i15 < i16; i16 = 16) { c4403bZM.e ^= iArr4[i15]; Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(-1196964548); if (obj4 == null) { Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 118, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) View.MeasureSpec.getSize(0)); byte b = (byte) 0; Object[] objArr6 = new Object[1]; aC(b, (byte) (b | 39), b, objArr6); obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj4); } int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i15++; } int i17 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i17; c4403bZM.a ^= iArr4[16]; c4403bZM.e ^= iArr4[17]; int i18 = c4403bZM.e; int i19 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr4); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; Object[] objArr7 = {c4403bZM, c4403bZM}; Object obj5 = xzZ.y.get(1914371176); if (obj5 == null) { Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 99, 5 - TextUtils.getOffsetBefore("", 0), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L))); byte b2 = (byte) 0; Object[] objArr8 = new Object[1]; aC(b2, (byte) (b2 | 37), b2, objArr8); obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class); xzZ.y.put(1914371176, obj5); } ((Method) obj5).invoke(null, objArr7); } objArr[0] = new String(cArr2, 0, i); } private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int i2 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = l; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; for (int i3 = 0; i3 < length; i3++) { int i4 = $11 + 85; $10 = i4 % 128; int i5 = i4 % 2; try { Object[] objArr2 = {Integer.valueOf(cArr2[i3])}; Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 337, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } try { Object[] objArr4 = {Integer.valueOf(m)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 283, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 39813)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; aC(b3, (byte) (b3 | 57), b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (r) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i6 = $11 + 75; $10 = i6 % 128; int i7 = i6 % 2; cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 41, View.resolveSizeAndState(0, 0, 0) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } objArr[0] = new String(cArr4); return; } if (!f7615o) { c3614bBe.c = iArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i8 = $10 + 97; $11 = i8 % 128; int i9 = i8 % 2; cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); c3614bBe.a++; } objArr[0] = new String(cArr5); return; } c3614bBe.c = cArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 40, View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); } objArr[0] = new String(cArr6); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } @Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuErrorActivity, 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; int i2 = p + 71; s = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { Object[] objArr = new Object[1]; aB(new int[]{988261555, 81798553, 548339127, 1426902280, -428852573, -1066681115, 281348252, -1170494521, 1226528744, 1011613175, -402363337, 1379885732, -515935509, -501428880}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_slip).substring(30, 31).codePointAt(0) - 6, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new int[]{-1675668202, -1296898222, 1886528327, -1629152420, 1856690492, 1420672302, -1242313876, -1268003643, -1617261513, -1327213991}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = p + 15; s = i4 % 128; if (i4 % 2 == 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i5 = s + 125; p = i5 % 128; try { if (i5 % 2 != 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), Color.green(0) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 487, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1633456013); if (obj5 == null) { obj5 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) Color.argb(0, 0, 0, 0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } @Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuErrorActivity, 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) { int i = 2 % 2; int i2 = p + 101; s = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(null, null, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(null, null, 127 - KeyEvent.normalizeMetaState(0), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = p + 7; s = i4 % 128; int i5 = i4 % 2; if (intValue <= 99999) { return; } } Context applicationContext = context != null ? context.getApplicationContext() : context; if (applicationContext != null) { int i6 = p + 109; s = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), KeyEvent.keyCodeFromString("") + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aB(new int[]{-912821224, -1526948402, 974068835, -651176005, 616948484, -554728769, -1256947808, -1787858448, 1669397970, -2142598674, 554909347, 596961428, 1956883670, 1084477306, -2099124693, 780425067, -1896307407, 1225162084, 1518240647, 1301586824, -258024527, 1066449463, -1434803727, -1398315155}, ((byte) KeyEvent.getModifierMetaStateMask()) + 49, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aA(null, null, 126 - ExpandableListView.getPackedPositionChild(0L), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -113, -112, -103, -106, ISOFileInfo.LCS_BYTE, -103, -113, -109, -103, ISOFileInfo.LCS_BYTE, -107, -102, -103, ISOFileInfo.FILE_IDENTIFIER, -113, -112, -106, -109, -112, ISOFileInfo.DATA_BYTES2, -113, -112, -113, -113, -103, -109, ISOFileInfo.DATA_BYTES2, -109, -107, -107, -103, -104, -110, -108, ISOFileInfo.LCS_BYTE, -104, -112, -105, -111, ISOFileInfo.DATA_BYTES2, -112, ISOFileInfo.LCS_BYTE, -108, -106, -111, -112, -106, -107, -112, -108, -112, -108, -109, ISOFileInfo.SECURITY_ATTR_EXP, -110, -111, -113, -112, ISOFileInfo.SECURITY_ATTR_EXP, -112, -113, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(null, null, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 127, new byte[]{-107, ISOFileInfo.LCS_BYTE, -103, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, -104, -102, -104, -110, -112, -103, -108, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, -112, ISOFileInfo.LCS_BYTE, -102, -105, -109, -104, -109, -106, -106, -108, -109, -109, ISOFileInfo.DATA_BYTES2, -113, -111, ISOFileInfo.FILE_IDENTIFIER, -110, -112, -103, ISOFileInfo.SECURITY_ATTR_EXP, -102, -103, ISOFileInfo.LCS_BYTE, -108, -107, -104, -106, -104, -102, -113, ISOFileInfo.DATA_BYTES2, -103, -104, -111, -113, ISOFileInfo.SECURITY_ATTR_EXP, -105, -110, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.DATA_BYTES2, -105, -104, -103, ISOFileInfo.DATA_BYTES2}, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(new int[]{-237415371, -424184091, 1040757047, 779742355, -1257507923, -1788250827, 1382303941, -2073174723, -1766185957, -430671553, 1297988344, 1509338667, 764230150, 1764522721, 242983381, -257272812, -2053049527, -1360054472, 744655166, 1534858190, 1810958873, -1117254087, -1895791316, -1951467132, 1817523227, 217532092, -454138629, 538374309, -795231496, 1846021509, -37414341, -1156175420, -1761828879, -770451685, 622919797, 1255065959, -1950246374, 1585297480}, View.resolveSizeAndState(0, 0, 0) + 74, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(null, null, Color.red(0) + 127, new byte[]{-104, ISOFileInfo.FCI_EXT, -103, ISOFileInfo.FCI_EXT, -110}, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(null, null, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 126, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -106, -109, -111, -109, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -108, -101, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.DATA_BYTES2, -101, -106, -106, -108, -111, -101, -113, ISOFileInfo.SECURITY_ATTR_EXP, -104, -112, -101, -104, -111, -110, ISOFileInfo.FILE_IDENTIFIER, -111, -108, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8); Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - View.getDefaultSize(0, 0), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { int i = 2 % 2; int i2 = s + 13; p = i2 % 128; if (i2 % 2 == 0) { return null; } throw null; } static void f() { l = new char[]{15877, 15922, 15928, 15926, 15923, 15933, 16114, 15927, 15892, 15879, 15929, 15921, 15917, 15881, 15878, 16106, 16104, 16109, 16105, 16118, 16107, 16117, 16119, 16116, 16108, 15930, 16113}; m = 1934311076; f7615o = true; r = true; q = new int[]{265155523, -2092212327, -983348181, 936402201, 136745342, -1637060848, 1884812151, 365395500, -794362538, -764768402, -545415490, -1521567865, 960886332, -21544326, -1744457337, -928415468, 1352560635, -2022660085}; } @Override // com.scb.phone.view.activity.ndid.Hilt_NdidIdpMenuErrorActivity, 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 = s + 85; p = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { int i4 = 12 / 0; } } @Override // androidx.activity.ComponentActivity, android.app.Activity public final void onBackPressed() { int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1096452243; b(new Object[]{this}); } static { s = 1; f(); k = new Sts((byte) 0); int i = p + 73; s = i % 128; int i2 = i % 2; } }