what-the-bank/sources/com/scb/phone/view/activity/debitcard/reset/DebitCardResetPinSuccessAct...

645 lines
38 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.debitcard.reset;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.kmc.kut.utilities.IpLibUtil;
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.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC14961gcz;
import o.C14957gcv;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.Nhs;
import o.bRF;
import o.fZZ;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public final class DebitCardResetPinSuccessActivity extends Hilt_DebitCardResetPinSuccessActivity {
public static final HBt b;
private static char k;
/* renamed from: o, reason: collision with root package name */
private static char f6806o;
private static char p;
private static int q;
private static long r;
private static char s;
private static char t;
private static int y;
private final InterfaceC13393fZL l;
@BindView
public TextView tvPinChangeSuccessTitle;
private static final byte[] $$g = {Ascii.CAN, -103, 8, 6};
private static final int $$h = 14;
private static int $10 = 0;
private static int $11 = 1;
private static int x = 1;
private static void az(short s2, short s3, short s4, Object[] objArr) {
int i = s4 * 3;
int i2 = 3 - (s2 * 2);
int i3 = s3 + 66;
byte[] bArr = $$g;
byte[] bArr2 = new byte[i + 1];
int i4 = -1;
if (bArr == null) {
i3 = (-i3) + i;
i4 = -1;
}
while (true) {
int i5 = i4 + 1;
i2++;
bArr2[i5] = (byte) i3;
if (i5 == i) {
objArr[0] = new String(bArr2, 0);
return;
} else {
i3 = (-bArr[i2]) + i3;
i4 = i5;
}
}
}
public DebitCardResetPinSuccessActivity() {
LWm lWm = LWm.e;
C14957gcv.e(lWm, "");
this.l = new fZZ(lWm);
}
/* loaded from: classes4.dex */
public static final class HBt {
private HBt() {
}
public /* synthetic */ HBt(byte b) {
this();
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $11 + 123;
$10 = i4 % 128;
int i5 = i4 % 2;
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i6 = $11 + 95;
$10 = i6 % 128;
int i7 = i6 % 2;
int i8 = 58224;
int i9 = i3;
while (i9 < 16) {
int i10 = $10 + 9;
$11 = i10 % 128;
int i11 = i10 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i8) ^ ((c2 << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(t)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(View.resolveSize(0, 0) + 412, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, 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();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f6806o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 412, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
az(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8 -= 40503;
i9++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - View.MeasureSpec.getSize(0), 5 - View.getDefaultSize(0, 0), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinSuccessActivity, 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) {
TextView textView;
int i = 2 % 2;
int i2 = x + 91;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{57128, 7458, 35485, 59127, 55624, 22297, 61145, 37040, 4019, 46525, 65222, 18686, 11895, 25242, 31715, 8149, 24163, 43833}, ExpandableListView.getPackedPositionGroup(0L) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{31796, 31660, 7216, 46424, 9243, 53117}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = y + 1;
x = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
ay((char) (63666 - (ViewConfiguration.getDoubleTapTimeout() >> 16)), new char[]{63361, 32298, 34390, 8245, 21038, 45333, 14701, 4129, 42268, 44983, 9784, 3941, 11968, 30207, 53217, 13930, 3707, 45910, 61603, 22638, 48596, 59157, 29339, 40111, 23947, 5444}, new char[]{30087, 12155, 45689, 54264}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 283), new char[]{19012, 3345, 3429, 22515, 13882, 46776, 56918, 35912, 19830, 20955, 12763, 55731, 46291, 50601, 40871, 52345, 20012, 2298}, new char[]{18792, 51573, 32246, 31233}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.quick_top_up_turn_off).substring(4, 5).length() - 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = x + 75;
y = i6 % 128;
if (i6 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = y + 119;
x = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, 5 - KeyEvent.getDeadChar(0, 0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new char[]{34642, 49217, 12145, 10042, 54532, 32860, 59186, 52503, 18910, 10070, 25085, 27771, 30771, 38029, 53503, 4755, 41035, 52057, 64228, 9075, 30905, 43060, 14735, 50922, 40887, 50708, 12609, 33537, 63375, 54767, 30499, 40569, 56752, 1274, 23725, 9952, 39993, 15381, 43604, 39183, 61199, 30551, 51929, 22347, 41585, 2436, 57728, 53519}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{19518, 32111, 8510, 2257, 23805, 27385, 1260, 19104, 52388, 11362, 40131, 12774, 40131, 12774, 51903, 38155, 60911, 47752, 35240, 36212, 50742, 38787, 2023, 21167, 58761, 17683, 2561, 13798, 52735, 28284, 32943, 17602, 31971, 50695, 59263, 43077, 7149, 30259, 43604, 39183, 23805, 27385, 16129, 581, 57102, 60138, 23805, 27385, 36750, 46213, 51620, 63660, 41585, 2436, 55606, 3909, 18806, 32748, 59048, 38194, 23805, 27385, 39541, 47335}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) KeyEvent.getDeadChar(0, 0), new char[]{19402, 49525, 15941, 2974, 65190, 22932, 56671, 53529, 60428, 3549, 2494, 43977, 4712, 20752, 20339, 61105, 10276, 26398, 11962, 40271, 56140, 17658, 60615, 16690, 29290, 21107, 53662, 20444, 12744, 13313, 16745, 37898, 47448, 37541, 60302, 25243, 36897, 38115, 35307, 15077, 25559, 14143, 37775, 16547, 18618, 56562, 62686, 42782, 39274, 33172, 12579, 25386, 50370, 4826, 39596, 31459, 31933, 54644, 46535, 39342, 55984, 25833, 63938, 59588}, new char[]{7869, 45528, 14003, 53294}, new char[]{0, 0, 0, 0}, Color.green(0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{60970, 32190, 5909, 31960, 9502, 6106, 49055, 38758, 55407, 52495, 54593, 6360, 12321, 50254, 44521, 25103, 9391, 34843, 48573, 59156, 57073, 2939, 1163, 56653, 49085, 13348, 61367, 31086, 17616, 38929, 23086, 18137, 49019, 59962, 435, 53620, 60134, 17843, 1635, 53010, 25617, 62951, 58325, 41800, 48319, 2228, 25617, 62951, 45660, 44261, 12321, 50254, 59207, 42890, 5983, 2084, 56631, 44591, 5116, 14483, 33468, 31121, 28168, 52186, 19365, 2227, 36583, 23754, 10551, 31807, 17683, 16025, 24021, 26125}, 75 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{36617, 21655, 20844, 49500, 4796, 3324}, '5' - AndroidCharacter.getMirror('0'), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{23086, 18137, 61199, 30551, 49951, 47433, 50655, 21896, 56864, 63458, 3289, 25023, 18003, 51465, 61881, 16515, 31403, 58855, 52046, 37714, 18943, 28571, 11052, 62120, 4276, 21284, 25085, 27771, 44646, 54025, 12609, 33537, 50056, 27926, 57507, 37407}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 36, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), Color.alpha(0) + 5, (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558496);
ButterKnife.Dg_(this);
TextView textView2 = this.tvPinChangeSuccessTitle;
if (textView2 != null) {
textView = textView2;
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(getString(R.string.auto_debit_card_reset_pin_successful_meaasge));
((bRF) this.l.e()).c(((BaseActivity) this).scbAnalytics, "debitcard_resetpin_success");
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 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 i3 = $10 + 101;
$11 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - View.MeasureSpec.getSize(0), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) ((Process.getThreadPriority(0) + 20) >> 6))).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(352 - TextUtils.indexOf("", ""), 5 - KeyEvent.getDeadChar(0, 0), (char) ((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 52128));
byte b2 = (byte) 0;
Object[] objArr4 = new Object[1];
az(b2, (byte) (b2 | 49), b2, 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(AndroidCharacter.getMirror('0') + 700, 5 - Color.blue(0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).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 - View.resolveSizeAndState(0, 0, 0), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b3, (byte) (b3 | ISO7816.INS_DECREASE), b3, 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]) ^ (r ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (p ^ 9051040786702654117L)));
nhs.a++;
int i5 = $10 + 117;
$11 = i5 % 128;
int i6 = i5 % 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;
}
}
String str = new String(cArr6);
int i7 = $11 + 91;
$10 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@OnClick
public final void onOkClick() {
int i = 2 % 2;
int i2 = x + 123;
y = i2 % 128;
int i3 = i2 % 2;
HomeActivity.c((Context) this, true);
int i4 = y + 89;
x = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinSuccessActivity, 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 = x + 93;
y = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 63653), new char[]{63361, 32298, 34390, 8245, 21038, 45333, 14701, 4129, 42268, 44983, 9784, 3941, 11968, 30207, 53217, 13930, 3707, 45910, 61603, 22638, 48596, 59157, 29339, 40111, 23947, 5444}, new char[]{30087, 12155, 45689, 54264}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(12) + IpLibUtil.KIPP_BAD_HISTOGRAM, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_insurance_request_e_policy_review_ramark).substring(16, 17).length() + 380), new char[]{19012, 3345, 3429, 22515, 13882, 46776, 56918, 35912, 19830, 20955, 12763, 55731, 46291, 50601, 40871, 52345, 20012, 2298}, new char[]{18792, 51573, 32246, 31233}, new char[]{0, 0, 0, 0}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = x + 117;
y = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = y + 113;
x = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i8 = x + 109;
y = i8 % 128;
try {
if (i8 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) KeyEvent.keyCodeFromString(""))).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((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 487, TextUtils.indexOf("", "", 0, 0) + 5, (char) View.getDefaultSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i9 = 75 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(491 - ImageFormat.getBitsPerPixel(0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 487, Process.getGidForName("") + 6, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinSuccessActivity, 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 = x + 99;
y = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 63653), new char[]{63361, 32298, 34390, 8245, 21038, 45333, 14701, 4129, 42268, 44983, 9784, 3941, 11968, 30207, 53217, 13930, 3707, 45910, 61603, 22638, 48596, 59157, 29339, 40111, 23947, 5444}, new char[]{30087, 12155, 45689, 54264}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_repayment_term_amount).substring(0, 9).length() - 9, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (381 - ((Process.getThreadPriority(0) + 20) >> 6)), new char[]{19012, 3345, 3429, 22515, 13882, 46776, 56918, 35912, 19830, 20955, 12763, 55731, 46291, 50601, 40871, 52345, 20012, 2298}, new char[]{18792, 51573, 32246, 31233}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.percentage_format).substring(0, 8).length() - 8, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = x + 9;
y = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (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 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(MotionEvent.axisFromString("") + 488, Color.alpha(0) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = y + 121;
x = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinSuccessActivity, 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;
int i2 = x + 9;
y = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{57128, 7458, 35485, 59127, 55624, 22297, 61145, 37040, 4019, 46525, 65222, 18686, 11895, 25242, 31715, 8149, 24163, 43833}, 18 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{31796, 31660, 7216, 46424, 9243, 53117}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = x + 115;
y = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getTrimmedLength(""), 5 - View.combineMeasuredStates(0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{34642, 49217, 12145, 10042, 54532, 32860, 59186, 52503, 18910, 10070, 25085, 27771, 30771, 38029, 53503, 4755, 41035, 52057, 64228, 9075, 30905, 43060, 14735, 50922, 40887, 50708, 12609, 33537, 63375, 54767, 30499, 40569, 56752, 1274, 23725, 9952, 39993, 15381, 43604, 39183, 61199, 30551, 51929, 22347, 41585, 2436, 57728, 53519}, 48 - TextUtils.getTrimmedLength(""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{19518, 32111, 8510, 2257, 23805, 27385, 1260, 19104, 52388, 11362, 40131, 12774, 40131, 12774, 51903, 38155, 60911, 47752, 35240, 36212, 50742, 38787, 2023, 21167, 58761, 17683, 2561, 13798, 52735, 28284, 32943, 17602, 31971, 50695, 59263, 43077, 7149, 30259, 43604, 39183, 23805, 27385, 16129, 581, 57102, 60138, 23805, 27385, 36750, 46213, 51620, 63660, 41585, 2436, 55606, 3909, 18806, 32748, 59048, 38194, 23805, 27385, 39541, 47335}, (Process.myTid() >> 22) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((char) (ViewConfiguration.getEdgeSlop() >> 16), new char[]{19402, 49525, 15941, 2974, 65190, 22932, 56671, 53529, 60428, 3549, 2494, 43977, 4712, 20752, 20339, 61105, 10276, 26398, 11962, 40271, 56140, 17658, 60615, 16690, 29290, 21107, 53662, 20444, 12744, 13313, 16745, 37898, 47448, 37541, 60302, 25243, 36897, 38115, 35307, 15077, 25559, 14143, 37775, 16547, 18618, 56562, 62686, 42782, 39274, 33172, 12579, 25386, 50370, 4826, 39596, 31459, 31933, 54644, 46535, 39342, 55984, 25833, 63938, 59588}, new char[]{7869, 45528, 14003, 53294}, new char[]{0, 0, 0, 0}, (-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{60970, 32190, 5909, 31960, 9502, 6106, 49055, 38758, 55407, 52495, 54593, 6360, 12321, 50254, 44521, 25103, 9391, 34843, 48573, 59156, 57073, 2939, 1163, 56653, 49085, 13348, 61367, 31086, 17616, 38929, 23086, 18137, 49019, 59962, 435, 53620, 60134, 17843, 1635, 53010, 25617, 62951, 58325, 41800, 48319, 2228, 25617, 62951, 45660, 44261, 12321, 50254, 59207, 42890, 5983, 2084, 56631, 44591, 5116, 14483, 33468, 31121, 28168, 52186, 19365, 2227, 36583, 23754, 10551, 31807, 17683, 16025, 24021, 26125}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{36617, 21655, 20844, 49500, 4796, 3324}, 5 - Color.green(0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{23086, 18137, 61199, 30551, 49951, 47433, 50655, 21896, 56864, 63458, 3289, 25023, 18003, 51465, 61881, 16515, 31403, 58855, 52046, 37714, 18943, 28571, 11052, 62120, 4276, 21284, 25085, 27771, 44646, 54025, 12609, 33537, 50056, 27926, 57507, 37407}, 35 - ExpandableListView.getPackedPositionChild(0L), 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 - TextUtils.getCapsMode("", 0, 0), KeyEvent.getDeadChar(0, 0) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<bRF> {
public static final LWm e = new LWm();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ bRF invoke() {
return new bRF();
}
LWm() {
super(0);
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
int i = 2 % 2;
int i2 = y + 11;
x = i2 % 128;
if (i2 % 2 != 0) {
return null;
}
throw null;
}
static void g() {
k = (char) 55829;
f6806o = (char) 7876;
s = (char) 41741;
t = (char) 3599;
r = 9051040786702654117L;
q = -2137907360;
p = (char) 55973;
}
@Override // com.scb.phone.view.activity.debitcard.reset.Hilt_DebitCardResetPinSuccessActivity, 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 = y + 95;
x = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = y + 49;
x = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 926847205;
d(new Object[]{this});
}
static {
y = 0;
g();
b = new HBt((byte) 0);
int i = x + 113;
y = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}