what-the-bank/sources/com/scb/phone/view/activity/hml/HmlBusinessAddressActivity....

718 lines
45 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.hml;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
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.common.base.Ascii;
import com.google.common.primitives.SignedBytes;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.hml.HmlAddressFragment;
import com.scb.phone.view.fragment.hml.businessowner.HmlBusinessAddressFragment;
import java.lang.reflect.Method;
import net.sf.scuba.smartcards.ISO7816;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC13482fbE;
import o.C14957gcv;
import o.GJE;
import o.SP;
import o.TVH;
import o.xzZ;
import org.jmrtd.lds.CVCAFile;
/* loaded from: classes4.dex */
public class HmlBusinessAddressActivity extends Hilt_HmlBusinessAddressActivity implements HmlAddressFragment.RVV {
public static final RVV b;
private static int k;
private static int l;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static char[] f7254o;
private static int p;
private static byte[] r;
private static short[] s;
private static final byte[] $$H = {8, 78, -66, ISO7816.INS_PSO};
private static final int $$I = 3;
private static int $10 = 0;
private static int $11 = 1;
private static int q = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> B:4:0x0028). 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 aO(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 4
int r0 = 1 - r6
int r7 = 110 - r7
byte[] r1 = com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.$$H
int r5 = r5 * 2
int r5 = r5 + 4
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r6
r4 = r2
goto L28
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L26
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L26:
r3 = r1[r5]
L28:
int r5 = r5 + 1
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.aO(byte, byte, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity
protected final int h() {
Intent intent;
int i = 2 % 2;
int i2 = q + 119;
p = i2 % 128;
if (i2 % 2 == 0) {
intent = getIntent();
int i3 = 3 / 0;
if (intent == null) {
return R.string.hml_business_info_address_title;
}
} else {
intent = getIntent();
if (intent == null) {
return R.string.hml_business_info_address_title;
}
}
int i4 = p + 115;
q = i4 % 128;
int i5 = i4 % 2;
int intExtra = intent.getIntExtra("EXTRA_DISPLAY", R.string.hml_business_info_address_title);
int i6 = p + 9;
q = i6 % 128;
int i7 = i6 % 2;
return intExtra;
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.InterfaceC9269dgZ
public final void c(SP sp, GJE.Sts sts) {
int i = 2 % 2;
C14957gcv.e(sts, "");
AbstractC13482fbE a = getSupportFragmentManager().a();
HmlBusinessAddressFragment.IeS ieS = HmlBusinessAddressFragment.c;
C14957gcv.e(sts, "");
HmlBusinessAddressFragment hmlBusinessAddressFragment = new HmlBusinessAddressFragment();
Bundle bundle = new Bundle();
bundle.putParcelable("com.scb.phone.view.fragment.easycash.financial_information.ADDRESS_DISPLAY", sp);
bundle.putSerializable("com.scb.phone.EXTRA_ADDRESS_TYPE", sts);
hmlBusinessAddressFragment.setArguments(bundle);
a.b(R.id.container, hmlBusinessAddressFragment, null, 1);
a.b();
int i2 = p + 107;
q = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlBusinessAddressActivity, com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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) {
int i = 2 % 2;
int i2 = p + 103;
q = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aL(new int[]{0, 18, 0, 13}, false, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_successful_scbs_detail_remark).substring(0, 10).length() + 109), 517601478 - View.combineMeasuredStates(0, 0), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 118, (-1870963831) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 101;
q = i4 % 128;
int i5 = i4 % 2;
Object[] objArr3 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 19), 517601482 + (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (-63) - View.MeasureSpec.makeMeasureSpec(0, 0), (-1870963841) + ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_scbs_open_mf_and_om_checkbox).substring(4, 5).codePointAt(0), (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 111), objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aL(new int[]{18, 18, 50, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i6 = p + 31;
q = i6 % 128;
int i7 = i6 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 492, 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aN((short) ((-90) - (ViewConfiguration.getDoubleTapTimeout() >> 16)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 517601396, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.old_points_label).substring(0, 4).length() - 45, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 1870963903, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.close_account_details_interest_rate).substring(13, 17).codePointAt(2) - 37), objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 36), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) + 517601508, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_flow_simulator_summary_business_step_desc).substring(31, 32).length() - 26, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.announce_cheque_detail).substring(24, 25).length() - 1870963806, (byte) ((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) - 1), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aL(new int[]{36, 64, 0, 59}, true, new byte[]{0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.successful_qr_code_transfer_header).substring(19, 20).codePointAt(0) - 38), Color.rgb(0, 0, 0) + 534378833, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 49, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1870963836, (byte) (ViewConfiguration.getTapTimeout() >> 16), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aL(new int[]{100, 5, 0, 2}, false, new byte[]{0, 0, 1, 1, 0}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.redeem_tesg_dialog_description).substring(88, 89).length() - 45), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 517601656, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) - 164, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1870963839, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(5) - 99), 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(487 - Color.red(0), KeyEvent.normalizeMetaState(0) + 5, (char) ((-1) - Process.getGidForName("")))).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);
int i8 = q + 123;
p = i8 % 128;
int i9 = i8 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlBusinessAddressActivity, com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 = q + 123;
p = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aN((short) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 19), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_add_scbs_account_stop_2).substring(105, 106).length() + 517601481, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_request_contact_message).substring(35, 37).codePointAt(1) - 118, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.registration_facial_verification_locked_no_card_button_return_label).substring(14, 15).codePointAt(0) - 1870963841, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aL(new int[]{18, 18, 50, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i4 = p + 53;
q = i4 % 128;
if (i4 % 2 != 0) {
int i5 = 4 / 4;
}
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - ExpandableListView.getPackedPositionGroup(0L), 5 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 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(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(View.getDefaultSize(0, 0) + 487, 5 - Gravity.getAbsoluteGravity(0, 0), (char) View.resolveSize(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
private static void aL(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3 = 2 % 2;
TVH tvh = new TVH();
int i4 = 0;
int i5 = iArr[0];
int i6 = iArr[1];
int i7 = iArr[2];
int i8 = 3;
int i9 = iArr[3];
char[] cArr = f7254o;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i4] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - View.resolveSizeAndState(i4, i4, i4), 5 - View.resolveSize(i4, i4), (char) (AndroidCharacter.getMirror('0') + 41929));
byte b2 = (byte) ($$I - i8);
byte b3 = b2;
Object[] objArr3 = new Object[1];
aO(b2, b3, (byte) (b3 | 39), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
i4 = 0;
i8 = 3;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i6];
System.arraycopy(cArr, i5, cArr3, 0, i6);
if (bArr != null) {
char[] cArr4 = new char[i6];
tvh.c = 0;
char c = 0;
while (tvh.c < i6) {
int i11 = $10 + 121;
$11 = i11 % 128;
int i12 = i11 % 2;
if (bArr[tvh.c] == 1) {
int i13 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(502 - (ViewConfiguration.getFadingEdgeLength() >> 16), TextUtils.getTrimmedLength("") + 5, (char) (54 - TextUtils.getOffsetBefore("", 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i14 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 15, 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) (58134 - TextUtils.getCapsMode("", 0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i14] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c((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)) + 402, Color.argb(0, 0, 0, 0) + 5, (char) (Color.blue(0) + 21608));
byte b4 = (byte) ($$I - 3);
byte b5 = b4;
Object[] objArr7 = new Object[1];
aO(b4, b5, (byte) (b5 | 37), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i9 > 0) {
int i15 = $11 + 65;
$10 = i15 % 128;
if (i15 % 2 != 0) {
char[] cArr5 = new char[i6];
i = 0;
System.arraycopy(cArr3, 1, cArr5, 0, i6);
System.arraycopy(cArr5, 1, cArr3, i6 % i9, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i6 * i9);
} else {
i = 0;
char[] cArr6 = new char[i6];
System.arraycopy(cArr3, 0, cArr6, 0, i6);
int i16 = i6 - i9;
System.arraycopy(cArr6, 0, cArr3, i16, i9);
System.arraycopy(cArr6, i9, cArr3, 0, i16);
}
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i6];
while (true) {
tvh.c = i;
if (tvh.c >= i6) {
break;
}
int i17 = $11 + 1;
$10 = i17 % 128;
if (i17 % 2 != 0) {
cArr7[tvh.c] = cArr3[i6 << tvh.c];
i = tvh.c / 0;
} else {
cArr7[tvh.c] = cArr3[(i6 - tvh.c) - 1];
i = tvh.c + 1;
}
}
cArr3 = cArr7;
}
if (i7 > 0) {
tvh.c = 0;
int i18 = $11 + 85;
while (true) {
$10 = i18 % 128;
int i19 = i18 % 2;
if (tvh.c >= i6) {
break;
}
int i20 = $10 + 33;
$11 = i20 % 128;
if (i20 % 2 == 0) {
cArr3[tvh.c] = (char) (cArr3[tvh.c] / iArr[2]);
i2 = tvh.c % 1;
} else {
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i2 = tvh.c + 1;
}
tvh.c = i2;
i18 = $11 + 65;
}
}
objArr[0] = new String(cArr3);
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlBusinessAddressActivity, com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aN((short) (16 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 517601481, (-63) - KeyEvent.getDeadChar(0, 0), (Process.myPid() >> 22) - 1870963809, (byte) Color.alpha(0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aL(new int[]{18, 18, 50, 0}, true, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 0}, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i2 = p + 47;
q = i2 % 128;
int i3 = i2 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = p + 39;
q = i4 % 128;
try {
if (i4 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(491 - TextUtils.lastIndexOf("", '0', 0, 0), Color.rgb(0, 0, 0) + 16777221, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) View.resolveSizeAndState(0, 0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i5 = 51 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 492, Drawable.resolveOpacity(0, 0) + 5, (char) KeyEvent.normalizeMetaState(0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(Color.green(0) + 487, 5 - Color.argb(0, 0, 0, 0), (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
/* JADX WARN: Code restructure failed: missing block: B:16:0x00a0, code lost:
if (r3 != null) goto L22;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x0129, code lost:
if (r3 == null) goto L45;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x012b, code lost:
r0 = com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.r;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0130, code lost:
r8 = new java.lang.Object[]{java.lang.Integer.valueOf(r19), java.lang.Integer.valueOf(com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.k)};
r3 = o.xzZ.y.get(-2092856797);
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x014b, code lost:
if (r3 == null) goto L42;
*/
/* JADX WARN: Code restructure failed: missing block: B:23:0x01a4, code lost:
r3 = (byte) (((byte) (r0[((java.lang.Integer) ((java.lang.reflect.Method) r3).invoke(null, r8)).intValue()] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.l ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:24:0x014e, code lost:
r3 = (java.lang.Class) o.xzZ.c(android.view.View.MeasureSpec.makeMeasureSpec(0, 0) + 337, 6 - (android.os.SystemClock.currentThreadTimeMillis() > (-1) ? 1 : (android.os.SystemClock.currentThreadTimeMillis() == (-1) ? 0 : -1)), (char) (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.util.TypedValue.complexToFraction(0, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED, com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED) == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
r7 = (byte) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.$$I - 3);
r10 = r7;
r12 = new java.lang.Object[1];
aO(r7, r10, r10, r12);
r3 = r3.getMethod((java.lang.String) r12[0], java.lang.Integer.TYPE, java.lang.Integer.TYPE);
o.xzZ.y.put(-2092856797, r3);
*/
/* JADX WARN: Code restructure failed: missing block: B:25:0x01b7, code lost:
r3 = (short) (((short) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.s[r19 + ((int) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.k ^ (-7303220121662775787L)))] ^ (-7303220121662775787L))) + ((int) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.l ^ (-7303220121662775787L))));
*/
/* JADX WARN: Code restructure failed: missing block: B:26:0x00a7, code lost:
r14 = r3.length;
r15 = new byte[r14];
r13 = 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:27:0x00ab, code lost:
if (r13 >= r14) goto L84;
*/
/* JADX WARN: Code restructure failed: missing block: B:30:0x00af, code lost:
r7 = new java.lang.Object[]{java.lang.Integer.valueOf(r3[r13])};
r0 = o.xzZ.y.get(-1648115392);
*/
/* JADX WARN: Code restructure failed: missing block: B:31:0x00c4, code lost:
if (r0 == null) goto L28;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x0111, code lost:
r15[r13] = ((java.lang.Byte) ((java.lang.reflect.Method) r0).invoke(null, r7)).byteValue();
r13 = r13 + 1;
r8 = '0';
r10 = 3;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x00c7, code lost:
r0 = (java.lang.Class) o.xzZ.c(60 - (android.os.Process.myTid() >> 22), 4 - android.text.TextUtils.lastIndexOf("", r8, 0, 0), (char) android.view.View.resolveSizeAndState(0, 0, 0));
r8 = (byte) (com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.$$I - r10);
r11 = r8;
r10 = new java.lang.Object[1];
aO(r8, r11, (byte) (r11 + 2), r10);
r0 = r0.getMethod((java.lang.String) r10[0], java.lang.Integer.TYPE);
o.xzZ.y.put(-1648115392, r0);
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x011f, code lost:
r0 = move-exception;
*/
/* JADX WARN: Code restructure failed: missing block: B:38:0x0120, code lost:
r1 = r0.getCause();
*/
/* JADX WARN: Code restructure failed: missing block: B:39:0x0124, code lost:
if (r1 != null) goto L34;
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x0126, code lost:
throw r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:42:0x0127, code lost:
throw r0;
*/
/* JADX WARN: Code restructure failed: missing block: B:44:0x0128, code lost:
r3 = r15;
*/
/* JADX WARN: Code restructure failed: missing block: B:46:0x00a5, code lost:
if (r3 != null) goto L22;
*/
/* JADX WARN: Removed duplicated region for block: B:85:0x030a */
/* JADX WARN: Removed duplicated region for block: B:86:0x030b */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aN(short r18, int r19, int r20, int r21, byte r22, java.lang.Object[] r23) {
/*
Method dump skipped, instructions count: 780
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.hml.HmlBusinessAddressActivity.aN(short, int, int, int, byte, java.lang.Object[]):void");
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlBusinessAddressActivity, com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 = q + 55;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aL(new int[]{0, 18, 0, 13}, false, new byte[]{1, 1, 0, 1, 0, 1, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aN((short) (119 - View.combineMeasuredStates(0, 0)), View.combineMeasuredStates(0, 0) + 517601478, (-83) - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (-1870963797) - (ViewConfiguration.getLongPressTimeout() >> 16), (byte) (ViewConfiguration.getKeyRepeatTimeout() >> 16), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = p + 125;
q = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context2 = context.getApplicationContext();
int i6 = p + 57;
q = i6 % 128;
int i7 = i6 % 2;
} else {
context2 = context;
}
if (context2 != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ViewConfiguration.getPressedStateDuration() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aN((short) (View.resolveSizeAndState(0, 0, 0) - 90), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 517601506, ExpandableListView.getPackedPositionChild(0L) - 40, (ViewConfiguration.getScrollDefaultDelay() >> 16) - 1870963857, (byte) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aN((short) (TextUtils.indexOf((CharSequence) "", '0') + 71), (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 517601554, (ViewConfiguration.getScrollBarFadeDuration() >> 16) - 25, View.combineMeasuredStates(0, 0) - 1870963805, (byte) (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aL(new int[]{36, 64, 0, 59}, true, new byte[]{0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aN((short) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) - 6), 517601617 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), Drawable.resolveOpacity(0, 0) - 15, (-1870963802) - (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)), (byte) Gravity.getAbsoluteGravity(0, 0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aL(new int[]{100, 5, 0, 2}, false, new byte[]{0, 0, 1, 1, 0}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aN((short) ((ViewConfiguration.getEdgeSlop() >> 16) - 44), 517601690 - (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)), (-52) - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1870963806, (byte) (ViewConfiguration.getEdgeSlop() >> 16), objArr8);
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 487, Color.alpha(0) + 5, (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, obj2);
}
((Method) obj2).invoke(invoke, objArr9);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
static void n() {
f7254o = new char[]{39999, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40059, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40027, 40107, 40085, 40107, 40087, 40095, 40083, 40087, 40107, 40105, 40065, 40071, 40104, 40080, 40086, 40111, 40110, 40085, 39992, 40040, 40003, 40000, 40000, 39999, 39996, 39996, 39998, 40000, 40040, 40040, 40006, 40007, 40047, 40007, 39999, 39993, 39993, 39992, 39994, 39994, 39992, 39998, 40000, 40042, 40000, 40007, 40005, 39996, 39996, 40005, 40046, 40004, 40006, 40001, 39999, 39992, 39995, 39995, 40000, 40047, 40042, 40007, 39999, 39993, 40000, 40040, 40007, 39997, 39998, 40000, 40046, 40007, 40001, 40001, 39994, 39999, 40007, 40007, 40006, 40006, 39997, 40000, 39964, 39972, 39999, 39992, 39992};
k = -1293412049;
l = 1406017100;
m = 1011530455;
r = new byte[]{-111, -120, ISO7816.INS_MANAGE_CHANNEL, Byte.MIN_VALUE, -31, -8, -15, -18, 16, -39, -29, -23, -15, -21, -13, Ascii.ETB, 6, 17, -70, ISO7816.INS_DELETE_FILE, Ascii.NAK, 49, -82, -7, -2, -5, -22, -14, -21, 60, -110, 58, -99, 67, 74, 73, 63, 79, CVCAFile.CAR_TAG, 76, -102, 70, 72, 75, 79, ISO7816.INS_INCREASE, -112, 37, -99, 57, -110, 63, -110, 39, -110, 78, SignedBytes.MAX_POWER_OF_TWO, 117, 76, 62, -111, 74, 62, -100, 57, -100, 70, ISO7816.INS_CHANGE_CHV, 78, SignedBytes.MAX_POWER_OF_TWO, 72, -97, 62, -99, CVCAFile.CAR_TAG, 117, ISOFileInfo.AB, -84, -13, -83, -44, -99, -16, ISOFileInfo.PROP_INFO, -14, -94, -102, -13, -98, -3, -101, -87, -13, -86, -93, -84, -102, -84, -13, -101, -81, -15, -88, -101, -13, -83, -81, -84, -41, -92, -44, -100, -8, ISOFileInfo.A1, -88, -84, -104, -16, -104, -2, -82, -94, -83, -86, ISOFileInfo.A1, -82, ISOFileInfo.AB, -93, ISOFileInfo.AB, -94, -97, -13, -86, -103, -13, -98, -4, -101, -94, 16, Ascii.EM, Ascii.SUB, ISO7816.INS_CREATE_FILE, 2, 41, Ascii.SYN, -41, 88, -44, Ascii.DC2, 1, 17, -22, 30, 85, -39, -22, 0, 45, -35, 17, 7, 46, ISO7816.INS_PUT_DATA, -20, 2, -25, Ascii.US, 17, 0, -19, 2, -25, 1, ISO7816.INS_PSO, -43, Ascii.DC2, 13, 17, ISO7816.INS_CREATE_FILE, 12, Ascii.ETB, -20, 5, -17, 89, ISO7816.INS_UPDATE_RECORD, Ascii.SYN, 6, 16, -23, 4, -21, Ascii.EM, ISO7816.INS_APPEND_RECORD, 6, -21, 19, 17, 7, -23, 7, -21, -23, 95, 19, -18, ISO7816.INS_LOAD_KEY_FILE, 28, Ascii.ETB, 19, 7, 117, 61, 56, 62, -21, 63, 79, Ascii.ETB, 78, -18, 72, ISO7816.INS_CHANGE_CHV, -29, 63, 58, 56, 117, 61, 57, 62, 63, 38, ISO7816.INS_APPEND_RECORD, 60, 116, 51, 32, 60, 61, ISO7816.INS_INCREASE, Ascii.DC4, 73, 59, -24, 61, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK, Ascii.NAK};
}
@Override // com.scb.phone.view.activity.hml.Hilt_HmlBusinessAddressActivity, com.scb.phone.view.activity.hml.HmlBaseAddressActivity, o.AbstractActivityC8540dOg, 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 + 41;
q = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = q + 125;
p = i4 % 128;
int i5 = i4 % 2;
}
static {
p = 1;
n();
b = new RVV((byte) 0);
int i = q + 61;
p = i % 128;
int i2 = i % 2;
}
}