what-the-bank/sources/com/scb/phone/view/activity/BaseReviewActivity.java

758 lines
37 KiB
Java

package com.scb.phone.view.activity;
import android.content.Context;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.media.AudioTrack;
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.MenuItem;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.fragment.app.Fragment;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.scb.phone.R;
import com.scb.phone.view.fragment.otppin.MobileListFragment;
import com.scb.phone.view.fragment.otppin.OtpPinFragment;
import java.lang.reflect.Method;
import o.AbstractActivityC9735dpW;
import o.AbstractC13482fbE;
import o.C0693Mj;
import o.C1189Xo;
import o.C4403bZM;
import o.C6553cWc;
import o.EnumC8951daY;
import o.InterfaceC13391fZD;
import o.InterfaceC8956dad;
import o.InterfaceC9010dbe;
import o.jTb;
import o.qhK;
import o.xzZ;
import o.yRS;
/* loaded from: classes4.dex */
public abstract class BaseReviewActivity extends AbstractActivityC9735dpW implements InterfaceC9010dbe.Hsz, OtpPinFragment.HBt, InterfaceC8956dad {
public C1189Xo b;
private String[] m = {"REVIEW_FRAGMENT_TAG", "OTP_MOBILE_LIST_FRAGMENT_TAG", "OTP_PIN_FRAGMENT_TAG"};
/* renamed from: o, reason: collision with root package name */
public qhK f6520o;
@InterfaceC13391fZD
public C6553cWc presenter;
private static final byte[] $$g = {39, 47, 87, -72};
private static final int $$h = 220;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 0;
private static int w = 1;
private static int[] q = {238076435, -942544717, -1888463128, 741112258, 292597666, 845856707, 1793036390, -108589513, 739084116, -228588699, -1619826930, -1875942229, 502076994, 558880745, -1911260044, -1660323543, 1386138322, 589851218};
private static char s = 12074;
private static char r = 40364;
private static char t = 50461;
private static char p = 49356;
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4: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(byte r6, int r7, byte r8, java.lang.Object[] r9) {
/*
int r6 = r6 + 66
byte[] r0 = com.scb.phone.view.activity.BaseReviewActivity.$$g
int r8 = r8 + 4
int r7 = r7 * 4
int r7 = r7 + 1
byte[] r1 = new byte[r7]
r2 = 0
if (r0 != 0) goto L13
r3 = r8
r4 = r2
r8 = r7
goto L2c
L13:
r3 = r2
L14:
byte r4 = (byte) r6
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r7) goto L23
java.lang.String r6 = new java.lang.String
r6.<init>(r1, r2)
r9[r2] = r6
return
L23:
int r8 = r8 + 1
r4 = r0[r8]
r5 = r8
r8 = r6
r6 = r4
r4 = r3
r3 = r5
L2c:
int r6 = -r6
int r6 = r6 + r8
r8 = r3
r3 = r4
goto L14
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseReviewActivity.az(byte, int, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
BaseReviewActivity baseReviewActivity = (BaseReviewActivity) objArr[0];
int i4 = 2 % 2;
int i5 = w + 97;
v = i5 % 128;
int i6 = i5 % 2;
baseReviewActivity.ar_();
baseReviewActivity.d("OTP_MOBILE_LIST_FRAGMENT_TAG", null, null);
int i7 = v + 111;
w = i7 % 128;
int i8 = i7 % 2;
return null;
}
@Override // com.scb.phone.view.activity.transferandpay.ReviewActivity
public abstract void d(C1189Xo c1189Xo);
@Override // com.scb.phone.view.activity.transferandpay.ReviewActivity
public abstract String g();
private static void ay(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
jTb jtb = new jTb();
char[] cArr2 = new char[cArr.length];
jtb.b = 0;
char[] cArr3 = new char[2];
while (jtb.b < cArr.length) {
cArr3[0] = cArr[jtb.b];
cArr3[1] = cArr[jtb.b + 1];
int i3 = 58224;
int i4 = 0;
while (i4 < 16) {
int i5 = $11 + 51;
$10 = i5 % 128;
int i6 = i5 % 2;
char c = cArr3[1];
char c2 = cArr3[0];
try {
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i3) ^ ((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(412 - Color.alpha(0), 5 - (ViewConfiguration.getJumpTapTimeout() >> 16), (char) (Process.myPid() >> 22));
byte b = (byte) 0;
byte b2 = b;
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 - 1), 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();
cArr3[1] = charValue;
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i3) ^ ((charValue << 4) + ((char) (s ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(r)};
Object obj2 = xzZ.y.get(597144044);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 412, Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((-1) - ((byte) KeyEvent.getModifierMetaStateMask())));
byte b3 = (byte) 0;
byte b4 = b3;
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 - 1), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
xzZ.y.put(597144044, obj2);
}
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
i3 -= 40503;
i4++;
int i7 = $11 + 83;
$10 = i7 % 128;
int i8 = i7 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2[jtb.b] = cArr3[0];
cArr2[jtb.b + 1] = cArr3[1];
Object[] objArr6 = {jtb, jtb};
Object obj3 = xzZ.y.get(943004485);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 98, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) ((-16777216) - Color.rgb(0, 0, 0)));
byte b5 = (byte) 1;
byte b6 = (byte) (b5 - 1);
Object[] objArr7 = new Object[1];
az(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);
}
objArr[0] = new String(cArr2, 0, i);
}
private static void ax(int[] iArr, int i, Object[] objArr) {
int[] iArr2;
int length;
int[] iArr3;
int i2 = 2 % 2;
C4403bZM c4403bZM = new C4403bZM();
char[] cArr = new char[4];
char[] cArr2 = new char[iArr.length * 2];
int[] iArr4 = q;
char c = '0';
int i3 = 729798706;
int i4 = 1;
char c2 = 0;
if (iArr4 != null) {
int i5 = $11 + 117;
$10 = i5 % 128;
if (i5 % 2 != 0) {
length = iArr4.length;
iArr3 = new int[length];
} else {
length = iArr4.length;
iArr3 = new int[length];
}
int i6 = 0;
while (i6 < length) {
try {
Object[] objArr2 = new Object[i4];
objArr2[c2] = Integer.valueOf(iArr4[i6]);
Object obj = xzZ.y.get(729798706);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.lastIndexOf("", c) + 16, ImageFormat.getBitsPerPixel(0) + 6, (char) ((ViewConfiguration.getJumpTapTimeout() >> 16) + 58134))).getMethod("i", Integer.TYPE);
xzZ.y.put(729798706, obj);
}
iArr3[i6] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
i6++;
c = '0';
i4 = 1;
c2 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
iArr4 = iArr3;
}
int length2 = iArr4.length;
int[] iArr5 = new int[length2];
int[] iArr6 = q;
if (iArr6 != null) {
int length3 = iArr6.length;
int[] iArr7 = new int[length3];
int i7 = 0;
while (i7 < length3) {
Object[] objArr3 = {Integer.valueOf(iArr6[i7])};
Object obj2 = xzZ.y.get(Integer.valueOf(i3));
if (obj2 != null) {
iArr2 = iArr6;
} else {
iArr2 = iArr6;
obj2 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (58134 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))))).getMethod("i", Integer.TYPE);
i3 = 729798706;
xzZ.y.put(729798706, obj2);
}
iArr7[i7] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
i7++;
iArr6 = iArr2;
}
iArr6 = iArr7;
}
System.arraycopy(iArr6, 0, iArr5, 0, length2);
c4403bZM.b = 0;
while (c4403bZM.b < iArr.length) {
int i8 = $10 + 93;
$11 = i8 % 128;
int i9 = i8 % 2;
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
cArr[1] = (char) iArr[c4403bZM.b];
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
cArr[3] = (char) iArr[c4403bZM.b + 1];
c4403bZM.e = (cArr[0] << 16) + cArr[1];
c4403bZM.a = (cArr[2] << 16) + cArr[3];
C4403bZM.d(iArr5);
int i10 = 0;
for (int i11 = 16; i10 < i11; i11 = 16) {
int i12 = $10 + 83;
$11 = i12 % 128;
if (i12 % 2 == 0) {
c4403bZM.e ^= iArr5[i10];
try {
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj3 = xzZ.y.get(-1196964548);
if (obj3 == null) {
Class cls = (Class) xzZ.c((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 118, Color.alpha(0) + 5, (char) ((-1) - TextUtils.lastIndexOf("", '0')));
byte b = (byte) 0;
Object[] objArr5 = new Object[1];
az((byte) ($$g[0] - 1), b, (byte) (b - 1), objArr5);
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj3);
}
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue;
i10 += 68;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} else {
c4403bZM.e ^= iArr5[i10];
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
Object obj4 = xzZ.y.get(-1196964548);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(117 - ExpandableListView.getPackedPositionChild(0L), (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 5, (char) View.MeasureSpec.getSize(0));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
az((byte) ($$g[0] - 1), b2, (byte) (b2 - 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1196964548, obj4);
}
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
c4403bZM.e = c4403bZM.a;
c4403bZM.a = intValue2;
i10++;
}
int i13 = $11 + 77;
$10 = i13 % 128;
int i14 = i13 % 2;
}
int i15 = c4403bZM.e;
c4403bZM.e = c4403bZM.a;
c4403bZM.a = i15;
c4403bZM.a ^= iArr5[16];
c4403bZM.e ^= iArr5[17];
int i16 = c4403bZM.e;
int i17 = c4403bZM.a;
cArr[0] = (char) (c4403bZM.e >>> 16);
cArr[1] = (char) c4403bZM.e;
cArr[2] = (char) (c4403bZM.a >>> 16);
cArr[3] = (char) c4403bZM.a;
C4403bZM.d(iArr5);
cArr2[c4403bZM.b * 2] = cArr[0];
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
Object[] objArr8 = {c4403bZM, c4403bZM};
Object obj5 = xzZ.y.get(1914371176);
if (obj5 == null) {
Class cls3 = (Class) xzZ.c(99 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), Color.argb(0, 0, 0, 0) + 5, (char) (1 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr9 = new Object[1];
az((byte) 36, b3, (byte) (b3 - 1), objArr9);
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1914371176, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
objArr[0] = new String(cArr2, 0, i);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0093, code lost:
if (r5 > 99999) goto L6;
*/
@Override // o.AbstractActivityC9735dpW, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 r17) {
/*
Method dump skipped, instructions count: 1240
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BaseReviewActivity.onCreate(android.os.Bundle):void");
}
@Override // com.scb.phone.view.activity.BaseActivity, android.app.Activity
public boolean onOptionsItemSelected(MenuItem menuItem) {
int i = 2 % 2;
int i2 = w + 95;
v = i2 % 128;
if (i2 % 2 == 0) {
if (menuItem.getItemId() != 16908332) {
return super.onOptionsItemSelected(menuItem);
}
int i3 = w + 21;
v = i3 % 128;
int i4 = i3 % 2;
super.onBackPressed();
int i5 = w + 83;
v = i5 % 128;
int i6 = i5 % 2;
return true;
}
menuItem.getItemId();
Object obj = null;
obj.hashCode();
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void e(C0693Mj c0693Mj) {
int i = 2 % 2;
int i2 = w + 25;
v = i2 % 128;
if (i2 % 2 == 0) {
ar_();
super.e(c0693Mj);
int i3 = v + 71;
w = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 79 / 0;
return;
}
return;
}
ar_();
super.e(c0693Mj);
Object obj = null;
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9010dbe.Hsz
public final void d(String str) {
int i = 2 % 2;
int i2 = w + 65;
v = i2 % 128;
int i3 = i2 % 2;
ar_();
Xb_(this, R.id.view_group_root, str, EnumC8951daY.ERROR);
int i4 = w + 99;
v = i4 % 128;
int i5 = i4 % 2;
}
@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;
int i2 = v + 103;
w = i2 % 128;
if (i2 % 2 != 0) {
this.presenter.w_();
super.onDestroy();
} else {
this.presenter.w_();
super.onDestroy();
throw null;
}
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void m(String str) {
int i = 2 % 2;
int i2 = v + 87;
w = i2 % 128;
int i3 = i2 % 2;
Xb_(this, R.id.view_group_root, str, EnumC8951daY.SUCCESS);
int i4 = v + 1;
w = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 97 / 0;
}
}
@Override // o.InterfaceC8956dad
public final void c(String str, String str2, String str3) {
int i = 2 % 2;
int i2 = v + 53;
w = i2 % 128;
int i3 = i2 % 2;
d(str, str2, str3);
if (i3 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.fragment.otppin.OtpPinFragment.HBt
public final void a_(String str, String str2) {
int i = 2 % 2;
int i2 = v + 5;
w = i2 % 128;
if (i2 % 2 == 0) {
y();
this.presenter.c(this.b, this.f6520o, str2, str, true);
} else {
y();
this.presenter.c(this.b, this.f6520o, str2, str, false);
}
int i3 = v + 101;
w = i3 % 128;
if (i3 % 2 == 0) {
int i4 = 86 / 0;
}
}
private void d(String str, String str2, String str3) {
int i = 2 % 2;
yRS supportFragmentManager = getSupportFragmentManager();
AbstractC13482fbE a = supportFragmentManager.a();
String[] strArr = this.m;
int i2 = w + 71;
v = i2 % 128;
int i3 = i2 % 2;
for (String str4 : strArr) {
Fragment findFragmentByTag = supportFragmentManager.findFragmentByTag(str4);
if (findFragmentByTag != null) {
a.c(findFragmentByTag);
}
}
Fragment findFragmentByTag2 = supportFragmentManager.findFragmentByTag(str);
String str5 = B_().equalsIgnoreCase("en") ? "FastEasyDefault_EN" : "FastEasyDefault_TH";
if (findFragmentByTag2 != null) {
int i4 = v + 81;
w = i4 % 128;
int i5 = i4 % 2;
a.a(findFragmentByTag2);
if ("REVIEW_FRAGMENT_TAG".equals(str)) {
((OtpPinFragment) findFragmentByTag2).e(str2, str3, str5);
}
} else if ("OTP_MOBILE_LIST_FRAGMENT_TAG".equals(str)) {
MobileListFragment mobileListFragment = new MobileListFragment();
mobileListFragment.c = true;
a.b(R.id.container, mobileListFragment, "OTP_MOBILE_LIST_FRAGMENT_TAG", 1);
if (!a.d) {
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
a.a = true;
a.m = "OTP_MOBILE_LIST_FRAGMENT_TAG";
} else if ("OTP_PIN_FRAGMENT_TAG".equals(str)) {
OtpPinFragment otpPinFragment = new OtpPinFragment();
otpPinFragment.e(str2, str3, str5);
a.b(R.id.container, otpPinFragment, "OTP_PIN_FRAGMENT_TAG", 1);
if (!a.d) {
throw new IllegalStateException("This FragmentTransaction is not allowed to be added to the back stack.");
}
int i6 = v + 115;
w = i6 % 128;
int i7 = i6 % 2;
a.a = true;
a.m = "OTP_PIN_FRAGMENT_TAG";
}
a.b();
}
@Override // o.AbstractActivityC9735dpW, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = v + 99;
w = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = w + 77;
v = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay(new char[]{12746, 48592, 21490, 53481, 65079, 13362, 3711, 62644, 31536, 24784, 61220, 52498, 40786, 52716, 34049, 39093, 52259, 52163, 36828, 48922, 39842, 22274, 45116, 4836, 23012, 9458}, TextUtils.indexOf((CharSequence) "", '0', 0) + 27, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-1258318240, -1232554129, -1623032499, -639532124, 1185877180, -1043435458, -1062731773, 1610732424, -138813766, 2074399310}, 18 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 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(492 - TextUtils.indexOf("", "", 0), 4 - TextUtils.lastIndexOf("", '0'), (char) (ViewConfiguration.getMaximumFlingVelocity() >> 16))).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(486 - ((byte) KeyEvent.getModifierMetaStateMask()), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 5, (char) View.MeasureSpec.getSize(0))).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 // o.AbstractActivityC9735dpW, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public void onPause() {
int i = 2 % 2;
int i2 = v + 35;
w = 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];
ay(new char[]{12746, 48592, 21490, 53481, 65079, 13362, 3711, 62644, 31536, 24784, 61220, 52498, 40786, 52716, 34049, 39093, 52259, 52163, 36828, 48922, 39842, 22274, 45116, 4836, 23012, 9458}, 25 - TextUtils.lastIndexOf("", '0', 0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(new int[]{-1258318240, -1232554129, -1623032499, -639532124, 1185877180, -1043435458, -1062731773, 1610732424, -138813766, 2074399310}, (ViewConfiguration.getLongPressTimeout() >> 16) + 18, 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 obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (Process.myPid() >> 22) + 5, (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1633456013);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(487 - View.resolveSize(0, 0), Color.argb(0, 0, 0, 0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).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();
int i3 = v + 69;
w = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.AbstractActivityC9735dpW, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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];
ax(new int[]{-891568601, 174258108, -1686107225, -2054126876, 2074039235, -2017715398, -1790291309, 1071596738, 1611196739, -1789991543}, TextUtils.indexOf("", "") + 18, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay(new char[]{11805, 46999, 53828, 30844, 60213, 22545}, View.getDefaultSize(0, 0) + 5, 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) {
context2 = context.getApplicationContext();
int i2 = v + 25;
w = i2 % 128;
int i3 = i2 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i4 = w + 63;
v = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 4, (char) ((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 1))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay(new char[]{53590, 41533, 53831, 15439, 37532, 51608, 11871, 8104, 27836, 57201, 10312, 41448, 23034, 3154, 64861, 485, 27523, 30614, 65223, 9012, 38080, 7604, 63898, 4082, 5010, 41801, 33614, 53541, 58210, 61145, 57550, 28041, 14983, 39012, 31789, 22385, 3219, 50794, 33514, 21478, 44387, 3862, 27480, 32379, 36477, 26395, 61281, 65211}, (KeyEvent.getMaxKeyCode() >> 16) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay(new char[]{22280, 26977, 18485, 1331, 33127, 30005, 61372, 28446, 15334, 5276, 52504, 28812, 52504, 28812, 62004, 49417, 44502, 24171, 9000, 63820, 30834, 45549, 41286, 57556, 62344, 41964, 43218, 31122, 30094, 53948, 60304, 20300, 4116, 30862, 34238, 65250, 7494, 40586, 33514, 21478, 33127, 30005, 9786, 15404, 3519, 24594, 33127, 30005, 12787, 20138, 1374, 26245, 36477, 26395, 48714, 40383, 3181, 5269, 22144, 40328, 33127, 30005, 20360, 59109}, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 64, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay(new char[]{21368, 10905, 39594, 3093, 31987, 2878, 12935, 34261, 30094, 53948, 61227, 34095, 56199, 43810, 60304, 20300, 36378, 7328, 11699, 22576, 6274, 63848, 49057, 43164, 36477, 26395, 3219, 50794, 47403, 36401, 33896, 36697, 53831, 15439, 47799, 23843, 17235, 40363, 33638, 60645, 8056, 10713, 48886, 32422, 15054, 14514, 18485, 1331, 57793, 28619, 65223, 9012, 64830, 11842, 64166, 14457, 54671, 53993, 11871, 8104, 7494, 40586, 11635, 42410}, View.resolveSize(0, 0) + 64, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay(new char[]{59671, 19167, 50916, 16542, 65443, 57145, 6333, 44835, 57990, 62613, 14726, 2295, 14190, 33257, 48361, 32455, 2024, 25054, 21931, 63189, 10842, 47658, 30952, 50446, 21179, 11895, 48252, 55804, 38427, 48877, 45911, 63320, 60018, 58229, 49589, 1672, 43386, 61776, 50475, 52796, 63970, 46711, 60612, 4046, 9036, 2754, 63970, 46711, 26723, 23458, 14190, 33257, 23101, 34242, 31536, 24784, 18397, 48069, 39613, 28326, 48325, 49352, 32556, 18577, 30227, 53050, 62051, 24912, 58151, 50190, 7684, 8049, 26185, 6028}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 73, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(new int[]{1968254783, -695301636, -819620347, 1611576253}, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay(new char[]{45911, 63320, 44387, 3862, 21785, 17262, 19861, 37785, 28606, 29782, 46972, 31539, 12274, 16502, 60743, 54452, 33638, 60645, 30204, 30372, 57793, 28619, 47311, 16656, 38541, 58212, 10312, 41448, 18340, 39786, 33614, 53541, 27717, 20338, 55710, 54860}, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 35, 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(View.resolveSizeAndState(0, 0, 0) + 487, (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))))).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 c(BaseReviewActivity baseReviewActivity) {
int i = 2 % 2;
if (baseReviewActivity.getSupportFragmentManager().t() <= 0) {
baseReviewActivity.Z();
return;
}
int i2 = v + 1;
w = i2 % 128;
if (i2 % 2 == 0) {
baseReviewActivity.getSupportActionBar();
baseReviewActivity.getSupportActionBar().d(false);
} else {
baseReviewActivity.getSupportActionBar();
baseReviewActivity.getSupportActionBar().d(true);
}
int i3 = v + 5;
w = i3 % 128;
int i4 = i3 % 2;
}
@Override // o.AbstractActivityC9735dpW, com.scb.phone.view.activity.transferandpay.ReviewActivity, o.AbstractActivityC11922eoV, 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 = v + 81;
w = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = w + 13;
v = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9010dbe.Hsz
public final void c() {
e(new Object[]{this}, -537306626, 537306626, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 1508334522);
}
}