what-the-bank/sources/com/scb/phone/view/activity/transferandpay/transfer/TransferGiftingInputActivit...

917 lines
40 KiB
Java

package com.scb.phone.view.activity.transferandpay.transfer;
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.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
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.sme.gifting.GiftPreviewActivity;
import com.scb.phone.view.activity.sme.gifting.GiftingMoneyReviewActivity;
import com.scb.phone.view.custom.common.NoteEditText;
import com.scb.phone.view.fragment.gift.GiftMoneySelectThemeFragment;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC13482fbE;
import o.C1182Xi;
import o.C1189Xo;
import o.C1238Ys;
import o.C1245Yu;
import o.C1249Yx;
import o.C14801g;
import o.C14957gcv;
import o.C15602gz;
import o.C16124lSp;
import o.C4593bdB;
import o.C6532cVp;
import o.C6583cXR;
import o.CN;
import o.GuL;
import o.InterfaceC13391fZD;
import o.InterfaceC9619dnE;
import o.PWw;
import o.WG;
import o.WI;
import o.WM;
import o.ZI;
import o.gdZ;
import o.qhK;
import o.xzZ;
/* loaded from: classes5.dex */
public final class TransferGiftingInputActivity extends Hilt_TransferGiftingInputActivity implements InterfaceC9619dnE {
private static long k;
private static int m;
/* renamed from: o, reason: collision with root package name */
private static long f8009o;
@BindView
public NoteEditText noteEditText;
@InterfaceC13391fZD
public C6532cVp presenter;
private static final byte[] $$p = {80, 41, ISO7816.INS_UPDATE_RECORD, 94};
private static final int $$q = 114;
private static int $10 = 0;
private static int $11 = 1;
private static int l = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002e). 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 aC(byte r6, short r7, int r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 4
int r8 = 121 - r8
int r7 = r7 * 4
int r0 = 1 - r7
byte[] r1 = com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.$$p
byte[] r0 = new byte[r0]
r2 = 0
int r7 = 0 - r7
if (r1 != 0) goto L14
r3 = r6
r4 = r2
goto L2e
L14:
r3 = r2
r5 = r8
r8 = r6
r6 = r5
L18:
byte r4 = (byte) r6
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r7) goto L27
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L27:
int r8 = r8 + 1
r3 = r1[r8]
r5 = r3
r3 = r8
r8 = r5
L2e:
int r8 = -r8
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.aC(byte, short, int, java.lang.Object[]):void");
}
public static /* synthetic */ Object d(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~(i4 | i3);
int i6 = ~i3;
int i7 = (i * 905) + (i2 * (-903)) + ((i5 | (~(i6 | i2))) * (-1808));
int i8 = ~i2;
int i9 = i | i6;
if (i7 + (((~(i9 | i2)) | (~(i4 | i8 | i3))) * 904) + (((~i9) | (~(i2 | i4)) | (~(i3 | i8))) * 904) == 1) {
return c(objArr);
}
TransferGiftingInputActivity transferGiftingInputActivity = (TransferGiftingInputActivity) objArr[0];
int i10 = 2 % 2;
Context baseContext = transferGiftingInputActivity.getBaseContext();
if (baseContext == null) {
int i11 = m + 125;
l = i11 % 128;
int i12 = i11 % 2;
Object[] objArr2 = new Object[1];
aA(new char[]{8703, 31398, 8606, 51443, 3459, 9729, 46225, 53506, 64700, 11960, 853, 63410, 39878, 19317, 24685, 38022, 46650, 29706, 20125, 18845, 21817, 37172, 43969, 28281, 28791, 46057, 35059, 841, 3734, 56465}, -TextUtils.indexOf((CharSequence) "", '0', 0), objArr2);
Class<?> cls = Class.forName((String) objArr2[0]);
Object[] objArr3 = new Object[1];
aB(new char[]{64335, 41700, 18468, 63081, 40381, 15347, 57654, 36678, 14004, 56569, 31266, 8282, 53139, 30164, 4878, 47446, 24723, 3791}, ExpandableListView.getPackedPositionChild(0L) + 22974, objArr3);
baseContext = (Context) cls.getMethod((String) objArr3[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i13 = l + 65;
m = i13 % 128;
int i14 = i13 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(ExpandableListView.getPackedPositionGroup(0L) + 487, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause != null) {
throw cause;
}
throw th;
}
}
super.onResume();
return null;
}
private static void aA(char[] cArr, int i, Object[] objArr) {
Object obj;
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a = GuL.a(k ^ (-7538262848231253921L), cArr, i);
int i3 = 4;
guL.a = 4;
int i4 = $10 + 123;
$11 = i4 % 128;
int i5 = i4 % 2;
while (true) {
obj = null;
if (guL.a >= a.length) {
break;
}
guL.c = guL.a - i3;
int i6 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a[guL.a] ^ a[guL.a % i3]), Long.valueOf(guL.c), Long.valueOf(k)};
Object obj2 = xzZ.y.get(428080616);
if (obj2 == null) {
Class cls = (Class) xzZ.c((ViewConfiguration.getScrollBarSize() >> 8) + 208, 5 - View.getDefaultSize(0, 0), (char) (1706 - Drawable.resolveOpacity(0, 0)));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 + 2), objArr3);
obj2 = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj2);
}
a[i6] = ((Character) ((Method) obj2).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj3 = xzZ.y.get(-1875914398);
if (obj3 == null) {
Class cls2 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 391, TextUtils.indexOf("", "") + 5, (char) Color.alpha(0));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, b4, objArr5);
obj3 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1875914398, obj3);
}
((Method) obj3).invoke(null, objArr4);
int i7 = $10 + 55;
$11 = i7 % 128;
int i8 = i7 % 2;
i3 = 4;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(a, 4, a.length - 4);
int i9 = $10 + 91;
$11 = i9 % 128;
if (i9 % 2 != 0) {
objArr[0] = str;
} else {
obj.hashCode();
throw null;
}
}
private static void aB(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 = $11 + 71;
$10 = i3 % 128;
int i4 = i3 % 2;
int i5 = 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(403 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (Color.red(0) + 21608));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
aC(b, b2, (byte) (b2 | ISO7816.INS_UNBLOCK_CHV), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i5] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (f8009o ^ (-6958928035870403642L));
try {
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(Process.getGidForName("") + 239, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) TextUtils.getOffsetAfter("", 0));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
aC(b3, b4, (byte) (b4 | 43), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i6 = $10 + 29;
$11 = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
try {
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 238, 5 - View.MeasureSpec.getMode(0), (char) TextUtils.indexOf("", "", 0));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
aC(b5, b6, (byte) (b6 | 43), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
}
String str = new String(cArr2);
int i8 = $10 + 111;
$11 = i8 % 128;
int i9 = i8 % 2;
objArr[0] = str;
}
/* loaded from: classes5.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x008f, code lost:
if (r2 > 99999) goto L6;
*/
@Override // com.scb.phone.view.activity.transferandpay.transfer.Hilt_TransferGiftingInputActivity, 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 final void onCreate(android.os.Bundle r19) {
/*
Method dump skipped, instructions count: 1326
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.onCreate(android.os.Bundle):void");
}
@OnClick
public final void onPreviewButtonClicked() {
int i = 2 % 2;
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.fm_layout_card_selection);
if (findFragmentById instanceof GiftMoneySelectThemeFragment) {
final C6532cVp c6532cVp = this.presenter;
Object obj = null;
if (c6532cVp == null) {
C14957gcv.a("");
c6532cVp = null;
}
NoteEditText noteEditText = this.noteEditText;
if (noteEditText != null) {
int i2 = l + 125;
int i3 = i2 % 128;
m = i3;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
int i4 = i3 + 109;
l = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
noteEditText = null;
}
final String obj2 = noteEditText.mNoteEditText.getText().toString();
final WM wm = ((GiftMoneySelectThemeFragment) findFragmentById).d;
if (wm != null) {
ZI.IeS ieS = new ZI.IeS(c6532cVp, wm, obj2) { // from class: o.cVq
private C6532cVp a;
private String b;
private WM e;
@Override // o.ZI.IeS
public final void e(Object obj3) {
C6532cVp.a(this.a, this.e, this.b, (InterfaceC9619dnE) obj3);
}
{
this.a = c6532cVp;
this.e = wm;
this.b = obj2;
}
};
if (c6532cVp.f != 0) {
int i6 = m;
int i7 = i6 + 97;
l = i7 % 128;
int i8 = i7 % 2;
int i9 = i6 + 31;
l = i9 % 128;
if (i9 % 2 == 0) {
ieS.e(c6532cVp.f);
} else {
ieS.e(c6532cVp.f);
obj.hashCode();
throw null;
}
}
}
}
}
@OnClick
public final void onSendGiftButtonClicked() {
WG e;
String str;
int i = 2 % 2;
Fragment findFragmentById = getSupportFragmentManager().findFragmentById(R.id.fm_layout_card_selection);
if (findFragmentById instanceof GiftMoneySelectThemeFragment) {
int i2 = m + 71;
int i3 = i2 % 128;
l = i3;
int i4 = i2 % 2;
C6532cVp c6532cVp = this.presenter;
C1249Yx c1249Yx = null;
if (c6532cVp != null) {
int i5 = i3 + 55;
m = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
c6532cVp = null;
}
NoteEditText noteEditText = this.noteEditText;
if (noteEditText == null) {
C14957gcv.a("");
noteEditText = null;
}
String obj = noteEditText.mNoteEditText.getText().toString();
C14957gcv.c((Object) obj, "");
WM wm = ((GiftMoneySelectThemeFragment) findFragmentById).d;
C14957gcv.e(obj, "");
if (wm != null) {
int i7 = l + 3;
m = i7 % 128;
if (i7 % 2 == 0) {
TextUtils.isEmpty(obj);
throw null;
}
if ((!TextUtils.isEmpty(obj)) && !C6583cXR.b("^(?=\\S)[0-9a-zA-Z\\u0E00-\\u0E3E\\u0E40-\\u0E7F _*'\"#&*()@:;<>!^\\-]+$", obj)) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.cVr
@Override // o.ZI.IeS
public final void e(Object obj2) {
((InterfaceC9619dnE) obj2).c();
}
};
if (c6532cVp.f != 0) {
int i8 = l + 107;
m = i8 % 128;
int i9 = i8 % 2;
ieS.e(c6532cVp.f);
return;
}
return;
}
int i10 = m + 65;
l = i10 % 128;
int i11 = i10 % 2;
if (c6532cVp.f != 0) {
int i12 = m + 53;
l = i12 % 128;
if (i12 % 2 == 0) {
c6532cVp.f.y();
}
}
C1249Yx c1249Yx2 = c6532cVp.a;
if (c1249Yx2 == null) {
C14957gcv.a("");
c1249Yx2 = null;
}
if (c1249Yx2.a != null) {
C1182Xi c1182Xi = new C1182Xi();
c1182Xi.D = c1249Yx2.h.name();
String str2 = c1249Yx2.b;
if (str2 == null) {
int i13 = l + 55;
m = i13 % 128;
int i14 = i13 % 2;
PWw pWw = c1249Yx2.i;
str2 = pWw != null ? pWw.name() : null;
}
c1182Xi.u = str2;
c1182Xi.c = c1249Yx2.a;
if (qhK.PROMPTPAY == c1249Yx2.h) {
int i15 = l + 19;
m = i15 % 128;
if (i15 % 2 == 0) {
String str3 = c1249Yx2.j;
c1249Yx.hashCode();
throw null;
}
str = c1249Yx2.j;
} else {
str = c1249Yx2.c;
}
c1182Xi.g = str;
CN cn = c6532cVp.c;
e = CN.c(c1182Xi);
C14957gcv.c(e, "");
} else if (qhK.PROMPTPAY == c1249Yx2.h) {
if (PWw.CID == c1249Yx2.i) {
CN cn2 = c6532cVp.c;
C1238Ys c1238Ys = new C1238Ys();
c1238Ys.b = c1249Yx2.j;
e = CN.c(c1238Ys);
int i16 = m + 33;
l = i16 % 128;
int i17 = i16 % 2;
} else {
CN cn3 = c6532cVp.c;
C1245Yu c1245Yu = new C1245Yu();
c1245Yu.b = c1249Yx2.j;
e = CN.c(c1245Yu);
}
C14957gcv.c(e, "");
} else {
CN cn4 = c6532cVp.c;
e = CN.e(c1249Yx2.c, c1249Yx2.b);
C14957gcv.c(e, "");
}
C16124lSp c16124lSp = c6532cVp.d;
C1249Yx c1249Yx3 = c6532cVp.a;
if (c1249Yx3 != null) {
c1249Yx = c1249Yx3;
} else {
C14957gcv.a("");
}
C14801g d = C14801g.d();
d.c = c1249Yx.e;
d.e = C15602gz.e(c1249Yx.d);
d.i = e.g;
d.d = String.valueOf(wm.f);
d.f = obj;
if (gdZ.a(C6583cXR.d(qhK.PROMPTPAY), e.g, true)) {
int i18 = l + 3;
m = i18 % 128;
if (i18 % 2 == 0) {
d.g = e.a;
d.h = e.i;
int i19 = 27 / 0;
} else {
d.g = e.a;
d.h = e.i;
}
} else {
d.a = e.a;
d.b = e.c;
}
C14957gcv.c(d, "");
c16124lSp.d(d);
C16124lSp c16124lSp2 = c6532cVp.d;
c16124lSp2.d(c16124lSp2.i, new C6532cVp.RVV(c6532cVp, wm, e, obj));
}
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = m + 111;
l = i2 % 128;
if (i2 % 2 == 0) {
super.Z();
setTitle(R.string.transfer_gifting_input_title);
ac();
int i3 = l + 27;
m = i3 % 128;
int i4 = i3 % 2;
return;
}
super.Z();
setTitle(R.string.transfer_gifting_input_title);
ac();
throw null;
}
@Override // o.InterfaceC9619dnE
public final void d(List<? extends WM> list) {
int i = 2 % 2;
C14957gcv.e(list, "");
AbstractC13482fbE a = getSupportFragmentManager().a();
GiftMoneySelectThemeFragment.IeS ieS = GiftMoneySelectThemeFragment.c;
C14957gcv.e(list, "");
GiftMoneySelectThemeFragment giftMoneySelectThemeFragment = new GiftMoneySelectThemeFragment();
Bundle bundle = new Bundle();
bundle.putParcelableArrayList("EXTRA_GIFT_MONEY_LIST", (ArrayList) list);
giftMoneySelectThemeFragment.setArguments(bundle);
a.b(R.id.fm_layout_card_selection, giftMoneySelectThemeFragment, null, 2);
a.b();
int i2 = l + 11;
m = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 1 / 0;
}
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
o.C14957gcv.a("");
r1 = com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.m + 91;
com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.l = r1 % 128;
r1 = r1 % 2;
r1 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
r2 = r2 + 77;
com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.m = r2 % 128;
r2 = r2 % 2;
*/
@Override // o.InterfaceC9619dnE
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void c() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.m
int r1 = r1 + 117
int r2 = r1 % 128
com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.l = r2
int r1 = r1 % r0
if (r1 == 0) goto L17
com.scb.phone.view.custom.common.NoteEditText r1 = r4.noteEditText
r3 = 11
int r3 = r3 / 0
if (r1 == 0) goto L23
goto L1b
L17:
com.scb.phone.view.custom.common.NoteEditText r1 = r4.noteEditText
if (r1 == 0) goto L23
L1b:
int r2 = r2 + 77
int r3 = r2 % 128
com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.m = r3
int r2 = r2 % r0
goto L32
L23:
java.lang.String r1 = ""
o.C14957gcv.a(r1)
int r1 = com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.m
int r1 = r1 + 91
int r2 = r1 % 128
com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.l = r2
int r1 = r1 % r0
r1 = 0
L32:
r1.d()
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.transferandpay.transfer.TransferGiftingInputActivity.c():void");
}
@Override // o.InterfaceC9619dnE
public final void a(WI wi) {
int i = 2 % 2;
C14957gcv.e(wi, "");
Intent intent = new Intent(this, (Class<?>) GiftPreviewActivity.class);
intent.putExtra("EXTRA_GIFT_STATUS_SELECTED", wi);
startActivity(intent);
int i2 = m + 39;
l = i2 % 128;
if (i2 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void ab() {
int i = 2 % 2;
int i2 = l + 101;
m = i2 % 128;
int i3 = i2 % 2;
getWindow().setFlags(8192, 8192);
int i4 = l + 55;
m = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 89 / 0;
}
}
@Override // o.InterfaceC9619dnE
public final void a(C1189Xo c1189Xo) {
int i = 2 % 2;
int i2 = l + 17;
m = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(c1189Xo, "");
GiftingMoneyReviewActivity.d(this, c1189Xo);
int i4 = m + 117;
l = i4 % 128;
int i5 = i4 % 2;
}
@Override // com.scb.phone.view.activity.transferandpay.transfer.Hilt_TransferGiftingInputActivity, 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;
int i2 = l + 21;
m = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
getBaseContext();
obj.hashCode();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{8703, 31398, 8606, 51443, 3459, 9729, 46225, 53506, 64700, 11960, 853, 63410, 39878, 19317, 24685, 38022, 46650, 29706, 20125, 18845, 21817, 37172, 43969, 28281, 28791, 46057, 35059, 841, 3734, 56465}, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aB(new char[]{64335, 41700, 18468, 63081, 40381, 15347, 57654, 36678, 14004, 56569, 31266, 8282, 53139, 30164, 4878, 47446, 24723, 3791}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 22939, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
int i3 = m + 9;
l = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getScrollBarSize() >> 8), TextUtils.getOffsetAfter("", 0) + 5, (char) (ViewConfiguration.getKeyRepeatDelay() >> 16))).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(487 - (ViewConfiguration.getLongPressTimeout() >> 16), (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)) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).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 // com.scb.phone.view.activity.transferandpay.transfer.Hilt_TransferGiftingInputActivity, 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;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{31467, 37474, 31370, 22888, 58695, 47002, 25495, 1540, 42920, 50812, 37582, 8372, 49372, 41906, 61864, 17406, 60701, 40130, 57105, 40599, 3624, 31210}, Color.red(0) + 1, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{29770, 25095, 29735, 57626, 5429, 4057, 58110, 34678, 43266}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i2 = l + 105;
m = i2 % 128;
if (i2 % 2 == 0) {
throw null;
}
if (intValue <= 99999) {
return;
}
}
if (context != null) {
context = context.getApplicationContext();
int i3 = m + 59;
l = i3 % 128;
int i4 = i3 % 2;
}
if (context != null) {
int i5 = l + 45;
m = i5 % 128;
int i6 = i5 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.resolveSize(0, 0) + 492, TextUtils.indexOf("", "") + 5, (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{64097, 42459, 64080, 41108, 53927, 20022, 18954, 12169, 10110, 61903, 27440, 2406, 16475, 37953, 2120, 27218, 28118, 43894, 9917, 46935, 36531, 19987, 50144, 37027, 43918, 27848, 57479, 64910, 54543, 958, 48489, 57046, 63030, 9885, 23098, 14382, 4912, 50501, 30554, 1402, 15499, 39017, 5588, 26117, 23019, 48876, 13027, 17318, 31462, 24012, 53131, 44283}, (ViewConfiguration.getEdgeSlop() >> 16) + 1, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aB(new char[]{64329, 30347, 57488, 20998, 52238, 16279, 43398, 7030, 38241, 244, 29356, 60525, 24098, 51227, 15325, 46486, 10058, 37133, 3271, 32385, 59435, 23091, 54691, 18347, 45415, 8999, 40222, 2184, 31378, 62532, 26122, 53711, 17339, 48510, 12083, 39586, 5293, 34413, 61552, 25165, 56786, 20419, 47391, 11021, 42693, 4284, 33404, 64613, 28600, 55713, 19248, 50468, 14155, 41693, 7319, 36381, 63500, 27538, 58815, 22387, 49462, 15551, 44795, 6194}, 36293 - Color.blue(0), objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aA(new char[]{31415, 29508, 31446, 32867, 1079, 28357, 20798, 13548, 43002, 9984, 19396, 4694, 49373, 17118, 10430, 29026, 60753, 32191, 1609, 44131, 3686, 39133, 58179, 35743, 11098, 47699, 49190, 59057, 21980, 54575, 40347, 50610, 30395, 61453, 31376, 9039, 37859, 5005, 22516, 7754, 48142, 20129, 13680, 32098, 55610, 26743, 4632, 22676, 64053, 35592, 61231, 47006, 9413, 42618, 52471, 37623, 16829, 49658, 43393, 61509, 25327, 64662, 34555, 12054, 36630, 8099, 25642, 2684}, 1 - (ViewConfiguration.getDoubleTapTimeout() >> 16), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aB(new char[]{64324, 5751, 8454, 15569, 20451, 23293, 29721, 34634, 37415, 44514, 47259, 51780, 58747, 61472, 979, 7808, 10681, 15169, 22017, 24888, 31969, 36763, 39236, 46196, 50986, 53968, 60868, 63661, 2656, 9485, 12491, 17404, 24248, 26688, 31603, 38450, 41412, 48329, 53169, 55664, 62485, 2009, 4862, 11706, 16201, 18970, 25919, 28927, 33689, 40701, 43105, 47902, 54989, 57784, 64679, 3653, 6413, 13428, 18403, 21143, 27727, 32634, 35389, 42441, 45251, 50101, 56576, 59470, 64309, 5873, 8595, 13131, 20064, 22840}, 60719 - Color.blue(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new char[]{64277, 4255, 11310, 14805, 21864}, ((byte) KeyEvent.getModifierMetaStateMask()) + 60318, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{19924, 58956, 19889, 19149, 37222, 42089, 60517, 35248, 37020, 45570, 33083, 44888, 63393, 55257, 57875, 52281, 55858, 59566, 52451, 4402, 14677, 3462, 10662, 13973, 7274, 12046, 2780, 23541, 25326, 16508, 22369, 30957, 16855, 25942, 45156, 40517, 42112, 34514, 40202, 41793}, -TextUtils.indexOf((CharSequence) "", '0', 0), objArr8);
Object[] objArr9 = {context, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (ViewConfiguration.getScrollDefaultDelay() >> 16), 5 - View.resolveSizeAndState(0, 0, 0), (char) Color.argb(0, 0, 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;
}
}
}
private static /* synthetic */ Object c(Object[] objArr) {
Context context = (Context) objArr[0];
C1249Yx c1249Yx = (C1249Yx) objArr[1];
int i = 2 % 2;
int i2 = m + 51;
l = i2 % 128;
int i3 = i2 % 2;
Object obj = null;
C14957gcv.e(c1249Yx, "");
if (i3 != 0) {
obj.hashCode();
throw null;
}
if (context != null) {
Intent intent = new Intent(context, (Class<?>) TransferGiftingInputActivity.class);
intent.putExtra("TRANSFER_GIFTING_INPUT", c1249Yx);
context.startActivity(intent);
int i4 = l + 49;
m = i4 % 128;
int i5 = i4 % 2;
}
return null;
}
static void g() {
k = 8309201635118722836L;
f8009o = -1887445689690756886L;
}
@Override // com.scb.phone.view.activity.transferandpay.transfer.Hilt_TransferGiftingInputActivity, 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() {
d(new Object[]{this}, -80148033, 80148033, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 763287976);
}
@Override // com.scb.phone.view.activity.transferandpay.transfer.Hilt_TransferGiftingInputActivity, 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 = l + 71;
m = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
int i4 = 44 / 0;
}
}
public static final void d(Context context, C1249Yx c1249Yx) {
d(new Object[]{context, c1249Yx}, -268249444, 268249445, (int) System.currentTimeMillis());
}
static {
m = 1;
g();
new Sts((byte) 0);
int i = l + 17;
m = i % 128;
int i2 = i % 2;
}
}