863 lines
40 KiB
Java
863 lines
40 KiB
Java
package com.scb.phone.view.activity.cardmanagement;
|
|
|
|
import android.content.Context;
|
|
import android.content.DialogInterface;
|
|
import android.graphics.Bitmap;
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.graphics.PorterDuff;
|
|
import android.net.Uri;
|
|
import android.os.Build;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.util.DisplayMetrics;
|
|
import android.util.TypedValue;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.LayoutInflater;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.view.ViewGroup;
|
|
import android.view.WindowManager;
|
|
import android.widget.Button;
|
|
import android.widget.ExpandableListView;
|
|
import android.widget.FrameLayout;
|
|
import android.widget.ImageView;
|
|
import android.widget.LinearLayout;
|
|
import butterknife.BindView;
|
|
import butterknife.OnClick;
|
|
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.CCRBaseActivity;
|
|
import com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity;
|
|
import com.scb.phone.view.custom.ccrredemption.ConfirmationThemeSlipLayout;
|
|
import com.scb.phone.view.custom.common.CustomDialog;
|
|
import java.lang.reflect.Method;
|
|
import java.util.Calendar;
|
|
import java.util.Locale;
|
|
import java.util.concurrent.Callable;
|
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
|
import o.AbstractC13163fSk;
|
|
import o.C10035dvE;
|
|
import o.C12914fKz;
|
|
import o.C12946fLx;
|
|
import o.C13417fZt;
|
|
import o.C2893anG;
|
|
import o.C6204cLu;
|
|
import o.C6582cXO;
|
|
import o.InterfaceC13391fZD;
|
|
import o.InterfaceC15577gud;
|
|
import o.InterfaceC9066dch;
|
|
import o.ZI;
|
|
import o.eLY;
|
|
import o.fRR;
|
|
import o.fSJ;
|
|
import o.fSQ;
|
|
import o.guQ;
|
|
import o.jTb;
|
|
import o.nMh;
|
|
import o.xzZ;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public abstract class SaveSlipBaseActivity<T> extends CCRBaseActivity implements InterfaceC9066dch {
|
|
private fSJ b;
|
|
|
|
@BindView
|
|
Button btnSaveSlip;
|
|
|
|
@BindView
|
|
ImageView imvSlipCurl;
|
|
|
|
@InterfaceC13391fZD
|
|
public C2893anG saveSlipPresenter;
|
|
|
|
@InterfaceC13391fZD
|
|
public C6204cLu themesSlipPresenter;
|
|
private static final byte[] $$y = {105, ISOFileInfo.A5, 80, 53};
|
|
private static final int $$z = 231;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int s = 0;
|
|
private static int r = 1;
|
|
private static char[] m = {36787, 62716, 31030, 65120, 25277, 59387, 27702, 53564, 21949, 56033, 24444, 50242, 18592, 52733, 12849, 46967, 15265, 41185, 36787, 62716, 31030, 65120, 25277, 59387, 27702, 53564, 21939, 56034, 24354, 50236, 18579, 52721, 12838, 46971, 15268, 41211, 9510, 43627, 11910, 37882, 6176, 40311, 435, 34550, 36785, 62695, 31008, 65120, 25271, 59388, 27686, 53587, 21922, 56034, 24382, 50299, 18609, 52723, 12838, 46971, 15293, 41212, 36791, 62704, 31076, 65143, 25316, 59376, 27750, 53547, 21943, 55975, 24416, 50212, 18656, 52644, 12901, 46883, 15332, 41126, 9571, 43552, 11953, 37796, 6195, 40230, 481, 34468, 2914, 28785, 62688, 31147, 65122, 25386, 59365, 27813, 53607, 22131, 56039, 24490, 50224, 18800, 52708, 13040, 46899, 15396, 41191, 9635, 43620, 12144, 37814, 6314, 40244, 549, 34481, 2986, 28775, 62832, 31210, 65265, 25443, 59434, 27876, 53744, 22067, 56183, 36787, 62634, 31074, 65057, 25267, 59297, 27703, 53623, 21984, 55979, 24417, 50295, 18608, 52646, 12898, 46890, 15283, 41200, 9524, 43554, 12003, 37794, 6245, 40224, 433, 34474, 2868, 28791, 62698, 31140, 65131, 25462, 59366, 27888, 53555, 22055, 56039, 24480, 50275, 18723, 52711, 12962, 46951, 15393, 41140, 9713, 43620, 12151, 37808, 6391, 40288, 554, 34532, 2987, 28770, 62836, 31202, 65267, 25396, 59507, 27879, 53674, 22065, 56101, 17402, 14526, 46381, 12907, 44795, 11238, 41003, 7535, 39346, 5865, 37679, 2106, 34045, 498, 65067, 31597, 63406, 27886, 59698, 26174, 58109, 24506, 54396, 20850, 52653, 19132, 50989, 48190, 14504, 46522, 12924, 44906, 11179, 41194, 7470, 39482};
|
|
|
|
/* renamed from: o, reason: collision with root package name */
|
|
private static long f6644o = 2701422515754103954L;
|
|
private static char k = 23223;
|
|
private static char l = 49586;
|
|
private static char t = 39917;
|
|
private static char p = 64627;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). 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 aF(byte r5, int r6, int r7, java.lang.Object[] r8) {
|
|
/*
|
|
byte[] r0 = com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity.$$y
|
|
int r7 = r7 + 66
|
|
int r5 = r5 * 2
|
|
int r1 = r5 + 1
|
|
int r6 = r6 * 2
|
|
int r6 = r6 + 4
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
if (r0 != 0) goto L14
|
|
r4 = r5
|
|
r3 = r2
|
|
goto L26
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
byte r4 = (byte) r7
|
|
r1[r3] = r4
|
|
if (r3 != r5) goto L22
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r1, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L22:
|
|
int r3 = r3 + 1
|
|
r4 = r0[r6]
|
|
L26:
|
|
int r4 = -r4
|
|
int r6 = r6 + 1
|
|
int r7 = r7 + r4
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity.aF(byte, int, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
|
|
int i4 = ~i;
|
|
int i5 = ~i2;
|
|
int i6 = ~i3;
|
|
int i7 = (i * (-563)) + (i2 * 565) + (((~(i5 | i6)) | i4 | (~(i2 | i3))) * (-564)) + ((~(i3 | i4 | i2)) * 1128) + (((~(i | i2)) | (~(i4 | i6))) * 564);
|
|
return i7 != 1 ? i7 != 2 ? c(objArr) : a(objArr) : e(objArr);
|
|
}
|
|
|
|
public abstract T f();
|
|
|
|
public abstract int k();
|
|
|
|
public abstract eLY<T> m();
|
|
|
|
public final void n() {
|
|
int i = 2 % 2;
|
|
int i2 = r + 33;
|
|
s = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
this.saveSlipPresenter.e((C2893anG) this);
|
|
this.imvSlipCurl.setColorFilter(nMh.getColor(this, R.color.f3032131099810), PorterDuff.Mode.MULTIPLY);
|
|
this.saveSlipPresenter.b.b.V();
|
|
throw null;
|
|
}
|
|
this.saveSlipPresenter.e((C2893anG) this);
|
|
this.imvSlipCurl.setColorFilter(nMh.getColor(this, R.color.f3032131099810), PorterDuff.Mode.MULTIPLY);
|
|
C2893anG c2893anG = this.saveSlipPresenter;
|
|
if (c2893anG.b.b.V()) {
|
|
ZI.IeS ieS = new ZI.IeS() { // from class: o.anA
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9066dch) obj).N_();
|
|
}
|
|
};
|
|
if (!(c2893anG.f != 0)) {
|
|
return;
|
|
}
|
|
ieS.e(c2893anG.f);
|
|
int i3 = r + 17;
|
|
s = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return;
|
|
}
|
|
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.anC
|
|
@Override // o.ZI.IeS
|
|
public final void e(Object obj) {
|
|
((InterfaceC9066dch) obj).O_();
|
|
}
|
|
};
|
|
if (c2893anG.f != 0) {
|
|
int i5 = r + 115;
|
|
s = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
ieS2.e(c2893anG.f);
|
|
}
|
|
}
|
|
|
|
public final void M() {
|
|
int i = 2 % 2;
|
|
final T f = f();
|
|
this.b = AbstractC13163fSk.fromCallable(new Callable(this, f, this) { // from class: o.dvH
|
|
private Context a;
|
|
private boolean c = true;
|
|
private Object d;
|
|
private SaveSlipBaseActivity e;
|
|
|
|
@Override // java.util.concurrent.Callable
|
|
public final Object call() {
|
|
return SaveSlipBaseActivity.Zh_(this.e, this.d, this.a, this.c);
|
|
}
|
|
|
|
{
|
|
this.e = this;
|
|
this.d = f;
|
|
this.a = this;
|
|
}
|
|
}).observeOn(fRR.e()).subscribeOn(C13417fZt.b()).subscribe(new fSQ(this) { // from class: o.dvA
|
|
private SaveSlipBaseActivity a;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
SaveSlipBaseActivity.Zi_(this.a, (Uri) obj);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
}, new fSQ(this) { // from class: o.dvB
|
|
private SaveSlipBaseActivity a;
|
|
|
|
@Override // o.fSQ
|
|
public final void c(Object obj) {
|
|
SaveSlipBaseActivity.b(this.a, (Throwable) obj);
|
|
}
|
|
|
|
{
|
|
this.a = this;
|
|
}
|
|
});
|
|
int i2 = s + 15;
|
|
r = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
int i3 = 56 / 0;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:28:0x0206 */
|
|
/* JADX WARN: Removed duplicated region for block: B:30:0x0207 */
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void aD(int r19, int r20, char r21, java.lang.Object[] r22) {
|
|
/*
|
|
Method dump skipped, instructions count: 528
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity.aD(int, int, char, java.lang.Object[]):void");
|
|
}
|
|
|
|
private static void aE(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
int i3 = 0;
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
while (jtb.b < cArr.length) {
|
|
int i4 = $11 + 77;
|
|
$10 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
cArr3[i3] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i6 = 58224;
|
|
int i7 = i3;
|
|
while (i7 < 16) {
|
|
char c = cArr3[1];
|
|
char c2 = cArr3[i3];
|
|
char[] cArr4 = cArr3;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i6) ^ ((c2 << 4) + ((char) (t ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(p)};
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(TextUtils.getOffsetAfter("", 0) + 412, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
|
|
byte b = (byte) 0;
|
|
byte b2 = b;
|
|
Object[] objArr3 = new Object[1];
|
|
aF(b, b2, b2, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr4[1] = charValue;
|
|
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (k ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(l)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(413 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 6 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), (char) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = b3;
|
|
Object[] objArr5 = new Object[1];
|
|
aF(b3, b4, b4, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj2);
|
|
}
|
|
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
i6 -= 40503;
|
|
i7++;
|
|
cArr3 = cArr4;
|
|
i3 = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr5 = cArr3;
|
|
cArr2[jtb.b] = cArr5[0];
|
|
cArr2[jtb.b + 1] = cArr5[1];
|
|
Object[] objArr6 = {jtb, jtb};
|
|
Object obj3 = xzZ.y.get(943004485);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 98, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) (ViewConfiguration.getTouchSlop() >> 8));
|
|
byte b5 = (byte) 0;
|
|
byte b6 = b5;
|
|
Object[] objArr7 = new Object[1];
|
|
aF(b5, b6, (byte) (b6 + 1), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
int i8 = $11 + 87;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
cArr3 = cArr5;
|
|
i3 = 0;
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i);
|
|
}
|
|
|
|
/* JADX WARN: Multi-variable type inference failed */
|
|
private /* synthetic */ Uri Zj_(Object obj, Context context, boolean z) throws Exception {
|
|
Uri VO_;
|
|
int i = 2 % 2;
|
|
String format = String.format(Locale.getDefault(), "scb-slip-%s.jpg", String.valueOf(Calendar.getInstance().getTimeInMillis()));
|
|
Bitmap bitmap = null;
|
|
try {
|
|
try {
|
|
ViewGroup frameLayout = new FrameLayout(context);
|
|
frameLayout.setLayoutParams(new LinearLayout.LayoutParams(-1, -2));
|
|
ConfirmationThemeSlipLayout confirmationThemeSlipLayout = new ConfirmationThemeSlipLayout(context);
|
|
frameLayout.addView(confirmationThemeSlipLayout, -1, -2);
|
|
View inflate = LayoutInflater.from(context).inflate(k(), frameLayout, false);
|
|
((ImageView) inflate.findViewById(R.id.imv_bg_slip)).setVisibility(4);
|
|
inflate.findViewById(R.id.layout_save_slip_root).setBackgroundColor(nMh.getColor(this, android.R.color.transparent));
|
|
m().b(obj, inflate, this);
|
|
((FrameLayout) confirmationThemeSlipLayout.findViewById(R.id.slip_content)).addView(inflate, -1, -2);
|
|
C6204cLu c6204cLu = this.themesSlipPresenter;
|
|
c6204cLu.d = confirmationThemeSlipLayout;
|
|
c6204cLu.e();
|
|
DisplayMetrics displayMetrics = new DisplayMetrics();
|
|
((WindowManager) context.getSystemService("window")).getDefaultDisplay().getMetrics(displayMetrics);
|
|
Bitmap aAB_ = C12946fLx.aAB_(confirmationThemeSlipLayout, displayMetrics.widthPixels, displayMetrics.widthPixels << 2);
|
|
if (z) {
|
|
int i2 = r + 59;
|
|
s = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
VO_ = C6582cXO.VN_(aAB_, format, context);
|
|
int i3 = 34 / 0;
|
|
} else {
|
|
VO_ = C6582cXO.VN_(aAB_, format, context);
|
|
}
|
|
} else {
|
|
VO_ = C6582cXO.VO_(aAB_, context, "screen_image.jpg");
|
|
}
|
|
if (aAB_ != null) {
|
|
int i4 = r + 47;
|
|
s = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
aAB_.recycle();
|
|
}
|
|
return VO_;
|
|
} catch (Exception e) {
|
|
guQ.e(e);
|
|
throw e;
|
|
}
|
|
} catch (Throwable th) {
|
|
if (0 != 0) {
|
|
bitmap.recycle();
|
|
}
|
|
throw th;
|
|
}
|
|
}
|
|
|
|
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
|
|
public void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
|
|
int i2 = 2 % 2;
|
|
int i3 = r + 97;
|
|
s = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
super.onRequestPermissionsResult(i, strArr, iArr);
|
|
C10035dvE.b(this, i, iArr);
|
|
} else {
|
|
super.onRequestPermissionsResult(i, strArr, iArr);
|
|
C10035dvE.b(this, i, iArr);
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
private static /* synthetic */ Object e(Object[] objArr) {
|
|
SaveSlipBaseActivity saveSlipBaseActivity = (SaveSlipBaseActivity) objArr[0];
|
|
int i = 2 % 2;
|
|
if (Build.VERSION.SDK_INT >= 33) {
|
|
int i2 = s + 125;
|
|
int i3 = i2 % 128;
|
|
r = i3;
|
|
if (i2 % 2 != 0) {
|
|
int i4 = i3 + 83;
|
|
s = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
C10035dvE.a(saveSlipBaseActivity);
|
|
int i5 = 66 / 0;
|
|
} else {
|
|
C10035dvE.a(saveSlipBaseActivity);
|
|
}
|
|
return null;
|
|
}
|
|
}
|
|
C10035dvE.b(saveSlipBaseActivity);
|
|
return null;
|
|
}
|
|
|
|
@Override // o.InterfaceC9066dch
|
|
public final void O_() {
|
|
int i = 2 % 2;
|
|
int i2 = s + 111;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
this.btnSaveSlip.setVisibility(0);
|
|
int i4 = s + 39;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
public static void r() {
|
|
int i = 2 % 2;
|
|
int i2 = r + 89;
|
|
s = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
guQ.b("onPermissionDenied", new Object[0]);
|
|
} else {
|
|
guQ.b("onPermissionDenied", new Object[0]);
|
|
}
|
|
int i3 = r + 37;
|
|
s = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
private static /* synthetic */ Object c(Object[] objArr) {
|
|
int i = 2 % 2;
|
|
int i2 = s + 75;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
guQ.b("onNeverAskAgain", new Object[0]);
|
|
int i4 = s + 67;
|
|
r = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
return null;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
public static void s() {
|
|
int i = 2 % 2;
|
|
int i2 = s + 91;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
guQ.b("onPermissionDeniedAndroid13", new Object[0]);
|
|
int i4 = r + 65;
|
|
s = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
public static void l() {
|
|
int i = 2 % 2;
|
|
int i2 = s + 23;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
guQ.b("onNeverAskAgainAndroid13", new Object[0]);
|
|
int i4 = s + 49;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
public static /* synthetic */ void e(InterfaceC15577gud interfaceC15577gud) {
|
|
int i = 2 % 2;
|
|
int i2 = s + 13;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
interfaceC15577gud.c();
|
|
int i4 = s + 7;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
private static /* synthetic */ Object a(Object[] objArr) {
|
|
InterfaceC15577gud interfaceC15577gud = (InterfaceC15577gud) objArr[0];
|
|
int i = 2 % 2;
|
|
int i2 = r + 9;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
interfaceC15577gud.e();
|
|
int i4 = r + 47;
|
|
s = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
int i5 = 67 / 0;
|
|
}
|
|
return null;
|
|
}
|
|
|
|
public final void c(final InterfaceC15577gud interfaceC15577gud) {
|
|
int i = 2 % 2;
|
|
((CustomDialog) CustomDialog.e(new Object[]{CustomDialog.b(this).c(R.string.permission_storage_title).d(R.string.permission_storage).aoT_(R.string.permission_allow, new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dvF
|
|
private InterfaceC15577gud b;
|
|
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i2) {
|
|
SaveSlipBaseActivity.e(this.b);
|
|
}
|
|
|
|
{
|
|
this.b = interfaceC15577gud;
|
|
}
|
|
}), Integer.valueOf(R.string.permission_deny), new DialogInterface.OnClickListener(interfaceC15577gud) { // from class: o.dvG
|
|
private InterfaceC15577gud c;
|
|
|
|
@Override // android.content.DialogInterface.OnClickListener
|
|
public final void onClick(DialogInterface dialogInterface, int i2) {
|
|
SaveSlipBaseActivity.b(new Object[]{this.c}, 1083036156, -1083036154, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
{
|
|
this.c = interfaceC15577gud;
|
|
}
|
|
}})).show();
|
|
int i2 = r + 23;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
@OnClick
|
|
public void onSaveSlipClick() {
|
|
int i = 2 % 2;
|
|
if (Build.VERSION.SDK_INT >= 33) {
|
|
int i2 = r + 55;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
C10035dvE.a(this);
|
|
return;
|
|
}
|
|
int i4 = s + 87;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
C10035dvE.b(this);
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
|
|
public void onDestroy() {
|
|
int i = 2 % 2;
|
|
fSJ fsj = this.saveSlipPresenter.e;
|
|
fSJ fsj2 = this.b;
|
|
if (fsj2 != null) {
|
|
int i2 = r + 85;
|
|
s = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
fsj2.dispose();
|
|
int i3 = 95 / 0;
|
|
} else {
|
|
fsj2.dispose();
|
|
}
|
|
}
|
|
super.onDestroy();
|
|
int i4 = s + 41;
|
|
r = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x00e5, code lost:
|
|
|
|
if (r2 > 99999) goto L6;
|
|
*/
|
|
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 r21) {
|
|
/*
|
|
Method dump skipped, instructions count: 1232
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.cardmanagement.SaveSlipBaseActivity.onCreate(android.os.Bundle):void");
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = s + 67;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Context baseContext = getBaseContext();
|
|
if (baseContext == null) {
|
|
Object[] objArr = new Object[1];
|
|
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, 25 - ImageFormat.getBitsPerPixel(0), (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 31, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_vpn_detection_description).substring(CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256, CipherSuite.TLS_DH_DSS_WITH_AES_256_GCM_SHA384).length() + 17, (char) ((-1) - MotionEvent.axisFromString("")), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i4 = r + 109;
|
|
s = 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(ImageFormat.getBitsPerPixel(0) + 493, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) TextUtils.indexOf("", "", 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(487 - KeyEvent.normalizeMetaState(0), View.MeasureSpec.makeMeasureSpec(0, 0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).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();
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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) {
|
|
int i2 = r + 5;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
Object[] objArr = new Object[1];
|
|
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, 26 - TextUtils.indexOf("", "", 0, 0), (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
aD(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.booking_id).substring(7, 8).codePointAt(0) + 12, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16), objArr2);
|
|
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
|
|
}
|
|
if (baseContext != null) {
|
|
int i4 = r + 67;
|
|
s = i4 % 128;
|
|
if (i4 % 2 != 0) {
|
|
baseContext.getApplicationContext();
|
|
throw null;
|
|
}
|
|
baseContext = baseContext.getApplicationContext();
|
|
}
|
|
if (baseContext != null) {
|
|
int i5 = r + 45;
|
|
s = i5 % 128;
|
|
try {
|
|
if (i5 % 2 != 0) {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(491 - TextUtils.indexOf((CharSequence) "", '0'), 6 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 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(487 - TextUtils.indexOf("", "", 0), TextUtils.getOffsetBefore("", 0) + 5, (char) (ViewConfiguration.getJumpTapTimeout() >> 16))).getMethod("c", Context.class);
|
|
xzZ.y.put(1633456013, obj2);
|
|
}
|
|
((Method) obj2).invoke(invoke, objArr3);
|
|
throw null;
|
|
}
|
|
Object obj3 = xzZ.y.get(125943855);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(492 - Color.argb(0, 0, 0, 0), (ViewConfiguration.getDoubleTapTimeout() >> 16) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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(487 - View.MeasureSpec.getMode(0), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (ViewConfiguration.getScrollBarSize() >> 8))).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();
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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;
|
|
super.attachBaseContext(context);
|
|
Object[] objArr = new Object[1];
|
|
aD(Gravity.getAbsoluteGravity(0, 0), 18 - Color.red(0), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))), objArr);
|
|
Class<?> cls = Class.forName((String) objArr[0]);
|
|
Object[] objArr2 = new Object[1];
|
|
aE(new char[]{46986, 48061, 50993, 19204, 44126, 20469}, 5 - Color.alpha(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) {
|
|
int i2 = s + 63;
|
|
r = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
context2 = context.getApplicationContext();
|
|
int i3 = 49 / 0;
|
|
} else {
|
|
context2 = context.getApplicationContext();
|
|
}
|
|
int i4 = r + 83;
|
|
s = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
} else {
|
|
context2 = context;
|
|
}
|
|
if (context2 != null) {
|
|
try {
|
|
Object obj = xzZ.y.get(125943855);
|
|
if (obj == null) {
|
|
obj = ((Class) xzZ.c(KeyEvent.getDeadChar(0, 0) + 492, KeyEvent.normalizeMetaState(0) + 5, (char) ((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) - 1))).getMethod("a", null);
|
|
xzZ.y.put(125943855, obj);
|
|
}
|
|
Object invoke = ((Method) obj).invoke(null, null);
|
|
Object[] objArr3 = new Object[1];
|
|
aE(new char[]{41971, 12251, 44455, 44364, 12578, 33848, 33555, 65439, 48484, 2654, 62822, 30258, 35542, 27451, 35065, 42989, 3642, 61710, 45458, 34581, 20520, 17700, 57814, 33315, 10460, 14330, 26956, 51351, 50448, 52495, 42767, 34793, 22706, 31429, 16257, 9709, 35858, 2274, 41977, 7146, 58463, 61624, 45341, 9226, 15497, 31849, 40514, 33558}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 47, objArr3);
|
|
String str = (String) objArr3[0];
|
|
Object[] objArr4 = new Object[1];
|
|
aD(62 - KeyEvent.getDeadChar(0, 0), (ViewConfiguration.getTouchSlop() >> 8) + 64, (char) (TextUtils.lastIndexOf("", '0', 0) + 1), objArr4);
|
|
String str2 = (String) objArr4[0];
|
|
Object[] objArr5 = new Object[1];
|
|
aD((ViewConfiguration.getJumpTapTimeout() >> 16) + 126, 64 - (ViewConfiguration.getEdgeSlop() >> 16), (char) (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), objArr5);
|
|
String str3 = (String) objArr5[0];
|
|
Object[] objArr6 = new Object[1];
|
|
aE(new char[]{45250, 7209, 10796, 31170, 9026, 15409, 34744, 43999, 4648, 8959, 46738, 4113, 33484, 28328, 30712, 52802, 63047, 45358, 16940, 14217, 30748, 55465, 1960, 35353, 19501, 7734, 26373, 48884, 6560, 14286, 17576, 23684, 8347, 8120, 37618, 31712, 33812, 55267, 39688, 2527, 873, 27575, 21595, 14948, 55597, 19694, 873, 27575, 34050, 40458, 33484, 28328, 22951, 60520, 23366, 8218, 47691, 33193, 35241, 58765, 45368, 44245, 11020, 51530, 26226, 23499, 60954, 7516, 8474, 24326, 63578, 24892, 23346, 10052}, MotionEvent.axisFromString("") + 75, objArr6);
|
|
String str4 = (String) objArr6[0];
|
|
Object[] objArr7 = new Object[1];
|
|
aE(new char[]{2486, 21536, 17354, 14835, 41022, 35858}, (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, objArr7);
|
|
String str5 = (String) objArr7[0];
|
|
Object[] objArr8 = new Object[1];
|
|
aD(Color.red(0) + CipherSuite.TLS_DHE_RSA_WITH_CAMELLIA_128_CBC_SHA256, View.MeasureSpec.makeMeasureSpec(0, 0) + 36, (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 52302), 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(Color.argb(0, 0, 0, 0) + 487, Color.argb(0, 0, 0, 0) + 5, (char) Gravity.getAbsoluteGravity(0, 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 b(SaveSlipBaseActivity saveSlipBaseActivity, Throwable th) {
|
|
int i = 2 % 2;
|
|
int i2 = s + 65;
|
|
r = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
guQ.a(th, "onSaveScreenshotError", new Object[0]);
|
|
C12914fKz.e(new Object[]{saveSlipBaseActivity, Integer.valueOf(R.id.root), Integer.valueOf(R.drawable.ic_error_white_24dp), saveSlipBaseActivity.getString(R.string.save_slip_error), Integer.valueOf(R.color.f2852131099792)}, 1259223802, -1259223796, R.id.root);
|
|
int i4 = r + 105;
|
|
s = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
public static /* synthetic */ void Zi_(SaveSlipBaseActivity saveSlipBaseActivity, Uri uri) {
|
|
int i = 2 % 2;
|
|
int i2 = r + 107;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
if (!uri.toString().isEmpty()) {
|
|
C12914fKz.e(new Object[]{saveSlipBaseActivity, Integer.valueOf(R.id.root), Integer.valueOf(R.drawable.ic_check_circle_white_24dp), saveSlipBaseActivity.getString(R.string.saved_slip_success), Integer.valueOf(R.color.f13832131100891)}, 1259223802, -1259223796, R.id.root);
|
|
}
|
|
int i4 = s + 55;
|
|
r = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
|
|
@Override // com.scb.phone.view.activity.CCRBaseActivity, o.AbstractActivityC9738dpZ, 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 = r + 11;
|
|
s = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
super.onStart();
|
|
int i4 = s + 33;
|
|
r = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
}
|
|
|
|
@Override // o.InterfaceC9066dch
|
|
public final void N_() {
|
|
b(new Object[]{this}, 1192322309, -1192322308, System.identityHashCode(this));
|
|
}
|
|
|
|
static void o() {
|
|
b(new Object[0], 585433974, -585433974, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
public static /* synthetic */ Uri Zh_(SaveSlipBaseActivity saveSlipBaseActivity, Object obj, Context context, boolean z) {
|
|
int i = 2 % 2;
|
|
int i2 = r + 121;
|
|
s = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
return saveSlipBaseActivity.Zj_(obj, context, z);
|
|
}
|
|
saveSlipBaseActivity.Zj_(obj, context, z);
|
|
Object obj2 = null;
|
|
obj2.hashCode();
|
|
throw null;
|
|
}
|
|
}
|