what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/CreditCardTermsAndCondition...

839 lines
43 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import 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.TermsAndConditionsFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C0371Fd;
import o.C14957gcv;
import o.C2858amY;
import o.InterfaceC12853fJD;
import o.InterfaceC13391fZD;
import o.InterfaceC9003dbX;
import o.TVH;
import o.ZI;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public final class CreditCardTermsAndConditionsActivity extends Hilt_CreditCardTermsAndConditionsActivity implements InterfaceC9003dbX.Sts, InterfaceC12853fJD {
public static final LWm b;
private static char k;
private static char m;
/* renamed from: o, reason: collision with root package name */
private static char f6622o;
private static char p;
private static char[] r;
private static int s;
@InterfaceC13391fZD
public C2858amY mPresenter;
private static final byte[] $$p = {53, ISOFileInfo.FMD_BYTE, ISO7816.INS_READ_BINARY_STAMPED, -81};
private static final int $$q = 136;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0029 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0021 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0029 -> B:4:0x002f). 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, int r8, int r9, java.lang.Object[] r10) {
/*
int r8 = r8 * 4
int r8 = 3 - r8
int r9 = r9 * 2
int r9 = 1 - r9
int r7 = 73 - r7
byte[] r0 = com.scb.phone.view.activity.cardmanagement.CreditCardTermsAndConditionsActivity.$$p
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r8
r5 = r2
goto L2f
L14:
r3 = r2
L15:
r6 = r8
r8 = r7
r7 = r6
int r7 = r7 + 1
byte r4 = (byte) r8
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L29
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L29:
r3 = r0[r7]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2f:
int r7 = r7 + r3
r3 = r5
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.CreditCardTermsAndConditionsActivity.aC(short, int, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
Object obj;
int i4 = ~i;
int i5 = ~(i2 | i3);
if ((i * (-109)) + (i2 * 111) + ((i4 | i5) * (-220)) + ((i5 | (~(i | i2))) * 220) + (((~(i | (~i2))) | (~(i4 | i2))) * 110) != 1) {
Context context = (Context) objArr[0];
String str = (String) objArr[1];
int i6 = 2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent putExtra = new Intent(context, (Class<?>) CreditCardTermsAndConditionsActivity.class).putExtra("EXTRA_TYPE_FOR_REDEMPTION", str);
C14957gcv.c(putExtra, "");
int i7 = t + 1;
s = i7 % 128;
int i8 = i7 % 2;
return putExtra;
}
CreditCardTermsAndConditionsActivity creditCardTermsAndConditionsActivity = (CreditCardTermsAndConditionsActivity) objArr[0];
Bundle bundle = (Bundle) objArr[1];
int i9 = 2 % 2;
int i10 = s + 85;
t = i10 % 128;
int i11 = i10 % 2;
Object[] objArr2 = new Object[1];
ay(new char[]{48491, 52668, 53679, 63310, 64631, 1991, 12446, 65042, 57557, 41694, 4990, 63723, 62978, 55099, 31699, 19823, 28013, 21600}, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 18, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
ay(new char[]{22705, 54531, 27408, 32339, 40806, 2100}, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, objArr3);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr3[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = creditCardTermsAndConditionsActivity.getBaseContext();
if (baseContext == null) {
int i12 = s + 99;
t = i12 % 128;
int i13 = i12 % 2;
Object[] objArr4 = new Object[1];
ay(new char[]{48491, 52668, 53679, 63310, 64631, 1991, 12446, 65042, 42835, 56880, 26221, 8008, 4746, 62905, 5997, 11032, 52305, 3559, 17436, 16963, 23101, 11667, 35845, 52705, 27838, 16187}, 25 - ExpandableListView.getPackedPositionChild(0L), objArr4);
Class<?> cls2 = Class.forName((String) objArr4[0]);
Object[] objArr5 = new Object[1];
aB(new int[]{0, 18, 85, 15}, false, new byte[]{1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1}, objArr5);
baseContext = (Context) cls2.getMethod((String) objArr5[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), 5 - KeyEvent.getDeadChar(0, 0), (char) ((-1) - Process.getGidForName("")))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr6 = new Object[1];
aB(new int[]{18, 48, 67, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{52774, 41349, 41571, 50879, 26968, 63500, 36627, 18106, 63714, 11862, 13878, 15752, 13878, 15752, 47394, 44931, 59767, 43578, 61289, 17400, 27574, 44802, 35630, 24632, 60661, 39689, 6745, 14378, 29373, 18248, 4228, 42873, 64726, 11546, 18315, 46805, 34558, 31248, 39365, 46170, 26968, 63500, 23816, 12345, 54044, 41485, 26968, 63500, 58318, 51552, 33937, 28741, 6418, 8571, 41264, 13133, 28418, 39478, 34449, 30720, 26968, 63500, 62683, 45068}, 64 - Color.alpha(0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{51111, 1219, 45485, 43855, 53238, 9013, 60388, 25749, 29373, 18248, 19562, 48094, 23822, 11154, 4228, 42873, 33242, 25866, 14717, 17691, 30334, 62099, 11537, 41338, 6418, 8571, 33660, 46644, 34310, 43321, 39176, 41876, 49926, 11487, 13831, 57673, 21307, 16237, 55453, 59147, 46633, 14921, 9069, 46134, 11883, 32715, 41571, 50879, 31798, 63401, 18498, 49623, 17722, 54624, 25171, 39028, 64698, 4124, 56036, 61981, 34558, 31248, 23218, 24339}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{30745, 21439, 58096, 20863, 36466, 18457, 45613, 2333, 43361, 48195, 37800, 4398, 1324, 14969, 54945, 49585, 515, 53955, 53984, 5583, 3504, 32557, 40116, 5714, 27099, 48898, 43238, 35055, 27797, 38178, 2328, 26996, 27646, 57847, 52181, 19932, 4898, 62582, 11243, 50589, 12430, 62739, 60066, 31158, 15312, 53662, 12430, 62739, 52428, 42838, 1324, 14969, 18391, 41524, 42835, 56880, 27102, 4746, 37139, 53345, 4263, 6440, 49155, 26442, 18208, 17909, 11990, 62219, 44751, 27316, 23958, 41306, 26746, 59243}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_remaining_balance_p).substring(31, 33).length() + 72, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{66, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr10);
String str6 = (String) objArr10[0];
obj = null;
Object[] objArr11 = new Object[1];
ay(new char[]{2328, 26996, 56973, 29636, 21182, 39111, 19909, 45991, 49400, 57603, 65518, 11576, 48761, 25113, 57721, 12730, 55453, 59147, 51545, 40105, 31798, 63401, 33618, 23343, 22803, 12793, 43620, 48295, 37519, 45841, 40243, 58819, 56584, 48379, 56035, 61958}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_open_scbs_account_remark).substring(0, 1).codePointAt(0) - 6, objArr11);
Object[] objArr12 = {baseContext, str2, str3, str4, str5, true, str6, (String) objArr11[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - KeyEvent.getDeadChar(0, 0), (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr12);
int i14 = t + 21;
s = i14 % 128;
int i15 = i14 % 2;
super.onCreate(bundle);
int i16 = s + 103;
t = i16 % 128;
int i17 = i16 % 2;
return obj;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
}
obj = null;
super.onCreate(bundle);
int i162 = s + 103;
t = i162 % 128;
int i172 = i162 % 2;
return obj;
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity, 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 = s + 83;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
C2858amY c2858amY = this.mPresenter;
final C2858amY c2858amY2 = null;
if (c2858amY == null) {
C14957gcv.a("");
c2858amY = null;
}
c2858amY.e((C2858amY) this);
C2858amY c2858amY3 = this.mPresenter;
if (c2858amY3 != null) {
c2858amY2 = c2858amY3;
} else {
C14957gcv.a("");
}
final String stringExtra = getIntent().getStringExtra("EXTRA_TYPE_FOR_REDEMPTION");
if (stringExtra == null) {
int i4 = t + 109;
s = i4 % 128;
int i5 = i4 % 2;
stringExtra = "";
}
final String stringExtra2 = getIntent().getStringExtra("EXTRA_URL_TERM_AND_CONDITIONS");
if (stringExtra2 != null) {
int i6 = s + 41;
t = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 77 / 0;
}
} else {
stringExtra2 = "";
}
C14957gcv.e(stringExtra, "");
C14957gcv.e(stringExtra2, "");
ZI.IeS ieS = new ZI.IeS(stringExtra2, c2858amY2, stringExtra) { // from class: o.amX
private C2858amY a;
private String b;
private String e;
@Override // o.ZI.IeS
public final void e(Object obj) {
C2858amY.c(this.b, this.a, this.e, (InterfaceC9003dbX.Sts) obj);
}
{
this.b = stringExtra2;
this.a = c2858amY2;
this.e = stringExtra;
}
};
if (c2858amY2.f != 0) {
ieS.e(c2858amY2.f);
return;
}
int i8 = s + 97;
t = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = t + 21;
s = i2 % 128;
if (i2 % 2 != 0) {
String string = getString(R.string.terms_and_conditions_title);
C14957gcv.c((Object) string, "");
return string;
}
C14957gcv.c((Object) getString(R.string.terms_and_conditions_title), "");
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
Fragment fragment = new Fragment();
int i2 = t + 11;
s = i2 % 128;
if (i2 % 2 != 0) {
return fragment;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9652dno
public final void a(C0371Fd c0371Fd) {
int i = 2 % 2;
int i2 = t + 109;
s = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(c0371Fd, "");
TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c;
TermsAndConditionsFragment c = TermsAndConditionsFragment.HBt.c(c0371Fd);
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, c, null, 2);
a.b();
return;
}
C14957gcv.e(c0371Fd, "");
TermsAndConditionsFragment.HBt hBt2 = TermsAndConditionsFragment.c;
TermsAndConditionsFragment c2 = TermsAndConditionsFragment.HBt.c(c0371Fd);
AbstractC13482fbE a2 = getSupportFragmentManager().a();
a2.b(R.id.container, c2, null, 4);
a2.b();
}
@Override // o.InterfaceC12828fIc
public final void h() {
int i = 2 % 2;
int i2 = s + 3;
t = i2 % 128;
int i3 = i2 % 2;
finish();
int i4 = s + 71;
t = i4 % 128;
int i5 = i4 % 2;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
int i3 = $11 + 101;
$10 = i3 % 128;
int i4 = i3 % 2;
while (jtb.b < cArr.length) {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i5 = $11 + 31;
$10 = i5 % 128;
int i6 = i5 % 2;
int i7 = 58224;
for (int i8 = 0; i8 < 16; i8++) {
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i7) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(p)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(View.getDefaultSize(0, 0) + 412, TextUtils.getTrimmedLength("") + 5, (char) View.MeasureSpec.getMode(0));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) 7, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f6622o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 412, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.red(0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 7, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i7 -= 40503;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.blue(0) + 98, 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 6, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity, 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 = t + 3;
s = i2 % 128;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{48491, 52668, 53679, 63310, 64631, 1991, 12446, 65042, 42835, 56880, 26221, 8008, 4746, 62905, 5997, 11032, 52305, 3559, 17436, 16963, 23101, 11667, 35845, 52705, 27838, 16187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, 85, 15}, false, new byte[]{1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1}, 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(TextUtils.getTrimmedLength("") + 492, '5' - AndroidCharacter.getMirror('0'), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 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(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i3 = t + 103;
s = i3 % 128;
int i4 = i3 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = t + 73;
s = i5 % 128;
int i6 = i5 % 2;
return;
}
getBaseContext();
throw null;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr = r;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $10 + 71;
$11 = i10 % 128;
int i11 = i10 % i2;
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i9]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(KeyEvent.getDeadChar(i4, i4) + 223, 5 - View.resolveSizeAndState(i4, i4, i4), (char) (41977 - (AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1))));
byte b2 = (byte) i2;
byte b3 = (byte) (b2 - 2);
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
i2 = 2;
i4 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
int i12 = $10 + 61;
$11 = i12 % 128;
int i13 = 2;
int i14 = i12 % 2;
char c = 0;
while (tvh.c < i6) {
int i15 = $11 + 125;
$10 = i15 % 128;
if (i15 % i13 == 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 0) {
int i16 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getTrimmedLength("") + 5, (char) (58134 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr4[i16] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i17 = $10 + 25;
$11 = i17 % 128;
int i18 = i17 % 2;
} else {
int i19 = 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(501 - TextUtils.lastIndexOf("", '0'), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (54 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr4[i19] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - TextUtils.getOffsetAfter("", 0), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (MotionEvent.axisFromString("") + 21609));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr7 = new Object[1];
aC(b4, b5, b5, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
i13 = 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i8 > 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i6);
int i20 = i6 - i8;
System.arraycopy(cArr5, 0, cArr3, i20, i8);
System.arraycopy(cArr5, i8, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i6];
tvh.c = i;
int i21 = $10 + 19;
$11 = i21 % 128;
int i22 = i21 % 2;
while (tvh.c < i6) {
cArr6[tvh.c] = cArr3[(i6 - tvh.c) - 1];
tvh.c++;
}
cArr3 = cArr6;
}
if (i7 > 0) {
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i6) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity, 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 = s + 101;
t = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{48491, 52668, 53679, 63310, 64631, 1991, 12446, 65042, 42835, 56880, 26221, 8008, 4746, 62905, 5997, 11032, 52305, 3559, 17436, 16963, 23101, 11667, 35845, 52705, 27838, 16187}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.activate_card_detail_header_register_flow).substring(25, 26).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, 85, 15}, false, new byte[]{1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 95;
t = i3 % 128;
if (i3 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i4 = s + 97;
t = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 / 5;
}
}
if (baseContext != null) {
int i6 = s + 73;
t = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity, 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) {
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new char[]{48491, 52668, 53679, 63310, 64631, 1991, 12446, 65042, 57557, 41694, 4990, 63723, 62978, 55099, 31699, 19823, 28013, 21600}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{22705, 54531, 27408, 32339, 40806, 2100}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = s + 21;
t = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = s + 13;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{18, 48, 67, 0}, true, new byte[]{1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{52774, 41349, 41571, 50879, 26968, 63500, 36627, 18106, 63714, 11862, 13878, 15752, 13878, 15752, 47394, 44931, 59767, 43578, 61289, 17400, 27574, 44802, 35630, 24632, 60661, 39689, 6745, 14378, 29373, 18248, 4228, 42873, 64726, 11546, 18315, 46805, 34558, 31248, 39365, 46170, 26968, 63500, 23816, 12345, 54044, 41485, 26968, 63500, 58318, 51552, 33937, 28741, 6418, 8571, 41264, 13133, 28418, 39478, 34449, 30720, 26968, 63500, 62683, 45068}, ((byte) KeyEvent.getModifierMetaStateMask()) + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{51111, 1219, 45485, 43855, 53238, 9013, 60388, 25749, 29373, 18248, 19562, 48094, 23822, 11154, 4228, 42873, 33242, 25866, 14717, 17691, 30334, 62099, 11537, 41338, 6418, 8571, 33660, 46644, 34310, 43321, 39176, 41876, 49926, 11487, 13831, 57673, 21307, 16237, 55453, 59147, 46633, 14921, 9069, 46134, 11883, 32715, 41571, 50879, 31798, 63401, 18498, 49623, 17722, 54624, 25171, 39028, 64698, 4124, 56036, 61981, 34558, 31248, 23218, 24339}, Process.getGidForName("") + 65, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{30745, 21439, 58096, 20863, 36466, 18457, 45613, 2333, 43361, 48195, 37800, 4398, 1324, 14969, 54945, 49585, 515, 53955, 53984, 5583, 3504, 32557, 40116, 5714, 27099, 48898, 43238, 35055, 27797, 38178, 2328, 26996, 27646, 57847, 52181, 19932, 4898, 62582, 11243, 50589, 12430, 62739, 60066, 31158, 15312, 53662, 12430, 62739, 52428, 42838, 1324, 14969, 18391, 41524, 42835, 56880, 27102, 4746, 37139, 53345, 4263, 6440, 49155, 26442, 18208, 17909, 11990, 62219, 44751, 27316, 23958, 41306, 26746, 59243}, ((byte) KeyEvent.getModifierMetaStateMask()) + 75, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{66, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{2328, 26996, 56973, 29636, 21182, 39111, 19909, 45991, 49400, 57603, 65518, 11576, 48761, 25113, 57721, 12730, 55453, 59147, 51545, 40105, 31798, 63401, 33618, 23343, 22803, 12793, 43620, 48295, 37519, 45841, 40243, 58819, 56584, 48379, 56035, 61958}, Color.rgb(0, 0, 0) + 16777252, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.resolveSize(0, 0), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = s + 33;
t = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
public static final Intent Zc_(Context context, String str) {
int i = 2 % 2;
C14957gcv.e(context, "");
Intent putExtra = new Intent(context, (Class<?>) CreditCardTermsAndConditionsActivity.class).putExtra("EXTRA_URL_TERM_AND_CONDITIONS", str);
C14957gcv.c(putExtra, "");
int i2 = s + 15;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 33 / 0;
}
return putExtra;
}
static void f() {
m = (char) 9982;
f6622o = (char) 30601;
k = (char) 63232;
p = (char) 1742;
r = new char[]{40040, 40139, 40117, 40141, 40100, 40102, 40142, 40136, 40116, 40112, 40124, 40116, 40136, 40138, 40136, 40118, 40138, 40131, 39984, 40068, 40090, 40091, 40068, 40049, 40050, 40061, 40070, 40110, 40109, 40099, 40069, 40060, 40050, 40061, 40063, 40070, 40090, 40090, 40068, 40068, 40068, 40090, 40089, 40091, 40070, 40061, 40051, 40051, 40062, 40070, 40091, 40051, 40070, 40070, 40070, 40071, 40051, 40091, 40111, 40109, 40108, 40069, 40070, 40069, 40051, 40060, 39955, 39972, 39992, 39992, 39992};
}
@Override // com.scb.phone.view.activity.cardmanagement.Hilt_CreditCardTermsAndConditionsActivity, 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) {
d(new Object[]{this, bundle}, -1157808066, 1157808067, System.identityHashCode(this));
}
@Override // o.InterfaceC9652dno
public final void A() {
int i = 2 % 2;
int i2 = t + 117;
s = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC12853fJD
public final void e(String str) {
int i = 2 % 2;
int i2 = s + 125;
t = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC12853fJD
public final void d(String str) {
int i = 2 % 2;
int i2 = t + 77;
s = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
}
public static final Intent Zb_(Context context, String str) {
return (Intent) d(new Object[]{context, str}, 775101030, -775101030, (int) System.currentTimeMillis());
}
static {
s = 1;
f();
b = new LWm((byte) 0);
int i = t + 101;
s = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}