package com.scb.phone.view.activity.deeplink; import android.content.Context; import android.content.ContextWrapper; import android.content.DialogInterface; import android.content.Intent; import android.graphics.Color; import android.graphics.PointF; import android.graphics.Typeface; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.telephony.cdma.CdmaCellLocation; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.akexorcist.localizationactivity.LocalizationActivity; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.splash.SplashActivity; import com.scb.phone.view.custom.common.CustomDialog; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13125fRg; import o.C3614bBe; import o.C4593bdB; import o.xUo; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public class DeepLinkActivity extends LocalizationActivity { private static final byte[] $$m = {40, 9, -20, ISOFileInfo.AB}; private static final int $$n = CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384; private static int $10 = 0; private static int $11 = 1; private static int h = 0; private static int j = 1; private static long e = -1550622584396102690L; private static char[] d = {16273, 16269, 15977, 16285, 16280, 15975, 16265, 16278, 16281, 16274, 16264, 15941, 16276, 16272, 15973, 16275, 15974, 15946, 15944, 15949, 15945, 15958, 15947, 15957, 15959, 15956, 15948, 16282, 15954, 15953}; private static int c = 1934310916; private static boolean b = true; private static boolean g = true; /* 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:0x0027). 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 p(byte r5, short r6, int r7, java.lang.Object[] r8) { /* byte[] r0 = com.scb.phone.view.activity.deeplink.DeepLinkActivity.$$m int r7 = r7 * 2 int r7 = r7 + 4 int r6 = r6 + 65 int r5 = r5 * 4 int r1 = r5 + 1 byte[] r1 = new byte[r1] r2 = 0 if (r0 != 0) goto L15 r6 = r5 r3 = r7 r4 = r2 goto L27 L15: r3 = r2 L16: byte r4 = (byte) r6 r1[r3] = r4 int r4 = r3 + 1 if (r3 != r5) goto L25 java.lang.String r5 = new java.lang.String r5.(r1, r2) r8[r2] = r5 return L25: r3 = r0[r7] L27: int r7 = r7 + 1 int r6 = r6 + r3 r3 = r4 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.DeepLinkActivity.p(byte, short, int, java.lang.Object[]):void"); } private static void k(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; C4593bdB c4593bdB = new C4593bdB(); c4593bdB.a = i; int length = cArr.length; long[] jArr = new long[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { int i3 = $10 + 23; $11 = i3 % 128; int i4 = i3 % 2; int i5 = c4593bdB.e; try { Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB}; Object obj = xzZ.y.get(-1229953068); if (obj == null) { Class cls = (Class) xzZ.c(450 - AndroidCharacter.getMirror('0'), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (21608 - KeyEvent.keyCodeFromString(""))); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; p(b2, (byte) (b2 | 12), b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (e ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getScrollBarSize() >> 8), View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; p(b3, (byte) (b3 | 13), b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr2 = new char[length]; c4593bdB.e = 0; while (c4593bdB.e < cArr.length) { int i6 = $10 + 27; $11 = i6 % 128; if (i6 % 2 == 0) { cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; try { Object[] objArr6 = {c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1143917229); if (obj3 == null) { Class cls3 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 238, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ExpandableListView.getPackedPositionType(0L)); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; p(b4, (byte) (b4 | 13), b4, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } ((Method) obj3).invoke(null, objArr6); int i7 = 43 / 0; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr8 = {c4593bdB, c4593bdB}; Object obj4 = xzZ.y.get(-1143917229); if (obj4 == null) { Class cls4 = (Class) xzZ.c((Process.myPid() >> 22) + 238, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1)); byte b5 = (byte) 0; Object[] objArr9 = new Object[1]; p(b5, (byte) (b5 | 13), b5, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj4); } ((Method) obj4).invoke(null, objArr8); } } objArr[0] = new String(cArr2); } private static void n(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int i2 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = d; char c2 = '0'; int i3 = 0; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i4 = 0; while (i4 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr2[i4]); Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 337, TextUtils.lastIndexOf("", c2) + 6, (char) TextUtils.getCapsMode("", i3, i3)); byte b2 = (byte) i3; byte b3 = b2; Object[] objArr3 = new Object[1]; p(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i4++; c2 = '0'; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } Object[] objArr4 = {Integer.valueOf(c)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), TextUtils.lastIndexOf("", '0') + 6, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 39814)); byte b4 = (byte) 0; Object[] objArr5 = new Object[1]; p(b4, (byte) (b4 | 57), b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (!(!g)) { int i5 = $11 + 35; $10 = i5 % 128; int i6 = i5 % 2; 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[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.argb(0, 0, 0, 0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } objArr[0] = new String(cArr4); return; } if (!b) { c3614bBe.c = iArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); c3614bBe.a++; int i7 = $10 + 123; $11 = i7 % 128; if (i7 % 2 == 0) { int i8 = 5 / 2; } } objArr[0] = new String(cArr5); return; } c3614bBe.c = cArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; int i9 = $11 + 91; $10 = i9 % 128; int i10 = 2; int i11 = i9 % 2; while (c3614bBe.a < c3614bBe.c) { int i12 = $11 + 123; $10 = i12 % 128; int i13 = i12 % i10; cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); try { Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 40, View.MeasureSpec.getMode(0) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); i10 = 2; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } objArr[0] = new String(cArr6); } /* JADX WARN: Code restructure failed: missing block: B:6:0x0097, code lost: if (r2 > 99999) goto L10; */ @Override // 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 r18) { /* Method dump skipped, instructions count: 1150 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.DeepLinkActivity.onCreate(android.os.Bundle):void"); } private void abZ_(DialogInterface.OnClickListener onClickListener) { int i = 2 % 2; int i2 = h + 7; j = i2 % 128; int i3 = i2 % 2; CustomDialog d2 = CustomDialog.b(this).c(R.string.error_default_title).d(R.string.error_update_latest_version); d2.setCancelable(false); CustomDialog aoT_ = d2.aoT_(R.string.ok, onClickListener); aoT_.mTitleTextView.setTypeface(Typeface.createFromAsset(aoT_.e.getAssets(), "fonts/db_heavent_medium.ttf")); aoT_.mTextTextView.setTypeface(Typeface.createFromAsset(aoT_.e.getAssets(), "fonts/db_heavent_medium.ttf")); aoT_.mPositiveButton.setTypeface(Typeface.createFromAsset(aoT_.e.getAssets(), "fonts/db_heavent_medium.ttf")); aoT_.show(); int i4 = h + 15; j = i4 % 128; int i5 = i4 % 2; } @Override // 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) { int i = 2 % 2; int i2 = j + 3; h = i2 % 128; int i3 = i2 % 2; ContextWrapper aCE_ = C13125fRg.aCE_(xUo.Di_(context)); if (i3 == 0) { super.attachBaseContext(aCE_); } else { super.attachBaseContext(aCE_); int i4 = 0 / 0; } } @Override // 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; int i2 = j + 109; h = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; k(new char[]{20601, 63515, 166, 43309, 61891, 6736, 41714, 51917, 4881, 48061, 50218, 27801, 46405, 56818, 26010, 36370, 54974, 32588, 34758, 53366, 30920, 32897, 10548, 29110, 39489, 8921}, 43117 - View.resolveSizeAndState(0, 0, 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; n(null, null, 127 - Color.argb(0, 0, 0, 0), new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, 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(View.combineMeasuredStates(0, 0) + 492, 5 - (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)), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 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(487 - Color.alpha(0), 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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(); int i4 = h + 107; j = i4 % 128; int i5 = i4 % 2; } @Override // 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 = h + 97; j = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; k(new char[]{20601, 63515, 166, 43309, 61891, 6736, 41714, 51917, 4881, 48061, 50218, 27801, 46405, 56818, 26010, 36370, 54974, 32588, 34758, 53366, 30920, 32897, 10548, 29110, 39489, 8921}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 43083, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; n(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_success_cc_activation_completed).substring(17, 18).codePointAt(0) + 95, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, 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((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, Color.green(0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); int i4 = h + 113; j = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); int i6 = h + 91; j = i6 % 128; int i7 = i6 % 2; } public static /* synthetic */ void abX_(DeepLinkActivity deepLinkActivity, DialogInterface dialogInterface) { int i = 2 % 2; dialogInterface.dismiss(); deepLinkActivity.startActivity(new Intent(deepLinkActivity, (Class) SplashActivity.class).setFlags(268468224)); deepLinkActivity.finish(); int i2 = h + 123; j = i2 % 128; int i3 = i2 % 2; } public static /* synthetic */ void abY_(DeepLinkActivity deepLinkActivity, DialogInterface dialogInterface) { int i = 2 % 2; int i2 = h + 23; j = i2 % 128; int i3 = i2 % 2; dialogInterface.dismiss(); deepLinkActivity.finish(); int i4 = h + 17; j = i4 % 128; int i5 = i4 % 2; } @Override // 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 = j + 5; h = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = j + 119; h = i4 % 128; int i5 = i4 % 2; } }