what-the-bank/sources/com/scb/phone/view/activity/ndid/DopaConsentActivity.java

821 lines
46 KiB
Java

package com.scb.phone.view.activity.ndid;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MenuItem;
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.activity.ntb.touchpoint.TouchPointInstructionActivity;
import com.scb.phone.view.fragment.ndid.DopaConsentFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C14957gcv;
import o.C3614bBe;
import o.C4352bXk;
import o.C9413djK;
import o.IRS;
import o.InterfaceC13391fZD;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public final class DopaConsentActivity extends Hilt_DopaConsentActivity implements C9413djK.HBt {
public static final IeS b;
private static boolean k;
private static char[] l;
/* renamed from: o, reason: collision with root package name */
private static int f7595o;
private static int p;
private static boolean q;
private static char r;
private static char[] s;
@InterfaceC13391fZD
public C4352bXk presenter;
private static final byte[] $$p = {35, 6, 76, ISO7816.INS_READ_RECORD2};
private static final int $$q = 42;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static void aC(short s2, byte b2, byte b3, Object[] objArr) {
int i = b2 * 3;
byte[] bArr = $$p;
int i2 = s2 + 65;
int i3 = b3 + 4;
byte[] bArr2 = new byte[1 - i];
int i4 = 0 - i;
int i5 = -1;
if (bArr == null) {
i2 = (-i2) + i3;
i3 = i3;
i5 = -1;
}
while (true) {
int i6 = i5 + 1;
bArr2[i6] = (byte) i2;
int i7 = i3 + 1;
if (i6 == i4) {
objArr[0] = new String(bArr2, 0);
return;
}
i2 = (-bArr[i7]) + i2;
i3 = i7;
i5 = i6;
}
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = i4 | i5;
int i7 = ~i3;
if ((i * (-1529)) + (i2 * (-764)) + (((~(i2 | i4 | i3)) | (~(i6 | i7)) | (~(i5 | i | i3))) * 765) + (((~i6) | (~(i4 | i7))) * 1530) + (((~(i | i5 | i7)) | (~(i4 | i3))) * 765) != 1) {
DopaConsentActivity dopaConsentActivity = (DopaConsentActivity) objArr[0];
int i8 = 2 % 2;
int i9 = t + 123;
p = i9 % 128;
int i10 = i9 % 2;
dopaConsentActivity.setResult(12345);
super.onBackPressed();
int i11 = p + 85;
t = i11 % 128;
int i12 = i11 % 2;
return null;
}
return b(objArr);
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.ndid.Hilt_DopaConsentActivity, 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) {
int i = 2 % 2;
C4352bXk c4352bXk = null;
Object[] objArr = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 93, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, 128 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, 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 i2 = p + 51;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB(new char[]{',', NistHelper.SEP_FS, 22, 19, ',', '&', 27, 19, '+', '-', '0', 16, '\r', 20, 30, '(', 16, ',', '\"', 30, 4, NistHelper.SEP_FS, 18, 22, '/', 21}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 6), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fatca_question_title_breadcrumb_th).substring(0, 15).codePointAt(7) - 3615, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new char[]{20, ')', 13801, 13801, 23, ' ', '\"', 5, 13803, 13803, 23, '$', 7, '0', 30, '(', ',', 31}, (byte) ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deejung_installment_email_notification_message).substring(33, 34).length(), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_promptpay_unlink_dialog_message).substring(22, 23).codePointAt(0) - 14, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 77;
t = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatDelay() >> 16), TextUtils.getTrimmedLength("") + 5, (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(null, null, KeyEvent.keyCodeFromString("") + 127, new byte[]{-111, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.LCS_BYTE, -103, -107, -111, -106, -110, -110, ISOFileInfo.SECURITY_ATTR_EXP, -108, -113, -105, -103, -113, -113, ISOFileInfo.FILE_IDENTIFIER, -107, ISOFileInfo.LCS_BYTE, -103, ISOFileInfo.LCS_BYTE, -104, -108, -107, ISOFileInfo.DATA_BYTES2, -111, -109, -105, -106, -109, -110, -105, -109, -110, -109, ISOFileInfo.DATA_BYTES2, -106, -107, -110, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -109, -110, -111, -112, -113}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 15, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -110, -104, -105, -113, ISOFileInfo.LCS_BYTE, -105, -110, -103, -105, ISOFileInfo.LCS_BYTE, -112, -108, -105, ISOFileInfo.FILE_IDENTIFIER, -110, -104, -113, -103, -104, ISOFileInfo.DATA_BYTES2, -110, -104, -110, -110, -105, -103, ISOFileInfo.DATA_BYTES2, -103, -112, -112, -105, -102, -107, -106, ISOFileInfo.LCS_BYTE, -102, -104, -109, -111, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -106, -113, -111, -104, -113, -112, -104, -106, -104, -106, -103, ISOFileInfo.SECURITY_ATTR_EXP, -107, -111, -110, -104, ISOFileInfo.SECURITY_ATTR_EXP, -104, -110, ISOFileInfo.SECURITY_ATTR_EXP}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{'.', 14, '(', '\r', '/', 7, 13826, 13826, '*', '0', 11, 26, '%', 14, '\'', 20, 0, '*', '\r', '$', '%', '#', '\"', 6, 11, 20, 11, 22, 14, 11, 5, '!', 14, '%', '+', ',', ',', '*', 13742, 13742, '0', '$', '/', '\b', '\t', 7, 11, 21, '\'', 21, '.', 20, '\f', '*', '$', '\r', '#', '0', 7, '+', '.', 15, 20, '\"'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_otp_verify).substring(12, 17).codePointAt(1) - 76), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_rate_detail).substring(17, 18).length() + 63, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{'!', '\"', 30, '/', 22, 25, 13871, 13871, 23, '#', 0, '#', '\n', '0', 13937, 13937, 22, 18, '\t', ')', '+', 21, '*', 0, ' ', '\t', 19, '\"', 29, 18, 21, '.', '\"', '\f', 0, NistHelper.SEP_FS, '\"', 19, 27, 30, '+', 14, 27, 22, 20, '!', '+', 14, 27, 18, '\n', '0', 29, ' ', '+', '-', '&', 30, ',', '%', 24, 26, 26, NistHelper.SEP_FS, 30, '\n', '-', '\"', 23, 11, 23, ' ', NistHelper.SEP_FS, 26}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) + 12), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 41, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.installment_plans_general_terms_for_speedy_cash).substring(47, 48).length() + 126, new byte[]{-102, ISOFileInfo.FCI_EXT, -105, ISOFileInfo.FCI_EXT, -107}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{21, '.', ',', 20, '!', 5, 20, '%', '*', 11, '\'', 27, '\'', '*', 20, ',', 13818, 13818, '/', '+', '\'', 21, 11, '0', 6, 20, '*', '+', 21, 26, '\b', '0', 15, ',', '\'', 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.bot_verification_facial_locked_warning_message).substring(67, 68).length() + 78), ((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() + 35, 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(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) Color.alpha(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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
C4352bXk c4352bXk2 = this.presenter;
if (c4352bXk2 != null) {
c4352bXk = c4352bXk2;
} else {
C14957gcv.a("");
}
c4352bXk.e((C4352bXk) this);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
DopaConsentFragment.Sts sts = DopaConsentFragment.c;
DopaConsentFragment dopaConsentFragment = new DopaConsentFragment();
int i2 = t + 69;
p = i2 % 128;
int i3 = i2 % 2;
return dopaConsentFragment;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = t + 45;
p = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.c((Object) getString(R.string.ntb_dopa_consent_title), "");
throw null;
}
String string = getString(R.string.ntb_dopa_consent_title);
C14957gcv.c((Object) string, "");
return string;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public final boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = t + 101;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == 16908332) {
int i4 = t + 97;
p = i4 % 128;
int i5 = i4 % 2;
onBackPressed();
return true;
}
boolean onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i6 = p + 43;
t = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 62 / 0;
}
return onOptionsItemSelected;
}
@Override // o.C9413djK.HBt
public final void d() {
int i = 2 % 2;
TouchPointInstructionActivity.Sts sts = TouchPointInstructionActivity.f7672o;
DopaConsentActivity dopaConsentActivity = this;
C14957gcv.e(dopaConsentActivity, "");
C14957gcv.e(dopaConsentActivity, "");
Intent addFlags = new Intent(dopaConsentActivity, (Class<?>) TouchPointInstructionActivity.class).addFlags(603979776);
C14957gcv.c(addFlags, "");
startActivity(addFlags);
finish();
int i2 = p + 81;
t = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 73 / 0;
}
}
@Override // o.C9413djK.HBt
public final void b() {
int i = 2 % 2;
int i2 = t + 97;
p = i2 % 128;
setResult(i2 % 2 == 0 ? 28081 : 1112);
finish();
}
private static /* synthetic */ Object b(Object[] objArr) {
DopaConsentActivity dopaConsentActivity = (DopaConsentActivity) objArr[0];
int i = 2 % 2;
int i2 = t + 59;
p = i2 % 128;
int i3 = i2 % 2;
dopaConsentActivity.finish();
if (i3 == 0) {
int i4 = 26 / 0;
}
int i5 = t + 87;
p = i5 % 128;
int i6 = i5 % 2;
return null;
}
@Override // o.C9413djK.HBt
public final void c() {
int i = 2 % 2;
int i2 = t + 71;
p = i2 % 128;
int i3 = i2 % 2;
setResult(-1);
finish();
int i4 = t + 93;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.C9413djK.HBt
public final void a() {
int i = 2 % 2;
int i2 = t + 27;
p = i2 % 128;
int i3 = i2 % 2;
j(false);
int i4 = p + 79;
t = i4 % 128;
int i5 = i4 % 2;
}
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
int i2 = 2 % 2;
C3614bBe c3614bBe = new C3614bBe();
char[] cArr2 = l;
int i3 = 0;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i4]);
Object obj = xzZ.y.get(-950481649);
if (obj == null) {
Class cls = (Class) xzZ.c(337 - TextUtils.getTrimmedLength(""), Gravity.getAbsoluteGravity(i3, i3) + 5, (char) TextUtils.indexOf("", "", i3));
byte b2 = (byte) i3;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-950481649, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f7595o)};
Object obj2 = xzZ.y.get(-1521625011);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(283 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), ExpandableListView.getPackedPositionType(0L) + 5, (char) (39813 - Color.blue(0)));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 57, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1521625011, obj2);
}
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
if (q) {
int i5 = $10 + 1;
$11 = i5 % 128;
int i6 = i5 % 2;
c3614bBe.c = bArr.length;
char[] cArr4 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
Object[] objArr6 = {c3614bBe, c3614bBe};
Object obj3 = xzZ.y.get(1779759091);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(41 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) Color.argb(0, 0, 0, 0))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr4);
return;
}
int i7 = 0;
if (!k) {
c3614bBe.c = iArr.length;
char[] cArr5 = new char[c3614bBe.c];
while (true) {
c3614bBe.a = i7;
if (c3614bBe.a >= c3614bBe.c) {
break;
}
int i8 = $11 + 17;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
i7 = c3614bBe.a + 1;
}
String str = new String(cArr5);
int i10 = $11 + 31;
$10 = i10 % 128;
if (i10 % 2 != 0) {
throw null;
}
objArr[0] = str;
return;
}
c3614bBe.c = cArr.length;
char[] cArr6 = new char[c3614bBe.c];
c3614bBe.a = 0;
while (c3614bBe.a < c3614bBe.c) {
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
try {
Object[] objArr7 = {c3614bBe, c3614bBe};
Object obj4 = xzZ.y.get(1779759091);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 40, TextUtils.getCapsMode("", 0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("D", Object.class, Object.class);
xzZ.y.put(1779759091, obj4);
}
((Method) obj4).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.ndid.Hilt_DopaConsentActivity, 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;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{',', NistHelper.SEP_FS, 22, 19, ',', '&', 27, 19, '+', '-', '0', 16, '\r', 20, 30, '(', 16, ',', '\"', 30, 4, NistHelper.SEP_FS, 18, 22, '/', 21}, (byte) (28 - (ViewConfiguration.getScrollDefaultDelay() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_title_value).substring(0, 12).length() + 14, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{20, ')', 13801, 13801, 23, ' ', '\"', 5, 13803, 13803, 23, '$', 7, '0', 30, '(', ',', 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 103), (ViewConfiguration.getWindowTouchSlop() >> 8) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = p + 11;
t = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = p + 81;
t = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), TextUtils.indexOf("", "") + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = t + 7;
p = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.ndid.Hilt_DopaConsentActivity, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new char[]{',', NistHelper.SEP_FS, 22, 19, ',', '&', 27, 19, '+', '-', '0', 16, '\r', 20, 30, '(', 16, ',', '\"', 30, 4, NistHelper.SEP_FS, 18, 22, '/', 21}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_ncb_slip_commercial_popup_setting_title).substring(12, 13).length() + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 72, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{20, ')', 13801, 13801, 23, ' ', '\"', 5, 13803, 13803, 23, '$', 7, '0', 30, '(', ',', 31}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).codePointAt(217) - 14, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 17;
t = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = t + 21;
p = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
int i6 = p + 5;
t = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 13;
t = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0), 5 - KeyEvent.normalizeMetaState(0), (char) ExpandableListView.getPackedPositionType(0L))).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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i10 = t + 25;
p = i10 % 128;
if (i10 % 2 == 0) {
int i11 = 5 % 2;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3;
int i4 = 2;
int i5 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = s;
int i6 = 52;
int i7 = 6;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
int i9 = $10 + 113;
$11 = i9 % 128;
int i10 = i9 % i4;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i8])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - TextUtils.getOffsetAfter("", 0), MotionEvent.axisFromString("") + i7, (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
aC((byte) i6, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
int i11 = $10 + 1;
$11 = i11 % 128;
int i12 = i11 % 2;
i4 = 2;
i6 = 52;
i7 = 6;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(r)};
Object obj2 = xzZ.y.get(-1987398494);
int i13 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - TextUtils.indexOf("", "", 0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) 52, b4, (byte) (b4 - 1), 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 i14 = $11 + 99;
$10 = i14 % 128;
int i15 = i14 % 2;
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
} else {
i2 = i;
}
char c = 3;
if (i2 > 1) {
irs.e = 0;
int i16 = $10 + 123;
$11 = i16 % 128;
int i17 = i16 % 2;
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 - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
i3 = i13;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[6] = irs;
objArr6[i13] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[c] = irs;
objArr6[2] = Integer.valueOf(charValue);
objArr6[1] = irs;
objArr6[0] = irs;
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 233, ExpandableListView.getPackedPositionGroup(0L) + i13, (char) (22024 - ExpandableListView.getPackedPositionType(0L)));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 55, b5, (byte) (b5 - 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) {
i3 = 5;
} else {
Class cls4 = (Class) xzZ.c(327 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Color.alpha(0));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
aC((byte) 53, b6, (byte) (b6 - 1), objArr9);
String str = (String) objArr9[0];
i3 = 5;
obj4 = cls4.getMethod(str, 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 i18 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i18];
} else {
i3 = 5;
if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i19 = (irs.a * charValue) + irs.f;
int i20 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i19];
cArr4[irs.e + 1] = cArr2[i20];
} else {
int i21 = (irs.a * charValue) + irs.j;
int i22 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i21];
cArr4[irs.e + 1] = cArr2[i22];
}
}
}
irs.e += 2;
i13 = i3;
c = 3;
}
}
int i23 = $11 + 85;
$10 = i23 % 128;
if (i23 % 2 != 0) {
int i24 = 3 / 3;
}
int i25 = 0;
while (i25 < i) {
int i26 = $11 + 33;
$10 = i26 % 128;
if (i26 % 2 != 0) {
cArr4[i25] = (char) (cArr4[i25] ^ 20159);
i25 += 91;
} else {
cArr4[i25] = (char) (cArr4[i25] ^ 13722);
i25++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.ndid.Hilt_DopaConsentActivity, 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) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
Object obj = null;
ay(null, null, View.MeasureSpec.getSize(0) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(null, null, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2);
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 i2 = p + 123;
t = i2 % 128;
if (i2 % 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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(null, null, Color.argb(0, 0, 0, 0) + 127, new byte[]{-111, ISOFileInfo.SECURITY_ATTR_EXP, -105, ISOFileInfo.LCS_BYTE, -103, -107, -111, -106, -110, -110, ISOFileInfo.SECURITY_ATTR_EXP, -108, -113, -105, -103, -113, -113, ISOFileInfo.FILE_IDENTIFIER, -107, ISOFileInfo.LCS_BYTE, -103, ISOFileInfo.LCS_BYTE, -104, -108, -107, ISOFileInfo.DATA_BYTES2, -111, -109, -105, -106, -109, -110, -105, -109, -110, -109, ISOFileInfo.DATA_BYTES2, -106, -107, -110, ISOFileInfo.DATA_BYTES2, -108, ISOFileInfo.LCS_BYTE, -109, -110, -111, -112, -113}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(null, null, 127 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -110, -104, -105, -113, ISOFileInfo.LCS_BYTE, -105, -110, -103, -105, ISOFileInfo.LCS_BYTE, -112, -108, -105, ISOFileInfo.FILE_IDENTIFIER, -110, -104, -113, -103, -104, ISOFileInfo.DATA_BYTES2, -110, -104, -110, -110, -105, -103, ISOFileInfo.DATA_BYTES2, -103, -112, -112, -105, -102, -107, -106, ISOFileInfo.LCS_BYTE, -102, -104, -109, -111, ISOFileInfo.DATA_BYTES2, -104, ISOFileInfo.LCS_BYTE, -106, -113, -111, -104, -113, -112, -104, -106, -104, -106, -103, ISOFileInfo.SECURITY_ATTR_EXP, -107, -111, -110, -104, ISOFileInfo.SECURITY_ATTR_EXP, -104, -110, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{'.', 14, '(', '\r', '/', 7, 13826, 13826, '*', '0', 11, 26, '%', 14, '\'', 20, 0, '*', '\r', '$', '%', '#', '\"', 6, 11, 20, 11, 22, 14, 11, 5, '!', 14, '%', '+', ',', ',', '*', 13742, 13742, '0', '$', '/', '\b', '\t', 7, 11, 21, '\'', 21, '.', 20, '\f', '*', '$', '\r', '#', '0', 7, '+', '.', 15, 20, '\"'}, (byte) (3 - ExpandableListView.getPackedPositionType(0L)), (-16777152) - Color.rgb(0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{'!', '\"', 30, '/', 22, 25, 13871, 13871, 23, '#', 0, '#', '\n', '0', 13937, 13937, 22, 18, '\t', ')', '+', 21, '*', 0, ' ', '\t', 19, '\"', 29, 18, 21, '.', '\"', '\f', 0, NistHelper.SEP_FS, '\"', 19, 27, 30, '+', 14, 27, 22, 20, '!', '+', 14, 27, 18, '\n', '0', 29, ' ', '+', '-', '&', 30, ',', '%', 24, 26, 26, NistHelper.SEP_FS, 30, '\n', '-', '\"', 23, 11, 23, ' ', NistHelper.SEP_FS, 26}, (byte) (122 - KeyEvent.keyCodeFromString("")), 74 - TextUtils.indexOf("", ""), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(null, null, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 127, new byte[]{-102, ISOFileInfo.FCI_EXT, -105, ISOFileInfo.FCI_EXT, -107}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{21, '.', ',', 20, '!', 5, 20, '%', '*', 11, '\'', 27, '\'', '*', 20, ',', 13818, 13818, '/', '+', '\'', 21, 11, '0', 6, 20, '*', '+', 21, 26, '\b', '0', 15, ',', '\'', 22}, (byte) ((ViewConfiguration.getLongPressTimeout() >> 16) + 79), 35 - TextUtils.indexOf((CharSequence) "", '0'), 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(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, View.MeasureSpec.getSize(0) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).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);
int i3 = p + 99;
t = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 2 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i5 = t + 57;
p = i5 % 128;
int i6 = i5 % 2;
}
static void f() {
l = new char[]{15978, 15975, 15981, 16283, 16280, 15970, 15911, 16284, 15993, 15980, 15982, 15974, 16274, 15998, 15962, 15952, 15965, 15979, 15964, 15983, 15954, 15963, 15953, 15967, 15966, 15961};
f7595o = 1934310921;
k = true;
q = true;
s = new char[]{49127, 49137, 49148, 49149, 49144, 49146, 49138, 49029, 49109, 49093, 49151, 49112, 49024, 49104, 49136, 49089, 49031, 49147, 49035, 49090, 49053, 49088, 49119, 49108, 49033, 49110, 49111, 49028, 49118, 49098, 49117, 49052, 49115, 49095, 49094, 49105, 49026, 49114, 49126, 49150, 49145, 49027, 49106, 49030, 49091, 49116, 49054, 49034, 49025};
r = (char) 35374;
}
@Override // com.scb.phone.view.activity.ndid.Hilt_DopaConsentActivity, 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 = p + 113;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 3;
p = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public final void onBackPressed() {
d(new Object[]{this}, -1549500323, 1549500323, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1524517059);
}
@Override // o.C9413djK.HBt
public final void e() {
d(new Object[]{this}, -1123660746, 1123660747, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) + 1360909928);
}
static {
p = 1;
f();
b = new IeS((byte) 0);
int i = t + 37;
p = i % 128;
int i2 = i % 2;
}
}