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

569 lines
44 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.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.telephony.cdma.CdmaCellLocation;
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 com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.IRS;
import o.InterfaceC17278vUG;
import o.InterfaceC8597dQE;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public abstract class Hilt_HmlNTBVerificationMethodsActivity extends NtbOpenAccountLandingActivity {
private static short[] r;
private boolean b = false;
private static final byte[] $$g = {94, -37, CVCAFile.CAR_TAG, -43};
private static final int $$h = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int s = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7233o = -217440358;
private static int m = 1406017092;
private static int k = -2111120111;
private static byte[] l = {-44, -105, -107, -111, ISOFileInfo.FILE_IDENTIFIER, -104, 113, 113, -34, -109, 84, -87, -98, -103, -104, -107, ISOFileInfo.ENV_TEMP_EF, 104, ISOFileInfo.A1, -39, ISO7816.INS_DECREASE, -8, 8, ISO7816.INS_UPDATE_RECORD, -84, -19, -4, -41, -59, 4, -86, -44, -4, ISO7816.INS_WRITE_RECORD, -6, -34, -113, ISO7816.INS_UPDATE_RECORD, 35, -87, ISO7816.INS_WRITE_BINARY, PSSSigner.TRAILER_IMPLICIT, Ascii.ETB, ISO7816.INS_DELETE_FILE, -25, ISO7816.INS_APPEND_RECORD, -45, -5, ISO7816.INS_WRITE_RECORD, -44, 93, ISO7816.INS_REHABILITATE_CHV, 43, 73, 92, 80, 83, 82, 94, 109, 3, ISO7816.INS_REHABILITATE_CHV, 71, 41, 94, 83, 72, ISO7816.INS_GET_DATA, ISOFileInfo.A1, ISOFileInfo.FCI_EXT, -33, -122, -12, ISOFileInfo.FCI_BYTE, 106, ISO7816.INS_LOAD_KEY_FILE, 104, -9, -15, -65, -13, -107, 108, 104, -89, ISOFileInfo.ENV_TEMP_EF, -34, -122, ISO7816.INS_PUT_DATA, ISOFileInfo.FCI_EXT, ISO7816.INS_LOAD_KEY_FILE, ISOFileInfo.FCI_EXT, ISO7816.INS_WRITE_BINARY, ISOFileInfo.FCI_EXT, 107, -3, 110, -15, -37, -126, ISOFileInfo.FCI_BYTE, -37, ISOFileInfo.DATA_BYTES2, ISO7816.INS_PUT_DATA, ISOFileInfo.DATA_BYTES2, -13, -39, 107, -3, -107, -72, -37, -122, -9, 110, -20, 77, 84, 87, 125, 63, 4, 67, -126, Ascii.NAK, ISOFileInfo.DATA_BYTES2, 47, 92, 76, 71, 43, 0, -108, 71, 93, Ascii.CAN, 104, 76, 82, Ascii.ESC, -105, 89, 63, 114, ISO7816.INS_PSO, 76, 93, 88, 63, 114, 92, 7, Byte.MIN_VALUE, 47, 56, 76, 125, 57, CVCAFile.CAR_TAG, 89, 80, 90, Ascii.DC4, 105, 67, 83, 77, ISO7816.INS_REHABILITATE_CHV, 81, 70, 84, 95, 83, 70, 46, 76, 82, ISO7816.INS_REHABILITATE_CHV, 82, 70, ISO7816.INS_REHABILITATE_CHV, -22, 46, 91, -107, 41, CVCAFile.CAR_TAG, 46, 82, ISOFileInfo.A1, ISO7816.INS_DELETE_FILE, 72, -4, 117, -58, -17, -89, -14, ISOFileInfo.A0, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.A1, 17, -119, 16, ISO7816.INS_READ_BINARY, ISO7816.INS_APPEND_RECORD, -2, -75, ISOFileInfo.A1, -4, -14, -17, -89, -13, ISOFileInfo.A0, ISOFileInfo.A1, -8, ISO7816.INS_READ_BINARY_STAMPED, -90, -18, ISOFileInfo.A5, ISO7816.INS_GET_DATA, -90, -89, -92, ISOFileInfo.CHANNEL_SECURITY, -29, -3, -126, -89};
private static char[] p = {49105, 49109, 49024, 49106, 49026, 49111, 49029, 49028, 49034, 49110, 49104, 49027, 49035, 49030, 49031, 49025};
private static char t = 35373;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002d). 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 az(int r7, short r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r0 = com.scb.phone.view.activity.hml.Hilt_HmlNTBVerificationMethodsActivity.$$g
int r8 = r8 + 108
int r9 = r9 * 3
int r9 = r9 + 1
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L2d
L15:
r3 = r2
L16:
r6 = r8
r8 = r7
r7 = r6
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r6
L2d:
int r7 = r7 + 1
int r8 = r8 + r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.Hilt_HmlNTBVerificationMethodsActivity.az(int, short, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_HmlNTBVerificationMethodsActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.hml.Hilt_HmlNTBVerificationMethodsActivity.3
private Hilt_HmlNTBVerificationMethodsActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.g();
}
});
}
@Override // o.AbstractActivityC11368edy
public final void g() {
int i = 2 % 2;
if (!this.b) {
this.b = true;
((InterfaceC8597dQE) y_()).a((HmlNTBVerificationMethodsActivity) this);
int i2 = s + 23;
q = i2 % 128;
int i3 = i2 % 2;
}
int i4 = q + 33;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity, o.AbstractActivityC11368edy, 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;
Object obj = null;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.qr_expired_dialog_desc).substring(13, 14).codePointAt(0) + 85), 1597767249 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_touchpoints_verify_at_scb_easy_id).substring(15, 16).codePointAt(0), (-82) - View.MeasureSpec.getSize(0), 773537116 + ((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).length(), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.app_account_deletion_time_out_message).substring(100, 101).length() - 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 147), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_review_confirmation_attention_message).substring(85, 86).length() + 1597767298, MotionEvent.axisFromString("") - 81, 773537128 - TextUtils.lastIndexOf("", '0', 0, 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_mask_on_sample).substring(9, 12).length() - 99), 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 + 27;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.event_exchange_rate).substring(25, 26).codePointAt(0) - 121), 1597767291 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_result_back).substring(0, 12).codePointAt(10) - 3715, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_fold).substring(0, 2).codePointAt(0) + 773528891, (byte) (99 - (ViewConfiguration.getEdgeSlop() >> 16)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20), 1597767329 - TextUtils.lastIndexOf("", '0', 0, 0), (-82) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 773537085, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 140), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 57;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scan_passport_title).substring(27, 28).length() - 50), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_open_scbs_remark_1).substring(40, 41).length() + 1597767347, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_one_point).substring(0, 5).length() - 87, ((byte) KeyEvent.getModifierMetaStateMask()) + 773537070, (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 76), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'\b', 1, 5, '\n', 4, 2, '\f', '\n', '\r', 1, 14, 7, 14, 7, 4, 5, '\n', 2, 7, '\f', 14, '\n', 2, 15, 6, '\n', '\b', 11, '\f', 11, '\b', 15, 13852, 13852, 15, 1, 14, '\r', 13927, 13927, 4, 2, 2, 7, '\f', 5, 4, 2, 4, '\r', 3, 5, '\b', 14, '\f', 1, 14, '\b', '\b', 0, 4, 2, 1, 11}, (byte) (KeyEvent.normalizeMetaState(0) + 111), 65 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{0, 15, '\n', 3, 0, 3, 13939, 13939, '\f', 11, 1, '\n', 2, '\f', '\b', 15, 0, 1, 3, '\t', 7, '\b', 11, 3, '\b', 14, 5, '\r', 14, 4, '\t', 4, '\f', 2, 1, 15, 14, '\f', 13855, 13855, 15, '\t', 14, 1, 2, '\t', 5, '\n', 1, '\b', '\f', '\r', 4, '\n', '\t', 3, 15, 7, 2, 0, 14, '\r', 11, 6}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 82), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.promptpay_terms_body).substring(9, 10).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_debugging_message).substring(27, 28).length() + 53), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1597767362, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_number_of_month_value).substring(0, 5).codePointAt(2) - 118, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_account_inbound_error_description).substring(57, 58).codePointAt(0) + 773537027, (byte) (161 - AndroidCharacter.getMirror('0')), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pay_with_hybrid_the_maximum_number).substring(38, 39).codePointAt(0) - 69), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_registration_number_about_subtitle).substring(34, 35).length() + 1597767469, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).length() - 83, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_direct_debit_description_normal).substring(42, 43).length() + 773537076, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 84), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((short) (TextUtils.indexOf("", "", 0) + 50), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_scb_customer_tile).substring(16, 20).length() + 1597767471, (-82) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 773537122, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 10), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 488, Process.getGidForName("") + 6, (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, objArr11);
int i6 = s + 43;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i8 = q + 111;
s = i8 % 128;
if (i8 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity, o.AbstractActivityC11368edy, 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 = q + 1;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 53;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax((short) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 90), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1597767270, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).codePointAt(282) - 114, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_sof_header).substring(35, 37).codePointAt(0) + 773537085, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 100), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_trok_format).substring(4, 10).length() + 48), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_enable_text).substring(0, 5).length() + 1597767325, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 180, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 773537085, (byte) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 127), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 492, View.getDefaultSize(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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((CharSequence) "", '0', 0, 0) + 488, 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = q + 103;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity, o.AbstractActivityC11368edy, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i2 = q + 63;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_landing_head_description).substring(51, 52).length() - 90), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1597767305, (ViewConfiguration.getKeyRepeatTimeout() >> 16) - 82, 773537117 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 86), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_detailof3).substring(29, 30).length() + 53), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1597767296, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 193, TextUtils.lastIndexOf("", '0', 0, 0) + 773537120, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 161), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 71;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), 5 - ExpandableListView.getPackedPositionType(0L), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - View.resolveSize(0, 0), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Removed duplicated region for block: B:14:0x01da */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 757
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.Hilt_HmlNTBVerificationMethodsActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity, o.AbstractActivityC11368edy, 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;
int i2 = q + 43;
s = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (119 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 1597767281, Color.red(0) - 82, TextUtils.indexOf("", "", 0) + 773537117, (byte) (Color.blue(0) - 7), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) ((-114) - Process.getGidForName("")), Color.rgb(0, 0, 0) + 1614544515, (-81) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 773537129 - (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)), (byte) ((-95) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), 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 || intValue > 99999) {
if (context != null) {
int i4 = s + 69;
q = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i5 = s + 83;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), KeyEvent.keyCodeFromString("") + 5, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ax((short) ((-49) - (KeyEvent.getMaxKeyCode() >> 16)), 1597767347 + (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (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)) - 82, 773537069 - TextUtils.indexOf("", ""), (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 76), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{'\b', 1, 5, '\n', 4, 2, '\f', '\n', '\r', 1, 14, 7, 14, 7, 4, 5, '\n', 2, 7, '\f', 14, '\n', 2, 15, 6, '\n', '\b', 11, '\f', 11, '\b', 15, 13852, 13852, 15, 1, 14, '\r', 13927, 13927, 4, 2, 2, 7, '\f', 5, 4, 2, 4, '\r', 3, 5, '\b', 14, '\f', 1, 14, '\b', '\b', 0, 4, 2, 1, 11}, (byte) (111 - (ViewConfiguration.getEdgeSlop() >> 16)), KeyEvent.getDeadChar(0, 0) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{0, 15, '\n', 3, 0, 3, 13939, 13939, '\f', 11, 1, '\n', 2, '\f', '\b', 15, 0, 1, 3, '\t', 7, '\b', 11, 3, '\b', 14, 5, '\r', 14, 4, '\t', 4, '\f', 2, 1, 15, 14, '\f', 13855, 13855, 15, '\t', 14, 1, 2, '\t', 5, '\n', 1, '\b', '\f', '\r', 4, '\n', '\t', 3, 15, 7, 2, 0, 14, '\r', 11, 6}, (byte) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 116), 64 - Color.blue(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (54 - TextUtils.getOffsetBefore("", 0)), 1597767397 + ((byte) KeyEvent.getModifierMetaStateMask()), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) - 81, ExpandableListView.getPackedPositionType(0L) + 773537124, (byte) (113 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) ((-37) - TextUtils.indexOf("", "")), 1597767470 - KeyEvent.normalizeMetaState(0), (-82) - ExpandableListView.getPackedPositionGroup(0L), Color.red(0) + 773537077, (byte) (ImageFormat.getBitsPerPixel(0) - 49), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (AndroidCharacter.getMirror('0') + 2), 1597767475 - ExpandableListView.getPackedPositionType(0L), TextUtils.getOffsetBefore("", 0) - 82, 773537121 - (ViewConfiguration.getEdgeSlop() >> 16), (byte) (Color.green(0) + 24), 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(Color.rgb(0, 0, 0) + 16777703, Process.getGidForName("") + 6, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 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);
int i7 = s + 103;
q = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 4 % 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object obj;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = p;
Object obj2 = null;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az(b2, (byte) (b2 | 9), b2, objArr3);
obj3 = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
cArr3[i4] = ((Character) ((Method) obj3).invoke(null, objArr2)).charValue();
i4++;
int i5 = $10 + 107;
$11 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj4 = xzZ.y.get(-1987398494);
float f = BitmapDescriptorFactory.HUE_RED;
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getTrimmedLength("") + 298, 5 - (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)), (char) TextUtils.indexOf("", "", 0, 0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, (byte) (b3 | 9), b3, objArr5);
obj4 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj4);
}
char charValue = ((Character) ((Method) obj4).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i7 = $11 + 87;
$10 = i7 % 128;
int i8 = i7 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
obj = obj2;
} else {
try {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(822107368);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 233, (ViewConfiguration.getScrollFriction() > f ? 1 : (ViewConfiguration.getScrollFriction() == f ? 0 : -1)) + 4, (char) (22025 - (AudioTrack.getMaxVolume() > f ? 1 : (AudioTrack.getMaxVolume() == f ? 0 : -1))));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b4, (byte) (b4 | 12), b4, objArr7);
obj5 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj5);
}
if (((Integer) ((Method) obj5).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj6 = xzZ.y.get(-1152873385);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 327, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b5, (byte) (b5 | 10), b5, objArr9);
obj6 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj6);
}
obj = null;
int intValue = ((Integer) ((Method) obj6).invoke(null, objArr8)).intValue();
int i9 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i9];
} else {
obj = null;
if (irs.a == irs.d) {
int i10 = $10 + 91;
$11 = i10 % 128;
int i11 = i10 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i12 = (irs.a * charValue) + irs.f;
int i13 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
} else {
int i14 = (irs.a * charValue) + irs.j;
int i15 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
}
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
obj2 = obj;
f = BitmapDescriptorFactory.HUE_RED;
}
}
for (int i16 = 0; i16 < i; i16++) {
cArr4[i16] = (char) (cArr4[i16] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.ntb.NtbOpenAccountLandingActivity, o.AbstractActivityC11368edy, 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 = s + 67;
q = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = s + 45;
q = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
}