what-the-bank/sources/o/AbstractActivityC11686ejy.java

807 lines
45 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
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.util.TypedValue;
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.view.activity.BaseActivityWithFragment;
import com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayTermsAndConditionsActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import org.jnbis.internal.NistHelper;
/* renamed from: o.ejy, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11686ejy extends BaseActivityWithFragment implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f9030o;
private static final byte[] $$p = {95, -10, ISO7816.INS_CREATE_FILE, 95};
private static final int $$q = 8;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int s = 1;
private static char[] l = {49034, 49053, 49025, 49095, 49112, 49115, 49118, 49030, 49029, 49037, 49106, 49104, 49105, 49036, 49108, 49090, 49114, 49111, 49088, 49110, 49028, 49123, 49027, 49094, 49033, 49026, 49054, 49089, 49117, 49031, 49039, 49093, 49119, 49091, 49052, 49116};
private static char m = 35375;
private static int[] r = {1609010532, -1735723477, 1000849270, 2130656201, -339044159, -498284636, 1213040960, -1213574667, -486011904, -2108594604, 1406709844, -1706415930, 765352156, -1884839105, -1693663913, 1116655992, 441832716, -471038356};
private final Object k = new Object();
boolean b = false;
/* 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:0x002e). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(int r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r8 = r8 + 4
byte[] r0 = o.AbstractActivityC11686ejy.$$p
int r6 = 120 - r6
int r7 = r7 * 4
int r1 = 1 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L15
r3 = r8
r4 = r2
r8 = r7
goto L2e
L15:
r3 = r2
L16:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r8]
int r3 = r3 + 1
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2e:
int r6 = -r6
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC11686ejy.aC(int, int, byte, java.lang.Object[]):void");
}
public AbstractActivityC11686ejy() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.ejy.1
private AbstractActivityC11686ejy b;
{
this.b = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11686ejy abstractActivityC11686ejy = this.b;
if (abstractActivityC11686ejy.b) {
return;
}
abstractActivityC11686ejy.b = true;
((InterfaceC11644ejI) abstractActivityC11686ejy.y_()).a((PromptPayTermsAndConditionsActivity) abstractActivityC11686ejy);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = t + 87;
s = i2 % 128;
int i3 = i2 % 2;
C13073fPt h = h();
if (i3 != 0) {
return h.y_();
}
h.y_();
Object obj = null;
obj.hashCode();
throw null;
}
private C13073fPt h() {
if (this.f9030o == null) {
synchronized (this.k) {
if (this.f9030o == null) {
this.f9030o = new C13073fPt(this);
}
}
}
return this.f9030o;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = t + 27;
s = i2 % 128;
Bundle bundle = null;
if (i2 % 2 == 0) {
super.getDefaultViewModelProviderFactory();
((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
getIntent();
bundle.hashCode();
throw null;
}
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
bundle = getIntent().getExtras();
int i3 = t + 89;
s = i3 % 128;
int i4 = i3 % 2;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
private static void aB(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = r;
int i3 = 729798706;
int i4 = 1;
int i5 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(iArr3[i6]);
Object obj = xzZ.y.get(Integer.valueOf(i3));
if (obj == null) {
Class cls = (Class) xzZ.c(15 - View.getDefaultSize(i5, i5), 5 - View.getDefaultSize(i5, i5), (char) (TextUtils.getTrimmedLength("") + 58134));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Integer.TYPE;
obj = cls.getMethod("i", clsArr);
xzZ.y.put(729798706, obj);
}
iArr4[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
i3 = 729798706;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = r;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i7 = 0;
while (i7 < length3) {
try {
Object[] objArr3 = new Object[i4];
objArr3[0] = Integer.valueOf(iArr6[i7]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
iArr2 = iArr6;
} else {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 16, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) (TextUtils.lastIndexOf("", '0') + 58135))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
xzZ.y.put(729798706, obj2);
}
iArr7[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
iArr6 = iArr2;
i4 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
iArr6 = iArr7;
}
char c = 0;
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
cArr[c] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i8 = $10 + 85;
$11 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < 16) {
c4403bZM.e ^= iArr5[i10];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 118, 5 - TextUtils.getTrimmedLength(""), (char) ((-1) - Process.getGidForName("")));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
aC((byte) ($$q << 1), b, (byte) (b - 1), objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i10++;
int i11 = $11 + 75;
$10 = i11 % 128;
int i12 = i11 % 2;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
int i13 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i13;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i14 = c4403bZM.e;
int i15 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr6 = {c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(1914371176);
if (obj4 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 98, 5 - Color.green(0), (char) TextUtils.indexOf("", ""));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 18, b2, (byte) (b2 - 1), objArr7);
obj4 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i16 = $11 + 83;
$10 = i16 % 128;
int i17 = i16 % 2;
c = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // 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 void onCreate(Bundle bundle) {
int i = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
ay(new char[]{16, '\"', 15, 29, '\"', 17, '\r', 5, 30, 23, 3, 19, 29, '!', 7, 23, 13894, 13894}, (byte) (93 - (ViewConfiguration.getWindowTouchSlop() >> 8)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{759257231, 1601716296, -363747178, 1243338698}, (ViewConfiguration.getTapTimeout() >> 16) + 5, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = s + 21;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aB(new int[]{-2093502525, -754832196, -1623811914, -304138069, -1563974965, 944847983, -1017298895, -1916339388, -178824657, 492106717, -420247844, -972578620, -412775660, -1258143320}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_request_review_caution_line4).substring(18, 19).length() + 25, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new int[]{264830333, -343101271, 1475465752, 1680367463, 676053163, -2003015960, 89403315, -689561454, 169544310, 853981222}, TextUtils.lastIndexOf("", '0') + 19, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = t + 111;
s = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
int i5 = t + 63;
s = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aB(new int[]{551117582, -281463061, 335394490, -1842071235, 190685243, 1485648494, -272065257, 960637258, 1403087965, -1072129156, 1191558385, 1436804886, 744731955, -859935677, 661713003, -1848257741, 1543153643, -1316985103, 1891133494, -227799204, -758771896, -437562585, 1750007826, 1003134588}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 14, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new int[]{1234909762, 2133009741, -1736089697, -1824298423, 1917906868, 801268032, -766960957, 703642716, -1731143151, -1776414190, 2019026116, -2005304998, 700303753, 111265683, 2146217325, 1044817780, -241742492, -322520143, -1062345711, -824573618, 1220706254, 1289469069, -1034250163, 1036869558, -389337317, 1554533884, 1387486329, -242471417, 99530128, 773080297, -1265729045, -409657889}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.remittance_success_slip_file_name).substring(0, 13).length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{680993268, 4203508, -660037600, 985431863, 1648546649, 314473774, 955841688, 248349780, 1237360816, 2067817293, -1976311147, -699524964, -1054768238, -1527737243, 67676344, -1594622945, 1959022905, 795875424, -1982782636, 978848612, 678765812, 1012974494, 810566718, -1603881631, 1658962863, -1518059568, -279109872, 1137286237, -951571992, -1844855454, -153135867, -1453270408}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.link_fact_sheet).substring(0, 36).length() + 28, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{0, 4, '\t', 3, 24, 30, 13775, 13775, 22, '\f', 11, 7, 17, 5, 13841, 13841, 21, 25, '\n', 17, '\b', '\"', 16, 6, '\"', '\n', 2, 4, 3, 29, 22, 7, 5, '\t', 6, 22, 4, 2, 17, 20, '\t', NistHelper.SEP_FS, '\f', 23, 17, 21, '\t', NistHelper.SEP_FS, 25, 7, 17, 5, '\n', 30, '\t', '\"', 22, 4, 22, '\"', '\r', 20, 21, 0, '#', ' ', 4, ' ', 25, 1, 22, 25, 0, 21}, (byte) ((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 26), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.speedy_cash_cdx_maximum_loan).substring(0, 23).codePointAt(5) - 3535, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{1955453537, -2125061741, -1840891325, -1880532738}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 93, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{22, 7, 5, 26, '\f', 5, NistHelper.SEP_FS, 23, ' ', 14, 23, 20, 14, 24, 26, 5, 13796, 13796, NistHelper.SEP_FS, '\b', '\r', 18, '\b', 29, 5, '\b', 4, '\b', 21, 20, 6, '\b', 25, 11, 31, 25}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 42), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 23, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), ExpandableListView.getPackedPositionType(0L) + 5, (char) (TextUtils.indexOf((CharSequence) "", '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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i7 = s + 25;
t = i7 % 128;
int i8 = i7 % 2;
}
@Override // 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 void onResume() {
int i = 2 % 2;
int i2 = t + 61;
s = i2 % 128;
if (i2 % 2 == 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{-2093502525, -754832196, -1623811914, -304138069, -1563974965, 944847983, -1017298895, -1916339388, -178824657, 492106717, -420247844, -972578620, -412775660, -1258143320}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 84, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{264830333, -343101271, 1475465752, 1680367463, 676053163, -2003015960, 89403315, -689561454, 169544310, 853981222}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = t + 13;
s = i3 % 128;
if (i3 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 45 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i5 = t + 89;
s = i5 % 128;
try {
if (i5 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getMode(0), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, '5' - AndroidCharacter.getMirror('0'), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, View.resolveSize(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0, 0), 4 - Process.getGidForName(""), (char) (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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 void onPause() {
int i = 2 % 2;
int i2 = s + 45;
t = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB(new int[]{-2093502525, -754832196, -1623811914, -304138069, -1563974965, 944847983, -1017298895, -1916339388, -178824657, 492106717, -420247844, -972578620, -412775660, -1258143320}, 26 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{264830333, -343101271, 1475465752, 1680367463, 676053163, -2003015960, 89403315, -689561454, 169544310, 853981222}, 17 - TextUtils.indexOf((CharSequence) "", '0', 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 65;
t = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = s + 73;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 493, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 5 - KeyEvent.getDeadChar(0, 0), (char) TextUtils.getOffsetAfter("", 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void ay(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3 = 2;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
long j = 0;
int i5 = 4;
char c2 = '\b';
char c3 = 0;
if (cArr2 != null) {
int i6 = $11 + 67;
$10 = i6 % 128;
int i7 = i6 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
int i9 = $11 + 91;
$10 = i9 % 128;
if (i9 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[c3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(297 - Process.getGidForName(""), (ViewConfiguration.getZoomControlsTimeout() > j ? 1 : (ViewConfiguration.getZoomControlsTimeout() == j ? 0 : -1)) + i5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b2 = (byte) ($$q - 5);
byte b3 = (byte) (b2 - 3);
Object[] objArr3 = new Object[1];
aC(b2, 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();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr4 = {Integer.valueOf(cArr2[i8])};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - TextUtils.getOffsetAfter("", 0), TextUtils.lastIndexOf("", '0', 0) + 6, (char) TextUtils.indexOf("", "", 0, 0));
byte b4 = (byte) ($$q - 5);
byte b5 = (byte) (b4 - 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
cArr3[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i8++;
}
i3 = 2;
j = 0;
i5 = 4;
c3 = 0;
}
int i10 = $11 + 27;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr2 = cArr3;
}
try {
Object[] objArr6 = {Integer.valueOf(m)};
Object obj3 = xzZ.y.get(-1987398494);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(298 - (KeyEvent.getMaxKeyCode() >> 16), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b6 = (byte) ($$q - 5);
byte b7 = (byte) (b6 - 3);
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj3);
}
char charValue = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i12 = $10 + 33;
$11 = i12 % 128;
int i13 = i12 % 2;
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);
int i14 = $10 + 79;
$11 = i14 % 128;
int i15 = i14 % 2;
c = c2;
} else {
Object[] objArr8 = new Object[13];
objArr8[12] = irs;
objArr8[11] = Integer.valueOf(charValue);
objArr8[10] = irs;
objArr8[9] = irs;
objArr8[c2] = Integer.valueOf(charValue);
objArr8[7] = irs;
objArr8[6] = irs;
objArr8[5] = Integer.valueOf(charValue);
objArr8[4] = irs;
objArr8[3] = irs;
objArr8[2] = Integer.valueOf(charValue);
objArr8[1] = irs;
objArr8[0] = irs;
Object obj4 = xzZ.y.get(822107368);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 232, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 22024));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[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, obj4);
}
if (((Integer) ((Method) obj4).invoke(null, objArr8)).intValue() == irs.j) {
int i16 = $10 + 81;
$11 = i16 % 128;
int i17 = i16 % 2;
Object[] objArr10 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj5 = xzZ.y.get(-1152873385);
if (obj5 != null) {
c = '\b';
} else {
Class cls5 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 327, View.resolveSize(0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b10 = (byte) ($$q >>> 2);
byte b11 = (byte) (b10 - 2);
Object[] objArr11 = new Object[1];
aC(b10, b11, (byte) (b11 - 1), objArr11);
c = '\b';
obj5 = cls5.getMethod((String) objArr11[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, obj5);
}
int intValue = ((Integer) ((Method) obj5).invoke(null, objArr10)).intValue();
int i18 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i18];
} else {
c = '\b';
if (irs.a == irs.d) {
int i19 = $11 + 111;
$10 = i19 % 128;
int i20 = i19 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i21 = (irs.a * charValue) + irs.f;
int i22 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i21];
cArr4[irs.e + 1] = cArr2[i22];
} else {
int i23 = (irs.a * charValue) + irs.j;
int i24 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i23];
cArr4[irs.e + 1] = cArr2[i24];
}
}
}
irs.e += 2;
c2 = c;
}
}
for (int i25 = 0; i25 < i; i25++) {
cArr4[i25] = (char) (cArr4[i25] ^ 13722);
}
String str = new String(cArr4);
int i26 = $11 + 97;
$10 = i26 % 128;
int i27 = i26 % 2;
objArr[0] = str;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
@Override // 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 void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new char[]{16, '\"', 15, 29, '\"', 17, '\r', 5, 30, 23, 3, 19, 29, '!', 7, 23, 13894, 13894}, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 94), (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)) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{759257231, 1601716296, -363747178, 1243338698}, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 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) {
int i2 = t + 105;
s = i2 % 128;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i3 = s + 27;
t = i3 % 128;
int i4 = i3 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), View.MeasureSpec.getMode(0) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new int[]{551117582, -281463061, 335394490, -1842071235, 190685243, 1485648494, -272065257, 960637258, 1403087965, -1072129156, 1191558385, 1436804886, 744731955, -859935677, 661713003, -1848257741, 1543153643, -1316985103, 1891133494, -227799204, -758771896, -437562585, 1750007826, 1003134588}, 49 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new int[]{1234909762, 2133009741, -1736089697, -1824298423, 1917906868, 801268032, -766960957, 703642716, -1731143151, -1776414190, 2019026116, -2005304998, 700303753, 111265683, 2146217325, 1044817780, -241742492, -322520143, -1062345711, -824573618, 1220706254, 1289469069, -1034250163, 1036869558, -389337317, 1554533884, 1387486329, -242471417, 99530128, 773080297, -1265729045, -409657889}, 64 - (Process.myPid() >> 22), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{680993268, 4203508, -660037600, 985431863, 1648546649, 314473774, 955841688, 248349780, 1237360816, 2067817293, -1976311147, -699524964, -1054768238, -1527737243, 67676344, -1594622945, 1959022905, 795875424, -1982782636, 978848612, 678765812, 1012974494, 810566718, -1603881631, 1658962863, -1518059568, -279109872, 1137286237, -951571992, -1844855454, -153135867, -1453270408}, 64 - (ViewConfiguration.getFadingEdgeLength() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{0, 4, '\t', 3, 24, 30, 13775, 13775, 22, '\f', 11, 7, 17, 5, 13841, 13841, 21, 25, '\n', 17, '\b', '\"', 16, 6, '\"', '\n', 2, 4, 3, 29, 22, 7, 5, '\t', 6, 22, 4, 2, 17, 20, '\t', NistHelper.SEP_FS, '\f', 23, 17, 21, '\t', NistHelper.SEP_FS, 25, 7, 17, 5, '\n', 30, '\t', '\"', 22, 4, 22, '\"', '\r', 20, 21, 0, '#', ' ', 4, ' ', 25, 1, 22, 25, 0, 21}, (byte) ((KeyEvent.getMaxKeyCode() >> 16) + 26), ((Process.getThreadPriority(0) + 20) >> 6) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{1955453537, -2125061741, -1840891325, -1880532738}, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{22, 7, 5, 26, '\f', 5, NistHelper.SEP_FS, 23, ' ', 14, 23, 20, 14, 24, 26, 5, 13796, 13796, NistHelper.SEP_FS, '\b', '\r', 18, '\b', 29, 5, '\b', 4, '\b', 21, 20, 6, '\b', 25, 11, 31, 25}, (byte) (57 - View.MeasureSpec.getMode(0)), (ViewConfiguration.getTapTimeout() >> 16) + 36, 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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 void onStart() {
int i = 2 % 2;
int i2 = s + 93;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = s + 93;
t = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}