what-the-bank/sources/com/scb/phone/view/activity/chequemanagement/activatecheque/ActivateChequeLandingActivi...

500 lines
36 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.chequemanagement.activatecheque;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.chequemanagement.activatecheque.ActivateChequeInputFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractActivityC10192dyD;
import o.AbstractC13482fbE;
import o.C16500oqI;
import o.C3444axf;
import o.InterfaceC13391fZD;
import o.InterfaceC6617cYF;
import o.dQY;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public class ActivateChequeLandingActivity extends AbstractActivityC10192dyD implements InterfaceC6617cYF.Sts {
private static short[] s;
@InterfaceC13391fZD
public C3444axf presenter;
private static final byte[] $$g = {40, 9, -20, ISOFileInfo.AB};
private static final int $$h = 235;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int r = 1;
private static int k = -640536845;
private static int m = 1406017027;
private static int l = 900248196;
/* renamed from: o, reason: collision with root package name */
private static byte[] f6729o = {45, 35, 47, -39, ISO7816.INS_WRITE_BINARY, 15, 15, -106, 41, 108, -25, ISO7816.INS_UPDATE_BINARY, -41, ISO7816.INS_WRITE_BINARY, 35, -37, 32, 43, -60, 12, ISO7816.INS_UPDATE_RECORD, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_MANAGE_CHANNEL, -93, 113, -120, 65, -92, 89, -94, 114, 90, -93, 94, ISOFileInfo.A1, 91, ISOFileInfo.ENV_TEMP_EF, -93, ISOFileInfo.LCS_BYTE, 115, ISO7816.INS_MANAGE_CHANNEL, 90, ISO7816.INS_MANAGE_CHANNEL, -93, 91, -113, ISOFileInfo.A5, ISOFileInfo.SECURITY_ATTR_COMPACT, 91, -93, 113, -113, ISO7816.INS_MANAGE_CHANNEL, ISOFileInfo.FCI_EXT, 120, -120, SignedBytes.MAX_POWER_OF_TWO, PSSSigner.TRAILER_IMPLICIT, 117, ISOFileInfo.SECURITY_ATTR_COMPACT, ISO7816.INS_MANAGE_CHANNEL, 92, -92, 92, -66, ISOFileInfo.CHANNEL_SECURITY, 114, 113, ISOFileInfo.LCS_BYTE, 117, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.SECURITY_ATTR_EXP, 115, ISOFileInfo.SECURITY_ATTR_EXP, 114, 95, -93, ISOFileInfo.LCS_BYTE, 93, -93, 94, ISOFileInfo.A0, 91, 114, -93, 90, 85, ISO7816.INS_READ_RECORD2, 77, 106, ISOFileInfo.A1, ISO7816.INS_CREATE_FILE, Ascii.ESC, -25, 93, 82, -94, ISOFileInfo.A5, 89, 102, -102, ISOFileInfo.A5, 83, 110, -98, -94, 80, 105, -107, -81, 77, ISO7816.INS_READ_BINARY, 88, -94, 83, -82, 77, ISO7816.INS_READ_BINARY, 82, 101, -26, 93, 78, -94, ISO7816.INS_READ_RECORD2, 79, ISOFileInfo.A0, -81, 86, -88, Ascii.SUB, -97, ISOFileInfo.A1, 81, -93, -86, 87, -92, 90, -83, 81, -92, 92, -94, 80, -86, 80, -92, -86, Ascii.CAN, 92, -87, -101, 95, ISOFileInfo.A0, 92, 80, -75, 125, Byte.MIN_VALUE, 126, 83, Ascii.DEL, -81, 87, -82, 78, ISO7816.INS_READ_BINARY, -124, 75, Ascii.DEL, -126, Byte.MIN_VALUE, -75, 125, ISOFileInfo.DATA_BYTES2, 126, Ascii.DEL, -122, 74, 124, ISO7816.INS_READ_BINARY_STAMPED, 123, -120, 124, 125, 122, 84, ISO7816.INS_READ_BINARY2, ISOFileInfo.FILE_IDENTIFIER, 80, 125, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static char[] t = {34549, 12272, 54500, 32248, 8915, 52175, 28876, 6652, 52901, 30654, 7296, 50644, 27309, 4981, 47212, 24939, 5698, 48983, 25684, 3411, 45576, 23342, ':', 43287, 24069, 1802, 64466, 21198, 43479, 221, 24572, 46829, 3577, 25782, 45969, 2715, 25017, 47286, 6058, 28242, 50505, 7246, 27518, 49781, 4125, 47377, 16908, 60240, 46135, 23933, 58998, 36619, 22558, 57679, 35450, 21283, 64615, 34252, 11923, 63362, 33006, 10677, 62122, 39850, 9431, 52682, 38545, 16371, 51386, 37344, 15179, 50199, 27991, 13879, 57188, 26667, 12637, 55891, 25408, 3139, 54562, 32315, 1842, 53448, 31118, 642, 43953, 29879, 7671, 42710, 20357, 6350, 36787, 9952, 56822, 29951, 11163, 49875, 31115, 4337, 51120, 32433, 5509, 52441, 25544, 6756, 45422, 26748, 7955, 46618, 27904, 1116, 47915, 21040, 2361, 40966, 22337, 3600, 42160, 23481, 62194, 43462, 16583, 63360, 44710, 17914, 64743, 37817, 19087, 57746, 39071, 20325, 58999, 40312, 13379, 60239, 33292, 14707, 53288, 34657, 15952, 54621, 35860, 8980, 55788, 28921, 10238, 56978, 30162, 11401, 50160, 31485, 4543, 51336, 32733, 5779, 36843, 9974, 56830, 29922, 11210};
private static long p = -2048702581167085864L;
private static void az(byte b, int i, int i2, Object[] objArr) {
int i3 = (i2 * 3) + 4;
int i4 = 110 - i;
byte[] bArr = $$g;
int i5 = b * 3;
byte[] bArr2 = new byte[i5 + 1];
int i6 = -1;
if (bArr == null) {
i3++;
i4 += i5;
}
while (true) {
i6++;
bArr2[i6] = (byte) i4;
if (i6 == i5) {
objArr[0] = new String(bArr2, 0);
return;
} else {
int i7 = bArr[i3];
i3++;
i4 += i7;
}
}
}
private static void ay(int i, int i2, char c, Object[] objArr) {
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 125;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(t[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 309, 5 - (Process.myPid() >> 22), (char) (32797 - TextUtils.indexOf("", "")));
byte b = (byte) 0;
Object[] objArr3 = new Object[1];
az(b, (byte) (b | 12), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(p), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 412, (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
byte b2 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b2, (byte) (b2 | 11), b2, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Color.alpha(0) + 407, 5 - TextUtils.indexOf("", ""), (char) (29234 - Color.red(0)));
byte length = (byte) $$g.length;
Object[] objArr7 = new Object[1];
az((byte) 0, length, (byte) (length - 4), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $11 + 71;
$10 = i7 % 128;
if (i7 % 2 != 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 407, AndroidCharacter.getMirror('0') - '+', (char) ((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)) + 29234));
byte length2 = (byte) $$g.length;
Object[] objArr9 = new Object[1];
az((byte) 0, length2, (byte) (length2 - 4), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
((Method) obj4).invoke(null, objArr8);
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj5 = xzZ.y.get(1071125919);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 407, 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (29234 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)));
byte length3 = (byte) $$g.length;
Object[] objArr11 = new Object[1];
az((byte) 0, length3, (byte) (length3 - 4), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj5);
}
((Method) obj5).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
@Override // o.AbstractActivityC10192dyD, 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;
int i2 = q + 71;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax((short) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), 1977863962 - Color.argb(0, 0, 0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 17, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.idp_select_sharing_account_description).substring(14, 15).length() - 1718004785, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (Process.myPid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.five_chars_last_name).substring(18, 19).codePointAt(0) + 1977863947, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 30, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 1718004883, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_withdraw_qr_return_to_account_message).substring(42, 43).length() - 60), 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) {
Object[] objArr3 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_amount_max_min).substring(0, 7).length() - 7, 25 - TextUtils.indexOf((CharSequence) "", '0'), (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 2361), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay(26 - ExpandableListView.getPackedPositionType(0L), View.getDefaultSize(0, 0) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 29761), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 7;
q = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = q + 105;
r = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0'), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 43, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_monthly_interest_rate_remark).substring(0, 1).length() + 47, (char) (ImageFormat.getBitsPerPixel(0) + 40959), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13), 1977863983 - View.resolveSize(0, 0), View.combineMeasuredStates(0, 0) + 42, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redeem_tesg_dialog_description).substring(88, 89).length() - 1718004781, (byte) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 103), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 79, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.are_you_sure_want_delete_scheduled_group).substring(88, 89).length() + 63, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), TextUtils.lastIndexOf("", '0', 0) + 1977864047, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 39, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1718004811, (byte) (View.resolveSize(0, 0) + 73), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(Color.blue(0) + CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.faq_pay_with_point_x_description_part_3).substring(33, 46).codePointAt(1) - 43, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_service_description).substring(61, 62).length() - 1), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax((short) View.getDefaultSize(0, 0), 1977864119 - View.getDefaultSize(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 20, (-1718004781) - TextUtils.lastIndexOf("", '0', 0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_landing_head_description).substring(51, 52).length() - 109), 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((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, Process.getGidForName("") + 6, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).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);
setContentView(R.layout.2131558430);
ButterKnife.Dg_(this);
super.Z();
setTitle(R.string.activate_cheque);
ac();
this.presenter.e((C3444axf) this);
C3444axf c3444axf = this.presenter;
c3444axf.c.c("DISPLAY_ORDER_CHEQUE");
C16500oqI c16500oqI = c3444axf.c;
c16500oqI.d(c16500oqI.i, new C3444axf.RVV(c3444axf, (byte) 0));
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = r + 17;
q = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
setTitle(R.string.activate_cheque);
ac();
} else {
super.Z();
setTitle(R.string.activate_cheque);
ac();
Object obj = null;
obj.hashCode();
throw null;
}
}
@Override // o.InterfaceC6617cYF.Sts
public final void e(int i) {
int i2 = 2 % 2;
int i3 = r + 97;
q = i3 % 128;
int i4 = i3 % 2;
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.container_activate_cheque, ActivateChequeInputFragment.a(i), null, 2);
a.b();
int i5 = r + 117;
q = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.AbstractActivityC10192dyD, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 81;
r = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay(Color.red(0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.two_words_with_separator).substring(0, 11).codePointAt(1) - 23, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 2374), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(26 - (Process.myTid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 91, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_total_interest_fee_1).substring(26, 27).length() + 29794), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = r + 65;
q = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(491 - ExpandableListView.getPackedPositionChild(0L), 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) ((-1) - ImageFormat.getBitsPerPixel(0)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 487, MotionEvent.axisFromString("") + 6, (char) (TextUtils.indexOf((CharSequence) "", '0') + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
return;
}
getBaseContext();
obj.hashCode();
throw null;
}
@Override // o.AbstractActivityC10192dyD, 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 = r + 105;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 26 - (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) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_my_insurance_no_policy_description).substring(45, 46).length() + 2373), 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().getApplicationInfo().targetSdkVersion - 8, (ViewConfiguration.getPressedStateDuration() >> 16) + 18, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_phone_number_header).substring(0, 21).length() + 29774), 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(491 - TextUtils.lastIndexOf("", '0'), AndroidCharacter.getMirror('0') - '+', (char) (ViewConfiguration.getMaximumFlingVelocity() >> 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((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i4 = r + 53;
q = i4 % 128;
int i5 = i4 % 2;
}
/* JADX WARN: Removed duplicated region for block: B:54:0x0242 */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void ax(short r19, int r20, int r21, int r22, byte r23, java.lang.Object[] r24) {
/*
Method dump skipped, instructions count: 887
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.chequemanagement.activatecheque.ActivateChequeLandingActivity.ax(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // o.AbstractActivityC10192dyD, 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 + 95;
r = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((short) (ViewConfiguration.getFadingEdgeLength() >> 16), 1977863962 - ExpandableListView.getPackedPositionGroup(0L), TextUtils.getTrimmedLength("") - 4, (-1718004783) + TextUtils.indexOf((CharSequence) "", '0', 0, 0), (byte) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 56), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax((short) (ViewConfiguration.getPressedStateDuration() >> 16), (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)) + 1977863979, View.combineMeasuredStates(0, 0) - 17, (-1718004772) - (ViewConfiguration.getDoubleTapTimeout() >> 16), (byte) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 59), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = q + 113;
r = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i5 = r + 121;
q = i5 % 128;
int i6 = i5 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i7 = r + 39;
q = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getDoubleTapTimeout() >> 16), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(43 - ImageFormat.getBitsPerPixel(0), 48 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (ExpandableListView.getPackedPositionType(0L) + 40958), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax((short) Gravity.getAbsoluteGravity(0, 0), 1977863982 - TextUtils.indexOf((CharSequence) "", '0'), Color.alpha(0) + 42, ((Process.getThreadPriority(0) + 20) >> 6) - 1718004780, (byte) (TextUtils.indexOf((CharSequence) "", '0') + IpLibUtil.KIPP_BAD_HISTOGRAM), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(TextUtils.indexOf("", "", 0) + 92, 64 - Color.green(0), (char) (ViewConfiguration.getTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax((short) (ViewConfiguration.getMaximumFlingVelocity() >> 16), 1977864046 + (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 52 - Gravity.getAbsoluteGravity(0, 0), TextUtils.getTrimmedLength("") - 1718004777, (byte) (73 - Color.argb(0, 0, 0, 0)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((ViewConfiguration.getFadingEdgeLength() >> 16) + CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) ((-1) - MotionEvent.axisFromString("")), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((short) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1), 1977864120 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), TextUtils.getCapsMode("", 0, 0) + 14, (-1718004780) - View.combineMeasuredStates(0, 0), (byte) ((ViewConfiguration.getEdgeSlop() >> 16) - 108), 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(488 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).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 i9 = q + 115;
r = i9 % 128;
int i10 = i9 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC10192dyD, 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 = r + 73;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 49;
r = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
}