package com.scb.phone.view.activity.bankingagent; import android.content.Context; import android.content.Intent; import android.graphics.Color; 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.Base64; 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.view.ViewGroup; import android.widget.ExpandableListView; import android.widget.FrameLayout; import android.widget.LinearLayout; import androidx.appcompat.widget.Toolbar; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.pingan.ai.p; import com.scb.phone.R; import com.scb.phone.view.fragment.bankingagent.BankingEnterAmountFragment; import java.lang.reflect.Method; import java.nio.charset.StandardCharsets; import o.AbstractC13482fbE; import o.C14957gcv; import o.C16420oGW; import o.Hxv; import o.JVY; import o.Nhs; import o.dQY; import o.qeC; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public final class BankingEnterAmountActivity extends Hilt_BankingEnterAmountActivity { public static final RVV b; private static byte l; private static char p; private static char[] q; private static int r; private static long s; private static long t; private static int x; private C16420oGW k; /* renamed from: o, reason: collision with root package name */ private Hxv f6572o; private static final byte[] $$g = {85, -17, 4, -90}; private static final int $$h = 31; private static int $10 = 0; private static int $11 = 1; private static int y = 0; /* 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:0x0029). Please report as a decompilation issue!!! */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aA(int r7, int r8, int r9, java.lang.Object[] r10) { /* int r8 = r8 * 2 int r8 = r8 + 1 int r7 = 115 - r7 int r9 = r9 * 4 int r9 = 4 - r9 byte[] r0 = com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.$$g byte[] r1 = new byte[r8] r2 = 0 if (r0 != 0) goto L14 r3 = r9 r5 = r2 goto L29 L14: r3 = r2 L15: byte r4 = (byte) r7 int r5 = r3 + 1 r1[r3] = r4 if (r5 != r8) goto L24 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L24: r3 = r0[r9] r6 = r3 r3 = r7 r7 = r6 L29: int r9 = r9 + 1 int r7 = r7 + r3 r3 = r5 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.aA(int, int, int, java.lang.Object[]):void"); } /* loaded from: classes4.dex */ public static final class RVV { private RVV() { } public static void a(Context context, String str, JVY jvy) { C14957gcv.e(context, ""); C14957gcv.e(str, ""); C14957gcv.e(jvy, ""); Intent intent = new Intent(context, (Class) BankingEnterAmountActivity.class); intent.putExtra("com.scb.phone.EXTRA_POSTING_TYPE", str); intent.putExtra("banking_agent_bundle", jvy); context.startActivity(intent); } public /* synthetic */ RVV(byte b) { this(); } } private void az(String str, Object[] objArr) { int i = 2 % 2; byte[] decode = Base64.decode(str, 0); byte[] bArr = new byte[decode.length]; int i2 = 0; while (i2 < decode.length) { int i3 = x; int i4 = i3 + 15; y = i4 % 128; int i5 = i4 % 2; bArr[i2] = (byte) (decode[(decode.length - i2) - 1] ^ l); i2++; int i6 = i3 + 21; y = i6 % 128; int i7 = i6 % 2; } objArr[0] = new String(bArr, StandardCharsets.UTF_8); } private static void ax(int i, int i2, char c, Object[] objArr) { int i3 = 2; int i4 = 2 % 2; dQY dqy = new dQY(); long[] jArr = new long[i2]; dqy.a = 0; while (dqy.a < i2) { int i5 = $11 + 83; $10 = i5 % 128; if (i5 % i3 != 0) { int i6 = dqy.a; try { Object[] objArr2 = {Integer.valueOf(q[i >>> dqy.a])}; Object obj = xzZ.y.get(1095064095); if (obj == null) { Class cls = (Class) xzZ.c(308 - View.getDefaultSize(0, 0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (32797 - (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 b2 = (byte) 0; Object[] objArr3 = new Object[1]; aA((byte) (-$$g[1]), b2, b2, 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(t), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(-548438098); if (obj2 == null) { Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; aA((byte) ($$h & 112), b3, b3, 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(406 - MotionEvent.axisFromString(""), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (29235 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)))); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; aA((byte) ($$h & 41), 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; } } else { int i7 = dqy.a; try { Object[] objArr8 = {Integer.valueOf(q[i + dqy.a])}; Object obj4 = xzZ.y.get(1095064095); if (obj4 == null) { Class cls4 = (Class) xzZ.c(Color.argb(0, 0, 0, 0) + 308, Color.argb(0, 0, 0, 0) + 5, (char) (32797 - Gravity.getAbsoluteGravity(0, 0))); byte b5 = (byte) 0; Object[] objArr9 = new Object[1]; aA((byte) (-$$g[1]), b5, b5, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE); xzZ.y.put(1095064095, obj4); } try { Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(t), Integer.valueOf(c)}; Object obj5 = xzZ.y.get(-548438098); if (obj5 == null) { Class cls5 = (Class) xzZ.c(412 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (TextUtils.lastIndexOf("", '0', 0) + 1)); byte b6 = (byte) 0; Object[] objArr11 = new Object[1]; aA((byte) ($$h & 112), b6, b6, objArr11); obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE); xzZ.y.put(-548438098, obj5); } jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue(); try { Object[] objArr12 = {dqy, dqy}; Object obj6 = xzZ.y.get(1071125919); if (obj6 == null) { Class cls6 = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 407, ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) (29235 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)))); byte b7 = (byte) 0; Object[] objArr13 = new Object[1]; aA((byte) ($$h & 41), b7, b7, objArr13); obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class); xzZ.y.put(1071125919, obj6); } ((Method) obj6).invoke(null, objArr12); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } i3 = 2; } char[] cArr = new char[i2]; dqy.a = 0; while (dqy.a < i2) { int i8 = $11 + 67; $10 = i8 % 128; int i9 = i8 % 2; cArr[dqy.a] = (char) jArr[dqy.a]; Object[] objArr14 = {dqy, dqy}; Object obj7 = xzZ.y.get(1071125919); if (obj7 == null) { Class cls7 = (Class) xzZ.c(407 - TextUtils.getTrimmedLength(""), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 29234)); byte b8 = (byte) 0; Object[] objArr15 = new Object[1]; aA((byte) ($$h & 41), b8, b8, objArr15); obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class); xzZ.y.put(1071125919, obj7); } ((Method) obj7).invoke(null, objArr14); } objArr[0] = new String(cArr); } private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr2.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr2, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i3 = $11 + 49; $10 = i3 % 128; int i4 = i3 % 2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 46, 4 - TextUtils.indexOf((CharSequence) "", '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)))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 352, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (View.resolveSize(0, 0) + 52128)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr4 = new Object[1]; aA(b2, b3, b3, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(748 - KeyEvent.keyCodeFromString(""), 5 - View.MeasureSpec.getSize(0), (char) Color.green(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 402, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (21608 - View.resolveSizeAndState(0, 0, 0))); byte b4 = (byte) ($$h & 1); byte b5 = (byte) (b4 - 1); Object[] objArr7 = new Object[1]; aA(b4, b5, b5, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (s ^ 9051040786702654117L)) ^ ((int) (r ^ 9051040786702654117L))) ^ ((char) (p ^ 9051040786702654117L))); nhs.a++; int i5 = $10 + 125; $11 = i5 % 128; int i6 = i5 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } @Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity, 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) { int i; Parcelable parcelable; JVY jvy; int i2 = 2 % 2; int i3 = x + 7; y = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; ax(((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().getResources().getString(R.string.friend_get_friends_regis_successful_success_cc_activation_register).substring(17, 18).codePointAt(0) - 14, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_url_info_product_description).substring(64, 65).length() - 1), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_scbs_account).substring(50, 51).codePointAt(0) - 92, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 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]; ay((char) (55153 - MotionEvent.axisFromString("")), new char[]{32132, 4524, 33172, 51044, 57483, 60643, 8846, 11383, 52518, 37680, 40116, 64898, 24863, 32199, 37974, 36156, 18011, 18741, 1768, 61611, 8610, 16881, 12673, 64456, 51695, 29410}, new char[]{6492, 20306, 29306, 21975}, new char[]{50610, 21469, 38500, 41648}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; ay((char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 11430), new char[]{38419, 24580, 31172, 33552, 182, 2874, 25789, 30342, 58491, 27872, 61911, 36489, 24757, 17629, 448, 56031, 62609, 44703}, new char[]{42688, 61988, 42413, 61484}, new char[]{50610, 21469, 38500, 41648}, TextUtils.getTrimmedLength(""), objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); int i5 = x + 77; y = i5 % 128; int i6 = i5 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 493, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).length() - 303, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mtrl_picker_date_header_selected).substring(0, 4).length() + 44, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_tutorial_just_for_you_description).substring(2, 3).codePointAt(0) - 115), objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 40, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 134, 64 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fingerprint_dialog_content).substring(31, 32).codePointAt(0) + 2639), objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ay((char) (((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_holder).substring(0, 18).length() - 18), new char[]{43248, 29718, 38561, 50223, 56760, 21389, 48364, 11173, 47904, 54557, 65328, 61912, 64883, 39349, 48420, 61399, 65052, 62054, 51295, 59713, 38795, 47932, 48680, 57187, 18596, 62793, 54231, 9938, 27819, 45787, 60003, 629, 11336, 56976, 25957, 11119, 23379, 42198, 8978, 58250, 25236, 59973, 36209, 24349, 42781, 749, 58306, 50053, 3933, 37015, 26820, 11511, 54447, 43249, 53626, 13055, 36394, 20382, 11775, 7931, 36458, 34576, 41328, 35758, 50815, 59456, 15786, 46988, 40897, 49253, 19854, 54607, 26505, 35432}, new char[]{26692, 15194, 62725, 22439}, new char[]{50610, 21469, 38500, 41648}, Color.green(0), objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ax(((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).codePointAt(0) + CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ax(((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).codePointAt(2) + CipherSuite.TLS_PSK_WITH_AES_128_GCM_SHA256, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_request_promo_code_success_title).substring(4, 8).codePointAt(3) - 79, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_instruction_step_1_desc).substring(0, 2).codePointAt(0) - 8226), 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.getEdgeSlop() >> 16) + 487, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) View.combineMeasuredStates(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); View inflate = getLayoutInflater().inflate(R.layout.2131558439, (ViewGroup) null, false); FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.banking_enter_frame); if (frameLayout == null) { throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.banking_enter_frame))); } Hxv hxv = new Hxv((LinearLayout) inflate, frameLayout); int i7 = y + 105; x = i7 % 128; int i8 = i7 % 2; C14957gcv.c(hxv, ""); this.f6572o = hxv; C16420oGW c = C16420oGW.c(hxv.a); C14957gcv.c(c, ""); this.k = c; Hxv hxv2 = this.f6572o; if (hxv2 == null) { int i9 = x + 29; y = i9 % 128; if (i9 % 2 != 0) { C14957gcv.a(""); int i10 = 2 / 0; } else { C14957gcv.a(""); } hxv2 = null; } setContentView(hxv2.a); C16420oGW c16420oGW = this.k; if (c16420oGW == null) { C14957gcv.a(""); c16420oGW = null; } Toolbar toolbar = c16420oGW.a; C16420oGW c16420oGW2 = this.k; if (c16420oGW2 == null) { int i11 = x + 9; y = i11 % 128; int i12 = i11 % 2; C14957gcv.a(""); c16420oGW2 = null; } amL_(toolbar, c16420oGW2.b); Intent intent = getIntent(); C14957gcv.c(intent, ""); if (Build.VERSION.SDK_INT >= 33) { Bundle extras = intent.getExtras(); if (extras != null) { int i13 = y + 79; x = i13 % 128; int i14 = i13 % 2; jvy = (Parcelable) extras.getParcelable("banking_agent_bundle", JVY.class); int i15 = x + 31; y = i15 % 128; int i16 = i15 % 2; } else { jvy = null; } } else { Bundle extras2 = intent.getExtras(); if (extras2 != null) { parcelable = extras2.getParcelable("banking_agent_bundle"); i = 2; } else { int i17 = x + 31; y = i17 % 128; i = 2; int i18 = i17 % 2; parcelable = null; } if (!(parcelable instanceof JVY)) { int i19 = x + 73; y = i19 % 128; int i20 = i19 % i; parcelable = null; } jvy = (JVY) parcelable; } JVY jvy2 = (JVY) jvy; if (jvy2 != null) { AbstractC13482fbE a = getSupportFragmentManager().a(); BankingEnterAmountFragment.Sts sts = BankingEnterAmountFragment.c; String stringExtra = intent.getStringExtra("com.scb.phone.EXTRA_POSTING_TYPE"); if (stringExtra == null) { stringExtra = ""; } C14957gcv.e(stringExtra, ""); C14957gcv.e(jvy2, ""); BankingEnterAmountFragment bankingEnterAmountFragment = new BankingEnterAmountFragment(); Bundle bundle2 = new Bundle(); bundle2.putString("com.scb.phone.EXTRA_POSTING_TYPE", stringExtra); bundle2.putParcelable("banking_agent_bundle", jvy2); bankingEnterAmountFragment.setArguments(bundle2); a.b(R.id.banking_enter_frame, bankingEnterAmountFragment, null, 2); a.b(); } } /* JADX WARN: Code restructure failed: missing block: B:12:0x0037, code lost: r7 = com.scb.phone.R.string.banking_deposits_generate_qr_title; */ /* JADX WARN: Code restructure failed: missing block: B:14:0x0035, code lost: if (o.gdZ.a(getIntent().getStringExtra("com.scb.phone.EXTRA_POSTING_TYPE"), "D", true) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0023, code lost: if (o.gdZ.a(getIntent().getStringExtra("com.scb.phone.EXTRA_POSTING_TYPE"), "D", false) != false) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x003b, code lost: r7 = com.scb.phone.R.string.banking_withdrawal_generate_qr_title; */ @Override // com.scb.phone.view.activity.BaseActivity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void amL_(androidx.appcompat.widget.Toolbar r7, android.widget.TextView r8) { /* r6 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.y int r1 = r1 + 13 int r2 = r1 % 128 com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.x = r2 int r1 = r1 % r0 r2 = 0 r3 = 1 java.lang.String r4 = "D" java.lang.String r5 = "com.scb.phone.EXTRA_POSTING_TYPE" if (r1 != 0) goto L26 super.amL_(r7, r8) android.content.Intent r7 = r6.getIntent() java.lang.String r7 = r7.getStringExtra(r5) boolean r7 = o.gdZ.a(r7, r4, r2) if (r7 == 0) goto L3b goto L37 L26: super.amL_(r7, r8) android.content.Intent r7 = r6.getIntent() java.lang.String r7 = r7.getStringExtra(r5) boolean r7 = o.gdZ.a(r7, r4, r3) if (r7 == 0) goto L3b L37: r7 = 2131953341(0x7f1306bd, float:1.954315E38) goto L3e L3b: r7 = 2131953389(0x7f1306ed, float:1.9543248E38) L3e: java.lang.String r7 = r6.getString(r7) java.lang.String r8 = ",*,)" boolean r8 = r7.startsWith(r8) if (r8 == 0) goto L6e int r8 = com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.y int r8 = r8 + 117 int r1 = r8 % 128 com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.x = r1 int r8 = r8 % r0 r8 = 4 java.lang.String r7 = r7.substring(r8) java.lang.Object[] r8 = new java.lang.Object[r3] r6.az(r7, r8) r7 = r8[r2] java.lang.String r7 = (java.lang.String) r7 java.lang.String r7 = r7.intern() int r8 = com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.y int r8 = r8 + 105 int r1 = r8 % 128 com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.x = r1 int r8 = r8 % r0 L6e: r6.p(r7) r6.ac() return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.BankingEnterAmountActivity.amL_(androidx.appcompat.widget.Toolbar, android.widget.TextView):void"); } @Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity, 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; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_tc_scbs_decline_body).substring(31, 32).codePointAt(0) + 55122), new char[]{32132, 4524, 33172, 51044, 57483, 60643, 8846, 11383, 52518, 37680, 40116, 64898, 24863, 32199, 37974, 36156, 18011, 18741, 1768, 61611, 8610, 16881, 12673, 64456, 51695, 29410}, new char[]{6492, 20306, 29306, 21975}, new char[]{50610, 21469, 38500, 41648}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.pay_with_hybrid_the_maximum_number).substring(38, 39).codePointAt(0) + 11397), new char[]{38419, 24580, 31172, 33552, 182, 2874, 25789, 30342, 58491, 27872, 61911, 36489, 24757, 17629, 448, 56031, 62609, 44703}, new char[]{42688, 61988, 42413, 61484}, new char[]{50610, 21469, 38500, 41648}, (-1) - ExpandableListView.getPackedPositionChild(0L), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i2 = x + 117; y = i2 % 128; int i3 = i2 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getScrollDefaultDelay() >> 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[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) View.resolveSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i4 = y + 83; x = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onPause() { int i = 2 % 2; int i2 = x + 43; y = i2 % 128; Object obj = null; if (i2 % 2 == 0) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; ay((char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 55154), new char[]{32132, 4524, 33172, 51044, 57483, 60643, 8846, 11383, 52518, 37680, 40116, 64898, 24863, 32199, 37974, 36156, 18011, 18741, 1768, 61611, 8610, 16881, 12673, 64456, 51695, 29410}, new char[]{6492, 20306, 29306, 21975}, new char[]{50610, 21469, 38500, 41648}, KeyEvent.keyCodeFromString(""), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ay((char) (11429 - Color.argb(0, 0, 0, 0)), new char[]{38419, 24580, 31172, 33552, 182, 2874, 25789, 30342, 58491, 27872, 61911, 36489, 24757, 17629, 448, 56031, 62609, 44703}, new char[]{42688, 61988, 42413, 61484}, new char[]{50610, 21469, 38500, 41648}, ExpandableListView.getPackedPositionChild(0L) + 1, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(Process.getGidForName("") + 493, TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, TextUtils.lastIndexOf("", '0') + 6, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i3 = x + 93; y = i3 % 128; if (i3 % 2 != 0) { int i4 = 4 % 2; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); return; } getBaseContext(); obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity, 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; super.attachBaseContext(context); Object[] objArr = new Object[1]; ax((-1) - Process.getGidForName(""), TextUtils.getOffsetBefore("", 0) + 18, (char) (Process.myTid() >> 22), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(19 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i2 = y + 55; x = i2 % 128; int i3 = i2 % 2; if (intValue <= 99999) { return; } } if (context != null) { context2 = context.getApplicationContext(); int i4 = x + 47; y = i4 % 128; int i5 = i4 % 2; } else { context2 = context; } if (context2 != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; ax(TextUtils.getOffsetBefore("", 0) + 23, ExpandableListView.getPackedPositionChild(0L) + 49, (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)), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; ax((ViewConfiguration.getJumpTapTimeout() >> 16) + 71, 64 - Color.alpha(0), (char) (ViewConfiguration.getTapTimeout() >> 16), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ax(TextUtils.lastIndexOf("", '0', 0) + 136, 64 - (ViewConfiguration.getTapTimeout() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 2650), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ay((char) TextUtils.getTrimmedLength(""), new char[]{43248, 29718, 38561, 50223, 56760, 21389, 48364, 11173, 47904, 54557, 65328, 61912, 64883, 39349, 48420, 61399, 65052, 62054, 51295, 59713, 38795, 47932, 48680, 57187, 18596, 62793, 54231, 9938, 27819, 45787, 60003, 629, 11336, 56976, 25957, 11119, 23379, 42198, 8978, 58250, 25236, 59973, 36209, 24349, 42781, 749, 58306, 50053, 3933, 37015, 26820, 11511, 54447, 43249, 53626, 13055, 36394, 20382, 11775, 7931, 36458, 34576, 41328, 35758, 50815, 59456, 15786, 46988, 40897, 49253, 19854, 54607, 26505, 35432}, new char[]{26692, 15194, 62725, 22439}, new char[]{50610, 21469, 38500, 41648}, TextUtils.lastIndexOf("", '0', 0) + 1, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 199, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) TextUtils.getTrimmedLength(""), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ax(204 - KeyEvent.getDeadChar(0, 0), 36 - View.resolveSizeAndState(0, 0, 0), (char) KeyEvent.normalizeMetaState(0), 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(487 - (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)), (-16777211) - Color.rgb(0, 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); int i6 = y + 97; x = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { int i = 2 % 2; int i2 = x; int i3 = i2 + 55; y = i3 % 128; int i4 = i3 % 2; l = (byte) 6; int i5 = i2 + 91; y = i5 % 128; int i6 = i5 % 2; return null; } static void g() { q = new char[]{36787, 59842, 17226, 48346, 5701, 36813, 59714, 17038, 48205, 5583, 36624, 59624, 16968, 48091, 5461, 36565, 59457, 16895, 36799, 59861, 17275, 48321, 5710, 36835, 59803, 17178, 48330, 5657, 36807, 59712, 17089, 48192, 5509, 36620, 59609, 16905, 48086, 5381, 36488, 59472, 16831, 47932, 5296, 36409, 59312, 16743, 47801, 5220, 36266, 59261, 16557, 47737, 5037, 36210, 59041, 16419, 47577, 4950, 36057, 58892, 24449, 47364, 4738, 35920, 58824, 24391, 47309, 4633, 35788, 58643, 24260, 36791, 59854, 17176, 48333, 5660, 36806, 59666, 17049, 48199, 5513, 36620, 59534, 16904, 48002, 5377, 36481, 59396, 16824, 47935, 5306, 36457, 59314, 16743, 47796, 5169, 36266, 59182, 16635, 47656, 5037, 36134, 59048, 16421, 47579, 4955, 35977, 58975, 24540, 47364, 4738, 35924, 58782, 24351, 47310, 4687, 35781, 58688, 24210, 47126, 4596, 35624, 58623, 24105, 47100, 4467, 35490, 58490, 23999, 46959, 4320, 35436, 58294, 23863, 46773, 34282, 58317, 18759, 46786, 7186, 34254, 58138, 18588, 46665, 8156, 34132, 57988, 18433, 45529, 8031, 34001, 57866, 19383, 45361, 7905, 33890, 60909, 19304, 45291, 7736, 34813, 60705, 19108, 45179, 6651, 34678, 60589, 19071, 46039, 6486, 34436, 60422, 21903, 45838, 6280, 34318, 61333, 21778, 45714, 6213, 33230, 61209, 21708, 45641, 7152, 33061, 61097, 21541, 48548, 6959, 33023, 60971, 22500, 48481, 6880, 32822, 59829, 22380, 48318, 36843, 59778, 17174, 48262, 5658, 36791, 59853, 17180, 48284, 5710, 36765, 59666, 17040, 48143, 5514, 36622, 59613, 16984, 48025, 5378, 36482, 59395, 16829, 47907, 5353, 36456, 59361, 16741, 47789, 5168, 36351, 59180, 16633, 47661, 5105, 36213, 59045, 16422, 47577, 4959, 35981}; t = -4071640483209156180L; s = -2365700695880491241L; r = 452713125; p = (char) 55973; } static void j() { b(new Object[0]); } @Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingEnterAmountActivity, 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 = x + 71; y = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } static { x = 1; g(); b(new Object[0]); b = new RVV((byte) 0); int i = y + 105; x = i % 128; int i2 = i % 2; } }