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

548 lines
37 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.graphics.Color;
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.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
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.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.kmc.kut.utilities.IpLibUtil;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.view.activity.BaseActivityWithFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.C13068fPo;
import o.VLM;
import org.bouncycastle.crypto.signers.PSSSigner;
/* loaded from: classes4.dex */
public abstract class dOC extends BaseActivityWithFragment implements fPA {
private static short[] t;
private volatile C13073fPt b;
private final Object l = new Object();
private boolean m = false;
private static final byte[] $$y = {94, -19, ISOFileInfo.FCP_BYTE, 2};
private static final int $$z = 89;
private static int $10 = 0;
private static int $11 = 1;
private static int p = 0;
private static int u = 1;
private static int k = -2120019961;
/* renamed from: o, reason: collision with root package name */
private static int f8787o = 1406017077;
private static int r = 1927869820;
private static byte[] q = {-97, -111, -99, ISOFileInfo.SECURITY_ATTR_EXP, -126, 125, 125, -60, -101, 94, -43, -124, ISOFileInfo.PROP_INFO, -126, -111, -119, -110, -102, -89, Ascii.DEL, -81, 58, 125, ISO7816.INS_UNBLOCK_CHV, 70, 37, 57, ISO7816.INS_CHANGE_CHV, 39, 115, 106, ISO7816.INS_DECREASE_STAMPED, 125, 72, 38, 115, ISO7816.INS_CHANGE_CHV, 65, -86, 71, Ascii.DEL, -86, -73, 101, 73, -92, 72, ISOFileInfo.SECURITY_ATTR_EXP, Ascii.DEL, ISO7816.INS_READ_BINARY, 120, -83, Ascii.DEL, -67, 67, -81, -67, 79, ISO7816.INS_READ_BINARY, 101, -73, 122, 126, ISO7816.INS_READ_RECORD2, -67, 126, -86, ISO7816.INS_READ_RECORD2, SignedBytes.MAX_POWER_OF_TWO, -82, 71, Ascii.DEL, ISO7816.INS_READ_BINARY, -81, ISO7816.INS_READ_RECORD2, SignedBytes.MAX_POWER_OF_TWO, -43, 73, -73, 123, ISO7816.INS_READ_RECORD2, 121, -92, 122, 121, 65, 102, -78, -84, -67, 76, ISO7816.INS_READ_BINARY_STAMPED, 123, -83, 126, 76, -84, SignedBytes.MAX_POWER_OF_TWO, Ascii.DEL, ISO7816.INS_READ_RECORD_STAMPED, ISOFileInfo.AB, 33, -120, ISO7816.INS_READ_RECORD2, 81, -101, 120, 39, -26, -55, -19, ISOFileInfo.SECURITY_ATTR_EXP, ISO7816.INS_READ_BINARY, 32, 35, -113, 108, 72, 35, ISO7816.INS_READ_BINARY2, ISOFileInfo.FMD_BYTE, 116, 32, ISO7816.INS_READ_RECORD_STAMPED, Ascii.DEL, 115, 37, -101, 86, ISOFileInfo.CHANNEL_SECURITY, 32, ISO7816.INS_READ_BINARY2, ISO7816.INS_CHANGE_CHV, -101, 86, ISO7816.INS_READ_BINARY, 99, -20, ISOFileInfo.SECURITY_ATTR_EXP, -124, 32, 81, ISOFileInfo.PROP_INFO, 38, 37, PSSSigner.TRAILER_IMPLICIT, 62, -56, 117, 39, -73, 33, 56, -67, ISO7816.INS_MSE, -120, 59, -73, ISO7816.INS_MSE, ISOFileInfo.LCS_BYTE, 32, ISO7816.INS_READ_RECORD_STAMPED, 56, ISO7816.INS_READ_RECORD_STAMPED, ISO7816.INS_MSE, 56, -50, ISOFileInfo.LCS_BYTE, 63, 73, -75, 38, ISOFileInfo.LCS_BYTE, ISO7816.INS_READ_RECORD_STAMPED, -59, -15, -51, -14, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
private static long s = -1899258779201487563L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002e). 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(short r6, short r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = 121 - r6
int r7 = r7 * 3
int r0 = 1 - r7
byte[] r1 = o.dOC.$$y
int r8 = r8 * 4
int r8 = 3 - r8
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2e
L16:
r3 = r2
L17:
byte r4 = (byte) r6
r0[r3] = r4
if (r3 != r7) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
int r8 = r8 + 1
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r8
r8 = r4
r4 = r5
L2e:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: o.dOC.aF(short, short, byte, java.lang.Object[]):void");
}
public dOC() {
addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: o.dOC.1
private dOC c;
{
this.c = this;
}
@Override // o.InterfaceC17278vUG
public final void a(Context context) {
this.c.f();
}
});
}
@Override // o.fPC
public final Object y_() {
int i = 2 % 2;
int i2 = p + 51;
u = i2 % 128;
int i3 = i2 % 2;
Object y_ = g().y_();
int i4 = u + 27;
p = i4 % 128;
int i5 = i4 % 2;
return y_;
}
private C13073fPt g() {
if (this.b == null) {
synchronized (this.l) {
if (this.b == null) {
this.b = new C13073fPt(this);
}
}
}
return this.b;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x001b, code lost:
if (r4.m == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0016, code lost:
if ((!r4.m) != false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001d, code lost:
r4.m = true;
((o.dQQ) y_()).d((com.scb.phone.view.activity.hml.HmlRepaymentMethodAboutActivity) r4);
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
protected void f() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = o.dOC.p
int r1 = r1 + 107
int r2 = r1 % 128
o.dOC.u = r2
int r1 = r1 % r0
r2 = 1
if (r1 != 0) goto L19
boolean r1 = r4.m
r3 = 99
int r3 = r3 / 0
r1 = r1 ^ r2
if (r1 == 0) goto L2b
goto L1d
L19:
boolean r1 = r4.m
if (r1 != 0) goto L2b
L1d:
r4.m = r2
java.lang.Object r1 = r4.y_()
o.dQQ r1 = (o.dQQ) r1
r2 = r4
com.scb.phone.view.activity.hml.HmlRepaymentMethodAboutActivity r2 = (com.scb.phone.view.activity.hml.HmlRepaymentMethodAboutActivity) r2
r1.d(r2)
L2b:
int r1 = o.dOC.u
int r1 = r1 + 105
int r2 = r1 % 128
o.dOC.p = r2
int r1 = r1 % r0
return
*/
throw new UnsupportedOperationException("Method not decompiled: o.dOC.f():void");
}
private static void aE(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(s ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 3;
$10 = 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(s)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c((Process.myTid() >> 22) + 208, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) (1706 - (ViewConfiguration.getLongPressTimeout() >> 16)));
byte b = $$y[3];
byte b2 = (byte) (b - 2);
Object[] objArr3 = new Object[1];
aF(b, b2, b2, 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(392 - (Process.myTid() >> 22), TextUtils.indexOf("", "", 0) + 5, (char) ExpandableListView.getPackedPositionType(0L));
byte b3 = (byte) 0;
byte b4 = b3;
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 + 5;
$11 = i7 % 128;
int i8 = i7 % 2;
objArr[0] = str;
}
@Override // androidx.activity.ComponentActivity, o.GvH
public VLM.LWm getDefaultViewModelProviderFactory() {
int i = 2 % 2;
int i2 = u + 61;
p = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
VLM.LWm aBN_ = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a().aBN_(this, getIntent() != null ? getIntent().getExtras() : null, super.getDefaultViewModelProviderFactory());
int i4 = p + 85;
u = i4 % 128;
if (i4 % 2 != 0) {
return aBN_;
}
obj.hashCode();
throw null;
}
@Override // 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((short) ((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 112), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 764604876, TextUtils.indexOf((CharSequence) "", '0') - 13, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 556198677, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 40), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 25), TextUtils.getOffsetAfter("", 0) + 764604927, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 61, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 556198767, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.export_deposite_title_bar).substring(6, 7).length() + 28), 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 = u + 53;
p = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aE(new char[]{59022, 59119, 43157, 19857, 48399, 30655, 35598, 15170, 29513, 54254, 56599, 32394, 52671, 47199, 19291, 57570, 9783, 3732, 14007, 18973, 45144, 38134, 39951, 15845, 2706, 31055, 2657, 42913, 26399, 53163}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 19), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 764604897, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.common_google_play_services_unknown_issue).substring(0, 5).length() - 19, (-556198662) - (ViewConfiguration.getKeyRepeatDelay() >> 16), (byte) (((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_ncb_slip_text_button).substring(0, 35).length() - 136), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 49;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getOffsetBefore("", 0), View.resolveSize(0, 0) + 5, (char) (TextUtils.indexOf((CharSequence) "", '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[]{38497, 38480, 1410, 57567, 22700, 37452, 57140, 28520, 1018, 32499, 14518, 10991, 48467, 5377, 44730, 46215, 22186, 41858, 54099, 7782, 49315, 14779, 31210, 27022, 31258, 54276, 61393, 62423, 6135, 25326, 5131, 23923, 33178, 63673, 47780, 43151, 15120, 38685, 8320, 12839, 54511, 11701, 21874, 39980, 20163, 47180, 64497, 59283, 63546, 22040, 25029, 28970}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aE(new char[]{48097, 48004, 62698, 4578, 55025, 7187, 17777, 62762, 11903, 36762, 46777, 45301, 37076, 58469, 8423, 11922, 31531, 21182, 23818, 33837, 60791, 51412, 63412, 62406, 22474, 9582, 24972, 27032, 14882, 37766, 39429, 51047, 44107, 2513, 13485, 12996, 5782, 26231, 44752, 43061, 63804, 56448, 56111, 1646, 25415, 18802, 30196, 32210, 54764, 42873, 61387, 60222, 47205, 7576, 6179, 16643, 8714, 35360, 45720, 48270, 38121, 57363, 11460, 10876, 32527, 24266, 22844, 32857}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 43), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.e_coupon_quantity_maximum_quota_no_limit).substring(34, 39).length() + 764604943, ((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_open_accounts_remark_2).substring(75, 76).length() + 31, TextUtils.getCapsMode("", 0, 0) - 556198664, (byte) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 97), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aD((short) (((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_open_accounts_remark_2).substring(75, 76).length() + 21), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 764604977, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 29, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 556198691, (byte) ((-75) - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aD((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 130), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 764605050, (ViewConfiguration.getTapTimeout() >> 16) - 27, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.expires_text).substring(7, 10).length() - 556198707, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.two_words).substring(0, 9).length() + 105), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aE(new char[]{56028, 55993, 29500, 38455, 18697, 33775, 11766, 40444, 20240, 2071, 10561, 55338, 61857, 25520, 48925, 17943, 6726, 54643, 49905, 60664, 35917, 20231, 26704, 39747, 14070, 41707, 65142, 343, 23326, 5125, 1535, 44979, 52595, 36443, 43782, 23071, 30632, 57763, 12588, 49383}, ViewConfiguration.getTapTimeout() >> 16, 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(TextUtils.lastIndexOf("", '0', 0, 0) + 488, KeyEvent.keyCodeFromString("") + 5, (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // 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 = u + 109;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = u + 51;
p = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
aE(new char[]{59022, 59119, 43157, 19857, 48399, 30655, 35598, 15170, 29513, 54254, 56599, 32394, 52671, 47199, 19291, 57570, 9783, 3732, 14007, 18973, 45144, 38134, 39951, 15845, 2706, 31055, 2657, 42913, 26399, 53163}, 1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (TextUtils.lastIndexOf("", '0') + 54), 764604816 + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.collateral_estimate_price_error).substring(29, 30).codePointAt(0), Color.rgb(0, 0, 0) + 16777202, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 556198771, (byte) (Process.getGidForName("") - 100), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i6 = u + 5;
p = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (Process.myTid() >> 22), 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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((ViewConfiguration.getJumpTapTimeout() >> 16) + 487, 5 - (ViewConfiguration.getMinimumFlingVelocity() >> 16), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i8 = p + 47;
u = i8 % 128;
int i9 = i8 % 2;
}
/* JADX WARN: Code restructure failed: missing block: B:41:0x01f7, code lost:
if ((!r4) != false) goto L49;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0207, code lost:
r4 = 1;
*/
/* JADX WARN: Code restructure failed: missing block: B:75:0x0209, code lost:
r4 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:77:0x0205, code lost:
if (r4 != false) goto L48;
*/
/* JADX WARN: Removed duplicated region for block: B:14:0x00a1 */
/* JADX WARN: Removed duplicated region for block: B:38:0x01de */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(short r21, int r22, int r23, int r24, byte r25, java.lang.Object[] r26) {
/*
Method dump skipped, instructions count: 819
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: o.dOC.aD(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = p + 97;
u = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aE(new char[]{59022, 59119, 43157, 19857, 48399, 30655, 35598, 15170, 29513, 54254, 56599, 32394, 52671, 47199, 19291, 57570, 9783, 3732, 14007, 18973, 45144, 38134, 39951, 15845, 2706, 31055, 2657, 42913, 26399, 53163}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.easycash_feature_account_repayment_due_date_label).substring(0, 13).length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (ExpandableListView.getPackedPositionChild(0L) + 54), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.billpayment_bnpl_coin_more_detail_description_2_2).substring(0, 73).codePointAt(53) + 764601280, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 27, (KeyEvent.getMaxKeyCode() >> 16) - 556198662, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + IpLibUtil.KIPP_BAD_HISTOGRAM), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = u + 89;
p = i4 % 128;
int i5 = i4 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - TextUtils.getCapsMode("", 0, 0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getTapTimeout() >> 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((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)) + 487, (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.combineMeasuredStates(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.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((short) (KeyEvent.keyCodeFromString("") + 112), MotionEvent.axisFromString("") + 764604911, (-14) - (ViewConfiguration.getJumpTapTimeout() >> 16), TextUtils.lastIndexOf("", '0', 0, 0) - 556198663, (byte) (Color.green(0) - 6), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aD((short) (ExpandableListView.getPackedPositionType(0L) + 87), 764604928 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (-28) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (-556198652) - KeyEvent.getDeadChar(0, 0), (byte) (Color.green(0) + 29), 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) {
context2 = context.getApplicationContext();
int i2 = u + 21;
p = i2 % 128;
int i3 = i2 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i4 = p + 123;
u = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - Gravity.getAbsoluteGravity(0, 0), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (ViewConfiguration.getEdgeSlop() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aE(new char[]{38497, 38480, 1410, 57567, 22700, 37452, 57140, 28520, 1018, 32499, 14518, 10991, 48467, 5377, 44730, 46215, 22186, 41858, 54099, 7782, 49315, 14779, 31210, 27022, 31258, 54276, 61393, 62423, 6135, 25326, 5131, 23923, 33178, 63673, 47780, 43151, 15120, 38685, 8320, 12839, 54511, 11701, 21874, 39980, 20163, 47180, 64497, 59283, 63546, 22040, 25029, 28970}, TextUtils.indexOf("", ""), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aE(new char[]{48097, 48004, 62698, 4578, 55025, 7187, 17777, 62762, 11903, 36762, 46777, 45301, 37076, 58469, 8423, 11922, 31531, 21182, 23818, 33837, 60791, 51412, 63412, 62406, 22474, 9582, 24972, 27032, 14882, 37766, 39429, 51047, 44107, 2513, 13485, 12996, 5782, 26231, 44752, 43061, 63804, 56448, 56111, 1646, 25415, 18802, 30196, 32210, 54764, 42873, 61387, 60222, 47205, 7576, 6179, 16643, 8714, 35360, 45720, 48270, 38121, 57363, 11460, 10876, 32527, 24266, 22844, 32857}, ViewConfiguration.getTapTimeout() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aD((short) ((-8) - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1))), 764604948 + (ViewConfiguration.getPressedStateDuration() >> 16), 32 - (ViewConfiguration.getFadingEdgeLength() >> 16), (-556198664) - TextUtils.getOffsetAfter("", 0), (byte) (Color.red(0) + 98), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aD((short) (22 - (ViewConfiguration.getMinimumFlingVelocity() >> 16)), 764605012 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 42 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (-556198656) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (byte) ((-75) - (ViewConfiguration.getTapTimeout() >> 16)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aD((short) (Color.green(0) - 96), 764605083 + (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (-28) - ExpandableListView.getPackedPositionChild(0L), TextUtils.indexOf((CharSequence) "", '0', 0, 0) - 556198703, (byte) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 114), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aE(new char[]{56028, 55993, 29500, 38455, 18697, 33775, 11766, 40444, 20240, 2071, 10561, 55338, 61857, 25520, 48925, 17943, 6726, 54643, 49905, 60664, 35917, 20231, 26704, 39747, 14070, 41707, 65142, 343, 23326, 5125, 1535, 44979, 52595, 36443, 43782, 23071, 30632, 57763, 12588, 49383}, View.resolveSize(0, 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(487 - (Process.myTid() >> 22), (Process.myTid() >> 22) + 5, (char) Drawable.resolveOpacity(0, 0))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
}
@Override // 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 = u + 61;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 != 0) {
int i4 = 16 / 0;
}
}
}