package com.scb.phone.view.activity.fatca; import android.content.Context; 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.TextUtils; import android.util.TypedValue; import android.view.Gravity; 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.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13068fPo; import o.C13073fPt; import o.C4403bZM; import o.InterfaceC17278vUG; import o.VLM; import o.dNI; import o.fOV; import o.fPA; import o.jTb; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public abstract class Hilt_FatcaCrsWebViewActivity extends BaseActivity implements fPA { private volatile C13073fPt b; private static final byte[] $$p = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29}; private static final int $$q = CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256; private static int $10 = 0; private static int $11 = 1; private static int t = 0; private static int r = 1; private static char m = 28871; private static char k = 2145; private static char p = 63540; private static char s = 10930; private static int[] q = {-1807805368, 483830424, -85145131, 897601515, 521048516, 1390784761, -666289245, -139741138, 1737816688, -1304888424, 270771044, 118038365, -1208113730, 1369354711, 1437695892, -1355552517, -1299074199, -918296625}; /* renamed from: o, reason: collision with root package name */ private final Object f7157o = new Object(); boolean l = false; /* JADX WARN: Removed duplicated region for block: B:10:0x0022 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001a */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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, short r6, int r7, java.lang.Object[] r8) { /* int r7 = r7 + 66 int r5 = r5 * 3 int r5 = 4 - r5 int r6 = r6 * 2 int r0 = r6 + 1 byte[] r1 = com.scb.phone.view.activity.fatca.Hilt_FatcaCrsWebViewActivity.$$p byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L14 r4 = r6 r3 = r2 goto L26 L14: r3 = r2 L15: byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r6) goto L22 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L22: int r3 = r3 + 1 r4 = r1[r5] L26: int r4 = -r4 int r7 = r7 + r4 int r5 = r5 + 1 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.fatca.Hilt_FatcaCrsWebViewActivity.aC(int, short, int, java.lang.Object[]):void"); } /* JADX INFO: Access modifiers changed from: package-private */ public Hilt_FatcaCrsWebViewActivity() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.fatca.Hilt_FatcaCrsWebViewActivity.5 private Hilt_FatcaCrsWebViewActivity c; { this.c = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { Hilt_FatcaCrsWebViewActivity hilt_FatcaCrsWebViewActivity = this.c; if (hilt_FatcaCrsWebViewActivity.l) { return; } hilt_FatcaCrsWebViewActivity.l = true; ((dNI) hilt_FatcaCrsWebViewActivity.y_()).c((FatcaCrsWebViewActivity) hilt_FatcaCrsWebViewActivity); } }); } @Override // o.fPC public final Object y_() { Object y_; int i = 2 % 2; int i2 = r + 9; t = i2 % 128; if (i2 % 2 != 0) { y_ = f().y_(); int i3 = 24 / 0; } else { y_ = f().y_(); } int i4 = r + 41; t = i4 % 128; if (i4 % 2 == 0) { return y_; } throw null; } private C13073fPt f() { if (this.b == null) { synchronized (this.f7157o) { if (this.b == null) { this.b = new C13073fPt(this); } } } return this.b; } @Override // androidx.activity.ComponentActivity, o.GvH public VLM.LWm getDefaultViewModelProviderFactory() { int i = 2 % 2; VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory(); C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a(); Bundle bundle = null; if (getIntent() != null) { int i2 = t + 85; r = i2 % 128; if (i2 % 2 == 0) { getIntent().getExtras(); throw null; } bundle = getIntent().getExtras(); int i3 = t + 123; r = i3 % 128; int i4 = i3 % 2; } return a.aBN_(this, bundle, defaultViewModelProviderFactory); } private static void aA(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i3 = 0; jtb.b = 0; char[] cArr3 = new char[2]; int i4 = $11 + 57; $10 = i4 % 128; int i5 = i4 % 2; while (jtb.b < cArr.length) { int i6 = $11 + 107; $10 = i6 % 128; int i7 = i6 % 2; cArr3[i3] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i8 = 58224; int i9 = i3; while (i9 < 16) { int i10 = $11 + 19; $10 = i10 % 128; int i11 = i10 % 2; char c = cArr3[1]; char c2 = cArr3[i3]; char[] cArr4 = cArr3; try { Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i8) ^ ((c2 << 4) + ((char) (p ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(s)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(View.resolveSize(0, 0) + 412, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8)); 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, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr4[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 412, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i8 -= 40503; i9++; cArr3 = cArr4; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr5 = cArr3; cArr2[jtb.b] = cArr5[0]; cArr2[jtb.b + 1] = cArr5[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 98, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; aC(b5, b6, (byte) (b6 + 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i3 = 0; } objArr[0] = new String(cArr2, 0, i); } private static void aB(int[] iArr, int i, Object[] objArr) { int i2; int i3 = 2; int i4 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr2 = q; int i5 = 729798706; int i6 = 1; int i7 = 0; if (iArr2 != null) { int length = iArr2.length; int[] iArr3 = new int[length]; int i8 = 0; while (i8 < length) { int i9 = $11 + 119; $10 = i9 % 128; if (i9 % i3 != 0) { try { Object[] objArr2 = new Object[i6]; objArr2[0] = Integer.valueOf(iArr2[i8]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((-16719082) - Color.rgb(0, 0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i8--; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { Object[] objArr3 = {Integer.valueOf(iArr2[i8])}; Object obj2 = xzZ.y.get(729798706); if (obj2 == null) { obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 16, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (58135 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj2); } iArr3[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i8++; } i3 = 2; i6 = 1; } iArr2 = iArr3; } int length2 = iArr2.length; int[] iArr4 = new int[length2]; int[] iArr5 = q; if (iArr5 != null) { int length3 = iArr5.length; int[] iArr6 = new int[length3]; int i10 = 0; while (i10 < length3) { Object[] objArr4 = new Object[1]; objArr4[i7] = Integer.valueOf(iArr5[i10]); Object obj3 = xzZ.y.get(Integer.valueOf(i5)); if (obj3 != null) { i2 = i5; } else { Class cls = (Class) xzZ.c(15 - View.resolveSize(i7, i7), (-16777211) - Color.rgb(i7, i7, i7), (char) (View.resolveSizeAndState(i7, i7, i7) + 58134)); Class[] clsArr = new Class[1]; clsArr[i7] = Integer.TYPE; obj3 = cls.getMethod("i", clsArr); i2 = 729798706; xzZ.y.put(729798706, obj3); } iArr6[i10] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); i10++; i5 = i2; i7 = 0; } iArr5 = iArr6; } int i11 = i7; System.arraycopy(iArr5, i11, iArr4, i11, length2); c4403bZM.b = i11; int i12 = $10 + 73; $11 = i12 % 128; int i13 = i12 % 2; while (c4403bZM.b < iArr.length) { 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 i14 = 0; for (int i15 = 16; i14 < i15; i15 = 16) { c4403bZM.e ^= iArr4[i14]; Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(-1196964548); if (obj4 == null) { Class cls2 = (Class) xzZ.c((-16777098) - Color.rgb(0, 0, 0), 5 - Color.red(0), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))); byte b = (byte) 0; byte b2 = b; Object[] objArr6 = new Object[1]; aC(b, b2, (byte) (b2 | 38), objArr6); obj4 = cls2.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; i14++; } int i16 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i16; c4403bZM.a ^= iArr4[16]; c4403bZM.e ^= iArr4[17]; int i17 = c4403bZM.e; int i18 = 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]; try { Object[] objArr7 = {c4403bZM, c4403bZM}; Object obj5 = xzZ.y.get(1914371176); if (obj5 == null) { Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.makeMeasureSpec(0, 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) View.MeasureSpec.makeMeasureSpec(0, 0)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr8 = new Object[1]; aC(b3, b4, (byte) (b4 | ISO7816.INS_CHANGE_CHV), objArr8); obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class); xzZ.y.put(1914371176, obj5); } ((Method) obj5).invoke(null, objArr7); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } String str = new String(cArr2, 0, i); int i19 = $10 + 31; $11 = i19 % 128; int i20 = i19 % 2; objArr[0] = str; } @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; int i2 = r + 95; t = i2 % 128; int i3 = i2 % 2; Object obj = null; Object[] objArr = new Object[1]; aA(new char[]{50374, 28862, 55162, 32349, 12906, 2470, 57775, 52231, 13321, 11590, 62059, 46001, 23026, 15343, 59143, 58742, 30659, 56647}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remark_value).substring(0, 6).length() + 12, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new int[]{1608439467, -398874950, -1884725274, -69501596}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, 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 i4 = t + 13; r = i4 % 128; int i5 = i4 % 2; Object[] objArr3 = new Object[1]; aA(new char[]{50374, 28862, 55162, 32349, 12906, 2470, 57775, 52231, 41693, 51173, 32553, 63200, 13997, 31939, 49568, 58780, 59960, 58835, 16104, 27772, 20878, 31278, 20693, 16470, 44472, 9304}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(new int[]{486229846, 476348511, -1893547566, -122338261, 1466304030, -164679697, -451067482, -61333620, 1690451579, 43714047}, 18 - (ViewConfiguration.getTapTimeout() >> 16), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i6 = r + 73; t = i6 % 128; if (i6 % 2 != 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i7 = t + 101; r = i7 % 128; int i8 = i7 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, ExpandableListView.getPackedPositionChild(0L) + 6, (char) Color.green(0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new int[]{-1878196063, -319073904, 729082573, -733743668, -1200676471, -562208153, -156690578, -1608957717, 340237127, 1500412916, -1050062745, -140107444, -1898622743, 1597432597, 1185448041, 948396161, -244731261, 1916336028, 797459491, 81465785, -1654031490, 252435759, 470439007, -1097608672}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 67, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(new int[]{-1067851334, 1975211271, -2056024085, 168253872, -368160281, 2138747762, 905916705, 1098613166, -1629842919, -1650675190, 2139375713, -166244485, -2053932085, -1113284502, -1238849580, -1463570750, -970722798, 2100526709, -283736554, 83673074, -1924655389, 1986442677, 367429783, -1049543225, 1254326567, 342201081, -329330235, 714361705, 404238380, -717794240, -229539451, -1559795022}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_page_learn_more_header).substring(28, 29).length() + 63, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{22504, 51697, 37014, 10767, 9854, 27977, 52906, 9732, 44426, 59891, 54430, 55911, 25365, 15914, 24563, 52984, 57646, 47028, 1815, 59307, 17947, 42223, 39153, 57232, 63324, 56107, 10982, 55806, 39133, 36746, 32072, 11615, 13747, 58297, 15635, 39883, 23723, 24458, 60785, 41924, 64099, 3706, 54049, 35681, 21967, 15496, 32533, 64955, 50039, 47798, 990, 29981, 12109, 60538, 43244, 46886, 12147, 63500, 15397, 48473, 14676, 57459, 33366, 56133}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_transfer_description).substring(13, 14).length() + 63, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{42106, 46432, 489, 29206, 46185, 8353, 16397, 62461, 19962, 39767, 50661, 56931, 60076, 54800, 30477, 48513, 50815, 19624, 59461, 33949, 26862, 51846, 35650, 2266, 36919, 60369, 6462, 3842, 7278, 5031, 60610, 33221, 13541, 47008, 27851, 8839, 30912, 28883, 23039, 59327, 52094, 9555, 12182, 44661, 31905, 55441, 52094, 9555, 18969, 45986, 60076, 54800, 44153, 54565, 41693, 51173, 25954, 64641, 33974, 10932, 38454, 3130, 46199, 46958, 25656, 7445, 27022, 5817, 20495, 11352, 53888, 13701, 34925, 14247}, ExpandableListView.getPackedPositionType(0L) + 74, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aA(new char[]{32794, 54436, 19008, 4162, 17861, 10915}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_2_pay).substring(0, 9).length() - 4, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aA(new char[]{60610, 33221, 54943, 19980, 60264, 49036, 29563, 43796, 1946, 1096, 18684, 32495, 56130, 30191, 56923, 38726, 60785, 41924, 10087, 4769, 50039, 47798, 19504, 65224, 39742, 27517, 25546, 45801, 58224, 36787, 20094, 11990, 40847, 2772, 53124, 6530}, 37 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).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.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { Object[] objArr = new Object[1]; aA(new char[]{50374, 28862, 55162, 32349, 12906, 2470, 57775, 52231, 41693, 51173, 32553, 63200, 13997, 31939, 49568, 58780, 59960, 58835, 16104, 27772, 20878, 31278, 20693, 16470, 44472, 9304}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new int[]{486229846, 476348511, -1893547566, -122338261, 1466304030, -164679697, -451067482, -61333620, 1690451579, 43714047}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_coin_more_detail_description_2_3).substring(0, 81).length() - 63, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = t + 33; r = i2 % 128; if (i2 % 2 == 0) { baseContext = baseContext.getApplicationContext(); int i3 = 35 / 0; } else { baseContext = baseContext.getApplicationContext(); } } if (baseContext != null) { int i4 = t + 99; r = i4 % 128; try { if (i4 % 2 == 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (Process.myPid() >> 22), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.getDefaultSize(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(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (Process.myPid() >> 22))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1378719468); if (obj5 == null) { obj5 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } /* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost: r6 = (java.lang.Object[]) null; r6 = new java.lang.Object[1]; aA(new char[]{50374, 28862, 55162, 32349, 12906, 2470, 57775, 52231, 41693, 51173, 32553, 63200, 13997, 31939, 49568, 58780, 59960, 58835, 16104, 27772, 20878, 31278, 20693, 16470, 44472, 9304}, ((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.auto_p2p_introduction_redeem_for_cashback).substring(29, 30).codePointAt(0) - 6, r6); r1 = java.lang.Class.forName((java.lang.String) r6[0]); r7 = new java.lang.Object[1]; aB(new int[]{486229846, 476348511, -1893547566, -122338261, 1466304030, -164679697, -451067482, -61333620, 1690451579, 43714047}, 18 - (android.view.ViewConfiguration.getScrollBarSize() >> 8), r7); r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0018, 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: 374 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.fatca.Hilt_FatcaCrsWebViewActivity.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 = t + 81; r = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new char[]{50374, 28862, 55162, 32349, 12906, 2470, 57775, 52231, 13321, 11590, 62059, 46001, 23026, 15343, 59143, 58742, 30659, 56647}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new int[]{1608439467, -398874950, -1884725274, -69501596}, 5 - View.resolveSizeAndState(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) { int i4 = r + 9; t = i4 % 128; int i5 = i4 % 2; if (intValue <= 99999) { return; } } if (context != null) { int i6 = r + 55; t = i6 % 128; int i7 = i6 % 2; context = context.getApplicationContext(); } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aB(new int[]{-1878196063, -319073904, 729082573, -733743668, -1200676471, -562208153, -156690578, -1608957717, 340237127, 1500412916, -1050062745, -140107444, -1898622743, 1597432597, 1185448041, 948396161, -244731261, 1916336028, 797459491, 81465785, -1654031490, 252435759, 470439007, -1097608672}, 48 - (ViewConfiguration.getLongPressTimeout() >> 16), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB(new int[]{-1067851334, 1975211271, -2056024085, 168253872, -368160281, 2138747762, 905916705, 1098613166, -1629842919, -1650675190, 2139375713, -166244485, -2053932085, -1113284502, -1238849580, -1463570750, -970722798, 2100526709, -283736554, 83673074, -1924655389, 1986442677, 367429783, -1049543225, 1254326567, 342201081, -329330235, 714361705, 404238380, -717794240, -229539451, -1559795022}, TextUtils.lastIndexOf("", '0', 0, 0) + 65, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new char[]{22504, 51697, 37014, 10767, 9854, 27977, 52906, 9732, 44426, 59891, 54430, 55911, 25365, 15914, 24563, 52984, 57646, 47028, 1815, 59307, 17947, 42223, 39153, 57232, 63324, 56107, 10982, 55806, 39133, 36746, 32072, 11615, 13747, 58297, 15635, 39883, 23723, 24458, 60785, 41924, 64099, 3706, 54049, 35681, 21967, 15496, 32533, 64955, 50039, 47798, 990, 29981, 12109, 60538, 43244, 46886, 12147, 63500, 15397, 48473, 14676, 57459, 33366, 56133}, TextUtils.lastIndexOf("", '0', 0) + 65, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA(new char[]{42106, 46432, 489, 29206, 46185, 8353, 16397, 62461, 19962, 39767, 50661, 56931, 60076, 54800, 30477, 48513, 50815, 19624, 59461, 33949, 26862, 51846, 35650, 2266, 36919, 60369, 6462, 3842, 7278, 5031, 60610, 33221, 13541, 47008, 27851, 8839, 30912, 28883, 23039, 59327, 52094, 9555, 12182, 44661, 31905, 55441, 52094, 9555, 18969, 45986, 60076, 54800, 44153, 54565, 41693, 51173, 25954, 64641, 33974, 10932, 38454, 3130, 46199, 46958, 25656, 7445, 27022, 5817, 20495, 11352, 53888, 13701, 34925, 14247}, 74 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{32794, 54436, 19008, 4162, 17861, 10915}, 5 - TextUtils.getOffsetBefore("", 0), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{60610, 33221, 54943, 19980, 60264, 49036, 29563, 43796, 1946, 1096, 18684, 32495, 56130, 30191, 56923, 38726, 60785, 41924, 10087, 4769, 50039, 47798, 19504, 65224, 39742, 27517, 25546, 45801, 58224, 36787, 20094, 11990, 40847, 2772, 53124, 6530}, 36 - (ViewConfiguration.getJumpTapTimeout() >> 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(View.getDefaultSize(0, 0) + 487, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16))).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; } } } @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 = t + 119; r = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = r + 85; t = i4 % 128; int i5 = i4 % 2; } }