package com.scb.phone.view.activity.loan; import android.content.Context; import android.content.DialogInterface; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Build; import android.os.Bundle; import android.os.Parcelable; import android.os.Process; import android.os.SystemClock; 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.view.ViewGroup; import android.widget.ExpandableListView; import android.widget.FrameLayout; import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.TextView; import androidx.appcompat.widget.Toolbar; import androidx.viewpager.widget.ViewPager; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.android.material.tabs.TabLayout; 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.loan.LoanInputActivity; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.custom.common.DefaultButton; import com.scb.phone.view.custom.common.NoteEditText; import com.scb.phone.view.custom.common.WrapContentViewPager; import com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment; import java.lang.reflect.Method; import java.util.Arrays; import java.util.List; import net.sf.scuba.smartcards.ISO7816; import o.AbstractC13482fbE; import o.AbstractC14961gcz; import o.C0385Fj; import o.C0932Rv; import o.C10454eEo; import o.C1121Wam; import o.C11604eiV; import o.C1171Xc; import o.C12332ewH; import o.C12891fKc; import o.C14851gaI; import o.C14866gag; import o.C14957gcv; import o.C15602gz; import o.C16619pkZ; import o.C4080bPc; import o.C4085bPh; import o.C4403bZM; import o.C6583cXR; import o.InterfaceC13391fZD; import o.InterfaceC13393fZL; import o.InterfaceC14890gbN; import o.InterfaceC6652cZH; import o.JvH; import o.WW; import o.YE; import o.ZI; import o.dQY; import o.fZZ; import o.gdZ; import o.gjJ; import o.nMh; import o.qOq; import o.qeC; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes5.dex */ public final class LoanInputActivity extends Hilt_LoanInputActivity implements InterfaceC6652cZH, AccountSourceSelectFragment.Sts { public static final IeS l; private static int[] q; private static char[] t; private static int w; private static long y; private Runnable k; @InterfaceC13391fZD public C4080bPc loanInputPresenter; private final InterfaceC13393fZL m; /* renamed from: o, reason: collision with root package name */ private C12332ewH f7539o; private String p; private qOq r; private C0385Fj s; private static final byte[] $$p = {8, 78, -66, ISO7816.INS_PSO}; private static final int $$q = 113; private static int $10 = 0; private static int $11 = 1; private static int x = 1; /* JADX WARN: Removed duplicated region for block: B:10:0x0024 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001c */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 r6, short r7, byte r8, java.lang.Object[] r9) { /* int r6 = 106 - r6 byte[] r0 = com.scb.phone.view.activity.loan.LoanInputActivity.$$p int r7 = r7 * 2 int r7 = 1 - r7 int r8 = r8 * 4 int r8 = 4 - r8 byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L14 r3 = r8 r4 = r2 goto L2a L14: r3 = r2 L15: byte r4 = (byte) r6 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r7) goto L24 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L24: r4 = r0[r8] r5 = r3 r3 = r6 r6 = r4 r4 = r5 L2a: int r6 = -r6 int r8 = r8 + 1 int r6 = r6 + r3 r3 = r4 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loan.LoanInputActivity.aC(int, short, 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; int i7 = (i * 934) + (i2 * (-932)) + (((~(i5 | i6)) | i4) * (-933)) + (((~(i6 | i4)) | (~(i4 | i))) * 933) + ((~(i | i2)) * 933); return i7 != 1 ? i7 != 2 ? i7 != 3 ? b(objArr) : a(objArr) : e(objArr) : c(objArr); } public static final /* synthetic */ String b(LoanInputActivity loanInputActivity) { int i = 2 % 2; int i2 = w + 63; x = i2 % 128; int i3 = i2 % 2; String str = loanInputActivity.p; if (i3 != 0) { return str; } throw null; } public static final /* synthetic */ C0385Fj c(LoanInputActivity loanInputActivity) { int i = 2 % 2; int i2 = w; int i3 = i2 + 3; x = i3 % 128; int i4 = i3 % 2; C0385Fj c0385Fj = loanInputActivity.s; int i5 = i2 + 97; x = i5 % 128; if (i5 % 2 == 0) { int i6 = 87 / 0; } return c0385Fj; } public static final /* synthetic */ qOq d(LoanInputActivity loanInputActivity) { int i = 2 % 2; int i2 = x + 61; w = i2 % 128; int i3 = i2 % 2; qOq qoq = loanInputActivity.r; if (i3 != 0) { int i4 = 74 / 0; } return qoq; } public static final /* synthetic */ C12332ewH e(LoanInputActivity loanInputActivity) { int i = 2 % 2; int i2 = w + 57; x = i2 % 128; int i3 = i2 % 2; C12332ewH c12332ewH = loanInputActivity.f7539o; if (i3 == 0) { int i4 = 42 / 0; } return c12332ewH; } public LoanInputActivity() { HBt hBt = new HBt(this); C14957gcv.e(hBt, ""); this.m = new fZZ(hBt); } /* loaded from: classes5.dex */ static final class HBt extends AbstractC14961gcz implements InterfaceC14890gbN { private LoanInputActivity d; @Override // o.InterfaceC14890gbN public final /* synthetic */ JvH invoke() { View inflate = this.d.getLayoutInflater().inflate(R.layout.2131558641, (ViewGroup) null, false); int i = R.id.button_review; DefaultButton defaultButton = (DefaultButton) qeC.e(inflate, R.id.button_review); if (defaultButton != null) { i = R.id.fragment_account_source_select; FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.fragment_account_source_select); if (frameLayout != null) { i = R.id.image_icon; ImageView imageView = (ImageView) qeC.e(inflate, R.id.image_icon); if (imageView != null) { i = R.id.note_edit_text; NoteEditText noteEditText = (NoteEditText) qeC.e(inflate, R.id.note_edit_text); if (noteEditText != null) { i = R.id.note_layout; LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.note_layout); if (linearLayout != null) { i = R.id.tab_amount_select; TabLayout tabLayout = (TabLayout) qeC.e(inflate, R.id.tab_amount_select); if (tabLayout != null) { i = R.id.text_account_number; TextView textView = (TextView) qeC.e(inflate, R.id.text_account_number); if (textView != null) { i = R.id.text_title; TextView textView2 = (TextView) qeC.e(inflate, R.id.text_title); if (textView2 != null) { i = R.id.toolbar; View e = qeC.e(inflate, R.id.toolbar); if (e != null) { C11604eiV c = C11604eiV.c(e); i = R.id.tv_specify_warning_msg; TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_specify_warning_msg); if (textView3 != null) { i = R.id.view_pager_amount_select; WrapContentViewPager wrapContentViewPager = (WrapContentViewPager) qeC.e(inflate, R.id.view_pager_amount_select); if (wrapContentViewPager != null) { return new JvH((LinearLayout) inflate, defaultButton, frameLayout, imageView, noteEditText, linearLayout, tabLayout, textView, textView2, c, textView3, wrapContentViewPager); } } } } } } } } } } } throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i))); } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ HBt(LoanInputActivity loanInputActivity) { super(0); this.d = loanInputActivity; } } /* loaded from: classes5.dex */ static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN { private LoanInputActivity d; @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { this.d.aN_(); return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ Sts(LoanInputActivity loanInputActivity) { super(0); this.d = loanInputActivity; } } /* loaded from: classes5.dex */ public static final class RVV implements C12332ewH.IeS { private LoanInputActivity c; private JvH d; RVV(LoanInputActivity loanInputActivity, JvH jvH) { this.c = loanInputActivity; this.d = jvH; } @Override // o.C12332ewH.IeS public final void b(double d) { C4080bPc c4080bPc = this.c.loanInputPresenter; if (c4080bPc == null) { C14957gcv.a(""); c4080bPc = null; } String str = (String) C6583cXR.c(new Object[]{Double.valueOf(d)}, -150997759, 150997764, (int) System.currentTimeMillis()); c4080bPc.b = str; C4085bPh c4085bPh = new C4085bPh(c4080bPc, str); if (c4080bPc.f != 0) { c4085bPh.e(c4080bPc.f); } } @Override // o.C12332ewH.IeS public final void c() { this.d.b.requestFocus(); } } 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; int i4 = $10 + 69; $11 = i4 % 128; int i5 = i4 % 2; while (dqy.a < i2) { int i6 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(t[i + dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 308, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (32797 - Color.red(0))); byte b = (byte) 0; Object[] objArr3 = new Object[1]; aC($$p[0], b, b, 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(y), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 412, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; aC((byte) ($$p[0] - 1), b2, b2, 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(407 - (ViewConfiguration.getScrollBarSize() >> 8), (Process.myTid() >> 22) + 5, (char) (29234 - (ViewConfiguration.getTapTimeout() >> 16))); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr7 = new Object[1]; aC(b3, b4, b4, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1071125919, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr = new char[i2]; dqy.a = 0; int i7 = $11 + 3; $10 = i7 % 128; int i8 = i7 % 2; while (dqy.a < i2) { cArr[dqy.a] = (char) jArr[dqy.a]; try { Object[] objArr8 = {dqy, dqy}; Object obj4 = xzZ.y.get(1071125919); if (obj4 == null) { Class cls4 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (TextUtils.getCapsMode("", 0, 0) + 29234)); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr9 = new Object[1]; aC(b5, b6, b6, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1071125919, obj4); } ((Method) obj4).invoke(null, objArr8); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr); } /* loaded from: classes5.dex */ public static final class LWm extends ViewPager.jbe { private JvH a; private LoanInputActivity d; LWm(JvH jvH, LoanInputActivity loanInputActivity) { this.a = jvH; this.d = loanInputActivity; } @Override // androidx.viewpager.widget.ViewPager.jbe, androidx.viewpager.widget.ViewPager.ojQ public final void onPageSelected(final int i) { WrapContentViewPager wrapContentViewPager = this.a.n; wrapContentViewPager.e = i; wrapContentViewPager.requestLayout(); final C4080bPc c4080bPc = this.d.loanInputPresenter; if (c4080bPc == null) { C14957gcv.a(""); c4080bPc = null; } ZI.IeS ieS = new ZI.IeS(c4080bPc, i) { // from class: o.bPb private int d; private C4080bPc e; @Override // o.ZI.IeS public final void e(Object obj) { C4080bPc.e(this.e, this.d, (InterfaceC6652cZH) obj); } { this.e = c4080bPc; this.d = i; } }; if (c4080bPc.f != 0) { ieS.e(c4080bPc.f); } } } private static void aA(int[] iArr, int i, Object[] objArr) { int length; int[] iArr2; int i2; int[] iArr3; char c; int i3 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr4 = q; int i4 = 16; int i5 = 1; int i6 = 0; if (iArr4 != null) { int length2 = iArr4.length; int[] iArr5 = new int[length2]; int i7 = 0; while (i7 < length2) { try { Object[] objArr2 = new Object[i5]; objArr2[0] = Integer.valueOf(iArr4[i7]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777231, (ViewConfiguration.getScrollBarFadeDuration() >> i4) + 5, (char) (58133 - TextUtils.lastIndexOf("", '0', 0)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr5[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i7++; i4 = 16; i5 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } int i8 = $11 + 27; $10 = i8 % 128; int i9 = i8 % 2; iArr4 = iArr5; } int length3 = iArr4.length; int[] iArr6 = new int[length3]; int[] iArr7 = q; if (iArr7 != null) { int i10 = $11 + 1; $10 = i10 % 128; if (i10 % 2 != 0) { length = iArr7.length; iArr2 = new int[length]; i2 = 1; } else { length = iArr7.length; iArr2 = new int[length]; i2 = 0; } while (i2 < length) { try { Object[] objArr3 = new Object[1]; objArr3[i6] = Integer.valueOf(iArr7[i2]); Object obj2 = xzZ.y.get(729798706); if (obj2 != null) { iArr3 = iArr7; c = 55346; } else { obj2 = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 58134))).getMethod("i", Integer.TYPE); iArr3 = iArr7; c = 55346; xzZ.y.put(729798706, obj2); } iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i2++; iArr7 = iArr3; i6 = 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } iArr7 = iArr2; } int i11 = i6; System.arraycopy(iArr7, i11, iArr6, i11, length3); c4403bZM.b = i11; while (c4403bZM.b < iArr.length) { int i12 = $10 + 11; $11 = i12 % 128; int i13 = i12 % 2; cArr[0] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr6); int i14 = 0; for (int i15 = 16; i14 < i15; i15 = 16) { c4403bZM.e ^= iArr6[i14]; Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj3 = xzZ.y.get(-1196964548); if (obj3 == null) { Class cls = (Class) xzZ.c(118 - TextUtils.indexOf("", "", 0), 4 - ImageFormat.getBitsPerPixel(0), (char) (ViewConfiguration.getPressedStateDuration() >> 16)); byte b = (byte) 2; byte b2 = (byte) (b - 2); Object[] objArr5 = new Object[1]; aC(b, b2, b2, objArr5); obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i14++; } int i16 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i16; c4403bZM.a ^= iArr6[16]; c4403bZM.e ^= iArr6[17]; int i17 = c4403bZM.e; int i18 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr6); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; Object[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 98, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1)); byte length4 = (byte) $$p.length; byte b3 = (byte) (length4 - 4); Object[] objArr7 = new Object[1]; aC(length4, b3, b3, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); } objArr[0] = new String(cArr2, 0, i); } @Override // com.scb.phone.view.activity.loan.Hilt_LoanInputActivity, 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) { C0385Fj c0385Fj; C4080bPc c4080bPc; Parcelable parcelable; int i = 2 % 2; int i2 = x + 7; w = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aA(new int[]{1602710832, -1810352301, 697789971, 1003749973, 1925346358, -502287255, -1240043128, -282786330, -1899469877, -2109109546}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 80, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new int[]{424912208, -1885500913, 643670691, -2048004191}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_header).substring(0, 29).length() - 24, 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]; aA(new int[]{1602710832, -1810352301, 697789971, 1003749973, -406431313, -302100901, 1390296713, 1885782112, -598423410, -1749068223, -731562866, -73344987, -1894918685, -255535747}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_travel_thb_currency).substring(0, 3).length() - 3, 17 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 3340), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Color.blue(0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (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)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aA(new int[]{510366439, 1958964050, 251957496, -755935939, 792777427, 511670408, -1746974038, 364700486, 1345642956, 109966865, 363674532, 1484820372, -62437553, -1927055168, -2146507949, 676239707, 1054121853, -1156234246, -461109134, -1253391014, -458973085, -151227849, 992904216, 624278443}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mtrl_picker_range_header_only_start_selected).substring(0, 7).length() + 11, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_review_submit_button_card_x).substring(0, 17).codePointAt(2) - 3527, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))), objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new int[]{753666185, -22577522, -1558823621, 2032509679, 396890296, -2101414780, -1512574671, -975457246, -159712873, -1342234834, -1084784044, -1671561153, -1869247737, -376650998, 820250008, 1682179886, -241176903, -1977294970, 554907411, 855583163, 2147079053, 199702555, -1253194722, 987136551, -2114923828, -1991233031, 1647406487, 128742449, 474694462, 634339255, 385898360, -1529175233}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 34, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_bill_payment_header).substring(19, 20).length() + 81, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_one_point).substring(0, 5).length() + 69, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 33448), objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 122, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_moa_list_text).substring(111, 112).length() + 4, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 20817), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aA(new int[]{-765222613, 863763710, -356076472, -1940391541, -1335675922, 982781182, 1260384766, 1468925637, 613881880, -254297508, 1409171913, 667894424, 635356426, -2084353913, 496803410, -1444997340, 1477519634, -773403036}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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 - (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)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).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; } } } super.onCreate(bundle); setContentView(((JvH) this.m.e()).e); super.amL_(((JvH) this.m.e()).i.c, ((JvH) this.m.e()).i.d); p(getString(R.string.input_loan)); C4080bPc c4080bPc2 = this.loanInputPresenter; if (c4080bPc2 != null) { int i4 = w + 65; x = i4 % 128; if (i4 % 2 == 0) { int i5 = 16 / 0; } } else { C14957gcv.a(""); c4080bPc2 = null; } c4080bPc2.e((C4080bPc) this); AbstractC13482fbE a = getSupportFragmentManager().a(); C14957gcv.c(a, ""); int id = ((JvH) this.m.e()).c.getId(); C1171Xc.IeS ieS = new C1171Xc.IeS(YE.LOAN_PAYMENT_FUNCTION); C1171Xc c1171Xc = ieS.c; c1171Xc.a = false; c1171Xc.b = true; c1171Xc.j = true; c1171Xc.g = true; AccountSourceSelectFragment b = AccountSourceSelectFragment.b(ieS.c); if (id == 0) { throw new IllegalArgumentException("Must use non-zero containerViewId"); } int i6 = w + 59; x = i6 % 128; int i7 = i6 % 2; a.b(id, b, null, 2); a.b(); JvH jvH = (JvH) this.m.e(); jvH.n.setOffscreenPageLimit(3); this.f7539o = new C12332ewH(this, C14851gaI.c, new Sts(this), new RVV(this, jvH)); WrapContentViewPager wrapContentViewPager = jvH.n; C12332ewH c12332ewH = this.f7539o; if (c12332ewH == null) { C14957gcv.a(""); c12332ewH = null; } wrapContentViewPager.setAdapter(c12332ewH); C12332ewH c12332ewH2 = this.f7539o; if (c12332ewH2 == null) { C14957gcv.a(""); c12332ewH2 = null; } wrapContentViewPager.addOnPageChangeListener(c12332ewH2); wrapContentViewPager.addOnPageChangeListener(new LWm(jvH, this)); Bundle extras = getIntent().getExtras(); if (extras != null) { if (Build.VERSION.SDK_INT >= 33) { int i8 = x + 81; w = i8 % 128; int i9 = i8 % 2; parcelable = (Parcelable) extras.getParcelable("com.scb.phone.EXTRA_LOAN_DISPLAY", C0385Fj.class); } else { Parcelable parcelable2 = extras.getParcelable("com.scb.phone.EXTRA_LOAN_DISPLAY"); if (!(parcelable2 instanceof C0385Fj)) { parcelable2 = null; } parcelable = (C0385Fj) parcelable2; } c0385Fj = (C0385Fj) parcelable; } else { c0385Fj = null; } this.s = c0385Fj; Bundle extras2 = getIntent().getExtras(); this.p = extras2 != null ? extras2.getString("com.scb.phone.EXTRA_LOAN_CTA_SOURCE") : null; this.r = new qOq(); final C0385Fj c0385Fj2 = this.s; if (c0385Fj2 != null) { int i10 = w + 67; x = i10 % 128; int i11 = i10 % 2; C4080bPc c4080bPc3 = this.loanInputPresenter; if (c4080bPc3 != null) { c4080bPc = c4080bPc3; } else { C14957gcv.a(""); c4080bPc = null; } C14957gcv.e(c0385Fj2, ""); String str6 = c0385Fj2.d; String str7 = c0385Fj2.A; c4080bPc.e = str6; c4080bPc.a = str7; ZI.IeS ieS2 = new ZI.IeS(c0385Fj2) { // from class: o.bPl private C0385Fj d; @Override // o.ZI.IeS public final void e(Object obj3) { C4080bPc.c(this.d, (InterfaceC6652cZH) obj3); } { this.d = c0385Fj2; } }; if (c4080bPc.f != 0) { ieS2.e(c4080bPc.f); } c4080bPc.i = c0385Fj2.N; c4080bPc.g = c0385Fj2; int i12 = w + 59; x = i12 % 128; int i13 = i12 % 2; } JvH jvH2 = (JvH) this.m.e(); DefaultButton defaultButton = jvH2.d; C14957gcv.c(defaultButton, ""); C10454eEo.d(defaultButton, new saX(this, jvH2)); } @Override // o.InterfaceC6652cZH public final void d(String str) { int i = 2 % 2; int i2 = x + 89; w = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); TextView textView = ((JvH) this.m.e()).g; C14957gcv.c(textView, ""); TextView textView2 = textView; C14957gcv.e(textView2, ""); textView2.setVisibility(0); textView.setText(str); int i4 = x + 51; w = i4 % 128; if (i4 % 2 != 0) { throw null; } } @Override // o.InterfaceC6652cZH public final void e() { int i = 2 % 2; int i2 = w + 75; x = i2 % 128; int i3 = i2 % 2; TextView textView = ((JvH) this.m.e()).g; C14957gcv.c(textView, ""); TextView textView2 = textView; C14957gcv.e(textView2, ""); textView2.setVisibility(8); int i4 = x + 119; w = i4 % 128; if (i4 % 2 != 0) { int i5 = 63 / 0; } } @Override // com.scb.phone.view.activity.BaseActivity public final void amL_(Toolbar toolbar, TextView textView) { int i = 2 % 2; int i2 = x + 97; w = i2 % 128; int i3 = i2 % 2; super.amL_(toolbar, textView); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* loaded from: classes5.dex */ static final class saX extends AbstractC14961gcz implements InterfaceC14890gbN { private LoanInputActivity b; private JvH d; /* JADX WARN: Multi-variable type inference failed */ @Override // o.InterfaceC14890gbN public final /* synthetic */ C14866gag invoke() { C4080bPc c4080bPc; C0385Fj c = LoanInputActivity.c(this.b); if (gdZ.a("commercial", c != null ? c.y : null, true) && (gdZ.a("PUSH", LoanInputActivity.b(this.b), true) || gdZ.a("INBOX", LoanInputActivity.b(this.b), true))) { if (gdZ.a("PUSH", LoanInputActivity.b(this.b), true)) { qOq d = LoanInputActivity.d(this.b); if (d == null) { C14957gcv.a(""); d = null; } d.d("combination", "push_commercial_loan"); } else { qOq d2 = LoanInputActivity.d(this.b); if (d2 == null) { C14957gcv.a(""); d2 = null; } d2.d("combination", "inbox_commercial_loan"); } LoanInputActivity loanInputActivity = this.b; qOq d3 = LoanInputActivity.d(loanInputActivity); if (d3 == null) { C14957gcv.a(""); d3 = null; } d3.c(((BaseActivity) loanInputActivity).scbAnalytics, "loan_input"); } C4080bPc c4080bPc2 = this.b.loanInputPresenter; if (c4080bPc2 != null) { c4080bPc = c4080bPc2; } else { C14957gcv.a(""); c4080bPc = null; } String obj = this.d.b.mNoteEditText.getText().toString(); C14957gcv.c((Object) obj, ""); C12332ewH e = LoanInputActivity.e(this.b); if (e == null) { C14957gcv.a(""); e = null; } e.c(e.a); double d4 = e.b; C14957gcv.e(obj, ""); if (!c4080bPc.h) { String str = obj; if (str.length() == 0 || ((Boolean) C6583cXR.c(new Object[]{obj}, -1032102340, 1032102340, (int) System.currentTimeMillis())).booleanValue()) { String format = C6583cXR.c().format(d4); C14957gcv.c((Object) format, ""); c4080bPc.b = format; c4080bPc.h = true; ZI.IeS ieS = new ZI.IeS() { // from class: o.bPq @Override // o.ZI.IeS public final void e(Object obj2) { C4080bPc.a((InterfaceC6652cZH) obj2); } }; if (c4080bPc.f != 0) { ieS.e(c4080bPc.f); } C16619pkZ b = C16619pkZ.b(); b.e = c4080bPc.d; b.b = c4080bPc.e; Double c2 = C6583cXR.c(format); C14957gcv.c(c2, ""); b.a = C15602gz.e(c2.doubleValue()); C0385Fj c0385Fj = c4080bPc.g; b.d = c0385Fj != null ? c0385Fj.G : null; C0385Fj c0385Fj2 = c4080bPc.g; b.f = c0385Fj2 != null ? c0385Fj2.E : null; C0385Fj c0385Fj3 = c4080bPc.g; b.i = c0385Fj3 != null ? c0385Fj3.F : null; b.c.b = (obj == null || str.length() != 0) ? obj : 0; c4080bPc.m.a(b); C1121Wam c1121Wam = c4080bPc.m; c1121Wam.d(c1121Wam.i, new C4080bPc.LWm(c4080bPc, obj, c4080bPc.d, c4080bPc.e, c4080bPc.a, c4080bPc.i)); } else { ZI.IeS ieS2 = new ZI.IeS() { // from class: o.bPj @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC6652cZH) obj2).b(); } }; if (c4080bPc.f != 0) { ieS2.e(c4080bPc.f); } } } return C14866gag.c; } /* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */ saX(LoanInputActivity loanInputActivity, JvH jvH) { super(0); this.b = loanInputActivity; this.d = jvH; } } @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 = w + 59; x = i2 % 128; int i3 = i2 % 2; C4080bPc c4080bPc = this.loanInputPresenter; if (c4080bPc == null) { C14957gcv.a(""); c4080bPc = null; } c4080bPc.w_(); if (this.k != null) { int i4 = x + 119; w = i4 % 128; if (i4 % 2 == 0) { ((JvH) this.m.e()).n.removeCallbacks(null); } else { ((JvH) this.m.e()).n.removeCallbacks(null); throw null; } } super.onDestroy(); } private static /* synthetic */ Object a(Object[] objArr) { final LoanInputActivity loanInputActivity = (LoanInputActivity) objArr[0]; final C0385Fj c0385Fj = (C0385Fj) objArr[1]; int i = 2 % 2; int i2 = w + 111; x = i2 % 128; Object obj = null; if (i2 % 2 != 0) { C14957gcv.e(c0385Fj, ""); C12332ewH c12332ewH = loanInputActivity.f7539o; if (c12332ewH == null) { C14957gcv.a(""); c12332ewH = null; } C12332ewH.LWm lWm = C12332ewH.e; LoanInputActivity loanInputActivity2 = loanInputActivity; String str = c0385Fj.M; if (str == null) { str = ""; } String str2 = c0385Fj.I; if (str2 != null) { int i3 = x + 57; w = i3 % 128; if (i3 % 2 != 0) { obj.hashCode(); throw null; } } else { str2 = ""; } C14957gcv.e(loanInputActivity2, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); String string = loanInputActivity2.getString(R.string.loan_label_amount_full); C14957gcv.c((Object) string, ""); C0932Rv c0932Rv = new C0932Rv(string, false, str, "full"); String string2 = loanInputActivity2.getString(R.string.loan_label_amount_partial); C14957gcv.c((Object) string2, ""); C0932Rv c0932Rv2 = new C0932Rv(string2, true, "0.00", "partial"); String string3 = loanInputActivity2.getString(R.string.loan_label_amount_pay_off); C14957gcv.c((Object) string3, ""); C0932Rv[] c0932RvArr = {c0932Rv, c0932Rv2, new C0932Rv(string3, false, str2, "pay off")}; C14957gcv.e(c0932RvArr, ""); C14957gcv.e(c0932RvArr, ""); List asList = Arrays.asList(c0932RvArr); C14957gcv.c(asList, ""); C14957gcv.e(asList, ""); c12332ewH.d = asList; c12332ewH.notifyDataSetChanged(); loanInputActivity.k = new Runnable(loanInputActivity, c0385Fj) { // from class: o.dXp private LoanInputActivity b; private C0385Fj d; @Override // java.lang.Runnable public final void run() { LoanInputActivity.c(new Object[]{this.b, this.d}, -2022174806, 2022174807, (int) System.currentTimeMillis()); } { this.b = loanInputActivity; this.d = c0385Fj; } }; JvH jvH = (JvH) loanInputActivity.m.e(); jvH.n.post(loanInputActivity.k); jvH.j.setupWithViewPager(jvH.n); jvH.f.setText(c0385Fj.A); jvH.h.setText(c0385Fj.d); LoanInputActivity loanInputActivity3 = loanInputActivity; C12891fKc.azf_(loanInputActivity3, R.drawable.loan_icon_placeholder, ((JvH) loanInputActivity.m.e()).a, c0385Fj.N, loanInputActivity.getResources().getDimensionPixelOffset(R.dimen.f15222131165286), nMh.getColor(loanInputActivity3, R.color.f3412131099849)); return null; } C14957gcv.e(c0385Fj, ""); C12332ewH c12332ewH2 = loanInputActivity.f7539o; throw null; } /* loaded from: classes5.dex */ public static final class IeS { private IeS() { } public /* synthetic */ IeS(byte b) { this(); } } @Override // o.InterfaceC6652cZH public final void a_(boolean z) { int i = 2 % 2; int i2 = x + 99; w = i2 % 128; if (i2 % 2 == 0) { ((JvH) this.m.e()).d.setButtonEnabled(z); int i3 = w + 115; x = i3 % 128; if (i3 % 2 == 0) { int i4 = 45 / 0; return; } return; } ((JvH) this.m.e()).d.setButtonEnabled(z); Object obj = null; obj.hashCode(); throw null; } @Override // o.InterfaceC6652cZH public final void b() { int i = 2 % 2; int i2 = x + 75; w = i2 % 128; int i3 = i2 % 2; InterfaceC13393fZL interfaceC13393fZL = this.m; if (i3 == 0) { ((JvH) interfaceC13393fZL.e()).b.d(); } else { ((JvH) interfaceC13393fZL.e()).b.d(); throw null; } } /* JADX WARN: Code restructure failed: missing block: B:12:0x001f, code lost: o.C14957gcv.a(""); r4 = com.scb.phone.view.activity.loan.LoanInputActivity.w + 111; com.scb.phone.view.activity.loan.LoanInputActivity.x = r4 % 128; */ /* JADX WARN: Code restructure failed: missing block: B:13:0x002b, code lost: if ((r4 % 2) != 0) goto L12; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x002d, code lost: r4 = 5 / 5; */ /* JADX WARN: Code restructure failed: missing block: B:15:0x002f, code lost: r4 = null; */ /* JADX WARN: Code restructure failed: missing block: B:17:0x001d, code lost: if (r4 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost: if (r4 == null) goto L9; */ @Override // o.InterfaceC6652cZH /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void d(o.C1189Xo r8) { /* r7 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.loan.LoanInputActivity.w int r1 = r1 + 87 int r2 = r1 % 128 com.scb.phone.view.activity.loan.LoanInputActivity.x = r2 int r1 = r1 % r0 r2 = 0 java.lang.String r3 = "" r4 = 1 if (r1 != 0) goto L19 o.pug[] r1 = new o.pug[r4] o.ewH r4 = r7.f7539o if (r4 != 0) goto L30 goto L1f L19: o.pug[] r1 = new o.pug[r4] o.ewH r4 = r7.f7539o if (r4 != 0) goto L30 L1f: o.C14957gcv.a(r3) int r4 = com.scb.phone.view.activity.loan.LoanInputActivity.w int r4 = r4 + 111 int r5 = r4 % 128 com.scb.phone.view.activity.loan.LoanInputActivity.x = r5 int r4 = r4 % r0 if (r4 != 0) goto L2f r4 = 5 int r4 = r4 / r4 L2f: r4 = r2 L30: o.Rv r4 = r4.e() java.lang.String r4 = r4.c o.pug r5 = new o.pug java.lang.String r6 = "loan_review" r5.(r6, r4) r4 = 0 r1[r4] = r5 r7.c(r6, r1) r1 = r7 android.content.Context r1 = (android.content.Context) r1 o.ewH r4 = r7.f7539o if (r4 != 0) goto L57 int r4 = com.scb.phone.view.activity.loan.LoanInputActivity.w int r4 = r4 + 43 int r5 = r4 % 128 com.scb.phone.view.activity.loan.LoanInputActivity.x = r5 int r4 = r4 % r0 o.C14957gcv.a(r3) goto L58 L57: r2 = r4 L58: o.Rv r0 = r2.e() java.lang.String r0 = r0.c com.scb.phone.view.activity.loan.LoanPaymentReviewActivity.d(r1, r8, r0) return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loan.LoanInputActivity.d(o.Xo):void"); } @Override // o.InterfaceC6652cZH public final void d() { int i = 2 % 2; CustomDialog b = CustomDialog.b(this); String string = getString(R.string.review_loan); if (!(!gjJ.a(string))) { int i2 = x + 95; w = i2 % 128; int i3 = i2 % 2; b.mTitleTextView.setVisibility(0); b.mTitleTextView.setText(string); } String string2 = getString(R.string.loan_repeating_message); if (!(!gjJ.a(string2))) { int i4 = x + 45; w = i4 % 128; if (i4 % 2 != 0) { b.mTextTextView.setVisibility(1); } else { b.mTextTextView.setVisibility(0); } b.mTextTextView.setText(string2); } b.aoU_(getString(R.string.ok), new DialogInterface.OnClickListener(this) { // from class: o.dXh private LoanInputActivity e; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i5) { LoanInputActivity.a(this.e); } { this.e = this; } }).aoO_(getString(R.string.cancel), new DialogInterface.OnClickListener() { // from class: o.dXm @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i5) { LoanInputActivity.aic_(dialogInterface); } }).show(); } private static /* synthetic */ Object b(Object[] objArr) { int i = 0; LoanInputActivity loanInputActivity = (LoanInputActivity) objArr[0]; double doubleValue = ((Number) objArr[1]).doubleValue(); int i2 = 2 % 2; C12332ewH c12332ewH = loanInputActivity.f7539o; if (c12332ewH == null) { int i3 = x + 17; w = i3 % 128; int i4 = i3 % 2; C14957gcv.a(""); c12332ewH = null; } int size = c12332ewH.d.size(); while (i < size) { int i5 = x + 9; w = i5 % 128; if (i5 % 2 != 0) { c12332ewH.c.get(i).setAvailableBalanceCurrencyFormattingTextWatcher(doubleValue); i += 113; } else { c12332ewH.c.get(i).setAvailableBalanceCurrencyFormattingTextWatcher(doubleValue); i++; } } int i6 = w + 79; x = i6 % 128; if (i6 % 2 != 0) { return null; } throw null; } @Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts public final void a(WW ww) { int i; int i2 = 2 % 2; C14957gcv.e(ww, ""); if (ww != null) { final C4080bPc c4080bPc = this.loanInputPresenter; if (c4080bPc == null) { C14957gcv.a(""); c4080bPc = null; } final String str = ww.s; Double d = ww.d; C14957gcv.c(d, ""); final double doubleValue = d.doubleValue(); c4080bPc.d = str; c4080bPc.c = doubleValue; ZI.IeS ieS = new ZI.IeS(doubleValue, c4080bPc, str) { // from class: o.bPi private C4080bPc a; private double b; private String e; @Override // o.ZI.IeS public final void e(Object obj) { C4080bPc.e(this.b, this.a, this.e, (InterfaceC6652cZH) obj); } { this.b = doubleValue; this.a = c4080bPc; this.e = str; } }; if (c4080bPc.f != 0) { int i3 = x + 31; w = i3 % 128; int i4 = i3 % 2; ieS.e(c4080bPc.f); i = x + 67; } else { i = x + 3; } w = i % 128; int i5 = i % 2; } } @Override // com.scb.phone.view.activity.loan.Hilt_LoanInputActivity, 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 = w + 75; x = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { Object[] objArr = new Object[1]; aA(new int[]{1602710832, -1810352301, 697789971, 1003749973, -406431313, -302100901, 1390296713, 1885782112, -598423410, -1749068223, -731562866, -73344987, -1894918685, -255535747}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, 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().getApplicationInfo().targetSdkVersion - 34, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 97, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_instruction_second_step).substring(0, 3).codePointAt(2) + 3364), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = x + 123; w = i4 % 128; try { if (i4 % 2 != 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) TextUtils.getOffsetAfter("", 0))).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(535 - AndroidCharacter.getMirror('0'), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) View.combineMeasuredStates(0, 0))).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(492 - KeyEvent.keyCodeFromString(""), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) View.MeasureSpec.getSize(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(486 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getTouchSlop() >> 8))).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(); } /* JADX WARN: Code restructure failed: missing block: B:27:0x0027, code lost: r8 = (java.lang.Object[]) null; r8 = new java.lang.Object[1]; aA(new int[]{1602710832, -1810352301, 697789971, 1003749973, -406431313, -302100901, 1390296713, 1885782112, -598423410, -1749068223, -731562866, -73344987, -1894918685, -255535747}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, r8); r2 = java.lang.Class.forName((java.lang.String) r8[0]); r9 = new java.lang.Object[1]; aB(((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.mw_shop_address_places_nearby).substring(23, 24).length() - 1, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) (((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.hml_ota_info_second_title).substring(7, 8).codePointAt(0) + 3342), r9); r2 = (android.content.Context) r2.getMethod((java.lang.String) r9[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:29:0x0025, code lost: if (r2 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001e, 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 e(java.lang.Object[] r12) { /* Method dump skipped, instructions count: 438 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.loan.LoanInputActivity.e(java.lang.Object[]):java.lang.Object"); } @Override // com.scb.phone.view.activity.loan.Hilt_LoanInputActivity, 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 = w + 7; x = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new int[]{1602710832, -1810352301, 697789971, 1003749973, 1925346358, -502287255, -1240043128, -282786330, -1899469877, -2109109546}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 18, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new int[]{424912208, -1885500913, 643670691, -2048004191}, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 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 = w + 69; x = i4 % 128; if (i4 % 2 == 0) { context.getApplicationContext(); obj.hashCode(); throw null; } context2 = context.getApplicationContext(); int i5 = w + 63; x = i5 % 128; int i6 = i5 % 2; } else { context2 = context; } if (context2 != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, 5 - View.MeasureSpec.getMode(0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = new Object[1]; aA(new int[]{510366439, 1958964050, 251957496, -755935939, 792777427, 511670408, -1746974038, 364700486, 1345642956, 109966865, 363674532, 1484820372, -62437553, -1927055168, -2146507949, 676239707, 1054121853, -1156234246, -461109134, -1253391014, -458973085, -151227849, 992904216, 624278443}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 47, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB(18 - (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)), 64 - View.combineMeasuredStates(0, 0), (char) (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)), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new int[]{753666185, -22577522, -1558823621, 2032509679, 396890296, -2101414780, -1512574671, -975457246, -159712873, -1342234834, -1084784044, -1671561153, -1869247737, -376650998, 820250008, 1682179886, -241176903, -1977294970, 554907411, 855583163, 2147079053, 199702555, -1253194722, 987136551, -2114923828, -1991233031, 1647406487, 128742449, 474694462, 634339255, 385898360, -1529175233}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 63, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 81, 74 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (33495 - AndroidCharacter.getMirror('0')), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aB((ViewConfiguration.getKeyRepeatTimeout() >> 16) + CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, (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) (20830 - (ViewConfiguration.getLongPressTimeout() >> 16)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new int[]{-765222613, 863763710, -356076472, -1940391541, -1335675922, 982781182, 1260384766, 1468925637, 613881880, -254297508, 1409171913, 667894424, 635356426, -2084353913, 496803410, -1444997340, 1477519634, -773403036}, 36 - TextUtils.indexOf("", "", 0, 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 - View.resolveSizeAndState(0, 0, 0), Color.argb(0, 0, 0, 0) + 5, (char) ((-1) - Process.getGidForName("")))).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; } } } } public static /* synthetic */ void a(LoanInputActivity loanInputActivity) { int i = 2 % 2; C14957gcv.e(loanInputActivity, ""); final C4080bPc c4080bPc = loanInputActivity.loanInputPresenter; if (c4080bPc != null) { int i2 = x + 125; w = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); c4080bPc = null; } ZI.IeS ieS = new ZI.IeS(c4080bPc) { // from class: o.bPk private C4080bPc c; @Override // o.ZI.IeS public final void e(Object obj) { C4080bPc.a(this.c, (InterfaceC6652cZH) obj); } { this.c = c4080bPc; } }; if (c4080bPc.f != 0) { int i4 = x + 51; w = i4 % 128; if (i4 % 2 == 0) { ieS.e(c4080bPc.f); } else { ieS.e(c4080bPc.f); int i5 = 3 / 0; } } } public static /* synthetic */ void aic_(DialogInterface dialogInterface) { int i = 2 % 2; int i2 = x + 31; w = i2 % 128; int i3 = i2 % 2; C14957gcv.e(dialogInterface, ""); if (i3 != 0) { dialogInterface.dismiss(); int i4 = 13 / 0; } else { dialogInterface.dismiss(); } int i5 = w + 79; x = i5 % 128; if (i5 % 2 == 0) { int i6 = 33 / 0; } } private static /* synthetic */ Object c(Object[] objArr) { LoanInputActivity loanInputActivity = (LoanInputActivity) objArr[0]; C0385Fj c0385Fj = (C0385Fj) objArr[1]; int i = 2 % 2; int i2 = x + 101; w = i2 % 128; int i3 = i2 % 2; C14957gcv.e(loanInputActivity, ""); C14957gcv.e(c0385Fj, ""); C4080bPc c4080bPc = loanInputActivity.loanInputPresenter; Object obj = null; if (c4080bPc != null) { int i4 = w + 65; int i5 = i4 % 128; x = i5; if (i4 % 2 == 0) { throw null; } int i6 = i5 + 113; w = i6 % 128; int i7 = i6 % 2; } else { C14957gcv.a(""); c4080bPc = null; } String str = c0385Fj.M; c4080bPc.b = str; C4085bPh c4085bPh = new C4085bPh(c4080bPc, str); if (c4080bPc.f != 0) { int i8 = x; int i9 = i8 + 59; w = i9 % 128; int i10 = i9 % 2; int i11 = i8 + 47; w = i11 % 128; if (i11 % 2 != 0) { c4085bPh.e(c4080bPc.f); obj.hashCode(); throw null; } c4085bPh.e(c4080bPc.f); } else { int i12 = w + 87; x = i12 % 128; int i13 = i12 % 2; } return null; } static void f() { q = new int[]{1379776624, 1235965407, -1643347737, 1919926418, 1052881145, -1833268342, 1756384857, -1677010738, 1518690131, 711800276, -1446420836, -740100607, 605087029, -1478853122, 1896174942, -1809444402, -104666355, 2074026397}; t = new char[]{33439, 48963, 63770, 15312, 30129, 46688, 61492, 12859, 27868, 44694, 60276, 9531, 26599, 41439, 58244, 7235, 24115, 39160, 36791, 45690, 62576, 14057, 30924, 47938, 64858, 16237, 25063, 41981, 58884, 10314, 27288, 44198, 61161, 4405, 21316, 38284, 55255, 6686, 23673, 40566, 49391, 704, 17681, 34654, 51558, 3071, 19960, 28681, 45646, 62620, 13989, 30959, 47923, 64813, 16271, 25048, 42060, 58998, 10356, 27370, 44183, 61194, 4447, 21345, 38312, 55206, 6742, 23616, 40640, 49371, 697, 17720, 34683, 51670, 3034, 20043, 28711, 45668, 62652, 13970, 31071, 47873, 3357, 12491, 30357, 46171, 64046, 14781, 32742, 48604, 58198, 8454, 25840, 43702, 59502, 11864, 27668, 37838, 53680, 5997, 21794, 39138, 57052, 7307, 16971, 32818, 51179, 1444, 19423, 35151, 52997, 62181, 12476, 30306, 46145, 64028, 14784, 32664, 48489, 58217, 9966, 25798, 43652, 59485, 11829, 28136, 37820, 53634, 5976, 21777, 39152, 57073, 7266, 16932, 32784, 51080, 1416, 19299, 35116, 52384, 62168, 12437, 30282, 46130, 64490, 14775, 32730, 48457, 58195, 9860, 25784, 43633, 59436, 11805, 28113, 37788, 57013, 58216, 42272, 26620, 10644}; y = -2724052674395721192L; } @Override // com.scb.phone.view.activity.loan.Hilt_LoanInputActivity, 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() { c(new Object[]{this}, 917113756, -917113754, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 631712933); } @Override // com.scb.phone.view.activity.loan.Hilt_LoanInputActivity, 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 = w + 93; x = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = w + 49; x = i4 % 128; if (i4 % 2 == 0) { int i5 = 57 / 0; } } @Override // o.InterfaceC6652cZH public final void c(C0385Fj c0385Fj) { c(new Object[]{this, c0385Fj}, -1984515315, 1984515318, System.identityHashCode(this)); } @Override // o.InterfaceC6652cZH public final void a(double d) { c(new Object[]{this, Double.valueOf(d)}, -1218064033, 1218064033, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 894473587); } @Override // com.scb.phone.view.fragment.transferandpay.AccountSourceSelectFragment.Sts public final void e_(boolean z) { int i = 2 % 2; int i2 = x + 91; w = i2 % 128; if (i2 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } static { w = 0; f(); l = new IeS((byte) 0); int i = x + 29; w = i % 128; if (i % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } }