528 lines
18 KiB
Java
528 lines
18 KiB
Java
package com.scb.phone.view.fragment.easycash.otp;
|
|
|
|
import android.graphics.Color;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.media.AudioTrack;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.util.TypedValue;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.scb.phone.view.activity.BaseActivity;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
import o.C0591Kd;
|
|
import o.C14957gcv;
|
|
import o.C4611bdT;
|
|
import o.C7048cgt;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC9216dfY;
|
|
import o.Lld;
|
|
import o.dQY;
|
|
import o.xzZ;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public final class EasycashOtpPinFragment extends Hilt_EasycashOtpPinFragment implements InterfaceC9216dfY {
|
|
public static final Sts c;
|
|
private static long f;
|
|
private static char[] g;
|
|
private static int h;
|
|
private C0591Kd d;
|
|
|
|
@InterfaceC13391fZD
|
|
public C4611bdT presenter;
|
|
|
|
@InterfaceC13391fZD
|
|
public Lld tracker;
|
|
private static final byte[] $$a = {95, -10, ISO7816.INS_CREATE_FILE, 95};
|
|
private static final int $$b = 61;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int j = 0;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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 p(byte r7, short r8, short r9, java.lang.Object[] r10) {
|
|
/*
|
|
int r7 = r7 * 3
|
|
int r7 = r7 + 4
|
|
int r8 = r8 * 3
|
|
int r8 = 1 - r8
|
|
int r9 = r9 + 98
|
|
byte[] r0 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.$$a
|
|
byte[] r1 = new byte[r8]
|
|
r2 = 0
|
|
if (r0 != 0) goto L15
|
|
r9 = r7
|
|
r3 = r8
|
|
r5 = r2
|
|
goto L2a
|
|
L15:
|
|
r3 = r2
|
|
r6 = r9
|
|
r9 = r7
|
|
r7 = r6
|
|
L19:
|
|
byte r4 = (byte) r7
|
|
int r5 = r3 + 1
|
|
r1[r3] = r4
|
|
if (r5 != r8) goto L28
|
|
java.lang.String r7 = new java.lang.String
|
|
r7.<init>(r1, r2)
|
|
r10[r2] = r7
|
|
return
|
|
L28:
|
|
r3 = r0[r9]
|
|
L2a:
|
|
int r3 = -r3
|
|
int r7 = r7 + r3
|
|
int r9 = r9 + 1
|
|
r3 = r5
|
|
goto L19
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.p(byte, short, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
/* loaded from: classes5.dex */
|
|
public static final class Sts {
|
|
private Sts() {
|
|
}
|
|
|
|
public /* synthetic */ Sts(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
private Lld f() {
|
|
int i = 2 % 2;
|
|
int i2 = h;
|
|
int i3 = i2 + 87;
|
|
j = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
Lld lld = this.tracker;
|
|
if (lld == null) {
|
|
C14957gcv.a("");
|
|
return null;
|
|
}
|
|
int i5 = i2 + 45;
|
|
j = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return lld;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
|
|
|
|
if (r1 != null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
|
|
|
|
if (r1 != null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
|
|
|
|
o.C14957gcv.a("");
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x0029, code lost:
|
|
|
|
return null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
|
|
|
|
r2 = r2 + 101;
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h = r2 % 128;
|
|
r2 = r2 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost:
|
|
|
|
return r1;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private o.C4611bdT g() {
|
|
/*
|
|
r4 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h
|
|
int r1 = r1 + 1
|
|
int r2 = r1 % 128
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j = r2
|
|
int r1 = r1 % r0
|
|
if (r1 == 0) goto L17
|
|
o.bdT r1 = r4.presenter
|
|
r3 = 71
|
|
int r3 = r3 / 0
|
|
if (r1 == 0) goto L23
|
|
goto L1b
|
|
L17:
|
|
o.bdT r1 = r4.presenter
|
|
if (r1 == 0) goto L23
|
|
L1b:
|
|
int r2 = r2 + 101
|
|
int r3 = r2 % 128
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h = r3
|
|
int r2 = r2 % r0
|
|
return r1
|
|
L23:
|
|
java.lang.String r0 = ""
|
|
o.C14957gcv.a(r0)
|
|
r0 = 0
|
|
return r0
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.g():o.bdT");
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:12:0x0028, code lost:
|
|
|
|
r0 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h + 43;
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j = r0 % 128;
|
|
r0 = r0 % 2;
|
|
r5 = (o.C0591Kd) r5.getParcelable("BUNDLE_OTP_PIN_DISPLAY");
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:14:0x0026, code lost:
|
|
|
|
if (r5 != null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
|
|
|
|
if (r5 != null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x003a, code lost:
|
|
|
|
r5 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j + 53;
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h = r5 % 128;
|
|
r5 = r5 % 2;
|
|
r5 = null;
|
|
*/
|
|
@Override // androidx.fragment.app.Fragment
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final void onViewCreated(android.view.View r5, android.os.Bundle r6) {
|
|
/*
|
|
r4 = this;
|
|
r6 = 2
|
|
int r0 = r6 % r6
|
|
int r0 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j
|
|
int r0 = r0 + 41
|
|
int r1 = r0 % 128
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h = r1
|
|
int r0 = r0 % r6
|
|
r1 = 0
|
|
r2 = 0
|
|
java.lang.String r3 = ""
|
|
if (r0 != 0) goto L1f
|
|
o.C14957gcv.e(r5, r3)
|
|
android.os.Bundle r5 = r4.getArguments()
|
|
r0 = 30
|
|
int r0 = r0 / r2
|
|
if (r5 == 0) goto L3a
|
|
goto L28
|
|
L1f:
|
|
o.C14957gcv.e(r5, r3)
|
|
android.os.Bundle r5 = r4.getArguments()
|
|
if (r5 == 0) goto L3a
|
|
L28:
|
|
int r0 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h
|
|
int r0 = r0 + 43
|
|
int r3 = r0 % 128
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j = r3
|
|
int r0 = r0 % r6
|
|
java.lang.String r6 = "BUNDLE_OTP_PIN_DISPLAY"
|
|
android.os.Parcelable r5 = r5.getParcelable(r6)
|
|
o.Kd r5 = (o.C0591Kd) r5
|
|
goto L44
|
|
L3a:
|
|
int r5 = com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.j
|
|
int r5 = r5 + 53
|
|
int r0 = r5 % 128
|
|
com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.h = r0
|
|
int r5 = r5 % r6
|
|
r5 = r1
|
|
L44:
|
|
r4.d = r5
|
|
android.widget.TextView r5 = r4.enterOtpMessage
|
|
r6 = 1
|
|
java.lang.Object[] r6 = new java.lang.Object[r6]
|
|
o.Tm r0 = r4.i()
|
|
if (r0 == 0) goto L55
|
|
java.lang.String r1 = r0.a()
|
|
L55:
|
|
r6[r2] = r1
|
|
r0 = 2131957747(0x7f1317f3, float:1.9552087E38)
|
|
java.lang.String r6 = r4.getString(r0, r6)
|
|
java.lang.CharSequence r6 = (java.lang.CharSequence) r6
|
|
r5.setText(r6)
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.fragment.easycash.otp.EasycashOtpPinFragment.onViewCreated(android.view.View, android.os.Bundle):void");
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment
|
|
public final C7048cgt<?> d() {
|
|
int i = 2 % 2;
|
|
int i2 = j + 7;
|
|
h = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
C4611bdT g2 = g();
|
|
int i4 = j + 13;
|
|
h = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return g2;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment, o.InterfaceC8957dae
|
|
public final void c(String str, String str2, String str3) {
|
|
int i = 2 % 2;
|
|
int i2 = h + 19;
|
|
j = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Object[] objArr = new Object[1];
|
|
n((char) (52701 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), View.resolveSizeAndState(0, 0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), objArr);
|
|
super.c(((String) objArr[0]).intern(), str2, str3);
|
|
int i4 = h + 89;
|
|
j = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // o.InterfaceC9216dfY
|
|
public final String c() {
|
|
String str;
|
|
int i = 2 % 2;
|
|
C0591Kd c0591Kd = this.d;
|
|
if (c0591Kd == null) {
|
|
int i2 = j + 103;
|
|
h = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
str = null;
|
|
} else {
|
|
str = c0591Kd.a;
|
|
}
|
|
int i4 = h + 23;
|
|
j = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 13 / 0;
|
|
}
|
|
return str;
|
|
}
|
|
|
|
@Override // o.InterfaceC9216dfY
|
|
public final String b() {
|
|
int i = 2 % 2;
|
|
C0591Kd c0591Kd = this.d;
|
|
if (c0591Kd == null) {
|
|
int i2 = j + 51;
|
|
h = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return null;
|
|
}
|
|
int i4 = j + 113;
|
|
h = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String str = c0591Kd.e;
|
|
int i6 = h + 99;
|
|
j = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return str;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ Object c(Object[] objArr) {
|
|
EasycashOtpPinFragment easycashOtpPinFragment = (EasycashOtpPinFragment) objArr[0];
|
|
int i = 2 % 2;
|
|
int i2 = j + 51;
|
|
h = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
C0591Kd c0591Kd = easycashOtpPinFragment.d;
|
|
Object obj = null;
|
|
String str = c0591Kd != null ? c0591Kd.d : null;
|
|
int i4 = j + 19;
|
|
h = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return str;
|
|
}
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment
|
|
public final void onResendSmsClick() {
|
|
int i = 2 % 2;
|
|
int i2 = h + 5;
|
|
j = i2 % 128;
|
|
String str = null;
|
|
if (i2 % 2 != 0) {
|
|
f();
|
|
throw null;
|
|
}
|
|
Lld f2 = f();
|
|
C0591Kd c0591Kd = this.d;
|
|
Lld.a(new Object[]{f2, c0591Kd != null ? c0591Kd.d : null}, 1412451036, -1412451032, System.identityHashCode(f2));
|
|
Lld f3 = f();
|
|
C0591Kd c0591Kd2 = this.d;
|
|
if (c0591Kd2 != null) {
|
|
int i3 = j + 23;
|
|
h = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
str = c0591Kd2.c;
|
|
int i4 = 35 / 0;
|
|
} else {
|
|
str = c0591Kd2.c;
|
|
}
|
|
}
|
|
f3.j(str);
|
|
Lld f4 = f();
|
|
if (getActivity() != null) {
|
|
int i5 = h + 85;
|
|
j = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
f4.c(((BaseActivity) getActivity()).scbAnalytics, "apply_loan_otp_resend");
|
|
}
|
|
super.onResendSmsClick();
|
|
}
|
|
|
|
private static void n(char c2, int i, int i2, 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(g[i + dqy.a])};
|
|
Object obj = xzZ.y.get(1095064095);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getLongPressTimeout() >> 16) + 308, 5 - View.combineMeasuredStates(0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 32798));
|
|
byte b = (byte) 0;
|
|
byte b2 = b;
|
|
Object[] objArr3 = new Object[1];
|
|
p(b, b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj);
|
|
}
|
|
try {
|
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f), Integer.valueOf(c2)};
|
|
Object obj2 = xzZ.y.get(-548438098);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(412 - Color.red(0), 5 - TextUtils.getOffsetAfter("", 0), (char) (Process.myPid() >> 22));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = b3;
|
|
Object[] objArr5 = new Object[1];
|
|
p(b3, b4, (byte) (b4 + 1), 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();
|
|
try {
|
|
Object[] objArr6 = {dqy, dqy};
|
|
Object obj3 = xzZ.y.get(1071125919);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + 407, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ExpandableListView.getPackedPositionType(0L) + 29234));
|
|
byte b5 = (byte) 0;
|
|
byte b6 = b5;
|
|
Object[] objArr7 = new Object[1];
|
|
p(b5, b6, (byte) (b6 | 8), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
int i7 = $10 + 37;
|
|
$11 = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
} catch (Throwable th3) {
|
|
Throwable cause3 = th3.getCause();
|
|
if (cause3 == null) {
|
|
throw th3;
|
|
}
|
|
throw cause3;
|
|
}
|
|
}
|
|
char[] cArr = new char[i2];
|
|
dqy.a = 0;
|
|
while (dqy.a < i2) {
|
|
int i9 = $11 + 111;
|
|
$10 = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
|
try {
|
|
Object[] objArr8 = {dqy, dqy};
|
|
Object obj4 = xzZ.y.get(1071125919);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 407, 5 - View.MeasureSpec.getMode(0), (char) (29233 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
|
|
byte b7 = (byte) 0;
|
|
byte b8 = b7;
|
|
Object[] objArr9 = new Object[1];
|
|
p(b7, b8, (byte) (b8 | 8), objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr8);
|
|
} catch (Throwable th4) {
|
|
Throwable cause4 = th4.getCause();
|
|
if (cause4 == null) {
|
|
throw th4;
|
|
}
|
|
throw cause4;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr);
|
|
}
|
|
|
|
static void h() {
|
|
g = new char[]{16959};
|
|
f = 1751431231233190356L;
|
|
}
|
|
|
|
@Override // o.InterfaceC9216dfY
|
|
public final String e() {
|
|
System.identityHashCode(this);
|
|
return (String) c(new Object[]{this});
|
|
}
|
|
|
|
static {
|
|
h = 1;
|
|
h();
|
|
c = new Sts((byte) 0);
|
|
int i = j + 49;
|
|
h = i % 128;
|
|
int i2 = i % 2;
|
|
}
|
|
}
|