what-the-bank/sources/com/scb/phone/view/activity/search/SequentialSearchActivity.java

809 lines
38 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.search;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
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.view.KeyEvent;
import android.view.MenuItem;
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.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.fragment.search.SequentialSearchFragment;
import java.io.Serializable;
import java.lang.reflect.Method;
import java.util.HashMap;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.C4593bdB;
import o.EnumC1120Wa;
import o.IRS;
import o.InterfaceC11835emo;
import o.VX;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public abstract class SequentialSearchActivity extends BaseActivity implements InterfaceC11835emo {
private static char l;
private static char[] m;
/* renamed from: o, reason: collision with root package name */
private static long f7911o;
private static int r;
private HashMap<String, String> b = new HashMap<>();
private EnumC1120Wa k;
private static final byte[] $$y = {40, 9, -20, ISOFileInfo.AB};
private static final int $$z = 237;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 1;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002c). 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(int r7, short r8, byte r9, java.lang.Object[] r10) {
/*
int r8 = r8 + 77
byte[] r0 = com.scb.phone.view.activity.search.SequentialSearchActivity.$$y
int r7 = r7 * 3
int r7 = 1 - r7
int r9 = r9 * 3
int r9 = 3 - r9
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2c
L14:
r3 = r2
L15:
int r4 = r3 + 1
byte r5 = (byte) r8
int r9 = r9 + 1
r1[r3] = r5
if (r4 != r7) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r9]
r6 = r9
r9 = r8
r8 = r3
r3 = r6
L2c:
int r8 = -r8
int r8 = r8 + r9
r9 = r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.search.SequentialSearchActivity.aF(int, short, byte, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = $10 + 43;
$11 = i3 % 128;
if (i3 % 2 == 0) {
int i4 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(402 - (Process.myPid() >> 22), 5 - TextUtils.getOffsetBefore("", 0), (char) (ExpandableListView.getPackedPositionGroup(0L) + 21608));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() + (f7911o & (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 239, 5 - ExpandableListView.getPackedPositionType(0L), (char) View.combineMeasuredStates(0, 0));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(401 - TextUtils.indexOf((CharSequence) "", '0', 0), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (Drawable.resolveOpacity(0, 0) + 21608));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, b6, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (f7911o ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 237, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ExpandableListView.getPackedPositionGroup(0L));
byte b7 = (byte) 0;
byte b8 = (byte) (b7 + 1);
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (b8 - 1), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c(Color.green(0) + 238, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
byte b9 = (byte) 0;
byte b10 = (byte) (b9 + 1);
Object[] objArr11 = new Object[1];
aF(b9, b10, (byte) (b10 - 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
int i6 = $11 + 115;
$10 = i6 % 128;
int i7 = i6 % 2;
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x00d3, code lost:
if (r2 > 99999) goto L6;
*/
@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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r17) {
/*
Method dump skipped, instructions count: 1274
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.search.SequentialSearchActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = q + 113;
r = i2 % 128;
int i3 = i2 % 2;
super.Z();
ac();
int i4 = q + 95;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public void f() {
int i = 2 % 2;
Bundle extras = getIntent().getExtras();
if (extras != null) {
int i2 = r + 61;
q = i2 % 128;
int i3 = i2 % 2;
Serializable serializable = extras.getSerializable("EXTRA_SEARCH_TYPE");
C14957gcv.d(serializable, "");
this.k = (EnumC1120Wa) serializable;
int i4 = r + 47;
q = i4 % 128;
int i5 = i4 % 2;
}
}
@Override // o.InterfaceC11835emo
public final void c(int i, String str, String str2) {
int i2 = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
this.b.put(str, str2);
int i3 = i + 1;
EnumC1120Wa enumC1120Wa = this.k;
if (enumC1120Wa == null) {
int i4 = q + 61;
r = i4 % 128;
int i5 = i4 % 2;
C14957gcv.a("");
enumC1120Wa = null;
}
if (i3 >= enumC1120Wa.b().size()) {
Intent intent = new Intent();
intent.putExtra("EXTRA_SEARCH_RESULT", this.b);
setResult(-1, intent);
finish();
int i6 = r + 67;
q = i6 % 128;
int i7 = i6 % 2;
return;
}
e(d(i3), str2);
}
private final void e(VX vx, String str) {
int i = 2 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
SequentialSearchFragment.RVV rvv = SequentialSearchFragment.d;
EnumC1120Wa enumC1120Wa = this.k;
if (enumC1120Wa == null) {
int i2 = q + 57;
r = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.a("");
int i3 = 4 / 0;
} else {
C14957gcv.a("");
}
enumC1120Wa = null;
}
C14957gcv.e(enumC1120Wa, "");
C14957gcv.e(vx, "");
C14957gcv.e(str, "");
SequentialSearchFragment sequentialSearchFragment = new SequentialSearchFragment();
Bundle bundle = new Bundle();
bundle.putSerializable("EXTRA_SEARCH_TYPE", enumC1120Wa);
bundle.putParcelable("EXTRA_PAGE_ITEM", vx);
bundle.putString("EXTRA_VALUE", str);
sequentialSearchFragment.setArguments(bundle);
a.b(R.id.fragment_container, sequentialSearchFragment, null, 2);
String str2 = vx.c;
if (!a.d) {
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
int i4 = r + 71;
q = i4 % 128;
if (i4 % 2 == 0) {
a.a = true;
a.m = str2;
} else {
a.a = true;
a.m = str2;
}
int i5 = r + 121;
q = i5 % 128;
int i6 = i5 % 2;
a.b();
if (i6 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
boolean onOptionsItemSelected;
int i = 2 % 2;
int i2 = r + 59;
q = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
C14957gcv.e(menuItem, "");
menuItem.getItemId();
obj.hashCode();
throw null;
}
C14957gcv.e(menuItem, "");
if (menuItem.getItemId() == 16908332) {
int i3 = q + 3;
r = i3 % 128;
if (i3 % 2 != 0) {
onBackPressed();
onOptionsItemSelected = false;
} else {
onBackPressed();
onOptionsItemSelected = true;
}
} else {
onOptionsItemSelected = super.onOptionsItemSelected(menuItem);
int i4 = r + 93;
q = i4 % 128;
int i5 = i4 % 2;
}
int i6 = r + 67;
q = i6 % 128;
if (i6 % 2 != 0) {
return onOptionsItemSelected;
}
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = q + 25;
r = i2 % 128;
if (i2 % 2 == 0 ? getSupportFragmentManager().t() == 1 : getSupportFragmentManager().t() == 1) {
finish();
return;
}
super.onBackPressed();
int i3 = r + 89;
q = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 11 / 0;
}
}
private final VX d(int i) {
int i2 = 2 % 2;
int i3 = r + 85;
int i4 = i3 % 128;
q = i4;
int i5 = i3 % 2;
EnumC1120Wa enumC1120Wa = this.k;
if (enumC1120Wa == null) {
int i6 = i4 + 25;
r = i6 % 128;
enumC1120Wa = null;
if (i6 % 2 != 0) {
C14957gcv.a("");
throw null;
}
C14957gcv.a("");
}
VX vx = enumC1120Wa.b().get(i);
vx.d = this.b;
return vx;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
SequentialSearchActivity sequentialSearchActivity = (SequentialSearchActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
int i2 = q + 111;
r = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
super.p(str);
int i4 = q + 103;
r = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC11835emo
public final void c(String str) {
int i = 2 % 2;
int i2 = r + 9;
q = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(str, "");
this.b.remove(str);
int i4 = q + 5;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@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) {
int i2 = r + 11;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{'!', '#', '\f', '\t', 24, 2, '\f', 21, '\"', 26, 24, 22, '#', 11, 18, 4, 30, 1, 21, 4, '\b', 26, '\t', 30, '!', 14}, (byte) (67 - MotionEvent.axisFromString("")), ((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];
aE(new char[]{23950, 51623, 30177, 57634, 3444, 47288, 9443, 20501, 64613, 27562, 38903, 817, 44922, 55999, 18155, 62005, 7794, 34220}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 37840, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = r + 99;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 492, TextUtils.indexOf("", "", 0) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 488, 5 - View.resolveSizeAndState(0, 0, 0), (char) KeyEvent.normalizeMetaState(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 aD(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3;
int i4 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = m;
long j = 0;
int i5 = 4;
int i6 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[i6];
objArr2[0] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 299, (SystemClock.elapsedRealtimeNanos() > j ? 1 : (SystemClock.elapsedRealtimeNanos() == j ? 0 : -1)) + i5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b2 = (byte) 0;
Object[] objArr3 = new Object[1];
aF(b2, $$y[0], b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
j = 0;
i5 = 4;
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);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - View.MeasureSpec.getMode(0), (char) Color.blue(0));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
aF(b3, $$y[0], 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) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i8 = $10 + 61;
$11 = i8 % 128;
int i9 = i8 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i10 = $11 + 53;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
i3 = 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (22024 - (ViewConfiguration.getScrollDefaultDelay() >> 16)));
byte b4 = (byte) 0;
Object[] objArr7 = new Object[1];
aF(b4, (byte) (b4 | 43), 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) {
Class cls4 = (Class) xzZ.c(327 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) TextUtils.indexOf("", "", 0, 0));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
aF(b5, (byte) (b5 | 41), b5, objArr9);
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 i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else if (irs.a == irs.d) {
int i13 = $11 + 35;
$10 = i13 % 128;
int i14 = i13 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i15 = (irs.a * charValue) + irs.f;
int i16 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
} else {
int i17 = (irs.a * charValue) + irs.j;
int i18 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i17];
cArr4[irs.e + 1] = cArr2[i18];
int i19 = $10 + 73;
$11 = i19 % 128;
i3 = 2;
int i20 = i19 % 2;
}
i3 = 2;
}
irs.e += i3;
}
}
int i21 = $10 + 103;
$11 = i21 % 128;
int i22 = i21 % 2;
for (int i23 = 0; i23 < i; i23++) {
int i24 = $11 + 35;
$10 = i24 % 128;
int i25 = i24 % 2;
cArr4[i23] = (char) (cArr4[i23] ^ 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
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{'!', '#', '\f', '\t', 24, 2, '\f', 21, '\"', 26, 24, 22, '#', 11, 18, 4, 30, 1, 21, 4, '\b', 26, '\t', 30, '!', 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_camera_tutorial_no_fold).substring(0, 2).length() + 66), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.close_account_details_interest_rate).substring(13, 17).length() + 22, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{23950, 51623, 30177, 57634, 3444, 47288, 9443, 20501, 64613, 27562, 38903, 817, 44922, 55999, 18155, 62005, 7794, 34220}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 37938, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = r + 63;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = r + 99;
q = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) ('0' - AndroidCharacter.getMirror('0')))).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(487 - (ViewConfiguration.getFadingEdgeLength() >> 16), MotionEvent.axisFromString("") + 6, (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(488 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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 = q + 119;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aD(new char[]{'!', '#', '\f', '\t', 24, 2, '\f', 21, NistHelper.SEP_FS, 14, 23, '\f', '\b', 24, 3, '#', 13895, 13895}, (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 94), Drawable.resolveOpacity(0, 0) + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{23936, 53715, 17718, 63825, 27797}, ExpandableListView.getPackedPositionGroup(0L) + 35911, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = q + 59;
r = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.getSize(0) + 492, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) View.MeasureSpec.getMode(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{24028, 56869, 23079, 54898, 21026, 52853, 19057, 50805, 17015, 65059, 31273, 63097, 29226, 61052, 27180, 58916, 25215, 40497, 6705, 38456, 4658, 36402, 2662, 34365, 611, 48700, 14952, 46653, 12906, 44599, 10859, 42557, 8764, 24071, 55819, 22017, 53847, 20051, 51797, 18006, 49671, 32270, 64002, 30221, 62042, 28166, 59994, 26120}, 33792 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{23944, 30738, 5857, 11615, 52143, 57758, 48247, 23199, 29024, 3933, 9725, 49252, 40579, 46370, 21324, 27119, 1035, 8884, 63702, 38776, 44490, 18490, 26354, 15554, 56166, 61838, 35887, 43521, 16627, 7965, 13755, 54230, 61050, 34023, 41730, 31227, 6092, 12900, 51393, 59236, 48467, 23466, 30286, 3204, 11044, 49477, 40941, 47708, 20729, 28376, 1313, 9117, 65130, 37972, 45766, 18740, 26509, 635, 55374, 63226, 36119, 44006, 16778, 7211}, 9629 - (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)), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new char[]{'!', 20, 3, '\n', '!', '\b', 13869, 13869, 31, 5, 15, 3, '\t', NistHelper.SEP_FS, 3, 22, '\"', '\b', '\n', 1, 22, 5, 17, 5, 3, 23, '\t', 31, 19, 15, 3, '\r', NistHelper.SEP_FS, '\t', 2, 20, 17, ' ', 13785, 13785, 16, 2, 15, '\b', 11, 1, 15, 31, '\t', '\"', '!', 23, 19, 7, 1, '\n', 2, '\"', '\b', 31, 15, 20, 11, 17}, (byte) (View.resolveSizeAndState(0, 0, 0) + 46), 65 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{23941, 36020, 65475, 11802, 6442, 18486, 47820, 58873, 54518, 1809, 30286, 41327, 37778, 49867, 11766, 7203, 20312, 48738, 59556, 56275, 2568, 30000, 42065, 38535, 49595, 12515, 25425, 21030, 48489, 61318, 57038, 2559, 30777, 43843, 39542, 50361, 14285, 26178, 20772, 32835, 62084, 56746, 3307, 32529, 44576, 39281, 52122, 15068, 26104, 21598, 34628, 63093, 8356, 5011, 17138, 44342, 40028, 52935, 14774, 26844, 23302, 35377, 62840, 10122, 5762, 16886, 45125, 58117, 53884, 15546, 28614, 24312, 35121, 63563}, 53549 - TextUtils.indexOf("", "", 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new char[]{0, 19, 22, 19, 13827}, (byte) (89 - TextUtils.getCapsMode("", 0, 0)), Color.argb(0, 0, 0, 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{23944, 61849, 1525, 23014, 60893, 445, 21927, 59726, 15720, 20838, 58639, 14703, 19827, 57553, 13567, 18660, 40076, 12473, 17594, 38915, 11307, 16433, 37952, 10275, 31783, 37763, 10237, 31675, 36758, 9193, 30712, 35667, 57209, 29549, 34582, 56151}, 44053 - (ViewConfiguration.getScrollBarSize() >> 8), 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(487 - Color.argb(0, 0, 0, 0), 5 - View.getDefaultSize(0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '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;
}
}
}
static void h() {
m = new char[]{49114, 49034, 49127, 49098, 49027, 49104, 49089, 49109, 49108, 49024, 49105, 49028, 49118, 49029, 49030, 49111, 49088, 49123, 49053, 48168, 49115, 49035, 49095, 49026, 49119, 49107, 49116, 49031, 49091, 49138, 48169, 49093, 49106, 49110, 49117, 49025};
l = (char) 35375;
f7911o = 6822928381782150699L;
}
@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 = q + 13;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 60 / 0;
}
int i5 = r + 107;
q = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 44 / 0;
}
}
@Override // o.InterfaceC11835emo
public final void e(String str) {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1210585105;
e(new Object[]{this, str});
}
/* JADX INFO: Access modifiers changed from: protected */
public final HashMap<String, String> g() {
int i = 2 % 2;
int i2 = q + 11;
r = i2 % 128;
if (i2 % 2 == 0) {
return this.b;
}
throw null;
}
static {
r = 0;
h();
new LWm((byte) 0);
int i = q + 121;
r = i % 128;
if (i % 2 != 0) {
throw null;
}
}
}