what-the-bank/sources/com/scb/phone/view/activity/hml/HmlBaseAddressActivity.java

666 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
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.Base64;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.HmlAddressFragment;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC8540dOg;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C4593bdB;
import o.C5342brI;
import o.GJE;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC9269dgZ;
import o.SP;
import o.fIY;
import o.xzZ;
import o.zhU;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class HmlBaseAddressActivity extends AbstractActivityC8540dOg implements InterfaceC9269dgZ, HmlAddressFragment.RVV, fIY.HBt {
private static byte b;
private static int k;
private static long m;
/* renamed from: o, reason: collision with root package name */
private static long f7248o;
@InterfaceC13391fZD
public C5342brI presenter;
private static final byte[] $$E = {114, 119, 93, Ascii.EM};
private static final int $$F = CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0027). 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 aK(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 2
int r7 = 1 - r7
int r8 = 121 - r8
int r6 = r6 + 4
byte[] r0 = com.scb.phone.view.activity.hml.HmlBaseAddressActivity.$$E
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r3 = r8
r4 = r2
r8 = r7
goto L27
L13:
r3 = r2
L14:
int r4 = r3 + 1
int r6 = r6 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r3 = r0[r6]
L27:
int r8 = r8 + r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBaseAddressActivity.aK(int, int, short, java.lang.Object[]):void");
}
protected abstract int h();
private void aJ(String str, Object[] objArr) {
byte[] decode;
int length;
int i = 2 % 2;
int i2 = l + 99;
k = i2 % 128;
if (i2 % 2 == 0) {
decode = Base64.decode(str, 1);
length = decode.length;
} else {
decode = Base64.decode(str, 0);
length = decode.length;
}
byte[] bArr = new byte[length];
int i3 = 0;
while (i3 < decode.length) {
bArr[i3] = (byte) (decode[(decode.length - i3) - 1] ^ b);
i3++;
int i4 = k + 119;
l = i4 % 128;
int i5 = i4 % 2;
}
objArr[0] = new String(bArr, StandardCharsets.UTF_8);
}
private static void aI(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(f7248o ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 91;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(f7248o)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - TextUtils.getCapsMode("", 0, 0), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (1705 - MotionEvent.axisFromString("")));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aK(b2, b3, (byte) (b3 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 392, 5 - TextUtils.getTrimmedLength(""), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aK(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i7 = $11 + 121;
$10 = i7 % 128;
int i8 = i7 % 2;
i3 = 4;
} 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;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
private static void aG(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 402, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (21608 - View.combineMeasuredStates(0, 0)));
byte b2 = (byte) (-1);
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
aK(b2, b3, (byte) (b3 | ISO7816.INS_UNBLOCK_CHV), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (m ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 237, 5 - (Process.myTid() >> 22), (char) TextUtils.indexOf("", ""));
byte b4 = (byte) (-1);
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
aK(b4, b5, (byte) (b5 | 43), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $11 + 113;
$10 = i4 % 128;
int i5 = i4 % 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;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 47;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 238, Gravity.getAbsoluteGravity(0, 0) + 5, (char) View.MeasureSpec.getMode(0));
byte b6 = (byte) (-1);
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
aK(b6, b7, (byte) (b7 | 43), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC8540dOg, 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[]{3152, 49016, 27163, 5430, 49346, 29595, 16063, 59918, 38246, 16413, 62361, 48844, 27031, 5285, 49264, 29469, 15922, 59861}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 45829, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{356, 265, 40214, 49585, 16609, 31480, 12622, 43405, 30520}, ViewConfiguration.getFadingEdgeLength() >> 16, 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 = k + 47;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aG(new char[]{3152, 37546, 12735, 53404, 30602, 5777, 46571, 21676, 64504, 39644, 14803, 55448, 32524, 7715, 48419, 23555, 58135, 33309, 8575, 49255, 26433, 1600, 42317, 17495, 60072, 35256}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 40693, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI(new char[]{15637, 15734, 37290, 37949, 19537, 12115, 58940, 32484, 19272, 8185, 7795, 59551, 53525, 34271, 34995, 25423, 24542, 3078, 13027, 7431, 58778, 64081}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_email_verification_body_statement_channel).substring(58, 59).codePointAt(0) - 32, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = k + 13;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = l + 3;
k = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((-16776724) - Color.rgb(0, 0, 0), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aI(new char[]{31391, 31406, 8437, 50360, 64844, 32656, 16524, 55364, 3220, 44777, 20130, 19983, 38541, 13451, 55342, 50679, 6148, 48408, 25191, 48102, 41501, 19217, 60510, 12606, 13748, 53726, 30149, 42871, 49065, 24484, 65439, 7491, 16756, 58467, 35152, 38031, 52078, 29239, 4980, 2775, 23809, 63663, 40166, 32844, 58525, 34502, 9957, 30307, 28308, 3202, 45169, 60842}, ViewConfiguration.getMinimumFlingVelocity() >> 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG(new char[]{3156, 16542, 38301, 59955, 16179, 35922, 49355, 5523, 27196, 48945, 3073, 16584, 38303, 60014, 16176, 35843, 49367, 5528, 27242, 48948, 3158, 16598, 38350, 60014, 16186, 35842, 49363, 5581, 27247, 48945, 3079, 16602, 38310, 60011, 16190, 35927, 49360, 5544, 27197, 49000, 3087, 16518, 38386, 60008, 16184, 35849, 49361, 5616, 27173, 48948, 3165, 16593, 38390, 60024, 16186, 35928, 49361, 5623, 27250, 48950, 3083, 16522, 38390, 59943}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_mcmc_feature_information_increase_loan_limit).substring(23, 24).codePointAt(0) + 19629, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{27841, 27808, 22887, 50303, 34001, 32595, 35681, 5112, 6808, 55076, 20066, 34278, 32899, 19734, 55532, 3614, 3595, 50387, 25255, 28683, 46144, 13021, 60617, 64219, 9192, 43079, 30032, 27793, 43506, 9783, 65369, 55038, 22385, 40433, 35278, 24375, 56629, 3069, 5102, 49470, 19212, 33125, 40054, 19442, 62148, 65375, 9770, 48520, 30927, 30020, 45281, 9750, 58883, 60570, 15069, 43027, 27695, 23182, 50327, 4741, 7137, 53294, 19737, 33978, 33212, 20031, 55124, 3748}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_national_id_exp_header).substring(0, 29).length() - 29, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{42669, 42693, 1017, 57580, 56835, 23428, 48992, 10170, 53478, 36351, 27391, 45485, 19118, 6036, 64617, 14871, 50278, 40538, 17965, 17503, 32296, 26655, 51227, 52867, 59860, 62153, 20946, 22723, 25491, 31926, 56262, 58094, 40269, 51047, 44357, 27443, 5913, 20782, 14137, 62841, 33057, 56235, 47351, 32695, 14588, 42447, 684, 35273, 45748, 12160, 37985, 4608, 11368, 46595, 7771, 40005, 42520, 'J', 57361, 9874, 53716, 35506, 27073, 45236, 19330, 5296, 62355, 15078, 50434, 40827, 17706, 17253, 32624, 26931, 53045, 52588, 59689, 62222}, Process.myPid() >> 22, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aI(new char[]{18663, 18654, 2105, 13118, 54681, 34842, 6222, 32970, 16111}, View.MeasureSpec.getSize(0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aI(new char[]{24702, 24603, 26240, 52144, 47983, 28830, 59387, 32613, 5666, 59536, 16894, 59689, 35875, 29351, 55074, 25220, 692, 64372, 28014, 7323, 47279, 3376, 58191, 38416, 12036, 38828, 31433, 20, 42268, 6610, 61632, 47712, 23489, 41500, 34393, 13308, 53642, 13332, 7283, 44532}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 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(Gravity.getAbsoluteGravity(0, 0) + 487, '5' - AndroidCharacter.getMirror('0'), (char) (Process.myTid() >> 22))).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.2131558574);
ButterKnife.Dg_(this);
Z();
this.presenter.e((C5342brI) this);
C5342brI c5342brI = this.presenter;
GJE.Sts sts = (GJE.Sts) getIntent().getSerializableExtra("com.scb.phone.EXTRA_ADDRESS_TYPE");
C14957gcv.e(sts, "");
if (c5342brI.f != 0) {
c5342brI.f.y();
}
zhU zhu = c5342brI.a;
zhu.d(zhu.b(sts), new C5342brI.RVV(c5342brI, sts));
int i8 = k + 3;
l = i8 % 128;
int i9 = i8 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = k + 81;
l = i2 % 128;
int i3 = i2 % 2;
super.Z();
String string = getString(h());
if (string.startsWith(",*,)")) {
int i4 = k + 7;
l = i4 % 128;
if (i4 % 2 != 0) {
Object[] objArr = new Object[1];
aJ(string.substring(4), objArr);
((String) objArr[0]).intern();
throw null;
}
Object[] objArr2 = new Object[1];
aJ(string.substring(4), objArr2);
string = ((String) objArr2[0]).intern();
}
p(string);
ac();
}
@Override // com.scb.phone.view.fragment.hml.HmlAddressFragment.RVV
public void d(String str) {
int i = 2 % 2;
setResult(-1, new Intent().putExtra("com.scb.phone.EXTRA_RESULT_ADDRESS", str));
finish();
int i2 = k + 7;
l = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.InterfaceC9269dgZ
public void c(SP sp, GJE.Sts sts) {
int i = 2 % 2;
int i2 = k + 3;
l = i2 % 128;
int i3 = i2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container, HmlAddressFragment.c(sp, sts), null, 1);
a.b();
int i4 = l + 71;
k = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 12 / 0;
}
}
@Override // o.AbstractActivityC8540dOg, 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];
aG(new char[]{3152, 37546, 12735, 53404, 30602, 5777, 46571, 21676, 64504, 39644, 14803, 55448, 32524, 7715, 48419, 23555, 58135, 33309, 8575, 49255, 26433, 1600, 42317, 17495, 60072, 35256}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_enter_pin).substring(12, 13).codePointAt(0) + 40661, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{15637, 15734, 37290, 37949, 19537, 12115, 58940, 32484, 19272, 8185, 7795, 59551, 53525, 34271, 34995, 25423, 24542, 3078, 13027, 7431, 58778, 64081}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.installment_plans_general_terms).substring(117, 118).length() - 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = k + 125;
l = i2 % 128;
if (i2 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 57 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i4 = k + 55;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = k + 5;
l = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), 5 - (Process.myPid() >> 22), (char) View.resolveSizeAndState(0, 0, 0))).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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).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 // o.AbstractActivityC8540dOg, 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) {
int i2 = k + 47;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new char[]{3152, 37546, 12735, 53404, 30602, 5777, 46571, 21676, 64504, 39644, 14803, 55448, 32524, 7715, 48419, 23555, 58135, 33309, 8575, 49255, 26433, 1600, 42317, 17495, 60072, 35256}, View.resolveSizeAndState(0, 0, 0) + 40693, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{15637, 15734, 37290, 37949, 19537, 12115, 58940, 32484, 19272, 8185, 7795, 59551, 53525, 34271, 34995, 25423, 24542, 3078, 13027, 7431, 58778, 64081}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = k + 19;
l = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, ImageFormat.getBitsPerPixel(0) + 6, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - View.resolveSize(0, 0), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) Color.argb(0, 0, 0, 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((ViewConfiguration.getPressedStateDuration() >> 16) + 487, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).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 // o.AbstractActivityC8540dOg, 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) {
int i = 2 % 2;
int i2 = k + 67;
l = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aG(new char[]{3152, 49016, 27163, 5430, 49346, 29595, 16063, 59918, 38246, 16413, 62361, 48844, 27031, 5285, 49264, 29469, 15922, 59861}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 45862, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI(new char[]{356, 265, 40214, 49585, 16609, 31480, 12622, 43405, 30520}, Color.alpha(0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = l + 3;
k = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aI(new char[]{31391, 31406, 8437, 50360, 64844, 32656, 16524, 55364, 3220, 44777, 20130, 19983, 38541, 13451, 55342, 50679, 6148, 48408, 25191, 48102, 41501, 19217, 60510, 12606, 13748, 53726, 30149, 42871, 49065, 24484, 65439, 7491, 16756, 58467, 35152, 38031, 52078, 29239, 4980, 2775, 23809, 63663, 40166, 32844, 58525, 34502, 9957, 30307, 28308, 3202, 45169, 60842}, View.getDefaultSize(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aG(new char[]{3156, 16542, 38301, 59955, 16179, 35922, 49355, 5523, 27196, 48945, 3073, 16584, 38303, 60014, 16176, 35843, 49367, 5528, 27242, 48948, 3158, 16598, 38350, 60014, 16186, 35842, 49363, 5581, 27247, 48945, 3079, 16602, 38310, 60011, 16190, 35927, 49360, 5544, 27197, 49000, 3087, 16518, 38386, 60008, 16184, 35849, 49361, 5616, 27173, 48948, 3165, 16593, 38390, 60024, 16186, 35928, 49361, 5623, 27250, 48950, 3083, 16522, 38390, 59943}, TextUtils.indexOf("", "") + 19661, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aI(new char[]{27841, 27808, 22887, 50303, 34001, 32595, 35681, 5112, 6808, 55076, 20066, 34278, 32899, 19734, 55532, 3614, 3595, 50387, 25255, 28683, 46144, 13021, 60617, 64219, 9192, 43079, 30032, 27793, 43506, 9783, 65369, 55038, 22385, 40433, 35278, 24375, 56629, 3069, 5102, 49470, 19212, 33125, 40054, 19442, 62148, 65375, 9770, 48520, 30927, 30020, 45281, 9750, 58883, 60570, 15069, 43027, 27695, 23182, 50327, 4741, 7137, 53294, 19737, 33978, 33212, 20031, 55124, 3748}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI(new char[]{42669, 42693, 1017, 57580, 56835, 23428, 48992, 10170, 53478, 36351, 27391, 45485, 19118, 6036, 64617, 14871, 50278, 40538, 17965, 17503, 32296, 26655, 51227, 52867, 59860, 62153, 20946, 22723, 25491, 31926, 56262, 58094, 40269, 51047, 44357, 27443, 5913, 20782, 14137, 62841, 33057, 56235, 47351, 32695, 14588, 42447, 684, 35273, 45748, 12160, 37985, 4608, 11368, 46595, 7771, 40005, 42520, 'J', 57361, 9874, 53716, 35506, 27073, 45236, 19330, 5296, 62355, 15078, 50434, 40827, 17706, 17253, 32624, 26931, 53045, 52588, 59689, 62222}, View.resolveSize(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aI(new char[]{18663, 18654, 2105, 13118, 54681, 34842, 6222, 32970, 16111}, (-1) - TextUtils.lastIndexOf("", '0', 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aI(new char[]{24702, 24603, 26240, 52144, 47983, 28830, 59387, 32613, 5666, 59536, 16894, 59689, 35875, 29351, 55074, 25220, 692, 64372, 28014, 7323, 47279, 3376, 58191, 38416, 12036, 38828, 31433, 20, 42268, 6610, 61632, 47712, 23489, 41500, 34393, 13308, 53642, 13332, 7283, 44532}, (-1) - ImageFormat.getBitsPerPixel(0), 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(TextUtils.getOffsetBefore("", 0) + 487, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void g() {
m = -5213781504176939017L;
f7248o = 901200894704354769L;
}
static {
k = 1;
g();
b = (byte) 6;
int i = l + 77;
k = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC8540dOg, 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 = l + 21;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = k + 21;
l = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.fIY.HBt
public final void c(Fragment fragment) {
int i = 2 % 2;
int i2 = l + 75;
k = i2 % 128;
if (i2 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.fIY.HBt
public final void e(String str) {
int i = 2 % 2;
int i2 = l + 79;
k = i2 % 128;
int i3 = i2 % 2;
}
@Override // o.fIY.HBt
public final void au_() {
int i = 2 % 2;
int i2 = k + 23;
l = i2 % 128;
int i3 = i2 % 2;
}
}