package com.scb.phone.view.activity.bscanc; import android.content.Context; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.drawable.Drawable; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.view.Gravity; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import androidx.viewpager.widget.ViewPager; import butterknife.BindView; import butterknife.ButterKnife; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.pingan.ai.p; import com.scb.phone.R; import com.scb.phone.view.activity.bscanc.MyQRCoachMarkActivity; import com.scb.phone.view.adapter.creditcard.CoachMarkViewPagerAdapter; import java.lang.reflect.Method; import java.util.ArrayList; import java.util.Collection; import java.util.Iterator; import java.util.List; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C14881gav; import o.C14957gcv; import o.C2707ajg; import o.C3614bBe; import o.InterfaceC13391fZD; import o.Nhs; import o.WYJ; import o.xzZ; /* loaded from: classes4.dex */ public final class MyQRCoachMarkActivity extends Hilt_MyQRCoachMarkActivity { public static final Sts k; private static long l; private static char m; /* renamed from: o, reason: collision with root package name */ private static int f6598o; private static boolean q; private static boolean r; private static int s; private static char[] t; private static int y; @InterfaceC13391fZD public C2707ajg presenter; @BindView public ViewPager viewPager; private static final byte[] $$p = {85, 123, 51, ISO7816.INS_READ_RECORD2}; private static final int $$q = 113; private static int $10 = 0; private static int $11 = 1; private static int p = 0; /* 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: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 aC(byte r5, short r6, byte r7, java.lang.Object[] r8) { /* int r7 = r7 * 4 int r0 = 1 - r7 int r5 = 122 - r5 int r6 = r6 * 2 int r6 = r6 + 4 byte[] r1 = com.scb.phone.view.activity.bscanc.MyQRCoachMarkActivity.$$p byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L17 r4 = r6 r5 = r7 r3 = r2 goto L29 L17: r3 = r2 L18: byte r4 = (byte) r5 r0[r3] = r4 if (r3 != r7) goto L25 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L25: r4 = r1[r6] int r3 = r3 + 1 L29: int r6 = r6 + 1 int r5 = r5 + r4 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.MyQRCoachMarkActivity.aC(byte, short, byte, java.lang.Object[]):void"); } /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } @Override // com.scb.phone.view.activity.bscanc.Hilt_MyQRCoachMarkActivity, 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 = 2 % 2; int i2 = p + 117; y = i2 % 128; int i3 = i2 % 2; ViewPager viewPager = null; Object[] objArr = new Object[1]; aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 819), new char[]{42760, 54254, 4644, 19569, 43815, 18163, 45116, 42035, 55566, 6724, 48667, 54911, 43236, 56635, 23128, 10933, 19418, 4086}, new char[]{27618, 28414, 21785, 59651}, new char[]{11681, 27636, 19007, 27173}, (-1) - ImageFormat.getBitsPerPixel(0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA((char) (15706 - (ViewConfiguration.getPressedStateDuration() >> 16)), new char[]{19634, 56320, 65058, 27870, 17439}, new char[]{33486, 13858, 23230, 54077}, new char[]{11681, 27636, 19007, 27173}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 1103748576, 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]; aB(null, null, (ViewConfiguration.getEdgeSlop() >> 16) + 127, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_review_confirmation_attention_message).substring(85, 86).length() + 10408), new char[]{22822, 30388, 9447, 44247, 33912, 24324, 5866, 8061, 41923, 19922, 49700, 35125, 9567, 20209, 58678, 24737, 35228, 33166}, new char[]{63550, 13943, 43519, 50984}, new char[]{11681, 27636, 19007, 27173}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i4 = p + 59; y = i4 % 128; int i5 = i4 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, 5 - TextUtils.indexOf("", ""), (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.account_management_delete_message).substring(29, 30).codePointAt(0) + 95, new byte[]{-109, -112, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, -112, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_offer_review_Baht_per).substring(0, 5).codePointAt(2) + 91, new byte[]{-112, ISOFileInfo.DATA_BYTES2, -108, -102, -103, -111, ISOFileInfo.LCS_BYTE, -103, -108, -101, -103, ISOFileInfo.LCS_BYTE, -110, -106, -103, ISOFileInfo.FILE_IDENTIFIER, -108, -102, -111, -101, -102, ISOFileInfo.DATA_BYTES2, -108, -102, -108, -108, -103, -101, ISOFileInfo.DATA_BYTES2, -101, -110, -110, -103, -100, -105, -104, ISOFileInfo.LCS_BYTE, -100, -102, -107, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -112, -105, -109, -108, -102, -112, -102, -108, -112}, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{61152, 37765, 26383, 46724, 43872, 56924, 20430, 12530, 1402, 25516, 65107, 59928, 49844, 36836, 44104, 45471, 22286, 63037, 2069, 44151, 59789, 49341, 25172, 35507, 18795, 55372, 2143, 7381, 26377, 49346, 20592, 35355, 39412, 57607, 11567, 61539, 38484, 34373, 55132, 40738, 6490, 62088, 58792, 27332, 39026, 20318, 35237, 60560, 16291, 46888, 58052, 59900, 18003, 23593, 65083, 48335, 52141, 25989, ']', 51493, 58006, 35896, 19554, 8751}, new char[]{17910, 44060, 37527, 2901}, new char[]{11681, 27636, 19007, 27173}, ((byte) KeyEvent.getModifierMetaStateMask()) + 1, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA((char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)), new char[]{3319, 30103, 30866, 15363, 5922, 16086, 38014, 59537, 57519, 1192, 17981, 3277, 20371, 10457, 7996, 40672, 47426, 31344, 28839, 19616, 51869, 38593, 31698, 56375, 10340, 25325, 15998, 49075, 34683, 35429, 62826, 9640, 63121, 17067, 40540, 11151, 54427, 40741, 20836, 2354, 23275, 20184, 7031, 40579, 18024, 34268, 10470, 27382, 63004, 7010, 16364, 44525, 10602, 50262, 63822, 3880, 9551, 50493, 7258, 27085, 49002, 17336, 24686, 37301, 59757, 27783, 59360, 47434, 37058, 37168, 29020, 62859, 28323, 23354}, new char[]{23381, 65293, 38851, 21262}, new char[]{11681, 27636, 19007, 27173}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aA((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 50546), new char[]{11879, 38250, 1930, 61474, 9290}, new char[]{6205, 18198, 38087, 61381}, new char[]{11681, 27636, 19007, 27173}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.low_memory_text).substring(57, 58).codePointAt(0) - 951642632, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aB(null, null, ExpandableListView.getPackedPositionType(0L) + 127, new byte[]{-112, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, -112, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, -112, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, -112, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, -112}, 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(KeyEvent.keyCodeFromString("") + 487, View.MeasureSpec.getMode(0) + 5, (char) TextUtils.getOffsetAfter("", 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); int i6 = y + 73; p = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); setContentView(R.layout.2131558483); ButterKnife.Dg_(this); C2707ajg c2707ajg = this.presenter; if (c2707ajg == null) { C14957gcv.a(""); c2707ajg = null; } List d = c2707ajg.d(); C2707ajg c2707ajg2 = this.presenter; if (c2707ajg2 != null) { int i8 = y + 95; p = i8 % 128; if (i8 % 2 != 0) { int i9 = 3 / 2; } } else { C14957gcv.a(""); c2707ajg2 = null; } c2707ajg2.a(); C14957gcv.c(d, ""); List list = d; C14957gcv.e(list, ""); ArrayList arrayList = new ArrayList(list instanceof Collection ? list.size() : 10); Iterator it = list.iterator(); while (it.hasNext()) { int i10 = y + 35; p = i10 % 128; int i11 = i10 % 2; arrayList.add(Integer.valueOf(((Integer) it.next()).intValue())); } CoachMarkViewPagerAdapter coachMarkViewPagerAdapter = new CoachMarkViewPagerAdapter(this, C14881gav.a((Collection) arrayList)); ViewPager viewPager2 = this.viewPager; if (viewPager2 != null) { viewPager = viewPager2; } else { C14957gcv.a(""); } viewPager.setAdapter(coachMarkViewPagerAdapter); coachMarkViewPagerAdapter.d = new CoachMarkViewPagerAdapter.IeS(this) { // from class: o.dtB private MyQRCoachMarkActivity d; @Override // com.scb.phone.view.adapter.creditcard.CoachMarkViewPagerAdapter.IeS public final void a() { MyQRCoachMarkActivity.c(this.d); } { this.d = this; } }; } private static void aA(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2; int i3 = 2; int i4 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr2.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; int i5 = 0; 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; int i6 = $11 + 71; $10 = i6 % 128; int i7 = i6 % 2; while (nhs.a < length3) { int i8 = $11 + 25; $10 = i8 % 128; int i9 = i8 % i3; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 45, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', i5, i5) + 1)); Class[] clsArr = new Class[1]; clsArr[i5] = Object.class; obj = cls.getMethod("t", clsArr); 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 cls2 = (Class) xzZ.c(352 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) (52128 - KeyEvent.getDeadChar(i5, i5))); byte b = (byte) i5; Object[] objArr4 = new Object[1]; aC((byte) 7, b, b, objArr4); String str = (String) objArr4[i5]; Class[] clsArr2 = new Class[1]; clsArr2[i5] = Object.class; obj2 = cls2.getMethod(str, clsArr2); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); int i10 = cArr4[nhs.a % 4] * 32718; Object[] objArr5 = new Object[3]; objArr5[2] = Integer.valueOf(cArr5[intValue]); objArr5[1] = Integer.valueOf(i10); objArr5[i5] = nhs; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 748, Color.argb(i5, i5, i5, i5) + 5, (char) View.resolveSizeAndState(i5, i5, i5)); Class[] clsArr3 = new Class[3]; clsArr3[i5] = Object.class; clsArr3[1] = Integer.TYPE; clsArr3[2] = Integer.TYPE; obj3 = cls3.getMethod(p.a, clsArr3); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); int i11 = cArr4[intValue2] * 32718; Object[] objArr6 = new Object[2]; objArr6[1] = Integer.valueOf(cArr5[intValue]); objArr6[i5] = Integer.valueOf(i11); Object obj4 = xzZ.y.get(1019894806); if (obj4 != null) { i2 = 2; } else { Class cls4 = (Class) xzZ.c(403 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - Color.red(i5), (char) (21609 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)))); byte b2 = (byte) i5; Object[] objArr7 = new Object[1]; aC((byte) 8, b2, b2, objArr7); String str2 = (String) objArr7[i5]; i2 = 2; Class[] clsArr4 = new Class[2]; clsArr4[i5] = Integer.TYPE; clsArr4[1] = Integer.TYPE; obj4 = cls4.getMethod(str2, clsArr4); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((int) (f6598o ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (l ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L))); nhs.a++; i3 = i2; i5 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(cArr6); } @Override // androidx.activity.ComponentActivity, android.app.Activity public final void onBackPressed() { int i = 2 % 2; int i2 = p + 31; y = i2 % 128; int i3 = i2 % 2; setResult(0); finish(); int i4 = p + 95; y = i4 % 128; if (i4 % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Code restructure failed: missing block: B:31:0x0023, code lost: r8 = (java.lang.Object[]) null; r10 = new java.lang.Object[1]; aB(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_terms_and_conditions_decline_description_dialog).substring(31, 32).codePointAt(0) + 95, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, -112, -124, -113, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -122, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, -122, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, -119, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -120, -120, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -122, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, net.sf.scuba.smartcards.ISOFileInfo.FILE_IDENTIFIER, -126, net.sf.scuba.smartcards.ISOFileInfo.DATA_BYTES2}, r10); r7 = java.lang.Class.forName((java.lang.String) r10[0]); r1 = new java.lang.Object[1]; aA((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 10310), new char[]{22822, 30388, 9447, 44247, 33912, 24324, 5866, 8061, 41923, 19922, 49700, 35125, 9567, 20209, 58678, 24737, 35228, 33166}, new char[]{63550, 13943, 43519, 50984}, new char[]{11681, 27636, 19007, 27173}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_kofax_crop_tutorial_dont_desc).substring(0, 2).codePointAt(0) - 8226, r1); r1 = (android.content.Context) r7.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null); */ /* JADX WARN: Code restructure failed: missing block: B:33:0x0021, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 == null) goto L9; */ @Override // com.scb.phone.view.activity.bscanc.Hilt_MyQRCoachMarkActivity, 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 final void onResume() { /* Method dump skipped, instructions count: 470 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bscanc.MyQRCoachMarkActivity.onResume():void"); } private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) { int length; char[] cArr2; int i2 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr3 = t; int i3 = 0; if (cArr3 != null) { int i4 = $10 + 87; $11 = i4 % 128; if (i4 % 2 == 0) { length = cArr3.length; cArr2 = new char[length]; } else { length = cArr3.length; cArr2 = new char[length]; } int i5 = 0; while (i5 < length) { try { Object[] objArr2 = new Object[1]; objArr2[i3] = Integer.valueOf(cArr3[i5]); Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(336 - TextUtils.indexOf((CharSequence) "", '0'), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (ViewConfiguration.getJumpTapTimeout() >> 16)); byte b = (byte) i3; Object[] objArr3 = new Object[1]; aC((byte) 57, b, b, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i5++; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr3 = cArr2; } Object[] objArr4 = {Integer.valueOf(s)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 283, TextUtils.indexOf("", "", 0) + 5, (char) (Color.red(0) + 39813)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr5 = new Object[1]; aC(b2, b3, b3, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (!(!r)) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i6 = $11 + 29; $10 = i6 % 128; if (i6 % 2 != 0) { cArr4[c3614bBe.a] = (char) (cArr3[bArr[c3614bBe.c + c3614bBe.a] % i] - intValue); Object[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 40, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) TextUtils.getOffsetBefore("", 0))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } else { cArr4[c3614bBe.a] = (char) (cArr3[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c(40 - TextUtils.indexOf("", "", 0, 0), 5 - TextUtils.indexOf("", ""), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); } } objArr[0] = new String(cArr4); return; } int i7 = 0; if (!(!q)) { int i8 = $11 + 71; $10 = i8 % 128; int i9 = i8 % 2; c3614bBe.c = cArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i10 = $11 + 25; $10 = i10 % 128; int i11 = i10 % 2; cArr5[c3614bBe.a] = (char) (cArr3[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); Object[] objArr8 = {c3614bBe, c3614bBe}; Object obj5 = xzZ.y.get(1779759091); if (obj5 == null) { obj5 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 40, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj5); } ((Method) obj5).invoke(null, objArr8); } objArr[0] = new String(cArr5); return; } c3614bBe.c = iArr.length; char[] cArr6 = new char[c3614bBe.c]; while (true) { c3614bBe.a = i7; if (c3614bBe.a >= c3614bBe.c) { objArr[0] = new String(cArr6); return; } else { cArr6[c3614bBe.a] = (char) (cArr3[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue); i7 = c3614bBe.a + 1; } } } /* JADX INFO: Access modifiers changed from: private */ public static /* synthetic */ Object b(Object[] objArr) { MyQRCoachMarkActivity myQRCoachMarkActivity = (MyQRCoachMarkActivity) objArr[0]; int i = 2 % 2; Context baseContext = myQRCoachMarkActivity.getBaseContext(); Object obj = null; if (baseContext == null) { int i2 = p + 47; y = i2 % 128; int i3 = i2 % 2; Object[] objArr2 = new Object[1]; aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.favorite_add_suggestion_bulk_transfer).substring(55, 56).codePointAt(0) + 95, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, -112, -124, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.SECURITY_ATTR_COMPACT, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, ISOFileInfo.FCI_EXT, -120, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2); Class cls = Class.forName((String) objArr2[0]); Object[] objArr3 = new Object[1]; aA((char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 10408), new char[]{22822, 30388, 9447, 44247, 33912, 24324, 5866, 8061, 41923, 19922, 49700, 35125, 9567, 20209, 58678, 24737, 35228, 33166}, new char[]{63550, 13943, 43519, 50984}, new char[]{11681, 27636, 19007, 27173}, 1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), objArr3); baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = y + 23; p = i4 % 128; if (i4 % 2 != 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 5 - Color.green(0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c(488 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } super.onPause(); int i5 = y + 99; p = i5 % 128; if (i5 % 2 == 0) { return null; } obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.bscanc.Hilt_MyQRCoachMarkActivity, 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; int i2 = p + 117; y = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA((char) (ExpandableListView.getPackedPositionType(0L) + 853), new char[]{42760, 54254, 4644, 19569, 43815, 18163, 45116, 42035, 55566, 6724, 48667, 54911, 43236, 56635, 23128, 10933, 19418, 4086}, new char[]{27618, 28414, 21785, 59651}, new char[]{11681, 27636, 19007, 27173}, (-1) - TextUtils.lastIndexOf("", '0', 0), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA((char) (15705 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), new char[]{19634, 56320, 65058, 27870, 17439}, new char[]{33486, 13858, 23230, 54077}, new char[]{11681, 27636, 19007, 27173}, (-1103748478) - TextUtils.getOffsetBefore("", 0), objArr2); Object obj = null; int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { if (context != null) { int i4 = p + 89; y = i4 % 128; if (i4 % 2 == 0) { context.getApplicationContext(); obj.hashCode(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i5 = y + 73; p = i5 % 128; int i6 = i5 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, 5 - View.combineMeasuredStates(0, 0), (char) (AndroidCharacter.getMirror('0') - '0'))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = new Object[1]; aB(null, null, 127 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), new byte[]{-109, -112, -103, ISOFileInfo.LCS_BYTE, -101, -105, -109, -104, -108, -108, -112, -106, -111, -103, -101, -111, -111, ISOFileInfo.FILE_IDENTIFIER, -105, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.LCS_BYTE, -102, -106, -105, ISOFileInfo.DATA_BYTES2, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, ISOFileInfo.DATA_BYTES2, -104, -105, -108, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -107, -108, -109, -110, -111}, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB(null, null, 127 - Drawable.resolveOpacity(0, 0), new byte[]{-112, ISOFileInfo.DATA_BYTES2, -108, -102, -103, -111, ISOFileInfo.LCS_BYTE, -103, -108, -101, -103, ISOFileInfo.LCS_BYTE, -110, -106, -103, ISOFileInfo.FILE_IDENTIFIER, -108, -102, -111, -101, -102, ISOFileInfo.DATA_BYTES2, -108, -102, -108, -108, -103, -101, ISOFileInfo.DATA_BYTES2, -101, -110, -110, -103, -100, -105, -104, ISOFileInfo.LCS_BYTE, -100, -102, -107, -109, ISOFileInfo.DATA_BYTES2, -102, ISOFileInfo.LCS_BYTE, -104, -111, -109, -102, -111, -110, -102, -104, -102, -104, -101, -112, -105, -109, -108, -102, -112, -102, -108, -112}, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA((char) (ViewConfiguration.getWindowTouchSlop() >> 8), new char[]{61152, 37765, 26383, 46724, 43872, 56924, 20430, 12530, 1402, 25516, 65107, 59928, 49844, 36836, 44104, 45471, 22286, 63037, 2069, 44151, 59789, 49341, 25172, 35507, 18795, 55372, 2143, 7381, 26377, 49346, 20592, 35355, 39412, 57607, 11567, 61539, 38484, 34373, 55132, 40738, 6490, 62088, 58792, 27332, 39026, 20318, 35237, 60560, 16291, 46888, 58052, 59900, 18003, 23593, 65083, 48335, 52141, 25989, ']', 51493, 58006, 35896, 19554, 8751}, new char[]{17910, 44060, 37527, 2901}, new char[]{11681, 27636, 19007, 27173}, ViewConfiguration.getScrollBarSize() >> 8, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA((char) Color.blue(0), new char[]{3319, 30103, 30866, 15363, 5922, 16086, 38014, 59537, 57519, 1192, 17981, 3277, 20371, 10457, 7996, 40672, 47426, 31344, 28839, 19616, 51869, 38593, 31698, 56375, 10340, 25325, 15998, 49075, 34683, 35429, 62826, 9640, 63121, 17067, 40540, 11151, 54427, 40741, 20836, 2354, 23275, 20184, 7031, 40579, 18024, 34268, 10470, 27382, 63004, 7010, 16364, 44525, 10602, 50262, 63822, 3880, 9551, 50493, 7258, 27085, 49002, 17336, 24686, 37301, 59757, 27783, 59360, 47434, 37058, 37168, 29020, 62859, 28323, 23354}, new char[]{23381, 65293, 38851, 21262}, new char[]{11681, 27636, 19007, 27173}, ViewConfiguration.getKeyRepeatTimeout() >> 16, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA((char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 50579), new char[]{11879, 38250, 1930, 61474, 9290}, new char[]{6205, 18198, 38087, 61381}, new char[]{11681, 27636, 19007, 27173}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 951642601, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB(null, null, 126 - ((byte) KeyEvent.getModifierMetaStateMask()), new byte[]{-112, -111, -101, -109, -101, ISOFileInfo.LCS_BYTE, -112, -110, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -104, -99, ISOFileInfo.LCS_BYTE, -112, -108, ISOFileInfo.DATA_BYTES2, -99, -111, -111, -104, -109, -99, -108, -112, -100, -102, -99, -100, -109, -105, ISOFileInfo.FILE_IDENTIFIER, -109, -104, ISOFileInfo.DATA_BYTES2, -112}, objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 487, 5 - ExpandableListView.getPackedPositionType(0L), (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } } public static /* synthetic */ void c(MyQRCoachMarkActivity myQRCoachMarkActivity) { int i = 2 % 2; C14957gcv.e(myQRCoachMarkActivity, ""); ViewPager viewPager = myQRCoachMarkActivity.viewPager; ViewPager viewPager2 = null; if (viewPager != null) { int i2 = y + 53; p = i2 % 128; if (i2 % 2 != 0) { viewPager2.hashCode(); throw null; } } else { C14957gcv.a(""); viewPager = null; } int currentItem = viewPager.getCurrentItem() + 1; ViewPager viewPager3 = myQRCoachMarkActivity.viewPager; if (viewPager3 == null) { C14957gcv.a(""); viewPager3 = null; } WYJ adapter = viewPager3.getAdapter(); C14957gcv.e(adapter); if (currentItem >= adapter.getCount()) { myQRCoachMarkActivity.setResult(-1); myQRCoachMarkActivity.finish(); return; } int i3 = p + 11; y = i3 % 128; int i4 = i3 % 2; ViewPager viewPager4 = myQRCoachMarkActivity.viewPager; if (viewPager4 != null) { viewPager2 = viewPager4; } else { C14957gcv.a(""); int i5 = y + 83; p = i5 % 128; if (i5 % 2 != 0) { int i6 = 4 / 2; } } viewPager2.setCurrentItem(currentItem); } static void g() { l = 1710958408180430596L; f6598o = 452713125; m = (char) 55973; t = new char[]{16352, 16157, 16355, 16145, 16158, 16152, 16349, 16159, 16320, 16354, 16147, 16149, 16136, 16371, 16359, 16356, 16336, 16342, 16339, 16353, 16338, 16357, 16328, 16337, 16343, 16341, 16340, 16351, 16348}; s = 1934311311; q = true; r = true; } @Override // com.scb.phone.view.activity.bscanc.Hilt_MyQRCoachMarkActivity, 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 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2099766290; b(new Object[]{this}); } @Override // com.scb.phone.view.activity.bscanc.Hilt_MyQRCoachMarkActivity, 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 = y + 5; p = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { int i4 = 73 / 0; } int i5 = p + 105; y = i5 % 128; if (i5 % 2 == 0) { int i6 = 74 / 0; } } static { y = 1; g(); k = new Sts((byte) 0); int i = p + 77; y = i % 128; int i2 = i % 2; } }