what-the-bank/sources/com/scb/phone/view/activity/ebillsubscription/EBillSubscriptionSuccessAct...

412 lines
21 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ebillsubscription;
import android.content.Context;
import android.graphics.Color;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
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.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.ebillsubscription.EBillSubscriptionSuccessFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC8465dLx;
import o.GuL;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class EBillSubscriptionSuccessActivity extends AbstractActivityC8465dLx {
/* renamed from: o, reason: collision with root package name */
private EBillSubscriptionSuccessFragment f7125o;
private static final byte[] $$g = {Ascii.SUB, 97, -29, 95};
private static final int $$h = 234;
private static int $10 = 0;
private static int $11 = 1;
private static int s = 0;
private static int q = 1;
private static long m = -4258350989682563036L;
private static char[] l = {49111, 49114, 49035, 49117, 49112, 49031, 48160, 49115, 49033, 49105, 49030, 49028, 49116, 48171, 48163, 48172, 49026, 49119, 49094, 49104, 49025, 49127, 48169, 49126, 49108, 49024, 49095, 48161, 48170, 49089, 49029, 49109, 49093, 49090, 49088, 48174, 48175, 49053, 48168, 49027, 49098, 49052, 49138, 49106, 49034, 49118, 49110, 48173, 49091};
private static char k = 35374;
/* 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: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 az(int r6, int r7, short r8, java.lang.Object[] r9) {
/*
int r7 = r7 * 3
int r7 = 4 - r7
int r6 = r6 * 3
int r0 = r6 + 1
int r8 = r8 + 117
byte[] r1 = com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r3 = r6
r8 = r7
r4 = r2
goto L2b
L15:
r3 = r2
L16:
byte r4 = (byte) r8
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L25:
r3 = r1[r7]
r5 = r8
r8 = r7
r7 = r3
r3 = r5
L2b:
int r7 = -r7
int r8 = r8 + 1
int r7 = r7 + r3
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.az(int, int, short, java.lang.Object[]):void");
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
while (guL.a < a.length) {
int i3 = $11 + 107;
$10 = i3 % 128;
int i4 = i3 % 2;
guL.c = guL.a - 4;
int i5 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "") + 208, (-16777211) - Color.rgb(0, 0, 0), (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 1706));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 393, 5 - (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)), (char) TextUtils.getTrimmedLength(""));
byte b3 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b3, b3, (byte) $$g.length, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 103;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x00b1, code lost:
if (r2 > 99999) goto L10;
*/
/* JADX WARN: Removed duplicated region for block: B:15:0x0468 A[RETURN] */
/* JADX WARN: Removed duplicated region for block: B:17:0x0469 */
@Override // o.AbstractActivityC8465dLx, 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: 1554
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.onCreate(android.os.Bundle):void");
}
@Override // o.AbstractActivityC8465dLx, 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 = s + 15;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{'-', 1, 1, NistHelper.SEP_FS, '\b', 5, 2, '#', ',', '*', ',', ')', '/', 14, 22, 5, 29, 4, '!', '/', NistHelper.SEP_FS, 14, ' ', '+', '*', 1}, (byte) ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_ntb_does_not_support_text).substring(75, 76).codePointAt(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 72, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{32561, 47148, 32594, 29957, 8688, 51234, 38273, 28915, 48824, 35365, 55187, 13036, 64665, 19471, 4519, 62672, 14998, 3698, 21451, 46764, 30958, 49257}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_open_scbs_account_description).substring(CipherSuite.TLS_PSK_WITH_NULL_SHA256, CipherSuite.TLS_PSK_WITH_NULL_SHA384).codePointAt(0) - 31, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = q + 21;
s = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 119;
s = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 492, 5 - View.MeasureSpec.getSize(0), (char) TextUtils.getCapsMode("", 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((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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 // o.AbstractActivityC8465dLx, 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 + 97;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(new char[]{'-', 1, 1, NistHelper.SEP_FS, '\b', 5, 2, '#', ',', '*', ',', ')', '/', 14, 22, 5, 29, 4, '!', '/', NistHelper.SEP_FS, 14, ' ', '+', '*', 1}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_personal_info_date_hint).substring(2, 3).length() + 31), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 25, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{32561, 47148, 32594, 29957, 8688, 51234, 38273, 28915, 48824, 35365, 55187, 13036, 64665, 19471, 4519, 62672, 14998, 3698, 21451, 46764, 30958, 49257}, (Process.myTid() >> 22) + 1, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) (MotionEvent.axisFromString("") + 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(View.resolveSizeAndState(0, 0, 0) + 487, 5 - Color.green(0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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 i4 = q + 45;
s = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0074, code lost:
if (r2 > 99999) goto L6;
*/
@Override // o.AbstractActivityC8465dLx, 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 r18) {
/*
Method dump skipped, instructions count: 896
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.attachBaseContext(android.content.Context):void");
}
/* JADX WARN: Code restructure failed: missing block: B:37:0x012f, code lost:
if (r2.b == r2.c) goto L36;
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0160, code lost:
r11 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2};
r5 = o.xzZ.y.get(822107368);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x01af, code lost:
if (r5 == null) goto L41;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x023d, code lost:
if (((java.lang.Integer) ((java.lang.reflect.Method) r5).invoke(null, r11)).intValue() != r2.j) goto L52;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x0241, code lost:
r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2};
r5 = o.xzZ.y.get(-1152873385);
*/
/* JADX WARN: Code restructure failed: missing block: B:47:0x0280, code lost:
if (r5 == null) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:49:0x02f9, code lost:
r11 = null;
r5 = ((java.lang.Integer) ((java.lang.reflect.Method) r5).invoke(null, r10)).intValue();
*/
/* JADX WARN: Code restructure failed: missing block: B:50:0x0306, code lost:
r10 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:52:0x0379, code lost:
r2.e += 2;
r5 = r11;
r11 = 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:53:0x0286, code lost:
r5 = (java.lang.Class) o.xzZ.c((android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16) + 327, android.graphics.Color.rgb(0, 0, 0) + 16777221, (char) ((-1) - android.text.TextUtils.indexOf((java.lang.CharSequence) "", '0', 0)));
r11 = (byte) 0;
r13 = r11;
r15 = new java.lang.Object[1];
az(r11, r13, (byte) (r13 + 1), r15);
r5 = r5.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(-1152873385, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:54:0x031a, code lost:
r11 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:55:0x0322, code lost:
if (r2.a != r2.d) goto L55;
*/
/* JADX WARN: Code restructure failed: missing block: B:56:0x0324, code lost:
r5 = com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.$11 + 21;
com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.$10 = r5 % 128;
r5 = r5 % 2;
r2.f = ((r2.f + r1) - 1) % r1;
r2.j = ((r2.j + r1) - 1) % r1;
r5 = (r2.a * r1) + r2.f;
r10 = (r2.d * r1) + r2.j;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r10];
r5 = com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.$11 + 67;
com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.$10 = r5 % 128;
r5 = r5 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:58:0x0360, code lost:
r5 = (r2.a * r1) + r2.j;
r10 = (r2.d * r1) + r2.f;
r4[r2.e] = r3[r5];
r4[r2.e + 1] = r3[r10];
*/
/* JADX WARN: Code restructure failed: missing block: B:60:0x01b2, code lost:
r5 = (java.lang.Class) o.xzZ.c(android.graphics.Color.rgb(0, 0, 0) + 16777449, (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (22024 - (android.view.ViewConfiguration.getMinimumFlingVelocity() >> 16)));
r12 = (byte) 0;
r14 = r12;
r15 = new java.lang.Object[1];
az(r12, r14, (byte) (r14 + 3), r15);
r5 = r5.getMethod((java.lang.String) r15[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class);
o.xzZ.y.put(822107368, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:62:0x0145, code lost:
r4[r2.e] = (char) (r2.b - r28);
r4[r2.e + 1] = (char) (r2.c - r28);
r11 = r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:65:0x0143, code lost:
if (r2.b == r2.c) goto L36;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ay(char[] r27, byte r28, int r29, java.lang.Object[] r30) {
/*
Method dump skipped, instructions count: 929
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ebillsubscription.EBillSubscriptionSuccessActivity.ay(char[], byte, int, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC8465dLx, 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 = s + 87;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
int i4 = s + 65;
q = i4 % 128;
int i5 = i4 % 2;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = s + 119;
q = i2 % 128;
int i3 = i2 % 2;
}
}