what-the-bank/sources/com/scb/phone/view/activity/ntb/fatca/FatcaHelpActivity.java

565 lines
40 KiB
Java

package com.scb.phone.view.activity.ntb.fatca;
import android.content.Context;
import android.content.Intent;
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.text.Html;
import android.text.TextUtils;
import android.text.method.LinkMovementMethod;
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 android.widget.TextView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractActivityC11342edY;
import o.Nhs;
import o.xzZ;
import o.zUI;
import okhttp3.internal.http2.Http2Connection;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class FatcaHelpActivity extends AbstractActivityC11342edY {
@BindView
TextView helpTextView;
private static final byte[] $$g = {104, ISO7816.INS_READ_BINARY2, -113, -112};
private static final int $$h = 72;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int r = 1;
private static int m = 2015661690;
private static long k = 9051040786702654117L;
/* renamed from: o, reason: collision with root package name */
private static int f7654o = 452713125;
private static char l = 44465;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x0028). 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 az(byte r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 * 2
int r0 = 1 - r5
int r6 = r6 * 4
int r6 = 4 - r6
byte[] r1 = com.scb.phone.view.activity.ntb.fatca.FatcaHelpActivity.$$g
int r7 = 115 - r7
byte[] r0 = new byte[r0]
r2 = 0
int r5 = 0 - r5
if (r1 != 0) goto L16
r4 = r5
r3 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r5) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L24:
int r3 = r3 + 1
r4 = r1[r6]
L28:
int r6 = r6 + 1
int r7 = r7 + r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.fatca.FatcaHelpActivity.az(byte, byte, short, java.lang.Object[]):void");
}
public static Intent ajA_(Context context, String str) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) FatcaHelpActivity.class);
intent.putExtra("EXTRA_FATCA_HTML", str);
int i2 = q + 3;
r = i2 % 128;
int i3 = i2 % 2;
return intent;
}
@Override // o.AbstractActivityC11342edY, 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 + 47;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, new char[]{65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.temp_limit_amount_info).substring(61, 62).codePointAt(0) + 160, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_input_address_village_is_not_allowed).substring(40, 41).length() + 10, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (View.MeasureSpec.getSize(0) + 39371), new char[]{4682, 22523, 36116, 28453, 28452}, new char[]{57777, 21424, 51974, 40601}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_summary_repayment_about_intro).substring(151, CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA).length() + 106148064, 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((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_partnership_landing_being_redirected_external_description).substring(8, 9).codePointAt(0) + 23288), new char[]{15909, 3522, 270, 31961, 9757, 19544, 163, 2789, 24927, 2651, 12724, 34196, 61509, 11965, 9939, 29397, 27626, 32828, 25526, 54042, 50385, 29093, 22824, 42699, 2129, 4856}, new char[]{7668, 29110, 6190, 61275}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_ccsof_input_disclaimer_text).substring(29, 30).length() + 40109), new char[]{1037, 52704, 20085, 36451, 45172, 50965, 49428, 22453, 43485, 27823, 35782, 48475, 18388, 59190, 32831, 57821, 34976, 46147}, new char[]{30526, 39585, 44665, 16796}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = q + 93;
r = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 491, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) Color.alpha(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ota_info_second_description).substring(117, 119).codePointAt(1) - 32), new char[]{49680, 18451, 55395, 44023, 48569, 33175, 35613, 24254, 50912, 25260, 37201, 20497, 6976, 16143, 7161, 35362, 59200, 24123, 17134, 9441, 64579, 38632, 5927, 20933, 62988, 53899, 40355, 20737, 64617, 44887, 33804, 63985, 16493, 18410, 47829, 48701, 12150, 45242, 16743, 5771, 13656, 16573, 34413, 18613, 34675, 3087, 42985, 30813}, new char[]{17598, 52505, 1257, 53163}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.transfer_gifting_invalid_error).substring(53, 56).codePointAt(0) - 32, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.juristic_reset_pin_landing).substring(45, 46).codePointAt(0) - 32), new char[]{56837, 11002, 18026, 11409, 24386, 47701, 7666, 15663, 29699, 7001, 25054, 65002, 23695, 59293, 5955, 28004, 48924, 1033, 50057, 223, 16352, 945, 61876, 42962, 17989, 58099, 42011, 49598, 34671, 51426, 1518, 1030, 46006, 13042, 27692, 49452, 20134, 53303, 6132, 6829, 64530, 1268, 57866, 12649, 38463, 43636, 21822, 46175, 41139, 41182, 18073, 44939, 59534, 13202, 61448, 56657, 22092, 55842, 52355, 47183, 10179, 45213, 52169, 19823}, new char[]{13025, 16375, 32313, 30694}, new char[]{0, 0, 0, 0}, Color.green(0), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115), new char[]{17249, 3739, 44730, 17047, 22043, 29422, 44096, 33448, 2889, 22945, 36378, 43694, 3540, 64387, 51031, 45359, 51792, 59820, 2825, 12911, 56496, 48041, 7779, 59282, 25178, 35992, 7239, 60197, 60307, 47263, 13408, 4361, 54775, 48550, 24648, 21446, 36073, 9690, 46506, 11032, 29059, 10691, 42161, 28649, 8994, 28089, 5285, 27494, 43761, 7192, 27087, 44230, 48641, 33705, 55442, 56432, 20785, 7661, 7805, 3543, 53190, 13732, 2491, 33927}, new char[]{36139, 36712, 21746, 26887}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.etb_personal_info_current_mailing_address).substring(17, 18).length() - 1, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 35, new char[]{5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + CipherSuite.TLS_DH_anon_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_summary_duration_value).substring(0, 9).codePointAt(6) - 14, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_outcome_reject_repayment_value).substring(0, 5).length() + 6564), new char[]{45910, 14184, 26921, 42423, 37847}, new char[]{61022, 41270, 43513, 55577}, new char[]{0, 0, 0, 0}, (-106875154) - View.combineMeasuredStates(0, 0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay((char) (ViewConfiguration.getTouchSlop() >> 8), new char[]{29900, 2994, 697, 13584, 49809, 46245, 1750, 63671, 9504, 9860, 27058, 44942, 2418, 18892, 50282, 50752, 51404, 58589, 42283, 51898, 52086, 46682, 24899, 31109, 62443, 26045, 61493, 43565, 4715, 54132, 19397, 56014, 16458, 312, 18223, 4146}, new char[]{58234, 63192, 44331, 28579}, new char[]{0, 0, 0, 0}, Color.alpha(0), 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(TextUtils.indexOf("", "", 0, 0) + 487, Color.blue(0) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
int i6 = r + 35;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558569);
ButterKnife.Dg_(this);
Z();
getSupportActionBar().d(true);
setTitle(R.string.fatca_question_title);
this.helpTextView.setText(Html.fromHtml(getIntent().getExtras().getString("EXTRA_FATCA_HTML", "")));
this.helpTextView.setMovementMethod(LinkMovementMethod.getInstance());
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $10 + 21;
$11 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c((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)) + 45, 5 - View.resolveSize(0, 0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 352, 5 - TextUtils.getTrimmedLength(""), (char) (52128 - TextUtils.indexOf("", "", 0)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr4 = new Object[1];
az(b, b2, b2, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(748 - TextUtils.getTrimmedLength(""), (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - TextUtils.getOffsetAfter("", 0), KeyEvent.getDeadChar(0, 0) + 5, (char) (21608 - (KeyEvent.getMaxKeyCode() >> 16)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (k ^ 9051040786702654117L)) ^ ((int) (f7654o ^ 9051040786702654117L))) ^ ((char) (l ^ 9051040786702654117L)));
nhs.a++;
int i5 = $11 + 55;
$10 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
private static void ax(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) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(m)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, View.resolveSize(0, 0) + 7, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | 46), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
try {
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(342 - TextUtils.getOffsetBefore("", 0), (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Color.rgb(0, 0, 0) + Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 39), 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;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
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);
int i6 = $10 + 121;
$11 = i6 % 128;
int i7 = i6 % 2;
}
if (z) {
int i8 = $10 + 89;
$11 = i8 % 128;
int i9 = i8 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
int i10 = $11 + 105;
$10 = i10 % 128;
int i11 = i10 % 2;
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(342 - (KeyEvent.getMaxKeyCode() >> 16), Color.green(0) + 5, (char) TextUtils.indexOf("", "", 0));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 | 39), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // o.AbstractActivityC11342edY, 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();
Object obj = null;
if (baseContext == null) {
int i2 = r + 75;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ay((char) (TextUtils.lastIndexOf("", '0', 0) + 23321), new char[]{15909, 3522, 270, 31961, 9757, 19544, 163, 2789, 24927, 2651, 12724, 34196, 61509, 11965, 9939, 29397, 27626, 32828, 25526, 54042, 50385, 29093, 22824, 42699, 2129, 4856}, new char[]{7668, 29110, 6190, 61275}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 40076), new char[]{1037, 52704, 20085, 36451, 45172, 50965, 49428, 22453, 43485, 27823, 35782, 48475, 18388, 59190, 32831, 57821, 34976, 46147}, new char[]{30526, 39585, 44665, 16796}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.text_counter).substring(0, 11).codePointAt(0) - 37, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = r + 65;
q = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - TextUtils.indexOf("", ""), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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((ViewConfiguration.getKeyRepeatDelay() >> 16) + 487, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) View.resolveSizeAndState(0, 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(492 - TextUtils.getOffsetAfter("", 0), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(487 - (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)), 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = q + 33;
r = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.AbstractActivityC11342edY, 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;
int i2 = q + 47;
r = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 23286), new char[]{15909, 3522, 270, 31961, 9757, 19544, 163, 2789, 24927, 2651, 12724, 34196, 61509, 11965, 9939, 29397, 27626, 32828, 25526, 54042, 50385, 29093, 22824, 42699, 2129, 4856}, new char[]{7668, 29110, 6190, 61275}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scan_passport_title).substring(27, 28).length() + 40109), new char[]{1037, 52704, 20085, 36451, 45172, 50965, 49428, 22453, 43485, 27823, 35782, 48475, 18388, 59190, 32831, 57821, 34976, 46147}, new char[]{30526, 39585, 44665, 16796}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = q + 3;
r = i3 % 128;
int i4 = i3 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 492, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) TextUtils.indexOf("", "", 0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - TextUtils.getOffsetAfter("", 0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // o.AbstractActivityC11342edY, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax((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)) + 18, new char[]{65483, 16, '\f', 65483, 1, 6, '\f', 15, 1, 11, 65534, 16, 16, 2, 0, '\f', 15, 65517}, 192 - ExpandableListView.getPackedPositionType(0L), true, TextUtils.getOffsetBefore("", 0) + 11, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (MotionEvent.axisFromString("") + 39372), new char[]{4682, 22523, 36116, 28453, 28452}, new char[]{57777, 21424, 51974, 40601}, new char[]{0, 0, 0, 0}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 106148064, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = q + 1;
r = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = q + 13;
r = i4 % 128;
int i5 = i4 % 2;
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, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((char) View.resolveSizeAndState(0, 0, 0), new char[]{49680, 18451, 55395, 44023, 48569, 33175, 35613, 24254, 50912, 25260, 37201, 20497, 6976, 16143, 7161, 35362, 59200, 24123, 17134, 9441, 64579, 38632, 5927, 20933, 62988, 53899, 40355, 20737, 64617, 44887, 33804, 63985, 16493, 18410, 47829, 48701, 12150, 45242, 16743, 5771, 13656, 16573, 34413, 18613, 34675, 3087, 42985, 30813}, new char[]{17598, 52505, 1257, 53163}, new char[]{0, 0, 0, 0}, (-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1), new char[]{56837, 11002, 18026, 11409, 24386, 47701, 7666, 15663, 29699, 7001, 25054, 65002, 23695, 59293, 5955, 28004, 48924, 1033, 50057, 223, 16352, 945, 61876, 42962, 17989, 58099, 42011, 49598, 34671, 51426, 1518, 1030, 46006, 13042, 27692, 49452, 20134, 53303, 6132, 6829, 64530, 1268, 57866, 12649, 38463, 43636, 21822, 46175, 41139, 41182, 18073, 44939, 59534, 13202, 61448, 56657, 22092, 55842, 52355, 47183, 10179, 45213, 52169, 19823}, new char[]{13025, 16375, 32313, 30694}, new char[]{0, 0, 0, 0}, TextUtils.lastIndexOf("", '0', 0, 0) + 1, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((char) Color.green(0), new char[]{17249, 3739, 44730, 17047, 22043, 29422, 44096, 33448, 2889, 22945, 36378, 43694, 3540, 64387, 51031, 45359, 51792, 59820, 2825, 12911, 56496, 48041, 7779, 59282, 25178, 35992, 7239, 60197, 60307, 47263, 13408, 4361, 54775, 48550, 24648, 21446, 36073, 9690, 46506, 11032, 29059, 10691, 42161, 28649, 8994, 28089, 5285, 27494, 43761, 7192, 27087, 44230, 48641, 33705, 55442, 56432, 20785, 7661, 7805, 3543, 53190, 13732, 2491, 33927}, new char[]{36139, 36712, 21746, 26887}, new char[]{0, 0, 0, 0}, View.MeasureSpec.getSize(0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(74 - TextUtils.indexOf("", "", 0), new char[]{5, 19, 65535, 16, 2, 17, 15, 19, 65535, 16, 3, 65484, 1, '\r', 11, 65485, 65535, 14, 7, 65485, 7, '\f', 5, 3, 17, 18, 65485, 20, 65488, 65485, 3, 20, 3, '\f', 18, 17, 6, 18, 18, 14, 17, 65496, 65485, 65485, 17, 7, 65535, 11, 1, '\r', 11, 11, 3, 16, 1, 7, 65535, '\n', 0, 65535, '\f', '\t', 65484, 18, 6, 16, 3, 65535, 18, 1, 65535, 17, 18, 65484}, 191 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), false, ImageFormat.getBitsPerPixel(0) + 37, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) (6569 - TextUtils.getTrimmedLength("")), new char[]{45910, 14184, 26921, 42423, 37847}, new char[]{61022, 41270, 43513, 55577}, new char[]{0, 0, 0, 0}, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) - 106875154, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((char) KeyEvent.normalizeMetaState(0), new char[]{29900, 2994, 697, 13584, 49809, 46245, 1750, 63671, 9504, 9860, 27058, 44942, 2418, 18892, 50282, 50752, 51404, 58589, 42283, 51898, 52086, 46682, 24899, 31109, 62443, 26045, 61493, 43565, 4715, 54132, 19397, 56014, 16458, 312, 18223, 4146}, new char[]{58234, 63192, 44331, 28579}, new char[]{0, 0, 0, 0}, Color.green(0), 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 - (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)), 4 - ImageFormat.getBitsPerPixel(0), (char) View.combineMeasuredStates(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
int i6 = r + 19;
q = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // o.AbstractActivityC11342edY, 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 + 25;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 55;
q = i4 % 128;
int i5 = i4 % 2;
}
}