what-the-bank/sources/com/scb/phone/view/activity/cardmanagement/Hilt_TermAndConditionStatem...

837 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.cardmanagement;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
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.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13073fPt;
import o.IRS;
import o.InterfaceC10055dvY;
import o.InterfaceC17278vUG;
import o.TVH;
import o.fPA;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public abstract class Hilt_TermAndConditionStatementChannelActivity extends BaseActivityWithFragment implements fPA {
/* renamed from: o, reason: collision with root package name */
private volatile C13073fPt f6643o;
private static final byte[] $$p = {33, ISOFileInfo.ENV_TEMP_EF, -97, 85};
private static final int $$q = 81;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
private static int q = 1;
private static char[] k = {40092, 40228, 40227, 40235, 40238, 40231, 40214, 40176, 40199, 40230, 40193, 40206, 40233, 40227, 40231, 40236, 40238, 40232, 39995, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 39996, 40034, 40032, 40057, 40056, 40039, 40035, 40037, 40039, 40037, 40033, 40041, 40045, 40033, 40037, 40059, 40019, 40017, 39955, 39972, 39992, 39992, 39992};
private static char[] l = {49035, 49030, 49043, 49033, 49114, 49104, 49093, 49111, 49024, 49029, 49106, 49126, 49053, 49031, 49095, 49052, 49118, 49116, 49028, 49109, 49037, 49040, 49026, 49090, 49034, 49051, 49108, 49039, 49041, 49094, 49110, 49088, 49054, 49050, 49025, 49117, 49119, 49038, 49036, 49048, 49027, 49098, 49115, 49055, 49112, 49049, 49105, 49089, 49091};
private static char s = 35374;
private final Object m = new Object();
boolean b = false;
/* 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:0x002e). 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 aC(int r6, byte r7, int r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.$$p
int r8 = r8 + 71
int r6 = r6 * 2
int r1 = 1 - r6
int r7 = r7 * 2
int r7 = r7 + 4
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L17
r3 = r8
r4 = r2
r8 = r7
goto L2e
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r1[r3] = r4
if (r3 != r6) goto L25
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L25:
int r3 = r3 + 1
r4 = r0[r7]
r5 = r8
r8 = r7
r7 = r4
r4 = r3
r3 = r5
L2e:
int r7 = -r7
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r4
r5 = r8
r8 = r7
r7 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.aC(int, byte, int, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_TermAndConditionStatementChannelActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.4
private Hilt_TermAndConditionStatementChannelActivity a;
{
this.a = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_TermAndConditionStatementChannelActivity hilt_TermAndConditionStatementChannelActivity = this.a;
if (hilt_TermAndConditionStatementChannelActivity.b) {
return;
}
hilt_TermAndConditionStatementChannelActivity.b = true;
((InterfaceC10055dvY) hilt_TermAndConditionStatementChannelActivity.y_()).c((TermAndConditionStatementChannelActivity) hilt_TermAndConditionStatementChannelActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = q + 75;
t = i2 % 128;
int i3 = i2 % 2;
Object y_ = h().y_();
int i4 = q + 63;
t = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt h() {
if (this.f6643o == null) {
synchronized (this.m) {
if (this.f6643o == null) {
this.f6643o = new C13073fPt(this);
}
}
}
return this.f6643o;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x003d, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0026, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0051, code lost:
r3 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x003f, code lost:
r3 = getIntent().getExtras();
r4 = com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.t + 69;
com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.q = r4 % 128;
r4 = r4 % 2;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.t
int r1 = r1 + 35
int r2 = r1 % 128
com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.q = r2
int r1 = r1 % r0
if (r1 != 0) goto L29
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r6, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r6.getIntent()
r4 = 13
int r4 = r4 / 0
if (r3 == 0) goto L51
goto L3f
L29:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r2 = o.C13068fPo.Sts.class
java.lang.Object r2 = o.fOV.c(r6, r2)
o.fPo$Sts r2 = (o.C13068fPo.Sts) r2
o.fPo$LWm r2 = r2.a()
android.content.Intent r3 = r6.getIntent()
if (r3 == 0) goto L51
L3f:
android.content.Intent r3 = r6.getIntent()
android.os.Bundle r3 = r3.getExtras()
int r4 = com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.t
int r4 = r4 + 69
int r5 = r4 % 128
com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.q = r5
int r4 = r4 % r0
goto L52
L51:
r3 = 0
L52:
o.VLM$LWm r0 = r2.aBN_(r6, r3, r1)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.Hilt_TermAndConditionStatementChannelActivity.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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) {
Method method;
int i = 2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 188, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{20, '%', 18, 11, 13842}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 14), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_net_gain).substring(0, 15).codePointAt(13) - 110, 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 + 77;
q = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr3 = new Object[1];
ay(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{44, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
} else {
Object[] objArr5 = new Object[1];
ay(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr5);
Class<?> cls3 = Class.forName((String) objArr5[0]);
Object[] objArr6 = new Object[1];
ay(new int[]{44, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr6);
method = cls3.getMethod((String) objArr6[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
}
if (baseContext != null) {
int i3 = q + 75;
t = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = t + 79;
q = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = t + 63;
q = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr7 = new Object[1];
aB(new char[]{25, 15, 11, '0', '\f', 1, 17, '\f', '-', 25, 31, '\r', 11, '+', 7, 1, '+', 11, NistHelper.SEP_FS, 6, '\t', 7, 17, 31, 16, '\f', 6, 2, 3, 26, '\b', 21, 29, '\b', 1, 21, 16, '!', 13917, 13917, ')', 20, 22, 3, 6, 1, '\"', '\t'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.review_disclaimer_description_cdx).substring(0, 205).codePointAt(188) + 69), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(11) - 62, objArr7);
String str = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{' ', ',', 16, '%', 11, ',', '\n', 27, 29, 2, 30, '\r', 30, '\r', 15, 25, '\n', 7, 27, 29, 2, '\f', 11, 7, '\t', '\n', '/', '\f', 31, 27, '#', 5, 13823, 13823, 3, '\b', 2, 1, 13898, 13898, 11, ',', 11, '\n', '\b', 29, 11, ',', 14, 7, 20, 19, 6, 1, 4, '+', 1, 6, 21, 1, 11, ',', '\t', 31}, (byte) (82 - (ViewConfiguration.getMaximumFlingVelocity() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_vpn_detection_description).substring(CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384).length() + 63, objArr8);
String str2 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new char[]{7, 3, '$', '\f', 11, '\t', 13917, 13917, 31, 27, '\t', 29, '0', 11, '#', 5, 11, '-', 26, '/', 26, '$', 20, ' ', 6, 1, 16, '!', 2, 7, 21, '\n', 11, '0', '\b', 3, 6, 29, 13833, 13833, 5, '$', '\b', 15, 26, '\f', 16, '%', ',', ' ', NistHelper.SEP_FS, 6, '\n', 23, '/', 26, '&', '\f', 17, '\f', 2, 1, 4, 19}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 81), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 47, objArr9);
String str3 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new char[]{0, 21, 20, '*', '&', '\n', 13823, 13823, ' ', 3, '\t', 17, 3, 19, 13889, 13889, '!', ',', 6, 5, '\b', '&', '-', 11, '%', '*', 7, 19, '+', '0', 31, '\t', 19, 0, 17, '&', 19, 7, 22, '!', '\f', '-', '\n', NistHelper.SEP_FS, 22, 30, '\f', '-', '!', '\t', 3, 19, 17, 16, '\r', '-', 1, 18, 0, '\'', 23, '!', NistHelper.SEP_FS, 17, 20, 1, 29, 20, '\"', 2, NistHelper.SEP_FS, '%', 17, NistHelper.SEP_FS}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61), View.resolveSizeAndState(0, 0, 0) + 74, objArr10);
String str4 = (String) objArr10[0];
Object[] objArr11 = new Object[1];
ay(new int[]{62, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr11);
String str5 = (String) objArr11[0];
Object[] objArr12 = new Object[1];
aB(new char[]{31, '\t', ')', 20, '\n', 21, '\f', ')', 30, 11, '%', '!', 4, '\'', 20, ')', 13810, 13810, 31, 11, ',', ' ', 4, '!', '!', 6, 31, '\r', 16, ' ', 6, 2, '\b', 6, 23, 29}, (byte) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 71), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.common_google_play_services_unknown_issue).substring(0, 5).codePointAt(4) + 4, objArr12);
Object[] objArr13 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr12[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 487, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.alpha(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, objArr13);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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() {
Method method;
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = q + 31;
t = i2 % 128;
if (i2 % 2 != 0) {
Object[] objArr = new Object[1];
ay(new int[]{18, 26, 0, 0}, true, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{44, 18, 0, 6}, false, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
method = cls.getMethod((String) objArr2[0], new Class[0]);
} else {
Object[] objArr3 = new Object[1];
ay(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(new int[]{44, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr4);
method = cls2.getMethod((String) objArr4[0], new Class[0]);
}
baseContext = (Context) method.invoke(null, null);
int i3 = q + 1;
t = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i5 = t + 111;
q = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = t + 95;
q = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.getOffsetBefore("", 0), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr5);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void ay(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
char[] cArr;
int i = 2 % 2;
TVH tvh = new TVH();
int i2 = 0;
int i3 = iArr[0];
int i4 = iArr[1];
int i5 = iArr[2];
int i6 = iArr[3];
char[] cArr2 = k;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i7 = 0;
while (i7 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i2] = Integer.valueOf(cArr2[i7]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(223 - View.MeasureSpec.getSize(i2), TextUtils.indexOf("", "") + 5, (char) ((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)) + 41977));
byte b = (byte) i2;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i7++;
cArr2 = cArr;
i2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i4];
System.arraycopy(cArr2, i3, cArr4, 0, i4);
if (bArr != null) {
char[] cArr5 = new char[i4];
tvh.c = 0;
char c = 0;
while (tvh.c < i4) {
if (bArr[tvh.c] == 1) {
int i8 = $10 + 13;
$11 = i8 % 128;
if (i8 % 2 == 0) {
int i9 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - TextUtils.indexOf("", "", 0, 0), 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
Object obj3 = null;
cArr5[i9] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
obj3.hashCode();
throw null;
}
int i10 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(850398076);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 502, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj4);
}
cArr5[i10] = ((Character) ((Method) obj4).invoke(null, objArr5)).charValue();
} else {
int i11 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(1084521042);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(15 - Color.green(0), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((ViewConfiguration.getDoubleTapTimeout() >> 16) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj5);
}
cArr5[i11] = ((Character) ((Method) obj5).invoke(null, objArr6)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr7 = {tvh, tvh};
Object obj6 = xzZ.y.get(1698744941);
if (obj6 == null) {
Class cls2 = (Class) xzZ.c(401 - TextUtils.lastIndexOf("", '0'), ExpandableListView.getPackedPositionType(0L) + 5, (char) (21608 - Gravity.getAbsoluteGravity(0, 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr8 = new Object[1];
aC(b3, b4, (byte) (b4 + 2), objArr8);
obj6 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj6);
}
((Method) obj6).invoke(null, objArr7);
}
cArr4 = cArr5;
}
if (i6 > 0) {
int i12 = $11 + 13;
$10 = i12 % 128;
if (i12 % 2 != 0) {
char[] cArr6 = new char[i4];
System.arraycopy(cArr4, 0, cArr6, 1, i4);
System.arraycopy(cArr6, 0, cArr4, i4 >>> i6, i6);
System.arraycopy(cArr6, i6, cArr4, 1, i4 - i6);
} else {
char[] cArr7 = new char[i4];
System.arraycopy(cArr4, 0, cArr7, 0, i4);
int i13 = i4 - i6;
System.arraycopy(cArr7, 0, cArr4, i13, i6);
System.arraycopy(cArr7, i6, cArr4, 0, i13);
}
}
if (z) {
int i14 = $10 + 57;
$11 = i14 % 128;
int i15 = i14 % 2;
char[] cArr8 = new char[i4];
int i16 = 0;
while (true) {
tvh.c = i16;
if (tvh.c >= i4) {
break;
}
int i17 = $10 + 51;
$11 = i17 % 128;
int i18 = i17 % 2;
cArr8[tvh.c] = cArr4[(i4 - tvh.c) - 1];
i16 = tvh.c + 1;
}
cArr4 = cArr8;
}
if (i5 > 0) {
int i19 = $11 + 95;
$10 = i19 % 128;
int i20 = i19 % 2;
tvh.c = 0;
while (tvh.c < i4) {
int i21 = $10 + 55;
$11 = i21 % 128;
int i22 = i21 % 2;
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
tvh.c++;
int i23 = $11 + 107;
$10 = i23 % 128;
int i24 = i23 % 2;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 = t + 25;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(new int[]{18, 26, 0, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new int[]{44, 18, 0, 6}, true, new byte[]{0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i4 = t + 1;
q = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = q + 9;
t = i6 % 128;
try {
if (i6 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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 - TextUtils.getTrimmedLength(""), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - Color.blue(0), (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 487, 5 - KeyEvent.getDeadChar(0, 0), (char) View.resolveSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aB(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = l;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
for (int i4 = 0; i4 < length; i4++) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - Color.alpha(0), 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getEdgeSlop() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 | 46), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(s)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 298, 4 - TextUtils.lastIndexOf("", '0'), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 | 46), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i5 = $10 + 95;
$11 = i5 % 128;
if (i5 % 2 == 0) {
i2 = i + 120;
cArr4[i2] = (char) (cArr[i2] >> b);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
}
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
int i6 = $10 + 37;
$11 = i6 % 128;
int i7 = i6 % 2;
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i8 = $10 + 23;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr4[irs.e] = (char) (irs.b / b);
cArr4[irs.e / 0] = (char) (irs.c / b);
} else {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
}
int i9 = $10 + 13;
$11 = i9 % 128;
int i10 = i9 % 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(234 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) (22024 - View.MeasureSpec.makeMeasureSpec(0, 0)));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, (byte) (b7 | 49), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
try {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 327, Gravity.getAbsoluteGravity(0, 0) + 5, (char) Drawable.resolveOpacity(0, 0));
byte b8 = (byte) 0;
byte b9 = b8;
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 | 47), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i11];
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else if (irs.a == irs.d) {
int i12 = $11 + 23;
$10 = i12 % 128;
int i13 = i12 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i14 = (irs.a * charValue) + irs.f;
int i15 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i14];
cArr4[irs.e + 1] = cArr2[i15];
int i16 = $11 + 79;
$10 = i16 % 128;
int i17 = i16 % 2;
} else {
int i18 = (irs.a * charValue) + irs.j;
int i19 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i18];
cArr4[irs.e + 1] = cArr2[i19];
}
}
irs.e += 2;
int i20 = $10 + 93;
$11 = i20 % 128;
int i21 = i20 % 2;
}
}
int i22 = 0;
while (i22 < i) {
int i23 = $10 + 87;
$11 = i23 % 128;
if (i23 % 2 == 0) {
cArr4[i22] = (char) (cArr4[i22] ^ 12702);
i22 += 4;
} else {
cArr4[i22] = (char) (cArr4[i22] ^ 13722);
i22++;
}
}
objArr[0] = new String(cArr4);
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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;
int i2 = q + 61;
t = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay(new int[]{0, 18, 188, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{20, '%', 18, 11, 13842}, (byte) (20 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1))), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 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 i4 = t + 111;
q = i4 % 128;
if (i4 % 2 == 0) {
context.getApplicationContext();
throw null;
}
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aB(new char[]{25, 15, 11, '0', '\f', 1, 17, '\f', '-', 25, 31, '\r', 11, '+', 7, 1, '+', 11, NistHelper.SEP_FS, 6, '\t', 7, 17, 31, 16, '\f', 6, 2, 3, 26, '\b', 21, 29, '\b', 1, 21, 16, '!', 13917, 13917, ')', 20, 22, 3, 6, 1, '\"', '\t'}, (byte) (MotionEvent.axisFromString("") + 102), TextUtils.indexOf("", "") + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{' ', ',', 16, '%', 11, ',', '\n', 27, 29, 2, 30, '\r', 30, '\r', 15, 25, '\n', 7, 27, 29, 2, '\f', 11, 7, '\t', '\n', '/', '\f', 31, 27, '#', 5, 13823, 13823, 3, '\b', 2, 1, 13898, 13898, 11, ',', 11, '\n', '\b', 29, 11, ',', 14, 7, 20, 19, 6, 1, 4, '+', 1, 6, 21, 1, 11, ',', '\t', 31}, (byte) (82 - (Process.myPid() >> 22)), MotionEvent.axisFromString("") + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new char[]{7, 3, '$', '\f', 11, '\t', 13917, 13917, 31, 27, '\t', 29, '0', 11, '#', 5, 11, '-', 26, '/', 26, '$', 20, ' ', 6, 1, 16, '!', 2, 7, 21, '\n', 11, '0', '\b', 3, 6, 29, 13833, 13833, 5, '$', '\b', 15, 26, '\f', 16, '%', ',', ' ', NistHelper.SEP_FS, 6, '\n', 23, '/', 26, '&', '\f', 17, '\f', 2, 1, 4, 19}, (byte) (94 - (ViewConfiguration.getEdgeSlop() >> 16)), 64 - KeyEvent.getDeadChar(0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{0, 21, 20, '*', '&', '\n', 13823, 13823, ' ', 3, '\t', 17, 3, 19, 13889, 13889, '!', ',', 6, 5, '\b', '&', '-', 11, '%', '*', 7, 19, '+', '0', 31, '\t', 19, 0, 17, '&', 19, 7, 22, '!', '\f', '-', '\n', NistHelper.SEP_FS, 22, 30, '\f', '-', '!', '\t', 3, 19, 17, 16, '\r', '-', 1, 18, 0, '\'', 23, '!', NistHelper.SEP_FS, 17, 20, 1, 29, 20, '\"', 2, NistHelper.SEP_FS, '%', 17, NistHelper.SEP_FS}, (byte) (Color.red(0) + 74), 74 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{62, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new char[]{31, '\t', ')', 20, '\n', 21, '\f', ')', 30, 11, '%', '!', 4, '\'', 20, ')', 13810, 13810, 31, 11, ',', ' ', 4, '!', '!', 6, 31, '\r', 16, ' ', 6, 2, '\b', 6, 23, 29}, (byte) (MotionEvent.axisFromString("") + 72), Color.green(0) + 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), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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);
int i5 = t + 59;
q = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, 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 = t + 43;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}