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

546 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bscanc;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
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.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.C13073fPt;
import o.InterfaceC17278vUG;
import o.InterfaceC9939dtO;
import o.Nhs;
import o.VLM;
import o.fOV;
import o.fPA;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class Hilt_QRPaymentCoachMarkActivity extends BaseActivity implements fPA {
private static short[] s;
private volatile C13073fPt k;
private static final byte[] $$g = {82, -108, -39, 86};
private static final int $$h = 101;
private static int $10 = 0;
private static int $11 = 1;
private static int w = 0;
private static int y = 1;
private static int m = 1399143418;
/* renamed from: o, reason: collision with root package name */
private static int f6595o = 1406017099;
private static int t = 1554094059;
private static byte[] p = {ISOFileInfo.A1, 33, 87, 35, 61, ISO7816.INS_CHANGE_CHV, 67, 67, -6, 45, 96, -21, 58, 59, ISO7816.INS_CHANGE_CHV, 87, 63, 84, -78, -18, 1, -55, Ascii.EM, ISOFileInfo.A1, -23, Ascii.SYN, -25, 5, -18, ISO7816.INS_APPEND_RECORD, -17, -20, -24, 57, -33, Ascii.SYN, 19, -27, -24, -17, Ascii.SUB, -9, -24, -19, ISO7816.INS_DECREASE, ISO7816.INS_APPEND_RECORD, Ascii.NAK, ISO7816.INS_WRITE_RECORD, 49, ISO7816.INS_PUT_DATA, 51, -29, -37, ISO7816.INS_DECREASE, -33, ISO7816.INS_INCREASE, ISO7816.INS_LOAD_KEY_FILE, -18, ISO7816.INS_DECREASE, -21, ISO7816.INS_CREATE_FILE, -19, -37, -19, ISO7816.INS_DECREASE, ISO7816.INS_LOAD_KEY_FILE, -20, 54, -23, ISO7816.INS_LOAD_KEY_FILE, ISO7816.INS_DECREASE, ISO7816.INS_APPEND_RECORD, -20, -19, Ascii.DC4, -27, Ascii.NAK, -35, 57, -26, -23, -19, -39, 49, -39, 63, -17, -29, ISO7816.INS_APPEND_RECORD, -21, -26, -17, -24, ISO7816.INS_CREATE_FILE, -24, -29, ISO7816.INS_UPDATE_RECORD, ISO7816.INS_DECREASE, -21, -34, ISO7816.INS_DECREASE, -33, 61, ISO7816.INS_LOAD_KEY_FILE, -29, -9, ISO7816.INS_UPDATE_BINARY, 15, -25, ISO7816.INS_UPDATE_BINARY, -1, -31, 53, -84, ISO7816.INS_DECREASE, -13, -25, -8, ISO7816.INS_CREATE_FILE, -87, -25, -7, 11, -41, -7, 55, -8, -31, -1, -26, -6, -5, -7, -6, ISO7816.INS_UPDATE_BINARY, -5, 8, -86, 15, -25, -8, -41, -5, 8, -47, 53, -1, -29, -5, -27, -84, -26, -27, 13, ISO7816.INS_APPEND_RECORD, -2, -44, -7, ISO7816.INS_DECREASE_STAMPED, -4, -29, -87, -6, ISO7816.INS_DECREASE_STAMPED, -44, 8, -25, -14, -45, -7, -20, Ascii.NAK, Ascii.SYN, -4, 30, 37, ISO7816.INS_APPEND_RECORD, -93, 84, ISOFileInfo.A0, -18, 29, -19, -26, -22, 33, -43, -26, 28, 57, -87, -19, 19, 58, ISO7816.INS_UPDATE_BINARY, -8, 30, -13, -21, -19, 28, -7, 30, -13, 29, 38, ISOFileInfo.A1, -18, Ascii.EM, -19, -4, Ascii.CAN, -29, -8, 17, -5, 85, -88, ISO7816.INS_APPEND_RECORD, Ascii.DC2, -20, -27, 16, -25, Ascii.NAK, -2, Ascii.DC2, -25, -17, -19, 19, -27, 19, -25, -27, 43, -17, -6, -44, -24, -29, -17, 19, -45, 65, 9, ISO7816.INS_DECREASE_STAMPED, 10, -25, 11, 91, -29, 90, -6, ISO7816.INS_REHABILITATE_CHV, ISO7816.INS_DECREASE, -1, 11, 54, ISO7816.INS_DECREASE_STAMPED, 65, 9, 53, 10, 11, ISO7816.INS_INCREASE, -2, 8, SignedBytes.MAX_POWER_OF_TWO, 15, 60, 8, 9, 14, ISO7816.INS_CREATE_FILE, 69, 55, ISO7816.INS_DELETE_FILE, 9};
private static long q = 9051040786702654117L;
private static int r = 452713125;
private static char v = 54011;
private final Object l = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0026). 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 r5, short r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r7 = r7 + 4
int r6 = r6 * 2
int r6 = r6 + 1
byte[] r0 = com.scb.phone.view.activity.bscanc.Hilt_QRPaymentCoachMarkActivity.$$g
int r5 = r5 + 108
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r4 = r0[r7]
L26:
int r7 = r7 + 1
int r4 = -r4
int r5 = r5 + r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.Hilt_QRPaymentCoachMarkActivity.az(byte, short, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_QRPaymentCoachMarkActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.bscanc.Hilt_QRPaymentCoachMarkActivity.1
private Hilt_QRPaymentCoachMarkActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_QRPaymentCoachMarkActivity hilt_QRPaymentCoachMarkActivity = this.a;
if (hilt_QRPaymentCoachMarkActivity.b) {
return;
}
hilt_QRPaymentCoachMarkActivity.b = true;
((InterfaceC9939dtO) hilt_QRPaymentCoachMarkActivity.y_()).c((QRPaymentCoachMarkActivity) hilt_QRPaymentCoachMarkActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = w + 103;
y = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = y + 9;
w = i4 % 128;
if (i4 % 2 == 0) {
return y_;
}
throw null;
}
private C13073fPt h() {
if (this.k == null) {
synchronized (this.l) {
if (this.k == null) {
this.k = new C13073fPt(this);
}
}
}
return this.k;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = y + 107;
w = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i3 = y + 113;
w = i3 % 128;
if (i3 % 2 != 0) {
bundle = getIntent().getExtras();
int i4 = 90 / 0;
} else {
bundle = getIntent().getExtras();
}
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i5 = y + 57;
w = i5 % 128;
int i6 = i5 % 2;
return aBN_;
}
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
throw null;
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $10 + 17;
$11 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 45, AndroidCharacter.getMirror('0') - '+', (char) View.combineMeasuredStates(0, 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(353 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.getTrimmedLength("") + 5, (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 52128));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
az((byte) 7, b, b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - TextUtils.indexOf("", "", 0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(401 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (View.MeasureSpec.getSize(0) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 6, b2, b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (q ^ 9051040786702654117L)) ^ ((int) (r ^ 9051040786702654117L))) ^ ((char) (v ^ 9051040786702654117L)));
nhs.a++;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i6 = $11 + 99;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = w + 81;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (TextUtils.getCapsMode("", 0, 0) - 52), (-11216367) - Color.blue(0), AndroidCharacter.getMirror('0') - 143, (-258967965) - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_cvc_title_short).substring(0, 3).length() - 3), 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.topup_input_007).substring(17, 18).codePointAt(0) - 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11216383, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 108, (KeyEvent.getMaxKeyCode() >> 16) - 258967953, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_just_for_you_description).substring(2, 3).length() - 1), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 34325), new char[]{23936, 45029, 43091, 58609, 5501, 44630, 3803, 44461, 49760, 12851, 51354, 27033, 40504, 10792, 42568, 57275, 4579, 39638, 27490, 53870, 36084, 53846, 39968, 29281, 15231, 43468}, new char[]{1031, 700, 8774, 24198}, new char[]{0, 0, 0, 0}, 1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 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().getResources().getString(R.string.merchant_terminal_format).substring(0, 10).codePointAt(5) - 29), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_updating_text).substring(0, 5).length() - 11216349, View.getDefaultSize(0, 0) - 95, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 258967997, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = y + 83;
w = 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(TextUtils.getTrimmedLength("") + 492, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((char) (MotionEvent.axisFromString("") + 1), new char[]{4111, 45028, 56852, 29795, 33947, 39577, 53015, 8534, 60280, 19141, 53043, 31136, 14881, 27725, 41090, 41387, 17648, 59049, 54412, 29360, 8668, 30902, 48773, 55012, 25227, 47069, 47589, 12771, 54604, 55737, 14308, 3882, 32844, 7551, 34955, 17771, 63494, 56881, 11789, 50189, 52022, 40197, 26460, 17775, 2275, 22511, 28286, 1265}, new char[]{42240, 26128, 58894, 51137}, new char[]{0, 0, 0, 0}, (-1) - Process.getGidForName(""), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = 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_terms_and_conditions_scbs_check_box_title).substring(77, 78).codePointAt(0) - 109), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 11216424, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ota_info_second_description).substring(117, 119).codePointAt(0) - 134, (-258967960) - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (byte) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 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.auto_single_form_mf_description).substring(0, 2).length() + 15), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_partnership_landing_being_redirected_external_description).substring(8, 9).length() - 11216263, (-94) - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 258967999, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_repayment_term_amount).substring(0, 9).length() - 9), 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() - 7), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 11216309, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 129, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.specify_warning_msg).substring(43, 44).codePointAt(0) - 258967990, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.partner_consent_detail).substring(0, 3).codePointAt(0) + 28437), new char[]{36600, 43118, 23124, 61376, 12080}, new char[]{15239, 57193, 15019, 42607}, new char[]{0, 0, 0, 0}, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1411421894, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = 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_debit_card_lock_card_popup_message).substring(39, 40).length() - 33), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 11216158, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_repayment_about_monthly_info).substring(0, 2).codePointAt(0) - 8321, TextUtils.getCapsMode("", 0, 0) - 258967961, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.terms_conditions_scb_promptpay_landing_title).substring(6, 11).length() - 5), 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 - Color.blue(0), 5 - View.MeasureSpec.getSize(0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i6 = y + 119;
w = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_add_scbs_account_stop_2).substring(105, 106).codePointAt(0) + 34306), new char[]{23936, 45029, 43091, 58609, 5501, 44630, 3803, 44461, 49760, 12851, 51354, 27033, 40504, 10792, 42568, 57275, 4579, 39638, 27490, 53870, 36084, 53846, 39968, 29281, 15231, 43468}, new char[]{1031, 700, 8774, 24198}, new char[]{0, 0, 0, 0}, Color.alpha(0), 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.myqr_for_receiving_money).substring(0, 3).codePointAt(1) - 79), (-11216378) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 108, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 258968009, (byte) (ViewConfiguration.getEdgeSlop() >> 16), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = w + 27;
y = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = w + 123;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = w + 87;
y = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 491, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.getOffsetAfter("", 0) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
/* JADX WARN: Code restructure failed: missing block: B:51:0x01e7, code lost:
if (r10 != false) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x01fd, code lost:
r7 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:80:0x01fb, code lost:
r7 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:82:0x01f9, code lost:
if (r10 != false) goto L52;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x0096 */
/* JADX WARN: Removed duplicated region for block: B:48:0x01cc */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r17, int r18, int r19, int r20, byte r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 791
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.Hilt_QRPaymentCoachMarkActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = w + 5;
y = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = y + 71;
w = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_review_mf_account).substring(17, 18).codePointAt(0) + 34306), new char[]{23936, 45029, 43091, 58609, 5501, 44630, 3803, 44461, 49760, 12851, 51354, 27033, 40504, 10792, 42568, 57275, 4579, 39638, 27490, 53870, 36084, 53846, 39968, 29281, 15231, 43468}, new char[]{1031, 700, 8774, 24198}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 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().getPackageName().length() - 10), (-11216357) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length(), (-94) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 258967997, (byte) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = y + 51;
w = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - View.getDefaultSize(0, 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).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 - Process.getGidForName(""), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Gravity.getAbsoluteGravity(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.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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (TextUtils.getCapsMode("", 0, 0) - 52), (-11216367) + (Process.myPid() >> 22), (-96) - TextUtils.lastIndexOf("", '0'), (-242190749) + Color.rgb(0, 0, 0), (byte) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (ViewConfiguration.getEdgeSlop() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 11216350, TextUtils.indexOf("", "", 0, 0) - 95, (ViewConfiguration.getFadingEdgeLength() >> 16) - 258967953, (byte) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1), 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 + 33;
y = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 37 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = y + 123;
w = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((char) Color.red(0), new char[]{4111, 45028, 56852, 29795, 33947, 39577, 53015, 8534, 60280, 19141, 53043, 31136, 14881, 27725, 41090, 41387, 17648, 59049, 54412, 29360, 8668, 30902, 48773, 55012, 25227, 47069, 47589, 12771, 54604, 55737, 14308, 3882, 32844, 7551, 34955, 17771, 63494, 56881, 11789, 50189, 52022, 40197, 26460, 17775, 2275, 22511, 28286, 1265}, new char[]{42240, 26128, 58894, 51137}, new char[]{0, 0, 0, 0}, MotionEvent.axisFromString("") + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) (7 - TextUtils.indexOf("", "", 0, 0)), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 11216327, ((Process.getThreadPriority(0) + 20) >> 6) - 95, (-258967961) - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) View.getDefaultSize(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax((short) ((ViewConfiguration.getPressedStateDuration() >> 16) + 17), (-11216262) - ExpandableListView.getPackedPositionGroup(0L), ((Process.getThreadPriority(0) + 20) >> 6) - 95, KeyEvent.keyCodeFromString("") - 258967965, (byte) (ViewConfiguration.getTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) ('6' - AndroidCharacter.getMirror('0')), (-11216198) - View.MeasureSpec.getMode(0), Color.rgb(0, 0, 0) + 16777121, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 258967959, (byte) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) ((ViewConfiguration.getLongPressTimeout() >> 16) + 28474), new char[]{36600, 43118, 23124, 61376, 12080}, new char[]{15239, 57193, 15019, 42607}, new char[]{0, 0, 0, 0}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 1411421893, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) ((-32) - TextUtils.getOffsetBefore("", 0)), KeyEvent.normalizeMetaState(0) - 11216124, (-94) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (-258967961) - (ViewConfiguration.getScrollBarSize() >> 8), (byte) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 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(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), TextUtils.indexOf("", "", 0, 0) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = y + 31;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 41;
w = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}