package com.scb.phone.view.activity.prepaid; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; 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.BaseActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13068fPo; import o.C13073fPt; import o.C3614bBe; import o.GuL; import o.InterfaceC11531ehB; import o.InterfaceC17278vUG; import o.VLM; import o.fOV; import o.fPA; import o.xzZ; /* loaded from: classes5.dex */ public abstract class Hilt_AddNewCurrencyActivity extends BaseActivity implements fPA { private volatile C13073fPt b; private final Object k = new Object(); boolean l = false; private static final byte[] $$p = {54, -11, ISOFileInfo.SECURITY_ATTR_COMPACT, 41}; private static final int $$q = 231; private static int $10 = 0; private static int $11 = 1; private static int p = 0; private static int s = 1; /* renamed from: o, reason: collision with root package name */ private static char[] f7756o = {15987, 15968, 15990, 15972, 15969, 15979, 15904, 15973, 15938, 15989, 15991, 15983, 16283, 15943, 15988, 15960, 15910, 15963, 15911, 15908, 15961, 15907, 15909, 15906, 15962, 15976}; private static int m = 1934310930; private static boolean t = true; private static boolean r = true; private static long q = -2639035033784551947L; /* 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:0x0028). 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(int r5, int r6, byte r7, java.lang.Object[] r8) { /* int r5 = r5 * 2 int r5 = 4 - r5 int r7 = r7 * 4 int r0 = 1 - r7 byte[] r1 = com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.$$p int r6 = r6 + 65 byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L16 r4 = r7 r3 = r2 goto L28 L16: r3 = r2 L17: byte r4 = (byte) r6 r0[r3] = r4 if (r3 != r7) goto L24 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L24: int r3 = r3 + 1 r4 = r1[r5] L28: int r4 = -r4 int r6 = r6 + r4 int r5 = r5 + 1 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.aC(int, int, byte, java.lang.Object[]):void"); } /* JADX INFO: Access modifiers changed from: package-private */ public Hilt_AddNewCurrencyActivity() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.4 private Hilt_AddNewCurrencyActivity b; { this.b = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { Hilt_AddNewCurrencyActivity hilt_AddNewCurrencyActivity = this.b; if (hilt_AddNewCurrencyActivity.l) { return; } hilt_AddNewCurrencyActivity.l = true; ((InterfaceC11531ehB) hilt_AddNewCurrencyActivity.y_()).c((AddNewCurrencyActivity) hilt_AddNewCurrencyActivity); } }); } @Override // o.fPC public final Object y_() { int i = 2 % 2; int i2 = p + 3; s = i2 % 128; Object obj = null; if (i2 % 2 == 0) { h().y_(); throw null; } Object y_ = h().y_(); int i3 = s + 93; p = i3 % 128; if (i3 % 2 == 0) { return y_; } obj.hashCode(); throw null; } private C13073fPt h() { if (this.b == null) { synchronized (this.k) { if (this.b == null) { this.b = new C13073fPt(this); } } } return this.b; } private static void aB(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(q ^ (-7538262848231253921L), cArr, i); guL.a = 4; int i3 = $10 + 105; $11 = i3 % 128; int i4 = i3 % 2; while (guL.a < a.length) { guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(q)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 208, 5 - View.MeasureSpec.getSize(0), (char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 1706)); byte b = (byte) 0; Object[] objArr3 = new Object[1]; aC(b, $$p[0], b, objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {guL, guL}; Object obj2 = xzZ.y.get(-1875914398); if (obj2 == null) { Class cls2 = (Class) xzZ.c((-16776824) - Color.rgb(0, 0, 0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 16)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; aC(b2, (byte) (b2 | 56), b2, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } String str = new String(a, 4, a.length - 4); int i6 = $10 + 87; $11 = i6 % 128; if (i6 % 2 == 0) { throw null; } objArr[0] = str; } @Override // androidx.activity.ComponentActivity, o.GvH public VLM.LWm getDefaultViewModelProviderFactory() { Bundle bundle; int i = 2 % 2; VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory(); C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a(); if (getIntent() != null) { int i2 = s + 69; p = i2 % 128; int i3 = i2 % 2; bundle = getIntent().getExtras(); int i4 = s + 51; p = i4 % 128; int i5 = i4 % 2; } else { bundle = null; } return a.aBN_(this, bundle, defaultViewModelProviderFactory); } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { int i = 2 % 2; Object[] objArr = new Object[1]; aA(null, null, 128 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 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.document_upload_required_count).substring(35, 37).codePointAt(0) + 95, 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 + 107; p = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; aB(new char[]{14451, 14354, 25968, 18612, 22180, 3476, 8129, 38733, 36532, 33099, 18236, 8265, 21826, 65530, 40560, 59809, 7114, 13489, 10652, 45918, 58021, 27987, 25380, 31782, 43375, 56298, 47690, 1506, 32738, 4238}, ViewConfiguration.getDoubleTapTimeout() >> 16, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(new char[]{18265, 18234, 25924, 18587, 51258, 37660, 38592, 7756, 61844, 33144, 55730, 43303, 10873, 65486, 242, 24807, 25794, 13447, 46850, 14943, 40342, 28000}, (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)), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = p + 83; s = 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(TextUtils.lastIndexOf("", '0') + 493, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new char[]{21538, 21523, 12221, 544, 20559, 2863, 12709, 47417, 58041, 52108, 16853, 3682, 14608, 46462, 39129, 51082, 30697, 32381, 12080, 40299, 36576, 10180, 25993, 20995, 50521, 37243, 48306, 11226, 5044, 23057, 62312, 57726, 43737, 966, 2503, 46594, 57683, 52578, 16611, 4010, 16300, 46666, 38673, 50465, 30336, 32691, 11666, 39454, 36217, 10599, 25766, 21415}, ImageFormat.getBitsPerPixel(0) + 1, 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().getPackageName().length() + 114, 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, TextUtils.indexOf("", "") + 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}, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new char[]{'o', 7, 38863, 47633, 24319, 1503, 17754, 52692, 46772, 29607, 20268, 31443, 27980, 3420, 38458, 45945, 9204, 50690, 8670, 59841, 55978, 40951, 27496, 9901, 37190, 10577, 45569, 24445, 18417, 57918, 64917, 38336, 65183, 48127, 1910, 49837, 46427, 30022, 19978, 31511, 27635, 3699, 39332, 45513, 8862, 51079, 9087, 61095, 55590, 37208, 27154, 10014, 36842, 10859, 46504, 24043, 18058, 58322, 65346, 35500, 64822, 48442, 1554, 49946, 46032, 30248, 20896, 31224, 27328, 3987, 39705, 46603, 8482, 55659, 8934, 61202, 55243, 37574}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_national_id_consent_cdx).substring(0, 249).length() - 249, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aB(new char[]{3038, 3047, 34005, 43345, 25204, 14616, 13203, 47939, 48454}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 98, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aB(new char[]{30513, 30548, 65044, 54239, 65220, 42402, 12419, 47177, 49661, 6783, 61196, 3861, 6732, 25816, 13904, 50856, 21675, 44955, 33212, 40007, 44448, 63087, 51997, 21372, 58907, 16515, 4667, 10984, 12531, 35821, 23986, 57356, 35230, 53811, 42827, 46880, 49733, 7371, 61025, 3800}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 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 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); } private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int i2 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = f7756o; long j = 0; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i3 = 0; while (i3 < length) { try { Object[] objArr2 = {Integer.valueOf(cArr2[i3])}; Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(338 - (Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)), (ExpandableListView.getPackedPositionForChild(0, 0) > j ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == j ? 0 : -1)) + 6, (char) View.MeasureSpec.getMode(0)); 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(); i3++; j = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } Object[] objArr4 = {Integer.valueOf(m)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c(283 - View.getDefaultSize(0, 0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (39812 - ((byte) KeyEvent.getModifierMetaStateMask()))); 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 i4 = $10 + 41; $11 = i4 % 128; if (i4 % 2 == 0) { 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(39 - TextUtils.lastIndexOf("", '0', 0), 5 - TextUtils.getOffsetAfter("", 0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } else { cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 39, 5 - KeyEvent.getDeadChar(0, 0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); } } objArr[0] = new String(cArr4); return; } if (!t) { c3614bBe.c = iArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); c3614bBe.a++; } objArr[0] = new String(cArr5); return; } int i5 = $11 + 55; $10 = i5 % 128; int i6 = i5 % 2; 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[] objArr8 = {c3614bBe, c3614bBe}; Object obj5 = xzZ.y.get(1779759091); if (obj5 == null) { obj5 = ((Class) xzZ.c(40 - (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)), TextUtils.getOffsetBefore("", 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj5); } ((Method) obj5).invoke(null, objArr8); int i7 = $10 + 13; $11 = i7 % 128; int i8 = i7 % 2; } objArr[0] = new String(cArr6); } @Override // 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 + 77; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = s + 117; p = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aB(new char[]{14451, 14354, 25968, 18612, 22180, 3476, 8129, 38733, 36532, 33099, 18236, 8265, 21826, 65530, 40560, 59809, 7114, 13489, 10652, 45918, 58021, 27987, 25380, 31782, 43375, 56298, 47690, 1506, 32738, 4238}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{18265, 18234, 25924, 18587, 51258, 37660, 38592, 7756, 61844, 33144, 55730, 43303, 10873, 65486, 242, 24807, 25794, 13447, 46850, 14943, 40342, 28000}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pin_lock_message).substring(4, 9).codePointAt(3) - 78, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i6 = s + 45; p = i6 % 128; if (i6 % 2 != 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); int i7 = s + 17; p = i7 % 128; int i8 = i7 % 2; } if (baseContext != null) { int i9 = s + 115; p = i9 % 128; int i10 = i9 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 488, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } /* JADX WARN: Code restructure failed: missing block: B:28:0x0024, code lost: r8 = new java.lang.Object[1]; aB(new char[]{14451, 14354, 25968, 18612, 22180, 3476, 8129, 38733, 36532, 33099, 18236, 8265, 21826, 65530, 40560, 59809, 7114, 13489, 10652, 45918, 58021, 27987, 25380, 31782, 43375, 56298, 47690, 1506, 32738, 4238}, android.text.TextUtils.getOffsetAfter("", 0), r8); r1 = java.lang.Class.forName((java.lang.String) r8[0]); r9 = (java.lang.Object[]) null; r9 = new java.lang.Object[1]; aB(new char[]{18265, 18234, 25924, 18587, 51258, 37660, 38592, 7756, 61844, 33144, 55730, 43303, 10873, 65486, 242, 24807, 25794, 13447, 46850, 14943, 40342, 28000}, ((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.mw_shop_address_alley).substring(3, 5).length() - 2, r9); r1 = (android.content.Context) r1.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null); r7 = com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.p + 35; com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.s = r7 % 128; r7 = r7 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x0022, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001b, code lost: if (r1 == null) goto L9; */ @Override // 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: 372 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.Hilt_AddNewCurrencyActivity.onPause():void"); } @Override // 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 = s + 3; p = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(null, null, (ViewConfiguration.getWindowTouchSlop() >> 8) + 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, TextUtils.indexOf("", "", 0, 0) + 127, 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) { if (context != null) { context = context.getApplicationContext(); } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - View.getDefaultSize(0, 0), 5 - View.MeasureSpec.getSize(0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 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 char[]{21538, 21523, 12221, 544, 20559, 2863, 12709, 47417, 58041, 52108, 16853, 3682, 14608, 46462, 39129, 51082, 30697, 32381, 12080, 40299, 36576, 10180, 25993, 20995, 50521, 37243, 48306, 11226, 5044, 23057, 62312, 57726, 43737, 966, 2503, 46594, 57683, 52578, 16611, 4010, 16300, 46666, 38673, 50465, 30336, 32691, 11666, 39454, 36217, 10599, 25766, 21415}, TextUtils.getOffsetBefore("", 0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aA(null, null, TextUtils.getOffsetAfter("", 0) + 127, 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, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 126, 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 char[]{'o', 7, 38863, 47633, 24319, 1503, 17754, 52692, 46772, 29607, 20268, 31443, 27980, 3420, 38458, 45945, 9204, 50690, 8670, 59841, 55978, 40951, 27496, 9901, 37190, 10577, 45569, 24445, 18417, 57918, 64917, 38336, 65183, 48127, 1910, 49837, 46427, 30022, 19978, 31511, 27635, 3699, 39332, 45513, 8862, 51079, 9087, 61095, 55590, 37208, 27154, 10014, 36842, 10859, 46504, 24043, 18058, 58322, 65346, 35500, 64822, 48442, 1554, 49946, 46032, 30248, 20896, 31224, 27328, 3987, 39705, 46603, 8482, 55659, 8934, 61202, 55243, 37574}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aB(new char[]{3038, 3047, 34005, 43345, 25204, 14616, 13203, 47939, 48454}, (Process.getThreadPriority(0) + 20) >> 6, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(new char[]{30513, 30548, 65044, 54239, 65220, 42402, 12419, 47177, 49661, 6783, 61196, 3861, 6732, 25816, 13904, 50856, 21675, 44955, 33212, 40007, 44448, 63087, 51997, 21372, 58907, 16515, 4667, 10984, 12531, 35821, 23986, 57356, 35230, 53811, 42827, 46880, 49733, 7371, 61025, 3800}, ViewConfiguration.getKeyRepeatDelay() >> 16, 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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) Color.red(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } int i4 = p + 17; s = i4 % 128; if (i4 % 2 == 0) { int i5 = 19 / 0; } } @Override // 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 = p + 101; s = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = p + 9; s = i4 % 128; if (i4 % 2 == 0) { throw null; } } }