package com.scb.phone.view.activity.additionaldocument; import android.content.Context; import android.graphics.Color; import android.media.AudioTrack; import android.os.Bundle; import android.os.Process; import android.os.SystemClock; 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 butterknife.BindView; import butterknife.ButterKnife; import butterknife.OnClick; import com.google.android.gms.maps.model.BitmapDescriptorFactory; import com.kofax.kmc.ken.engines.data.Image; import com.kofax.kmc.kui.uicontrols.ImgReviewEditCntrl; import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper; import com.scb.phone.R; import java.io.File; import java.lang.reflect.Method; import net.sf.scuba.smartcards.ISO7816; import o.C12891fKc; import o.C14957gcv; import o.jTb; import o.xzZ; /* loaded from: classes4.dex */ public class ZoomDocumentActivity extends Hilt_ZoomDocumentActivity { private static char k; private static char l; private static char m; /* renamed from: o, reason: collision with root package name */ public static final Sts f6565o; private static int p; private static char[] q; private static char r; private static char s; @BindView public ImgReviewEditCntrl imageReview; private static final byte[] $$p = {37, 38, 5, ISO7816.INS_LOAD_KEY_FILE}; private static final int $$q = 103; private static int $10 = 0; private static int $11 = 1; private static int t = 0; /* JADX WARN: Multi-variable type inference failed */ /* JADX WARN: Removed duplicated region for block: B:10:0x0025 */ /* JADX WARN: Removed duplicated region for block: B:7:0x001d */ /* JADX WARN: Type inference failed for: r8v1, types: [int] */ /* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002c). 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, byte r8, java.lang.Object[] r9) { /* int r7 = r7 * 2 int r0 = r7 + 1 byte[] r1 = com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity.$$p int r8 = r8 + 66 int r6 = r6 * 3 int r6 = 3 - r6 byte[] r0 = new byte[r0] r2 = 0 if (r1 != 0) goto L15 r4 = r8 r3 = r2 r8 = r6 goto L2c L15: r3 = r2 L16: byte r4 = (byte) r8 r0[r3] = r4 int r6 = r6 + 1 if (r3 != r7) goto L25 java.lang.String r6 = new java.lang.String r6.(r0, r2) r9[r2] = r6 return L25: int r3 = r3 + 1 r4 = r1[r6] r5 = r8 r8 = r6 r6 = r5 L2c: int r6 = r6 + r4 r5 = r8 r8 = r6 r6 = r5 goto L16 */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity.aC(byte, int, byte, java.lang.Object[]):void"); } @OnClick public final void onDoneClicked() { int i = 2 % 2; int i2 = t + 25; p = i2 % 128; int i3 = i2 % 2; finish(); if (i3 == 0) { throw null; } } /* loaded from: classes4.dex */ public static final class Sts { private Sts() { } public /* synthetic */ Sts(byte b) { this(); } } @Override // com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onCreate(Bundle bundle) { ImgReviewEditCntrl imgReviewEditCntrl; int i = 2 % 2; Object[] objArr = new Object[1]; aA(new char[]{56048, 23459, 6871, 10731, 30321, 10594, 39205, 18220, 15813, 51778, 44761, 62231, 30667, 62967, 60690, 13017, 64096, 3210}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.commercial_feature_disclaimer_bottom).substring(9, 10).length() + 17, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{'\f', 7, 1, 16, 13908}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_terms_and_conditions_mf_account).substring(37, 38).codePointAt(0) + 54), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.scbs_onboarding_slip).substring(0, 22).length() - 17, objArr2); int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000; if (intValue < 99000 || intValue > 99999) { Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr3 = new Object[1]; aA(new char[]{56048, 23459, 6871, 10731, 30321, 10594, 39205, 18220, 28243, 64760, 16946, 41306, 53509, 59072, 9832, 64397, 24747, 30538, 17168, 11019, 11643, 31272, 57589, 40859, 43856, 48927}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 20, objArr3); Class cls2 = Class.forName((String) objArr3[0]); Object[] objArr4 = new Object[1]; aA(new char[]{31273, 41717, 31789, 56891, 25710, 14455, 23118, 23846, 54697, 31351, 541, 40066, 16876, 39875, 9832, 64397, 6623, 57430}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 17, objArr4); baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null); } if (baseContext != null) { baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj = xzZ.y.get(125943855); if (obj == null) { obj = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 492, ExpandableListView.getPackedPositionType(0L) + 5, (char) ExpandableListView.getPackedPositionType(0L))).getMethod("a", null); xzZ.y.put(125943855, obj); } Object invoke = ((Method) obj).invoke(null, null); Object[] objArr5 = new Object[1]; aB(new char[]{7, 6, 19, 22, 14, '\t', 11, 4, 23, 14, 21, 3, 14, 4, '\b', 4, 4, 14, 3, '\b', 7, 19, 3, 11, 11, 19, '\t', 24, 3, 14, 11, 7, '\t', 16, 1, '\b', '\r', 19, 13852, 13852, 22, 18, 14, 18, 0, 4, 19, 18}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 63), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_atm_cardx_rebrand_description).substring(22, 23).length() + 47, objArr5); String str = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA(new char[]{60322, 888, 37781, 12076, 28862, 36468, 27536, 2026, 50195, 13313, 48324, 48139, 48324, 48139, 25930, 42477, 40669, 43907, 33163, 18059, 2839, 43869, 30175, 20316, 33562, 63504, 10806, 43806, 34914, 44507, 26070, 1063, 39099, 37885, 33711, 7461, 2799, 18850, 5009, 37214, 28862, 36468, 57781, 46850, 9097, 59634, 28862, 36468, 38484, 53907, '~', 61864, 52267, 9088, 17689, 215, 43172, 53085, 19939, 39195, 28862, 36468, 41145, 54323}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6); String str2 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{54583, 61720, 26534, 21641, 40125, 1924, 34630, 36775, 34914, 44507, 50070, 59054, 3234, 63909, 26070, 1063, 7545, 44017, 46827, 37035, 27473, 15847, 1879, 38938, 52267, 9088, 55460, 28489, 17861, 23646, 4724, 39142, 52497, 6416, 36061, 54571, 29753, 32583, 21732, 22015, 140, 6558, 4509, 38531, 59526, 48929, 37781, 12076, 47758, 26287, 39021, 42073, 37971, 21012, 44582, 18474, 21308, 6616, 39305, 60593, 2799, 18850, 22475, 61105}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7); String str3 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{55188, 28885, 47544, 21095, 34074, 1604, 6813, 16775, 57452, 3044, 23278, 12125, 60400, 57283, 12523, 58665, 38548, 50248, 16265, 56246, 58188, 6818, 870, 20438, 27821, 64895, 31785, 54466, 46099, 45645, 15287, 57404, 20266, 51846, 18790, 33993, 62038, 26652, 47586, 37240, 13893, 54579, 20339, 27554, 64796, 18713, 13893, 54579, 33088, 22881, 60400, 57283, 21196, 31383, 28243, 64760, 8797, 2705, 64519, 16590, 54584, 20148, 43981, 2865, 59140, 2540, 11500, 29771, 32650, 6312, 25710, 14455, 43429, 35488}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.data_sharing_consent_decline_dialog_description).substring(44, 45).length() + 73, objArr8); String str4 = (String) objArr8[0]; Object[] objArr9 = new Object[1]; aA(new char[]{34093, 6652, 20058, 44343, 25900, 3824}, Color.green(0) + 5, objArr9); String str5 = (String) objArr9[0]; Object[] objArr10 = new Object[1]; aA(new char[]{15287, 57404, 11400, 65328, 53101, 12323, 41119, 9581, 62514, 50125, 8736, 37993, 58067, 60108, 32635, 14965, 21732, 22015, 28882, 37193, 47758, 26287, 20874, 25713, 50313, 64407, 10821, 39577, 63744, 38672, 56464, 31261, 56779, 50669, 16979, 23962}, 36 - (ViewConfiguration.getWindowTouchSlop() >> 8), objArr10); Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]}; Object obj2 = xzZ.y.get(1656189573); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 487, 5 - View.resolveSizeAndState(0, 0, 0), (char) TextUtils.getOffsetBefore("", 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, objArr11); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } super.onCreate(bundle); setContentView(R.layout.2131558834); ButterKnife.Dg_(this); String stringExtra = getIntent().getStringExtra("IMAGE_PATH_TAG"); if (stringExtra == null) { int i2 = p + 107; t = i2 % 128; int i3 = i2 % 2; stringExtra = ""; } C14957gcv.e(stringExtra, ""); ImgReviewEditCntrl imgReviewEditCntrl2 = this.imageReview; if (imgReviewEditCntrl2 != null) { int i4 = p + 115; int i5 = i4 % 128; t = i5; if (i4 % 2 != 0) { int i6 = 28 / 0; } int i7 = i5 + 79; p = i7 % 128; int i8 = i7 % 2; imgReviewEditCntrl = imgReviewEditCntrl2; } else { C14957gcv.a(""); imgReviewEditCntrl = null; } imgReviewEditCntrl.setImage(new Image(new File(stringExtra), C12891fKc.j(stringExtra))); } private static void aA(char[] cArr, int i, Object[] objArr) { int i2 = 2 % 2; jTb jtb = new jTb(); char[] cArr2 = new char[cArr.length]; int i3 = 0; jtb.b = 0; char[] cArr3 = new char[2]; while (jtb.b < cArr.length) { cArr3[i3] = cArr[jtb.b]; cArr3[1] = cArr[jtb.b + 1]; int i4 = $11 + 107; $10 = i4 % 128; int i5 = i4 % 2; int i6 = 58224; int i7 = i3; while (i7 < 16) { int i8 = $11 + 99; $10 = i8 % 128; int i9 = i8 % 2; char c = cArr3[1]; char c2 = cArr3[i3]; char[] cArr4 = cArr3; try { Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i6) ^ ((c2 << 4) + ((char) (m ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(s)}; Object obj = xzZ.y.get(597144044); if (obj == null) { Class cls = (Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 412, View.resolveSize(0, 0) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16)); byte b = (byte) 0; byte b2 = b; Object[] objArr3 = new Object[1]; aC(b, b2, b2, objArr3); obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj); } char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue(); cArr4[1] = charValue; Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (l ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(k)}; Object obj2 = xzZ.y.get(597144044); if (obj2 == null) { Class cls2 = (Class) xzZ.c(View.resolveSize(0, 0) + 412, 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (TextUtils.lastIndexOf("", '0', 0) + 1)); byte b3 = (byte) 0; byte b4 = b3; Object[] objArr5 = new Object[1]; aC(b3, b4, b4, objArr5); obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE); xzZ.y.put(597144044, obj2); } cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue(); i6 -= 40503; i7++; cArr3 = cArr4; i3 = 0; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } char[] cArr5 = cArr3; cArr2[jtb.b] = cArr5[0]; cArr2[jtb.b + 1] = cArr5[1]; Object[] objArr6 = {jtb, jtb}; Object obj3 = xzZ.y.get(943004485); if (obj3 == null) { Class cls3 = (Class) xzZ.c((ViewConfiguration.getEdgeSlop() >> 16) + 98, TextUtils.getCapsMode("", 0, 0) + 5, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)))); byte b5 = (byte) 0; byte b6 = b5; Object[] objArr7 = new Object[1]; aC(b5, b6, (byte) (b6 + 1), objArr7); obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class); xzZ.y.put(943004485, obj3); } ((Method) obj3).invoke(null, objArr6); cArr3 = cArr5; i3 = 0; } objArr[0] = new String(cArr2, 0, i); } @Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity public void onDestroy() { int i = 2 % 2; super.onDestroy(); ImgReviewEditCntrl imgReviewEditCntrl = this.imageReview; ImgReviewEditCntrl imgReviewEditCntrl2 = null; if (imgReviewEditCntrl != null) { int i2 = p + 1; t = i2 % 128; int i3 = i2 % 2; } else { C14957gcv.a(""); imgReviewEditCntrl = null; } if (imgReviewEditCntrl.getImage() != null) { int i4 = p + 125; t = i4 % 128; if (i4 % 2 != 0) { throw null; } ImgReviewEditCntrl imgReviewEditCntrl3 = this.imageReview; if (imgReviewEditCntrl3 == null) { C14957gcv.a(""); imgReviewEditCntrl3 = null; } imgReviewEditCntrl3.getImage().imageClearBitmap(); ImgReviewEditCntrl imgReviewEditCntrl4 = this.imageReview; if (imgReviewEditCntrl4 != null) { int i5 = t + 59; p = i5 % 128; int i6 = i5 % 2; imgReviewEditCntrl2 = imgReviewEditCntrl4; } else { C14957gcv.a(""); } imgReviewEditCntrl2.clearImage(); } } @Override // com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity, 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 = p + 49; t = i2 % 128; Object obj = null; if (i2 % 2 != 0) { getBaseContext(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aA(new char[]{56048, 23459, 6871, 10731, 30321, 10594, 39205, 18220, 28243, 64760, 16946, 41306, 53509, 59072, 9832, 64397, 24747, 30538, 17168, 11019, 11643, 31272, 57589, 40859, 43856, 48927}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_recipient_dob_input_hint).substring(0, 10).length() + 16, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new char[]{31273, 41717, 31789, 56891, 25710, 14455, 23118, 23846, 54697, 31351, 541, 40066, 16876, 39875, 9832, 64397, 6623, 57430}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i3 = p + 39; t = i3 % 128; if (i3 % 2 != 0) { baseContext.getApplicationContext(); obj.hashCode(); throw null; } baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 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(1378719468); if (obj3 == null) { obj3 = ((Class) xzZ.c(487 - Gravity.getAbsoluteGravity(0, 0), KeyEvent.keyCodeFromString("") + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class); xzZ.y.put(1378719468, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i4 = p + 91; t = i4 % 128; int i5 = i4 % 2; } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onResume(); } @Override // com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity public void onPause() { int i = 2 % 2; int i2 = p + 93; t = i2 % 128; Object obj = null; if (i2 % 2 != 0) { getBaseContext(); obj.hashCode(); throw null; } Context baseContext = getBaseContext(); if (baseContext == null) { Object[] objArr = new Object[1]; aA(new char[]{56048, 23459, 6871, 10731, 30321, 10594, 39205, 18220, 28243, 64760, 16946, 41306, 53509, 59072, 9832, 64397, 24747, 30538, 17168, 11019, 11643, 31272, 57589, 40859, 43856, 48927}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.easycash_success_subtitle_successfull_request_credit_card).substring(27, 31).codePointAt(1) - 11, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aA(new char[]{31273, 41717, 31789, 56891, 25710, 14455, 23118, 23846, 54697, 31351, 541, 40066, 16876, 39875, 9832, 64397, 6623, 57430}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2); baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null); } if (baseContext != null) { int i3 = t + 125; p = i3 % 128; int i4 = i3 % 2; baseContext = baseContext.getApplicationContext(); } if (baseContext != null) { try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(View.resolveSizeAndState(0, 0, 0) + 492, TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getFadingEdgeLength() >> 16))).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.getMaximumDrawingCacheSize() >> 24), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (char) View.resolveSizeAndState(0, 0, 0))).getMethod("c", Context.class); xzZ.y.put(1633456013, obj3); } ((Method) obj3).invoke(invoke, objArr3); int i5 = t + 63; p = i5 % 128; if (i5 % 2 == 0) { int i6 = 2 / 2; } } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } super.onPause(); } /* JADX WARN: Code restructure failed: missing block: B:42:0x0147, code lost: if (r2.b == r2.c) goto L41; */ /* JADX WARN: Code restructure failed: missing block: B:44:0x0176, code lost: r10 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), r2}; r4 = o.xzZ.y.get(822107368); */ /* JADX WARN: Code restructure failed: missing block: B:45:0x01c4, code lost: if (r4 == null) goto L46; */ /* JADX WARN: Code restructure failed: missing block: B:49:0x0250, code lost: if (((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r10)).intValue() != r2.j) goto L62; */ /* JADX WARN: Code restructure failed: missing block: B:52:0x0254, code lost: r9 = new java.lang.Object[]{r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, r2, java.lang.Integer.valueOf(r1), java.lang.Integer.valueOf(r1), r2, java.lang.Integer.valueOf(r1), r2}; r4 = o.xzZ.y.get(-1152873385); */ /* JADX WARN: Code restructure failed: missing block: B:53:0x0293, code lost: if (r4 == null) goto L54; */ /* JADX WARN: Code restructure failed: missing block: B:55:0x0308, code lost: r10 = null; r4 = ((java.lang.Integer) ((java.lang.reflect.Method) r4).invoke(null, r9)).intValue(); */ /* JADX WARN: Code restructure failed: missing block: B:56:0x0315, code lost: r9 = (r2.d * r1) + r2.j; r5[r2.e] = r3[r4]; r5[r2.e + 1] = r3[r9]; */ /* JADX WARN: Code restructure failed: missing block: B:58:0x037b, code lost: r2.e += 2; r4 = com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity.$11 + 35; com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity.$10 = r4 % 128; r4 = r4 % 2; r4 = r10; */ /* JADX WARN: Code restructure failed: missing block: B:59:0x0297, code lost: r4 = (java.lang.Class) o.xzZ.c(327 - (android.view.ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - (android.view.ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) android.text.TextUtils.indexOf("", "", 0)); r11 = (byte) 0; r12 = r11; r14 = new java.lang.Object[1]; aC(r11, r12, (byte) (r12 | net.sf.scuba.smartcards.ISO7816.INS_DECREASE_STAMPED), r14); r4 = r4.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class); o.xzZ.y.put(-1152873385, r4); */ /* JADX WARN: Code restructure failed: missing block: B:61:0x0329, code lost: r0 = move-exception; */ /* JADX WARN: Code restructure failed: missing block: B:62:0x032a, code lost: r1 = r0.getCause(); */ /* JADX WARN: Code restructure failed: missing block: B:63:0x032e, code lost: if (r1 != null) goto L60; */ /* JADX WARN: Code restructure failed: missing block: B:64:0x0330, code lost: throw r1; */ /* JADX WARN: Code restructure failed: missing block: B:65:0x0331, code lost: throw r0; */ /* JADX WARN: Code restructure failed: missing block: B:66:0x0332, code lost: r10 = null; */ /* JADX WARN: Code restructure failed: missing block: B:67:0x0338, code lost: if (r2.a != r2.d) goto L65; */ /* JADX WARN: Code restructure failed: missing block: B:68:0x033a, code lost: r2.f = ((r2.f + r1) - 1) % r1; r2.j = ((r2.j + r1) - 1) % r1; r4 = (r2.a * r1) + r2.f; r9 = (r2.d * r1) + r2.j; r5[r2.e] = r3[r4]; r5[r2.e + 1] = r3[r9]; */ /* JADX WARN: Code restructure failed: missing block: B:70:0x0362, code lost: r4 = (r2.a * r1) + r2.j; r9 = (r2.d * r1) + r2.f; r5[r2.e] = r3[r4]; r5[r2.e + 1] = r3[r9]; */ /* JADX WARN: Code restructure failed: missing block: B:72:0x01c7, code lost: r4 = (java.lang.Class) o.xzZ.c(233 - (android.os.Process.myPid() >> 22), 6 - (android.os.Process.getElapsedCpuTime() > 0 ? 1 : (android.os.Process.getElapsedCpuTime() == 0 ? 0 : -1)), (char) (22024 - android.view.View.resolveSizeAndState(0, 0, 0))); r11 = (byte) 0; r13 = r11; r14 = new java.lang.Object[1]; aC(r11, r13, (byte) (r13 | 54), r14); r4 = r4.getMethod((java.lang.String) r14[0], java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class, java.lang.Object.class, java.lang.Integer.TYPE, java.lang.Object.class); o.xzZ.y.put(822107368, r4); */ /* JADX WARN: Code restructure failed: missing block: B:74:0x015d, code lost: r5[r2.e] = (char) (r2.b - r29); r5[r2.e + 1] = (char) (r2.c - r29); r10 = r4; */ /* JADX WARN: Code restructure failed: missing block: B:77:0x015b, code lost: if (r2.b == r2.c) goto L41; */ /* Code decompiled incorrectly, please refer to instructions dump. To view partially-correct add '--show-bad-code' argument */ private static void aB(char[] r28, byte r29, int r30, java.lang.Object[] r31) { /* Method dump skipped, instructions count: 961 To view this dump add '--comments-level debug' option */ throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.additionaldocument.ZoomDocumentActivity.aB(char[], byte, int, java.lang.Object[]):void"); } @Override // com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity, 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; int i2 = p + 47; t = i2 % 128; int i3 = i2 % 2; super.attachBaseContext(context); Object[] objArr = new Object[1]; aA(new char[]{56048, 23459, 6871, 10731, 30321, 10594, 39205, 18220, 15813, 51778, 44761, 62231, 30667, 62967, 60690, 13017, 64096, 3210}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 18, objArr); Class cls = Class.forName((String) objArr[0]); Object[] objArr2 = new Object[1]; aB(new char[]{'\f', 7, 1, 16, 13908}, (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 85), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, 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 || intValue > 99999) { if (context != null) { int i4 = p + 3; t = i4 % 128; if (i4 % 2 != 0) { context.getApplicationContext(); obj.hashCode(); throw null; } context2 = context.getApplicationContext(); } else { context2 = context; } if (context2 != null) { int i5 = p + 11; t = i5 % 128; int i6 = i5 % 2; try { Object obj2 = xzZ.y.get(125943855); if (obj2 == null) { obj2 = ((Class) xzZ.c(492 - KeyEvent.keyCodeFromString(""), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null); xzZ.y.put(125943855, obj2); } Object invoke = ((Method) obj2).invoke(null, null); Object[] objArr3 = new Object[1]; aB(new char[]{7, 6, 19, 22, 14, '\t', 11, 4, 23, 14, 21, 3, 14, 4, '\b', 4, 4, 14, 3, '\b', 7, 19, 3, 11, 11, 19, '\t', 24, 3, 14, 11, 7, '\t', 16, 1, '\b', '\r', 19, 13852, 13852, 22, 18, 14, 18, 0, 4, 19, 18}, (byte) (ExpandableListView.getPackedPositionChild(0L) + 37), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 47, objArr3); String str = (String) objArr3[0]; Object[] objArr4 = new Object[1]; aA(new char[]{60322, 888, 37781, 12076, 28862, 36468, 27536, 2026, 50195, 13313, 48324, 48139, 48324, 48139, 25930, 42477, 40669, 43907, 33163, 18059, 2839, 43869, 30175, 20316, 33562, 63504, 10806, 43806, 34914, 44507, 26070, 1063, 39099, 37885, 33711, 7461, 2799, 18850, 5009, 37214, 28862, 36468, 57781, 46850, 9097, 59634, 28862, 36468, 38484, 53907, '~', 61864, 52267, 9088, 17689, 215, 43172, 53085, 19939, 39195, 28862, 36468, 41145, 54323}, 65 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), objArr4); String str2 = (String) objArr4[0]; Object[] objArr5 = new Object[1]; aA(new char[]{54583, 61720, 26534, 21641, 40125, 1924, 34630, 36775, 34914, 44507, 50070, 59054, 3234, 63909, 26070, 1063, 7545, 44017, 46827, 37035, 27473, 15847, 1879, 38938, 52267, 9088, 55460, 28489, 17861, 23646, 4724, 39142, 52497, 6416, 36061, 54571, 29753, 32583, 21732, 22015, 140, 6558, 4509, 38531, 59526, 48929, 37781, 12076, 47758, 26287, 39021, 42073, 37971, 21012, 44582, 18474, 21308, 6616, 39305, 60593, 2799, 18850, 22475, 61105}, 64 - Color.argb(0, 0, 0, 0), objArr5); String str3 = (String) objArr5[0]; Object[] objArr6 = new Object[1]; aA(new char[]{55188, 28885, 47544, 21095, 34074, 1604, 6813, 16775, 57452, 3044, 23278, 12125, 60400, 57283, 12523, 58665, 38548, 50248, 16265, 56246, 58188, 6818, 870, 20438, 27821, 64895, 31785, 54466, 46099, 45645, 15287, 57404, 20266, 51846, 18790, 33993, 62038, 26652, 47586, 37240, 13893, 54579, 20339, 27554, 64796, 18713, 13893, 54579, 33088, 22881, 60400, 57283, 21196, 31383, 28243, 64760, 8797, 2705, 64519, 16590, 54584, 20148, 43981, 2865, 59140, 2540, 11500, 29771, 32650, 6312, 25710, 14455, 43429, 35488}, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 75, objArr6); String str4 = (String) objArr6[0]; Object[] objArr7 = new Object[1]; aA(new char[]{34093, 6652, 20058, 44343, 25900, 3824}, 5 - (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)), objArr7); String str5 = (String) objArr7[0]; Object[] objArr8 = new Object[1]; aA(new char[]{15287, 57404, 11400, 65328, 53101, 12323, 41119, 9581, 62514, 50125, 8736, 37993, 58067, 60108, 32635, 14965, 21732, 22015, 28882, 37193, 47758, 26287, 20874, 25713, 50313, 64407, 10821, 39577, 63744, 38672, 56464, 31261, 56779, 50669, 16979, 23962}, (KeyEvent.getMaxKeyCode() >> 16) + 36, 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(486 - TextUtils.lastIndexOf("", '0', 0), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class); xzZ.y.put(1656189573, obj3); } ((Method) obj3).invoke(invoke, objArr9); } catch (Throwable th) { Throwable cause = th.getCause(); if (cause == null) { throw th; } throw cause; } } } int i7 = t + 105; p = i7 % 128; int i8 = i7 % 2; } static void g() { l = (char) 49574; k = (char) 18791; m = (char) 54077; s = (char) 56236; q = new char[]{35371, 49106, 49098, 49035, 49104, 49028, 49026, 49118, 35373, 49024, 35375, 49114, 49111, 49034, 49109, 35372, 49029, 49031, 49110, 49030, 35370, 49126, 35368, 49025, 49105}; r = (char) 35372; } @Override // com.scb.phone.view.activity.additionaldocument.Hilt_ZoomDocumentActivity, 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 = p + 45; t = i2 % 128; int i3 = i2 % 2; super.onStart(); if (i3 != 0) { Object obj = null; obj.hashCode(); throw null; } int i4 = p + 105; t = i4 % 128; int i5 = i4 % 2; } static { p = 1; g(); f6565o = new Sts((byte) 0); int i = t + 43; p = i % 128; if (i % 2 == 0) { throw null; } } }