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

756 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Build;
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.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
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.HmlMobileListFragment;
import com.scb.phone.view.fragment.otppin.MobileListFragment;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.C15759iP;
import o.C5373brn;
import o.GOf;
import o.GuL;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9265dgV;
import o.NJ;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class HmlEtbSubmissionOtpActivity extends Hilt_HmlEtbSubmissionOtpActivity implements InterfaceC9265dgV {
public static final LWm b;
private static char[] k;
private static long l;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char f7280o;
@InterfaceC13391fZD
public C5373brn presenter;
private static final byte[] $$E = {94, 84, -2, 0};
private static final int $$F = 50;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 1;
/* 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 aJ(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
int r7 = r7 + 117
int r6 = r6 * 4
int r0 = 1 - r6
byte[] r1 = com.scb.phone.view.activity.hml.HmlEtbSubmissionOtpActivity.$$E
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L14
r3 = r8
r4 = r2
goto L2b
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
int r8 = r8 + 1
int r4 = r3 + 1
if (r3 != r6) 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 = r8
r8 = r5
L2b:
int r8 = -r8
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlEtbSubmissionOtpActivity.aJ(int, int, byte, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public static Intent afS_(Context context, Boolean bool, Boolean bool2, Boolean bool3, String str, String str2, String str3, String str4, String str5) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent intent = new Intent(context, (Class<?>) HmlEtbSubmissionOtpActivity.class);
if (bool != null) {
intent.putExtra("TNC_ACCEPTED", bool.booleanValue());
}
if (bool2 != null) {
intent.putExtra("MODEL_ACCEPTED", bool2.booleanValue());
}
if (bool3 != null) {
intent.putExtra("CROSS_ACCEPTED", bool3.booleanValue());
}
intent.putExtra("APP_UID", str);
intent.putExtra("INTENT_INFO", str2);
intent.putExtra("REQUESTED_LOAN_AMOUNT", str3);
intent.putExtra("REQUESTED_REPAYMENT_AMOUNT", str4);
intent.putExtra("REQUESTED_REPAYMENT_TERM", str5);
return intent;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void aI(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 = $11 + 119;
$10 = 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(208 - Color.blue(0), 5 - KeyEvent.keyCodeFromString(""), (char) (1705 - MotionEvent.axisFromString("")));
byte[] bArr = $$E;
byte b2 = bArr[3];
byte b3 = (byte) (-bArr[2]);
Object[] objArr3 = new Object[1];
aJ(b2, b3, (byte) (b3 - 3), 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();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 391, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte[] bArr2 = $$E;
byte b4 = bArr2[3];
byte length = (byte) bArr2.length;
Object[] objArr5 = new Object[1];
aJ(b4, length, (byte) (length - 5), 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $11 + 1;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseOtpActivity
public final MobileListFragment l(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
HmlMobileListFragment.HBt hBt = HmlMobileListFragment.d;
HmlMobileListFragment hmlMobileListFragment = new HmlMobileListFragment();
Bundle bundle = new Bundle();
bundle.putString("ARG_LABEL_BELOW", str);
hmlMobileListFragment.setArguments(bundle);
HmlMobileListFragment hmlMobileListFragment2 = hmlMobileListFragment;
int i2 = t + 35;
m = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 21 / 0;
}
return hmlMobileListFragment2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlEtbSubmissionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 = m + 69;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{NistHelper.SEP_FS, '\"', '\b', 1, '!', 19, '\r', 7, 30, 25, 3, '\r', 1, ' ', 2, '\f', 13865, 13865}, (byte) (Color.argb(0, 0, 0, 0) + 64), 18 - (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)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object obj = null;
Object[] objArr2 = new Object[1];
aG(new char[]{21, 20, '!', 22, 13849}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 84), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL, 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];
aI(new char[]{43730, 43699, 34532, 42636, 63813, 42615, 59154, 39872, 10569, 8828, 25350, 8064, 44379, 44657, 61214, 37812, 8527, 10846, 27438, 6143, 42356, 46656, 63282, 35835, 14658, 12877, 29504, 3995, 48395, 48693}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_promptpay_verification_snackbar_max_attemp).substring(56, 59).codePointAt(1) - 55, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{5, 24, 13810, 13810, 16, 26, 24, 21, 13812, 13812, '\t', 27, 4, 18, '!', 27, '\"', 25}, (byte) (10 - (ViewConfiguration.getLongPressTimeout() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_account_detail_screen_liquidation_value).substring(0, 17).length() + 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = m + 47;
t = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = m + 121;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{22361, 22376, 17772, 18832, 58791, 26022, 2142, 34610, 54430, 57854, 35864, 813, 20691, 28080, '@', 36633, 56502, 59863, 33909, 2892, 22763, 30098, 6248, 38744, 50350, 61849, 40015, 4901, 16519, 32239, 4161, 40765, 52374, 63996, 37970, 6965, 18632, 1476, 10290, 26369, 62635, 33176, 44156, 58190, 28899, 3549, 8235, 28653, 64582, 35117, 42115, 60384}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_deposite_title_bar).substring(6, 7).length(), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{16, '\b', 17, 15, 22, 16, 29, '\b', '\f', ' ', '\"', 14, '\"', 14, 23, 29, 14, NistHelper.SEP_FS, 20, '#', 4, '\f', 20, NistHelper.SEP_FS, '\r', 17, 30, 5, '#', '\b', '\"', 5, 13765, 13765, '\"', 18, '\"', 0, 13840, 13840, 22, 16, NistHelper.SEP_FS, 22, '#', 18, 22, 16, '\n', 1, 11, 14, 1, 5, '\"', 6, 5, 1, 22, 5, 22, 16, 20, 16}, (byte) (TextUtils.indexOf("", "", 0, 0) + 24), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{31569, 31536, 50404, 18966, 39955, 58401, 3036, 65239, 63684, 24614, 36765, 31389, 31883, 60472, 967, 63145, 61679, 26633, 34800, 29432, 29920, 62539, 7098, 61156, 59556, 28693, 40863, 27290, 27786, 64617, 5058, 59097, 57541, 30843, 38793, 25300, 25797, 33819, 11245, 7857, 55536, 'G', 44969, 39593, 23788, 35921, 9121, 5727, 53323, 2302, 42838, 37381, 21571, 38124, 15182, 3660, 51203, 4284, 49016, 35374, 19513, 40144, 13090, 1597, 49192, 6293, 46899, 33383}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{30661, 30637, 45392, 16148, 63794, 37337, 32410, 39861, 62530, 5531, 64213, 8182, 28766, 39388, 30359, 37760, 64634, 7654, 62127, 6028, 30832, 33263, 28349, 35740, 58464, 1533, 60104, 4072, 24595, 35214, 26248, 33769, 60417, 3467, 58071, 2032, 26641, 61870, 24303, 31702, 54309, 30191, 56061, 65484, 20524, 63911, 22258, 29502, 56520, 32092, 53763, 63283, 22736, 57619, 19997, 27450, 50380, 25886, 51755, 61209, 16628, 59690, 17967, 25363, 52462, 28028, 49697, 59141, 18602, 53531, 48668, 23338, 46228, 21783, 14943, 57207, 12441, 55558}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_atm_web_view).substring(0, 328).codePointAt(36) + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{35448, 35393, 55104, 31690, 32882, 63379, 14856, 58027, 2492}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.abc_menu_function_shortcut_label).substring(0, 9).length() - 8, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{16, 20, 2, ' ', '\b', 6, 29, ' ', '\n', '\f', ' ', 17, 11, 7, ' ', 2, 13764, 13764, '\n', 18, '\b', 16, 6, '\f', 30, 2, '\"', 20, '\f', 15, 6, 0, 24, ' ', 20, 17}, (byte) (25 - View.combineMeasuredStates(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_duration_value).substring(0, 9).length() + 27, 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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) KeyEvent.keyCodeFromString(""))).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);
C5373brn c5373brn = this.presenter;
if (c5373brn == null) {
C14957gcv.a("");
int i8 = m + 3;
t = i8 % 128;
int i9 = i8 % 2;
c5373brn = null;
}
c5373brn.e((C5373brn) this);
int i10 = m + 57;
t = i10 % 128;
if (i10 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
Boolean valueOf;
Boolean bool;
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C5373brn c5373brn = this.presenter;
if (c5373brn == null) {
C14957gcv.a("");
c5373brn = null;
}
String str3 = Build.MODEL;
C14957gcv.c((Object) str3, "");
if (!getIntent().hasExtra("TNC_ACCEPTED")) {
valueOf = null;
} else {
valueOf = Boolean.valueOf(getIntent().getBooleanExtra("TNC_ACCEPTED", false));
int i2 = t + 37;
m = i2 % 128;
int i3 = i2 % 2;
}
if (getIntent().hasExtra("MODEL_ACCEPTED")) {
int i4 = m + 49;
t = i4 % 128;
int i5 = i4 % 2;
bool = Boolean.valueOf(getIntent().getBooleanExtra("MODEL_ACCEPTED", false));
} else {
bool = null;
}
Boolean valueOf2 = getIntent().hasExtra("CROSS_ACCEPTED") ? Boolean.valueOf(getIntent().getBooleanExtra("CROSS_ACCEPTED", false)) : null;
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
C14957gcv.e(str2, "");
if (c5373brn.f != 0) {
int i6 = t + 67;
m = i6 % 128;
int i7 = i6 % 2;
c5373brn.f.y();
} else {
int i8 = m + 15;
t = i8 % 128;
int i9 = i8 % 2;
}
C15759iP c15759iP = c5373brn.b;
C5373brn.IeS ieS = new C5373brn.IeS(c5373brn);
C5373brn.Sts sts = new C5373brn.Sts(c5373brn);
NJ nj = new NJ(valueOf, bool, valueOf2);
C14957gcv.e(ieS, "");
C14957gcv.e(sts, "");
C14957gcv.e(str, "");
C14957gcv.e(str3, "");
C14957gcv.e(str2, "");
C14957gcv.e(nj, "");
c15759iP.c.e(ieS, sts, new GOf.Sts(str2, str, str3, nj.d, nj.b, nj.c), c15759iP.a);
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
HmlEtbSubmissionOtpActivity hmlEtbSubmissionOtpActivity = (HmlEtbSubmissionOtpActivity) objArr[0];
int i = 2 % 2;
int i2 = m + 117;
t = i2 % 128;
int i3 = i2 % 2;
String string = hmlEtbSubmissionOtpActivity.getString(R.string.hml_otp_title);
C14957gcv.c((Object) string, "");
int i4 = t + 41;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 5 / 0;
}
return string;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlEtbSubmissionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = m + 41;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI(new char[]{43730, 43699, 34532, 42636, 63813, 42615, 59154, 39872, 10569, 8828, 25350, 8064, 44379, 44657, 61214, 37812, 8527, 10846, 27438, 6143, 42356, 46656, 63282, 35835, 14658, 12877, 29504, 3995, 48395, 48693}, -TextUtils.lastIndexOf("", '0', 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{5, 24, 13810, 13810, 16, 26, 24, 21, 13812, 13812, '\t', 27, 4, 18, '!', 27, '\"', 25}, (byte) (ExpandableListView.getPackedPositionChild(0L) + 11), 18 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 25;
m = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 2 / 2;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = t + 49;
m = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 2 % 4;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ExpandableListView.getPackedPositionChild(0L), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlEtbSubmissionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = t + 61;
m = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = m + 87;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aI(new char[]{43730, 43699, 34532, 42636, 63813, 42615, 59154, 39872, 10569, 8828, 25350, 8064, 44379, 44657, 61214, 37812, 8527, 10846, 27438, 6143, 42356, 46656, 63282, 35835, 14658, 12877, 29504, 3995, 48395, 48693}, 1 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{5, 24, 13810, 13810, 16, 26, 24, 21, 13812, 13812, '\t', 27, 4, 18, '!', 27, '\"', 25}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_open_scbs_account_stop_2).substring(18, 19).length() + 9), 18 - TextUtils.getTrimmedLength(""), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 105;
m = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getTouchSlop() >> 8))).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(Process.getGidForName("") + 488, Color.alpha(0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 84 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), ImageFormat.getBitsPerPixel(0) + 6, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, TextUtils.getOffsetBefore("", 0) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aG(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
Object obj;
int length;
char[] cArr2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr3 = k;
Object obj2 = null;
char c = 3;
if (cArr3 != null) {
int i5 = $11 + 79;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = cArr3.length;
cArr2 = new char[length];
i3 = 1;
} else {
length = cArr3.length;
cArr2 = new char[length];
i3 = 0;
}
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i3])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - Color.argb(0, 0, 0, 0), 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b3 = $$E[c];
byte b4 = b3;
Object[] objArr3 = new Object[1];
aJ(b3, b4, (byte) (b4 - 1), objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr2[i3] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i3++;
c = 3;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr2;
}
Object[] objArr4 = {Integer.valueOf(f7280o)};
Object obj4 = xzZ.y.get(-1987398494);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 298, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b5 = $$E[3];
byte b6 = b5;
Object[] objArr5 = new Object[1];
aJ(b5, b6, (byte) (b6 - 1), objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i6 = $11 + 117;
$10 = i6 % 128;
if (i6 % 2 != 0) {
i2 = i + 91;
cArr4[i2] = (char) (cArr[i2] + b2);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
}
} else {
i2 = i;
}
if (i2 > 1) {
int i7 = $10 + 21;
$11 = i7 % 128;
if (i7 % 2 == 0) {
irs.e = 1;
} else {
irs.e = 0;
}
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i8 = $11 + 115;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
obj = obj2;
} else {
try {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (22024 - ((Process.getThreadPriority(0) + 20) >> 6)));
byte b7 = $$E[3];
byte b8 = (byte) (b7 + 3);
Object[] objArr7 = new Object[1];
aJ(b7, b8, (byte) (b8 - 4), objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c((Process.myTid() >> 22) + 327, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b9 = $$E[3];
byte b10 = (byte) (b9 + 1);
Object[] objArr9 = new Object[1];
aJ(b9, b10, (byte) (-b10), objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[intValue];
cArr4[irs.e + 1] = cArr3[i10];
} else {
obj = null;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr3[i11];
cArr4[irs.e + 1] = cArr3[i12];
} else {
int i13 = (irs.a * charValue) + irs.j;
int i14 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr3[i13];
cArr4[irs.e + 1] = cArr3[i14];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
obj2 = obj;
}
}
for (int i15 = 0; i15 < i; i15++) {
cArr4[i15] = (char) (cArr4[i15] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlEtbSubmissionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{NistHelper.SEP_FS, '\"', '\b', 1, '!', 19, '\r', 7, 30, 25, 3, '\r', 1, ' ', 2, '\f', 13865, 13865}, (byte) (Gravity.getAbsoluteGravity(0, 0) + 64), 18 - TextUtils.getTrimmedLength(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{21, 20, '!', 22, 13849}, (byte) (View.resolveSizeAndState(0, 0, 0) + 27), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = m + 15;
t = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = m + 65;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{22361, 22376, 17772, 18832, 58791, 26022, 2142, 34610, 54430, 57854, 35864, 813, 20691, 28080, '@', 36633, 56502, 59863, 33909, 2892, 22763, 30098, 6248, 38744, 50350, 61849, 40015, 4901, 16519, 32239, 4161, 40765, 52374, 63996, 37970, 6965, 18632, 1476, 10290, 26369, 62635, 33176, 44156, 58190, 28899, 3549, 8235, 28653, 64582, 35117, 42115, 60384}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{16, '\b', 17, 15, 22, 16, 29, '\b', '\f', ' ', '\"', 14, '\"', 14, 23, 29, 14, NistHelper.SEP_FS, 20, '#', 4, '\f', 20, NistHelper.SEP_FS, '\r', 17, 30, 5, '#', '\b', '\"', 5, 13765, 13765, '\"', 18, '\"', 0, 13840, 13840, 22, 16, NistHelper.SEP_FS, 22, '#', 18, 22, 16, '\n', 1, 11, 14, 1, 5, '\"', 6, 5, 1, 22, 5, 22, 16, 20, 16}, (byte) (ExpandableListView.getPackedPositionChild(0L) + 25), 65 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{31569, 31536, 50404, 18966, 39955, 58401, 3036, 65239, 63684, 24614, 36765, 31389, 31883, 60472, 967, 63145, 61679, 26633, 34800, 29432, 29920, 62539, 7098, 61156, 59556, 28693, 40863, 27290, 27786, 64617, 5058, 59097, 57541, 30843, 38793, 25300, 25797, 33819, 11245, 7857, 55536, 'G', 44969, 39593, 23788, 35921, 9121, 5727, 53323, 2302, 42838, 37381, 21571, 38124, 15182, 3660, 51203, 4284, 49016, 35374, 19513, 40144, 13090, 1597, 49192, 6293, 46899, 33383}, (KeyEvent.getMaxKeyCode() >> 16) + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{30661, 30637, 45392, 16148, 63794, 37337, 32410, 39861, 62530, 5531, 64213, 8182, 28766, 39388, 30359, 37760, 64634, 7654, 62127, 6028, 30832, 33263, 28349, 35740, 58464, 1533, 60104, 4072, 24595, 35214, 26248, 33769, 60417, 3467, 58071, 2032, 26641, 61870, 24303, 31702, 54309, 30191, 56061, 65484, 20524, 63911, 22258, 29502, 56520, 32092, 53763, 63283, 22736, 57619, 19997, 27450, 50380, 25886, 51755, 61209, 16628, 59690, 17967, 25363, 52462, 28028, 49697, 59141, 18602, 53531, 48668, 23338, 46228, 21783, 14943, 57207, 12441, 55558}, -TextUtils.indexOf((CharSequence) "", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{35448, 35393, 55104, 31690, 32882, 63379, 14856, 58027, 2492}, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{16, 20, 2, ' ', '\b', 6, 29, ' ', '\n', '\f', ' ', 17, 11, 7, ' ', 2, 13764, 13764, '\n', 18, '\b', 16, 6, '\f', 30, 2, '\"', 20, '\f', 15, 6, 0, 24, ' ', 20, 17}, (byte) (KeyEvent.normalizeMetaState(0) + 25), 36 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 487, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void f() {
k = new char[]{49104, 49053, 49089, 49119, 49035, 49107, 49054, 49111, 49109, 49108, 49105, 49034, 49024, 48169, 49110, 49123, 49029, 49028, 49138, 49098, 49118, 49114, 49106, 49026, 49088, 49091, 49031, 49095, 49117, 49094, 49030, 49116, 49025, 48168, 49126, 49027};
f7280o = (char) 35375;
l = -5523218707636684638L;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlEtbSubmissionOtpActivity, com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 + 45;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 117;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.BaseOtpActivity
public final String j() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2100693108;
return (String) b(new Object[]{this});
}
static {
m = 0;
f();
b = new LWm((byte) 0);
int i = t + 21;
m = i % 128;
int i2 = i % 2;
}
}