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

833 lines
42 KiB
Java

package com.scb.phone.view.activity.prepaid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
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.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.prepaid.PrepaidTravelConversionSuccessActivity;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C1057Ur;
import o.C14957gcv;
import o.C15715hv;
import o.C15867jK;
import o.C17749zU;
import o.C7548cqR;
import o.C8803dWe;
import o.C9818dr;
import o.Dwh;
import o.EM;
import o.ES;
import o.EW;
import o.InterfaceC13391fZD;
import o.InterfaceC9558dlx;
import o.QK;
import o.QO;
import o.QQ;
import o.ZI;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class PrepaidTravelConversionReviewActivity extends Hilt_PrepaidTravelConversionReviewActivity implements InterfaceC9558dlx.IeS {
public static final LWm b;
private static int m;
private static int p;
private static char[] r;
private C1057Ur k;
private boolean l;
/* renamed from: o, reason: collision with root package name */
private Dwh f7772o;
@InterfaceC13391fZD
public C7548cqR presenter;
private static final byte[] $$E = {95, -10, ISO7816.INS_CREATE_FILE, 95};
private static final int $$F = 62;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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 aJ(byte r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 4
int r0 = 1 - r7
int r6 = r6 + 69
int r5 = r5 * 3
int r5 = 4 - r5
byte[] r1 = com.scb.phone.view.activity.prepaid.PrepaidTravelConversionReviewActivity.$$E
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L17
r4 = r6
r6 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L25:
r4 = r1[r5]
int r3 = r3 + 1
L29:
int r5 = r5 + 1
int r6 = r6 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelConversionReviewActivity.aJ(byte, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * 569) + (i2 * 569);
int i5 = ~i;
int i6 = ~i2;
int i7 = i5 | i6;
int i8 = ~i7;
int i9 = ~i3;
int i10 = i | i9;
return ((i4 + (((i8 | (~(i5 | i9))) | (~(i6 | i9))) * (-1136))) + ((((~(i5 | i3)) | (~(i6 | i3))) | (~(i10 | i2))) * (-568))) + ((((~i10) | (~(i2 | i9))) | (~(i7 | i3))) * 568) != 1 ? a(objArr) : d(objArr);
}
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void aG(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(m)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, (ViewConfiguration.getFadingEdgeLength() >> 16) + 7, (char) ((-1) - MotionEvent.axisFromString("")));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aJ(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(341 - ExpandableListView.getPackedPositionChild(0L), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aJ(b4, (byte) (b4 | 7), b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $11 + 81;
$10 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
int i8 = $10 + 37;
$11 = i8 % 128;
int i9 = i8 % 2;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(390 - AndroidCharacter.getMirror('0'), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) Color.alpha(0));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aJ(b5, (byte) (b5 | 7), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
cArr2 = cArr4;
}
String str = new String(cArr2);
int i10 = $11 + 29;
$10 = i10 % 128;
if (i10 % 2 == 0) {
objArr[0] = str;
} else {
int i11 = 17 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelConversionReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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 onCreate(Bundle bundle) {
C1057Ur c1057Ur;
int i = 2 % 2;
Dwh dwh = null;
Object[] objArr = new Object[1];
aG(ExpandableListView.getPackedPositionChild(0L) + 19, new char[]{'\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 126, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, 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 baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aI(new int[]{5, 26, 2, 22}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(18 - (ViewConfiguration.getWindowTouchSlop() >> 8), new char[]{'\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495}, Process.getGidForName("") + CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 6, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 97;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.resolveSize(0, 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new int[]{31, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(64 - (ViewConfiguration.getPressedStateDuration() >> 16), new char[]{30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 116, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_product_catalog_description_2).substring(44, 45).length() + 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 64, new char[]{65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 118, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mask_description_format).substring(0, 5).length() + 38, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new int[]{79, 74, 95, 0}, true, new byte[]{0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(KeyEvent.normalizeMetaState(0) + 5, new char[]{6, 65532, 65534, 7, 65532}, 111 - TextUtils.indexOf("", "", 0), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 112, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new int[]{153, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - ExpandableListView.getPackedPositionType(0L), 5 - TextUtils.indexOf("", "", 0), (char) Color.argb(0, 0, 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
this.l = getIntent().getBooleanExtra("EXTRA_IS_BUY", false);
Bundle extras = getIntent().getExtras();
if (extras != null) {
int i4 = p + 49;
q = i4 % 128;
if (i4 % 2 == 0) {
dwh.hashCode();
throw null;
}
c1057Ur = (C1057Ur) extras.getParcelable("EXTRA_CONVERSION_VERIFICATION");
} else {
c1057Ur = null;
}
this.k = c1057Ur;
super.onCreate(bundle);
this.f7772o = new Dwh();
C7548cqR c7548cqR = this.presenter;
if (c7548cqR != null) {
int i5 = p + 19;
q = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c7548cqR = null;
}
c7548cqR.e((C7548cqR) this);
C1057Ur c1057Ur2 = this.k;
if (c1057Ur2 != null) {
final C7548cqR c7548cqR2 = this.presenter;
if (c7548cqR2 != null) {
int i7 = q + 85;
p = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 69 / 0;
}
} else {
C14957gcv.a("");
c7548cqR2 = null;
}
C14957gcv.e(c1057Ur2, "");
C17749zU c17749zU = c7548cqR2.b;
C14957gcv.e(c1057Ur2, "");
ES.IeS a = ES.a();
QK.LWm e = QK.e();
e.g = c17749zU.e.getString(C15715hv.tOB.from_label);
String str6 = c1057Ur2.c;
String str7 = c1057Ur2.a.b;
StringBuilder sb = new StringBuilder();
sb.append(str6);
sb.append(" ");
sb.append(str7);
e.h = sb.toString();
e.a = c1057Ur2.a.e;
c17749zU.a.add(new QK(e, (byte) 0));
c17749zU.a.add(new QQ());
QK.LWm e2 = QK.e();
e2.g = c17749zU.e.getString(C15715hv.tOB.to_label);
String str8 = c1057Ur2.d;
String str9 = c1057Ur2.f.b;
StringBuilder sb2 = new StringBuilder();
sb2.append(str8);
sb2.append(" ");
sb2.append(str9);
e2.h = sb2.toString();
e2.a = c1057Ur2.f.e;
c17749zU.a.add(new QK(e2, (byte) 0));
c17749zU.a.add(new QQ());
QO.IeS c = QO.c();
c.g = c17749zU.e.getString(C15715hv.tOB.prepaid_conversion_review_conversion_rate);
c.h = c1057Ur2.b.d;
c17749zU.a.add(c.d());
List<EM> list = c17749zU.a;
C14957gcv.c(list, "");
a.c = list;
a.b = c17749zU.e.getString(C15715hv.tOB.prepaid_conversion_review_remarks);
ES es = new ES(a, (byte) 0);
C14957gcv.c(es, "");
c7548cqR2.e = es;
ZI.IeS ieS = new ZI.IeS(c7548cqR2) { // from class: o.cqU
private C7548cqR a;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C7548cqR.d(this.a, (InterfaceC9558dlx.IeS) obj3);
}
{
this.a = c7548cqR2;
}
};
if (c7548cqR2.f != 0) {
ieS.e(c7548cqR2.f);
}
}
C7548cqR c7548cqR3 = this.presenter;
if (c7548cqR3 == null) {
C14957gcv.a("");
c7548cqR3 = null;
}
if (this.l) {
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.cqS
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9558dlx.IeS) obj3).b();
}
};
if (c7548cqR3.f != 0) {
ieS2.e(c7548cqR3.f);
}
} else {
ZI.IeS ieS3 = new ZI.IeS() { // from class: o.cqP
@Override // o.ZI.IeS
public final void e(Object obj3) {
((InterfaceC9558dlx.IeS) obj3).a();
}
};
if (c7548cqR3.f != 0) {
int i9 = p + 27;
int i10 = i9 % 128;
q = i10;
int i11 = i9 % 2;
int i12 = i10 + 21;
p = i12 % 128;
int i13 = i12 % 2;
ieS3.e(c7548cqR3.f);
}
}
if (!this.l) {
Dwh dwh2 = this.f7772o;
if (dwh2 == null) {
C14957gcv.a("");
} else {
dwh = dwh2;
}
dwh.c(((BaseActivity) this).scbAnalytics, "planetscb_conversion_sell_review_screen");
return;
}
int i14 = p + 89;
q = i14 % 128;
if (i14 % 2 == 0) {
throw null;
}
Dwh dwh3 = this.f7772o;
if (dwh3 == null) {
C14957gcv.a("");
} else {
dwh = dwh3;
}
dwh.c(((BaseActivity) this).scbAnalytics, "planetscb_conversion_buy_review_screen");
}
@Override // o.InterfaceC9558dlx.IeS
public final void b() {
int i = 2 % 2;
int i2 = p + 35;
q = i2 % 128;
int i3 = i2 % 2;
p(getString(R.string.prepaid_conversion_review_buy_title));
if (i3 == 0) {
throw null;
}
}
@Override // o.InterfaceC9558dlx.IeS
public final void a() {
int i = 2 % 2;
int i2 = p + 65;
q = i2 % 128;
int i3 = i2 % 2;
p(getString(R.string.prepaid_conversion_review_sell_title));
if (i3 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity
public final void g() {
int i = 2 % 2;
int i2 = q + 79;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
throw null;
}
C1057Ur c1057Ur = this.k;
if (c1057Ur != null) {
String str = this.l ? "planetscb_buy_confirm" : "planetscb_sell_confirm";
Dwh dwh = this.f7772o;
if (dwh == null) {
C14957gcv.a("");
dwh = null;
}
dwh.d("source", str);
Dwh dwh2 = this.f7772o;
if (dwh2 == null) {
int i3 = q + 103;
p = i3 % 128;
if (i3 % 2 != 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
dwh2 = null;
}
dwh2.c(((BaseActivity) this).scbAnalytics, "planetscb_conversion_confirm");
C7548cqR c7548cqR = this.presenter;
if (c7548cqR != null) {
int i4 = p + 89;
q = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c7548cqR = null;
}
boolean z = this.l;
C14957gcv.e(c1057Ur, "");
if (c7548cqR.f != 0) {
int i6 = p + 123;
q = i6 % 128;
if (i6 % 2 == 0) {
c7548cqR.f.y();
obj.hashCode();
throw null;
}
c7548cqR.f.y();
}
C9818dr c9818dr = new C9818dr(c1057Ur.j);
C15867jK c15867jK = c7548cqR.a;
C7548cqR.RVV rvv = new C7548cqR.RVV(c7548cqR, z);
C7548cqR.IeS ieS = new C7548cqR.IeS(c7548cqR);
C14957gcv.e(rvv, "");
C14957gcv.e(ieS, "");
C14957gcv.e(c9818dr, "");
c15867jK.b(c15867jK.c, rvv, ieS, new C8803dWe.HBt(c9818dr));
}
}
@Override // o.InterfaceC9558dlx.IeS
public final void d(EW ew) {
int i = 2 % 2;
C14957gcv.e(ew, "");
PrepaidTravelConversionSuccessActivity.Sts sts = PrepaidTravelConversionSuccessActivity.b;
PrepaidTravelConversionReviewActivity prepaidTravelConversionReviewActivity = this;
boolean z = this.l;
C14957gcv.e(prepaidTravelConversionReviewActivity, "");
C14957gcv.e(ew, "");
Intent putExtra = new Intent(prepaidTravelConversionReviewActivity, (Class<?>) PrepaidTravelConversionSuccessActivity.class).putExtra("PrepaidTravelConversionSuccessActivity.KEY_SUCCESS", ew).putExtra("EXTRA_IS_BUY", z);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
int i2 = q + 121;
p = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 32 / 0;
}
}
@Override // o.InterfaceC9558dlx.IeS
public final void e() {
int i = 2 % 2;
int i2 = q + 57;
p = i2 % 128;
if (i2 % 2 != 0) {
startActivity(PrepaidDetailsActivity.akE_(this));
finish();
int i3 = 60 / 0;
} else {
startActivity(PrepaidDetailsActivity.akE_(this));
finish();
}
}
@Override // o.InterfaceC9558dlx.IeS
public final void c() {
int i = 2 % 2;
int i2 = p + 57;
q = i2 % 128;
if (i2 % 2 != 0) {
setResult(-1);
finish();
int i3 = q + 37;
p = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 64 / 0;
return;
}
return;
}
setResult(-1);
finish();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
PrepaidTravelConversionReviewActivity prepaidTravelConversionReviewActivity = (PrepaidTravelConversionReviewActivity) objArr[0];
int i = 2 % 2;
int i2 = q + 39;
p = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
C7548cqR c7548cqR = prepaidTravelConversionReviewActivity.presenter;
if (c7548cqR == null) {
C14957gcv.a("");
c7548cqR = null;
}
c7548cqR.w_();
super.onDestroy();
int i3 = q + 115;
p = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
C7548cqR c7548cqR2 = prepaidTravelConversionReviewActivity.presenter;
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:59:0x00eb, code lost:
if (r25[r1.c] == 1) goto L33;
*/
/* JADX WARN: Removed duplicated region for block: B:43:0x01ec */
/* JADX WARN: Removed duplicated region for block: B:46:0x01ed A[Catch: all -> 0x00a8, TryCatch #0 {all -> 0x00a8, blocks: (B:7:0x002d, B:10:0x008e, B:12:0x0047, B:35:0x00f4, B:38:0x014e, B:41:0x01d9, B:45:0x023a, B:46:0x01ed, B:48:0x0115, B:52:0x0166, B:55:0x01c6, B:57:0x0187), top: B:6:0x002d }] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aI(int[] r23, boolean r24, byte[] r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 715
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelConversionReviewActivity.aI(int[], boolean, byte[], java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:39:0x0026, code lost:
r7 = new java.lang.Object[1];
aI(new int[]{5, 26, 2, 22}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0}, r7);
r2 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = (java.lang.Object[]) null;
r6 = new java.lang.Object[1];
aG(18 - android.view.KeyEvent.normalizeMetaState(0), new char[]{'\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.eligible_1_point_privileges).substring(8, 9).length() + org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_anon_WITH_AES_128_GCM_SHA256, true, (-16777209) - android.graphics.Color.rgb(0, 0, 0), r6);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r6[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:41:0x0024, code lost:
if (r2 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001d, code lost:
if (r2 == null) goto L9;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object a(java.lang.Object[] r14) {
/*
Method dump skipped, instructions count: 508
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelConversionReviewActivity.a(java.lang.Object[]):java.lang.Object");
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelConversionReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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;
int i2 = q + 13;
p = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new int[]{5, 26, 2, 22}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).length() + 17, new char[]{'\n', 4, 65531, '\b', '\b', 11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_ncb_slip_save_error).substring(0, 15).length() + CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, true, View.combineMeasuredStates(0, 0) + 7, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = q + 95;
p = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.red(0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) TextUtils.indexOf("", ""))).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((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 487, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - Process.getGidForName("")))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i5 = p + 45;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelConversionReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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) {
Context context2;
int i = 2 % 2;
int i2 = q + 83;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG((ViewConfiguration.getLongPressTimeout() >> 16) + 18, new char[]{'\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 160, true, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new int[]{0, 5, 0, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = q + 95;
p = i4 % 128;
if (i4 % 2 != 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Process.getGidForName("") + 493, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new int[]{31, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(64 - (ViewConfiguration.getLongPressTimeout() >> 16), new char[]{30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517, 65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522}, (ViewConfiguration.getPressedStateDuration() >> 16) + 129, true, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 2, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(ImageFormat.getBitsPerPixel(0) + 65, new char[]{65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517}, (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)) + ISO781611.CREATION_DATE_AND_TIME_TAG, true, 43 - View.resolveSizeAndState(0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new int[]{79, 74, 95, 0}, true, new byte[]{0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), new char[]{6, 65532, 65534, 7, 65532}, 110 - TextUtils.lastIndexOf("", '0', 0, 0), false, (Process.myPid() >> 22) + 3, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new int[]{153, 36, 0, 0}, true, new byte[]{1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getTrimmedLength(""), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void m() {
m = 2015661594;
r = new char[]{39993, 40045, 40020, 40044, 40056, 39987, 40037, 40035, 40000, 40002, 40033, 40057, 40026, 39986, 40031, 40038, 40059, 40058, 40058, 40059, 40051, 40035, 40043, 40036, 40038, 40046, 40047, 40047, 40034, 40032, 40038, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 40034, 40153, 40155, 40131, 40135, 40135, 40098, 40068, 40120, 40122, 40123, 40153, 40128, 40142, 40130, 40129, 40096, 40096, 40128, 40140, 40108, 40102, 40134, 40131, 40108, 40099, 40129, 40131, 40129, 40153, 40154, 40129, 40129, 40131, 40129, 40134, 40098, 40123, 40153, 40130, 40138, 40129, 40130, 40137, 40129, 40135, 40134, 40123, 40096, 40128, 40141, 40139, 40141, 40142, 40143, 40142, 40130, 40129, 40131, 40135, 40134, 40131, 40140, 40141, 40143, 40134, 40123, 40069, 40088, 40126, 40155, 40154, 40152, 40134, 39993, 40000, 39992, 39999, 39999, 40007, 40047, 40005, 40007, 40002, 40001, 40001, 39972, 40003, 40047, 40040, 40042, 40012, 39972, 39994, 39994, 39992, 39995, 40012, 40040, 40001, 39992, 39994, 39973, 39993, 39997, 40005, 40007, 39992, 40002, 40040};
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelConversionReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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() {
c(new Object[]{this}, 255887819, -255887819, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1869895971);
}
@Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelConversionReviewActivity, com.scb.phone.view.activity.ReviewCommonActivity, o.AbstractActivityC9792dqa, 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() {
int i = 2 % 2;
int i2 = q + 111;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
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.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
c(new Object[]{this}, 1656651672, -1656651671, ((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) - 197527273);
}
@Override // com.scb.phone.view.activity.ReviewCommonActivity
public final String j() {
int i = 2 % 2;
int i2 = q;
int i3 = i2 + 115;
p = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 25;
p = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 0 / 0;
}
return "";
}
static {
p = 0;
m();
b = new LWm((byte) 0);
int i = q + 33;
p = i % 128;
int i2 = i % 2;
}
}