what-the-bank/sources/com/scb/phone/view/activity/profilemanagement/ProfileManagementActivity.java

769 lines
33 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.profilemanagement;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.fragment.profilemanagement.LanguageSettingFragment;
import java.lang.reflect.Method;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C16420oGW;
import o.C4403bZM;
import o.InterfaceC12878fJv;
import o.Kzh;
import o.TVH;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class ProfileManagementActivity extends Hilt_ProfileManagementActivity implements InterfaceC12878fJv {
public static final Sts l;
private static char[] m;
private static int p;
private static int[] s;
private C16420oGW k;
/* renamed from: o, reason: collision with root package name */
private Kzh f7815o;
private static final byte[] $$p = {Ascii.US, -107, 35, 49};
private static final int $$q = CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). 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(byte r7, byte r8, int r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.profilemanagement.ProfileManagementActivity.$$p
int r8 = r8 * 3
int r8 = 4 - r8
int r7 = 104 - r7
int r9 = r9 * 2
int r9 = r9 + 1
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r7 = r8
r3 = r9
r4 = r2
goto L2a
L15:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L19:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r9) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r7]
L2a:
int r8 = r8 + r3
int r7 = r7 + 1
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.ProfileManagementActivity.aC(byte, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 236) + (i2 * 471);
int i5 = ~i;
return ((i4 + (((~((~i3) | i5)) | i2) * (-235))) + (((~(i5 | i3)) | i2) * (-470))) + (((~(i | (~i2))) | (~((i2 | i5) | i3))) * 235) != 1 ? a(objArr) : c(objArr);
}
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x006d, code lost:
if (r2 > 99999) goto L10;
*/
@Override // com.scb.phone.view.activity.profilemanagement.Hilt_ProfileManagementActivity, 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: 1266
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.ProfileManagementActivity.onCreate(android.os.Bundle):void");
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int length;
int[] iArr3;
int i2 = 2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = s;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr4 != null) {
int i7 = $10 + 23;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length = iArr4.length;
iArr3 = new int[length];
} else {
length = iArr4.length;
iArr3 = new int[length];
}
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 75;
$10 = i9 % 128;
int i10 = i9 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr4[i8]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - View.MeasureSpec.makeMeasureSpec(i6, i6), 4 - TextUtils.lastIndexOf("", '0', i6, i6), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
int i11 = $11 + 3;
$10 = i11 % 128;
int i12 = i11 % 2;
i2 = 2;
i4 = 729798706;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = s;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i13 = 0;
while (i13 < length3) {
try {
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i13]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) (58133 - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr7[i13] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i13++;
iArr6 = iArr2;
i5 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
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 i14 = 0;
for (int i15 = 16; i14 < i15; i15 = 16) {
int i16 = $11 + 53;
$10 = i16 % 128;
int i17 = i16 % 2;
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(118 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0) + 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr5 = new Object[1];
aC(b, b2, b2, 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;
i14++;
}
int i18 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i18;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i19 = c4403bZM.e;
int i20 = 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(97 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b3 = (byte) 2;
byte b4 = (byte) (b3 - 2);
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 // o.InterfaceC12878fJv
public final void j() {
int i = 2 % 2;
p(getString(R.string.settings_language_setting));
AbstractC13482fbE a = getSupportFragmentManager().a();
if (!a.d) {
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
int i2 = p + 39;
t = i2 % 128;
int i3 = i2 % 2;
a.a = true;
a.m = "LANGUAGE_FRAGMENT_TAG";
int i4 = p;
int i5 = i4 + 67;
t = i5 % 128;
Kzh kzh = null;
if (i5 % 2 != 0) {
throw null;
}
Kzh kzh2 = this.f7815o;
if (kzh2 == null) {
int i6 = i4 + 35;
t = i6 % 128;
int i7 = i6 % 2;
C14957gcv.a("");
} else {
kzh = kzh2;
}
int id = kzh.c.getId();
LanguageSettingFragment languageSettingFragment = new LanguageSettingFragment();
if (id == 0) {
throw new IllegalArgumentException("Must use non-zero containerViewId");
}
a.b(id, languageSettingFragment, "LANGUAGE_FRAGMENT_TAG", 2);
a.b();
int i8 = p + 21;
t = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void amL_(Toolbar toolbar, TextView textView) {
int i = 2 % 2;
int i2 = t + 33;
p = i2 % 128;
int i3 = i2 % 2;
super.amL_(toolbar, textView);
p(getString(R.string.settings_profile_management));
int i4 = t + 25;
p = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = p + 15;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
onBackPressed();
int i4 = t + 53;
p = i4 % 128;
int i5 = i4 % 2;
return true;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = t + 91;
p = i2 % 128;
if (i2 % 2 != 0 ? getIntent().getBooleanExtra("com.scb.phone.HANDLE_BACK_NAVIGATION_EXTRA", false) : getIntent().getBooleanExtra("com.scb.phone.HANDLE_BACK_NAVIGATION_EXTRA", true)) {
startActivity(HomeActivity.XN_(this));
int i3 = p + 1;
t = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 94 / 0;
return;
}
return;
}
getOnBackPressedDispatcher().a();
}
private static /* synthetic */ Object c(Object[] objArr) {
ProfileManagementActivity profileManagementActivity = (ProfileManagementActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = p + 123;
t = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
C14957gcv.e(str, "");
profileManagementActivity.c_(str);
profileManagementActivity.W();
profileManagementActivity.setResult(-1);
return null;
}
C14957gcv.e(str, "");
profileManagementActivity.c_(str);
profileManagementActivity.W();
profileManagementActivity.setResult(-1);
obj.hashCode();
throw null;
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = m;
long j = 0;
if (cArr != null) {
int i8 = $11 + 57;
$10 = i8 % 128;
int i9 = i8 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.getElapsedCpuTime() > j ? 1 : (Process.getElapsedCpuTime() == j ? 0 : -1)) + 222, (-16777211) - Color.rgb(i3, i3, i3), (char) (41977 - KeyEvent.getDeadChar(i3, i3)));
byte b = (byte) i3;
Object[] objArr3 = new Object[1];
aC((byte) 33, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
int i11 = $11 + 11;
$10 = i11 % 128;
int i12 = i11 % 2;
i3 = 0;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i13 = $11 + 55;
$10 = i13 % 128;
if (i13 % 2 != 0) {
int i14 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - ExpandableListView.getPackedPositionGroup(0L), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (TextUtils.lastIndexOf("", '0') + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i15 = 54 / 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - (ViewConfiguration.getPressedStateDuration() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionType(0L) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
} else {
int i17 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 16, 5 - (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)), (char) (ExpandableListView.getPackedPositionType(0L) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i17] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(402 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (Process.myTid() >> 22) + 5, (char) (21608 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
aC($$p[0], b2, b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i18 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i18, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i18);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i5) {
break;
}
int i20 = $10 + 115;
$11 = i20 % 128;
int i21 = i20 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.profilemanagement.Hilt_ProfileManagementActivity, 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) {
Object[] objArr = new Object[1];
aB(new int[]{-206767770, 2088809805, 668687603, 284515867, 231345199, -1938209438, 1800844603, 1147055624, 1265006750, -1906060476, 322309632, 1179173687, -1003550994, -199295642}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_label).substring(0, 11).codePointAt(1) - 75, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 85;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 125;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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.getJumpTapTimeout() >> 16) + 487, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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 i6 = p + 73;
t = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.profilemanagement.Hilt_ProfileManagementActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{-206767770, 2088809805, 668687603, 284515867, 231345199, -1938209438, 1800844603, 1147055624, 1265006750, -1906060476, 322309632, 1179173687, -1003550994, -199295642}, View.resolveSizeAndState(0, 0, 0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = t + 107;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = p + 121;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).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:4:0x0074, code lost:
if (r1 > 99999) goto L6;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object a(java.lang.Object[] r17) {
/*
Method dump skipped, instructions count: 804
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.profilemanagement.ProfileManagementActivity.a(java.lang.Object[]):java.lang.Object");
}
public static /* synthetic */ void c(ProfileManagementActivity profileManagementActivity) {
int i = 2 % 2;
C14957gcv.e(profileManagementActivity, "");
if (profileManagementActivity.getSupportFragmentManager().t() == 0) {
int i2 = t + 73;
p = i2 % 128;
C16420oGW c16420oGW = null;
if (i2 % 2 == 0) {
C16420oGW c16420oGW2 = profileManagementActivity.k;
throw null;
}
C16420oGW c16420oGW3 = profileManagementActivity.k;
if (c16420oGW3 == null) {
C14957gcv.a("");
c16420oGW3 = null;
}
Toolbar toolbar = c16420oGW3.a;
C16420oGW c16420oGW4 = profileManagementActivity.k;
if (c16420oGW4 == null) {
int i3 = p + 49;
t = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.a("");
c16420oGW.hashCode();
throw null;
}
C14957gcv.a("");
} else {
c16420oGW = c16420oGW4;
}
super.amL_(toolbar, c16420oGW.b);
profileManagementActivity.p(profileManagementActivity.getString(R.string.settings_profile_management));
}
}
public static final Intent akW_(Context context) {
int i = 2 % 2;
C14957gcv.e(context, "");
Intent putExtra = new Intent(context, (Class<?>) ProfileManagementActivity.class).putExtra("com.scb.phone.HANDLE_BACK_NAVIGATION_EXTRA", true);
C14957gcv.c(putExtra, "");
int i2 = t + 31;
p = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
static void h() {
m = new char[]{40025, 40110, 40085, 40093, 40080, 40105, 40088, 40058, 40073, 40104, 40075, 40048, 40083, 40085, 40105, 40086, 40080, 40082, 39996, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 39993, 40040, 40007, 40006, 40006, 40007, 40000, 39997, 40004, 40006, 39992, 39999, 39999, 39999, 39997, 39999, 39992, 39998, 39993, 39994, 40001, 40007, 40000, 40001, 39992, 39999, 39992, 40002, 40001, 39998, 39999, 39999, 39996, 39996, 39997, 40000, 40000, 39997, 40006, 40041, 40007, 40007, 40042, 40000, 39998, 39992, 39992, 40007, 40040, 40005, 40004, 40005, 40006, 40006, 39997, 40000, 40006, 40006, 40001, 39999, 39996, 40007, 40042, 40040, 39959, 39992, 39992, 39992, 39972};
s = new int[]{-1892968720, 1282165044, -63311782, -178964933, 481157043, -147555306, -1221953554, 2071456347, 2064528161, -408646831, 2110621427, -690366507, 1095881794, 1370671044, 354302695, -687381656, 365428195, 389418850};
}
@Override // com.scb.phone.view.activity.profilemanagement.Hilt_ProfileManagementActivity, 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) {
d(new Object[]{this, context}, 2087709082, -2087709082, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.profilemanagement.Hilt_ProfileManagementActivity, 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 = p + 47;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
throw null;
}
int i4 = p + 115;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC12878fJv
public final void e(String str) {
d(new Object[]{this, str}, -283753048, 283753049, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.BaseActivity
public final int Q() {
int i = 2 % 2;
int i2 = p + 109;
int i3 = i2 % 128;
t = i3;
Object obj = null;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
int i4 = i3 + 121;
p = i4 % 128;
if (i4 % 2 != 0) {
return R.style.f52552132017508;
}
throw null;
}
static {
p = 1;
h();
l = new Sts((byte) 0);
int i = t + 13;
p = i % 128;
int i2 = i % 2;
}
}