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

947 lines
46 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
import android.content.Context;
import android.content.ContextWrapper;
import android.content.DialogInterface;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.PointF;
import android.graphics.Typeface;
import android.graphics.drawable.Drawable;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.Window;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.security.SecurityBlockDelegate;
import com.scb.phone.view.activity.BaseFlutterActivity;
import com.scb.phone.view.activity.SecurityDebugActivity;
import com.scb.phone.view.activity.splash.SplashActivity;
import com.scb.phone.view.custom.common.CustomDialog;
import java.lang.reflect.Method;
import o.AbstractC14961gcz;
import o.C13125fRg;
import o.C14866gag;
import o.C14957gcv;
import o.C15602gz;
import o.C2275abY;
import o.GuL;
import o.InterfaceC13179fT;
import o.InterfaceC13391fZD;
import o.InterfaceC14894gbR;
import o.Nhs;
import o.fSJ;
import o.gjJ;
import o.guQ;
import o.jXq;
import o.wdQ;
import o.xUo;
import o.xzZ;
/* loaded from: classes4.dex */
public class BaseFlutterActivity extends Hilt_BaseFlutterActivity {
private long a;
private long b;
private CustomDialog c;
@InterfaceC13391fZD
public InterfaceC13179fT deviceAccessSecurityPolicy;
private fSJ e;
@InterfaceC13391fZD
public jXq scbAnalytics;
@InterfaceC13391fZD
public SecurityBlockDelegate securityBlockDelegate;
@InterfaceC13391fZD
public C2275abY sessionHandlerPresenter;
private static final byte[] $$a = {35, -2, 104, -18};
private static final int $$b = 13;
private static int $10 = 0;
private static int $11 = 1;
private static int g = 0;
private static int j = 1;
private static long d = -991921663979705472L;
private static long h = -4347029802623603828L;
private static int f = 452713125;
private static char i = 55973;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x002b). 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 m(int r7, int r8, short r9, java.lang.Object[] r10) {
/*
int r9 = r9 * 3
int r9 = r9 + 1
int r7 = r7 * 4
int r7 = 3 - r7
byte[] r0 = com.scb.phone.view.activity.BaseFlutterActivity.$$a
int r8 = 121 - r8
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L14
r3 = r9
r4 = r2
goto L2b
L14:
r3 = r2
L15:
int r7 = r7 + 1
int r4 = r3 + 1
byte r5 = (byte) r8
r1[r3] = r5
if (r4 != r9) goto L26
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L26:
r3 = r0[r7]
r6 = r3
r3 = r8
r8 = r6
L2b:
int r8 = -r8
int r8 = r8 + r3
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseFlutterActivity.m(int, int, short, java.lang.Object[]):void");
}
public static final /* synthetic */ void b(BaseFlutterActivity baseFlutterActivity) {
int i2 = 2 % 2;
int i3 = j + 93;
g = i3 % 128;
int i4 = i3 % 2;
int i5 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 521711227;
d(new Object[]{baseFlutterActivity});
int i6 = j + 25;
g = i6 % 128;
int i7 = i6 % 2;
}
public static final /* synthetic */ boolean c(BaseFlutterActivity baseFlutterActivity) {
int i2 = 2 % 2;
C2275abY c2275abY = baseFlutterActivity.sessionHandlerPresenter;
if (c2275abY != null) {
int i3 = j;
int i4 = i3 + 69;
g = i4 % 128;
if (i4 % 2 != 0) {
throw null;
}
int i5 = i3 + 11;
g = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c2275abY = null;
}
return c2275abY.s.b.b();
}
private static void k(char[] cArr, int i2, Object[] objArr) {
int i3 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(d ^ (-7538262848231253921L), cArr, i2);
guL.a = 4;
while (guL.a < a.length) {
int i4 = $11 + 97;
$10 = i4 % 128;
int i5 = i4 % 2;
guL.c = guL.a - 4;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(d)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(208 - Color.blue(0), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (TextUtils.getTrimmedLength("") + 1706));
byte b = (byte) (-$$a[1]);
Object[] objArr3 = new Object[1];
m((byte) 0, b, (byte) (b - 2), 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();
try {
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(391 - ExpandableListView.getPackedPositionChild(0L), 5 - Color.green(0), (char) (ViewConfiguration.getPressedStateDuration() >> 16));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr5 = new Object[1];
m(b2, b3, b3, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i7 = $10 + 9;
$11 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
objArr[0] = new String(a, 4, a.length - 4);
}
private static void l(char c, char[] cArr, char[] cArr2, char[] cArr3, int i2, Object[] objArr) {
int i3;
int i4 = 2;
int i5 = 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 i6 = 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) i2));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i7 = $10 + 71;
$11 = i7 % 128;
int i8 = i7 % 2;
while (nhs.a < length3) {
int i9 = $11 + 49;
$10 = i9 % 128;
int i10 = i9 % i4;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 45, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) View.resolveSizeAndState(i6, i6, i6));
Class<?>[] clsArr = new Class[1];
clsArr[i6] = 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(352 - (ViewConfiguration.getFadingEdgeLength() >> 16), (TypedValue.complexToFloat(i6) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(i6) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (KeyEvent.keyCodeFromString("") + 52128));
byte b = (byte) i6;
Object[] objArr4 = new Object[1];
m(b, (byte) (b | 6), b, objArr4);
String str = (String) objArr4[i6];
Class<?>[] clsArr2 = new Class[1];
clsArr2[i6] = Object.class;
obj2 = cls2.getMethod(str, clsArr2);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
int i11 = cArr4[nhs.a % 4] * 32718;
Object[] objArr5 = new Object[3];
objArr5[2] = Integer.valueOf(cArr5[intValue]);
objArr5[1] = Integer.valueOf(i11);
objArr5[i6] = nhs;
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(748 - View.MeasureSpec.getMode(i6), (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16));
Class<?>[] clsArr3 = new Class[3];
clsArr3[i6] = Object.class;
clsArr3[1] = Integer.TYPE;
clsArr3[2] = Integer.TYPE;
obj3 = cls3.getMethod(p.a, clsArr3);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
int i12 = cArr4[intValue2] * 32718;
Object[] objArr6 = new Object[2];
objArr6[1] = Integer.valueOf(cArr5[intValue]);
objArr6[i6] = Integer.valueOf(i12);
Object obj4 = xzZ.y.get(1019894806);
if (obj4 != null) {
i3 = 2;
} else {
Class cls4 = (Class) xzZ.c(TextUtils.lastIndexOf("", '0', i6) + 403, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((-16755608) - Color.rgb(i6, i6, i6)));
byte b2 = (byte) i6;
Object[] objArr7 = new Object[1];
m(b2, (byte) (b2 | 7), b2, objArr7);
String str2 = (String) objArr7[i6];
i3 = 2;
Class<?>[] clsArr4 = new Class[2];
clsArr4[i6] = 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) (f ^ 9051040786702654117L)) ^ ((cArr4[intValue2] ^ cArr[nhs.a]) ^ (h ^ 9051040786702654117L))) ^ ((char) (i ^ 9051040786702654117L)));
nhs.a++;
i4 = i3;
i6 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<Long, C14866gag> {
private BaseFlutterActivity a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Long l) {
if (BaseFlutterActivity.c(this.a)) {
BaseFlutterActivity.b(this.a);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(BaseFlutterActivity baseFlutterActivity) {
super(1);
this.a = baseFlutterActivity;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
public static final LWm b = new LWm();
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
guQ.a(th);
return C14866gag.c;
}
LWm() {
super(1);
}
}
@Override // com.scb.phone.view.activity.Hilt_BaseFlutterActivity, io.flutter.embedding.android.FlutterFragmentActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onCreate(Bundle bundle) {
int i2 = 2 % 2;
Object obj = null;
Object[] objArr = new Object[1];
k(new char[]{27611, 34634, 61385, 25952, 27578, 62715, 2067, 16015, 42184, 50296, 22679, 20055, 62796, 38382, 26961, 40869, 1501, 25974, 47512, 44820, 22104, 14070}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) - 110, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
k(new char[]{31581, 56687, 47398, 62338, 31536, 44745, 24269, 43126, 46149}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.deposit_detail_prompt_pay).substring(9, 10).length(), 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 i3 = g + 93;
j = i3 % 128;
int i4 = i3 % 2;
Object[] objArr3 = new Object[1];
l((char) (46388 - ((byte) KeyEvent.getModifierMetaStateMask())), new char[]{8952, 55054, 24367, 6301, 25304, 32986, 61034, 15050, 3129, 13008, 8669, 48900, 59356, 56760, 48457, 13575, 18241, 25640, 37837, 56922, 20286, 32065, 17245, 54871, 29711, 981}, new char[]{5961, 28930, 13750, 32949}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_tutorial_message_step_2).substring(7, 8).length() - 1, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
k(new char[]{22605, 16768, 37985, 35811, 22574, 12842, 29613, 53260, 38740, 693, 9007, 41147, 50885, 21287, 4795, 28959, 13914, 41906, 49703, 16795, 26066, 61473}, 1 - (Process.myTid() >> 22), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i5 = g + 121;
j = i5 % 128;
if (i5 % 2 == 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(540 - AndroidCharacter.getMirror('0'), 5 - Drawable.resolveOpacity(0, 0), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
l((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), new char[]{65510, 28925, 35205, 37830, 60992, 34635, 33741, 7439, 37192, 55933, 64001, 55764, 41280, 15150, 19064, 19714, 16605, 56732, 46625, 30657, 12481, 41977, 30087, 54969, 3432, 952, 53094, 12686, 39193, 18756, 52624, 17392, 35546, 56913, 13054, 351, 49795, 43593, 4351, 27806, 12191, 17532, 6578, 6921, 52484, 702, 42525, 64030}, new char[]{26064, 53700, 47632, 41762}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
k(new char[]{53762, 54338, 37576, 55546, 53863, 43007, 30016, 33538, 7496, 38779, 9670, 62426, 19615, 50848, 5196, 8793, 48196, 13863, 50381, 4826, 61380, 26041, 46935, 16709, 57101, 21823, 26499, 45511, 3801, 33971, 22110, 57372, 32340, 62520, 1754, 53443, 43477, 15306, 61795, 4070, 39275, 27457, 41392, 32353, 51436, 23191, 36927, 44729, 14435, 35392, 16620, 40297, 27574, 63957, 13088, 52640, 23341, 10577, 58359, 15473, 35570, 6278, 53887, 27815, 64112, 18435, 33451, 23422}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_input_amount_from_currency).substring(0, 3).length() - 2, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
k(new char[]{27228, 18686, 14876, 39880, 27197, 15129, 56722, 49254, 42305, 2966, 36163, 45236, 62614, 23056, 48281, 24888, 1098, 43673, 27678, 20961, 22477, 63827, 8148, 629, 26369, 51589, 52993, 62195, 46807, 6145, 65244, 41768, 50688, 26763, 44551, 37805, 4488, 42787, 23011, 19584, 8501, 63479, 2359, 15616, 28849, 50809, 14527, 60814, 32878, 5806, 59448, 56924, 54254, 25908, 39840, 36509, 58150, 46572, 19238, 32583, 12964, 33848, 31484, 12236, 16941, 54501, 10877, 6174}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 33, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
l((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_decline_ncb_result_description_b2k).substring(0, 158).codePointAt(11) - 3618), new char[]{24742, 60454, 13671, 44824, 30913, 26217, 25621, 30565, 54659, 16, 15872, 56083, 43195, 52375, 63962, 29229, 53337, 45827, 17558, 28638, 23745, 6011, 17465, 48603, 64320, 45471, 54679, 7037, 60106, 594, 43601, 20361, 34770, 57049, 10135, 45442, 56688, 56838, 48318, 20949, 47341, 13645, 64911, 6353, 21734, 40035, 18471, 2227, 42401, 1676, 38237, 16873, 60936, 16126, 57557, 5606, 4313, 22190, 23953, 55502, 13912, 46938, 15055, 58941, 46696, 30553, 44274, 25838, 20483, 2686, 46875, 19643, 2713, 2034}, new char[]{2880, 26961, 47669, 30110}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ndid_level_up_title).substring(0, 3).codePointAt(2) - 62, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
k(new char[]{27213, 42232, 2404, 47081, 27252, 55049, 61154, 60506, 42241}, Gravity.getAbsoluteGravity(0, 0) + 1, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
l((char) ((-1) - MotionEvent.axisFromString("")), new char[]{23830, 8682, 56729, 49476, 40103, 52183, 49143, 58493, 19335, 34229, 2941, 42913, 19196, 50067, 39534, 33248, 53809, 10237, 61863, 55416, 55876, 32956, 17714, 24013, 15754, 16709, 32505, 31407, 14908, 41630, 15309, 12679, 8624, 19804, 6859, 31444}, new char[]{51067, 18424, 19151, 63143}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 488, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (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)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
xzZ.y.put(1656189573, obj3);
}
((Method) obj3).invoke(invoke, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
SecurityBlockDelegate securityBlockDelegate = this.securityBlockDelegate;
if (securityBlockDelegate == null) {
C14957gcv.a("");
securityBlockDelegate = null;
}
SecurityBlockDelegate.e(new Object[]{securityBlockDelegate, this}, 72305196, -72305192, System.identityHashCode(securityBlockDelegate));
wdQ lifecycle = getLifecycle();
SecurityBlockDelegate securityBlockDelegate2 = this.securityBlockDelegate;
if (securityBlockDelegate2 != null) {
int i6 = g + 91;
j = i6 % 128;
if (i6 % 2 == 0) {
Object obj4 = null;
obj4.hashCode();
throw null;
}
} else {
securityBlockDelegate2 = null;
C14957gcv.a("");
int i7 = g + 41;
j = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 5 / 5;
}
}
lifecycle.e(securityBlockDelegate2);
}
@Override // com.scb.phone.view.activity.Hilt_BaseFlutterActivity, io.flutter.embedding.android.FlutterFragmentActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onResume() {
int i2 = 2 % 2;
int i3 = j + 93;
g = i3 % 128;
int i4 = i3 % 2;
Context baseContext = getBaseContext();
C2275abY c2275abY = null;
if (baseContext == null) {
Object[] objArr = new Object[1];
l((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_feature_account_repayment_due_date_label).substring(0, 13).codePointAt(10) + 42782), new char[]{8952, 55054, 24367, 6301, 25304, 32986, 61034, 15050, 3129, 13008, 8669, 48900, 59356, 56760, 48457, 13575, 18241, 25640, 37837, 56922, 20286, 32065, 17245, 54871, 29711, 981}, new char[]{5961, 28930, 13750, 32949}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
k(new char[]{22605, 16768, 37985, 35811, 22574, 12842, 29613, 53260, 38740, 693, 9007, 41147, 50885, 21287, 4795, 28959, 13914, 41906, 49703, 16795, 26066, 61473}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.permission_storage_camera_title).substring(10, 11).length(), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(((Process.getThreadPriority(0) + 20) >> 6) + 492, 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 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(TextUtils.getCapsMode("", 0, 0) + 487, TextUtils.getOffsetBefore("", 0) + 5, (char) Color.argb(0, 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();
Window window = getWindow();
if (window != null) {
window.setFlags(8192, 8192);
int i5 = j + 49;
g = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 4 / 3;
}
}
InterfaceC13179fT interfaceC13179fT = this.deviceAccessSecurityPolicy;
if (interfaceC13179fT != null) {
int i7 = j + 59;
g = i7 % 128;
int i8 = i7 % 2;
} else {
C14957gcv.a("");
interfaceC13179fT = null;
}
if (interfaceC13179fT.b()) {
SecurityDebugActivity.HBt hBt = SecurityDebugActivity.c;
BaseFlutterActivity baseFlutterActivity = this;
C14957gcv.e(baseFlutterActivity, "");
Intent intent = new Intent(baseFlutterActivity, (Class<?>) SecurityDebugActivity.class);
intent.setFlags(603979776);
startActivity(intent);
return;
}
C2275abY c2275abY2 = this.sessionHandlerPresenter;
if (c2275abY2 != null) {
c2275abY = c2275abY2;
} else {
C14957gcv.a("");
}
this.b = C15602gz.d() - c2275abY.s.b.a();
a();
}
/* JADX ERROR: JadxRuntimeException in pass: IfRegionVisitor
jadx.core.utils.exceptions.JadxRuntimeException: Can't remove SSA var: r3v12 long, still in use, count: 2, list:
(r3v12 long) from 0x001f: PHI (r3v1 long) = (r3v0 long), (r3v12 long) binds: [B:22:0x001d, B:4:0x0014] A[DONT_GENERATE, DONT_INLINE]
(r3v12 long) from 0x0012: CMP_L (0 long), (r3v12 long) A[WRAPPED]
at jadx.core.utils.InsnRemover.removeSsaVar(InsnRemover.java:151)
at jadx.core.utils.InsnRemover.unbindResult(InsnRemover.java:116)
at jadx.core.dex.visitors.regions.TernaryMod.makeTernaryInsn(TernaryMod.java:114)
at jadx.core.dex.visitors.regions.TernaryMod.processRegion(TernaryMod.java:62)
at jadx.core.dex.visitors.regions.TernaryMod.enterRegion(TernaryMod.java:45)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseInternal(DepthRegionTraversal.java:67)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.lambda$traverseInternal$0(DepthRegionTraversal.java:68)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1597)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverseInternal(DepthRegionTraversal.java:68)
at jadx.core.dex.visitors.regions.DepthRegionTraversal.traverse(DepthRegionTraversal.java:19)
at jadx.core.dex.visitors.regions.TernaryMod.process(TernaryMod.java:35)
at jadx.core.dex.visitors.regions.IfRegionVisitor.process(IfRegionVisitor.java:34)
at jadx.core.dex.visitors.regions.IfRegionVisitor.visit(IfRegionVisitor.java:30)
*/
private final void a() {
/*
r7 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.BaseFlutterActivity.g
int r1 = r1 + 43
int r2 = r1 % 128
com.scb.phone.view.activity.BaseFlutterActivity.j = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
long r3 = r7.b
r5 = 0
int r1 = (r5 > r3 ? 1 : (r5 == r3 ? 0 : -1))
if (r1 > 0) goto L71
goto L1f
L17:
long r3 = r7.b
r5 = 1
int r1 = (r5 > r3 ? 1 : (r5 == r3 ? 0 : -1))
if (r1 > 0) goto L71
L1f:
r5 = 300000(0x493e0, double:1.482197E-318)
int r1 = (r3 > r5 ? 1 : (r3 == r5 ? 0 : -1))
if (r1 >= 0) goto L71
int r2 = r2 + 37
int r1 = r2 % 128
com.scb.phone.view.activity.BaseFlutterActivity.g = r1
int r2 = r2 % r0
o.fSJ r1 = r7.e
if (r1 == 0) goto L34
r1.dispose()
L34:
r1 = 5
java.util.concurrent.TimeUnit r3 = java.util.concurrent.TimeUnit.MINUTES
o.fSk r1 = o.AbstractC13163fSk.timer(r1, r3)
o.fSu r2 = o.C13417fZt.c()
o.fSk r1 = r1.subscribeOn(r2)
o.fSu r2 = o.fRR.e()
o.fSk r1 = r1.observeOn(r2)
o.dpq r2 = new o.dpq
com.scb.phone.view.activity.BaseFlutterActivity$HBt r3 = new com.scb.phone.view.activity.BaseFlutterActivity$HBt
r3.<init>(r7)
o.gbR r3 = (o.InterfaceC14894gbR) r3
r2.<init>(r3)
com.scb.phone.view.activity.BaseFlutterActivity$LWm r3 = com.scb.phone.view.activity.BaseFlutterActivity.LWm.b
o.dpu r4 = new o.dpu
o.gbR r3 = (o.InterfaceC14894gbR) r3
r4.<init>(r3)
o.fSJ r1 = r1.subscribe(r2, r4)
r7.e = r1
int r1 = com.scb.phone.view.activity.BaseFlutterActivity.g
int r1 = r1 + 89
int r2 = r1 % 128
com.scb.phone.view.activity.BaseFlutterActivity.j = r2
int r1 = r1 % r0
return
L71:
o.abY r0 = r7.sessionHandlerPresenter
r1 = 0
if (r0 == 0) goto L77
goto L7d
L77:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r0 = r1
L7d:
o.Rfe r0 = r0.s
o.XJq r0 = r0.b
boolean r0 = r0.b()
if (r0 == 0) goto Lba
java.lang.Object[] r0 = new java.lang.Object[]{r7}
java.lang.String r2 = "android.app.ActivityThread"
java.lang.Class r2 = java.lang.Class.forName(r2)
r3 = 0
java.lang.Class[] r3 = new java.lang.Class[r3]
java.lang.String r4 = "currentApplication"
java.lang.reflect.Method r2 = r2.getMethod(r4, r3)
r3 = r1
java.lang.Object[] r3 = (java.lang.Object[]) r3
java.lang.Object r1 = r2.invoke(r1, r1)
android.content.Context r1 = (android.content.Context) r1
android.content.Context r1 = r1.getApplicationContext()
android.content.pm.ApplicationInfo r1 = r1.getApplicationInfo()
int r1 = r1.targetSdkVersion
r2 = 521711227(0x1f18ae7b, float:3.233158E-20)
int r1 = r1 + r2
r2 = 2068020148(0x7b437bb4, float:1.0150069E36)
r3 = -2068020148(0xffffffff84bc844c, float:-4.4320083E-36)
e(r0, r2, r3, r1)
Lba:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseFlutterActivity.a():void");
}
@Override // com.scb.phone.view.activity.Hilt_BaseFlutterActivity, io.flutter.embedding.android.FlutterFragmentActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i2 = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
if (baseContext == null) {
int i3 = g + 105;
j = i3 % 128;
int i4 = i3 % 2;
Object[] objArr = new Object[1];
l((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_remaining_balance_p_cc).substring(47, 48).codePointAt(0) + 46357), new char[]{8952, 55054, 24367, 6301, 25304, 32986, 61034, 15050, 3129, 13008, 8669, 48900, 59356, 56760, 48457, 13575, 18241, 25640, 37837, 56922, 20286, 32065, 17245, 54871, 29711, 981}, new char[]{5961, 28930, 13750, 32949}, new char[]{45353, 2158, 65225, 48695}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_submitted_result_back).substring(0, 12).codePointAt(4) - 3627, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
k(new char[]{22605, 16768, 37985, 35811, 22574, 12842, 29613, 53260, 38740, 693, 9007, 41147, 50885, 21287, 4795, 28959, 13914, 41906, 49703, 16795, 26066, 61473}, 1 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = j + 87;
g = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(Color.green(0) + 492, View.MeasureSpec.getSize(0) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - Gravity.getAbsoluteGravity(0, 0), (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) Gravity.getAbsoluteGravity(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
obj.hashCode();
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((Process.myPid() >> 22) + 492, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (1 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1633456013);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(Color.green(0) + 487, 5 - ExpandableListView.getPackedPositionType(0L), (char) Color.alpha(0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
fSJ fsj = this.e;
if (fsj != null) {
int i6 = j + 7;
g = i6 % 128;
int i7 = i6 % 2;
fsj.dispose();
if (i7 != 0) {
throw null;
}
}
int i8 = g + 49;
j = i8 % 128;
int i9 = i8 % 2;
}
@Override // android.app.Activity
public void onUserInteraction() {
int i2 = 2 % 2;
super.onUserInteraction();
if (SystemClock.elapsedRealtime() - this.a >= 5000) {
C2275abY c2275abY = this.sessionHandlerPresenter;
if (c2275abY != null) {
int i3 = j + 39;
g = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
int i5 = g + 85;
j = i5 % 128;
int i6 = i5 % 2;
c2275abY = null;
}
c2275abY.s.b.j();
this.a = SystemClock.elapsedRealtime();
a();
}
int i7 = g + 95;
j = i7 % 128;
int i8 = i7 % 2;
}
@Override // com.scb.phone.view.activity.Hilt_BaseFlutterActivity, io.flutter.embedding.android.FlutterFragmentActivity, 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) {
int i2 = 2 % 2;
C13125fRg.RVV rvv = C13125fRg.b;
ContextWrapper Di_ = xUo.Di_(context);
C14957gcv.c(Di_, "");
ContextWrapper contextWrapper = Di_;
C14957gcv.b((Object) contextWrapper, "");
super.attachBaseContext(new C13125fRg(contextWrapper, (byte) 0));
int i3 = j + 119;
g = i3 % 128;
int i4 = i3 % 2;
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object d(Object[] objArr) {
final BaseFlutterActivity baseFlutterActivity = (BaseFlutterActivity) objArr[0];
int i2 = 2 % 2;
C2275abY c2275abY = baseFlutterActivity.sessionHandlerPresenter;
if (c2275abY == null) {
C14957gcv.a("");
c2275abY = null;
} else {
int i3 = j + 115;
g = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
}
c2275abY.s.b.c();
C2275abY c2275abY2 = baseFlutterActivity.sessionHandlerPresenter;
if (c2275abY2 == null) {
C14957gcv.a("");
c2275abY2 = null;
}
c2275abY2.s.b.j();
String string = baseFlutterActivity.getString(R.string.idle_time_flutter_title);
C14957gcv.c((Object) string, "");
String string2 = baseFlutterActivity.getString(R.string.idle_time_flutter_session_expired);
C14957gcv.c((Object) string2, "");
String string3 = baseFlutterActivity.getString(R.string.idle_time_flutter_ok);
C14957gcv.c((Object) string3, "");
CustomDialog b = CustomDialog.b(baseFlutterActivity);
if (gjJ.a(string)) {
int i4 = g + 73;
j = i4 % 128;
if (i4 % 2 == 0) {
b.mTitleTextView.setVisibility(1);
} else {
b.mTitleTextView.setVisibility(0);
}
b.mTitleTextView.setText(string);
}
if (gjJ.a(string2)) {
b.mTextTextView.setVisibility(0);
b.mTextTextView.setText(string2);
}
b.setCancelable(false);
CustomDialog aoO_ = b.aoO_(string3, new DialogInterface.OnClickListener(baseFlutterActivity) { // from class: o.dpm
private BaseFlutterActivity d;
@Override // android.content.DialogInterface.OnClickListener
public final void onClick(DialogInterface dialogInterface, int i5) {
BaseFlutterActivity.Xd_(this.d, dialogInterface);
}
{
this.d = baseFlutterActivity;
}
});
baseFlutterActivity.c = aoO_;
aoO_.setOnDismissListener(new DialogInterface.OnDismissListener(baseFlutterActivity) { // from class: o.dpp
private BaseFlutterActivity e;
@Override // android.content.DialogInterface.OnDismissListener
public final void onDismiss(DialogInterface dialogInterface) {
BaseFlutterActivity.e(this.e);
}
{
this.e = baseFlutterActivity;
}
});
aoO_.mTitleTextView.setTypeface(Typeface.createFromAsset(aoO_.e.getAssets(), "fonts/db_heavent_medium.ttf"));
aoO_.mTextTextView.setTypeface(Typeface.createFromAsset(aoO_.e.getAssets(), "fonts/db_heavent_medium.ttf"));
aoO_.mNegativeButton.setTypeface(Typeface.createFromAsset(aoO_.e.getAssets(), "fonts/db_heavent_medium.ttf"));
if (aoO_.isShowing()) {
aoO_.dismiss();
}
aoO_.show();
return null;
}
@Override // androidx.fragment.app.FragmentActivity, android.app.Activity
public void onDestroy() {
int i2 = 2 % 2;
super.onDestroy();
fSJ fsj = this.e;
if (fsj != null) {
int i3 = g + 9;
j = i3 % 128;
int i4 = i3 % 2;
fsj.dispose();
}
wdQ lifecycle = getLifecycle();
SecurityBlockDelegate securityBlockDelegate = this.securityBlockDelegate;
if (securityBlockDelegate != null) {
int i5 = g + 69;
j = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
securityBlockDelegate = null;
}
lifecycle.a(securityBlockDelegate);
}
public static /* synthetic */ void e(BaseFlutterActivity baseFlutterActivity) {
int i2 = 2 % 2;
int i3 = g + 19;
j = i3 % 128;
int i4 = i3 % 2;
Object obj = null;
C14957gcv.e(baseFlutterActivity, "");
if (i4 != 0) {
baseFlutterActivity.c = null;
} else {
baseFlutterActivity.c = null;
obj.hashCode();
throw null;
}
}
public static /* synthetic */ void d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i2 = 2 % 2;
int i3 = g + 71;
j = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i5 = j + 99;
g = i5 % 128;
int i6 = i5 % 2;
}
public static /* synthetic */ void Xd_(BaseFlutterActivity baseFlutterActivity, DialogInterface dialogInterface) {
int i2 = 2 % 2;
int i3 = j + 37;
g = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(baseFlutterActivity, "");
dialogInterface.dismiss();
SplashActivity.b(new Object[]{baseFlutterActivity}, 1199803597, -1199803588, (int) System.currentTimeMillis());
int i5 = j + 9;
g = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i2 = 2 % 2;
int i3 = j + 37;
g = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
int i5 = g + 99;
j = i5 % 128;
int i6 = i5 % 2;
}
@Override // com.scb.phone.view.activity.Hilt_BaseFlutterActivity, io.flutter.embedding.android.FlutterFragmentActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onStart() {
int i2 = 2 % 2;
int i3 = g + 67;
j = i3 % 128;
int i4 = i3 % 2;
super.onStart();
int i5 = g + 111;
j = i5 % 128;
if (i5 % 2 == 0) {
throw null;
}
}
private final void d() {
int i2 = ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 521711227;
d(new Object[]{this});
}
}