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

757 lines
38 KiB
Java

package com.scb.phone.view.activity.csent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
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.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.csent.SensitiveCSentFragment;
import java.lang.reflect.Method;
import o.C14957gcv;
import o.IK;
import o.Nhs;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.lds.CVCAFile;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class SensitiveCSentActivity extends Hilt_SensitiveCSentActivity {
private static int k;
private static char l;
private static long m;
/* renamed from: o, reason: collision with root package name */
public static final IeS f6764o;
private static int q;
private static int r;
private static final byte[] $$y = {110, 84, -61, CVCAFile.CAR_TAG};
private static final int $$z = 104;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> 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 aF(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 3 - r7
int r6 = r6 * 4
int r6 = 1 - r6
int r8 = r8 + 69
byte[] r0 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.$$y
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L15
r4 = r6
r8 = r7
r3 = r2
goto L2c
L15:
r3 = r2
r5 = r8
r8 = r7
r7 = r5
L19:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
int r8 = r8 + 1
if (r3 != r6) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
r4 = r0[r8]
L2c:
int r4 = -r4
int r7 = r7 + r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.SensitiveCSentActivity.aF(short, byte, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = (i * 592) + (i2 * (-590)) + ((~(i4 | i2)) * (-1182));
int i6 = ~i2;
if (i5 + (((~(i | i2)) | (~(i4 | i6 | (~i3)))) * (-591)) + ((i3 | i4 | i6) * 591) != 1) {
return e(objArr);
}
SensitiveCSentActivity sensitiveCSentActivity = (SensitiveCSentActivity) objArr[0];
Context context = (Context) objArr[1];
int i7 = 2 % 2;
int i8 = r + 23;
p = i8 % 128;
int i9 = i8 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aD((char) (37760 - ExpandableListView.getPackedPositionType(0L)), new char[]{52325, 34374, 4604, 59670, 26338, 1255, 13631, 9151, 15039, 60126, 45912, 59016, 42131, 34421, 30882, 26001, 27850, 7636}, new char[]{44609, 44839, 32830, 18067}, new char[]{0, 0, 0, 0}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aE((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, new char[]{5, 17, 65517, 1, 65532}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 259, false, 5 - TextUtils.indexOf("", ""), objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
context = context.getApplicationContext();
int i10 = p + 23;
r = i10 % 128;
int i11 = i10 % 2;
}
if (context != null) {
int i12 = p + 35;
r = i12 % 128;
int i13 = i12 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aE(49 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), new char[]{65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514, 31, 30, 27, 27}, 228 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), false, KeyEvent.getDeadChar(0, 0) + 8, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((char) (ViewConfiguration.getEdgeSlop() >> 16), new char[]{55313, 48720, 3424, 17186, 3108, 24976, 43141, 38292, 1896, 23225, 22093, 33872, 14252, 49758, 50904, 15338, 8667, 39135, 6300, 60258, 32604, 48847, 39309, 19905, 65119, 36055, 25593, 36866, 6480, 50012, 20046, 57127, 24444, 56216, 51703, 17623, 3184, 28702, 38537, 10471, 25644, 4881, 35355, 38795, 28205, 26418, 51433, 58949, 44983, 50891, 59769, 46914, 45779, 20281, 51078, 56591, 58227, 5878, 43366, 65507, 32714, 14420, 23806, 62363}, new char[]{15084, 4540, 32183, 54840}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", ""), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((char) (ViewConfiguration.getEdgeSlop() >> 16), new char[]{61799, 44257, 50736, 33220, 322, 56047, 3841, 48439, 55386, 8507, 23125, 23836, 51131, 10422, 37516, 38444, 32153, 63921, 48936, 957, 33019, 4608, 7976, 55471, 12605, 20391, 51444, 18563, 5353, 30381, 33704, 32809, 25306, 11046, 37434, 39696, 29082, 19485, 44106, 24600, 16523, 4999, 33536, 34446, 48679, 7868, 12681, 41739, 62891, 38549, 37830, 6850, 22014, 47503, 18865, 47735, 64194, 16226, 36740, 21992, 47160, 34726, 6234, 5672}, new char[]{38135, 26736, 21541, 17300}, new char[]{0, 0, 0, 0}, 1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(Color.red(0) + 74, new char[]{18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f'}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 254, false, (ViewConfiguration.getLongPressTimeout() >> 16) + 2, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(5 - View.MeasureSpec.getSize(0), new char[]{6, 65532, 65534, 7, 65532}, (ViewConfiguration.getJumpTapTimeout() >> 16) + 206, false, TextUtils.getCapsMode("", 0, 0) + 3, objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(35 - ImageFormat.getBitsPerPixel(0), new char[]{65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512, NistHelper.SEP_FS, 29, ' ', 30}, 225 - (ViewConfiguration.getDoubleTapTimeout() >> 16), false, TextUtils.getCapsMode("", 0, 0) + 13, objArr9);
Object[] objArr10 = {context, str, str2, str3, str4, true, str5, (String) objArr9[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) Color.red(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, objArr10);
int i14 = r + 19;
p = i14 % 128;
if (i14 % 2 != 0) {
int i15 = 3 % 4;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public static Intent aaO_(Context context, IK ik) {
C14957gcv.e(context, "");
C14957gcv.e(ik, "");
Intent intent = new Intent(context, (Class<?>) SensitiveCSentActivity.class);
intent.putExtra("EXTRA_SENSITIVE_CSENT_DTO", ik);
return intent;
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
Parcelable parcelable;
int i = 2 % 2;
int i2 = p + 117;
r = i2 % 128;
int i3 = i2 % 2;
SensitiveCSentFragment.LWm lWm = SensitiveCSentFragment.d;
Intent intent = getIntent();
C14957gcv.c(intent, "");
IK ik = null;
if (Build.VERSION.SDK_INT >= 33) {
int i4 = p + 17;
r = i4 % 128;
int i5 = i4 % 2;
Bundle extras = intent.getExtras();
if (extras != null) {
ik = (Parcelable) extras.getParcelable("EXTRA_SENSITIVE_CSENT_DTO", IK.class);
}
} else {
Bundle extras2 = intent.getExtras();
if (extras2 != null) {
int i6 = r + 19;
p = i6 % 128;
if (i6 % 2 != 0) {
extras2.getParcelable("EXTRA_SENSITIVE_CSENT_DTO");
ik.hashCode();
throw null;
}
parcelable = extras2.getParcelable("EXTRA_SENSITIVE_CSENT_DTO");
} else {
parcelable = null;
}
if (!(parcelable instanceof IK)) {
int i7 = r + 23;
p = i7 % 128;
int i8 = i7 % 2;
} else {
ik = parcelable;
}
ik = (IK) ik;
int i9 = r + 7;
p = i9 % 128;
int i10 = i9 % 2;
}
SensitiveCSentFragment sensitiveCSentFragment = new SensitiveCSentFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("EXTRA_SENSITIVE_CSENT_DTO", (IK) ik);
sensitiveCSentFragment.setArguments(bundle);
return sensitiveCSentFragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
String string;
int i = 2 % 2;
int i2 = p + 91;
r = i2 % 128;
if (i2 % 2 == 0) {
string = getString(R.string.csent_sensitive_title);
C14957gcv.c((Object) string, "");
int i3 = 81 / 0;
} else {
string = getString(R.string.csent_sensitive_title);
C14957gcv.c((Object) string, "");
}
int i4 = r + 45;
p = i4 % 128;
int i5 = i4 % 2;
return string;
}
private static void aD(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 91;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - Color.green(0), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) View.resolveSize(0, 0))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 352, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (52128 - (ViewConfiguration.getWindowTouchSlop() >> 8)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
aF(b, b2, (byte) (b2 | 46), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 748, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) TextUtils.getCapsMode("", 0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - Color.green(0), Color.green(0) + 5, (char) (TextUtils.getCapsMode("", 0, 0) + 21608));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | 45), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (m ^ 9051040786702654117L)) ^ ((int) (k ^ 9051040786702654117L))) ^ ((char) (l ^ 9051040786702654117L)));
nhs.a++;
int i6 = $10 + 29;
$11 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i8 = $11 + 119;
$10 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
private static void aE(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(q)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 7 - (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) KeyEvent.normalizeMetaState(0));
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, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 342, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
int i6 = $11 + 27;
$10 = i6 % 128;
int i7 = i6 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(KeyEvent.normalizeMetaState(0) + 342, Drawable.resolveOpacity(0, 0) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 | 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i8 = $10 + 31;
$11 = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr2 = cArr4;
}
String str = new String(cArr2);
int i10 = $10 + 23;
$11 = i10 % 128;
int i11 = i10 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0100, code lost:
if (r8 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.csent.Hilt_SensitiveCSentActivity, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onCreate(android.os.Bundle r22) {
/*
Method dump skipped, instructions count: 1746
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.SensitiveCSentActivity.onCreate(android.os.Bundle):void");
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = 2 % 2;
int i2 = r + 83;
p = i2 % 128;
setResult(i2 % 2 != 0 ? 31807 : 12345);
super.onBackPressed();
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0028, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001e, code lost:
if (r5.getItemId() == 16908332) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0037, code lost:
r5 = super.onOptionsItemSelected(r5);
r1 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r + 65;
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0044, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x002a, code lost:
r5 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r + 1;
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r5 % 128;
r5 = r5 % 2;
onBackPressed();
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0036, code lost:
return true;
*/
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean onOptionsItemSelected(android.view.MenuItem r5) {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r
int r1 = r1 + 71
int r2 = r1 % 128
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r2
int r1 = r1 % r0
r2 = 16908332(0x102002c, float:2.3877352E-38)
java.lang.String r3 = ""
if (r1 == 0) goto L21
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
r3 = 66
int r3 = r3 / 0
if (r1 != r2) goto L37
goto L2a
L21:
o.C14957gcv.e(r5, r3)
int r1 = r5.getItemId()
if (r1 != r2) goto L37
L2a:
int r5 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r
r1 = 1
int r5 = r5 + r1
int r2 = r5 % 128
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r2
int r5 = r5 % r0
r4.onBackPressed()
return r1
L37:
boolean r5 = super.onOptionsItemSelected(r5)
int r1 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r
int r1 = r1 + 65
int r2 = r1 % 128
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r2
int r1 = r1 % r0
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.SensitiveCSentActivity.onOptionsItemSelected(android.view.MenuItem):boolean");
}
/* JADX WARN: Removed duplicated region for block: B:12:? A[RETURN, SYNTHETIC] */
/* JADX WARN: Removed duplicated region for block: B:9:0x0038 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private final java.lang.String d(java.lang.String r5) {
/*
r4 = this;
java.lang.String r0 = ""
r1 = 2
int r2 = r1 % r1
o.fZS$IeS r2 = o.C13395fZS.b // Catch: java.lang.Throwable -> L22
r2 = r4
com.scb.phone.view.activity.csent.SensitiveCSentActivity r2 = (com.scb.phone.view.activity.csent.SensitiveCSentActivity) r2 // Catch: java.lang.Throwable -> L22
o.YK r5 = o.YK.valueOf(r5) // Catch: java.lang.Throwable -> L22
java.lang.String r5 = r5.firebaseTag // Catch: java.lang.Throwable -> L22
o.gag r2 = o.C14866gag.c // Catch: java.lang.Throwable -> L20
java.lang.Object r0 = o.C13395fZS.a(r2) // Catch: java.lang.Throwable -> L20
int r2 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r
int r2 = r2 + 45
int r3 = r2 % 128
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r3
int r2 = r2 % r1
goto L32
L20:
r2 = move-exception
goto L24
L22:
r2 = move-exception
r5 = r0
L24:
o.fZS$IeS r3 = o.C13395fZS.b
o.C14957gcv.e(r2, r0)
o.fZS$LWm r0 = new o.fZS$LWm
r0.<init>(r2)
java.lang.Object r0 = o.C13395fZS.a(r0)
L32:
java.lang.Throwable r0 = o.C13395fZS.d(r0)
if (r0 == 0) goto L45
o.YK r5 = o.YK.SENSITIVE_COMMONNDID_DEFAULT
java.lang.String r5 = r5.firebaseTag
int r0 = com.scb.phone.view.activity.csent.SensitiveCSentActivity.r
int r0 = r0 + 35
int r2 = r0 % 128
com.scb.phone.view.activity.csent.SensitiveCSentActivity.p = r2
int r0 = r0 % r1
L45:
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.csent.SensitiveCSentActivity.d(java.lang.String):java.lang.String");
}
@Override // com.scb.phone.view.activity.csent.Hilt_SensitiveCSentActivity, 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;
int i2 = r + 57;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 71;
r = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{'\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 221, true, 11 - View.MeasureSpec.makeMeasureSpec(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 22707), new char[]{30490, 54805, 21158, 37560, 52784, 58014, 61545, 27770, 24219, 24005, 63468, 21789, 60759, 25571, 64817, 62172, 63521, 17878}, new char[]{61020, 58627, 54660, 47960}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 4 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getDoubleTapTimeout() >> 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.getScrollBarSize() >> 8), 5 - View.resolveSizeAndState(0, 0, 0), (char) Gravity.getAbsoluteGravity(0, 0))).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();
int i6 = p + 17;
r = i6 % 128;
int i7 = i6 % 2;
}
@Override // com.scb.phone.view.activity.csent.Hilt_SensitiveCSentActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 57;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, new char[]{'\r', '\r', 65534, 65483, 1, 6, '\f', 15, 1, 11, 65534, 1, 65534, 2, 15, 5, 65521, 22, 17, 6, 19, 6, 17, 0, 65502, 65483}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_level_up_privacy).substring(CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256).length() + 253, true, 10 - Process.getGidForName(""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((char) ((ViewConfiguration.getPressedStateDuration() >> 16) + 22741), new char[]{30490, 54805, 21158, 37560, 52784, 58014, 61545, 27770, 24219, 24005, 63468, 21789, 60759, 25571, 64817, 62172, 63521, 17878}, new char[]{61020, 58627, 54660, 47960}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), View.resolveSizeAndState(0, 0, 0) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).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 - KeyEvent.normalizeMetaState(0), MotionEvent.axisFromString("") + 6, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = p + 51;
r = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static /* synthetic */ Object e(Object[] objArr) {
Context context = (Context) objArr[0];
IK ik = (IK) objArr[1];
int i = 2 % 2;
int i2 = p + 59;
r = i2 % 128;
if (i2 % 2 != 0) {
return IeS.aaO_(context, ik);
}
IeS.aaO_(context, ik);
Object obj = null;
obj.hashCode();
throw null;
}
static void j() {
m = 9051040786702654117L;
k = 452713125;
l = (char) 39299;
q = 2015661755;
}
@Override // com.scb.phone.view.activity.csent.Hilt_SensitiveCSentActivity, 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) {
d(new Object[]{this, context}, -51463320, 51463321, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.csent.Hilt_SensitiveCSentActivity, 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 + 47;
p = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
super.onStart();
if (i3 != 0) {
obj.hashCode();
throw null;
}
int i4 = r + 57;
p = i4 % 128;
if (i4 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
public static final Intent aaN_(Context context, IK ik) {
return (Intent) d(new Object[]{context, ik}, 1368166457, -1368166457, (int) System.currentTimeMillis());
}
static {
r = 1;
j();
f6764o = new IeS((byte) 0);
int i = p + 3;
r = i % 128;
int i2 = i % 2;
}
}