what-the-bank/sources/com/scb/phone/view/activity/deeplink/Hilt_PartnerSubTileLandingD...

487 lines
23 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.deeplink;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.os.Process;
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 com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C4593bdB;
import o.InterfaceC17278vUG;
import o.dFI;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_PartnerSubTileLandingDeepLinkActivity extends BaseDeepLinkActivity {
private boolean b = false;
private static final byte[] $$y = {65, 0, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FMD_BYTE};
private static final int $$z = CipherSuite.TLS_DH_RSA_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
private static int m = 1;
/* renamed from: o, reason: collision with root package name */
private static long f6926o = -5238325119482728703L;
private static int k = 2015661636;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> 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 aE(short r7, byte r8, short r9, java.lang.Object[] r10) {
/*
int r7 = r7 + 69
int r8 = r8 * 4
int r8 = 3 - r8
byte[] r0 = com.scb.phone.view.activity.deeplink.Hilt_PartnerSubTileLandingDeepLinkActivity.$$y
int r9 = r9 * 2
int r9 = 1 - r9
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r8 = r9
r4 = r2
goto L2d
L15:
r3 = r2
L16:
int r4 = r3 + 1
byte r5 = (byte) r7
int r8 = r8 + 1
r1[r3] = r5
if (r4 != r9) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r8]
r6 = r8
r8 = r7
r7 = r3
r3 = r6
L2d:
int r7 = -r7
int r7 = r7 + r8
r8 = r3
r3 = r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.Hilt_PartnerSubTileLandingDeepLinkActivity.aE(short, byte, short, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_PartnerSubTileLandingDeepLinkActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.deeplink.Hilt_PartnerSubTileLandingDeepLinkActivity.2
private Hilt_PartnerSubTileLandingDeepLinkActivity c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.U_();
}
});
}
@Override // o.AbstractActivityC8166dDA
public final void U_() {
int i = 2 % 2;
if (!this.b) {
int i2 = m + 65;
l = i2 % 128;
int i3 = i2 % 2;
this.b = true;
((dFI) y_()).c((PartnerSubTileLandingDeepLinkActivity) this);
}
int i4 = l + 65;
m = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
private static void aC(char[] cArr, int i, Object[] objArr) {
Object method;
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 + 25;
$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(TextUtils.indexOf("", "") + 402, 5 - View.combineMeasuredStates(0, 0), (char) (21607 - Process.getGidForName("")));
byte b = $$y[1];
Object[] objArr3 = new Object[1];
aE((byte) 8, b, b, 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() / (f6926o - (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - TextUtils.getOffsetAfter("", 0), 5 - View.resolveSizeAndState(0, 0, 0), (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
byte b2 = $$y[1];
Object[] objArr5 = new Object[1];
aE((byte) 9, b2, b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(402 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (Process.getGidForName("") + 21609));
byte b3 = $$y[1];
Object[] objArr7 = new Object[1];
aE((byte) 8, b3, b3, 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() ^ (f6926o ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - View.getDefaultSize(0, 0), TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b4 = $$y[1];
Object[] objArr9 = new Object[1];
aE((byte) 9, b4, b4, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 51;
$10 = i6 % 128;
if (i6 % 2 != 0) {
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 - KeyEvent.getDeadChar(0, 0), 5 - TextUtils.getOffsetAfter("", 0), (char) (TextUtils.indexOf((CharSequence) "", '0') + 1));
byte b5 = $$y[1];
Object[] objArr11 = new Object[1];
aE((byte) 9, b5, b5, objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
Object obj6 = null;
((Method) obj5).invoke(null, objArr10);
obj6.hashCode();
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr12 = {c4593bdB, c4593bdB};
Object obj7 = xzZ.y.get(-1143917229);
if (obj7 != null) {
method = obj7;
} else {
Class cls6 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 237, 4 - ImageFormat.getBitsPerPixel(0), (char) (AndroidCharacter.getMirror('0') - '0'));
byte b6 = $$y[1];
Object[] objArr13 = new Object[1];
aE((byte) 9, b6, b6, objArr13);
method = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(-1143917229, method);
}
((Method) method).invoke(null, objArr12);
}
objArr[0] = new String(cArr2);
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x006d, code lost:
if (r3 > 99999) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0067, code lost:
if (r3 > 99999) goto L11;
*/
@Override // 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r27) {
/*
Method dump skipped, instructions count: 1174
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.Hilt_PartnerSubTileLandingDeepLinkActivity.onCreate(android.os.Bundle):void");
}
@Override // 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 = l + 119;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aC(new char[]{64678, 48696, 31105, 15110, 63212, 45179, 29637, 11550, 59438, 43950, 25885, 8402, 57930, 40441, 24413, 6865, 54689, 38671, 21121, 3197, 53191, 35146, 17603, 1957, 49470, 31882}, (ViewConfiguration.getTapTimeout() >> 16) + 17041, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new char[]{64676, 44483, 24151, 2278, 47462, 27548, 5141, 50833, 30527, 8270, 53953, 33653, 11752, 56859, 34973, 14641, 60344, 37928}, TextUtils.getCapsMode("", 0, 0) + 20849, 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(Color.rgb(0, 0, 0) + 16777708, 4 - ImageFormat.getBitsPerPixel(0), (char) View.getDefaultSize(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(Color.green(0) + 487, (Process.myTid() >> 22) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = l + 57;
m = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = l + 61;
m = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 36 / 0;
}
}
private static void aD(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
char[] cArr2;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr3 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $11 + 9;
$10 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr3[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr3[i7]), Integer.valueOf(k)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - TextUtils.getTrimmedLength(""), 7 - KeyEvent.normalizeMetaState(0), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = $$y[1];
byte b2 = b;
Object[] objArr3 = new Object[1];
aE(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) View.resolveSize(0, 0));
byte b3 = $$y[1];
Object[] objArr5 = new Object[1];
aE((byte) 7, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i8 = $10 + 123;
$11 = i8 % 128;
int i9 = i8 % 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;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr4 = new char[i];
System.arraycopy(cArr3, 0, cArr4, 0, i);
System.arraycopy(cArr4, 0, cArr3, i - zui.a, zui.a);
System.arraycopy(cArr4, zui.a, cArr3, 0, i - zui.a);
}
if (z) {
int i10 = $11 + 51;
$10 = i10 % 128;
if (i10 % 2 != 0) {
cArr2 = new char[i];
zui.d = 1;
} else {
cArr2 = new char[i];
zui.d = 0;
}
while (zui.d < i) {
cArr2[zui.d] = cArr3[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - TextUtils.indexOf("", ""), (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b4 = $$y[1];
Object[] objArr7 = new Object[1];
aE((byte) 7, b4, b4, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i11 = $10 + 11;
$11 = i11 % 128;
int i12 = i11 % 2;
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr3 = cArr2;
}
objArr[0] = new String(cArr3);
}
@Override // 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) {
int i2 = m + 37;
l = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aC(new char[]{64678, 48696, 31105, 15110, 63212, 45179, 29637, 11550, 59438, 43950, 25885, 8402, 57930, 40441, 24413, 6865, 54689, 38671, 21121, 3197, 53191, 35146, 17603, 1957, 49470, 31882}, (ViewConfiguration.getLongPressTimeout() >> 16) + 17041, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aC(new char[]{64676, 44483, 24151, 2278, 47462, 27548, 5141, 50833, 30527, 8270, 53953, 33653, 11752, 56859, 34973, 14641, 60344, 37928}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_bo_laser_id_header).substring(30, 31).codePointAt(0) + 20817, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = m + 19;
l = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.blue(0) + 492, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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.getJumpTapTimeout() >> 16) + 487, (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 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();
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x0068, code lost:
if (r2 > 99999) goto L11;
*/
@Override // 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void attachBaseContext(android.content.Context r22) {
/*
Method dump skipped, instructions count: 880
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.deeplink.Hilt_PartnerSubTileLandingDeepLinkActivity.attachBaseContext(android.content.Context):void");
}
@Override // 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 = l + 89;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}