what-the-bank/sources/com/scb/phone/view/activity/easycash/EasycashIssuerSearchActivit...

485 lines
24 KiB
Java

package com.scb.phone.view.activity.easycash;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.media.AudioTrack;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
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.pingan.ai.p;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.Nhs;
import o.dJN;
import o.jTb;
import o.xzZ;
/* loaded from: classes4.dex */
public class EasycashIssuerSearchActivity extends dJN {
private static final byte[] $$g = {Ascii.DC2, 10, ISOFileInfo.FCI_BYTE, -108};
private static final int $$h = 120;
private static int $10 = 0;
private static int $11 = 1;
private static int r = 0;
private static int p = 1;
private static long k = 9051040786702654117L;
private static int l = -208015334;
private static char m = 55973;
/* renamed from: o, reason: collision with root package name */
private static char f7061o = 21891;
private static char q = 15464;
private static char s = 62577;
private static char t = 54895;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002a). 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(short r6, byte r7, short r8, java.lang.Object[] r9) {
/*
int r8 = 115 - r8
byte[] r0 = com.scb.phone.view.activity.easycash.EasycashIssuerSearchActivity.$$g
int r6 = r6 * 3
int r6 = 1 - r6
int r7 = r7 + 4
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L13
r4 = r8
r3 = r2
r8 = r7
goto L2a
L13:
r3 = r2
L14:
int r7 = r7 + 1
byte r4 = (byte) r8
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r5
L2a:
int r4 = -r4
int r7 = r7 + r4
r5 = r8
r8 = r7
r7 = r5
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashIssuerSearchActivity.az(short, byte, short, java.lang.Object[]):void");
}
public static Intent aer_(Context context) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) EasycashIssuerSearchActivity.class);
int i2 = r + 55;
p = i2 % 128;
if (i2 % 2 != 0) {
return intent;
}
throw null;
}
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i4 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i5 = $10 + 103;
$11 = i5 % 128;
int i6 = 58224;
if (i5 % 2 == 0) {
cArr3[i4] = cArr[jtb.b];
cArr3[i4] = cArr[jtb.b];
i2 = 1;
} else {
cArr3[i4] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
i2 = i4;
}
while (i2 < 16) {
char c = cArr3[1];
char c2 = cArr3[i4];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i6) ^ ((c2 << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(t)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 412, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) Color.blue(0));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 & 49), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (f7061o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(q)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 412, 5 - (ViewConfiguration.getTapTimeout() >> 16), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 & 49), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i6 -= 40503;
i2++;
cArr3 = cArr4;
i4 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.green(0) + 98, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 & ISO7816.INS_DECREASE), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i4 = 0;
}
String str = new String(cArr2, 0, i);
int i7 = $11 + 57;
$10 = i7 % 128;
if (i7 % 2 == 0) {
objArr[0] = str;
} else {
Object obj4 = null;
obj4.hashCode();
throw null;
}
}
private static void ax(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i4 = $11 + 113;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 46, 5 - TextUtils.getOffsetBefore("", 0), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(352 - ExpandableListView.getPackedPositionGroup(0L), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (52127 - TextUtils.indexOf((CharSequence) "", '0', 0, 0)));
byte b = (byte) 0;
byte b2 = (byte) (b - 1);
Object[] objArr4 = new Object[1];
az(b, b2, (byte) (b2 + 1), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(747 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) Color.argb(0, 0, 0, 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 402, '5' - AndroidCharacter.getMirror('0'), (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 21608));
byte b3 = (byte) 0;
byte b4 = (byte) (b3 - 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (-b4), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (k ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (m ^ 9051040786702654117L)));
nhs.a++;
int i6 = $11 + 115;
$10 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b3, code lost:
if (r3 > 99999) goto L10;
*/
@Override // o.dJN, 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 r24) {
/*
Method dump skipped, instructions count: 1414
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashIssuerSearchActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = p + 81;
r = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
int i4 = p + 121;
r = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 21 / 0;
}
}
@Override // o.dJN, 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 = r + 37;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{63885, 57587, 30015, 42968, 52604, 5813, 3046, 8365, 32278, 49928, 31974, 53170, 6989, 15412, 65200, 48308, 54864, 54741, 57743, 35474, 10106, 1318, 42032, 40953, 58154, 49421}, 26 - (ViewConfiguration.getScrollBarSize() >> 8), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{53839, 57022, 34972, 39918, 29806, 41280, 7239, 46238, 50526, 30672, 5599, 48934, 40895, 54609, 65200, 48308, 641, 44049}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 31;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 43 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = p + 59;
r = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - Color.blue(0), (char) ((-1) - TextUtils.lastIndexOf("", '0')))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(488 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), Color.rgb(0, 0, 0) + 16777221, (char) TextUtils.getTrimmedLength(""))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(486 - TextUtils.lastIndexOf("", '0', 0), (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.dJN, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = r + 29;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{63885, 57587, 30015, 42968, 52604, 5813, 3046, 8365, 32278, 49928, 31974, 53170, 6989, 15412, 65200, 48308, 54864, 54741, 57743, 35474, 10106, 1318, 42032, 40953, 58154, 49421}, View.MeasureSpec.getMode(0) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{53839, 57022, 34972, 39918, 29806, 41280, 7239, 46238, 50526, 30672, 5599, 48934, 40895, 54609, 65200, 48308, 641, 44049}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 28, 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 + 41;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), View.MeasureSpec.getMode(0) + 5, (char) KeyEvent.getDeadChar(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, 5 - TextUtils.getCapsMode("", 0, 0), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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();
int i6 = r + 105;
p = i6 % 128;
int i7 = i6 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0098, code lost:
if (r3 > 99999) goto L11;
*/
@Override // o.dJN, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r26) {
/*
Method dump skipped, instructions count: 1004
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.easycash.EasycashIssuerSearchActivity.attachBaseContext(android.content.Context):void");
}
@Override // o.dJN, 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 = p + 75;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 87;
r = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}