what-the-bank/sources/com/scb/phone/view/activity/bankingagent/BankingAgentSuccessActivity...

1646 lines
90 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.bankingagent;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.PointF;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.net.Uri;
import android.os.Build;
import android.os.Bundle;
import android.os.Parcelable;
import android.os.Process;
import android.os.SystemClock;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.LayoutInflater;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.ExpandableListView;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.ScrollView;
import android.widget.TextView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.google.common.base.Ascii;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.HomeActivity;
import com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity;
import com.scb.phone.view.custom.ThemeSlipLayout;
import com.scb.phone.view.custom.common.ThaiTextView;
import java.lang.reflect.Method;
import java.util.Arrays;
import java.util.Calendar;
import net.sf.scuba.smartcards.ISOFileInfo;
import o.AbstractC12886fKU;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C0355Evk;
import o.C0366Fa;
import o.C12891fKc;
import o.C13017fOT;
import o.C14866gag;
import o.C14957gcv;
import o.C2536agU;
import o.C2540agY;
import o.C4593bdB;
import o.C6204cLu;
import o.C9918dsu;
import o.EnumC8951daY;
import o.FD;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC14894gbR;
import o.InterfaceC9027dbv;
import o.RQO;
import o.ZI;
import o.fSJ;
import o.fSQ;
import o.gcH;
import o.gjJ;
import o.nMh;
import o.qeC;
import o.xzZ;
import org.bouncycastle.crypto.signers.PSSSigner;
import org.jmrtd.lds.ImageInfo;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class BankingAgentSuccessActivity extends Hilt_BankingAgentSuccessActivity implements InterfaceC9027dbv {
public static final LWm b;
private static int p;
private static char q;
private static long r;
private static char[] s;
private fSJ l;
private FD m;
/* renamed from: o, reason: collision with root package name */
private C0355Evk f6570o;
@InterfaceC13391fZD
public C2536agU presenter;
private static final byte[] $$g = {55, PSSSigner.TRAILER_IMPLICIT, ISOFileInfo.LCS_BYTE, Ascii.SYN};
private static final int $$h = 142;
private static int $10 = 0;
private static int $11 = 1;
private static int t = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> B:4:0x002c). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(short r6, byte r7, byte r8, java.lang.Object[] r9) {
/*
int r7 = r7 + 77
int r6 = r6 * 2
int r0 = 1 - r6
int r8 = r8 * 3
int r8 = r8 + 4
byte[] r1 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.$$g
byte[] r0 = new byte[r0]
r2 = 0
int r6 = 0 - r6
if (r1 != 0) goto L16
r3 = r8
r4 = r2
goto L2c
L16:
r3 = r2
L17:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
int r3 = r3 + 1
r4 = r1[r8]
r5 = r3
r3 = r7
r7 = r4
r4 = r5
L2c:
int r8 = r8 + 1
int r7 = -r7
int r7 = r7 + r3
r3 = r4
goto L17
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.az(short, byte, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object c(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i3;
int i6 = ~(i4 | i5);
int i7 = ~((~i2) | i3);
int i8 = (i * (-574)) + (i2 * (-574)) + ((i6 | i7) * 1150) + (((~(i2 | i5)) | i7) * (-575)) + (((~(i | i5)) | (~(i4 | i3))) * 575);
return i8 != 1 ? i8 != 2 ? i8 != 3 ? c(objArr) : e(objArr) : a(objArr) : b(objArr);
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static void ax(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(TextUtils.indexOf("", "", 0, 0) + 402, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) (Color.alpha(0) + 21608));
byte b2 = (byte) 0;
byte b3 = b2;
Object[] objArr3 = new Object[1];
az(b2, b3, b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (r ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 1);
Object[] objArr5 = new Object[1];
az(b4, b5, (byte) (b5 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $10 + 15;
$11 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(TextUtils.getOffsetBefore("", 0) + 238, ImageFormat.getBitsPerPixel(0) + 6, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b6 = (byte) 0;
byte b7 = (byte) (b6 + 1);
Object[] objArr7 = new Object[1];
az(b6, b7, (byte) (b7 - 1), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
int i6 = $11 + 121;
$10 = i6 % 128;
int i7 = i6 % 2;
}
objArr[0] = new String(cArr2);
}
/* loaded from: classes4.dex */
static final class IeS extends AbstractC14961gcz implements InterfaceC14894gbR<Throwable, C14866gag> {
private BankingAgentSuccessActivity e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Throwable th) {
Throwable th2 = th;
BankingAgentSuccessActivity bankingAgentSuccessActivity = this.e;
C14957gcv.c((Object) th2, "");
C14957gcv.e(th2, "");
BaseActivity.a(new Object[]{bankingAgentSuccessActivity, bankingAgentSuccessActivity, Integer.valueOf(R.id.root_view), bankingAgentSuccessActivity.getString(R.string.banking_success_saved_slip_error), EnumC8951daY.ERROR}, 855668825, -855668822, R.id.root_view);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
IeS(BankingAgentSuccessActivity bankingAgentSuccessActivity) {
super(1);
this.e = bankingAgentSuccessActivity;
}
}
/* loaded from: classes4.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<Uri, C14866gag> {
private BankingAgentSuccessActivity d;
private boolean e;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Uri uri) {
Uri uri2 = uri;
C2536agU c2536agU = this.d.presenter;
if (c2536agU == null) {
C14957gcv.a("");
c2536agU = null;
}
final String obj = uri2.toString();
C14957gcv.c((Object) obj, "");
final boolean z = this.e;
C14957gcv.e(obj, "");
if (!gjJ.b((CharSequence) obj)) {
ZI.IeS ieS = new ZI.IeS(z, obj) { // from class: o.aha
private boolean b;
private String c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2536agU.d(this.b, this.c, (InterfaceC9027dbv) obj2);
}
{
this.b = z;
this.c = obj;
}
};
if (c2536agU.f != 0) {
ieS.e(c2536agU.f);
}
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(BankingAgentSuccessActivity bankingAgentSuccessActivity, boolean z) {
super(1);
this.d = bankingAgentSuccessActivity;
this.e = z;
}
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentSuccessActivity, 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 final void onCreate(Bundle bundle) {
int i;
Parcelable parcelable;
C0355Evk c0355Evk;
int i2 = 2 % 2;
Object[] objArr = new Object[1];
ax(new char[]{32065, 6863, 45638, 19409, 58187, 30924, 4162, 43401, 16711, 57050, 30212, 4091, 42846, 15554, 54349, 28106, 1347, 41666}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 26463, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\'', 27, 0, 7, 13908}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.remittance_plus_sign).substring(0, 1).length() + 85), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
int i3 = p + 67;
t = i3 % 128;
int i4 = i3 % 2;
Object[] objArr3 = new Object[1];
ax(new char[]{32065, 42865, 51514, 62447, 5555, 15986, 24638, 35511, 44217, 53607, 64294, 7611, 18325, 26736, 37414, 46328, 56998, 870, 9530, 20468, 29080, 39523, 48184, 59116, 2217, 11619}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 55858, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ax(new char[]{32067, 6794, 45804, 19151, 57913, 31253, 4718, 43640, 17320, 56199, 29690, 3036, 41783, 15122, 54118, 27480, 191, 39041}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 26578, objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
int i5 = p + 113;
t = i5 % 128;
int i6 = i5 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i7 = t + 45;
p = i7 % 128;
int i8 = i7 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), Drawable.resolveOpacity(0, 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay(new char[]{7, '\"', '/', 3, 1, '\n', 2, '\b', 4, '!', '\t', 16, 4, 6, 5, 31, 6, 4, 5, 30, '\n', 3, 11, 30, 5, 22, '\r', 22, 11, 29, 6, 20, 20, '\"', '\"', '\f', 0, '$', 13842, 13842, 3, ',', '\"', 25, '\f', 29, '&', '*'}, (byte) (KeyEvent.normalizeMetaState(0) + 26), ImageFormat.getBitsPerPixel(0) + 49, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'(', 0, 21, '(', '!', '\f', '.', 31, ')', 21, 5, 23, 5, 23, '\"', 7, 24, '/', '\t', 6, '\f', 22, '\n', ',', 5, 24, 22, 7, 4, 30, 26, NistHelper.SEP_FS, 13854, 13854, 23, '\r', 26, '\"', 13929, 13929, '!', '\f', '\f', 23, '\"', 20, '!', '\f', '/', '\"', 0, 29, '\f', 29, 26, 6, 29, '\f', '\f', '\"', '!', '\f', 7, '%'}, (byte) ((ViewConfiguration.getKeyRepeatDelay() >> 16) + 113), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 34, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{'\f', 30, 24, 0, '\n', 2, 13863, 13863, 4, 30, 0, '&', 3, '/', 26, NistHelper.SEP_FS, '\f', 2, 0, 22, 7, 27, 30, 0, '\f', 29, 0, '$', '(', '!', '\"', '.', '/', 3, '\r', 23, 23, 6, 13779, 13779, 21, 22, 24, 6, '\b', 15, 21, '(', 0, '(', 5, 30, 25, '!', 22, 0, 23, 7, 2, '\b', 26, '\"', 7, 29}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'\b', '!', NistHelper.SEP_FS, 15, '*', '\t', 13838, 13838, '*', 2, '\r', '%', '\f', '+', 13904, 13904, '%', 14, 7, 1, '\b', '%', 2, '\f', 31, '&', 22, 30, '\t', 19, '%', 7, '$', 15, 16, 2, 30, 22, '\'', '\f', 16, 23, '*', '-', 18, '\n', 16, 23, '%', 21, '\f', '+', '$', '0', 7, 16, 1, '*', 3, 21, ')', '$', '+', 30, '0', 1, 1, ',', ')', 0, '&', 21, 30, '+'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.debit_value).substring(0, 3).codePointAt(1) + 52), 74 - View.MeasureSpec.getMode(0), objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ay(new char[]{30, 25, 30, 26, 13761}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 10), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ay(new char[]{'%', 7, 3, ',', '.', '\"', '*', 24, 5, 25, NistHelper.SEP_FS, '*', 6, 5, ',', 3, 13778, 13778, 2, 11, 0, '(', 11, 1, 1, '\t', '\t', 16, '#', '*', '\r', 22, '0', 24, 7, ')'}, (byte) (TextUtils.getCapsMode("", 0, 0) + 39), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_change_mailing_address_review_content_1).substring(56, 57).length() + 35, objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (ViewConfiguration.getPressedStateDuration() >> 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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
View inflate = getLayoutInflater().inflate(R.layout.2131558438, (ViewGroup) null, false);
Button button = (Button) qeC.e(inflate, R.id.bt_save_slip);
if (button != null) {
Button button2 = (Button) qeC.e(inflate, R.id.bt_share_slip);
if (button2 != null) {
View e = qeC.e(inflate, R.id.divider_buttons);
if (e != null) {
ImageView imageView = (ImageView) qeC.e(inflate, R.id.iv_agent_icon);
if (imageView != null) {
ImageView imageView2 = (ImageView) qeC.e(inflate, R.id.iv_to_icon);
if (imageView2 != null) {
LinearLayout linearLayout = (LinearLayout) qeC.e(inflate, R.id.ll_success);
if (linearLayout != null) {
ScrollView scrollView = (ScrollView) inflate;
ThaiTextView thaiTextView = (ThaiTextView) qeC.e(inflate, R.id.thaiTextView);
if (thaiTextView != null) {
TextView textView = (TextView) qeC.e(inflate, R.id.tv_account_label);
if (textView != null) {
TextView textView2 = (TextView) qeC.e(inflate, R.id.tv_agent);
if (textView2 != null) {
ThaiTextView thaiTextView2 = (ThaiTextView) qeC.e(inflate, R.id.tv_agent_name);
if (thaiTextView2 != null) {
int i9 = p + 25;
t = i9 % 128;
if (i9 % 2 != 0) {
Object obj3 = null;
obj3.hashCode();
throw null;
}
TextView textView3 = (TextView) qeC.e(inflate, R.id.tv_agent_no);
if (textView3 != null) {
TextView textView4 = (TextView) qeC.e(inflate, R.id.tv_amount);
if (textView4 != null) {
TextView textView5 = (TextView) qeC.e(inflate, R.id.tv_ref_id);
if (textView5 != null) {
TextView textView6 = (TextView) qeC.e(inflate, R.id.tv_return_to_account);
if (textView6 != null) {
TextView textView7 = (TextView) qeC.e(inflate, R.id.tv_title);
if (textView7 != null) {
ThaiTextView thaiTextView3 = (ThaiTextView) qeC.e(inflate, R.id.tv_to_account_name);
if (thaiTextView3 != null) {
int i10 = p + 45;
t = i10 % 128;
int i11 = i10 % 2;
TextView textView8 = (TextView) qeC.e(inflate, R.id.tv_to_account_no);
if (textView8 != null) {
int i12 = p + 9;
t = i12 % 128;
int i13 = i12 % 2;
TextView textView9 = (TextView) qeC.e(inflate, R.id.tv_transaction_date);
if (textView9 != null) {
View e2 = qeC.e(inflate, R.id.view7);
if (e2 != null) {
C0355Evk c0355Evk2 = new C0355Evk(scrollView, button, button2, e, imageView, imageView2, linearLayout, scrollView, thaiTextView, textView, textView2, thaiTextView2, textView3, textView4, textView5, textView6, textView7, thaiTextView3, textView8, textView9, e2);
C14957gcv.c(c0355Evk2, "");
this.f6570o = c0355Evk2;
setContentView(c0355Evk2.c);
C2536agU c2536agU = this.presenter;
if (c2536agU == null) {
C14957gcv.a("");
c2536agU = null;
}
c2536agU.e((C2536agU) this);
Intent intent = getIntent();
C14957gcv.c(intent, "");
if (Build.VERSION.SDK_INT >= 33) {
Bundle extras = intent.getExtras();
if (extras != null) {
int i14 = p + 85;
t = i14 % 128;
int i15 = i14 % 2;
parcelable = (Parcelable) extras.getParcelable("DISPLAY", FD.class);
} else {
parcelable = null;
}
} else {
Bundle extras2 = intent.getExtras();
Parcelable parcelable2 = extras2 != null ? extras2.getParcelable("DISPLAY") : null;
if (!(parcelable2 instanceof FD)) {
parcelable2 = null;
}
parcelable = (FD) parcelable2;
}
final FD fd = (FD) parcelable;
if (fd != null) {
this.m = fd;
C2536agU c2536agU2 = this.presenter;
if (c2536agU2 != null) {
int i16 = p + 111;
t = i16 % 128;
int i17 = i16 % 2;
} else {
C14957gcv.a("");
c2536agU2 = null;
}
C14957gcv.e(fd, "");
c2536agU2.a = fd;
ZI.IeS ieS = new ZI.IeS(fd) { // from class: o.ahf
private FD c;
@Override // o.ZI.IeS
public final void e(Object obj4) {
C2536agU.d(this.c, (InterfaceC9027dbv) obj4);
}
{
this.c = fd;
}
};
if (c2536agU2.f != 0) {
int i18 = p + 55;
int i19 = i18 % 128;
t = i19;
if (i18 % 2 == 0) {
int i20 = i19 + 17;
p = i20 % 128;
if (i20 % 2 == 0) {
ieS.e(c2536agU2.f);
int i21 = 36 / 0;
} else {
ieS.e(c2536agU2.f);
}
}
}
final boolean V = c2536agU2.c.a.V();
ZI.IeS ieS2 = new ZI.IeS(V) { // from class: o.agZ
private boolean d;
@Override // o.ZI.IeS
public final void e(Object obj4) {
((InterfaceC9027dbv) obj4).a(!this.d);
}
{
this.d = V;
}
};
if (c2536agU2.f != 0) {
ieS2.e(c2536agU2.f);
}
if (V) {
C2540agY c2540agY = new C2540agY(c2536agU2);
if (c2536agU2.f != 0) {
c2540agY.e(c2536agU2.f);
}
}
}
C0355Evk c0355Evk3 = this.f6570o;
if (c0355Evk3 == null) {
C14957gcv.a("");
c0355Evk = null;
} else {
c0355Evk = c0355Evk3;
}
c0355Evk.e.setOnClickListener(new View.OnClickListener(this) { // from class: o.dsp
private BankingAgentSuccessActivity c;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
BankingAgentSuccessActivity.a(this.c);
}
{
this.c = this;
}
});
c0355Evk.a.setOnClickListener(new View.OnClickListener(this) { // from class: o.dsx
private BankingAgentSuccessActivity e;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
BankingAgentSuccessActivity.b(this.e);
}
{
this.e = this;
}
});
c0355Evk.l.setOnClickListener(new View.OnClickListener(this) { // from class: o.dsA
private BankingAgentSuccessActivity c;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
BankingAgentSuccessActivity.d(this.c);
}
{
this.c = this;
}
});
return;
}
i = R.id.view7;
} else {
i = R.id.tv_transaction_date;
}
} else {
i = R.id.tv_to_account_no;
}
} else {
i = R.id.tv_to_account_name;
}
} else {
i = R.id.tv_title;
}
} else {
i = R.id.tv_return_to_account;
}
} else {
i = R.id.tv_ref_id;
}
} else {
i = R.id.tv_amount;
}
} else {
i = R.id.tv_agent_no;
}
} else {
i = R.id.tv_agent_name;
}
} else {
i = R.id.tv_agent;
}
} else {
i = R.id.tv_account_label;
}
} else {
i = R.id.thaiTextView;
}
} else {
i = R.id.ll_success;
}
} else {
i = R.id.iv_to_icon;
}
} else {
i = R.id.iv_agent_icon;
}
} else {
i = R.id.divider_buttons;
}
} else {
i = R.id.bt_share_slip;
}
} else {
i = R.id.bt_save_slip;
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(i)));
}
/* JADX WARN: Code restructure failed: missing block: B:17:0x0022, code lost:
r3 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.t + 21;
com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.p = r3 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x002b, code lost:
if ((r3 % 2) == 0) goto L12;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x002e, code lost:
r2.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x0031, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:22:0x0020, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0032, code lost:
o.C14957gcv.a("");
r1 = null;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void onDestroy() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.t
int r1 = r1 + 17
int r2 = r1 % 128
com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.p = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L1b
super.onDestroy()
o.agU r1 = r5.presenter
r3 = 62
int r3 = r3 / 0
if (r1 == 0) goto L32
goto L22
L1b:
super.onDestroy()
o.agU r1 = r5.presenter
if (r1 == 0) goto L32
L22:
int r3 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.t
int r3 = r3 + 21
int r4 = r3 % 128
com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.p = r4
int r3 = r3 % r0
if (r3 == 0) goto L2e
goto L38
L2e:
r2.hashCode()
throw r2
L32:
java.lang.String r1 = ""
o.C14957gcv.a(r1)
r1 = r2
L38:
r1.w_()
o.fSJ r1 = r5.l
if (r1 == 0) goto L51
boolean r3 = r1.isDisposed()
if (r3 != 0) goto L51
int r3 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.p
int r3 = r3 + 3
int r4 = r3 % 128
com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.t = r4
int r3 = r3 % r0
r1.dispose()
L51:
int r1 = com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.t
int r1 = r1 + 71
int r3 = r1 % 128
com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.p = r3
int r1 = r1 % r0
if (r1 == 0) goto L5d
return
L5d:
r2.hashCode()
throw r2
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.bankingagent.BankingAgentSuccessActivity.onDestroy():void");
}
@Override // androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public final void onRequestPermissionsResult(int i, String[] strArr, int[] iArr) {
int i2 = 2 % 2;
int i3 = t + 125;
p = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(strArr, "");
C14957gcv.e(iArr, "");
super.onRequestPermissionsResult(i, strArr, iArr);
C9918dsu.b(this, i, iArr);
int i5 = t + 65;
p = i5 % 128;
int i6 = i5 % 2;
}
public final void a(FD fd, boolean z) {
String string;
int i = 2 % 2;
C14957gcv.e(fd, "");
HBt hBt = new HBt();
gcH gch = gcH.d;
FD fd2 = this.m;
if (fd2 == null) {
int i2 = p + 71;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
fd2 = null;
}
if (!(!C14957gcv.b((Object) fd2.g, (Object) "D"))) {
int i4 = p + 57;
t = i4 % 128;
string = i4 % 2 != 0 ? getString(R.string.banking_success_deposit_slip_file_name, String.valueOf(Calendar.getInstance().getTimeInMillis())) : getString(R.string.banking_success_deposit_slip_file_name, String.valueOf(Calendar.getInstance().getTimeInMillis()));
} else {
string = getString(R.string.banking_success_withdraw_slip_file_name, String.valueOf(Calendar.getInstance().getTimeInMillis()));
}
C14957gcv.c((Object) string, "");
String format = String.format(string, Arrays.copyOf(new Object[0], 0));
C14957gcv.c((Object) format, "");
AbstractC13163fSk<Uri> c = hBt.c(new RVV(format, z, fd), this);
final Sts sts = new Sts(this, z);
fSQ<? super Uri> fsq = new fSQ(sts) { // from class: o.dsv
private InterfaceC14894gbR c;
@Override // o.fSQ
public final void c(Object obj) {
BankingAgentSuccessActivity.d(this.c, obj);
}
{
this.c = sts;
}
};
final IeS ieS = new IeS(this);
this.l = c.subscribe(fsq, new fSQ(ieS) { // from class: o.dsz
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
BankingAgentSuccessActivity.b(this.e, obj);
}
{
this.e = ieS;
}
});
}
private static /* synthetic */ Object e(Object[] objArr) {
boolean z = false;
int i = 2 % 2;
final C2536agU c2536agU = ((BankingAgentSuccessActivity) objArr[0]).presenter;
Object obj = null;
if (c2536agU == null) {
C14957gcv.a("");
int i2 = p + 27;
t = i2 % 128;
int i3 = i2 % 2;
c2536agU = null;
}
ZI.IeS ieS = new ZI.IeS(c2536agU) { // from class: o.ahb
private C2536agU d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C2536agU.b(this.d, (InterfaceC9027dbv) obj2);
}
{
this.d = c2536agU;
}
};
if (c2536agU.f != 0) {
int i4 = t + 27;
p = i4 % 128;
int i5 = i4 % 2;
z = true;
}
if (!(!z)) {
int i6 = t + 23;
p = i6 % 128;
if (i6 % 2 == 0) {
ieS.e(c2536agU.f);
obj.hashCode();
throw null;
}
ieS.e(c2536agU.f);
}
int i7 = p + 113;
t = i7 % 128;
int i8 = i7 % 2;
return null;
}
public final void g() {
int i = 2 % 2;
int i2 = p;
int i3 = i2 + 115;
t = i3 % 128;
int i4 = i3 % 2;
C2536agU c2536agU = this.presenter;
if (c2536agU != null) {
int i5 = i2 + 69;
t = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
} else {
C14957gcv.a("");
c2536agU = null;
}
C2540agY c2540agY = new C2540agY(c2536agU);
if (c2536agU.f != 0) {
int i6 = t;
int i7 = i6 + 37;
p = i7 % 128;
if (i7 % 2 == 0) {
int i8 = 4 % 5;
}
int i9 = i6 + 61;
p = i9 % 128;
int i10 = i9 % 2;
c2540agY.e(c2536agU.f);
return;
}
int i11 = t + 109;
p = i11 % 128;
int i12 = i11 % 2;
}
private static void ay(char[] cArr, byte b2, int i, Object[] objArr) {
int i2;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = s;
long j = 0;
int i4 = 8;
int i5 = 1;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i5];
objArr2[0] = Integer.valueOf(cArr2[i6]);
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> i4) + 298, (ExpandableListView.getPackedPositionForGroup(0) > j ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == j ? 0 : -1)) + 5, (char) TextUtils.getCapsMode("", 0, 0));
byte b3 = (byte) 0;
Object[] objArr3 = new Object[1];
az(b3, (byte) (b3 | 40), b3, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i6] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i6++;
j = 0;
i4 = 8;
i5 = 1;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(q)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(297 - TextUtils.lastIndexOf("", '0'), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) (((byte) KeyEvent.getModifierMetaStateMask()) + 1));
byte b4 = (byte) 0;
Object[] objArr5 = new Object[1];
az(b4, (byte) (b4 | 40), b4, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
int i7 = $11 + 41;
$10 = i7 % 128;
if (i7 % 2 != 0) {
i2 = i + 76;
cArr4[i2] = (char) (cArr[i2] >>> b2);
} else {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b2);
}
} else {
i2 = i;
}
if (i2 > 1) {
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
int i8 = $10 + 61;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr4[irs.e] = (char) (irs.b - b2);
cArr4[irs.e + 1] = (char) (irs.c - b2);
int i10 = $10 + 21;
$11 = i10 % 128;
int i11 = i10 % 2;
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(Gravity.getAbsoluteGravity(0, 0) + 233, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) (Color.green(0) + 22024));
byte b5 = (byte) 0;
Object[] objArr7 = new Object[1];
az(b5, (byte) (b5 | 43), b5, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(326 - MotionEvent.axisFromString(""), 5 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), (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)));
byte b6 = (byte) 0;
Object[] objArr9 = new Object[1];
az(b6, (byte) (b6 | 41), b6, objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, obj4);
}
int intValue = ((Integer) ((Method) obj4).invoke(null, objArr8)).intValue();
int i12 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i12];
} else if (irs.a == irs.d) {
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i13 = (irs.a * charValue) + irs.f;
int i14 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i13];
cArr4[irs.e + 1] = cArr2[i14];
} else {
int i15 = (irs.a * charValue) + irs.j;
int i16 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i15];
cArr4[irs.e + 1] = cArr2[i16];
}
}
irs.e += 2;
int i17 = $10 + 47;
$11 = i17 % 128;
int i18 = i17 % 2;
}
}
for (int i19 = 0; i19 < i; i19++) {
int i20 = $10 + 53;
$11 = i20 % 128;
int i21 = i20 % 2;
cArr4[i19] = (char) (cArr4[i19] ^ 13722);
}
objArr[0] = new String(cArr4);
}
/* loaded from: classes4.dex */
public static final class RVV extends C0366Fa {
FD b;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public RVV(String str, boolean z, FD fd) {
super(str, z);
C14957gcv.e(str, "");
C14957gcv.e(fd, "");
this.b = fd;
}
}
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC12886fKU<RVV> {
private C13017fOT a;
private RQO b;
@Override // o.AbstractC12886fKU
public final /* synthetic */ View aAq_(ViewGroup viewGroup, RVV rvv, Context context) {
String string;
ViewGroup viewGroup2;
RVV rvv2 = rvv;
C14957gcv.e(viewGroup, "");
C14957gcv.e(rvv2, "");
C14957gcv.e(context, "");
View inflate = LayoutInflater.from(context).inflate(R.layout.2131560055, viewGroup, false);
ThemeSlipLayout themeSlipLayout = (ThemeSlipLayout) qeC.e(inflate, R.id.layout_theme_slip);
if (themeSlipLayout != null) {
C13017fOT c13017fOT = new C13017fOT((ScrollView) inflate, themeSlipLayout);
C14957gcv.c(c13017fOT, "");
this.a = c13017fOT;
C13017fOT c13017fOT2 = null;
View inflate2 = LayoutInflater.from(context).inflate(R.layout.2131560056, (ViewGroup) null, false);
int i = R.id.iv_agent_icon;
ImageView imageView = (ImageView) qeC.e(inflate2, R.id.iv_agent_icon);
if (imageView != null) {
i = R.id.iv_to_icon;
ImageView imageView2 = (ImageView) qeC.e(inflate2, R.id.iv_to_icon);
if (imageView2 != null) {
i = R.id.thaiTextView;
ThaiTextView thaiTextView = (ThaiTextView) qeC.e(inflate2, R.id.thaiTextView);
if (thaiTextView != null) {
i = R.id.tv_account_label;
TextView textView = (TextView) qeC.e(inflate2, R.id.tv_account_label);
if (textView != null) {
i = R.id.tv_agent;
TextView textView2 = (TextView) qeC.e(inflate2, R.id.tv_agent);
if (textView2 != null) {
i = R.id.tv_agent_name;
TextView textView3 = (TextView) qeC.e(inflate2, R.id.tv_agent_name);
if (textView3 != null) {
i = R.id.tv_agent_no;
TextView textView4 = (TextView) qeC.e(inflate2, R.id.tv_agent_no);
if (textView4 != null) {
i = R.id.tv_amount;
TextView textView5 = (TextView) qeC.e(inflate2, R.id.tv_amount);
if (textView5 != null) {
i = R.id.tv_ref_id;
TextView textView6 = (TextView) qeC.e(inflate2, R.id.tv_ref_id);
if (textView6 != null) {
i = R.id.tv_title;
TextView textView7 = (TextView) qeC.e(inflate2, R.id.tv_title);
if (textView7 != null) {
i = R.id.tv_to_account_name;
TextView textView8 = (TextView) qeC.e(inflate2, R.id.tv_to_account_name);
if (textView8 != null) {
i = R.id.tv_to_account_no;
TextView textView9 = (TextView) qeC.e(inflate2, R.id.tv_to_account_no);
if (textView9 != null) {
i = R.id.tv_transaction_date;
TextView textView10 = (TextView) qeC.e(inflate2, R.id.tv_transaction_date);
if (textView10 != null) {
i = R.id.view7;
View e = qeC.e(inflate2, R.id.view7);
if (e != null) {
RQO rqo = new RQO((LinearLayout) inflate2, imageView, imageView2, thaiTextView, textView, textView2, textView3, textView4, textView5, textView6, textView7, textView8, textView9, textView10, e);
C14957gcv.c(rqo, "");
this.b = rqo;
FD fd = rvv2.b;
RQO rqo2 = this.b;
if (rqo2 == null) {
C14957gcv.a("");
rqo2 = null;
}
rqo2.f.setText(fd.j);
rqo2.l.setText(fd.f8155o);
rqo2.j.setText(fd.h);
rqo2.i.setText(fd.b);
rqo2.h.setText(fd.c);
rqo2.d.setText(fd.a);
rqo2.b.setText(fd.f);
rqo2.g.setText(fd.i);
TextView textView11 = rqo2.e;
if (C14957gcv.b((Object) "W", (Object) fd.g)) {
string = context.getString(R.string.banking_review_from);
} else {
string = context.getString(R.string.banking_review_to);
}
textView11.setText(string);
C12891fKc.azf_(context, R.drawable.banking_agent_placeholder, rqo2.a, fd.d, context.getResources().getDimensionPixelOffset(R.dimen.f27732131166539), nMh.getColor(context, R.color.f3412131099849));
C13017fOT c13017fOT3 = this.a;
if (c13017fOT3 == null) {
C14957gcv.a("");
c13017fOT3 = null;
}
ThemeSlipLayout themeSlipLayout2 = c13017fOT3.d;
RQO rqo3 = this.b;
if (rqo3 == null) {
C14957gcv.a("");
rqo3 = null;
}
LinearLayout linearLayout = rqo3.c;
C14957gcv.d(linearLayout, "");
LinearLayout linearLayout2 = linearLayout;
if (themeSlipLayout2.c > 0 && (viewGroup2 = (ViewGroup) themeSlipLayout2.findViewById(R.id.slip_content)) != null) {
viewGroup2.removeAllViews();
viewGroup2.addView(linearLayout2);
}
C13017fOT c13017fOT4 = this.a;
if (c13017fOT4 == null) {
C14957gcv.a("");
} else {
c13017fOT2 = c13017fOT4;
}
ScrollView scrollView = c13017fOT2.c;
C14957gcv.c(scrollView, "");
return scrollView;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate2.getResources().getResourceName(i)));
}
throw new NullPointerException("Missing required view with ID: ".concat(inflate.getResources().getResourceName(R.id.layout_theme_slip)));
}
@Override // o.AbstractC12886fKU
public final void b(C6204cLu c6204cLu) {
C14957gcv.e(c6204cLu, "");
C13017fOT c13017fOT = this.a;
if (c13017fOT == null) {
C14957gcv.a("");
c13017fOT = null;
}
c6204cLu.d = c13017fOT.d;
c6204cLu.e();
}
}
private static /* synthetic */ Object c(Object[] objArr) {
String str;
BankingAgentSuccessActivity bankingAgentSuccessActivity = (BankingAgentSuccessActivity) objArr[0];
FD fd = (FD) objArr[1];
int i = 2 % 2;
C14957gcv.e(fd, "");
C0355Evk c0355Evk = bankingAgentSuccessActivity.f6570o;
if (c0355Evk == null) {
int i2 = t + 101;
p = i2 % 128;
if (i2 % 2 == 0) {
C14957gcv.a("");
int i3 = 34 / 0;
} else {
C14957gcv.a("");
}
c0355Evk = null;
}
c0355Evk.m.setText(fd.j);
c0355Evk.n.setText(fd.f8155o);
c0355Evk.h.setText(fd.h);
c0355Evk.f8154o.setText(fd.b);
c0355Evk.k.setText(fd.e);
c0355Evk.j.setText(fd.a);
c0355Evk.f.setText(fd.f);
c0355Evk.i.setText(fd.i);
TextView textView = c0355Evk.g;
if (C14957gcv.b((Object) "W", (Object) fd.g)) {
str = bankingAgentSuccessActivity.getString(R.string.banking_review_from);
} else {
String string = bankingAgentSuccessActivity.getString(R.string.banking_review_to);
int i4 = p + 125;
t = i4 % 128;
int i5 = i4 % 2;
str = string;
}
textView.setText(str);
BankingAgentSuccessActivity bankingAgentSuccessActivity2 = bankingAgentSuccessActivity;
C12891fKc.azf_(bankingAgentSuccessActivity2, R.drawable.banking_agent_placeholder, c0355Evk.b, fd.d, bankingAgentSuccessActivity.getResources().getDimensionPixelOffset(R.dimen.f27732131166539), nMh.getColor(bankingAgentSuccessActivity2, R.color.f3412131099849));
return null;
}
@Override // o.InterfaceC9027dbv
public final void a(boolean z) {
int i = 2 % 2;
int i2 = z ? 0 : 8;
C0355Evk c0355Evk = this.f6570o;
if (c0355Evk == null) {
int i3 = t + 27;
p = i3 % 128;
if (i3 % 2 == 0) {
C14957gcv.a("");
int i4 = 94 / 0;
} else {
C14957gcv.a("");
}
int i5 = p + 75;
t = i5 % 128;
int i6 = i5 % 2;
c0355Evk = null;
}
c0355Evk.a.setVisibility(i2);
c0355Evk.d.setVisibility(i2);
}
@Override // o.InterfaceC9027dbv
public final void b(FD fd, boolean z) {
int i = 2 % 2;
int i2 = p + 57;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(fd, "");
if (Build.VERSION.SDK_INT >= 33) {
int i4 = p + 3;
t = i4 % 128;
int i5 = i4 % 2;
C9918dsu.a(this, fd, z);
return;
}
C9918dsu.d(this, fd, z);
}
@Override // o.InterfaceC9027dbv
public final void d() {
int i = 2 % 2;
int i2 = t + 21;
p = i2 % 128;
if (i2 % 2 != 0) {
Xb_(this, R.id.root_view, getString(R.string.banking_success_save_to_your_gallery), EnumC8951daY.SUCCESS);
} else {
Xb_(this, R.id.root_view, getString(R.string.banking_success_save_to_your_gallery), EnumC8951daY.SUCCESS);
throw null;
}
}
private static /* synthetic */ Object b(Object[] objArr) {
BankingAgentSuccessActivity bankingAgentSuccessActivity = (BankingAgentSuccessActivity) objArr[0];
String str = (String) objArr[1];
int i = 2 % 2;
C14957gcv.e(str, "");
Intent intent = new Intent("android.intent.action.SEND");
intent.setType(ImageInfo.JPEG_MIME_TYPE);
intent.addFlags(1);
intent.putExtra("android.intent.extra.STREAM", Uri.parse(str));
bankingAgentSuccessActivity.startActivity(Intent.createChooser(intent, bankingAgentSuccessActivity.getString(R.string.banking_success_share_slip)));
int i2 = t + 15;
p = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
return null;
}
obj.hashCode();
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
BankingAgentSuccessActivity bankingAgentSuccessActivity = (BankingAgentSuccessActivity) objArr[0];
int i = 2 % 2;
int i2 = p + 13;
t = i2 % 128;
if (i2 % 2 != 0) {
HomeActivity.c((Context) bankingAgentSuccessActivity, false);
} else {
HomeActivity.c((Context) bankingAgentSuccessActivity, true);
}
bankingAgentSuccessActivity.finish();
return null;
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentSuccessActivity, 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 final void onResume() {
int i = 2 % 2;
int i2 = p + 43;
t = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = p + 61;
t = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ax(new char[]{32065, 42865, 51514, 62447, 5555, 15986, 24638, 35511, 44217, 53607, 64294, 7611, 18325, 26736, 37414, 46328, 56998, 870, 9530, 20468, 29080, 39523, 48184, 59116, 2217, 11619}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 55837, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{32067, 6794, 45804, 19151, 57913, 31253, 4718, 43640, 17320, 56199, 29690, 3036, 41783, 15122, 54118, 27480, 191, 39041}, 26591 - View.combineMeasuredStates(0, 0), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.indexOf("", "") + 492, Color.red(0) + 5, (char) View.resolveSizeAndState(0, 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(487 - View.resolveSize(0, 0), TextUtils.lastIndexOf("", '0', 0) + 6, (char) ((Process.getThreadPriority(0) + 20) >> 6))).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();
int i6 = t + 41;
p = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentSuccessActivity, 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 final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ax(new char[]{32065, 42865, 51514, 62447, 5555, 15986, 24638, 35511, 44217, 53607, 64294, 7611, 18325, 26736, 37414, 46328, 56998, 870, 9530, 20468, 29080, 39523, 48184, 59116, 2217, 11619}, 55871 - (ViewConfiguration.getScrollDefaultDelay() >> 16), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new char[]{32067, 6794, 45804, 19151, 57913, 31253, 4718, 43640, 17320, 56199, 29690, 3036, 41783, 15122, 54118, 27480, 191, 39041}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.gift_about_part2_description).substring(18, 19).codePointAt(0) + 26559, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i2 = t + 83;
p = i2 % 128;
int i3 = i2 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = t + 105;
p = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - View.MeasureSpec.makeMeasureSpec(0, 0), 5 - KeyEvent.keyCodeFromString(""), (char) KeyEvent.keyCodeFromString(""))).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(KeyEvent.getDeadChar(0, 0) + 487, (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) (MotionEvent.axisFromString("") + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
int i6 = p + 47;
t = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 49 / 0;
}
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentSuccessActivity, 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 final void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = t + 59;
p = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(new char[]{32065, 6863, 45638, 19409, 58187, 30924, 4162, 43401, 16711, 57050, 30212, 4091, 42846, 15554, 54349, 28106, 1347, 41666}, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 26496, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{'\'', 27, 0, 7, 13908}, (byte) (86 - TextUtils.getOffsetBefore("", 0)), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = t + 87;
p = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i5 = p + 27;
t = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(Color.red(0) + 492, View.resolveSize(0, 0) + 5, (char) Color.green(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{7, '\"', '/', 3, 1, '\n', 2, '\b', 4, '!', '\t', 16, 4, 6, 5, 31, 6, 4, 5, 30, '\n', 3, 11, 30, 5, 22, '\r', 22, 11, 29, 6, 20, 20, '\"', '\"', '\f', 0, '$', 13842, 13842, 3, ',', '\"', 25, '\f', 29, '&', '*'}, (byte) (TextUtils.indexOf((CharSequence) "", '0') + 27), 48 - Color.blue(0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{'(', 0, 21, '(', '!', '\f', '.', 31, ')', 21, 5, 23, 5, 23, '\"', 7, 24, '/', '\t', 6, '\f', 22, '\n', ',', 5, 24, 22, 7, 4, 30, 26, NistHelper.SEP_FS, 13854, 13854, 23, '\r', 26, '\"', 13929, 13929, '!', '\f', '\f', 23, '\"', 20, '!', '\f', '/', '\"', 0, 29, '\f', 29, 26, 6, 29, '\f', '\f', '\"', '!', '\f', 7, '%'}, (byte) (112 - TextUtils.lastIndexOf("", '0')), 64 - (Process.myTid() >> 22), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{'\f', 30, 24, 0, '\n', 2, 13863, 13863, 4, 30, 0, '&', 3, '/', 26, NistHelper.SEP_FS, '\f', 2, 0, 22, 7, 27, 30, 0, '\f', 29, 0, '$', '(', '!', '\"', '.', '/', 3, '\r', 23, 23, 6, 13779, 13779, 21, 22, 24, 6, '\b', 15, 21, '(', 0, '(', 5, 30, 25, '!', 22, 0, 23, 7, 2, '\b', 26, '\"', 7, 29}, (byte) ((Process.myTid() >> 22) + 40), (ViewConfiguration.getScrollBarSize() >> 8) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{'\b', '!', NistHelper.SEP_FS, 15, '*', '\t', 13838, 13838, '*', 2, '\r', '%', '\f', '+', 13904, 13904, '%', 14, 7, 1, '\b', '%', 2, '\f', 31, '&', 22, 30, '\t', 19, '%', 7, '$', 15, 16, 2, 30, 22, '\'', '\f', 16, 23, '*', '-', 18, '\n', 16, 23, '%', 21, '\f', '+', '$', '0', 7, 16, 1, '*', 3, 21, ')', '$', '+', 30, '0', 1, 1, ',', ')', 0, '&', 21, 30, '+'}, (byte) (89 - TextUtils.indexOf("", "")), View.MeasureSpec.getSize(0) + 74, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay(new char[]{30, 25, 30, 26, 13761}, (byte) (Color.rgb(0, 0, 0) + 16777239), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{'%', 7, 3, ',', '.', '\"', '*', 24, 5, 25, NistHelper.SEP_FS, '*', 6, 5, ',', 3, 13778, 13778, 2, 11, 0, '(', 11, 1, 1, '\t', '\t', 16, '#', '*', '\r', 22, '0', 24, 7, ')'}, (byte) (39 - (ViewConfiguration.getScrollBarSize() >> 8)), 35 - ((byte) KeyEvent.getModifierMetaStateMask()), 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((ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 486, 5 - TextUtils.getOffsetAfter("", 0), (char) TextUtils.getOffsetAfter("", 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 d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = t + 115;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
interfaceC14894gbR.invoke(obj);
int i4 = 99 / 0;
} else {
interfaceC14894gbR.invoke(obj);
}
}
public static /* synthetic */ void b(BankingAgentSuccessActivity bankingAgentSuccessActivity) {
int i = 2 % 2;
int i2 = t + 1;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(bankingAgentSuccessActivity, "");
if (Build.VERSION.SDK_INT < 33) {
int i4 = t + 11;
p = i4 % 128;
int i5 = i4 % 2;
C9918dsu.a(bankingAgentSuccessActivity);
return;
}
int i6 = p;
int i7 = i6 + 51;
t = i7 % 128;
int i8 = i7 % 2;
int i9 = i6 + 11;
t = i9 % 128;
if (i9 % 2 != 0) {
C9918dsu.b(bankingAgentSuccessActivity);
int i10 = 36 / 0;
} else {
C9918dsu.b(bankingAgentSuccessActivity);
}
int i11 = t + 117;
p = i11 % 128;
int i12 = i11 % 2;
}
public static /* synthetic */ void a(BankingAgentSuccessActivity bankingAgentSuccessActivity) {
int i = 2 % 2;
int i2 = t + 45;
p = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(bankingAgentSuccessActivity, "");
if (i3 != 0 ? Build.VERSION.SDK_INT >= 33 : Build.VERSION.SDK_INT >= 117) {
int i4 = p + 99;
t = i4 % 128;
int i5 = i4 % 2;
C9918dsu.d(bankingAgentSuccessActivity);
return;
}
C9918dsu.c(bankingAgentSuccessActivity);
int i6 = t + 125;
p = i6 % 128;
if (i6 % 2 == 0) {
throw null;
}
}
public static /* synthetic */ void d(BankingAgentSuccessActivity bankingAgentSuccessActivity) {
boolean z;
int i = 2 % 2;
C14957gcv.e(bankingAgentSuccessActivity, "");
C2536agU c2536agU = bankingAgentSuccessActivity.presenter;
if (c2536agU != null) {
int i2 = p;
int i3 = i2 + 45;
t = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 107;
t = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c2536agU = null;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.ahc
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC9027dbv) obj).a();
}
};
if (c2536agU.f != 0) {
int i7 = t + 87;
p = i7 % 128;
int i8 = i7 % 2;
z = true;
} else {
int i9 = p + 5;
t = i9 % 128;
int i10 = i9 % 2;
z = false;
}
if (z) {
ieS.e(c2536agU.f);
}
}
public static /* synthetic */ void b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = p + 67;
t = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(interfaceC14894gbR, "");
if (i3 == 0) {
interfaceC14894gbR.invoke(obj);
return;
}
interfaceC14894gbR.invoke(obj);
Object obj2 = null;
obj2.hashCode();
throw null;
}
static void h() {
r = -6562057421003329818L;
s = new char[]{49114, 49109, 49025, 49024, 49054, 49105, 49093, 49033, 49104, 49106, 48172, 49094, 49115, 49026, 49091, 48168, 49089, 49090, 48174, 48170, 48160, 49027, 49107, 49053, 49117, 49098, 49029, 49030, 49028, 49095, 48169, 49112, 49034, 49035, 48171, 49110, 49119, 48173, 48163, 48175, 49108, 49118, 49126, 49052, 49088, 49031, 48161, 49116, 49111};
q = (char) 35374;
}
@Override // com.scb.phone.view.activity.bankingagent.Hilt_BankingAgentSuccessActivity, 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 final void onStart() {
int i = 2 % 2;
int i2 = t + 107;
p = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = p + 119;
t = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
public final void j() {
c(new Object[]{this}, -1259042492, 1259042495, System.identityHashCode(this));
}
@Override // o.InterfaceC9027dbv
public final void e(FD fd) {
c(new Object[]{this, fd}, 571194242, -571194242, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 472525634);
}
@Override // o.InterfaceC9027dbv
public final void d(String str) {
c(new Object[]{this, str}, -1751636242, 1751636243, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.security_block_enable_accessibility_description).substring(121, 122).codePointAt(0) - 813888113);
}
@Override // o.InterfaceC9027dbv
public final void a() {
c(new Object[]{this}, 1259461590, -1259461588, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) - 20008894);
}
static {
p = 1;
h();
b = new LWm((byte) 0);
int i = t + 65;
p = i % 128;
if (i % 2 == 0) {
int i2 = 22 / 0;
}
}
}