what-the-bank/sources/com/scb/phone/view/activity/emailverification/ManageEmailLandingActivity....

903 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.emailverification;
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.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MenuItem;
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 butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13846fhy;
import o.C16898sG;
import o.C4749bfz;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC6655cZN;
import o.dLA;
import o.dQY;
import o.nMh;
import o.xzZ;
import org.jmrtd.cbeff.ISO781611;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class ManageEmailLandingActivity extends dLA implements InterfaceC6655cZN {
@BindView
Button btnEnterEmailVerification;
@BindView
Button btnSendEmailVerification;
@BindView
TextView emailVerifyDescription;
private C13846fhy k;
private boolean l;
@InterfaceC13391fZD
public C16898sG manageEmailCommonDisplayMapper;
@InterfaceC13391fZD
public C4749bfz presenter;
@BindView
TextView tvEmail;
@BindView
TextView tvIsVerified;
private static final byte[] $$p = {54, 41, ISO7816.INS_GET_RESPONSE, 43};
private static final int $$q = ISO781611.BIOMETRIC_SUBTYPE_TAG;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f7128o = {34738, 43416, 56317, 3534, 16168, 24835, 37737, 50430, 63124, 6381, 19087, 31764, 44573, 53341, 438, 13213, 26096, 38869, 36799, 41358, 54221, 1492, 14114, 12646, 8012, 27945, 47898, 35324, 55255, 9661, 29226, 16462, 44602, 64517, 51902, 6394, 26245, 46965, 34117, 54049, 8475, 4073, 24001, 43959, 63590, 50779, 5169, 25118, 45310, 36843, 41433, 54176, 1427, 14198};
private static long m = 7358075195221189111L;
private static char[] s = {49093, 49118, 49112, 49026, 49116, 49029, 49030, 49033, 49114, 49053, 49089, 49034, 49095, 49090, 49138, 49035, 49105, 49104, 49025, 49054, 49108, 49052, 49028, 49109, 49091, 49106, 49088, 49117, 49111, 49110, 49094, 49024, 49031, 49027, 49115, 49119};
private static char p = 35375;
/* 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:0x002b). 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 aC(short r7, short r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.$$p
int r8 = r8 + 4
int r7 = r7 * 2
int r7 = r7 + 1
int r9 = 120 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r3 = r9
r5 = r2
r9 = r8
goto L2b
L13:
r3 = r2
L14:
byte r4 = (byte) r9
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r7) goto L23
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L23:
int r8 = r8 + 1
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
r3 = r5
r6 = r9
r9 = r8
r8 = r6
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.aC(short, short, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 980) + (i2 * (-978));
int i5 = ~i2;
int i6 = ~i3;
if (i4 + ((~(i5 | i6)) * 979) + ((i | i3) * (-979)) + (((~(i | i6)) | (~(i5 | i3))) * 979) != 1) {
return e(objArr);
}
ManageEmailLandingActivity manageEmailLandingActivity = (ManageEmailLandingActivity) objArr[0];
DialogInterface dialogInterface = (DialogInterface) objArr[1];
int i7 = 2 % 2;
int i8 = q + 117;
t = i8 % 128;
int i9 = i8 % 2;
manageEmailLandingActivity.presenter.d();
dialogInterface.dismiss();
int i10 = t + 77;
q = i10 % 128;
int i11 = i10 % 2;
return null;
}
public static Intent aeW_(Activity activity) {
int i = 2 % 2;
Intent intent = new Intent(activity, (Class<?>) ManageEmailLandingActivity.class);
int i2 = q + 121;
t = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
throw null;
}
public static Intent aeX_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) ManageEmailLandingActivity.class);
intent.putExtra("EXTRA_IS_REQUESTED_FOR_RESULT", true);
int i2 = q + 13;
t = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
throw null;
}
private static void aA(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 57;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(f7128o[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - Color.blue(0), (char) (TextUtils.lastIndexOf("", '0') + 32798));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 & Ascii.SYN), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(m), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(413 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 & Ascii.NAK), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(407 - KeyEvent.normalizeMetaState(0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (TextUtils.getTrimmedLength("") + 29234));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 & 14), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 97;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(View.resolveSize(0, 0) + 407, ImageFormat.getBitsPerPixel(0) + 6, (char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 29234));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 - 1);
Object[] objArr9 = new Object[1];
aC(b7, b8, (byte) (b8 & 14), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
objArr[0] = new String(cArr);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00be, code lost:
if (r2 > 99999) goto L10;
*/
@Override // o.dLA, 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 r19) {
/*
Method dump skipped, instructions count: 1418
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.onCreate(android.os.Bundle):void");
}
/* JADX WARN: Code restructure failed: missing block: B:28:0x0021, code lost:
r1 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t + 119;
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q = r1 % 128;
r1 = r1 % 2;
r8 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aA(23 - (android.view.ViewConfiguration.getJumpTapTimeout() >> 16), (android.view.ViewConfiguration.getKeyRepeatDelay() >> 16) + 26, (char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 48819), r8);
r1 = java.lang.Class.forName((java.lang.String) r8[0]);
r8 = new java.lang.Object[1];
aB(new char[]{'\f', '#', 13882, 13882, 24, org.jnbis.internal.NistHelper.SEP_FS, '\r', 15, 13884, 13884, ' ', 11, '\r', 29, 14, 6, 3, org.jnbis.internal.NistHelper.SEP_FS}, (byte) (83 - (android.media.AudioTrack.getMaxVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMaxVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1))), ((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.billpayment_bnpl_monthly_interest_rate_remark).substring(0, 1).length() + 17, r8);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
r5 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t + 23;
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // o.dLA, 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 onResume() {
/*
Method dump skipped, instructions count: 416
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.onResume():void");
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
if (menuItem.getItemId() == 16908332) {
int i2 = q + 79;
t = i2 % 128;
if (i2 % 2 == 0) {
super.onBackPressed();
return false;
}
super.onBackPressed();
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i3 = t + 21;
q = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 69 / 0;
}
return onOptionsItemSelected;
}
@OnClick
public void onIbEmailEditClicked() {
int i = 2 % 2;
int i2 = t + 29;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
C4749bfz c4749bfz = this.presenter;
C4749bfz.a(new Object[]{c4749bfz}, 1857397338, -1857397335, System.identityHashCode(c4749bfz));
throw null;
}
C4749bfz c4749bfz2 = this.presenter;
C4749bfz.a(new Object[]{c4749bfz2}, 1857397338, -1857397335, System.identityHashCode(c4749bfz2));
int i3 = t + 55;
q = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@OnClick
public void onBtnEnterEmailVerificationClicked() {
int i = 2 % 2;
int i2 = q + 97;
t = i2 % 128;
int i3 = i2 % 2;
this.k.d("button", "enter_verification_code");
this.presenter.c();
int i4 = t + 7;
q = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@OnClick
public void onBtnSendEmailVerificationClicked() {
int i = 2 % 2;
int i2 = q + 123;
t = i2 % 128;
int i3 = i2 % 2;
this.k.d("button", "request_verification_code");
this.k.c(((BaseActivity) this).scbAnalytics, "emailverification_button");
this.presenter.b();
int i4 = q + 93;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6655cZN
public final void h() {
int i = 2 % 2;
int i2 = q + 57;
t = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = q + 113;
t = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
ManageEmailLandingActivity manageEmailLandingActivity = (ManageEmailLandingActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = t + 41;
q = i2 % 128;
int i3 = i2 % 2;
manageEmailLandingActivity.tvEmail.setText(str);
int i4 = t + 69;
q = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0141, code lost:
if (r2.b == r2.c) goto L39;
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0170, code lost:
r11 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r4 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x01bf, code lost:
if (r4 == null) goto L44;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x024f, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r11)).intValue() != r2.j) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x0253, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r4 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x0292, code lost:
if (r4 == null) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:51:0x0302, code lost:
r11 = null;
r4 = ((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r10)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x030f, code lost:
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x036c, code lost:
r2.e += 2;
r4 = r11;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0296, code lost:
r4 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getScrollBarFadeDuration() >> 16) + 327, android.text.TextUtils.indexOf("", "", 0) + 5, (char) android.view.KeyEvent.getDeadChar(0, 0));
r12 = (byte) 0;
r13 = (byte) (r12 - 1);
r15 = new java.lang.Object[1];
aC(r12, r13, (byte) (r13 + 3), r15);
r4 = r4.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x0323, code lost:
r11 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:57:0x0329, code lost:
if (r2.a != r2.d) goto L58;
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x032b, code lost:
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r4 = (r2.a * r1) + r2.f;
r10 = (r2.d * r1) + r2.j;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x0353, code lost:
r4 = (r2.a * r1) + r2.j;
r10 = (r2.d * r1) + r2.f;
r5[r2.e] = r3[r4];
r5[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x01c3, code lost:
r4 = (java.lang.Class) o.xzZ.c(233 - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), android.view.KeyEvent.getDeadChar(0, 0) + 5, (char) ((android.view.ViewConfiguration.getJumpTapTimeout() >> 16) + 22024));
r12 = (byte) 0;
r14 = (byte) (r12 - 1);
r15 = new java.lang.Object[1];
aC(r12, r14, (byte) (r14 + 1), r15);
r4 = r4.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r4);
*/
/* JADX WARN: Code restructure failed: missing block: B:64:0x0157, code lost:
r5[r2.e] = (char) (r2.b - r27);
r5[r2.e + 1] = (char) (r2.c - r27);
r11 = r4;
*/
/* JADX WARN: Code restructure failed: missing block: B:67:0x0155, code lost:
if (r2.b == r2.c) goto L39;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aB(char[] r26, byte r27, int r28, java.lang.Object[] r29) {
/*
Method dump skipped, instructions count: 925
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.aB(char[], byte, int, java.lang.Object[]):void");
}
@Override // o.InterfaceC6655cZN
public final void a() {
Intent aeU_;
int i;
int i2 = 2 % 2;
int i3 = q + 1;
t = i3 % 128;
if (i3 % 2 == 0) {
aeU_ = ManageEmailInputActivity.aeU_(this, this.l);
i = 86;
} else {
aeU_ = ManageEmailInputActivity.aeU_(this, this.l);
i = 100;
}
startActivityForResult(aeU_, i);
int i4 = q + 5;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6655cZN
public final void e(String str, String str2, boolean z) {
Intent afa_;
int i;
int i2 = 2 % 2;
if (this.l) {
int i3 = q + 107;
t = i3 % 128;
if (i3 % 2 == 0) {
afa_ = ManageEmailVerificationActivity.afa_(this, str, str2, z, false);
i = 91;
} else {
afa_ = ManageEmailVerificationActivity.afa_(this, str, str2, z, true);
i = 101;
}
startActivityForResult(afa_, i);
return;
}
startActivity((Intent) ManageEmailVerificationActivity.c(new Object[]{this, str, str2, Boolean.valueOf(z)}, -1122158541, 1122158541, (int) System.currentTimeMillis()));
int i4 = t + 125;
q = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC6655cZN
public final void d(boolean z) {
int i = 2 % 2;
int i2 = q + 91;
int i3 = i2 % 128;
t = i3;
int i4 = i2 % 2;
if (z) {
int i5 = i3 + 29;
q = i5 % 128;
int i6 = i5 % 2;
this.btnEnterEmailVerification.setVisibility(0);
this.btnSendEmailVerification.setVisibility(8);
this.emailVerifyDescription.setText(R.string.manage_email_verified_code_send_description);
int i7 = t + 89;
q = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 35 / 0;
return;
}
return;
}
this.btnEnterEmailVerification.setVisibility(8);
this.btnSendEmailVerification.setVisibility(0);
this.emailVerifyDescription.setText(R.string.manage_email_verified_code_not_send_description);
}
/* JADX WARN: Code restructure failed: missing block: B:26:0x0047, code lost:
if (r4.l != false) goto L24;
*/
/* JADX WARN: Removed duplicated region for block: B:12:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:9:0x0073 */
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onActivityResult(int r5, int r6, android.content.Intent r7) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
r1 = 100
if (r5 == r1) goto L1a
int r1 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q
int r1 = r1 + 95
int r2 = r1 % 128
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t = r2
int r1 = r1 % r0
if (r1 != 0) goto L16
r1 = 6
if (r5 != r1) goto L65
goto L1a
L16:
r1 = 101(0x65, float:1.42E-43)
if (r5 != r1) goto L65
L1a:
r1 = -1
java.lang.String r2 = "EXTRA_EMAIL_STATUS"
if (r1 != r6) goto L4d
int r1 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q
int r1 = r1 + 47
int r3 = r1 % 128
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t = r3
int r1 = r1 % r0
if (r7 == 0) goto L65
int r3 = r3 + 1
int r1 = r3 % 128
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q = r1
int r3 = r3 % r0
if (r3 == 0) goto L3a
int r1 = r7.getIntExtra(r2, r0)
if (r1 == 0) goto L49
goto L40
L3a:
int r1 = r7.getIntExtra(r2, r0)
if (r1 == 0) goto L49
L40:
o.bfz r1 = r4.presenter
r1.g()
boolean r1 = r4.l
if (r1 == 0) goto L65
L49:
r4.finish()
return
L4d:
if (r6 != 0) goto L65
if (r7 == 0) goto L65
int r1 = r7.getIntExtra(r2, r0)
if (r1 != r0) goto L65
int r1 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q
int r1 = r1 + 61
int r2 = r1 % 128
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t = r2
int r1 = r1 % r0
o.bfz r1 = r4.presenter
r1.g()
L65:
super.onActivityResult(r5, r6, r7)
int r5 = com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.t
int r5 = r5 + 99
int r6 = r5 % 128
com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.q = r6
int r5 = r5 % r0
if (r5 == 0) goto L77
r5 = 87
int r5 = r5 / 0
L77:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.onActivityResult(int, int, android.content.Intent):void");
}
@Override // o.InterfaceC6655cZN
public final void d() {
int i = 2 % 2;
int i2 = t + 101;
q = i2 % 128;
if (i2 % 2 != 0) {
e(this.manageEmailCommonDisplayMapper.h());
throw null;
}
e(this.manageEmailCommonDisplayMapper.h());
int i3 = t + 79;
q = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.InterfaceC6655cZN
public final void b(boolean z) {
String str;
int i = 2 % 2;
if (z) {
int i2 = t + 111;
q = i2 % 128;
int i3 = i2 % 2;
this.tvIsVerified.setTextColor(nMh.getColor(this, R.color.f13642131100872));
this.tvIsVerified.setText(R.string.manage_email_verified);
} else {
this.tvIsVerified.setTextColor(nMh.getColor(this, R.color.f13652131100873));
this.tvIsVerified.setText(R.string.manage_email_not_verified);
}
if (TextUtils.isEmpty(this.tvEmail.getText().toString())) {
int i4 = q + 3;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
str = "empty";
} else if (z) {
int i5 = t + 87;
q = i5 % 128;
int i6 = i5 % 2;
str = "verified";
} else {
str = "unverified";
}
this.k.d("email_status", str);
this.k.c(((BaseActivity) this).scbAnalytics, "emailverification_status");
}
@Override // o.InterfaceC6655cZN
public final void b() {
int i = 2 % 2;
int i2 = q + 107;
t = i2 % 128;
int i3 = i2 % 2;
Xb_(this, R.id.view_group_root, getString(R.string.manage_email_otp_resend_error), EnumC8951daY.ERROR);
int i4 = q + 101;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC6655cZN
public final void e() {
int i = 2 % 2;
int i2 = t + 3;
q = i2 % 128;
int i3 = i2 % 2;
this.btnEnterEmailVerification.setVisibility(8);
this.btnSendEmailVerification.setVisibility(8);
this.emailVerifyDescription.setText("");
int i4 = t + 19;
q = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 58 / 0;
}
}
public static /* synthetic */ void aeY_(DialogInterface dialogInterface) {
int i = 2 % 2;
int i2 = t + 125;
q = i2 % 128;
int i3 = i2 % 2;
dialogInterface.dismiss();
if (i3 != 0) {
throw null;
}
}
@Override // o.InterfaceC6655cZN
public final void c() {
int i = 2 % 2;
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.edit_email_things_you_should_know).d(R.string.edit_email_things_you_should_know_description).aoT_(R.string.continue_dialog_label, new DialogInterface.OnClickListener(this) { // from class: o.dLM
private ManageEmailLandingActivity b;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
ManageEmailLandingActivity.c(new Object[]{this.b, dialogInterface}, 1671930488, -1671930487, (int) System.currentTimeMillis());
}
{
this.b = this;
}
}), Integer.valueOf(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.dLN
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i2) {
ManageEmailLandingActivity.aeY_(dialogInterface);
}
}})).show();
int i2 = t + 63;
q = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.dLA, 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 = t + 107;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_summary_my_investment_message).substring(0, 1).codePointAt(0) - 19, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_my_insurance_no_policy_description).substring(45, 46).length() + 25, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 48807), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{'\f', '#', 13882, 13882, 24, NistHelper.SEP_FS, '\r', 15, 13884, 13884, ' ', 11, '\r', 29, 14, 6, 3, NistHelper.SEP_FS}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_soi_format).substring(3, 9).length() + 76), 18 - View.combineMeasuredStates(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 99;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 117;
q = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, 5 - KeyEvent.keyCodeFromString(""), (char) TextUtils.getOffsetBefore("", 0))).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(487 - TextUtils.getCapsMode("", 0, 0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", "", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 4 - MotionEvent.axisFromString(""), (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionType(0L), 5 - (Process.myPid() >> 22), (char) View.MeasureSpec.getSize(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i7 = t + 61;
q = i7 % 128;
int i8 = i7 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0083, code lost:
if (r2 > 99999) goto L11;
*/
@Override // o.dLA, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r17) {
/*
Method dump skipped, instructions count: 888
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.emailverification.ManageEmailLandingActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.dLA, 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 + 123;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 13;
t = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC6655cZN
public final void d(String str) {
c(new Object[]{this, str}, -543327944, 543327944, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1437502295);
}
}