what-the-bank/sources/com/scb/phone/view/activity/donations/SharingMomentsPreviewActivi...

627 lines
37 KiB
Java

package com.scb.phone.view.activity.donations;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
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.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import android.widget.FrameLayout;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.donations.SharingMomentsPreviewFragment;
import java.lang.reflect.Method;
import o.AbstractC13482fbE;
import o.JF;
import o.TVH;
import o.dHY;
import o.xzZ;
import o.zUI;
import org.bouncycastle.crypto.tls.CipherSuite;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public class SharingMomentsPreviewActivity extends dHY {
@BindView
FrameLayout fragmentContainer;
private static final byte[] $$p = {70, -37, 38, -31};
private static final int $$q = 100;
private static int $10 = 0;
private static int $11 = 1;
private static int m = 0;
private static int k = 1;
private static char[] l = {39996, 40034, 40047, 40039, 40056, 40033, 40044, 40034, 40032, 40059, 40039, 40045, 40002, 40005, 40058, 40027, 39988, 40042, 40026, 40111, 40086, 40110, 40122, 40053, 40177, 40176, 40200, 40206, 40189, 40181, 40197, 40205, 40204, 40204, 40205, 40200, 40161, 40132, 40172, 40195, 40203, 40148, 40170, 40181, 40207, 40195, 40200, 40202, 40180, 39952, 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, 39993, 39993, 40045, 40033, 40032, 40007, 40007, 40039, 40035, 40003, 40005, 40037, 40034, 40003, 40002, 40032, 40034, 40032, 40056, 40057, 40032, 40032, 40034, 40032, 40037, 40001, 40026, 40056, 40033, 40041, 40032, 40033, 40040, 40032, 40038, 40037, 40026, 40007, 40039, 40044, 40042, 40044, 40045, 40046, 40045, 40033, 40032, 40034, 40038, 40037, 40034, 40035, 40044, 40046, 40037, 40026, 39972, 39999, 40029, 40058, 40057, 40063, 40037, 40038, 40056, 40058, 40034, 40038, 40038, 40001, 39995, 40031, 40025, 40026, 40056, 39955, 39972, 39992, 39992, 39992, 40068, 40214, 40200, 40166, 40205, 40195, 40187, 40167, 40163, 40160, 40166, 40207, 40214, 40202, 40161, 40166, 40160, 40160, 40162, 40202, 40208, 40214, 40213, 40201, 40162, 40207, 40207, 40200, 40205, 40195, 40213, 40205, 40165, 40165, 40166, 40206};
/* renamed from: o, reason: collision with root package name */
private static int f7047o = 2015661655;
private static void aC(int i, int i2, byte b, Object[] objArr) {
int i3 = 4 - (i * 2);
byte[] bArr = $$p;
int i4 = i2 * 2;
int i5 = b + 69;
byte[] bArr2 = new byte[1 - i4];
int i6 = 0 - i4;
int i7 = -1;
if (bArr == null) {
i3++;
i5 += -i6;
}
while (true) {
i7++;
bArr2[i7] = (byte) i5;
if (i7 == i6) {
objArr[0] = new String(bArr2, 0);
return;
} else {
int i8 = bArr[i3];
i3++;
i5 += -i8;
}
}
}
public static void e(Context context, JF jf) {
int i = 2 % 2;
Intent intent = new Intent(context, (Class<?>) SharingMomentsPreviewActivity.class);
intent.putExtra("com.scb.phone.EXTRA_SHARING_PREVIEW_DISPLAY", jf);
context.startActivity(intent);
int i2 = k + 67;
m = i2 % 128;
int i3 = i2 % 2;
}
private static void aB(int i, char[] cArr, int i2, boolean z, int i3, Object[] objArr) {
Object method;
int i4 = 2 % 2;
zUI zui = new zUI();
char[] cArr2 = new char[i];
zui.d = 0;
while (zui.d < i) {
zui.c = cArr[zui.d];
cArr2[zui.d] = (char) (i2 + zui.c);
int i5 = zui.d;
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(f7047o)};
Object obj = xzZ.y.get(880493502);
if (obj == null) {
Class cls = (Class) xzZ.c(143 - (ViewConfiguration.getPressedStateDuration() >> 16), ExpandableListView.getPackedPositionChild(0L) + 8, (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
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);
xzZ.y.put(880493502, obj);
}
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {zui, zui};
Object obj2 = xzZ.y.get(1294990079);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getDoubleTapTimeout() >> 16) + 342, 4 - MotionEvent.axisFromString(""), (char) ((-1) - TextUtils.lastIndexOf("", '0', 0)));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | 7), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(1294990079, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
if (i3 > 0) {
zui.a = i3;
char[] cArr3 = new char[i];
System.arraycopy(cArr2, 0, cArr3, 0, i);
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
}
if (z) {
int i6 = $11 + 41;
$10 = i6 % 128;
int i7 = i6 % 2;
char[] cArr4 = new char[i];
zui.d = 0;
while (zui.d < i) {
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
try {
Object[] objArr6 = {zui, zui};
Object obj3 = xzZ.y.get(1294990079);
if (obj3 != null) {
method = obj3;
} else {
Class cls3 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 343, 5 - View.MeasureSpec.makeMeasureSpec(0, 0), (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0', 0)));
byte b5 = (byte) 0;
byte b6 = b5;
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 7), objArr7);
method = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1294990079, method);
}
((Method) method).invoke(null, objArr6);
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
int i8 = $11 + 65;
$10 = i8 % 128;
int i9 = i8 % 2;
cArr2 = cArr4;
}
objArr[0] = new String(cArr2);
}
@Override // o.dHY, 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;
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 0, 5}, false, new byte[]{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 62, 0}, true, new byte[]{0, 1, 0, 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 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = m + 11;
k = i2 % 128;
int i3 = i2 % 2;
Object[] objArr3 = new Object[1];
aA(new int[]{23, 26, CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aB((ViewConfiguration.getScrollDefaultDelay() >> 16) + 18, new char[]{11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 107, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(9) - 87, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = k + 85;
m = i4 % 128;
if (i4 % 2 != 0) {
baseContext.getApplicationContext();
obj.hashCode();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = k + 3;
m = i5 % 128;
int i6 = i5 % 2;
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 491, 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (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("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new int[]{49, 48, 0, 47}, false, new byte[]{1, 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, 1}, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.landing_percentage).substring(0, 6).codePointAt(0) + 27, new char[]{65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_title_cardx).substring(0, 9).codePointAt(8) + 59, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.ssf_tab).substring(0, 3).codePointAt(1) - 38, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_icon_risk_level).substring(5, 8).length() + 61, new char[]{27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_discover_search_fund_hint_description).substring(49, 50).length() + CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA384, true, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{97, 74, 0, 62}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1}, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aA(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA256, 36, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj3 = xzZ.y.get(1656189573);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - TextUtils.indexOf((CharSequence) "", '0'), (ViewConfiguration.getTouchSlop() >> 8) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).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, objArr11);
int i7 = k + 101;
m = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 3 % 5;
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558795);
ButterKnife.Dg_(this);
super.Z();
ac();
setTitle(R.string.share_moment);
SharingMomentsPreviewFragment c = SharingMomentsPreviewFragment.c((JF) getIntent().getParcelableExtra("com.scb.phone.EXTRA_SHARING_PREVIEW_DISPLAY"));
AbstractC13482fbE a = getSupportFragmentManager().a();
a.b(R.id.fragment_container, c, null, 2);
a.b();
int i9 = k + 59;
m = i9 % 128;
int i10 = i9 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = k + 65;
m = i2 % 128;
if (i2 % 2 != 0) {
super.Z();
ac();
setTitle(R.string.share_moment);
int i3 = 4 / 0;
} else {
super.Z();
ac();
setTitle(R.string.share_moment);
}
int i4 = k + 95;
m = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.dHY, 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();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new int[]{23, 26, CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) - 91, new char[]{11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + CipherSuite.TLS_RSA_PSK_WITH_NULL_SHA256, false, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(3) - 29, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = k + 87;
m = i2 % 128;
if (i2 % 2 != 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i3 = m + 39;
k = i3 % 128;
try {
if (i3 % 2 == 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ImageFormat.getBitsPerPixel(0) + 493, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())))).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((ViewConfiguration.getLongPressTimeout() >> 16) + 487, KeyEvent.keyCodeFromString("") + 5, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i4 = 51 / 0;
} else {
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(492 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), 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)), (char) ((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) - 1))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1378719468);
if (obj4 == null) {
obj4 = ((Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 488, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
}
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = m + 49;
k = i5 % 128;
int i6 = i5 % 2;
}
private static void aA(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
char[] cArr;
int i2 = 2 % 2;
TVH tvh = new TVH();
int i3 = 0;
int i4 = iArr[0];
int i5 = iArr[1];
int i6 = iArr[2];
int i7 = iArr[3];
char[] cArr2 = l;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i8 = $11 + 33;
$10 = i8 % 128;
int i9 = i8 % 2;
int i10 = 0;
while (i10 < length) {
try {
Object[] objArr2 = new Object[1];
objArr2[i3] = Integer.valueOf(cArr2[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj != null) {
cArr = cArr2;
} else {
Class cls = (Class) xzZ.c(222 - ExpandableListView.getPackedPositionChild(0L), 5 - TextUtils.indexOf("", "", i3), (char) ((-16735239) - Color.rgb(i3, i3, i3)));
byte b = (byte) i3;
byte b2 = b;
cArr = cArr2;
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 2), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr3[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
cArr2 = cArr;
i3 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
char[] cArr4 = new char[i5];
System.arraycopy(cArr2, i4, cArr4, 0, i5);
if (bArr != null) {
char[] cArr5 = new char[i5];
tvh.c = 0;
char c = 0;
while (tvh.c < i5) {
if (bArr[tvh.c] == 1) {
int i11 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 502, 5 - TextUtils.getCapsMode("", 0, 0), (char) (AndroidCharacter.getMirror('0') + 6))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr5[i11] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i12 = tvh.c;
try {
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(15 - View.MeasureSpec.getSize(0), View.resolveSize(0, 0) + 5, (char) (58133 - ((byte) KeyEvent.getModifierMetaStateMask())))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr5[i12] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
c = cArr5[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 402, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) (((Process.getThreadPriority(0) + 20) >> 6) + 21608));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, b3, (byte) $$p.length, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr4 = cArr5;
}
if (i7 > 0) {
int i13 = $10 + 15;
$11 = i13 % 128;
int i14 = i13 % 2;
char[] cArr6 = new char[i5];
i = 0;
System.arraycopy(cArr4, 0, cArr6, 0, i5);
int i15 = i5 - i7;
System.arraycopy(cArr6, 0, cArr4, i15, i7);
System.arraycopy(cArr6, i7, cArr4, 0, i15);
} else {
i = 0;
}
if (z) {
char[] cArr7 = new char[i5];
tvh.c = i;
while (tvh.c < i5) {
int i16 = $11 + 111;
$10 = i16 % 128;
int i17 = i16 % 2;
cArr7[tvh.c] = cArr4[(i5 - tvh.c) - 1];
tvh.c++;
int i18 = $10 + 113;
$11 = i18 % 128;
int i19 = i18 % 2;
}
cArr4 = cArr7;
}
if (i6 > 0) {
int i20 = $11 + 21;
$10 = i20 % 128;
int i21 = i20 % 2;
int i22 = 0;
while (true) {
tvh.c = i22;
if (tvh.c >= i5) {
break;
}
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
i22 = tvh.c + 1;
}
}
objArr[0] = new String(cArr4);
}
/* JADX WARN: Code restructure failed: missing block: B:33:0x0022, code lost:
r7 = new java.lang.Object[1];
aA(new int[]{23, 26, org.bouncycastle.crypto.tls.CipherSuite.TLS_DH_RSA_WITH_SEED_CBC_SHA, 0}, true, new byte[]{0, 1, 0, 1, 0, 0, 1, 1, 1, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 1, 0, 0, 1}, r7);
r1 = java.lang.Class.forName((java.lang.String) r7[0]);
r7 = (java.lang.Object[]) null;
r7 = new java.lang.Object[1];
aB(android.view.KeyEvent.normalizeMetaState(0) + 18, new char[]{11, '\b', '\b', 65531, 4, '\n', 65495, 6, 6, 2, 65535, 65529, 65527, '\n', 65535, 5, 4, 65529}, ((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.mtrl_picker_range_header_unselected).substring(16, 17).length() + 217, false, 17 - android.graphics.Color.green(0), r7);
r1 = (android.content.Context) r1.getMethod((java.lang.String) r7[0], new java.lang.Class[0]).invoke(null, null);
r6 = com.scb.phone.view.activity.donations.SharingMomentsPreviewActivity.k + 105;
com.scb.phone.view.activity.donations.SharingMomentsPreviewActivity.m = r6 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:34:0x00a6, code lost:
if ((r6 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:35:0x00a8, code lost:
r6 = 3 % 4;
*/
/* JADX WARN: Code restructure failed: missing block: B:37:0x0020, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0019, code lost:
if (r1 == null) goto L9;
*/
@Override // o.dHY, 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: 406
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.donations.SharingMomentsPreviewActivity.onPause():void");
}
@Override // o.dHY, 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) {
int i = 2 % 2;
int i2 = k + 91;
m = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new int[]{0, 18, 0, 5}, false, new byte[]{1, 0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0}, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new int[]{18, 5, 62, 0}, true, new byte[]{0, 1, 0, 0, 0}, objArr2);
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) {
context = context.getApplicationContext();
}
if (context != null) {
int i4 = k + 25;
m = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (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)), TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new int[]{49, 48, 0, 47}, false, new byte[]{1, 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, 1}, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(64 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), new char[]{65521, 65522, 29, 30, 65522, 30, 30, 65524, 65521, 29, 65521, 65523, 65523, 65524, 65516, 65525, 65518, 31, 65516, 65522, 65519, 65520, 29, 65522, 31, 65518, 65517, 65520, 65522, 65517, 65523, 65522, 65518, 65522, 65518, 65521, '!', 65525, 65520, 30, 65522, '!', 65522, 30, '!', '!', 29, 30, 65522, 65524, 65517, 31, 65524, 30, 65521, 65524, 31, 65523, '\"', 65524, ' ', 30, 65522, 65517}, (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)) + CipherSuite.TLS_DHE_PSK_WITH_NULL_SHA256, true, (ViewConfiguration.getTapTimeout() >> 16) + 45, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 64, new char[]{27, 65517, 65514, 65522, 27, 65521, 29, 65522, 65519, 27, ' ', 27, 65514, ' ', 65514, 65523, 65520, 65522, 65516, 31, NistHelper.SEP_FS, 31, 65520, 29, ' ', 65517, 65519, 65514, 65519, 65515, 65515, 65516, 65519, 65519, 27, NistHelper.SEP_FS, 65518, 30, 65523, 65520, 65522, 31, ' ', 65522, 29, 65516, 65521, 65514, 65515, 65514, ' ', NistHelper.SEP_FS, 27, 65522, 65514, 65518, NistHelper.SEP_FS, 31, 65517, 65523, 65516, 31, 31, 65517}, 182 - KeyEvent.keyCodeFromString(""), true, 5 - Color.argb(0, 0, 0, 0), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new int[]{97, 74, 0, 62}, true, new byte[]{1, 0, 1, 1, 0, 0, 1, 1, 0, 0, 0, 0, 1, 1, 1, 1, 0, 0, 0, 1, 0, 1, 0, 0, 1, 0, 1, 0, 0, 1, 1, 0, 1, 0, 0, 0, 1, 1, 1, 1, 0, 1, 0, 0, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1, 1, 0, 1, 0, 1, 1, 1}, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new int[]{CipherSuite.TLS_DHE_PSK_WITH_AES_256_GCM_SHA384, 5, 0, 5}, true, new byte[]{0, 0, 0, 0, 1}, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new int[]{CipherSuite.TLS_PSK_WITH_NULL_SHA256, 36, CipherSuite.TLS_RSA_WITH_CAMELLIA_128_CBC_SHA256, 0}, false, new byte[]{1, 0, 1, 0, 0, 1, 1, 0, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0}, objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMinimumFlingVelocity() >> 16) + 487, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (ViewConfiguration.getDoubleTapTimeout() >> 16))).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;
}
}
}
int i6 = k + 47;
m = i6 % 128;
int i7 = i6 % 2;
}
@Override // o.dHY, 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 = m + 39;
k = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = k + 87;
m = i4 % 128;
int i5 = i4 % 2;
}
}