package com.scb.phone.view.activity.transferandpay.topup; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.os.Bundle; import android.os.Parcelable; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.TypedValue; import android.view.Gravity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import android.widget.ImageView; import butterknife.BindView; import butterknife.ButterKnife; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.scb.phone.R; import com.scb.phone.view.activity.transferandpay.topup.TopUpActivity; import com.scb.phone.view.adapter.accountsummary.ErrorPagerAdapter; import com.scb.phone.view.fragment.transferandpay.TopUpTabFragment; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractActivityC12034eqb; import o.AbstractC13482fbE; import o.C0910Ri; import o.C1171Xc; import o.C1226Yl; import o.C6502cUt; import o.IRS; import o.InterfaceC13391fZD; import o.InterfaceC9010dbe; import o.ZI; import o.xzZ; import o.zUI; import org.bouncycastle.crypto.tls.CipherSuite; import org.jnbis.internal.NistHelper; /* loaded from: classes5.dex */ public class TopUpActivity extends AbstractActivityC12034eqb implements InterfaceC9010dbe.jNh { @BindView ImageView historyCoachmark; public boolean k = false; @InterfaceC13391fZD public C6502cUt topUpActivityPresenter; private static final byte[] $$p = {40, 9, -20, ISOFileInfo.AB}; private static final int $$q = CipherSuite.TLS_PSK_WITH_NULL_SHA384; private static int $10 = 0; private static int $11 = 1; private static int s = 0; private static int q = 1; /* renamed from: o, reason: collision with root package name */ private static char[] f8004o = {49109, 49123, 49088, 48160, 49028, 49114, 49112, 49025, 49106, 49127, 48161, 48163, 49091, 49090, 49089, 48174, 49116, 49104, 49027, 49052, 49053, 48172, 49138, 48173, 49105, 49033, 49094, 49029, 48171, 49030, 49115, 49108, 49117, 49026, 49093, 49024, 49034, 48168, 49031, 49098, 49111, 49110, 48169, 49119, 49095, 49118, 49035, 48170, 48175}; private static char l = 35374; private static int m = 2015661731; /* 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 r6, byte r7, short r8, java.lang.Object[] r9) { /* int r6 = 120 - r6 byte[] r0 = com.scb.phone.view.activity.transferandpay.topup.TopUpActivity.$$p int r7 = r7 * 2 int r7 = 1 - r7 int r8 = r8 + 4 byte[] r1 = new byte[r7] r2 = 0 if (r0 != 0) goto L13 r4 = r7 r6 = r8 r3 = r2 goto L2a L13: r3 = r2 L14: int r8 = r8 + 1 byte r4 = (byte) r6 r1[r3] = r4 int r3 = r3 + 1 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L25: r4 = r0[r8] r5 = r8 r8 = r6 r6 = r5 L2a: int r8 = r8 + r4 r5 = r8 r8 = r6 r6 = r5 goto L14 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.topup.TopUpActivity.aC(int, byte, short, java.lang.Object[]):void"); } public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) { TopUpActivity topUpActivity = (TopUpActivity) objArr[0]; int i4 = 2 % 2; int i5 = q + 63; s = i5 % 128; int i6 = i5 % 2; topUpActivity.getWindow().clearFlags(1024); topUpActivity.historyCoachmark.setVisibility(8); int i7 = q + 61; s = i7 % 128; int i8 = i7 % 2; return false; } public static void e(Context context, String str) { int i = 2 % 2; Intent intent = new Intent(context, (Class) TopUpActivity.class); intent.putExtra("source", str); context.startActivity(intent); int i2 = s + 81; q = i2 % 128; int i3 = i2 % 2; } public static Intent amM_(Context context, String str) { int i = 2 % 2; Intent intent = new Intent(context, (Class) TopUpActivity.class); intent.putExtra("source", str); int i2 = q + 13; s = i2 % 128; int i3 = i2 % 2; return intent; } public static void b(Context context, C1226Yl c1226Yl, C0910Ri c0910Ri, String str) { int i = 2 % 2; int i2 = s + 99; q = i2 % 128; context.startActivity(amN_(context, c1226Yl, c0910Ri, str, i2 % 2 == 0)); } public static void a(Context context, C1226Yl c1226Yl, C0910Ri c0910Ri, String str, String str2, C1171Xc c1171Xc, ErrorPagerAdapter.LWm lWm) { int i = 2 % 2; int i2 = s + 5; q = i2 % 128; int i3 = i2 % 2; Intent amN_ = amN_(context, c1226Yl, c0910Ri, str, true); amN_.putExtra("EXTRA_ACCOUNT_SOURCE_DISPLAY", c1171Xc); amN_.putExtra("subtype", str2); amN_.putExtra("EXTRA_ERROR_TYPE", lWm); context.startActivity(amN_); int i4 = s + 15; q = i4 % 128; if (i4 % 2 == 0) { throw null; } } private static Intent amN_(Context context, C1226Yl c1226Yl, C0910Ri c0910Ri, String str, boolean z) { int i = 2 % 2; Intent intent = new Intent(context, (Class) TopUpActivity.class); intent.putExtra("com.scb.phone.TOP_SHORTCUT", (Parcelable) c1226Yl); intent.putExtra("com.scb.phone.TOP_HISTORY", c0910Ri); intent.putExtra("source", str); intent.putExtra("com.scb.phone.EXTRA_TOPUP_FROM_DETAIL_PAGE", z); intent.putExtra("EXTRA_BILL_PAYMENT_IS_PREDICTIVE", "predictive".equals(str)); int i2 = q + 101; s = i2 % 128; int i3 = i2 % 2; return intent; } 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; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i2 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(m)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (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))); byte b = (byte) 0; Object[] objArr3 = new Object[1]; aC((byte) 51, b, (byte) (b - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); try { Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(342 - Color.argb(0, 0, 0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; aC((byte) ($$q >>> 2), b2, (byte) (b2 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $11 + 111; $10 = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } 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); int i8 = $10 + 21; $11 = i8 % 128; int i9 = i8 % 2; } if (z) { int i10 = $10 + 33; $11 = i10 % 128; int i11 = i10 % 2; char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; try { Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(343 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - Color.alpha(0), (char) ((-1) - ImageFormat.getBitsPerPixel(0))); byte b3 = (byte) 0; Object[] objArr7 = new Object[1]; aC((byte) ($$q >>> 2), b3, (byte) (b3 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } cArr2 = cArr4; } objArr[0] = new String(cArr2); } @Override // o.AbstractActivityC12034eqb, 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 void onCreate(Bundle bundle) { TopUpTabFragment topUpTabFragment; int i = 2 % 2; Object[] objArr = new Object[1]; aA(new char[]{11, 29, '#', 19, 19, 2, ')', 19, 23, '\t', 15, 6, 15, 17, 20, '&', 13829, 13829}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_biller_search_initial_state).substring(50, 51).codePointAt(0) - 14, 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 - 29, new char[]{17, 65517, 1, 65532, 5}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 202, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 9, 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) { int i2 = s + 29; q = i2 % 128; int i3 = i2 % 2; Object[] objArr3 = new Object[1]; aA(new char[]{11, 29, '#', 19, 19, 2, ')', 19, '\t', '\r', '\r', 19, 24, 15, '/', 2, '!', 6, '.', '%', 16, '%', 20, '#', '\f', '$'}, (byte) (81 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), 26 - Gravity.getAbsoluteGravity(0, 0), 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().getApplicationInfo().targetSdkVersion - 16, new char[]{5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535}, 238 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), false, 2 - Color.argb(0, 0, 0, 0), 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((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 64, new char[]{65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + CipherSuite.TLS_RSA_WITH_AES_256_GCM_SHA384, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_loan_success_desc).substring(42, 43).length() + 37, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(View.resolveSizeAndState(0, 0, 0) + 64, new char[]{65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_loan_requestor_name_error).substring(32, 33).length() + 199, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_sof_header).substring(35, 37).length() + 34, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{11, '+', 14, '\'', 7, '$', 13840, 13840, '\b', '#', '$', '#', 31, '-', 25, 4, '\n', 22, 4, 14, ' ', 19, 0, 11, 18, '-', 6, '#', '0', 25, '%', ')', '-', 31, 15, '$', NistHelper.SEP_FS, '\b', 13756, 13756, ' ', 15, NistHelper.SEP_FS, '$', 3, 14, '\"', '0', 27, '&', 11, '*', 22, ')', 14, 4, 15, 11, 1, 7, ' ', '+', 18, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17), 64 - (ViewConfiguration.getTapTimeout() >> 16), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{'%', 2, '/', '\t', 4, 23, 13799, 13799, 3, 6, '\n', '+', 18, 17, 13865, 13865, '#', 20, 19, 3, 15, 1, 22, '\n', '\"', 4, 16, '0', NistHelper.SEP_FS, 16, '$', '\r', '-', 16, '\t', 1, '0', 16, '!', 24, 7, 15, '%', 5, '\f', 27, 7, 15, '0', 27, 18, 17, '/', 17, '\t', '\r', '\f', 26, 4, '!', '\"', '&', '\t', 2, 20, '!', '\f', 14, '0', ')', '\'', '\"', 2, '\t'}, (byte) (49 - TextUtils.indexOf((CharSequence) "", '0')), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.select_account_title_breadcrumb_th).substring(0, 11).length() + 63, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aA(new char[]{')', 15, '0', 18, 13769}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 18), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_resend_starting_pin).substring(7, 21).codePointAt(4) - 109, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, new char[]{30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 102, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, 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((ViewConfiguration.getTouchSlop() >> 8) + 487, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -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(R.layout.2131558817); ButterKnife.Dg_(this); super.Z(); setTitle(R.string.top_up_tab); ac(); this.k = getIntent().getBooleanExtra("com.scb.phone.EXTRA_TOPUP_FROM_DETAIL_PAGE", false); if (getIntent().getParcelableExtra("com.scb.phone.TOP_SHORTCUT") != null) { topUpTabFragment = TopUpTabFragment.b((C1226Yl) getIntent().getParcelableExtra("com.scb.phone.TOP_SHORTCUT"), (C0910Ri) getIntent().getParcelableExtra("com.scb.phone.TOP_HISTORY"), getIntent().getStringExtra("source"), getIntent().getStringExtra("subtype"), (C1171Xc) getIntent().getParcelableExtra("EXTRA_ACCOUNT_SOURCE_DISPLAY"), (ErrorPagerAdapter.LWm) getIntent().getSerializableExtra("EXTRA_ERROR_TYPE")); int i4 = s + 123; q = i4 % 128; if (i4 % 2 == 0) { int i5 = 5 % 5; } } else { topUpTabFragment = new TopUpTabFragment(); } AbstractC13482fbE a = getSupportFragmentManager().a(); a.b(R.id.top_up_frame, topUpTabFragment, null, 2); a.b(); this.topUpActivityPresenter.e((C6502cUt) this); C6502cUt c6502cUt = this.topUpActivityPresenter; if (c6502cUt.c.b.m()) { return; } c6502cUt.c.b.B(); ZI.IeS ieS = new ZI.IeS() { // from class: o.cUq @Override // o.ZI.IeS public final void e(Object obj3) { ((InterfaceC9010dbe.jNh) obj3).a(); } }; if (c6502cUt.f != 0) { int i6 = q + 1; s = i6 % 128; int i7 = i6 % 2; ieS.e(c6502cUt.f); int i8 = s + 95; q = i8 % 128; int i9 = i8 % 2; } } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { int i = 2 % 2; int i2 = s + 61; q = i2 % 128; if (i2 % 2 != 0) { super.Z(); setTitle(R.string.top_up_tab); ac(); int i3 = s + 111; q = i3 % 128; if (i3 % 2 == 0) { throw null; } return; } super.Z(); setTitle(R.string.top_up_tab); ac(); throw null; } @Override // o.InterfaceC9010dbe.jNh public final void a() { int i = 2 % 2; this.historyCoachmark.setVisibility(0); getWindow().addFlags(1024); this.historyCoachmark.setOnTouchListener(new View.OnTouchListener(this) { // from class: o.eqc private TopUpActivity c; @Override // android.view.View.OnTouchListener public final boolean onTouch(View view, MotionEvent motionEvent) { return ((Boolean) TopUpActivity.b(new Object[]{this.c}, -638026643, 638026643, (int) System.currentTimeMillis())).booleanValue(); } { this.c = this; } }); int i2 = q + 41; s = i2 % 128; int i3 = i2 % 2; } @Override // com.scb.phone.view.activity.BaseActivity public final void ab() { int i = 2 % 2; int i2 = q + 75; s = i2 % 128; if (i2 % 2 != 0) { getWindow().setFlags(23446, 1173); } else { getWindow().setFlags(8192, 8192); } int i3 = s + 81; q = i3 % 128; if (i3 % 2 == 0) { throw null; } } /* JADX WARN: Code restructure failed: missing block: B:28:0x0023, code lost: r9 = (java.lang.Object[]) null; r9 = new java.lang.Object[1]; aA(new char[]{11, 29, '#', 19, 19, 2, ')', 19, '\t', '\r', '\r', 19, 24, 15, '/', 2, '!', 6, '.', '%', 16, '%', 20, '#', '\f', '$'}, (byte) (android.view.View.combineMeasuredStates(0, 0) + 82), ((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.scbs_account_detail_screen_empty_state).substring(45, 46).length() + 25, r9); r1 = java.lang.Class.forName((java.lang.String) r9[0]); r6 = 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.hml_moa_list_text).substring(111, 112).length() + 17, new char[]{5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535}, 238 - (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16), false, android.text.TextUtils.indexOf("", "", 0) + 2, r6); r1 = (android.content.Context) r1.getMethod((java.lang.String) r6[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:30:0x0021, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 == null) goto L9; */ @Override // o.AbstractActivityC12034eqb, 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 void onResume() { /* 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.transferandpay.topup.TopUpActivity.onResume():void"); } private static void aA(char[] cArr, byte b, int i, Object[] objArr) { int i2; char c; int length; char[] cArr2; int i3 = 2; int i4 = 2 % 2; IRS irs = new IRS(); char[] cArr3 = f8004o; char c2 = '0'; int i5 = 5; int i6 = 3; if (cArr3 != null) { int i7 = $11 + 83; $10 = i7 % 128; if (i7 % 2 != 0) { length = cArr3.length; cArr2 = new char[length]; } else { length = cArr3.length; cArr2 = new char[length]; } int i8 = 0; while (i8 < length) { int i9 = $11 + 99; $10 = i9 % 128; if (i9 % i3 != 0) { try { Object[] objArr2 = {Integer.valueOf(cArr3[i8])}; Object obj = xzZ.y.get(-1987398494); if (obj == null) { Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 298, Color.blue(0) + i5, (char) (TextUtils.lastIndexOf("", c2) + 1)); byte b2 = (byte) i6; byte b3 = (byte) (b2 - 3); Object[] objArr3 = new Object[1]; aC(b2, b3, (byte) (b3 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj); } cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8--; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { Object[] objArr4 = {Integer.valueOf(cArr3[i8])}; Object obj2 = xzZ.y.get(-1987398494); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 299, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) TextUtils.getTrimmedLength("")); byte b4 = (byte) 3; byte b5 = (byte) (b4 - 3); Object[] objArr5 = new Object[1]; aC(b4, b5, (byte) (b5 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj2); } cArr2[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i8++; } i3 = 2; c2 = '0'; i5 = 5; i6 = 3; } int i10 = $11 + 121; $10 = i10 % 128; int i11 = i10 % 2; cArr3 = cArr2; } Object[] objArr6 = {Integer.valueOf(l)}; Object obj3 = xzZ.y.get(-1987398494); char c3 = 6; if (obj3 == null) { Class cls3 = (Class) xzZ.c(298 - View.getDefaultSize(0, 0), MotionEvent.axisFromString("") + 6, (char) TextUtils.indexOf("", "", 0, 0)); byte b6 = (byte) 3; byte b7 = (byte) (b6 - 3); Object[] objArr7 = new Object[1]; aC(b6, b7, (byte) (b7 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE); xzZ.y.put(-1987398494, obj3); } char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue(); char[] cArr4 = new char[i]; if (i % 2 != 0) { int i12 = $11 + 3; $10 = i12 % 128; if (i12 % 2 != 0) { i2 = i + 96; cArr4[i2] = (char) (cArr[i2] >> b); } else { i2 = i - 1; cArr4[i2] = (char) (cArr[i2] - b); } } else { i2 = i; } if (i2 > 1) { int i13 = $11 + 39; $10 = i13 % 128; int i14 = i13 % 2; irs.e = 0; while (irs.e < i2) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { int i15 = $11 + 17; $10 = i15 % 128; int i16 = i15 % 2; cArr4[irs.e] = (char) (irs.b - b); cArr4[irs.e + 1] = (char) (irs.c - b); c = c3; } else { Object[] objArr8 = new Object[13]; objArr8[12] = irs; objArr8[11] = Integer.valueOf(charValue); objArr8[10] = irs; objArr8[9] = irs; objArr8[8] = Integer.valueOf(charValue); objArr8[7] = irs; objArr8[c3] = irs; objArr8[5] = Integer.valueOf(charValue); objArr8[4] = irs; objArr8[3] = irs; objArr8[2] = Integer.valueOf(charValue); objArr8[1] = irs; objArr8[0] = irs; Object obj4 = xzZ.y.get(822107368); if (obj4 == null) { Class cls4 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 234, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (22024 - ((Process.getThreadPriority(0) + 20) >> 6))); byte b8 = (byte) 0; byte b9 = b8; Object[] objArr9 = new Object[1]; aC(b8, b9, (byte) (b9 - 1), objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj4); } if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) { Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj5 = xzZ.y.get(-1152873385); if (obj5 != null) { c = 6; } else { Class cls5 = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 327, 5 - View.combineMeasuredStates(0, 0), (char) ExpandableListView.getPackedPositionGroup(0L)); byte b10 = (byte) 2; byte b11 = (byte) (b10 - 2); Object[] objArr11 = new Object[1]; aC(b10, b11, (byte) (b11 - 1), objArr11); c = 6; obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj5); } int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue(); int i17 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[intValue]; cArr4[irs.e + 1] = cArr3[i17]; } else { c = 6; if (irs.a == irs.d) { int i18 = $11 + 19; $10 = i18 % 128; int i19 = i18 % 2; irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i20 = (irs.a * charValue) + irs.f; int i21 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr3[i20]; cArr4[irs.e + 1] = cArr3[i21]; } else { int i22 = (irs.a * charValue) + irs.j; int i23 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr3[i22]; cArr4[irs.e + 1] = cArr3[i23]; } } } irs.e += 2; c3 = c; } } for (int i24 = 0; i24 < i; i24++) { cArr4[i24] = (char) (cArr4[i24] ^ 13722); } objArr[0] = new String(cArr4); } @Override // o.AbstractActivityC12034eqb, 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 void onPause() { int i = 2 % 2; int i2 = q + 43; s = i2 % 128; if (i2 % 2 != 0) { getBaseContext(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { int i3 = s + 15; q = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; aA(new char[]{11, 29, '#', 19, 19, 2, ')', 19, '\t', '\r', '\r', 19, 24, 15, '/', 2, '!', 6, '.', '%', 16, '%', 20, '#', '\f', '$'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mf_onboarding_investment_experience_more_3_years).substring(9, 10).length() + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_date_hint).substring(2, 3).codePointAt(0) - 21, 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().getResources().getString(R.string.cinema_and_seat).substring(11, 12).codePointAt(0) - 14, new char[]{5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.occupation_search_no_results_description).substring(16, 17).length() + 237, false, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 1, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i5 = q + 5; s = i5 % 128; if (i5 % 2 != 0) { int i6 = 5 % 4; } } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, 5 - TextUtils.getOffsetAfter("", 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).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((ViewConfiguration.getPressedStateDuration() >> 16) + 487, (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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(); } @Override // o.AbstractActivityC12034eqb, 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 void attachBaseContext(Context context) { Context context2; int i = 2 % 2; int i2 = q + 91; s = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new char[]{11, 29, '#', 19, 19, 2, ')', 19, 23, '\t', 15, 6, 15, 17, 20, '&', 13829, 13829}, (byte) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 28), 18 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), new char[]{17, 65517, 1, 65532, 5}, (ViewConfiguration.getPressedStateDuration() >> 16) + 236, false, 4 - View.MeasureSpec.getMode(0), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i4 = q + 107; s = i4 % 128; if (i4 % 2 != 0) { int i5 = 28 / 0; if (intValue <= 99999) { return; } } else if (intValue <= 99999) { return; } } if (context != null) { int i6 = s + 13; q = i6 % 128; if (i6 % 2 == 0) { context.getApplicationContext(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; aB(49 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), new char[]{65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522}, 204 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), false, TextUtils.lastIndexOf("", '0', 0, 0) + 39, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB((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)) + 64, new char[]{65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31}, 200 - TextUtils.getOffsetAfter("", 0), false, 37 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new char[]{11, '+', 14, '\'', 7, '$', 13840, 13840, '\b', '#', '$', '#', 31, '-', 25, 4, '\n', 22, 4, 14, ' ', 19, 0, 11, 18, '-', 6, '#', '0', 25, '%', ')', '-', 31, 15, '$', NistHelper.SEP_FS, '\b', 13756, 13756, ' ', 15, NistHelper.SEP_FS, '$', 3, 14, '\"', '0', 27, '&', 11, '*', 22, ')', 14, 4, 15, 11, 1, 7, ' ', '+', 18, 3}, (byte) (View.combineMeasuredStates(0, 0) + 17), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 64, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA(new char[]{'%', 2, '/', '\t', 4, 23, 13799, 13799, 3, 6, '\n', '+', 18, 17, 13865, 13865, '#', 20, 19, 3, 15, 1, 22, '\n', '\"', 4, 16, '0', NistHelper.SEP_FS, 16, '$', '\r', '-', 16, '\t', 1, '0', 16, '!', 24, 7, 15, '%', 5, '\f', 27, 7, 15, '0', 27, 18, 17, '/', 17, '\t', '\r', '\f', 26, 4, '!', '\"', '&', '\t', 2, 20, '!', '\f', 14, '0', ')', '\'', '\"', 2, '\t'}, (byte) (50 - View.MeasureSpec.getSize(0)), 74 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{')', 15, '0', 18, 13769}, (byte) (32 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), 5 - View.MeasureSpec.getSize(0), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(37 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), new char[]{30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517}, 201 - (ViewConfiguration.getTouchSlop() >> 8), true, KeyEvent.normalizeMetaState(0) + 26, objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) TextUtils.indexOf("", ""))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } @Override // o.AbstractActivityC12034eqb, 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 void onStart() { int i = 2 % 2; int i2 = s + 61; q = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 == 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = q + 55; s = i4 % 128; int i5 = i4 % 2; } }