package com.scb.phone.view.activity.hml; import android.content.Context; import android.content.DialogInterface; import android.graphics.Color; import android.graphics.ImageFormat; import android.graphics.PointF; import android.media.AudioTrack; import android.os.Process; import android.os.SystemClock; import android.text.AndroidCharacter; import android.text.TextUtils; import android.util.TypedValue; import android.view.KeyEvent; import android.view.MotionEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.google.common.base.Ascii; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.pingan.ai.p; import com.scb.phone.R; import com.scb.phone.view.activity.BaseActivity; import com.scb.phone.view.activity.hml.HmlBaseConsentActivity; import com.scb.phone.view.custom.common.CustomDialog; import com.scb.phone.view.fragment.TermsAndConditionsFragment; import java.lang.reflect.Method; import kotlin.NoWhenBranchMatchedException; import net.sf.scuba.smartcards.ISO7816; import o.AbstractC13482fbE; import o.AbstractC5096bmb; import o.C0371Fd; import o.C14957gcv; import o.C15715hv; import o.EX; import o.InterfaceC12853fJD; import o.InterfaceC9246dgB; import o.Nhs; import o.OVB; import o.TVH; import o.ZI; import o.bTI; import o.gjJ; import o.pug; import o.xzZ; import org.bouncycastle.crypto.tls.CipherSuite; /* loaded from: classes4.dex */ public abstract class HmlBaseConsentActivity extends BaseActivity implements InterfaceC12853fJD, InterfaceC9246dgB { private static char[] m; /* renamed from: o, reason: collision with root package name */ private static long f7249o; private static int p; private static char s; private static int t; private String b; private C0371Fd k; public OVB l; private static final byte[] $$p = {69, ISO7816.INS_CHANGE_CHV, 67, Ascii.CAN}; private static final int $$q = CipherSuite.TLS_PSK_WITH_AES_128_CBC_SHA; private static int $10 = 0; private static int $11 = 1; private static int q = 0; /* JADX WARN: Removed duplicated region for block: B:10:0x0027 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001f */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x0030). 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 aC(byte r6, int r7, int r8, java.lang.Object[] r9) { /* int r6 = r6 * 4 int r6 = 3 - r6 int r7 = r7 + 71 byte[] r0 = com.scb.phone.view.activity.hml.HmlBaseConsentActivity.$$p int r8 = r8 * 3 int r1 = 1 - r8 byte[] r1 = new byte[r1] r2 = 0 int r8 = 0 - r8 if (r0 != 0) goto L17 r7 = r6 r3 = r8 r4 = r2 goto L30 L17: r3 = r2 L18: int r6 = r6 + 1 byte r4 = (byte) r7 r1[r3] = r4 if (r3 != r8) goto L27 java.lang.String r6 = new java.lang.String r6.(r1, r2) r9[r2] = r6 return L27: int r3 = r3 + 1 r4 = r0[r6] r5 = r7 r7 = r6 r6 = r4 r4 = r3 r3 = r5 L30: int r6 = r6 + r3 r3 = r4 r5 = r7 r7 = r6 r6 = r5 goto L18 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBaseConsentActivity.aC(byte, int, int, java.lang.Object[]):void"); } public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) { int i4 = (i * (-515)) + (i2 * 517); int i5 = ~i2; int i6 = ~(i5 | i3); int i7 = ~i3; int i8 = i6 | (~(i7 | i)); int i9 = ~(i7 | i2); int i10 = ~i; return ((i4 + ((i8 | i9) * (-516))) + (((~(i3 | (i5 | i10))) | (~((i10 | i7) | i2))) * 516)) + (((~(i10 | i2)) | i9) * 516) != 1 ? d(objArr) : e(objArr); } public abstract AbstractC5096bmb f(); public abstract void o(); /* loaded from: classes4.dex */ public static final class HBt { private HBt() { } public /* synthetic */ HBt(byte b) { this(); } } private static void aB(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) { int i2 = 2; int i3 = 2 % 2; Nhs nhs = new Nhs(); int length = cArr2.length; char[] cArr4 = new char[length]; int length2 = cArr3.length; char[] cArr5 = new char[length2]; System.arraycopy(cArr2, 0, cArr4, 0, length); System.arraycopy(cArr3, 0, cArr5, 0, length2); cArr4[0] = (char) (cArr4[0] ^ c); cArr5[2] = (char) (cArr5[2] + ((char) i)); int length3 = cArr.length; char[] cArr6 = new char[length3]; nhs.a = 0; while (nhs.a < length3) { int i4 = $10 + 111; $11 = i4 % 128; int i5 = i4 % i2; try { Object[] objArr2 = {nhs}; Object obj = xzZ.y.get(263693715); if (obj == null) { obj = ((Class) xzZ.c(45 - TextUtils.getTrimmedLength(""), 4 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), (char) ((Process.getThreadPriority(0) + 20) >> 6))).getMethod("t", Object.class); xzZ.y.put(263693715, obj); } int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue(); try { Object[] objArr3 = {nhs}; Object obj2 = xzZ.y.get(-484664112); if (obj2 == null) { Class cls = (Class) xzZ.c(352 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) ((ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 52128)); byte b = (byte) 0; Object[] objArr4 = new Object[1]; aC(b, (byte) (b | ISO7816.INS_UNBLOCK_CHV), b, objArr4); obj2 = cls.getMethod((String) objArr4[0], Object.class); xzZ.y.put(-484664112, obj2); } int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue(); try { Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj3 = xzZ.y.get(430099516); if (obj3 == null) { obj3 = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 700, View.resolveSizeAndState(0, 0, 0) + 5, (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(p.a, Object.class, Integer.TYPE, Integer.TYPE); xzZ.y.put(430099516, obj3); } ((Method) obj3).invoke(null, objArr5); try { Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])}; Object obj4 = xzZ.y.get(1019894806); if (obj4 == null) { Class cls2 = (Class) xzZ.c(402 - Color.argb(0, 0, 0, 0), 5 - View.MeasureSpec.getSize(0), (char) (21609 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)))); byte b2 = (byte) 0; Object[] objArr7 = new Object[1]; aC(b2, (byte) (b2 | 43), b2, objArr7); obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE); xzZ.y.put(1019894806, obj4); } cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue(); cArr4[intValue2] = nhs.c; cArr6[nhs.a] = (char) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (f7249o ^ 9051040786702654117L)) ^ ((int) (p ^ 9051040786702654117L))) ^ ((char) (s ^ 9051040786702654117L))); nhs.a++; i2 = 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; } } catch (Throwable th3) { Throwable cause3 = th3.getCause(); if (cause3 == null) { throw th3; } throw cause3; } } catch (Throwable th4) { Throwable cause4 = th4.getCause(); if (cause4 == null) { throw th4; } throw cause4; } } String str = new String(cArr6); int i6 = $11 + 1; $10 = i6 % 128; if (i6 % 2 == 0) { objArr[0] = str; } else { Object obj5 = null; obj5.hashCode(); throw null; } } /* JADX WARN: Removed duplicated region for block: B:15:0x03d1 */ /* JADX WARN: Removed duplicated region for block: B:20:0x03ea */ /* JADX WARN: Removed duplicated region for block: B:29:0x03c4 */ /* JADX WARN: Removed duplicated region for block: B:8:0x03b5 */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onCreate(android.os.Bundle r26) { /* Method dump skipped, instructions count: 1464 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBaseConsentActivity.onCreate(android.os.Bundle):void"); } private static /* synthetic */ Object d(Object[] objArr) { HmlBaseConsentActivity hmlBaseConsentActivity = (HmlBaseConsentActivity) objArr[0]; int i = 2 % 2; int i2 = q + 69; t = i2 % 128; if (i2 % 2 != 0) { super.Z(); hmlBaseConsentActivity.p(hmlBaseConsentActivity.g()); hmlBaseConsentActivity.ac(); return null; } super.Z(); hmlBaseConsentActivity.p(hmlBaseConsentActivity.g()); hmlBaseConsentActivity.ac(); throw null; } private final String g() { String string; int i = 2 % 2; OVB ovb = this.l; Object obj = null; if (ovb != null) { int i2 = q + 109; t = i2 % 128; if (i2 % 2 == 0) { throw null; } } else { C14957gcv.a(""); ovb = null; } switch (LWm.c[ovb.ordinal()]) { case 1: string = getString(R.string.hml_consent_ncb_consent); int i3 = q + 71; t = i3 % 128; int i4 = i3 % 2; break; case 2: string = getString(R.string.hml_consent_model_consent); break; case 3: string = getString(R.string.hml_consent_cross_sell_consent); break; case 4: string = getString(R.string.hml_consent_terms_and_conditions); break; case 5: string = getString(R.string.hml_consent_product_details); break; case 6: string = getString(R.string.hml_consent_terms_and_conditions); break; case 7: string = getString(R.string.hml_consent_sensitive); break; case 8: string = getString(R.string.auto_privacy_notice_title); break; default: throw new NoWhenBranchMatchedException(); } C14957gcv.c((Object) string, ""); int i5 = q + 17; t = i5 % 128; if (i5 % 2 != 0) { return string; } obj.hashCode(); throw null; } @Override // o.InterfaceC12853fJD public final void d(String str) { int i = 2 % 2; C14957gcv.e(str, ""); final AbstractC5096bmb f = f(); OVB ovb = this.l; if (ovb == null) { C14957gcv.a(""); ovb = null; } C14957gcv.e(ovb, ""); if (ovb != OVB.NCB_CONSENT) { ZI.IeS ieS = new ZI.IeS() { // from class: o.bmk @Override // o.ZI.IeS public final void e(Object obj) { ((InterfaceC9246dgB) obj).c(true); } }; if (f.f != 0) { int i2 = q + 37; t = i2 % 128; int i3 = i2 % 2; ieS.e(f.f); return; } return; } ZI.IeS ieS2 = new ZI.IeS(f) { // from class: o.bmj private AbstractC5096bmb b; @Override // o.ZI.IeS public final void e(Object obj) { AbstractC5096bmb abstractC5096bmb = this.b; InterfaceC9246dgB interfaceC9246dgB = (InterfaceC9246dgB) obj; C14957gcv.e(abstractC5096bmb, ""); C17112ty c17112ty = abstractC5096bmb.b; EX.Sts d = EX.d(); d.e = c17112ty.e(C15715hv.tOB.hml_consent_confirm_accept_ncb_consent_title); d.d = c17112ty.e(C15715hv.tOB.hml_consent_confirm_accept_ncb_consent_text); d.a = c17112ty.e(C15715hv.tOB.hml_consent_confirm_accept_ncb_consent_positive); d.c = c17112ty.e(C15715hv.tOB.hml_consent_confirm_accept_ncb_consent_negative); EX ex = new EX(d, (byte) 0); C14957gcv.c(ex, ""); bTI f2 = abstractC5096bmb.d.a.f(); DRg dRg = abstractC5096bmb.c; if (dRg.c.K() != null) { String str2 = dRg.c.K().c; } interfaceC9246dgB.d(ex, f2); } { this.b = f; } }; if (f.f != 0) { int i4 = t; int i5 = i4 + 103; q = i5 % 128; int i6 = i5 % 2; int i7 = i4 + 53; q = i7 % 128; int i8 = i7 % 2; ieS2.e(f.f); } } @Override // o.InterfaceC12853fJD public final void e(String str) { int i = 2 % 2; C14957gcv.e(str, ""); final AbstractC5096bmb f = f(); OVB ovb = this.l; Object obj = null; if (ovb == null) { C14957gcv.a(""); ovb = null; } C14957gcv.e(ovb, ""); if (ovb != OVB.NCB_CONSENT) { ZI.IeS ieS = new ZI.IeS() { // from class: o.bmg @Override // o.ZI.IeS public final void e(Object obj2) { ((InterfaceC9246dgB) obj2).c(false); } }; if (f.f != 0) { int i2 = q + 43; t = i2 % 128; if (i2 % 2 != 0) { ieS.e(f.f); return; } else { ieS.e(f.f); int i3 = 22 / 0; return; } } return; } ZI.IeS ieS2 = new ZI.IeS(f) { // from class: o.bmh private AbstractC5096bmb c; @Override // o.ZI.IeS public final void e(Object obj2) { AbstractC5096bmb abstractC5096bmb = this.c; C14957gcv.e(abstractC5096bmb, ""); C17112ty c17112ty = abstractC5096bmb.b; EX.Sts d = EX.d(); d.e = c17112ty.e(C15715hv.tOB.hml_consent_confirm_decline_ncb_consent_title); d.d = c17112ty.e(C15715hv.tOB.hml_consent_confirm_decline_ncb_consent_text); d.a = c17112ty.e(C15715hv.tOB.hml_consent_confirm_decline_ncb_consent_positive); d.c = c17112ty.e(C15715hv.tOB.hml_consent_confirm_decline_ncb_consent_negative); EX ex = new EX(d, (byte) 0); C14957gcv.c(ex, ""); ((InterfaceC9246dgB) obj2).a(ex, abstractC5096bmb.d.a.f()); } { this.c = f; } }; if (f.f != 0) { int i4 = q + 89; t = i4 % 128; if (i4 % 2 == 0) { ieS2.e(f.f); obj.hashCode(); throw null; } ieS2.e(f.f); } int i5 = t + 81; q = i5 % 128; if (i5 % 2 == 0) { return; } obj.hashCode(); throw null; } @Override // o.InterfaceC12828fIc public final void h() { int i = 2 % 2; int i2 = q + 51; t = i2 % 128; int i3 = i2 % 2; finish(); if (i3 == 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = t + 81; q = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9246dgB public final void d(C0371Fd c0371Fd) { int i = 2 % 2; int i2 = t + 63; q = i2 % 128; int i3 = i2 % 2; C14957gcv.e(c0371Fd, ""); AbstractC13482fbE a = getSupportFragmentManager().a(); TermsAndConditionsFragment.HBt hBt = TermsAndConditionsFragment.c; a.b(R.id.container, TermsAndConditionsFragment.HBt.c(c0371Fd), null, 1); a.b(); int i4 = t + 77; q = i4 % 128; int i5 = i4 % 2; } @Override // o.InterfaceC9246dgB public final void d(EX ex, bTI bti) { int i = 2 % 2; C14957gcv.e(ex, ""); C14957gcv.e(bti, ""); b(new Object[]{this, ex, new DialogInterface.OnClickListener(this) { // from class: o.dOR private HmlBaseConsentActivity a; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { HmlBaseConsentActivity.c(this.a); } { this.a = this; } }}, 1292649779, -1292649778, ((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) - 1304741852); int i2 = q + 107; t = i2 % 128; int i3 = i2 % 2; } @Override // o.InterfaceC9246dgB public final void a(EX ex, bTI bti) { int i = 2 % 2; C14957gcv.e(ex, ""); C14957gcv.e(bti, ""); b(new Object[]{this, ex, new DialogInterface.OnClickListener(this) { // from class: o.dOT private HmlBaseConsentActivity c; @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i2) { HmlBaseConsentActivity.d(this.c); } { this.c = this; } }}, 1292649779, -1292649778, ((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) - 1304741852); int i2 = q + 13; t = i2 % 128; int i3 = i2 % 2; } private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) { int i; int i2 = 2 % 2; TVH tvh = new TVH(); int i3 = 0; int i4 = iArr[0]; int i5 = 1; int i6 = iArr[1]; int i7 = iArr[2]; int i8 = iArr[3]; char[] cArr = m; long j = 0; if (cArr != null) { int length = cArr.length; char[] cArr2 = new char[length]; int i9 = 0; while (i9 < length) { try { Object[] objArr2 = new Object[i5]; objArr2[i3] = Integer.valueOf(cArr[i9]); Object obj = xzZ.y.get(1645349359); if (obj == null) { Class cls = (Class) xzZ.c(223 - (TypedValue.complexToFloat(i3) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(i3) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), ExpandableListView.getPackedPositionChild(j) + 6, (char) (41978 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)))); byte b = (byte) i3; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE); xzZ.y.put(1645349359, obj); } cArr2[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); i9++; i3 = 0; i5 = 1; j = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } cArr = cArr2; } char[] cArr3 = new char[i6]; System.arraycopy(cArr, i4, cArr3, 0, i6); if (bArr != null) { char[] cArr4 = new char[i6]; tvh.c = 0; char c = 0; while (tvh.c < i6) { int i10 = $10 + 5; $11 = i10 % 128; if (i10 % 2 != 0 ? bArr[tvh.c] != 1 : bArr[tvh.c] != 1) { int i11 = tvh.c; Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj2 = xzZ.y.get(1084521042); if (obj2 == null) { obj2 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 15, TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (58135 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE); xzZ.y.put(1084521042, obj2); } cArr4[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); int i12 = $11 + 105; $10 = i12 % 128; if (i12 % 2 != 0) { int i13 = 3 / 5; } } else { int i14 = tvh.c; try { Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)}; Object obj3 = xzZ.y.get(850398076); if (obj3 == null) { obj3 = ((Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 502, View.resolveSize(0, 0) + 5, (char) (54 - (ViewConfiguration.getEdgeSlop() >> 16)))).getMethod("F", Integer.TYPE, Integer.TYPE); xzZ.y.put(850398076, obj3); } cArr4[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue(); } catch (Throwable th2) { Throwable cause2 = th2.getCause(); if (cause2 == null) { throw th2; } throw cause2; } } c = cArr4[tvh.c]; Object[] objArr6 = {tvh, tvh}; Object obj4 = xzZ.y.get(1698744941); if (obj4 == null) { Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 403, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (21608 - (ViewConfiguration.getJumpTapTimeout() >> 16))); byte b3 = (byte) 0; byte b4 = (byte) (b3 + 2); Object[] objArr7 = new Object[1]; aC(b3, b4, (byte) (b4 - 2), objArr7); obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(1698744941, obj4); } ((Method) obj4).invoke(null, objArr6); } cArr3 = cArr4; } if (i8 > 0) { char[] cArr5 = new char[i6]; i = 0; System.arraycopy(cArr3, 0, cArr5, 0, i6); int i15 = i6 - i8; System.arraycopy(cArr5, 0, cArr3, i15, i8); System.arraycopy(cArr5, i8, cArr3, 0, i15); } else { i = 0; } int i16 = 1; if (!(!z)) { char[] cArr6 = new char[i6]; tvh.c = i; while (tvh.c < i6) { cArr6[tvh.c] = cArr3[(i6 - tvh.c) - i16]; tvh.c += i16; i16 = 1; } cArr3 = cArr6; } if (i7 > 0) { int i17 = $10 + 101; $11 = i17 % 128; int i18 = i17 % 2 == 0 ? 1 : 0; while (true) { tvh.c = i18; if (tvh.c >= i6) { break; } cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]); i18 = tvh.c + 1; } } objArr[0] = new String(cArr3); } private static /* synthetic */ Object e(Object[] objArr) { HmlBaseConsentActivity hmlBaseConsentActivity = (HmlBaseConsentActivity) objArr[0]; EX ex = (EX) objArr[1]; DialogInterface.OnClickListener onClickListener = (DialogInterface.OnClickListener) objArr[2]; int i = 2 % 2; int i2 = q + 105; t = i2 % 128; Object obj = null; if (i2 % 2 != 0) { CustomDialog b = CustomDialog.b(hmlBaseConsentActivity); String str = ex.a; if (gjJ.a(str)) { int i3 = q + 115; t = i3 % 128; if (i3 % 2 == 0) { b.mTitleTextView.setVisibility(1); } else { b.mTitleTextView.setVisibility(0); } b.mTitleTextView.setText(str); } String str2 = ex.c; if (gjJ.a(str2)) { int i4 = t + 61; q = i4 % 128; if (i4 % 2 != 0) { b.mTextTextView.setVisibility(0); } else { b.mTextTextView.setVisibility(0); } b.mTextTextView.setText(str2); } b.aoU_(ex.d, onClickListener).aoO_(ex.b, new DialogInterface.OnClickListener() { // from class: o.dOU @Override // android.content.DialogInterface.OnClickListener public final void onClick(DialogInterface dialogInterface, int i5) { HmlBaseConsentActivity.afx_(dialogInterface); } }).show(); return null; } CustomDialog.b(hmlBaseConsentActivity); gjJ.a(ex.a); obj.hashCode(); throw null; } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onResume() { int i = 2 % 2; Context baseContext = getBaseContext(); Object obj = null; if (baseContext == null) { int i2 = t + 5; q = i2 % 128; int i3 = i2 % 2; Object[] objArr = new Object[1]; aA(new int[]{18, 26, 43, 10}, false, new byte[]{1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.material_minute_suffix).substring(0, 5).codePointAt(2) + 27630), new char[]{18070, 51684, 24723, 56025, 50679, 14511, 17989, 55602, 1260, 34806, 46496, 56598, 7417, 46590, 8049, 47093, 26939, 43820}, new char[]{15349, 1332, 4660, 8812}, new char[]{0, 0, 0, 0}, ViewConfiguration.getPressedStateDuration() >> 16, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i4 = q + 63; t = i4 % 128; int i5 = i4 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { int i6 = q + 107; t = i6 % 128; try { if (i6 % 2 == 0) { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(Color.red(0) + 492, 5 - TextUtils.indexOf("", "", 0), (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).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(487 - (ViewConfiguration.getLongPressTimeout() >> 16), (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (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(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); obj.hashCode(); throw null; } Object obj4 = xzZ.y.get(125943855); if (obj4 == null) { obj4 = ((Class) xzZ.c(492 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) ((-1) - MotionEvent.axisFromString("")))).getMethod("a", null); xzZ.y.put(125943855, obj4); } Object invoke2 = ((Method) obj4).invoke(null, null); Object[] objArr4 = {baseContext}; Object obj5 = xzZ.y.get(1378719468); if (obj5 == null) { obj5 = ((Class) xzZ.c(488 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), 4 - TextUtils.lastIndexOf("", '0', 0, 0), (char) View.MeasureSpec.makeMeasureSpec(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj5); } ((Method) obj5).invoke(invoke2, objArr4); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onPause() { Context applicationContext; int i = 2 % 2; int i2 = q + 3; t = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { int i4 = t + 19; q = i4 % 128; int i5 = i4 % 2; Object[] objArr = new Object[1]; aA(new int[]{18, 26, 43, 10}, false, new byte[]{1, 1, 1, 1, 1, 0, 0, 1, 0, 1, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 1}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.limit_setting_range_error_message).substring(36, 37).length() + 27665), new char[]{18070, 51684, 24723, 56025, 50679, 14511, 17989, 55602, 1260, 34806, 46496, 56598, 7417, 46590, 8049, 47093, 26939, 43820}, new char[]{15349, 1332, 4660, 8812}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.manage_email_otp_resend).substring(7, 9).codePointAt(1) - 62, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i6 = t + 25; q = i6 % 128; if (i6 % 2 != 0) { applicationContext = baseContext.getApplicationContext(); int i7 = 81 / 0; } else { applicationContext = baseContext.getApplicationContext(); } baseContext = applicationContext; } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (Process.myPid() >> 22) + 5, (char) (ImageFormat.getBitsPerPixel(0) + 1))).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((ViewConfiguration.getTouchSlop() >> 8) + 487, 5 - TextUtils.indexOf("", ""), (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper public void attachBaseContext(Context context) { Context context2; int i = 2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new int[]{0, 18, 0, 0}, true, new byte[]{1, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB((char) (59036 - TextUtils.indexOf((CharSequence) "", '0')), new char[]{24213, 62236, 61230, 61625, 14583}, new char[]{63407, 33771, 40211, 28390}, new char[]{0, 0, 0, 0}, 327412727 - TextUtils.indexOf("", "", 0, 0), objArr2); Object obj = null; int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue >= 99000) { int i2 = q + 71; t = i2 % 128; if (i2 % 2 == 0) { obj.hashCode(); throw null; } if (intValue <= 99999) { return; } } if (context != null) { int i3 = q + 113; t = i3 % 128; if (i3 % 2 == 0) { context.getApplicationContext(); obj.hashCode(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i4 = q + 41; t = i4 % 128; int i5 = i4 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 492, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) Color.green(0))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = new Object[1]; aA(new int[]{44, 48, 0, 0}, false, new byte[]{1, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 1}, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aB((char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), new char[]{16724, 58632, 50119, 57336, 7360, 57494, 56538, 62257, 52198, 32017, 36552, 41339, 43997, 46464, 40158, 9172, 39678, 24582, 3842, 29985, 8026, 38503, 27131, 43809, 2252, 12960, 52116, 40164, 44544, 32997, 10720, 44054, 12385, 38843, 55377, 38136, 8411, 56198, 60176, 11403, 13328, 62613, 25472, 241, 26095, 44805, 26278, 59115, 21149, 1180, 9860, 19822, 13837, 38726, 43626, 46050, 51914, 18165, 8391, 63586, 7258, 8420, 26669, 31813}, new char[]{60865, 26804, 25077, 50376}, new char[]{0, 0, 0, 0}, Color.red(0), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new int[]{92, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aB((char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), new char[]{49877, 48702, 31775, 63922, 65300, 16306, 39043, 32963, 36917, 38762, 36531, 12660, 46711, 21865, 38977, 13177, 17009, 17164, 42234, 59363, 62931, 59447, 64141, 32050, 53520, 37604, 7563, 56029, 15591, 20505, 25776, 14305, 15748, 15274, 51576, 58642, 39744, 18798, 27802, 19779, 4987, 57758, 9203, 23305, 54885, 50403, 61336, 5432, 36200, 13765, 23219, 20204, 34018, 35313, 52584, 41161, 35104, 13285, 37584, 24970, 58542, 2331, 16572, 41340, 31685, 12666, 14310, 52086, 9048, 56981, 9604, 59545, 64596, 41783}, new char[]{32413, 16934, 2673, 34294}, new char[]{0, 0, 0, 0}, (-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new int[]{CipherSuite.TLS_RSA_WITH_AES_128_GCM_SHA256, 5, 0, 2}, false, new byte[]{0, 0, 1, 1, 0}, objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aB((char) (ViewConfiguration.getWindowTouchSlop() >> 8), new char[]{45411, 61958, 1736, 8547, 50669, 45590, 40382, 28202, 14782, 807, 62342, 31122, 61516, 25574, 35705, 58803, 33223, 55676, 43602, 1014, 15619, 62719, 4522, 23541, 53393, 31883, 54947, 51395, 27578, 4612, 52619, 46677, 16289, 19008, 62528, 1751}, new char[]{9313, 59804, 17632, 49317}, new char[]{0, 0, 0, 0}, Color.argb(0, 0, 0, 0), objArr8); Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]}; Object obj3 = xzZ.y.get(1656189573); if (obj3 == null) { obj3 = ((Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 487, (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 4, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0, 0)))).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, objArr9); int i6 = t + 81; q = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } public static /* synthetic */ void c(HmlBaseConsentActivity hmlBaseConsentActivity) { int i = 2 % 2; C14957gcv.e(hmlBaseConsentActivity, ""); hmlBaseConsentActivity.f().d(); hmlBaseConsentActivity.c("p10x1_consent", new pug("user_type", hmlBaseConsentActivity.j()), new pug("button", "accept")); int i2 = q + 105; t = i2 % 128; if (i2 % 2 == 0) { throw null; } } public static /* synthetic */ void afx_(DialogInterface dialogInterface) { int i = 2 % 2; int i2 = q + 53; t = i2 % 128; int i3 = i2 % 2; dialogInterface.dismiss(); int i4 = t + 15; q = i4 % 128; if (i4 % 2 != 0) { int i5 = 14 / 0; } } public static /* synthetic */ void d(HmlBaseConsentActivity hmlBaseConsentActivity) { int i = 2 % 2; C14957gcv.e(hmlBaseConsentActivity, ""); OVB ovb = hmlBaseConsentActivity.l; OVB ovb2 = null; if (ovb != null) { int i2 = q + 99; t = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); int i4 = t + 71; q = i4 % 128; int i5 = i4 % 2; ovb = null; } if (ovb == OVB.NCB_CONSENT) { hmlBaseConsentActivity.c("p10x1_consent", new pug("user_type", hmlBaseConsentActivity.j()), new pug("button", "deny")); } else { OVB ovb3 = hmlBaseConsentActivity.l; if (ovb3 != null) { int i6 = t; int i7 = i6 + 13; q = i7 % 128; int i8 = i7 % 2; int i9 = i6 + 85; q = i9 % 128; int i10 = i9 % 2; ovb2 = ovb3; } else { C14957gcv.a(""); } if (ovb2 == OVB.SENSITIVE_CONSENT) { hmlBaseConsentActivity.c("p10x1_sensitive_consent", new pug("user_type", hmlBaseConsentActivity.j()), new pug("button", "deny"), new pug("loan_type", "consumer")); } } hmlBaseConsentActivity.f().a(); int i11 = t + 109; q = i11 % 128; int i12 = i11 % 2; } static void l() { m = new char[]{39986, 40056, 40039, 40047, 40034, 40059, 40042, 39988, 40027, 40058, 40005, 40002, 40045, 40039, 40059, 40032, 40034, 40044, 40027, 40081, 40082, 40106, 40090, 40066, 40083, 40093, 40069, 40070, 40070, 40089, 40095, 40093, 40080, 40092, 40090, 40063, 40057, 40088, 40080, 40049, 40041, 40054, 40093, 40082, 39955, 39999, 39998, 40000, 40001, 40000, 40047, 40040, 40042, 40006, 39998, 40002, 40001, 40001, 40001, 39998, 40006, 40001, 39993, 39998, 39998, 39992, 40001, 40006, 40004, 40005, 40007, 40007, 40007, 40005, 40005, 40001, 39994, 39992, 39997, 39999, 40000, 40046, 40040, 40041, 40001, 39992, 39997, 39996, 40007, 40006, 40005, 40007, 39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 39964, 39972, 39999, 39992, 39992}; f7249o = 9051040786702654117L; p = 452713125; s = (char) 7316; } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onStart() { int i = 2 % 2; int i2 = q + 81; t = i2 % 128; int i3 = i2 % 2; Object obj = null; super.onStart(); if (i3 == 0) { obj.hashCode(); throw null; } int i4 = q + 121; t = i4 % 128; if (i4 % 2 == 0) { throw null; } } @Override // com.scb.phone.view.activity.BaseActivity public final void Z() { b(new Object[]{this}, -817473681, 817473681, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2043384052); } public String j() { int i = 2 % 2; int i2 = t; int i3 = i2 + 77; q = i3 % 128; int i4 = i3 % 2; int i5 = i2 + 3; q = i5 % 128; int i6 = i5 % 2; return "etb"; } /* loaded from: classes4.dex */ public final /* synthetic */ class LWm { public static final int[] c; static { int[] iArr = new int[OVB.values().length]; try { iArr[OVB.NCB_CONSENT.ordinal()] = 1; } catch (NoSuchFieldError unused) { } try { iArr[OVB.MODEL_CONSENT.ordinal()] = 2; } catch (NoSuchFieldError unused2) { } try { iArr[OVB.CROSS_SELL_CONSENT.ordinal()] = 3; } catch (NoSuchFieldError unused3) { } try { iArr[OVB.TERMS_N_CONDITIONS.ordinal()] = 4; } catch (NoSuchFieldError unused4) { } try { iArr[OVB.SALE_SHEET.ordinal()] = 5; } catch (NoSuchFieldError unused5) { } try { iArr[OVB.TERMS_N_CONDITIONS_DISBURSEMENT.ordinal()] = 6; } catch (NoSuchFieldError unused6) { } try { iArr[OVB.SENSITIVE_CONSENT.ordinal()] = 7; } catch (NoSuchFieldError unused7) { } try { iArr[OVB.PRIVACY_NOTICE.ordinal()] = 8; } catch (NoSuchFieldError unused8) { } c = iArr; } } private final void afy_(EX ex, DialogInterface.OnClickListener onClickListener) { b(new Object[]{this, ex, onClickListener}, 1292649779, -1292649778, ((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) - 1304741852); } static { t = 1; l(); new HBt((byte) 0); int i = q + 49; t = i % 128; if (i % 2 != 0) { return; } Object obj = null; obj.hashCode(); throw null; } }