what-the-bank/sources/com/scb/phone/view/activity/bscanc/BScanCEntryPointActivity.java

702 lines
42 KiB
Java

package com.scb.phone.view.activity.bscanc;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.bscanc.ManageQrToPayActivity;
import com.scb.phone.view.activity.bscanc.QRPaymentActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14217foz;
import o.C14957gcv;
import o.C2628aiG;
import o.C4403bZM;
import o.FK;
import o.InterfaceC13391fZD;
import o.InterfaceC8990dbK;
import o.fSQ;
import o.xzZ;
import org.jmrtd.cbeff.ISO781611;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public final class BScanCEntryPointActivity extends Hilt_BScanCEntryPointActivity implements InterfaceC8990dbK.HBt {
public static final HBt b;
private static int k;
private static int p;
private static int q;
private static int[] r;
private static short[] s;
private static byte[] t;
private static int x;
private String l;
private boolean m;
@InterfaceC13391fZD
public C2628aiG presenter;
private static final byte[] $$g = {72, -15, 70, -100};
private static final int $$h = ISO781611.BIOMETRIC_SUBTYPE_TAG;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002f). 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(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r6 = r6 + 102
byte[] r0 = com.scb.phone.view.activity.bscanc.BScanCEntryPointActivity.$$g
int r7 = r7 * 2
int r1 = 1 - r7
int r8 = r8 * 2
int r8 = 3 - r8
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L18
r3 = r8
r4 = r2
goto L2f
L18:
r3 = r2
L19:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
r3 = r0[r8]
r5 = r3
r3 = r8
r8 = r5
L2f:
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.BScanCEntryPointActivity.az(byte, short, int, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public static Intent YH_(Context context, String str) {
C14957gcv.e(context, "");
C14957gcv.e(context, "");
Intent intent = new Intent(context, (Class<?>) BScanCEntryPointActivity.class);
intent.putExtra("KEYS_IS_SETTING_PAGE", false);
Intent putExtra = intent.putExtra("KEY_SUCCESS_MESSAGE", str);
C14957gcv.c(putExtra, "");
return putExtra;
}
public /* synthetic */ HBt(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_BScanCEntryPointActivity, 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) {
Bundle extras;
Bundle extras2;
int i = 2 % 2;
boolean z = false;
final C2628aiG c2628aiG = null;
Object[] objArr = new Object[1];
ax((short) (30 - MotionEvent.axisFromString("")), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1978824534, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 119, 2034445771 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_redeem_for_cashback).substring(29, 30).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 80), 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_tutorial_just_for_you_title).substring(0, 32).length() - 58), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_email_is_not_set_yet).substring(58, 59).codePointAt(0) + 1978824554, ((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) - 8311, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2034445802, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 15), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay(new int[]{-670035384, 488933500, 1057982265, -1656957414, -1310369295, 1320654708, 571117727, -1049126498, -1119056659, 734366669, -686501670, 2050968134, -2003503173, 809628160}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_point_m_card).substring(15, 16).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{-1580107375, -291243216, -232336413, 485634721, -192764739, 844990144, -670664844, -113398051, 1287251333, -790888801}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_prompt_pay).substring(6, 11).codePointAt(4) - 14, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = w + 27;
x = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 95 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{597753879, -2112407201, 487194096, -1100268794, -1782581461, 1364743648, -1645086783, 1108210451, 1945433727, 41683094, -1585691302, -1848995550, 448336825, -2009737527, 529777530, -1218975455, 1124160638, -1322763504, -1276146311, -2013871950, -1646171407, 677030241, 1908302365, -669211066}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{712346304, -968796626, 461231092, -1030016892, 140156081, -2074707627, 2090963390, R.color.f5932131100101, 1430637033, -263152557, -232123342, -278417435, -1204281114, -2040649475, -307360075, -277946895, 2012100992, 658352077, 116930606, 1431843309, -536157805, -160457900, 366337957, -1039318278, -761519974, -120212083, -1132449950, -733369927, 261906842, 1629434653, 600996115, 165076088}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_scbs_account).substring(84, 85).length() + 63, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_ncb_slip_title).substring(0, 26).length() - 4), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 1978824480, (-85) - TextUtils.getOffsetBefore("", 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2034445790, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 69), 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().getPackageName().length() + 102), 1978824655 - View.MeasureSpec.getSize(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_page_learn_more_header).substring(28, 29).codePointAt(0) - 200, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.add_pay_account_disclaimer).substring(45, 46).length() + 2034445809, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) - 185), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{-615022584, -1989599837, 145808091, 600978262}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.booking_id).substring(7, 8).length() + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{1448148256, 574566092, 775277257, 1701207106, -1278558645, 894449145, 842526627, -169279845, 831853511, 877558848, 963347643, -1185465384, 583859107, -391405639, 1784755132, -461270481, 1673107633, 1982174433}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_tnc_decline_dialog_description).substring(31, 32).length() + 35, 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(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
Intent intent = getIntent();
if (intent != null && (extras2 = intent.getExtras()) != null) {
int i4 = x + 25;
w = i4 % 128;
int i5 = i4 % 2;
z = extras2.getBoolean("KEYS_IS_SETTING_PAGE", false);
}
this.m = z;
Intent intent2 = getIntent();
this.l = (intent2 == null || (extras = intent2.getExtras()) == null) ? null : extras.getString("KEY_SUCCESS_MESSAGE", null);
C2628aiG c2628aiG2 = this.presenter;
if (c2628aiG2 != null) {
int i6 = w + 93;
x = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
c2628aiG2 = null;
}
c2628aiG2.e((C2628aiG) this);
C2628aiG c2628aiG3 = this.presenter;
if (c2628aiG3 != null) {
int i8 = w + 3;
x = i8 % 128;
int i9 = i8 % 2;
c2628aiG = c2628aiG3;
} else {
C14957gcv.a("");
}
final boolean z2 = this.m;
final String str6 = this.l;
if (c2628aiG.f != 0) {
c2628aiG.f.y();
}
C14217foz c14217foz = c2628aiG.a;
c14217foz.d(c14217foz.b.a(), new fSQ(c2628aiG, z2, str6) { // from class: o.aiI
private boolean b;
private String c;
private C2628aiG e;
@Override // o.fSQ
public final void c(Object obj3) {
C2628aiG.b(this.e, this.b, this.c, (kLA) obj3);
}
{
this.e = c2628aiG;
this.b = z2;
this.c = str6;
}
}, new fSQ(c2628aiG) { // from class: o.aiJ
private C2628aiG d;
@Override // o.fSQ
public final void c(Object obj3) {
C2628aiG.a(this.d, (Throwable) obj3);
}
{
this.d = c2628aiG;
}
});
}
@Override // o.InterfaceC8990dbK.HBt
public final void c() {
int i = 2 % 2;
int i2 = x + 13;
w = i2 % 128;
int i3 = i2 % 2;
j(false);
finish();
int i4 = w + 29;
x = i4 % 128;
int i5 = i4 % 2;
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int i2;
int[] iArr2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = r;
int i6 = 729798706;
float f = BitmapDescriptorFactory.HUE_RED;
int i7 = 1;
int i8 = 0;
if (iArr3 != null) {
int i9 = $11 + 31;
$10 = i9 % 128;
int i10 = i9 % 2;
int length = iArr3.length;
int[] iArr4 = new int[length];
int i11 = 0;
while (i11 < length) {
int i12 = $11 + 103;
$10 = i12 % 128;
int i13 = i12 % i4;
try {
Object[] objArr2 = {Integer.valueOf(iArr3[i11])};
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - ExpandableListView.getPackedPositionType(0L), View.combineMeasuredStates(0, 0) + 5, (char) ((TypedValue.complexToFloat(0) > f ? 1 : (TypedValue.complexToFloat(0) == f ? 0 : -1)) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i11] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i11++;
i4 = 2;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = r;
if (iArr6 != null) {
int i14 = $11 + 119;
$10 = i14 % 128;
int i15 = i14 % 2;
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i16 = 0;
while (i16 < length3) {
Object[] objArr3 = new Object[i7];
objArr3[i8] = Integer.valueOf(iArr6[i16]);
Object obj2 = xzZ.y.get(Integer.valueOf(i6));
if (obj2 != null) {
iArr2 = iArr6;
i3 = i6;
} else {
obj2 = ((Class) xzZ.c(15 - (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)), 4 - MotionEvent.axisFromString(""), (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i16] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i16++;
i6 = i3;
iArr6 = iArr2;
i7 = 1;
i8 = 0;
}
i2 = i8;
iArr6 = iArr7;
} else {
i2 = 0;
}
System.arraycopy(iArr6, i2, iArr5, i2, length2);
c4403bZM.b = i2;
int i17 = $10 + 1;
$11 = i17 % 128;
int i18 = i17 % 2;
while (c4403bZM.b < iArr.length) {
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i19 = 0;
for (int i20 = 16; i19 < i20; i20 = 16) {
int i21 = $10 + 13;
$11 = i21 % 128;
int i22 = i21 % 2;
c4403bZM.e ^= iArr5[i19];
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 118, 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr5 = new Object[1];
az(b2, b3, b3, objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i19++;
}
int i23 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i23;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i24 = c4403bZM.e;
int i25 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 99, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) Color.argb(0, 0, 0, 0));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
az(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // o.InterfaceC8990dbK.HBt
public final void a(FK fk, boolean z) {
int i = 2 % 2;
int i2 = w + 25;
x = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(fk, "");
ManageQrToPayActivity.RVV rvv = ManageQrToPayActivity.f6597o;
startActivity(ManageQrToPayActivity.RVV.YJ_(this, fk.d, z));
finish();
return;
}
C14957gcv.e(fk, "");
ManageQrToPayActivity.RVV rvv2 = ManageQrToPayActivity.f6597o;
startActivity(ManageQrToPayActivity.RVV.YJ_(this, fk.d, z));
finish();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC8990dbK.HBt
public final void c(FK fk, String str) {
int i = 2 % 2;
C14957gcv.e(fk, "");
QRPaymentActivity.LWm lWm = QRPaymentActivity.k;
BScanCEntryPointActivity bScanCEntryPointActivity = this;
C14957gcv.e(bScanCEntryPointActivity, "");
C14957gcv.e(fk, "");
Intent intent = new Intent(bScanCEntryPointActivity, (Class<?>) QRPaymentActivity.class);
intent.putExtra("EXTRAS_BSCANC_ENTRY_POINT_DISPLAY", fk);
intent.putExtra("EXTRAS_SUCCESS_MESSAGE", str);
startActivity(intent);
finish();
int i2 = w + 55;
x = i2 % 128;
int i3 = i2 % 2;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
BScanCEntryPointActivity bScanCEntryPointActivity = (BScanCEntryPointActivity) objArr[0];
int i = 2 % 2;
int i2 = x + 1;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = bScanCEntryPointActivity.getBaseContext();
if (baseContext == null) {
Object[] objArr2 = new Object[1];
ay(new int[]{-670035384, 488933500, 1057982265, -1656957414, -1310369295, 1320654708, 571117727, -1049126498, -1119056659, 734366669, -686501670, 2050968134, -2003503173, 809628160}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
ay(new int[]{-1580107375, -291243216, -232336413, 485634721, -192764739, 844990144, -670664844, -113398051, 1287251333, -790888801}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 15;
w = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = x + 121;
w = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - KeyEvent.getDeadChar(0, 0), 4 - ImageFormat.getBitsPerPixel(0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 487, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
/* JADX WARN: Removed duplicated region for block: B:45:0x0253 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 900
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.BScanCEntryPointActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_BScanCEntryPointActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = x + 17;
w = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-670035384, 488933500, 1057982265, -1656957414, -1310369295, 1320654708, 571117727, -1049126498, -1119056659, 734366669, -686501670, 2050968134, -2003503173, 809628160}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{-1580107375, -291243216, -232336413, 485634721, -192764739, 844990144, -670664844, -113398051, 1287251333, -790888801}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvv_desc).substring(24, 25).codePointAt(0) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 23;
w = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = w + 85;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 488, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)))).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();
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_BScanCEntryPointActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (TextUtils.indexOf("", "") + 31), 1978824568 - (ViewConfiguration.getScrollDefaultDelay() >> 16), KeyEvent.normalizeMetaState(0) - 85, 2034445803 + TextUtils.getOffsetBefore("", 0), (byte) (KeyEvent.getDeadChar(0, 0) + 114), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 27), KeyEvent.keyCodeFromString("") + 1978824586, (-86) - MotionEvent.axisFromString(""), 2034445815 - TextUtils.indexOf("", ""), (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 89), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = w + 111;
x = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = x + 87;
w = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 5 - ExpandableListView.getPackedPositionType(0L), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{597753879, -2112407201, 487194096, -1100268794, -1782581461, 1364743648, -1645086783, 1108210451, 1945433727, 41683094, -1585691302, -1848995550, 448336825, -2009737527, 529777530, -1218975455, 1124160638, -1322763504, -1276146311, -2013871950, -1646171407, 677030241, 1908302365, -669211066}, View.resolveSizeAndState(0, 0, 0) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new int[]{712346304, -968796626, 461231092, -1030016892, 140156081, -2074707627, 2090963390, R.color.f5932131100101, 1430637033, -263152557, -232123342, -278417435, -1204281114, -2040649475, -307360075, -277946895, 2012100992, 658352077, 116930606, 1431843309, -536157805, -160457900, 366337957, -1039318278, -761519974, -120212083, -1132449950, -733369927, 261906842, 1629434653, 600996115, 165076088}, 64 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 1978824590, Gravity.getAbsoluteGravity(0, 0) - 85, 2034445804 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) (30 - (ViewConfiguration.getTapTimeout() >> 16)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (View.combineMeasuredStates(0, 0) + 115), 1978824656 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 86, View.combineMeasuredStates(0, 0) + 2034445810, (byte) (View.getDefaultSize(0, 0) - 84), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-615022584, -1989599837, 145808091, 600978262}, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{1448148256, 574566092, 775277257, 1701207106, -1278558645, 894449145, 842526627, -169279845, 831853511, 877558848, 963347643, -1185465384, 583859107, -391405639, 1784755132, -461270481, 1673107633, 1982174433}, 36 - Color.red(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(View.combineMeasuredStates(0, 0) + 487, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = x + 35;
w = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void h() {
k = -641493347;
q = 1406017089;
p = -713896861;
t = new byte[]{ISOFileInfo.AB, 70, 72, ISO7816.INS_REHABILITATE_CHV, 114, 101, ISO7816.INS_CHANGE_CHV, ISO7816.INS_CHANGE_CHV, -65, CVCAFile.CAR_TAG, 1, ISOFileInfo.SECURITY_ATTR_COMPACT, Ascii.DEL, 124, 101, 72, ISO7816.INS_MANAGE_CHANNEL, 117, -92, -87, 114, ISOFileInfo.LCS_BYTE, 122, -7, ISOFileInfo.A1, 10, Ascii.DC2, ISOFileInfo.A1, ISO7816.INS_PUT_DATA, 16, 12, ISOFileInfo.AB, 7, -58, Ascii.DC2, -33, Ascii.ETB, -88, Ascii.DC2, ISO7816.INS_LOAD_KEY_FILE, 14, -94, ISO7816.INS_LOAD_KEY_FILE, 2, -33, 16, ISO7816.INS_PUT_DATA, 17, 29, -34, ISO7816.INS_LOAD_KEY_FILE, 29, ISOFileInfo.A1, -34, 15, -83, 10, Ascii.DC2, -33, -94, -34, 15, ISOFileInfo.A0, 12, ISO7816.INS_PUT_DATA, Ascii.SYN, -34, 28, ISOFileInfo.AB, 17, 28, ISO7816.INS_DECREASE_STAMPED, Ascii.NAK, -39, -93, ISO7816.INS_LOAD_KEY_FILE, 3, -37, Ascii.SYN, -88, 29, 3, -93, 15, Ascii.DC2, -59, -90, -29, -11, ISO7816.INS_MSE, 39, -59, 95, ISO7816.INS_INCREASE, -53, -120, 109, ISO7816.INS_READ_BINARY2, 47, 58, ISO7816.INS_GET_DATA, -9, 35, 54, ISO7816.INS_APPEND_RECORD, -9, 37, 62, -18, ISO7816.INS_GET_DATA, 56, 51, -25, -7, 95, ISO7816.INS_LOAD_KEY_FILE, 32, ISO7816.INS_GET_DATA, 37, -2, 95, ISO7816.INS_LOAD_KEY_FILE, 58, 55, ISO7816.INS_READ_RECORD_STAMPED, 47, 94, ISO7816.INS_GET_DATA, -59, 89, -56, -7, 38, -16, ISOFileInfo.FCP_BYTE, -23, -53, 59, -11, -14, 33, -12, ISO7816.INS_MSE, -1, 59, -12, ISO7816.INS_UNBLOCK_CHV, ISO7816.INS_GET_DATA, 56, -14, 56, -12, -14, 96, ISO7816.INS_UNBLOCK_CHV, -13, -19, 41, -56, ISO7816.INS_UNBLOCK_CHV, 56};
r = new int[]{1538404080, 1571996740, -230694106, 924953863, -2094198245, 1042042758, 715750572, 1479088218, -2057730318, -455772041, 1847979036, -637715318, -583806983, -888153703, 186828988, -655237717, -1463502927, -44888702};
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_BScanCEntryPointActivity, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1291717448;
c(new Object[]{this});
}
@Override // com.scb.phone.view.activity.bscanc.Hilt_BScanCEntryPointActivity, 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 = x + 1;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = x + 29;
w = i4 % 128;
int i5 = i4 % 2;
}
static {
x = 1;
h();
b = new HBt((byte) 0);
int i = w + 83;
x = i % 128;
int i2 = i % 2;
}
}