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

584 lines
35 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.view.activity.CCRBaseActivity;
import com.scb.phone.view.activity.cardmanagement.TempLimitReviewActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dvz, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10082dvz extends CCRBaseActivity {
private boolean b = false;
private static final byte[] $$y = {ISO7816.INS_MANAGE_CHANNEL, -18, 54, -52};
private static final int $$z = CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int r = 1;
private static long m = 5081641296298085548L;
/* renamed from: o, reason: collision with root package name */
private static char f8915o = 7929;
private static char l = 45229;
private static char k = 50728;
private static char t = 43878;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002d). 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 r7, int r8, short r9, java.lang.Object[] r10) {
/*
int r9 = r9 + 66
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r0 = o.AbstractActivityC10082dvz.$$y
int r8 = r8 * 3
int r8 = 1 - r8
byte[] r1 = new byte[r8]
r2 = 0
if (r0 != 0) goto L15
r3 = r9
r4 = r2
r9 = r7
goto L2d
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r9
r1[r3] = r5
if (r4 != r8) goto L25
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L25:
int r7 = r7 + 1
r3 = r0[r7]
r6 = r9
r9 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r3
r3 = r4
r6 = r9
r9 = r7
r7 = r6
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10082dvz.aF(byte, int, short, java.lang.Object[]):void");
}
public AbstractActivityC10082dvz() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dvz.4
private AbstractActivityC10082dvz c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
int i = 2 % 2;
int i2 = q + 69;
r = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (!this.b) {
this.b = true;
((InterfaceC10053dvW) y_()).b((TempLimitReviewActivity) this);
int i3 = q + 33;
r = i3 % 128;
int i4 = i3 % 2;
}
int i5 = q + 35;
r = i5 % 128;
int i6 = i5 % 2;
}
private static void aD(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 + 59;
$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 - ExpandableListView.getPackedPositionType(0L), Color.argb(0, 0, 0, 0) + 5, (char) (21608 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 | 11), 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() & (m - (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 238, TextUtils.indexOf("", "", 0, 0) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, (byte) (b4 | 12), 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;
try {
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(402 - ExpandableListView.getPackedPositionGroup(0L), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (21608 - (ViewConfiguration.getDoubleTapTimeout() >> 16)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 | 11), 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() ^ (m ^ (-6958928035870403642L));
try {
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - Color.blue(0), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aF(b7, b8, (byte) (b8 | 12), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
} 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;
}
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
int i6 = $10 + 43;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 4 % 4;
}
while (c4593bdB.e < cArr.length) {
int i8 = $11 + 59;
$10 = i8 % 128;
int i9 = i8 % 2;
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(238 - TextUtils.getOffsetAfter("", 0), Color.green(0) + 5, (char) TextUtils.getTrimmedLength(""));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aF(b9, b10, (byte) (b10 | 12), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
objArr[0] = new String(cArr2);
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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;
int i2 = q + 111;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aD(new char[]{40715, 36087, 47336, 42177, 53449, 64700, 59580, 5345, 157, 11410, 22586, 17483, 28796, 40018, 34883, 46130, 41001, 52282}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 5073, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{45226, 51095, 6758, 1296, 2143, 22467}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.order_cheque_heading3).substring(0, 3).codePointAt(2) - 27, 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 i4 = r + 69;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aD(new char[]{40715, 62457, 18164, 55791, 11505, 49138, 4832, 26031, 63715, 19455, 57080, 12699, 34039, 6096, 27336, 64976, 20684, 41934, 14036, 35284, 7418, 28611, 49830, 21940, 43187, 15291}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 27888, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new char[]{54418, 36379, 23638, 47191, 34248, 48896, 26576, 23109, 23043, 19686, 8892, 14928, 57019, 30368, 51460, 65083, 43594, 44958}, (ViewConfiguration.getTapTimeout() >> 16) + 18, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = r + 81;
q = i6 % 128;
if (i6 % 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(TextUtils.lastIndexOf("", '0') + 493, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aD(new char[]{40795, 24954, 25360, 25981, 26565, 27082, 27622, 27674, 28208, 28684, 29406, 29862, 30349, 30963, 31099, 31515, 32120, 32718, 16870, 17335, 17493, 18029, 18513, 19154, 19620, 20115, 20735, 20802, 21325, 21816, 22428, 23010, 23483, 23640, 24188, 8206, 8816, 9388, 9922, 10489, 10560, 11105, 11573, 12242, 12733, 13193, 13325, 13943}, ((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).codePointAt(0) + 65031, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{57129, 33991, 48984, 43845, 61488, 26139, 39165, 9990, 12996, 1582, 35351, 11470, 35351, 11470, 9597, 58305, 19390, 35748, 48214, 31261, 4585, 22957, 12952, 58892, 39161, 47497, 2639, 50655, 40396, 51574, 28218, 60290, 886, 3885, 18442, 21526, 22653, 32003, 20890, 249, 61488, 26139, 61906, 31035, 14911, 21432, 61488, 26139, 39548, 14725, 12289, 2948, 34934, 24771, 19089, 50428, 27364, 14165, 17182, 29066, 61488, 26139, 64158, 60680}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.view_all_request).substring(17, 19).codePointAt(0) + 32, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{31017, 41003, 6124, 42216, 52064, 757, 60445, 2204, 40396, 51574, 17659, 38626, 7240, 10199, 28218, 60290, 8819, 65184, 2356, 31330, 32632, 49013, 22744, 64680, 34934, 24771, 50176, 48981, 49488, 49553, 7330, 45086, 15124, 62455, 35758, 19420, 37692, 29361, 64753, 7025, 25893, 54234, 17160, 51222, 18981, 31066, 48984, 43845, 8646, 16094, 59061, 8653, 63779, 1619, 17891, 63556, 5743, 61372, 15556, 39125, 22653, 32003, 59640, 13197}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{21301, 20790, 33476, 1400, 64573, 55146, 50456, 4735, 11601, 17282, 58056, 14560, 52667, 56682, 37460, 20464, 50469, 20174, 46768, 35647, 46449, 16339, 16226, 29404, 17787, 15283, 40257, 39869, 13399, 23897, 12313, 16571, 58583, 22242, 54961, 53365, 198, 8978, 13725, 29012, 63389, 49721, 9735, 40494, 13941, 37325, 63389, 49721, 21904, 27232, 52667, 56682, 30369, 55115, 44034, 15857, 8619, 12424, 56149, 29490, 23977, 28203, 22373, 1928, 36413, 9519, 14320, 52212, 5988, 58131, 34248, 48896, 43737, 14219}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{2533, 35939, 3611, 24426, 18672, 41576}, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{12313, 16571, 46284, 31993, 23351, 891, 9686, 22584, 36251, 28650, 61206, 62535, 57560, 33770, 42901, 30761, 64753, 7025, 47646, 15951, 8646, 16094, 11550, 40831, 45718, 'A', 57885, 26258, 30397, 1609, 9243, 25149, 18212, 18543, 8445, 19817}, 36 - (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)), 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(487 - View.resolveSizeAndState(0, 0, 0), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Color.red(0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i7 = r + 23;
q = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
int i3 = $10 + 19;
$11 = i3 % 128;
int i4 = i3 % 2;
while (jtb.b < cArr.length) {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i5 = 58224;
int i6 = 0;
while (i6 < 16) {
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(t)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - (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)), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
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, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (f8915o ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 411, ((byte) KeyEvent.getModifierMetaStateMask()) + 6, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i6++;
int i7 = $10 + 119;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(98 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) Drawable.resolveOpacity(0, 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aF(b5, b6, (byte) (b6 + 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:27:0x0021, code lost:
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aD(new char[]{40715, 62457, 18164, 55791, 11505, 49138, 4832, 26031, 63715, 19455, 57080, 12699, 34039, 6096, 27336, 64976, 20684, 41934, 14036, 35284, 7418, 28611, 49830, 21940, 43187, 15291}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 27867, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = new java.lang.Object[1];
aE(new char[]{54418, 36379, 23638, 47191, 34248, 48896, 26576, 23109, 23043, 19686, 8892, 14928, 57019, 30368, 51460, 65083, 43594, 44958}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r5 = o.AbstractActivityC10082dvz.q + 89;
o.AbstractActivityC10082dvz.r = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 onResume() {
/*
Method dump skipped, instructions count: 380
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10082dvz.onResume():void");
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = q + 117;
r = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aD(new char[]{40715, 62457, 18164, 55791, 11505, 49138, 4832, 26031, 63715, 19455, 57080, 12699, 34039, 6096, 27336, 64976, 20684, 41934, 14036, 35284, 7418, 28611, 49830, 21940, 43187, 15291}, TextUtils.lastIndexOf("", '0') + 27902, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{54418, 36379, 23638, 47191, 34248, 48896, 26576, 23109, 23043, 19686, 8892, 14928, 57019, 30368, 51460, 65083, 43594, 44958}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.slip_qr_code_bill_payment_header).substring(32, 33).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 53;
r = i3 % 128;
if (i3 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i4 = 88 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
int i5 = q + 21;
r = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.MeasureSpec.getSize(0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 439, Process.getGidForName("") + 6, (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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(new char[]{40715, 36087, 47336, 42177, 53449, 64700, 59580, 5345, 157, 11410, 22586, 17483, 28796, 40018, 34883, 46130, 41001, 52282}, 5107 - View.combineMeasuredStates(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{45226, 51095, 6758, 1296, 2143, 22467}, (ViewConfiguration.getScrollBarSize() >> 8) + 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) {
if (context != null) {
int i2 = q + 45;
r = i2 % 128;
if (i2 % 2 == 0) {
context2 = context.getApplicationContext();
int i3 = 25 / 0;
} else {
context2 = context.getApplicationContext();
}
} else {
context2 = context;
}
if (context2 != null) {
int i4 = r + 117;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aD(new char[]{40795, 24954, 25360, 25981, 26565, 27082, 27622, 27674, 28208, 28684, 29406, 29862, 30349, 30963, 31099, 31515, 32120, 32718, 16870, 17335, 17493, 18029, 18513, 19154, 19620, 20115, 20735, 20802, 21325, 21816, 22428, 23010, 23483, 23640, 24188, 8206, 8816, 9388, 9922, 10489, 10560, 11105, 11573, 12242, 12733, 13193, 13325, 13943}, 65063 - (ViewConfiguration.getScrollBarSize() >> 8), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{57129, 33991, 48984, 43845, 61488, 26139, 39165, 9990, 12996, 1582, 35351, 11470, 35351, 11470, 9597, 58305, 19390, 35748, 48214, 31261, 4585, 22957, 12952, 58892, 39161, 47497, 2639, 50655, 40396, 51574, 28218, 60290, 886, 3885, 18442, 21526, 22653, 32003, 20890, 249, 61488, 26139, 61906, 31035, 14911, 21432, 61488, 26139, 39548, 14725, 12289, 2948, 34934, 24771, 19089, 50428, 27364, 14165, 17182, 29066, 61488, 26139, 64158, 60680}, (Process.myTid() >> 22) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aE(new char[]{31017, 41003, 6124, 42216, 52064, 757, 60445, 2204, 40396, 51574, 17659, 38626, 7240, 10199, 28218, 60290, 8819, 65184, 2356, 31330, 32632, 49013, 22744, 64680, 34934, 24771, 50176, 48981, 49488, 49553, 7330, 45086, 15124, 62455, 35758, 19420, 37692, 29361, 64753, 7025, 25893, 54234, 17160, 51222, 18981, 31066, 48984, 43845, 8646, 16094, 59061, 8653, 63779, 1619, 17891, 63556, 5743, 61372, 15556, 39125, 22653, 32003, 59640, 13197}, KeyEvent.normalizeMetaState(0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{21301, 20790, 33476, 1400, 64573, 55146, 50456, 4735, 11601, 17282, 58056, 14560, 52667, 56682, 37460, 20464, 50469, 20174, 46768, 35647, 46449, 16339, 16226, 29404, 17787, 15283, 40257, 39869, 13399, 23897, 12313, 16571, 58583, 22242, 54961, 53365, 198, 8978, 13725, 29012, 63389, 49721, 9735, 40494, 13941, 37325, 63389, 49721, 21904, 27232, 52667, 56682, 30369, 55115, 44034, 15857, 8619, 12424, 56149, 29490, 23977, 28203, 22373, 1928, 36413, 9519, 14320, 52212, 5988, 58131, 34248, 48896, 43737, 14219}, 73 - TextUtils.lastIndexOf("", '0'), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{2533, 35939, 3611, 24426, 18672, 41576}, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{12313, 16571, 46284, 31993, 23351, 891, 9686, 22584, 36251, 28650, 61206, 62535, 57560, 33770, 42901, 30761, 64753, 7025, 47646, 15951, 8646, 16094, 11550, 40831, 45718, 'A', 57885, 26258, 30397, 1609, 9243, 25149, 18212, 18543, 8445, 19817}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 36, 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.getWindowTouchSlop() >> 8), 5 - TextUtils.indexOf("", ""), (char) Color.argb(0, 0, 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);
int i6 = q + 91;
r = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 + 27;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 31;
r = i4 % 128;
if (i4 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}