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

738 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.csent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.fragment.csent.CrossMatchConsentFragment;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.C4593bdB;
import o.IF;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public final class CrossMatchConsentActivity extends Hilt_CrossMatchConsentActivity {
public static final LWm b;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static long f6754o;
private static int s;
private IF k;
private static final byte[] $$p = {55, -34, 73, 110};
private static final int $$q = 12;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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(short r7, short r8, int r9, java.lang.Object[] r10) {
/*
int r7 = 78 - r7
byte[] r0 = com.scb.phone.view.activity.csent.CrossMatchConsentActivity.$$p
int r8 = r8 * 3
int r8 = 3 - r8
int r9 = r9 * 2
int r9 = 1 - r9
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r7 = r9
r4 = r2
goto L2c
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
r1[r3] = r5
if (r4 != r9) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
int r8 = r8 + 1
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2c:
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CrossMatchConsentActivity.aC(short, short, int, java.lang.Object[]):void");
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public static Intent aaI_(Context context, IF r3) {
C14957gcv.e(context, "");
C14957gcv.e(r3, "");
Intent intent = new Intent(context, (Class<?>) CrossMatchConsentActivity.class);
intent.putExtra("EXTRA_CROSS_MATCH_CONSENT_DISPLAY", r3);
return intent;
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i3 = $11 + 109;
$10 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = $11 + 53;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(403 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - KeyEvent.normalizeMetaState(0), (char) (21608 - View.MeasureSpec.makeMeasureSpec(0, 0)));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i7] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f6754o ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0) + 238, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 33;
$10 = i8 % 128;
if (i8 % 2 != 0) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - TextUtils.getOffsetAfter("", 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
Object obj4 = null;
((Method) obj3).invoke(null, objArr6);
obj4.hashCode();
throw null;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 238, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) (Process.myTid() >> 22));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, b9, objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.csent.Hilt_CrossMatchConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
ay(new char[]{29357, 28675, 30698, 30045, 30759, 32640, 32110, 24709, 26539, 25878, 26792, 28279, 27954, 20622, 22113, 21958, 22703, 24078}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words_with_separator).substring(0, 11).codePointAt(2) + 637, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{29345, 40276, 44379, 48390, 52524}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) + 61294, 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 = s + 25;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new char[]{29357, 48835, 60010, 6045, 17191, 36672, 47342, 58437, 4517, 24021, 35190, 47817, 58881, 4674, 24566, 35594, 46250, 57556, 11370, 22918, 34060, 45393, 58088, 11806, 23477, 34769}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 52321, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new char[]{29359, 1922, 39112, 11535, 42565, 14469, 52698, 17936, 56164, 28079, 59118, 31532, 3179, 33106, 7042, 44240, 8467, 47689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_search_all_category).substring(0, 14).codePointAt(7) + 29910, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 121;
s = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (KeyEvent.getMaxKeyCode() >> 16), 5 - View.MeasureSpec.getSize(0), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == 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];
ay(new char[]{29437, 47036, 63606, 15739, 26595, 43212, 60672, 5724, 22678, 40330, 50744, 2208, 19883, 30261, 47901, 64989, 9950, 27464, 44032, 54961, 7027, 23595, 34487, 52116, 3074, 12565, 31641, 48260, 57707, 11262, 27898, 37220, 55837, 7390, 16794, 35400, 53078, 61930, 14884, 32639, 41446, 60071, 12115, 20500, 39579, 57231, 'k', 19185}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.review_transfer_disclaimer_message).substring(8, 9).codePointAt(0) + 50471, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{0, 64, CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_256_CBC_SHA256, 19}, false, new byte[]{1, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{64, 64, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 0}, false, new byte[]{0, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{128, 74, 0, 5}, false, new byte[]{0, 1, 1, 0, 1, 1, 0, 0, 0, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{202, 5, 113, 0}, true, new byte[]{1, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{29353, 21614, 16248, 1713, 59812, 45882, 39530, 32169, 17657, 11809, 61794, 55496, 41866, 34054, 27730, 14227, 7885, 57358, 52055, 37588, 30098, 24406, 9837, 2404, 53430, 48036, 40240, 25660, 20399, 5822, 63605, 50020, 43672, 36314, 22299, 15872}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 9877, 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(Process.getGidForName("") + 488, TextUtils.indexOf("", "") + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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);
getSupportActionBar().f();
getSupportActionBar().i();
ac();
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
CrossMatchConsentFragment.Sts sts = CrossMatchConsentFragment.c;
IF r1 = this.k;
CrossMatchConsentFragment crossMatchConsentFragment = new CrossMatchConsentFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_CROSS_MATCH_CONSENT_DISPLAY", r1);
crossMatchConsentFragment.setArguments(bundle);
CrossMatchConsentFragment crossMatchConsentFragment2 = crossMatchConsentFragment;
int i2 = r + 33;
s = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 72 / 0;
}
return crossMatchConsentFragment2;
}
/* JADX WARN: Removed duplicated region for block: B:17:0x0076 */
/* JADX WARN: Removed duplicated region for block: B:20:? A[RETURN, SYNTHETIC] */
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final java.lang.String L() {
/*
r7 = this;
r0 = 2
int r1 = r0 % r0
android.content.Intent r1 = r7.getIntent()
java.lang.String r2 = ""
o.C14957gcv.c(r1, r2)
int r3 = android.os.Build.VERSION.SDK_INT
r4 = 33
java.lang.String r5 = "EXTRA_CROSS_MATCH_CONSENT_DISPLAY"
r6 = 0
if (r3 < r4) goto L25
android.os.Bundle r1 = r1.getExtras()
if (r1 == 0) goto L44
java.lang.Class<o.IF> r3 = o.IF.class
java.lang.Object r1 = r1.getParcelable(r5, r3)
r6 = r1
android.os.Parcelable r6 = (android.os.Parcelable) r6
goto L44
L25:
android.os.Bundle r1 = r1.getExtras()
if (r1 == 0) goto L39
android.os.Parcelable r1 = r1.getParcelable(r5)
int r3 = com.scb.phone.view.activity.csent.CrossMatchConsentActivity.r
int r3 = r3 + 85
int r4 = r3 % 128
com.scb.phone.view.activity.csent.CrossMatchConsentActivity.s = r4
int r3 = r3 % r0
goto L3a
L39:
r1 = r6
L3a:
boolean r3 = r1 instanceof o.IF
if (r3 != 0) goto L3f
goto L40
L3f:
r6 = r1
L40:
o.IF r6 = (o.IF) r6
android.os.Parcelable r6 = (android.os.Parcelable) r6
L44:
o.IF r6 = (o.IF) r6
r7.k = r6
r1 = 2131953964(0x7f13092c, float:1.9544414E38)
java.lang.String r1 = r7.getString(r1)
o.C14957gcv.c(r1, r2)
o.IF r2 = r7.k
if (r2 == 0) goto L89
java.lang.String r3 = r2.h
java.lang.CharSequence r3 = (java.lang.CharSequence) r3
r4 = 0
r5 = 1
if (r3 == 0) goto L72
boolean r3 = o.gdZ.d(r3)
if (r3 != 0) goto L72
int r3 = com.scb.phone.view.activity.csent.CrossMatchConsentActivity.s
int r3 = r3 + 71
int r6 = r3 % 128
com.scb.phone.view.activity.csent.CrossMatchConsentActivity.r = r6
int r3 = r3 % r0
if (r3 != 0) goto L70
goto L72
L70:
r3 = r4
goto L73
L72:
r3 = r5
L73:
r3 = r3 ^ r5
if (r3 == 0) goto L89
int r1 = com.scb.phone.view.activity.csent.CrossMatchConsentActivity.s
int r1 = r1 + 99
int r3 = r1 % 128
com.scb.phone.view.activity.csent.CrossMatchConsentActivity.r = r3
int r1 = r1 % r0
java.lang.String r0 = r2.h
android.text.Spanned r0 = o.C3172asW.qI_(r0, r4)
java.lang.String r1 = r0.toString()
L89:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CrossMatchConsentActivity.L():java.lang.String");
}
@Override // com.scb.phone.view.activity.csent.Hilt_CrossMatchConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{29357, 48835, 60010, 6045, 17191, 36672, 47342, 58437, 4517, 24021, 35190, 47817, 58881, 4674, 24566, 35594, 46250, 57556, 11370, 22918, 34060, 45393, 58088, 11806, 23477, 34769}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_phone).substring(0, 25).codePointAt(11) + 52212, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{29359, 1922, 39112, 11535, 42565, 14469, 52698, 17936, 56164, 28079, 59118, 31532, 3179, 33106, 7042, 44240, 8467, 47689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_bo_downtime_desc_1).substring(27, 28).codePointAt(0) + 29979, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = r + 53;
s = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 27;
s = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 492, View.resolveSize(0, 0) + 5, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 488, TextUtils.indexOf("", "", 0, 0) + 5, (char) View.resolveSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 8 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - Color.alpha(0), 5 - View.resolveSizeAndState(0, 0, 0), (char) View.MeasureSpec.getMode(0))).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 - (Process.myTid() >> 22), 4 - TextUtils.lastIndexOf("", '0', 0), (char) (Process.myTid() >> 22))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
int i6 = r + 95;
s = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = m;
int i8 = 5;
if (cArr != null) {
int i9 = $10 + 41;
$11 = i9 % 128;
int i10 = i9 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (41977 - View.getDefaultSize(i3, i3)));
byte b2 = (byte) i3;
Object[] objArr3 = new Object[1];
aC((byte) ($$q - i8), b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
i3 = 0;
i8 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
int i12 = $11 + 79;
$10 = i12 % 128;
int i13 = i12 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i14 = $10 + 5;
$11 = i14 % 128;
if (i14 % 2 == 0) {
int i15 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(501 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (54 - View.resolveSize(0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i16 = 50 / 0;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i17 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 502, 5 - View.resolveSize(0, 0), (char) (54 - TextUtils.indexOf("", "", 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
} else {
int i18 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 15, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (Color.green(0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr4[i18] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 403, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) (21608 - TextUtils.indexOf("", "", 0, 0)));
byte b3 = (byte) 5;
byte b4 = (byte) (b3 - 5);
Object[] objArr8 = new Object[1];
aC(b3, b4, b4, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr7);
int i19 = $11 + 51;
$10 = i19 % 128;
int i20 = i19 % 2;
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i21 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i21, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i21);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
tvh.c++;
int i22 = $11 + 121;
$10 = i22 % 128;
int i23 = i22 % 2;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i24 = $10 + 37;
$11 = i24 % 128;
int i25 = i24 % 2;
int i26 = 0;
while (true) {
tvh.c = i26;
if (tvh.c >= i5) {
break;
}
int i27 = $10 + 93;
$11 = i27 % 128;
int i28 = i27 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i26 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.csent.Hilt_CrossMatchConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
int i2 = r + 55;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = r + 101;
s = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{29357, 48835, 60010, 6045, 17191, 36672, 47342, 58437, 4517, 24021, 35190, 47817, 58881, 4674, 24566, 35594, 46250, 57556, 11370, 22918, 34060, 45393, 58088, 11806, 23477, 34769}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 52308, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{29359, 1922, 39112, 11535, 42565, 14469, 52698, 17936, 56164, 28079, 59118, 31532, 3179, 33106, 7042, 44240, 8467, 47689}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_recognition_description).substring(18, 20).codePointAt(0) + 29977, 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 = s + 87;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 4 - TextUtils.lastIndexOf("", '0'), (char) TextUtils.getTrimmedLength(""))).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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) View.combineMeasuredStates(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 i8 = r + 77;
s = i8 % 128;
if (i8 % 2 != 0) {
int i9 = 91 / 0;
}
}
/* JADX INFO: Access modifiers changed from: private */
/* JADX WARN: Code restructure failed: missing block: B:10:0x0075, code lost:
if (r1 > 99999) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0072, code lost:
if (r1 > 99999) goto L10;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ java.lang.Object c(java.lang.Object[] r16) {
/*
Method dump skipped, instructions count: 736
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.CrossMatchConsentActivity.c(java.lang.Object[]):java.lang.Object");
}
static void j() {
f6754o = -5609931272133254902L;
m = new char[]{40049, 40188, 40219, 40236, 40217, 40216, 40217, 40218, 40218, 40177, 40196, 40218, 40218, 40197, 40179, 40176, 40219, 40238, 40236, 40226, 40236, 40219, 40218, 40218, 40219, 40196, 40177, 40216, 40218, 40188, 40179, 40179, 40179, 40177, 40179, 40188, 40178, 40189, 40190, 40197, 40219, 40196, 40197, 40188, 40179, 40188, 40198, 40197, 40178, 40179, 40179, 40176, 40176, 40177, 40196, 40196, 40177, 40218, 40237, 40219, 40219, 40238, 40196, 40178, 40079, 40184, 40144, 40147, 40186, 40186, 40184, 40199, 40185, 40151, 40150, 40184, 40193, 40185, 40146, 40144, 40184, 40195, 40192, 40185, 40156, 40156, 40145, 40144, 40186, 40191, 40189, 40199, 40190, 40149, 40149, 40190, 40184, 40185, 40195, 40185, 40151, 40145, 40147, 40147, 40145, 40146, 40146, 40144, 40184, 40192, 40184, 40191, 40193, 40193, 40185, 40151, 40149, 40149, 40144, 40185, 40185, 40164, 40193, 40193, 40185, 40150, 40191, 40191, 39984, 40038, 40034, 40058, 40056, 40038, 40037, 40063, 40057, 40058, 40029, 39999, 39972, 40026, 40037, 40046, 40044, 40035, 40034, 40037, 40038, 40034, 40032, 40033, 40045, 40046, 40045, 40044, 40042, 40044, 40039, 40007, 40026, 40037, 40038, 40032, 40040, 40033, 40032, 40041, 40033, 40056, 40026, 40001, 40037, 40032, 40034, 40032, 40032, 40057, 40056, 40032, 40034, 40032, 40002, 40003, 40034, 40037, 40005, 40003, 40035, 40039, 40007, 40007, 40032, 40033, 40045, 40039, 40056, 40026, 40025, 40031, 39995, 40001, 40027, 40107, 40111, 40111, 40111};
}
@Override // com.scb.phone.view.activity.csent.Hilt_CrossMatchConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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.csent.Hilt_CrossMatchConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = r + 45;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 107;
s = i4 % 128;
int i5 = i4 % 2;
}
public static final Intent aaH_(Context context, IF r4) {
int i = 2 % 2;
int i2 = r + 21;
s = i2 % 128;
if (i2 % 2 != 0) {
LWm.aaI_(context, r4);
throw null;
}
Intent aaI_ = LWm.aaI_(context, r4);
int i3 = r + 93;
s = i3 % 128;
int i4 = i3 % 2;
return aaI_;
}
static {
s = 0;
j();
b = new LWm((byte) 0);
int i = r + 17;
s = i % 128;
int i2 = i % 2;
}
}