package com.scb.phone.view.activity.ccsof; import android.content.Context; import android.graphics.Color; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; import android.text.TextUtils; import android.view.KeyEvent; import android.view.View; import android.view.ViewConfiguration; import android.widget.ExpandableListView; import com.google.android.gms.dynamite.descriptors.com.google.android.gms.tagmanager.ModuleDescriptor; import com.google.common.base.Ascii; import com.kofax.kmc.kut.utilities.IpLibUtil; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import com.scb.phone.view.activity.BaseActivity; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import net.sf.scuba.smartcards.ISOFileInfo; import o.C13068fPo; import o.C13073fPt; import o.GuL; import o.InterfaceC10229dyo; import o.InterfaceC17278vUG; import o.VLM; import o.fOV; import o.fPA; import o.xzZ; /* loaded from: classes4.dex */ public abstract class Hilt_CcSofReviewActivity extends BaseActivity implements fPA { private static short[] q; private volatile C13073fPt b; private final Object l = new Object(); /* renamed from: o, reason: collision with root package name */ boolean f6721o = false; private static final byte[] $$p = {80, 41, ISO7816.INS_UPDATE_RECORD, 94}; private static final int $$q = ModuleDescriptor.MODULE_VERSION; private static int $10 = 0; private static int $11 = 1; private static int s = 0; private static int w = 1; private static long m = -9169701013682597350L; private static int k = 2022611016; private static int r = 1406017133; private static int t = 1681657137; private static byte[] p = {125, -52, -51, 122, ISOFileInfo.FMD_BYTE, -43, 119, 101, -51, Ascii.DEL, -57, 99, -110, 109, 14, ISO7816.INS_MANAGE_CHANNEL, 121, ISOFileInfo.ENV_TEMP_EF, -70, -11, ISO7816.INS_GET_DATA, -49, 126, -58, Ascii.DEL, ISO7816.INS_MSE, 101, 40, 78, 45, 33, 32, 35, Ascii.DEL, -110, ISO7816.INS_DECREASE, 101, 116, 46, Ascii.DEL, 32, 73, -8, -73, -81, -8, -57, -87, -99, Ascii.SYN, -102, -37, -81, ISO7816.INS_ENVELOPE, -86, 17, -81, -63, ISO7816.INS_READ_RECORD2, -1, -63, -97, ISO7816.INS_ENVELOPE, -87, -57, -88, -84, -61, -63, -84, -8, -61, -78, -4, -73, -81, ISO7816.INS_ENVELOPE, -1, -61, -78, -7, -99, -57, ISOFileInfo.AB, -61, -83, Ascii.SYN, -88, -83, -75, -44, ISO7816.INS_GET_RESPONSE, -2, -63, -98, -58, ISOFileInfo.AB, 17, -84, -98, -2, -78, -81, -60, -5, -43, -19, -104, ISO7816.INS_APPEND_RECORD, -49, -29, ISO7816.INS_READ_RECORD2, -53, -78, ISO7816.INS_WRITE_RECORD, -88, -124, -41, -29, -98, -104, -43, -19, -103, ISO7816.INS_APPEND_RECORD, -29, -102, ISO7816.INS_UPDATE_BINARY, -20, -44, -25, -112, -20, -19, -26, -12, -87, -97, -56, -19, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK}; private static void aC(short s2, byte b, int i, Object[] objArr) { int i2 = b * 2; byte[] bArr = $$p; int i3 = 3 - (s2 * 3); int i4 = i + 108; byte[] bArr2 = new byte[1 - i2]; int i5 = 0 - i2; int i6 = -1; if (bArr == null) { i6 = -1; i4 = (-i3) + i4; i3 = i3; } while (true) { int i7 = i6 + 1; bArr2[i7] = (byte) i4; if (i7 == i5) { objArr[0] = new String(bArr2, 0); return; } int i8 = i3 + 1; i6 = i7; i4 = (-bArr[i8]) + i4; i3 = i8; } } /* JADX INFO: Access modifiers changed from: package-private */ public Hilt_CcSofReviewActivity() { addOnContextAvailableListener(new InterfaceC17278vUG(this) { // from class: com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.4 private Hilt_CcSofReviewActivity e; { this.e = this; } @Override // o.InterfaceC17278vUG public final void a(Context context) { Hilt_CcSofReviewActivity hilt_CcSofReviewActivity = this.e; if (hilt_CcSofReviewActivity.f6721o) { return; } hilt_CcSofReviewActivity.f6721o = true; ((InterfaceC10229dyo) hilt_CcSofReviewActivity.y_()).b((CcSofReviewActivity) hilt_CcSofReviewActivity); } }); } @Override // o.fPC public final Object y_() { int i = 2 % 2; int i2 = w + 61; s = i2 % 128; int i3 = i2 % 2; Object y_ = h().y_(); int i4 = w + 75; s = i4 % 128; if (i4 % 2 == 0) { return y_; } Object obj = null; obj.hashCode(); throw null; } private C13073fPt h() { if (this.b == null) { synchronized (this.l) { if (this.b == null) { this.b = new C13073fPt(this); } } } return this.b; } private static void aA(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; GuL guL = new GuL(); char[] a = GuL.a(m ^ (-7538262848231253921L), cArr, i); guL.a = 4; while (guL.a < a.length) { int i3 = $11 + 65; $10 = i3 % 128; int i4 = i3 % 2; guL.c = guL.a - 4; int i5 = guL.a; try { Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(m)}; Object obj = xzZ.y.get(428080616); if (obj == null) { Class cls = (Class) xzZ.c(207 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (1705 - TextUtils.indexOf((CharSequence) "", '0', 0))); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, (byte) (b2 | 11), objArr3); obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE); xzZ.y.put(428080616, obj); } a[i5] = ((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((-16776824) - Color.rgb(0, 0, 0), (Process.myTid() >> 22) + 5, (char) KeyEvent.keyCodeFromString("")); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, (byte) (b4 | 13), objArr5); obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class); xzZ.y.put(-1875914398, obj2); } ((Method) obj2).invoke(null, objArr4); int i6 = $10 + 89; $11 = i6 % 128; int i7 = i6 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } String str = new String(a, 4, a.length - 4); int i8 = $10 + 21; $11 = i8 % 128; int i9 = i8 % 2; objArr[0] = str; } @Override // androidx.activity.ComponentActivity, o.GvH public VLM.LWm getDefaultViewModelProviderFactory() { int i = 2 % 2; int i2 = w + 5; s = i2 % 128; Bundle bundle = null; if (i2 % 2 != 0) { super.getDefaultViewModelProviderFactory(); ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a(); getIntent(); bundle.hashCode(); throw null; } VLM.LWm defaultViewModelProviderFactory = super.getDefaultViewModelProviderFactory(); C13068fPo.LWm a = ((C13068fPo.Sts) fOV.c(this, C13068fPo.Sts.class)).a(); if (getIntent() != null) { bundle = getIntent().getExtras(); int i3 = s + 123; w = i3 % 128; int i4 = i3 % 2; } return a.aBN_(this, bundle, defaultViewModelProviderFactory); } /* JADX WARN: Code restructure failed: missing block: B:4:0x00a2, code lost: if (r2 > 99999) goto L6; */ @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 r29) { /* Method dump skipped, instructions count: 1547 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.onCreate(android.os.Bundle):void"); } @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; int i2 = w + 89; s = i2 % 128; int i3 = i2 % 2; Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aB((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.point_x_remaining_balance_p_point_empty).substring(31, 39).length() - 41), (-725648988) - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (-94) - (Process.myPid() >> 22), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_shop_information_shop_email_hint).substring(0, 16).codePointAt(5) - 938611427, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.product_points_and_points_plus_cash).substring(0, 5).codePointAt(4) + 36), objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB((short) (Process.getGidForName("") + 48), (-725648998) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (-102) - ExpandableListView.getPackedPositionGroup(0L), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 938611406, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.fatca_question_title_breadcrumb).substring(11, 12).length() + IpLibUtil.KIPP_BARCODE_DRIVER_FAIL), objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); int i4 = s + 79; w = i4 % 128; int i5 = i4 % 2; } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c(493 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) TextUtils.getTrimmedLength(""))).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(487 - (ViewConfiguration.getTapTimeout() >> 16), (Process.myTid() >> 22) + 5, (char) View.MeasureSpec.getSize(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj2); } ((Method) obj2).invoke(invoke, objArr3); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } /* JADX WARN: Code restructure failed: missing block: B:28:0x0023, code lost: r7 = (java.lang.Object[]) null; r6 = new java.lang.Object[1]; aB((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 67), (android.view.ViewConfiguration.getKeyRepeatTimeout() >> 16) - 725648989, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 128, (-938611395) - android.text.TextUtils.getCapsMode("", 0, 0), (byte) ((android.os.Process.getElapsedCpuTime() > 0 ? 1 : (android.os.Process.getElapsedCpuTime() == 0 ? 0 : -1)) + 67), r6); r6 = java.lang.Class.forName((java.lang.String) r6[0]); r1 = new java.lang.Object[1]; aB((short) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 34), (-725648964) + (android.view.ViewConfiguration.getLongPressTimeout() >> 16), ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 148, (-938611394) + ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.landing_page_learn_more_header).substring(28, 29).length(), (byte) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(com.scb.phone.R.string.point_x_remaining_balance_p).substring(31, 33).length() - 105), r1); r1 = (android.content.Context) r6.getMethod((java.lang.String) r1[0], new java.lang.Class[0]).invoke(null, null); r6 = com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.s + 67; com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.w = r6 % 128; r6 = r6 % 2; */ /* JADX WARN: Code restructure failed: missing block: B:30:0x0021, code lost: if (r1 == null) goto L9; */ /* JADX WARN: Code restructure failed: missing block: B:4:0x001a, code lost: if (r1 == null) goto L9; */ @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void onPause() { /* Method dump skipped, instructions count: 510 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.onPause():void"); } /* JADX WARN: Removed duplicated region for block: B:37:0x01b2 */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aB(short r20, int r21, int r22, int r23, byte r24, java.lang.Object[] r25) { /* Method dump skipped, instructions count: 766 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.aB(short, int, int, int, byte, java.lang.Object[]):void"); } /* JADX WARN: Code restructure failed: missing block: B:13:0x006d, code lost: if (r1 > 99999) goto L10; */ /* JADX WARN: Code restructure failed: missing block: B:6:0x006a, code lost: if (r1 > 99999) goto L10; */ /* JADX WARN: Removed duplicated region for block: B:11:0x0220 */ /* JADX WARN: Removed duplicated region for block: B:9:0x021f A[RETURN] */ @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 /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ public void attachBaseContext(android.content.Context r22) { /* Method dump skipped, instructions count: 809 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccsof.Hilt_CcSofReviewActivity.attachBaseContext(android.content.Context):void"); } @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 = w + 47; s = i2 % 128; int i3 = i2 % 2; super.onStart(); int i4 = s + 27; w = i4 % 128; int i5 = i4 % 2; } }