what-the-bank/sources/com/scb/phone/view/activity/common/ThirdPartyWebActivity.java

585 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.common;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C3614bBe;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class ThirdPartyWebActivity extends Hilt_ThirdPartyWebActivity {
public static final Sts k;
private static int l;
/* renamed from: o, reason: collision with root package name */
private static char[] f6749o;
private static int p;
private static boolean q;
private static int r;
private static boolean s;
private final String m = "http://easyjs.com.s3-website-ap-southeast-1.amazonaws.com/webview.html";
private static final byte[] $$p = {67, 119, -105, 2};
private static final int $$q = 107;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002f). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, int r8, java.lang.Object[] r9) {
/*
int r8 = r8 * 4
int r0 = 1 - r8
int r7 = r7 * 2
int r7 = 3 - r7
byte[] r1 = com.scb.phone.view.activity.common.ThirdPartyWebActivity.$$p
int r6 = 122 - r6
byte[] r0 = new byte[r0]
r2 = 0
int r8 = 0 - r8
if (r1 != 0) goto L17
r3 = r7
r6 = r8
r4 = r2
goto L2f
L17:
r3 = r2
L18:
byte r4 = (byte) r6
r0[r3] = r4
int r7 = r7 + 1
if (r3 != r8) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2f:
int r7 = -r7
int r6 = r6 + r7
r7 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.common.ThirdPartyWebActivity.aC(int, int, int, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.common.Hilt_ThirdPartyWebActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
int i2 = r + 23;
t = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
aA(Color.blue(0) + 18, new char[]{16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_select_account_deposit_disclaimer).substring(103, 104).codePointAt(0) - 15, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aB(null, null, 127 - Color.alpha(0), new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_max_min).substring(0, 7).length() + 11, new char[]{11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b'}, 161 - (ViewConfiguration.getJumpTapTimeout() >> 16), true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.my_qr_belt).substring(2, 3).length() + 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = t + 57;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = r + 51;
t = i6 % 128;
if (i6 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.alpha(0) + 492, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 114, new byte[]{-107, -110, -101, ISOFileInfo.ENV_TEMP_EF, -99, -103, -107, -102, -106, -106, -110, -104, -109, -101, -99, -109, -109, ISOFileInfo.PROP_INFO, -103, ISOFileInfo.ENV_TEMP_EF, -99, ISOFileInfo.ENV_TEMP_EF, -100, -104, -103, -122, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, -122, -102, -103, -106, -122, -104, ISOFileInfo.ENV_TEMP_EF, -105, -106, -107, -108, -109}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, View.combineMeasuredStates(0, 0) + 127, new byte[]{-110, -122, -106, -100, -101, -109, ISOFileInfo.ENV_TEMP_EF, -101, -106, -99, -101, ISOFileInfo.ENV_TEMP_EF, -108, -104, -101, ISOFileInfo.PROP_INFO, -106, -100, -109, -99, -100, -122, -106, -100, -106, -106, -101, -99, -122, -99, -108, -108, -101, -98, -103, -102, ISOFileInfo.ENV_TEMP_EF, -98, -100, -105, -107, -122, -100, ISOFileInfo.ENV_TEMP_EF, -102, -109, -107, -100, -109, -108, -100, -102, -100, -102, -99, -110, -103, -107, -106, -100, -110, -100, -106, -110}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(null, null, (ViewConfiguration.getLongPressTimeout() >> 16) + 127, new byte[]{-108, ISOFileInfo.ENV_TEMP_EF, -101, -99, -122, -104, -122, -98, -104, -98, -103, -100, -101, -102, -110, -106, -110, -100, ISOFileInfo.ENV_TEMP_EF, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, -122, -106, -107, ISOFileInfo.PROP_INFO, -103, -100, -101, -110, -104, -101, ISOFileInfo.ENV_TEMP_EF, -102, -108, -98, -109, -98, -104, -106, -122, -101, -98, -107, -106, -110, -105, -103, -102, -110, -110, -105, -122, -105, -98, -101, -122}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_direct_debit_ref_1).substring(0, 10).length() + 64, new char[]{17, 65485, 65485, 65496, 17, 14, 18, 18, 6, 17, 18, '\f', 3, 20, 3, 65485, 65488, 20, 65485, 18, 17, 3, 5, '\f', 7, 65485, 7, 14, 65535, 65485, 11, '\r', 1, 65484, 3, 16, 65535, 19, 15, 17, 2, 16, 65535, 19, 5, 65484, 18, 17, 65535, 1, 18, 65535, 3, 16, 6, 18, 65484, '\t', '\f', 65535, 0, '\n', 65535, 7, 1, 16, 3, 11, 11, '\r', 1, 11, 65535, 7}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 119, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 25, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, new char[]{6, 65532, 7, 65534, 65532}, (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)) + 105, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 31, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_unable_to_proceed_body).substring(16, 17).codePointAt(0) + 4, new char[]{65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 90, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 3, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 4 - ExpandableListView.getPackedPositionChild(0L), (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
int i7 = t + 77;
r = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 3 % 3;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
getIntent().putExtra("THIRD_PARTY_URL", this.m);
setContentView(R.layout.2131558816);
}
private static void aA(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(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 7, (char) View.MeasureSpec.makeMeasureSpec(0, 0));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) ($$q >>> 1), b, b, 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(View.MeasureSpec.makeMeasureSpec(0, 0) + 342, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (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)));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 46, b2, b2, 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 + 117;
$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) {
int i8 = $10 + 103;
$11 = i8 % 128;
int i9 = i8 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
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((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 341, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 46, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
int i10 = $11 + 33;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.common.Hilt_ThirdPartyWebActivity, 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 = t + 55;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = t + 67;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aB(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_authentication_ota_title).substring(8, 10).length() + 125, new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_feature_account_repayment_due_date_label).substring(0, 13).codePointAt(11) - 3619, new char[]{11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b'}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 60, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 11, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = r + 51;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) Drawable.resolveOpacity(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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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();
}
private static void aB(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = f6749o;
long j = 0;
int i4 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i5 = $11 + 117;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - TextUtils.indexOf("", "", i4), 6 - (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)), (char) (TextUtils.indexOf((CharSequence) "", '0', i4) + 1));
byte b = (byte) i4;
Object[] objArr3 = new Object[1];
aC((byte) 57, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
j = 0;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(282 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 39812));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
aC(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (s) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(40 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (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)), (char) TextUtils.getCapsMode("", 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (q) {
int i8 = $11 + 63;
$10 = i8 % 128;
int i9 = i8 % 2;
c3614bBe.c = cArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(40 - TextUtils.getCapsMode("", 0, 0), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
objArr[0] = new String(cArr5);
return;
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
int i10 = $10 + 21;
$11 = i10 % 128;
if (i10 % 2 == 0) {
int i11 = 4 % 3;
}
while (c3614bBe.a < c3614bBe.c) {
int i12 = $10 + 65;
$11 = i12 % 128;
if (i12 % 2 == 0) {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c % 1) + c3614bBe.a] * i] + intValue);
i2 = c3614bBe.a / 0;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i2 = c3614bBe.a + 1;
}
c3614bBe.a = i2;
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0020, code lost:
r1 = com.scb.phone.view.activity.common.ThirdPartyWebActivity.r + 15;
com.scb.phone.view.activity.common.ThirdPartyWebActivity.t = r1 % 128;
r1 = r1 % 2;
r6 = (java.lang.Object[]) null;
r8 = new java.lang.Object[1];
aB(null, null, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, net.sf.scuba.smartcards.ISOFileInfo.CHANNEL_SECURITY, net.sf.scuba.smartcards.ISOFileInfo.ENV_TEMP_EF, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_COMPACT, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, net.sf.scuba.smartcards.ISOFileInfo.SECURITY_ATTR_EXP, -122, net.sf.scuba.smartcards.ISOFileInfo.LCS_BYTE, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, -124, -119, -120, net.sf.scuba.smartcards.ISOFileInfo.PROP_INFO, net.sf.scuba.smartcards.ISOFileInfo.FCI_EXT, -122}, r8);
r5 = java.lang.Class.forName((java.lang.String) r8[0]);
r1 = new java.lang.Object[1];
aA(18 - android.graphics.Color.alpha(0), new char[]{11, 65529, 4, 5, 65535, '\n', 65527, 65529, 65535, 2, 6, 6, 65495, '\n', 4, 65531, '\b', '\b'}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.banking_review_message).substring(62, 63).length() + 160, true, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 32, r1);
r1 = (android.content.Context) r5.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001e, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.common.Hilt_ThirdPartyWebActivity, 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 onPause() {
/*
Method dump skipped, instructions count: 422
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.common.ThirdPartyWebActivity.onPause():void");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object c(Object[] objArr) {
ThirdPartyWebActivity thirdPartyWebActivity = (ThirdPartyWebActivity) objArr[0];
Context context = (Context) objArr[1];
int i = 2 % 2;
int i2 = r + 111;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(TextUtils.getCapsMode("", 0, 0) + 18, new char[]{16, 2, 0, '\f', 15, 65517, 65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16}, 154 - KeyEvent.keyCodeFromString(""), true, 17 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
Object obj = null;
aB(null, null, 127 - KeyEvent.keyCodeFromString(""), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = r + 61;
t = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context = context.getApplicationContext();
}
if (context != null) {
int i5 = r + 117;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.resolveSizeAndState(0, 0, 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr4 = new Object[1];
aB(null, null, 126 - ((byte) KeyEvent.getModifierMetaStateMask()), new byte[]{-107, -110, -101, ISOFileInfo.ENV_TEMP_EF, -99, -103, -107, -102, -106, -106, -110, -104, -109, -101, -99, -109, -109, ISOFileInfo.PROP_INFO, -103, ISOFileInfo.ENV_TEMP_EF, -99, ISOFileInfo.ENV_TEMP_EF, -100, -104, -103, -122, -107, -105, -101, -102, -105, -106, -101, -105, -106, -105, -122, -102, -103, -106, -122, -104, ISOFileInfo.ENV_TEMP_EF, -105, -106, -107, -108, -109}, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(null, null, 127 - (ViewConfiguration.getTapTimeout() >> 16), new byte[]{-110, -122, -106, -100, -101, -109, ISOFileInfo.ENV_TEMP_EF, -101, -106, -99, -101, ISOFileInfo.ENV_TEMP_EF, -108, -104, -101, ISOFileInfo.PROP_INFO, -106, -100, -109, -99, -100, -122, -106, -100, -106, -106, -101, -99, -122, -99, -108, -108, -101, -98, -103, -102, ISOFileInfo.ENV_TEMP_EF, -98, -100, -105, -107, -122, -100, ISOFileInfo.ENV_TEMP_EF, -102, -109, -107, -100, -109, -108, -100, -102, -100, -102, -99, -110, -103, -107, -106, -100, -110, -100, -106, -110}, objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(null, null, Gravity.getAbsoluteGravity(0, 0) + 127, new byte[]{-108, ISOFileInfo.ENV_TEMP_EF, -101, -99, -122, -104, -122, -98, -104, -98, -103, -100, -101, -102, -110, -106, -110, -100, ISOFileInfo.ENV_TEMP_EF, -104, -105, -99, -98, -99, -109, -109, -102, -99, -99, -122, -106, -107, ISOFileInfo.PROP_INFO, -103, -100, -101, -110, -104, -101, ISOFileInfo.ENV_TEMP_EF, -102, -108, -98, -109, -98, -104, -106, -122, -101, -98, -107, -106, -110, -105, -103, -102, -110, -110, -105, -122, -105, -98, -101, -122}, objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(74 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{17, 65485, 65485, 65496, 17, 14, 18, 18, 6, 17, 18, '\f', 3, 20, 3, 65485, 65488, 20, 65485, 18, 17, 3, 5, '\f', 7, 65485, 7, 14, 65535, 65485, 11, '\r', 1, 65484, 3, 16, 65535, 19, 15, 17, 2, 16, 65535, 19, 5, 65484, 18, 17, 65535, 1, 18, 65535, 3, 16, 6, 18, 65484, '\t', '\f', 65535, 0, '\n', 65535, 7, 1, 16, 3, 11, 11, '\r', 1, 11, 65535, 7}, KeyEvent.keyCodeFromString("") + 153, true, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 9, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(5 - (ViewConfiguration.getFadingEdgeLength() >> 16), new char[]{6, 65532, 7, 65534, 65532}, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 104, true, TextUtils.lastIndexOf("", '0', 0, 0) + 4, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(View.getDefaultSize(0, 0) + 36, new char[]{65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' ', ' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516}, Color.red(0) + 124, true, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 15, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 5 - Drawable.resolveOpacity(0, 0), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr10);
return null;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
static void f() {
l = 2015661584;
f6749o = new char[]{16305, 16301, 16265, 16317, 16312, 16261, 16306, 16310, 16307, 15986, 16308, 15973, 16263, 16296, 16298, 16264, 16316, 16313, 15989, 15979, 15976, 16262, 15991, 16314, 15981, 15990, 15980, 15978, 15977, 15988};
p = 1934310948;
q = true;
s = true;
}
@Override // com.scb.phone.view.activity.common.Hilt_ThirdPartyWebActivity, 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) {
System.identityHashCode(this);
c(new Object[]{this, context});
}
@Override // com.scb.phone.view.activity.common.Hilt_ThirdPartyWebActivity, 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 + 33;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 77;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static {
r = 0;
f();
k = new Sts((byte) 0);
int i = t + 15;
r = i % 128;
int i2 = i % 2;
}
}