package com.scb.phone.view.activity.requesttopay; import android.content.Context; import android.graphics.Color; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.AbstractActivityC11789elv; import o.C3614bBe; import o.jTb; import o.xzZ; /* loaded from: classes5.dex */ public class InputDetailsActivity extends AbstractActivityC11789elv { private static final byte[] $$p = {71, -71, -97, 59}; private static final int $$q = 198; private static int $10 = 0; private static int $11 = 1; private static int q = 0; private static int u = 1; private static char m = 13103; private static char l = 20460; private static char k = 36378; /* renamed from: o, reason: collision with root package name */ private static char f7901o = 18610; private static char[] r = {15950, 15984, 15997, 15936, 15993, 15999, 15916, 15995, 15943, 15940, 15948, 15994, 15932, 15922, 15935, 15949, 15934, 15937, 15924, 15933, 15923, 15921, 15920, 15951, 15931, 15939, 15998, 15925, 15930, 15992, 15942, 15929, 15938, 15996, 15985}; private static int t = 1934311147; private static boolean s = true; private static boolean p = true; /* JADX WARN: Removed duplicated region for block: B:10:0x0028 */ /* JADX WARN: Removed duplicated region for block: B:7:0x0020 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> 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(byte r7, int r8, int r9, java.lang.Object[] r10) { /* byte[] r0 = com.scb.phone.view.activity.requesttopay.InputDetailsActivity.$$p int r9 = r9 + 4 int r7 = r7 + 65 int r8 = r8 * 2 int r8 = 1 - r8 byte[] r1 = new byte[r8] r2 = 0 if (r0 != 0) goto L13 r3 = r8 r7 = r9 r4 = r2 goto L2a L13: r3 = r2 r6 = r9 r9 = r7 r7 = r6 L17: int r7 = r7 + 1 int r4 = r3 + 1 byte r5 = (byte) r9 r1[r3] = r5 if (r4 != r8) goto L28 java.lang.String r7 = new java.lang.String r7.(r1, r2) r10[r2] = r7 return L28: r3 = r0[r7] L2a: int r9 = r9 + r3 r3 = r4 goto L17 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.InputDetailsActivity.aC(byte, int, int, java.lang.Object[]):void"); } /* JADX WARN: Code restructure failed: missing block: B:4:0x00a4, code lost: if (r1 > 99999) goto L6; */ @Override // o.AbstractActivityC11789elv, 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 onCreate(android.os.Bundle r15) { /* Method dump skipped, instructions count: 1042 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.InputDetailsActivity.onCreate(android.os.Bundle):void"); } private static void aA(char[] cArr, int i, Object[] objArr) { int i2 = 2; int i3 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i4 = 0; jtb.b = 0; char[] cArr3 = new char[2]; while (jtb.b < cArr.length) { int i5 = $11 + 19; $10 = i5 % 128; int i6 = i5 % i2; cArr3[i4] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i7 = $11 + 115; $10 = i7 % 128; int i8 = i7 % i2; int i9 = 58224; int i10 = i4; while (i10 < 16) { int i11 = $11 + 21; $10 = i11 % 128; int i12 = i11 % i2; char c = cArr3[1]; char c2 = cArr3[i4]; int i13 = (c2 + i9) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L))); int i14 = c2 >>> 5; try { Object[] objArr2 = new Object[4]; objArr2[3] = Integer.valueOf(f7901o); objArr2[i2] = Integer.valueOf(i14); objArr2[1] = Integer.valueOf(i13); objArr2[i4] = Integer.valueOf(c); Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(411 - TextUtils.lastIndexOf("", '0', i4, i4), View.MeasureSpec.makeMeasureSpec(i4, i4) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16)); byte b = (byte) 1; byte b2 = (byte) (b - 1); Object[] objArr3 = new Object[1]; aC(b, b2, (byte) (b2 - 1), objArr3); String str = (String) objArr3[i4]; Class[] clsArr = new Class[4]; clsArr[i4] = Integer.TYPE; clsArr[1] = Integer.TYPE; clsArr[2] = Integer.TYPE; clsArr[3] = Integer.TYPE; obj = cls.getMethod(str, clsArr); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr3[1] = charValue; char[] cArr4 = cArr3; Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i9) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 412, TextUtils.getOffsetBefore("", 0) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b3 = (byte) 1; byte b4 = (byte) (b3 - 1); Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i9 -= 40503; i10++; cArr3 = cArr4; i2 = 2; i4 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr5 = cArr3; cArr2[jtb.b] = cArr5[0]; cArr2[jtb.b + 1] = cArr5[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c(98 - (ViewConfiguration.getEdgeSlop() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16)); byte b5 = (byte) ($$q & 11); byte b6 = (byte) (b5 - 2); Object[] objArr7 = new Object[1]; aC(b5, b6, (byte) (b6 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i2 = 2; i4 = 0; } String str2 = new String(cArr2, 0, i); int i15 = $11 + 7; $10 = i15 % 128; int i16 = i15 % 2; objArr[0] = str2; } @Override // o.AbstractActivityC11789elv, 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 onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = u + 95; q = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aA(new char[]{47383, 55331, 62058, 3782, 40344, 266, 2582, 57222, 49468, 48101, 26719, 13035, 23196, 22041, 48327, 50367, 52075, 20484, 59849, 55235, 22610, 48336, 31172, 65237, 2052, 22745}, ((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(null, null, 127 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i4 = u + 43; q = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(Color.rgb(0, 0, 0) + 16777708, TextUtils.getTrimmedLength("") + 5, (char) View.combineMeasuredStates(0, 0))).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(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int i2 = 2; int i3 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = r; int i4 = 0; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i5 = 0; while (i5 < length) { int i6 = $10 + 75; $11 = i6 % 128; if (i6 % i2 == 0) { try { Object[] objArr2 = new Object[1]; objArr2[i4] = Integer.valueOf(cArr2[i5]); Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(337 - (ViewConfiguration.getTouchSlop() >> 8), 5 - View.resolveSize(i4, i4), (char) KeyEvent.keyCodeFromString("")); byte b = (byte) i4; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, (byte) (b2 - 1), objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i5 %= 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } else { Object[] objArr4 = {Integer.valueOf(cArr2[i5])}; Object obj2 = xzZ.y.get(-950481649); if (obj2 == null) { Class cls2 = (Class) xzZ.c(337 - View.resolveSize(0, 0), (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 4, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 - 1), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-950481649, obj2); } cArr3[i5] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i5++; } i2 = 2; i4 = 0; } cArr2 = cArr3; } try { Object[] objArr6 = {Integer.valueOf(t)}; Object obj3 = xzZ.y.get(-1521625011); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 282, TextUtils.getCapsMode("", 0, 0) + 5, (char) (39812 - MotionEvent.axisFromString(""))); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; aC((byte) 57, b5, (byte) (b5 - 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE); xzZ.y.put(-1521625011, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr6)).intValue(); if (p) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr8 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 40, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) View.MeasureSpec.getMode(0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr8); } objArr[0] = new String(cArr4); return; } if (s) { int i7 = $11 + 63; $10 = i7 % 128; int i8 = i7 % 2; c3614bBe.c = cArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i9 = $11 + 49; $10 = i9 % 128; if (i9 % 2 != 0) { cArr5[c3614bBe.a] = (char) (cArr2[cArr[c3614bBe.c - c3614bBe.a] * i] / intValue); Object[] objArr9 = {c3614bBe, c3614bBe}; Object obj5 = xzZ.y.get(1779759091); if (obj5 == null) { obj5 = ((Class) xzZ.c(Color.red(0) + 40, Color.alpha(0) + 5, (char) View.MeasureSpec.getSize(0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj5); } ((Method) obj5).invoke(null, objArr9); } else { cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); Object[] objArr10 = {c3614bBe, c3614bBe}; Object obj6 = xzZ.y.get(1779759091); if (obj6 == null) { obj6 = ((Class) xzZ.c(40 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) View.MeasureSpec.getSize(0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj6); } ((Method) obj6).invoke(null, objArr10); } } objArr[0] = new String(cArr5); return; } int i10 = 0; c3614bBe.c = iArr.length; char[] cArr6 = new char[c3614bBe.c]; while (true) { c3614bBe.a = i10; if (c3614bBe.a >= c3614bBe.c) { objArr[0] = new String(cArr6); return; } else { cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); i10 = c3614bBe.a + 1; } } } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } @Override // o.AbstractActivityC11789elv, 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; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = q + 75; u = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aA(new char[]{47383, 55331, 62058, 3782, 40344, 266, 2582, 57222, 49468, 48101, 26719, 13035, 23196, 22041, 48327, 50367, 52075, 20484, 59849, 55235, 22610, 48336, 31172, 65237, 2052, 22745}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_highlights_description).substring(0, 2).codePointAt(0) - 8200, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(null, null, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 127, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i4 = u + 77; q = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - ((Process.getThreadPriority(0) + 20) >> 6), 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) Color.red(0))).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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) TextUtils.indexOf("", "", 0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i6 = q + 61; u = i6 % 128; if (i6 % 2 == 0) { int i7 = 5 / 4; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } /* JADX WARN: Code restructure failed: missing block: B:6:0x006e, code lost: if (r2 > 99999) goto L10; */ @Override // o.AbstractActivityC11789elv, 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 /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void attachBaseContext(android.content.Context r13) { /* Method dump skipped, instructions count: 740 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.InputDetailsActivity.attachBaseContext(android.content.Context):void"); } @Override // o.AbstractActivityC11789elv, 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 = q + 101; u = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = u + 73; q = i4 % 128; int i5 = i4 % 2; } }