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

628 lines
40 KiB
Java

package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
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.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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity;
import com.scb.phone.view.activity.chequemanagement.stopcheque.StopChequeReviewActivity;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* renamed from: o.dyX, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10212dyX extends ChequeReviewActivity {
private boolean b = false;
private static final byte[] $$y = {0, -67, 121, 0};
private static final int $$z = 201;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f8937o = 0;
private static int k = 1;
private static int l = 2015661583;
private static char[] m = {39959, 39997, 39992, 40001, 40041, 40040, 40046, 40000, 39999, 39997, 39992, 39994, 40001, 40005, 40005, 40007, 40007, 40007, 40005, 40004, 40006, 40001, 39992, 39998, 39998, 39993, 40001, 40006, 39998, 40001, 40001, 40001, 40002, 39998, 40006, 40042, 40040, 40047, 40000, 40001, 40000, 39998, 39999, 39993, 40007, 40005, 40006, 40007, 40069, 40209, 40211, 40200, 40165, 40160, 40202, 40207, 40207, 40201, 40166, 40207, 40207, 40206, 40205, 40206, 40209, 40200, 40161, 40161, 40167, 40201, 40211, 40200, 40200, 40210, 40207, 40166, 40201, 40201, 40166, 40165, 40165, 40160, 40160, 40167, 40202, 40203, 40161, 40160, 40161, 40202, 40201, 40200, 40202, 40163, 40162, 40167, 40161, 40160, 40166, 40160, 40160, 40160, 40161, 40207, 40205, 40166, 40201, 40200, 40207, 40207, 40200, 40209};
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x002b). 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 aF(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = o.AbstractActivityC10212dyX.$$y
int r8 = r8 + 4
int r6 = 76 - r6
int r7 = r7 * 3
int r1 = r7 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r8
r4 = r2
goto L2b
L12:
r3 = r2
L13:
int r8 = r8 + 1
byte r4 = (byte) r6
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L22:
int r3 = r3 + 1
r4 = r0[r8]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2b:
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10212dyX.aF(byte, short, int, java.lang.Object[]):void");
}
public AbstractActivityC10212dyX() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dyX.5
private AbstractActivityC10212dyX a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.a.j();
}
});
}
@Override // o.AbstractActivityC10238dyx
public final void j() {
int i = 2 % 2;
int i2 = f8937o + 9;
k = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 28 / 0;
if (this.b) {
return;
}
} else if (this.b) {
return;
}
this.b = true;
((InterfaceC10270dzc) y_()).d((StopChequeReviewActivity) this);
int i4 = f8937o + 1;
k = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 2 / 4;
}
}
@Override // com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{'\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.order_cheque_detailof3).substring(29, 30).codePointAt(0) + 107, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.your_current_pin).substring(4, 5).length() + 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 110, new char[]{5, 17, 65517, 1, 65532}, View.MeasureSpec.getSize(0) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_CBC_SHA, false, Color.argb(0, 0, 0, 0) + 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 = k + 55;
f8937o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_document_description_mhmc).substring(65, 66).codePointAt(0) - 6, new char[]{'\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534}, 140 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD(17 - MotionEvent.axisFromString(""), new char[]{2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6}, (ViewConfiguration.getLongPressTimeout() >> 16) + CipherSuite.TLS_RSA_PSK_WITH_RC4_128_SHA, false, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 8, 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 = k + 1;
f8937o = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new int[]{0, 48, 0, 43}, true, new byte[]{1, 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, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new int[]{48, 64, CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 0}, true, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_offer_review_annual_interest_rate).substring(13, 14).length() + 63, new char[]{65519, 65517, ' ', 29, 65520, 31, NistHelper.SEP_FS, 31, 65516, 65522, 65520, 65523, 65514, ' ', 65514, 27, ' ', 27, 65519, 65522, 29, 65521, 27, 65522, 65514, 65517, 27, 65517, 31, 31, 65516, 65523, 65517, 31, NistHelper.SEP_FS, 65518, 65514, 65522, 27, NistHelper.SEP_FS, ' ', 65514, 65515, 65514, 65521, 65516, 29, 65522, ' ', 31, 65522, 65520, 65523, 30, 65518, NistHelper.SEP_FS, 27, 65519, 65519, 65516, 65515, 65515, 65519, 65514}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_travel_wallet_other_currency_wallet_empty_state).substring(40, 41).length() + 109, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.favorite_invalid_character).substring(56, 57).length() + 21, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_registration_push_sub_title).substring(18, 19).length() + 73, new char[]{7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14}, 138 - (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)), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.onboarding_input_address_thanon_is_not_allowed).substring(18, 19).codePointAt(0) - 16, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 8, new char[]{65532, 6, 65532, 7, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 56, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 30, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(ImageFormat.getBitsPerPixel(0) + 37, new char[]{NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 75, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_maemanee_gmb_entrace_open_gmb_button).substring(18, 19).length() + 16, 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(TextUtils.indexOf((CharSequence) "", '0') + 488, 5 - View.MeasureSpec.getMode(0), (char) KeyEvent.keyCodeFromString(""))).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 = f8937o + 9;
k = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aD(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
int i5 = $10 + 111;
$11 = i5 % 128;
int i6 = i5 % 2;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(144 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 6 - TextUtils.lastIndexOf("", '0', 0), (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b = $$y[0];
Object[] objArr3 = new Object[1];
aF((byte) 7, b, (byte) (b - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
byte b2 = $$y[0];
byte b3 = b2;
Object[] objArr5 = new Object[1];
aF(b2, b3, (byte) (b3 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
if (i3 > 0) {
int i8 = $11 + 23;
$10 = i8 % 128;
int i9 = i8 % 2;
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
int i10 = $11 + 97;
$10 = i10 % 128;
int i11 = i10 % 2;
}
if (z) {
int i12 = $10 + 103;
$11 = i12 % 128;
int i13 = i12 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((Process.myPid() >> 22) + 342, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8));
byte b4 = $$y[0];
byte b5 = b4;
Object[] objArr7 = new Object[1];
aF(b4, b5, (byte) (b5 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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) {
int i2 = f8937o + 107;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD((ViewConfiguration.getWindowTouchSlop() >> 8) + 26, new char[]{'\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_p2p_tap_menu).substring(0, 9).codePointAt(7) + 42, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 17, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, new char[]{2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6}, 146 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 5, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = f8937o + 39;
k = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 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.argb(0, 0, 0, 0), 5 - KeyEvent.normalizeMetaState(0), (char) (TextUtils.lastIndexOf("", '0', 0) + 1))).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.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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];
aD(Gravity.getAbsoluteGravity(0, 0) + 26, new char[]{'\r', '\r', 65483, 65502, 0, 17, 6, 19, 6, 17, 22, 65521, 5, 15, 2, 65534, 1, 65534, 11, 1, 15, '\f', 6, 1, 65483, 65534}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 105, false, 17 - (ViewConfiguration.getScrollBarSize() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) + 100, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.prepaid_activate_contact_message).substring(35, 37).length() + 6, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = k + 19;
f8937o = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = f8937o + 9;
k = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 492, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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((ViewConfiguration.getScrollDefaultDelay() >> 16) + 487, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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 aE(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
char c = 0;
int i3 = iArr[0];
int i4 = 1;
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = m;
long j = 0;
int i8 = 5;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr != null) {
int i9 = $10 + 91;
$11 = i9 % 128;
int i10 = i9 % 2;
int length = cArr.length;
char[] cArr2 = new char[length];
int i11 = 0;
while (i11 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[c] = Integer.valueOf(cArr[i11]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - ExpandableListView.getPackedPositionType(j), (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)) + i8, (char) (41977 - Color.alpha(0)));
byte b = $$y[0];
Object[] objArr3 = new Object[1];
aF((byte) i8, b, (byte) (b - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i11] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i11++;
c = 0;
i4 = 1;
j = 0;
i8 = 5;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i3, cArr3, 0, i5);
if (bArr != null) {
int i12 = $10 + 37;
$11 = i12 % 128;
int i13 = i12 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
char c2 = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i14 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.green(0) + 502, 5 - TextUtils.getCapsMode("", 0, 0), (char) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i14] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
int i15 = $11 + 43;
$10 = i15 % 128;
int i16 = i15 % 2;
} else {
int i17 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - View.resolveSizeAndState(0, 0, 0), (char) (58134 - KeyEvent.getDeadChar(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c2 = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - (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)), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (21608 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b2 = $$y[0];
Object[] objArr7 = new Object[1];
aF((byte) 3, b2, (byte) (b2 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i7 > 0) {
int i18 = $11 + 39;
$10 = i18 % 128;
int i19 = i18 % 2;
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i20 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i20, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i21 = $10 + 5;
$11 = i21 % 128;
int i22 = i21 % 2;
int i23 = 0;
while (true) {
tvh.c = i23;
if (tvh.c >= i5) {
break;
}
int i24 = $10 + 93;
$11 = i24 % 128;
int i25 = i24 % 2;
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i23 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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];
aD(18 - TextUtils.getOffsetBefore("", 0), new char[]{'\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517, 65483, 16}, (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + CipherSuite.TLS_PSK_WITH_RC4_128_SHA, true, (ViewConfiguration.getDoubleTapTimeout() >> 16) + 9, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((ViewConfiguration.getTouchSlop() >> 8) + 5, new char[]{5, 17, 65517, 1, 65532}, 144 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), false, 6 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = f8937o + 121;
k = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new int[]{0, 48, 0, 43}, true, new byte[]{1, 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, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 0}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new int[]{48, 64, CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384, 0}, true, new byte[]{0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1}, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((ViewConfiguration.getLongPressTimeout() >> 16) + 64, new char[]{65519, 65517, ' ', 29, 65520, 31, NistHelper.SEP_FS, 31, 65516, 65522, 65520, 65523, 65514, ' ', 65514, 27, ' ', 27, 65519, 65522, 29, 65521, 27, 65522, 65514, 65517, 27, 65517, 31, 31, 65516, 65523, 65517, 31, NistHelper.SEP_FS, 65518, 65514, 65522, 27, NistHelper.SEP_FS, ' ', 65514, 65515, 65514, 65521, 65516, 29, 65522, ' ', 31, 65522, 65520, 65523, 30, 65518, NistHelper.SEP_FS, 27, 65519, 65519, 65516, 65515, 65515, 65519, 65514}, 109 - TextUtils.indexOf((CharSequence) "", '0', 0), false, TextUtils.indexOf("", "", 0) + 22, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(TextUtils.indexOf((CharSequence) "", '0') + 75, new char[]{7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484, 5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14}, 138 - (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)), false, 18 - KeyEvent.getDeadChar(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, new char[]{65532, 6, 65532, 7, 65534}, 91 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), true, (ViewConfiguration.getEdgeSlop() >> 16) + 4, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(Color.rgb(0, 0, 0) + 16777252, new char[]{NistHelper.SEP_FS, 29, ' ', 30, 65512, 65517, 30, 65517, NistHelper.SEP_FS, 65522, ' ', 30, 65520, 65519, 65520, 65516, ' ', ' ', NistHelper.SEP_FS, 65517, 65519, 31, 65524, 65519, 65515, 65512, 65521, 65515, ' ', 29, 65512, 65519, 65517, 65516, 65516, 65512}, 109 - (Process.myPid() >> 22), false, Color.green(0) + 17, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - TextUtils.getOffsetBefore("", 0), (char) View.MeasureSpec.makeMeasureSpec(0, 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);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
int i4 = k + 107;
f8937o = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.chequemanagement.ChequeReviewActivity, o.AbstractActivityC10238dyx, 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 = f8937o + 91;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 18 / 0;
}
}
}