what-the-bank/sources/com/scb/phone/view/activity/registration/RegistrationNewPinActivity....

688 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.registration;
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.telephony.cdma.CdmaCellLocation;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.scb.phone.R;
import com.scb.phone.view.fragment.registration.RegistrationNewPinFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC11658ejW;
import o.GuL;
import o.TVH;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes5.dex */
public class RegistrationNewPinActivity extends AbstractActivityC11658ejW {
private RegistrationNewPinFragment m;
private static final byte[] $$y = {118, -18, 54, 121};
private static final int $$z = 5;
private static int $10 = 0;
private static int $11 = 1;
/* renamed from: o, reason: collision with root package name */
private static int f7850o = 0;
private static int s = 1;
private static char[] k = {40003, 40065, 40067, 40077, 40066, 40089, 40064, 40072, 40067, 40068, 40075, 40021, 40036, 40091, 40038, 40035, 40078, 40064, 39985, 40053, 40078, 40076, 40089, 39986, 40059, 40039, 40045, 40002, 40012, 40035, 40059, 40004, 39996, 40025, 40032, 40037, 40036, 40036, 40037, 40061, 40045, 40021, 40038, 40032, 40040, 40041, 40041, 40044, 40034, 39954, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 40007, 40007, 39999, 39994, 40001, 39985, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 40039, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40112, 40116, 40116, 40064, 40068, 40069, 40068, 40118, 40116, 40090, 40112, 40071, 40118, 40071, 40076, 40118, 40116, 40119, 40112, 40076, 40064, 40064, 40071, 40069, 40076, 40119, 40116, 40065, 40091, 40076, 40065, 40069, 40088, 40117, 40069, 40071};
private static long l = 8274809733541531043L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). 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 aF(int r6, byte r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r8 = r8 * 2
int r8 = 121 - r8
byte[] r0 = com.scb.phone.view.activity.registration.RegistrationNewPinActivity.$$y
int r7 = r7 * 2
int r1 = 1 - r7
byte[] r1 = new byte[r1]
r2 = 0
int r7 = 0 - r7
if (r0 != 0) goto L17
r8 = r6
r3 = r7
r4 = r2
goto L30
L17:
r3 = r2
L18:
byte r4 = (byte) r8
r1[r3] = r4
int r6 = r6 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L27:
int r3 = r3 + 1
r4 = r0[r6]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L30:
int r6 = r6 + r3
r3 = r4
r5 = r8
r8 = r6
r6 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.registration.RegistrationNewPinActivity.aF(int, byte, int, java.lang.Object[]):void");
}
public static void c(Context context) {
int i = 2 % 2;
context.startActivity(new Intent(context, (Class<?>) RegistrationNewPinActivity.class));
int i2 = s + 99;
f7850o = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 15 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final Fragment M() {
int i = 2 % 2;
int i2 = f7850o + 45;
s = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
this.m = (RegistrationNewPinFragment) RegistrationNewPinFragment.b(new Object[0], -1519850817, 1519850818, (int) System.currentTimeMillis());
throw null;
}
RegistrationNewPinFragment registrationNewPinFragment = (RegistrationNewPinFragment) RegistrationNewPinFragment.b(new Object[0], -1519850817, 1519850818, (int) System.currentTimeMillis());
this.m = registrationNewPinFragment;
int i3 = f7850o + 65;
s = i3 % 128;
if (i3 % 2 != 0) {
return registrationNewPinFragment;
}
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = s + 61;
f7850o = i2 % 128;
int i3 = i2 % 2;
super.Z();
S();
int i4 = s + 113;
f7850o = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivityWithFragment
public final String L() {
int i = 2 % 2;
int i2 = s + 21;
f7850o = i2 % 128;
int i3 = i2 % 2;
String string = getString(R.string.set_pin_title);
int i4 = s + 67;
f7850o = i4 % 128;
int i5 = i4 % 2;
return string;
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = f7850o + 97;
s = i2 % 128;
int i3 = i2 % 2;
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i4 = f7850o + 19;
s = i4 % 128;
int i5 = i4 % 2;
onBackPressed();
int i6 = f7850o + 19;
s = i6 % 128;
if (i6 % 2 != 0) {
return true;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // androidx.activity.ComponentActivity, android.app.Activity
public void onBackPressed() {
int i = 2 % 2;
int i2 = f7850o;
int i3 = i2 + 75;
s = i3 % 128;
int i4 = i3 % 2;
RegistrationNewPinFragment registrationNewPinFragment = this.m;
if (registrationNewPinFragment != null) {
int i5 = i2 + 65;
s = i5 % 128;
int i6 = i5 % 2;
RegistrationNewPinFragment.b(new Object[]{registrationNewPinFragment}, 167754998, -167754993, System.identityHashCode(registrationNewPinFragment));
}
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(l ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $10 + 83;
$11 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(l)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 209, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) ((ViewConfiguration.getEdgeSlop() >> 16) + 1706));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 + 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a[i6] = ((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((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 391, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aF(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i7 = $10 + 125;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@Override // o.AbstractActivityC11658ejW, com.scb.phone.view.activity.BaseActivityWithFragment, 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;
Object[] objArr = new Object[1];
aD(new int[]{0, 18, 31, 4}, true, new byte[]{1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 31, 3}, false, new byte[]{0, 0, 1, 1, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
aD(new int[]{23, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aE(new char[]{44758, 30861, 44725, 44292, 14877, 8966, 63811, 21775, 37387, 37271, 31525, 41600, 326, 64801, 51747, 37693, 43365, 42272, 8747, 11053, 61817, 19807}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.crop_document_warning_missing_borders).substring(30, 31).length() - 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = s + 53;
f7850o = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 4 % 5;
}
}
if (baseContext != null) {
int i4 = s + 73;
f7850o = i4 % 128;
int i5 = i4 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.combineMeasuredStates(0, 0), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (1 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aE(new char[]{21520, 30919, 21537, 44300, 50607, 27670, 979, 21832, 28141, 28259, 13317, 60800, 64402, 64802, 13705, 56373, 21491, 42345, 56728, 25724, 2994, 19784, 26089, 3084, 58259, 62815, 3498, 54301, 23510, 40301, 54680, 31777, 13283, 17778, 32143, 1077, 60321, 60814, 1315, 44229, 17158, 38350, 44393, 29830, 15170, 15791, 29954, 7393, 37667, 58803, 7502, 42224}, Color.green(0), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{52747, 421, 52846, 54331, 23106, 47322, 39373, 11307, 62032, 61836, 57494, 14667, 24974, 33868, 43622, 2217, 51689, 56415, 17011, 45246, 37373, 13357, 64005, 55501, 31192, 35903, 37445, 219, 49560, 58383, 18980, 43196, 43433, 15376, 57908, 53495, 29116, 38126, 39617, 30814, 55630, 60657, 12934, 41037, 41309, 17563, 60085, 51241, 2414, 40152, 33522, 28781, 53551, 62625, 15058, 38984, 47448, 19633, 53905, 49165, 275, 42202, 35493, 26727, 59693, 64715, 8933, 36906}, ViewConfiguration.getKeyRepeatDelay() >> 16, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD(new int[]{49, 64, 0, 59}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{113, 74, 0, 33}, true, new byte[]{0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aE(new char[]{42254, 20172, 42295, 39710, 29949, 23672, 62158, 57149, 56738}, View.MeasureSpec.getSize(0), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aD(new int[]{CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 36, 90, 2}, true, null, 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(ExpandableListView.getPackedPositionGroup(0L) + 487, 5 - TextUtils.indexOf("", ""), (char) (ViewConfiguration.getFadingEdgeLength() >> 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);
}
@Override // o.AbstractActivityC11658ejW, com.scb.phone.view.activity.BaseActivityWithFragment, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = s + 33;
f7850o = 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];
aD(new int[]{23, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{44758, 30861, 44725, 44292, 14877, 8966, 63811, 21775, 37387, 37271, 31525, 41600, 326, 64801, 51747, 37693, 43365, 42272, 8747, 11053, 61817, 19807}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i3 = s + 31;
f7850o = i3 % 128;
int i4 = i3 % 2;
baseContext = baseContext.getApplicationContext();
int i5 = s + 83;
f7850o = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
int i7 = f7850o + 109;
s = i7 % 128;
try {
if (i7 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 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(487 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), TextUtils.getOffsetBefore("", 0) + 5, (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 4 - ExpandableListView.getPackedPositionChild(0L), (char) (ViewConfiguration.getTapTimeout() >> 16))).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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((-1) - Process.getGidForName("")))).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();
}
@Override // o.AbstractActivityC11658ejW, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = f7850o + 27;
s = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = s + 81;
f7850o = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aD(new int[]{23, 26, 0, 23}, false, new byte[]{0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aE(new char[]{44758, 30861, 44725, 44292, 14877, 8966, 63811, 21775, 37387, 37271, 31525, 41600, 326, 64801, 51747, 37693, 43365, 42272, 8747, 11053, 61817, 19807}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.please_choose_min_full_payment).substring(25, 26).codePointAt(0) - 32, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), 5 - (Process.myTid() >> 22), (char) ((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
private static void aD(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int length;
char[] cArr;
int i2;
char[] cArr2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = iArr[3];
char[] cArr3 = k;
int i9 = -1;
if (cArr3 != null) {
int i10 = $10 + 57;
$11 = i10 % 128;
if (i10 % 2 == 0) {
length = cArr3.length;
cArr = new char[length];
i2 = 1;
} else {
length = cArr3.length;
cArr = new char[length];
i2 = 0;
}
while (i2 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr3[i2]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr2 = cArr3;
} else {
Class cls = (Class) xzZ.c(223 - TextUtils.indexOf("", "", i4, i4), (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, (char) (TextUtils.indexOf("", "", i4, i4) + 41977));
byte b = (byte) i9;
byte b2 = (byte) (b + 1);
cArr2 = cArr3;
Object[] objArr3 = new Object[1];
aF(b, b2, (byte) (b2 | Ascii.EM), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr[i2] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i2++;
cArr3 = cArr2;
i4 = 0;
i9 = -1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr3 = cArr;
}
char[] cArr4 = new char[i6];
System.arraycopy(cArr3, i5, cArr4, 0, i6);
if (bArr != null) {
char[] cArr5 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
int i11 = $11 + 85;
$10 = i11 % 128;
if (i11 % 2 == 0 ? bArr[tvh.c] == 1 : bArr[tvh.c] == 1) {
int i12 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 503, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 5, (char) (Process.getGidForName("") + 55))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i12] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i13 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(16 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), TextUtils.getOffsetBefore("", 0) + 5, (char) (58134 - (ViewConfiguration.getPressedStateDuration() >> 16)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i13] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(402 - TextUtils.getOffsetAfter("", 0), 4 - TextUtils.lastIndexOf("", '0'), (char) ((KeyEvent.getMaxKeyCode() >> 16) + 21608));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
aF(b3, b4, (byte) (b4 | Ascii.CAN), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i8 > 0) {
int i14 = $11 + 35;
$10 = i14 % 128;
if (i14 % 2 != 0) {
char[] cArr6 = new char[i6];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 1, i6);
System.arraycopy(cArr6, 1, cArr4, i6 >> i8, i8);
System.arraycopy(cArr6, i8, cArr4, 1, i6 << i8);
} else {
i = 0;
char[] cArr7 = new char[i6];
System.arraycopy(cArr4, 0, cArr7, 0, i6);
int i15 = i6 - i8;
System.arraycopy(cArr7, 0, cArr4, i15, i8);
System.arraycopy(cArr7, i8, cArr4, 0, i15);
}
} else {
i = 0;
}
if (z) {
char[] cArr8 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i16 = $11 + 115;
$10 = i16 % 128;
if (i16 % 2 != 0) {
cArr8[tvh.c] = cArr4[(i6 >>> tvh.c) >> 1];
i = tvh.c;
} else {
cArr8[tvh.c] = cArr4[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr4 = cArr8;
}
if (i7 > 0) {
int i17 = $11 + 19;
$10 = i17 % 128;
int i18 = i17 % 2;
int i19 = 0;
while (true) {
tvh.c = i19;
if (tvh.c >= i6) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i19 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
@Override // o.AbstractActivityC11658ejW, com.scb.phone.view.activity.BaseActivityWithFragment, 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];
aD(new int[]{0, 18, 31, 4}, true, new byte[]{1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD(new int[]{18, 5, 31, 3}, false, new byte[]{0, 0, 1, 1, 0}, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
if (context != null) {
int i2 = f7850o + 33;
s = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), View.MeasureSpec.getSize(0) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{21520, 30919, 21537, 44300, 50607, 27670, 979, 21832, 28141, 28259, 13317, 60800, 64402, 64802, 13705, 56373, 21491, 42345, 56728, 25724, 2994, 19784, 26089, 3084, 58259, 62815, 3498, 54301, 23510, 40301, 54680, 31777, 13283, 17778, 32143, 1077, 60321, 60814, 1315, 44229, 17158, 38350, 44393, 29830, 15170, 15791, 29954, 7393, 37667, 58803, 7502, 42224}, ExpandableListView.getPackedPositionGroup(0L), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{52747, 421, 52846, 54331, 23106, 47322, 39373, 11307, 62032, 61836, 57494, 14667, 24974, 33868, 43622, 2217, 51689, 56415, 17011, 45246, 37373, 13357, 64005, 55501, 31192, 35903, 37445, 219, 49560, 58383, 18980, 43196, 43433, 15376, 57908, 53495, 29116, 38126, 39617, 30814, 55630, 60657, 12934, 41037, 41309, 17563, 60085, 51241, 2414, 40152, 33522, 28781, 53551, 62625, 15058, 38984, 47448, 19633, 53905, 49165, 275, 42202, 35493, 26727, 59693, 64715, 8933, 36906}, ExpandableListView.getPackedPositionType(0L), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD(new int[]{49, 64, 0, 59}, false, new byte[]{1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD(new int[]{113, 74, 0, 33}, true, new byte[]{0, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aE(new char[]{42254, 20172, 42295, 39710, 29949, 23672, 62158, 57149, 56738}, ViewConfiguration.getMaximumDrawingCacheSize() >> 24, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD(new int[]{CipherSuite.TLS_DH_DSS_WITH_CAMELLIA_128_CBC_SHA256, 36, 90, 2}, true, null, objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.getTrimmedLength("") + 487, TextUtils.lastIndexOf("", '0', 0) + 6, (char) TextUtils.indexOf("", ""))).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 i4 = f7850o + 69;
s = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // o.AbstractActivityC11658ejW, com.scb.phone.view.activity.BaseActivityWithFragment, 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 = s + 57;
f7850o = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}