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

734 lines
41 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.drawable.Drawable;
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.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 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.view.activity.BaseActivity;
import com.scb.phone.view.activity.pinchange.PinChangeActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.efZ, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC11449efZ extends BaseActivity implements fPA {
private volatile C13073fPt m;
private static final byte[] $$g = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN};
private static final int $$h = 115;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int t = 1;
/* renamed from: o, reason: collision with root package name */
private static char[] f8996o = {49093, 49090, 49053, 49035, 49092, 48169, 49028, 49104, 49105, 49112, 49109, 49025, 49123, 49088, 49054, 48173, 49108, 48171, 48168, 49119, 49110, 49114, 49026, 48172, 49091, 49111, 49098, 49095, 49116, 49127, 49052, 49030, 49117, 49115, 49113, 49138, 49106, 49089, 49027, 49029, 49024, 49033, 49031, 48175, 49034, 49107, 49118, 49094, 48170};
private static char l = 35374;
private static char[] s = {40048, 40179, 40186, 40178, 40206, 40041, 40144, 40145, 40141, 40149, 40185, 40191, 40190, 40151, 40144, 40151, 40141, 40142, 40136, 40150, 40148, 40149, 40150, 40131, 40140, 40143, 40144, 40184, 40191, 40189, 40151, 40142, 40140, 40143, 40137, 40144, 40148, 40148, 40150, 40150, 40150, 40148, 40171, 40149, 40144, 40143, 40141, 40141, 40136, 40144, 40149, 40141, 40144, 39959, 39992, 39992, 39992, 39972};
private final Object k = new Object();
boolean b = false;
private static void az(byte b, short s2, int i, Object[] objArr) {
int i2 = b * 3;
int i3 = s2 + 4;
byte[] bArr = $$g;
int i4 = i + 71;
byte[] bArr2 = new byte[i2 + 1];
int i5 = -1;
if (bArr == null) {
i5 = -1;
i4 = (-i3) + i2;
i3 = i3;
}
while (true) {
int i6 = i5 + 1;
int i7 = i3 + 1;
bArr2[i6] = (byte) i4;
if (i6 == i2) {
objArr[0] = new String(bArr2, 0);
return;
}
i5 = i6;
i4 = (-bArr[i7]) + i4;
i3 = i7;
}
}
public AbstractActivityC11449efZ() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.efZ.5
private AbstractActivityC11449efZ e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC11449efZ abstractActivityC11449efZ = this.e;
if (abstractActivityC11449efZ.b) {
return;
}
abstractActivityC11449efZ.b = true;
((InterfaceC11445efV) abstractActivityC11449efZ.y_()).d((PinChangeActivity) abstractActivityC11449efZ);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 61;
t = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
j().y_();
throw null;
}
Object y_ = j().y_();
int i3 = r + 49;
t = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
obj.hashCode();
throw null;
}
private C13073fPt j() {
if (this.m == null) {
synchronized (this.k) {
if (this.m == null) {
this.m = new C13073fPt(this);
}
}
}
return this.m;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
Bundle bundle;
int i = 2 % 2;
VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory();
C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a();
if (getIntent() != null) {
int i2 = t + 123;
r = i2 % 128;
int i3 = i2 % 2;
bundle = getIntent().getExtras();
int i4 = t + 59;
r = i4 % 128;
int i5 = i4 % 2;
} else {
bundle = null;
}
return a.aBN_(this, bundle, defaultViewModelProviderFactory);
}
@Override // 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];
ax(new char[]{'\'', 29, 23, '\'', '#', NistHelper.SEP_FS, 23, 4, '\"', 7, 5, '\t', '#', 30, '\r', 14, 13844, 13844}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 30), KeyEvent.getDeadChar(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = r + 25;
t = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{'\'', 29, 23, '\'', '#', NistHelper.SEP_FS, 23, 4, '&', 22, 23, 3, '*', 14, 21, 22, 7, NistHelper.SEP_FS, 21, 27, 30, '\"', ')', 16, '\'', 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 20), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 73, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{'\f', '*', 13816, 13816, 18, '\"', 21, ')', 13818, 13818, 14, 26, '\b', '#', 21, 22, 29, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_debit_card_confirm_change_pin_popup_message).substring(21, 22).codePointAt(0) - 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 45;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 5 % 2;
}
}
if (baseContext != null) {
int i6 = r + 99;
t = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{5, 48, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 13}, true, new byte[]{0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{15, '\r', ')', 18, '$', 11, '+', '-', 17, '\"', 18, '.', 18, '.', 1, 27, '#', '.', 25, '\b', 11, '#', '#', '+', ')', '(', '#', '\n', '\t', '.', '-', '\n', 13742, 13742, 29, '&', '&', '\n', 13817, 13817, '$', 11, '%', '(', 29, 24, '$', 11, 24, 4, '\r', 3, '\n', 0, 29, '\n', 0, '\n', 24, 1, '$', 11, ')', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_mcmc_car_registration_no_title).substring(18, 19).codePointAt(0) - 3584), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{'&', 1, '\'', ')', '%', ')', 13860, 13860, '\t', '.', ')', 19, 7, '+', '-', '\n', '+', 15, 17, '-', 24, '$', 4, '\r', '\n', 0, '\r', 17, 4, '&', '.', 23, '+', 7, '&', 29, ' ', '\n', 13776, 13776, '&', '-', '!', '&', 11, '\b', ')', 18, '\r', 15, '\n', 4, '%', '.', '-', 17, '\'', '%', '\b', '&', '&', '\n', '\r', 0}, (byte) (38 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{'\"', 26, 21, 25, 20, '0', 13865, 13865, 7, 27, '\'', '+', 14, '#', 13931, 13931, 16, ')', 14, NistHelper.SEP_FS, '(', 15, 15, '+', 30, 11, 6, 23, 30, '(', 15, ')', 21, '\r', ')', '\b', 23, 6, 19, ',', '%', '&', 27, 11, 5, '+', '%', '&', 16, 6, 14, '#', ',', ' ', '&', 22, 23, NistHelper.SEP_FS, 25, NistHelper.SEP_FS, 17, 14, 20, '\"', NistHelper.SEP_FS, 2, '\t', ' ', 14, 6, 18, '\"', '\"', 20}, (byte) (View.resolveSize(0, 0) + 116), TextUtils.indexOf("", "", 0, 0) + 74, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{53, 5, 0, 5}, false, new byte[]{1, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(new char[]{15, ')', 7, '.', 23, '.', '-', '#', 18, '#', ')', 17, 7, 15, '.', 7, 13777, 13777, 15, '#', '\r', 15, 14, 21, '\f', '\b', '\b', '\'', '\r', 27, '\n', NistHelper.SEP_FS, '-', NistHelper.SEP_FS, 27, 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_scbone_occupation_display_month).substring(0, 3).length() + 35), 36 - (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)), 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((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) TextUtils.getOffsetAfter("", 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);
int i8 = t + 13;
r = i8 % 128;
int i9 = i8 % 2;
}
@Override // 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];
ax(new char[]{'\'', 29, 23, '\'', '#', NistHelper.SEP_FS, 23, 4, '&', 22, 23, 3, '*', 14, 21, 22, 7, NistHelper.SEP_FS, 21, 27, 30, '\"', ')', 16, '\'', 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_personal_info_date_hint).substring(2, 3).length() + 32), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{'\f', '*', 13816, 13816, 18, '\"', 21, ')', 13818, 13818, 14, 26, '\b', '#', 21, 22, 29, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 18), 18 - TextUtils.indexOf("", "", 0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = t + 31;
r = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 65;
t = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = t + 13;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 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(487 - Color.green(0), TextUtils.getTrimmedLength("") + 5, (char) TextUtils.getCapsMode("", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char c;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = s;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > f ? 1 : (AudioTrack.getMinVolume() == f ? 0 : -1)) + 223, 5 - View.combineMeasuredStates(i3, i3), (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 41977));
byte b = (byte) i3;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i9 = $10 + 29;
$11 = i9 % 128;
if (i9 % 2 == 0) {
cArr = new char[i5];
c = 0;
tvh.c = 0;
} else {
cArr = new char[i5];
tvh.c = 0;
c = 0;
}
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i10 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - TextUtils.getTrimmedLength(""), Gravity.getAbsoluteGravity(0, 0) + 5, (char) (View.MeasureSpec.getSize(0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i11 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getScrollBarSize() >> 8), 5 - View.MeasureSpec.getMode(0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 58135))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr[i11] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((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)) + 402, Drawable.resolveOpacity(0, 0) + 5, (char) (21607 - TextUtils.lastIndexOf("", '0', 0, 0)));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 3), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr;
}
if (i7 > 0) {
int i12 = $10 + 91;
$11 = i12 % 128;
if (i12 % 2 == 0) {
char[] cArr5 = new char[i5];
System.arraycopy(cArr4, 1, cArr5, 0, i5);
System.arraycopy(cArr5, 0, cArr4, i5 - i7, i7);
System.arraycopy(cArr5, i7, cArr4, 0, i5 * i7);
} else {
char[] cArr6 = new char[i5];
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i13 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i13, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i13);
}
int i14 = $11 + 19;
$10 = i14 % 128;
int i15 = i14 % 2;
}
if (!(!z)) {
char[] cArr7 = new char[i5];
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i5) {
break;
}
int i17 = $10 + 19;
$11 = i17 % 128;
int i18 = i17 % 2;
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i16 = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i19 = $10 + 49;
$11 = i19 % 128;
int i20 = i19 % 2;
tvh.c = 0;
while (tvh.c < i5) {
int i21 = $11 + 55;
$10 = i21 % 128;
if (i21 % 2 != 0) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[3]);
i = tvh.c % 1;
} else {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i = tvh.c + 1;
}
tvh.c = i;
int i22 = $10 + 73;
$11 = i22 % 128;
int i23 = i22 % 2;
}
}
objArr[0] = new String(cArr4);
}
@Override // 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new char[]{'\'', 29, 23, '\'', '#', NistHelper.SEP_FS, 23, 4, '&', 22, 23, 3, '*', 14, 21, 22, 7, NistHelper.SEP_FS, 21, 27, 30, '\"', ')', 16, '\'', 22}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.installment_plans_general_terms_for_speedy_cash).substring(47, 48).length() + 32), TextUtils.getTrimmedLength("") + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{'\f', '*', 13816, 13816, 18, '\"', 21, ')', 13818, 13818, 14, 26, '\b', '#', 21, 22, 29, '!'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 30), 17 - TextUtils.indexOf((CharSequence) "", '0'), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 29;
r = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = r + 107;
t = i3 % 128;
int i4 = i3 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 487, View.MeasureSpec.getMode(0) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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 ax(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
char c;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = f8996o;
char c2 = '0';
long j = 0;
int i5 = 6;
int i6 = 1;
if (cArr2 != null) {
int i7 = $11 + 117;
$10 = i7 % 128;
int i8 = i7 % 2;
int length = cArr2.length;
char[] cArr3 = new char[length];
int i9 = 0;
while (i9 < length) {
int i10 = $11 + 35;
$10 = i10 % 128;
int i11 = i10 % 2;
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(cArr2[i9]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((-16776918) - Color.rgb(0, 0, 0), ExpandableListView.getPackedPositionChild(j) + i5, (char) ((-1) - TextUtils.lastIndexOf("", c2)));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
az(b2, b3, (byte) (b3 & 46), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i9++;
c2 = '0';
j = 0;
i5 = 6;
i6 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(l)};
Object obj2 = xzZ.y.get(-1987398494);
char c3 = 5;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(298 - Color.blue(0), 5 - ExpandableListView.getPackedPositionType(0L), (char) (MotionEvent.axisFromString("") + 1));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 - 1);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 & 46), 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
int i12 = 1;
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + i12];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
c = c3;
i3 = 1;
} else {
try {
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[c3] = Integer.valueOf(charValue);
objArr6[4] = irs;
objArr6[3] = 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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 232, '5' - AndroidCharacter.getMirror('0'), (char) (22024 - View.getDefaultSize(0, 0)));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 - 1);
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 & 49), 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) {
int i13 = $10 + 37;
$11 = i13 % 128;
int i14 = i13 % 2;
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) {
c = 5;
} else {
Class cls4 = (Class) xzZ.c(327 - TextUtils.indexOf("", "", 0, 0), Color.red(0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 - 1);
Object[] objArr9 = new Object[1];
az(b8, b9, (byte) (b9 & 47), objArr9);
c = 5;
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i15];
} else {
c = 5;
if (irs.a == irs.d) {
int i16 = $11 + 97;
$10 = i16 % 128;
int i17 = i16 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i18 = (irs.a * charValue) + irs.f;
int i19 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
} else {
int i20 = (irs.a * charValue) + irs.j;
int i21 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i20];
i3 = 1;
cArr4[irs.e + 1] = cArr2[i21];
}
}
i3 = 1;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
irs.e += 2;
i12 = i3;
c3 = c;
}
}
for (int i22 = 0; i22 < i; i22++) {
cArr4[i22] = (char) (cArr4[i22] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{'\'', 29, 23, '\'', '#', NistHelper.SEP_FS, 23, 4, '\"', 7, 5, '\t', '#', 30, '\r', 14, 13844, 13844}, (byte) (43 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), TextUtils.getOffsetAfter("", 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{0, 5, CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 81;
r = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context = context.getApplicationContext();
}
if (context != null) {
int i4 = t + 35;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, Color.rgb(0, 0, 0) + 16777221, (char) TextUtils.indexOf("", ""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{5, 48, CipherSuite.TLS_DHE_PSK_WITH_AES_256_CBC_SHA, 13}, true, new byte[]{0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{15, '\r', ')', 18, '$', 11, '+', '-', 17, '\"', 18, '.', 18, '.', 1, 27, '#', '.', 25, '\b', 11, '#', '#', '+', ')', '(', '#', '\n', '\t', '.', '-', '\n', 13742, 13742, 29, '&', '&', '\n', 13817, 13817, '$', 11, '%', '(', 29, 24, '$', 11, 24, 4, '\r', 3, '\n', 0, 29, '\n', 0, '\n', 24, 1, '$', 11, ')', 15}, (byte) (TextUtils.getOffsetAfter("", 0) + 1), (ViewConfiguration.getTapTimeout() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{'&', 1, '\'', ')', '%', ')', 13860, 13860, '\t', '.', ')', 19, 7, '+', '-', '\n', '+', 15, 17, '-', 24, '$', 4, '\r', '\n', 0, '\r', 17, 4, '&', '.', 23, '+', 7, '&', 29, ' ', '\n', 13776, 13776, '&', '-', '!', '&', 11, '\b', ')', 18, '\r', 15, '\n', 4, '%', '.', '-', 17, '\'', '%', '\b', '&', '&', '\n', '\r', 0}, (byte) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 36), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{'\"', 26, 21, 25, 20, '0', 13865, 13865, 7, 27, '\'', '+', 14, '#', 13931, 13931, 16, ')', 14, NistHelper.SEP_FS, '(', 15, 15, '+', 30, 11, 6, 23, 30, '(', 15, ')', 21, '\r', ')', '\b', 23, 6, 19, ',', '%', '&', 27, 11, 5, '+', '%', '&', 16, 6, 14, '#', ',', ' ', '&', 22, 23, NistHelper.SEP_FS, 25, NistHelper.SEP_FS, 17, 14, 20, '\"', NistHelper.SEP_FS, 2, '\t', ' ', 14, 6, 18, '\"', '\"', 20}, (byte) (((Process.getThreadPriority(0) + 20) >> 6) + 116), View.MeasureSpec.makeMeasureSpec(0, 0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{53, 5, 0, 5}, false, new byte[]{1, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{15, ')', 7, '.', 23, '.', '-', '#', 18, '#', ')', 17, 7, 15, '.', 7, 13777, 13777, 15, '#', '\r', 15, 14, 21, '\f', '\b', '\b', '\'', '\r', 27, '\n', NistHelper.SEP_FS, '-', NistHelper.SEP_FS, 27, 15}, (byte) (37 - TextUtils.lastIndexOf("", '0')), (KeyEvent.getMaxKeyCode() >> 16) + 36, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getWindowTouchSlop() >> 8), (Process.myTid() >> 22) + 5, (char) ('0' - AndroidCharacter.getMirror('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, objArr9);
int i6 = r + 23;
t = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // 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 = r + 79;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 41;
t = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 20 / 0;
}
}
}