what-the-bank/sources/com/scb/phone/view/activity/privacymanagement/PrivacyManagementLandingAct...

848 lines
42 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.privacymanagement;
import android.content.ActivityNotFoundException;
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.net.Uri;
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 android.widget.TextView;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.huawei.hms.support.api.entity.common.CommonConstant;
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.activity.privacymanagement.PrivacyConsentActivity;
import java.lang.reflect.Method;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C0690Mh;
import o.C11607eiY;
import o.C14957gcv;
import o.C15715hv;
import o.C16903sI;
import o.C4403bZM;
import o.C7710ctU;
import o.EnumC1260Zc;
import o.EnumC1263Ze;
import o.InterfaceC13391fZD;
import o.InterfaceC9526dlR;
import o.Nhs;
import o.UI;
import o.ZI;
import o.guQ;
import o.xzZ;
import o.yge;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class PrivacyManagementLandingActivity extends Hilt_PrivacyManagementLandingActivity implements InterfaceC9526dlR.Sts, C11607eiY.RVV {
private static int k;
private static int[] l;
private static long m;
private static char p;
private static int s;
@InterfaceC13391fZD
public C7710ctU mPresenter;
@BindView
public RecyclerView mRecyclerView;
@BindView
public TextView mTextView;
/* renamed from: o, reason: collision with root package name */
private C11607eiY f7810o;
private static final byte[] $$p = {85, 123, 51, ISO7816.INS_READ_RECORD2};
private static final int $$q = CipherSuite.TLS_DH_anon_WITH_CAMELLIA_256_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r7, int r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 3
int r8 = 4 - r8
byte[] r0 = com.scb.phone.view.activity.privacymanagement.PrivacyManagementLandingActivity.$$p
int r9 = r9 * 4
int r9 = r9 + 1
int r7 = r7 + 102
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r7 = r8
r3 = r9
r4 = r2
goto L2a
L15:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L19:
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r9) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r7]
L2a:
int r8 = r8 + r3
int r7 = r7 + 1
r3 = r4
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.privacymanagement.PrivacyManagementLandingActivity.aC(int, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
if ((i * 302) + (i2 * 603) + (((~(i4 | i5)) | i2) * (-602)) + (((~(i | i5 | i2)) | (~(i3 | i4)) | (~((~i2) | i4))) * (-301)) + ((~(i5 | i2)) * 301) != 1) {
PrivacyManagementLandingActivity privacyManagementLandingActivity = (PrivacyManagementLandingActivity) objArr[0];
Context context = (Context) objArr[1];
int i6 = 2 % 2;
int i7 = s + 7;
q = i7 % 128;
int i8 = i7 % 2;
super.attachBaseContext(context);
Object[] objArr2 = new Object[1];
aA(new int[]{-856095640, 2097127067, 715159858, 716623340, -1180387932, -274474453, 1111480796, -1804621709, -1602899202, -586210401}, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 18, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB((char) (44991 - Color.red(0)), new char[]{65150, 43816, 6802, 40698, 12737}, new char[]{53211, 25356, 49091, 41647}, new char[]{33026, 32969, 5547, 37881}, (-1016918833) - (ViewConfiguration.getJumpTapTimeout() >> 16), 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 i9 = q + 109;
s = i9 % 128;
int i10 = i9 % 2;
}
if (context != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 5 - TextUtils.getOffsetAfter("", 0), (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = new Object[1];
aA(new int[]{93155223, 1889649151, 1871353579, 395407278, -1244728940, 440611315, 1750669227, 378644808, 474315628, -1387878619, 290483010, -731342616, -1608329833, -709222962, 2123747177, 230331368, -1901118546, 1707407892, -215369131, -509016763, -959325175, -1900801022, 2110768392, 944291514}, TextUtils.indexOf("", "") + 48, objArr4);
String str = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((char) (ImageFormat.getBitsPerPixel(0) + 1), new char[]{61357, 16151, 14374, 30982, 35007, 61264, 22802, 34104, 44228, 47251, 29020, 39407, 23951, 6275, 20317, 51677, 21084, 1478, 45976, 1911, 61062, 40005, 19178, 30524, 37019, 56717, 64166, 31323, 36302, 41639, 6992, 15272, 7054, 44382, 32592, 24751, 51035, 7449, 60527, 24690, 16099, 3532, 18863, 7950, 48183, 3358, 11473, 6611, 13641, 32688, 48677, 32418, 38205, 8172, 4615, 44710, 18464, 5412, 37705, 59383, 27985, 20651, 26669, 21220}, new char[]{1525, 51547, 48044, 23442}, new char[]{33026, 32969, 5547, 37881}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr5);
String str2 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{1748305793, 1775746664, -623969036, -1114871456, -1435630251, 823272437, -1656373062, 1824209954, -1154262788, 984640759, 1225019589, 741737, -714662209, 824967021, -664658084, -667047735, 106126120, 70040586, 918994242, -666772796, -1003402641, -1669422822, 481735075, 1864146453, 496951666, -774566928, -589652352, 1761088541, -821219027, -1054935033, -2083714892, -2098969259}, 64 - Drawable.resolveOpacity(0, 0), objArr6);
String str3 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (Process.myPid() >> 22), new char[]{44798, 33426, 40606, 51676, 11799, 28006, 29968, 42175, 61087, 7421, 45916, 21563, 6979, 33220, 36778, 51722, 18613, 28840, 27996, 32886, 58195, 47015, 16577, 63733, 27081, 49495, 6637, 26080, 20931, 60358, 28034, 61966, 20143, 39126, 58111, 17623, 16846, 42027, 21619, 28535, 14505, 44349, 35880, 64735, 58517, 19294, 18819, 54247, 9934, 55876, 28107, 63894, 64994, 4490, 51297, 25017, 17044, 41232, 53664, 16146, 13581, 50157, 48103, 51040, 's', 34673, 4825, 38996, 63587, 42904, 6001, 25109, 1915, 46717}, new char[]{65401, 63497, 57424, 62466}, new char[]{33026, 32969, 5547, 37881}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1, objArr7);
String str4 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB((char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 44959), new char[]{55398, 61781, 8627, 6396, 37269}, new char[]{64443, 49926, 41091, 19631}, new char[]{33026, 32969, 5547, 37881}, (-2084370692) - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr8);
String str5 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB((char) ExpandableListView.getPackedPositionType(0L), new char[]{9808, 63051, 35423, 62999, 41081, 7353, 13234, 40706, 18328, 2772, 63846, 60913, 33351, 40911, 51081, 41272, 48339, 21157, 23800, 44310, 42803, 14529, 53659, 1154, 45381, 60378, 33426, 51367, 40522, 58682, 28850, 60300, 48626, 19466, 36845, 14767}, new char[]{48895, 39172, 22279, 6948}, new char[]{33026, 32969, 5547, 37881}, ViewConfiguration.getEdgeSlop() >> 16, 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.getFadingEdgeLength() >> 16), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
return null;
}
return b(objArr);
}
/* loaded from: classes5.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
private static void aB(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 + 5;
$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 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 353, 4 - Process.getGidForName(""), (char) (TextUtils.getOffsetAfter("", 0) + 52128));
byte b = (byte) 0;
Object[] objArr4 = new Object[1];
aC((byte) 13, b, b, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 747, 5 - TextUtils.indexOf("", "", 0, 0), (char) KeyEvent.normalizeMetaState(0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
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 - (Process.myTid() >> 22), 5 - View.MeasureSpec.getMode(0), (char) (Gravity.getAbsoluteGravity(0, 0) + 21608));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 12, b2, b2, 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) (p ^ 9051040786702654117L)));
nhs.a++;
int i6 = $10 + 119;
$11 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} 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;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
private static void aA(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
int[] iArr3;
int i3 = 2;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = l;
int i5 = 729798706;
int i6 = 1;
int i7 = 0;
if (iArr4 != null) {
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int i8 = $11 + 93;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length2) {
int i11 = $10 + 57;
$11 = i11 % 128;
if (i11 % i3 == 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i7] = Integer.valueOf(iArr4[i10]);
Object obj = xzZ.y.get(Integer.valueOf(i5));
if (obj == null) {
Class cls = (Class) xzZ.c((TypedValue.complexToFloat(i7) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(i7) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 15, 5 - TextUtils.getOffsetAfter("", i7), (char) (58134 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
Class<?>[] clsArr = new Class[1];
clsArr[i7] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr5[i10] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr4[i10])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 15, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (58135 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr5[i10] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i10++;
}
i3 = 2;
i7 = 0;
i5 = 729798706;
}
iArr4 = iArr5;
}
int length3 = iArr4.length;
int[] iArr6 = new int[length3];
int[] iArr7 = l;
if (iArr7 != null) {
int i12 = $10 + 75;
$11 = i12 % 128;
if (i12 % 2 == 0) {
length = iArr7.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr7.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
Object[] objArr4 = new Object[i6];
objArr4[0] = Integer.valueOf(iArr7[i2]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr3 = iArr7;
} else {
iArr3 = iArr7;
obj3 = ((Class) xzZ.c(16 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 58135))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj3);
}
iArr2[i2] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i2++;
iArr7 = iArr3;
i6 = 1;
}
iArr7 = iArr2;
}
char c = 0;
System.arraycopy(iArr7, 0, iArr6, 0, length3);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr6);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr6[i13];
try {
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(117 - MotionEvent.axisFromString(""), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) Color.red(0));
byte b = (byte) 2;
byte b2 = (byte) (b - 2);
Object[] objArr6 = new Object[1];
aC(b, b2, b2, objArr6);
obj4 = cls2.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr6[16];
c4403bZM.e ^= iArr6[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr6);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 98, 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
aC(b3, b4, b4, objArr8);
obj5 = cls3.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
c = 0;
}
String str = new String(cArr2, 0, i);
int i18 = $11 + 119;
$10 = i18 % 128;
int i19 = i18 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00e5, code lost:
if (r2 > 99999) goto L11;
*/
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x04b9 */
/* JADX WARN: Removed duplicated region for block: B:13:0x04d4 */
/* JADX WARN: Removed duplicated region for block: B:16:0x04f5 */
/* JADX WARN: Removed duplicated region for block: B:19:0x04ff */
/* JADX WARN: Removed duplicated region for block: B:23:0x04f7 */
/* JADX WARN: Type inference failed for: r0v37, types: [T extends o.cYp, o.cYp] */
/* JADX WARN: Type inference failed for: r7v26, types: [androidx.recyclerview.widget.RecyclerView] */
/* JADX WARN: Type inference failed for: r7v30 */
/* JADX WARN: Type inference failed for: r7v32 */
@Override // com.scb.phone.view.activity.privacymanagement.Hilt_PrivacyManagementLandingActivity, 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 r31) {
/*
Method dump skipped, instructions count: 1822
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.privacymanagement.PrivacyManagementLandingActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public final void onDestroy() {
int i = 2 % 2;
int i2 = q + 95;
s = i2 % 128;
C7710ctU c7710ctU = null;
if (i2 % 2 != 0) {
C7710ctU c7710ctU2 = this.mPresenter;
if (c7710ctU2 != null) {
c7710ctU = c7710ctU2;
} else {
C14957gcv.a("");
int i3 = q + 65;
s = i3 % 128;
int i4 = i3 % 2;
}
c7710ctU.w_();
super.onDestroy();
return;
}
throw null;
}
@Override // o.InterfaceC9526dlR.Sts
public final void e(List<UI> list) {
int i = 2 % 2;
int i2 = q + 75;
s = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(list, "");
TextView textView = this.mTextView;
C11607eiY c11607eiY = null;
if (textView != null) {
int i4 = q + 75;
s = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setVisibility(0);
this.f7810o = new C11607eiY(list, this);
RecyclerView recyclerView = this.mRecyclerView;
if (recyclerView == null) {
C14957gcv.a("");
recyclerView = null;
}
C11607eiY c11607eiY2 = this.f7810o;
if (c11607eiY2 == null) {
int i6 = s + 7;
q = i6 % 128;
int i7 = i6 % 2;
C14957gcv.a("");
if (i7 != 0) {
throw null;
}
int i8 = s + 73;
q = i8 % 128;
int i9 = i8 % 2;
} else {
c11607eiY = c11607eiY2;
}
recyclerView.setAdapter(c11607eiY);
}
@Override // o.InterfaceC9526dlR.Sts
public final void d(EnumC1263Ze enumC1263Ze, EnumC1260Zc enumC1260Zc, String str) {
int i = 2 % 2;
int i2 = s + 3;
q = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(enumC1263Ze, "");
C14957gcv.e(enumC1260Zc, "");
C14957gcv.e(str, "");
PrivacyConsentActivity.Sts sts = PrivacyConsentActivity.f7809o;
PrivacyManagementLandingActivity privacyManagementLandingActivity = this;
C14957gcv.e(privacyManagementLandingActivity, "");
C14957gcv.e(enumC1263Ze, "");
C14957gcv.e(enumC1260Zc, "");
C14957gcv.e(str, "");
PrivacyConsentActivity.Sts sts2 = PrivacyConsentActivity.f7809o;
Intent akS_ = PrivacyConsentActivity.Sts.akS_(privacyManagementLandingActivity, enumC1263Ze, enumC1260Zc, false);
akS_.putExtra("EXTRA_CONSENT_TITLE", str);
startActivity(akS_);
int i4 = q + 31;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9526dlR.Sts
public final void d(String str) {
int i = 2 % 2;
C14957gcv.e(str, "");
try {
Intent intent = new Intent(CommonConstant.ACTION.HWID_SCHEME_URL);
intent.setData(Uri.parse(str));
intent.putExtra("EXTRA_IS_FROM_PRIVACY_MANAGEMENT_LANDING", true);
startActivity(intent);
int i2 = q + 115;
s = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 37 / 0;
}
} catch (ActivityNotFoundException e) {
guQ.e(e);
}
}
private static /* synthetic */ Object b(Object[] objArr) {
PrivacyManagementLandingActivity privacyManagementLandingActivity = (PrivacyManagementLandingActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = q + 105;
int i3 = i2 % 128;
s = i3;
if (i2 % 2 == 0) {
C7710ctU c7710ctU = privacyManagementLandingActivity.mPresenter;
throw null;
}
C7710ctU c7710ctU2 = privacyManagementLandingActivity.mPresenter;
if (c7710ctU2 != null) {
int i4 = i3 + 17;
q = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c7710ctU2 = null;
}
List<yge> list = c7710ctU2.b;
if (list == null) {
C14957gcv.a("");
list = null;
}
final yge ygeVar = list.get(intValue);
if (C14957gcv.b((Object) ygeVar.a, (Object) "REVOKE_CONSENT")) {
ZI.IeS ieS = new ZI.IeS(ygeVar) { // from class: o.ctW
private yge a;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7710ctU.a(this.a, (InterfaceC9526dlR.Sts) obj);
}
{
this.a = ygeVar;
}
};
if (c7710ctU2.f != 0) {
int i6 = s + 5;
q = i6 % 128;
if (i6 % 2 != 0) {
ieS.e(c7710ctU2.f);
int i7 = 7 / 0;
} else {
ieS.e(c7710ctU2.f);
}
}
return null;
}
try {
List<yge> list2 = c7710ctU2.b;
if (list2 == null) {
C14957gcv.a("");
list2 = null;
}
final EnumC1263Ze valueOf = EnumC1263Ze.valueOf(list2.get(intValue).a);
ZI.IeS ieS2 = new ZI.IeS(valueOf, ygeVar) { // from class: o.ctX
private EnumC1263Ze b;
private yge d;
@Override // o.ZI.IeS
public final void e(Object obj) {
C7710ctU.b(this.b, this.d, (InterfaceC9526dlR.Sts) obj);
}
{
this.b = valueOf;
this.d = ygeVar;
}
};
if (c7710ctU2.f != 0) {
int i8 = q;
int i9 = i8 + 63;
s = i9 % 128;
if (i9 % 2 != 0) {
int i10 = i8 + 103;
s = i10 % 128;
int i11 = i10 % 2;
ieS2.e(c7710ctU2.f);
}
}
return null;
} catch (IllegalArgumentException unused) {
C16903sI c16903sI = c7710ctU2.j;
c7710ctU2.d(c16903sI.c((String) null, c16903sI.e(C15715hv.tOB.error_generic_resource), C0690Mh.IeS.JUST_DISMISS));
return null;
}
}
@Override // com.scb.phone.view.activity.privacymanagement.Hilt_PrivacyManagementLandingActivity, 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) {
int i2 = q + 123;
s = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aB((char) (TextUtils.getCapsMode("", 0, 0) + 64298), new char[]{14174, 32332, 50737, 9727, 16894, 36592, 44287, 58912, 19656, 36468, 39830, 21286, 51845, 45811, 60190, 59391, 61795, 5064, 50555, 35308, 55747, 3599, 41329, Ascii.MAX, 19270, 64871}, new char[]{54985, 49993, 11003, 33787}, new char[]{33026, 32969, 5547, 37881}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{1129261669, 771574867, -1844262657, -1173195863, -622273737, 798410906, -410814342, 1372396662, -759570068, 1766618137}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_mcmc_car_registration_no_title).substring(18, 19).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = s + 59;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 5 - Color.blue(0), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), MotionEvent.axisFromString("") + 6, (char) (Process.myPid() >> 22))).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();
}
@Override // com.scb.phone.view.activity.privacymanagement.Hilt_PrivacyManagementLandingActivity, 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 = s + 49;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 64264), new char[]{14174, 32332, 50737, 9727, 16894, 36592, 44287, 58912, 19656, 36468, 39830, 21286, 51845, 45811, 60190, 59391, 61795, 5064, 50555, 35308, 55747, 3599, 41329, Ascii.MAX, 19270, 64871}, new char[]{54985, 49993, 11003, 33787}, new char[]{33026, 32969, 5547, 37881}, ViewConfiguration.getTouchSlop() >> 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{1129261669, 771574867, -1844262657, -1173195863, -622273737, 798410906, -410814342, 1372396662, -759570068, 1766618137}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = s + 23;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = s + 87;
q = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 493, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8))).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 - TextUtils.getOffsetBefore("", 0), 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
static void h() {
l = new int[]{289519570, 1637329126, -774929389, -1405418664, -832684800, 1711909257, 611821340, -899550294, -1350292691, 1267054115, 268051431, 1195725585, 462978194, -1030404081, 1471855203, -1255991023, -5221116, -1296005193};
m = -1269218981488469081L;
k = 452713125;
p = (char) 55973;
}
@Override // com.scb.phone.view.activity.privacymanagement.Hilt_PrivacyManagementLandingActivity, 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}, -1850774138, 1850774138, System.identityHashCode(this));
}
@Override // com.scb.phone.view.activity.privacymanagement.Hilt_PrivacyManagementLandingActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = q + 103;
s = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 35;
s = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.C11607eiY.RVV
public final void d(int i) {
d(new Object[]{this, Integer.valueOf(i)}, 1099374763, -1099374762, i);
}
static {
s = 1;
h();
new RVV((byte) 0);
int i = q + 91;
s = i % 128;
int i2 = i % 2;
}
}