package com.scb.phone.view.activity.awareness; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.media.AudioTrack; import android.net.Uri; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.webkit.JavascriptInterface; import android.webkit.WebResourceError; import android.webkit.WebResourceRequest; import android.webkit.WebResourceResponse; import android.webkit.WebView; import android.webkit.WebViewClient; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; 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 com.scb.phone.view.custom.common.CustomViewProgressAnimationFull; import java.lang.reflect.Method; import java.util.Locale; import o.C0408Fz; import o.C13395fZS; import o.C14866gag; import o.C14957gcv; import o.C16131lZ; import o.C2520agE; import o.C4593bdB; import o.EnumC1284Zp; import o.GCN; import o.IRS; import o.InterfaceC12954fMb; import o.InterfaceC13391fZD; import o.InterfaceC9025dbt; import o.ZI; import o.xzZ; /* loaded from: classes4.dex */ public final class BOTAwarenessWebViewActivity extends Hilt_BOTAwarenessWebViewActivity implements InterfaceC12954fMb, InterfaceC9025dbt.IeS { public static final LWm b; private static char p; private static long r; private static int s; private static char[] t; private String k; private GCN m; /* renamed from: o, reason: collision with root package name */ private final boolean f6566o = true; @InterfaceC13391fZD public C2520agE presenter; private static final byte[] $$g = {Ascii.SUB, 97, -29, 95}; private static final int $$h = 133; private static int $10 = 0; private static int $11 = 1; private static int q = 0; private static void az(int i, short s2, int i2, Object[] objArr) { int i3 = s2 * 3; int i4 = 120 - i; int i5 = 4 - (i2 * 4); byte[] bArr = $$g; byte[] bArr2 = new byte[1 - i3]; int i6 = 0 - i3; int i7 = -1; if (bArr == null) { i4 += i5; i5++; i7 = -1; } while (true) { int i8 = i7 + 1; bArr2[i8] = (byte) i4; if (i8 == i6) { objArr[0] = new String(bArr2, 0); return; } int i9 = i5; i4 += bArr[i5]; i5 = i9 + 1; i7 = i8; } } public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) { int i4 = ~i2; int i5 = ~(i4 | i); int i6 = ~i3; return ((((i * 677) + (i2 * (-675))) + (((i | i3) | i4) * (-676))) + ((i5 | (~(i6 | i))) * 676)) + (((~((i | i2) | i3)) | ((~((~i) | i4)) | (~(i4 | i6)))) * 676) != 1 ? b(objArr) : d(objArr); } public static final /* synthetic */ void d(BOTAwarenessWebViewActivity bOTAwarenessWebViewActivity) { int i = 2 % 2; int i2 = q + 29; s = i2 % 128; int i3 = i2 % 2; GCN gcn = null; GCN gcn2 = bOTAwarenessWebViewActivity.m; if (i3 == 0) { throw null; } if (gcn2 == null) { C14957gcv.a(""); int i4 = q + 19; s = i4 % 128; int i5 = i4 % 2; } else { gcn = gcn2; } CustomViewProgressAnimationFull customViewProgressAnimationFull = gcn.e; C14957gcv.c(customViewProgressAnimationFull, ""); CustomViewProgressAnimationFull customViewProgressAnimationFull2 = customViewProgressAnimationFull; C14957gcv.e(customViewProgressAnimationFull2, ""); customViewProgressAnimationFull2.setVisibility(8); customViewProgressAnimationFull.e.cancel(); } /* loaded from: classes4.dex */ public static final class LWm { private LWm() { } public /* synthetic */ LWm(byte b) { this(); } } /* loaded from: classes4.dex */ public static final class HBt implements InterfaceC12954fMb { private final boolean e = true; @Override // o.InterfaceC12954fMb public final boolean P_() { return true; } HBt() { } @Override // o.InterfaceC12954fMb public final Boolean K_() { return Boolean.TRUE; } @Override // o.InterfaceC12954fMb public final boolean aA_() { return this.e; } } private static void ay(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 = 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(403 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), AndroidCharacter.getMirror('0') - '+', (char) (21608 - (Process.myPid() >> 22))); byte b2 = (byte) 0; Object[] objArr3 = new Object[1]; az((byte) 43, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class); xzZ.y.put(-1229953068, obj); } jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (r ^ (-6958928035870403642L)); Object[] objArr4 = {c4593bdB, c4593bdB}; Object obj2 = xzZ.y.get(-1143917229); if (obj2 == null) { Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 238, TextUtils.getOffsetAfter("", 0) + 5, (char) Color.argb(0, 0, 0, 0)); byte b3 = (byte) 0; Object[] objArr5 = new Object[1]; az((byte) 42, b3, 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 i4 = $10 + 21; $11 = i4 % 128; int i5 = i4 % 2; cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e]; Object[] objArr6 = {c4593bdB, c4593bdB}; Object obj3 = xzZ.y.get(-1143917229); if (obj3 == null) { Class cls3 = (Class) xzZ.c(238 - KeyEvent.getDeadChar(0, 0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) View.resolveSize(0, 0)); byte b4 = (byte) 0; Object[] objArr7 = new Object[1]; az((byte) 42, b4, b4, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(-1143917229, obj3); } ((Method) obj3).invoke(null, objArr6); int i6 = $10 + 23; $11 = i6 % 128; int i7 = i6 % 2; } objArr[0] = new String(cArr2); } /* loaded from: classes4.dex */ public static final class RVV extends WebViewClient { private BOTAwarenessWebViewActivity c; RVV(BOTAwarenessWebViewActivity bOTAwarenessWebViewActivity) { this.c = bOTAwarenessWebViewActivity; } @Override // android.webkit.WebViewClient public final void onPageFinished(WebView webView, String str) { BOTAwarenessWebViewActivity.d(this.c); super.onPageFinished(webView, str); } @Override // android.webkit.WebViewClient public final void onReceivedHttpError(WebView webView, WebResourceRequest webResourceRequest, WebResourceResponse webResourceResponse) { super.onReceivedHttpError(webView, webResourceRequest, webResourceResponse); C2520agE c2520agE = this.c.presenter; if (c2520agE == null) { C14957gcv.a(""); c2520agE = null; } c2520agE.UZ_(webResourceRequest != null ? webResourceRequest.getUrl() : null); } @Override // android.webkit.WebViewClient public final void onReceivedError(WebView webView, WebResourceRequest webResourceRequest, WebResourceError webResourceError) { super.onReceivedError(webView, webResourceRequest, webResourceError); C2520agE c2520agE = this.c.presenter; if (c2520agE == null) { C14957gcv.a(""); c2520agE = null; } c2520agE.UZ_(webResourceRequest != null ? webResourceRequest.getUrl() : null); } @Override // android.webkit.WebViewClient public final boolean shouldOverrideUrlLoading(WebView webView, WebResourceRequest webResourceRequest) { C2520agE c2520agE = this.c.presenter; if (c2520agE == null) { C14957gcv.a(""); c2520agE = null; } final String valueOf = String.valueOf(webResourceRequest != null ? webResourceRequest.getUrl() : null); if (C2520agE.b(valueOf)) { ZI.IeS ieS = new ZI.IeS(valueOf) { // from class: o.agC private String b; @Override // o.ZI.IeS public final void e(Object obj) { C2520agE.a(this.b, (InterfaceC9025dbt.IeS) obj); } { this.b = valueOf; } }; if (c2520agE.f != 0) { ieS.e(c2520agE.f); } } return super.shouldOverrideUrlLoading(webView, webResourceRequest); } } /* loaded from: classes4.dex */ public final class Sts { private BOTAwarenessWebViewActivity a; public Sts(BOTAwarenessWebViewActivity bOTAwarenessWebViewActivity) { this.a = bOTAwarenessWebViewActivity; } @JavascriptInterface public final void Awareness(String str) { String str2; C2520agE c2520agE = this.a.presenter; String str3 = null; if (c2520agE == null) { C14957gcv.a(""); c2520agE = null; } C16131lZ c16131lZ = c2520agE.e; if (str == null) { str = ""; } C0408Fz e = c16131lZ.e(str); if (e != null && (str2 = e.d) != null) { str3 = str2.toLowerCase(Locale.ROOT); C14957gcv.c((Object) str3, ""); } if (C14957gcv.b((Object) str3, (Object) EnumC1284Zp.SUCCESS.status) || C14957gcv.b((Object) str3, (Object) EnumC1284Zp.FAIL.status) || C14957gcv.b((Object) str3, (Object) EnumC1284Zp.BACK.status)) { ZI.IeS ieS = new ZI.IeS() { // from class: o.agK @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9025dbt.IeS) obj).d(); } }; if (c2520agE.f != 0) { ieS.e(c2520agE.f); } } } } /* JADX WARN: Code restructure failed: missing block: B:4:0x00c7, code lost: if (r6 > 99999) goto L6; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static /* synthetic */ java.lang.Object b(java.lang.Object[] r16) { /* Method dump skipped, instructions count: 1650 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.b(java.lang.Object[]):java.lang.Object"); } /* JADX WARN: Code restructure failed: missing block: B:10:0x0019, code lost: if (r1 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost: if (r1 != null) goto L11; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x001c, code lost: o.C14957gcv.a(""); r1 = com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.s + 33; com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.q = r1 % 128; r1 = r1 % 2; r1 = null; */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onDestroy() { /* r3 = this; r0 = 2 int r1 = r0 % r0 int r1 = com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.q int r1 = r1 + 61 int r2 = r1 % 128 com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.s = r2 int r1 = r1 % r0 if (r1 != 0) goto L17 o.agE r1 = r3.presenter r2 = 24 int r2 = r2 / 0 if (r1 == 0) goto L1c goto L2b L17: o.agE r1 = r3.presenter if (r1 == 0) goto L1c goto L2b L1c: java.lang.String r1 = "" o.C14957gcv.a(r1) int r1 = com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.s int r1 = r1 + 33 int r2 = r1 % 128 com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.q = r2 int r1 = r1 % r0 r1 = 0 L2b: r1.w_() super.onDestroy() return */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.onDestroy():void"); } @Override // o.InterfaceC9025dbt.IeS public final void d() { int i = 2 % 2; int i2 = s + 63; q = i2 % 128; j(i2 % 2 != 0); int i3 = q + 5; s = i3 % 128; int i4 = i3 % 2; } @Override // o.InterfaceC9025dbt.IeS public final void a(String str) { int i = 2 % 2; C14957gcv.e(str, ""); try { C13395fZS.IeS ieS = C13395fZS.b; BOTAwarenessWebViewActivity bOTAwarenessWebViewActivity = this; Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL, Uri.parse(str)); intent.addFlags(268435456); startActivity(intent); C13395fZS.a(C14866gag.c); int i2 = q + 87; s = i2 % 128; if (i2 % 2 == 0) { int i3 = 13 / 0; } } catch (Throwable th) { C13395fZS.IeS ieS2 = C13395fZS.b; C14957gcv.e(th, ""); C13395fZS.a(new C13395fZS.LWm(th)); } } @Override // com.scb.phone.view.activity.awareness.Hilt_BOTAwarenessWebViewActivity, 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 = s + 109; q = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = s + 87; q = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; ax(new char[]{' ', 7, '\f', 2, '#', 4, 15, 14, '#', '\r', '\f', 14, '\n', 18, '#', 3, 4, 0, '\"', 15, 27, 25, 1, 5, ' ', '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 24), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_url_info_product_description).substring(64, 65).codePointAt(0) - 6, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new char[]{23, 19, 13806, 13806, 2, '\n', 30, '\t', 13808, 13808, 5, 11, 19, '\"', '#', 3, ' ', '\n'}, (byte) ('6' - AndroidCharacter.getMirror('0')), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); int i6 = s + 119; q = i6 % 128; int i7 = i6 % 2; } if (baseContext != null) { int i8 = q + 77; s = i8 % 128; if (i8 % 2 == 0) { baseContext = baseContext.getApplicationContext(); int i9 = 88 / 0; } else { baseContext = baseContext.getApplicationContext(); } } if (baseContext != null) { int i10 = s + 111; q = i10 % 128; int i11 = i10 % 2; try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), (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)) + 5, (char) (Process.myTid() >> 22))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj2 = xzZ.y.get(1378719468); if (obj2 == null) { obj2 = ((Class) xzZ.c(488 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((-1) - Process.getGidForName("")))).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 i12 = q + 67; s = i12 % 128; if (i12 % 2 == 0) { throw null; } } private static void ax(char[] cArr, byte b2, int i, Object[] objArr) { int i2; int i3; char c; int i4 = 2 % 2; IRS irs = new IRS(); char[] cArr2 = t; long j = 0; char c2 = '\b'; int i5 = 4; char c3 = 0; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i6 = $10 + 121; $11 = i6 % 128; int i7 = i6 % 2; int i8 = 0; while (i8 < length) { try { Object[] objArr2 = new Object[1]; objArr2[c3] = Integer.valueOf(cArr2[i8]); Object obj = xzZ.y.get(-1987398494); if (obj == null) { Class cls = (Class) xzZ.c(298 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) + i5, (char) (ViewConfiguration.getTouchSlop() >> 8)); byte b3 = (byte) 3; byte b4 = (byte) (b3 - 3); Object[] objArr3 = new Object[1]; az(b3, b4, b4, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-1987398494, obj); } cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i8++; j = 0; i5 = 4; c3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } try { Object[] objArr4 = {Integer.valueOf(p)}; Object obj2 = xzZ.y.get(-1987398494); int i9 = 5; if (obj2 == null) { Class cls2 = (Class) xzZ.c(298 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1)); byte b5 = (byte) 3; byte b6 = (byte) (b5 - 3); Object[] objArr5 = new Object[1]; az(b5, b6, b6, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1987398494, obj2); } char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); char[] cArr4 = new char[i]; if (i % 2 != 0) { i2 = i - 1; cArr4[i2] = (char) (cArr[i2] - b2); } else { i2 = i; } if (i2 > 1) { irs.e = 0; while (irs.e < i2) { irs.b = cArr[irs.e]; irs.c = cArr[irs.e + 1]; if (irs.b == irs.c) { cArr4[irs.e] = (char) (irs.b - b2); cArr4[irs.e + 1] = (char) (irs.c - b2); i3 = i9; c = c2; } else { try { Object[] objArr6 = new Object[13]; objArr6[12] = irs; objArr6[11] = Integer.valueOf(charValue); objArr6[10] = irs; objArr6[9] = irs; objArr6[c2] = Integer.valueOf(charValue); objArr6[7] = irs; objArr6[6] = irs; objArr6[i9] = Integer.valueOf(charValue); objArr6[4] = irs; objArr6[3] = irs; objArr6[2] = Integer.valueOf(charValue); objArr6[1] = irs; objArr6[0] = irs; Object obj3 = xzZ.y.get(822107368); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 233, ExpandableListView.getPackedPositionType(0L) + i9, (char) (22025 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b7 = (byte) 0; byte b8 = b7; Object[] objArr7 = new Object[1]; az(b7, b8, b8, objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class); xzZ.y.put(822107368, obj3); } if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) { int i10 = $10 + 109; $11 = i10 % 128; int i11 = i10 % 2; try { Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs}; Object obj4 = xzZ.y.get(-1152873385); if (obj4 != null) { i3 = 5; c = '\b'; } else { Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - TextUtils.getOffsetBefore("", 0), (char) View.getDefaultSize(0, 0)); byte b9 = (byte) 2; byte b10 = (byte) (b9 - 2); Object[] objArr9 = new Object[1]; az(b9, b10, b10, objArr9); i3 = 5; c = '\b'; obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class); xzZ.y.put(-1152873385, obj4); } int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue(); int i12 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[intValue]; cArr4[irs.e + 1] = cArr2[i12]; } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } else { i3 = 5; c = '\b'; if (irs.a == irs.d) { irs.f = ((irs.f + charValue) - 1) % charValue; irs.j = ((irs.j + charValue) - 1) % charValue; int i13 = (irs.a * charValue) + irs.f; int i14 = (irs.d * charValue) + irs.j; cArr4[irs.e] = cArr2[i13]; cArr4[irs.e + 1] = cArr2[i14]; } else { int i15 = (irs.a * charValue) + irs.j; int i16 = (irs.d * charValue) + irs.f; cArr4[irs.e] = cArr2[i15]; cArr4[irs.e + 1] = cArr2[i16]; } } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } irs.e += 2; i9 = i3; c2 = c; } } int i17 = $10 + 63; $11 = i17 % 128; int i18 = i17 % 2; int i19 = 0; while (i19 < i) { int i20 = $11 + 39; $10 = i20 % 128; if (i20 % 2 != 0) { cArr4[i19] = (char) (cArr4[i19] ^ 29815); i19 += 45; } else { cArr4[i19] = (char) (cArr4[i19] ^ 13722); i19++; } } objArr[0] = new String(cArr4); } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } @Override // com.scb.phone.view.activity.awareness.Hilt_BOTAwarenessWebViewActivity, 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; Context baseContext = getBaseContext(); if (baseContext == null) { int i2 = s + 53; q = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; ax(new char[]{' ', 7, '\f', 2, '#', 4, 15, 14, '#', '\r', '\f', 14, '\n', 18, '#', 3, 4, 0, '\"', 15, 27, 25, 1, 5, ' ', '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_card_activation_card_reference_number_error).substring(41, 42).length() + 85), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 27, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; ax(new char[]{23, 19, 13806, 13806, 2, '\n', 30, '\t', 13808, 13808, 5, 11, 19, '\"', '#', 3, ' ', '\n'}, (byte) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 5), 18 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = q + 19; s = i4 % 128; if (i4 % 2 == 0) { baseContext.getApplicationContext(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTouchSlop() >> 8), 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) TextUtils.getOffsetBefore("", 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(Process.getGidForName("") + 488, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).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(); } /* JADX WARN: Code restructure failed: missing block: B:6:0x0080, code lost: if (r4 > 99999) goto L11; */ @Override // com.scb.phone.view.activity.awareness.Hilt_BOTAwarenessWebViewActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void attachBaseContext(android.content.Context r18) { /* Method dump skipped, instructions count: 862 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.awareness.BOTAwarenessWebViewActivity.attachBaseContext(android.content.Context):void"); } private static /* synthetic */ Object d(Object[] objArr) { int i = 2 % 2; int i2 = s + 77; q = i2 % 128; int i3 = i2 % 2; return null; } static void f() { t = new char[]{49089, 49027, 49118, 49093, 49110, 49114, 49138, 49030, 49117, 49025, 49034, 49109, 49090, 49053, 49111, 49031, 49098, 49091, 49094, 49126, 49028, 49024, 49104, 49026, 49115, 49105, 49127, 49123, 49088, 49054, 49035, 49106, 49029, 49095, 49116, 49119}; p = (char) 35375; r = -1148802210821677522L; } @Override // com.scb.phone.view.activity.awareness.Hilt_BOTAwarenessWebViewActivity, 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 = s + 111; q = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { throw null; } } @Override // com.scb.phone.view.activity.awareness.Hilt_BOTAwarenessWebViewActivity, 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) { c(new Object[]{this, bundle}, 1889662310, -1889662310, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1515759886); } @Override // androidx.activity.ComponentActivity, android.app.Activity public final void onBackPressed() { c(new Object[]{this}, 1112522985, -1112522984, ((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) + 1070572260); } @Override // o.InterfaceC12954fMb public final boolean aA_() { int i = 2 % 2; int i2 = q; int i3 = i2 + 3; s = i3 % 128; if (i3 % 2 == 0) { Object obj = null; obj.hashCode(); throw null; } boolean z = this.f6566o; int i4 = i2 + 77; s = i4 % 128; int i5 = i4 % 2; return z; } static { s = 1; f(); b = new LWm((byte) 0); int i = q + 49; s = i % 128; int i2 = i % 2; } }