what-the-bank/sources/com/scb/phone/view/activity/hml/fatca/HmlNTBSelectAccountActivity...

761 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.fatca;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
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.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C3614bBe;
import o.dQY;
import o.fIY;
import o.xzZ;
/* loaded from: classes4.dex */
public final class HmlNTBSelectAccountActivity extends Hilt_HmlNTBSelectAccountActivity implements fIY.Sts {
private static char[] k;
private static int l;
private static boolean m;
/* renamed from: o, reason: collision with root package name */
private static boolean f7398o;
private static long q;
private static char[] s;
private static int t;
private static final byte[] $$y = {ISO7816.INS_CHANGE_CHV, ISOFileInfo.A1, ISO7816.INS_ENVELOPE, -12};
private static final int $$z = 29;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). 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(int r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 65
int r7 = r7 * 2
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.$$y
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2b
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L26
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L26:
r3 = r1[r8]
r5 = r3
r3 = r6
r6 = r5
L2b:
int r8 = r8 + 1
int r6 = -r6
int r6 = r6 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.aF(int, short, byte, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
HmlNTBSelectAccountActivity hmlNTBSelectAccountActivity = (HmlNTBSelectAccountActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 125;
t = i2 % 128;
int i3 = i2 % 2;
String string = hmlNTBSelectAccountActivity.getString(R.string.select_account_title);
C14957gcv.c((Object) string, "");
int i4 = t + 37;
p = i4 % 128;
if (i4 % 2 == 0) {
return string;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
HmlSelectAccountFragment.RVV rvv = HmlSelectAccountFragment.d;
HmlSelectAccountFragment hmlSelectAccountFragment = new HmlSelectAccountFragment();
int i2 = p + 29;
t = i2 % 128;
int i3 = i2 % 2;
return hmlSelectAccountFragment;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = p + 55;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (16908332 == menuItem.getItemId()) {
int i4 = t + 83;
p = i4 % 128;
if (i4 % 2 == 0) {
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.container);
if (findFragmentById instanceof HmlSelectAccountFragment) {
((HmlSelectAccountFragment) findFragmentById).h();
return true;
}
super.onBackPressed();
return true;
}
boolean z = getSupportFragmentManager().findFragmentById(R.id.container) instanceof HmlSelectAccountFragment;
Object obj = null;
obj.hashCode();
throw null;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i5 = t + 53;
p = i5 % 128;
int i6 = i5 % 2;
return onOptionsItemSelected;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0044, code lost:
((com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) r1).h();
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0049, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x004a, code lost:
super.onBackPressed();
r1 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.t + 123;
com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.p = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0056, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x002d, code lost:
if ((r1 instanceof com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0020, code lost:
if ((r1 instanceof com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) != true) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x002f, code lost:
r2 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.t + 103;
com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.p = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0038, code lost:
if ((r2 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x003a, code lost:
((com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) r1).h();
r0 = 13 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:?, code lost:
return;
*/
@Override // androidx.activity.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onBackPressed() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.p
int r1 = r1 + 17
int r2 = r1 % 128
com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.t = r2
int r1 = r1 % r0
r2 = 2131362782(0x7f0a03de, float:1.8345354E38)
if (r1 != 0) goto L23
o.yRS r1 = r4.getSupportFragmentManager()
androidx.fragment.app.Fragment r1 = r1.findFragmentById(r2)
boolean r2 = r1 instanceof com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment
r3 = 99
int r3 = r3 / 0
r3 = 1
if (r2 == r3) goto L2f
goto L4a
L23:
o.yRS r1 = r4.getSupportFragmentManager()
androidx.fragment.app.Fragment r1 = r1.findFragmentById(r2)
boolean r2 = r1 instanceof com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment
if (r2 == 0) goto L4a
L2f:
int r2 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.t
int r2 = r2 + 103
int r3 = r2 % 128
com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.p = r3
int r2 = r2 % r0
if (r2 == 0) goto L44
com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment r1 = (com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) r1
r1.h()
r0 = 13
int r0 = r0 / 0
goto L49
L44:
com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment r1 = (com.scb.phone.view.fragment.hml.account.HmlSelectAccountFragment) r1
r1.h()
L49:
return
L4a:
super.onBackPressed()
int r1 = com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.t
int r1 = r1 + 123
int r2 = r1 % 128
com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.p = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.onBackPressed():void");
}
private static void aE(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(s[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.blue(0) + 308, KeyEvent.normalizeMetaState(0) + 5, (char) (KeyEvent.keyCodeFromString("") + 32797));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) ($$z + 4), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(q), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) ($$z + 5), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 407, 5 - View.combineMeasuredStates(0, 0), (char) ((ViewConfiguration.getTouchSlop() >> 8) + 29234));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 41, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i5 = $10 + 1;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 57;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - TextUtils.indexOf("", "", 0, 0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 29234));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aF((byte) 41, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls5 = (Class) xzZ.c(406 - ((byte) KeyEvent.getModifierMetaStateMask()), (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)) + 5, (char) (29234 - Color.argb(0, 0, 0, 0)));
byte b5 = (byte) 0;
Object[] objArr11 = new Object[1];
aF((byte) 41, b5, b5, objArr11);
obj6 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBSelectAccountActivity, 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 onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ssf_tesg_tab).substring(0, 8).codePointAt(0) + 44, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_one_point).substring(0, 5).codePointAt(0) + 90, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_thb_currency).substring(0, 3).codePointAt(1) - 72, 18 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.occupation_search_no_results_description).substring(16, 17).codePointAt(0) - 32), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 27;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
int i4 = t + 29;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = p + 47;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 4 - MotionEvent.axisFromString(""), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.addition_document_image_attached).substring(0, 3).length() + 15, AndroidCharacter.getMirror('0'), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deny_consent_dialog_description).substring(21, 22).length() + 13782), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.faq_pay_with_point_x_description).substring(0, 8).length() + 119, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_minute_suffix).substring(0, 5).codePointAt(3) + 12, new byte[]{-101, ISOFileInfo.LCS_BYTE, -97, -103, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.A0, -98, -104, -106, -97, -102, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.LCS_BYTE, ISOFileInfo.A0, -99, -103, -98, -103, -100, -100, -102, -103, -103, ISOFileInfo.DATA_BYTES2, -107, -105, ISOFileInfo.FILE_IDENTIFIER, -104, -106, -97, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -97, ISOFileInfo.LCS_BYTE, -102, -101, -98, -100, -98, ISOFileInfo.A0, -107, ISOFileInfo.DATA_BYTES2, -97, -98, -105, -107, ISOFileInfo.SECURITY_ATTR_EXP, -99, -104, -102, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.DATA_BYTES2, -99, -98, -97, ISOFileInfo.DATA_BYTES2}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 32, TextUtils.lastIndexOf("", '0') + 75, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_idp_verify_identity_step_liveness_ckeck).substring(13, 14).codePointAt(0) + 22520), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 106, KeyEvent.getDeadChar(0, 0) + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.my_e_coupons).substring(6, 7).codePointAt(0) + 48537), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_mask_on_sample).substring(9, 12).length() + 124, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -100, -103, -105, -103, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -101, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -102, ISOFileInfo.A1, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A1, -100, -100, -102, -105, ISOFileInfo.A1, -107, ISOFileInfo.SECURITY_ATTR_EXP, -98, -106, ISOFileInfo.A1, -98, -105, -104, ISOFileInfo.FILE_IDENTIFIER, -105, -102, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBSelectAccountActivity, 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();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(null, null, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(ViewConfiguration.getLongPressTimeout() >> 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + IpLibUtil.KIPP_BAD_HISTOGRAM), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 95;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 71;
p = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 491, Color.alpha(0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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.getMinimumFlingVelocity() >> 16), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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 - (ViewConfiguration.getPressedStateDuration() >> 16), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, Color.red(0) + 5, (char) TextUtils.getOffsetAfter("", 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();
int i5 = t + 25;
p = i5 % 128;
int i6 = i5 % 2;
}
private static void aD(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char[] cArr2;
int length;
char[] cArr3;
int i2;
int i3 = 2;
int i4 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr4 = k;
int i5 = 1;
if (cArr4 != null) {
int i6 = $11 + 59;
$10 = i6 % 128;
if (i6 % 2 != 0) {
length = cArr4.length;
cArr3 = new char[length];
i2 = 1;
} else {
length = cArr4.length;
cArr3 = new char[length];
i2 = 0;
}
while (i2 < length) {
int i7 = $11 + 47;
$10 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr4[i2])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((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)) + 337, 5 - View.resolveSize(0, 0), (char) (Process.myTid() >> 22));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
i3 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr4 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 283, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (39813 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 57, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (f7398o) {
int i9 = $10 + 93;
$11 = i9 % 128;
if (i9 % 2 == 0) {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 1;
} else {
c3614bBe.c = bArr.length;
cArr2 = new char[c3614bBe.c];
c3614bBe.a = 0;
}
while (c3614bBe.a < c3614bBe.c) {
cArr2[c3614bBe.a] = (char) (cArr4[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
return;
}
if (!m) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr4[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
int i10 = $11 + 73;
$10 = i10 % 128;
int i11 = i10 % 2;
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr4[cArr[(c3614bBe.c - i5) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 40, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((-1) - Process.getGidForName("")));
Class<?>[] clsArr = new Class[2];
clsArr[0] = Object.class;
clsArr[i5] = Object.class;
obj4 = cls3.getMethod("D", clsArr);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
i5 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBSelectAccountActivity, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 16, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_bo_downtime_disbursement_downtime_desc).substring(52, 53).codePointAt(0) - 32, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_facial_locked_warning_message).substring(63, 64).codePointAt(0) - 14, (char) (((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);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = t + 55;
p = i2 % 128;
try {
if (i2 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, View.resolveSize(0, 0) + 5, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i3 = t + 3;
p = i3 % 128;
int i4 = i3 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0061, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBSelectAccountActivity, 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: 650
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.fatca.HmlNTBSelectAccountActivity.attachBaseContext(android.content.Context):void");
}
static void f() {
k = new char[]{16277, 16258, 16264, 16262, 16259, 16269, 15938, 16263, 15972, 16279, 16265, 16257, 16317, 16281, 16260, 15989, 16312, 16314, 16280, 16268, 16278, 15994, 15992, 15997, 15993, 15942, 15995, 15941, 15943, 15940, 15996, 16266, 15937};
l = 1934310964;
m = true;
f7398o = true;
s = new char[]{36785, 13058, 63210, 47695, 32035, 8325, 58488, 42768, 27274, 11887, 53708, 38060, 22541, 7122, 56992, 33296, 17901, 2377, 47668, 1687, 50043, 36744, 18594, 5471, 53693, 37607, 24399, 7153, 58437, 41331, 28042, 11782, 60208, 46998, 28727, 15555, 63917, 47618, 1746, 50104, 35914, 18671, 5403, 54830, 37540, 24407, 6250, 58509, 41271, 28111, 11924, 60277, 47063, 28859, 15703, 63929, 47641, 1860, 50175, 35932, 18734, 5511, 54842, 37692, 24518, 6266, 55202, 27419, 44788, 57941, 9517, 30921, 48187, 65382, 12945, 30318, 35289, 52400, 21, 17348, 34465, 55820, 7679, 20813, 37939, 55196, 27471, 44591, 57734, 9592, 30940, 48060, 65318, 13017, 30126, 35081, 52473, 'P', 17182, 34540, 55873, 7478, 20618, 37949, 55251, 27292, 44643, 57813, 9404, 30734, 48103, 65214, 12813, 30195, 35167, 52337, 3987, 17274, 34339, 55756, 7525, 20681, 37819, 55128, 27329, 44451, 57601, 9470, 30799, 47909, 65189, 12889, 30066, 35018, 52347, 4037, 17073, 34407, 55766, 7348, 12771, 36177, 18600, 1051, 50046};
q = -7413607617118194825L;
}
@Override // com.scb.phone.view.activity.hml.fatca.Hilt_HmlNTBSelectAccountActivity, 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 = p + 97;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1579285670;
return (String) b(new Object[]{this});
}
static {
t = 1;
f();
new RVV((byte) 0);
int i = p + 7;
t = i % 128;
if (i % 2 == 0) {
throw null;
}
}
}