what-the-bank/sources/com/scb/phone/view/activity/hml/HmlSensitiveConsentActivity...

783 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
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.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.hml.submission.HmlDocumentSubmissionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC5096bmb;
import o.C14957gcv;
import o.C3614bBe;
import o.C4403bZM;
import o.C5506buO;
import o.EnumC5550bvF;
import o.InterfaceC13391fZD;
import o.InterfaceC9346dhx;
import o.ZI;
import o.pug;
import o.xzZ;
/* loaded from: classes4.dex */
public final class HmlSensitiveConsentActivity extends Hilt_HmlSensitiveConsentActivity implements InterfaceC9346dhx {
private static int[] k;
public static final Sts m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7332o;
private static int q;
private static boolean r;
private static boolean s;
private static int t;
@InterfaceC13391fZD
public C5506buO presenter;
private static final byte[] $$y = {43, -33, -86};
private static final int $$z = 58;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 aF(byte r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 65
byte[] r0 = com.scb.phone.view.activity.hml.HmlSensitiveConsentActivity.$$y
int r7 = r7 * 2
int r7 = 1 - r7
int r9 = r9 + 3
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L12
r3 = r9
r5 = r2
goto L2a
L12:
r3 = r2
L13:
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
int r9 = r9 + 1
if (r5 != r7) goto L24
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L24:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2a:
int r8 = -r8
int r8 = r8 + r9
r9 = r3
r3 = r5
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSensitiveConsentActivity.aF(byte, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = i4 | i2;
int i6 = (i * 755) + (i2 * (-753)) + (((~i5) | (~(i4 | i3)) | (~(i2 | i3))) * (-754));
int i7 = ~(i5 | i3);
int i8 = ~i3;
return (i6 + (((~((i | i8) | i2)) | i7) * (-754))) + ((i4 | i8) * 754) != 1 ? e(objArr) : d(objArr);
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity
public final void o() {
int i = 2 % 2;
C5506buO c5506buO = this.presenter;
if (c5506buO != null) {
int i2 = q + 113;
p = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c5506buO = null;
}
c5506buO.e((C5506buO) this);
int i4 = p + 85;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity
public final AbstractC5096bmb<?> f() {
int i = 2 % 2;
C5506buO c5506buO = this.presenter;
if (c5506buO != null) {
int i2 = p + 115;
q = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c5506buO = null;
}
C5506buO c5506buO2 = c5506buO;
int i4 = q + 73;
p = i4 % 128;
if (i4 % 2 != 0) {
return c5506buO2;
}
throw null;
}
@Override // o.InterfaceC9346dhx
public final void e() {
int i = 2 % 2;
int i2 = q + 51;
p = i2 % 128;
int i3 = i2 % 2;
HmlDocumentSubmissionActivity.LWm lWm = HmlDocumentSubmissionActivity.b;
startActivity(HmlDocumentSubmissionActivity.LWm.agD_(this, EnumC5550bvF.RESUBMISSION));
finish();
int i4 = p + 83;
q = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9346dhx
public final void c() {
HmlSensitiveConsentActivity hmlSensitiveConsentActivity;
boolean z;
int i = 2 % 2;
int i2 = q + 53;
p = i2 % 128;
if (i2 % 2 == 0) {
hmlSensitiveConsentActivity = this;
z = true;
} else {
hmlSensitiveConsentActivity = this;
z = false;
}
startActivity(HmlApplicationOutcomeActivity.afw_(hmlSensitiveConsentActivity, z));
finish();
}
@Override // o.InterfaceC9246dgB
public final void c(boolean z) {
int i = 2 % 2;
final C5506buO c5506buO = this.presenter;
if (c5506buO != null) {
int i2 = q + 5;
p = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
} else {
C14957gcv.a("");
c5506buO = null;
}
if (z) {
boolean z2 = true;
c5506buO.e(true);
ZI.IeS ieS = new ZI.IeS() { // from class: o.buW
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9346dhx) obj).g();
}
};
if (c5506buO.f != 0) {
int i3 = q;
int i4 = i3 + 13;
p = i4 % 128;
int i5 = i4 % 2;
int i6 = i3 + 45;
p = i6 % 128;
int i7 = i6 % 2;
} else {
z2 = false;
}
if (z2) {
ieS.e(c5506buO.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS(c5506buO) { // from class: o.buS
private C5506buO c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C5506buO.e(this.c, (InterfaceC9346dhx) obj);
}
{
this.c = c5506buO;
}
};
if (c5506buO.f != 0) {
int i8 = p + 93;
q = i8 % 128;
int i9 = i8 % 2;
ieS2.e(c5506buO.f);
}
}
@Override // o.InterfaceC9346dhx
public final void g() {
int i = 2 % 2;
c("p10x1_sensitive_consent", new pug("user_type", j()), new pug("button", "accept"), new pug("loan_type", "consumer"));
int i2 = p + 105;
q = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlSensitiveConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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;
Object[] objArr = new Object[1];
aD(new int[]{1314266264, -598207029, 2031150214, -1867298876, -2101322152, -260229804, -1852837817, 608232728, 897857372, 1867577630}, 18 - (Process.myPid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{-611296575, 535913606, 156014236, 117069533}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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) {
int i2 = q + 101;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(new int[]{1314266264, -598207029, 2031150214, -1867298876, 1500623099, 58338789, -687184784, 374705265, -1066258533, -1611292100, 554051342, -1443594488, 1261351109, 1599457297}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 26, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.max_length_search_text).substring(0, 4).length() + 123, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 29;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = q + 75;
p = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - Process.getGidForName(""), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fund_information).substring(16, 18).codePointAt(0) + 95, new byte[]{-113, -124, -107, ISOFileInfo.DATA_BYTES2, -105, -109, -113, -108, -112, -112, -124, -110, ISOFileInfo.ENV_TEMP_EF, -107, -105, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -104, -109, ISOFileInfo.DATA_BYTES2, -105, ISOFileInfo.DATA_BYTES2, -106, -110, -109, ISOFileInfo.SECURITY_ATTR_EXP, -113, -111, -107, -108, -111, -112, -107, -111, -112, -111, ISOFileInfo.SECURITY_ATTR_EXP, -108, -109, -112, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.DATA_BYTES2, -111, -112, -113, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(null, null, 175 - AndroidCharacter.getMirror('0'), new byte[]{-124, ISOFileInfo.SECURITY_ATTR_EXP, -112, -106, -107, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.DATA_BYTES2, -107, -112, -105, -107, ISOFileInfo.DATA_BYTES2, ISOFileInfo.CHANNEL_SECURITY, -110, -107, -104, -112, -106, ISOFileInfo.ENV_TEMP_EF, -105, -106, ISOFileInfo.SECURITY_ATTR_EXP, -112, -106, -112, -112, -107, -105, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.CHANNEL_SECURITY, -107, -103, -109, -108, ISOFileInfo.DATA_BYTES2, -103, -106, -111, -113, ISOFileInfo.SECURITY_ATTR_EXP, -106, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.ENV_TEMP_EF, -113, -106, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.CHANNEL_SECURITY, -106, -108, -106, -108, -105, -124, -109, -113, -112, -106, -124, -106, -112, -124}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + 26, new byte[]{ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.DATA_BYTES2, -107, -105, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -103, -110, -103, -109, -106, -107, -108, -124, -112, -124, -106, ISOFileInfo.DATA_BYTES2, -110, -111, -105, -103, -105, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, -108, -105, -105, ISOFileInfo.SECURITY_ATTR_EXP, -112, -113, -104, -109, -106, -107, -124, -110, -107, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.CHANNEL_SECURITY, -103, ISOFileInfo.ENV_TEMP_EF, -103, -110, -112, ISOFileInfo.SECURITY_ATTR_EXP, -107, -103, -113, -112, -124, -111, -109, -108, -124, -124, -111, ISOFileInfo.SECURITY_ATTR_EXP, -111, -103, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(null, null, 127 - View.MeasureSpec.getMode(0), new byte[]{-101, -122, ISOFileInfo.PROP_INFO, -124, -93, -124, -99, -108, -93, -99, -122, -101, -124, ISOFileInfo.A1, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -120, ISOFileInfo.SECURITY_ATTR_EXP, -99, -98, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, ISOFileInfo.A0, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, -126, -94, -101, -104, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.SECURITY_ATTR_EXP, -126, ISOFileInfo.A1, ISOFileInfo.A0, -122, -101, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.FILE_IDENTIFIER, -102, -122, ISOFileInfo.A0, -97, ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_EXP, -112, -119, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FILE_IDENTIFIER, -124, -98, -98, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -98, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -101, -99, -99, -100, -101, -120, -122, -122, -102}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(new int[]{-983410691, -84240935, 116957372, 1768793538}, 5 - TextUtils.getTrimmedLength(""), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{1121662166, -1433499609, 1322883879, 1225291697, 1094358167, -41955403, -1045405829, -1612748689, 421791824, 1184507684, 66147747, -302017875, 482380373, 1037339304, 1270515367, -1776543792, -939515109, -1787360100}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, Process.getGidForName("") + 6, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aD(int[] iArr, int i, Object[] objArr) {
int i2;
int length;
int[] iArr2;
int[] iArr3;
int i3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = k;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i8 = $10 + 65;
$11 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length2) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(iArr4[i10]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(KeyEvent.keyCodeFromString("") + 15, View.MeasureSpec.getMode(0) + 5, (char) ((KeyEvent.getMaxKeyCode() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr5[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i10++;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = k;
if (iArr7 != null) {
int i11 = $11 + 115;
$10 = i11 % 128;
if (i11 % 2 != 0) {
length = iArr7.length;
iArr2 = new int[length];
} else {
length = iArr7.length;
iArr2 = new int[length];
}
int i12 = 0;
while (i12 < length) {
try {
Object[] objArr3 = new Object[1];
objArr3[i7] = Integer.valueOf(iArr7[i12]);
Object obj2 = xzZ.y.get(Integer.valueOf(i5));
if (obj2 != null) {
iArr3 = iArr7;
i3 = i5;
} else {
obj2 = ((Class) xzZ.c(15 - (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)), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (58133 - ExpandableListView.getPackedPositionChild(0L)))).getMethod("i", Integer.TYPE);
iArr3 = iArr7;
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr2[i12] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i12++;
i5 = i3;
iArr7 = iArr3;
i7 = 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
i2 = i7;
iArr7 = iArr2;
} else {
i2 = 0;
}
System.arraycopy(iArr7, i2, iArr6, i2, length3);
c4403bZM.b = i2;
while (c4403bZM.b < iArr.length) {
int i13 = $11 + 115;
$10 = i13 % 128;
int i14 = i13 % 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 i15 = 0;
for (int i16 = 16; i15 < i16; i16 = 16) {
c4403bZM.e ^= iArr6[i15];
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(117 - ((byte) KeyEvent.getModifierMetaStateMask()), (Process.myPid() >> 22) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b, (byte) (b | 39), (byte) (-1), 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;
i15++;
}
int i17 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i17;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i18 = c4403bZM.e;
int i19 = 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(TextUtils.getOffsetAfter("", 0) + 98, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b2, (byte) (b2 | 37), (byte) (-1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlSensitiveConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 = q + 23;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new int[]{1314266264, -598207029, 2031150214, -1867298876, 1500623099, 58338789, -687184784, 374705265, -1066258533, -1611292100, 554051342, -1443594488, 1261351109, 1599457297}, 26 - (ViewConfiguration.getScrollBarSize() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_information_shop_email_hint).substring(0, 16).codePointAt(12) + 18, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 111;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 9;
p = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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(488 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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 aE(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = f7332o;
long j = 0;
int i3 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
int i5 = $11 + 1;
$10 = i5 % 128;
int i6 = i5 % 2;
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i4]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 337, TextUtils.lastIndexOf("", '0', i3) + 6, (char) ((ExpandableListView.getPackedPositionForChild(i3, i3) > j ? 1 : (ExpandableListView.getPackedPositionForChild(i3, i3) == j ? 0 : -1)) + 1));
byte b = (byte) i3;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
j = 0;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(t)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 283, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (39813 - (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 b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b3, (byte) (b3 | 57), (byte) (-1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (r) {
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
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(Color.argb(0, 0, 0, 0) + 40, TextUtils.getCapsMode("", 0, 0) + 5, (char) KeyEvent.keyCodeFromString(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
String str = new String(cArr4);
int i7 = $11 + 77;
$10 = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
objArr[0] = str;
return;
}
int i8 = 0;
if (s) {
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(ExpandableListView.getPackedPositionType(0L) + 40, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", ""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
}
String str2 = new String(cArr5);
int i9 = $11 + 111;
$10 = i9 % 128;
if (i9 % 2 == 0) {
objArr[0] = str2;
return;
} else {
int i10 = 80 / 0;
objArr[0] = str2;
return;
}
}
c3614bBe.c = iArr.length;
char[] cArr6 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i8;
if (c3614bBe.a >= c3614bBe.c) {
objArr[0] = new String(cArr6);
return;
} else {
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i8 = c3614bBe.a + 1;
}
}
}
private static /* synthetic */ Object d(Object[] objArr) {
HmlSensitiveConsentActivity hmlSensitiveConsentActivity = (HmlSensitiveConsentActivity) objArr[0];
int i = 2 % 2;
Context baseContext = hmlSensitiveConsentActivity.getBaseContext();
if (baseContext == null) {
int i2 = p + 121;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr2 = new Object[1];
aD(new int[]{1314266264, -598207029, 2031150214, -1867298876, 1500623099, 58338789, -687184784, 374705265, -1066258533, -1611292100, 554051342, -1443594488, 1261351109, 1599457297}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.instant_cash_upto_text).substring(12, 13).codePointAt(0) + 117, new byte[]{ISOFileInfo.PROP_INFO, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, -122, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = q + 29;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 29;
q = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) (Process.myTid() >> 22))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 492, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (Process.myTid() >> 22), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
return null;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x007f, code lost:
if (r1 > 99999) goto L11;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static /* synthetic */ java.lang.Object e(java.lang.Object[] r15) {
/*
Method dump skipped, instructions count: 714
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlSensitiveConsentActivity.e(java.lang.Object[]):java.lang.Object");
}
static void k() {
k = new int[]{-1252686863, 1570142522, 2084184141, -1805510433, -1171796253, 1962297693, 101387335, -145373731, -633938156, -608115355, 80417276, 1237459126, 920254754, 1674584310, 1054107270, 692590861, 141159363, -1497307320};
f7332o = new char[]{16339, 16325, 16322, 16341, 16334, 16324, 16305, 16320, 16332, 16329, 16337, 16335, 16257, 16263, 16260, 16338, 16259, 16342, 16313, 16258, 16312, 16262, 16261, 16340, 16256, 16328, 16323, 16314, 16271, 16333, 16331, 16270, 16343, 16321, 16326};
t = 1934311024;
s = true;
r = true;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlSensitiveConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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) {
e(new Object[]{this, context}, 1148699361, -1148699361, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlSensitiveConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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() {
e(new Object[]{this}, 616545300, -616545299, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlSensitiveConsentActivity, com.scb.phone.view.activity.hml.HmlBaseConsentActivity, 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 = q + 35;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
static {
q = 0;
k();
m = new Sts((byte) 0);
int i = p + 121;
q = i % 128;
int i2 = i % 2;
}
}