what-the-bank/sources/com/scb/phone/presentation/presenter/emailverification/ManageEmailInputPresenter.java

1220 lines
42 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.presentation.presenter.emailverification;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.scb.phone.domain.interactor.emailverification.UpdateEmailUseCase;
import com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter;
import java.lang.reflect.Method;
import java.util.regex.Pattern;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C15715hv;
import o.C16903sI;
import o.C1772aNx;
import o.C4729bff;
import o.C4735bfl;
import o.C4748bfy;
import o.FHl;
import o.InterfaceC13391fZD;
import o.Ogo;
import o.ZI;
import o.cZP;
import o.jTb;
import o.lUI;
import o.xzZ;
/* loaded from: classes4.dex */
public class ManageEmailInputPresenter extends ZI<cZP> {
private String a;
private String b;
@InterfaceC13391fZD
public FHl getUserProfileUseCase;
@InterfaceC13391fZD
public C1772aNx updateEmailLocallyUseCase;
@InterfaceC13391fZD
public UpdateEmailUseCase updateEmailUseCase;
@InterfaceC13391fZD
public lUI validateEmailUseCase;
private static final byte[] $$a = {ISO7816.INS_PSO, ISOFileInfo.FCP_BYTE, 99, -29};
private static final int $$b = 231;
private static int $10 = 0;
private static int $11 = 1;
private static int i = 0;
private static int g = 1;
private static char d = 27818;
private static char e = 58451;
private static char c = 30958;
private static char h = 19499;
public static /* synthetic */ Object c(Object[] objArr, int i2, int i3, int i4) {
String str;
int i5 = (i2 * (-515)) + (i3 * 517);
int i6 = ~i3;
int i7 = ~(i6 | i4);
int i8 = ~i4;
int i9 = i7 | (~(i8 | i2));
int i10 = ~(i8 | i3);
int i11 = ~i2;
int i12 = i5 + ((i9 | i10) * (-516)) + (((~(i4 | i6 | i11)) | (~(i11 | i8 | i3))) * 516) + (((~(i11 | i3)) | i10) * 516);
boolean z = true;
if (i12 != 1) {
return i12 != 2 ? i12 != 3 ? d(objArr) : c(objArr) : a(objArr);
}
boolean z2 = false;
ManageEmailInputPresenter manageEmailInputPresenter = (ManageEmailInputPresenter) objArr[0];
final Ogo ogo = (Ogo) objArr[1];
int i13 = 2 % 2;
if (manageEmailInputPresenter.f != 0) {
manageEmailInputPresenter.f.ar_();
}
C1772aNx c1772aNx = manageEmailInputPresenter.updateEmailLocallyUseCase;
String str2 = manageEmailInputPresenter.b;
if (!(!TextUtils.isEmpty(str2))) {
int i14 = g + 55;
i = i14 % 128;
if (i14 % 2 != 0) {
Object[] objArr2 = new Object[1];
k(new char[]{48995, 28320}, 1 >> (ViewConfiguration.getJumpTapTimeout() * 17), objArr2);
str = ((String) objArr2[0]).intern();
} else {
Object[] objArr3 = new Object[1];
k(new char[]{48995, 28320}, 1 - (ViewConfiguration.getJumpTapTimeout() >> 16), objArr3);
str = ((String) objArr3[0]).intern();
}
} else {
int i15 = g + 87;
i = i15 % 128;
int i16 = i15 % 2;
str = null;
}
Object[] objArr4 = new Object[1];
k(new char[]{48995, 28320}, 1 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr4);
c1772aNx.d(str2, ((String) objArr4[0]).intern(), str);
if (TextUtils.isEmpty(manageEmailInputPresenter.b)) {
C4735bfl c4735bfl = new C4735bfl();
if (manageEmailInputPresenter.f != 0) {
int i17 = i + 69;
g = i17 % 128;
int i18 = i17 % 2;
z2 = true;
}
if (!(!z2)) {
c4735bfl.e(manageEmailInputPresenter.f);
}
} else {
ZI.IeS ieS = new ZI.IeS(ogo) { // from class: o.bfp
private Ogo c;
@Override // o.ZI.IeS
public final void e(Object obj) {
ManageEmailInputPresenter.c(this.c, (cZP) obj);
}
{
this.c = ogo;
}
};
if (manageEmailInputPresenter.f != 0) {
int i19 = i + 19;
g = i19 % 128;
int i20 = i19 % 2;
} else {
z = false;
}
if (z) {
ieS.e(manageEmailInputPresenter.f);
}
}
return null;
}
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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 l(short r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
int r6 = r6 * 2
int r0 = 1 - r6
byte[] r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.$$a
int r7 = 67 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L15
r3 = r6
r7 = r8
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r8 = r8 + 1
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
r3 = r1[r8]
r5 = r8
r8 = r7
r7 = r5
L2c:
int r8 = r8 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.l(short, int, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public ManageEmailInputPresenter(C16903sI c16903sI) {
super(c16903sI);
}
private /* synthetic */ void a(boolean z, cZP czp) {
int i2 = 2 % 2;
int i3 = i + 109;
g = i3 % 128;
int i4 = i3 % 2;
czp.e(this.a, z);
int i5 = i + 63;
g = i5 % 128;
int i6 = i5 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:21:0x0030, code lost:
if (r5.getUserProfileUseCase.a.K().h == null) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0032, code lost:
r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i + 109;
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r1 % 128;
r1 = r1 % 2;
r5.a = r5.getUserProfileUseCase.a.K().h;
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0024, code lost:
if (r5.getUserProfileUseCase.a.K() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r5.getUserProfileUseCase.a.K() != null) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 91
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L1c
o.FHl r1 = r5.getUserProfileUseCase
o.Xky r1 = r1.a
o.iKd r1 = r1.K()
int r3 = r2 / r2
if (r1 == 0) goto L47
goto L26
L1c:
o.FHl r1 = r5.getUserProfileUseCase
o.Xky r1 = r1.a
o.iKd r1 = r1.K()
if (r1 == 0) goto L47
L26:
o.FHl r1 = r5.getUserProfileUseCase
o.Xky r1 = r1.a
o.iKd r1 = r1.K()
java.lang.String r1 = r1.h
if (r1 == 0) goto L47
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 109
int r3 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r3
int r1 = r1 % r0
o.FHl r1 = r5.getUserProfileUseCase
o.Xky r1 = r1.a
o.iKd r1 = r1.K()
java.lang.String r1 = r1.h
r5.a = r1
L47:
java.lang.String r1 = r5.a
if (r1 == 0) goto L66
int r3 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r3 = r3 + 17
int r4 = r3 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r4
int r3 = r3 % r0
if (r3 != 0) goto L5e
boolean r1 = r1.isEmpty()
if (r1 != 0) goto L66
r2 = 1
goto L66
L5e:
r1.isEmpty()
r0 = 0
r0.hashCode()
throw r0
L66:
o.bfm r1 = new o.bfm
r1.<init>(r5, r2)
T extends o.cYp r2 = r5.f
if (r2 == 0) goto L84
int r2 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r3 = r2 + 47
int r4 = r3 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r4
int r3 = r3 % r0
int r2 = r2 + 29
int r3 = r2 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r3
int r2 = r2 % r0
T extends o.cYp r2 = r5.f
r1.e(r2)
L84:
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r1 = r1 + 49
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.c():void");
}
public static /* synthetic */ void e(cZP czp) {
int i2 = 2 % 2;
int i3 = g + 73;
i = i3 % 128;
int i4 = i3 % 2;
czp.d(C15715hv.tOB.edit_email);
if (i4 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public static /* synthetic */ void d(cZP czp) {
int i2 = 2 % 2;
int i3 = i + 97;
g = i3 % 128;
int i4 = i3 % 2;
czp.d(C15715hv.tOB.manage_email);
int i5 = g + 45;
i = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void b() {
int i2 = 2 % 2;
int i3 = i + 99;
g = i3 % 128;
int i4 = i3 % 2;
Object obj = null;
if (this.getUserProfileUseCase.a.K() != null) {
int i5 = i + 59;
g = i5 % 128;
if (i5 % 2 == 0) {
String str = this.getUserProfileUseCase.a.K().h;
obj.hashCode();
throw null;
}
if (this.getUserProfileUseCase.a.K().h != null && !this.getUserProfileUseCase.a.K().h.isEmpty()) {
this.a = this.getUserProfileUseCase.a.K().h;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bfu
@Override // o.ZI.IeS
public final void e(Object obj2) {
ManageEmailInputPresenter.e((cZP) obj2);
}
};
if (this.f != 0) {
int i6 = g;
int i7 = i6 + 121;
i = i7 % 128;
int i8 = i7 % 2;
int i9 = i6 + 5;
i = i9 % 128;
int i10 = i9 % 2;
ieS.e(this.f);
return;
}
return;
}
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bfs
@Override // o.ZI.IeS
public final void e(Object obj2) {
ManageEmailInputPresenter.d((cZP) obj2);
}
};
if (this.f != 0) {
int i11 = g;
int i12 = i11 + 91;
i = i12 % 128;
int i13 = i12 % 2;
int i14 = i11 + 121;
i = i14 % 128;
if (i14 % 2 != 0) {
ieS2.e(this.f);
throw null;
}
ieS2.e(this.f);
}
int i15 = g + 109;
i = i15 % 128;
int i16 = i15 % 2;
}
public final void d() {
int i2 = 2 % 2;
if (TextUtils.isEmpty(this.a)) {
C4729bff c4729bff = new C4729bff();
if (this.f == 0) {
int i3 = g + 19;
i = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 2 % 4;
return;
}
return;
}
int i5 = g + 27;
i = i5 % 128;
int i6 = i5 % 2;
c4729bff.e(this.f);
int i7 = g + 13;
i = i7 % 128;
int i8 = i7 % 2;
return;
}
C4748bfy c4748bfy = new C4748bfy();
if (this.f != 0) {
c4748bfy.e(this.f);
}
}
public static /* synthetic */ void a(cZP czp) {
int i2 = 2 % 2;
int i3 = i + 53;
g = i3 % 128;
czp.d(i3 % 2 == 0);
}
public static /* synthetic */ void c(cZP czp) {
int i2 = 2 % 2;
int i3 = i + 109;
g = i3 % 128;
int i4 = i3 % 2;
czp.d(true);
int i5 = i + 107;
g = i5 % 128;
if (i5 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:15:0x001f, code lost:
r4 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g + 11;
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r4 % 128;
r4 = r4 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x002e, code lost:
if (android.text.TextUtils.isEmpty(r3.a) == false) goto L15;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0030, code lost:
r4 = new o.C4743bft();
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0037, code lost:
if (r3.f == 0) goto L22;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0039, code lost:
r4.e(r3.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x003e, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x001d, code lost:
if (android.text.TextUtils.isEmpty(r4) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if (android.text.TextUtils.isEmpty(r4) != false) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a(java.lang.String r4) {
/*
r3 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 97
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r1 = r1 % r0
if (r1 != 0) goto L19
boolean r4 = android.text.TextUtils.isEmpty(r4)
r1 = 42
int r1 = r1 / 0
if (r4 == 0) goto L3f
goto L1f
L19:
boolean r4 = android.text.TextUtils.isEmpty(r4)
if (r4 == 0) goto L3f
L1f:
int r4 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r4 = r4 + 11
int r1 = r4 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r1
int r4 = r4 % r0
java.lang.String r4 = r3.a
boolean r4 = android.text.TextUtils.isEmpty(r4)
if (r4 == 0) goto L3f
o.bft r4 = new o.bft
r4.<init>()
T extends o.cYp r0 = r3.f
if (r0 == 0) goto L3e
T extends o.cYp r0 = r3.f
r4.e(r0)
L3e:
return
L3f:
o.bfA r4 = new o.bfA
r4.<init>()
T extends o.cYp r1 = r3.f
if (r1 == 0) goto L57
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 97
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r1 = r1 % r0
T extends o.cYp r0 = r3.f
r4.e(r0)
goto L65
L57:
int r4 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r4 = r4 + 75
int r1 = r4 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r1
int r4 = r4 % r0
if (r4 == 0) goto L65
r4 = 3
int r4 = r4 / 4
L65:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.a(java.lang.String):void");
}
public final void e(String str) {
String intern;
int i2 = 2 % 2;
this.b = str;
ZI.IeS ieS = new ZI.IeS() { // from class: o.bfh
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZP) obj).e();
}
};
if (this.f != 0) {
int i3 = i + 83;
g = i3 % 128;
int i4 = i3 % 2;
ieS.e(this.f);
}
boolean z = false;
if (str != null && !str.isEmpty()) {
if (str == null || !Pattern.compile("^[_A-Za-z0-9-\\+]+(\\.[_A-Za-z0-9-]+)*@[A-Za-z0-9-]+(\\.[A-Za-z0-9]+)*(\\.[A-Za-z]{2,})$").matcher(str).matches()) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bfv
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZP) obj).h();
}
};
if (this.f != 0) {
int i5 = i + 9;
g = i5 % 128;
int i6 = i5 % 2;
ieS2.e(this.f);
return;
}
return;
}
if (!str.equals(this.a)) {
j();
return;
}
C4748bfy c4748bfy = new C4748bfy();
if (this.f != 0) {
int i7 = i + 121;
g = i7 % 128;
if (i7 % 2 != 0) {
c4748bfy.e(this.f);
return;
} else {
c4748bfy.e(this.f);
int i8 = 19 / 0;
return;
}
}
return;
}
this.b = "";
if (this.getUserProfileUseCase.a.K() == null || this.getUserProfileUseCase.a.K().g == null) {
Object[] objArr = new Object[1];
k(new char[]{48995, 28320}, View.MeasureSpec.getSize(0) + 1, objArr);
intern = ((String) objArr[0]).intern();
} else {
int i9 = i + 87;
g = i9 % 128;
int i10 = i9 % 2;
intern = this.getUserProfileUseCase.a.K().g;
}
if (TextUtils.isEmpty(this.b)) {
Object[] objArr2 = new Object[1];
k(new char[]{27886, 16772}, Gravity.getAbsoluteGravity(0, 0) + 1, objArr2);
if (intern.equalsIgnoreCase(((String) objArr2[0]).intern())) {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.bfo
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZP) obj).j();
}
};
if (this.f != 0) {
int i11 = g + 65;
i = i11 % 128;
int i12 = i11 % 2;
z = true;
}
if (!(!z)) {
int i13 = g + 103;
i = i13 % 128;
int i14 = i13 % 2;
ieS3.e(this.f);
return;
}
return;
}
}
ZI.IeS ieS4 = new ZI.IeS() { // from class: o.bfr
@Override // o.ZI.IeS
public final void e(Object obj) {
((cZP) obj).d();
}
};
if (this.f != 0) {
ieS4.e(this.f);
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0029, code lost:
if (android.text.TextUtils.isEmpty(r5.a) != false) goto L18;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x002d, code lost:
if (r5.f == 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x002f, code lost:
r5.f.y();
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0034, code lost:
r1 = r5.updateEmailUseCase;
r1.d(r1.c(), new o.C4732bfi(r5), new o.C4734bfk(r5));
r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g + 9;
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0050, code lost:
if ((r1 % 2) == 0) goto L23;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0052, code lost:
r0 = 30 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0056, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0021, code lost:
if (android.text.TextUtils.isEmpty(r5.b) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (android.text.TextUtils.isEmpty(r5.b) != false) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void j() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 63
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r1 = r1 % r0
if (r1 != 0) goto L1b
java.lang.String r1 = r5.b
boolean r1 = android.text.TextUtils.isEmpty(r1)
r2 = 89
int r2 = r2 / 0
if (r1 == 0) goto L57
goto L23
L1b:
java.lang.String r1 = r5.b
boolean r1 = android.text.TextUtils.isEmpty(r1)
if (r1 == 0) goto L57
L23:
java.lang.String r1 = r5.a
boolean r1 = android.text.TextUtils.isEmpty(r1)
if (r1 != 0) goto L57
T extends o.cYp r1 = r5.f
if (r1 == 0) goto L34
T extends o.cYp r1 = r5.f
r1.y()
L34:
com.scb.phone.domain.interactor.emailverification.UpdateEmailUseCase r1 = r5.updateEmailUseCase
o.fSk r2 = r1.c()
o.bfi r3 = new o.bfi
r3.<init>(r5)
o.bfk r4 = new o.bfk
r4.<init>(r5)
r1.d(r2, r3, r4)
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r1 = r1 + 9
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r2
int r1 = r1 % r0
if (r1 == 0) goto L56
r0 = 30
int r0 = r0 / 0
L56:
return
L57:
T extends o.cYp r1 = r5.f
if (r1 == 0) goto L70
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r2 = r1 + 95
int r3 = r2 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r3
int r2 = r2 % r0
int r1 = r1 + 3
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r2
int r1 = r1 % r0
T extends o.cYp r0 = r5.f
r0.y()
L70:
com.scb.phone.domain.interactor.emailverification.UpdateEmailUseCase r0 = r5.updateEmailUseCase
java.lang.String r1 = r5.b
o.fSk r1 = r0.e(r1)
o.bfj r2 = new o.bfj
r2.<init>(r5)
o.bfk r3 = new o.bfk
r3.<init>(r5)
r0.d(r1, r2, r3)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.j():void");
}
private static void k(char[] cArr, int i2, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i5 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[i5] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = 58224;
int i7 = i5;
while (i7 < 16) {
int i8 = $11 + 125;
$10 = i8 % 128;
int i9 = i8 % i3;
char c2 = cArr3[1];
char c3 = cArr3[i5];
int i10 = (c3 + i6) ^ ((c3 << 4) + ((char) (c ^ 41718355337583039L)));
int i11 = c3 >>> 5;
try {
Object[] objArr2 = new Object[4];
objArr2[3] = Integer.valueOf(h);
objArr2[i3] = Integer.valueOf(i11);
objArr2[1] = Integer.valueOf(i10);
objArr2[i5] = Integer.valueOf(c2);
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - Drawable.resolveOpacity(i5, i5), (CdmaCellLocation.convertQuartSecToDecDegrees(i5) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(i5) == 0.0d ? 0 : -1)) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))));
byte b = (byte) i5;
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
l(b, b2, (byte) (-b2), objArr3);
String str = (String) objArr3[i5];
Class<?>[] clsArr = new Class[4];
clsArr[i5] = Integer.TYPE;
clsArr[1] = Integer.TYPE;
clsArr[2] = Integer.TYPE;
clsArr[3] = Integer.TYPE;
obj = cls.getMethod(str, clsArr);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
char[] cArr4 = cArr3;
Object[] objArr4 = {Integer.valueOf(cArr3[i5]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (d ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(e)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getEdgeSlop() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
l(b3, b4, (byte) (-b4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i7++;
cArr3 = cArr4;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - Color.red(0), 5 - TextUtils.indexOf("", "", 0, 0), (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
l(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i12 = $10 + 47;
$11 = i12 % 128;
int i13 = i12 % 2;
i3 = 2;
cArr3 = cArr5;
i5 = 0;
}
objArr[0] = new String(cArr2, 0, i2);
}
public final void a() {
int i2 = 2 % 2;
if (TextUtils.isEmpty(this.a)) {
C4729bff c4729bff = new C4729bff();
if (this.f != 0) {
int i3 = g + 33;
i = i3 % 128;
if (i3 % 2 != 0) {
return;
}
c4729bff.e(this.f);
return;
}
return;
}
if (this.a.equalsIgnoreCase(this.getUserProfileUseCase.a.K().h)) {
String str = this.getUserProfileUseCase.a.K().i;
Object[] objArr = new Object[1];
k(new char[]{27886, 16772}, TextUtils.indexOf("", "") + 1, objArr);
if (str.equalsIgnoreCase(((String) objArr[0]).intern())) {
C4729bff c4729bff2 = new C4729bff();
if (this.f != 0) {
int i4 = g + 49;
i = i4 % 128;
int i5 = i4 % 2;
c4729bff2.e(this.f);
return;
}
return;
}
}
C4748bfy c4748bfy = new C4748bfy();
if (this.f != 0) {
c4748bfy.e(this.f);
}
}
private void b(boolean z) {
int i2 = 2 % 2;
int i3 = g + 19;
i = i3 % 128;
int i4 = i3 % 2;
if (this.f != 0) {
int i5 = i + 109;
g = i5 % 128;
int i6 = i5 % 2;
this.f.ar_();
}
if (z) {
C1772aNx c1772aNx = this.updateEmailLocallyUseCase;
String str = this.b;
Object[] objArr = new Object[1];
k(new char[]{48995, 28320}, -(ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr);
String intern = ((String) objArr[0]).intern();
Object[] objArr2 = new Object[1];
k(new char[]{48995, 28320}, -((byte) KeyEvent.getModifierMetaStateMask()), objArr2);
c1772aNx.d(str, intern, ((String) objArr2[0]).intern());
C4735bfl c4735bfl = new C4735bfl();
if (this.f != 0) {
int i7 = g + 23;
i = i7 % 128;
int i8 = i7 % 2;
c4735bfl.e(this.f);
}
}
}
public static /* synthetic */ void c(Ogo ogo, cZP czp) {
int i2 = 2 % 2;
int i3 = i + 67;
g = i3 % 128;
int i4 = i3 % 2;
czp.d(ogo.e, ogo.c);
int i5 = g + 105;
i = i5 % 128;
if (i5 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
ManageEmailInputPresenter manageEmailInputPresenter = (ManageEmailInputPresenter) objArr[0];
cZP czp = (cZP) objArr[1];
int i2 = 2 % 2;
int i3 = i + 75;
g = i3 % 128;
int i4 = i3 % 2;
String str = manageEmailInputPresenter.b;
czp.g();
int i5 = i + 91;
g = i5 % 128;
Object obj = null;
if (i5 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private /* synthetic */ void c(Throwable th, cZP czp) {
int i2 = 2 % 2;
int i3 = i + 89;
g = i3 % 128;
int i4 = i3 % 2;
czp.e(this.j.e(th));
int i5 = g + 33;
i = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x001c, code lost:
r1 = true;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x001a, code lost:
if (r5.f != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r5.f != 0) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x001e, code lost:
r1 = false;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private void g(final java.lang.Throwable r6) {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r1 = r1 + 13
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r1 = r1 % r0
r2 = 1
r3 = 0
if (r1 != 0) goto L18
T extends o.cYp r1 = r5.f
r4 = 28
int r4 = r4 / r3
if (r1 == 0) goto L1e
goto L1c
L18:
T extends o.cYp r1 = r5.f
if (r1 == 0) goto L1e
L1c:
r1 = r2
goto L1f
L1e:
r1 = r3
L1f:
r1 = r1 ^ r2
if (r1 == r2) goto L27
T extends o.cYp r1 = r5.f
r1.ar_()
L27:
boolean r1 = r6 instanceof com.scb.phone.domain.interactor.emailverification.UpdateEmailUseCase.Error1047
if (r1 == 0) goto L46
o.bfy r6 = new o.bfy
r6.<init>()
T extends o.cYp r1 = r5.f
if (r1 == 0) goto L45
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r1 = r1 + 43
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r2
int r1 = r1 % r0
if (r1 == 0) goto L40
goto L45
L40:
T extends o.cYp r0 = r5.f
r6.e(r0)
L45:
return
L46:
boolean r1 = r6 instanceof com.scb.phone.domain.interactor.emailverification.UpdateEmailUseCase.Error3000
if (r1 == 0) goto L7a
o.bfq r6 = new o.bfq
r6.<init>(r5)
T extends o.cYp r1 = r5.f
if (r1 == 0) goto L6c
int r1 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g
int r1 = r1 + 113
int r2 = r1 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i = r2
int r1 = r1 % r0
if (r1 == 0) goto L67
T extends o.cYp r1 = r5.f
r6.e(r1)
r6 = 50
int r6 = r6 / r3
goto L6c
L67:
T extends o.cYp r1 = r5.f
r6.e(r1)
L6c:
int r6 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r6 = r6 + 11
int r1 = r6 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r1
int r6 = r6 % r0
if (r6 == 0) goto L78
return
L78:
r6 = 0
throw r6
L7a:
o.bfn r1 = new o.bfn
r1.<init>(r5, r6)
T extends o.cYp r6 = r5.f
if (r6 == 0) goto L91
int r6 = com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.i
int r6 = r6 + 61
int r2 = r6 % 128
com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g = r2
int r6 = r6 % r0
T extends o.cYp r6 = r5.f
r1.e(r6)
L91:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.presentation.presenter.emailverification.ManageEmailInputPresenter.g(java.lang.Throwable):void");
}
private static /* synthetic */ Object c(Object[] objArr) {
ManageEmailInputPresenter manageEmailInputPresenter = (ManageEmailInputPresenter) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
cZP czp = (cZP) objArr[2];
int i2 = 2 % 2;
int i3 = i + 11;
g = i3 % 128;
int i4 = i3 % 2;
manageEmailInputPresenter.a(booleanValue, czp);
if (i4 != 0) {
return null;
}
int i5 = 64 / 0;
return null;
}
private static /* synthetic */ Object a(Object[] objArr) {
ManageEmailInputPresenter manageEmailInputPresenter = (ManageEmailInputPresenter) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i2 = 2 % 2;
int i3 = i + 121;
g = i3 % 128;
int i4 = i3 % 2;
manageEmailInputPresenter.b(booleanValue);
if (i4 != 0) {
return null;
}
throw null;
}
private void a(Ogo ogo) {
c(new Object[]{this, ogo}, -1369462269, 1369462270, System.identityHashCode(this));
}
private /* synthetic */ void b(cZP czp) {
c(new Object[]{this, czp}, 384655612, -384655612, System.identityHashCode(this));
}
public static /* synthetic */ void d(ManageEmailInputPresenter manageEmailInputPresenter, Throwable th, cZP czp) {
int i2 = 2 % 2;
int i3 = i + 23;
g = i3 % 128;
int i4 = i3 % 2;
manageEmailInputPresenter.c(th, czp);
int i5 = i + 55;
g = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void e(ManageEmailInputPresenter manageEmailInputPresenter, cZP czp) {
int i2 = 2 % 2;
int i3 = g + 47;
i = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = {manageEmailInputPresenter, czp};
int identityHashCode = System.identityHashCode(manageEmailInputPresenter);
if (i4 != 0) {
c(objArr, 384655612, -384655612, identityHashCode);
int i5 = 77 / 0;
} else {
c(objArr, 384655612, -384655612, identityHashCode);
}
int i6 = i + 67;
g = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 96 / 0;
}
}
public static /* synthetic */ void e(ManageEmailInputPresenter manageEmailInputPresenter, Throwable th) {
int i2 = 2 % 2;
int i3 = i + 21;
g = i3 % 128;
int i4 = i3 % 2;
manageEmailInputPresenter.g(th);
int i5 = g + 25;
i = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void c(ManageEmailInputPresenter manageEmailInputPresenter, Ogo ogo) {
int i2 = 2 % 2;
int i3 = g + 7;
i = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = {manageEmailInputPresenter, ogo};
int identityHashCode = System.identityHashCode(manageEmailInputPresenter);
if (i4 != 0) {
c(objArr, -1369462269, 1369462270, identityHashCode);
int i5 = 58 / 0;
} else {
c(objArr, -1369462269, 1369462270, identityHashCode);
}
int i6 = g + 37;
i = i6 % 128;
if (i6 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}