what-the-bank/sources/com/scb/phone/view/activity/accountDeletion/Hilt_EasyAppAccountDeletion...

611 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.accountDeletion;
import android.content.Context;
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.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
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.activity.BaseOtpActivity;
import java.lang.reflect.Method;
import o.GuL;
import o.IRS;
import o.InterfaceC17278vUG;
import o.InterfaceC9863drs;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jmrtd.cbeff.ISO781611;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_EasyAppAccountDeletionOtpActivity extends BaseOtpActivity {
private boolean b = false;
private static final byte[] $$E = {83, -27, -97, -69};
private static final int $$F = CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static int p = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f6549o = {49118, 49109, 49106, 49034, 49117, 49116, 48174, 49035, 49110, 49053, 49094, 48160, 48175, 49112, 49024, 49088, 49089, 49090, 49052, 49138, 49027, 49031, 48170, 49108, 49030, 49107, 49123, 49054, 48169, 48163, 48173, 49114, 48161, 49119, 49026, 49033, 49111, 49115, 48168, 48171, 49028, 49025, 49091, 49105, 48172, 49104, 49029, 49095, 49093};
private static char k = 35374;
private static long m = -1729253961764682060L;
/* 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:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aJ(short r6, byte r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity.$$E
int r8 = r8 * 4
int r1 = 1 - r8
int r6 = r6 * 3
int r6 = 4 - r6
int r7 = 121 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r8 = 0 - r8
if (r0 != 0) goto L17
r7 = r6
r4 = r8
r3 = r2
goto L2c
L17:
r3 = r2
r5 = r7
r7 = r6
r6 = r5
L1b:
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r8) goto L28
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L28:
r4 = r0[r7]
int r3 = r3 + 1
L2c:
int r4 = -r4
int r6 = r6 + r4
int r7 = r7 + 1
goto L1b
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity.aJ(short, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_EasyAppAccountDeletionOtpActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.accountDeletion.Hilt_EasyAppAccountDeletionOtpActivity.5
private Hilt_EasyAppAccountDeletionOtpActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.l();
}
});
}
@Override // o.AbstractActivityC9736dpX
public final void l() {
InterfaceC9863drs interfaceC9863drs;
int i = 2 % 2;
int i2 = l + 115;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2;
if (this.b) {
return;
}
int i5 = i3 + 123;
l = i5 % 128;
if (i5 % 2 != 0) {
this.b = true;
interfaceC9863drs = (InterfaceC9863drs) y_();
} else {
this.b = true;
interfaceC9863drs = (InterfaceC9863drs) y_();
}
interfaceC9863drs.e((EasyAppAccountDeletionOtpActivity) this);
int i6 = p + 125;
l = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 5 / 5;
}
}
private static void aI(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
guL.c = guL.a - 4;
int i3 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - TextUtils.indexOf("", ""), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (Gravity.getAbsoluteGravity(0, 0) + 1706));
byte b = (byte) 0;
byte b2 = (byte) (b + 2);
Object[] objArr3 = new Object[1];
aJ(b, b2, (byte) (b2 - 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i3] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Process.getGidForName("") + 393, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) TextUtils.getOffsetBefore("", 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 39;
$10 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i6 = $11 + 45;
$10 = i6 % 128;
int i7 = i6 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{3, 5, '%', 15, 3, '!', '%', '\b', 1, 19, '\f', 23, 19, 2, '+', '\n', 13881, 13881}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 67), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{31508, 63612, 31609, 38936, 26350, 41918, 42395, 32534, 220}, -TextUtils.lastIndexOf("", '0'), 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) {
Object[] objArr3 = new Object[1];
aI(new char[]{5356, 10233, 5261, 40067, 47484, 62272, 41265, 12275, 28463, 15623, 9573, 43779, 58325, 45514, 43485, 10103, 26537, 13941, 11309, 48364, 64042, 43531, 45169, 14408, 32484, 11990, 13507, 46136, 62085, 41838}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.percentage).substring(0, 1).codePointAt(0) - 36, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aG(new char[]{3, 17, 13903, 13903, 11, 1, 5, 26, 13905, 13905, '\"', ' ', ',', 3, '-', '!', 6, 5}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 69), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.alpha(0) + 492, (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) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new char[]{'!', ')', 22, '*', 17, '*', 2, 3, '-', 1, '%', 6, 15, '*', 21, 14, '*', 15, '#', '\r', 21, NistHelper.SEP_FS, 3, 4, 4, '+', 3, 31, 3, '\n', ')', 29, 31, 27, '\r', NistHelper.SEP_FS, '\b', 15, 13875, 13875, '#', 27, '\n', 31, '*', '\n', 7, 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ota_info_second_title).substring(7, 8).length() + 58), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_remark).substring(128, ISO781611.BIOMETRIC_SUBTYPE_TAG).length() + 46, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{17812, 26008, 17905, 17910, 64273, 36153, 30742, 20893, 15886, 32621, 64576, 54637, 45737, 62446, 28906, 22806, 13986, 29761, 62747, 49869, 43794, 59447, 26945, 18042, 12203, 27881, 60837, 51728, 41903, 57693, 26136, 20371, 9234, 25918, 55884, 45940, 39107, 6628, 24309, 14201, 7341, 37463, 54134, 47254, 37146, 5721, 22297, 15478, 5573, 35558, 52218, 41086, 35296, 3931, 19574, 9695, 587, 33543, 49233, 43302, 34500, 1960, 17657, 11560, 31414, 47109, 14717, 38537}, -Process.getGidForName(""), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{37741, 12509, 37644, 64766, 44558, 52307, 49432, 4257, 59552, 10873, 17689, 37979, 25607, 42663, 51683, 6191, 57355, 8454, 19476, 33710, 32188, 48420, 53278, 1810, 63744, 14762, 21755, 35708, 29958, 46102, 57158, 3839, 62177, 12404, 25421, 62018, 20025, 19700, 59305, 30279, 51796, 50968, 27181, 63919, 18400, 17230, 60997, 32025, 50031, 57329, 29426, 57619, 24351, 23107, 62762, 25786, 54503, 54851, 31068, 59464, 20533, 21231, 64934, 27675, 44108, 60698, 32887, 55217}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{'(', ',', '0', '+', 14, '$', 13750, 13750, 17, 29, 3, 1, '/', 3, 13816, 13816, '\t', 15, 3, '&', 5, 30, ',', 1, 6, 11, '\f', ',', ',', 23, '\t', 1, '0', '.', 1, 16, ',', '\f', 24, '\t', '\t', 23, '+', 22, 24, 17, '\t', 23, '\t', '\n', '/', 3, 4, 14, 0, ',', ' ', 17, ' ', 3, 22, '\t', 19, '+', 20, '.', '\'', 20, '\r', '+', 11, 1, '+', 19}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33), TextUtils.lastIndexOf("", '0') + 75, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{17992, 50829, 18033, 54550, 22600, 3617, 59640, 53966, 15828}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new char[]{'\t', 1, '#', 27, '&', 1, 27, 14, 25, '0', 15, '\r', '0', 22, 27, '#', 13823, 13823, 23, 6, 1, 15, '0', 24, '&', '0', '%', 6, '$', '\f', 3, 31, 22, 25, 29, '\r'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 50), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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(View.getDefaultSize(0, 0) + 487, 5 - Color.alpha(0), (char) View.resolveSize(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i2 = l + 95;
p = i2 % 128;
int i3 = i2 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i4 = p + 55;
l = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 31 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new char[]{5356, 10233, 5261, 40067, 47484, 62272, 41265, 12275, 28463, 15623, 9573, 43779, 58325, 45514, 43485, 10103, 26537, 13941, 11309, 48364, 64042, 43531, 45169, 14408, 32484, 11990, 13507, 46136, 62085, 41838}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_distorted).substring(0, 2).codePointAt(0) - 8225, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{3, 17, 13903, 13903, 11, 1, 5, 26, 13905, 13905, '\"', ' ', ',', 3, '-', '!', 6, 5}, (byte) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 102), ExpandableListView.getPackedPositionGroup(0L) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 61;
l = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
int i4 = p + 119;
l = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 % 4;
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (Process.myPid() >> 22))).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(KeyEvent.keyCodeFromString("") + 487, 5 - TextUtils.getOffsetAfter("", 0), (char) KeyEvent.getDeadChar(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aI(new char[]{5356, 10233, 5261, 40067, 47484, 62272, 41265, 12275, 28463, 15623, 9573, 43779, 58325, 45514, 43485, 10103, 26537, 13941, 11309, 48364, 64042, 43531, 45169, 14408, 32484, 11990, 13507, 46136, 62085, 41838}, View.resolveSizeAndState(0, 0, 0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new char[]{3, 17, 13903, 13903, 11, 1, 5, 26, 13905, 13905, '\"', ' ', ',', 3, '-', '!', 6, 5}, (byte) (103 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_ndid_select_idp_success_description_end).substring(0, 1).codePointAt(0) - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = l + 1;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = l + 43;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = p + 3;
l = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0) + 492, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).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 - View.MeasureSpec.getMode(0), AndroidCharacter.getMirror('0') - '+', (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
int i6 = 30 / 0;
} else {
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 492, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) View.MeasureSpec.getSize(0))).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(Color.red(0) + 487, View.resolveSizeAndState(0, 0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).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.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
int i2 = p + 123;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{3, 5, '%', 15, 3, '!', '%', '\b', 1, 19, '\f', 23, 19, 2, '+', '\n', 13881, 13881}, (byte) (80 - Color.green(0)), 19 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{31508, 63612, 31609, 38936, 26350, 41918, 42395, 32534, 220}, Gravity.getAbsoluteGravity(0, 0) + 1, objArr2);
Object obj = null;
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i4 = l + 73;
p = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
obj.hashCode();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.green(0) + 492, 5 - TextUtils.indexOf("", ""), (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new char[]{'!', ')', 22, '*', 17, '*', 2, 3, '-', 1, '%', 6, 15, '*', 21, 14, '*', 15, '#', '\r', 21, NistHelper.SEP_FS, 3, 4, 4, '+', 3, 31, 3, '\n', ')', 29, 31, 27, '\r', NistHelper.SEP_FS, '\b', 15, 13875, 13875, '#', 27, '\n', 31, '*', '\n', 7, 22}, (byte) (59 - KeyEvent.normalizeMetaState(0)), ((Process.getThreadPriority(0) + 20) >> 6) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI(new char[]{17812, 26008, 17905, 17910, 64273, 36153, 30742, 20893, 15886, 32621, 64576, 54637, 45737, 62446, 28906, 22806, 13986, 29761, 62747, 49869, 43794, 59447, 26945, 18042, 12203, 27881, 60837, 51728, 41903, 57693, 26136, 20371, 9234, 25918, 55884, 45940, 39107, 6628, 24309, 14201, 7341, 37463, 54134, 47254, 37146, 5721, 22297, 15478, 5573, 35558, 52218, 41086, 35296, 3931, 19574, 9695, 587, 33543, 49233, 43302, 34500, 1960, 17657, 11560, 31414, 47109, 14717, 38537}, View.getDefaultSize(0, 0) + 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{37741, 12509, 37644, 64766, 44558, 52307, 49432, 4257, 59552, 10873, 17689, 37979, 25607, 42663, 51683, 6191, 57355, 8454, 19476, 33710, 32188, 48420, 53278, 1810, 63744, 14762, 21755, 35708, 29958, 46102, 57158, 3839, 62177, 12404, 25421, 62018, 20025, 19700, 59305, 30279, 51796, 50968, 27181, 63919, 18400, 17230, 60997, 32025, 50031, 57329, 29426, 57619, 24351, 23107, 62762, 25786, 54503, 54851, 31068, 59464, 20533, 21231, 64934, 27675, 44108, 60698, 32887, 55217}, View.MeasureSpec.makeMeasureSpec(0, 0) + 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{'(', ',', '0', '+', 14, '$', 13750, 13750, 17, 29, 3, 1, '/', 3, 13816, 13816, '\t', 15, 3, '&', 5, 30, ',', 1, 6, 11, '\f', ',', ',', 23, '\t', 1, '0', '.', 1, 16, ',', '\f', 24, '\t', '\t', 23, '+', 22, 24, 17, '\t', 23, '\t', '\n', '/', 3, 4, 14, 0, ',', ' ', 17, ' ', 3, 22, '\t', 19, '+', 20, '.', '\'', 20, '\r', '+', 11, 1, '+', 19}, (byte) (1 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), 74 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{17992, 50829, 18033, 54550, 22600, 3617, 59640, 53966, 15828}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 1, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new char[]{'\t', 1, '#', 27, '&', 1, 27, 14, 25, '0', 15, '\r', '0', 22, 27, '#', 13823, 13823, 23, 6, 1, 15, '0', 24, '&', '0', '%', 6, '$', '\f', 3, 31, 22, 25, 29, '\r'}, (byte) (View.resolveSizeAndState(0, 0, 0) + 84), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 35, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) TextUtils.indexOf("", "", 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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
private static void aG(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f6549o;
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
int i7 = $10 + 113;
$11 = i7 % 128;
int i8 = i7 % i3;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myPid() >> 22) + 298, TextUtils.indexOf("", "", 0) + i5, (char) (ViewConfiguration.getTapTimeout() >> 16));
byte length2 = (byte) $$E.length;
Object[] objArr3 = new Object[1];
aJ((byte) 0, length2, (byte) (length2 - 4), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i3 = 2;
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
try {
Object[] objArr4 = {Integer.valueOf(k)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - TextUtils.indexOf("", "", 0, 0), View.MeasureSpec.getMode(0) + 5, (char) KeyEvent.keyCodeFromString(""));
byte length3 = (byte) $$E.length;
Object[] objArr5 = new Object[1];
aJ((byte) 0, length3, (byte) (length3 - 4), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $11 + 35;
$10 = i9 % 128;
if (i9 % 2 != 0) {
i2 = i + 31;
cArr4[i2] = (char) (cArr[i2] * b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - View.resolveSizeAndState(0, 0, 0), 5 - TextUtils.indexOf("", "", 0), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 22023));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr7 = new Object[1];
aJ(b2, b3, (byte) (b3 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(327 - View.combineMeasuredStates(0, 0), 4 - Process.getGidForName(""), (char) ('0' - AndroidCharacter.getMirror('0')));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
Object[] objArr9 = new Object[1];
aJ(b4, b5, (byte) (b5 - 3), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i10 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i10];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i11 = (irs.a * charValue) + irs.f;
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i11];
cArr4[irs.e + 1] = cArr2[i12];
int i13 = $10 + 47;
$11 = i13 % 128;
int i14 = i13 % 2;
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
irs.e += 2;
}
}
for (int i17 = 0; i17 < i; i17++) {
cArr4[i17] = (char) (cArr4[i17] ^ 13722);
}
String str = new String(cArr4);
int i18 = $11 + 69;
$10 = i18 % 128;
if (i18 % 2 == 0) {
objArr[0] = str;
} else {
int i19 = 46 / 0;
objArr[0] = str;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // com.scb.phone.view.activity.BaseOtpActivity, o.AbstractActivityC9736dpX, 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 void onStart() {
int i = 2 % 2;
int i2 = p + 23;
l = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 17;
l = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}