package com.scb.phone.view.activity.hml; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; import android.media.AudioTrack; import android.os.Process; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import androidx.fragment.app.Fragment; 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.ISO7816; import o.C14957gcv; import o.InterfaceC9297dhA; import o.TVH; import o.jTb; import o.xzZ; /* loaded from: classes4.dex */ public abstract class HmlSummaryActivity extends Hilt_HmlSummaryActivity implements InterfaceC9297dhA { private static final byte[] $$H = {33, -82, ISO7816.INS_UNBLOCK_CHV, 67}; private static final int $$I = 241; private static int $10 = 0; private static int $11 = 1; private static int p = 0; private static int t = 1; private static char[] b = {40008, 40076, 40075, 40051, 40054, 40079, 40062, 40024, 40047, 40078, 40041, 40022, 40049, 40075, 40079, 40052, 40054, 40048, 40002, 40014, 40014, 40051, 40006, 40060, 40002, 40060, 40001, 40049, 40006, 40062, 40003, 40012, 40007, 40013, 40012, 40061, 40007, 40012, 40061, 40012, 40062, 40013, 40006, 40061, 40062, 40049, 40060, 40012, 40061, 40003, 40000, 40014, 40003, 40050, 40007, 40060, 40002, 40006, 40003, 40013, 40061, 40061, 40050, 40049, 40014, 40007, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 39999, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40038, 40038, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026}; /* renamed from: o, reason: collision with root package name */ private static char f7337o = 12269; private static char l = 32925; private static char m = 25957; private static char k = 8498; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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 aN(int r6, byte r7, short r8, java.lang.Object[] r9) { /* int r7 = r7 * 3 int r0 = r7 + 1 int r8 = r8 * 4 int r8 = 3 - r8 byte[] r1 = com.scb.phone.view.activity.hml.HmlSummaryActivity.$$H int r6 = 73 - r6 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L15 r6 = r7 r3 = r8 r4 = r2 goto L2c L15: r3 = r2 L16: byte r4 = (byte) r6 int r8 = r8 + 1 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r7) goto L27 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L27: r3 = r1[r8] r5 = r3 r3 = r8 r8 = r5 L2c: int r6 = r6 + r8 r8 = r3 r3 = r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSummaryActivity.aN(int, byte, short, java.lang.Object[]):void"); } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public abstract Fragment M(); /* JADX WARN: Code restructure failed: missing block: B:6:0x008c, code lost: if (r4 > 99999) goto L11; */ @Override // com.scb.phone.view.activity.hml.Hilt_HmlSummaryActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 r17) { /* Method dump skipped, instructions count: 1058 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSummaryActivity.onCreate(android.os.Bundle):void"); } @Override // com.scb.phone.view.activity.BaseActivityWithFragment public final String L() { int i = 2 % 2; int i2 = p + 7; t = i2 % 128; int i3 = i2 % 2; String string = getString(R.string.hml_summary_title); C14957gcv.c((Object) string, ""); int i4 = t + 49; p = i4 % 128; int i5 = i4 % 2; return string; } private static void aL(char[] cArr, int i, Object[] objArr) { int i2; int i3 = 2; int i4 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i5 = 0; jtb.b = 0; char[] cArr3 = new char[2]; while (jtb.b < cArr.length) { int i6 = $10 + 101; $11 = i6 % 128; int i7 = i6 % i3; cArr3[i5] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i8 = $11 + 33; $10 = i8 % 128; int i9 = i8 % i3; int i10 = 58224; int i11 = i5; while (i11 < 16) { int i12 = $10 + 83; $11 = i12 % 128; int i13 = i12 % i3; char c = cArr3[1]; char c2 = cArr3[i5]; int i14 = (c2 + i10) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L))); int i15 = c2 >>> 5; try { Object[] objArr2 = new Object[4]; objArr2[3] = Integer.valueOf(k); objArr2[i3] = Integer.valueOf(i15); objArr2[1] = Integer.valueOf(i14); objArr2[i5] = Integer.valueOf(c); Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c(412 - TextUtils.indexOf("", "", i5, i5), TextUtils.indexOf("", "", i5, i5) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(i5, i5) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(i5, i5) == 0L ? 0 : -1)))); byte b2 = (byte) i5; Object[] objArr3 = new Object[1]; aN((byte) 7, b2, b2, objArr3); String str = (String) objArr3[i5]; Class[] clsArr = new Class[4]; clsArr[i5] = 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[i5]), Integer.valueOf((charValue + i10) ^ ((charValue << 4) + ((char) (f7337o ^ 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, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; aN((byte) 7, b3, b3, 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(); i10 -= 40503; i11++; cArr3 = cArr4; i3 = 2; i5 = 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) { i2 = 2; } else { Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 98, TextUtils.getTrimmedLength("") + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0'))); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; aN((byte) 6, b4, b4, objArr7); i2 = 2; obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); i3 = i2; cArr3 = cArr5; i5 = 0; } objArr[0] = new String(cArr2, 0, i); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlSummaryActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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(); Object obj = null; if (baseContext == null) { int i2 = t + 123; p = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aL(new char[]{2983, 29803, 43355, 51061, 28269, 40342, 62834, 16357, 45744, 55090, 9311, 22920, 48921, 58409, 46427, 11138, 60312, 58833, 9790, 9239, 59003, 15849, 17355, 64998, 55846, 14715}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 25, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aL(new char[]{24593, 33301, 48895, 34532, 22133, 34124, 40848, 60169, 58439, 44572, 27595, 54982, 56068, 34196, 46427, 11138, 34795, 60841}, TextUtils.getTrimmedLength("") + 18, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = t + 101; p = i4 % 128; int i5 = i4 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = p + 33; t = i6 % 128; try { if (i6 % 2 == 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 488, 5 - KeyEvent.keyCodeFromString(""), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) View.MeasureSpec.getMode(0))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1378719468); if (obj5 == null) { obj5 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0'), View.MeasureSpec.getMode(0) + 5, (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlSummaryActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = t + 117; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = p + 29; t = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aL(new char[]{2983, 29803, 43355, 51061, 28269, 40342, 62834, 16357, 45744, 55090, 9311, 22920, 48921, 58409, 46427, 11138, 60312, 58833, 9790, 9239, 59003, 15849, 17355, 64998, 55846, 14715}, ((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]; aL(new char[]{24593, 33301, 48895, 34532, 22133, 34124, 40848, 60169, 58439, 44572, 27595, 54982, 56068, 34196, 46427, 11138, 34795, 60841}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_bank_statement_description_details).substring(64, 65).codePointAt(0) - 14, 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 obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) KeyEvent.keyCodeFromString(""))).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 - (ViewConfiguration.getJumpTapTimeout() >> 16), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.getOffsetBefore("", 0))).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(); } private static void aK(int[] iArr, boolean z, byte[] bArr, Object[] objArr) { int i; int i2 = 2; int i3 = 2 % 2; TVH tvh = new TVH(); char c = 0; int i4 = iArr[0]; int i5 = iArr[1]; int i6 = iArr[2]; int i7 = iArr[3]; char[] cArr = b; if (cArr != null) { int i8 = $10 + 15; $11 = i8 % 128; int i9 = i8 % 2; int length = cArr.length; char[] cArr2 = new char[length]; int i10 = 0; while (i10 < length) { try { Object[] objArr2 = new Object[1]; objArr2[c] = Integer.valueOf(cArr[i10]); Object obj = xzZ.y.get(1645349359); if (obj == null) { Class cls = (Class) xzZ.c(223 - (Process.myPid() >> 22), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (41976 - Process.getGidForName(""))); byte b2 = (byte) i2; byte b3 = (byte) (b2 - 2); Object[] objArr3 = new Object[1]; aN(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i10++; i2 = 2; c = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr = cArr2; } char[] cArr3 = new char[i5]; System.arraycopy(cArr, i4, cArr3, 0, i5); if (bArr != null) { char[] cArr4 = new char[i5]; tvh.c = 0; char c2 = 0; while (tvh.c < i5) { if (bArr[tvh.c] == 1) { int i11 = tvh.c; Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)}; Object obj2 = xzZ.y.get(850398076); if (obj2 == null) { obj2 = ((Class) xzZ.c(502 - Color.red(0), 5 - Color.alpha(0), (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj2); } cArr4[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); } else { int i12 = tvh.c; Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)}; Object obj3 = xzZ.y.get(1084521042); if (obj3 == null) { obj3 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 15, ImageFormat.getBitsPerPixel(0) + 6, (char) (58134 - (ViewConfiguration.getLongPressTimeout() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj3); } cArr4[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } c2 = cArr4[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c(402 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (21608 - (ViewConfiguration.getKeyRepeatDelay() >> 16))); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr7 = new Object[1]; aN(b4, b5, b5, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); int i13 = $10 + 5; $11 = i13 % 128; int i14 = i13 % 2; } cArr3 = cArr4; } if (i7 > 0) { char[] cArr5 = new char[i5]; i = 0; System.arraycopy(cArr3, 0, cArr5, 0, i5); int i15 = i5 - i7; System.arraycopy(cArr5, 0, cArr3, i15, i7); System.arraycopy(cArr5, i7, cArr3, 0, i15); } else { i = 0; } if (z) { char[] cArr6 = new char[i5]; while (true) { tvh.c = i; if (tvh.c >= i5) { break; } int i16 = $11 + 23; $10 = i16 % 128; if (i16 % 2 != 0) { cArr6[tvh.c] = cArr3[tvh.c * i5]; int i17 = tvh.c; i = 0; } else { cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1]; i = tvh.c + 1; } } cArr3 = cArr6; } if (i6 > 0) { int i18 = 0; while (true) { tvh.c = i18; if (tvh.c >= i5) { break; } cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]); i18 = tvh.c + 1; } } objArr[0] = new String(cArr3); } /* JADX WARN: Code restructure failed: missing block: B:4:0x006c, code lost: if (r4 > 99999) goto L6; */ @Override // com.scb.phone.view.activity.hml.Hilt_HmlSummaryActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 r19) { /* Method dump skipped, instructions count: 706 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSummaryActivity.attachBaseContext(android.content.Context):void"); } @Override // com.scb.phone.view.activity.hml.Hilt_HmlSummaryActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = p + 83; t = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = t + 119; p = i4 % 128; int i5 = i4 % 2; } }