what-the-bank/sources/com/scb/phone/view/activity/ndidcommon/NdidCommonIdpActivity.java

802 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ndidcommon;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.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.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.ndidcommon.NdidCommonSelectIdpFragment;
import com.scb.phone.view.fragment.ndidcommon.NdidCommonSelectIdpSuccessFragment;
import com.scb.phone.view.fragment.ndidcommon.NdidCommonTermAndConditionFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C0979Sw;
import o.C0982Sz;
import o.C14957gcv;
import o.Nhs;
import o.SA;
import o.SB;
import o.TVH;
import o.xzZ;
/* loaded from: classes5.dex */
public final class NdidCommonIdpActivity extends Hilt_NdidCommonIdpActivity implements NdidCommonSelectIdpFragment.Sts {
private static char[] l;
/* renamed from: o, reason: collision with root package name */
public static final HBt f7638o;
private static int p;
private static int q;
private static char r;
private static long t;
private SA k;
private C0982Sz m;
private static final byte[] $$y = {67, 63, -31, 118};
private static final int $$z = 71;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). 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 aF(byte r5, short r6, int r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.$$y
int r7 = 115 - r7
int r5 = r5 * 2
int r1 = r5 + 1
int r6 = r6 * 4
int r6 = r6 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L15
r7 = r5
r3 = r6
r4 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
r3 = r0[r6]
L27:
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.aF(byte, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-375)) + (i2 * (-375));
int i5 = ~i;
int i6 = (~((~i2) | i5)) | i3;
int i7 = ~(i | i2);
if (i4 + ((i6 | i7) * 376) + (((~(i | (~i3))) | i7) * (-376)) + (((~(i5 | i3)) | i2) * 376) == 1) {
return a(objArr);
}
NdidCommonIdpActivity ndidCommonIdpActivity = (NdidCommonIdpActivity) objArr[0];
int i8 = 2 % 2;
Context baseContext = ndidCommonIdpActivity.getBaseContext();
if (baseContext == null) {
int i9 = q + 115;
s = i9 % 128;
int i10 = i9 % 2;
Object[] objArr2 = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 42177), new char[]{31927, 1921, 6547, 8993, 39449, 4977, 30897, 46907, 40047, 23074, 60626, 29774, 5456, 28726, 30653, 9378, 44016, 30741, 4676, 36303, 47820, 12574, 12085, 51918, 22038, 6997}, new char[]{48520, 24041, 12152, 53925}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_message).substring(0, 3).length() - 3, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aD(new int[]{23, 18, 0, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i11 = q + 65;
s = i11 % 128;
int i12 = i11 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.getDefaultSize(0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getJumpTapTimeout() >> 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) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
int i13 = s + 61;
q = i13 % 128;
int i14 = i13 % 2;
return null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = s + 75;
q = i2 % 128;
int i3 = i2 % 2;
Intent intent = getIntent();
if (intent != null) {
int i4 = q + 39;
s = i4 % 128;
int i5 = i4 % 2;
this.k = (SA) intent.getParcelableExtra("EXTRA_NDID_DATA");
this.m = (C0982Sz) intent.getParcelableExtra("EXTRA_IDP_LIST");
int i6 = q + 51;
s = i6 % 128;
int i7 = i6 % 2;
}
if (getIntent().getBooleanExtra("EXTRA_IS_PENDING", false)) {
SA sa = this.k;
NdidCommonSelectIdpSuccessFragment.HBt hBt = NdidCommonSelectIdpSuccessFragment.c;
NdidCommonSelectIdpSuccessFragment ndidCommonSelectIdpSuccessFragment = new NdidCommonSelectIdpSuccessFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_CONFIRMATION_DATA", new C0979Sw(sa != null ? sa.s : null, sa != null ? sa.j : null));
bundle.putParcelable("EXTRA_INITIATE_DATA", sa);
ndidCommonSelectIdpSuccessFragment.setArguments(bundle);
return ndidCommonSelectIdpSuccessFragment;
}
SA sa2 = this.k;
C0982Sz c0982Sz = this.m;
NdidCommonSelectIdpFragment.HBt hBt2 = NdidCommonSelectIdpFragment.d;
NdidCommonSelectIdpFragment ndidCommonSelectIdpFragment = new NdidCommonSelectIdpFragment();
Bundle bundle2 = new Bundle();
bundle2.putParcelable("EXTRA_NDID_DATA", sa2);
bundle2.putParcelable("EXTRA_IDP_LIST", c0982Sz);
ndidCommonSelectIdpFragment.setArguments(bundle2);
return ndidCommonSelectIdpFragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = q + 45;
s = i2 % 128;
if (i2 % 2 == 0) {
String string = getString(R.string.common_ndid_select_idp_title);
C14957gcv.c((Object) string, "");
return string;
}
C14957gcv.c((Object) getString(R.string.common_ndid_select_idp_title), "");
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0039, code lost:
r5 = 87 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost:
return true;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0028, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0042, code lost:
return super.onOptionsItemSelected(r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002a, code lost:
onBackPressed();
r5 = com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.s + 113;
com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.q = r5 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0037, code lost:
if ((r5 % 2) != 0) goto L12;
*/
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean onOptionsItemSelected(android.view.MenuItem r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.q
int r1 = r1 + 67
int r2 = r1 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.s = r2
int r1 = r1 % r0
r2 = 16908332(0x102002c, float:2.3877352E-38)
java.lang.String r3 = ""
if (r1 == 0) goto L21
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
r3 = 83
int r3 = r3 / 0
if (r1 != r2) goto L3e
goto L2a
L21:
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
if (r1 != r2) goto L3e
L2a:
r4.onBackPressed()
int r5 = com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.s
int r5 = r5 + 113
int r1 = r5 % 128
com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.q = r1
int r5 = r5 % r0
r0 = 1
if (r5 != 0) goto L3d
r5 = 87
int r5 = r5 / 0
L3d:
return r0
L3e:
boolean r5 = super.onOptionsItemSelected(r5)
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.onOptionsItemSelected(android.view.MenuItem):boolean");
}
private static /* synthetic */ Object a(Object[] objArr) {
NdidCommonIdpActivity ndidCommonIdpActivity = (NdidCommonIdpActivity) objArr[0];
int i = 2 % 2;
Fragment findFragmentById = ndidCommonIdpActivity.getSupportFragmentManager().findFragmentById(R.id.container);
Object obj = null;
if (!(findFragmentById instanceof NdidCommonSelectIdpSuccessFragment)) {
ndidCommonIdpActivity.d_("ndid_common_idp_partner_selection_back");
String string = ndidCommonIdpActivity.getString(R.string.common_ndid_select_idp_title);
C14957gcv.c((Object) string, "");
ndidCommonIdpActivity.p(string);
super.onBackPressed();
int i2 = s + 31;
q = i2 % 128;
int i3 = i2 % 2;
return null;
}
int i4 = q + 33;
s = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.ndidcommon.NdidCommonSelectIdpFragment.Sts
public final void e(C0979Sw c0979Sw) {
int i = 2 % 2;
C14957gcv.e(c0979Sw, "");
String string = getString(R.string.common_ndid_select_idp_title);
C14957gcv.c((Object) string, "");
p(string);
AbstractC13482fbE a = getSupportFragmentManager().a();
SA sa = this.k;
NdidCommonSelectIdpSuccessFragment.HBt hBt = NdidCommonSelectIdpSuccessFragment.c;
NdidCommonSelectIdpSuccessFragment ndidCommonSelectIdpSuccessFragment = new NdidCommonSelectIdpSuccessFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_CONFIRMATION_DATA", c0979Sw);
bundle.putParcelable("EXTRA_INITIATE_DATA", sa);
ndidCommonSelectIdpSuccessFragment.setArguments(bundle);
a.b(R.id.container, ndidCommonSelectIdpSuccessFragment, null, 2);
if (a.d) {
a.a = true;
a.m = null;
int i2 = q;
int i3 = i2 + 29;
s = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 89;
s = i5 % 128;
int i6 = i5 % 2;
a.b();
return;
}
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
@Override // com.scb.phone.view.fragment.ndidcommon.NdidCommonSelectIdpFragment.Sts
public final void a(SB sb) {
int i = 2 % 2;
p(getString(R.string.common_ndid_terms_and_conditions_header));
AbstractC13482fbE a = getSupportFragmentManager().a();
SA sa = this.k;
NdidCommonTermAndConditionFragment.IeS ieS = NdidCommonTermAndConditionFragment.c;
NdidCommonTermAndConditionFragment ndidCommonTermAndConditionFragment = new NdidCommonTermAndConditionFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_NDID_DATA", sa);
bundle.putParcelable("BUNDLE_COMMON_IPD", sb);
ndidCommonTermAndConditionFragment.setArguments(bundle);
Object obj = null;
a.b(R.id.container, ndidCommonTermAndConditionFragment, null, 2);
if (a.d) {
int i2 = q + 53;
s = i2 % 128;
if (i2 % 2 != 0) {
a.a = true;
a.m = null;
} else {
a.a = true;
a.m = null;
}
a.b();
int i3 = q + 47;
s = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
/* loaded from: classes5.dex */
public static final class HBt {
private HBt() {
}
public static Intent ajn_(Context context, boolean z, SA sa, C0982Sz c0982Sz) {
C14957gcv.e(context, "");
C14957gcv.e(sa, "");
Intent intent = new Intent(context, (Class<?>) NdidCommonIdpActivity.class);
intent.putExtra("EXTRA_IS_PENDING", z);
intent.putExtra("EXTRA_NDID_DATA", sa);
intent.putExtra("EXTRA_IDP_LIST", c0982Sz);
return intent;
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void aE(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
char c2;
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
int i3 = 0;
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 43;
$10 = i4 % 128;
int i5 = i4 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 45, TextUtils.getOffsetBefore("", i3) + 5, (char) TextUtils.getOffsetBefore("", i3));
Class<?>[] clsArr = new Class[1];
clsArr[i3] = Object.class;
obj = cls.getMethod("t", clsArr);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(352 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (View.getDefaultSize(i3, i3) + 52128));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr4 = new Object[1];
aF(b, b2, b2, objArr4);
String str = (String) objArr4[i3];
Class<?>[] clsArr2 = new Class[1];
clsArr2[i3] = Object.class;
obj2 = cls2.getMethod(str, clsArr2);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
int i6 = cArr4[nhs.a % 4] * 32718;
Object[] objArr5 = new Object[3];
objArr5[2] = Integer.valueOf(cArr5[intValue]);
objArr5[1] = Integer.valueOf(i6);
objArr5[i3] = nhs;
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 748, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16));
Class<?>[] clsArr3 = new Class[3];
clsArr3[i3] = Object.class;
clsArr3[1] = Integer.TYPE;
clsArr3[2] = Integer.TYPE;
obj3 = cls3.getMethod(p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i7 = cArr4[intValue2] * 32718;
Object[] objArr6 = new Object[2];
objArr6[1] = Integer.valueOf(cArr5[intValue]);
objArr6[i3] = Integer.valueOf(i7);
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
c2 = 2;
} else {
Class cls4 = (Class) xzZ.c(View.MeasureSpec.getMode(i3) + 402, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (21608 - TextUtils.indexOf("", "", i3, i3)));
byte b3 = (byte) i3;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 + 1), objArr7);
String str2 = (String) objArr7[i3];
c2 = 2;
Class<?>[] clsArr4 = new Class[2];
clsArr4[i3] = Integer.TYPE;
clsArr4[1] = Integer.TYPE;
obj4 = cls4.getMethod(str2, clsArr4);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((int) (p ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (t ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
int i8 = $11 + 21;
$10 = i8 % 128;
int i9 = i8 % 2;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0059, code lost:
if (r3 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonIdpActivity, 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 r22) {
/*
Method dump skipped, instructions count: 948
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.onCreate(android.os.Bundle):void");
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char c;
int length;
char[] cArr2;
int i2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = l;
if (cArr3 != null) {
int i9 = $11 + 59;
$10 = i9 % 128;
if (i9 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 223, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 41976));
byte b = (byte) i4;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
int i10 = $11 + 91;
$10 = i10 % 128;
int i11 = i10 % 2;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr3, i5, cArr4, 0, i6);
if (bArr != null) {
int i12 = $10 + 75;
$11 = i12 % 128;
if (i12 % 2 == 0) {
cArr = new char[i6];
tvh.c = 0;
c = 1;
} else {
cArr = new char[i6];
tvh.c = 0;
c = 0;
}
while (tvh.c < i6) {
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - View.resolveSize(0, 0), KeyEvent.normalizeMetaState(0) + 5, (char) (54 - Color.blue(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - View.MeasureSpec.getMode(0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (58133 - ExpandableListView.getPackedPositionChild(0L)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 402, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf("", "", 0, 0) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | ISO7816.INS_PSO), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr;
}
if (i8 > 0) {
int i15 = $11 + 11;
$10 = i15 % 128;
if (i15 % 2 != 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr5, 0, i6);
System.arraycopy(cArr5, 0, cArr4, i6 >>> i8, i8);
System.arraycopy(cArr5, i8, cArr4, 1, i6 * i8);
} else {
i = 0;
char[] cArr6 = new char[i6];
System.arraycopy(cArr4, 0, cArr6, 0, i6);
int i16 = i6 - i8;
System.arraycopy(cArr6, 0, cArr4, i16, i8);
System.arraycopy(cArr6, i8, cArr4, 0, i16);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i7 > 0) {
int i17 = 0;
while (true) {
tvh.c = i17;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i17 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonIdpActivity, 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) {
Object[] objArr = new Object[1];
aE((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.please_choose_min_full_payment).substring(25, 26).codePointAt(0) + 42255), new char[]{31927, 1921, 6547, 8993, 39449, 4977, 30897, 46907, 40047, 23074, 60626, 29774, 5456, 28726, 30653, 9378, 44016, 30741, 4676, 36303, 47820, 12574, 12085, 51918, 22038, 6997}, new char[]{48520, 24041, 12152, 53925}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{23, 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 = q + 85;
s = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = q + 39;
s = i3 % 128;
try {
if (i3 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (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(ExpandableListView.getPackedPositionGroup(0L) + 487, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 487, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).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:4:0x0065, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonIdpActivity, 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 r24) {
/*
Method dump skipped, instructions count: 780
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ndidcommon.NdidCommonIdpActivity.attachBaseContext(android.content.Context):void");
}
static void f() {
l = new char[]{39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 39969, 40020, 40045, 40035, 40056, 39996, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 40058, 40034, 40032, 40057, 40056, 40039, 40030, 40099, 40109, 40090, 40055, 40050, 40068, 40089, 40089, 40091, 40048, 40089, 40089, 40088, 40095, 40088, 40099, 40090, 40051, 40051, 40049, 40091, 40109, 40090, 40090, 40108, 40089, 40048, 40091, 40091, 40048, 40055, 40055, 40050, 40050, 40049, 40068, 40069, 40051, 40050, 40051, 40068, 40091, 40090, 40068, 40061, 40060, 40049, 40051, 40050, 40048, 40050, 40050, 40050, 40051, 40089, 40095, 40048, 40091, 40090, 40089, 40089, 40090, 40099, 39995, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 40007, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40067, 40205, 40207, 40205, 40175, 40168, 40207, 40194, 40162, 40168, 40200, 40204, 40172, 40172, 40205, 40206, 40202, 40204, 40197, 40167, 40166, 40164, 40128, 40174, 40195, 40195, 40207, 40199, 40197, 40195, 40194, 40196, 40198, 40199, 40186, 40132, 40129, 40167, 40194, 40203, 40201, 40200, 40207, 40194, 40195, 40207, 40205, 40206, 40202, 40203, 40202, 40201, 40183, 40201, 40204, 40172, 40167, 40194, 40195, 40205, 40181, 40206, 40205, 40182, 40206, 40197, 40167, 40174, 40194, 40205, 40207, 40205, 40205, 40198, 40075, 40181, 40175, 40133, 40172, 40162, 40154, 40134, 40130, 40135, 40133, 40174, 40181, 40169, 40128, 40133, 40135, 40135, 40129, 40169, 40183, 40181, 40180, 40168, 40129, 40174, 40174, 40175, 40172, 40162, 40180, 40172, 40132, 40132, 40133, 40173};
t = 9051040786702654117L;
p = 452713125;
r = (char) 7619;
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonIdpActivity, 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() {
e(new Object[]{this}, -1170544958, 1170544958, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1452923385);
}
@Override // com.scb.phone.view.activity.ndidcommon.Hilt_NdidCommonIdpActivity, 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 = q + 125;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 5;
q = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
e(new Object[]{this}, 2113003142, -2113003141, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 339189013);
}
static {
q = 1;
f();
f7638o = new HBt((byte) 0);
int i = s + 111;
q = i % 128;
if (i % 2 == 0) {
int i2 = 65 / 0;
}
}
}