package com.scb.phone.view.activity.accountDeletion; import android.content.Context; import android.graphics.Color; import android.os.SystemClock; 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 androidx.fragment.app.Fragment; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.fragment.accountDeletion.EasyAppAccountDeletionFragment; import java.lang.reflect.Method; import o.C14957gcv; import o.C4403bZM; import o.GuL; import o.xzZ; /* loaded from: classes4.dex */ public final class EasyAppAccountDeletionActivity extends Hilt_EasyAppAccountDeletionActivity { private static final byte[] $$p = {76, 73, -112, -126}; private static final int $$q = 85; private static int $10 = 0; private static int $11 = 1; private static int l = 0; private static int m = 1; private static int[] k = {2005342047, -365609855, -1517795035, -704254460, -1203012373, 2110550580, 960956902, 1837426130, -1305990474, -1656881987, 1231886434, 492302623, 1522263076, 1770636490, -478212524, -556945184, -902040921, -310327605}; /* renamed from: o, reason: collision with root package name */ private static long f6544o = 2761050313226534449L; /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Removed duplicated region for block: B:10:0x0026 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001e */ /* JADX WARN: Type inference failed for: r6v2, types: [int] */ /* JADX WARN: Type inference failed for: r8v1, types: [int] */ /* JADX WARN: Type inference failed for: r8v6, types: [int] */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002d). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aC(short r6, int r7, short r8, java.lang.Object[] r9) { /* byte[] r0 = com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionActivity.$$p int r6 = r6 * 2 int r6 = 4 - r6 int r8 = r8 + 102 int r7 = r7 * 2 int r1 = r7 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L15 r4 = r8 r3 = r2 r8 = r6 goto L2d L15: r3 = r2 L16: r5 = r8 r8 = r6 r6 = r5 byte r4 = (byte) r6 r1[r3] = r4 if (r3 != r7) goto L26 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L26: int r3 = r3 + 1 r4 = r0[r8] r5 = r8 r8 = r6 r6 = r5 L2d: int r6 = r6 + 1 int r8 = r8 + r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionActivity.aC(short, int, short, java.lang.Object[]):void"); } private static void aB(char[] cArr, int i, Object[] objArr) { Object obj; int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(f6544o ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (true) { obj = null; if (guL.a >= a.length) { break; } int i3 = $10 + 89; $11 = i3 % 128; int i4 = i3 % 2; 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(f6544o)}; Object obj2 = xzZ.y.get(428080616); if (obj2 == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 208, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (1706 - (KeyEvent.getMaxKeyCode() >> 16))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, (byte) (b2 | 17), objArr3); obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj2); } a[i5] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {guL, guL}; Object obj3 = xzZ.y.get(-1875914398); if (obj3 == null) { Class cls2 = (Class) xzZ.c(392 - Color.alpha(0), 5 - KeyEvent.getDeadChar(0, 0), (char) KeyEvent.keyCodeFromString("")); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 | 19), objArr5); obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj3); } ((Method) obj3).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } String str = new String(a, 4, a.length - 4); int i6 = $11 + 125; $10 = i6 % 128; if (i6 % 2 == 0) { objArr[0] = str; } else { obj.hashCode(); throw null; } } /* JADX WARN: Code restructure failed: missing block: B:4:0x00ac, code lost: if (r2 > 99999) goto L6; */ @Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onCreate(android.os.Bundle r17) { /* Method dump skipped, instructions count: 1274 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionActivity.onCreate(android.os.Bundle):void"); } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object e(Object[] objArr) { int i = 2 % 2; EasyAppAccountDeletionFragment.LWm lWm = EasyAppAccountDeletionFragment.d; EasyAppAccountDeletionFragment easyAppAccountDeletionFragment = new EasyAppAccountDeletionFragment(); int i2 = l + 45; m = i2 % 128; if (i2 % 2 != 0) { return easyAppAccountDeletionFragment; } throw null; } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final String L() { int i = 2 % 2; int i2 = l + 65; m = i2 % 128; int i3 = i2 % 2; String string = getString(R.string.settings_account_deletion); C14957gcv.c((Object) string, ""); int i4 = m + 81; l = i4 % 128; if (i4 % 2 == 0) { return string; } Object obj = null; obj.hashCode(); throw null; } private static void ay(int[] iArr, int i, Object[] objArr) { int length; int[] iArr2; int i2; int i3; int i4 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr3 = k; int i5 = 729798706; int i6 = 16; int i7 = 1; int i8 = 0; if (iArr3 != null) { int length2 = iArr3.length; int[] iArr4 = new int[length2]; int i9 = 0; while (i9 < length2) { try { Object[] objArr2 = {Integer.valueOf(iArr3[i9])}; Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(15 - (ViewConfiguration.getPressedStateDuration() >> i6), 5 - (KeyEvent.getMaxKeyCode() >> i6), (char) (58134 - View.resolveSizeAndState(0, 0, 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i9++; i6 = 16; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr3 = iArr4; } int length3 = iArr3.length; int[] iArr5 = new int[length3]; int[] iArr6 = k; if (iArr6 != null) { int i10 = $11 + 93; $10 = i10 % 128; if (i10 % 2 != 0) { length = iArr6.length; iArr2 = new int[length]; i2 = 1; } else { length = iArr6.length; iArr2 = new int[length]; i2 = 0; } while (i2 < length) { try { Object[] objArr3 = new Object[i7]; objArr3[i8] = Integer.valueOf(iArr6[i2]); Object obj2 = xzZ.y.get(Integer.valueOf(i5)); if (obj2 != null) { i3 = i5; } else { Class cls = (Class) xzZ.c(15 - (ViewConfiguration.getPressedStateDuration() >> 16), ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (58135 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)))); Class[] clsArr = new Class[i7]; clsArr[0] = Integer.TYPE; obj2 = cls.getMethod("i", clsArr); i3 = 729798706; xzZ.y.put(729798706, obj2); } iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i2++; i5 = i3; i7 = 1; i8 = 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } iArr6 = iArr2; } int i11 = i8; System.arraycopy(iArr6, i11, iArr5, i11, length3); c4403bZM.b = i11; 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(iArr5); int i12 = $10 + 77; $11 = i12 % 128; int i13 = i12 % 2; for (int i14 = 0; i14 < 16; i14++) { c4403bZM.e ^= iArr5[i14]; Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj3 = xzZ.y.get(-1196964548); if (obj3 == null) { Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 118, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))); byte b = (byte) 0; byte b2 = b; Object[] objArr5 = new Object[1]; aC(b, b2, (byte) (b2 + 2), objArr5); obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; } int i15 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i15; c4403bZM.a ^= iArr5[16]; c4403bZM.e ^= iArr5[17]; int i16 = c4403bZM.e; int i17 = 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(iArr5); 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[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls3 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 98, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; aC(b3, b4, b4, objArr7); obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); } objArr[0] = new String(cArr2, 0, i); } @Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = m + 25; l = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aB(new char[]{61010, 60979, 29147, 40672, 38875, 35384, 30597, 21080, 14592, 6036, 13480, 29740, 56643, 36469, 21092, 57236, 9019, 9262, 51240, 47387, 35012, 56060, 24976, 9043, 61086, 28853, 40798, 35463, 29795, 5889}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_sub_title).substring(7, 8).length() - 1, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{15857, 15762, 62050, 1941, 5241, 55532, 42028, 52027, 27604, 37937, 44507, 9879, 3825, 3543, 51995, 36103, 61626, 42894, 20811, 60367, 23422, 22873}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i4 = l + 79; m = i4 % 128; if (i4 % 2 == 0) { int i5 = 3 % 3; } } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = l + 13; m = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - Color.blue(0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).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((ViewConfiguration.getTouchSlop() >> 8) + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ExpandableListView.getPackedPositionType(0L))).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(); int i8 = m + 53; l = i8 % 128; if (i8 % 2 != 0) { int i9 = 99 / 0; } } @Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onPause() { int i = 2 % 2; int i2 = m + 31; l = i2 % 128; Object obj = null; if (i2 % 2 != 0) { getBaseContext(); obj.hashCode(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aB(new char[]{61010, 60979, 29147, 40672, 38875, 35384, 30597, 21080, 14592, 6036, 13480, 29740, 56643, 36469, 21092, 57236, 9019, 9262, 51240, 47387, 35012, 56060, 24976, 9043, 61086, 28853, 40798, 35463, 29795, 5889}, View.combineMeasuredStates(0, 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{15857, 15762, 62050, 1941, 5241, 55532, 42028, 52027, 27604, 37937, 44507, 9879, 3825, 3543, 51995, 36103, 61626, 42894, 20811, 60367, 23422, 22873}, TextUtils.indexOf("", "", 0, 0), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i3 = l + 37; m = i3 % 128; int i4 = i3 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) TextUtils.indexOf("", "", 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(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0'), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } /* JADX WARN: Code restructure failed: missing block: B:6:0x0079, code lost: if (r1 > 99999) goto L11; */ @Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void attachBaseContext(android.content.Context r18) { /* Method dump skipped, instructions count: 850 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.EasyAppAccountDeletionActivity.attachBaseContext(android.content.Context):void"); } @Override // com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onStart() { int i = 2 % 2; int i2 = m + 23; l = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { throw null; } } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final Fragment M() { int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 942230946; return (Fragment) e(new Object[]{this}); } }