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

748 lines
42 KiB
Java

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.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.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.mwpartner.MwOnBoardSuccessActivity;
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.dYg, reason: case insensitive filesystem */
/* loaded from: classes5.dex */
public abstract class AbstractActivityC8872dYg extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$g = {78, ISO7816.INS_DELETE_FILE, 113, -27};
private static final int $$h = 213;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int p = 1;
private static char[] m = {49026, 49105, 49095, 49029, 49118, 49115, 49033, 49108, 49045, 49112, 49051, 49111, 49093, 49027, 49050, 49028, 49042, 49110, 49116, 49123, 49104, 49106, 49089, 49024, 49054, 49034, 49049, 49094, 49025, 49052, 49040, 49119, 49043, 49090, 49055, 49117, 49091, 49031, 49035, 49109, 49126, 49048, 49053, 49138, 49114, 49041, 49030, 49088, 49098};
/* renamed from: o, reason: collision with root package name */
private static char f8870o = 35374;
private static int[] q = {-1719408340, -828079363, -58337684, 1122476897, -1018147729, 815687199, -1154093886, -1945511332, 2105994195, 985300896, -1070468895, -761502483, 1791214876, 1726473826, -1727809741, -1582745641, 745553700, 1718058627};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 az(int r5, int r6, int r7, java.lang.Object[] r8) {
/*
int r7 = r7 * 2
int r0 = 1 - r7
int r5 = r5 + 102
byte[] r1 = o.AbstractActivityC8872dYg.$$g
int r6 = r6 * 3
int r6 = 4 - r6
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L16
r4 = r7
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r5
r0[r3] = r4
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r6]
L28:
int r5 = r5 + r4
int r6 = r6 + 1
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC8872dYg.az(int, int, int, java.lang.Object[]):void");
}
public AbstractActivityC8872dYg() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dYg.1
private AbstractActivityC8872dYg e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
AbstractActivityC8872dYg abstractActivityC8872dYg = this.e;
if (abstractActivityC8872dYg.b) {
return;
}
abstractActivityC8872dYg.b = true;
((dZW) abstractActivityC8872dYg.y_()).a((MwOnBoardSuccessActivity) abstractActivityC8872dYg);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = r + 73;
p = i2 % 128;
if (i2 % 2 == 0) {
j().y_();
throw null;
}
Object y_ = j().y_();
int i3 = r + 11;
p = i3 % 128;
int i4 = i3 % 2;
return y_;
}
private C13073fPt j() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
@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 = p + 111;
r = i2 % 128;
if (i2 % 2 != 0) {
bundle = getIntent().getExtras();
int i3 = 85 / 0;
} else {
bundle = getIntent().getExtras();
}
} else {
bundle = null;
}
VLM.LWm aBN_ = a.aBN_(this, bundle, defaultViewModelProviderFactory);
int i4 = r + 37;
p = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 53 / 0;
}
return aBN_;
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int length;
int[] iArr2;
int i2;
char c;
int i3;
int length2;
int[] iArr3;
int i4 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = q;
float f = BitmapDescriptorFactory.HUE_RED;
int i5 = 1;
int i6 = 0;
if (iArr4 != null) {
int i7 = $10 + 101;
$11 = i7 % 128;
if (i7 % 2 == 0) {
length2 = iArr4.length;
iArr3 = new int[length2];
} else {
length2 = iArr4.length;
iArr3 = new int[length2];
}
int i8 = 0;
while (i8 < length2) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(iArr4[i8]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - (TypedValue.complexToFraction(0, f, f) > f ? 1 : (TypedValue.complexToFraction(0, f, f) == f ? 0 : -1)), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i8] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i8++;
int i9 = $10 + 39;
$11 = i9 % 128;
int i10 = i9 % 2;
f = BitmapDescriptorFactory.HUE_RED;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length3 = iArr4.length;
int[] iArr5 = new int[length3];
int[] iArr6 = q;
if (iArr6 != null) {
int i11 = $11 + 63;
$10 = i11 % 128;
if (i11 % 2 != 0) {
length = iArr6.length;
iArr2 = new int[length];
i2 = 1;
} else {
length = iArr6.length;
iArr2 = new int[length];
i2 = 0;
}
while (i2 < length) {
int i12 = $11 + 65;
$10 = i12 % 128;
if (i12 % 2 != 0) {
Object[] objArr3 = new Object[1];
objArr3[i6] = Integer.valueOf(iArr6[i2]);
Object obj2 = xzZ.y.get(729798706);
if (obj2 != null) {
i3 = length;
} else {
obj2 = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 15, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (58133 - Process.getGidForName("")))).getMethod("i", Integer.TYPE);
i3 = length;
xzZ.y.put(729798706, obj2);
}
iArr2[i2] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i2 >>>= 1;
length = i3;
} else {
int i13 = length;
Object[] objArr4 = {Integer.valueOf(iArr6[i2])};
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
c = 55346;
} else {
obj3 = ((Class) xzZ.c(14 - TextUtils.lastIndexOf("", '0', 0, 0), Color.blue(0) + 5, (char) (58134 - TextUtils.indexOf("", "", 0)))).getMethod("i", Integer.TYPE);
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr2[i2] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i2++;
length = i13;
}
i6 = 0;
}
iArr6 = iArr2;
}
int i14 = i6;
System.arraycopy(iArr6, i14, iArr5, i14, length3);
c4403bZM.b = i14;
int i15 = $11 + 73;
$10 = i15 % 128;
int i16 = i15 % 2;
while (c4403bZM.b < iArr.length) {
cArr[0] = (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 i17 = 0;
for (int i18 = 16; i17 < i18; i18 = 16) {
c4403bZM.e ^= iArr5[i17];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c(Color.green(0) + 118, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) KeyEvent.keyCodeFromString(""));
byte b = (byte) 2;
byte b2 = (byte) (b - 2);
Object[] objArr6 = new Object[1];
az(b, b2, b2, objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i17++;
}
int i19 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i19;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i20 = c4403bZM.e;
int i21 = 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];
try {
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(98 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
az(b3, b4, b4, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(cArr2, 0, i);
}
@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[]{NistHelper.SEP_FS, '*', '\b', 25, 16, '.', 7, '.', 19, '.', '/', 14, 25, 15, 14, 18, 13835, 13835}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 21), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{6, '.', '%', '/', 13925}, (byte) (103 - Color.red(0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, 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 + 123;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
ay(new int[]{-1744113190, -2012505755, 376586796, -1275088230, 627342357, 1014166974, -722914936, -1278946698, -1595734773, -653627679, -881397894, 1909459380, -1616711207, 623455546}, ((byte) KeyEvent.getModifierMetaStateMask()) + Ascii.ESC, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{27, '\"', 13803, 13803, 14, '&', 1, ',', 13805, 13805, 30, '-', 14, 27, '\t', 2, 14, '\''}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_google_play_services_updating_text).substring(0, 5).length() - 2), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.msg_pointx_input_remark).substring(8, 9).length() + 17, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 105;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new int[]{621003713, -1995715129, -166957311, 377078135, -1594050171, 1361248895, 377446723, -1266135590, -33630550, 1368479070, -2103734825, 2118756287, 360320696, -227098860, -715455870, 47066662, -781806164, -2056809772, 701006453, 353892200, -796920654, 460866030, -1076334887, -143124216}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.etb_set_detail_amount_min_max_error).substring(36, 37).codePointAt(0) + 16, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{15, 3, '\n', 24, 4, 2, '\'', 23, 18, '-', 31, 0, 31, 0, 14, 1, 2, '&', 7, '#', 17, 6, 23, '#', 24, 2, 20, 27, ' ', 21, '\n', ')', 13796, 13796, '*', 25, '-', '\'', 13871, 13871, 4, 2, 24, 0, '*', 4, 4, 2, '\n', '\'', '$', 18, 17, ')', '+', 4, ')', 17, 3, '#', 4, 2, 24, 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 21), (ViewConfiguration.getScrollBarSize() >> 8) + 64, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{24, '#', '\t', 27, 22, 24, 13878, 13878, ' ', 21, 24, 16, 2, '$', '\n', ')', 22, 0, ')', 11, 6, 7, 14, 29, 17, ')', '&', 18, '-', '\n', ' ', 18, '$', 2, 25, '*', '*', ' ', 13794, 13794, '0', 11, ',', 25, ')', 18, '\n', 24, 3, 15, 31, '#', 4, 24, 11, ')', 7, 27, '#', 25, '-', '\'', 14, 16}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.text_counter).substring(0, 11).codePointAt(5) + 8), ((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[]{6, 3, 1, '%', '0', 5, 13809, 13809, '0', '-', 25, 0, 14, 19, 13875, 13875, 15, 24, 16, '0', 24, NistHelper.SEP_FS, 0, 22, '%', 7, ',', 0, 1, 26, 14, 24, 6, 16, 26, '*', 0, ',', '\r', 21, 22, 23, '\f', '.', '\"', 26, 22, 23, 14, '-', 14, 19, 1, ' ', 22, '#', '+', 30, '*', '%', '\n', 14, ',', 5, '!', '\b', 29, 30, 19, '\n', 14, '&', 5, ','}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.ssf_tab).substring(0, 3).codePointAt(1) - 23), 73 - TextUtils.lastIndexOf("", '0'), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(new char[]{21, '.', '#', '-', 13805}, (byte) (67 - (ViewConfiguration.getTouchSlop() >> 8)), 5 - ((Process.getThreadPriority(0) + 20) >> 6), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{-461573918, -1365013718, 1320584482, 361454842, -1796641378, 167842822, -781212692, 919883008, 1230035965, 1778708333, -2138140008, 2027463722, 814463307, -1520443877, -1763780309, 865200470, -1920735691, 191243077}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i6 = r + 71;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
int i8 = p + 99;
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;
int i2 = p + 55;
r = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new int[]{-1744113190, -2012505755, 376586796, -1275088230, 627342357, 1014166974, -722914936, -1278946698, -1595734773, -653627679, -881397894, 1909459380, -1616711207, 623455546}, 26 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{27, '\"', 13803, 13803, 14, '&', 1, ',', 13805, 13805, 30, '-', 14, 27, '\t', 2, 14, '\''}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 31), ((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_pinlock_description).substring(11, 23).codePointAt(6) - 37, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 45;
r = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = p + 97;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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(Color.alpha(0) + 487, Color.alpha(0) + 5, (char) (Process.myTid() >> 22))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.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) {
int i2 = p + 45;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{-1744113190, -2012505755, 376586796, -1275088230, 627342357, 1014166974, -722914936, -1278946698, -1595734773, -653627679, -881397894, 1909459380, -1616711207, 623455546}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_touchpoints_troubleshooting_step).substring(5, 6).length() + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{27, '\"', 13803, 13803, 14, '&', 1, ',', 13805, 13805, 30, '-', 14, 27, '\t', 2, 14, '\''}, (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_last_name_hint_eng).substring(10, 11).length() + 2), TextUtils.getOffsetBefore("", 0) + 18, 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 = r + 113;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) KeyEvent.keyCodeFromString(""))).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.getMaximumDrawingCacheSize() >> 24) + 487, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = r + 89;
p = i6 % 128;
int i7 = i6 % 2;
} 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 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
int i4 = 15;
char c2 = '0';
int i5 = 5;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", c2) + 299, (ViewConfiguration.getKeyRepeatDelay() >> 16) + i5, (char) (KeyEvent.getMaxKeyCode() >> 16));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
az((byte) i4, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
i4 = 15;
c2 = '0';
i5 = 5;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
int i7 = $10 + 33;
$11 = i7 % 128;
int i8 = i7 % 2;
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(f8870o)};
Object obj2 = xzZ.y.get(-1987398494);
char c3 = 6;
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 298, TextUtils.lastIndexOf("", '0', 0) + 6, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) 15, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i9 = $11 + 67;
$10 = i9 % 128;
int i10 = i9 % 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);
c = c3;
} else {
Object[] objArr6 = new Object[13];
objArr6[12] = irs;
objArr6[11] = Integer.valueOf(charValue);
objArr6[10] = irs;
objArr6[9] = irs;
objArr6[8] = Integer.valueOf(charValue);
objArr6[7] = irs;
objArr6[c3] = irs;
objArr6[5] = 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(233 - View.MeasureSpec.getSize(0), View.resolveSizeAndState(0, 0, 0) + 5, (char) (22024 - TextUtils.getCapsMode("", 0, 0)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) 18, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
c = 6;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 327, 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) ($$h & 56), b5, b5, objArr9);
c = 6;
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 i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} else {
c = 6;
if (irs.a == irs.d) {
int i12 = $10 + 15;
$11 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
} else {
int i16 = (irs.a * charValue) + irs.j;
int i17 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i16];
cArr4[irs.e + 1] = cArr2[i17];
}
}
}
irs.e += 2;
c3 = c;
}
}
for (int i18 = 0; i18 < i; i18++) {
cArr4[i18] = (char) (cArr4[i18] ^ 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;
int i2 = r + 79;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{NistHelper.SEP_FS, '*', '\b', 25, 16, '.', 7, '.', 19, '.', '/', 14, 25, 15, 14, 18, 13835, 13835}, (byte) (33 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)), (ViewConfiguration.getFadingEdgeLength() >> 16) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{6, '.', '%', '/', 13925}, (byte) (KeyEvent.getDeadChar(0, 0) + 103), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 125;
r = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i6 = r + 81;
p = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new int[]{621003713, -1995715129, -166957311, 377078135, -1594050171, 1361248895, 377446723, -1266135590, -33630550, 1368479070, -2103734825, 2118756287, 360320696, -227098860, -715455870, 47066662, -781806164, -2056809772, 701006453, 353892200, -796920654, 460866030, -1076334887, -143124216}, (ViewConfiguration.getScrollBarSize() >> 8) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{15, 3, '\n', 24, 4, 2, '\'', 23, 18, '-', 31, 0, 31, 0, 14, 1, 2, '&', 7, '#', 17, 6, 23, '#', 24, 2, 20, 27, ' ', 21, '\n', ')', 13796, 13796, '*', 25, '-', '\'', 13871, 13871, 4, 2, 24, 0, '*', 4, 4, 2, '\n', '\'', '$', 18, 17, ')', '+', 4, ')', 17, 3, '#', 4, 2, 24, 14}, (byte) (54 - ExpandableListView.getPackedPositionChild(0L)), TextUtils.getTrimmedLength("") + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ax(new char[]{24, '#', '\t', 27, 22, 24, 13878, 13878, ' ', 21, 24, 16, 2, '$', '\n', ')', 22, 0, ')', 11, 6, 7, 14, 29, 17, ')', '&', 18, '-', '\n', ' ', 18, '$', 2, 25, '*', '*', ' ', 13794, 13794, '0', 11, ',', 25, ')', 18, '\n', 24, 3, 15, 31, '#', 4, 24, 11, ')', 7, 27, '#', 25, '-', '\'', 14, 16}, (byte) (55 - TextUtils.indexOf("", "", 0)), KeyEvent.normalizeMetaState(0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{6, 3, 1, '%', '0', 5, 13809, 13809, '0', '-', 25, 0, 14, 19, 13875, 13875, 15, 24, 16, '0', 24, NistHelper.SEP_FS, 0, 22, '%', 7, ',', 0, 1, 26, 14, 24, 6, 16, 26, '*', 0, ',', '\r', 21, 22, 23, '\f', '.', '\"', 26, 22, 23, 14, '-', 14, 19, 1, ' ', 22, '#', '+', 30, '*', '%', '\n', 14, ',', 5, '!', '\b', 29, 30, 19, '\n', 14, '&', 5, ','}, (byte) (TextUtils.getOffsetBefore("", 0) + 60), 74 - KeyEvent.normalizeMetaState(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new char[]{21, '.', '#', '-', 13805}, (byte) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 67), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{-461573918, -1365013718, 1320584482, 361454842, -1796641378, 167842822, -781212692, 919883008, 1230035965, 1778708333, -2138140008, 2027463722, 814463307, -1520443877, -1763780309, 865200470, -1920735691, 191243077}, 36 - ExpandableListView.getPackedPositionType(0L), 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.indexOf((CharSequence) "", '0') + 488, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getEdgeSlop() >> 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;
}
}
}
@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 + 57;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = r + 33;
p = i4 % 128;
int i5 = i4 % 2;
}
}