package com.scb.phone.view.activity; import android.content.Context; import android.content.Intent; import android.graphics.Color; import android.graphics.ImageFormat; 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.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.firebase.crashlytics.FirebaseCrashlytics; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.findus.FindUsActivity; import com.scb.phone.view.activity.loanrepayment.LevelUpLoanRepaymentPayActivity; import com.scb.phone.view.activity.ndidcommon.NdidCommonLandingActivity; import com.scb.phone.view.activity.prelogin.PinLoginActivity; import io.beid.beidk.definitions.BeIDParams; import io.flutter.embedding.engine.FlutterEngine; import io.flutter.embedding.engine.FlutterEngineCache; import io.flutter.embedding.engine.dart.DartExecutor; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import java.lang.reflect.Method; import java.util.HashMap; import java.util.List; import java.util.Map; import net.sf.scuba.smartcards.ISOFileInfo; import o.C14957gcv; import o.C15685hk; import o.C15688hl; import o.C15970jz; import o.C16853rpA; import o.C3614bBe; import o.C4036bOC; import o.GuL; import o.HuD; import o.InterfaceC13391fZD; import o.InterfaceC15693hn; import o.KTN; import o.SA; import o.SG; import o.XG; import o.xzZ; import org.bouncycastle.asn1.cmp.PKIFailureInfo; /* loaded from: classes4.dex */ public final class LevelUpActivity extends Hilt_LevelUpActivity implements InterfaceC15693hn { private static boolean a; private static boolean b; private static char[] c; public static final Sts d; private static int e; private static int g; private static long i; @InterfaceC13391fZD public HuD levelUpDeeplinkCache; @InterfaceC13391fZD public C15970jz ndidCommonController; @InterfaceC13391fZD public C4036bOC presenter; @InterfaceC13391fZD public KTN sessionCache; private static final byte[] $$j = {59, 92, ISOFileInfo.FCI_BYTE, -78}; private static final int $$k = 93; private static int $10 = 0; private static int $11 = 1; private static int f = 0; public static /* synthetic */ Object c(Object[] objArr, int i2, int i3, int i4) { Boolean bool; List list; int i5 = ~i2; int i6 = ~i3; int i7 = ~(i5 | i6); int i8 = (i2 * (-445)) + (i3 * (-445)) + (((~((~i4) | i6)) | i7) * 446) + (((~(i2 | i6 | i4)) | (~(i3 | i5))) * 446) + (i7 * 446); if (i8 == 1) { return d(objArr); } if (i8 == 2) { return c(objArr); } LevelUpActivity levelUpActivity = (LevelUpActivity) objArr[0]; Map map = (Map) objArr[1]; int i9 = 2 % 2; C14957gcv.e(map, ""); String valueOf = String.valueOf(map.get(BeIDParams.BEID_TRANSACTION_ID)); String valueOf2 = String.valueOf(map.get("channel")); String valueOf3 = String.valueOf(map.get("product")); String valueOf4 = String.valueOf(map.get("callbackDeeplink")); String valueOf5 = String.valueOf(map.get("userType")); Object obj = map.get("serviceIdList"); List list2 = obj instanceof List ? (List) obj : null; Object obj2 = map.get("cidToggle"); if (obj2 instanceof Boolean) { int i10 = g + 121; f = i10 % 128; int i11 = i10 % 2; bool = (Boolean) obj2; } else { bool = null; } Object obj3 = map.get("termAndConToggle"); Boolean bool2 = obj3 instanceof Boolean ? (Boolean) obj3 : null; Object obj4 = map.get("indicationListTH"); if (obj4 instanceof List) { int i12 = f + 43; g = i12 % 128; int i13 = i12 % 2; list = (List) obj4; } else { list = null; } Object obj5 = map.get("indicationListEN"); List list3 = obj5 instanceof List ? (List) obj5 : null; Object obj6 = map.get("indicationList"); List list4 = !((obj6 instanceof List) ^ true) ? (List) obj6 : null; Object obj7 = map.get("verifyFlag"); List list5 = !((obj7 instanceof List) ^ true) ? (List) obj7 : null; String valueOf6 = String.valueOf(map.get("consentSubType")); String valueOf7 = String.valueOf(map.get("minIal")); String valueOf8 = String.valueOf(map.get("minAal")); String valueOf9 = String.valueOf(map.get("requestParameter")); String valueOf10 = String.valueOf(map.get("appId")); Object obj8 = map.get("clearStackToggle"); Boolean bool3 = obj8 instanceof Boolean ? (Boolean) obj8 : null; Object obj9 = map.get("remark"); SA sa = new SA(valueOf, valueOf2, valueOf3, valueOf4, valueOf5, list2, bool, bool2, list, list3, list4, list5, valueOf6, valueOf7, valueOf8, valueOf9, valueOf10, bool3, obj9 instanceof SG ? (SG) obj9 : null, String.valueOf(map.get("nationalIdScreenRule")), String.valueOf(map.get("ekycMethod")), null, String.valueOf(map.get("flow")), PKIFailureInfo.badSenderNonce); C15970jz c15970jz = levelUpActivity.ndidCommonController; if (c15970jz == null) { C14957gcv.a(""); c15970jz = null; } String str = sa.u; C14957gcv.e(str, ""); c15970jz.b.a.c(str); String str2 = sa.h; if (str2 != null) { C15970jz c15970jz2 = levelUpActivity.ndidCommonController; if (c15970jz2 == null) { C14957gcv.a(""); c15970jz2 = null; } C14957gcv.e(str2, ""); C16853rpA c16853rpA = c15970jz2.f; C14957gcv.e(str2, ""); c16853rpA.c.b(str2); } NdidCommonLandingActivity.IeS ieS = NdidCommonLandingActivity.b; levelUpActivity.startActivity(NdidCommonLandingActivity.IeS.ajp_(levelUpActivity, sa)); int i14 = f + 81; g = i14 % 128; int i15 = i14 % 2; return null; } /* JADX WARN: Removed duplicated region for block: B:10:0x0022 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001a */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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 v(int r5, int r6, int r7, java.lang.Object[] r8) { /* int r5 = r5 * 3 int r0 = r5 + 1 int r6 = r6 * 3 int r6 = 4 - r6 byte[] r1 = com.scb.phone.view.activity.LevelUpActivity.$$j int r7 = r7 + 65 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L14 r4 = r5 r3 = r2 goto L26 L14: r3 = r2 L15: byte r4 = (byte) r7 r0[r3] = r4 if (r3 != r5) goto L22 java.lang.String r5 = new java.lang.String r5.(r0, r2) r8[r2] = r5 return L22: r4 = r1[r6] int r3 = r3 + 1 L26: int r7 = r7 + r4 int r6 = r6 + 1 goto L15 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.LevelUpActivity.v(int, int, int, java.lang.Object[]):void"); } /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } private static void u(char[] cArr, int i2, Object[] objArr) { int i3 = 2 % 2; GuL guL = new GuL(); char[] a2 = GuL.a(i ^ (-7538262848231253921L), cArr, i2); guL.a = 4; int i4 = $10 + 77; $11 = i4 % 128; int i5 = i4 % 2; while (guL.a < a2.length) { int i6 = $11 + 43; $10 = i6 % 128; int i7 = i6 % 2; guL.c = guL.a - 4; int i8 = guL.a; try { Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(i)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 209, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (1706 - (ViewConfiguration.getPressedStateDuration() >> 16))); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; v(b2, b3, (byte) (b3 | 54), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a2[i8] = ((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(((Process.getThreadPriority(0) + 20) >> 6) + 392, 4 - TextUtils.lastIndexOf("", '0'), (char) (ViewConfiguration.getTapTimeout() >> 16)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; v(b4, b5, (byte) (b5 | 56), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } objArr[0] = new String(a2, 4, a2.length - 4); } /* JADX WARN: Code restructure failed: missing block: B:48:0x002d, code lost: r1 = r9.get("eventName"); */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001f, code lost: if (r9 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:50:0x002b, code lost: if (r9 != null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:5:0x0032, code lost: r1 = null; */ @Override // o.InterfaceC15693hn /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void d(io.flutter.plugin.common.MethodCall r9) { /* Method dump skipped, instructions count: 240 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.LevelUpActivity.d(io.flutter.plugin.common.MethodCall):void"); } private static void t(int[] iArr, char[] cArr, int i2, byte[] bArr, Object[] objArr) { int i3; int i4 = 2; int i5 = 2 % 2; C3614bBe c3614bBe = new C3614bBe(); char[] cArr2 = c; if (cArr2 != null) { int length = cArr2.length; char[] cArr3 = new char[length]; int i6 = 0; while (i6 < length) { int i7 = $10 + 7; $11 = i7 % 128; int i8 = i7 % i4; try { Object[] objArr2 = {Integer.valueOf(cArr2[i6])}; Object obj = xzZ.y.get(-950481649); if (obj == null) { Class cls = (Class) xzZ.c(View.combineMeasuredStates(0, 0) + 337, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) (KeyEvent.getMaxKeyCode() >> 16)); byte b2 = (byte) 0; byte b3 = b2; Object[] objArr3 = new Object[1]; v(b2, b3, b3, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(-950481649, obj); } cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i6++; i4 = 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr2 = cArr3; } Object[] objArr4 = {Integer.valueOf(e)}; Object obj2 = xzZ.y.get(-1521625011); if (obj2 == null) { Class cls2 = (Class) xzZ.c(283 - Color.argb(0, 0, 0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) (ExpandableListView.getPackedPositionGroup(0L) + 39813)); byte b4 = (byte) 0; byte b5 = b4; Object[] objArr5 = new Object[1]; v(b4, b5, (byte) (b5 | 57), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE); xzZ.y.put(-1521625011, obj2); } int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue(); if (b) { c3614bBe.c = bArr.length; char[] cArr4 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i9 = $10 + 27; $11 = i9 % 128; int i10 = i9 % 2; cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue); Object[] objArr6 = {c3614bBe, c3614bBe}; Object obj3 = xzZ.y.get(1779759091); if (obj3 == null) { obj3 = ((Class) xzZ.c(40 - KeyEvent.keyCodeFromString(""), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj3); } ((Method) obj3).invoke(null, objArr6); } objArr[0] = new String(cArr4); return; } if (a) { c3614bBe.c = cArr.length; char[] cArr5 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue); Object[] objArr7 = {c3614bBe, c3614bBe}; Object obj4 = xzZ.y.get(1779759091); if (obj4 == null) { obj4 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 40, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) ('0' - AndroidCharacter.getMirror('0')))).getMethod("D", Object.class, Object.class); xzZ.y.put(1779759091, obj4); } ((Method) obj4).invoke(null, objArr7); } objArr[0] = new String(cArr5); return; } c3614bBe.c = iArr.length; char[] cArr6 = new char[c3614bBe.c]; c3614bBe.a = 0; while (c3614bBe.a < c3614bBe.c) { int i11 = $10 + 87; $11 = i11 % 128; if (i11 % 2 == 0) { cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c % 0) >> c3614bBe.a] << i2] * intValue); i3 = c3614bBe.a / 0; } else { cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue); i3 = c3614bBe.a + 1; } c3614bBe.a = i3; } String str = new String(cArr6); int i12 = $10 + 1; $11 = i12 % 128; int i13 = i12 % 2; objArr[0] = str; } /* JADX WARN: Code restructure failed: missing block: B:4:0x009c, code lost: if (r2 > 99999) goto L6; */ @Override // com.scb.phone.view.activity.Hilt_LevelUpActivity, com.scb.phone.view.activity.BaseFlutterActivity, 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 /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onCreate(android.os.Bundle r17) { /* Method dump skipped, instructions count: 1170 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.LevelUpActivity.onCreate(android.os.Bundle):void"); } @Override // io.flutter.embedding.android.FlutterFragmentActivity, io.flutter.embedding.android.FlutterEngineConfigurator public final void configureFlutterEngine(FlutterEngine flutterEngine) { int i2 = 2 % 2; C14957gcv.e(flutterEngine, ""); super.configureFlutterEngine(flutterEngine); final C15688hl c15688hl = new C15688hl(); LevelUpActivity levelUpActivity = this; C14957gcv.e(levelUpActivity, ""); C14957gcv.e(levelUpActivity, ""); c15688hl.a = levelUpActivity; C15685hk c15685hk = (C15685hk) getIntent().getParcelableExtra("levelUpDisplay"); if (c15685hk == null) { c15685hk = new C15685hk(new HashMap(), false); int i3 = g + 109; f = i3 % 128; int i4 = i3 % 2; } Map map = c15685hk.c; FlutterEngine flutterEngine2 = FlutterEngineCache.getInstance().get("engine_levelup"); if (flutterEngine2 != null) { new MethodChannel(flutterEngine2.getDartExecutor().getBinaryMessenger(), "scbEasy.flutter.dev/dBank").invokeMethod("passData", map); new MethodChannel(flutterEngine2.getDartExecutor().getBinaryMessenger(), "scbEasy.flutter.dev/dBank").setMethodCallHandler(new MethodChannel.MethodCallHandler(c15688hl) { // from class: o.hm private C15688hl b; /* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */ /* JADX WARN: Code restructure failed: missing block: B:62:0x00b6, code lost: if (r2.equals("finish_activity") == false) goto L80; */ /* JADX WARN: Code restructure failed: missing block: B:64:0x00c7, code lost: if (r6.hasArgument("crash_message") == false) goto L68; */ /* JADX WARN: Code restructure failed: missing block: B:65:0x00c9, code lost: r7 = (java.lang.String) r6.argument("crash_message"); */ /* JADX WARN: Code restructure failed: missing block: B:67:0x00d7, code lost: if (r6.hasArgument("crash_detail") == false) goto L72; */ /* JADX WARN: Code restructure failed: missing block: B:68:0x00d9, code lost: r6 = (java.lang.String) r6.argument("crash_detail"); */ /* JADX WARN: Code restructure failed: missing block: B:69:0x00e1, code lost: if (r6 == null) goto L85; */ /* JADX WARN: Code restructure failed: missing block: B:70:0x00e3, code lost: r2 = o.C14833gU.e; r6 = o.C14833gU.c(r6, r7); r7 = r0.a; */ /* JADX WARN: Code restructure failed: missing block: B:71:0x00eb, code lost: if (r7 == null) goto L77; */ /* JADX WARN: Code restructure failed: missing block: B:72:0x00ed, code lost: r4 = r7; */ /* JADX WARN: Code restructure failed: missing block: B:73:0x00f2, code lost: r4.d(r6); */ /* JADX WARN: Code restructure failed: missing block: B:74:0x00f5, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:75:0x00ef, code lost: o.C14957gcv.a(""); */ /* JADX WARN: Code restructure failed: missing block: B:76:?, code lost: return; */ /* JADX WARN: Code restructure failed: missing block: B:77:0x00e0, code lost: r6 = null; */ /* JADX WARN: Code restructure failed: missing block: B:78:0x00d0, code lost: r7 = ""; */ /* JADX WARN: Code restructure failed: missing block: B:80:0x00bf, code lost: if (r2.equals("reportException") != false) goto L65; */ /* JADX WARN: Failed to find 'out' block for switch in B:4:0x0016. Please report as an issue. */ @Override // io.flutter.plugin.common.MethodChannel.MethodCallHandler /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void onMethodCall(io.flutter.plugin.common.MethodCall r6, io.flutter.plugin.common.MethodChannel.Result r7) { /* Method dump skipped, instructions count: 280 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: o.C15690hm.onMethodCall(io.flutter.plugin.common.MethodCall, io.flutter.plugin.common.MethodChannel$Result):void"); } { this.b = c15688hl; } }); new MethodChannel(flutterEngine2.getDartExecutor().getBinaryMessenger(), "channel.analytics/firebase").setMethodCallHandler(new MethodChannel.MethodCallHandler(c15688hl) { // from class: o.hj private C15688hl b; @Override // io.flutter.plugin.common.MethodChannel.MethodCallHandler public final void onMethodCall(MethodCall methodCall, MethodChannel.Result result) { C15688hl c15688hl2 = this.b; C14957gcv.e(c15688hl2, ""); C14957gcv.e(methodCall, ""); C14957gcv.e(result, ""); if (C14957gcv.b((Object) methodCall.method, (Object) "firebaseEvent")) { InterfaceC15693hn interfaceC15693hn = c15688hl2.a; if (interfaceC15693hn == null) { C14957gcv.a(""); interfaceC15693hn = null; } interfaceC15693hn.d(methodCall); return; } result.notImplemented(); } { this.b = c15688hl; } }); int i5 = g + 109; f = i5 % 128; int i6 = i5 % 2; } } private static /* synthetic */ Object d(Object[] objArr) { DartExecutor dartExecutor; LevelUpActivity levelUpActivity = (LevelUpActivity) objArr[0]; int i2 = 2 % 2; C14957gcv.e((Context) objArr[1], ""); FlutterEngine flutterEngine = FlutterEngineCache.getInstance().get("engine_levelup"); C15685hk c15685hk = (C15685hk) levelUpActivity.getIntent().getParcelableExtra("levelUpDisplay"); if (c15685hk != null && !c15685hk.b) { FlutterEngineCache.getInstance().remove("engine_levelup"); FlutterEngine flutterEngine2 = new FlutterEngine(levelUpActivity); flutterEngine2.getNavigationChannel().setInitialRoute("scbEasy.flutter.dev/dBank"); flutterEngine2.getDartExecutor().executeDartEntrypoint(DartExecutor.DartEntrypoint.createDefault()); FlutterEngineCache.getInstance().put("engine_levelup", flutterEngine2); flutterEngine = FlutterEngineCache.getInstance().get("engine_levelup"); } FlutterEngineCache.getInstance().put("Dbankengine", flutterEngine); if (flutterEngine != null && (dartExecutor = flutterEngine.getDartExecutor()) != null) { int i3 = g + 9; f = i3 % 128; if (i3 % 2 != 0) { dartExecutor.executeDartEntrypoint(DartExecutor.DartEntrypoint.createDefault()); int i4 = 50 / 0; } else { dartExecutor.executeDartEntrypoint(DartExecutor.DartEntrypoint.createDefault()); } int i5 = f + 95; g = i5 % 128; int i6 = i5 % 2; } return flutterEngine; } @Override // o.InterfaceC15693hn public final void c(Map map) { int i2 = 2 % 2; C14957gcv.e(map, ""); Intent intent = new Intent(this, (Class) LevelUpLoanRepaymentPayActivity.class); intent.putExtra("com.scb.phone.EXTRA_LEVEL_UP_DATA", new XG((String) map.get("prodPackageId"), (String) map.get("glPartnerId"), (String) map.get("userId"), (String) map.get("billerId"), (String) map.get("ref1"), (String) map.get("ref2"), (String) map.get("paymentPaidOff"), (String) map.get("paymentFullAmount"), (String) map.get("acceptLanguage"), (String) map.get("repaymentSource"), (String) map.get("systemDate"), (String) map.get("repaymentDate"))); intent.putExtra("source", "lvl"); startActivity(intent); int i3 = g + 57; f = i3 % 128; if (i3 % 2 == 0) { return; } Object obj = null; obj.hashCode(); throw null; } /* JADX WARN: Removed duplicated region for block: B:37:0x0169 */ /* JADX WARN: Removed duplicated region for block: B:40:0x0171 */ /* JADX WARN: Removed duplicated region for block: B:43:0x017a */ /* JADX WARN: Removed duplicated region for block: B:47:0x01a1 */ /* JADX WARN: Removed duplicated region for block: B:53:0x01be A[ORIG_RETURN, RETURN] */ /* JADX WARN: Removed duplicated region for block: B:56:0x019e */ @Override // o.InterfaceC15693hn /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public final void e(java.util.Map r11) { /* Method dump skipped, instructions count: 447 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.LevelUpActivity.e(java.util.Map):void"); } @Override // o.InterfaceC15693hn public final void d(Throwable th) { int i2 = 2 % 2; int i3 = g + 15; f = i3 % 128; if (i3 % 2 == 0) { C14957gcv.e(th, ""); FirebaseCrashlytics.getInstance().recordException(th); } else { C14957gcv.e(th, ""); FirebaseCrashlytics.getInstance().recordException(th); int i4 = 14 / 0; } } @Override // o.InterfaceC15693hn public final void a(MethodCall methodCall) { Intent intent; int i2; int i3 = 2 % 2; int i4 = g + 31; f = i4 % 128; if (i4 % 2 != 0) { C14957gcv.e(methodCall, ""); intent = (Intent) PinLoginActivity.c(new Object[]{this}, -1331046698, 1331046709, (int) System.currentTimeMillis()); i2 = 20088; } else { C14957gcv.e(methodCall, ""); intent = (Intent) PinLoginActivity.c(new Object[]{this}, -1331046698, 1331046709, (int) System.currentTimeMillis()); i2 = 7134; } startActivityForResult(intent, i2); int i5 = f + 83; g = i5 % 128; int i6 = i5 % 2; } @Override // o.InterfaceC15693hn public final void a() { int i2 = 2 % 2; int i3 = g + 51; f = i3 % 128; int i4 = i3 % 2; FindUsActivity.d((Context) this, false); int i5 = f + 75; g = i5 % 128; int i6 = i5 % 2; } @Override // o.InterfaceC15693hn public final void b(Map map) { int i2 = 2 % 2; int i3 = f + 101; g = i3 % 128; HuD huD = null; if (i3 % 2 == 0) { C14957gcv.e(map, ""); String.valueOf(map.get("lvlChannelDeeplink")); huD.hashCode(); throw null; } C14957gcv.e(map, ""); String valueOf = String.valueOf(map.get("lvlChannelDeeplink")); HuD huD2 = this.levelUpDeeplinkCache; if (huD2 != null) { huD = huD2; } else { C14957gcv.a(""); } C14957gcv.e(valueOf, ""); huD.c = valueOf; int i4 = g + 107; f = i4 % 128; int i5 = i4 % 2; } private static /* synthetic */ Object c(Object[] objArr) { boolean z = false; LevelUpActivity levelUpActivity = (LevelUpActivity) objArr[0]; int intValue = ((Number) objArr[1]).intValue(); int intValue2 = ((Number) objArr[2]).intValue(); Intent intent = (Intent) objArr[3]; int i2 = 2 % 2; if (intValue == 7134) { FlutterEngine flutterEngine = FlutterEngineCache.getInstance().get("engine_levelup"); if (flutterEngine != null) { MethodChannel methodChannel = new MethodChannel(flutterEngine.getDartExecutor().getBinaryMessenger(), "scbEasy.flutter.dev/dBank"); HashMap hashMap = new HashMap(); HashMap hashMap2 = hashMap; if (intValue2 == -1) { z = true; } else { int i3 = f + 81; g = i3 % 128; int i4 = i3 % 2; } hashMap2.put("loginStatus", Boolean.valueOf(z)); KTN ktn = levelUpActivity.sessionCache; if (ktn == null) { C14957gcv.a(""); ktn = null; } String str = ktn.c; C14957gcv.c((Object) str, ""); hashMap2.put("apiAuth", str); methodChannel.invokeMethod("loginStatusEvent", hashMap); return null; } } else { super.onActivityResult(intValue, intValue2, intent); int i5 = f + 79; g = i5 % 128; int i6 = i5 % 2; } return null; } @Override // com.scb.phone.view.activity.Hilt_LevelUpActivity, com.scb.phone.view.activity.BaseFlutterActivity, 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 final void onResume() { int i2 = 2 % 2; int i3 = g + 45; f = i3 % 128; Object obj = null; if (i3 % 2 != 0) { getBaseContext(); obj.hashCode(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; t(null, null, TextUtils.lastIndexOf("", '0', 0) + 128, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; u(new char[]{3497, 64462, 45842, 3530, 59907, 36880, 62015, 51045, 19244, 41784, 55606, 36470, 32793, 25798, 590, 12478, 55658, 7671, 19318, 64414, 5702, 54936}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i4 = g + 35; f = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { int i6 = f + 97; g = i6 % 128; int i7 = i6 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(491 - ((byte) KeyEvent.getModifierMetaStateMask()), Gravity.getAbsoluteGravity(0, 0) + 5, (char) KeyEvent.getDeadChar(0, 0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 487, 4 - ImageFormat.getBitsPerPixel(0), (char) TextUtils.getCapsMode("", 0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i8 = f + 67; g = i8 % 128; int i9 = i8 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.Hilt_LevelUpActivity, com.scb.phone.view.activity.BaseFlutterActivity, 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 final void onPause() { int i2 = 2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { int i3 = f + 7; g = i3 % 128; int i4 = i3 % 2; Object[] objArr = new Object[1]; t(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ntb_user_info_header).substring(17, 18).length() + 126, new byte[]{ISOFileInfo.FILE_IDENTIFIER, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -109, ISOFileInfo.ENV_TEMP_EF, -111, -122, -110, -122, -111, ISOFileInfo.LCS_BYTE, -112, ISOFileInfo.FCI_EXT, -113, -113, ISOFileInfo.DATA_BYTES2, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; u(new char[]{3497, 64462, 45842, 3530, 59907, 36880, 62015, 51045, 19244, 41784, 55606, 36470, 32793, 25798, 590, 12478, 55658, 7671, 19318, 64414, 5702, 54936}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.banking_review_message).substring(62, 63).length() - 1, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i5 = g + 85; f = i5 % 128; int i6 = i5 % 2; } if (baseContext != null) { int i7 = f + 91; g = i7 % 128; try { if (i7 % 2 == 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(493 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = {baseContext}; Object obj3 = xzZ.y.get(1633456013); if (obj3 == null) { obj3 = ((Class) xzZ.c(487 - (ViewConfiguration.getTouchSlop() >> 8), (ViewConfiguration.getFadingEdgeLength() >> 16) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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((ViewConfiguration.getDoubleTapTimeout() >> 16) + 492, 5 - KeyEvent.normalizeMetaState(0), (char) TextUtils.indexOf("", "", 0, 0))).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(View.MeasureSpec.getSize(0) + 487, 5 - TextUtils.indexOf("", ""), (char) View.resolveSizeAndState(0, 0, 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(); int i8 = g + 29; f = i8 % 128; if (i8 % 2 == 0) { return; } obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.Hilt_LevelUpActivity, com.scb.phone.view.activity.BaseFlutterActivity, 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 final void attachBaseContext(Context context) { int i2 = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; t(null, null, ExpandableListView.getPackedPositionType(0L) + 127, new byte[]{-120, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, ISOFileInfo.FCI_EXT, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; t(null, null, 127 - (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)), new byte[]{ISOFileInfo.FILE_IDENTIFIER, -122, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT}, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i3 = g + 17; f = i3 % 128; int i4 = i3 % 2; if (intValue <= 99999) { return; } } if (context != null) { int i5 = g + 95; f = i5 % 128; if (i5 % 2 != 0) { context = context.getApplicationContext(); int i6 = 57 / 0; } else { context = context.getApplicationContext(); } } if (context != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(Color.blue(0) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr3 = new Object[1]; u(new char[]{5814, 41903, 41742, 5767, 45600, 32842, 29708, 16710, 20581, 64340, 51512, 2149, 39700, 15598, 4620, 46725, 49701, 17813, 23341, 32252, 3412, 36516, 40396, 9372, 29925, 55171, 9919, 58301, 49040, 6497, 28637, 43601, 59125, 41550, 45306, 20853, 8583, 60194, 63814, 6165, 27440, 11346, 572, 51046, 53828, 30179, 19207, 36305, 7541, 48847, 35963, 13552}, 1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; t(null, null, (ViewConfiguration.getFadingEdgeLength() >> 16) + 127, new byte[]{ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.DATA_BYTES2, -107, -106, -97, -100, ISOFileInfo.LCS_BYTE, -97, -107, -103, -97, ISOFileInfo.LCS_BYTE, -101, ISOFileInfo.A0, -97, ISOFileInfo.FILE_IDENTIFIER, -107, -106, -100, -103, -106, ISOFileInfo.DATA_BYTES2, -107, -106, -107, -107, -97, -103, ISOFileInfo.DATA_BYTES2, -103, -101, -101, -97, -98, -104, -102, ISOFileInfo.LCS_BYTE, -98, -106, -99, -105, ISOFileInfo.DATA_BYTES2, -106, ISOFileInfo.LCS_BYTE, -102, -100, -105, -106, -100, -101, -106, -102, -106, -102, -103, ISOFileInfo.SECURITY_ATTR_EXP, -104, -105, -107, -106, ISOFileInfo.SECURITY_ATTR_EXP, -106, -107, ISOFileInfo.SECURITY_ATTR_EXP}, objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; u(new char[]{51117, 45759, 53776, 51148, 41791, 61776, 32292, 19263, 33068, 59924, 47141, 585, 19039, 11774, 25363, 48297, 4975, 21715, 10800, 30676, 56396, 40933, 60550, 11964, 42492, 50839, 22519, 59806, 28302, 2175, 7878, 41001, 14261, 45905, 49593, 23304, 61593, 64101, 34817, 4665, 47736, 15637, 29553, 52509, 856, 25847, 14869, 34815, 52331, 44932, 64822, 16009, 38223, 55010, 42962, 63924, 24315, 6558, 28400, 45258, 10205, 17190, 53702, 27437, 57528, 35423, 39139, 8795}, Process.myTid() >> 22, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; t(null, null, 127 - TextUtils.getOffsetAfter("", 0), new byte[]{-120, -111, -126, ISOFileInfo.SECURITY_ATTR_EXP, -110, ISOFileInfo.SECURITY_ATTR_EXP, -94, -102, -110, -94, -111, -120, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.A5, -126, -122, -94, -122, -113, ISOFileInfo.DATA_BYTES2, -94, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.FCI_EXT, ISOFileInfo.SECURITY_ATTR_EXP, -124, ISOFileInfo.DATA_BYTES2, -90, -89, -120, ISOFileInfo.FILE_IDENTIFIER, -124, ISOFileInfo.DATA_BYTES2, -90, ISOFileInfo.A5, ISOFileInfo.FCI_EXT, -111, -120, ISOFileInfo.DATA_BYTES2, ISOFileInfo.LCS_BYTE, -111, ISOFileInfo.DATA_BYTES2, ISOFileInfo.SECURITY_ATTR_EXP, -124, -108, -111, ISOFileInfo.FCI_EXT, -92, -126, ISOFileInfo.DATA_BYTES2, -107, -93, ISOFileInfo.DATA_BYTES2, -122, ISOFileInfo.LCS_BYTE, -124, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.PROP_INFO, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.DATA_BYTES2, -122, -120, -94, -94, ISOFileInfo.A1, -120, -113, -111, -111, -108}, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; u(new char[]{27808, 47716, 38425, 27801, 44018, 46417, 16458, 30028, 10864}, TextUtils.getCapsMode("", 0, 0), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; u(new char[]{24496, 47877, 15327, 24533, 43740, 6301, 56799, 59587, 6452, 58276, 20923, 41447, 53853, 9291, 35551, 8018, 35698, 23920, 50171, 54309, 17409, 38412, 1282, 36118, 15794, 53112, 48748, 19066, 63170, 414, 63325, 982, 44967, 47800, 10284, 63650, 26756, 62344, 24990, 45458}, View.MeasureSpec.makeMeasureSpec(0, 0), objArr8); Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(488 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) TextUtils.indexOf("", "", 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); int i7 = f + 93; g = i7 % 128; int i8 = i7 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } static void e() { c = new char[]{16300, 16345, 16303, 16349, 16346, 16292, 16281, 16350, 16315, 16302, 16288, 16344, 16340, 16304, 16347, 16268, 16351, 16337, 16319, 16291, 16301, 16273, 16287, 16276, 16272, 16285, 16274, 16284, 16286, 16283, 16275, 16289, 16277, 16282, 16295, 16294, 16290, 16336, 16348}; e = 1934310987; a = true; b = true; i = 5975166357620836839L; } @Override // com.scb.phone.view.activity.Hilt_LevelUpActivity, com.scb.phone.view.activity.BaseFlutterActivity, 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 final void onStart() { int i2 = 2 % 2; int i3 = f + 67; g = i3 % 128; int i4 = i3 % 2; super.onStart(); int i5 = g + 77; f = i5 % 128; int i6 = i5 % 2; } @Override // io.flutter.embedding.android.FlutterFragmentActivity, io.flutter.embedding.android.FlutterEngineProvider public final FlutterEngine provideFlutterEngine(Context context) { return (FlutterEngine) c(new Object[]{this, context}, 350226098, -350226097, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 310940720); } @Override // io.flutter.embedding.android.FlutterFragmentActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity public final void onActivityResult(int i2, int i3, Intent intent) { c(new Object[]{this, Integer.valueOf(i2), Integer.valueOf(i3), intent}, 1101744905, -1101744903, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1228091497); } @Override // o.InterfaceC15693hn public final void d(Map map) { c(new Object[]{this, map}, 112760213, -112760213, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 555623500); } static { g = 1; e(); d = new Sts((byte) 0); int i2 = f + 57; g = i2 % 128; int i3 = i2 % 2; } }