what-the-bank/sources/com/scb/phone/view/activity/ntb/touchpoint/TouchPointFillInfoActivity....

629 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ntb.touchpoint;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.C14957gcv;
import o.GuL;
import o.InterfaceC9504dkw;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public final class TouchPointFillInfoActivity extends Hilt_TouchPointFillInfoActivity implements InterfaceC9504dkw {
public static final IeS b;
private static long k;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7670o;
private static final byte[] $$p = {45, 3, ISO7816.INS_READ_RECORD2, ISO7816.INS_PSO};
private static final int $$q = 80;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0029). 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(byte r5, int r6, short r7, java.lang.Object[] r8) {
/*
byte[] r0 = com.scb.phone.view.activity.ntb.touchpoint.TouchPointFillInfoActivity.$$p
int r5 = r5 * 2
int r5 = 121 - r5
int r7 = r7 * 2
int r7 = 4 - r7
int r6 = r6 * 4
int r1 = r6 + 1
byte[] r1 = new byte[r1]
r2 = 0
if (r0 != 0) goto L17
r4 = r6
r5 = r7
r3 = r2
goto L29
L17:
r3 = r2
L18:
byte r4 = (byte) r5
r1[r3] = r4
if (r3 != r6) goto L25
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L25:
r4 = r0[r7]
int r3 = r3 + 1
L29:
int r7 = r7 + 1
int r5 = r5 + r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ntb.touchpoint.TouchPointFillInfoActivity.aC(byte, int, short, java.lang.Object[]):void");
}
/* loaded from: classes5.dex */
public static final class IeS {
private IeS() {
}
public static Intent ajG_(Context context, String str) {
C14957gcv.e(context, "");
C14957gcv.e(str, "");
Intent putExtra = new Intent(context, (Class<?>) TouchPointFillInfoActivity.class).putExtra("EXTRA_PROGRESS_STATE", str);
C14957gcv.c(putExtra, "");
return putExtra;
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void aA(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(k ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 27;
$10 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a.length) {
int i5 = $10 + 123;
$11 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(k)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((-16777008) - Color.rgb(0, 0, 0), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (1706 - (ViewConfiguration.getTouchSlop() >> 8)));
byte b2 = (byte) 1;
byte b3 = (byte) (b2 - 1);
Object[] objArr3 = new Object[1];
aC(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(391 - TextUtils.lastIndexOf("", '0', 0, 0), View.MeasureSpec.getMode(0) + 5, (char) (Process.myPid() >> 22));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
aC(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointFillInfoActivity, com.scb.phone.view.activity.ntb.NTBActivity, o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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) {
String stringExtra;
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{46365, 22291, 46460, 60206, 28583, 5989, 26162, 21177, 17470, 64229, 1585, 16473, 22506, 51595, 13495, 29171, 26251, 51019, 9038, 28298, 28766, 55011}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{23579, 8350, 23670, 40116, 64904, 34171, 55474, 60450, 44339}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_event_exchange_rate).substring(25, 26).codePointAt(0) - 31, 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];
aA(new char[]{10486, 50488, 10391, 30981, 61620, 34934, 48277, 34846, 55765, 26830, 39202, 39678, 51727, 23459, 44026, 43818, 64339, 21868, 48202, 46113, 60848, 17618, 52502, 18117, 40670, 47007, 57316, 22405, 36703, 41287}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 9}, true, new byte[]{1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i2 = l + 83;
m = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 492, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{10881, 42348, 10928, 6408, 20962, 10608, 51758, 65205, 56318, 2192, 14454, 60426, 51323, 15294, 2798, 56798, 63830, 13625, 7515, 49867, 61395, 9436, 27654, 12351, 40142, 55191, 32417, 8546, 36143, 49473, 29167, 5850, 46070, 61490, 16444, 1042, 41168, 58346, 21212, 30022, 20811, 37622, 42450, 31465, 17995, 35859, 46149, 27626, 29862, 49091, 34669, 22823}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 97, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{40127, 63199, 40154, 19182, 22328, 12200, 1980, 13088, 28101, 23330, 16126, 8640, 32322, 26625, 3124, 4123, 20329, 26334, 7045, 3920, 22969, 30568, 27359, 64935, 10912, 33830, 30843, 60669, 15172, 37618, 30566, 56094, 1433, 41857, 18098, 51593, 5864, 45147, 21515, 47236, 59174, 49432, 41736, 46971, 61553, 57334, 45767, 42619, 49870, 60537, 33252, 38115, 54091, 64772, 40808, 33538, 56320, 3016, 61071, 29195, 44719, 6343, 64967, 24741, 49149, 10618, 52035, 24500}, Gravity.getAbsoluteGravity(0, 0) + 1, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{14390, 31836, 14423, 49207, 51771, 45741, 22828, 28134, 51483, 53744, 41900, 32524, 55964, 57998, 37174, 20184, 60336, 60511, 34433, 20937, 64871, 64957, 63371, 41781, 36475, 3747, 58670, 45675, 40861, 6271, 59955, 34184, 41242, 10509, 56248, 38725, 45666, 14989, 51548, 58944, 17327, 19345, 15960, 59832, 21755, 21799, 12176, 63726, 26132, 26280, 7399, 51828, 30660, 30682, 575, 56733, 30940, 33098, 29577, 11423, 2606, 37446, 24723, 15980, 7031, 41891, 22082, 374}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 12, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{7980, 40436, 8004, 8659, 42371, 56657, 20942, 25927, 60947, 12369, 52318, 30628, 64967, 886, 65244, 17970, 52395, 3500, 59748, 22910, 55929, 7173, 38966, 43918, 43313, 61271, 35523, 47834, 47242, 63876, 34243, 36219, 34384, 51425, 46172, 40866, 38200, 56100, 42724, 61156, 25844, 43557, 20918, 57630, 29621, 46285, 16505, 61516, 16665, 34582, 29448, 49793, 20697, 38457, 28118, 54568, 24477, 24820, 7264, 9323, 11629, 29600, 3876, 13953, 15423, 16982, 14826, 2519, 3011, 19601, 10455, 6232, 6469, 24541, 56148, 27301, 59392, 11820}, (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)) + 1, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aB(new int[]{18, 5, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 3}, true, new byte[]{1, 0, 1, 1, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{23, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 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(535 - AndroidCharacter.getMirror('0'), 5 - TextUtils.getOffsetAfter("", 0), (char) ((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
String[] strArr = {getString(R.string.auto_touchpoints_verify_your_infromation), getString(R.string.auto_touchpoints_answer_fatca), getString(R.string.auto_touchpoints_select_account), getString(R.string.auto_touchpoints_fill_information)};
C14957gcv.e(strArr, "");
C14957gcv.e(strArr, "");
List<String> asList = Arrays.asList(strArr);
C14957gcv.c(asList, "");
this.progressStateBar.setStates(asList);
this.progressStateBar.setVisibility(0);
this.progressStateBar.setCurrentState(3);
this.progressStateBar.requestLayout();
Intent intent = getIntent();
if (intent != null) {
int i4 = l + 45;
m = i4 % 128;
if (i4 % 2 == 0) {
stringExtra = intent.getStringExtra("EXTRA_PROGRESS_STATE");
int i5 = 87 / 0;
if (stringExtra == null) {
return;
}
} else {
stringExtra = intent.getStringExtra("EXTRA_PROGRESS_STATE");
if (stringExtra == null) {
return;
}
}
d(stringExtra);
}
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointFillInfoActivity, com.scb.phone.view.activity.ntb.NTBActivity, o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{10486, 50488, 10391, 30981, 61620, 34934, 48277, 34846, 55765, 26830, 39202, 39678, 51727, 23459, 44026, 43818, 64339, 21868, 48202, 46113, 60848, 17618, 52502, 18117, 40670, 47007, 57316, 22405, 36703, 41287}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 9}, true, new byte[]{1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = m + 67;
l = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = m + 99;
l = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.blue(0) + 492, TextUtils.getTrimmedLength("") + 5, (char) (Process.myPid() >> 22))).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(View.MeasureSpec.makeMeasureSpec(0, 0) + 487, Color.red(0) + 5, (char) (ViewConfiguration.getScrollBarSize() >> 8))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 36 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 492, Gravity.getAbsoluteGravity(0, 0) + 5, (char) (KeyEvent.getMaxKeyCode() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i6 = l + 47;
m = i6 % 128;
int i7 = i6 % 2;
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr = f7670o;
long j = 0;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i8 = 0;
while (i8 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr[i8]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(j) + 223, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (Color.rgb(i3, i3, i3) + 16819193));
byte b2 = (byte) i3;
Object[] objArr3 = new Object[1];
aC((byte) 25, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i8] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i8++;
i3 = 0;
j = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i5];
System.arraycopy(cArr, i4, cArr3, 0, i5);
if (bArr != null) {
int i9 = $10 + 103;
$11 = i9 % 128;
int i10 = i9 % 2;
char[] cArr4 = new char[i5];
tvh.c = 0;
int i11 = $10 + 69;
$11 = i11 % 128;
int i12 = 2;
int i13 = i11 % 2;
char c = 0;
while (tvh.c < i5) {
int i14 = $10 + 107;
$11 = i14 % 128;
int i15 = i14 % i12;
if (bArr[tvh.c] == 1) {
int i16 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((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)) + 502, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 5, (char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 53))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i16] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i17 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 16, 5 - Color.red(0), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 58133))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i17] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
try {
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(Color.alpha(0) + 402, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (21608 - View.MeasureSpec.getMode(0)));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC((byte) 24, b3, b3, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
int i18 = $11 + 1;
$10 = i18 % 128;
int i19 = i18 % 2;
i12 = 2;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr3 = cArr4;
}
if (i7 > 0) {
char[] cArr5 = new char[i5];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i5);
int i20 = i5 - i7;
System.arraycopy(cArr5, 0, cArr3, i20, i7);
System.arraycopy(cArr5, i7, cArr3, 0, i20);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i5];
while (true) {
tvh.c = i;
if (tvh.c >= i5) {
break;
}
int i21 = $10 + 75;
$11 = i21 % 128;
if (i21 % 2 == 0) {
cArr6[tvh.c] = cArr3[(tvh.c * i5) % 1];
i = tvh.c - 1;
} else {
cArr6[tvh.c] = cArr3[(i5 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr3 = cArr6;
}
if (i6 > 0) {
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i5) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointFillInfoActivity, com.scb.phone.view.activity.ntb.NTBActivity, o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = l + 1;
m = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{10486, 50488, 10391, 30981, 61620, 34934, 48277, 34846, 55765, 26830, 39202, 39678, 51727, 23459, 44026, 43818, 64339, 21868, 48202, 46113, 60848, 17618, 52502, 18117, 40670, 47007, 57316, 22405, 36703, 41287}, -TextUtils.lastIndexOf("", '0'), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new int[]{0, 18, CipherSuite.TLS_DHE_PSK_WITH_3DES_EDE_CBC_SHA, 9}, true, new byte[]{1, 1, 1, 0, 1, 1, 0, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = m + 47;
l = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i6 = l + 53;
m = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) Color.red(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", ""), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) Gravity.getAbsoluteGravity(0, 0))).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();
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointFillInfoActivity, com.scb.phone.view.activity.ntb.NTBActivity, o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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) {
int i = 2 % 2;
int i2 = l + 113;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{46365, 22291, 46460, 60206, 28583, 5989, 26162, 21177, 17470, 64229, 1585, 16473, 22506, 51595, 13495, 29171, 26251, 51019, 9038, 28298, 28766, 55011}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{23579, 8350, 23670, 40116, 64904, 34171, 55474, 60450, 44339}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 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 applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = m + 61;
l = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 493, 5 - View.combineMeasuredStates(0, 0), (char) View.resolveSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{10881, 42348, 10928, 6408, 20962, 10608, 51758, 65205, 56318, 2192, 14454, 60426, 51323, 15294, 2798, 56798, 63830, 13625, 7515, 49867, 61395, 9436, 27654, 12351, 40142, 55191, 32417, 8546, 36143, 49473, 29167, 5850, 46070, 61490, 16444, 1042, 41168, 58346, 21212, 30022, 20811, 37622, 42450, 31465, 17995, 35859, 46149, 27626, 29862, 49091, 34669, 22823}, 1 - View.MeasureSpec.getSize(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{40127, 63199, 40154, 19182, 22328, 12200, 1980, 13088, 28101, 23330, 16126, 8640, 32322, 26625, 3124, 4123, 20329, 26334, 7045, 3920, 22969, 30568, 27359, 64935, 10912, 33830, 30843, 60669, 15172, 37618, 30566, 56094, 1433, 41857, 18098, 51593, 5864, 45147, 21515, 47236, 59174, 49432, 41736, 46971, 61553, 57334, 45767, 42619, 49870, 60537, 33252, 38115, 54091, 64772, 40808, 33538, 56320, 3016, 61071, 29195, 44719, 6343, 64967, 24741, 49149, 10618, 52035, 24500}, 1 - View.combineMeasuredStates(0, 0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{14390, 31836, 14423, 49207, 51771, 45741, 22828, 28134, 51483, 53744, 41900, 32524, 55964, 57998, 37174, 20184, 60336, 60511, 34433, 20937, 64871, 64957, 63371, 41781, 36475, 3747, 58670, 45675, 40861, 6271, 59955, 34184, 41242, 10509, 56248, 38725, 45666, 14989, 51548, 58944, 17327, 19345, 15960, 59832, 21755, 21799, 12176, 63726, 26132, 26280, 7399, 51828, 30660, 30682, 575, 56733, 30940, 33098, 29577, 11423, 2606, 37446, 24723, 15980, 7031, 41891, 22082, 374}, 1 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{7980, 40436, 8004, 8659, 42371, 56657, 20942, 25927, 60947, 12369, 52318, 30628, 64967, 886, 65244, 17970, 52395, 3500, 59748, 22910, 55929, 7173, 38966, 43918, 43313, 61271, 35523, 47834, 47242, 63876, 34243, 36219, 34384, 51425, 46172, 40866, 38200, 56100, 42724, 61156, 25844, 43557, 20918, 57630, 29621, 46285, 16505, 61516, 16665, 34582, 29448, 49793, 20697, 38457, 28118, 54568, 24477, 24820, 7264, 9323, 11629, 29600, 3876, 13953, 15423, 16982, 14826, 2519, 3011, 19601, 10455, 6232, 6469, 24541, 56148, 27301, 59392, 11820}, -TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{18, 5, CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA384, 3}, true, new byte[]{1, 0, 1, 1, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{23, 36, 0, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - TextUtils.indexOf("", "", 0, 0), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object b(Object[] objArr) {
int i = 2 % 2;
int i2 = l + 9;
int i3 = i2 % 128;
m = i3;
if (i2 % 2 == 0) {
int i4 = 89 / 0;
}
int i5 = i3 + 105;
l = i5 % 128;
int i6 = i5 % 2;
return "touchpoint";
}
static void m() {
k = 2628931151012258828L;
f7670o = new char[]{40052, 40172, 40162, 40203, 40179, 40177, 40202, 40201, 40176, 40188, 40182, 40176, 40182, 40178, 40186, 40190, 40178, 40182, 40051, 40167, 40167, 40166, 40163, 39993, 40040, 40002, 39992, 40007, 40005, 39997, 39993, 39973, 39994, 39992, 40001, 40040, 40012, 39995, 39992, 39994, 39994, 39972, 40012, 40042, 40040, 40047, 40003, 39972, 40001, 40001, 40002, 40007, 40005, 40047, 40007, 39999, 39999, 39992, 40000};
}
@Override // com.scb.phone.view.activity.ntb.touchpoint.Hilt_TouchPointFillInfoActivity, com.scb.phone.view.activity.ntb.NTBActivity, o.AbstractActivityC11364edu, com.scb.phone.view.activity.ntb.BaseNtbInstructionActivity, 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 = l + 113;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 59 / 0;
}
int i5 = m + 99;
l = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.ntb.NTBActivity, o.InterfaceC8954dab.jbe
public final String e() {
int i = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 316354023;
return (String) b(new Object[]{this});
}
static {
m = 1;
m();
b = new IeS((byte) 0);
int i = l + 35;
m = i % 128;
int i2 = i % 2;
}
}