what-the-bank/sources/o/AbstractActivityC10164dxc.java

600 lines
41 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.dynamite.descriptors.com.google.android.gms.tagmanager.ModuleDescriptor;
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.view.activity.cardmanagement.SaveSlipBaseActivity;
import com.scb.phone.view.activity.ccrredemption.mileage.MileageConfirmRedemptionActivity;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.dxc, reason: case insensitive filesystem */
/* loaded from: classes4.dex */
public abstract class AbstractActivityC10164dxc<T> extends SaveSlipBaseActivity<T> {
private boolean b = false;
private static final byte[] $$E = {ISO7816.INS_MANAGE_CHANNEL, Ascii.SYN, 62, 17};
private static final int $$F = 48;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int r = 1;
private static char[] m = {36787, 61882, 29626, 62898, 30629, 63909, 31634, 64982, 32653, 57751, 25536, 58816, 26600, 59891, 27621, 60909, 28609, 53703, 36799, 61869, 29579, 62889, 30638, 36835, 61923, 29674, 62882, 30713, 63919, 31632, 64921, 32640, 57821, 25564, 58865, 26537, 59902, 27573, 60848, 28624, 53639, 21388, 54680, 22425, 55704, 23351, 56673, 24356, 49522, 17197, 50501, 18201, 51525, 19202, 52569, 20259, 45345, 13094, 46385, 14188, 47465, 15188, 48474, 16144, 41232, 8983, 42213, 9913, 43236, 10915, 44284, 48229, 49722, 16440, 50725, 17533, 51753, 18501, 52811, 19462, 53771, 20491, 54819, 21550, 55934, 22624, 56934, 23557, 57856, 24590, 58950, 25677, 59978, 26807, 61116, 27895, 62122, 28926, 63171, 29844, 64156, 30857, 65242, 31984, 33440, 169, 34531, 1257, 35560, 2257, 36575, 3265, 37570, 4301, 38709, 5482, 39785, 6438, 40827, 7494, 41799, 8474, 42766, 9482, 43779, 10608, 44840, 11620, 45875, 12606, 46855, 13657, 47954, 14611, 48969, 36794, 61856, 29610, 62896, 30649, 63990, 31705, 64983, 32657, 57741, 25487, 58877, 26617, 59891, 27627, 60901, 28631, 53702, 21469, 54729, 22475, 55744, 23348, 56633, 24364, 49455, 17248, 50436, 18194, 51470, 19203, 52489, 20326, 45431, 13183, 46451, 14206, 47394, 15185, 48461, 16195, 41302, 9034, 42147, 9899, 43177, 10919, 44218, 11927, 37082, 4765, 38031, 5767, 39107, 6903, 40168, 7915, 32939, 743, 34014, 1757, 35033, 2773, 36060, 3709, 28706, 62060, 29807, 63023, 30778, 64019, 31766, 65046, 24599, 36843, 61946, 29670, 62958, 30714, 36791, 61877, 29676, 62964, 30638, 63989, 31682, 64968, 32719, 57810, 25566, 58869, 26616, 59825, 27570, 60858, 28547, 53637, 21395, 54721, 22472, 55753, 23349, 56693, 24432, 49447, 17276, 50449, 18253, 51481, 19205, 52573, 20262, 45345, 13103, 46437};
/* renamed from: o, reason: collision with root package name */
private static long f8920o = -6145167616658312748L;
private static long k = -6003792202438530827L;
private static int l = 452713125;
private static char q = 55973;
private static void aJ(short s, short s2, int i, Object[] objArr) {
int i2 = (s * 2) + 4;
int i3 = s2 * 3;
int i4 = i + 98;
byte[] bArr = $$E;
byte[] bArr2 = new byte[i3 + 1];
int i5 = -1;
if (bArr == null) {
i2++;
i4 = i3 + i2;
}
while (true) {
i5++;
bArr2[i5] = (byte) i4;
if (i5 == i3) {
objArr[0] = new String(bArr2, 0);
return;
} else {
byte b = bArr[i2];
i2++;
i4 += b;
}
}
}
public AbstractActivityC10164dxc() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dxc.3
private AbstractActivityC10164dxc d;
{
this.d = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.d.g();
}
});
}
@Override // o.AbstractActivityC9738dpZ
public final void g() {
int i = 2 % 2;
int i2 = r + 13;
int i3 = i2 % 128;
p = i3;
int i4 = i2 % 2;
if (!this.b) {
int i5 = i3 + 65;
r = i5 % 128;
if (i5 % 2 == 0) {
this.b = false;
} else {
this.b = true;
}
((InterfaceC10166dxe) y_()).c((MileageConfirmRedemptionActivity) this);
}
int i6 = r + 63;
p = i6 % 128;
int i7 = i6 % 2;
}
private static void aG(int i, int i2, char c, Object[] objArr) {
int i3 = 2;
int i4 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i5 = $10 + 71;
$11 = i5 % 128;
if (i5 % i3 == 0) {
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(m[i - dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(309 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 32797));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
aJ(b, b2, b2, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f8920o), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 412, (KeyEvent.getMaxKeyCode() >> 16) + 5, (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aJ(b3, b4, (byte) (b4 + 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 406, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 29234));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aJ(b5, b6, (byte) (b6 | 8), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i7 = dqy.a;
Object[] objArr8 = {Integer.valueOf(m[i + dqy.a])};
Object obj4 = xzZ.y.get(1095064095);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(308 - (ViewConfiguration.getJumpTapTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (View.MeasureSpec.getSize(0) + 32797));
byte b7 = (byte) 0;
byte b8 = b7;
Object[] objArr9 = new Object[1];
aJ(b7, b8, b8, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
xzZ.y.put(1095064095, obj4);
}
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(f8920o), Integer.valueOf(c)};
Object obj5 = xzZ.y.get(-548438098);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 412, 5 - (ViewConfiguration.getWindowTouchSlop() >> 8), (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1));
byte b9 = (byte) 0;
byte b10 = b9;
Object[] objArr11 = new Object[1];
aJ(b9, b10, (byte) (b10 + 1), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj5);
}
jArr[i7] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
Object[] objArr12 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 == null) {
Class cls6 = (Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 407, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (29234 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b11 = (byte) 0;
byte b12 = b11;
Object[] objArr13 = new Object[1];
aJ(b11, b12, (byte) (b12 | 8), objArr13);
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj6);
}
((Method) obj6).invoke(null, objArr12);
}
i3 = 2;
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i8 = $10 + 3;
$11 = i8 % 128;
if (i8 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr14 = {dqy, dqy};
Object obj7 = xzZ.y.get(1071125919);
if (obj7 == null) {
Class cls7 = (Class) xzZ.c(407 - Drawable.resolveOpacity(0, 0), (Process.myPid() >> 22) + 5, (char) (29233 - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b13 = (byte) 0;
byte b14 = b13;
Object[] objArr15 = new Object[1];
aJ(b13, b14, (byte) (b14 | 8), objArr15);
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj7);
}
((Method) obj7).invoke(null, objArr14);
throw null;
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr16 = {dqy, dqy};
Object obj8 = xzZ.y.get(1071125919);
if (obj8 == null) {
Class cls8 = (Class) xzZ.c(407 - (KeyEvent.getMaxKeyCode() >> 16), (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 6, (char) (29234 - Color.red(0)));
byte b15 = (byte) 0;
byte b16 = b15;
Object[] objArr17 = new Object[1];
aJ(b15, b16, (byte) (b16 | 8), objArr17);
obj8 = cls8.getMethod((String) objArr17[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj8);
}
((Method) obj8).invoke(null, objArr16);
}
String str = new String(cArr);
int i9 = $11 + 125;
$10 = i9 % 128;
int i10 = i9 % 2;
objArr[0] = str;
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, 18 - (ViewConfiguration.getTouchSlop() >> 8), (char) ((Process.getThreadPriority(0) + 20) >> 6), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.two_words_with_separator).substring(0, 11).codePointAt(6) - 14, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deposit_detail_prompt_pay).substring(9, 10).codePointAt(0) - 53, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), 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) {
int i2 = p + 83;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 21695), new char[]{57658, 35752, 58546, 57614, 7199, 23725, 30105, 3489, 46563, 18675, 44920, 37613, 11740, 58742, 49890, 39538, 49789, 62288, 37677, 52382, 40007, 9963, 37479, 44114, 35432, 60310}, new char[]{10926, 33747, 57801, 61012}, new char[]{62032, 16031, 65385, 53557}, 1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.preregistered_mobile_input_title).substring(38, 39).length() + 48412), new char[]{27567, 28091, 4849, 30059, 50085, 41350, 21724, 10445, 57670, 15753, 10794, 24871, 14301, 45941, 1894, 54287, 22656, 1120}, new char[]{38515, 30289, 7555, 189}, new char[]{62032, 16031, 65385, 53557}, ImageFormat.getBitsPerPixel(0) + 1, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i4 = p + 21;
r = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i6 = p + 29;
r = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
int i8 = p + 17;
r = i8 % 128;
int i9 = i8 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.getSize(0), (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) View.getDefaultSize(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aG((ViewConfiguration.getFadingEdgeLength() >> 16) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 64, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(0) - 99), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aI((char) (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), new char[]{43177, 33931, 39220, 24445, 64498, 40702, 19411, 43293, 48846, 27044, 30002, 2169, 32218, 3645, 33524, 35647, 50032, 61786, 62553, 18443, 28202, 5837, 33821, 42562, 22448, 34355, 56992, 22689, 55582, 22985, 52440, 24508, 55280, 1907, 19307, 43175, 351, 47107, 1141, 42575, 47900, 43190, 48346, 47017, 23539, 36943, 57338, 44790, 54486, 28831, 45882, 24685, 43335, 36322, 63026, 33611, 28104, 9447, 15569, 55027, 23576, 43699, 9585, 23428}, new char[]{51162, 25904, 64834, 3886}, new char[]{62032, 16031, 65385, 53557}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 112, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.my_e_coupon_error_generic).substring(23, 24).codePointAt(0) - 40, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.abc_menu_meta_shortcut_label).substring(0, 5).codePointAt(4) + 21, (char) (ExpandableListView.getPackedPositionChild(0L) + 13271), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(135 - (ViewConfiguration.getPressedStateDuration() >> 16), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.deejung_direct_debit_description_jcb).substring(42, 43).codePointAt(0) + 42, (char) (KeyEvent.getMaxKeyCode() >> 16), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_PSK_WITH_AES_256_CBC_SHA384, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_success_result_description_b2k).substring(0, 115).length() - 115), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aG(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 201, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 35, (char) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), 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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 486, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (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);
}
private static void aI(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 = $11 + 29;
$10 = i6 % 128;
int i7 = i6 % 2;
while (nhs.a < length3) {
int i8 = $10 + 77;
$11 = i8 % 128;
int i9 = i8 % i3;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.getOffsetAfter("", i5) + 45, (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8));
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();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 352, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (52128 - Color.blue(i5)));
byte b = (byte) i5;
Object[] objArr4 = new Object[1];
aJ(b, b, $$E[3], 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;
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((Process.myPid() >> 22) + 748, (ViewConfiguration.getMaximumFlingVelocity() >> 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(com.pingan.ai.p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i11 = cArr4[intValue2] * 32718;
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(402 - (ViewConfiguration.getDoubleTapTimeout() >> 16), 5 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (char) ((Process.myPid() >> 22) + 21608));
byte b2 = (byte) i5;
byte b3 = b2;
Object[] objArr7 = new Object[1];
aJ(b2, b3, (byte) (b3 | 16), 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) (l ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (k ^ 9051040786702654117L))) ^ ((char) (q ^ 9051040786702654117L)));
nhs.a++;
i3 = i2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 31;
r = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.auto_single_form_check_eligibility_property_scbs_header).substring(31, 32).length() + 21728), new char[]{57658, 35752, 58546, 57614, 7199, 23725, 30105, 3489, 46563, 18675, 44920, 37613, 11740, 58742, 49890, 39538, 49789, 62288, 37677, 52382, 40007, 9963, 37479, 44114, 35432, 60310}, new char[]{10926, 33747, 57801, 61012}, new char[]{62032, 16031, 65385, 53557}, 1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aI((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 48400), new char[]{27567, 28091, 4849, 30059, 50085, 41350, 21724, 10445, 57670, 15753, 10794, 24871, 14301, 45941, 1894, 54287, 22656, 1120}, new char[]{38515, 30289, 7555, 189}, new char[]{62032, 16031, 65385, 53557}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl).substring(0, 13).codePointAt(10) - 84, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = r + 23;
p = i4 % 128;
if (i4 % 2 != 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 89 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).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.getMode(0) + 487, 5 - View.combineMeasuredStates(0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '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();
}
/* JADX WARN: Code restructure failed: missing block: B:31:0x0023, code lost:
r12 = (java.lang.Object[]) null;
r14 = new java.lang.Object[1];
aI((char) ((android.view.KeyEvent.getMaxKeyCode() >> 16) + 21729), new char[]{57658, 35752, 58546, 57614, 7199, 23725, 30105, 3489, 46563, 18675, 44920, 37613, 11740, 58742, 49890, 39538, 49789, 62288, 37677, 52382, 40007, 9963, 37479, 44114, 35432, 60310}, new char[]{10926, 33747, 57801, 61012}, new char[]{62032, 16031, 65385, 53557}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.juristic_pin_lock_error_msg).substring(4, 5).length() - 1, r14);
r7 = java.lang.Class.forName((java.lang.String) r14[0]);
r1 = new java.lang.Object[1];
aI((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.error_ekyc_passport_2002_text).substring(67, 68).length() + 48412), new char[]{27567, 28091, 4849, 30059, 50085, 41350, 21724, 10445, 57670, 15753, 10794, 24871, 14301, 45941, 1894, 54287, 22656, 1120}, new char[]{38515, 30289, 7555, 189}, new char[]{62032, 16031, 65385, 53557}, (android.media.AudioTrack.getMaxVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMaxVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, r1);
r1 = (android.content.Context) r7.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:33:0x0021, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost:
if (r1 == null) goto L9;
*/
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onPause() {
/*
Method dump skipped, instructions count: 490
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.AbstractActivityC10164dxc.onPause():void");
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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];
aG((Process.getThreadPriority(0) + 20) >> 6, 18 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) Color.green(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aG(TextUtils.getOffsetBefore("", 0) + 18, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = r + 33;
p = i2 % 128;
int i3 = i2 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
int i4 = p + 3;
r = i4 % 128;
if (i4 % 2 != 0) {
context2 = context.getApplicationContext();
} else {
context2 = context.getApplicationContext();
int i5 = 5 / 0;
}
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(MotionEvent.axisFromString("") + 493, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aG(((byte) KeyEvent.getModifierMetaStateMask()) + Ascii.CAN, 48 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aI((char) KeyEvent.getDeadChar(0, 0), new char[]{43177, 33931, 39220, 24445, 64498, 40702, 19411, 43293, 48846, 27044, 30002, 2169, 32218, 3645, 33524, 35647, 50032, 61786, 62553, 18443, 28202, 5837, 33821, 42562, 22448, 34355, 56992, 22689, 55582, 22985, 52440, 24508, 55280, 1907, 19307, 43175, 351, 47107, 1141, 42575, 47900, 43190, 48346, 47017, 23539, 36943, 57338, 44790, 54486, 28831, 45882, 24685, 43335, 36322, 63026, 33611, 28104, 9447, 15569, 55027, 23576, 43699, 9585, 23428}, new char[]{51162, 25904, 64834, 3886}, new char[]{62032, 16031, 65385, 53557}, ViewConfiguration.getPressedStateDuration() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aG(71 - Color.argb(0, 0, 0, 0), 64 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (13270 - TextUtils.indexOf("", "", 0, 0)), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aG((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 134, KeyEvent.normalizeMetaState(0) + 74, (char) ExpandableListView.getPackedPositionGroup(0L), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aG(210 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ('0' - AndroidCharacter.getMirror('0')), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aG(Drawable.resolveOpacity(0, 0) + ModuleDescriptor.MODULE_VERSION, Process.getGidForName("") + 37, (char) (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)), 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((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 486, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (KeyEvent.getMaxKeyCode() >> 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);
int i6 = r + 77;
p = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
@Override // com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity, com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = p + 49;
r = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = r + 109;
p = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
}
}