what-the-bank/sources/com/scb/phone/view/activity/ntb/touchpoint/TouchPointSelectAccountActi...

644 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ntb.touchpoint;
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.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 butterknife.ButterKnife;
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.ntb.touchpoint.BaseTouchPointBreadcrumbActivity;
import com.scb.phone.view.fragment.ntb.selectaccount.SelectAccountFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.DFY;
import o.GuL;
import o.fIY;
import o.fKI;
import o.xzZ;
import org.jmrtd.cbeff.ISO781611;
/* loaded from: classes5.dex */
public final class TouchPointSelectAccountActivity extends Hilt_TouchPointSelectAccountActivity implements fIY.Sts {
private static long l;
public static final IeS m;
/* renamed from: o, reason: collision with root package name */
private static int f7675o;
private static int p;
private static int q;
private static byte[] r;
private static short[] s;
private static int t;
private SelectAccountFragment k;
private static final byte[] $$y = {85, 123, 51, ISO7816.INS_READ_RECORD2};
private static final int $$z = 8;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002c). 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(short r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 3 - r7
int r8 = r8 * 4
int r0 = r8 + 1
byte[] r1 = com.scb.phone.view.activity.ntb.touchpoint.TouchPointSelectAccountActivity.$$y
int r6 = r6 + 108
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r3 = r7
r4 = r2
goto L2c
L14:
r3 = r2
L15:
byte r4 = (byte) r6
r0[r3] = r4
int r7 = r7 + 1
if (r3 != r8) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
r4 = r1[r7]
int r3 = r3 + 1
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2c:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.touchpoint.TouchPointSelectAccountActivity.aF(short, int, byte, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aD(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $10 + 79;
$11 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
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)) + 208, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1706 - (ViewConfiguration.getTapTimeout() >> 16)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) ($$z + 3), b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.combineMeasuredStates(0, 0));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) ($$z + 5), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $11 + 29;
$10 = i6 % 128;
if (i6 % 2 == 0) {
objArr[0] = str;
} else {
int i7 = 18 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointSelectAccountActivity, com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity, 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;
int i2 = y + 5;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aD(new char[]{36936, 7419, 33487, 57020, 36905, 50314, 12949, 22163, 61531, 9225, 37393, 13899, 20703, 34207, 62423, 38841, 45390, 58631, 21278, 30472, 4555, 18055}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_success_cc_activation_completed).substring(17, 18).codePointAt(0) - 31, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new char[]{8298, 55594, 60943, 44795, 8199, 332, 24164, 9935, 16498}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hms_bindfaildlg_message).substring(0, 5).length() - 4, 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];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_aip_not_finalized).substring(0, 1).length() - 1), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 732131913, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 124, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 816528151, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.apply_theme_description).substring(27, 28).length() + 732131951, (-111) - Color.green(0), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 816528199, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 105;
y = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new char[]{7792, 17384, 2233, 53186, 7745, 39872, 47283, 18429, 32319, 31504, 6245, 10106, 57066, 56006, 31165, 34550, 16183, 47641, 55608, 26155, 40930, 6612, 15013, 50615, 64559, 63831, 39538, 42290, 23806, 22745, 64508, 1202, 48503, 14418, 23423, 58418, 7585, 38946, 48287, 17358, 31306, 32758, 7233, 8985, 55962, 57131, 32150, 33474, 15175, 48803, 56654, 25159}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 97, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE((short) (((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), View.MeasureSpec.makeMeasureSpec(0, 0) + 732131970, (-112) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_rate_detail).substring(17, 18).length() + 816528200, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_aip_not_finalized).substring(0, 1).length() - 1), ExpandableListView.getPackedPositionChild(0L) + 732132035, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_selector_cardless_footnote).substring(0, 2).codePointAt(0) - 153, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_ncb_slip_save_success).substring(0, 42).codePointAt(16) + 816524546, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_pending_inquiries_no_aip).substring(53, 57).codePointAt(2) - 55), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new char[]{53367, 17770, 8398, 41159, 53279, 40193, 36996, 10474, 45176, 32203, 12379, 18481, 4348, 56340, 20889, 59903, 61792, 48278, 61713, 2427, 20962, 7959, 4739, 43747, 12922, 65421, 45574, 51823, 37617, 24070, 54214, 27638, 29563, 16027, 29449, 35687, 54243, 40694, 38065, 11401, 46175, 31039, 13363, 19467, 5326, 55791, 21948, 60801, 62802, 47212, 62781, 3332, 21954, 6315, 5795, 44677, 13910, 64302, 46629, 52766, 38614, 23458, 55201, 28556, 30548, 14956, 30527, 36626, 55192, 39619, 38658, 12533, 47150, 1351, 14545, 20528, 6331, 58830}, -TextUtils.lastIndexOf("", '0', 0, 0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_credit_line_co_borrower_mobile_number_placeholder).substring(0, 12).length() - 12), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 732132064, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_delete_message_type_debit_card).substring(37, 38).length() - 112, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.btn_text_return_to_pointx).substring(9, 17).length() + 816528149, (byte) (ViewConfiguration.getTouchSlop() >> 8), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new char[]{27222, 29232, 28083, 63285, 27187, 43598, 56767, 32604, 2638, 19090, 32061, 8156, 43651, 60177, 7349, 48645, 19264, 35726, 48181, 24278, 60311, 10254, 24496, 64793, 34904, 51422, 65402, 40401, 10380, 26964, 40615, 15377, 51461, 2518, 15986, 56513, 27010, 43514, 55708, 31597}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (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, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558821);
ButterKnife.Dg_(this);
Z();
setTitle(R.string.auto_touchpoints_select_account);
ac();
SelectAccountFragment i6 = SelectAccountFragment.i();
C14957gcv.c(i6, "");
this.k = i6;
fKI.a(this, i6, R.id.fm_layout_container);
int i7 = y + 115;
t = i7 % 128;
if (i7 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
TouchPointSelectAccountActivity touchPointSelectAccountActivity = (TouchPointSelectAccountActivity) objArr[0];
int i = 2 % 2;
int i2 = y + 89;
t = i2 % 128;
if (i2 % 2 != 0) {
SelectAccountFragment selectAccountFragment = touchPointSelectAccountActivity.k;
throw null;
}
SelectAccountFragment selectAccountFragment2 = touchPointSelectAccountActivity.k;
if (selectAccountFragment2 == null) {
C14957gcv.a("");
int i3 = t + 97;
y = i3 % 128;
int i4 = i3 % 2;
selectAccountFragment2 = null;
}
selectAccountFragment2.h();
int i5 = y + 11;
t = i5 % 128;
if (i5 % 2 == 0) {
return null;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
C14957gcv.e(menuItem, "");
if (16908332 != menuItem.getItemId()) {
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i2 = t + 41;
y = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 32 / 0;
}
return onOptionsItemSelected;
}
SelectAccountFragment selectAccountFragment = this.k;
if (selectAccountFragment == null) {
int i4 = t + 111;
y = i4 % 128;
if (i4 % 2 == 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
selectAccountFragment = null;
}
selectAccountFragment.h();
return true;
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity
protected final BaseTouchPointBreadcrumbActivity.LWm g() {
int i = 2 % 2;
int i2 = t + 51;
y = i2 % 128;
if (i2 % 2 == 0) {
BaseTouchPointBreadcrumbActivity.LWm lWm = BaseTouchPointBreadcrumbActivity.LWm.SELECT_ACCOUNT;
Object obj = null;
obj.hashCode();
throw null;
}
BaseTouchPointBreadcrumbActivity.LWm lWm2 = BaseTouchPointBreadcrumbActivity.LWm.SELECT_ACCOUNT;
int i3 = t + 67;
y = i3 % 128;
int i4 = i3 % 2;
return lWm2;
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointSelectAccountActivity, com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity, 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;
int i2 = y + 33;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aE((short) (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)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 732131892, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 226, (Process.myTid() >> 22) + 816528197, (byte) (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.edit_email_things_you_should_know_description).substring(127, ISO781611.BIOMETRIC_SUBTYPE_TAG).codePointAt(1) - 116), 732131952 - Color.red(0), (-110) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_format).substring(0, 10).length() + 816528189, (byte) (Process.myTid() >> 22), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = t + 101;
y = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = t + 11;
y = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = t + 43;
y = i7 % 128;
int i8 = i7 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 488, (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointSelectAccountActivity, com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity, 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];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 732131892, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 124, View.resolveSize(0, 0) + 816528197, (byte) (((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];
aE((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_accounts_select_lock_account_description).substring(112, 113).length() - 1), 732131952 - KeyEvent.getDeadChar(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 145, 816528198 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.new_deejung_installment_email_notification_message).substring(33, 34).length(), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_trok_format).substring(4, 10).codePointAt(3) - 36), 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 = y + 87;
t = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) View.getDefaultSize(0, 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(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, (Process.myTid() >> 22) + 5, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).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();
int i4 = y + 55;
t = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
private static void aE(short s2, int i, int i2, int i3, byte b, Object[] objArr) {
int i4;
int i5;
int i6 = 2 % 2;
DFY dfy = new DFY();
StringBuilder sb = new StringBuilder();
try {
Object[] objArr2 = {Integer.valueOf(i2), Integer.valueOf(p)};
Object obj = xzZ.y.get(-2092856797);
if (obj == null) {
Class cls = (Class) xzZ.c(336 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) View.combineMeasuredStates(0, 0));
byte b2 = (byte) ($$z >>> 2);
byte b3 = (byte) (b2 - 2);
Object[] objArr3 = new Object[1];
aF(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj);
}
Object obj2 = null;
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
boolean z = intValue == -1;
long j = 0;
if (z) {
int i7 = $10 + 97;
$11 = i7 % 128;
if (i7 % 2 == 0) {
obj2.hashCode();
throw null;
}
byte[] bArr = r;
if (bArr != null) {
int length = bArr.length;
byte[] bArr2 = new byte[length];
int i8 = 0;
while (i8 < length) {
Object[] objArr4 = {Integer.valueOf(bArr[i8])};
Object obj3 = xzZ.y.get(-1648115392);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(60 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionChild(j) + 6, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aF(b4, b5, b5, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1648115392, obj3);
}
bArr2[i8] = ((Byte) ((Method) obj3).invoke(null, objArr4)).byteValue();
i8++;
j = 0;
}
bArr = bArr2;
}
if (bArr != null) {
int i9 = $10 + 5;
$11 = i9 % 128;
int i10 = i9 % 2;
byte[] bArr3 = r;
Object[] objArr6 = {Integer.valueOf(i), Integer.valueOf(f7675o)};
Object obj4 = xzZ.y.get(-2092856797);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c(Color.red(0) + 337, Color.blue(0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b6 = (byte) ($$z >>> 2);
byte b7 = (byte) (b6 - 2);
Object[] objArr7 = new Object[1];
aF(b6, b7, b7, objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(-2092856797, obj4);
}
intValue = (byte) (((byte) (bArr3[((Integer) ((Method) obj4).invoke(null, objArr6)).intValue()] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
} else {
intValue = (short) (((short) (s[i + ((int) (f7675o ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (p ^ (-7303220121662775787L))));
}
}
if (intValue > 0) {
int i11 = ((i + intValue) - 2) + ((int) (f7675o ^ (-7303220121662775787L)));
if (z) {
int i12 = $11 + 121;
$10 = i12 % 128;
int i13 = i12 % 2;
i4 = 1;
} else {
i4 = 0;
}
dfy.c = i11 + i4;
Object[] objArr8 = {dfy, Integer.valueOf(i3), Integer.valueOf(q), sb};
Object obj5 = xzZ.y.get(1546973421);
if (obj5 == null) {
obj5 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 747, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) Color.blue(0))).getMethod("q", Object.class, Integer.TYPE, Integer.TYPE, Object.class);
xzZ.y.put(1546973421, obj5);
}
((StringBuilder) ((Method) obj5).invoke(null, objArr8)).append(dfy.a);
dfy.e = dfy.a;
byte[] bArr4 = r;
if (bArr4 != null) {
int length2 = bArr4.length;
byte[] bArr5 = new byte[length2];
int i14 = 0;
while (i14 < length2) {
int i15 = $11 + 1;
$10 = i15 % 128;
if (i15 % 2 != 0) {
bArr5[i14] = (byte) (bArr4[i14] % (-7303220121662775787L));
i14 >>= 1;
} else {
bArr5[i14] = (byte) (bArr4[i14] ^ (-7303220121662775787L));
i14++;
}
}
bArr4 = bArr5;
}
boolean z2 = bArr4 != null;
dfy.d = 1;
while (dfy.d < intValue) {
int i16 = $10;
int i17 = i16 + 49;
$11 = i17 % 128;
int i18 = i17 % 2;
if (z2) {
int i19 = i16 + 81;
$11 = i19 % 128;
if (i19 % 2 == 0) {
byte[] bArr6 = r;
dfy.c = dfy.c;
i5 = dfy.e - (((byte) (((byte) (bArr6[r7] % (-7303220121662775787L))) << s2)) ^ b);
} else {
byte[] bArr7 = r;
dfy.c = dfy.c - 1;
i5 = dfy.e + (((byte) (((byte) (bArr7[r7] ^ (-7303220121662775787L))) + s2)) ^ b);
}
dfy.a = (char) i5;
} else {
short[] sArr = s;
dfy.c = dfy.c - 1;
dfy.a = (char) (dfy.e + (((short) (((short) (sArr[r7] ^ (-7303220121662775787L))) + s2)) ^ b));
}
sb.append(dfy.a);
dfy.e = dfy.a;
dfy.d++;
}
}
String sb2 = sb.toString();
int i20 = $11 + 123;
$10 = i20 % 128;
if (i20 % 2 != 0) {
throw null;
}
objArr[0] = sb2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x006e, code lost:
if (r1 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointSelectAccountActivity, com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity, 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 r22) {
/*
Method dump skipped, instructions count: 794
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.touchpoint.TouchPointSelectAccountActivity.attachBaseContext(android.content.Context):void");
}
static void f() {
l = -2364207254656450496L;
f7675o = -2020437057;
p = 1406017147;
q = -1667572983;
r = new byte[]{-71, Ascii.SYN, -23, -26, Ascii.US, 1, -50, 16, 30, -26, Ascii.CAN, ISO7816.INS_CREATE_FILE, 4, 55, 6, ISOFileInfo.AB, Ascii.NAK, Ascii.SUB, 38, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, ISO7816.INS_READ_BINARY2, -22, 19, ISO7816.INS_CREATE_FILE, 6, -21, -17, -24, -23, Ascii.NAK, 58, ISO7816.INS_LOAD_KEY_FILE, 19, 28, -26, Ascii.NAK, -24, 7, -57, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -57, -63, 62, Ascii.SYN, -63, -18, 16, ISO7816.INS_CHANGE_CHV, -33, 35, ISO7816.INS_APPEND_RECORD, Ascii.SYN, -21, 19, ISO7816.INS_LOAD_KEY_FILE, Ascii.SYN, -24, 58, -58, -24, 38, -21, 16, -18, 17, Ascii.NAK, -22, -24, Ascii.NAK, -63, -22, 59, -59, 62, Ascii.SYN, -21, -58, -22, 59, ISO7816.INS_GET_RESPONSE, ISO7816.INS_CHANGE_CHV, -18, Ascii.DC2, -22, Ascii.DC4, -33, 17, Ascii.DC4, 60, 29, -23, -57, -24, 39, -17, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, Ascii.NAK, 39, -57, 59, Ascii.SYN, -19, ISO7816.INS_ENVELOPE, -126, Ascii.ETB, -29, Ascii.US, ISO7816.INS_CREATE_FILE};
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointSelectAccountActivity, com.scb.phone.view.activity.ntb.touchpoint.BaseTouchPointBreadcrumbActivity, 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 = t + 99;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 31;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 49 / 0;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1545189670;
c(new Object[]{this});
}
static {
t = 0;
f();
m = new IeS((byte) 0);
int i = y + 111;
t = i % 128;
int i2 = i % 2;
}
}