what-the-bank/sources/com/scb/phone/view/activity/prepaid/detail/PrepaidTravelConversionLand...

1676 lines
74 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.prepaid.detail;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.OnClick;
import com.bumptech.glide.Glide;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.prepaid.PrepaidDetailsActivity;
import com.scb.phone.view.activity.prepaid.PrepaidTravelConversionReviewActivity;
import com.scb.phone.view.adapter.prepaid.PrepaidTravelWalletCardAdapter;
import com.scb.phone.view.custom.common.AmountEditText;
import com.scb.phone.view.custom.common.NoSwipeViewPager;
import com.scb.phone.view.custom.prepaid.ConversionAmountInput;
import com.scb.phone.view.custom.prepaid.ConversionToWallet;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C1057Ur;
import o.C14881gav;
import o.C14957gcv;
import o.C15903jW;
import o.C3614bBe;
import o.C7640csD;
import o.C9712dp;
import o.C9765dq;
import o.Cdw;
import o.Dwh;
import o.InterfaceC13391fZD;
import o.InterfaceC9520dlL;
import o.UA;
import o.UB;
import o.dQY;
import o.fTI;
import o.gcH;
import o.gdZ;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PrepaidTravelConversionLandingActivity extends Hilt_PrepaidTravelConversionLandingActivity implements InterfaceC9520dlL.RVV {
public static final Sts l;
private static boolean p;
private static char[] q;
private static boolean r;
private static int s;
private static int v;
private static char[] w;
private static long x;
@BindView
public Button btReview;
private PrepaidTravelWalletCardAdapter k;
@BindView
public ConversionAmountInput layoutFromAmount;
@BindView
public ConversionAmountInput layoutToAmount;
@BindView
public ConversionToWallet layoutToWallet;
private UB m;
/* renamed from: o, reason: collision with root package name */
private Dwh f7788o;
@InterfaceC13391fZD
public C7640csD presenter;
private C9765dq t;
@BindView
public TextView tvCurrencyRemarks;
@BindView
public NoSwipeViewPager vpWallet;
private static final byte[] $$p = {40, 9, -20, ISOFileInfo.AB};
private static final int $$q = CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int u = 0;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Type inference failed for: r7v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = r8 + 1
int r7 = r7 + 65
byte[] r1 = com.scb.phone.view.activity.prepaid.detail.PrepaidTravelConversionLandingActivity.$$p
int r6 = r6 + 4
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L13
r4 = r7
r3 = r2
r7 = r6
goto L2a
L13:
r3 = r2
L14:
int r6 = r6 + 1
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
r4 = r1[r6]
int r3 = r3 + 1
r5 = r7
r7 = r6
r6 = r5
L2a:
int r6 = r6 + r4
r5 = r7
r7 = r6
r6 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.detail.PrepaidTravelConversionLandingActivity.aC(byte, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA) + (i2 * (-139));
int i5 = ~i;
int i6 = ~(i5 | i2);
int i7 = ~(i5 | i3);
int i8 = i4 + ((i6 | i7) * (-280));
int i9 = ~i2;
int i10 = i8 + ((i7 | (~(i9 | i3))) * CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA);
int i11 = ~(i5 | i9 | i3);
int i12 = ~i3;
int i13 = i10 + (((~(i | i12 | i9)) | (~(i2 | i5 | i12)) | i11) * CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA);
if (i13 == 1) {
return c(objArr);
}
if (i13 == 2) {
return a(objArr);
}
if (i13 != 3) {
return b(objArr);
}
PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity = (PrepaidTravelConversionLandingActivity) objArr[0];
int i14 = 2 % 2;
int i15 = u + 47;
v = i15 % 128;
int i16 = i15 % 2;
Context baseContext = prepaidTravelConversionLandingActivity.getBaseContext();
if (baseContext == null) {
Object[] objArr2 = new Object[1];
aA(null, null, 127 - (ViewConfiguration.getTouchSlop() >> 8), new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, TextUtils.getCapsMode("", 0, 0) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_data_sharing_decline_tc_description).substring(31, 32).codePointAt(0) + 17560), objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i17 = u + 121;
v = i17 % 128;
int i18 = i17 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 487, 5 - TextUtils.indexOf("", ""), (char) TextUtils.getTrimmedLength(""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
public static final /* synthetic */ UB a(PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity) {
int i = 2 % 2;
int i2 = v + 113;
int i3 = i2 % 128;
u = i3;
int i4 = i2 % 2;
UB ub = prepaidTravelConversionLandingActivity.m;
int i5 = i3 + 43;
v = i5 % 128;
if (i5 % 2 != 0) {
return ub;
}
throw null;
}
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public static Intent akL_(Context context, C9765dq c9765dq) {
C14957gcv.e(context, "");
C14957gcv.e(c9765dq, "");
Intent intent = new Intent(context, (Class<?>) PrepaidTravelConversionLandingActivity.class);
intent.putExtra("PREPAID_TRAVEL_CONVERSION_LANDING_REQUEST", c9765dq);
return intent;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
private static void aB(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 + 49;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(w[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), Color.green(0) + 5, (char) (Gravity.getAbsoluteGravity(0, 0) + 32797));
byte b = (byte) (-1);
Object[] objArr3 = new Object[1];
aC(b, (byte) (b & 33), (byte) 0, 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(x), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 412, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b2 = (byte) (-1);
Object[] objArr5 = new Object[1];
aC(b2, (byte) (b2 & ISO7816.INS_MSE), (byte) 0, 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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 407, View.MeasureSpec.getMode(0) + 5, (char) ((Process.myPid() >> 22) + 29234));
byte b3 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 & 41), (byte) 0, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i7 = $11 + 63;
$10 = i7 % 128;
int i8 = i7 % 2;
} 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) {
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(408 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (29235 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b4 = (byte) (-1);
Object[] objArr9 = new Object[1];
aC(b4, (byte) (b4 & 41), (byte) 0, 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);
}
/* loaded from: classes5.dex */
public static final class LWm implements AmountEditText.RVV {
private ConversionAmountInput d;
private PrepaidTravelConversionLandingActivity e;
LWm(ConversionAmountInput conversionAmountInput, PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity) {
this.d = conversionAmountInput;
this.e = prepaidTravelConversionLandingActivity;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
AmountEditText amountEditText = this.d.amtEtValue;
AmountEditText amountEditText2 = null;
if (amountEditText == null) {
C14957gcv.a("");
amountEditText = null;
}
if (amountEditText.hasFocus()) {
C7640csD c7640csD = this.e.presenter;
if (c7640csD == null) {
C14957gcv.a("");
c7640csD = null;
}
UB a = PrepaidTravelConversionLandingActivity.a(this.e);
if (a == null) {
C14957gcv.a("");
a = null;
}
String d2 = c7640csD.d(((UB.IeS) C14881gav.e((List) a.e)).c, d);
ConversionAmountInput conversionAmountInput = this.e.layoutToAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText3 = conversionAmountInput.amtEtValue;
if (amountEditText3 == null) {
C14957gcv.a("");
amountEditText3 = null;
}
amountEditText3.setText(d2);
C7640csD c7640csD2 = this.e.presenter;
if (c7640csD2 == null) {
C14957gcv.a("");
c7640csD2 = null;
}
AmountEditText amountEditText4 = this.d.amtEtValue;
if (amountEditText4 == null) {
C14957gcv.a("");
amountEditText4 = null;
}
String valueOf = String.valueOf(amountEditText4.getText());
ConversionAmountInput conversionAmountInput2 = this.e.layoutToAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText5 = conversionAmountInput2.amtEtValue;
if (amountEditText5 != null) {
amountEditText2 = amountEditText5;
} else {
C14957gcv.a("");
}
c7640csD2.e(valueOf, String.valueOf(amountEditText2.getText()));
}
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.e.aN_();
}
}
/* loaded from: classes5.dex */
public static final class IeS implements AmountEditText.RVV {
private PrepaidTravelConversionLandingActivity a;
private ConversionAmountInput d;
IeS(ConversionAmountInput conversionAmountInput, PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity) {
this.d = conversionAmountInput;
this.a = prepaidTravelConversionLandingActivity;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
AmountEditText amountEditText = this.d.amtEtValue;
AmountEditText amountEditText2 = null;
if (amountEditText == null) {
C14957gcv.a("");
amountEditText = null;
}
if (amountEditText.hasFocus()) {
C7640csD c7640csD = this.a.presenter;
if (c7640csD == null) {
C14957gcv.a("");
c7640csD = null;
}
UB a = PrepaidTravelConversionLandingActivity.a(this.a);
if (a == null) {
C14957gcv.a("");
a = null;
}
String b = c7640csD.b(((UB.IeS) C14881gav.e((List) a.e)).c, d);
ConversionAmountInput conversionAmountInput = this.a.layoutFromAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText3 = conversionAmountInput.amtEtValue;
if (amountEditText3 == null) {
C14957gcv.a("");
amountEditText3 = null;
}
amountEditText3.setText(b);
C7640csD c7640csD2 = this.a.presenter;
if (c7640csD2 == null) {
C14957gcv.a("");
c7640csD2 = null;
}
AmountEditText amountEditText4 = this.d.amtEtValue;
if (amountEditText4 == null) {
C14957gcv.a("");
amountEditText4 = null;
}
String valueOf = String.valueOf(amountEditText4.getText());
ConversionAmountInput conversionAmountInput2 = this.a.layoutFromAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText5 = conversionAmountInput2.amtEtValue;
if (amountEditText5 != null) {
amountEditText2 = amountEditText5;
} else {
C14957gcv.a("");
}
c7640csD2.e(valueOf, String.valueOf(amountEditText2.getText()));
}
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.a.aN_();
}
}
private static void aA(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = q;
long j = 0;
int i4 = 1;
int i5 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $11 + 59;
$10 = i7 % 128;
if (i7 % i2 != 0) {
try {
Object[] objArr2 = new Object[i4];
objArr2[i5] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 337, TextUtils.indexOf((CharSequence) "", '0', i5, i5) + 6, (char) ExpandableListView.getPackedPositionGroup(j));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6 %= 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i6])};
Object obj2 = xzZ.y.get(-950481649);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(337 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-950481649, obj2);
}
cArr3[i6] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6++;
}
i2 = 2;
j = 0;
i4 = 1;
i5 = 0;
}
cArr2 = cArr3;
}
Object[] objArr6 = {Integer.valueOf(s)};
Object obj3 = xzZ.y.get(-1521625011);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(283 - (ViewConfiguration.getTapTimeout() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 39812));
byte b5 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b5, (byte) (b5 & 57), (byte) 0, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue();
if (p) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
try {
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Process.getGidForName("") + 41, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr4);
return;
}
int i8 = 0;
if (r) {
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i9 = $10 + 43;
$11 = i9 % 128;
int i10 = i9 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr9 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(40 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - Color.blue(0), (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr9);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i8;
if (c3614bBe.a >= c3614bBe.c) {
String str = new String(cArr6);
int i11 = $10 + 85;
$11 = i11 % 128;
int i12 = i11 % 2;
objArr[0] = str;
return;
}
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i8 = c3614bBe.a + 1;
}
}
/* loaded from: classes5.dex */
public static final class HBt implements AmountEditText.RVV {
private PrepaidTravelConversionLandingActivity b;
private ConversionAmountInput d;
HBt(ConversionAmountInput conversionAmountInput, PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity) {
this.d = conversionAmountInput;
this.b = prepaidTravelConversionLandingActivity;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
AmountEditText amountEditText = this.d.amtEtValue;
AmountEditText amountEditText2 = null;
if (amountEditText == null) {
C14957gcv.a("");
amountEditText = null;
}
if (amountEditText.hasFocus()) {
C7640csD c7640csD = this.b.presenter;
if (c7640csD == null) {
C14957gcv.a("");
c7640csD = null;
}
UB a = PrepaidTravelConversionLandingActivity.a(this.b);
if (a == null) {
C14957gcv.a("");
a = null;
}
String d2 = c7640csD.d(((UB.IeS) C14881gav.e((List) a.e)).c, d);
ConversionAmountInput conversionAmountInput = this.b.layoutToAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText3 = conversionAmountInput.amtEtValue;
if (amountEditText3 == null) {
C14957gcv.a("");
amountEditText3 = null;
}
amountEditText3.setText(d2);
C7640csD c7640csD2 = this.b.presenter;
if (c7640csD2 == null) {
C14957gcv.a("");
c7640csD2 = null;
}
AmountEditText amountEditText4 = this.d.amtEtValue;
if (amountEditText4 == null) {
C14957gcv.a("");
amountEditText4 = null;
}
String valueOf = String.valueOf(amountEditText4.getText());
ConversionAmountInput conversionAmountInput2 = this.b.layoutToAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText5 = conversionAmountInput2.amtEtValue;
if (amountEditText5 != null) {
amountEditText2 = amountEditText5;
} else {
C14957gcv.a("");
}
c7640csD2.e(valueOf, String.valueOf(amountEditText2.getText()));
}
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.b.aN_();
}
}
/* JADX WARN: Code restructure failed: missing block: B:46:0x04d4, code lost:
if (r13 == null) goto L79;
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x04df, code lost:
r13.c(((com.scb.phone.view.activity.BaseActivity) r16).scbAnalytics, "planetscb_conversion_buy_input_screen");
*/
/* JADX WARN: Code restructure failed: missing block: B:48:0x04db, code lost:
o.C14957gcv.a("");
r13 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x04d9, code lost:
if (r13 == null) goto L79;
*/
/* JADX WARN: Removed duplicated region for block: B:28:0x045f */
/* JADX WARN: Removed duplicated region for block: B:36:0x049b */
/* JADX WARN: Removed duplicated region for block: B:39:0x04a7 */
/* JADX WARN: Removed duplicated region for block: B:43:0x04c3 */
@Override // com.scb.phone.view.activity.prepaid.detail.Hilt_PrepaidTravelConversionLandingActivity, 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 final void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1400
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.detail.PrepaidTravelConversionLandingActivity.onCreate(android.os.Bundle):void");
}
@Override // o.InterfaceC9520dlL.RVV
public final void a(int i) {
int i2 = 2 % 2;
setTitle(i);
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
AmountEditText amountEditText = null;
if (conversionAmountInput != null) {
int i3 = u;
int i4 = i3 + 99;
v = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 107;
v = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
conversionAmountInput = null;
}
ImageView imageView = conversionAmountInput.ivTransferAmountWallet;
if (imageView == null) {
C14957gcv.a("");
imageView = null;
}
imageView.setVisibility(8);
ConversionAmountInput conversionAmountInput2 = this.layoutFromAmount;
if (conversionAmountInput2 != null) {
int i8 = u + 113;
v = i8 % 128;
if (i8 % 2 == 0) {
amountEditText.hashCode();
throw null;
}
} else {
C14957gcv.a("");
int i9 = v + 47;
u = i9 % 128;
int i10 = i9 % 2;
conversionAmountInput2 = null;
}
AmountEditText amountEditText2 = conversionAmountInput2.amtEtValue;
if (amountEditText2 == null) {
C14957gcv.a("");
amountEditText2 = null;
}
amountEditText2.setMaximumDecimalDigit(13);
ConversionAmountInput conversionAmountInput3 = this.layoutToAmount;
if (conversionAmountInput3 == null) {
C14957gcv.a("");
int i11 = v + 71;
u = i11 % 128;
int i12 = i11 % 2;
conversionAmountInput3 = null;
}
AmountEditText amountEditText3 = conversionAmountInput3.amtEtValue;
if (amountEditText3 != null) {
amountEditText = amountEditText3;
} else {
C14957gcv.a("");
}
amountEditText.setMaximumDecimalDigit(13);
}
/* loaded from: classes5.dex */
public static final class RVV implements AmountEditText.RVV {
private ConversionAmountInput b;
private PrepaidTravelConversionLandingActivity e;
RVV(ConversionAmountInput conversionAmountInput, PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity) {
this.b = conversionAmountInput;
this.e = prepaidTravelConversionLandingActivity;
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void b(double d) {
AmountEditText amountEditText = this.b.amtEtValue;
AmountEditText amountEditText2 = null;
if (amountEditText == null) {
C14957gcv.a("");
amountEditText = null;
}
if (amountEditText.hasFocus()) {
C7640csD c7640csD = this.e.presenter;
if (c7640csD == null) {
C14957gcv.a("");
c7640csD = null;
}
UB a = PrepaidTravelConversionLandingActivity.a(this.e);
if (a == null) {
C14957gcv.a("");
a = null;
}
String b = c7640csD.b(((UB.IeS) C14881gav.e((List) a.e)).c, d);
ConversionAmountInput conversionAmountInput = this.e.layoutFromAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText3 = conversionAmountInput.amtEtValue;
if (amountEditText3 == null) {
C14957gcv.a("");
amountEditText3 = null;
}
amountEditText3.setText(b);
C7640csD c7640csD2 = this.e.presenter;
if (c7640csD2 == null) {
C14957gcv.a("");
c7640csD2 = null;
}
AmountEditText amountEditText4 = this.b.amtEtValue;
if (amountEditText4 == null) {
C14957gcv.a("");
amountEditText4 = null;
}
String valueOf = String.valueOf(amountEditText4.getText());
ConversionAmountInput conversionAmountInput2 = this.e.layoutFromAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText5 = conversionAmountInput2.amtEtValue;
if (amountEditText5 != null) {
amountEditText2 = amountEditText5;
} else {
C14957gcv.a("");
}
c7640csD2.e(valueOf, String.valueOf(amountEditText2.getText()));
}
}
@Override // com.scb.phone.view.custom.common.AmountEditText.RVV
public final void a() {
this.e.aN_();
}
}
@Override // o.InterfaceC9520dlL.RVV
public final void c() {
int i = 2 % 2;
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
AmountEditText amountEditText = null;
if (conversionAmountInput != null) {
int i2 = v + 31;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
conversionAmountInput = null;
}
TextView textView = conversionAmountInput.tvTitleAmount;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
gcH gch = gcH.d;
String string = getString(R.string.prepaid_travel_conversion_landing_buy_amount_from);
C14957gcv.c((Object) string, "");
Object[] objArr = new Object[1];
UB ub = this.m;
if (ub == null) {
C14957gcv.a("");
ub = null;
}
objArr[0] = ((UA) C14881gav.e((List) ub.b)).e;
String format = String.format(string, Arrays.copyOf(objArr, 1));
C14957gcv.c((Object) format, "");
textView.setText(format);
AmountEditText amountEditText2 = conversionAmountInput.amtEtValue;
if (amountEditText2 != null) {
int i4 = v + 111;
u = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
amountEditText2 = null;
}
amountEditText2.setOnAmountChangeListener(new LWm(conversionAmountInput, this));
ConversionAmountInput conversionAmountInput2 = this.layoutToAmount;
if (conversionAmountInput2 != null) {
int i5 = u + 57;
v = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
conversionAmountInput2 = null;
}
TextView textView2 = conversionAmountInput2.tvTitleAmount;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
gcH gch2 = gcH.d;
String string2 = getString(R.string.prepaid_travel_conversion_landing_buy_amount_to);
C14957gcv.c((Object) string2, "");
Object[] objArr2 = new Object[1];
UB ub2 = this.m;
if (ub2 == null) {
C14957gcv.a("");
ub2 = null;
}
objArr2[0] = ((UA) C14881gav.e((List) ub2.d)).e;
String format2 = String.format(string2, Arrays.copyOf(objArr2, 1));
C14957gcv.c((Object) format2, "");
textView2.setText(format2);
AmountEditText amountEditText3 = conversionAmountInput2.amtEtValue;
if (amountEditText3 != null) {
int i6 = v + 89;
u = i6 % 128;
int i7 = i6 % 2;
amountEditText = amountEditText3;
} else {
C14957gcv.a("");
}
amountEditText.setOnAmountChangeListener(new IeS(conversionAmountInput2, this));
}
@Override // o.InterfaceC9520dlL.RVV
public final void b() {
int i = 2 % 2;
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
AmountEditText amountEditText = null;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
TextView textView = conversionAmountInput.tvTitleAmount;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
gcH gch = gcH.d;
String string = getString(R.string.prepaid_travel_conversion_landing_sell_amount_from);
C14957gcv.c((Object) string, "");
Object[] objArr = new Object[1];
UB ub = this.m;
if (ub == null) {
C14957gcv.a("");
ub = null;
}
objArr[0] = ((UA) C14881gav.e((List) ub.d)).e;
String format = String.format(string, Arrays.copyOf(objArr, 1));
C14957gcv.c((Object) format, "");
textView.setText(format);
AmountEditText amountEditText2 = conversionAmountInput.amtEtValue;
if (amountEditText2 != null) {
int i2 = v + 107;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = u + 45;
v = i4 % 128;
int i5 = i4 % 2;
amountEditText2 = null;
}
amountEditText2.setOnAmountChangeListener(new HBt(conversionAmountInput, this));
ConversionAmountInput conversionAmountInput2 = this.layoutToAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
int i6 = u + 109;
v = i6 % 128;
int i7 = i6 % 2;
conversionAmountInput2 = null;
}
TextView textView2 = conversionAmountInput2.tvTitleAmount;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
gcH gch2 = gcH.d;
String string2 = getString(R.string.prepaid_travel_conversion_landing_sell_amount_to);
C14957gcv.c((Object) string2, "");
Object[] objArr2 = new Object[1];
UB ub2 = this.m;
if (ub2 == null) {
C14957gcv.a("");
ub2 = null;
}
objArr2[0] = ((UA) C14881gav.e((List) ub2.b)).e;
String format2 = String.format(string2, Arrays.copyOf(objArr2, 1));
C14957gcv.c((Object) format2, "");
textView2.setText(format2);
AmountEditText amountEditText3 = conversionAmountInput2.amtEtValue;
if (amountEditText3 != null) {
amountEditText = amountEditText3;
} else {
C14957gcv.a("");
}
amountEditText.setOnAmountChangeListener(new RVV(conversionAmountInput2, this));
}
@Override // o.InterfaceC9520dlL.RVV
public final void b(List<UA> list) {
int i = 2 % 2;
int i2 = v + 35;
u = i2 % 128;
PrepaidTravelWalletCardAdapter prepaidTravelWalletCardAdapter = null;
if (i2 % 2 != 0) {
C14957gcv.e(list, "");
throw null;
}
C14957gcv.e(list, "");
PrepaidTravelWalletCardAdapter prepaidTravelWalletCardAdapter2 = this.k;
if (prepaidTravelWalletCardAdapter2 == null) {
C14957gcv.a("");
int i3 = v + 39;
u = i3 % 128;
int i4 = i3 % 2;
} else {
prepaidTravelWalletCardAdapter = prepaidTravelWalletCardAdapter2;
}
C14957gcv.e(list, "");
prepaidTravelWalletCardAdapter.e = list;
prepaidTravelWalletCardAdapter.notifyDataSetChanged();
int i5 = v + 7;
u = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9520dlL.RVV
public final void e(List<UA> list, List<UB.IeS> list2) {
int i = 2 % 2;
C14957gcv.e(list, "");
C14957gcv.e(list2, "");
Cdw<Drawable> c = Glide.c(this).c(((UA) C14881gav.e((List) list)).h);
ConversionToWallet conversionToWallet = this.layoutToWallet;
TextView textView = null;
if (conversionToWallet != null) {
int i2 = v + 83;
u = i2 % 128;
if (i2 % 2 != 0) {
textView.hashCode();
throw null;
}
} else {
C14957gcv.a("");
conversionToWallet = null;
}
ImageView imageView = conversionToWallet.ivToFlag;
if (imageView == null) {
C14957gcv.a("");
imageView = null;
}
c.Dq_(imageView);
ConversionToWallet conversionToWallet2 = this.layoutToWallet;
if (conversionToWallet2 != null) {
int i3 = v + 31;
u = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
conversionToWallet2 = null;
}
TextView textView2 = conversionToWallet2.tvToCurrency;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
textView2.setText(((UA) C14881gav.e((List) list)).e);
ConversionToWallet conversionToWallet3 = this.layoutToWallet;
if (conversionToWallet3 != null) {
int i5 = u + 17;
v = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
conversionToWallet3 = null;
}
TextView textView3 = conversionToWallet3.tvFullRate;
if (textView3 != null) {
int i7 = v + 23;
u = i7 % 128;
if (i7 % 2 != 0) {
textView.hashCode();
throw null;
}
} else {
C14957gcv.a("");
int i8 = v + 9;
u = i8 % 128;
int i9 = i8 % 2;
textView3 = null;
}
textView3.setText(((UB.IeS) C14881gav.e((List) list2)).e);
ConversionToWallet conversionToWallet4 = this.layoutToWallet;
if (conversionToWallet4 == null) {
C14957gcv.a("");
conversionToWallet4 = null;
}
TextView textView4 = conversionToWallet4.tvToAmount;
if (textView4 != null) {
int i10 = u + 99;
v = i10 % 128;
int i11 = i10 % 2;
textView = textView4;
} else {
C14957gcv.a("");
}
gcH gch = gcH.d;
String format = String.format("%s %s %s", Arrays.copyOf(new Object[]{getString(R.string.prepaid_travel_conversion_landing_you_have), ((UA) C14881gav.e((List) list)).b, ((UA) C14881gav.e((List) list)).e}, 3));
C14957gcv.c((Object) format, "");
textView.setText(format);
int i12 = u + 85;
v = i12 % 128;
if (i12 % 2 == 0) {
int i13 = 41 / 0;
}
}
@Override // o.InterfaceC9520dlL.RVV
public final void a() {
int i = 2 % 2;
int i2 = v + 41;
u = i2 % 128;
AmountEditText amountEditText = null;
if (i2 % 2 != 0) {
throw null;
}
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText2 = conversionAmountInput.amtEtValue;
if (amountEditText2 != null) {
int i3 = v;
int i4 = i3 + 69;
u = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 123;
u = i6 % 128;
int i7 = i6 % 2;
} else {
C14957gcv.a("");
amountEditText2 = null;
}
amountEditText2.clearFocus();
amountEditText2.setText("");
amountEditText2.setHint("0.00");
ConversionAmountInput conversionAmountInput2 = this.layoutToAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText3 = conversionAmountInput2.amtEtValue;
if (amountEditText3 != null) {
int i8 = u + 31;
v = i8 % 128;
if (i8 % 2 == 0) {
amountEditText.hashCode();
throw null;
}
amountEditText = amountEditText3;
} else {
C14957gcv.a("");
}
amountEditText.clearFocus();
amountEditText.setText("");
amountEditText.setHint("0.00");
}
@Override // o.InterfaceC9520dlL.RVV
public final void a(boolean z) {
int i = 2 % 2;
Button button = this.btReview;
if (button != null) {
int i2 = u;
int i3 = i2 + 99;
v = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 69;
v = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
button = null;
}
button.setEnabled(z);
}
@Override // o.InterfaceC9520dlL.RVV
public final void e(String str) {
int i = 2 % 2;
int i2 = v + 1;
u = i2 % 128;
TextView textView = null;
if (i2 % 2 != 0) {
C14957gcv.e(str, "");
throw null;
}
C14957gcv.e(str, "");
TextView textView2 = this.tvCurrencyRemarks;
if (textView2 == null) {
C14957gcv.a("");
textView2 = null;
}
textView2.setVisibility(0);
TextView textView3 = this.tvCurrencyRemarks;
if (textView3 != null) {
textView = textView3;
} else {
C14957gcv.a("");
int i3 = u + 99;
v = i3 % 128;
int i4 = i3 % 2;
}
gcH gch = gcH.d;
String string = getString(R.string.prepaid_travel_conversion_landing_currency_remark);
C14957gcv.c((Object) string, "");
String format = String.format(string, Arrays.copyOf(new Object[]{str}, 1));
C14957gcv.c((Object) format, "");
textView.setText(format);
}
@OnClick
public final void onClickButtonReview() {
int i = 2 % 2;
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
if (conversionAmountInput != null) {
int i2 = v + 119;
u = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText = conversionAmountInput.amtEtValue;
if (amountEditText == null) {
C14957gcv.a("");
amountEditText = null;
}
String a = gdZ.a(String.valueOf(amountEditText.getText()), ",", "");
ConversionAmountInput conversionAmountInput2 = this.layoutToAmount;
if (conversionAmountInput2 != null) {
int i4 = u + 39;
int i5 = i4 % 128;
v = i5;
int i6 = i4 % 2;
int i7 = i5 + 115;
u = i7 % 128;
int i8 = i7 % 2;
} else {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText2 = conversionAmountInput2.amtEtValue;
if (amountEditText2 == null) {
C14957gcv.a("");
amountEditText2 = null;
}
String a2 = gdZ.a(String.valueOf(amountEditText2.getText()), ",", "");
C9765dq c9765dq = this.t;
if (c9765dq != null) {
C7640csD c7640csD = this.presenter;
if (c7640csD == null) {
C14957gcv.a("");
c7640csD = null;
}
String str = c9765dq.d;
UB ub = this.m;
if (ub == null) {
C14957gcv.a("");
ub = null;
}
C14957gcv.e(str, "");
C14957gcv.e(ub, "");
C14957gcv.e(a, "");
C14957gcv.e(a2, "");
if (C7640csD.c(a)) {
int i9 = v + 97;
u = i9 % 128;
int i10 = i9 % 2;
if (C7640csD.c(a2)) {
int i11 = v + 17;
u = i11 % 128;
if (i11 % 2 != 0) {
C7640csD.b(str);
throw null;
}
C9712dp c9712dp = C7640csD.b(str) ? new C9712dp(ub.a, str, ub.d.get(0).e, ub.b.get(0).e, ub.e.get(0).c, Double.parseDouble(a2), Double.parseDouble(a)) : new C9712dp(ub.a, str, ub.d.get(0).e, ub.b.get(0).e, ub.e.get(0).c, Double.parseDouble(a), Double.parseDouble(a2));
C14957gcv.e(c9712dp, "");
if (c7640csD.f != 0) {
int i12 = u + 23;
v = i12 % 128;
int i13 = i12 % 2;
c7640csD.f.y();
}
C15903jW c15903jW = c7640csD.e;
C7640csD.RVV rvv = new C7640csD.RVV(c7640csD, c9712dp);
C7640csD.Sts sts = new C7640csD.Sts(c7640csD);
C14957gcv.e(rvv, "");
C14957gcv.e(sts, "");
C14957gcv.e(c9712dp, "");
c15903jW.b(c15903jW.e, rvv, sts, new fTI.RVV(c9712dp));
}
}
}
int i14 = u + 101;
v = i14 % 128;
if (i14 % 2 == 0) {
int i15 = 59 / 0;
}
}
@Override // o.InterfaceC9520dlL.RVV
public final void c(C1057Ur c1057Ur, boolean z) {
String str;
int i = 2 % 2;
C14957gcv.e(c1057Ur, "");
if (z) {
int i2 = v + 103;
u = i2 % 128;
int i3 = i2 % 2;
str = "planetscb_buy_review";
} else {
str = "planetscb_sell_review";
}
Dwh dwh = this.f7788o;
Dwh dwh2 = null;
if (dwh == null) {
C14957gcv.a("");
int i4 = v + 69;
u = i4 % 128;
int i5 = i4 % 2;
dwh = null;
}
dwh.d("source", str);
Dwh dwh3 = this.f7788o;
if (dwh3 == null) {
C14957gcv.a("");
} else {
dwh2 = dwh3;
}
dwh2.c(((BaseActivity) this).scbAnalytics, "planetscb_conversion_review");
PrepaidTravelConversionReviewActivity.LWm lWm = PrepaidTravelConversionReviewActivity.b;
PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity = this;
C14957gcv.e(prepaidTravelConversionLandingActivity, "");
C14957gcv.e(c1057Ur, "");
Intent putExtra = new Intent(prepaidTravelConversionLandingActivity, (Class<?>) PrepaidTravelConversionReviewActivity.class).putExtra("EXTRA_IS_BUY", z).putExtra("EXTRA_CONVERSION_VERIFICATION", c1057Ur);
C14957gcv.c(putExtra, "");
startActivityForResult(putExtra, 1899);
}
@Override // o.InterfaceC9520dlL.RVV
public final void e() {
int i = 2 % 2;
int i2 = v + 73;
u = i2 % 128;
if (i2 % 2 != 0) {
startActivity(PrepaidDetailsActivity.akE_(this));
finish();
int i3 = 68 / 0;
} else {
startActivity(PrepaidDetailsActivity.akE_(this));
finish();
}
}
@Override // o.InterfaceC9520dlL.RVV
public final void d() {
int i = 2 % 2;
int i2 = v + 25;
u = i2 % 128;
int i3 = i2 % 2;
finish();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
int i4 = v + 33;
u = i4 % 128;
if (i4 % 2 != 0) {
super.onActivityResult(i, i2, intent);
if (524 != i) {
return;
}
} else {
super.onActivityResult(i, i2, intent);
if (1899 != i) {
return;
}
}
if (i2 == -1) {
int i5 = u + 109;
v = i5 % 128;
int i6 = i5 % 2;
a();
C7640csD c7640csD = this.presenter;
AmountEditText amountEditText = null;
if (c7640csD != null) {
int i7 = u + 55;
v = i7 % 128;
if (i7 % 2 == 0) {
amountEditText.hashCode();
throw null;
}
} else {
C14957gcv.a("");
c7640csD = null;
}
ConversionAmountInput conversionAmountInput = this.layoutFromAmount;
if (conversionAmountInput == null) {
C14957gcv.a("");
conversionAmountInput = null;
}
AmountEditText amountEditText2 = conversionAmountInput.amtEtValue;
if (amountEditText2 == null) {
C14957gcv.a("");
amountEditText2 = null;
}
String valueOf = String.valueOf(amountEditText2.getText());
ConversionAmountInput conversionAmountInput2 = this.layoutToAmount;
if (conversionAmountInput2 == null) {
C14957gcv.a("");
conversionAmountInput2 = null;
}
AmountEditText amountEditText3 = conversionAmountInput2.amtEtValue;
if (amountEditText3 != null) {
amountEditText = amountEditText3;
} else {
C14957gcv.a("");
}
c7640csD.e(valueOf, String.valueOf(amountEditText.getText()));
}
}
private static /* synthetic */ Object b(Object[] objArr) {
PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity = (PrepaidTravelConversionLandingActivity) objArr[0];
int i = 2 % 2;
C7640csD c7640csD = prepaidTravelConversionLandingActivity.presenter;
if (c7640csD != null) {
int i2 = v + 3;
u = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 11 / 0;
}
} else {
C14957gcv.a("");
c7640csD = null;
}
c7640csD.w_();
super.onDestroy();
int i4 = v + 35;
u = i4 % 128;
if (i4 % 2 == 0) {
return null;
}
throw null;
}
@Override // com.scb.phone.view.activity.prepaid.detail.Hilt_PrepaidTravelConversionLandingActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = v + 21;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) + 23, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -110, -111, -112, ISOFileInfo.CHANNEL_SECURITY, -122, -113, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.LCS_BYTE, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 110, 18 - ExpandableListView.getPackedPositionType(0L), (char) (View.getDefaultSize(0, 0) + 17592), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = u + 101;
v = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = v + 55;
u = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 492, (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 66 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 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(TextUtils.indexOf("", "", 0, 0) + 487, Process.getGidForName("") + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).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();
}
@Override // com.scb.phone.view.activity.prepaid.detail.Hilt_PrepaidTravelConversionLandingActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(null, null, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 126, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(View.getDefaultSize(0, 0), (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (36850 - (ViewConfiguration.getScrollBarSize() >> 8)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i2 = v + 59;
u = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB((ViewConfiguration.getLongPressTimeout() >> 16) + 23, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 48, (char) (11356 - AndroidCharacter.getMirror('0')), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(null, null, 127 - View.resolveSizeAndState(0, 0, 0), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -109, -108, -99, -102, ISOFileInfo.LCS_BYTE, -99, -109, -105, -99, ISOFileInfo.LCS_BYTE, -103, -98, -99, ISOFileInfo.FILE_IDENTIFIER, -109, -108, -102, -105, -108, ISOFileInfo.DATA_BYTES2, -109, -108, -109, -109, -99, -105, ISOFileInfo.DATA_BYTES2, -105, -103, -103, -99, -100, -106, -104, ISOFileInfo.LCS_BYTE, -100, -108, -101, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -104, -102, -107, -108, -102, -103, -108, -104, -108, -104, -105, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, -109, -108, ISOFileInfo.SECURITY_ATTR_EXP, -108, -109, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((ViewConfiguration.getTapTimeout() >> 16) + 71, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 64, (char) (ViewConfiguration.getFadingEdgeLength() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 135, 74 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (62885 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(TextUtils.indexOf("", "", 0, 0) + 209, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(null, null, AndroidCharacter.getMirror('0') + 'O', new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, -102, -105, -107, -105, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -103, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -97, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, -109, ISOFileInfo.DATA_BYTES2, -97, -102, -102, -104, -107, -97, -109, ISOFileInfo.SECURITY_ATTR_EXP, -100, -108, -97, -100, -107, -106, ISOFileInfo.FILE_IDENTIFIER, -107, -104, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) View.combineMeasuredStates(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i4 = v + 23;
u = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static /* synthetic */ Object a(Object[] objArr) {
PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity = (PrepaidTravelConversionLandingActivity) objArr[0];
int i = 2 % 2;
int i2 = v + 99;
u = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = u + 113;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 74 / 0;
}
return null;
}
private static /* synthetic */ Object c(Object[] objArr) {
PrepaidTravelConversionLandingActivity prepaidTravelConversionLandingActivity = (PrepaidTravelConversionLandingActivity) objArr[0];
UB ub = (UB) objArr[1];
int i = 2 % 2;
int i2 = v + 3;
u = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(ub, "");
prepaidTravelConversionLandingActivity.m = ub;
if (i3 == 0) {
return null;
}
throw null;
}
static void g() {
q = new char[]{16117, 16098, 16104, 16102, 16099, 16109, 16034, 16103, 16068, 16119, 16105, 16100, 16085, 15896, 15898, 15901, 16120, 16108, 16118, 16090, 16088, 16093, 16089, 16038, 16091, 16037, 16039, 16036, 16092, 16106, 16033};
s = 1934311060;
r = true;
p = true;
w = new char[]{'M', 33108, 623, 33646, 1136, 51977, 18962, 51458, 18495, 53051, 20037, 52560, 19568, 50034, 17007, 49540, 16524, 51093, 18082, 50600, 17600, 56277, 23257, 41935, 8900, 41424, 8379, 43001, 9948, 42454, 9412, 44020, 10930, 43342, 10256, 44881, 11829, 44411, 11269, 45900, 12816, 45350, 12337, 46793, 13787, 46209, 15340, 47776, 14733, 47311, 16276, 48881, 15806, 48156, 860, 33391, 358, 32892, 1800, 34380, 1402, 33906, 2919, 35268, 2271, 36837, 3812, 36257, 3215, 37837, 4777, 36787, 3815, 36344, 3270, 35719, 2720, 35321, 2284, 34696, 1694, 34147, 1080, 33580, 591, 33108, ')', 40803, 7789, 40286, 7189, 39655, 6643, 39163, 6091, 38537, 5551, 38118, 5096, 37510, 4509, 36973, 12069, 44614, 11549, 44041, 11040, 43571, 10497, 43021, 10008, 42479, 9463, 41925, 8910, 41352, 8440, 49074, 16084, 48576, 15562, 47978, 14973, 47424, 14426, 46940, 13951, 46394, 13398, 45894, 12876, 45291, 20467, 52887, 19926, 31263, 64270, 30745, 63776, 32304, 65292, 31766, 64771, 29292, 62315, 28820, 61845, 30344, 63409, 29868, 62937, 27330, 60376, 26878, 59881, 28434, 60426, 27915, 57917, 25377, 57433, 24843, 58972, 26483, 58492, 26004, 55941, 23459, 55481, 22956, 57027, 24535, 56504, 24062, 54009, 20510, 53520, 22065, 55083, 21562, 54603, 19008, 52070, 18530, 51492, 20126, 53135, 19646, 52713, 17064, 50124, 16582, 49597, 18156, 51174, 17692, 47627, 15138, 47152, 14616, 48716, 16159, 48191, 15718, 45696, 13212, 45186, 12715, 46769, 36843, 3825, 36336, 3291, 35798};
x = 2582888310393409247L;
}
@Override // com.scb.phone.view.activity.prepaid.detail.Hilt_PrepaidTravelConversionLandingActivity, 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 final void onResume() {
e(new Object[]{this}, 1245264697, -1245264694, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.prepaid.detail.Hilt_PrepaidTravelConversionLandingActivity, 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 final void onStart() {
e(new Object[]{this}, -1857145528, 1857145530, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 2061162768);
}
@Override // o.InterfaceC9520dlL.RVV
public final void c(UB ub) {
e(new Object[]{this, ub}, 1972661915, -1972661914, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 1100094967);
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
e(new Object[]{this}, -298369137, 298369137, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1874290478);
}
static {
v = 1;
g();
l = new Sts((byte) 0);
int i = u + 61;
v = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}