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

607 lines
35 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.submission;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
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.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.submission.HmlDocumentSubmissionFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.C4593bdB;
import o.EnumC5550bvF;
import o.GuL;
import o.xzZ;
/* loaded from: classes4.dex */
public class HmlDocumentSubmissionActivity extends Hilt_HmlDocumentSubmissionActivity {
public static final LWm b;
private static long k;
private static int l;
/* renamed from: o, reason: collision with root package name */
private static long f7416o;
private static final byte[] $$E = {124, -126, ISO7816.INS_MSE, 69};
private static final int $$F = 255;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aJ(byte r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r6 = r6 + 77
int r5 = r5 * 4
int r5 = r5 + 4
int r7 = r7 * 4
int r7 = 1 - r7
byte[] r0 = com.scb.phone.view.activity.hml.submission.HmlDocumentSubmissionActivity.$$E
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L15
r6 = r5
r4 = r7
r3 = r2
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
r4 = r0[r5]
L27:
int r5 = r5 + 1
int r4 = -r4
int r6 = r6 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.submission.HmlDocumentSubmissionActivity.aJ(byte, byte, short, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public /* synthetic */ Fragment M() {
int i = 2 % 2;
int i2 = m + 115;
l = i2 % 128;
int i3 = i2 % 2;
HmlDocumentSubmissionFragment g = g();
if (i3 != 0) {
return g;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public static Intent agD_(Context context, EnumC5550bvF enumC5550bvF) {
C14957gcv.e(enumC5550bvF, "");
Intent putExtra = new Intent(context, (Class<?>) HmlDocumentSubmissionActivity.class).putExtra("HML_SUBMISSTION_TYPE", (Parcelable) enumC5550bvF);
C14957gcv.c(putExtra, "");
return putExtra;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
protected HmlDocumentSubmissionFragment g() {
int i = 2 % 2;
int i2 = m + 53;
l = i2 % 128;
if (i2 % 2 == 0) {
HmlDocumentSubmissionFragment.IeS ieS = HmlDocumentSubmissionFragment.d;
throw null;
}
HmlDocumentSubmissionFragment.IeS ieS2 = HmlDocumentSubmissionFragment.d;
EnumC5550bvF enumC5550bvF = (EnumC5550bvF) getIntent().getParcelableExtra("HML_SUBMISSTION_TYPE");
if (enumC5550bvF == null) {
enumC5550bvF = EnumC5550bvF.SUBMISSION;
}
HmlDocumentSubmissionFragment a = HmlDocumentSubmissionFragment.IeS.a(enumC5550bvF);
int i3 = l + 11;
m = i3 % 128;
int i4 = i3 % 2;
return a;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
EnumC5550bvF enumC5550bvF = (EnumC5550bvF) getIntent().getParcelableExtra("HML_SUBMISSTION_TYPE");
if (enumC5550bvF == null) {
enumC5550bvF = EnumC5550bvF.SUBMISSION;
}
if (IeS.b[enumC5550bvF.ordinal()] == 1) {
int i2 = l + 111;
m = i2 % 128;
if (i2 % 2 == 0) {
String string = getString(R.string.hml_document_re_submission_activity);
C14957gcv.c((Object) string, "");
return string;
}
C14957gcv.c((Object) getString(R.string.hml_document_re_submission_activity), "");
Object obj = null;
obj.hashCode();
throw null;
}
String string2 = getString(R.string.hml_document_submission_activity);
C14957gcv.c((Object) string2, "");
int i3 = l + 17;
m = i3 % 128;
int i4 = i3 % 2;
return string2;
}
private static void aI(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(f7416o ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $10 + 119;
while (true) {
$11 = i3 % 128;
int i4 = i3 % 2;
if (guL.a >= a.length) {
objArr[0] = new String(a, 4, a.length - 4);
return;
}
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(f7416o)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(207 - TextUtils.indexOf((CharSequence) "", '0', 0), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (Color.red(0) + 1706));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aJ(b2, (byte) (b2 | ISO7816.INS_PSO), b2, 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.getKeyRepeatDelay() >> 16), 5 - TextUtils.getOffsetBefore("", 0), (char) ((-1) - MotionEvent.axisFromString("")));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b3, (byte) (b3 | ISO7816.INS_UNBLOCK_CHV), b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = $10 + 65;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 99;
$11 = i3 % 128;
int i4 = i3 % 2;
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 402, 5 - Color.blue(0), (char) (View.MeasureSpec.getSize(0) + 21608));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 238, Color.blue(0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aJ(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 51;
$10 = i6 % 128;
if (i6 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 238, AndroidCharacter.getMirror('0') - '+', (char) View.MeasureSpec.getMode(0));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aJ(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = 19 / 0;
} else {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - Color.alpha(0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (ViewConfiguration.getTouchSlop() >> 8));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 1);
Object[] objArr9 = new Object[1];
aJ(b8, b9, (byte) (b9 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.hml.submission.Hilt_HmlDocumentSubmissionActivity, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = l + 79;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{2846, 57376, 56697, 51870, 42964, 40163, 34877, 25862, 21144, 20405, 9403, 4148, 3393, 64109, 55218, 52421, 47132, 38221}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 60175, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{2834, 62697, 62708, 62683, 62631}, 65519 - (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)), 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) {
int i4 = m + 73;
l = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aI(new char[]{15009, 32718, 15040, 48911, 7055, 64987, 48029, 40076, 13090, 62400, 45449, 35580, 10520, 59885, 42929, 33000, 10020, 57234, 40385, 48851, 7527, 54668, 37853, 46295, 2921, 52145, 35311, 41703, 328, 49577}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{2844, 49783, 39415, 22394, 12014, 58464, 46053, 35157, 16615, 7786, 54769, 41801, 31424, 12359, 4061, 50501, 40128, 27228}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_pin_lock_error_title).substring(0, 4).length() + 51577, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = l + 51;
m = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{20913, 12779, 20864, 44486, 10957, 45991, 43268, 44510, 22638, 48623, 41794, 48113, 16907, 42881, 46394, 45541, 19526, 37302, 36687, 36800, 30307, 39923, 33106, 34260, 24606, 34248, 39733, 37881, 27231, 36830, 60891, 59393, 5286, 63037, 59336, 58905, 7904, 57349, 63912, 64557, 2203, 59977, 62438, 51730, 12987, 54380, 50641, 49233, 15606, 56908, 57273, 56940}, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 1, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{22505, 27850, 22412, 10314, 15695, 61139, 11402, 47707, 24115, 57551, 9884, 44075, 17492, 64172, 12470, 42544, 18975, 52419, 2759, 38987, 28783, 50901, 1245, 37468, 26134, 55531, 7865, 33910, 27730, 54015, 26628, 65493, 4783, 43804, 25104, 61842, 6334, 48422, 31785, 60415, 3728, 46901, 30314, 56720, 13543, 35099, 16389, 55248, 15096, 33636, 23142, 51640, 8349, 38265, 21546, 50169, 55158, 28549, 44429, 13632, 56633, 25034, 42917, 12078, 49931, 31719, 45537, 8559}, View.combineMeasuredStates(0, 0) + 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{54997, 24204, 54964, 30282, 47297, 56527, 29324, 16259, 57176, 53976, 30925, 10745, 50495, 51430, 28343, 9197, 52083, 65159, 21696, 7628, 61700, 62661, 23178, 6096, 59256, 60075, 16623, 510, 60734, 57527, 13906, 31325, 37785, 39253, 15385, 29760, 39297, 36661, 8829, 28197, 36780, 34169, 10297, 22605, 46552, 47887, 7761, 21083, 48023, 45424, 1126, 19505, 41383, 42850, 2686, 18040, 22047, 24002, 62344, 45258, 23565, 21390, 63986, 43769, 16948, 18939, 61411, 42163}, 1 - ExpandableListView.getPackedPositionType(0L), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{28101, 44895, 28077, 41440, 30175, 11600, 42338, 62174, 25690, 8962, 44845, 58541, 32366, 14693, 47439, 61179, 28770, 3855, 33591, 53383, 18960, 1286, 36133, 55959, 23608, 6948, 38672, 52403, 22051, 4407, 57776, 46930, 10457, 26818, 60399, 47451, 8913, 32487, 62935, 41853, 13565, 29878, 65477, 38167, 3740, 19102, 51626, 40709, 144, 16565, 54171, 33080, 6832, 22266, 56709, 35633, 60756, 44039, 9331, 32194, 59204, 41491, 11863, 26600, 63862, 47221, 14425, 27118, 62250, 36370, 612, 21441, 50444, 33806, 3111, 17836, 57129, 39487}, -TextUtils.lastIndexOf("", '0'), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{7517, 45257, 7524, 5864, 11810, 12956, 4646, 43389, 5249}, -((byte) KeyEvent.getModifierMetaStateMask()), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new char[]{17310, 49784, 17403, 26026, 3450, 16482, 24942, 35391, 18966, 20006, 27516, 39959, 20587, 21533, 32084, 38486, 24120, 25194, 18212, 43133, 25631, 26722, 18721, 41530, 29280, 30218, 21339, 46170, 30756, 31768, 9702, 53218, 1757, 1522, 12195, 49578, 3274, 5014, 12749, 56270}, 1 - View.resolveSize(0, 0), 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(TextUtils.indexOf((CharSequence) "", '0') + 488, 5 - View.MeasureSpec.getMode(0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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);
int i8 = l + 31;
m = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.hml.submission.Hilt_HmlDocumentSubmissionActivity, 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 void onResume() {
int i = 2 % 2;
int i2 = m + 125;
l = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new char[]{15009, 32718, 15040, 48911, 7055, 64987, 48029, 40076, 13090, 62400, 45449, 35580, 10520, 59885, 42929, 33000, 10020, 57234, 40385, 48851, 7527, 54668, 37853, 46295, 2921, 52145, 35311, 41703, 328, 49577}, ExpandableListView.getPackedPositionGroup(0L) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{2844, 49783, 39415, 22394, 12014, 58464, 46053, 35157, 16615, 7786, 54769, 41801, 31424, 12359, 4061, 50501, 40128, 27228}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51568, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = l + 59;
m = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 491, 5 - Drawable.resolveOpacity(0, 0), (char) Color.green(0))).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(TextUtils.indexOf("", "", 0) + 487, 4 - ImageFormat.getBitsPerPixel(0), (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = m + 95;
l = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 4 / 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.hml.submission.Hilt_HmlDocumentSubmissionActivity, 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 void onPause() {
int i = 2 % 2;
int i2 = m + 93;
l = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new char[]{15009, 32718, 15040, 48911, 7055, 64987, 48029, 40076, 13090, 62400, 45449, 35580, 10520, 59885, 42929, 33000, 10020, 57234, 40385, 48851, 7527, 54668, 37853, 46295, 2921, 52145, 35311, 41703, 328, 49577}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{2844, 49783, 39415, 22394, 12014, 58464, 46053, 35157, 16615, 7786, 54769, 41801, 31424, 12359, 4061, 50501, 40128, 27228}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 51547, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = m + 53;
l = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", "", 0, 0), 5 - View.MeasureSpec.getMode(0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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((PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, 4 - TextUtils.lastIndexOf("", '0'), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = l + 43;
m = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 2 / 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.hml.submission.Hilt_HmlDocumentSubmissionActivity, 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
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{2846, 57376, 56697, 51870, 42964, 40163, 34877, 25862, 21144, 20405, 9403, 4148, 3393, 64109, 55218, 52421, 47132, 38221}, 60209 - View.resolveSizeAndState(0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{2834, 62697, 62708, 62683, 62631}, 65519 - (ViewConfiguration.getKeyRepeatDelay() >> 16), objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = m + 51;
l = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = l + 123;
m = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getFadingEdgeLength() >> 16), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{20913, 12779, 20864, 44486, 10957, 45991, 43268, 44510, 22638, 48623, 41794, 48113, 16907, 42881, 46394, 45541, 19526, 37302, 36687, 36800, 30307, 39923, 33106, 34260, 24606, 34248, 39733, 37881, 27231, 36830, 60891, 59393, 5286, 63037, 59336, 58905, 7904, 57349, 63912, 64557, 2203, 59977, 62438, 51730, 12987, 54380, 50641, 49233, 15606, 56908, 57273, 56940}, ((Process.getThreadPriority(0) + 20) >> 6) + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{22505, 27850, 22412, 10314, 15695, 61139, 11402, 47707, 24115, 57551, 9884, 44075, 17492, 64172, 12470, 42544, 18975, 52419, 2759, 38987, 28783, 50901, 1245, 37468, 26134, 55531, 7865, 33910, 27730, 54015, 26628, 65493, 4783, 43804, 25104, 61842, 6334, 48422, 31785, 60415, 3728, 46901, 30314, 56720, 13543, 35099, 16389, 55248, 15096, 33636, 23142, 51640, 8349, 38265, 21546, 50169, 55158, 28549, 44429, 13632, 56633, 25034, 42917, 12078, 49931, 31719, 45537, 8559}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{54997, 24204, 54964, 30282, 47297, 56527, 29324, 16259, 57176, 53976, 30925, 10745, 50495, 51430, 28343, 9197, 52083, 65159, 21696, 7628, 61700, 62661, 23178, 6096, 59256, 60075, 16623, 510, 60734, 57527, 13906, 31325, 37785, 39253, 15385, 29760, 39297, 36661, 8829, 28197, 36780, 34169, 10297, 22605, 46552, 47887, 7761, 21083, 48023, 45424, 1126, 19505, 41383, 42850, 2686, 18040, 22047, 24002, 62344, 45258, 23565, 21390, 63986, 43769, 16948, 18939, 61411, 42163}, TextUtils.getTrimmedLength("") + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{28101, 44895, 28077, 41440, 30175, 11600, 42338, 62174, 25690, 8962, 44845, 58541, 32366, 14693, 47439, 61179, 28770, 3855, 33591, 53383, 18960, 1286, 36133, 55959, 23608, 6948, 38672, 52403, 22051, 4407, 57776, 46930, 10457, 26818, 60399, 47451, 8913, 32487, 62935, 41853, 13565, 29878, 65477, 38167, 3740, 19102, 51626, 40709, 144, 16565, 54171, 33080, 6832, 22266, 56709, 35633, 60756, 44039, 9331, 32194, 59204, 41491, 11863, 26600, 63862, 47221, 14425, 27118, 62250, 36370, 612, 21441, 50444, 33806, 3111, 17836, 57129, 39487}, -TextUtils.indexOf((CharSequence) "", '0', 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{7517, 45257, 7524, 5864, 11810, 12956, 4646, 43389, 5249}, 1 - View.MeasureSpec.getSize(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{17310, 49784, 17403, 26026, 3450, 16482, 24942, 35391, 18966, 20006, 27516, 39959, 20587, 21533, 32084, 38486, 24120, 25194, 18212, 43133, 25631, 26722, 18721, 41530, 29280, 30218, 21339, 46170, 30756, 31768, 9702, 53218, 1757, 1522, 12195, 49578, 3274, 5014, 12749, 56270}, 1 - Color.red(0), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void j() {
k = 130687719895341241L;
f7416o = -2272500148986815964L;
}
/* loaded from: classes4.dex */
public final /* synthetic */ class IeS {
public static final int[] b;
static {
int[] iArr = new int[EnumC5550bvF.values().length];
try {
iArr[EnumC5550bvF.RESUBMISSION.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
b = iArr;
}
}
@Override // com.scb.phone.view.activity.hml.submission.Hilt_HmlDocumentSubmissionActivity, 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 void onStart() {
int i = 2 % 2;
int i2 = m + 79;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 88 / 0;
}
int i5 = m + 37;
l = i5 % 128;
int i6 = i5 % 2;
}
static {
l = 1;
j();
b = new LWm((byte) 0);
int i = m + 47;
l = i % 128;
int i2 = i % 2;
}
}