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

835 lines
46 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.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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 com.scb.phone.view.activity.hml.HmlETBReviewActivity;
import com.scb.phone.view.activity.hml.businessowner.HmlBusinessOwnerReviewSubmissionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC5096bmb;
import o.C0371Fd;
import o.C14957gcv;
import o.C3614bBe;
import o.C5278bpy;
import o.InterfaceC13391fZD;
import o.OVB;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class HmlConsentActivity extends Hilt_HmlConsentActivity {
public static final Sts k;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static long f7261o;
private static boolean p;
private static int q;
private static char[] r;
private static boolean s;
private static int x;
@InterfaceC13391fZD
public C5278bpy presenter;
private static final byte[] $$y = {35, 6, 76, ISO7816.INS_READ_RECORD2};
private static final int $$z = 100;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x002b). 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(short r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 65
int r8 = r8 * 3
int r0 = r8 + 1
int r7 = r7 * 4
int r7 = 4 - r7
byte[] r1 = com.scb.phone.view.activity.hml.HmlConsentActivity.$$y
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r7
r6 = r8
r4 = r2
goto L2b
L15:
r3 = r2
L16:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r8) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L23:
int r3 = r3 + 1
r4 = r1[r7]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2b:
int r7 = -r7
int r6 = r6 + r7
int r7 = r3 + 1
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlConsentActivity.aF(short, short, int, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class Sts {
private Sts() {
}
public static Intent afF_(Context context, OVB ovb, C0371Fd c0371Fd) {
C14957gcv.e(context, "");
C14957gcv.e(ovb, "");
Intent intent = new Intent(context, (Class<?>) HmlConsentActivity.class);
intent.putExtra("HML_CONSENT_TYPE", ovb);
intent.putExtra("HML_TERM_AND_CONDITION_DISPLAY", c0371Fd);
return intent;
}
public /* synthetic */ Sts(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity
public final void o() {
int i = 2 % 2;
int i2 = x + 91;
int i3 = i2 % 128;
t = i3;
int i4 = i2 % 2;
C5278bpy c5278bpy = this.presenter;
if (c5278bpy != null) {
int i5 = i3 + 77;
x = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c5278bpy = null;
}
c5278bpy.e((C5278bpy) this);
}
@Override // com.scb.phone.view.activity.hml.HmlBaseConsentActivity
public final AbstractC5096bmb<?> f() {
int i = 2 % 2;
C5278bpy c5278bpy = this.presenter;
Object obj = null;
if (c5278bpy != null) {
int i2 = t + 27;
x = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c5278bpy = null;
}
C5278bpy c5278bpy2 = c5278bpy;
int i4 = x + 57;
t = i4 % 128;
if (i4 % 2 == 0) {
return c5278bpy2;
}
obj.hashCode();
throw null;
}
private static void aD(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $10 + 107;
$11 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(m[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 307, 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (32797 - (Process.myPid() >> 22)));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
aF((byte) 33, b, b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
try {
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f7261o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 413, Color.argb(0, 0, 0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) ($$y[0] - 1), b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
try {
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 407, AndroidCharacter.getMirror('0') - '+', (char) (Drawable.resolveOpacity(0, 0) + 29234));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aF((byte) 41, b3, b3, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 23;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(View.getDefaultSize(0, 0) + 407, (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)) + 5, (char) (29234 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b4 = (byte) 0;
Object[] objArr9 = new Object[1];
aF((byte) 41, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
String str = new String(cArr);
int i9 = $10 + 37;
$11 = i9 % 128;
if (i9 % 2 != 0) {
objArr[0] = str;
} else {
int i10 = 27 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlConsentActivity, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 111, (ViewConfiguration.getEdgeSlop() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 57348), 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.receive_statement_inapp_remark).substring(41, 42).codePointAt(0) + 38, 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];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 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().getResources().getString(R.string.mw_qualification_first_note).substring(0, 1).length() - 1), 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().getPackageName().codePointAt(3) + 81, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = x + 105;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = t + 57;
x = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), KeyEvent.normalizeMetaState(0) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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().getApplicationInfo().targetSdkVersion + 93, new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(44 - (ViewConfiguration.getDoubleTapTimeout() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 47, (char) (KeyEvent.getDeadChar(0, 0) + 62945), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(TextUtils.lastIndexOf("", '0', 0, 0) + 109, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 52516), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(((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() + CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_title_push_permission).substring(0, 9).length() + 65, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_address_info_remark).substring(46, 47).length() - 1), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(null, null, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 126, new byte[]{-99, -100, -103, -100, -105}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) + 28, new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -98, -122, -119, -108, -113, -98, -111, -111, -104, -109, -98, -108, -119, -99, -102, -98, -99, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, 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(ExpandableListView.getPackedPositionType(0L) + 487, Gravity.getAbsoluteGravity(0, 0) + 5, (char) Gravity.getAbsoluteGravity(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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
C5278bpy c5278bpy = this.presenter;
if (c5278bpy == null) {
C14957gcv.a("");
c5278bpy = null;
}
c5278bpy.e((C5278bpy) this);
int i6 = x + 19;
t = i6 % 128;
if (i6 % 2 == 0) {
return;
}
Object obj3 = null;
obj3.hashCode();
throw null;
}
@Override // o.InterfaceC9246dgB
public final void b() {
int i = 2 % 2;
HmlETBReviewActivity.LWm lWm = HmlETBReviewActivity.f7276o;
HmlConsentActivity hmlConsentActivity = this;
C14957gcv.e(hmlConsentActivity, "");
startActivity(new Intent(hmlConsentActivity, (Class<?>) HmlETBReviewActivity.class));
finish();
int i2 = x + 39;
t = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
}
@Override // o.InterfaceC9246dgB
public final void d() {
int i = 2 % 2;
HmlBusinessOwnerReviewSubmissionActivity.HBt hBt = HmlBusinessOwnerReviewSubmissionActivity.k;
HmlConsentActivity hmlConsentActivity = this;
C14957gcv.e(hmlConsentActivity, "");
startActivity(new Intent(hmlConsentActivity, (Class<?>) HmlBusinessOwnerReviewSubmissionActivity.class));
finish();
int i2 = t + 13;
x = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
Intent agn_;
int i;
HmlConsentActivity hmlConsentActivity = (HmlConsentActivity) objArr[0];
boolean booleanValue = ((Boolean) objArr[1]).booleanValue();
int i2 = 2 % 2;
int i3 = x + 15;
t = i3 % 128;
if (i3 % 2 != 0) {
agn_ = HmlPinActivity.agn_(hmlConsentActivity, Boolean.valueOf(booleanValue));
i = 28821;
} else {
agn_ = HmlPinActivity.agn_(hmlConsentActivity, Boolean.valueOf(booleanValue));
i = 7134;
}
hmlConsentActivity.startActivityForResult(agn_, i);
return null;
}
@Override // o.InterfaceC9246dgB
public final void c(boolean z) {
int i = 2 % 2;
Intent intent = new Intent();
intent.putExtra("EXTRA_IS_ACCEPTED", z);
OVB ovb = ((HmlBaseConsentActivity) this).l;
if (ovb != null) {
int i2 = t + 117;
x = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = t + 79;
x = i4 % 128;
int i5 = i4 % 2;
ovb = null;
}
intent.putExtra("HML_CONSENT_TYPE", ovb);
setResult(-1, intent);
finish();
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
super.onActivityResult(i, i2, intent);
if (i == 7134 && i2 == -1) {
int i4 = x;
int i5 = i4 + 11;
t = i5 % 128;
C5278bpy c5278bpy = null;
if (i5 % 2 != 0) {
c5278bpy.hashCode();
throw null;
}
C5278bpy c5278bpy2 = this.presenter;
if (c5278bpy2 != null) {
int i6 = i4 + 117;
t = i6 % 128;
if (i6 % 2 != 0) {
throw null;
}
c5278bpy = c5278bpy2;
} else {
C14957gcv.a("");
}
c5278bpy.c();
}
}
private static void aE(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
Object method;
int i2;
int i3 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = r;
long j = 0;
if (cArr2 != null) {
int i4 = $10 + 73;
$11 = i4 % 128;
int i5 = i4 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)) + 4, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(q)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 284, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (39814 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF((byte) 57, 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 (p) {
int i7 = $11 + 7;
$10 = i7 % 128;
if (i7 % 2 != 0) {
c3614bBe.c = bArr.length;
i2 = c3614bBe.c;
} else {
c3614bBe.c = bArr.length;
i2 = c3614bBe.c;
}
char[] cArr4 = new char[i2];
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(ImageFormat.getBitsPerPixel(0) + 41, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) Color.blue(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
if (!s) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i8 = $10 + 125;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
c3614bBe.a++;
}
objArr[0] = new String(cArr5);
return;
}
int i10 = $10 + 15;
$11 = i10 % 128;
int i11 = i10 % 2;
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
int i12 = $11 + 47;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr6[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) {
method = obj4;
} else {
method = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 41, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) TextUtils.getTrimmedLength(""))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, method);
}
((Method) method).invoke(null, objArr7);
} else {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
Object[] objArr8 = {c3614bBe, c3614bBe};
Object obj5 = xzZ.y.get(1779759091);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(39 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.getOffsetBefore("", 0) + 5, (char) Color.alpha(0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
}
objArr[0] = new String(cArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlConsentActivity, 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 113;
x = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 92, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 85, (char) (ViewConfiguration.getJumpTapTimeout() >> 16), 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().getPackageName().codePointAt(6) + 29, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = x + 123;
t = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myTid() >> 22) + 492, Process.getGidForName("") + 6, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), 5 - View.getDefaultSize(0, 0), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 69 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 492, 5 - View.combineMeasuredStates(0, 0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - TextUtils.indexOf("", ""), TextUtils.getOffsetBefore("", 0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).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.hml.Hilt_HmlConsentActivity, 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 void onPause() {
int i = 2 % 2;
int i2 = x + 103;
t = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = t + 93;
x = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fragment_gift_tag).substring(0, 17).length() + 9, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_cashback_redemption).substring(0, 2).length() - 2), 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().getApplicationInfo().targetSdkVersion + 93, new byte[]{ISOFileInfo.LCS_BYTE, -112, -124, ISOFileInfo.SECURITY_ATTR_EXP, -113, -122, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, -119, -120, -120, ISOFileInfo.FCI_EXT, -122}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i5 = x + 119;
t = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = x + 1;
t = i7 % 128;
int i8 = i7 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), ImageFormat.getBitsPerPixel(0) + 6, (char) (ViewConfiguration.getTapTimeout() >> 16))).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(487 - Gravity.getAbsoluteGravity(0, 0), TextUtils.indexOf("", "", 0) + 5, (char) View.resolveSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i9 = t + 123;
x = i9 % 128;
int i10 = i9 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlConsentActivity, 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 void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = x + 91;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(ExpandableListView.getPackedPositionChild(0L) + 1, 18 - TextUtils.indexOf("", "", 0), (char) (57360 - TextUtils.indexOf((CharSequence) "", '0')), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(null, null, 128 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (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)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(null, null, 127 - Color.green(0), new byte[]{-109, -119, -103, -122, -101, -105, -109, -104, -108, -108, -119, -106, -111, -103, -101, -111, -111, ISOFileInfo.PROP_INFO, -105, -122, -101, -122, -102, -106, -105, -113, -109, -107, -103, -104, -107, -108, -103, -107, -108, -107, -113, -104, -105, -108, -113, -106, -122, -107, -108, -109, -110, -111}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aD(View.MeasureSpec.getSize(0) + 44, 64 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (62944 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(107 - TextUtils.lastIndexOf("", '0'), (Process.myPid() >> 22) + 64, (char) (52549 - Process.getGidForName("")), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((ViewConfiguration.getScrollDefaultDelay() >> 16) + CipherSuite.TLS_RSA_PSK_WITH_AES_128_GCM_SHA256, 74 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(null, null, 126 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), new byte[]{-99, -100, -103, -100, -105}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(null, null, Gravity.getAbsoluteGravity(0, 0) + 127, new byte[]{-119, -111, -101, -109, -101, -122, -119, -110, -113, -104, -122, -104, -98, -122, -119, -108, -113, -98, -111, -111, -104, -109, -98, -108, -119, -99, -102, -98, -99, -109, -105, ISOFileInfo.PROP_INFO, -109, -104, -113, -119}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, KeyEvent.normalizeMetaState(0) + 5, (char) TextUtils.indexOf("", ""))).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 i4 = x + 75;
t = i4 % 128;
int i5 = i4 % 2;
}
public static final Intent afE_(Context context, OVB ovb) {
int i = 2 % 2;
int i2 = x + 49;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(ovb, "");
Intent afF_ = Sts.afF_(context, ovb, null);
int i4 = t + 61;
x = i4 % 128;
int i5 = i4 % 2;
return afF_;
}
static void g() {
m = new char[]{28578, 33385, 46127, 42749, 55484, 52094, 64831, 61361, 396, 13396, 9797, 22783, 19073, 32088, 28440, 33242, 46064, 42420, 36787, 25208, 21566, 18156, 14509, 11119, 7470, 4000, 57747, 54342, 50698, 47248, 43683, 40261, 36638, 25031, 21476, 17855, 14446, 10791, 7382, 3758, 57720, 54059, 50643, 46994, 31318, 38805, 41357, 45850, 52501, 56965, 59551, 64086, 5238, 8674, 13225, 19817, 24369, 26865, 31420, 38014, 42565, 45059, 52682, 57229, 59648, 64273, 5258, 9883, 12384, 16929, 24555, 27132, 31601, 38206, 42747, 45239, 49796, 56384, 60942, 64414, 5526, 10079, 12617, 17037, 23717, 28213, 30842, 38377, 42934, 45430, 49981, 56493, 61079, 63631, 2589, 9224, 12672, 17311, 23902, 28493, 30955, 35572, 42090, 46631, 50165, 56805, 61226, 63850, 17141, 44904, 39212, 35819, 62949, 58995, 53353, 49837, 11398, 6473, 2831, 30109, 26566, 20564, 16924, 44240, 40629, 35058, 62778, 59176, 53749, 50096, 11387, 7738, 2199, 31368, 26394, 20829, 17372, 44438, 40533, 34892, 64032, 58546, 55037, 50029, 11569, 8178, 2493, 31353, 25601, 22208, 16521, 44363, 40770, 35203, 64410, 58381, 54838, 49269, 13038, 7328, 2418, 31545, 26108, 22510, 16452, 45649, 40090, 36569, 64337, 58648, 55183, 49567, 36794, 25186, 21550, 18158, 14513, 11068, 7525, 4001, 57729, 54367, 50715, 47315, 43649, 40265, 36615, 25027, 21495, 17828, 14457, 10807, 7395, 3754, 57704, 54063, 50652, 47005, 43540, 39946, 36554, 24724, 21327, 17679, 14118, 10741, 7099, 3693, 57398, 53928, 50349, 46971, 43283, 39876, 36254, 24653, 21011, 17619, 13963, 10588, 7031, 3448, 65529, 53681, 50287, 46697, 43243, 39614, 36187, 32601, 20947, 17296, 13893, 10243, 6873, 3226, 65277, 53600, 50024, 46513, 42919, 39536, 35887, 32480, 20614, 17221};
f7261o = -2258623906348244458L;
r = new char[]{15978, 15974, 15938, 15990, 15985, 15984, 15970, 15983, 15986, 15979, 15969, 15966, 15981, 15977, 15998, 15980, 15918, 15908, 15905, 15999, 15904, 15987, 15910, 15919, 15909, 15907, 15906, 15915, 15917, 15914};
q = 1934310941;
s = true;
p = true;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlConsentActivity, 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 void onStart() {
int i = 2 % 2;
int i2 = t + 109;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 25;
x = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9246dgB
public final void e(boolean z) {
Object[] objArr = {this, Boolean.valueOf(z)};
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1917137991;
e(objArr);
}
static {
x = 1;
g();
k = new Sts((byte) 0);
int i = t + 5;
x = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}