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

868 lines
43 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml.promptpay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.HmlNTBOccupationInfoActivity;
import com.scb.phone.view.activity.hml.promptpay.HmlNTBPromptPayNotFoundActivity;
import com.scb.phone.view.activity.hml.promptpay.HmlPromptpayEnterCodeActivity;
import com.scb.phone.view.custom.common.ProgressStateBar;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C0774Oh;
import o.C14957gcv;
import o.C15480grh;
import o.C3172asW;
import o.C3614bBe;
import o.C5696bxt;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC9317dhU;
import o.ZI;
import o.Ziy;
import o.eAJ;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
/* loaded from: classes4.dex */
public final class HmlPromptPayVerificationActivity extends Hilt_HmlPromptPayVerificationActivity implements InterfaceC9317dhU {
private static int k;
private static boolean l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static byte f7407o;
private static char p;
private static char[] r;
private static boolean s;
private static int t;
@BindView
public ProgressStateBar breadcrumbnsNtb;
@BindView
public Button button;
@BindView
public TextView mainTextView;
@InterfaceC13391fZD
public C5696bxt presenter;
@BindView
public TextView secondaryTextView;
private static final byte[] $$p = {46, -23, 1, -23};
private static final int $$q = 70;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
private static void aD(short s2, short s3, byte b, Object[] objArr) {
int i = 122 - b;
int i2 = (s2 * 2) + 4;
int i3 = s3 * 3;
byte[] bArr = $$p;
byte[] bArr2 = new byte[i3 + 1];
int i4 = -1;
if (bArr == null) {
i2++;
i = (-i) + i3;
i4 = -1;
}
while (true) {
int i5 = i4 + 1;
bArr2[i5] = (byte) i;
if (i5 == i3) {
objArr[0] = new String(bArr2, 0);
return;
}
byte b2 = bArr[i2];
i2++;
i = (-b2) + i;
i4 = i5;
}
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i2;
int i5 = ~i3;
if ((i * 50) + (i2 * (-97)) + (((~(i4 | i5)) | (~(i4 | i))) * 98) + (((~(i5 | (~i))) | i4 | (~(i | i3))) * (-49)) + (((~(i | i2)) | (~(i3 | i4))) * 49) != 1) {
HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity = (HmlPromptPayVerificationActivity) objArr[0];
int i6 = 2 % 2;
int i7 = q + 101;
t = i7 % 128;
int i8 = i7 % 2;
super.Z();
hmlPromptPayVerificationActivity.p(hmlPromptPayVerificationActivity.getString(R.string.hml_prompt_pay_title));
hmlPromptPayVerificationActivity.ac();
int i9 = t + 49;
q = i9 % 128;
int i10 = i9 % 2;
return null;
}
return b(objArr);
}
private void aC(String str, Object[] objArr) {
byte[] decode;
int length;
int i = 2 % 2;
int i2 = q + 113;
t = i2 % 128;
if (i2 % 2 != 0) {
decode = Base64.decode(str, 0);
length = decode.length;
} else {
decode = Base64.decode(str, 0);
length = decode.length;
}
byte[] bArr = new byte[length];
for (int i3 = 0; i3 < decode.length; i3++) {
int i4 = q + 31;
t = i4 % 128;
int i5 = i4 % 2;
bArr[i3] = (byte) (decode[(decode.length - i3) - 1] ^ f7407o);
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00ab, code lost:
if (r3 > 99999) goto L8;
*/
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:11:0x03d5 */
/* JADX WARN: Removed duplicated region for block: B:14:0x03ec */
/* JADX WARN: Removed duplicated region for block: B:17:0x03f9 */
/* JADX WARN: Removed duplicated region for block: B:20:0x0407 */
/* JADX WARN: Removed duplicated region for block: B:24:0x0409 */
/* JADX WARN: Removed duplicated region for block: B:25:0x03e0 */
/* JADX WARN: Removed duplicated region for block: B:26:0x03b6 */
/* JADX WARN: Removed duplicated region for block: B:8:0x03ab */
/* JADX WARN: Type inference failed for: r6v17, types: [o.ZI] */
/* JADX WARN: Type inference failed for: r6v18 */
/* JADX WARN: Type inference failed for: r6v20 */
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptPayVerificationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1346
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.promptpay.HmlPromptPayVerificationActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptPayVerificationActivity, 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 = t + 87;
q = i2 % 128;
C5696bxt c5696bxt = null;
if (i2 % 2 == 0) {
super.onStart();
throw null;
}
super.onStart();
C5696bxt c5696bxt2 = this.presenter;
if (c5696bxt2 != null) {
int i3 = t + 45;
q = i3 % 128;
int i4 = i3 % 2;
c5696bxt = c5696bxt2;
} else {
C14957gcv.a("");
}
if (c5696bxt.f != 0) {
int i5 = q + 93;
t = i5 % 128;
int i6 = i5 % 2;
c5696bxt.f.y();
}
c5696bxt.a.e();
eAJ eaj = c5696bxt.a;
eaj.d(eaj.i, new C5696bxt.IeS(c5696bxt));
}
@Override // o.InterfaceC9317dhU
public final void a(C0774Oh c0774Oh) {
int i;
int i2 = 2 % 2;
C14957gcv.e(c0774Oh, "");
TextView textView = this.mainTextView;
Button button = null;
if (textView != null) {
int i3 = q + 47;
t = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
int i5 = t + 71;
q = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 3;
}
textView = null;
}
String string = getString(c0774Oh.c);
if (string.startsWith(",*,)")) {
int i7 = q + 79;
t = i7 % 128;
if (i7 % 2 != 0) {
Object[] objArr = new Object[1];
aC(string.substring(4), objArr);
string = ((String) objArr[0]).intern();
int i8 = 33 / 0;
} else {
Object[] objArr2 = new Object[1];
aC(string.substring(4), objArr2);
string = ((String) objArr2[0]).intern();
}
}
textView.setText(C3172asW.qI_(string, 0));
TextView textView2 = this.secondaryTextView;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
Integer num = c0774Oh.a;
if (num != null) {
int intValue = num.intValue();
TextView textView3 = this.secondaryTextView;
if (textView3 == null) {
C14957gcv.a("");
textView3 = null;
}
String string2 = getString(intValue);
if (string2.startsWith(",*,)")) {
int i9 = q + 125;
t = i9 % 128;
int i10 = i9 % 2;
Object[] objArr3 = new Object[1];
aC(string2.substring(4), objArr3);
string2 = ((String) objArr3[0]).intern();
}
textView3.setText(string2);
i = 0;
} else {
i = 8;
}
textView2.setVisibility(i);
Button button2 = this.button;
if (button2 != null) {
button = button2;
} else {
C14957gcv.a("");
int i11 = t + 83;
q = i11 % 128;
int i12 = i11 % 2;
}
String string3 = getString(c0774Oh.e);
if (string3.startsWith(",*,)")) {
Object[] objArr4 = new Object[1];
aC(string3.substring(4), objArr4);
string3 = ((String) objArr4[0]).intern();
}
button.setText(string3);
}
@Override // o.InterfaceC9317dhU
public final void e() {
int i = 2 % 2;
HmlNTBOccupationInfoActivity.RVV rvv = HmlNTBOccupationInfoActivity.b;
HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity = this;
C14957gcv.e(hmlPromptPayVerificationActivity, "");
startActivity(new Intent(hmlPromptPayVerificationActivity, (Class<?>) HmlNTBOccupationInfoActivity.class));
int i2 = q + 17;
t = i2 % 128;
int i3 = i2 % 2;
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
char c = 2;
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = m;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i3 = 0;
while (i3 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i3])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (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)), (char) ExpandableListView.getPackedPositionGroup(0L));
byte b = (byte) ($$p[c] - 1);
byte b2 = b;
Object[] objArr3 = new Object[1];
aD(b, b2, (byte) (b2 | 57), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i3++;
c = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 283, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (39813 - TextUtils.indexOf("", "")));
byte b3 = (byte) ($$p[2] - 1);
byte b4 = b3;
Object[] objArr5 = new Object[1];
aD(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (s) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i4 = $10 + 25;
$11 = i4 % 128;
int i5 = i4 % 2;
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 40, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i6 = $11 + 97;
$10 = i6 % 128;
int i7 = i6 % 2;
}
objArr[0] = new String(cArr4);
return;
}
if (!l) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $11 + 61;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c << 1) / c3614bBe.a] >> i] % intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - View.MeasureSpec.makeMeasureSpec(0, 0), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - KeyEvent.getDeadChar(0, 0), 5 - View.combineMeasuredStates(0, 0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
}
private static /* synthetic */ Object b(Object[] objArr) {
HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity = (HmlPromptPayVerificationActivity) objArr[0];
int i = 2 % 2;
HmlNTBPromptPayNotFoundActivity.RVV rvv = HmlNTBPromptPayNotFoundActivity.k;
HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity2 = hmlPromptPayVerificationActivity;
C14957gcv.e(hmlPromptPayVerificationActivity2, "");
hmlPromptPayVerificationActivity.startActivity(new Intent(hmlPromptPayVerificationActivity2, (Class<?>) HmlNTBPromptPayNotFoundActivity.class));
int i2 = t + 73;
q = i2 % 128;
int i3 = i2 % 2;
return null;
}
@Override // o.InterfaceC9317dhU
public final void a() {
int i = 2 % 2;
HmlPromptpayEnterCodeActivity.Sts sts = HmlPromptpayEnterCodeActivity.l;
HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity = this;
C14957gcv.e(hmlPromptPayVerificationActivity, "");
startActivity(new Intent(hmlPromptPayVerificationActivity, (Class<?>) HmlPromptpayEnterCodeActivity.class));
int i2 = t + 17;
q = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 43 / 0;
}
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptPayVerificationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = t + 23;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.activate_card_info).substring(65, 66).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'\r', 20, 13845, 13845, '\t', 17, '\"', '#', 13847, 13847, 30, 24, 20, 2, 30, 21, '\t', '\r'}, (byte) (MotionEvent.axisFromString("") + 46), 18 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 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(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) Color.blue(0))).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.lastIndexOf("", '0', 0) + 488, 5 - Color.alpha(0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).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();
int i4 = t + 33;
q = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0023, code lost:
r1 = com.scb.phone.view.activity.hml.promptpay.HmlPromptPayVerificationActivity.q + 39;
com.scb.phone.view.activity.hml.promptpay.HmlPromptPayVerificationActivity.t = r1 % 128;
r1 = r1 % 2;
r8 = (java.lang.Object[]) null;
r10 = new java.lang.Object[1];
aA(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_ota_info_second_description).substring(117, 119).codePointAt(1) + 95, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r10);
r7 = java.lang.Class.forName((java.lang.String) r10[0]);
r10 = new java.lang.Object[1];
aB(new char[]{'\r', 20, 13845, 13845, '\t', 17, '\"', '#', 13847, 13847, 30, 24, 20, 2, 30, 21, '\t', '\r'}, (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 11), 19 - (android.os.Process.getElapsedCpuTime() > 0 ? 1 : (android.os.Process.getElapsedCpuTime() == 0 ? 0 : -1)), r10);
r1 = (android.content.Context) r7.getMethod((java.lang.String) r10[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptPayVerificationActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onPause() {
/*
Method dump skipped, instructions count: 402
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.promptpay.HmlPromptPayVerificationActivity.onPause():void");
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = r;
long j = 0;
int i4 = 4;
int i5 = 6;
int i6 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> i5) + 298, (ViewConfiguration.getGlobalActionKeyTimeout() > j ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == j ? 0 : -1)) + i4, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b2 = (byte) ($$p[2] - 1);
byte b3 = b2;
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 + 5), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
j = 0;
i4 = 4;
i5 = 6;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getJumpTapTimeout() >> 16), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) ($$p[2] - 1);
byte b5 = b4;
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 + 5), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i8 = $11 + 67;
$10 = i8 % 128;
int i9 = i8 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i10 = $11 + 77;
$10 = i10 % 128;
int i11 = i10 % 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);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - View.getDefaultSize(0, 0), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) (22024 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b6 = (byte) ($$p[2] - 1);
byte b7 = b6;
Object[] objArr7 = new Object[1];
aD(b6, b7, (byte) (b7 + 2), objArr7);
obj3 = 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, obj3);
}
if (((Integer) ((Method) obj3).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 obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 327, View.MeasureSpec.getMode(0) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte[] bArr = $$p;
byte b8 = (byte) (bArr[2] - 1);
Object[] objArr9 = new Object[1];
aD(b8, b8, (byte) bArr.length, objArr9);
obj4 = 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, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
irs.e += 2;
}
}
for (int i17 = 0; i17 < i; i17++) {
int i18 = $10 + 63;
$11 = i18 % 128;
int i19 = i18 % 2;
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.hml.promptpay.Hilt_HmlPromptPayVerificationActivity, 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];
Object obj = null;
aA(null, null, 127 - Color.blue(0), new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{18, '!', '\f', 19, 13847}, (byte) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 25), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 25;
q = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = t + 101;
q = i3 % 128;
if (i3 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context = context.getApplicationContext();
}
if (context != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.argb(0, 0, 0, 0) + 492, 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{11, '\f', 1, 27, ' ', 20, 20, '#', 29, 31, 26, 2, 27, 26, 25, ' ', 26, 27, 19, ' ', 27, 2, '!', 30, 22, 29, 17, 2, 17, ' ', '\n', 7, 11, 0, 30, 7, 29, 17, 13833, 13833, 21, 2, 5, 11, '\r', ' ', '\t', 5}, (byte) (Color.green(0) + 17), 48 - TextUtils.indexOf("", "", 0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{7, 29, 29, '\n', 29, 26, 5, '!', 17, 11, 22, 26, 22, 26, '\f', 11, 27, 4, '\b', 18, 16, 26, '!', 2, 27, 29, '\b', 16, 23, ' ', 7, '\"', 13863, 13863, 2, '#', 1, '#', 13938, 13938, 29, 26, '\"', 26, 0, 11, 29, 26, 7, '!', 29, 23, '\r', ' ', 1, 29, ' ', '\r', 7, 30, 29, 26, '#', '\b'}, (byte) (Color.argb(0, 0, 0, 0) + 122), ((Process.getThreadPriority(0) + 20) >> 6) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(null, null, (-16777089) - Color.rgb(0, 0, 0), new byte[]{-100, ISOFileInfo.LCS_BYTE, -109, -98, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.DATA_BYTES2, -108, -102, -108, -105, -99, -109, -106, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.SECURITY_ATTR_EXP, -99, ISOFileInfo.LCS_BYTE, -102, -107, -98, -108, -98, -101, -101, -106, -98, -98, ISOFileInfo.DATA_BYTES2, -104, -103, ISOFileInfo.FILE_IDENTIFIER, -105, -99, -109, ISOFileInfo.SECURITY_ATTR_EXP, -102, -109, ISOFileInfo.LCS_BYTE, -106, -100, -108, -101, -108, -102, -104, ISOFileInfo.DATA_BYTES2, -109, -108, -103, -104, ISOFileInfo.SECURITY_ATTR_EXP, -107, -105, -106, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -107, ISOFileInfo.DATA_BYTES2, -107, -108, -109, ISOFileInfo.DATA_BYTES2}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(null, null, 127 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new byte[]{-120, ISOFileInfo.CHANNEL_SECURITY, -126, ISOFileInfo.SECURITY_ATTR_EXP, -113, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A0, -106, -113, ISOFileInfo.A0, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.SECURITY_ATTR_EXP, -92, -126, -122, ISOFileInfo.A0, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, ISOFileInfo.A1, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A5, -90, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A5, -92, ISOFileInfo.FCI_EXT, ISOFileInfo.CHANNEL_SECURITY, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -93, -126, ISOFileInfo.DATA_BYTES2, -104, -94, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A1, ISOFileInfo.A1, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.A1, ISOFileInfo.DATA_BYTES2, -122, -120, ISOFileInfo.A0, ISOFileInfo.A0, -97, -120, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -110}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'\"', 5, '\"', 1, 13782}, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + 44), (KeyEvent.getMaxKeyCode() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(null, null, 127 - View.combineMeasuredStates(0, 0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -101, -98, -103, -98, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -100, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -106, -89, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -104, ISOFileInfo.DATA_BYTES2, -89, -101, -101, -106, -103, -89, -104, ISOFileInfo.SECURITY_ATTR_EXP, -108, -99, -89, -108, -103, -105, ISOFileInfo.FILE_IDENTIFIER, -103, -106, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 439, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (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, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
int i4 = q + 37;
t = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void c(HmlPromptPayVerificationActivity hmlPromptPayVerificationActivity) {
int i = 2 % 2;
C14957gcv.e(hmlPromptPayVerificationActivity, "");
C5696bxt c5696bxt = hmlPromptPayVerificationActivity.presenter;
Ziy ziy = null;
if (c5696bxt == null) {
C14957gcv.a("");
c5696bxt = null;
}
Ziy ziy2 = c5696bxt.d;
if (ziy2 == null) {
int i2 = q + 7;
t = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.a("");
int i3 = 2 / 0;
} else {
C14957gcv.a("");
}
} else {
ziy = ziy2;
}
int i4 = C5696bxt.Sts.c[ziy.ordinal()];
if (i4 == 1) {
if (c5696bxt.f != 0) {
int i5 = t + 73;
q = i5 % 128;
int i6 = i5 % 2;
c5696bxt.f.y();
}
c5696bxt.e.b();
C15480grh c15480grh = c5696bxt.e;
c15480grh.d(c15480grh.i, new C5696bxt.LWm(c5696bxt));
return;
}
int i7 = q;
int i8 = i7 + 9;
t = i8 % 128;
if (i8 % 2 == 0 ? i4 == 2 : i4 == 5) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.bxA
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9317dhU) obj).a();
}
};
if (c5696bxt.f != 0) {
int i9 = q + 97;
t = i9 % 128;
if (i9 % 2 != 0) {
return;
}
ieS.e(c5696bxt.f);
return;
}
return;
}
int i10 = i7 + 67;
t = i10 % 128;
int i11 = i10 % 2;
if (i4 == 3) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bxC
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9317dhU) obj).e();
}
};
if (c5696bxt.f != 0) {
ieS2.e(c5696bxt.f);
}
int i12 = q + 81;
t = i12 % 128;
if (i12 % 2 != 0) {
int i13 = 40 / 0;
}
}
}
static void h() {
m = new char[]{16300, 16345, 16303, 16349, 16346, 16292, 16281, 16350, 16315, 16302, 16288, 16347, 16268, 16351, 16337, 16340, 16319, 16291, 16275, 16283, 16286, 16285, 16276, 16301, 16287, 16289, 16284, 16274, 16273, 16272, 16277, 16282, 16344, 16295, 16294, 16290, 16336, 16348, 16280};
k = 1934310987;
l = true;
s = true;
r = new char[]{35374, 35375, 35370, 49031, 49053, 49030, 49026, 49116, 49091, 49111, 49027, 49110, 35371, 49126, 49104, 49117, 35373, 49028, 49114, 49094, 49025, 49118, 35368, 49109, 49119, 49105, 49024, 49089, 49029, 35372, 49098, 49035, 49106, 49095, 49138, 49034};
p = (char) 35375;
}
static void j() {
int i = 2 % 2;
int i2 = q;
int i3 = i2 + 29;
t = i3 % 128;
int i4 = i3 % 2;
f7407o = (byte) 6;
int i5 = i2 + 7;
t = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
b(new Object[]{this}, 1210503114, -1210503114, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 471290983);
}
@Override // o.InterfaceC9317dhU
public final void c() {
b(new Object[]{this}, 198707426, -198707425, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 562590556);
}
static {
t = 0;
h();
j();
new LWm((byte) 0);
int i = q + 119;
t = i % 128;
int i2 = i % 2;
}
}