package com.scb.phone.view.activity.cardx; import android.content.ActivityNotFoundException; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.drawable.Drawable; import android.net.Uri; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.util.MalformedJsonException; 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.common.internal.ImagesContract; import com.google.gson.Gson; import com.google.gson.JsonParseException; import com.huawei.hms.support.api.entity.common.CommonConstant; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import java.lang.reflect.Method; import o.C0460Ha; import o.C14866gag; import o.C14957gcv; import o.C15715hv; import o.C3065aqV; import o.C4403bZM; import o.GX; import o.InterfaceC13391fZD; import o.InterfaceC9034dcB; import o.RunnableC3069aqZ; import o.ZI; import o.guQ; import o.xzZ; import o.zUI; import org.bouncycastle.crypto.tls.CipherSuite; import org.jmrtd.cbeff.ISO781611; import org.json.JSONException; /* loaded from: classes4.dex */ public final class CardXGetStartWebViewActivity extends Hilt_CardXGetStartWebViewActivity implements InterfaceC9034dcB.HBt { public static final LWm b; private static int k; private static int[] l; private static int p; /* renamed from: o, reason: collision with root package name */ private String f6669o; @InterfaceC13391fZD public C3065aqV presenter; private static final byte[] $$g = {14, 104, 7, -34}; private static final int $$h = 220; private static int $10 = 0; private static int $11 = 1; private static int r = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x002c */ /* JADX WARN: Removed duplicated region for block: B:7:0x0024 */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002c -> B:4:0x002e). 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 az(int r6, int r7, short r8, java.lang.Object[] r9) { /* int r7 = r7 * 4 int r0 = 1 - r7 byte[] r1 = com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.$$g int r8 = r8 * 3 int r8 = 3 - r8 int r6 = r6 + 69 byte[] r0 = new byte[r0] r2 = 0 int r7 = 0 - r7 if (r1 != 0) goto L17 r3 = r7 r6 = r8 r4 = r2 goto L2e L17: r3 = r2 r5 = r8 r8 = r6 r6 = r5 L1b: int r6 = r6 + 1 byte r4 = (byte) r8 r0[r3] = r4 int r4 = r3 + 1 if (r3 != r7) goto L2c java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L2c: r3 = r1[r6] L2e: int r8 = r8 + r3 r3 = r4 goto L1b */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.az(int, int, short, java.lang.Object[]):void"); } public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) { if ((i * 628) + (i2 * 628) + ((i2 | i3 | (~i)) * (-627)) + (((~((~i2) | i3)) | i) * (-627)) + (((~(i | i3)) | (~(i2 | (~i3)))) * 627) != 1) { CardXGetStartWebViewActivity cardXGetStartWebViewActivity = (CardXGetStartWebViewActivity) objArr[0]; Bundle bundle = (Bundle) objArr[1]; int i4 = 2 % 2; Object[] objArr2 = new Object[1]; ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 28, true, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 2, objArr2); Class cls = Class.forName((String) objArr2[0]); Object[] objArr3 = new Object[1]; ax(new int[]{-564612764, 17804439, -857466085, 1294975334}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_change_mailing_address_review_content_1).substring(56, 57).length() + 4, objArr3); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = cardXGetStartWebViewActivity.getBaseContext(); if (baseContext == null) { Object[] objArr4 = new Object[1]; ax(new int[]{2097946304, 382470627, 593366842, -931094020, 636287643, -74060501, -1837078278, -2097555445, 1139146424, 439464372, -1140309729, -1881304648, 261492768, 1297393241}, Color.argb(0, 0, 0, 0) + 26, objArr4); Class cls2 = Class.forName((String) objArr4[0]); Object[] objArr5 = new Object[1]; ay(TextUtils.lastIndexOf("", '0', 0) + 19, new char[]{65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n'}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + ISO781611.CREATION_DATE_AND_TIME_TAG, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_activation_success_remark).substring(19, 20).length() + 10, objArr5); baseContext = (Context) cls2.getMethod((String) objArr5[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(492 - (ViewConfiguration.getScrollBarSize() >> 8), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr6 = new Object[1]; ax(new int[]{-1728983895, 889075172, 976714402, 1208033749, 46508341, -1277449336, 1661451525, -1401240944, -254352734, -1231674191, 173803504, -2048469308, 1313715341, -2138764790, -1262969840, 1403724896, 1587268234, 1283107343, -1285333383, 523132843, -745983114, -1400855601, 2072086537, 1012999329}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr6); String str = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_minute_suffix).substring(0, 5).length() + 59, new char[]{65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30}, 106 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_date_rate_change_title).substring(0, 19).codePointAt(16) + 26, objArr7); String str2 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ax(new int[]{963110306, 554397845, 832403902, 591760592, -1954867227, -294189896, -1721012056, -719173192, -28306649, -274119183, 1850974568, 452330795, 1651417702, 603971184, 372425282, -1037086238, -918523415, -567148165, 1897890691, -1263219333, -472529459, 1182307775, -462820222, 2086274118, 693805383, -1108213594, 776748591, -223427834, 705132979, -859747959, 193388580, -184593285}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_ndid_idp_unenrolled_header).substring(46, 47).codePointAt(0) - 4, objArr8); String str3 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; ax(new int[]{-1516070918, -370448561, -607528794, -61867080, 55335236, -480007754, -264886222, -2082265433, 1317657078, -1221916496, 977538859, 45857851, -1951716263, -760552538, -2137831384, 352699238, 2108681064, -1267534478, 241916517, -972805355, 380497814, 353496274, 747141705, 1261134806, 1721768776, -816589641, 1739787404, -1424870236, -1329713261, 1593166135, -1609266991, 116680583, 455056229, -1153326781, 803878621, 523947963, -10866393, 1837889640}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_blurry_card).substring(30, 31).codePointAt(0) + 42, objArr9); String str4 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; ax(new int[]{1587750205, -705895818, -332267276, 250237882}, Color.blue(0) + 5, objArr10); String str5 = (String) objArr10[0]; Object[] objArr11 = new Object[1]; ax(new int[]{1026245183, 438224827, -1057273732, -1800603893, 837749017, 538154867, -1509773802, 1225300634, 173293479, -833228503, 364118688, 798398568, 1946540657, -1430526401, -171929967, -1587979271, 937444736, -1816969734}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.booking_id).substring(7, 8).length() + 35, objArr11); Object[] objArr12 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr11[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 486, 5 - KeyEvent.getDeadChar(0, 0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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, objArr12); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause != null) { throw cause; } throw th; } } } super.onCreate(bundle); Bundle extras = cardXGetStartWebViewActivity.getIntent().getExtras(); cardXGetStartWebViewActivity.f6669o = extras != null ? extras.getString("EXTRA_EXTERNAL_LINK") : null; C3065aqV c3065aqV = cardXGetStartWebViewActivity.presenter; if (c3065aqV != null) { int i5 = p; int i6 = i5 + 91; r = i6 % 128; int i7 = i6 % 2; int i8 = i5 + 53; r = i8 % 128; int i9 = i8 % 2; } else { C14957gcv.a(""); c3065aqV = null; } c3065aqV.e((C3065aqV) cardXGetStartWebViewActivity); return null; } return d(objArr); } /* loaded from: classes4.dex */ public static final class LWm { private LWm() { } public static Intent ZG_(Context context, String str, String str2) { C14957gcv.e(context, ""); C14957gcv.e(str, ""); C14957gcv.e(str2, ""); Intent intent = new Intent(context, (Class) CardXGetStartWebViewActivity.class); intent.putExtra(ImagesContract.URL, str); intent.putExtra("EXTRA_EXTERNAL_LINK", str2); return intent; } public /* synthetic */ LWm(byte b) { this(); } } @Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity public final void b(String str, String str2) { Boolean bool; int i = 2 % 2; int i2 = p + 17; r = i2 % 128; int i3 = i2 % 2; C14957gcv.e(str, ""); C14957gcv.e(str2, ""); if (C14957gcv.b((Object) str, (Object) "openExternalLink")) { final C3065aqV c3065aqV = this.presenter; C14866gag c14866gag = null; if (c3065aqV == null) { C14957gcv.a(""); c3065aqV = null; } final String str3 = this.f6669o; if (str2 == null) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); return; } try { GX gx = ((C0460Ha) new Gson().fromJson(str2, C0460Ha.class)).d; if (gx == null || (bool = gx.c) == null) { int i4 = p + 103; r = i4 % 128; int i5 = i4 % 2; } else { if (bool.booleanValue()) { ZI.IeS ieS = new ZI.IeS(str3, c3065aqV) { // from class: o.ara private String a; private C3065aqV b; @Override // o.ZI.IeS public final void e(Object obj) { C3065aqV.e(this.a, this.b, (InterfaceC9034dcB.HBt) obj); } { this.a = str3; this.b = c3065aqV; } }; if (c3065aqV.f != 0) { ieS.e(c3065aqV.f); } } else { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } c14866gag = C14866gag.c; } if (c14866gag == null) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } } catch (MalformedJsonException unused) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } catch (JsonParseException unused2) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } catch (NullPointerException unused3) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } catch (JSONException unused4) { c3065aqV.d(c3065aqV.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new RunnableC3069aqZ(c3065aqV))); } } } private static void ay(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) { int i4 = 2 % 2; zUI zui = new zUI(); char[] cArr2 = new char[i]; zui.d = 0; while (zui.d < i) { zui.c = cArr[zui.d]; cArr2[zui.d] = (char) (i2 + zui.c); int i5 = zui.d; try { Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(k)}; Object obj = xzZ.y.get(880493502); if (obj == null) { Class cls = (Class) xzZ.c(143 - TextUtils.indexOf("", ""), 7 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; az(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(880493502, obj); } cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); Object[] objArr4 = {zui, zui}; Object obj2 = xzZ.y.get(1294990079); if (obj2 == null) { Class cls2 = (Class) xzZ.c(341 - ImageFormat.getBitsPerPixel(0), 5 - Color.blue(0), (char) ((-1) - Process.getGidForName(""))); byte b4 = (byte) 0; Object[] objArr5 = new Object[1]; az($$g[2], b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(1294990079, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } if (i3 > 0) { int i6 = $10 + 109; $11 = i6 % 128; int i7 = i6 % 2; zui.a = i3; char[] cArr3 = new char[i]; System.arraycopy(cArr2, 0, cArr3, 0, i); System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a); System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a); } if (z) { char[] cArr4 = new char[i]; zui.d = 0; while (zui.d < i) { int i8 = $10 + 113; $11 = i8 % 128; if (i8 % 2 == 0) { cArr4[zui.d] = cArr2[(i - zui.d) % 1]; Object[] objArr6 = {zui, zui}; Object obj3 = xzZ.y.get(1294990079); if (obj3 == null) { Class cls3 = (Class) xzZ.c(342 - KeyEvent.getDeadChar(0, 0), 5 - TextUtils.getOffsetBefore("", 0), (char) Color.red(0)); byte b5 = (byte) 0; Object[] objArr7 = new Object[1]; az($$g[2], b5, b5, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1294990079, obj3); } ((Method) obj3).invoke(null, objArr6); } else { cArr4[zui.d] = cArr2[(i - zui.d) - 1]; Object[] objArr8 = {zui, zui}; Object obj4 = xzZ.y.get(1294990079); if (obj4 == null) { Class cls4 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777558, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) View.combineMeasuredStates(0, 0)); byte b6 = (byte) 0; Object[] objArr9 = new Object[1]; az($$g[2], b6, b6, objArr9); obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class); xzZ.y.put(1294990079, obj4); } ((Method) obj4).invoke(null, objArr8); } } cArr2 = cArr4; } objArr[0] = new String(cArr2); } /* JADX WARN: Code restructure failed: missing block: B:11:0x0028, code lost: if (r5.getItemId() == com.scb.phone.R.id.menu_close) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost: if (r5.getItemId() == com.scb.phone.R.id.menu_close) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x003c, code lost: return super.onOptionsItemSelected(r5); */ /* JADX WARN: Code restructure failed: missing block: B:8:0x002a, code lost: r5 = com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.r + 11; com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.p = r5 % 128; r5 = r5 % 2; finish(); */ /* JADX WARN: Code restructure failed: missing block: B:9:0x0037, code lost: return true; */ @Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final boolean onOptionsItemSelected(android.view.MenuItem r5) { /* r4 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.r int r1 = r1 + 91 int r2 = r1 % 128 com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.p = r2 int r1 = r1 % r0 r2 = 2131365529(0x7f0a0e99, float:1.8350926E38) java.lang.String r3 = "" if (r1 != 0) goto L21 o.C14957gcv.e(r5, r3) int r1 = r5.getItemId() r3 = 24 int r3 = r3 / 0 if (r1 != r2) goto L38 goto L2a L21: o.C14957gcv.e(r5, r3) int r1 = r5.getItemId() if (r1 != r2) goto L38 L2a: int r5 = com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.r int r5 = r5 + 11 int r1 = r5 % 128 com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.p = r1 int r5 = r5 % r0 r4.finish() r5 = 1 return r5 L38: boolean r5 = super.onOptionsItemSelected(r5) return r5 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardx.CardXGetStartWebViewActivity.onOptionsItemSelected(android.view.MenuItem):boolean"); } private static /* synthetic */ Object d(Object[] objArr) { CardXGetStartWebViewActivity cardXGetStartWebViewActivity = (CardXGetStartWebViewActivity) objArr[0]; int i = 2 % 2; int i2 = p + 117; r = i2 % 128; Object obj = null; if (i2 % 2 == 0) { cardXGetStartWebViewActivity.finish(); int i3 = r + 109; p = i3 % 128; if (i3 % 2 != 0) { return null; } throw null; } cardXGetStartWebViewActivity.finish(); obj.hashCode(); throw null; } @Override // o.InterfaceC9034dcB.HBt public final void c() { int i = 2 % 2; int i2 = r + 73; p = i2 % 128; int i3 = i2 % 2; finish(); if (i3 == 0) { throw null; } int i4 = p + 109; r = i4 % 128; if (i4 % 2 != 0) { int i5 = 19 / 0; } } private static void ax(int[] iArr, int i, Object[] objArr) { int length; int[] iArr2; int[] iArr3; char c; int length2; int[] iArr4; int i2 = 2 % 2; C4403bZM c4403bZM = new C4403bZM(); char[] cArr = new char[4]; char[] cArr2 = new char[iArr.length * 2]; int[] iArr5 = l; int i3 = 1; int i4 = 0; if (iArr5 != null) { int i5 = $11 + 47; int i6 = i5 % 128; $10 = i6; if (i5 % 2 != 0) { length2 = iArr5.length; iArr4 = new int[length2]; } else { length2 = iArr5.length; iArr4 = new int[length2]; } int i7 = i6 + 29; $11 = i7 % 128; int i8 = i7 % 2; int i9 = 0; while (i9 < length2) { try { Object[] objArr2 = new Object[i3]; objArr2[0] = Integer.valueOf(iArr5[i9]); Object obj = xzZ.y.get(729798706); if (obj == null) { obj = ((Class) xzZ.c(15 - ((Process.getThreadPriority(0) + 20) >> 6), 5 - TextUtils.indexOf("", "", 0, 0), (char) (58134 - (ViewConfiguration.getLongPressTimeout() >> 16)))).getMethod("i", Integer.TYPE); xzZ.y.put(729798706, obj); } iArr4[i9] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); i9++; i3 = 1; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } iArr5 = iArr4; } int length3 = iArr5.length; int[] iArr6 = new int[length3]; int[] iArr7 = l; if (iArr7 != null) { int i10 = $11 + 99; $10 = i10 % 128; if (i10 % 2 != 0) { length = iArr7.length; iArr2 = new int[length]; } else { length = iArr7.length; iArr2 = new int[length]; } int i11 = 0; while (i11 < length) { int i12 = $11 + 29; $10 = i12 % 128; int i13 = i12 % 2; Object[] objArr3 = new Object[1]; objArr3[i4] = Integer.valueOf(iArr7[i11]); Object obj2 = xzZ.y.get(729798706); if (obj2 != null) { iArr3 = iArr7; c = 55346; } else { iArr3 = iArr7; obj2 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 14, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (TextUtils.indexOf("", "", 0, 0) + 58134))).getMethod("i", Integer.TYPE); c = 55346; xzZ.y.put(729798706, obj2); } iArr2[i11] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); i11++; iArr7 = iArr3; i4 = 0; } iArr7 = iArr2; } int i14 = i4; System.arraycopy(iArr7, i14, iArr6, i14, length3); c4403bZM.b = i14; int i15 = $11 + 111; while (true) { $10 = i15 % 128; int i16 = i15 % 2; if (c4403bZM.b >= iArr.length) { objArr[0] = new String(cArr2, 0, i); return; } int i17 = $11 + 41; $10 = i17 % 128; int i18 = i17 % 2; cArr[0] = (char) (iArr[c4403bZM.b] >> 16); cArr[1] = (char) iArr[c4403bZM.b]; cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16); cArr[3] = (char) iArr[c4403bZM.b + 1]; c4403bZM.e = (cArr[0] << 16) + cArr[1]; c4403bZM.a = (cArr[2] << 16) + cArr[3]; C4403bZM.d(iArr6); int i19 = 0; for (int i20 = 16; i19 < i20; i20 = 16) { c4403bZM.e ^= iArr6[i19]; try { Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM}; Object obj3 = xzZ.y.get(-1196964548); if (obj3 == null) { Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 117, 5 - View.combineMeasuredStates(0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16)); byte b2 = (byte) 0; Object[] objArr5 = new Object[1]; az((byte) 35, b2, b2, objArr5); obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1196964548, obj3); } int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue(); c4403bZM.e = c4403bZM.a; c4403bZM.a = intValue; i19++; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } int i21 = c4403bZM.e; c4403bZM.e = c4403bZM.a; c4403bZM.a = i21; c4403bZM.a ^= iArr6[16]; c4403bZM.e ^= iArr6[17]; int i22 = c4403bZM.e; int i23 = c4403bZM.a; cArr[0] = (char) (c4403bZM.e >>> 16); cArr[1] = (char) c4403bZM.e; cArr[2] = (char) (c4403bZM.a >>> 16); cArr[3] = (char) c4403bZM.a; C4403bZM.d(iArr6); cArr2[c4403bZM.b * 2] = cArr[0]; cArr2[(c4403bZM.b * 2) + 1] = cArr[1]; cArr2[(c4403bZM.b * 2) + 2] = cArr[2]; cArr2[(c4403bZM.b * 2) + 3] = cArr[3]; Object[] objArr6 = {c4403bZM, c4403bZM}; Object obj4 = xzZ.y.get(1914371176); if (obj4 == null) { Class cls2 = (Class) xzZ.c(99 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) Drawable.resolveOpacity(0, 0)); byte b3 = (byte) 0; Object[] objArr7 = new Object[1]; az((byte) 33, b3, b3, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1914371176, obj4); } ((Method) obj4).invoke(null, objArr6); i15 = $11 + 93; } } @Override // o.InterfaceC9034dcB.HBt public final void c(String str) { int i = 2 % 2; C14957gcv.e(str, ""); try { startActivity(new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str))); int i2 = r + 81; p = i2 % 128; int i3 = i2 % 2; } catch (ActivityNotFoundException e) { guQ.e(e); } finish(); } @Override // com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity, com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onResume() { int i = 2 % 2; int i2 = p + 99; r = i2 % 128; Object obj = null; if (i2 % 2 != 0) { getBaseContext(); obj.hashCode(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { int i3 = p + 43; r = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; ax(new int[]{2097946304, 382470627, 593366842, -931094020, 636287643, -74060501, -1837078278, -2097555445, 1139146424, 439464372, -1140309729, -1881304648, 261492768, 1297393241}, ((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]; ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.device_debugging_message).substring(27, 28).length() + 17, new char[]{65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n'}, MotionEvent.axisFromString("") + CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, false, 11 - Drawable.resolveOpacity(0, 0), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i5 = r + 49; p = i5 % 128; int i6 = i5 % 2; } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, TextUtils.getCapsMode("", 0, 0) + 5, (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).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(487 - (ViewConfiguration.getTapTimeout() >> 16), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity, com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public final void onPause() { int i = 2 % 2; int i2 = r + 89; p = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = p + 87; r = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; ax(new int[]{2097946304, 382470627, 593366842, -931094020, 636287643, -74060501, -1837078278, -2097555445, 1139146424, 439464372, -1140309729, -1881304648, 261492768, 1297393241}, ((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]; ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_credit_power_select_loan_type_header).substring(21, 25).length() + 14, new char[]{65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n'}, 144 - KeyEvent.keyCodeFromString(""), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 23, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i6 = r + 21; p = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - Drawable.resolveOpacity(0, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 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(1633456013); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Color.green(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(); } @Override // com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity, com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public final void attachBaseContext(Context context) { Context context2; int i = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; ay((ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, new char[]{1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15}, 137 - TextUtils.indexOf("", "", 0), true, (ViewConfiguration.getPressedStateDuration() >> 16) + 3, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new int[]{-564612764, 17804439, -857466085, 1294975334}, 5 - TextUtils.indexOf("", ""), objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i2 = r + 3; p = i2 % 128; int i3 = i2 % 2; if (intValue <= 99999) { return; } } if (context != null) { context2 = context.getApplicationContext(); int i4 = p + 41; r = i4 % 128; int i5 = i4 % 2; } else { context2 = context; } if (context2 != null) { int i6 = p + 31; r = i6 % 128; int i7 = i6 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; ax(new int[]{-1728983895, 889075172, 976714402, 1208033749, 46508341, -1277449336, 1661451525, -1401240944, -254352734, -1231674191, 173803504, -2048469308, 1313715341, -2138764790, -1262969840, 1403724896, 1587268234, 1283107343, -1285333383, 523132843, -745983114, -1400855601, 2072086537, 1012999329}, 47 - ImageFormat.getBitsPerPixel(0), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; ay((Process.myPid() >> 22) + 64, new char[]{65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518, 65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30}, TextUtils.lastIndexOf("", '0', 0, 0) + 107, false, (ViewConfiguration.getFadingEdgeLength() >> 16) + 58, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; ax(new int[]{963110306, 554397845, 832403902, 591760592, -1954867227, -294189896, -1721012056, -719173192, -28306649, -274119183, 1850974568, 452330795, 1651417702, 603971184, 372425282, -1037086238, -918523415, -567148165, 1897890691, -1263219333, -472529459, 1182307775, -462820222, 2086274118, 693805383, -1108213594, 776748591, -223427834, 705132979, -859747959, 193388580, -184593285}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 63, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; ax(new int[]{-1516070918, -370448561, -607528794, -61867080, 55335236, -480007754, -264886222, -2082265433, 1317657078, -1221916496, 977538859, 45857851, -1951716263, -760552538, -2137831384, 352699238, 2108681064, -1267534478, 241916517, -972805355, 380497814, 353496274, 747141705, 1261134806, 1721768776, -816589641, 1739787404, -1424870236, -1329713261, 1593166135, -1609266991, 116680583, 455056229, -1153326781, 803878621, 523947963, -10866393, 1837889640}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 73, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; ax(new int[]{1587750205, -705895818, -332267276, 250237882}, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; ax(new int[]{1026245183, 438224827, -1057273732, -1800603893, 837749017, 538154867, -1509773802, 1225300634, 173293479, -833228503, 364118688, 798398568, 1946540657, -1430526401, -171929967, -1587979271, 937444736, -1816969734}, 36 - TextUtils.getOffsetAfter("", 0), objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(487 - View.combineMeasuredStates(0, 0), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj2); } ((Method) obj2).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } static void k() { k = 2015661569; l = new int[]{-635767379, -608721246, 1318782488, 1418622679, 1524545681, -61097049, 1292366916, -908480978, -1785801381, -1116537755, -1641305531, 882188667, -2029625628, -566134035, 1734783398, 1187065470, 580696382, -1332943710}; } @Override // com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity, com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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 = p + 115; r = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = r + 87; p = i4 % 128; if (i4 % 2 == 0) { int i5 = 93 / 0; } } @Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity public final void aC_() { b(new Object[]{this}, 567187945, -567187944, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 685756954); } @Override // com.scb.phone.view.activity.cardx.Hilt_CardXGetStartWebViewActivity, com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity, o.AbstractActivityC11374eeD, 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) { b(new Object[]{this, bundle}, -1094760001, 1094760001, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 47086141); } public static final Intent ZF_(Context context, String str, String str2) { int i = 2 % 2; int i2 = p + 123; r = i2 % 128; int i3 = i2 % 2; Intent ZG_ = LWm.ZG_(context, str, str2); int i4 = p + 29; r = i4 % 128; if (i4 % 2 != 0) { int i5 = 14 / 0; } return ZG_; } static { p = 1; k(); b = new LWm((byte) 0); int i = r + 55; p = i % 128; int i2 = i % 2; } }