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.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; 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.LinearLayout; import android.widget.TextView; import butterknife.BindView; import butterknife.OnClick; 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.detail.PrepaidTravelConversionLandingActivity; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Arrays; import o.C1061Ut; import o.C14957gcv; import o.C7555cqY; import o.C9765dq; import o.Dwh; import o.InterfaceC13391fZD; import o.InterfaceC9511dlC; import o.TVH; import o.UA; import o.UC; import o.UE; import o.ZI; import o.gcH; import o.xzZ; import o.zUI; import org.bouncycastle.crypto.tls.CipherSuite; import org.jnbis.internal.NistHelper; /* loaded from: classes5.dex */ public final class PrepaidTravelForeignCurrencyWalletDetailActivity extends Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity implements InterfaceC9511dlC.RVV { private static int l; private static char[] m; /* renamed from: o, reason: collision with root package name */ public static final HBt f7774o; private static int t; @BindView public Button btBuy; @BindView public Button btSell; private Dwh k; @BindView public LinearLayout llFcyRate; @BindView public LinearLayout llViewCustomError; @InterfaceC13391fZD public C7555cqY mPresenter; @BindView public TextView tvAmount; @BindView public TextView tvBuyingRate; @BindView public TextView tvCurrencyCode; @BindView public TextView tvRemainingConversionLimit; @BindView public TextView tvSellingRate; private static final byte[] $$p = {46, -23, 1, -23}; private static final int $$q = 59; private static int $10 = 0; private static int $11 = 1; private static int p = 0; /* 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: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(int r7, byte r8, byte r9, java.lang.Object[] r10) { /* byte[] r0 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.$$p int r7 = 76 - r7 int r9 = r9 * 2 int r9 = 1 - r9 int r8 = r8 + 4 byte[] r1 = new byte[r9] r2 = 0 if (r0 != 0) goto L13 r7 = r8 r3 = r9 r4 = r2 goto L2a L13: r3 = r2 L14: int r4 = r3 + 1 byte r5 = (byte) r7 r1[r3] = r5 int r8 = r8 + 1 if (r4 != r9) goto L25 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L25: r3 = r0[r8] r6 = r8 r8 = r7 r7 = r6 L2a: int r3 = -r3 int r8 = r8 + r3 r3 = r4 r6 = r8 r8 = r7 r7 = r6 goto L14 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.aC(int, byte, byte, java.lang.Object[]):void"); } public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = ~i2; int i5 = ~i; int i6 = ~i3; if ((i * 866) + (i2 * (-864)) + (((~(i5 | i6)) | i4) * (-865)) + ((~(i3 | i)) * 865) + (((~(i | i6)) | (~(i4 | i6))) * 865) != 1) { PrepaidTravelForeignCurrencyWalletDetailActivity prepaidTravelForeignCurrencyWalletDetailActivity = (PrepaidTravelForeignCurrencyWalletDetailActivity) objArr[0]; Context context = (Context) objArr[1]; int i7 = 2 % 2; int i8 = p + 97; t = i8 % 128; int i9 = i8 % 2; super.attachBaseContext(context); Object[] objArr2 = new Object[1]; aA(new int[]{0, 18, 43, 0}, false, new byte[]{0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr2); Class cls = Class.forName((String) objArr2[0]); Object[] objArr3 = new Object[1]; aA(new int[]{18, 5, 0, 5}, true, new byte[]{0, 1, 0, 0, 0}, objArr3); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { context = context.getApplicationContext(); } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr4 = new Object[1]; aA(new int[]{41, 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}, objArr4); String str = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new int[]{89, 64, 7, 0}, false, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr5); String str2 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(TextUtils.getCapsMode("", 0, 0) + 64, new char[]{65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 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}, 239 - View.MeasureSpec.makeMeasureSpec(0, 0), true, 53 - View.combineMeasuredStates(0, 0), objArr6); String str3 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new int[]{153, 74, 38, 0}, false, new byte[]{0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 1}, objArr7); String str4 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, new char[]{7, 65532, 6, 65532, 65534}, 219 - (ViewConfiguration.getKeyRepeatDelay() >> 16), false, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, objArr8); String str5 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aB((ViewConfiguration.getScrollDefaultDelay() >> 16) + 36, new char[]{65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519}, 238 - TextUtils.getTrimmedLength(""), true, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 6, objArr9); Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(535 - AndroidCharacter.getMirror('0'), TextUtils.getCapsMode("", 0, 0) + 5, (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, objArr10); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } } int i10 = p + 111; t = i10 % 128; int i11 = i10 % 2; return null; } return d(objArr); } /* loaded from: classes5.dex */ public static final class HBt { private HBt() { } public static Intent akJ_(Context context, UA ua, UE ue, ArrayList arrayList) { C14957gcv.e(context, ""); C14957gcv.e(ua, ""); C14957gcv.e(ue, ""); C14957gcv.e(arrayList, ""); Intent intent = new Intent(context, (Class) PrepaidTravelForeignCurrencyWalletDetailActivity.class); intent.putExtra("EXTRA_PREPAID_TRAVEL_FOREIGN_CURRENCY_WALLET_DISPLAY", ua); intent.putExtra("EXTRA_PREPAID_TRAVEL_FOREIGN_CURRENCY_WALLET_SUMMARY_DISPLAY", ue); intent.putExtra("EXTRA_PREPAID_TRAVEL_FOREIGN_CURRENCY_WALLET_THB_WALLET_ALLOW_TAG", arrayList); return intent; } public /* synthetic */ HBt(byte b) { this(); } } private static void aB(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; int i5 = $11 + 107; $10 = i5 % 128; int i6 = i5 % 2; while (zui.d < i) { int i7 = $10 + 17; $11 = i7 % 128; int i8 = i7 % 2; zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i2 + zui.c); int i9 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i9]), Integer.valueOf(l)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 142, View.MeasureSpec.getSize(0) + 7, (char) View.combineMeasuredStates(0, 0)); byte b = (byte) (-$$p[2]); Object[] objArr3 = new Object[1]; aC((byte) 7, b, (byte) (b + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i9] = ((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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 341, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16)); byte b2 = $$p[2]; byte b3 = (byte) (b2 - 1); byte b4 = (byte) (-b2); Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 + 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } 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) { int i10 = $11 + 43; $10 = i10 % 128; int i11 = i10 % 2; char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { int i12 = $10 + 45; $11 = i12 % 128; if (i12 % 2 == 0) { cArr4[zui.d] = cArr2[(i << zui.d) % 0]; Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(390 - AndroidCharacter.getMirror('0'), View.combineMeasuredStates(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1)); byte b5 = $$p[2]; byte b6 = (byte) (b5 - 1); byte b7 = (byte) (-b5); Object[] objArr7 = new Object[1]; aC(b6, b7, (byte) (b7 + 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } else { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; Object[] objArr8 = {zui, zui}; Object obj4 = xzZ.y.get(1294990079); if (obj4 == null) { Class cls4 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 342, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1)); byte b8 = $$p[2]; byte b9 = (byte) (b8 - 1); byte b10 = (byte) (-b8); Object[] objArr9 = new Object[1]; aC(b9, b10, (byte) (b10 + 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1294990079, obj4); } ((Method) obj4).invoke(null, objArr8); } } cArr2 = cArr4; } objArr[0] = new String(cArr2); } /* JADX WARN: Code restructure failed: missing block: B:16:0x03f5, code lost: if (r2 != null) goto L46; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x03fa, code lost: if (r4 == null) goto L60; */ /* JADX WARN: Code restructure failed: missing block: B:18:0x03fc, code lost: r5.b = r0; r5.c = r2; r5.e = r4; r7 = new o.C7616crg(r5, r2); */ /* JADX WARN: Code restructure failed: missing block: B:19:0x0409, code lost: if (r5.f == 0) goto L50; */ /* JADX WARN: Code restructure failed: missing block: B:20:0x040b, code lost: r2 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t + 19; com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p = r2 % 128; r2 = r2 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:21:0x0417, code lost: if (r6 == false) goto L53; */ /* JADX WARN: Code restructure failed: missing block: B:22:0x0419, code lost: r7.e(r5.f); */ /* JADX WARN: Code restructure failed: missing block: B:24:0x0420, code lost: if (r5.f == 0) goto L56; */ /* JADX WARN: Code restructure failed: missing block: B:25:0x0422, code lost: r2 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t; r6 = r2 + 23; com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p = r6 % 128; r6 = r6 % 2; r2 = r2 + 13; com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p = r2 % 128; r2 = r2 % 2; r5.f.y(); */ /* JADX WARN: Code restructure failed: missing block: B:26:0x0438, code lost: r2 = new o.C7614cre(r5, r4); */ /* JADX WARN: Code restructure failed: missing block: B:27:0x043f, code lost: if (r5.f == 0) goto L59; */ /* JADX WARN: Code restructure failed: missing block: B:28:0x0441, code lost: r2.e(r5.f); */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0446, code lost: r2 = r5.d; r4 = new o.C7555cqY.RVV(r5); r6 = new o.C7555cqY.LWm(r5); r5 = new o.C9871ds(r0.e, "THB"); o.C14957gcv.e(r4, ""); o.C14957gcv.e(r6, ""); o.C14957gcv.e(r5, ""); r2.b(r2.b, r4, r6, new o.BfR.RVV(r5)); */ /* JADX WARN: Code restructure failed: missing block: B:30:0x0416, code lost: r6 = false; */ /* JADX WARN: Code restructure failed: missing block: B:31:0x03f8, code lost: if (r2 != null) goto L46; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x005e, code lost: if (r2 > 99999) goto L6; */ /* JADX WARN: Removed duplicated region for block: B:11:0x03e0 */ /* JADX WARN: Removed duplicated region for block: B:13:0x03e6 */ /* JADX WARN: Removed duplicated region for block: B:34:0x047a */ /* JADX WARN: Removed duplicated region for block: B:42:0x0492 */ /* JADX WARN: Removed duplicated region for block: B:8:0x03a2 */ @Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity, 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 r22) { /* Method dump skipped, instructions count: 1472 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.onCreate(android.os.Bundle):void"); } @Override // o.InterfaceC9511dlC.RVV public final void d(UA ua, UC uc) { int i = 2 % 2; int i2 = t + 119; p = i2 % 128; TextView textView = null; if (i2 % 2 != 0) { C14957gcv.e(ua, ""); C14957gcv.e(uc, ""); p(ua.c); throw null; } C14957gcv.e(ua, ""); C14957gcv.e(uc, ""); p(ua.c); TextView textView2 = this.tvAmount; if (textView2 == null) { C14957gcv.a(""); textView2 = null; } textView2.setText(ua.b); TextView textView3 = this.tvCurrencyCode; if (textView3 == null) { C14957gcv.a(""); textView3 = null; } textView3.setText(ua.e); TextView textView4 = this.tvRemainingConversionLimit; if (textView4 != null) { int i3 = t + 103; p = i3 % 128; int i4 = i3 % 2; textView = textView4; } else { C14957gcv.a(""); } gcH gch = gcH.d; String string = getString(R.string.prepaid_wallet_detail_remaining_conversion_limit_today); C14957gcv.c((Object) string, ""); String format = String.format(string, Arrays.copyOf(new Object[]{uc.c}, 1)); C14957gcv.c((Object) format, ""); textView.setText(format); } @Override // o.InterfaceC9511dlC.RVV public final void d(C1061Ut c1061Ut) { int i = 2 % 2; C14957gcv.e(c1061Ut, ""); TextView textView = this.tvBuyingRate; TextView textView2 = null; if (textView != null) { int i2 = p + 13; t = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); textView = null; } textView.setText(c1061Ut.c); TextView textView3 = this.tvSellingRate; if (textView3 != null) { int i4 = p + 69; t = i4 % 128; if (i4 % 2 == 0) { throw null; } textView2 = textView3; } else { C14957gcv.a(""); } textView2.setText(c1061Ut.d); int i5 = p + 107; t = i5 % 128; if (i5 % 2 == 0) { int i6 = 95 / 0; } } @Override // o.InterfaceC9511dlC.RVV public final void d(boolean z) { int i = 2 % 2; int i2 = p + 5; t = i2 % 128; Button button = null; if (i2 % 2 == 0) { button.hashCode(); throw null; } Button button2 = this.btSell; if (button2 != null) { button = button2; } else { C14957gcv.a(""); int i3 = p + 115; t = i3 % 128; int i4 = i3 % 2; } button.setEnabled(z); } private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) { char[] cArr; int i = 2; int i2 = 2 % 2; TVH tvh = new TVH(); int i3 = 0; int i4 = iArr[0]; int i5 = 1; int i6 = iArr[1]; int i7 = iArr[2]; int i8 = iArr[3]; char[] cArr2 = m; int i9 = 5; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i10 = 0; while (i10 < length) { int i11 = $10 + 89; $11 = i11 % 128; int i12 = i11 % i; try { Object[] objArr2 = new Object[i5]; objArr2[i3] = Integer.valueOf(cArr2[i10]); Object obj = xzZ.y.get(1645349359); if (obj != null) { cArr = cArr2; } else { Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 223, 5 - TextUtils.indexOf("", "", i3, i3), (char) (41977 - (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)))); byte b = (byte) (-$$p[i]); cArr = cArr2; Object[] objArr3 = new Object[1]; aC((byte) i9, b, (byte) (b + 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i10++; cArr2 = cArr; i = 2; i3 = 0; i5 = 1; i9 = 5; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } char[] cArr4 = new char[i6]; System.arraycopy(cArr2, i4, cArr4, 0, i6); if (bArr != null) { int i13 = $11 + 61; $10 = i13 % 128; int i14 = i13 % 2; char[] cArr5 = new char[i6]; tvh.c = 0; char c = 0; while (tvh.c < i6) { if (bArr[tvh.c] == 1) { int i15 = $10 + 17; $11 = i15 % 128; int i16 = i15 % 2; int i17 = tvh.c; try { Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 502, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (View.getDefaultSize(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr5[i17] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { int i18 = tvh.c; try { Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, 5 - View.resolveSize(0, 0), (char) (58134 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr5[i18] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } c = cArr5[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 401, 4 - TextUtils.lastIndexOf("", '0'), (char) (21608 - TextUtils.getOffsetAfter("", 0))); byte b2 = (byte) ($$q & 7); byte b3 = (byte) (-$$p[2]); Object[] objArr7 = new Object[1]; aC(b2, b3, (byte) (b3 + 1), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); } cArr4 = cArr5; } if (i8 > 0) { char[] cArr6 = new char[i6]; System.arraycopy(cArr4, 0, cArr6, 0, i6); int i19 = i6 - i8; System.arraycopy(cArr6, 0, cArr4, i19, i8); System.arraycopy(cArr6, i8, cArr4, 0, i19); } if (z) { int i20 = $10 + 49; $11 = i20 % 128; int i21 = i20 % 2; char[] cArr7 = new char[i6]; int i22 = 0; while (true) { tvh.c = i22; if (tvh.c >= i6) { break; } int i23 = $11 + 117; $10 = i23 % 128; int i24 = i23 % 2; cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1]; i22 = tvh.c + 1; } cArr4 = cArr7; } if (i7 > 0) { int i25 = 0; while (true) { tvh.c = i25; if (tvh.c >= i6) { break; } cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]); i25 = tvh.c + 1; } } objArr[0] = new String(cArr4); } @Override // o.InterfaceC9511dlC.RVV public final void a(boolean z) { int i = 2 % 2; Button button = this.btBuy; if (button != null) { int i2 = t + 85; int i3 = i2 % 128; p = i3; int i4 = i2 % 2; int i5 = i3 + 13; t = i5 % 128; if (i5 % 2 == 0) { int i6 = 4 % 3; } } else { C14957gcv.a(""); button = null; } button.setEnabled(z); } @Override // o.InterfaceC9511dlC.RVV public final void d() { int i = 2 % 2; int i2 = t + 91; int i3 = i2 % 128; p = i3; int i4 = i2 % 2; LinearLayout linearLayout = this.llViewCustomError; LinearLayout linearLayout2 = null; if (linearLayout != null) { int i5 = i3 + 63; t = i5 % 128; if (i5 % 2 == 0) { int i6 = 98 / 0; } } else { C14957gcv.a(""); int i7 = p + 45; t = i7 % 128; int i8 = i7 % 2; linearLayout = null; } linearLayout.setVisibility(0); LinearLayout linearLayout3 = this.llFcyRate; if (linearLayout3 != null) { int i9 = p + 101; t = i9 % 128; if (i9 % 2 == 0) { int i10 = 52 / 0; } linearLayout2 = linearLayout3; } else { C14957gcv.a(""); } linearLayout2.setVisibility(8); } /* JADX WARN: Code restructure failed: missing block: B:16:0x0019, code lost: if (r1 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r1 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x001c, code lost: o.C14957gcv.a(""); r1 = null; */ @butterknife.OnClick /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onSellButtonClick() { /* r5 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t int r1 = r1 + 1 int r2 = r1 % 128 com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p = r2 int r1 = r1 % r0 if (r1 == 0) goto L17 o.cqY r1 = r5.mPresenter r2 = 21 int r2 = r2 / 0 if (r1 == 0) goto L1c goto L22 L17: o.cqY r1 = r5.mPresenter if (r1 == 0) goto L1c goto L22 L1c: java.lang.String r1 = "" o.C14957gcv.a(r1) r1 = 0 L22: o.crd r2 = new o.crd r2.(r1) T extends o.cYp r3 = r1.f if (r3 == 0) goto L42 int r3 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t int r3 = r3 + 1 int r4 = r3 % 128 com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p = r4 int r3 = r3 % r0 T extends o.cYp r1 = r1.f r2.e(r1) int r1 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p int r1 = r1 + 41 int r2 = r1 % 128 com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t = r2 int r1 = r1 % r0 L42: int r1 = com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.p int r1 = r1 + 105 int r2 = r1 % 128 com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.t = r2 int r1 = r1 % r0 if (r1 != 0) goto L50 r0 = 5 int r0 = r0 / 0 L50: return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.prepaid.PrepaidTravelForeignCurrencyWalletDetailActivity.onSellButtonClick():void"); } @OnClick public final void onBuyButtonClick() { int i = 2 % 2; int i2 = t + 87; p = i2 % 128; int i3 = i2 % 2; final C7555cqY c7555cqY = this.mPresenter; if (c7555cqY == null) { C14957gcv.a(""); c7555cqY = null; } ZI.IeS ieS = new ZI.IeS(c7555cqY) { // from class: o.crc private C7555cqY a; @Override // o.ZI.IeS public final void e(Object obj) { C7555cqY.e(this.a, (InterfaceC9511dlC.RVV) obj); } { this.a = c7555cqY; } }; if (c7555cqY.f != 0) { ieS.e(c7555cqY.f); } int i4 = t + 91; p = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9511dlC.RVV public final void e(C9765dq c9765dq) { int i = 2 % 2; int i2 = t + 95; p = i2 % 128; int i3 = i2 % 2; C14957gcv.e(c9765dq, ""); Dwh dwh = this.k; if (dwh == null) { int i4 = t + 123; p = i4 % 128; Object obj = null; if (i4 % 2 != 0) { C14957gcv.a(""); obj.hashCode(); throw null; } C14957gcv.a(""); int i5 = p + 85; t = i5 % 128; int i6 = i5 % 2; dwh = null; } dwh.c(((BaseActivity) this).scbAnalytics, "planetscb_sell_conversion"); PrepaidTravelConversionLandingActivity.Sts sts = PrepaidTravelConversionLandingActivity.l; startActivityForResult(PrepaidTravelConversionLandingActivity.Sts.akL_(this, c9765dq), 1000); } private static /* synthetic */ Object d(Object[] objArr) { PrepaidTravelForeignCurrencyWalletDetailActivity prepaidTravelForeignCurrencyWalletDetailActivity = (PrepaidTravelForeignCurrencyWalletDetailActivity) objArr[0]; C9765dq c9765dq = (C9765dq) objArr[1]; int i = 2 % 2; C14957gcv.e(c9765dq, ""); Dwh dwh = prepaidTravelForeignCurrencyWalletDetailActivity.k; if (dwh == null) { int i2 = t + 55; p = i2 % 128; int i3 = i2 % 2; C14957gcv.a(""); dwh = null; } dwh.c(((BaseActivity) prepaidTravelForeignCurrencyWalletDetailActivity).scbAnalytics, "planetscb_buy_conversion"); PrepaidTravelConversionLandingActivity.Sts sts = PrepaidTravelConversionLandingActivity.l; prepaidTravelForeignCurrencyWalletDetailActivity.startActivityForResult(PrepaidTravelConversionLandingActivity.Sts.akL_(prepaidTravelForeignCurrencyWalletDetailActivity, c9765dq), 1000); int i4 = t + 81; p = i4 % 128; if (i4 % 2 == 0) { return null; } 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; super.onActivityResult(i, i2, intent); if (i2 == -1) { int i4 = t; int i5 = i4 + 115; p = i5 % 128; int i6 = i5 % 2; if (i == 1000) { int i7 = i4 + 27; p = i7 % 128; int i8 = i7 % 2; finish(); } } int i9 = p + 21; t = i9 % 128; if (i9 % 2 == 0) { 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() { int i = 2 % 2; int i2 = p + 55; int i3 = i2 % 128; t = i3; int i4 = i2 % 2; C7555cqY c7555cqY = this.mPresenter; Object obj = null; if (c7555cqY != null) { int i5 = i3 + 59; p = i5 % 128; if (i5 % 2 != 0) { obj.hashCode(); throw null; } } else { C14957gcv.a(""); c7555cqY = null; } c7555cqY.w_(); super.onDestroy(); } @Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity, 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() { int i = 2 % 2; int i2 = t + 117; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { Object[] objArr = new Object[1]; aB(27 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), new char[]{5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, false, 4 - ImageFormat.getBitsPerPixel(0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new int[]{23, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i4 = t + 95; p = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = t + 3; p = i6 % 128; try { if (i6 % 2 != 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 487, ExpandableListView.getPackedPositionChild(0L) + 6, (char) KeyEvent.keyCodeFromString(""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 492, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1378719468); if (obj5 == null) { obj5 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, View.combineMeasuredStates(0, 0) + 5, (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity, 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 = p + 79; t = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = p + 15; t = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534, '\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521}, 268 - (ViewConfiguration.getPressedStateDuration() >> 16), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.verify_identity_1).substring(0, 3).length() + 2, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new int[]{23, 18, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = p + 1; t = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 492, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 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(Gravity.getAbsoluteGravity(0, 0) + 487, 5 - Color.green(0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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(); } static void h() { m = new char[]{40013, 40089, 40095, 40093, 40080, 40092, 40090, 40063, 40050, 40087, 40048, 40033, 40071, 40080, 40095, 40068, 40092, 40085, 39993, 40045, 40020, 40044, 40056, 39994, 40039, 40056, 40057, 40032, 40034, 40058, 40017, 40019, 40059, 40037, 40033, 40045, 40041, 40033, 40037, 40039, 40037, 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, 39997, 40033, 40024, 40031, 40031, 40024, 40025, 39990, 40029, 40031, 39985, 39984, 39984, 39984, 39990, 39984, 39985, 39991, 39986, 39987, 40026, 40024, 40025, 40026, 39985, 39984, 39985, 40027, 40026, 39991, 39984, 39984, 39989, 39989, 39990, 40025, 40025, 39990, 40031, 40034, 40024, 40024, 40035, 40025, 39991, 39985, 39985, 40024, 40033, 40030, 40029, 40030, 40031, 40031, 39990, 40025, 40031, 40031, 40026, 39984, 39989, 40024, 40035, 40033, 40012, 40095, 40081, 40083, 40092, 40055, 40017, 40030, 40060, 40095, 40064, 40070, 40069, 40068, 40095, 40088, 40068, 40090, 40091, 40071, 40064, 40071, 40070, 40076, 40070, 40089, 40057, 40060, 40095, 40088, 40090, 40066, 40091, 40090, 40067, 40091, 40082, 40060, 40059, 40095, 40090, 40068, 40090, 40090, 40083, 40082, 40090, 40068, 40090, 40036, 40037, 40068, 40095, 40063, 40037, 40069, 40089, 40057, 40057, 40090, 40091, 40071, 40089, 40082, 40060, 40051, 40049, 40029, 40059, 40088, 40088, 40068, 40092, 40082}; l = 2015661710; } @Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity, 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) { c(new Object[]{this, context}, 1621976819, -1621976819, System.identityHashCode(this)); } @Override // com.scb.phone.view.activity.prepaid.Hilt_PrepaidTravelForeignCurrencyWalletDetailActivity, 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 = t + 9; p = i2 % 128; int i3 = i2 % 2; Object obj = null; super.onStart(); if (i3 != 0) { obj.hashCode(); throw null; } int i4 = t + 49; p = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.InterfaceC9511dlC.RVV public final void a(C9765dq c9765dq) { c(new Object[]{this, c9765dq}, 1667121319, -1667121318, System.identityHashCode(this)); } static { t = 1; h(); f7774o = new HBt((byte) 0); int i = p + 15; t = i % 128; int i2 = i % 2; } }