what-the-bank/sources/com/scb/phone/view/activity/requesttopay/GoManagePromptPayActivity.java

758 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.requesttopay;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.huawei.hms.support.api.entity.auth.AuthCode;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.profilemanagement.promptpay.PromptPayTermsAndConditionsLandingActivity;
import java.lang.reflect.Method;
import o.AbstractActivityC11793elz;
import o.C5968cEl;
import o.InterfaceC13391fZD;
import o.InterfaceC8929daC;
import o.TVH;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes5.dex */
public class GoManagePromptPayActivity extends AbstractActivityC11793elz implements InterfaceC8929daC.Sts {
@InterfaceC13391fZD
public C5968cEl goManagePromptPayPresenter;
private static final byte[] $$g = {53, 8, 9, -66};
private static final int $$h = CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
/* renamed from: o, reason: collision with root package name */
private static int f7900o = 1;
private static char[] k = {40074, 40194, 40192, 40198, 40217, 40197, 40195, 40160, 40187, 40216, 40185, 40170, 40200, 40217, 40192, 40205, 40197, 40222, 39999, 40045, 40035, 40056, 40044, 40003, 40121, 40152, 40128, 40097, 40103, 40130, 40132, 40152, 40133, 40135, 40129, 40142, 40142, 40141, 40133, 40155, 40138, 40130, 40146, 40154, 40153, 40153, 40154, 40133, 40126, 39986, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 39955, 39972, 39992, 39992, 39992};
private static int l = 2015661685;
private static void az(byte b, int i, short s, Object[] objArr) {
byte[] bArr = $$g;
int i2 = 3 - (i * 3);
int i3 = s + 69;
int i4 = b * 4;
byte[] bArr2 = new byte[1 - i4];
int i5 = 0 - i4;
int i6 = -1;
if (bArr == null) {
i6 = -1;
i3 = (-i2) + i5;
i2 = i2;
}
while (true) {
int i7 = i2 + 1;
int i8 = i6 + 1;
bArr2[i8] = (byte) i3;
if (i8 == i5) {
objArr[0] = new String(bArr2, 0);
return;
}
i6 = i8;
i3 = (-bArr[i7]) + i3;
i2 = i7;
}
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0167, code lost:
if (r2 == null) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x03e8, code lost:
super.onCreate(r26);
setContentView(com.scb.phone.R.layout.2131558763);
r25.goManagePromptPayPresenter.e((o.C5968cEl) r25);
r0 = r25.goManagePromptPayPresenter;
r2 = new o.C5969cEm();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x03ff, code lost:
if (r0.f == 0) goto L40;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x0401, code lost:
r2.e(r0.f);
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0406, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:?, code lost:
return;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0169, code lost:
r3 = o.xzZ.y.get(125943855);
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0176, code lost:
if (r3 == null) goto L20;
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x01ab, code lost:
r3 = ((java.lang.reflect.Method) r3).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x01b1, code lost:
r13 = (java.lang.Object[]) null;
r10 = new java.lang.Object[1];
ay((android.os.SystemClock.currentThreadTimeMillis() > (-1) ? 1 : (android.os.SystemClock.currentThreadTimeMillis() == (-1) ? 0 : -1)) + 47, new char[]{31, 30, 27, 27, 65515, 65517, 65522, 65518, org.jnbis.internal.NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, org.jnbis.internal.NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, org.jnbis.internal.NistHelper.SEP_FS, 65518, org.jnbis.internal.NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_ndid_idp_no_enrolled_description).substring(51, 52).length() + org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, false, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.product_points_plus_cash).substring(0, 5).codePointAt(0) - 25, r10);
r10 = (java.lang.String) r10[0];
r11 = new java.lang.Object[1];
ay(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 47, new char[]{65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518}, 150 - android.graphics.Color.alpha(0), false, 35 - android.view.KeyEvent.normalizeMetaState(0), r11);
r11 = (java.lang.String) r11[0];
r0 = new java.lang.Object[1];
ay(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 30, new char[]{65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, org.jnbis.internal.NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', org.jnbis.internal.NistHelper.SEP_FS, 27, 65522, 65514, 65518, org.jnbis.internal.NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, org.jnbis.internal.NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.debit_card_activation_empty_footer).substring(35, 37).length() + org.bouncycastle.crypto.tls.CipherSuite.TLS_RSA_WITH_SEED_CBC_SHA, true, 42 - android.text.TextUtils.lastIndexOf("", '0', 0), r0);
r0 = (java.lang.String) r0[0];
r14 = new java.lang.Object[1];
ax(new int[]{49, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, r14);
r12 = (java.lang.String) r14[0];
r15 = new java.lang.Object[1];
ax(new int[]{123, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, r15);
r13 = (java.lang.String) r15[0];
r5 = new java.lang.Object[1];
ay(36 - android.text.TextUtils.getTrimmedLength(""), new char[]{' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, org.jnbis.internal.NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, org.jnbis.internal.NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, org.jnbis.internal.NistHelper.SEP_FS, ' '}, 151 - (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), true, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.idp_selected_account_limit).substring(0, 4).length() + 32, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x034b, code lost:
r5 = new java.lang.Object[]{r2, r10, r11, r0, r12, true, r13, (java.lang.String) r5[0]};
r0 = o.xzZ.y.get(1656189573);
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x0374, code lost:
if (r0 == null) goto L26;
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x03d9, code lost:
((java.lang.reflect.Method) r0).invoke(r3, r5);
*/
/* JADX WARN: Code restructure failed: missing block: B:28:0x0377, code lost:
r0 = ((java.lang.Class) o.xzZ.c(android.text.TextUtils.indexOf("", "", 0, 0) + 487, 5 - android.text.TextUtils.indexOf("", ""), (char) (1 - (android.view.ViewConfiguration.getGlobalActionKeyTimeout() > 0 ? 1 : (android.view.ViewConfiguration.getGlobalActionKeyTimeout() == 0 ? 0 : -1))))).getMethod("e", android.content.Context.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.String.class, java.lang.Boolean.TYPE, java.lang.String.class, java.lang.String.class);
o.xzZ.y.put(1656189573, r0);
*/
/* JADX WARN: Code restructure failed: missing block: B:29:0x0179, code lost:
r3 = ((java.lang.Class) o.xzZ.c(492 - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), android.view.KeyEvent.keyCodeFromString("") + 5, (char) ((android.widget.ExpandableListView.getPackedPositionForChild(0, 0) > 0 ? 1 : (android.widget.ExpandableListView.getPackedPositionForChild(0, 0) == 0 ? 0 : -1)) + 1))).getMethod("a", null);
o.xzZ.y.put(125943855, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x03df, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x03e0, code lost:
r2 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:32:0x03e4, code lost:
if (r2 != null) goto L32;
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x03e6, code lost:
throw r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x03e7, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:36:0x00a4, code lost:
if (r2 <= 99999) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x009f, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0059, code lost:
if (r2 >= 99000) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x00a6, code lost:
r2 = getBaseContext();
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x00ae, code lost:
if (r2 != null) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:7:0x00b0, code lost:
r2 = com.scb.phone.view.activity.requesttopay.GoManagePromptPayActivity.m + 69;
com.scb.phone.view.activity.requesttopay.GoManagePromptPayActivity.f7900o = r2 % 128;
r2 = r2 % 2;
r11 = new java.lang.Object[1];
ax(new int[]{23, 26, 99, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, r11);
r2 = java.lang.Class.forName((java.lang.String) r11[0]);
r11 = (java.lang.Object[]) null;
r3 = new java.lang.Object[1];
ay(((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.etb_success_screenshot_filename).substring(0, 6).codePointAt(2) - 80, new char[]{65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4}, 189 - (android.os.SystemClock.currentThreadTimeMillis() > (-1) ? 1 : (android.os.SystemClock.currentThreadTimeMillis() == (-1) ? 0 : -1)), false, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.hml_landing_info_item_2).substring(17, 18).codePointAt(0) - 14, r3);
r2 = (android.content.Context) r2.getMethod((java.lang.String) r3[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0158, code lost:
if (r2 == null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x015a, code lost:
r2 = r2.getApplicationContext();
r3 = com.scb.phone.view.activity.requesttopay.GoManagePromptPayActivity.m + 45;
com.scb.phone.view.activity.requesttopay.GoManagePromptPayActivity.f7900o = r3 % 128;
r3 = r3 % 2;
*/
@Override // o.AbstractActivityC11793elz, 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 r26) {
/*
Method dump skipped, instructions count: 1394
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.requesttopay.GoManagePromptPayActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i = 2 % 2;
int i2 = m + 19;
f7900o = i2 % 128;
int i3 = i2 % 2;
setResult(-1);
super.onDestroy();
int i4 = f7900o + 43;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC8929daC.Sts
public final void d() {
int i = 2 % 2;
int i2 = m + 111;
f7900o = i2 % 128;
int i3 = i2 % 2;
startActivityForResult(PromptPayTermsAndConditionsLandingActivity.alb_(this), AuthCode.StatusCode.AUTH_INFO_NOT_EXIST);
int i4 = f7900o + 105;
m = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
int i3 = 2 % 2;
int i4 = f7900o;
int i5 = i4 + 113;
m = i5 % 128;
int i6 = i5 % 2;
if (i != 6002) {
int i7 = i4 + 121;
m = i7 % 128;
int i8 = i7 % 2;
super.onActivityResult(i, i2, intent);
}
finish();
int i9 = f7900o + 65;
m = i9 % 128;
int i10 = i9 % 2;
}
private static void ay(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i5 = $11 + 5;
$10 = i5 % 128;
int i6 = i5 % 2;
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i7 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i7]), Integer.valueOf(l)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(Drawable.resolveOpacity(0, 0) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 7 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 342, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) Color.argb(0, 0, 0, 0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i8 = $11 + 117;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 343, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 | 7), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i10 = $11 + 29;
$10 = i10 % 128;
int i11 = i10 % 2;
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC11793elz, 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 = f7900o + 19;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 99, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.merchant_terminal_label).substring(0, 11).length() + 7, new char[]{65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_percentage).substring(0, 6).length() + CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = m + 65;
f7900o = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 84 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
int i6 = m + 49;
f7900o = i6 % 128;
try {
if (i6 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0') + 493, TextUtils.indexOf("", "", 0, 0) + 5, (char) View.resolveSize(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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) Color.alpha(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i7 = 87 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, 5 - TextUtils.indexOf("", "", 0, 0), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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(486 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) TextUtils.getOffsetBefore("", 0))).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.AbstractActivityC11793elz, 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 + 101;
f7900o = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(new int[]{23, 26, 99, 12}, true, new byte[]{1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1, 1, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(ImageFormat.getBitsPerPixel(0) + 19, new char[]{65529, 11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_external_authentication_intro).substring(109, 110).length() + 17, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = f7900o + 9;
m = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
int i6 = m + 107;
f7900o = i6 % 128;
if (i6 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i7 = 56 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -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(487 - KeyEvent.getDeadChar(0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).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 ax(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
char[] cArr2;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr3 = k;
if (cArr3 != null) {
int length = cArr3.length;
char[] cArr4 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 75;
$10 = i11 % 128;
if (i11 % i3 != 0) {
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr3[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
i2 = length;
} else {
Class cls = (Class) xzZ.c(TextUtils.getOffsetBefore("", i5) + 223, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (41977 - (ViewConfiguration.getScrollBarSize() >> 8)));
byte b = (byte) i5;
byte b2 = b;
i2 = length;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr4[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
i2 = length;
Object[] objArr4 = {Integer.valueOf(cArr3[i10])};
Object obj2 = xzZ.y.get(1645349359);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(223 - (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)), View.getDefaultSize(0, 0) + 5, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 41977));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 + 2), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(1645349359, obj2);
}
cArr4[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i10++;
}
length = i2;
i3 = 2;
i5 = 0;
}
cArr3 = cArr4;
}
char[] cArr5 = new char[i7];
char c = 0;
System.arraycopy(cArr3, i6, cArr5, 0, i7);
if (bArr != null) {
int i12 = $11 + 51;
$10 = i12 % 128;
if (i12 % 2 != 0) {
cArr2 = new char[i7];
tvh.c = 0;
} else {
cArr2 = new char[i7];
tvh.c = 0;
c = 0;
}
while (tvh.c < i7) {
if (bArr[tvh.c] == 1) {
int i13 = $10 + 41;
$11 = i13 % 128;
int i14 = i13 % 2;
int i15 = tvh.c;
Object[] objArr6 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(850398076);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(502 - TextUtils.indexOf("", "", 0), 5 - TextUtils.indexOf("", ""), (char) (TextUtils.getCapsMode("", 0, 0) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj3);
}
cArr2[i15] = ((Character) ((Method) obj3).invoke(null, objArr6)).charValue();
} else {
int i16 = tvh.c;
try {
Object[] objArr7 = {Integer.valueOf(cArr5[tvh.c]), Integer.valueOf(c)};
Object obj4 = xzZ.y.get(1084521042);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 15, 5 - (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (PointF.length(BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (58135 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj4);
}
cArr2[i16] = ((Character) ((Method) obj4).invoke(null, objArr7)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr2[tvh.c];
Object[] objArr8 = {tvh, tvh};
Object obj5 = xzZ.y.get(1698744941);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777618, ImageFormat.getBitsPerPixel(0) + 6, (char) (21608 - KeyEvent.getDeadChar(0, 0)));
byte b5 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b5, b5, (byte) $$g.length, objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
cArr5 = cArr2;
}
if (i9 > 0) {
int i17 = $10 + 13;
$11 = i17 % 128;
if (i17 % 2 == 0) {
char[] cArr6 = new char[i7];
System.arraycopy(cArr5, 1, cArr6, 0, i7);
System.arraycopy(cArr6, 1, cArr5, i7 >>> i9, i9);
System.arraycopy(cArr6, i9, cArr5, 0, i7 >> i9);
} else {
char[] cArr7 = new char[i7];
System.arraycopy(cArr5, 0, cArr7, 0, i7);
int i18 = i7 - i9;
System.arraycopy(cArr7, 0, cArr5, i18, i9);
System.arraycopy(cArr7, i9, cArr5, 0, i18);
}
}
if (z) {
int i19 = $10 + 53;
$11 = i19 % 128;
if (i19 % 2 == 0) {
cArr = new char[i7];
i = 0;
} else {
i = 0;
cArr = new char[i7];
}
while (true) {
tvh.c = i;
if (tvh.c >= i7) {
break;
}
cArr[tvh.c] = cArr5[(i7 - tvh.c) - 1];
i = tvh.c + 1;
}
cArr5 = cArr;
}
if (i8 > 0) {
int i20 = $11 + 59;
$10 = i20 % 128;
int i21 = i20 % 2;
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i7) {
break;
}
cArr5[tvh.c] = (char) (cArr5[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr5);
}
@Override // o.AbstractActivityC11793elz, 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 = f7900o + 43;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new int[]{0, 18, CipherSuite.TLS_DHE_DSS_WITH_AES_128_GCM_SHA256, 0}, false, new byte[]{1, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{18, 5, 0, 2}, false, new byte[]{1, 1, 1, 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) {
if (context != null) {
int i4 = f7900o + 29;
m = 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(Color.red(0) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((Process.myPid() >> 22) + 48, new char[]{31, 30, 27, 27, 65515, 65517, 65522, 65518, NistHelper.SEP_FS, 65521, 30, 65517, 65514, 65520, 65517, 27, 65516, NistHelper.SEP_FS, 31, 26, 27, 65522, 65515, 26, 65516, 27, 65516, 65521, 27, 65516, 65515, 65521, 65516, 65517, 26, 65522, 31, 65519, NistHelper.SEP_FS, 65518, NistHelper.SEP_FS, 65522, 29, 65514, 65514, 65518, 65521, 65514}, 153 - (ViewConfiguration.getJumpTapTimeout() >> 16), false, 12 - (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)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(63 - TextUtils.indexOf((CharSequence) "", '0', 0), new char[]{65525, 65516, 65524, 65523, 65523, 65521, 29, 65521, 65524, 30, 30, 65522, 30, 29, 65522, 65521, 65517, 65522, 30, ' ', 65524, '\"', 65523, 31, 65524, 65521, 30, 65524, 31, 65517, 65524, 65522, 30, 29, '!', '!', 30, 65522, '!', 65522, 30, 65520, 65525, '!', 65521, 65518, 65522, 65518, 65522, 65523, 65517, 65522, 65520, 65517, 65518, 31, 65522, 29, 65520, 65519, 65522, 65516, 31, 65518}, 150 - Gravity.getAbsoluteGravity(0, 0), false, 35 - (ViewConfiguration.getEdgeSlop() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(63 - TextUtils.lastIndexOf("", '0', 0, 0), new char[]{65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517, 27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517}, Process.getGidForName("") + 153, true, TextUtils.lastIndexOf("", '0', 0) + 44, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new int[]{49, 74, 0, 0}, true, new byte[]{1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{123, 5, 0, 0}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((ViewConfiguration.getScrollDefaultDelay() >> 16) + 36, new char[]{' ', 65516, 65520, 65519, 65520, 30, ' ', 65522, NistHelper.SEP_FS, 65517, 30, 65517, 65512, 30, ' ', 29, NistHelper.SEP_FS, 65512, 65516, 65516, 65517, 65519, 65512, 29, ' ', 65515, 65521, 65512, 65515, 65519, 65524, 31, 65519, 65517, NistHelper.SEP_FS, ' '}, 151 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), true, (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)) + 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(TextUtils.lastIndexOf("", '0', 0, 0) + 488, 5 - View.MeasureSpec.getMode(0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 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.AbstractActivityC11793elz, 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 = f7900o + 73;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = m + 101;
f7900o = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}