what-the-bank/sources/com/scb/phone/view/activity/ntb/EkycOtpActivity.java

632 lines
31 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ntb;
import android.app.Activity;
import android.content.Context;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.TypedValue;
import android.view.Gravity;
import android.view.View;
import android.view.ViewConfiguration;
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.domain.interactor.ReviewInfoCase;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
import java.lang.ref.WeakReference;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11365edv;
import o.AbstractC13482fbE;
import o.C1004Tm;
import o.C12912fKx;
import o.C6801ccK;
import o.C7048cgt;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC6659cZb;
import o.ST;
import o.gjJ;
import o.xzZ;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class EkycOtpActivity extends AbstractActivityC11365edv implements OtpPinFragment.HBt, InterfaceC6659cZb {
private static short[] q;
@InterfaceC13391fZD
public C6801ccK presenter;
private static final byte[] $$g = {14, 104, 7, -34};
private static final int $$h = 46;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7645o = 881996564;
private static int m = 1406017119;
private static int k = -329184193;
private static byte[] l = {-35, Ascii.NAK, Ascii.ESC, Ascii.ETB, -31, -24, 55, 55, -82, 17, 84, -33, -18, -17, -24, Ascii.ESC, -29, Ascii.CAN, -29, 17, -22, 57, -21, Ascii.DC2, -37, 62, -61, 56, -24, ISO7816.INS_GET_RESPONSE, 57, -60, 59, -63, Ascii.ETB, 57, 16, -23, -22, ISO7816.INS_GET_RESPONSE, -22, 57, -63, Ascii.NAK, 63, Ascii.SYN, -63, 57, -21, Ascii.NAK, -22, 29, ISO7816.INS_APPEND_RECORD, Ascii.DC2, ISO7816.INS_PUT_DATA, 38, -17, Ascii.SYN, -22, -58, 62, -58, ISO7816.INS_CHANGE_CHV, Ascii.DC4, -24, -21, 16, -17, Ascii.DC4, 17, -23, 17, -24, -59, 57, 16, -57, 57, -60, 58, -63, -24, -49, 33, -23, Ascii.DC4, -22, -57, -21, 59, -61, 58, ISO7816.INS_PUT_DATA, ISO7816.INS_CHANGE_CHV, 16, -33, -21, Ascii.SYN, Ascii.DC4, 33, -23, Ascii.NAK, -22, -21, Ascii.DC2, -34, -24, 32, -17, 28, -24, -23, -18, ISO7816.INS_GET_RESPONSE, 37, Ascii.ETB, -60, -23};
private static char[] s = {40094, 40081, 40077, 40097, 40085, 39997, 40032, 40039, 40063, 40061, 40044, 40036, 40052, 40060, 40051, 40051, 40060, 40063, 40016, 40011, 40019, 40050, 40058, 40027, 40025, 40036, 40062, 40050, 40063, 40057, 40059, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 39953, 40007, 40005, 40006, 40007, 39996, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39952, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 39999, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 39959, 39992, 39992, 39992, 39972};
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002a). 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, byte r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 71
byte[] r0 = com.scb.phone.view.activity.ntb.EkycOtpActivity.$$g
int r7 = r7 + 4
int r8 = r8 * 2
int r1 = r8 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L13
r3 = r7
r6 = r8
r4 = r2
goto L2a
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r7 = r7 + 1
r3 = r0[r7]
r5 = r3
r3 = r7
r7 = r5
L2a:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.az(byte, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = (i * (-209)) + (i2 * (-209)) + ((~(i4 | i5)) * 210);
int i7 = ~i3;
return (i6 + (((~(i5 | i7)) | (~(i4 | i3))) * 210)) + (((~((i | i5) | i3)) | (~(i2 | (i4 | i7)))) * 210) != 1 ? c(objArr) : a(objArr);
}
public static Intent ajx_(Activity activity, String str, String str2) {
int i = 2 % 2;
Intent putExtra = new Intent(activity, (Class<?>) EkycOtpActivity.class).putExtra("com.scb.phone.view.activity.ntb.EkycOtpActivity.EXTRA_MOBILE_NUMBER", str);
if (gjJ.a(str2)) {
int i2 = p + 35;
t = i2 % 128;
int i3 = i2 % 2;
putExtra.putExtra("com.scb.phone.view.activity.ntb.EkycOtpActivity.EXTRA_FIREBASE_SOURCE", str2);
int i4 = t + 79;
p = i4 % 128;
int i5 = i4 % 2;
}
return putExtra;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00ca, code lost:
if (r3 > 99999) goto L6;
*/
@Override // o.AbstractActivityC11365edv, 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 void onCreate(android.os.Bundle r27) {
/*
Method dump skipped, instructions count: 1189
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC6659cZb
public final void c(String str, String str2, String str3) {
int i = 2 % 2;
OtpPinFragment b = OtpPinFragment.b(new C1004Tm(C7048cgt.IeS.EKYC, str, str2, str3, getString(R.string.otp_title)));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, b, "OTP_PIN_FRAGMENT_TAG", 1);
a.b();
int i2 = p + 75;
t = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
int i2 = t + 83;
p = i2 % 128;
int i3 = i2 % 2;
C6801ccK c6801ccK = this.presenter;
if (c6801ccK.f != 0) {
int i4 = t;
int i5 = i4 + 39;
p = i5 % 128;
boolean z = i5 % 2 != 0;
int i6 = i4 + 115;
p = i6 % 128;
int i7 = i6 % 2;
if (z) {
c6801ccK.f.y();
}
}
c6801ccK.b.c(str, str2);
ReviewInfoCase reviewInfoCase = c6801ccK.b;
reviewInfoCase.d(reviewInfoCase.i, new C6801ccK.LWm(c6801ccK));
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void m(String str) {
int i = 2 % 2;
int i2 = t + 13;
p = i2 % 128;
if (i2 % 2 != 0) {
Xb_(this, R.id.root_activity, str, EnumC8951daY.SUCCESS);
return;
}
Xb_(this, R.id.root_activity, str, EnumC8951daY.SUCCESS);
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6659cZb
public final void b() {
int i = 2 % 2;
int i2 = p + 7;
t = i2 % 128;
if (i2 % 2 != 0) {
startActivity(ReviewInfoResultActivity.ajy_(this, getString(R.string.ntb_fillinformation_review_info_result_error_title_page), getString(R.string.ntb_fillinformation_review_info_error_title), getString(R.string.ntb_fillinformation_review_info_error_description)));
setResult(-1);
finish();
int i3 = 87 / 0;
} else {
startActivity(ReviewInfoResultActivity.ajy_(this, getString(R.string.ntb_fillinformation_review_info_result_error_title_page), getString(R.string.ntb_fillinformation_review_info_error_title), getString(R.string.ntb_fillinformation_review_info_error_description)));
setResult(-1);
finish();
}
int i4 = t + 93;
p = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
EkycOtpActivity ekycOtpActivity = (EkycOtpActivity) objArr[0];
ST st = (ST) objArr[1];
int i = 2 % 2;
String stringExtra = ekycOtpActivity.getIntent().getStringExtra("com.scb.phone.view.activity.ntb.EkycOtpActivity.EXTRA_FIREBASE_SOURCE");
Intent intent = new Intent(ekycOtpActivity, (Class<?>) EkycSuccessActivity.class);
intent.putExtra("com.scb.phone.view.activity.ntb.EkycSuccessActivity.EXTRA_CONFIRMATION_DISPLAY", st);
if (!(!gjJ.a(stringExtra))) {
int i2 = t + 91;
p = i2 % 128;
int i3 = i2 % 2;
intent.putExtra("com.scb.phone.view.activity.ntb.EkycSuccessActivity.EXTRA_FIREBASE_SOURCE", stringExtra);
int i4 = t + 111;
p = i4 % 128;
int i5 = i4 % 2;
}
ekycOtpActivity.startActivity(intent);
ekycOtpActivity.setResult(-1);
ekycOtpActivity.finish();
int i6 = p + 73;
t = i6 % 128;
int i7 = i6 % 2;
return null;
}
@Override // o.InterfaceC6659cZb
public final void c(String str) {
int i = 2 % 2;
int i2 = t + 99;
p = i2 % 128;
int i3 = i2 % 2;
Xb_(this, R.id.root_activity, str, EnumC8951daY.ERROR);
int i4 = p + 121;
t = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Removed duplicated region for block: B:77:0x02ef */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:75:0x02e9 -> B:70:0x02eb). 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 ay(int[] r19, boolean r20, byte[] r21, java.lang.Object[] r22) {
/*
Method dump skipped, instructions count: 806
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.ay(int[], boolean, byte[], java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x002b, code lost:
r4 = com.scb.phone.view.activity.ntb.EkycOtpActivity.t + 55;
com.scb.phone.view.activity.ntb.EkycOtpActivity.p = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0034, code lost:
if ((r4 % 2) != 0) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0036, code lost:
r1.mTitleTextView.setVisibility(1);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x003c, code lost:
r1.mTitleTextView.setText(r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0042, code lost:
r1.mTitleTextView.setVisibility(0);
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0029, code lost:
if (o.gjJ.a(r3) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if (o.gjJ.a(r3) != false) goto L9;
*/
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void e(o.C0693Mj r7) {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ntb.EkycOtpActivity.t
int r1 = r1 + 75
int r2 = r1 % 128
com.scb.phone.view.activity.ntb.EkycOtpActivity.p = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L1f
com.scb.phone.view.custom.common.CustomDialog r1 = com.scb.phone.view.custom.common.CustomDialog.b(r6)
java.lang.String r3 = r7.d
boolean r4 = o.gjJ.a(r3)
r5 = 78
int r5 = r5 / r2
if (r4 == 0) goto L48
goto L2b
L1f:
com.scb.phone.view.custom.common.CustomDialog r1 = com.scb.phone.view.custom.common.CustomDialog.b(r6)
java.lang.String r3 = r7.d
boolean r4 = o.gjJ.a(r3)
if (r4 == 0) goto L48
L2b:
int r4 = com.scb.phone.view.activity.ntb.EkycOtpActivity.t
int r4 = r4 + 55
int r5 = r4 % 128
com.scb.phone.view.activity.ntb.EkycOtpActivity.p = r5
int r4 = r4 % r0
if (r4 != 0) goto L42
android.widget.TextView r0 = r1.mTitleTextView
r4 = 1
r0.setVisibility(r4)
L3c:
android.widget.TextView r0 = r1.mTitleTextView
r0.setText(r3)
goto L48
L42:
android.widget.TextView r0 = r1.mTitleTextView
r0.setVisibility(r2)
goto L3c
L48:
java.lang.String r7 = r7.c
boolean r0 = o.gjJ.a(r7)
if (r0 == 0) goto L5a
android.widget.TextView r0 = r1.mTextTextView
r0.setVisibility(r2)
android.widget.TextView r0 = r1.mTextTextView
r0.setText(r7)
L5a:
o.edq r7 = new o.edq
r7.<init>(r6)
r0 = 2131953575(0x7f1307a7, float:1.9543625E38)
java.lang.Integer r2 = java.lang.Integer.valueOf(r0)
java.lang.Object[] r7 = new java.lang.Object[]{r1, r2, r7}
r1 = -95769672(0xfffffffffa4aabb8, float:-2.630817E35)
r2 = 95769672(0x5b55448, float:1.7052118E-35)
java.lang.Object r7 = com.scb.phone.view.custom.common.CustomDialog.a(r7, r1, r2, r0)
com.scb.phone.view.custom.common.CustomDialog r7 = (com.scb.phone.view.custom.common.CustomDialog) r7
o.edn r0 = new o.edn
r0.<init>(r6)
r1 = 2131958615(0x7f131b57, float:1.9553847E38)
com.scb.phone.view.custom.common.CustomDialog r7 = r7.aoT_(r1, r0)
r7.show()
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.e(o.Mj):void");
}
/* JADX WARN: Removed duplicated region for block: B:54:0x0231 */
/*
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: 857
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC11365edv, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = t + 67;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{5, 26, 9, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{31, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = p + 3;
t = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
int i5 = t + 11;
p = i5 % 128;
int i6 = i5 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), '5' - AndroidCharacter.getMirror('0'), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0022, code lost:
r1 = com.scb.phone.view.activity.ntb.EkycOtpActivity.t + 43;
com.scb.phone.view.activity.ntb.EkycOtpActivity.p = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x0033, code lost:
if ((r1 % 2) != 0) goto L13;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0035, code lost:
r8 = new java.lang.Object[1];
ay(new int[]{5, 26, 9, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r7 = new java.lang.Object[1];
ay(new int[]{31, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, r7);
r0 = r1.getMethod((java.lang.String) r7[0], new java.lang.Class[1]);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x0063, code lost:
r1 = (android.content.Context) r0.invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x006b, code lost:
r8 = new java.lang.Object[1];
ay(new int[]{5, 26, 9, 0}, true, new byte[]{1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r7 = new java.lang.Object[1];
ay(new int[]{31, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, r7);
r0 = r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // o.AbstractActivityC11365edv, 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 void onPause() {
/*
Method dump skipped, instructions count: 377
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.EkycOtpActivity.onPause():void");
}
@Override // o.AbstractActivityC11365edv, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) TextUtils.indexOf("", "", 0), TextUtils.indexOf("", "") - 1734094081, (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)) - 75, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 1079045686, (byte) TextUtils.getOffsetBefore("", 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, 49, 5}, true, null, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = p + 53;
t = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = p + 27;
t = i3 % 128;
if (i3 % 2 != 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 79;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{49, 48, 0, 0}, true, new byte[]{0, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) ((-1) - ImageFormat.getBitsPerPixel(0)), TextUtils.lastIndexOf("", '0') - 1734094062, (-74) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 1079045692 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{97, 64, 0, 0}, true, new byte[]{1, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new int[]{CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384, 74, 0, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{235, 5, 0, 0}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), (ViewConfiguration.getKeyRepeatDelay() >> 16) - 1734093999, (-75) - (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)), 1079045691 - View.combineMeasuredStates(0, 0), (byte) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).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 = p + 79;
t = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static /* synthetic */ void ajv_(EkycOtpActivity ekycOtpActivity, DialogInterface dialogInterface) {
int i = 2 % 2;
dialogInterface.dismiss();
C12912fKx.d((WeakReference<BaseActivity>) new WeakReference(ekycOtpActivity));
int i2 = p + 75;
t = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
EkycOtpActivity ekycOtpActivity = (EkycOtpActivity) objArr[0];
DialogInterface dialogInterface = (DialogInterface) objArr[1];
int i = 2 % 2;
int i2 = p + 49;
t = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
ekycOtpActivity.onBackPressed();
int i4 = p + 113;
t = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
@Override // o.AbstractActivityC11365edv, 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 = t + 45;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 53 / 0;
}
int i5 = t + 15;
p = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC6659cZb
public final void d(ST st) {
d(new Object[]{this, st}, 698312867, -698312867, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 64356899);
}
}