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

662 lines
38 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.graphics.PointF;
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.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.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.submission.HmlNTBCropDocumentActivity;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.dQY;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class HmlNTBCaptureDocumentActivity extends Hilt_HmlNTBCaptureDocumentActivity {
public static final IeS k;
private static char l;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f7293o;
private static long p;
private static char r;
private static int s;
private static char[] t;
private static final byte[] $$E = {71, -71, -97, 59};
private static final int $$F = CipherSuite.TLS_DHE_RSA_WITH_SEED_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static void aJ(int i, int i2, short s2, Object[] objArr) {
int i3 = 4 - (i * 3);
int i4 = i2 * 2;
int i5 = s2 + 66;
byte[] bArr = $$E;
byte[] bArr2 = new byte[1 - i4];
int i6 = 0 - i4;
int i7 = -1;
if (bArr == null) {
i5 = i6 + i5;
i3++;
}
while (true) {
i7++;
bArr2[i7] = (byte) i5;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i5 += bArr[i3];
i3++;
}
}
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public static Intent afX_(Context context, String str, String str2, String str3, String str4) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
Intent intent = new Intent(context, (Class<?>) HmlNTBCaptureDocumentActivity.class);
intent.putExtra("APPLICATION_ID_TAG", str);
intent.putExtra("DOCUMENT_TYPE_TAG", str2);
intent.putExtra("PRODUCT_TYPE_TAG", str3);
intent.putExtra("FLOW_TAG", str4);
return intent;
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, o.InterfaceC9018dbm
public final void a(String str, String str2, String str3, String str4) {
String str5;
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
HmlNTBCropDocumentActivity.HBt hBt = HmlNTBCropDocumentActivity.l;
HmlNTBCaptureDocumentActivity hmlNTBCaptureDocumentActivity = this;
String stringExtra = getIntent().getStringExtra("FLOW_TAG");
if (stringExtra == null) {
int i2 = s;
int i3 = i2 + 123;
q = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 81;
q = i5 % 128;
int i6 = i5 % 2;
str5 = "";
} else {
str5 = stringExtra;
}
startActivityForResult(HmlNTBCropDocumentActivity.HBt.agI_(hmlNTBCaptureDocumentActivity, str2, str, str3, str4, str5, false), 1234);
finish();
}
@Override // com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity
public final Intent afW_() {
int i = 2 % 2;
Intent intent = new Intent(this, (Class<?>) HmlNTBDocumentListActivity.class);
int i2 = q + 113;
s = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 61 / 0;
}
return intent;
}
private static void aI(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(t[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(309 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - View.resolveSize(0, 0), (char) (32797 - ExpandableListView.getPackedPositionGroup(0L)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 | 32), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(p), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - TextUtils.getTrimmedLength(""), (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 | 33), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i4] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(408 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), TextUtils.lastIndexOf("", '0', 0) + 6, (char) (TextUtils.indexOf("", "", 0) + 29234));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 | 40), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i5 = $11 + 115;
$10 = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 3 % 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 33;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(407 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (29234 - TextUtils.getOffsetAfter("", 0)));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, (byte) (b8 | 40), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i6 = $11 + 19;
$10 = i6 % 128;
if (i6 % i3 != 0) {
cArr3[1] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i5;
}
int i7 = $11 + 65;
$10 = i7 % 128;
int i8 = i7 % i3;
int i9 = 58224;
while (i2 < 16) {
int i10 = $11 + 77;
$10 = i10 % 128;
int i11 = i10 % i3;
char c = cArr3[1];
char c2 = cArr3[i5];
int i12 = (c2 + i9) ^ ((c2 << 4) + ((char) (l ^ 41718355337583039L)));
int i13 = c2 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(r);
objArr2[i3] = Integer.valueOf(i13);
objArr2[1] = Integer.valueOf(i12);
objArr2[i5] = Integer.valueOf(c);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.normalizeMetaState(i5) + 412, TextUtils.indexOf((CharSequence) "", '0', i5) + 6, (char) (MotionEvent.axisFromString("") + 1));
byte b = (byte) i5;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f7293o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (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)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i9 -= 40503;
i2++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 99, KeyEvent.getDeadChar(0, 0) + 5, (char) View.getDefaultSize(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i14 = $10 + 47;
$11 = i14 % 128;
int i15 = i14 % 2;
i3 = 2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBCaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.Hilt_CaptureDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{34319, 17998, 33388, 50079, 17841, 19719, 55750, 2852, 25715, 54348, 34060, 38278, 58466, 61142, 51441, 3637, 35637, 14586}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(Color.green(0), Color.green(0) + 5, (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 37878), 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 i2 = s + 105;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aG(new char[]{34319, 17998, 33388, 50079, 17841, 19719, 55750, 2852, 55100, 38431, 26362, 38011, 28197, 56893, 34851, 50732, 35597, 57967, 34780, 34695, 57501, 55567, 62088, 50405, 22201, 16867}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{20757, 43986, 4515, 18157, 21720, 30006, 23627, 16762, 46610, 29651, 686, 45162, 35158, 7712, 34851, 50732, 64818, 29593}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_innovestx_only_check_box_title).substring(73, 74).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = q + 1;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = s + 107;
q = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = s + 47;
q = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new char[]{45668, 33409, 41844, 15840, 53909, 21480, 35242, 35107, 5102, 37431, 11941, 3350, 30938, 4279, 11802, 50772, 9535, 41919, 45015, 8779, 27693, 64073, 20958, 21229, 1498, 34056, 43041, 22691, 17284, 10503, 43832, 36774, 41116, 18717, 61119, 57279, 42824, 37363, 17146, 47016, 34979, 63598, 12758, 27686, 42468, 12010, 5700, 41554}, 48 - TextUtils.getOffsetBefore("", 0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{14149, 23304, 30486, 20613, 63858, 14735, 59424, 60073, 53412, 12044, 51474, 64318, 51474, 64318, 15026, 19557, 292, 36280, 29714, 30371, 59691, 53843, 32554, 61802, 29646, 8896, 33462, 11628, 24706, 1829, 64901, 39261, 28231, 31846, 15860, 3157, 63373, 56840, 17146, 47016, 63858, 14735, 34517, 40169, 44687, 29127, 63858, 14735, 46664, 22737, 40223, 33219, 42468, 12010, 17295, 12057, 39181, 19145, 65136, 30184, 63858, 14735, 32344, 4561}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.open_now_gift_msg).substring(4, 5).codePointAt(0) - 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 18, (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 12783), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{55294, 56054, 62469, 51367, 7255, 14602, 55583, 37706, 37729, 20570, 19120, 46018, 37782, 54578, 18029, 28686, 10049, 55791, 5112, 49493, 38957, 51356, 27386, 17323, 58595, 60211, 44537, 18062, 13876, 58347, 49074, 62680, 30592, 60662, 26384, 8424, 62305, 4990, 40830, 29566, 63791, 41263, 25345, 57551, 54139, 51242, 63791, 41263, 39147, 24175, 37782, 54578, 56849, 9143, 55100, 38431, 40892, 4687, 27109, 43168, 10255, 18254, 27210, 52668, 17959, 27592, 18840, 4601, 59913, 29992, 21720, 30006, 56477, 15181}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new char[]{55474, 38161, 42444, 53196, 27304, 34230}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.preregister_not_me_text).substring(60, 61).codePointAt(0) - 27, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{49074, 62680, 34979, 63598, 9635, 55771, 5162, 28019, 2974, 38858, 12764, 5496, 2748, 29046, 53789, 26238, 15514, 17681, 63172, 24784, 56487, 51794, 34882, 51590, 1923, 43307, 11941, 3350, 16278, 41174, 43041, 22691, 54574, 16520, 46511, 44404}, (Process.myTid() >> 22) + 36, 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(ImageFormat.getBitsPerPixel(0) + 488, 5 - TextUtils.getCapsMode("", 0, 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 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, objArr11);
int i10 = s + 119;
q = i10 % 128;
int i11 = i10 % 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.Hilt_HmlNTBCaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.Hilt_CaptureDocumentActivity, 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 = s + 19;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{34319, 17998, 33388, 50079, 17841, 19719, 55750, 2852, 55100, 38431, 26362, 38011, 28197, 56893, 34851, 50732, 35597, 57967, 34780, 34695, 57501, 55567, 62088, 50405, 22201, 16867}, 26 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{20757, 43986, 4515, 18157, 21720, 30006, 23627, 16762, 46610, 29651, 686, 45162, 35158, 7712, 34851, 50732, 64818, 29593}, 18 - TextUtils.indexOf("", "", 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 101;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 5;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 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(487 - KeyEvent.normalizeMetaState(0), (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) Color.argb(0, 0, 0, 0))).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_HmlNTBCaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.Hilt_CaptureDocumentActivity, 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 = q + 75;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(new char[]{34319, 17998, 33388, 50079, 17841, 19719, 55750, 2852, 55100, 38431, 26362, 38011, 28197, 56893, 34851, 50732, 35597, 57967, 34780, 34695, 57501, 55567, 62088, 50405, 22201, 16867}, 26 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{20757, 43986, 4515, 18157, 21720, 30006, 23627, 16762, 46610, 29651, 686, 45162, 35158, 7712, 34851, 50732, 64818, 29593}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 55;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 93;
q = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) KeyEvent.keyCodeFromString(""))).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(487 - KeyEvent.normalizeMetaState(0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 99 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(Color.alpha(0) + 492, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) TextUtils.indexOf("", "", 0))).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(486 - Process.getGidForName(""), TextUtils.indexOf("", "", 0) + 5, (char) KeyEvent.normalizeMetaState(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();
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBCaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.Hilt_CaptureDocumentActivity, 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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{34319, 17998, 33388, 50079, 17841, 19719, 55750, 2852, 25715, 54348, 34060, 38278, 58466, 61142, 51441, 3637, 35637, 14586}, 17 - TextUtils.indexOf((CharSequence) "", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(ViewConfiguration.getMaximumDrawingCacheSize() >> 24, 5 - View.getDefaultSize(0, 0), (char) (37878 - KeyEvent.getDeadChar(0, 0)), 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 = s + 85;
q = i2 % 128;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 83;
q = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = s + 89;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new char[]{45668, 33409, 41844, 15840, 53909, 21480, 35242, 35107, 5102, 37431, 11941, 3350, 30938, 4279, 11802, 50772, 9535, 41919, 45015, 8779, 27693, 64073, 20958, 21229, 1498, 34056, 43041, 22691, 17284, 10503, 43832, 36774, 41116, 18717, 61119, 57279, 42824, 37363, 17146, 47016, 34979, 63598, 12758, 27686, 42468, 12010, 5700, 41554}, Color.red(0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{14149, 23304, 30486, 20613, 63858, 14735, 59424, 60073, 53412, 12044, 51474, 64318, 51474, 64318, 15026, 19557, 292, 36280, 29714, 30371, 59691, 53843, 32554, 61802, 29646, 8896, 33462, 11628, 24706, 1829, 64901, 39261, 28231, 31846, 15860, 3157, 63373, 56840, 17146, 47016, 63858, 14735, 34517, 40169, 44687, 29127, 63858, 14735, 46664, 22737, 40223, 33219, 42468, 12010, 17295, 12057, 39181, 19145, 65136, 30184, 63858, 14735, 32344, 4561}, TextUtils.getCapsMode("", 0, 0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (ViewConfiguration.getLongPressTimeout() >> 16) + 64, (char) (12783 - (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))), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{55294, 56054, 62469, 51367, 7255, 14602, 55583, 37706, 37729, 20570, 19120, 46018, 37782, 54578, 18029, 28686, 10049, 55791, 5112, 49493, 38957, 51356, 27386, 17323, 58595, 60211, 44537, 18062, 13876, 58347, 49074, 62680, 30592, 60662, 26384, 8424, 62305, 4990, 40830, 29566, 63791, 41263, 25345, 57551, 54139, 51242, 63791, 41263, 39147, 24175, 37782, 54578, 56849, 9143, 55100, 38431, 40892, 4687, 27109, 43168, 10255, 18254, 27210, 52668, 17959, 27592, 18840, 4601, 59913, 29992, 21720, 30006, 56477, 15181}, 73 - ImageFormat.getBitsPerPixel(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new char[]{55474, 38161, 42444, 53196, 27304, 34230}, 5 - Color.green(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{49074, 62680, 34979, 63598, 9635, 55771, 5162, 28019, 2974, 38858, 12764, 5496, 2748, 29046, 53789, 26238, 15514, 17681, 63172, 24784, 56487, 51794, 34882, 51590, 1923, 43307, 11941, 3350, 16278, 41174, 43041, 22691, 54574, 16520, 46511, 44404}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 36, 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(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.MeasureSpec.makeMeasureSpec(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, objArr9);
int i7 = s + 85;
q = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
HmlNTBCaptureDocumentActivity hmlNTBCaptureDocumentActivity = (HmlNTBCaptureDocumentActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 53;
s = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 == 0) {
obj.hashCode();
throw null;
}
int i4 = s + 95;
q = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
static void n() {
m = (char) 27353;
f7293o = (char) 56061;
l = (char) 55879;
r = (char) 39725;
t = new char[]{7241, 38075, 3517, 34559, 16344, 48732, 14051, 44993, 9404, 40388, 4720, 35644, 18, 63807, 28178, 59122, 24506, 54423, 19879, 49817, 47999, 12348, 43289, 7799, 38687, 4084, 34003, 32206, 62117, 27598, 57459, 22791, 52762, 18221, 15365, 46320, 11651, 41673, 7161, 37072, 2426, 65104, 30513, 60456, 25862, 56824, 21211, 52148, 16556, 14803, 44592, 10079, 40034, 5503, 35422, 739, 64471, 28851, 59802, 24201, 55089, 19549, 50538, 47687, 13150, 44000, 8395, 39402, 3728};
p = -2531993006697347276L;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlNTBCaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity, com.scb.phone.view.activity.additionaldocument.Hilt_CaptureDocumentActivity, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1028433212;
c(new Object[]{this});
}
@Override // com.scb.phone.view.activity.additionaldocument.CaptureDocumentActivity
public final long l() {
int i = 2 % 2;
int i2 = q + 59;
int i3 = i2 % 128;
s = i3;
int i4 = i2 % 2;
int i5 = i3 + 47;
q = i5 % 128;
int i6 = i5 % 2;
return -1L;
}
static {
s = 1;
n();
k = new IeS((byte) 0);
int i = q + 101;
s = i % 128;
int i2 = i % 2;
}
}