734 lines
36 KiB
Java
734 lines
36 KiB
Java
package com.scb.phone.view.activity.sme.gifting;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.graphics.Color;
|
|
import android.graphics.PointF;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Bundle;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.Menu;
|
|
import android.view.MenuItem;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import android.widget.TextView;
|
|
import butterknife.BindView;
|
|
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.activity.sme.gifting.GiftPreviewActivity;
|
|
import com.scb.phone.view.custom.common.DefaultButton;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import o.AbstractActivityC11858enK;
|
|
import o.C15607h;
|
|
import o.C3614bBe;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC6673cZp;
|
|
import o.TVH;
|
|
import o.Tlu;
|
|
import o.WI;
|
|
import o.WQ;
|
|
import o.cJC;
|
|
import o.nMh;
|
|
import o.xzZ;
|
|
import o.yZP;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes5.dex */
|
|
public class GiftPreviewActivity extends AbstractActivityC11858enK implements InterfaceC6673cZp.Sts {
|
|
|
|
@BindView
|
|
TextView giftMsg;
|
|
|
|
@BindView
|
|
TextView giftName;
|
|
|
|
@BindView
|
|
TextView giftSenderName;
|
|
|
|
@BindView
|
|
View layout;
|
|
|
|
@BindView
|
|
DefaultButton openButton;
|
|
|
|
@InterfaceC13391fZD
|
|
public cJC presenter;
|
|
private static final byte[] $$g = {85, -17, 4, -90};
|
|
private static final int $$h = 121;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int t = 0;
|
|
private static int p = 1;
|
|
private static char[] m = {40001, 40095, 40070, 40078, 40065, 40090, 40073, 40043, 40058, 40089, 40036, 40033, 40076, 40070, 40090, 40071, 40065, 40067, 39996, 40039, 40030, 40029, 40029, 40030, 40031, 39988, 40019, 40029, 39991, 39990, 39990, 39990, 39988, 39990, 39991, 39989, 39984, 39985, 40024, 40030, 40031, 40024, 39991, 39990, 39991, 40025, 40024, 39989, 39990, 39990, 40011, 40011, 39988, 40031, 40031, 39988, 40029, 40032, 40030, 40030, 40033, 40031, 39989, 39991, 39991, 40030, 40039, 40028, 40019, 40028, 40029, 40029, 39988, 40031, 40029, 40029, 40024, 39990, 40011, 40030, 40033, 40039, 39986, 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, 40039, 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};
|
|
private static char[] k = {16159, 16139, 16375, 16155, 16358, 16355, 16144, 16148, 16145, 16336, 16146, 16323, 16357, 16150, 16136, 16374, 16154, 16359, 16151, 16158, 16339, 16329, 16342, 16356, 16341, 16152, 16331, 16340, 16330, 16328, 16343, 16338, 16351};
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private static int f7940o = 1934311298;
|
|
private static boolean l = true;
|
|
private static boolean q = true;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). 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 az(int r5, byte r6, short r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r5 = 122 - r5
|
|
int r6 = r6 * 4
|
|
int r0 = r6 + 1
|
|
int r7 = r7 * 4
|
|
int r7 = r7 + 4
|
|
byte[] r1 = com.scb.phone.view.activity.sme.gifting.GiftPreviewActivity.$$g
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
if (r1 != 0) goto L15
|
|
r4 = r6
|
|
r5 = r7
|
|
r3 = r2
|
|
goto L27
|
|
L15:
|
|
r3 = r2
|
|
L16:
|
|
byte r4 = (byte) r5
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L23
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r0, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L23:
|
|
int r3 = r3 + 1
|
|
r4 = r1[r7]
|
|
L27:
|
|
int r7 = r7 + 1
|
|
int r5 = r5 + r4
|
|
goto L16
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftPreviewActivity.az(int, byte, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
|
|
GiftPreviewActivity giftPreviewActivity = (GiftPreviewActivity) objArr[0];
|
|
WI wi = (WI) objArr[1];
|
|
int i4 = 2 % 2;
|
|
Intent intent = new Intent(giftPreviewActivity, (Class<?>) GiftingOpenedActivity.class);
|
|
Bundle bundle = new Bundle();
|
|
bundle.putParcelable("EXTRA_GIFT_STATUS_SELECTED", wi);
|
|
bundle.putBoolean("EXTRA_GIFT_FROM_PREVIEW", true);
|
|
intent.setFlags(1073741824);
|
|
intent.putExtras(bundle);
|
|
giftPreviewActivity.startActivity(intent);
|
|
giftPreviewActivity.finish();
|
|
int i5 = p + 41;
|
|
t = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return null;
|
|
}
|
|
|
|
private static void ay(int[] iArr, char[] cArr, int i, byte[] bArr, Object[] objArr) {
|
|
int i2 = 2;
|
|
int i3 = 2 % 2;
|
|
C3614bBe c3614bBe = new C3614bBe();
|
|
char[] cArr2 = k;
|
|
if (cArr2 != null) {
|
|
int i4 = $11 + 25;
|
|
$10 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i6 = 0;
|
|
while (i6 < length) {
|
|
int i7 = $11 + 35;
|
|
$10 = i7 % 128;
|
|
int i8 = i7 % i2;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i6])};
|
|
Object obj = xzZ.y.get(-950481649);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getTapTimeout() >> 16) + 337, (ViewConfiguration.getLongPressTimeout() >> 16) + 5, (char) (Process.myTid() >> 22));
|
|
byte b = (byte) 0;
|
|
Object[] objArr3 = new Object[1];
|
|
az((byte) ($$h & CipherSuite.TLS_DH_anon_WITH_CAMELLIA_128_CBC_SHA256), b, b, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(-950481649, obj);
|
|
}
|
|
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i6++;
|
|
i2 = 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
Object[] objArr4 = {Integer.valueOf(f7940o)};
|
|
Object obj2 = xzZ.y.get(-1521625011);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(282 - TextUtils.lastIndexOf("", '0', 0), 6 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 39813));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr5 = new Object[1];
|
|
az(b2, b3, b3, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
|
xzZ.y.put(-1521625011, obj2);
|
|
}
|
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
|
if (q) {
|
|
c3614bBe.c = bArr.length;
|
|
char[] cArr4 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
int i9 = $11 + 17;
|
|
$10 = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i] - intValue);
|
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
|
Object obj3 = xzZ.y.get(1779759091);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(TextUtils.lastIndexOf("", '0', 0, 0) + 41, 5 - Gravity.getAbsoluteGravity(0, 0), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
String str = new String(cArr4);
|
|
int i11 = $10 + 117;
|
|
$11 = i11 % 128;
|
|
int i12 = i11 % 2;
|
|
objArr[0] = str;
|
|
return;
|
|
}
|
|
if (!l) {
|
|
c3614bBe.c = iArr.length;
|
|
char[] cArr5 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr5[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
|
c3614bBe.a++;
|
|
}
|
|
objArr[0] = new String(cArr5);
|
|
return;
|
|
}
|
|
c3614bBe.c = cArr.length;
|
|
char[] cArr6 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr6[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i] - intValue);
|
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
|
Object obj4 = xzZ.y.get(1779759091);
|
|
if (obj4 == null) {
|
|
obj4 = ((Class) xzZ.c((SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)) + 39, View.resolveSize(0, 0) + 5, (char) (ViewConfiguration.getScrollDefaultDelay() >> 16))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr7);
|
|
}
|
|
objArr[0] = new String(cArr6);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:16:0x031a, code lost:
|
|
|
|
if (r15.f8430o.equals("M") != false) goto L45;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:18:0x0332, code lost:
|
|
|
|
if (r15.f8430o.equals("P") == false) goto L49;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x0334, code lost:
|
|
|
|
r1 = "present";
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:23:0x0337, code lost:
|
|
|
|
r1 = "";
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x0327, code lost:
|
|
|
|
r1 = "money";
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:26:0x0325, code lost:
|
|
|
|
if (r15.f8430o.equals("M") != false) goto L45;
|
|
*/
|
|
@Override // o.AbstractActivityC11858enK, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public void onCreate(android.os.Bundle r15) {
|
|
/*
|
|
Method dump skipped, instructions count: 1096
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.sme.gifting.GiftPreviewActivity.onCreate(android.os.Bundle):void");
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
|
|
public boolean onCreateOptionsMenu(Menu menu) {
|
|
int i = 2 % 2;
|
|
int i2 = p + 107;
|
|
t = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
getMenuInflater().inflate(R.menu.2131689474, menu);
|
|
Drawable pI_ = Tlu.pI_(menu.findItem(R.id.menu_close).getIcon().mutate());
|
|
Tlu.pE_(pI_, nMh.getColor(this, R.color.f13682131100876));
|
|
menu.findItem(R.id.menu_close).setIcon(pI_);
|
|
int i4 = p + 97;
|
|
t = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 81 / 0;
|
|
}
|
|
return true;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.BaseActivity
|
|
public final void Z() {
|
|
int i = 2 % 2;
|
|
int i2 = t + 39;
|
|
p = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.Z();
|
|
p(getString(R.string.gift_preview_title));
|
|
int i4 = p + 115;
|
|
t = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
|
|
public boolean onOptionsItemSelected(MenuItem menuItem) {
|
|
int i = 2 % 2;
|
|
int i2 = t + 5;
|
|
p = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
if (menuItem.getItemId() == R.id.menu_close) {
|
|
int i3 = p + 9;
|
|
t = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
finish();
|
|
return true;
|
|
}
|
|
return super.onOptionsItemSelected(menuItem);
|
|
}
|
|
menuItem.getItemId();
|
|
throw null;
|
|
}
|
|
|
|
private static void ax(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 = 1;
|
|
int i6 = iArr[1];
|
|
int i7 = iArr[2];
|
|
int i8 = iArr[3];
|
|
char[] cArr2 = m;
|
|
long j = 0;
|
|
if (cArr2 != null) {
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i9 = 0;
|
|
while (i9 < length) {
|
|
try {
|
|
Object[] objArr2 = new Object[i5];
|
|
objArr2[i3] = Integer.valueOf(cArr2[i9]);
|
|
Object obj = xzZ.y.get(1645349359);
|
|
if (obj != null) {
|
|
cArr = cArr2;
|
|
} else {
|
|
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 223, 5 - TextUtils.getTrimmedLength(""), (char) (41978 - (ViewConfiguration.getGlobalActionKeyTimeout() > j ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == j ? 0 : -1))));
|
|
byte b = (byte) i3;
|
|
cArr = cArr2;
|
|
Object[] objArr3 = new Object[1];
|
|
az((byte) 51, b, b, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1645349359, obj);
|
|
}
|
|
cArr3[i9] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i9++;
|
|
cArr2 = cArr;
|
|
i3 = 0;
|
|
i5 = 1;
|
|
j = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
char[] cArr4 = new char[i6];
|
|
System.arraycopy(cArr2, i4, cArr4, 0, i6);
|
|
if (bArr != null) {
|
|
char[] cArr5 = new char[i6];
|
|
tvh.c = 0;
|
|
char c = 0;
|
|
while (tvh.c < i6) {
|
|
if (bArr[tvh.c] == 1) {
|
|
int i10 = 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(502 - (ViewConfiguration.getTapTimeout() >> 16), 4 - TextUtils.indexOf((CharSequence) "", '0', 0), (char) (54 - KeyEvent.getDeadChar(0, 0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(850398076, obj2);
|
|
}
|
|
cArr5[i10] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
} else {
|
|
int i11 = tvh.c;
|
|
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
|
|
Object obj3 = xzZ.y.get(1084521042);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c((ViewConfiguration.getJumpTapTimeout() >> 16) + 15, (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (58135 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(1084521042, obj3);
|
|
}
|
|
cArr5[i11] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
|
}
|
|
c = cArr5[tvh.c];
|
|
Object[] objArr6 = {tvh, tvh};
|
|
Object obj4 = xzZ.y.get(1698744941);
|
|
if (obj4 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getScrollDefaultDelay() >> 16) + 402, 4 - Process.getGidForName(""), (char) (21608 - (ViewConfiguration.getKeyRepeatDelay() >> 16)));
|
|
byte b2 = (byte) 0;
|
|
Object[] objArr7 = new Object[1];
|
|
az((byte) ($$h & CipherSuite.TLS_RSA_PSK_WITH_AES_256_CBC_SHA384), b2, b2, objArr7);
|
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1698744941, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr6);
|
|
}
|
|
cArr4 = cArr5;
|
|
}
|
|
if (i8 > 0) {
|
|
char[] cArr6 = new char[i6];
|
|
i = 0;
|
|
System.arraycopy(cArr4, 0, cArr6, 0, i6);
|
|
int i12 = i6 - i8;
|
|
System.arraycopy(cArr6, 0, cArr4, i12, i8);
|
|
System.arraycopy(cArr6, i8, cArr4, 0, i12);
|
|
} else {
|
|
i = 0;
|
|
}
|
|
if (z) {
|
|
char[] cArr7 = new char[i6];
|
|
while (true) {
|
|
tvh.c = i;
|
|
if (tvh.c >= i6) {
|
|
break;
|
|
}
|
|
int i13 = $10 + 45;
|
|
$11 = i13 % 128;
|
|
if (i13 % 2 == 0) {
|
|
cArr7[tvh.c] = cArr4[(i6 - tvh.c) % 1];
|
|
i = tvh.c;
|
|
} else {
|
|
cArr7[tvh.c] = cArr4[(i6 - tvh.c) - 1];
|
|
i = tvh.c + 1;
|
|
}
|
|
}
|
|
cArr4 = cArr7;
|
|
}
|
|
if (i7 > 0) {
|
|
int i14 = $11 + 29;
|
|
$10 = i14 % 128;
|
|
int i15 = i14 % 2;
|
|
int i16 = 0;
|
|
while (true) {
|
|
tvh.c = i16;
|
|
if (tvh.c >= i6) {
|
|
break;
|
|
}
|
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
|
i16 = tvh.c + 1;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr4);
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity
|
|
protected final void b(final WI wi) {
|
|
String str;
|
|
int i = 2 % 2;
|
|
cJC cjc = this.presenter;
|
|
if (wi.s.equals(WQ.SENT)) {
|
|
int i2 = t + 105;
|
|
p = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
String str2 = wi.c;
|
|
throw null;
|
|
}
|
|
str = wi.c;
|
|
} else {
|
|
str = wi.i;
|
|
}
|
|
cjc.d(str);
|
|
this.giftSenderName.setText(wi.k);
|
|
this.giftName.setText(getString(R.string.open_now_gift_msg, wi.j));
|
|
this.giftMsg.setText(wi.m);
|
|
if (wi.s.equals(WQ.SENT)) {
|
|
int i3 = p + 69;
|
|
t = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
this.openButton.setVisibility(8);
|
|
this.layout.setBackgroundColor(nMh.getColor(this, R.color.f14042131100912));
|
|
return;
|
|
}
|
|
this.layout.setBackgroundColor(nMh.getColor(this, R.color.f3032131099810));
|
|
this.openButton.setVisibility(0);
|
|
this.openButton.setOnClickListener(new View.OnClickListener(this, wi) { // from class: o.enk
|
|
private WI b;
|
|
private GiftPreviewActivity e;
|
|
|
|
@Override // android.view.View.OnClickListener
|
|
public final void onClick(View view) {
|
|
GiftPreviewActivity.a(this.e, this.b);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.b = wi;
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11858enK, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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) {
|
|
int i2 = p + 15;
|
|
t = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Object[] objArr = new Object[1];
|
|
ay(null, null, TextUtils.indexOf("", "", 0, 0) + 127, new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ay(null, null, (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)) + 127, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i4 = p + 61;
|
|
t = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(492 - Color.green(0), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) View.getDefaultSize(0, 0))).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(KeyEvent.keyCodeFromString("") + 487, 5 - KeyEvent.normalizeMetaState(0), (char) Drawable.resolveOpacity(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
|
|
xzZ.y.put(1378719468, obj2);
|
|
}
|
|
((Method) obj2).invoke(invoke, objArr3);
|
|
int i6 = t + 113;
|
|
p = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
super.onResume();
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11858enK, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 + 7;
|
|
t = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
Object obj = null;
|
|
if (baseContext == null) {
|
|
Object[] objArr = new Object[1];
|
|
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_address_info_remark).substring(46, 47).length() + 126, new byte[]{ISOFileInfo.PROP_INFO, -122, -110, -120, -111, -112, -126, ISOFileInfo.CHANNEL_SECURITY, -124, -113, -124, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.ENV_TEMP_EF, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.LCS_BYTE, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, -122, ISOFileInfo.LCS_BYTE, ISOFileInfo.PROP_INFO, -124, -119, -120, ISOFileInfo.PROP_INFO, ISOFileInfo.FCI_EXT, -122}, objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ay(null, null, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_p2p_introduction_feature_supports_cardx).substring(26, 27).codePointAt(0) + 95, new byte[]{ISOFileInfo.FCI_EXT, -119, -124, ISOFileInfo.CHANNEL_SECURITY, -122, ISOFileInfo.ENV_TEMP_EF, -124, -108, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_EXP, ISOFileInfo.SECURITY_ATTR_COMPACT, ISOFileInfo.CHANNEL_SECURITY, ISOFileInfo.FCI_EXT, -110, -120, -120, -109, ISOFileInfo.ENV_TEMP_EF}, objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i4 = p + 89;
|
|
t = i4 % 128;
|
|
if (i4 % 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(TextUtils.indexOf((CharSequence) "", '0', 0) + 493, TextUtils.lastIndexOf("", '0') + 6, (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 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(1633456013);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, 4 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), (char) View.getDefaultSize(0, 0))).getMethod("c", Context.class);
|
|
xzZ.y.put(1633456013, obj3);
|
|
}
|
|
((Method) obj3).invoke(invoke, objArr3);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
super.onPause();
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11858enK, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 = t + 51;
|
|
p = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.attachBaseContext(context);
|
|
Object[] objArr = new Object[1];
|
|
ax(new int[]{0, 18, 33, 0}, true, new byte[]{0, 0, 0, 0, 0, 1, 0, 0, 1, 0, 1, 0, 1, 0, 1, 0, 0, 1}, objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
ay(null, null, 127 - TextUtils.indexOf("", ""), new byte[]{ISOFileInfo.PROP_INFO, -124, ISOFileInfo.FILE_IDENTIFIER, -126, ISOFileInfo.DATA_BYTES2}, 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 applicationContext = context != null ? context.getApplicationContext() : context;
|
|
if (applicationContext != null) {
|
|
int i4 = p + 93;
|
|
t = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(492 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), Color.alpha(0) + 5, (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];
|
|
ay(null, null, TextUtils.getOffsetAfter("", 0) + 127, new byte[]{-105, -110, -99, ISOFileInfo.ENV_TEMP_EF, -97, -101, -105, -100, -104, -104, -110, -102, -107, -99, -97, -107, -107, ISOFileInfo.PROP_INFO, -101, ISOFileInfo.ENV_TEMP_EF, -97, ISOFileInfo.ENV_TEMP_EF, -98, -102, -101, -122, -105, -103, -99, -100, -103, -104, -99, -103, -104, -103, -122, -100, -101, -104, -122, -102, ISOFileInfo.ENV_TEMP_EF, -103, -104, -105, -106, -107}, objArr3);
|
|
String str = (String) objArr3[0];
|
|
Object[] objArr4 = new Object[1];
|
|
ax(new int[]{18, 64, 9, 0}, false, new byte[]{0, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0, 1, 1, 1, 1, 1, 1, 1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 1, 1, 0, 1, 0, 0, 0, 0, 1, 0, 1, 1, 1, 0, 1, 0, 1, 0, 0, 1, 0}, objArr4);
|
|
String str2 = (String) objArr4[0];
|
|
Object[] objArr5 = new Object[1];
|
|
ay(null, null, TextUtils.indexOf("", "", 0, 0) + 127, new byte[]{-106, ISOFileInfo.ENV_TEMP_EF, -99, -97, -122, -102, -122, ISOFileInfo.A0, -102, ISOFileInfo.A0, -101, -98, -99, -100, -110, -104, -110, -98, ISOFileInfo.ENV_TEMP_EF, -102, -103, -97, ISOFileInfo.A0, -97, -107, -107, -100, -97, -97, -122, -104, -105, ISOFileInfo.PROP_INFO, -101, -98, -99, -110, -102, -99, ISOFileInfo.ENV_TEMP_EF, -100, -106, ISOFileInfo.A0, -107, ISOFileInfo.A0, -102, -104, -122, -99, ISOFileInfo.A0, -105, -104, -110, -103, -101, -100, -110, -110, -103, -122, -103, ISOFileInfo.A0, -99, -122}, objArr5);
|
|
String str3 = (String) objArr5[0];
|
|
Object[] objArr6 = new Object[1];
|
|
ax(new int[]{82, 74, 0, 18}, true, new byte[]{0, 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, 0, 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}, objArr6);
|
|
String str4 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
ay(null, null, 128 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), new byte[]{ISOFileInfo.A0, ISOFileInfo.LCS_BYTE, -99, ISOFileInfo.LCS_BYTE, -101}, objArr7);
|
|
String str5 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
ay(null, null, (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 128, new byte[]{-110, -107, -97, -105, -97, ISOFileInfo.ENV_TEMP_EF, -110, -106, -122, -100, ISOFileInfo.ENV_TEMP_EF, -100, ISOFileInfo.A1, ISOFileInfo.ENV_TEMP_EF, -110, -104, -122, ISOFileInfo.A1, -107, -107, -100, -105, ISOFileInfo.A1, -104, -110, ISOFileInfo.A0, -98, ISOFileInfo.A1, ISOFileInfo.A0, -105, -101, ISOFileInfo.PROP_INFO, -105, -100, -122, -110}, objArr8);
|
|
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
|
|
Object obj2 = xzZ.y.get(1656189573);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollBarSize() >> 8), MotionEvent.axisFromString("") + 6, (char) Color.green(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, objArr9);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public static /* synthetic */ void a(GiftPreviewActivity giftPreviewActivity, WI wi) {
|
|
int i = 2 % 2;
|
|
int i2 = p + 39;
|
|
t = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
cJC cjc = giftPreviewActivity.presenter;
|
|
if (cjc.f != 0) {
|
|
int i4 = p + 123;
|
|
t = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
cjc.f.y();
|
|
} else {
|
|
cjc.f.y();
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|
|
cjc.d.d(new C15607h(wi.q));
|
|
yZP yzp = cjc.d;
|
|
yzp.d(yzp.i, new cJC.Sts(cjc, wi));
|
|
int i5 = p + 9;
|
|
t = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
int i6 = 37 / 0;
|
|
}
|
|
}
|
|
|
|
@Override // o.AbstractActivityC11858enK, com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity, o.AbstractActivityC11870enW, 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 = t + 71;
|
|
p = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.onStart();
|
|
int i4 = p + 43;
|
|
t = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
@Override // o.InterfaceC6673cZp.Sts
|
|
public final void e(WI wi) {
|
|
c(new Object[]{this, wi}, -340728697, 340728697, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 997117216);
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.sme.gifting.GiftingStatusBaseActivity
|
|
protected final int f() {
|
|
int i = 2 % 2;
|
|
int i2 = p + 17;
|
|
int i3 = i2 % 128;
|
|
t = i3;
|
|
int i4 = i2 % 2;
|
|
int i5 = i3 + 117;
|
|
p = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return R.layout.2131558741;
|
|
}
|
|
}
|