what-the-bank/sources/com/scb/phone/view/activity/additionaldocument/Hilt_ZoomDocumentActivity.java

738 lines
40 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.additionaldocument;
import android.content.Context;
import android.graphics.Color;
import android.graphics.PointF;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import o.C13073fPt;
import o.C4403bZM;
import o.InterfaceC17278vUG;
import o.InterfaceC9902dse;
import o.fPA;
import o.jTb;
import o.xzZ;
import org.bouncycastle.crypto.tls.CipherSuite;
/* loaded from: classes4.dex */
public abstract class Hilt_ZoomDocumentActivity extends BaseActivity implements fPA {
private volatile C13073fPt l;
private static final byte[] $$g = {85, SignedBytes.MAX_POWER_OF_TWO, 74, 69};
private static final int $$h = CipherSuite.TLS_PSK_WITH_NULL_SHA384;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
private static int p = 1;
private static char m = 23477;
/* renamed from: o, reason: collision with root package name */
private static char f6561o = 49594;
private static char r = 26682;
private static char t = 4309;
private static int[] s = {872890768, -655394565, -92778683, -634363, -1366143036, 1425181075, 1108072531, -975129767, -295160225, 1702623909, -515472829, 1529106975, -1153860082, -1213837258, -413260395, 678824519, -773058151, 1827461099};
private final Object k = new Object();
boolean b = false;
/* JADX WARN: Removed duplicated region for block: B:10:0x002a */
/* JADX WARN: Removed duplicated region for block: B:7:0x0022 */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x002a -> B:4:0x002f). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, short r7, byte r8, java.lang.Object[] r9) {
/*
byte[] r0 = com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.$$g
int r8 = r8 * 2
int r8 = 4 - r8
int r7 = r7 + 66
int r6 = r6 * 3
int r1 = 1 - r6
byte[] r1 = new byte[r1]
r2 = 0
int r6 = 0 - r6
if (r0 != 0) goto L17
r3 = r6
r7 = r8
r4 = r2
goto L2f
L17:
r3 = r2
L18:
r5 = r8
r8 = r7
r7 = r5
byte r4 = (byte) r8
r1[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L2a
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L2a:
r3 = r0[r7]
r5 = r8
r8 = r7
r7 = r5
L2f:
int r8 = r8 + 1
int r3 = -r3
int r7 = r7 + r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.az(short, short, byte, java.lang.Object[]):void");
}
/* JADX INFO: Access modifiers changed from: package-private */
public Hilt_ZoomDocumentActivity() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.4
private Hilt_ZoomDocumentActivity e;
{
this.e = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
Hilt_ZoomDocumentActivity hilt_ZoomDocumentActivity = this.e;
if (hilt_ZoomDocumentActivity.b) {
return;
}
hilt_ZoomDocumentActivity.b = true;
((InterfaceC9902dse) hilt_ZoomDocumentActivity.y_()).d((ZoomDocumentActivity) hilt_ZoomDocumentActivity);
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 35;
q = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
f().y_();
obj.hashCode();
throw null;
}
Object y_ = f().y_();
int i3 = q + 1;
p = i3 % 128;
if (i3 % 2 != 0) {
return y_;
}
throw null;
}
private C13073fPt f() {
if (this.l == null) {
synchronized (this.k) {
if (this.l == null) {
this.l = new C13073fPt(this);
}
}
}
return this.l;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x004b, code lost:
r2 = getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0054, code lost:
getIntent().getExtras();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x005b, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x003e, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0027, code lost:
if (getIntent() != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0040, code lost:
r4 = com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.p + 1;
com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.q = r4 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0049, code lost:
if ((r4 % 2) != 0) goto L12;
*/
@Override // androidx.activity.ComponentActivity, o.GvH
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public o.VLM.LWm getDefaultViewModelProviderFactory() {
/*
r6 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.p
int r1 = r1 + 43
int r2 = r1 % 128
com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.q = r2
int r1 = r1 % r0
r2 = 0
if (r1 == 0) goto L2a
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
r5 = 76
int r5 = r5 / 0
if (r4 == 0) goto L5c
goto L40
L2a:
o.VLM$LWm r1 = super.getDefaultViewModelProviderFactory()
java.lang.Class<o.fPo$Sts> r3 = o.C13068fPo.Sts.class
java.lang.Object r3 = o.fOV.c(r6, r3)
o.fPo$Sts r3 = (o.C13068fPo.Sts) r3
o.fPo$LWm r3 = r3.a()
android.content.Intent r4 = r6.getIntent()
if (r4 == 0) goto L5c
L40:
int r4 = com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.p
int r4 = r4 + 1
int r5 = r4 % 128
com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.q = r5
int r4 = r4 % r0
if (r4 != 0) goto L54
android.content.Intent r0 = r6.getIntent()
android.os.Bundle r2 = r0.getExtras()
goto L5c
L54:
android.content.Intent r0 = r6.getIntent()
r0.getExtras()
throw r2
L5c:
o.VLM$LWm r0 = r3.aBN_(r6, r2, r1)
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity.getDefaultViewModelProviderFactory():o.VLM$LWm");
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
int i3 = 0;
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
int i4 = $11 + 55;
$10 = i4 % 128;
int i5 = 58224;
if (i4 % 2 != 0) {
cArr3[i3] = cArr[jtb.b];
cArr3[i3] = cArr[jtb.b];
} else {
cArr3[i3] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
}
int i6 = i3;
while (i6 < 16) {
int i7 = $10 + 91;
$11 = i7 % 128;
int i8 = i7 % 2;
char c = cArr3[1];
char c2 = cArr3[i3];
char[] cArr4 = cArr3;
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i5) ^ ((c2 << 4) + ((char) (r ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(t)};
Object obj = xzZ.y.get(597144044);
if (obj == null) {
Class cls = (Class) xzZ.c(412 - View.MeasureSpec.getMode(0), 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) Color.red(0));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj);
}
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
cArr4[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i5) ^ ((charValue << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(f6561o)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 411, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) View.MeasureSpec.getSize(0));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i5 -= 40503;
i6++;
cArr3 = cArr4;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr5 = cArr3;
cArr2[jtb.b] = cArr5[0];
cArr2[jtb.b + 1] = cArr5[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + '2', 4 - TextUtils.lastIndexOf("", '0', 0), (char) View.getDefaultSize(0, 0));
byte b5 = (byte) 0;
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(943004485, obj3);
}
((Method) obj3).invoke(null, objArr6);
cArr3 = cArr5;
i3 = 0;
}
objArr[0] = new String(cArr2, 0, i);
}
@Override // 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];
ax(new char[]{28438, 46345, 797, 29893, 39931, 38453, 53606, 3182, 39891, 46780, 30469, 20122, 3270, 35715, 309, 32908, 10830, 54968}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{65516, 56106, 64031, 6406, 64106, 26765}, (-16777211) - Color.rgb(0, 0, 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];
ax(new char[]{28438, 46345, 797, 29893, 39931, 38453, 53606, 3182, 19377, 40366, 38069, 16118, 17339, 33466, 40116, 19722, 26029, 10336, 47901, 39758, 62668, 63784, 8796, 62081, 62030, 6783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_mailing_address_unit_format).substring(4, 10).codePointAt(3) - 10, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{16109, 37553, 13615, 40915, 943, 38842, 23039, 18948, 47464, 19321, 60836, 30471, 23967, 39647, 40116, 19722, 14484, 27974}, 18 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i2 = q + 7;
p = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
int i4 = q + 65;
p = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 22 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 492, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) TextUtils.getTrimmedLength(""))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ax(new char[]{1181, 43897, 725, 2045, 15317, 1386, 57049, 27276, 48716, 24043, 9615, 33230, 38919, 51549, 27754, 42234, 42105, 16826, 46565, 63922, 43419, 50714, 43411, 51862, 7584, 9701, 59629, 54259, 50860, 55476, 8188, 3788, 44946, 14060, 50388, 57481, 49935, 22202, 48434, 63355, 12192, 49542, 15899, 44626, 40501, 50734, 11662, 53880}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 35, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{59115, 24123, 3373, 42068, 10176, 19701, 18496, 48351, 2883, 9484, 393, 56379, 393, 56379, 26622, 30161, 29281, 32925, 52960, 54692, 45668, 21775, 48231, 23249, 58482, 463, 30773, 11483, 19771, 5257, 49128, 23445, 13292, 28890, 8246, 48215, 54722, 29492, 48434, 63355, 10176, 19701, 19943, 20010, 31514, 18877, 10176, 19701, 33403, 8049, 49323, 46038, 40501, 50734, 35718, 36786, 13306, 41917, 31808, 63665, 10176, 19701, 2183, 38576}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.myqr_for_receiving_money).substring(0, 3).codePointAt(0) - 17, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{-66962556, 1700172426, 1447124117, 133440916, -701672230, -1455906611, -1006819638, 984780133, -893890368, -1578987837, 2057689674, 294078065, 1643711442, -761596503, -785472466, 650731831, -1722849376, 1196739415, -956672935, 1933362000, -428395149, -730262624, 1583937168, -1132609748, -1054100390, 2003873930, -76804383, 772192699, 1710597200, -922552818, -534369925, 1434152390}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax(new char[]{63682, 50550, 9844, 25177, 54758, 30635, 23587, 18114, 47986, 48072, 5709, 5577, 46905, 57002, 63906, 12089, 48215, 19785, 11373, 5397, 27177, 41979, 54865, 12177, 60100, 45771, 51948, 41572, 58287, 50188, 65017, 46419, 17648, 30259, 16896, 53407, 58165, 51926, 53942, 57792, 55650, 12254, 20912, 50452, 54939, 62918, 55650, 12254, 5631, 27114, 46905, 57002, 35606, 56152, 19377, 40366, 17221, 40121, 32957, 13143, 19667, 45910, 57840, 44588, 13983, 33565, 42557, 4762, 45950, 48328, 943, 38842, 36400, 48089}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 61, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new int[]{889246611, 510633926, -1215555939, -820925509}, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new int[]{493844414, -566330504, 457554750, 700284180, 1215992868, -357814835, -457965293, 690904870, -1277017958, 1059781505, 25620045, -167861234, -1781478224, 1111627679, 2025658366, 116830247, -303144918, 2092402003}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, 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(View.combineMeasuredStates(0, 0) + 487, TextUtils.getCapsMode("", 0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
private static void ay(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
char c;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr3 = s;
char c2 = '0';
int i3 = 1;
int i4 = 0;
if (iArr3 != null) {
int length = iArr3.length;
int[] iArr4 = new int[length];
int i5 = 0;
while (i5 < length) {
int i6 = $10 + 1;
$11 = i6 % 128;
if (i6 % 2 == 0) {
try {
Object[] objArr2 = new Object[i3];
objArr2[0] = Integer.valueOf(iArr3[i5]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(15 - View.MeasureSpec.getMode(0), TextUtils.indexOf("", c2) + 6, (char) (58134 - (ViewConfiguration.getScrollDefaultDelay() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr4[i5] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
Object[] objArr3 = {Integer.valueOf(iArr3[i5])};
Object obj2 = xzZ.y.get(729798706);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(15 - (ViewConfiguration.getWindowTouchSlop() >> 8), 5 - TextUtils.indexOf("", "", 0, 0), (char) (58134 - (ViewConfiguration.getEdgeSlop() >> 16)))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj2);
}
iArr4[i5] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i5++;
}
c2 = '0';
i3 = 1;
}
int i7 = $11 + 75;
$10 = i7 % 128;
int i8 = i7 % 2;
iArr3 = iArr4;
}
int length2 = iArr3.length;
int[] iArr5 = new int[length2];
int[] iArr6 = s;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i9 = 0;
while (i9 < length3) {
Object[] objArr4 = new Object[1];
objArr4[i4] = Integer.valueOf(iArr6[i9]);
Object obj3 = xzZ.y.get(729798706);
if (obj3 != null) {
iArr2 = iArr6;
c = 55346;
} else {
obj3 = ((Class) xzZ.c(15 - (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)), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 58134))).getMethod("i", Integer.TYPE);
iArr2 = iArr6;
c = 55346;
xzZ.y.put(729798706, obj3);
}
iArr7[i9] = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
i9++;
iArr6 = iArr2;
i4 = 0;
}
iArr6 = iArr7;
}
int i10 = i4;
System.arraycopy(iArr6, i10, iArr5, i10, length2);
c4403bZM.b = i10;
while (c4403bZM.b < iArr.length) {
int i11 = $10 + 79;
$11 = i11 % 128;
int i12 = i11 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i13 = 0;
for (int i14 = 16; i13 < i14; i14 = 16) {
c4403bZM.e ^= iArr5[i13];
Object[] objArr5 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls = (Class) xzZ.c(117 - TextUtils.indexOf((CharSequence) "", '0'), MotionEvent.axisFromString("") + 6, (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b = (byte) 0;
Object[] objArr6 = new Object[1];
az(b, (byte) (b | 38), b, objArr6);
obj4 = cls.getMethod((String) objArr6[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr5)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i13++;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr7 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls2 = (Class) xzZ.c(99 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), ExpandableListView.getPackedPositionChild(0L) + 6, (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) 0;
Object[] objArr8 = new Object[1];
az(b2, (byte) (b2 | ISO7816.INS_CHANGE_CHV), b2, objArr8);
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr7);
}
String str = new String(cArr2, 0, i);
int i18 = $11 + 61;
$10 = i18 % 128;
if (i18 % 2 != 0) {
Object obj6 = null;
obj6.hashCode();
throw null;
}
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
int i2 = q + 81;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new char[]{28438, 46345, 797, 29893, 39931, 38453, 53606, 3182, 19377, 40366, 38069, 16118, 17339, 33466, 40116, 19722, 26029, 10336, 47901, 39758, 62668, 63784, 8796, 62081, 62030, 6783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).codePointAt(95) - 71, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{16109, 37553, 13615, 40915, 943, 38842, 23039, 18948, 47464, 19321, 60836, 30471, 23967, 39647, 40116, 19722, 14484, 27974}, (ViewConfiguration.getTapTimeout() >> 16) + 18, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = p + 19;
q = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = p + 11;
q = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) ((-16777216) - Color.rgb(0, 0, 0)))).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(487 - (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)), 5 - TextUtils.getTrimmedLength(""), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).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();
int i7 = p + 95;
q = i7 % 128;
if (i7 % 2 != 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new char[]{28438, 46345, 797, 29893, 39931, 38453, 53606, 3182, 19377, 40366, 38069, 16118, 17339, 33466, 40116, 19722, 26029, 10336, 47901, 39758, 62668, 63784, 8796, 62081, 62030, 6783}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{16109, 37553, 13615, 40915, 943, 38842, 23039, 18948, 47464, 19321, 60836, 30471, 23967, 39647, 40116, 19722, 14484, 27974}, 18 - TextUtils.getOffsetBefore("", 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = q + 73;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 91;
q = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 493, ExpandableListView.getPackedPositionGroup(0L) + 5, (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getPressedStateDuration() >> 16), 5 - TextUtils.indexOf("", "", 0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '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.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public void attachBaseContext(Context context) {
Context context2;
int i = 2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{28438, 46345, 797, 29893, 39931, 38453, 53606, 3182, 39891, 46780, 30469, 20122, 3270, 35715, 309, 32908, 10830, 54968}, TextUtils.getTrimmedLength("") + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{65516, 56106, 64031, 6406, 64106, 26765}, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 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) {
if (context != null) {
int i2 = p + 99;
q = i2 % 128;
int i3 = i2 % 2;
context2 = context.getApplicationContext();
} else {
context2 = context;
}
if (context2 != null) {
int i4 = q + 9;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - MotionEvent.axisFromString(""), 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ax(new char[]{1181, 43897, 725, 2045, 15317, 1386, 57049, 27276, 48716, 24043, 9615, 33230, 38919, 51549, 27754, 42234, 42105, 16826, 46565, 63922, 43419, 50714, 43411, 51862, 7584, 9701, 59629, 54259, 50860, 55476, 8188, 3788, 44946, 14060, 50388, 57481, 49935, 22202, 48434, 63355, 12192, 49542, 15899, 44626, 40501, 50734, 11662, 53880}, 48 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ax(new char[]{59115, 24123, 3373, 42068, 10176, 19701, 18496, 48351, 2883, 9484, 393, 56379, 393, 56379, 26622, 30161, 29281, 32925, 52960, 54692, 45668, 21775, 48231, 23249, 58482, 463, 30773, 11483, 19771, 5257, 49128, 23445, 13292, 28890, 8246, 48215, 54722, 29492, 48434, 63355, 10176, 19701, 19943, 20010, 31514, 18877, 10176, 19701, 33403, 8049, 49323, 46038, 40501, 50734, 35718, 36786, 13306, 41917, 31808, 63665, 10176, 19701, 2183, 38576}, TextUtils.lastIndexOf("", '0', 0, 0) + 65, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new int[]{-66962556, 1700172426, 1447124117, 133440916, -701672230, -1455906611, -1006819638, 984780133, -893890368, -1578987837, 2057689674, 294078065, 1643711442, -761596503, -785472466, 650731831, -1722849376, 1196739415, -956672935, 1933362000, -428395149, -730262624, 1583937168, -1132609748, -1054100390, 2003873930, -76804383, 772192699, 1710597200, -922552818, -534369925, 1434152390}, TextUtils.indexOf("", "") + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ax(new char[]{63682, 50550, 9844, 25177, 54758, 30635, 23587, 18114, 47986, 48072, 5709, 5577, 46905, 57002, 63906, 12089, 48215, 19785, 11373, 5397, 27177, 41979, 54865, 12177, 60100, 45771, 51948, 41572, 58287, 50188, 65017, 46419, 17648, 30259, 16896, 53407, 58165, 51926, 53942, 57792, 55650, 12254, 20912, 50452, 54939, 62918, 55650, 12254, 5631, 27114, 46905, 57002, 35606, 56152, 19377, 40366, 17221, 40121, 32957, 13143, 19667, 45910, 57840, 44588, 13983, 33565, 42557, 4762, 45950, 48328, 943, 38842, 36400, 48089}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new int[]{889246611, 510633926, -1215555939, -820925509}, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new int[]{493844414, -566330504, 457554750, 700284180, 1215992868, -357814835, -457965293, 690904870, -1277017958, 1059781505, 25620045, -167861234, -1781478224, 1111627679, 2025658366, 116830247, -303144918, 2092402003}, 36 - 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.resolveSizeAndState(0, 0, 0) + 487, View.resolveSizeAndState(0, 0, 0) + 5, (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, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 = q + 125;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 29;
q = i4 % 128;
int i5 = i4 % 2;
}
}