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

1761 lines
71 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity;
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.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.InputFilter;
import android.text.SpannableString;
import android.text.Spanned;
import android.text.SpannedString;
import android.text.TextUtils;
import android.util.Base64;
import android.util.TypedValue;
import android.view.Gravity;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.RelativeLayout;
import android.widget.TextView;
import androidx.appcompat.widget.AppCompatEditText;
import androidx.constraintlayout.widget.ConstraintLayout;
import androidx.core.widget.NestedScrollView;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.OnClick;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BasePartialSearchActivity;
import com.scb.phone.view.activity.transferandpay.ScanPaymentActivity;
import java.lang.reflect.Method;
import java.nio.charset.StandardCharsets;
import java.util.Iterator;
import java.util.List;
import java.util.concurrent.TimeUnit;
import o.AbstractC12014eqH;
import o.AbstractC12014eqH.Sts;
import o.AbstractC13163fSk;
import o.AbstractC14961gcz;
import o.C10383eCj;
import o.C12856fJS;
import o.C12919fLP;
import o.C13389fZA;
import o.C13417fZt;
import o.C14866gag;
import o.C14957gcv;
import o.C4593bdB;
import o.InterfaceC14894gbR;
import o.InterfaceC6632cYj;
import o.Nhs;
import o.ZC;
import o.ZI;
import o.fJJ;
import o.fRR;
import o.fSJ;
import o.fSQ;
import o.nMh;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class BasePartialSearchActivity<T, VH extends AbstractC12014eqH.Sts<T>> extends BaseActivity implements InterfaceC6632cYj.IeS, AbstractC12014eqH.RVV<T> {
public static final LWm b;
private static byte m;
private static long p;
private static int q;
private static char r;
private static long s;
private static long t;
private static int w;
@BindView
protected ImageButton btClear;
@BindView
protected ImageButton btScan;
@BindView
protected AppCompatEditText etSearch;
@BindView
protected ImageView ivError;
private fSJ l;
@BindView
protected LinearLayout layoutContainer;
@BindView
protected ConstraintLayout layoutEmpty;
@BindView
protected LinearLayout layoutSearchHint;
@BindView
protected LinearLayout layoutSearchResult;
@BindView
protected RelativeLayout layoutTxnLoading;
@BindView
protected RecyclerView recyclerView;
@BindView
protected NestedScrollView scrollContainer;
@BindView
protected TextView tvErrorDescription;
@BindView
protected TextView tvErrorTitle;
@BindView
protected TextView tvSearchHintDescription;
@BindView
protected TextView tvTotalRecords;
private static final byte[] $$g = {94, 84, -2, 0};
private static final int $$h = 81;
private static int $10 = 0;
private static int $11 = 1;
private static int v = 1;
private long k = 1;
/* renamed from: o, reason: collision with root package name */
private String f6519o = "^[0-9a-zA-Z\\u0E00-\\u0E7F _*'\"#&()@.,/:-]+$";
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0023 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001b */
/* JADX WARN: Type inference failed for: r5v2, types: [int] */
/* JADX WARN: Type inference failed for: r5v3 */
/* JADX WARN: Type inference failed for: r5v5, types: [int] */
/* JADX WARN: Type inference failed for: r5v6, types: [int] */
/* JADX WARN: Type inference failed for: r7v1, types: [int] */
/* JADX WARN: Type inference failed for: r7v4, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0023 -> B:4:0x0027). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aD(byte r5, byte r6, byte r7, java.lang.Object[] r8) {
/*
int r6 = r6 * 4
int r0 = r6 + 1
byte[] r1 = com.scb.phone.view.activity.BasePartialSearchActivity.$$g
int r7 = 115 - r7
int r5 = r5 * 4
int r5 = 4 - r5
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L15
r4 = r7
r3 = r2
r7 = r5
goto L27
L15:
r3 = r2
L16:
byte r4 = (byte) r7
r0[r3] = r4
if (r3 != r6) goto L23
java.lang.String r5 = new java.lang.String
r5.<init>(r0, r2)
r8[r2] = r5
return
L23:
int r3 = r3 + 1
r4 = r1[r5]
L27:
int r5 = r5 + 1
int r7 = r7 + r4
goto L16
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BasePartialSearchActivity.aD(byte, byte, byte, java.lang.Object[]):void");
}
public static /* synthetic */ Object e(Object[] objArr, int i, int i2, int i3) {
int i4 = ~i;
int i5 = ~i2;
int i6 = ~(i4 | i5);
switch ((i * (-575)) + (i2 * (-575)) + (((~(i5 | i3)) | i6) * 576) + (((~(i | (~i3) | i5)) | (~(i2 | i4))) * 576) + (i6 * 576)) {
case 1:
return e(objArr);
case 2:
return b(objArr);
case 3:
return d(objArr);
case 4:
return c(objArr);
case 5:
return a(objArr);
case 6:
return f(objArr);
default:
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i7 = 2 % 2;
((AppCompatEditText) e(new Object[]{basePartialSearchActivity}, 1369462187, -1369462186, ((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) + 693758230)).setFilters(new InputFilter[]{new C12919fLP(basePartialSearchActivity.f6519o)});
AbstractC13163fSk<String> observeOn = new RVV(basePartialSearchActivity.m(), basePartialSearchActivity.g()).Xp_((AppCompatEditText) e(new Object[]{basePartialSearchActivity}, 1369462187, -1369462186, ((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) + 693758230)).debounce(basePartialSearchActivity.k, TimeUnit.SECONDS).subscribeOn(C13417fZt.c()).observeOn(fRR.e());
final HBt hBt = new HBt(basePartialSearchActivity);
fSJ subscribe = observeOn.subscribe(new fSQ(hBt) { // from class: o.dpy
private InterfaceC14894gbR e;
@Override // o.fSQ
public final void c(Object obj) {
BasePartialSearchActivity.e(this.e, obj);
}
{
this.e = hBt;
}
});
C14957gcv.c(subscribe, "");
basePartialSearchActivity.l = subscribe;
int i8 = v + 41;
w = i8 % 128;
int i9 = i8 % 2;
return null;
}
}
public abstract AbstractC12014eqH<T, VH> g();
public abstract int k();
public abstract int l();
public abstract ZC<InterfaceC6632cYj.IeS> m();
public abstract void n();
public abstract int o();
public abstract void r();
private void aB(String str, Object[] objArr) {
byte[] decode;
byte[] bArr;
int i;
int i2 = 2 % 2;
int i3 = w + 101;
v = i3 % 128;
if (i3 % 2 == 0) {
decode = Base64.decode(str, 0);
bArr = new byte[decode.length];
i = 1;
} else {
decode = Base64.decode(str, 0);
bArr = new byte[decode.length];
i = 0;
}
while (i < decode.length) {
int i4 = w + 3;
v = i4 % 128;
int i5 = i4 % 2;
bArr[i] = (byte) (decode[(decode.length - i) - 1] ^ m);
i++;
}
String str2 = new String(bArr, StandardCharsets.UTF_8);
int i6 = w + 105;
v = i6 % 128;
if (i6 % 2 != 0) {
objArr[0] = str2;
} else {
int i7 = 94 / 0;
objArr[0] = str2;
}
}
/* loaded from: classes4.dex */
public static final class LWm {
private LWm() {
}
public /* synthetic */ LWm(byte b) {
this();
}
}
private static /* synthetic */ Object f(Object[] objArr) {
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = v;
int i3 = i2 + 43;
w = i3 % 128;
int i4 = i3 % 2;
ImageButton imageButton = basePartialSearchActivity.btClear;
Object obj = null;
if (imageButton == null) {
C14957gcv.a("");
int i5 = v + 15;
w = i5 % 128;
int i6 = i5 % 2;
return null;
}
int i7 = i2 + 95;
w = i7 % 128;
if (i7 % 2 == 0) {
return imageButton;
}
obj.hashCode();
throw null;
}
private ImageButton Xf_() {
int i = 2 % 2;
int i2 = v + 43;
int i3 = i2 % 128;
w = i3;
if (i2 % 2 != 0) {
throw null;
}
ImageButton imageButton = this.btScan;
if (imageButton == null) {
C14957gcv.a("");
return null;
}
int i4 = i3 + 73;
v = i4 % 128;
int i5 = i4 % 2;
return imageButton;
}
private static /* synthetic */ Object e(Object[] objArr) {
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = w;
int i3 = i2 + 63;
v = i3 % 128;
int i4 = i3 % 2;
AppCompatEditText appCompatEditText = basePartialSearchActivity.etSearch;
if (appCompatEditText == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 75;
v = i5 % 128;
int i6 = i5 % 2;
return appCompatEditText;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0019, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0014, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0023, code lost:
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0029, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001b, code lost:
r1 = r1 + 115;
com.scb.phone.view.activity.BasePartialSearchActivity.w = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0022, code lost:
return r2;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private android.widget.ImageView Xg_() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.BasePartialSearchActivity.v
int r2 = r1 + 95
int r3 = r2 % 128
com.scb.phone.view.activity.BasePartialSearchActivity.w = r3
int r2 = r2 % r0
if (r2 == 0) goto L17
android.widget.ImageView r2 = r4.ivError
r3 = 80
int r3 = r3 / 0
if (r2 == 0) goto L23
goto L1b
L17:
android.widget.ImageView r2 = r4.ivError
if (r2 == 0) goto L23
L1b:
int r1 = r1 + 115
int r3 = r1 % 128
com.scb.phone.view.activity.BasePartialSearchActivity.w = r3
int r1 = r1 % r0
return r2
L23:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r0 = 0
return r0
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BasePartialSearchActivity.Xg_():android.widget.ImageView");
}
private LinearLayout Xj_() {
int i = 2 % 2;
int i2 = v;
int i3 = i2 + 115;
w = i3 % 128;
int i4 = i3 % 2;
LinearLayout linearLayout = this.layoutSearchResult;
if (linearLayout == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 101;
w = i5 % 128;
int i6 = i5 % 2;
return linearLayout;
}
private LinearLayout Xh_() {
int i = 2 % 2;
LinearLayout linearLayout = this.layoutContainer;
if (linearLayout == null) {
C14957gcv.a("");
return null;
}
int i2 = w;
int i3 = i2 + 65;
v = i3 % 128;
int i4 = i3 % 2;
int i5 = i2 + 1;
v = i5 % 128;
if (i5 % 2 != 0) {
return linearLayout;
}
throw null;
}
private static void aA(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 + 7;
$10 = i3 % 128;
if (i3 % 2 != 0) {
int i4 = 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 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), TextUtils.getOffsetAfter("", 0) + 5, (char) (21608 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)));
byte b2 = $$g[3];
byte b3 = b2;
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 | 38), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i4] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() + (p - 6958928035870403642L);
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(238 - (ViewConfiguration.getLongPressTimeout() >> 16), 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getJumpTapTimeout() >> 16));
byte b4 = $$g[3];
byte b5 = b4;
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 | 37), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} else {
int i5 = c4593bdB.e;
Object[] objArr6 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1229953068);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 402, 4 - ImageFormat.getBitsPerPixel(0), (char) ((ViewConfiguration.getWindowTouchSlop() >> 8) + 21608));
byte b6 = $$g[3];
byte b7 = b6;
Object[] objArr7 = new Object[1];
aD(b6, b7, (byte) (b7 | 38), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj3);
}
jArr[i5] = ((Long) ((Method) obj3).invoke(null, objArr6)).longValue() ^ (p ^ (-6958928035870403642L));
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj4 = xzZ.y.get(-1143917229);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(238 - (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)), 5 - Color.red(0), (char) ((Process.getThreadPriority(0) + 20) >> 6));
byte b8 = $$g[3];
byte b9 = b8;
Object[] objArr9 = new Object[1];
aD(b8, b9, (byte) (b9 | 37), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj4);
}
((Method) obj4).invoke(null, objArr8);
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr10 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls5 = (Class) xzZ.c((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 237, 5 - (ViewConfiguration.getFadingEdgeLength() >> 16), (char) (TextUtils.indexOf((CharSequence) "", '0', 0) + 1));
byte b10 = $$g[3];
byte b11 = b10;
Object[] objArr11 = new Object[1];
aD(b10, b11, (byte) (b11 | 37), objArr11);
obj5 = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr10);
int i6 = $11 + 103;
$10 = i6 % 128;
int i7 = i6 % 2;
}
objArr[0] = new String(cArr2);
}
private ConstraintLayout ax() {
int i = 2 % 2;
int i2 = v + 87;
w = i2 % 128;
Object obj = null;
if (i2 % 2 != 0) {
throw null;
}
ConstraintLayout constraintLayout = this.layoutEmpty;
if (constraintLayout != null) {
return constraintLayout;
}
C14957gcv.a("");
int i3 = v + 5;
w = i3 % 128;
if (i3 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
private static void az(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(402 - (Process.myTid() >> 22), Gravity.getAbsoluteGravity(0, 0) + 5, (char) ((Process.myTid() >> 22) + 21608));
byte b2 = $$g[3];
byte b3 = b2;
Object[] objArr3 = new Object[1];
aD(b2, b3, (byte) (b3 | 38), 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() ^ (s ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getKeyRepeatDelay() >> 16) + 238, 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) TextUtils.indexOf("", "", 0, 0));
byte b4 = $$g[3];
byte b5 = b4;
Object[] objArr5 = new Object[1];
aD(b4, b5, (byte) (b5 | 37), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
} 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) {
int i4 = $10 + 37;
$11 = i4 % 128;
if (i4 % 2 == 0) {
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.getCapsMode("", 0, 0) + 238, 5 - View.MeasureSpec.getSize(0), (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 = $$g[3];
byte b7 = b6;
Object[] objArr7 = new Object[1];
aD(b6, b7, (byte) (b7 | 37), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
Object obj4 = null;
((Method) obj3).invoke(null, objArr6);
obj4.hashCode();
throw null;
}
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr8 = {c4593bdB, c4593bdB};
Object obj5 = xzZ.y.get(-1143917229);
if (obj5 == null) {
Class cls4 = (Class) xzZ.c(238 - (ViewConfiguration.getTouchSlop() >> 8), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) Drawable.resolveOpacity(0, 0));
byte b8 = $$g[3];
byte b9 = b8;
Object[] objArr9 = new Object[1];
aD(b8, b9, (byte) (b9 | 37), objArr9);
obj5 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj5);
}
((Method) obj5).invoke(null, objArr8);
}
String str = new String(cArr2);
int i5 = $11 + 97;
$10 = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str;
}
private LinearLayout Xi_() {
int i = 2 % 2;
int i2 = v;
int i3 = i2 + 85;
w = i3 % 128;
if (i3 % 2 != 0) {
throw null;
}
LinearLayout linearLayout = this.layoutSearchHint;
if (linearLayout == null) {
C14957gcv.a("");
return null;
}
int i4 = i2 + 123;
w = i4 % 128;
int i5 = i4 % 2;
return linearLayout;
}
private TextView Xn_() {
int i = 2 % 2;
int i2 = v + 91;
int i3 = i2 % 128;
w = i3;
int i4 = i2 % 2;
TextView textView = this.tvSearchHintDescription;
if (textView == null) {
C14957gcv.a("");
return null;
}
int i5 = i3 + 5;
v = i5 % 128;
int i6 = i5 % 2;
return textView;
}
private RelativeLayout Xk_() {
int i = 2 % 2;
int i2 = v + 23;
int i3 = i2 % 128;
w = i3;
if (i2 % 2 != 0) {
throw null;
}
RelativeLayout relativeLayout = this.layoutTxnLoading;
if (relativeLayout == null) {
C14957gcv.a("");
return null;
}
int i4 = i3 + 53;
v = i4 % 128;
int i5 = i4 % 2;
return relativeLayout;
}
private RecyclerView aF() {
int i = 2 % 2;
int i2 = w;
int i3 = i2 + 83;
v = i3 % 128;
int i4 = i3 % 2;
RecyclerView recyclerView = this.recyclerView;
if (recyclerView == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 93;
v = i5 % 128;
if (i5 % 2 != 0) {
return recyclerView;
}
throw null;
}
private NestedScrollView aC() {
int i = 2 % 2;
int i2 = v + 5;
int i3 = i2 % 128;
w = i3;
Object obj = null;
if (i2 % 2 != 0) {
obj.hashCode();
throw null;
}
NestedScrollView nestedScrollView = this.scrollContainer;
if (nestedScrollView == null) {
C14957gcv.a("");
return null;
}
int i4 = i3 + 21;
int i5 = i4 % 128;
v = i5;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
int i6 = i5 + 53;
w = i6 % 128;
int i7 = i6 % 2;
return nestedScrollView;
}
private TextView Xl_() {
int i = 2 % 2;
int i2 = w + 63;
int i3 = i2 % 128;
v = i3;
Object obj = null;
if (i2 % 2 == 0) {
obj.hashCode();
throw null;
}
TextView textView = this.tvErrorDescription;
if (textView != null) {
int i4 = i3 + 17;
w = i4 % 128;
if (i4 % 2 == 0) {
return textView;
}
throw null;
}
C14957gcv.a("");
int i5 = w + 117;
v = i5 % 128;
int i6 = i5 % 2;
return null;
}
private TextView Xm_() {
int i = 2 % 2;
int i2 = w + 41;
v = i2 % 128;
int i3 = i2 % 2;
TextView textView = this.tvErrorTitle;
if (textView != null) {
return textView;
}
C14957gcv.a("");
int i4 = v + 99;
w = i4 % 128;
int i5 = i4 % 2;
return null;
}
private TextView Xo_() {
int i = 2 % 2;
TextView textView = this.tvTotalRecords;
Object obj = null;
if (textView == null) {
C14957gcv.a("");
return null;
}
int i2 = w + 87;
int i3 = i2 % 128;
v = i3;
int i4 = i2 % 2;
int i5 = i3 + 57;
w = i5 % 128;
if (i5 % 2 == 0) {
return textView;
}
obj.hashCode();
throw null;
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr2.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr2, 0, cArr4, 0, length);
System.arraycopy(cArr3, 0, cArr5, 0, length2);
cArr4[0] = (char) (cArr4[0] ^ c);
cArr5[2] = (char) (cArr5[2] + ((char) i));
int length3 = cArr.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
int i3 = $10 + 59;
$11 = i3 % 128;
int i4 = i3 % 2;
while (nhs.a < length3) {
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (KeyEvent.getMaxKeyCode() >> 16), '5' - AndroidCharacter.getMirror('0'), (char) ((-16777216) - Color.rgb(0, 0, 0)))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c(351 - TextUtils.indexOf((CharSequence) "", '0', 0), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (52128 - (ViewConfiguration.getEdgeSlop() >> 16)));
byte b2 = $$g[3];
byte b3 = b2;
Object[] objArr4 = new Object[1];
aD(b2, b3, b3, objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
Object[] objArr5 = {nhs, Integer.valueOf(cArr4[nhs.a % 4] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj3 = xzZ.y.get(430099516);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 748, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) TextUtils.indexOf("", "", 0))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
Object[] objArr6 = {Integer.valueOf(cArr4[intValue2] * 32718), Integer.valueOf(cArr5[intValue])};
Object obj4 = xzZ.y.get(1019894806);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(KeyEvent.keyCodeFromString("") + 402, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (21608 - TextUtils.getCapsMode("", 0, 0)));
byte b4 = $$g[3];
byte b5 = b4;
Object[] objArr7 = new Object[1];
aD(b4, b5, (byte) (b5 + 1), objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Integer.TYPE, Integer.TYPE);
xzZ.y.put(1019894806, obj4);
}
cArr5[intValue2] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
cArr4[intValue2] = nhs.c;
cArr6[nhs.a] = (char) ((((cArr[nhs.a] ^ cArr4[intValue2]) ^ (t ^ 9051040786702654117L)) ^ ((int) (q ^ 9051040786702654117L))) ^ ((char) (r ^ 9051040786702654117L)));
nhs.a++;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
String str = new String(cArr6);
int i5 = $11 + 33;
$10 = i5 % 128;
int i6 = i5 % 2;
objArr[0] = str;
}
/* JADX WARN: Code restructure failed: missing block: B:6:0x008e, code lost:
if (r4 > 99999) goto L11;
*/
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void onCreate(android.os.Bundle r21) {
/*
Method dump skipped, instructions count: 1568
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BasePartialSearchActivity.onCreate(android.os.Bundle):void");
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r3v25, types: [android.text.SpannableString, android.text.Spannable] */
@Override // o.InterfaceC6632cYj.IeS
public final void e() {
int i = 2 % 2;
Object obj = null;
e(new Object[]{this}, -1557731672, 1557731672, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 856803703);
e(new Object[]{this}, -1438497543, 1438497546, System.identityHashCode(this));
e(new Object[]{this}, 929442073, -929442068, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1256317766);
Xh_().setVisibility(0);
Xi_().setVisibility(0);
Xo_().setVisibility(8);
ax().setVisibility(8);
Xj_().setVisibility(8);
((AppCompatEditText) e(new Object[]{this}, 1369462187, -1369462186, ((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) + 693758230)).setHint(o());
TextView Xn_ = Xn_();
int k = k();
Context context = Xn_.getContext();
String string = context.getString(k);
if (string.startsWith(",*,)")) {
int i2 = w + 45;
v = i2 % 128;
if (i2 % 2 == 0) {
Object[] objArr = new Object[1];
aB(string.substring(4), objArr);
((String) objArr[0]).intern();
boolean z = context.getText(k) instanceof Spanned;
throw null;
}
Object[] objArr2 = new Object[1];
aB(string.substring(4), objArr2);
string = ((String) objArr2[0]).intern();
CharSequence text = context.getText(k);
if (text instanceof Spanned) {
?? spannableString = new SpannableString(string);
TextUtils.copySpansFrom((SpannedString) text, 0, string.length(), Object.class, spannableString, 0);
string = spannableString;
}
}
Xn_.setText(string);
int i3 = v + 15;
w = i3 % 128;
if (i3 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class HBt extends AbstractC14961gcz implements InterfaceC14894gbR<String, C14866gag> {
private BasePartialSearchActivity<T, VH> a;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
ZC<InterfaceC6632cYj.IeS> m = this.a.m();
C14957gcv.c((Object) str2, "");
C14957gcv.e(str2, "");
m.d = str2;
m.a = "";
if (!m.a().c && m.d.length() >= 3) {
m.e(str2);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
HBt(BasePartialSearchActivity<T, VH> basePartialSearchActivity) {
super(1);
this.a = basePartialSearchActivity;
}
}
@Override // o.InterfaceC6632cYj.IeS
public final void b() {
int i = 2 % 2;
int i2 = w + 21;
v = i2 % 128;
int i3 = i2 % 2;
AbstractC12014eqH<T, VH> g = g();
g.d.clear();
g.notifyDataSetChanged();
Xh_().setVisibility(0);
Xi_().setVisibility(0);
ax().setVisibility(8);
Xj_().setVisibility(8);
Xo_().setVisibility(8);
Xf_().setVisibility(0);
aq_();
int i4 = w + 7;
v = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void v() {
int i = 2 % 2;
int i2 = w + 101;
v = i2 % 128;
if (i2 % 2 == 0) {
super.v();
AbstractC12014eqH<T, VH> g = g();
g.d.clear();
g.notifyDataSetChanged();
Xh_().setVisibility(28);
e(new Object[]{this}, 1714078474, -1714078472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1916193725);
} else {
super.v();
AbstractC12014eqH<T, VH> g2 = g();
g2.d.clear();
g2.notifyDataSetChanged();
Xh_().setVisibility(8);
e(new Object[]{this}, 1714078474, -1714078472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1916193725);
}
int i3 = v + 111;
w = i3 % 128;
int i4 = i3 % 2;
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void aq_() {
int i = 2 % 2;
int i2 = w + 69;
v = i2 % 128;
if (i2 % 2 == 0) {
super.aq_();
Xh_().setVisibility(1);
e(new Object[]{this}, 1714078474, -1714078472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1916193725);
return;
}
super.aq_();
Xh_().setVisibility(0);
e(new Object[]{this}, 1714078474, -1714078472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1916193725);
}
@Override // o.InterfaceC6632cYj.IeS
public final void e(String str) {
C14866gag c14866gag;
int i = 2 % 2;
Xi_().setVisibility(8);
ax().setVisibility(8);
Xj_().setVisibility(0);
Xo_().setVisibility(0);
if (str != null) {
int i2 = w + 113;
v = i2 % 128;
int i3 = i2 % 2;
Xo_().setText(getString(R.string.auto_biller_search_found_item, str));
c14866gag = C14866gag.c;
} else {
int i4 = v + 7;
w = i4 % 128;
int i5 = i4 % 2;
c14866gag = null;
}
if (c14866gag == null) {
TextView Xo_ = Xo_();
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 38496), new char[]{53190, 53883, 27419, 55885, 7268, 24386, 30171, 56312, 9905, 15789, 60990, 55793, 7538, 45312, 58088, 20025, 40254, 15873, 49197, 48608, 30094, 20472, 64897, 48438, 40843, 44899}, new char[]{65247, 14550, 33424, 37782}, new char[]{0, 0, 0, 0}, ViewConfiguration.getFadingEdgeLength() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{53231, 22580, 57444, 2201, 37085, 14563, 16694, 59734, 29076, 39369, 8674, 18986, 53875, 31364, 33486, 10982, 45875, 56191}, View.resolveSizeAndState(0, 0, 0) + 38861, objArr2);
Object[] objArr3 = new Object[1];
aA(new char[]{52551}, ((Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 47077, objArr3);
Xo_.setText(getString(R.string.auto_biller_search_found_item, ((String) objArr3[0]).intern()));
}
}
@Override // o.InterfaceC6632cYj.IeS
public final void j() {
int i = 2 % 2;
int i2 = v + 39;
w = i2 % 128;
int i3 = i2 % 2;
AbstractC12014eqH<T, VH> g = g();
g.d.clear();
g.notifyDataSetChanged();
r();
int i4 = w + 35;
v = i4 % 128;
int i5 = i4 % 2;
}
private static /* synthetic */ Object c(Object[] objArr) {
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
List list = (List) objArr[1];
int i = 2 % 2;
C14957gcv.e(list, "");
AbstractC12014eqH<T, VH> g = basePartialSearchActivity.g();
C14957gcv.e(list, "");
int itemCount = g.getItemCount();
Iterator<T> it = list.iterator();
while (it.hasNext()) {
g.d.add(it.next());
int i2 = v + 119;
w = i2 % 128;
int i3 = i2 % 2;
}
g.notifyItemRangeChanged(itemCount - 1, g.getItemCount() - 1);
int i4 = v + 67;
w = i4 % 128;
int i5 = i4 % 2;
return null;
}
@Override // o.InterfaceC6632cYj.IeS
public final void h() {
int i = 2 % 2;
int i2 = w + 19;
v = i2 % 128;
int i3 = i2 % 2;
AbstractC12014eqH<T, VH> g = g();
g.d.clear();
g.notifyDataSetChanged();
Xo_().setVisibility(8);
n();
int i4 = w + 7;
v = i4 % 128;
int i5 = i4 % 2;
}
/* JADX INFO: Access modifiers changed from: protected */
public final void c(int i, String str, String str2) {
int i2 = 2 % 2;
int i3 = v + 93;
w = i3 % 128;
int i4 = i3 % 2;
ax().setVisibility(0);
Xi_().setVisibility(8);
Xj_().setVisibility(8);
Xg_().setImageDrawable(nMh.getDrawable(this, i));
Xm_().setText(str);
Xl_().setText(str2);
int i5 = v + 7;
w = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 63 / 0;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class RVV<P extends ZC<?>, A extends AbstractC12014eqH<?, ?>> {
final P a;
final A b;
public RVV(P p, A a) {
C14957gcv.e(p, "");
C14957gcv.e(a, "");
this.a = p;
this.b = a;
}
public final C13389fZA<String> Xp_(EditText editText) {
C14957gcv.e(editText, "");
C13389fZA<String> d = C13389fZA.d();
C14957gcv.c(d, "");
editText.addTextChangedListener(new C0069RVV(d, this));
return d;
}
/* renamed from: com.scb.phone.view.activity.BasePartialSearchActivity$RVV$RVV, reason: collision with other inner class name */
/* loaded from: classes4.dex */
public static final class C0069RVV extends fJJ {
private C13389fZA<String> b;
private RVV<P, A> d;
/* JADX WARN: Multi-variable type inference failed */
C0069RVV(C13389fZA<String> c13389fZA, RVV<? super P, ? super A> rvv) {
this.b = c13389fZA;
this.d = rvv;
}
@Override // o.fJJ, android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
this.b.onNext(String.valueOf(charSequence));
A a = this.d.b;
String valueOf = String.valueOf(charSequence);
C14957gcv.e(valueOf, "");
a.e = valueOf;
P p = this.d.a;
String valueOf2 = String.valueOf(charSequence);
C14957gcv.e(valueOf2, "");
p.b();
if (valueOf2.length() == 0) {
ZI.IeS ieS = new ZI.IeS() { // from class: o.ZG
@Override // o.ZI.IeS
public final void e(Object obj) {
InterfaceC6632cYj.IeS ieS2 = (InterfaceC6632cYj.IeS) obj;
ieS2.a();
ieS2.b();
}
};
if (p.f != 0) {
ieS.e(p.f);
return;
}
return;
}
ZI.IeS ieS2 = new ZI.IeS() { // from class: o.ZF
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6632cYj.IeS) obj).f();
}
};
if (p.f != 0) {
ieS2.e(p.f);
}
}
}
}
private static final void a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = w + 7;
v = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
} else {
C14957gcv.e(interfaceC14894gbR, "");
interfaceC14894gbR.invoke(obj);
throw null;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i = 2 % 2;
basePartialSearchActivity.aF().d(new C10383eCj(), -1);
basePartialSearchActivity.aF().setNestedScrollingEnabled(false);
basePartialSearchActivity.aF().setAdapter(basePartialSearchActivity.g());
AbstractC12014eqH<T, VH> g = basePartialSearchActivity.g();
BasePartialSearchActivity basePartialSearchActivity2 = basePartialSearchActivity;
C14957gcv.e(basePartialSearchActivity2, "");
g.c = basePartialSearchActivity2;
int i2 = v + 117;
w = i2 % 128;
if (i2 % 2 == 0) {
return null;
}
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
final BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i = 2 % 2;
C12856fJS.HBt hBt = C12856fJS.c;
basePartialSearchActivity.aC().setDefaultFocusHighlightEnabled(false);
basePartialSearchActivity.aC().setOnScrollChangeListener(new NestedScrollView.RVV(basePartialSearchActivity) { // from class: o.dpw
private BasePartialSearchActivity d;
@Override // androidx.core.widget.NestedScrollView.RVV
public final void e(NestedScrollView nestedScrollView, int i2, int i3) {
BasePartialSearchActivity.c(this.d, nestedScrollView, i2, i3);
}
{
this.d = basePartialSearchActivity;
}
});
int i2 = v + 99;
w = i2 % 128;
if (i2 % 2 == 0) {
return null;
}
throw null;
}
private static final void a(BasePartialSearchActivity basePartialSearchActivity, NestedScrollView nestedScrollView, int i, int i2) {
boolean z;
int i3 = 2 % 2;
int i4 = v + 113;
w = i4 % 128;
int i5 = i4 % 2;
C14957gcv.e(basePartialSearchActivity, "");
C14957gcv.e(nestedScrollView, "");
basePartialSearchActivity.b(i, i2);
View childAt = nestedScrollView.getChildAt(nestedScrollView.getChildCount() - 1);
if (childAt != null) {
int measuredHeight = (childAt.getMeasuredHeight() - nestedScrollView.getMeasuredHeight()) - 250;
boolean z2 = false;
if (i >= measuredHeight) {
int i6 = v + 89;
w = i6 % 128;
int i7 = i6 % 2;
z = true;
} else {
z = false;
}
if (i > i2) {
int i8 = v + 85;
w = i8 % 128;
if (i8 % 2 == 0) {
z2 = true;
}
} else {
int i9 = w + 67;
v = i9 % 128;
int i10 = i9 % 2;
}
if (!z) {
return;
}
int i11 = w + 13;
v = i11 % 128;
int i12 = i11 % 2;
if (z2) {
ZC<InterfaceC6632cYj.IeS> m2 = basePartialSearchActivity.m();
if (m2.a().c) {
return;
}
m2.c();
}
}
}
private final void b(int i, int i2) {
int i3 = 2 % 2;
int i4 = w + 113;
v = i4 % 128;
int i5 = i4 % 2;
Object obj = null;
if (((AppCompatEditText) e(new Object[]{this}, 1369462187, -1369462186, ((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) + 693758230)).isFocused()) {
int i6 = w + 65;
v = i6 % 128;
if (i6 % 2 == 0) {
obj.hashCode();
throw null;
}
if (i != i2) {
aN_();
}
}
int i7 = w + 9;
v = i7 % 128;
int i8 = i7 % 2;
}
@Override // o.InterfaceC6632cYj.IeS
public final void f() {
ImageButton Xf_;
int i;
int i2 = 2 % 2;
int i3 = w + 39;
v = i3 % 128;
if (i3 % 2 == 0) {
((ImageButton) e(new Object[]{this}, 316325763, -316325757, System.identityHashCode(this))).setVisibility(0);
Xf_ = Xf_();
i = 57;
} else {
((ImageButton) e(new Object[]{this}, 316325763, -316325757, System.identityHashCode(this))).setVisibility(0);
Xf_ = Xf_();
i = 8;
}
Xf_.setVisibility(i);
}
@Override // o.InterfaceC6632cYj.IeS
public final void a() {
int i = 2 % 2;
int i2 = w + 35;
v = i2 % 128;
int i3 = i2 % 2;
((ImageButton) e(new Object[]{this}, 316325763, -316325757, System.identityHashCode(this))).setVisibility(8);
Xf_().setVisibility(0);
int i4 = w + 109;
v = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC6632cYj.IeS
public final void i() {
int i = 2 % 2;
int i2 = w + 113;
v = i2 % 128;
int i3 = i2 % 2;
Xk_().setVisibility(0);
int i4 = v + 73;
w = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
BasePartialSearchActivity basePartialSearchActivity = (BasePartialSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = v + 73;
w = i2 % 128;
int i3 = i2 % 2;
basePartialSearchActivity.Xk_().setVisibility(8);
int i4 = w + 11;
v = i4 % 128;
int i5 = i4 % 2;
return null;
}
@OnClick
public final void onClearClick() {
boolean z;
int i = 2 % 2;
((AppCompatEditText) e(new Object[]{this}, 1369462187, -1369462186, ((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) + 693758230)).setText((CharSequence) null);
ZC<InterfaceC6632cYj.IeS> m2 = m();
m2.b();
ZI.IeS ieS = new ZI.IeS() { // from class: o.ZA
@Override // o.ZI.IeS
public final void e(Object obj) {
((InterfaceC6632cYj.IeS) obj).b();
}
};
if (m2.f != 0) {
int i2 = v + 19;
w = i2 % 128;
int i3 = i2 % 2;
z = true;
} else {
z = false;
}
if (!(!z)) {
ieS.e(m2.f);
}
int i4 = w + 45;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 77 / 0;
}
}
@OnClick
public final void onScanClick() {
int i = 2 % 2;
int i2 = v + 23;
w = i2 % 128;
if (i2 % 2 != 0) {
startActivity((Intent) ScanPaymentActivity.c(new Object[]{this}, -1830479614, 1830479617, (int) System.currentTimeMillis()));
int i3 = 75 / 0;
} else {
startActivity((Intent) ScanPaymentActivity.c(new Object[]{this}, -1830479614, 1830479617, (int) System.currentTimeMillis()));
}
int i4 = v + 67;
w = i4 % 128;
if (i4 % 2 == 0) {
return;
}
Object obj = null;
obj.hashCode();
throw 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
public void onDestroy() {
int i = 2 % 2;
fSJ fsj = this.l;
if (fsj == null) {
int i2 = v + 119;
w = i2 % 128;
int i3 = i2 % 2;
C14957gcv.a("");
int i4 = v + 19;
w = i4 % 128;
int i5 = i4 % 2;
fsj = null;
}
fsj.dispose();
m().w_();
super.onDestroy();
}
/* JADX WARN: Code restructure failed: missing block: B:38:0x0021, code lost:
r1 = com.scb.phone.view.activity.BasePartialSearchActivity.w + 47;
com.scb.phone.view.activity.BasePartialSearchActivity.v = r1 % 128;
r1 = r1 % 2;
r7 = (java.lang.Object[]) null;
r6 = new java.lang.Object[1];
ay((char) (((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 38419), new char[]{53190, 53883, 27419, 55885, 7268, 24386, 30171, 56312, 9905, 15789, 60990, 55793, 7538, 45312, 58088, 20025, 40254, 15873, 49197, 48608, 30094, 20472, 64897, 48438, 40843, 44899}, new char[]{65247, 14550, 33424, 37782}, new char[]{0, 0, 0, 0}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 34, r6);
r6 = java.lang.Class.forName((java.lang.String) r6[0]);
r8 = new java.lang.Object[1];
az(new char[]{53231, 22580, 57444, 2201, 37085, 14563, 16694, 59734, 29076, 39369, 8674, 18986, 53875, 31364, 33486, 10982, 45875, 56191}, ((android.content.Context) java.lang.Class.forName("android.app.ActivityThread").getMethod("currentApplication", new java.lang.Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 38827, r8);
r1 = (android.content.Context) r6.getMethod((java.lang.String) r8[0], new java.lang.Class[0]).invoke(null, null);
*/
/* JADX WARN: Code restructure failed: missing block: B:40:0x001f, code lost:
if (r1 == null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
if (r1 == null) goto L9;
*/
@Override // 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 onResume() {
/*
Method dump skipped, instructions count: 562
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.BasePartialSearchActivity.onResume():void");
}
@Override // 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 + 85;
w = i2 % 128;
if (i2 % 2 != 0) {
getBaseContext();
throw null;
}
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_ntb_pin_expired_description).substring(4, 9).codePointAt(4) + 38498), new char[]{53190, 53883, 27419, 55885, 7268, 24386, 30171, 56312, 9905, 15789, 60990, 55793, 7538, 45312, 58088, 20025, 40254, 15873, 49197, 48608, 30094, 20472, 64897, 48438, 40843, 44899}, new char[]{65247, 14550, 33424, 37782}, new char[]{0, 0, 0, 0}, ViewConfiguration.getKeyRepeatDelay() >> 16, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
az(new char[]{53231, 22580, 57444, 2201, 37085, 14563, 16694, 59734, 29076, 39369, 8674, 18986, 53875, 31364, 33486, 10982, 45875, 56191}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 38763, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i3 = w + 95;
v = i3 % 128;
int i4 = i3 % 2;
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getJumpTapTimeout() >> 16), (ViewConfiguration.getMinimumFlingVelocity() >> 16) + 5, (char) Drawable.resolveOpacity(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(1633456013);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 487, TextUtils.indexOf("", "", 0) + 5, (char) Color.argb(0, 0, 0, 0))).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();
}
@Override // 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;
int i2 = v + 117;
w = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ay((char) (TextUtils.indexOf("", "") + 5517), new char[]{345, 49940, 37761, 36414, 23663, 14228, 3963, 27812, 42930, 55129, 16560, 46665, 23968, 5769, 51111, 48878, 48111, 4538}, new char[]{56246, 51374, 36208, 22037}, new char[]{0, 0, 0, 0}, TextUtils.indexOf("", ""), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) ((SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 24669), new char[]{46584, 18888, 9219, 3266, 60929}, new char[]{32506, 4632, 24272, 44896}, new char[]{0, 0, 0, 0}, Color.argb(0, 0, 0, 0) - 804120450, 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 i4 = w + 33;
v = i4 % 128;
int i5 = i4 % 2;
} else {
context2 = context;
}
if (context2 != null) {
int i6 = w + 17;
v = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c((ViewConfiguration.getFadingEdgeLength() >> 16) + 492, 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (1 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1))))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((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)), new char[]{47626, 48737, 34492, 34748, 15114, 23871, 454, 37299, 19405, 31323, 32576, 28168, 63799, 65482, 25510, 27561, 39738, 48133, 13462, 39462, 51855, 59914, 9020, 63417, 24974, 688, 56515, 62626, 64635, 37553, 13350, 370, 42572, 21377, 56735, 59097, 25071, 26406, 5110, 13945, 36063, 2062, 28649, 14761, 9184, 19424, 50954, 23953}, new char[]{35558, 18688, 43920, 31566}, new char[]{0, 0, 0, 0}, Drawable.resolveOpacity(0, 0), objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
az(new char[]{53225, 56943, 60600, 64362, 35262, 39019, 42686, 46386, 17377, 21040, 24756, 3889, 7602, 11319, 15029, 51506, 55210, 58921, 62639, 33581, 37371, 41007, 20219, 23855, 27559, 31267, 2214, 6004, 9634, 13352, 49826, 53547, 65435, 36378, 40091, 43854, 47517, 18449, 22216, 25929, 29586, 583, 4295, 16145, 52629, 56336, 60052, 63809, 34776, 38405, 42200, 45832, 16859, 20481, 32399, 3417, 7052, 10838, 14471, 50959, 54662, 58451, 62163, 33110}, Gravity.getAbsoluteGravity(0, 0) + 4481, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))), new char[]{48799, '~', 59000, 53274, 27775, 51292, 48975, 31897, 58670, 57645, 18602, 10157, 52137, 10988, 17729, 17389, 27860, 21644, 7015, 59617, 9679, 12128, 58453, 59226, 7707, 41526, 63658, 28129, 36648, 30352, 59083, 50632, 28816, 43668, 46343, 5746, 7901, 812, 21877, 12014, 50259, 58773, 45690, 60083, 65166, 14446, 47193, 32563, 37368, 21059, 53077, 6786, 63029, 52069, 44100, 25092, 52940, 40062, 30773, 25040, 37535, 12348, 7116, 61831}, new char[]{1817, 15997, 1383, 26299}, new char[]{0, 0, 0, 0}, ViewConfiguration.getKeyRepeatTimeout() >> 16, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) View.MeasureSpec.getMode(0), new char[]{32335, 59661, 39981, 9306, 35577, 37946, 12872, 58942, 17249, 8510, 23998, 37582, 54099, 445, 16400, 29726, 12306, 44927, 38836, 23974, 30658, 7831, 55468, 22996, 7794, 53270, 1946, 19078, 55459, 24751, 5831, 15277, 44138, 47602, 26444, 38173, 16383, 17834, 63075, 44609, 39445, 14984, 3234, 31083, 24242, 46280, 34421, 37452, 47366, 45397, 45353, 59838, 31004, 59669, 25917, 64344, 14910, 63213, 34115, 22796, 59384, 7965, 45428, 8022, 30396, 35050, 9760, 35828, 50798, 52379, 32504, 55322, 38296, 10949}, new char[]{4797, 16571, 16587, 63271}, new char[]{0, 0, 0, 0}, Process.myTid() >> 22, objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) ((ViewConfiguration.getKeyRepeatTimeout() >> 16) + 9937), new char[]{15826, 33647, 8476, 19160, 22144}, new char[]{45933, 64407, 53678, 34342}, new char[]{0, 0, 0, 0}, (-1359243342) - TextUtils.indexOf((CharSequence) "", '0', 0, 0), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
az(new char[]{53225, 19804, 51932, 18347, 50476, 17088, 57246, 23915, 55849, 22403, 54614, 21106, 61346, 27996, 59926, 26593, 58541, 25212, 65491, 31950, 64058, 30572, 62681, 29254, 36646, 3238, 35396, 1862, 34023, 484, 40785, 7382, 39320, 5992, 37951, 4570}, 33458 - (SystemClock.elapsedRealtime() > 0L ? 1 : (SystemClock.elapsedRealtime() == 0L ? 0 : -1)), 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(486 - MotionEvent.axisFromString(""), View.resolveSizeAndState(0, 0, 0) + 5, (char) (ViewConfiguration.getWindowTouchSlop() >> 8))).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;
}
}
}
}
static void J() {
t = 9051040786702654117L;
q = 452713125;
r = (char) 17650;
s = 8977071688361499722L;
}
static void M() {
int i = 2 % 2;
int i2 = w;
int i3 = i2 + 19;
v = i3 % 128;
int i4 = i3 % 2;
p = 4790044551335239345L;
if (i4 == 0) {
int i5 = 88 / 0;
}
int i6 = i2 + 79;
v = i6 % 128;
if (i6 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
static void s() {
int i = 2 % 2;
int i2 = v + 117;
w = i2 % 128;
m = i2 % 2 != 0 ? (byte) 83 : (byte) 6;
}
@Override // 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 = w + 79;
v = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = w + 25;
v = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 54 / 0;
}
}
@Override // o.InterfaceC6632cYj.IeS
public final void b(List<? extends Object> list) {
e(new Object[]{this, list}, 56687168, -56687164, System.identityHashCode(this));
}
private void aK() {
e(new Object[]{this}, -1438497543, 1438497546, System.identityHashCode(this));
}
private void aJ() {
e(new Object[]{this}, -1557731672, 1557731672, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 856803703);
}
@Override // o.InterfaceC6632cYj.IeS
public final void d() {
e(new Object[]{this}, 1714078474, -1714078472, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(8) + 1916193725);
}
private AppCompatEditText R() {
return (AppCompatEditText) e(new Object[]{this}, 1369462187, -1369462186, ((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) + 693758230);
}
private ImageButton Xe_() {
return (ImageButton) e(new Object[]{this}, 316325763, -316325757, System.identityHashCode(this));
}
private final void L() {
e(new Object[]{this}, 929442073, -929442068, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 1256317766);
}
static {
w = 0;
J();
M();
s();
b = new LWm((byte) 0);
int i = v + 123;
w = i % 128;
if (i % 2 != 0) {
throw null;
}
}
public static /* synthetic */ void e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
int i = 2 % 2;
int i2 = w + 87;
v = i2 % 128;
int i3 = i2 % 2;
a(interfaceC14894gbR, obj);
int i4 = v + 33;
w = i4 % 128;
int i5 = i4 % 2;
}
public static /* synthetic */ void c(BasePartialSearchActivity basePartialSearchActivity, NestedScrollView nestedScrollView, int i, int i2) {
int i3 = 2 % 2;
int i4 = w + 23;
v = i4 % 128;
int i5 = i4 % 2;
a(basePartialSearchActivity, nestedScrollView, i, i2);
int i6 = w + 95;
v = i6 % 128;
if (i6 % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}