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

607 lines
42 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.graphics.drawable.Drawable;
import android.media.AudioTrack;
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.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.submission.HmlCropDocumentActivity;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.C4593bdB;
import o.xzZ;
import o.zUI;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class HmlCaptureDocumentActivity extends Hilt_HmlCaptureDocumentActivity {
private static long k;
private static int l;
public static final LWm m;
private static int s;
private static final byte[] $$E = {38, -26, Ascii.ESC, PSSSigner.TRAILER_IMPLICIT};
private static final int $$F = 244;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7259o = 0;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Type inference failed for: r6v2, types: [int] */
/* JADX WARN: Type inference failed for: r6v3 */
/* JADX WARN: Type inference failed for: r6v4, types: [int] */
/* JADX WARN: Type inference failed for: r6v5, types: [int] */
/* JADX WARN: Type inference failed for: r7v1, types: [int] */
/* JADX WARN: Type inference failed for: r7v4, types: [int] */
/* 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(short r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r7 = 78 - r7
int r5 = r5 * 4
int r0 = r5 + 1
byte[] r1 = com.scb.phone.view.activity.hml.HmlCaptureDocumentActivity.$$E
int r6 = r6 * 2
int r6 = 4 - r6
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r4 = r2
r7 = r6
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r5) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
r3 = r1[r6]
L27:
int r6 = r6 + 1
int r7 = r7 + r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlCaptureDocumentActivity.aJ(short, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
HmlCaptureDocumentActivity hmlCaptureDocumentActivity = (HmlCaptureDocumentActivity) objArr[0];
Bundle bundle = (Bundle) objArr[1];
int i4 = 2 % 2;
Object[] objArr2 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_app_outcome_upselling_custom_placeholder).substring(0, 7).length() + 11, new char[]{16, 16, 65534, 11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15, '\f', 0, 2}, 181 - Process.getGidForName(""), false, 2 - (Process.myTid() >> 22), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_speedy_loan_top_up).substring(23, 24).length() + 4, new char[]{17, 65517, 1, 65532, 5}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 76, false, View.getDefaultSize(0, 0) + 4, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = hmlCaptureDocumentActivity.getBaseContext();
if (baseContext == null) {
int i5 = s + 107;
f7259o = i5 % 128;
int i6 = i5 % 2;
Object[] objArr4 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_laser_id_title).substring(0, 15).length() + 11, new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_progress_loan_info).substring(92, 93).codePointAt(0) + CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, false, ImageFormat.getBitsPerPixel(0) + 20, objArr4);
Class<?> cls2 = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.noti_bnpl_description).substring(0, 59).codePointAt(37) + 92, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_select_account_scbs_description).substring(74, 75).length(), objArr5);
baseContext = (Context) cls2.getMethod((String) objArr5[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = s + 65;
f7259o = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), TextUtils.lastIndexOf("", '0') + 6, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr6 = new Object[1];
aI(new char[]{47454, 60689, 4553, 17878, 59512, 7265, 16575, 62705, 6981, 20423, 62343, 9773, 18992, 65208, 8866, 18704, 64925, 8581, 21631, 63548, 11496, 20646, 34632, 11225, 24529, 33400, 13926, 23273, 36592, 13587, 22917, 36233, 12414, 25651, 35045, 15525, 25421, 38791, 15323, 28178, 37429, 50922, 27308, 37145, 50560, 27010, 39956, 49212}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 21543, objArr6);
String str = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, new char[]{65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_sub_title).substring(7, 8).codePointAt(0) + 119, false, 23 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr7);
String str2 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{47374, 15732, 45337, 13621, 43394, 11763, 41432, 9727, 38981, 7277, 36866, 5259, 34985, 3228, 32949, 1882, 64318, 32606, 62335, 30662, 60386, 28544, 57946, 26232, 55876, 24124, 53895, 22203, 51843, 20142, 50508, 47414, 15675, 45454, 13736, 43411, 11702, 41042, 9324, 38923, 7202, 37060, 5348, 35005, 3853, 33579, 1811, 64359, 32669, 62393, 30603, 60334, 28229, 57961, 26173, 55948, 24311, 53957, 22247, 52511, 16750, 50432, 47478, 15813}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_invalid_divisible).substring(33, 34).length() + 33826, objArr8);
String str3 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{47367, 65188, 13925, 28194, 42976, 57326, 5946, 20345, 34020, 15537, 29816, 44087, 58872, 7603, 21872, 36147, 49914, 31410, 45666, 59947, 9186, 23464, 37735, 52007, 233, 47267, 61479, 10302, 25059, 39358, 53608, 2351, 20219, 34451, 15952, 30209, 44999, 59354, 8018, 22275, 36054, 50314, 31837, 46089, 60874, 9609, 23900, 38156, 51930, 718, 47682, 61965, 11214, 25547, 39748, 54038, 2254, 16583, 63552, 12292, 27084, 41353, 55646, 4378, 22144, 36454, 50787, 32701, 47030, 61282, 10032, 23800, 38051, 52331}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_heading3).substring(0, 3).codePointAt(0) + 18318, objArr9);
String str4 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(5 - View.resolveSizeAndState(0, 0, 0), new char[]{65532, 6, 65532, 7, 65534}, Color.green(0) + 133, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mf_onboarding_investment_experience_1_3_years).substring(2, 4).length() + 2, objArr10);
String str5 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, new char[]{65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_prompt_pay_require_pin).substring(12, 13).codePointAt(0) + 120, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 6, objArr11);
Object[] objArr12 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr11[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) Drawable.resolveOpacity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr12);
hmlCaptureDocumentActivity = hmlCaptureDocumentActivity;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
super.onCreate(bundle);
return null;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public static Intent afB_(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<?>) HmlCaptureDocumentActivity.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 */ LWm(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;
int i2 = f7259o + 67;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
C14957gcv.e(str3, "");
C14957gcv.e(str4, "");
HmlCropDocumentActivity.IeS ieS = HmlCropDocumentActivity.l;
HmlCaptureDocumentActivity hmlCaptureDocumentActivity = this;
String stringExtra = getIntent().getStringExtra("FLOW_TAG");
if (stringExtra == null) {
int i4 = s + 33;
f7259o = i4 % 128;
if (i4 % 2 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
str5 = "";
} else {
str5 = stringExtra;
}
startActivity(HmlCropDocumentActivity.IeS.agC_(hmlCaptureDocumentActivity, str2, str, str3, str4, str5, false));
}
private static void aI(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 + 43;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 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.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 401, ImageFormat.getBitsPerPixel(0) + 6, (char) (21607 - TextUtils.lastIndexOf("", '0', 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((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(238 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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], 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;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(403 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (21609 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))));
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], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(239 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (-16777211) - Color.rgb(0, 0, 0), (char) Drawable.resolveOpacity(0, 0));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
int i6 = $11 + 99;
$10 = i6 % 128;
int i7 = i6 % 2;
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 47;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(239 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.alpha(0));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aJ(b9, b10, b10, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr12 = {c4593bdB, c4593bdB};
Object obj6 = xzZ.y.get(-1143917229);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 238, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) ExpandableListView.getPackedPositionType(0L));
byte b11 = (byte) 0;
byte b12 = b11;
Object[] objArr13 = new Object[1];
aJ(b11, b12, b12, objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj6);
}
((Method) obj6).invoke(null, objArr12);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2);
}
private static void aG(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
int i5 = $10 + 19;
$11 = i5 % 128;
int i6 = i5 % 2;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 7, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 | 9), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - TextUtils.indexOf("", "", 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 + 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i8 = $11 + 67;
$10 = i8 % 128;
int i9 = i8 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i10 = $11 + 109;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777558, 5 - (Process.myPid() >> 22), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 + 2), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:30:0x0023, code lost:
r13 = (java.lang.Object[]) null;
r15 = new java.lang.Object[1];
aG(26 - android.widget.ExpandableListView.getPackedPositionType(0), new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, 181 - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0, 0), false, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 15, r15);
r8 = java.lang.Class.forName((java.lang.String) r15[0]);
r1 = new java.lang.Object[1];
aG(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11}, 189 - android.text.TextUtils.getCapsMode("", 0, 0), true, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_installment).substring(30, 31).codePointAt(0) - 31, r1);
r1 = (android.content.Context) r8.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.hml.Hilt_HmlCaptureDocumentActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onResume() {
/*
Method dump skipped, instructions count: 458
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlCaptureDocumentActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlCaptureDocumentActivity, 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 = f7259o + 67;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aG(KeyEvent.getDeadChar(0, 0) + 26, new char[]{65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1}, (Process.myTid() >> 22) + CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 6, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_activation_success_remark).substring(32, 34).codePointAt(0) - 97, new char[]{65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b', 11}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_amount_hint).substring(0, 11).codePointAt(6) + CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 45, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 69;
f7259o = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getFadingEdgeLength() >> 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(486 - MotionEvent.axisFromString(""), TextUtils.indexOf("", "", 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = s + 13;
f7259o = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlCaptureDocumentActivity, 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) {
int i = 2 % 2;
int i2 = f7259o + 93;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(TextUtils.lastIndexOf("", '0', 0) + 19, new char[]{16, 16, 65534, 11, 1, 15, '\f', 6, 1, 65483, '\f', 16, 65483, 65517, 15, '\f', 0, 2}, Gravity.getAbsoluteGravity(0, 0) + CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, false, (ViewConfiguration.getJumpTapTimeout() >> 16) + 2, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(TextUtils.getOffsetBefore("", 0) + 5, new char[]{17, 65517, 1, 65532, 5}, View.resolveSize(0, 0) + CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, false, 4 - (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)), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = f7259o + 105;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), View.combineMeasuredStates(0, 0) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{47454, 60689, 4553, 17878, 59512, 7265, 16575, 62705, 6981, 20423, 62343, 9773, 18992, 65208, 8866, 18704, 64925, 8581, 21631, 63548, 11496, 20646, 34632, 11225, 24529, 33400, 13926, 23273, 36592, 13587, 22917, 36233, 12414, 25651, 35045, 15525, 25421, 38791, 15323, 28178, 37429, 50922, 27308, 37145, 50560, 27010, 39956, 49212}, 21577 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(64 - (KeyEvent.getMaxKeyCode() >> 16), new char[]{65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, false, 24 - Color.green(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{47374, 15732, 45337, 13621, 43394, 11763, 41432, 9727, 38981, 7277, 36866, 5259, 34985, 3228, 32949, 1882, 64318, 32606, 62335, 30662, 60386, 28544, 57946, 26232, 55876, 24124, 53895, 22203, 51843, 20142, 50508, 47414, 15675, 45454, 13736, 43411, 11702, 41042, 9324, 38923, 7202, 37060, 5348, 35005, 3853, 33579, 1811, 64359, 32669, 62393, 30603, 60334, 28229, 57961, 26173, 55948, 24311, 53957, 22247, 52511, 16750, 50432, 47478, 15813}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 33826, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{47367, 65188, 13925, 28194, 42976, 57326, 5946, 20345, 34020, 15537, 29816, 44087, 58872, 7603, 21872, 36147, 49914, 31410, 45666, 59947, 9186, 23464, 37735, 52007, 233, 47267, 61479, 10302, 25059, 39358, 53608, 2351, 20219, 34451, 15952, 30209, 44999, 59354, 8018, 22275, 36054, 50314, 31837, 46089, 60874, 9609, 23900, 38156, 51930, 718, 47682, 61965, 11214, 25547, 39748, 54038, 2254, 16583, 63552, 12292, 27084, 41353, 55646, 4378, 22144, 36454, 50787, 32701, 47030, 61282, 10032, 23800, 38051, 52331}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 18366, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(5 - ((Process.getThreadPriority(0) + 20) >> 6), new char[]{65532, 6, 65532, 7, 65534}, ImageFormat.getBitsPerPixel(0) + 134, true, 4 - Color.argb(0, 0, 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(35 - ((byte) KeyEvent.getModifierMetaStateMask()), new char[]{65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515}, MotionEvent.axisFromString("") + 153, false, 28 - TextUtils.getCapsMode("", 0, 0), 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(486 - TextUtils.indexOf((CharSequence) "", '0'), TextUtils.indexOf("", "", 0) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i6 = s + 61;
f7259o = i6 % 128;
int i7 = i6 % 2;
}
static void o() {
l = 2015661684;
k = -6546744487911576919L;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlCaptureDocumentActivity, 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 = 2 % 2;
int i2 = f7259o + 89;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 65 / 0;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlCaptureDocumentActivity, 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) {
d(new Object[]{this, bundle}, 1348953056, -1348953056, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1929580891);
}
static {
s = 1;
o();
m = new LWm((byte) 0);
int i = f7259o + 87;
s = i % 128;
int i2 = i % 2;
}
}