what-the-bank/sources/com/scb/phone/view/fragment/otppin/OtpPinFragment.java

945 lines
33 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.fragment.otppin;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.TextView;
import androidx.fragment.app.FragmentActivity;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.R;
import com.scb.phone.view.custom.login.CustomKeypad;
import com.scb.phone.view.custom.login.CustomPinTextInput;
import java.lang.reflect.Method;
import o.C1004Tm;
import o.C15715hv;
import o.C4403bZM;
import o.C7048cgt;
import o.InterfaceC10433eDx;
import o.InterfaceC13391fZD;
import o.InterfaceC8957dae;
import o.ZI;
import o.xzZ;
/* loaded from: classes5.dex */
public class OtpPinFragment extends Hilt_OtpPinFragment implements InterfaceC8957dae, InterfaceC10433eDx {
private String c;
@BindView
CustomKeypad customKeypad;
@BindView
CustomPinTextInput customPinInput;
private HBt d;
@BindView
public TextView enterOtpMessage;
@BindView
TextView errorMessage;
private String f;
private Sts g;
private String h;
private C7048cgt.IeS i = C7048cgt.IeS.DEFAULT;
private String j;
@InterfaceC13391fZD
public C7048cgt<InterfaceC8957dae> otpPresenter;
@BindView
TextView refCodeTextView;
private static final byte[] $$d = {74, -120, -98, -119};
private static final int $$e = 88;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* renamed from: o, reason: collision with root package name */
private static int f8060o = 1;
private static int[] l = {-1813442099, 478549909, -321743025, 611136531, 1708451690, -1876973974, -703174944, 174624109, -1671224331, 125962709, 1568948979, -182179413, -102928422, -563419330, -994743265, -1366880507, 1701861961, -2101029540};
/* loaded from: classes5.dex */
public interface HBt {
void a_(String str, String str2);
void m(String str);
}
/* loaded from: classes5.dex */
public interface Sts {
void c(String str);
}
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002f). 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 r(int r6, byte r7, short r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.fragment.otppin.OtpPinFragment.$$d
int r7 = r7 * 3
int r7 = 3 - r7
int r8 = r8 * 2
int r1 = 1 - r8
int r6 = r6 * 2
int r6 = 104 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L18
r3 = r7
r4 = r2
goto L2f
L18:
r3 = r2
L19:
int r7 = r7 + 1
byte r4 = (byte) r6
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r8) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
r3 = r0[r7]
r5 = r3
r3 = r7
r7 = r5
L2f:
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.otppin.OtpPinFragment.r(int, byte, short, java.lang.Object[]):void");
}
public static OtpPinFragment b(C1004Tm c1004Tm) {
int i = 2 % 2;
OtpPinFragment otpPinFragment = new OtpPinFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("BUNDLE_OTP_PIN_DISPLAY", c1004Tm);
otpPinFragment.setArguments(bundle);
int i2 = m + 13;
f8060o = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 20 / 0;
}
return otpPinFragment;
}
@Override // androidx.fragment.app.Fragment
public void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = f8060o + 19;
m = i2 % 128;
int i3 = i2 % 2;
super.onCreate(bundle);
if (getActivity() != null) {
int i4 = f8060o + 71;
m = i4 % 128;
if (i4 % 2 != 0) {
getActivity().getWindow().setSoftInputMode(4);
} else {
getActivity().getWindow().setSoftInputMode(2);
}
int i5 = f8060o + 73;
m = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 3 / 4;
}
}
}
/* JADX WARN: Code restructure failed: missing block: B:12:0x0047, code lost:
if (r6.d() == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0049, code lost:
r0 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o + 37;
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r0 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0052, code lost:
if ((r0 % 2) != 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0054, code lost:
r4.i = r6.d();
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x005b, code lost:
r4.i = r6.d();
r5 = null;
r5.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0065, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0066, code lost:
r4.f = r6.b();
r4.c = r6.a();
r4.h = r6.c();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0041, code lost:
if (r6 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0028, code lost:
if (r6 != null) goto L9;
*/
@Override // androidx.fragment.app.Fragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public android.view.View onCreateView(android.view.LayoutInflater r5, android.view.ViewGroup r6, android.os.Bundle r7) {
/*
r4 = this;
r7 = 2
int r0 = r7 % r7
int r0 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m
int r0 = r0 + 57
int r1 = r0 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r1
int r0 = r0 % r7
r1 = 0
r2 = 2131559803(0x7f0d057b, float:1.874496E38)
if (r0 != 0) goto L2b
android.view.View r5 = r5.inflate(r2, r6, r1)
butterknife.ButterKnife.c(r4, r5)
androidx.fragment.app.FragmentActivity r6 = r4.getActivity()
com.scb.phone.view.fragment.otppin.OtpPinFragment$HBt r6 = (com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt) r6
r4.d = r6
r4.aa()
o.Tm r6 = r4.i()
if (r6 == 0) goto L78
goto L43
L2b:
android.view.View r5 = r5.inflate(r2, r6, r1)
butterknife.ButterKnife.c(r4, r5)
androidx.fragment.app.FragmentActivity r6 = r4.getActivity()
com.scb.phone.view.fragment.otppin.OtpPinFragment$HBt r6 = (com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt) r6
r4.d = r6
r4.aa()
o.Tm r6 = r4.i()
if (r6 == 0) goto L78
L43:
o.cgt$IeS r0 = r6.d()
if (r0 == 0) goto L66
int r0 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o
int r0 = r0 + 37
int r1 = r0 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r1
int r0 = r0 % r7
if (r0 != 0) goto L5b
o.cgt$IeS r7 = r6.d()
r4.i = r7
goto L66
L5b:
o.cgt$IeS r5 = r6.d()
r4.i = r5
r5 = 0
r5.hashCode()
throw r5
L66:
java.lang.String r7 = r6.b()
r4.f = r7
java.lang.String r7 = r6.a()
r4.c = r7
java.lang.String r6 = r6.c()
r4.h = r6
L78:
android.widget.TextView r6 = r4.enterOtpMessage
java.lang.String r7 = r4.c
java.lang.Object[] r7 = new java.lang.Object[]{r7}
r0 = 2131957746(0x7f1317f2, float:1.9552085E38)
java.lang.String r7 = r4.getString(r0, r7)
r6.setText(r7)
o.cgt r6 = r4.d()
r6.e(r4)
java.lang.String r6 = r4.f
boolean r6 = o.gjJ.b(r6)
if (r6 != 0) goto Lae
o.cgt r6 = r4.d()
java.lang.String r7 = r4.f
java.lang.String r0 = r4.h
o.cgt$IeS r1 = r4.i
long r2 = android.os.SystemClock.elapsedRealtime()
r6.e = r2
r6.c = r1
r6.d(r7, r0)
Lae:
com.scb.phone.view.custom.login.CustomPinTextInput r6 = r4.customPinInput
r6.setPinInputListener(r4)
com.scb.phone.view.custom.login.CustomPinTextInput r6 = r4.customPinInput
r6.e()
com.scb.phone.view.custom.login.CustomKeypad r6 = r4.customKeypad
com.scb.phone.view.custom.login.CustomPinTextInput r7 = r4.customPinInput
r6.setKeypadListener(r7)
android.widget.TextView r6 = r4.errorMessage
java.lang.String r7 = ""
r6.setText(r7)
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.otppin.OtpPinFragment.onCreateView(android.view.LayoutInflater, android.view.ViewGroup, android.os.Bundle):android.view.View");
}
/* JADX WARN: Multi-variable type inference failed */
@Override // com.scb.phone.view.fragment.otppin.Hilt_OtpPinFragment, com.scb.phone.view.fragment.Hilt_BaseFragment, androidx.fragment.app.Fragment
public void onAttach(Context context) {
int i = 2 % 2;
int i2 = f8060o + 21;
m = i2 % 128;
if (i2 % 2 == 0) {
super.onAttach(context);
if (context instanceof Sts) {
this.g = (Sts) context;
}
int i3 = f8060o + 25;
m = i3 % 128;
int i4 = i3 % 2;
return;
}
super.onAttach(context);
boolean z = context instanceof Sts;
throw null;
}
private static void q(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int i3 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = l;
int i4 = 729798706;
int i5 = 1;
int i6 = 0;
if (iArr3 != null) {
int i7 = $10 + 77;
int i8 = i7 % 128;
$11 = i8;
int i9 = i7 % 2;
int length2 = iArr3.length;
int[] iArr4 = new int[length2];
int i10 = i8 + 29;
$10 = i10 % 128;
int i11 = i10 % 2;
int i12 = 0;
while (i12 < length2) {
try {
Object[] objArr2 = new Object[1];
objArr2[i6] = Integer.valueOf(iArr3[i12]);
Object obj = xzZ.y.get(Integer.valueOf(i4));
if (obj == null) {
Class cls = (Class) xzZ.c(16 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0', i6, i6) + 6, (char) (58134 - Color.argb(i6, i6, i6, i6)));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i12] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i12++;
i6 = 0;
i4 = 729798706;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length3 = iArr3.length;
int[] iArr5 = new int[length3];
int[] iArr6 = l;
if (iArr6 != null) {
int i13 = $11 + 95;
$10 = i13 % 128;
if (i13 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
} else {
length = iArr6.length;
iArr2 = new int[length];
}
int i14 = 0;
while (i14 < length) {
int i15 = $10 + 19;
$11 = i15 % 128;
if (i15 % 2 == 0) {
try {
Object[] objArr3 = new Object[i5];
objArr3[0] = Integer.valueOf(iArr6[i14]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i2 = length;
} else {
i2 = length;
obj2 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 15, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (58134 - View.resolveSize(0, 0)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr2[i14] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i14 %= 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(iArr6[i14])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 16, View.resolveSize(0, 0) + 5, (char) (58133 - TextUtils.indexOf((CharSequence) "", '0')))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr2[i14] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i14++;
}
length = i2;
i5 = 1;
}
iArr6 = iArr2;
}
System.arraycopy(iArr6, 0, iArr5, 0, length3);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i16 = $10 + 79;
$11 = i16 % 128;
int i17 = i16 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i18 = 0;
for (int i19 = 16; i18 < i19; i19 = 16) {
int i20 = $11 + 13;
$10 = i20 % 128;
if (i20 % 2 != 0) {
c4403bZM.e ^= iArr5[i18];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 118, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr6 = new Object[1];
r(b, b2, b2, objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i18 += 3;
} else {
c4403bZM.e ^= iArr5[i18];
Object[] objArr7 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(-1196964548);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 117, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Gravity.getAbsoluteGravity(0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
r(b3, b4, b4, objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj5);
}
int intValue2 = ((Integer) ((Method) obj5).invoke(null, objArr7)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i18++;
}
}
int i21 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i21;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i22 = c4403bZM.e;
int i23 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr9 = {c4403bZM, c4403bZM};
Object obj6 = xzZ.y.get(1914371176);
if (obj6 == null) {
Class cls4 = (Class) xzZ.c(98 - KeyEvent.normalizeMetaState(0), 5 - TextUtils.getOffsetAfter("", 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b5 = (byte) 1;
byte b6 = (byte) (b5 - 1);
Object[] objArr10 = new Object[1];
r(b5, b6, b6, objArr10);
obj6 = cls4.getMethod((String) objArr10[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj6);
}
((Method) obj6).invoke(null, objArr9);
int i24 = $11 + 85;
$10 = i24 % 128;
int i25 = i24 % 2;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.fragment.BaseFragment, androidx.fragment.app.Fragment
public void onDestroy() {
int i = 2 % 2;
d().w_();
if (this.otpPresenter.f != 0) {
int i2 = f8060o;
int i3 = i2 + 81;
m = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 19;
int i6 = i5 % 128;
m = i6;
int i7 = i5 % 2;
int i8 = i6 + 41;
f8060o = i8 % 128;
int i9 = i8 % 2;
this.otpPresenter.w_();
}
super.onDestroy();
}
/* JADX INFO: Access modifiers changed from: protected */
/* JADX WARN: Code restructure failed: missing block: B:10:0x0034, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x001e, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0035, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0020, code lost:
r3 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m + 77;
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r3 % 128;
r3 = r3 % 2;
r0 = (o.C1004Tm) r1.getParcelable("BUNDLE_OTP_PIN_DISPLAY");
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0031, code lost:
if (r3 == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0033, code lost:
return r0;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.C1004Tm i() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o
int r1 = r1 + 95
int r2 = r1 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L1a
android.os.Bundle r1 = r5.getArguments()
r3 = 46
int r3 = r3 / 0
if (r1 == 0) goto L35
goto L20
L1a:
android.os.Bundle r1 = r5.getArguments()
if (r1 == 0) goto L35
L20:
int r3 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m
int r3 = r3 + 77
int r4 = r3 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r4
int r3 = r3 % r0
java.lang.String r0 = "BUNDLE_OTP_PIN_DISPLAY"
android.os.Parcelable r0 = r1.getParcelable(r0)
o.Tm r0 = (o.C1004Tm) r0
if (r3 == 0) goto L34
return r0
L34:
throw r2
L35:
return r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.otppin.OtpPinFragment.i():o.Tm");
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0040, code lost:
r1 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o + 33;
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0049, code lost:
if ((r1 % 2) == 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x004b, code lost:
r0 = r2.e();
r1 = 90 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0058, code lost:
r1 = r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0054, code lost:
r0 = r2.e();
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x0034, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0023, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003e, code lost:
if (android.text.TextUtils.isEmpty(r2.e()) != false) goto L16;
*/
@Override // com.scb.phone.view.fragment.BaseFragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void aa() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o
int r1 = r1 + 77
int r2 = r1 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r2
int r1 = r1 % r0
r2 = 2131957748(0x7f1317f4, float:1.9552089E38)
if (r1 == 0) goto L26
super.aa()
r4.Y()
java.lang.String r1 = r4.getString(r2)
o.Tm r2 = r4.i()
r3 = 51
int r3 = r3 / 0
if (r2 == 0) goto L59
goto L36
L26:
super.aa()
r4.Y()
java.lang.String r1 = r4.getString(r2)
o.Tm r2 = r4.i()
if (r2 == 0) goto L59
L36:
java.lang.String r3 = r2.e()
boolean r3 = android.text.TextUtils.isEmpty(r3)
if (r3 != 0) goto L59
int r1 = com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o
int r1 = r1 + 33
int r3 = r1 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.m = r3
int r1 = r1 % r0
if (r1 == 0) goto L54
java.lang.String r0 = r2.e()
r1 = 90
int r1 = r1 / 0
goto L58
L54:
java.lang.String r0 = r2.e()
L58:
r1 = r0
L59:
r4.u(r1)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.otppin.OtpPinFragment.aa():void");
}
public void c(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = f8060o + 57;
m = i2 % 128;
int i3 = i2 % 2;
this.refCodeTextView.setText(getString(R.string.reference_code_sample, str3));
q(new int[]{1751440566, -1198767930}, 1 - TextUtils.indexOf("", "", 0), new Object[1]);
if (!(!((String) r5[0]).intern().equals(str))) {
this.j = str2;
}
this.errorMessage.setText("");
this.d.m(getString(R.string.otp_has_been_sent, this.c));
int i4 = f8060o + 55;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC8957dae
public final void b(String str) {
int i = 2 % 2;
int i2 = f8060o + 65;
m = i2 % 128;
int i3 = i2 % 2;
this.errorMessage.setText(str);
int i4 = f8060o + 75;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC10433eDx
public final void S_() {
int i = 2 % 2;
int i2 = f8060o + 99;
m = i2 % 128;
int i3 = i2 % 2;
this.errorMessage.setText("");
int i4 = m + 95;
f8060o = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 55 / 0;
}
}
@Override // o.InterfaceC10433eDx
public final void o_(String str) {
int i = 2 % 2;
int i2 = f8060o + 31;
m = i2 % 128;
if (i2 % 2 == 0) {
this.customPinInput.e();
String str2 = this.j;
if (str2 != null) {
this.d.a_(str2, str);
}
int i3 = m + 23;
f8060o = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 87 / 0;
return;
}
return;
}
this.customPinInput.e();
Object obj = null;
obj.hashCode();
throw null;
}
@OnClick
public void onResendSmsClick() {
int i = 2 % 2;
int i2 = m + 17;
f8060o = i2 % 128;
int i3 = i2 % 2;
final C7048cgt d = d();
String str = this.f;
final FragmentActivity activity = getActivity();
String str2 = this.h;
boolean z = false;
if (SystemClock.elapsedRealtime() - d.e < 15000) {
ZI.IeS ieS = new ZI.IeS(d, activity) { // from class: o.cgA
private Context b;
private C7048cgt e;
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC8957dae interfaceC8957dae = (InterfaceC8957dae) obj;
interfaceC8957dae.b(String.format(this.b.getString(C15715hv.tOB.opt_delay), String.valueOf((15000 - (SystemClock.elapsedRealtime() - this.e.e)) / 1000)));
}
{
this.e = d;
this.b = activity;
}
};
if (d.f != 0) {
int i4 = m + 7;
f8060o = i4 % 128;
int i5 = i4 % 2;
z = true;
}
if (z) {
ieS.e(d.f);
return;
}
return;
}
d.e = SystemClock.elapsedRealtime();
d.d(str, str2);
int i6 = f8060o + 67;
m = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 85 / 0;
}
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Code restructure failed: missing block: B:10:0x0025, code lost:
r3.c(r6);
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0028, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0023, code lost:
if (r3 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if (r3 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0029, code lost:
r1.i(r6);
r6 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m + 17;
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r6 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0035, code lost:
if ((r6 % 2) == 0) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x0037, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0038, code lost:
throw null;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object a(java.lang.Object[] r6) {
/*
r0 = 0
r1 = r6[r0]
com.scb.phone.view.fragment.otppin.OtpPinFragment r1 = (com.scb.phone.view.fragment.otppin.OtpPinFragment) r1
r2 = 1
r6 = r6[r2]
java.lang.String r6 = (java.lang.String) r6
r2 = 2
int r3 = r2 % r2
int r3 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m
int r3 = r3 + 87
int r4 = r3 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r4
int r3 = r3 % r2
r4 = 0
if (r3 != 0) goto L21
com.scb.phone.view.fragment.otppin.OtpPinFragment$Sts r3 = r1.g
r5 = 73
int r5 = r5 / r0
if (r3 == 0) goto L29
goto L25
L21:
com.scb.phone.view.fragment.otppin.OtpPinFragment$Sts r3 = r1.g
if (r3 == 0) goto L29
L25:
r3.c(r6)
return r4
L29:
r1.i(r6)
int r6 = com.scb.phone.view.fragment.otppin.OtpPinFragment.m
int r6 = r6 + 17
int r0 = r6 % 128
com.scb.phone.view.fragment.otppin.OtpPinFragment.f8060o = r0
int r6 = r6 % r2
if (r6 == 0) goto L38
return r4
L38:
throw r4
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.otppin.OtpPinFragment.a(java.lang.Object[]):java.lang.Object");
}
public final void e(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = m + 121;
int i3 = i2 % 128;
f8060o = i3;
int i4 = i2 % 2;
this.f = str;
this.c = str2;
this.h = str3;
int i5 = i3 + 81;
m = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC10433eDx
public final void T_() {
int i = 2 % 2;
int i2 = m + 119;
f8060o = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC8957dae
public final void d(String str) {
System.identityHashCode(this);
a(new Object[]{this, str});
}
protected C7048cgt d() {
int i = 2 % 2;
int i2 = f8060o;
int i3 = i2 + 107;
m = i3 % 128;
int i4 = i3 % 2;
C7048cgt<InterfaceC8957dae> c7048cgt = this.otpPresenter;
int i5 = i2 + 23;
m = i5 % 128;
int i6 = i5 % 2;
return c7048cgt;
}
}