what-the-bank/sources/com/scb/phone/view/activity/thirdparty/ThirdPartyConsentDeepLinkAc...

655 lines
39 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.thirdparty;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.airbnb.deeplinkdispatch.DeepLink;
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 com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC11942eop;
import o.Nhs;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
@DeepLink({"scbeasy://partner/consent/application/{applicationId}/transaction/{partnertransactionId}"})
/* loaded from: classes5.dex */
public class ThirdPartyConsentDeepLinkActivity extends AbstractActivityC11942eop {
private static final byte[] $$p = {Ascii.DEL, ISOFileInfo.CHANNEL_SECURITY, -122, -31};
private static final int $$q = 113;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int t = 1;
private static long b = -3962226802198803581L;
private static int l = 452713125;
private static char k = 55973;
/* renamed from: o, reason: collision with root package name */
private static char[] f7961o = {40011, 40073, 40048, 40072, 40068, 40003, 40097, 40128, 40152, 40121, 40081, 40126, 40133, 40154, 40153, 40153, 40154, 40146, 40130, 40138, 40155, 40133, 40141, 40142, 40142, 40129, 40135, 40133, 40152, 40132, 40130, 40098, 40123, 40102, 40098, 40098, 40151, 40122, 40144, 40102, 40144, 40101, 40149, 40122, 40146, 40103, 40096, 40123, 40097, 40096, 40145, 40123, 40096, 40145, 40096, 40146, 40097, 40122, 40145, 40146, 40149, 40144, 40096, 40145, 40103, 40100, 40098, 40103, 40150, 40123, 40144, 40102, 40122, 40103, 40097, 40145, 40145, 40150, 40149, 39955, 39999, 40007, 40007, 40006, 40006, 39997, 40000, 40040, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 40059, 40144, 40157, 40145, 40145, 39988, 40075, 40073, 40073, 40079, 40074, 40083, 40127, 40080, 40079, 40073, 40052, 40072, 40076, 40084, 40086, 40079, 40081, 40127, 40125, 40087, 40079, 40078, 40078, 40086, 40126, 40084, 40086, 40081, 40080, 40080, 40075, 40082, 40126, 40127, 40121};
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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 aN(int r5, byte r6, int r7, java.lang.Object[] r8) {
/*
int r5 = 115 - r5
byte[] r0 = com.scb.phone.view.activity.thirdparty.ThirdPartyConsentDeepLinkActivity.$$p
int r7 = r7 * 4
int r1 = r7 + 1
int r6 = r6 * 2
int r6 = 4 - r6
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L14
r4 = r7
r3 = r2
goto L26
L14:
r3 = r2
L15:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r7) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r3 = r3 + 1
r4 = r0[r6]
L26:
int r5 = r5 + r4
int r6 = r6 + 1
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.thirdparty.ThirdPartyConsentDeepLinkActivity.aN(int, byte, int, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity
public final void amm_(Intent intent, String str) {
String str2;
int i = 2 % 2;
String stringExtra = intent.getStringExtra("applicationId");
String stringExtra2 = intent.getStringExtra("partnertransactionId");
if (intent.getExtras() != null) {
int i2 = t + 95;
m = i2 % 128;
if (i2 % 2 != 0) {
str2 = intent.getExtras().getString("callback_url");
int i3 = 59 / 0;
} else {
str2 = intent.getExtras().getString("callback_url");
}
} else {
int i4 = t + 115;
m = i4 % 128;
int i5 = i4 % 2;
str2 = null;
}
aby_(ThirdPartyConsentActivity.aml_(this, stringExtra, stringExtra2, str2));
}
@Override // o.AbstractActivityC11942eop, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aF((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.error_do_not_have_deposit_paywise).substring(64, 65).codePointAt(0) + 25364), new char[]{45980, 44619, 37944, 44025, 6751, 4939, 55278, 36047, 59418, 19061, 61383, 48381, 24919, 42515, 53177, 51175, 62421, 2890}, new char[]{38276, 45224, 13517, 20323}, new char[]{20774, 19859, 38419, 46232}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 109, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{0, 5, 28, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = t + 7;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aG(new int[]{5, 26, 99, 19}, false, new byte[]{1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aF((char) (Color.rgb(0, 0, 0) + 16828919), new char[]{56039, 31612, 31865, 11205, 33304, 22578, 45247, 59692, 14657, 27475, 45916, 33036, 62138, 11725, 1672, 27582, 635, 1120}, new char[]{51649, 62813, 63316, 14281}, new char[]{20774, 19859, 38419, 46232}, Process.myPid() >> 22, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = t + 125;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = m + 123;
t = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG(new int[]{31, 48, 120, 36}, true, null, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aF((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), new char[]{49420, 22956, 57207, 63300, 53815, 28225, 14565, 15340, 61980, 5424, 41072, 19705, 55687, 62875, 34913, 57067, 60670, 27087, 11224, 58352, 39006, 20132, 54381, 35709, 26350, 62909, 549, 48674, 17518, 54425, 54923, 21360, 63251, 210, 39792, 31606, 57570, 57738, 53524, 11658, 41311, 55297, 26492, 6538, 25166, 10897, 27555, 64969, 4348, 28386, 12550, 13845, 42907, 53800, 25988, 8887, 34173, 33095, 1272, 55789, 20552, 7429, 15749, 47393}, new char[]{39748, 6878, 30777, 30178}, new char[]{20774, 19859, 38419, 46232}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new int[]{79, 64, 0, 3}, true, new byte[]{0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aF((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_information_validate_line_id_wrong_format).substring(35, 37).codePointAt(0) - 44), new char[]{15273, 31659, 30292, 45237, 1098, 63665, 46826, 19685, 28900, 33442, 56010, 8527, 50486, 50618, 37306, 16409, 48017, 10762, 41400, 43461, 31910, 3435, 32764, 18433, 31466, 24326, 7160, 63013, 38996, 51461, 29756, 5116, 3718, 62741, 46482, 55922, 2794, 8563, 47267, 59211, 21724, 42301, 21282, 36380, 51515, 56424, 40059, 55652, 61750, 52702, 41050, 36606, 41269, 24935, 56697, 42627, 17197, 2289, 64769, 59716, 18292, 59061, 50977, 56211, 39076, 41690, 22143, 40203, 31908, 9261, 22095, 62152, 32581, 60226}, new char[]{28026, 6994, 18616, 59148}, new char[]{20774, 19859, 38419, 46232}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 46, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 1}, true, new byte[]{0, 1, 0, 0, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(new int[]{CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 36, 81, 19}, true, new byte[]{0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 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 - TextUtils.indexOf("", "", 0), ((Process.getThreadPriority(0) + 20) >> 6) + 5, (char) View.resolveSizeAndState(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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void aF(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 + 107;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((Process.myPid() >> 22) + 45, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)))).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(351 - ImageFormat.getBitsPerPixel(0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (52128 - ExpandableListView.getPackedPositionType(0L)));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr4 = new Object[1];
aN(b2, b3, b3, 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((Process.myTid() >> 22) + 748, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) TextUtils.getTrimmedLength(""))).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(TextUtils.lastIndexOf("", '0') + 403, ImageFormat.getBitsPerPixel(0) + 6, (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 21608));
byte b4 = (byte) ($$q & 7);
byte b5 = (byte) (b4 - 1);
Object[] objArr7 = new Object[1];
aN(b4, b5, b5, 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]) ^ (b ^ 9051040786702654117L)) ^ ((int) (l ^ 9051040786702654117L))) ^ ((char) (k ^ 9051040786702654117L)));
nhs.a++;
int i6 = $10 + 17;
$11 = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 2 % 4;
}
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;
}
}
String str = new String(cArr6);
int i8 = $10 + 77;
$11 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC11942eop, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = t + 119;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aG(new int[]{5, 26, 99, 19}, false, new byte[]{1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aF((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51690), new char[]{56039, 31612, 31865, 11205, 33304, 22578, 45247, 59692, 14657, 27475, 45916, 33036, 62138, 11725, 1672, 27582, 635, 1120}, new char[]{51649, 62813, 63316, 14281}, new char[]{20774, 19859, 38419, 46232}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fatca_question_title_breadcrumb_th).substring(0, 15).length() - 15, 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 = m + 63;
t = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) TextUtils.indexOf("", ""))).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(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 52 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, 5 - KeyEvent.keyCodeFromString(""), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (1 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // o.AbstractActivityC11942eop, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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];
aG(new int[]{5, 26, 99, 19}, false, new byte[]{1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aF((char) (MotionEvent.axisFromString("") + 51704), new char[]{56039, 31612, 31865, 11205, 33304, 22578, 45247, 59692, 14657, 27475, 45916, 33036, 62138, 11725, 1672, 27582, 635, 1120}, new char[]{51649, 62813, 63316, 14281}, new char[]{20774, 19859, 38419, 46232}, KeyEvent.normalizeMetaState(0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = m + 61;
t = i2 % 128;
if (i2 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i3 = 35 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i4 = t + 3;
m = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), 5 - TextUtils.indexOf("", "", 0, 0), (char) View.MeasureSpec.getMode(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.getDoubleTapTimeout() >> 16), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 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();
}
private static void aG(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = f7961o;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - (PointF.length(f, f) > f ? 1 : (PointF.length(f, f) == f ? 0 : -1)), 5 - TextUtils.indexOf("", "", i3, i3), (char) (41977 - (ViewConfiguration.getScrollBarFadeDuration() >> 16)));
byte b2 = (byte) i3;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aN((byte) 44, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
cArr2 = cArr;
i3 = 0;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
int i9 = $10 + 57;
$11 = i9 % 128;
int i10 = i9 % 2;
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
int i11 = $11 + 15;
$10 = i11 % 128;
if (i11 % 2 == 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) {
int i12 = tvh.c;
try {
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(1084521042);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) (58134 - (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))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj2);
}
cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 503, 4 - TextUtils.lastIndexOf("", '0'), (char) (View.getDefaultSize(0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(403 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) (21607 - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aN((byte) 42, b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i14 = $10 + 101;
$11 = i14 % 128;
int i15 = i14 % 2;
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i16 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i16, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i16);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i17 = $10 + 21;
$11 = i17 % 128;
char c2 = 2;
int i18 = i17 % 2;
tvh.c = 0;
while (tvh.c < i5) {
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[c2]);
tvh.c++;
int i19 = $10 + 77;
$11 = i19 % 128;
c2 = 2;
int i20 = i19 % 2;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC11942eop, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aF((char) (((byte) KeyEvent.getModifierMetaStateMask()) + 25397), new char[]{45980, 44619, 37944, 44025, 6751, 4939, 55278, 36047, 59418, 19061, 61383, 48381, 24919, 42515, 53177, 51175, 62421, 2890}, new char[]{38276, 45224, 13517, 20323}, new char[]{20774, 19859, 38419, 46232}, ViewConfiguration.getScrollBarFadeDuration() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(new int[]{0, 5, 28, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = t + 5;
m = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 / 0;
if (intValue <= 99999) {
return;
}
} else if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = m + 107;
t = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(new int[]{31, 48, 120, 36}, true, null, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aF((char) (ViewConfiguration.getDoubleTapTimeout() >> 16), new char[]{49420, 22956, 57207, 63300, 53815, 28225, 14565, 15340, 61980, 5424, 41072, 19705, 55687, 62875, 34913, 57067, 60670, 27087, 11224, 58352, 39006, 20132, 54381, 35709, 26350, 62909, 549, 48674, 17518, 54425, 54923, 21360, 63251, 210, 39792, 31606, 57570, 57738, 53524, 11658, 41311, 55297, 26492, 6538, 25166, 10897, 27555, 64969, 4348, 28386, 12550, 13845, 42907, 53800, 25988, 8887, 34173, 33095, 1272, 55789, 20552, 7429, 15749, 47393}, new char[]{39748, 6878, 30777, 30178}, new char[]{20774, 19859, 38419, 46232}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(new int[]{79, 64, 0, 3}, true, new byte[]{0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aF((char) TextUtils.getOffsetAfter("", 0), new char[]{15273, 31659, 30292, 45237, 1098, 63665, 46826, 19685, 28900, 33442, 56010, 8527, 50486, 50618, 37306, 16409, 48017, 10762, 41400, 43461, 31910, 3435, 32764, 18433, 31466, 24326, 7160, 63013, 38996, 51461, 29756, 5116, 3718, 62741, 46482, 55922, 2794, 8563, 47267, 59211, 21724, 42301, 21282, 36380, 51515, 56424, 40059, 55652, 61750, 52702, 41050, 36606, 41269, 24935, 56697, 42627, 17197, 2289, 64769, 59716, 18292, 59061, 50977, 56211, 39076, 41690, 22143, 40203, 31908, 9261, 22095, 62152, 32581, 60226}, new char[]{28026, 6994, 18616, 59148}, new char[]{20774, 19859, 38419, 46232}, View.getDefaultSize(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(new int[]{CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 5, CipherSuite.TLS_DH_anon_WITH_AES_256_GCM_SHA384, 1}, true, new byte[]{0, 1, 0, 0, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(new int[]{CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA, 36, 81, 19}, true, new byte[]{0, 0, 0, 1, 0, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 1, 1}, 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(Color.alpha(0) + 487, AndroidCharacter.getMirror('0') - '+', (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).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;
}
}
}
@Override // o.AbstractActivityC11942eop, com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity, o.AbstractActivityC8166dDA, 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 = m + 23;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i4 = m + 109;
t = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.deeplink.BaseDeepLinkActivity
public final boolean h() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 87;
m = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 95;
m = i5 % 128;
if (i5 % 2 == 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
}