what-the-bank/sources/com/scb/phone/view/activity/remittance/RemittanceReviewActivity.java

727 lines
44 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.remittance;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.ExpandableListView;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import androidx.appcompat.widget.Toolbar;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.fragment.remittance.RemittanceReviewFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C1114Vy;
import o.C11604eiV;
import o.C14957gcv;
import o.C4593bdB;
import o.C8141dCc;
import o.InterfaceC12880fJx;
import o.Nhs;
import o.qeC;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class RemittanceReviewActivity extends Hilt_RemittanceReviewActivity implements InterfaceC12880fJx {
private static long k;
/* renamed from: o, reason: collision with root package name */
public static final IeS f7894o;
private static int p;
private static char r;
private static long s;
private static int t;
private C1114Vy l;
private C8141dCc m;
private static final byte[] $$p = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN};
private static final int $$q = CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
/* 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:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(short r5, short r6, short r7, java.lang.Object[] r8) {
/*
int r6 = r6 + 77
byte[] r0 = com.scb.phone.view.activity.remittance.RemittanceReviewActivity.$$p
int r7 = r7 * 3
int r1 = r7 + 1
int r5 = r5 + 4
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L12
r3 = r7
r4 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r6
r1[r3] = r4
int r5 = r5 + 1
int r4 = r3 + 1
if (r3 != r7) goto L24
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L24:
r3 = r0[r5]
L26:
int r6 = r6 + r3
r3 = r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.remittance.RemittanceReviewActivity.aC(short, short, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
RemittanceReviewActivity remittanceReviewActivity = (RemittanceReviewActivity) objArr[0];
int i4 = 2 % 2;
Context baseContext = remittanceReviewActivity.getBaseContext();
if (baseContext == null) {
int i5 = t + 57;
q = i5 % 128;
int i6 = i5 % 2;
Object[] objArr2 = new Object[1];
aB((char) (((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() + 1018), new char[]{31116, 56341, 3464, 9756, 11236, 5443, 55696, 65072, 47833, 15907, 58041, 51361, 57382, 8349, 32146, 966, 37713, 65356, 35805, 1844, 43420, 39313, 41916, 28338, 60882, 17949}, new char[]{30364, 16678, 198, 47364}, new char[]{7939, 17908, 36910, 10281}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_card_message_all_m_card).substring(15, 16).length() - 1, objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 45496), new char[]{62187, 59182, 44903, 43076, 4593, 30041, 36974, 6902, 52519, 50340, 1497, 33632, 8188, 8617, 24259, 61505, 46837, 21662}, new char[]{1938, 19365, 10150, 12722}, new char[]{7939, 17908, 36910, 10281}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.export_statement_successful_description).substring(13, 14).length() - 1, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = q + 93;
t = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - KeyEvent.normalizeMetaState(0), 5 - TextUtils.indexOf("", "", 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0, 0)))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - KeyEvent.normalizeMetaState(0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onPause();
return null;
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
int i3 = $11 + 87;
$10 = i3 % 128;
int i4 = i3 % 2;
while (c4593bdB.e < cArr.length) {
int i5 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.green(0) + 402, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (Drawable.resolveOpacity(0, 0) + 21608));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (k ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - TextUtils.indexOf("", ""), 5 - KeyEvent.normalizeMetaState(0), (char) (ExpandableListView.getPackedPositionChild(0L) + 1));
byte b3 = (byte) (-1);
byte b4 = (byte) (-b3);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 91;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(238 - TextUtils.getCapsMode("", 0, 0), 5 - ExpandableListView.getPackedPositionGroup(0L), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1));
byte b5 = (byte) (-1);
byte b6 = (byte) (-b5);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
String str = new String(cArr2);
int i8 = $11 + 45;
$10 = i8 % 128;
if (i8 % 2 == 0) {
objArr[0] = str;
} else {
int i9 = 50 / 0;
objArr[0] = str;
}
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceReviewActivity, 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 final void onCreate(Bundle bundle) {
Parcelable parcelable;
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{7168, 27102, 63399, 32096, 52042, 20765, 57059, 9464, 45702, 14411, 34405, 5066, 39391, 59283, 28012, 64315, 16642, 52979}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 30148, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{7180, 10501, 30222, 33631, 51313}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.expires_text).substring(7, 10).length() + 13594, 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];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 990), new char[]{31116, 56341, 3464, 9756, 11236, 5443, 55696, 65072, 47833, 15907, 58041, 51361, 57382, 8349, 32146, 966, 37713, 65356, 35805, 1844, 43420, 39313, 41916, 28338, 60882, 17949}, new char[]{30364, 16678, 198, 47364}, new char[]{7939, 17908, 36910, 10281}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.e_coupon_not_enough).substring(6, 7).length() - 1, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((char) (45607 - (ViewConfiguration.getKeyRepeatDelay() >> 16)), new char[]{62187, 59182, 44903, 43076, 4593, 30041, 36974, 6902, 52519, 50340, 1497, 33632, 8188, 8617, 24259, 61505, 46837, 21662}, new char[]{1938, 19365, 10150, 12722}, new char[]{7939, 17908, 36910, 10281}, Process.getGidForName("") + 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 67;
t = i2 % 128;
if (i2 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{7248, 9239, 27863, 46272, 64854, 1351, 19841, 38343, 56843, 58897, 11993, 30411, 48990, 51022, 4060, 22422, 38931, 40963, 59585, 12426, 31046, 33024, 51606, 4495, 23071, 25102, 43672, 62095, 15134, 17157, 35739, 54159, 5232, 23605, 25851, 44211, 62755, 15713, 17829, 36324, 54907, 7740, 9970, 28351, 46894, 65332, 1962, 20410}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.FaceTec_result_nfc_upload_message).substring(20, 23).length() + 14398, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{7172, 38660, 2649, 48401, 12363, 43808, 24191, 53609, 17468, 65387, 29205, 58650, 38919, 4876, 34356, 14649, 44071, 10018, 55854, 19926, 49294, 31684, 61082, 25076, 5370, 36856, 743, 46527, 10391, 41875, 22147, 51584, 31926, 63409, 27322, 7669, 37032, 1114, 48905, 12818, 42319, 22556, 54054, 18042, 63840, 27755, 59157, 39498, 3413, 32782, 15193, 44595, 8558, 54314, 20270, 49794, 30161, 59533, 25542, 5828, 35315, 15528, 47026, 10941}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 35557, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115), new char[]{55498, 4334, 63944, 37932, 53880, 9928, 16004, 54727, 4293, 50705, 29080, 58462, 63567, 48466, 51157, 40086, 35238, 40358, 17507, 23157, 26395, 44729, 49927, 28253, 53539, 14541, 30031, 5301, 25020, 49392, 21918, 8874, 24083, 52999, 58341, 37879, 52686, 54024, 44975, 44484, 22062, 56806, 54391, 10954, 12902, 18469, 61015, 11834, 42088, 30384, 48908, 53531, 48795, 65103, 17997, 5086, 20910, 7592, 25857, 26145, 25469, 25578, 4536, 43957}, new char[]{45389, 19611, 47587, 49154}, new char[]{7939, 17908, 36910, 10281}, ViewConfiguration.getTouchSlop() >> 8, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{7177, 38292, 3863, 32914, 14870, 46046, 9544, 57033, 20506, 51585, 17162, 62599, 28174, 59267, 39170, 4739, 33812, 15746, 46864, 10395, 41492, 23448, 52501, 18071, 63511, 29075, 60245, 40078, 5653, 36750, 282, 47775, 11317, 42403, 24354, 53425, 18993, 50154, 29984, 61107, 24616, 6586, 37679, 1209, 48700, 14265, 43310, 8892, 54324, 19966, 50992, 30909, 62008, 27643, 7478, 38566, 2096, 33271, 15154, 44212, 9786, 57273, 20780, 51882, 31758, 62934, 28433, 57485, 39488, 5074, 34114, 16072, 45149, 10715}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.tesg_tab).substring(0, 7).length() + 35194, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{7256, 64070, 53323, 44628, 33909}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 58855, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new char[]{7172, 24375, 39485, 54768, 4313, 19531, 36639, 51920, 1524, 16568, 48247, 65369, 14999, 30087, 45399, 60522, 12064, 27383, 42386, 57621, 23631, 40839, 55992, 5565, 20859, 35933, 53189, 2765, 18002, 33087, 64624, 16381, 31413, 46659, 61726, 11393}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.order_cheque_detailof3).substring(29, 30).codePointAt(0) + 17175, 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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - View.resolveSize(0, 0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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);
View inflate = getLayoutInflater().inflate(R.layout.2131558444, (ViewGroup) null, false);
int i3 = R.id.container;
FrameLayout frameLayout = (FrameLayout) qeC.e(inflate, R.id.container);
if (frameLayout != null) {
int i4 = t + 11;
q = i4 % 128;
if (i4 % 2 != 0) {
Object obj3 = null;
obj3.hashCode();
throw null;
}
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.ll_layout_review_page);
if (linearLayout != null) {
View e = qeC.e(inflate, R.id.toolbar);
if (e != null) {
C11604eiV c = C11604eiV.c(e);
View e2 = qeC.e(inflate, R.id.v_empty_page);
if (e2 != null) {
LinearLayout linearLayout2 = (LinearLayout) inflate;
C8141dCc c8141dCc = new C8141dCc(linearLayout2, frameLayout, linearLayout, c, e2, linearLayout2);
int i5 = q + 101;
t = i5 % 128;
int i6 = i5 % 2;
C14957gcv.c(c8141dCc, "");
this.m = c8141dCc;
setContentView(c8141dCc.e);
Intent intent = getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
int i7 = q + 83;
t = i7 % 128;
if (i7 % 2 == 0) {
intent.getExtras();
throw null;
}
Bundle extras = intent.getExtras();
parcelable = extras != null ? (Parcelable) extras.getParcelable("EXTRA_REMITTANCE_REVIEW_DISPLAY", C1114Vy.class) : null;
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("EXTRA_REMITTANCE_REVIEW_DISPLAY") : null;
if (!(parcelable2 instanceof C1114Vy)) {
parcelable2 = null;
}
parcelable = (C1114Vy) parcelable2;
}
this.l = (C1114Vy) parcelable;
C8141dCc c8141dCc2 = this.m;
if (c8141dCc2 == null) {
C14957gcv.a("");
c8141dCc2 = null;
}
Toolbar toolbar = c8141dCc2.c.c;
C8141dCc c8141dCc3 = this.m;
if (c8141dCc3 == null) {
C14957gcv.a("");
c8141dCc3 = null;
}
amL_(toolbar, c8141dCc3.c.d);
setTitle(R.string.remittance_review_title);
C1114Vy c1114Vy = this.l;
if (c1114Vy != null) {
AbstractC13482fbE a = getSupportFragmentManager().a();
RemittanceReviewFragment.IeS ieS = RemittanceReviewFragment.d;
C14957gcv.e(c1114Vy, "");
RemittanceReviewFragment remittanceReviewFragment = new RemittanceReviewFragment();
Bundle bundle2 = new Bundle();
bundle2.putParcelable("EXTRA_REVIEW_REMITTANCE_DISPLAY", c1114Vy);
remittanceReviewFragment.setArguments(bundle2);
a.b(R.id.container, remittanceReviewFragment, null, 1);
a.b();
}
d_("outward_remittance_review");
return;
}
i3 = R.id.v_empty_page;
} else {
i3 = R.id.toolbar;
}
} else {
i3 = R.id.ll_layout_review_page;
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i3)));
}
@Override // o.InterfaceC12880fJx
public final void j() {
int i = 2 % 2;
int i2 = t;
int i3 = i2 + 115;
q = i3 % 128;
int i4 = i3 % 2;
C8141dCc c8141dCc = this.m;
if (c8141dCc == null) {
int i5 = i2 + 67;
q = i5 % 128;
if (i5 % 2 != 0) {
C14957gcv.a("");
int i6 = 5 / 0;
} else {
C14957gcv.a("");
}
c8141dCc = null;
}
LinearLayout linearLayout = c8141dCc.b;
C14957gcv.c(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
C14957gcv.e(linearLayout2, "");
linearLayout2.setVisibility(8);
View view = c8141dCc.d;
C14957gcv.c(view, "");
C14957gcv.e(view, "");
view.setVisibility(0);
int i7 = t + 39;
q = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void ab() {
int i = 2 % 2;
int i2 = t + 51;
q = i2 % 128;
if (i2 % 2 != 0) {
getWindow().setFlags(16322, 10735);
} else {
getWindow().setFlags(8192, 8192);
}
}
private static void aB(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2;
int i3 = 2;
int i4 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
int i5 = 0;
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;
int i6 = $10 + 53;
$11 = i6 % 128;
int i7 = i6 % 2;
while (nhs.a < length3) {
int i8 = $11 + 7;
$10 = i8 % 128;
int i9 = i8 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.red(i5) + 45, 5 - View.MeasureSpec.getMode(i5), (char) TextUtils.indexOf("", "", i5, i5));
Class<?>[] clsArr = new Class[1];
clsArr[i5] = Object.class;
obj = cls.getMethod("t", clsArr);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(351 - MotionEvent.axisFromString(""), 5 - TextUtils.getOffsetAfter("", i5), (char) (52128 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) (-1);
Object[] objArr4 = new Object[1];
aC(b, (byte) (b & 38), (byte) i5, objArr4);
String str = (String) objArr4[i5];
Class<?>[] clsArr2 = new Class[1];
clsArr2[i5] = Object.class;
obj2 = cls2.getMethod(str, clsArr2);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
int i10 = cArr4[nhs.a % 4] * 32718;
try {
Object[] objArr5 = new Object[3];
objArr5[2] = Integer.valueOf(cArr5[intValue]);
objArr5[1] = Integer.valueOf(i10);
objArr5[i5] = nhs;
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', i5) + 749, (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
Class<?>[] clsArr3 = new Class[3];
clsArr3[i5] = Object.class;
clsArr3[1] = Integer.TYPE;
clsArr3[2] = Integer.TYPE;
obj3 = cls3.getMethod(p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i11 = cArr4[intValue2] * 32718;
try {
Object[] objArr6 = new Object[2];
objArr6[1] = Integer.valueOf(cArr5[intValue]);
objArr6[i5] = Integer.valueOf(i11);
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i2 = 2;
} else {
Class cls4 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 402, 5 - TextUtils.indexOf("", "", i5, i5), (char) (21608 - TextUtils.getCapsMode("", i5, i5)));
byte b2 = (byte) (-1);
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 & 37), (byte) i5, objArr7);
String str2 = (String) objArr7[i5];
i2 = 2;
Class<?>[] clsArr4 = new Class[2];
clsArr4[i5] = Integer.TYPE;
clsArr4[1] = Integer.TYPE;
obj4 = cls4.getMethod(str2, clsArr4);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((int) (p ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (s ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
i5 = 0;
} 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;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceReviewActivity, 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 final void onResume() {
int i = 2 % 2;
int i2 = t + 85;
q = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aB((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() + 1023), new char[]{31116, 56341, 3464, 9756, 11236, 5443, 55696, 65072, 47833, 15907, 58041, 51361, 57382, 8349, 32146, 966, 37713, 65356, 35805, 1844, 43420, 39313, 41916, 28338, 60882, 17949}, new char[]{30364, 16678, 198, 47364}, new char[]{7939, 17908, 36910, 10281}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.credit_charge_info).substring(0, 1).length() - 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB((char) (ExpandableListView.getPackedPositionGroup(0L) + 45607), new char[]{62187, 59182, 44903, 43076, 4593, 30041, 36974, 6902, 52519, 50340, 1497, 33632, 8188, 8617, 24259, 61505, 46837, 21662}, new char[]{1938, 19365, 10150, 12722}, new char[]{7939, 17908, 36910, 10281}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ccr_more_point_needed).substring(0, 1).codePointAt(0) - 40, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = t + 65;
q = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 3 % 3;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).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(488 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - Color.argb(0, 0, 0, 0), (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceReviewActivity, 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 final void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{7168, 27102, 63399, 32096, 52042, 20765, 57059, 9464, 45702, 14411, 34405, 5066, 39391, 59283, 28012, 64315, 16642, 52979}, 30161 - (Process.myTid() >> 22), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{7180, 10501, 30222, 33631, 51313}, Color.argb(0, 0, 0, 0) + 13597, 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 i2 = t + 5;
q = i2 % 128;
if (i2 % 2 == 0) {
context2 = context.getApplicationContext();
} else {
context2 = context.getApplicationContext();
int i3 = 98 / 0;
}
} else {
context2 = context;
}
if (context2 != null) {
int i4 = t + 71;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0) + 493, 5 - TextUtils.indexOf("", "", 0), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{7248, 9239, 27863, 46272, 64854, 1351, 19841, 38343, 56843, 58897, 11993, 30411, 48990, 51022, 4060, 22422, 38931, 40963, 59585, 12426, 31046, 33024, 51606, 4495, 23071, 25102, 43672, 62095, 15134, 17157, 35739, 54159, 5232, 23605, 25851, 44211, 62755, 15713, 17829, 36324, 54907, 7740, 9970, 28351, 46894, 65332, 1962, 20410}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 14401, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{7172, 38660, 2649, 48401, 12363, 43808, 24191, 53609, 17468, 65387, 29205, 58650, 38919, 4876, 34356, 14649, 44071, 10018, 55854, 19926, 49294, 31684, 61082, 25076, 5370, 36856, 743, 46527, 10391, 41875, 22147, 51584, 31926, 63409, 27322, 7669, 37032, 1114, 48905, 12818, 42319, 22556, 54054, 18042, 63840, 27755, 59157, 39498, 3413, 32782, 15193, 44595, 8558, 54314, 20270, 49794, 30161, 59533, 25542, 5828, 35315, 15528, 47026, 10941}, TextUtils.getCapsMode("", 0, 0) + 35591, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((char) (Process.getGidForName("") + 1), new char[]{55498, 4334, 63944, 37932, 53880, 9928, 16004, 54727, 4293, 50705, 29080, 58462, 63567, 48466, 51157, 40086, 35238, 40358, 17507, 23157, 26395, 44729, 49927, 28253, 53539, 14541, 30031, 5301, 25020, 49392, 21918, 8874, 24083, 52999, 58341, 37879, 52686, 54024, 44975, 44484, 22062, 56806, 54391, 10954, 12902, 18469, 61015, 11834, 42088, 30384, 48908, 53531, 48795, 65103, 17997, 5086, 20910, 7592, 25857, 26145, 25469, 25578, 4536, 43957}, new char[]{45389, 19611, 47587, 49154}, new char[]{7939, 17908, 36910, 10281}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{7177, 38292, 3863, 32914, 14870, 46046, 9544, 57033, 20506, 51585, 17162, 62599, 28174, 59267, 39170, 4739, 33812, 15746, 46864, 10395, 41492, 23448, 52501, 18071, 63511, 29075, 60245, 40078, 5653, 36750, 282, 47775, 11317, 42403, 24354, 53425, 18993, 50154, 29984, 61107, 24616, 6586, 37679, 1209, 48700, 14265, 43310, 8892, 54324, 19966, 50992, 30909, 62008, 27643, 7478, 38566, 2096, 33271, 15154, 44212, 9786, 57273, 20780, 51882, 31758, 62934, 28433, 57485, 39488, 5074, 34114, 16072, 45149, 10715}, 35201 - (KeyEvent.getMaxKeyCode() >> 16), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{7256, 64070, 53323, 44628, 33909}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 58888, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{7172, 24375, 39485, 54768, 4313, 19531, 36639, 51920, 1524, 16568, 48247, 65369, 14999, 30087, 45399, 60522, 12064, 27383, 42386, 57621, 23631, 40839, 55992, 5565, 20859, 35933, 53189, 2765, 18002, 33087, 64624, 16381, 31413, 46659, 61726, 11393}, 17207 - 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(View.MeasureSpec.getSize(0) + 487, 5 - ExpandableListView.getPackedPositionType(0L), (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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
static void g() {
k = -5534270528878342233L;
s = 6175087693820577190L;
p = 452713125;
r = (char) 55973;
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceReviewActivity, 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 final void onPause() {
d(new Object[]{this}, 257264488, -257264488, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1582842947);
}
@Override // com.scb.phone.view.activity.remittance.Hilt_RemittanceReviewActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = q + 21;
t = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = t + 121;
q = i4 % 128;
int i5 = i4 % 2;
}
static {
t = 1;
g();
f7894o = new IeS((byte) 0);
int i = q + 33;
t = i % 128;
int i2 = i % 2;
}
}