what-the-bank/sources/com/scb/phone/view/activity/csent/CardXCSentWebViewActivity.java

878 lines
41 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.csent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.MalformedJsonException;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.gson.Gson;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.JsonObject;
import com.google.gson.JsonParseException;
import com.google.gson.JsonParser;
import com.google.gson.JsonSyntaxException;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.custom.webview.SCBWebView;
import java.lang.reflect.Method;
import o.C14866gag;
import o.C14957gcv;
import o.C15715hv;
import o.C15784ib;
import o.GuL;
import o.ID;
import o.IG;
import o.IH;
import o.IM;
import o.InterfaceC12922fLZ;
import o.InterfaceC13391fZD;
import o.InterfaceC9136ddy;
import o.RunnableC10451eEl;
import o.Ush;
import o.ZI;
import o.aAS;
import o.xzZ;
import o.zqE;
import org.json.JSONException;
/* loaded from: classes4.dex */
public final class CardXCSentWebViewActivity extends Hilt_CardXCSentWebViewActivity implements InterfaceC9136ddy.LWm {
public static final LWm b;
private static long k;
private static long l;
/* renamed from: o, reason: collision with root package name */
private static char[] f6753o;
private static int r;
@InterfaceC13391fZD
public aAS presenter;
private static final byte[] $$g = {0, -67, 121, 0};
private static final int $$h = 124;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 1;
/* 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:0x002a). 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(short r7, byte r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 4
int r9 = r9 + 98
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r0 = com.scb.phone.view.activity.csent.CardXCSentWebViewActivity.$$g
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r3 = r9
r4 = r2
r9 = r8
goto L2a
L13:
r3 = r2
L14:
int r8 = r8 + 1
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
r3 = r0[r8]
r6 = r9
r9 = r8
r8 = r6
L2a:
int r3 = -r3
int r8 = r8 + r3
r3 = r4
r6 = r9
r9 = r8
r8 = r6
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CardXCSentWebViewActivity.az(short, byte, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~((~i) | i2);
int i5 = ~i3;
int i6 = (i * 595) + (i2 * (-1187)) + (((~(i5 | i2)) | i4) * (-1188));
int i7 = ~i2;
int i8 = (~(i3 | i7)) | i4;
int i9 = ~(i5 | i);
return (i6 + ((i8 | i9) * 594)) + ((((~(i | i7)) | (~(i7 | i5))) | i9) * 594) != 1 ? d(objArr) : e(objArr);
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 37;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 208, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (View.combineMeasuredStates(0, 0) + 1706));
byte b2 = $$g[0];
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 & Ascii.NAK), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 392, 5 - KeyEvent.getDeadChar(0, 0), (char) View.getDefaultSize(0, 0));
byte b4 = $$g[0];
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 & Ascii.ETB), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 43;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* loaded from: classes4.dex */
public static final class Sts implements InterfaceC12922fLZ {
Sts() {
}
@Override // o.InterfaceC12922fLZ
public final String d(String str) {
C14957gcv.e(str, "");
String d = d();
StringBuilder sb = new StringBuilder("javascript:");
sb.append(d);
sb.append(".");
sb.append("onInitData");
sb.append("(");
sb.append(str);
sb.append(")");
return sb.toString();
}
@Override // o.InterfaceC12922fLZ
public final String e() {
return "onInitData";
}
}
/* JADX WARN: Removed duplicated region for block: B:64:0x02aa */
/* JADX WARN: Removed duplicated region for block: B:65:0x02ab */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(int r22, int r23, char r24, java.lang.Object[] r25) {
/*
Method dump skipped, instructions count: 692
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CardXCSentWebViewActivity.ax(int, int, char, java.lang.Object[]):void");
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b1, code lost:
if (r3 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.csent.Hilt_CardXCSentWebViewActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r20) {
/*
Method dump skipped, instructions count: 1246
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CardXCSentWebViewActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity
public final void b(String str, String str2) {
IH ih;
String str3;
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
Object obj = null;
if (!C14957gcv.b((Object) str, (Object) "onGeneralCSentLoaded")) {
if (C14957gcv.b((Object) str, (Object) "onGeneralCSentSubmitted")) {
final aAS aas = this.presenter;
if (aas == null) {
C14957gcv.a("");
aas = null;
}
if (str2 == null) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
}
try {
IM im = ((IG) new Gson().fromJson(str2, IG.class)).a;
if (im != null && (ih = im.b) != null) {
int i2 = t + 93;
r = i2 % 128;
if (i2 % 2 != 0) {
JsonArray jsonArray = ih.e;
obj.hashCode();
throw null;
}
JsonArray jsonArray2 = ih.e;
if (jsonArray2 != null) {
if (aas.f != 0) {
aas.f.y();
}
C15784ib c15784ib = aas.a;
aAS.RVV rvv = new aAS.RVV(aas);
aAS.IeS ieS = new aAS.IeS(aas);
Ush ush = new Ush(jsonArray2);
C14957gcv.e(rvv, "");
C14957gcv.e(ieS, "");
C14957gcv.e(ush, "");
c15784ib.d(c15784ib.d, rvv, ieS, new zqE.Sts(ush));
obj = C14866gag.c;
}
}
if (obj == null) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
}
return;
} catch (MalformedJsonException unused) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
} catch (JsonParseException unused2) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
} catch (NullPointerException unused3) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
} catch (JSONException unused4) {
aas.d(aas.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas;
}
}));
return;
}
}
return;
}
int i3 = r;
int i4 = i3 + 37;
t = i4 % 128;
int i5 = i4 % 2;
final aAS aas2 = this.presenter;
if (aas2 != null) {
int i6 = i3 + 93;
t = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
aas2 = null;
}
if (str2 == null) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
return;
}
try {
IM im2 = ((IG) new Gson().fromJson(str2, IG.class)).a;
if (im2 != null) {
int i7 = r + 19;
t = i7 % 128;
if (i7 % 2 == 0) {
Boolean bool = im2.e;
throw null;
}
Boolean bool2 = im2.e;
if (bool2 != null) {
if (bool2.booleanValue()) {
JsonObject jsonObject = new JsonObject();
try {
ID id = aas2.b;
if (id != null && (str3 = id.c) != null) {
Object parse = new JsonParser().parse(str3);
C14957gcv.d(parse, "");
obj = (JsonArray) parse;
}
jsonObject.add("consentInfo", (JsonElement) obj);
} catch (JsonSyntaxException unused5) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
}
final JsonObject jsonObject2 = new JsonObject();
jsonObject2.add("data", jsonObject);
ZI.IeS ieS2 = new ZI.IeS(aas2, jsonObject2) { // from class: o.aAY
private aAS b;
private JsonObject c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
aAS.a(this.b, this.c, (InterfaceC9136ddy.LWm) obj2);
}
{
this.b = aas2;
this.c = jsonObject2;
}
};
if (aas2.f != 0) {
ieS2.e(aas2.f);
}
} else {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
}
obj = C14866gag.c;
}
}
if (obj == null) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
}
} catch (MalformedJsonException unused6) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
} catch (JsonParseException unused7) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
} catch (NullPointerException unused8) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
} catch (JSONException unused9) {
aas2.d(aas2.j.c(C15715hv.tOB.common_error, C15715hv.tOB.error_generic_resource, new Runnable(aas2) { // from class: o.aAU
private aAS e;
@Override // java.lang.Runnable
public final void run() {
aAS.d(this.e);
}
{
this.e = aas2;
}
}));
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() != R.id.menu_close) {
return super.onOptionsItemSelected(menuItem);
}
int i2 = t + 81;
r = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = t + 55;
r = i4 % 128;
if (i4 % 2 == 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object d(Object[] objArr) {
CardXCSentWebViewActivity cardXCSentWebViewActivity = (CardXCSentWebViewActivity) objArr[0];
int i = 2 % 2;
int i2 = t + 61;
r = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
cardXCSentWebViewActivity.finish();
obj.hashCode();
throw null;
}
cardXCSentWebViewActivity.finish();
return null;
}
@Override // o.InterfaceC9136ddy.LWm
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
SCBWebView sCBWebView = this.partnerWebView;
Sts sts = new Sts();
C14957gcv.e(sts, "");
C14957gcv.e(str, "");
sCBWebView.post(new RunnableC10451eEl(str, sts, sCBWebView));
int i2 = r + 79;
t = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object e(Object[] objArr) {
CardXCSentWebViewActivity cardXCSentWebViewActivity = (CardXCSentWebViewActivity) objArr[0];
int i = 2 % 2;
int i2 = t + 3;
r = i2 % 128;
int i3 = i2 % 2;
cardXCSentWebViewActivity.finish();
if (i3 == 0) {
return null;
}
throw null;
}
@Override // o.InterfaceC9136ddy.LWm
public final void b() {
int i = 2 % 2;
int i2 = r + 111;
t = i2 % 128;
int i3 = i2 % 2;
Context applicationContext = getApplicationContext();
if (applicationContext != null) {
startActivity((Intent) HomeActivity.e(new Object[]{applicationContext}, -1290522472, 1290522474, (int) System.currentTimeMillis()));
}
int i4 = t + 9;
r = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.csent.Hilt_CardXCSentWebViewActivity, 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 = r + 29;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i4 = r + 9;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.transaction_successful).substring(22, 23).codePointAt(0) - 14, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_test_new_customer_description).substring(76, 77).codePointAt(0) - 6, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{16832, 16803, 19250, 47658, 44373, 34903, 30332, 14867, 55789, 13574, 56882, 49768, 28960, 24032, 18162, 27384, 35195, 58809, 11938, 62256, 8335, 3182}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = t + 39;
r = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = r + 93;
t = i8 % 128;
try {
if (i8 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, Drawable.resolveOpacity(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 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((ViewConfiguration.getWindowTouchSlop() >> 8) + 487, '5' - AndroidCharacter.getMirror('0'), (char) (MotionEvent.axisFromString("") + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - Color.alpha(0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, View.combineMeasuredStates(0, 0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.csent.Hilt_CardXCSentWebViewActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 1;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(18 - (ViewConfiguration.getKeyRepeatDelay() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 46), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{16832, 16803, 19250, 47658, 44373, 34903, 30332, 14867, 55789, 13574, 56882, 49768, 28960, 24032, 18162, 27384, 35195, 58809, 11938, 62256, 8335, 3182}, View.MeasureSpec.makeMeasureSpec(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 51;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = t + 71;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).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(TextUtils.getCapsMode("", 0, 0) + 487, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).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.csent.Hilt_CardXCSentWebViewActivity, 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;
int i2 = r + 59;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(KeyEvent.getMaxKeyCode() >> 16, 18 - View.resolveSize(0, 0), (char) View.resolveSizeAndState(0, 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{8955, 8854, 4015, 17885, 59844, 9964, 35244, 38067, 47831}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, objArr2);
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 = r + 101;
t = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Process.myPid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{21616, 21569, 64153, 10951, 7356, 56807, 59095, 28595, 52235, 33952, 20173, 38904, 25730, 60418, 54849, 16192, 40091, 21521, 48648, 42705, 13618, 48536, 1969, 52873, 44331, 9687, 61226, 30272, 50598, 36205, 30576, 40500, 32235, 60074, 56511, 504, 38401, 21246, 42139, 43424, 3742, 47718, 3081, 53563, 42642, 8783, 37898, 30932, 57099, 35723, 32158, 57501}, TextUtils.getOffsetAfter("", 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(44 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 65 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{13602, 13635, 24319, 29771, 47317, 34167, 47199, 14194, 44299, 8342, 4162, 53100, 1408, 18532, 35020, 26580, 64920, 61473, 57479, 65089, 21603, 6575, 22889, 38417, 52347, 33205, 45552, 11995, 42225, 10501, 10745, 50932, 7394, 20163, 33390, 22845, 63318, 63183, 64078, 61748, 28575, 7767, 21206, 35320, 51143, 34349, 51850, 8258, 48732, 12214, 9025, 47196, 5664, 22504, 39933, 20697, 36540, 65404, 62391, 59599, 26338, 25756, 21561, 33584, 55599, 35981, 52340, 6958}, TextUtils.indexOf((CharSequence) "", '0') + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{8589, 8677, 4326, 49931, 63104, 23621, 3931, 60931, 47542, 28294, 42824, 5652, 4462, 1581, 16350, 48878, 59702, 48739, 22426, 10022, 16584, 22438, 60972, 20346, 55428, 53232, 1765, 63418, 45139, 26447, 40689, 8151, 2077, 158, 13682, 32778, 58297, 47319, 19726, 10304, 31601, 20562, 58816, 20622, 54076, 51318, 32155, 63792, 43748, 25017, 37974, 24953, 648, 6586, 11500, 35260, 39496, 45427, 17574, 12779, 29204, 10955, 58230, 23053, 52690, 49865, 31524, 49759, 42274, 31234, 37789, 27356, 15648, 4682, 11138, 37589, 38121, 35767}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(108 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(113 - (Process.myTid() >> 22), 36 - KeyEvent.getDeadChar(0, 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16), 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 - ExpandableListView.getPackedPositionGroup(0L), 5 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.combineMeasuredStates(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;
}
}
}
int i5 = r + 103;
t = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
static void k() {
f6753o = new char[]{36787, 52106, 2010, 17154, 40805, 55989, 5874, 21126, 44557, 59975, 9696, 25040, 48424, 63747, 13637, 28829, 52417, 2103, 36787, 52106, 2010, 17154, 40805, 55989, 5874, 21126, 44547, 59972, 9662, 25006, 48411, 63759, 13650, 28817, 52420, 2093, 17514, 40873, 56254, 6100, 21252, 44909, 60067, 9968, 36791, 52102, 1928, 17173, 40764, 55998, 5794, 21137, 44551, 59905, 9724, 25014, 48488, 63834, 13585, 28873, 52356, 2160, 17455, 40930, 56201, 6026, 21271, 44860, 60145, 9890, 25246, 48643, 64008, 13813, 29110, 52576, 2341, 17683, 32971, 56529, 6271, 21540, 44980, 60298, 10132, 25366, 49007, 64246, 13999, 29341, 52816, 2650, 17814, 33212, 56632, 6439, 21833, 37060, 60547, 10282, 25658, 49079, 64479, 14232, 29516, 53102, 2727, 18173, 36843, 52170, 1926, 17246, 40762, 36791, 52101, 1932, 17220, 40814, 56037, 5794, 21144, 44623, 59906, 9726, 25061, 48440, 63809, 13586, 28874, 52355, 2165, 17459, 40881, 56200, 6105, 21269, 44837, 60144, 9975, 25244, 48641, 64013, 13737, 29157, 52589, 2342, 17681, 32975, 56533};
k = -4406234957874213916L;
l = -4658721773493666227L;
}
@Override // com.scb.phone.view.activity.csent.Hilt_CardXCSentWebViewActivity, 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 = t + 21;
r = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = r + 103;
t = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.partner.SCBUniversalWebViewActivity
public final void aC_() {
d(new Object[]{this}, -2105822547, 2105822547, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2061259200);
}
@Override // o.InterfaceC9136ddy.LWm
public final void a() {
d(new Object[]{this}, -1804811163, 1804811164, ((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) - 650211902);
}
static {
r = 0;
k();
b = new LWm((byte) 0);
int i = t + 45;
r = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}