what-the-bank/sources/com/scb/phone/view/activity/investment/discover/BaseDiscoverSearchActivity....

2722 lines
111 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.investment.discover;
import android.app.ActionBar;
import android.content.Context;
import android.content.Intent;
import android.graphics.Color;
import android.graphics.ImageFormat;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Bundle;
import android.os.Handler;
import android.os.Process;
import android.os.SystemClock;
import android.telephony.cdma.CdmaCellLocation;
import android.text.AndroidCharacter;
import android.text.Editable;
import android.text.TextUtils;
import android.text.TextWatcher;
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.view.ViewGroup;
import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageButton;
import android.widget.ImageView;
import android.widget.Spinner;
import android.widget.TextView;
import androidx.appcompat.widget.Toolbar;
import androidx.core.widget.NestedScrollView;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.kofax.mobile.sdk._internal.impl.extraction.kta.KtaJsonExactionHelper;
import com.pingan.ai.p;
import com.scb.phone.R;
import com.scb.phone.view.activity.BaseActivity;
import com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity;
import com.scb.phone.view.activity.investment.discover.DiscoverFundFilterActivity;
import com.scb.phone.view.activity.investment.discover.NtbDiscoverFundFilterActivity;
import com.scb.phone.view.adapter.investment.discover.DiscoverSearchResultAdapter;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import o.AbstractC14961gcz;
import o.C0826Ph;
import o.C0830Pj;
import o.C0835Pm;
import o.C0836Pn;
import o.C0838Pp;
import o.C0844Pu;
import o.C10383eCj;
import o.C12304evg;
import o.C12856fJS;
import o.C12919fLP;
import o.C13396fZU;
import o.C14851gaI;
import o.C14866gag;
import o.C14957gcv;
import o.C15923je;
import o.C3644bCd;
import o.Cjv;
import o.Iki;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC9397div;
import o.Nhs;
import o.Tlu;
import o.ZI;
import o.dQY;
import o.fZZ;
import o.nMh;
import o.xzZ;
/* loaded from: classes4.dex */
public abstract class BaseDiscoverSearchActivity extends BaseActivity implements InterfaceC9397div, DiscoverSearchResultAdapter.IeS {
private static int A;
private static char B;
private static int D;
private static long u;
private static char[] v;
private static long y;
private C0835Pm b;
@BindView
public ImageButton btClear;
@BindView
public ImageButton btFilter;
@BindView
public ViewGroup customProgress;
@BindView
public EditText etSearch;
@BindView
public ImageView ivError;
@BindView
public ImageView ivFilterFlag;
private String k;
private Iki l;
@BindView
public ViewGroup layoutContainer;
@BindView
public ViewGroup layoutEmpty;
@BindView
public ViewGroup layoutFunds;
@BindView
public ViewGroup layoutSearchHint;
@BindView
public ViewGroup layoutSortOptions;
@BindView
public ViewGroup layoutTxnLoading;
private final InterfaceC13393fZL m;
/* renamed from: o, reason: collision with root package name */
private boolean f7447o;
private final InterfaceC13393fZL p;
@InterfaceC13391fZD
public C3644bCd presenter;
private final InterfaceC13393fZL q;
private final InterfaceC13393fZL r;
@BindView
public RecyclerView rcvFunds;
private final InterfaceC13393fZL s;
@BindView
public NestedScrollView scrollContainer;
@BindView
public Spinner spnPeriod;
@BindView
public Spinner spnSortingType;
private Runnable t;
@BindView
public Toolbar toolbar;
@BindView
public TextView tvErrorDescription;
@BindView
public TextView tvErrorTitle;
@BindView
public TextView tvToolbarTitle;
@BindView
public TextView tvTotalRecords;
private final InterfaceC13393fZL w;
private final InterfaceC13393fZL x;
private static final byte[] $$g = {101, -49, 33, 116};
private static final int $$h = 199;
private static int $10 = 0;
private static int $11 = 1;
private static int z = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0022 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001a */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0022 -> B:4:0x0026). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void az(byte r5, byte r6, short r7, java.lang.Object[] r8) {
/*
int r5 = r5 + 4
int r6 = r6 * 4
int r6 = r6 + 1
int r7 = 115 - r7
byte[] r0 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.$$g
byte[] r1 = new byte[r6]
r2 = 0
if (r0 != 0) goto L12
r4 = r6
r3 = r2
goto L26
L12:
r3 = r2
L13:
byte r4 = (byte) r7
r1[r3] = r4
int r3 = r3 + 1
if (r3 != r6) goto L22
java.lang.String r5 = new java.lang.String
r5.<init>(r1, r2)
r8[r2] = r5
return
L22:
int r5 = r5 + 1
r4 = r0[r5]
L26:
int r4 = -r4
int r7 = r7 + r4
goto L13
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.az(byte, byte, short, java.lang.Object[]):void");
}
public static /* synthetic */ Object b(Object[] objArr, int i, int i2, int i3) {
int i4 = (i * (-464)) + (i2 * (-929));
int i5 = ~i;
int i6 = i2 | i3;
int i7 = i4 + (((~i6) | i5) * (-465)) + ((i2 | (~(i3 | i5))) * 930) + ((i5 | i6) * 465);
if (i7 != 1) {
return i7 != 2 ? i7 != 3 ? i7 != 4 ? i7 != 5 ? b(objArr) : c(objArr) : e(objArr) : d(objArr) : a(objArr);
}
BaseDiscoverSearchActivity baseDiscoverSearchActivity = (BaseDiscoverSearchActivity) objArr[0];
int i8 = 2 % 2;
Toolbar toolbar = baseDiscoverSearchActivity.toolbar;
if (toolbar != null) {
int i9 = z + 35;
A = i9 % 128;
int i10 = i9 % 2;
} else {
C14957gcv.a("");
int i11 = z + 7;
A = i11 % 128;
int i12 = i11 % 2;
toolbar = null;
}
baseDiscoverSearchActivity.mToolbar = toolbar;
TextView textView = baseDiscoverSearchActivity.tvToolbarTitle;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
baseDiscoverSearchActivity.mActionBarTitle = textView;
super.Z();
ActionBar actionBar = baseDiscoverSearchActivity.getActionBar();
if (actionBar != null) {
actionBar.setDisplayShowCustomEnabled(true);
}
baseDiscoverSearchActivity.ac();
baseDiscoverSearchActivity.setTitle(R.string.investment_discover_search_title);
return null;
}
public BaseDiscoverSearchActivity() {
Sts sts = Sts.a;
C14957gcv.e(sts, "");
this.m = new fZZ(sts);
saX sax = new saX(this);
C14957gcv.e(sax, "");
this.p = new fZZ(sax);
ojQ ojq = new ojQ(this);
C14957gcv.e(ojq, "");
this.q = new fZZ(ojq);
jbe jbeVar = new jbe(this);
C14957gcv.e(jbeVar, "");
this.s = new fZZ(jbeVar);
NHB nhb = new NHB(this);
C14957gcv.e(nhb, "");
this.w = new fZZ(nhb);
ZqN zqN = new ZqN(this);
C14957gcv.e(zqN, "");
this.r = new fZZ(zqN);
tOB tob = new tOB(this);
C14957gcv.e(tob, "");
this.x = new fZZ(tob);
}
public static final /* synthetic */ Handler ahh_(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
int i = 2 % 2;
int i2 = z + 85;
A = i2 % 128;
int i3 = i2 % 2;
Handler handler = (Handler) baseDiscoverSearchActivity.m.e();
int i4 = A + 95;
z = i4 % 128;
int i5 = i4 % 2;
return handler;
}
private static /* synthetic */ Object b(Object[] objArr) {
BaseDiscoverSearchActivity baseDiscoverSearchActivity = (BaseDiscoverSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = A;
int i3 = i2 + 1;
z = i3 % 128;
int i4 = i3 % 2;
boolean z2 = baseDiscoverSearchActivity.f7447o;
int i5 = i2 + 85;
z = i5 % 128;
if (i5 % 2 == 0) {
return Boolean.valueOf(z2);
}
throw null;
}
public static final /* synthetic */ void b(BaseDiscoverSearchActivity baseDiscoverSearchActivity, Runnable runnable) {
int i = 2 % 2;
int i2 = A + 111;
int i3 = i2 % 128;
z = i3;
int i4 = i2 % 2;
baseDiscoverSearchActivity.t = runnable;
int i5 = i3 + 5;
A = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 90 / 0;
}
}
public static final /* synthetic */ Runnable c(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
int i = 2 % 2;
int i2 = z + 59;
int i3 = i2 % 128;
A = i3;
int i4 = i2 % 2;
Runnable runnable = baseDiscoverSearchActivity.t;
int i5 = i3 + 71;
z = i5 % 128;
int i6 = i5 % 2;
return runnable;
}
public static final /* synthetic */ void d(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
int i = 2 % 2;
int i2 = z;
int i3 = i2 + 69;
A = i3 % 128;
int i4 = i3 % 2;
C3644bCd c3644bCd = baseDiscoverSearchActivity.presenter;
ViewGroup viewGroup = null;
if (c3644bCd != null) {
int i5 = i2 + 105;
A = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 5 / 0;
}
} else {
C14957gcv.a("");
c3644bCd = null;
}
c3644bCd.b();
Runnable runnable = baseDiscoverSearchActivity.t;
if (runnable != null) {
int i7 = A + 103;
z = i7 % 128;
if (i7 % 2 != 0) {
((Handler) baseDiscoverSearchActivity.m.e()).removeCallbacks(runnable);
int i8 = 99 / 0;
} else {
((Handler) baseDiscoverSearchActivity.m.e()).removeCallbacks(runnable);
}
}
ViewGroup viewGroup2 = baseDiscoverSearchActivity.layoutTxnLoading;
if (viewGroup2 != null) {
viewGroup = viewGroup2;
} else {
C14957gcv.a("");
}
viewGroup.setVisibility(8);
}
public static final /* synthetic */ void d(BaseDiscoverSearchActivity baseDiscoverSearchActivity, boolean z2) {
int i = 2 % 2;
int i2 = A + 55;
int i3 = i2 % 128;
z = i3;
int i4 = i2 % 2;
baseDiscoverSearchActivity.f7447o = z2;
if (i4 != 0) {
throw null;
}
int i5 = i3 + 23;
A = i5 % 128;
int i6 = i5 % 2;
}
private static /* synthetic */ Object e(Object[] objArr) {
BaseDiscoverSearchActivity baseDiscoverSearchActivity = (BaseDiscoverSearchActivity) objArr[0];
int i = 2 % 2;
baseDiscoverSearchActivity.f7447o = false;
C3644bCd c3644bCd = baseDiscoverSearchActivity.presenter;
if (c3644bCd != null) {
int i2 = z + 95;
A = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
c3644bCd = null;
}
c3644bCd.b();
Runnable runnable = baseDiscoverSearchActivity.t;
if (runnable != null) {
int i4 = z + 13;
A = i4 % 128;
if (i4 % 2 != 0) {
((Handler) baseDiscoverSearchActivity.m.e()).removeCallbacks(runnable);
} else {
((Handler) baseDiscoverSearchActivity.m.e()).removeCallbacks(runnable);
throw null;
}
}
ViewGroup viewGroup = baseDiscoverSearchActivity.layoutTxnLoading;
if (viewGroup == null) {
C14957gcv.a("");
viewGroup = null;
}
viewGroup.setVisibility(8);
baseDiscoverSearchActivity.f();
return null;
}
/* loaded from: classes4.dex */
public static final class IeS {
private IeS() {
}
public /* synthetic */ IeS(byte b) {
this();
}
}
private static void ax(int i, int i2, char c, Object[] objArr) {
Object method;
int i3 = 2 % 2;
dQY dqy = new dQY();
long[] jArr = new long[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i4 = $11 + 21;
$10 = i4 % 128;
int i5 = i4 % 2;
int i6 = dqy.a;
try {
Object[] objArr2 = {Integer.valueOf(v[i + dqy.a])};
Object obj = xzZ.y.get(1095064095);
if (obj == null) {
Class cls = (Class) xzZ.c(308 - (ViewConfiguration.getScrollDefaultDelay() >> 16), TextUtils.lastIndexOf("", '0', 0, 0) + 6, (char) (32796 - MotionEvent.axisFromString("")));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr3 = new Object[1];
az(b, b2, (byte) (b2 | 17), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1095064095, obj);
}
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(y), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(-548438098);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(411 - Process.getGidForName(""), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 4, (char) ('0' - AndroidCharacter.getMirror('0')));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr5 = new Object[1];
az(b3, b4, (byte) (b4 | 16), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
xzZ.y.put(-548438098, obj2);
}
jArr[i6] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
Object[] objArr6 = {dqy, dqy};
Object obj3 = xzZ.y.get(1071125919);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 407, 4 - Process.getGidForName(""), (char) (29234 - (ViewConfiguration.getFadingEdgeLength() >> 16)));
byte b5 = (byte) (-1);
byte b6 = (byte) (b5 + 1);
Object[] objArr7 = new Object[1];
az(b5, b6, (byte) (b6 | 9), objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj3);
}
((Method) obj3).invoke(null, objArr6);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr = new char[i2];
dqy.a = 0;
while (dqy.a < i2) {
int i7 = $10 + 1;
$11 = i7 % 128;
if (i7 % 2 == 0) {
cArr[dqy.a] = (char) jArr[dqy.a];
try {
Object[] objArr8 = {dqy, dqy};
Object obj4 = xzZ.y.get(1071125919);
if (obj4 == null) {
Class cls4 = (Class) xzZ.c(View.MeasureSpec.getMode(0) + 407, 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) (29233 - MotionEvent.axisFromString("")));
byte b7 = (byte) (-1);
byte b8 = (byte) (b7 + 1);
Object[] objArr9 = new Object[1];
az(b7, b8, (byte) (b8 | 9), objArr9);
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
xzZ.y.put(1071125919, obj4);
}
Object obj5 = null;
((Method) obj4).invoke(null, objArr8);
obj5.hashCode();
throw null;
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
}
cArr[dqy.a] = (char) jArr[dqy.a];
Object[] objArr10 = {dqy, dqy};
Object obj6 = xzZ.y.get(1071125919);
if (obj6 != null) {
method = obj6;
} else {
Class cls5 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 408, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (KeyEvent.normalizeMetaState(0) + 29234));
byte b9 = (byte) (-1);
byte b10 = (byte) (b9 + 1);
Object[] objArr11 = new Object[1];
az(b9, b10, (byte) (b10 | 9), objArr11);
method = cls5.getMethod((String) objArr11[0], Object.class, Object.class);
xzZ.y.put(1071125919, method);
}
((Method) method).invoke(null, objArr10);
}
objArr[0] = new String(cArr);
}
private static void ay(char c, char[] cArr, char[] cArr2, char[] cArr3, int i, Object[] objArr) {
int i2 = 2;
int i3 = 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;
while (nhs.a < length3) {
int i4 = $11 + 101;
$10 = i4 % 128;
int i5 = i4 % i2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(45 - (KeyEvent.getMaxKeyCode() >> 16), 4 - ImageFormat.getBitsPerPixel(0), (char) Color.argb(0, 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(352 - TextUtils.indexOf("", "", 0), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) (Color.red(0) + 52128));
byte b = (byte) (-1);
byte b2 = (byte) (b + 1);
Object[] objArr4 = new Object[1];
az(b, b2, b2, 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(748 - TextUtils.getOffsetBefore("", 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) ((-1) - TextUtils.lastIndexOf("", '0', 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(402 - (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24), (char) (21608 - TextUtils.indexOf("", "", 0, 0)));
byte b3 = (byte) (-1);
byte b4 = (byte) (b3 + 1);
Object[] objArr7 = new Object[1];
az(b3, b4, (byte) (b4 + 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) ((((cArr4[intValue2] ^ cArr[nhs.a]) ^ (u ^ 9051040786702654117L)) ^ ((int) (D ^ 9051040786702654117L))) ^ ((char) (B ^ 9051040786702654117L)));
nhs.a++;
int i6 = $10 + 23;
$11 = i6 % 128;
int i7 = i6 % 2;
i2 = 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(cArr6);
}
/* loaded from: classes4.dex */
static final class ojQ extends AbstractC14961gcz implements InterfaceC14890gbN<RVV> {
private BaseDiscoverSearchActivity d;
/* renamed from: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity$ojQ$5, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass5 extends AbstractC14961gcz implements InterfaceC14894gbR<C0844Pu, C14866gag> {
private BaseDiscoverSearchActivity b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0844Pu c0844Pu) {
C3644bCd c3644bCd;
C0838Pp c0838Pp;
C0844Pu c0844Pu2 = c0844Pu;
boolean z = c0844Pu2 != null ? c0844Pu2.c : true;
C3644bCd c3644bCd2 = this.b.presenter;
if (c3644bCd2 == null) {
C14957gcv.a("");
c3644bCd2 = null;
}
C0826Ph c0826Ph = c3644bCd2.d;
List<C0844Pu> list = (c0826Ph == null || (c0838Pp = c0826Ph.a) == null) ? null : c0838Pp.c;
if (true ^ (list == null || list.isEmpty())) {
Spinner spinner = this.b.spnPeriod;
if (spinner == null) {
C14957gcv.a("");
spinner = null;
}
spinner.setVisibility(z ? 0 : 8);
}
C3644bCd c3644bCd3 = this.b.presenter;
if (c3644bCd3 != null) {
c3644bCd = c3644bCd3;
} else {
C14957gcv.a("");
c3644bCd = null;
}
String str = c0844Pu2 != null ? c0844Pu2.a : null;
if (str != null && !C14957gcv.b((Object) str, (Object) c3644bCd.c)) {
c3644bCd.c = str;
C3644bCd.b(c3644bCd, c3644bCd.g, 0, str, c3644bCd.a, 2);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass5(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(1);
this.b = baseDiscoverSearchActivity;
}
}
@Override // o.InterfaceC14890gbN
public final /* synthetic */ RVV invoke() {
return new RVV(this.d, new AnonymousClass5(this.d));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ojQ(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.d = baseDiscoverSearchActivity;
}
}
/* loaded from: classes4.dex */
static final class jbe extends AbstractC14961gcz implements InterfaceC14890gbN<RVV> {
private BaseDiscoverSearchActivity b;
/* renamed from: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity$jbe$2, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass2 extends AbstractC14961gcz implements InterfaceC14894gbR<C0844Pu, C14866gag> {
private BaseDiscoverSearchActivity b;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C0844Pu c0844Pu) {
C3644bCd c3644bCd;
C0844Pu c0844Pu2 = c0844Pu;
C3644bCd c3644bCd2 = this.b.presenter;
if (c3644bCd2 != null) {
c3644bCd = c3644bCd2;
} else {
C14957gcv.a("");
c3644bCd = null;
}
String str = c0844Pu2 != null ? c0844Pu2.a : null;
if (str != null && !C14957gcv.b((Object) str, (Object) c3644bCd.a)) {
c3644bCd.a = str;
C3644bCd.b(c3644bCd, c3644bCd.g, 0, c3644bCd.c, str, 2);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass2(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(1);
this.b = baseDiscoverSearchActivity;
}
}
@Override // o.InterfaceC14890gbN
public final /* synthetic */ RVV invoke() {
return new RVV(this.b, new AnonymousClass2(this.b));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
jbe(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.b = baseDiscoverSearchActivity;
}
}
/* loaded from: classes4.dex */
static final class tOB extends AbstractC14961gcz implements InterfaceC14890gbN<HBt> {
private BaseDiscoverSearchActivity e;
/* renamed from: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity$tOB$4, reason: invalid class name */
/* loaded from: classes4.dex */
public static final class AnonymousClass4 extends AbstractC14961gcz implements InterfaceC14894gbR<Editable, C14866gag> {
private BaseDiscoverSearchActivity c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(Editable editable) {
final Editable editable2 = editable;
ImageButton imageButton = null;
if (!TextUtils.isEmpty(editable2)) {
long j = BaseDiscoverSearchActivity.h(this.c) ? 1000L : 0L;
BaseDiscoverSearchActivity.d(this.c, true);
BaseDiscoverSearchActivity.d(this.c);
final BaseDiscoverSearchActivity baseDiscoverSearchActivity = this.c;
BaseDiscoverSearchActivity.b(baseDiscoverSearchActivity, new Runnable(baseDiscoverSearchActivity, editable2) { // from class: o.dTx
private BaseDiscoverSearchActivity a;
private Editable d;
@Override // java.lang.Runnable
public final void run() {
BaseDiscoverSearchActivity.tOB.AnonymousClass4.ahk_(this.a, this.d);
}
{
this.a = baseDiscoverSearchActivity;
this.d = editable2;
}
});
Runnable c = BaseDiscoverSearchActivity.c(this.c);
if (c != null) {
BaseDiscoverSearchActivity.ahh_(this.c).postDelayed(c, j);
}
ImageButton imageButton2 = this.c.btClear;
if (imageButton2 != null) {
imageButton = imageButton2;
} else {
C14957gcv.a("");
}
imageButton.setVisibility(0);
} else {
ImageButton imageButton3 = this.c.btClear;
if (imageButton3 != null) {
imageButton = imageButton3;
} else {
C14957gcv.a("");
}
imageButton.setVisibility(8);
BaseDiscoverSearchActivity.i(this.c);
}
return C14866gag.c;
}
public static /* synthetic */ void ahk_(BaseDiscoverSearchActivity baseDiscoverSearchActivity, Editable editable) {
C3644bCd c3644bCd;
C14957gcv.e(baseDiscoverSearchActivity, "");
C3644bCd c3644bCd2 = baseDiscoverSearchActivity.presenter;
if (c3644bCd2 != null) {
c3644bCd = c3644bCd2;
} else {
C14957gcv.a("");
c3644bCd = null;
}
String obj = editable != null ? editable.toString() : null;
C3644bCd.b(c3644bCd, obj == null ? "" : obj, 0, null, null, 14);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass4(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(1);
this.c = baseDiscoverSearchActivity;
}
}
@Override // o.InterfaceC14890gbN
public final /* synthetic */ HBt invoke() {
return new HBt(this.e, new AnonymousClass4(this.e));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
tOB(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.e = baseDiscoverSearchActivity;
}
}
/* JADX INFO: Access modifiers changed from: package-private */
/* loaded from: classes4.dex */
public static final class vUG extends AbstractC14961gcz implements InterfaceC14890gbN<C14866gag> {
private BaseDiscoverSearchActivity c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C14866gag invoke() {
this.c.aN_();
BaseDiscoverSearchActivity.d(this.c, false);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
vUG(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.c = baseDiscoverSearchActivity;
}
}
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Type inference failed for: r0v100 */
/* JADX WARN: Type inference failed for: r0v101 */
/* JADX WARN: Type inference failed for: r0v62, types: [android.widget.Spinner] */
/* JADX WARN: Type inference failed for: r0v64 */
/* JADX WARN: Type inference failed for: r0v65, types: [android.widget.Spinner] */
/* JADX WARN: Type inference failed for: r0v67, types: [o.ZI] */
/* JADX WARN: Type inference failed for: r0v76 */
/* JADX WARN: Type inference failed for: r0v77 */
/* JADX WARN: Type inference failed for: r0v99 */
/* JADX WARN: Type inference failed for: r5v12 */
/* JADX WARN: Type inference failed for: r5v13, types: [o.bCd, o.ZI] */
/* JADX WARN: Type inference failed for: r5v14 */
@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 onCreate(Bundle bundle) {
NestedScrollView nestedScrollView;
RecyclerView recyclerView;
?? r0;
?? r5;
int i = 2 % 2;
int i2 = A + 27;
z = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.investment_remark_today_awaiting).substring(0, 1).codePointAt(0) - 42, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.contact_info_mcmc_topup_phone_number_remark).substring(0, 32).codePointAt(1) - 3609, (char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_suitability_test_new_customer_description).substring(76, 77).codePointAt(0) - 32), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, (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)) + 5, (char) KeyEvent.normalizeMetaState(0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr3 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_single_form_check_eligibility_omnibus_all_product_property_header).substring(50, 51).codePointAt(0) + 41782), new char[]{1902, 16102, 1061, 527, 56139, 36072, 16987, 49703, 13698, 17586, 20642, 9818, 62722, 52331, 26333, 6754, 32504, 51445, 62843, 23805, 38272, 12613, 22922, 23374, 36416, 18099}, new char[]{1756, 31984, 42119, 49827}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.billpayment_bnpl_monthly_interest_rate_remark).substring(0, 1).length() - 1, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 20187), new char[]{29672, 213, 22691, 28845, 47628, 55442, 1848, 49296, 42318, 37210, 61725, 61489, 43191, 30886, 9272, 8415, 63379, 10384}, new char[]{39618, 28232, 64930, 45902}, new char[]{0, 0, 0, 0}, Color.argb(0, 0, 0, 0), objArr4);
baseContext = (Context) cls2.getMethod((String) objArr4[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i4 = A + 81;
z = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 492, TextUtils.getCapsMode("", 0, 0) + 5, (char) ExpandableListView.getPackedPositionGroup(0L))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.onboarding_registration_push_sub_title).substring(18, 19).length() - 1), new char[]{30753, 4488, 27227, 30271, 29880, 18554, 19731, 3133, 4514, 44564, 39276, 369, 32887, 45920, 27032, 54401, 31698, 46119, 42860, 27058, 30031, 33521, 18420, 34736, 33641, 33486, 10657, 26276, 5642, 34411, 35217, 63366, 56385, 15923, 36809, 38538, 6956, 49295, 8393, 4794, 24125, 40268, 53931, 191, 34306, 36282, 34214, 39748}, new char[]{28474, 44843, 1713, 60792}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cross_border_review_amount_with_currency).substring(0, 5).length() - 5), new char[]{38767, 59417, 43541, 37140, 14848, 22, 12945, 12766, 38910, 61469, 15528, 60178, 3734, 27643, 9178, 61734, 12974, 45810, 27697, 26301, 1856, 4719, 44728, 1386, 15544, 21010, 56223, 64148, 17474, 16529, 16599, 7577, 23647, 29757, 55192, 11136, 31905, 41453, 22963, 10341, 39603, 43428, 24985, 58299, 37385, 48981, 59499, 2559, 6411, 10867, 22394, 28621, 30711, 57339, 6327, 44503, 5573, 51933, 14646, 12737, 17203, 53801, 40758, 50905}, new char[]{5207, 20953, 42191, 33776}, new char[]{0, 0, 0, 0}, Color.argb(0, 0, 0, 0), objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ay((char) TextUtils.getOffsetBefore("", 0), new char[]{53878, 16360, 10456, 15270, 27162, 56247, 10359, 8709, 50376, 49550, 60860, 61362, 31892, 51521, 8411, 13178, 23494, 48094, 37746, 63568, 63056, 53859, 45713, 54172, 27999, 5634, 39271, 9675, 52191, 30300, 44580, 33699, 56732, 55517, 21021, 26213, 12693, 39741, 20166, 59437, 51728, 185, 47884, 46875, 11092, 54128, 16772, 8656, 6451, 47534, 50420, 2353, 65108, 58974, 30527, 59086, 44115, 40858, 33454, 19133, 46766, 10094, 61232, 4274}, new char[]{54508, 35856, 16857, 40586}, new char[]{0, 0, 0, 0}, Color.red(0), objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 98), new char[]{64028, 41400, 46653, 61580, 26227, 26435, 4485, 18224, 44566, 9399, 38193, 33880, 56030, 22373, 60499, 42667, 2355, 44810, 35422, 61940, 5976, 59777, 27486, 61739, 7009, 26814, 9910, 37925, 149, 15408, 57467, 47658, 31000, 63540, 43174, 21315, 11302, 26714, 36232, 42040, 21203, 2930, 51446, 28129, 16514, 46208, 46466, 46011, 42758, 26522, 10790, 11762, 64066, 48307, 48432, 24564, 32649, 14634, 33045, 21508, 61592, 35223, 45065, 33164, 56322, 48816, 33995, 14118, 1326, 6600, 56544, 40698, 32254, 48191}, new char[]{19878, 33786, 45626, 23012}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(4) - 115, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
ax(TextUtils.indexOf("", "", 0) + 23, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_robo_advisor_add_scbs_account_stop_1).substring(10, 12).length() + 3, (char) (23775 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1))), objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
ax(((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(7) - 18, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 2, (char) (32530 - (ViewConfiguration.getFadingEdgeLength() >> 16)), objArr10);
Object[] objArr11 = {baseContext, str, str2, str3, str4, true, str5, (String) objArr10[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 487, Color.alpha(0) + 5, (char) Color.green(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, objArr11);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
}
super.onCreate(bundle);
setContentView(R.layout.2131558519);
ButterKnife.Dg_(this);
Z();
f();
ImageButton imageButton = this.btClear;
if (imageButton == null) {
C14957gcv.a("");
imageButton = null;
}
imageButton.setOnClickListener(new View.OnClickListener(this) { // from class: o.dTB
private BaseDiscoverSearchActivity d;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
BaseDiscoverSearchActivity.e(this.d);
}
{
this.d = this;
}
});
ImageButton imageButton2 = this.btFilter;
if (imageButton2 != null) {
int i6 = A + 31;
z = i6 % 128;
if (i6 % 2 != 0) {
int i7 = 64 / 0;
}
} else {
C14957gcv.a("");
imageButton2 = null;
}
imageButton2.setOnClickListener(new View.OnClickListener(this) { // from class: o.dTy
private BaseDiscoverSearchActivity e;
@Override // android.view.View.OnClickListener
public final void onClick(View view) {
BaseDiscoverSearchActivity.b(new Object[]{this.e}, 1762525357, -1762525354, (int) System.currentTimeMillis());
}
{
this.e = this;
}
});
BaseDiscoverSearchActivity baseDiscoverSearchActivity = this;
Drawable drawable = nMh.getDrawable(baseDiscoverSearchActivity, R.drawable.ic_search_24dp);
if (drawable != null) {
int i8 = z + 73;
A = i8 % 128;
int i9 = i8 % 2;
float dimension = getResources().getDimension(R.dimen.f18812131165647);
if (!(!Float.isNaN(dimension))) {
throw new IllegalArgumentException("Cannot round NaN value.");
}
int round = Math.round(dimension);
int i10 = z + 123;
A = i10 % 128;
if (i10 % 2 == 0) {
Object obj3 = null;
Float.isNaN(getResources().getDimension(R.dimen.f18812131165647));
obj3.hashCode();
throw null;
}
float dimension2 = getResources().getDimension(R.dimen.f18812131165647);
if (Float.isNaN(dimension2)) {
throw new IllegalArgumentException("Cannot round NaN value.");
}
drawable.setBounds(0, 0, round, Math.round(dimension2));
Drawable pI_ = Tlu.pI_(drawable);
C14957gcv.c(pI_, "");
Tlu.pE_(pI_, nMh.getColor(baseDiscoverSearchActivity, R.color.f3412131099849));
EditText editText = this.etSearch;
if (editText == null) {
C14957gcv.a("");
editText = null;
}
editText.setCompoundDrawables(pI_, null, null, null);
}
EditText editText2 = this.etSearch;
if (editText2 == null) {
C14957gcv.a("");
editText2 = null;
}
editText2.setFilters(new C12919fLP[]{new C12919fLP("^(?=\\S)[0-9a-zA-Z\\u0E00-\\u0E3E\\u0E40-\\u0E7F _*'\"#&*()@\\-]+$")});
EditText editText3 = this.etSearch;
if (editText3 != null) {
int i11 = z + 87;
A = i11 % 128;
int i12 = i11 % 2;
} else {
C14957gcv.a("");
editText3 = null;
}
editText3.setInputType(524432);
EditText editText4 = this.etSearch;
if (editText4 == null) {
C14957gcv.a("");
editText4 = null;
}
editText4.removeTextChangedListener((HBt) this.x.e());
EditText editText5 = this.etSearch;
if (editText5 == null) {
C14957gcv.a("");
editText5 = null;
}
editText5.addTextChangedListener((HBt) this.x.e());
EditText editText6 = this.etSearch;
if (editText6 != null) {
int i13 = A + 105;
z = i13 % 128;
int i14 = i13 % 2;
} else {
C14957gcv.a("");
editText6 = null;
}
editText6.setOnEditorActionListener(new LWm(this, new vUG(this)));
RecyclerView recyclerView2 = this.rcvFunds;
if (recyclerView2 == null) {
C14957gcv.a("");
recyclerView2 = null;
}
recyclerView2.d(new C10383eCj(), -1);
RecyclerView recyclerView3 = this.rcvFunds;
if (recyclerView3 == null) {
C14957gcv.a("");
recyclerView3 = null;
}
recyclerView3.setNestedScrollingEnabled(false);
RecyclerView recyclerView4 = this.rcvFunds;
if (recyclerView4 != null) {
int i15 = z + 7;
A = i15 % 128;
if (i15 % 2 == 0) {
throw null;
}
recyclerView = recyclerView4;
nestedScrollView = null;
} else {
nestedScrollView = null;
C14957gcv.a("");
recyclerView = null;
}
recyclerView.setAdapter((DiscoverSearchResultAdapter) this.p.e());
C12856fJS.HBt hBt = C12856fJS.c;
NestedScrollView nestedScrollView2 = this.scrollContainer;
if (nestedScrollView2 == null) {
C14957gcv.a("");
nestedScrollView2 = nestedScrollView;
}
nestedScrollView2.setDefaultFocusHighlightEnabled(false);
NestedScrollView nestedScrollView3 = this.scrollContainer;
if (nestedScrollView3 == null) {
C14957gcv.a("");
nestedScrollView3 = nestedScrollView;
}
nestedScrollView3.setOnScrollChangeListener(new NestedScrollView.RVV(this) { // from class: o.dTz
private BaseDiscoverSearchActivity d;
@Override // androidx.core.widget.NestedScrollView.RVV
public final void e(NestedScrollView nestedScrollView4, int i16, int i17) {
BaseDiscoverSearchActivity.c(this.d, nestedScrollView4, i16, i17);
}
{
this.d = this;
}
});
Spinner spinner = this.spnSortingType;
?? r02 = spinner;
if (spinner == null) {
C14957gcv.a("");
r02 = nestedScrollView;
}
r02.setAdapter((C12304evg) this.w.e());
Spinner spinner2 = this.spnPeriod;
if (spinner2 != null) {
int i16 = A + 107;
z = i16 % 128;
int i17 = i16 % 2;
r0 = spinner2;
} else {
C14957gcv.a("");
r0 = nestedScrollView;
}
r0.setAdapter((C12304evg) this.r.e());
C3644bCd c3644bCd = this.presenter;
?? r03 = c3644bCd;
if (c3644bCd == null) {
C14957gcv.a("");
r03 = nestedScrollView;
}
r03.e(this);
C3644bCd c3644bCd2 = this.presenter;
if (c3644bCd2 != null) {
r5 = c3644bCd2;
} else {
C14957gcv.a("");
r5 = nestedScrollView;
}
ZI.IeS ieS = new ZI.IeS() { // from class: o.bCp
@Override // o.ZI.IeS
public final void e(Object obj4) {
((InterfaceC9397div) obj4).c(false);
}
};
if (r5.f != null) {
int i18 = A + 89;
z = i18 % 128;
int i19 = i18 % 2;
ieS.e(r5.f);
}
C15923je c15923je = r5.e;
C3644bCd.Sts sts = new C3644bCd.Sts(r5);
C3644bCd.IeS ieS2 = new C3644bCd.IeS(r5);
C14957gcv.e(sts, "");
C14957gcv.e(ieS2, "");
c15923je.b(c15923je.d, sts, ieS2, new Cjv.RVV(), new C15923je.RVV(c15923je));
Iki iki = new Iki();
C14957gcv.e(iki, "");
this.l = iki;
}
private final void f() {
int i = 2 % 2;
int i2 = A + 39;
z = i2 % 128;
ViewGroup viewGroup = null;
if (i2 % 2 != 0) {
throw null;
}
ViewGroup viewGroup2 = this.layoutSearchHint;
if (viewGroup2 == null) {
C14957gcv.a("");
viewGroup2 = null;
}
viewGroup2.setVisibility(0);
ViewGroup viewGroup3 = this.customProgress;
if (viewGroup3 != null) {
int i3 = z + 115;
A = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
viewGroup3 = null;
}
viewGroup3.setVisibility(8);
ViewGroup viewGroup4 = this.layoutEmpty;
if (viewGroup4 != null) {
int i5 = z + 71;
A = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
viewGroup4 = null;
}
viewGroup4.setVisibility(8);
TextView textView = this.tvTotalRecords;
if (textView == null) {
C14957gcv.a("");
textView = null;
}
textView.setVisibility(8);
ViewGroup viewGroup5 = this.layoutFunds;
if (viewGroup5 != null) {
int i7 = A + 15;
z = i7 % 128;
if (i7 % 2 != 0) {
int i8 = 58 / 0;
}
} else {
C14957gcv.a("");
viewGroup5 = null;
}
viewGroup5.setVisibility(8);
ViewGroup viewGroup6 = this.layoutContainer;
if (viewGroup6 != null) {
viewGroup = viewGroup6;
} else {
C14957gcv.a("");
}
viewGroup.setVisibility(0);
DiscoverSearchResultAdapter discoverSearchResultAdapter = (DiscoverSearchResultAdapter) this.p.e();
((List) discoverSearchResultAdapter.c.e()).clear();
discoverSearchResultAdapter.notifyDataSetChanged();
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void v() {
int i = 2 % 2;
int i2 = A + 117;
z = i2 % 128;
int i3 = i2 % 2;
super.v();
ViewGroup viewGroup = this.customProgress;
ViewGroup viewGroup2 = null;
if (viewGroup != null) {
int i4 = A + 71;
int i5 = i4 % 128;
z = i5;
if (i4 % 2 != 0) {
throw null;
}
int i6 = i5 + 75;
A = i6 % 128;
if (i6 % 2 == 0) {
int i7 = 3 / 5;
}
} else {
C14957gcv.a("");
viewGroup = null;
}
viewGroup.setVisibility(0);
ViewGroup viewGroup3 = this.layoutContainer;
if (viewGroup3 != null) {
int i8 = A + 33;
z = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
viewGroup2 = viewGroup3;
} else {
C14957gcv.a("");
}
viewGroup2.setVisibility(8);
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void aq_() {
int i = 2 % 2;
int i2 = z + 103;
A = i2 % 128;
ViewGroup viewGroup = null;
if (i2 % 2 == 0) {
super.aq_();
viewGroup.hashCode();
throw null;
}
super.aq_();
ViewGroup viewGroup2 = this.customProgress;
if (viewGroup2 == null) {
C14957gcv.a("");
int i3 = A + 125;
z = i3 % 128;
int i4 = i3 % 2;
viewGroup2 = null;
}
viewGroup2.setVisibility(8);
ViewGroup viewGroup3 = this.layoutContainer;
if (viewGroup3 != null) {
viewGroup = viewGroup3;
} else {
C14957gcv.a("");
}
viewGroup.setVisibility(0);
int i5 = z + 57;
A = i5 % 128;
int i6 = i5 % 2;
}
@Override // o.InterfaceC9397div
public final void i() {
int i = 2 % 2;
int i2 = A + 113;
int i3 = i2 % 128;
z = i3;
Object obj = null;
if (i2 % 2 != 0) {
throw null;
}
ViewGroup viewGroup = this.layoutTxnLoading;
if (viewGroup != null) {
int i4 = i3 + 27;
A = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
viewGroup = null;
}
viewGroup.setVisibility(0);
int i6 = A + 121;
z = i6 % 128;
if (i6 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9397div
public final void e() {
int i = 2 % 2;
int i2 = A + 115;
z = i2 % 128;
ViewGroup viewGroup = null;
if (i2 % 2 != 0) {
throw null;
}
ViewGroup viewGroup2 = this.layoutTxnLoading;
if (viewGroup2 != null) {
viewGroup = viewGroup2;
} else {
C14957gcv.a("");
int i3 = z + 19;
A = i3 % 128;
int i4 = i3 % 2;
}
viewGroup.setVisibility(8);
}
@Override // o.InterfaceC9397div
public final void c(boolean z2) {
int i = 2 % 2;
int i2 = A;
int i3 = i2 + 13;
z = i3 % 128;
int i4 = i3 % 2;
ImageButton imageButton = this.btFilter;
if (imageButton != null) {
int i5 = i2 + 83;
z = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 54 / 0;
}
} else {
C14957gcv.a("");
imageButton = null;
}
imageButton.setEnabled(z2);
}
@Override // o.InterfaceC9397div
public final void d(boolean z2) {
int i;
int i2 = 2 % 2;
ImageView imageView = this.ivFilterFlag;
Object obj = null;
if (imageView != null) {
int i3 = A + 115;
z = i3 % 128;
if (i3 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
int i4 = A + 71;
z = i4 % 128;
int i5 = i4 % 2;
imageView = null;
}
if (z2) {
int i6 = A + 61;
z = i6 % 128;
i = i6 % 2 != 0 ? 1 : 0;
} else {
i = 8;
}
imageView.setVisibility(i);
}
@Override // com.scb.phone.view.activity.BaseActivity, o.InterfaceC6638cYp
public final void aN_() {
int i = 2 % 2;
super.aN_();
EditText editText = this.etSearch;
NestedScrollView nestedScrollView = null;
if (editText != null) {
int i2 = A + 111;
z = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
editText = null;
}
editText.clearFocus();
NestedScrollView nestedScrollView2 = this.scrollContainer;
if (nestedScrollView2 != null) {
int i4 = A + 45;
z = i4 % 128;
int i5 = i4 % 2;
nestedScrollView = nestedScrollView2;
} else {
C14957gcv.a("");
}
nestedScrollView.requestFocus();
}
@Override // o.InterfaceC9397div
public final void d() {
int i = 2 % 2;
int i2 = A + 97;
z = i2 % 128;
int i3 = i2 % 2;
InterfaceC13393fZL interfaceC13393fZL = this.p;
if (i3 == 0) {
DiscoverSearchResultAdapter discoverSearchResultAdapter = (DiscoverSearchResultAdapter) interfaceC13393fZL.e();
((List) discoverSearchResultAdapter.c.e()).clear();
discoverSearchResultAdapter.notifyDataSetChanged();
} else {
DiscoverSearchResultAdapter discoverSearchResultAdapter2 = (DiscoverSearchResultAdapter) interfaceC13393fZL.e();
((List) discoverSearchResultAdapter2.c.e()).clear();
discoverSearchResultAdapter2.notifyDataSetChanged();
int i4 = 94 / 0;
}
}
@Override // o.InterfaceC9397div
public final void e(C0836Pn c0836Pn) {
int i = 2 % 2;
int i2 = A + 25;
z = i2 % 128;
ViewGroup viewGroup = null;
if (i2 % 2 != 0) {
C14957gcv.e(c0836Pn, "");
this.k = c0836Pn.b;
throw null;
}
C14957gcv.e(c0836Pn, "");
this.k = c0836Pn.b;
ViewGroup viewGroup2 = this.layoutSearchHint;
if (viewGroup2 == null) {
C14957gcv.a("");
viewGroup2 = null;
}
viewGroup2.setVisibility(8);
ViewGroup viewGroup3 = this.layoutFunds;
if (viewGroup3 != null) {
int i3 = A + 1;
z = i3 % 128;
int i4 = i3 % 2;
} else {
C14957gcv.a("");
viewGroup3 = null;
}
viewGroup3.setVisibility(0);
TextView textView = this.tvTotalRecords;
if (textView != null) {
int i5 = A + 15;
z = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 18 / 0;
}
} else {
C14957gcv.a("");
textView = null;
}
textView.setVisibility(0);
ViewGroup viewGroup4 = this.layoutEmpty;
if (viewGroup4 != null) {
viewGroup = viewGroup4;
} else {
C14957gcv.a("");
}
viewGroup.setVisibility(8);
((DiscoverSearchResultAdapter) this.p.e()).e = c0836Pn.f;
DiscoverSearchResultAdapter discoverSearchResultAdapter = (DiscoverSearchResultAdapter) this.p.e();
List<C0830Pj> list = c0836Pn.a;
C14957gcv.e(list, "");
int itemCount = discoverSearchResultAdapter.getItemCount();
((List) discoverSearchResultAdapter.c.e()).addAll(list);
discoverSearchResultAdapter.notifyItemRangeChanged(itemCount - 1, discoverSearchResultAdapter.getItemCount() - 1);
}
@Override // o.InterfaceC9397div
public final void b() {
int i = 2 % 2;
int i2 = A;
int i3 = i2 + 111;
z = i3 % 128;
int i4 = i3 % 2;
TextView textView = this.tvTotalRecords;
if (textView != null) {
int i5 = i2 + 93;
z = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
int i7 = z + 77;
A = i7 % 128;
int i8 = i7 % 2;
textView = null;
}
textView.setVisibility(0);
e(R.drawable.thumb_empty_state, getString(R.string.investment_discover_search_no_result_found), getString(R.string.investment_discover_search_no_result_found_description));
}
@Override // o.InterfaceC9397div
public final void c(String str) {
C14866gag c14866gag;
int i = 2 % 2;
TextView textView = null;
if (str != null) {
TextView textView2 = this.tvTotalRecords;
if (textView2 != null) {
int i2 = z + 69;
A = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
textView2 = null;
}
textView2.setText(getString(R.string.investment_discover_search_item_found, str));
c14866gag = C14866gag.c;
} else {
int i4 = A + 35;
z = i4 % 128;
int i5 = i4 % 2;
c14866gag = null;
}
if (c14866gag == null) {
int i6 = A + 93;
int i7 = i6 % 128;
z = i7;
if (i6 % 2 != 0) {
throw null;
}
TextView textView3 = this.tvTotalRecords;
if (textView3 != null) {
int i8 = i7 + 5;
A = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 27 / 0;
}
textView = textView3;
} else {
C14957gcv.a("");
}
textView.setText(getString(R.string.investment_discover_search_item_found_is_null));
}
}
/* 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 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x001b, code lost:
r2 = r2 + 101;
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z = r2 % 128;
r2 = r2 % 2;
*/
@Override // o.InterfaceC9397div
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void a() {
/*
r4 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z
int r1 = r1 + 97
int r2 = r1 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A = r2
int r1 = r1 % r0
if (r1 != 0) goto L17
android.widget.TextView r1 = r4.tvTotalRecords
r3 = 36
int r3 = r3 / 0
if (r1 == 0) goto L23
goto L1b
L17:
android.widget.TextView r1 = r4.tvTotalRecords
if (r1 == 0) goto L23
L1b:
int r2 = r2 + 101
int r3 = r2 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z = r3
int r2 = r2 % r0
goto L29
L23:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
r1 = 0
L29:
r0 = 8
r1.setVisibility(r0)
r0 = 2131959355(0x7f131e3b, float:1.9555348E38)
java.lang.String r0 = r4.getString(r0)
r1 = 2131956246(0x7f131216, float:1.9549042E38)
java.lang.String r1 = r4.getString(r1)
r2 = 2131231567(0x7f08034f, float:1.8079219E38)
r4.e(r2, r0, r1)
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.a():void");
}
private final void e(int i, String str, String str2) {
int i2 = 2 % 2;
int i3 = z + 35;
A = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
obj.hashCode();
throw null;
}
ViewGroup viewGroup = this.layoutSearchHint;
if (viewGroup == null) {
C14957gcv.a("");
viewGroup = null;
}
viewGroup.setVisibility(8);
ViewGroup viewGroup2 = this.layoutEmpty;
if (viewGroup2 == null) {
C14957gcv.a("");
viewGroup2 = null;
}
viewGroup2.setVisibility(0);
ViewGroup viewGroup3 = this.layoutFunds;
if (viewGroup3 != null) {
int i4 = z + 55;
A = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
viewGroup3 = null;
}
viewGroup3.setVisibility(8);
ImageView imageView = this.ivError;
if (imageView != null) {
int i6 = A + 43;
z = i6 % 128;
if (i6 % 2 != 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
imageView = null;
}
imageView.setImageDrawable(nMh.getDrawable(this, i));
TextView textView = this.tvErrorTitle;
if (textView != null) {
int i7 = z + 51;
A = i7 % 128;
if (i7 % 2 == 0) {
obj.hashCode();
throw null;
}
} else {
C14957gcv.a("");
textView = null;
}
textView.setText(str);
TextView textView2 = this.tvErrorDescription;
if (textView2 != null) {
int i8 = z + 85;
A = i8 % 128;
if (i8 % 2 == 0) {
int i9 = 26 / 0;
}
} else {
C14957gcv.a("");
textView2 = null;
}
textView2.setText(str2);
int i10 = A + 101;
z = i10 % 128;
if (i10 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@Override // o.InterfaceC9397div
public final void e(boolean z2) {
int i = 2 % 2;
int i2 = z;
int i3 = i2 + 57;
A = i3 % 128;
int i4 = i3 % 2;
Spinner spinner = null;
if (z2) {
Spinner spinner2 = this.spnSortingType;
if (spinner2 == null) {
C14957gcv.a("");
spinner2 = null;
}
spinner2.setOnItemSelectedListener((RVV) this.q.e());
Spinner spinner3 = this.spnPeriod;
if (spinner3 != null) {
spinner = spinner3;
} else {
C14957gcv.a("");
}
spinner.setOnItemSelectedListener((RVV) this.s.e());
return;
}
Spinner spinner4 = this.spnSortingType;
if (spinner4 != null) {
int i5 = i2 + 95;
A = i5 % 128;
int i6 = i5 % 2;
} else {
C14957gcv.a("");
spinner4 = null;
}
spinner4.setOnItemSelectedListener(null);
Spinner spinner5 = this.spnPeriod;
if (spinner5 != null) {
int i7 = z + 109;
A = i7 % 128;
if (i7 % 2 == 0) {
spinner.hashCode();
throw null;
}
} else {
C14957gcv.a("");
spinner5 = null;
}
spinner5.setOnItemSelectedListener(null);
}
/* JADX WARN: Removed duplicated region for block: B:14:0x003d */
/* JADX WARN: Removed duplicated region for block: B:17:0x006b */
/* JADX WARN: Removed duplicated region for block: B:25:0x0089 */
/* JADX WARN: Removed duplicated region for block: B:28:0x00a8 */
/* JADX WARN: Removed duplicated region for block: B:34:0x00b8 */
/* JADX WARN: Removed duplicated region for block: B:39:0x00d6 */
/* JADX WARN: Removed duplicated region for block: B:45:0x00e6 */
/* JADX WARN: Removed duplicated region for block: B:87:0x00f2 */
/* JADX WARN: Removed duplicated region for block: B:90:0x00cd */
/* JADX WARN: Removed duplicated region for block: B:92:0x008c */
/* JADX WARN: Removed duplicated region for block: B:96:0x0049 */
@Override // o.InterfaceC9397div
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final void e(o.C0826Ph r10, o.C0836Pn r11) {
/*
Method dump skipped, instructions count: 333
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.e(o.Ph, o.Pn):void");
}
/* JADX WARN: Multi-variable type inference failed */
private static /* synthetic */ Object c(Object[] objArr) {
int i;
Spinner spinner = (Spinner) objArr[0];
C14851gaI c14851gaI = (List) objArr[1];
C13396fZU c13396fZU = (C13396fZU) objArr[2];
ArrayAdapter arrayAdapter = (ArrayAdapter) objArr[3];
int i2 = 2 % 2;
arrayAdapter.clear();
Object obj = null;
if (c14851gaI == null) {
int i3 = z + 79;
A = i3 % 128;
if (i3 % 2 == 0) {
C14851gaI c14851gaI2 = C14851gaI.c;
throw null;
}
c14851gaI = C14851gaI.c;
}
List list = c14851gaI;
C14957gcv.e(list, "");
ArrayList arrayList = new ArrayList(list);
boolean isEmpty = arrayList.isEmpty();
spinner.setEnabled(!isEmpty);
if (isEmpty) {
int i4 = z + 17;
A = i4 % 128;
i = i4 % 2 == 0 ? 55 : 8;
} else {
int i5 = z + 21;
A = i5 % 128;
int i6 = i5 % 2;
i = 0;
}
spinner.setVisibility(i);
if (isEmpty && c13396fZU != null) {
int i7 = A + 1;
z = i7 % 128;
if (i7 % 2 != 0) {
obj.hashCode();
throw null;
}
if (((String) c13396fZU.e) != null) {
int i8 = A + 99;
z = i8 % 128;
if (i8 % 2 != 0) {
throw null;
}
String str = (String) c13396fZU.d;
String str2 = (String) c13396fZU.e;
arrayList.add(new C0844Pu(str, str2 != null ? str2 : ""));
spinner.setVisibility(0);
int i9 = z + 9;
A = i9 % 128;
int i10 = i9 % 2;
}
}
arrayAdapter.addAll(arrayList);
return null;
}
/* loaded from: classes4.dex */
public final class HBt implements TextWatcher {
private final InterfaceC14894gbR<Editable, C14866gag> b;
private BaseDiscoverSearchActivity e;
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
/* JADX WARN: Multi-variable type inference failed */
public HBt(BaseDiscoverSearchActivity baseDiscoverSearchActivity, InterfaceC14894gbR<? super Editable, C14866gag> interfaceC14894gbR) {
C14957gcv.e(interfaceC14894gbR, "");
this.e = baseDiscoverSearchActivity;
this.b = interfaceC14894gbR;
}
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
this.b.invoke(editable);
}
}
private static void ahj_(Spinner spinner, List<C0844Pu> list, C13396fZU<String, String> c13396fZU) {
int i = 2 % 2;
List<C0844Pu> list2 = list;
if (list2 != null) {
int i2 = z + 39;
A = i2 % 128;
if (i2 % 2 == 0) {
list2.isEmpty();
Object obj = null;
obj.hashCode();
throw null;
}
if (list2.isEmpty() || c13396fZU == null) {
return;
}
int i3 = A + 79;
z = i3 % 128;
int i4 = i3 % 2;
Iterator<C0844Pu> it = list.iterator();
int i5 = 0;
while (true) {
if (it.hasNext()) {
if (C14957gcv.b((Object) it.next().a, (Object) c13396fZU.d)) {
break;
}
int i6 = A + 33;
z = i6 % 128;
i5 = i6 % 2 != 0 ? i5 + 109 : i5 + 1;
} else {
i5 = -1;
break;
}
}
int max = Math.max(0, i5);
if (max != spinner.getSelectedItemPosition()) {
int i7 = z + 25;
A = i7 % 128;
int i8 = i7 % 2;
spinner.setSelection(max, false);
}
}
}
@Override // o.InterfaceC9397div
public final void b(boolean z2) {
int i = 2 % 2;
ViewGroup viewGroup = this.layoutSortOptions;
if (viewGroup != null) {
int i2 = A + 107;
z = i2 % 128;
int i3 = i2 % 2;
} else {
C14957gcv.a("");
int i4 = A + 9;
z = i4 % 128;
int i5 = i4 % 2;
viewGroup = null;
}
viewGroup.setVisibility(z2 ? 0 : 8);
}
/* loaded from: classes4.dex */
public final class LWm implements TextView.OnEditorActionListener {
private BaseDiscoverSearchActivity b;
private final InterfaceC14890gbN<C14866gag> e;
public LWm(BaseDiscoverSearchActivity baseDiscoverSearchActivity, InterfaceC14890gbN<C14866gag> interfaceC14890gbN) {
C14957gcv.e(interfaceC14890gbN, "");
this.b = baseDiscoverSearchActivity;
this.e = interfaceC14890gbN;
}
@Override // android.widget.TextView.OnEditorActionListener
public final boolean onEditorAction(TextView textView, int i, KeyEvent keyEvent) {
if (i != 3 && i != 6) {
return true;
}
this.e.invoke();
return false;
}
}
/* JADX WARN: Code restructure failed: missing block: B:36:0x0028, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001d, code lost:
if (r1 != null) goto L11;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x002b, code lost:
o.C14957gcv.a("");
r1 = null;
*/
@Override // com.scb.phone.view.adapter.investment.discover.DiscoverSearchResultAdapter.IeS
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public void e(o.C0830Pj r9) {
/*
Method dump skipped, instructions count: 257
To view this dump add '--comments-level debug' option
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.e(o.Pj):void");
}
/* loaded from: classes4.dex */
public final class RVV implements AdapterView.OnItemSelectedListener {
private final InterfaceC14894gbR<C0844Pu, C14866gag> a;
private BaseDiscoverSearchActivity b;
@Override // android.widget.AdapterView.OnItemSelectedListener
public final void onNothingSelected(AdapterView<?> adapterView) {
}
/* JADX WARN: Multi-variable type inference failed */
public RVV(BaseDiscoverSearchActivity baseDiscoverSearchActivity, InterfaceC14894gbR<? super C0844Pu, C14866gag> interfaceC14894gbR) {
C14957gcv.e(interfaceC14894gbR, "");
this.b = baseDiscoverSearchActivity;
this.a = interfaceC14894gbR;
}
@Override // android.widget.AdapterView.OnItemSelectedListener
public final void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
Object itemAtPosition = adapterView != null ? adapterView.getItemAtPosition(i) : null;
this.a.invoke(itemAtPosition instanceof C0844Pu ? (C0844Pu) itemAtPosition : null);
}
}
@Override // o.InterfaceC9397div
public final void a(C0826Ph c0826Ph, C0835Pm c0835Pm) {
int i = 2 % 2;
C14957gcv.e(c0826Ph, "");
aN_();
DiscoverFundFilterActivity.Sts sts = DiscoverFundFilterActivity.b;
BaseDiscoverSearchActivity baseDiscoverSearchActivity = this;
C14957gcv.e(baseDiscoverSearchActivity, "");
C14957gcv.e(c0826Ph, "");
Intent intent = new Intent(baseDiscoverSearchActivity, (Class<?>) DiscoverFundFilterActivity.class);
intent.setFlags(603979776);
intent.putExtra("EXTRA_FUND_FILTER_DISPLAY", c0826Ph);
if (c0835Pm != null) {
int i2 = z + 59;
A = i2 % 128;
int i3 = i2 % 2;
intent.putExtra("EXTRA_FUND_FILTER_SELECTED_DISPLAY", c0835Pm);
}
startActivityForResult(intent, 10001);
int i4 = z + 85;
A = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 40 / 0;
}
}
private static /* synthetic */ Object a(Object[] objArr) {
BaseDiscoverSearchActivity baseDiscoverSearchActivity = (BaseDiscoverSearchActivity) objArr[0];
C0826Ph c0826Ph = (C0826Ph) objArr[1];
C0835Pm c0835Pm = (C0835Pm) objArr[2];
int i = 2 % 2;
C14957gcv.e(c0826Ph, "");
baseDiscoverSearchActivity.aN_();
NtbDiscoverFundFilterActivity.LWm lWm = NtbDiscoverFundFilterActivity.f7462o;
BaseDiscoverSearchActivity baseDiscoverSearchActivity2 = baseDiscoverSearchActivity;
C14957gcv.e(baseDiscoverSearchActivity2, "");
C14957gcv.e(c0826Ph, "");
Intent intent = new Intent(baseDiscoverSearchActivity2, (Class<?>) NtbDiscoverFundFilterActivity.class);
intent.setFlags(603979776);
intent.putExtra("EXTRA_FUND_FILTER_DISPLAY", c0826Ph);
if (c0835Pm != null) {
int i2 = z + 49;
A = i2 % 128;
int i3 = i2 % 2;
intent.putExtra("EXTRA_FUND_FILTER_SELECTED_DISPLAY", c0835Pm);
}
baseDiscoverSearchActivity.startActivityForResult(intent, 10001);
int i4 = z + 71;
A = i4 % 128;
if (i4 % 2 != 0) {
return null;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, android.app.Activity
public void onActivityResult(int i, int i2, Intent intent) {
final C3644bCd c3644bCd;
String str;
int i3 = 2 % 2;
super.onActivityResult(i, i2, intent);
if (10001 == i) {
int i4 = z;
int i5 = i4 + 3;
A = i5 % 128;
if (i5 % 2 == 0) {
r2.hashCode();
throw null;
}
if (i2 == -1) {
int i6 = i4 + 59;
A = i6 % 128;
int i7 = i6 % 2;
C3644bCd c3644bCd2 = this.presenter;
if (c3644bCd2 != null) {
c3644bCd = c3644bCd2;
} else {
C14957gcv.a("");
c3644bCd = null;
}
EditText editText = this.etSearch;
if (editText != null) {
int i8 = A + 35;
z = i8 % 128;
int i9 = i8 % 2;
} else {
C14957gcv.a("");
editText = null;
}
Editable text = editText.getText();
String obj = text != null ? text.toString() : null;
if (obj == null) {
int i10 = z + 7;
A = i10 % 128;
int i11 = i10 % 2;
str = "";
} else {
str = obj;
}
r2 = intent != null ? (C0835Pm) intent.getParcelableExtra("EXTRA_FUND_FILTER_DISPLAY_RETURN") : null;
c3644bCd.b = r2;
ZI.IeS ieS = new ZI.IeS(c3644bCd) { // from class: o.bCj
private C3644bCd d;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3644bCd.d(this.d, (InterfaceC9397div) obj2);
}
{
this.d = c3644bCd;
}
};
if (c3644bCd.f != 0) {
int i12 = z + 19;
int i13 = i12 % 128;
A = i13;
if (i12 % 2 != 0) {
int i14 = i13 + 115;
z = i14 % 128;
int i15 = i14 % 2;
ieS.e(c3644bCd.f);
}
}
ZI.IeS ieS2 = new ZI.IeS(r2) { // from class: o.bCh
private C0835Pm c;
@Override // o.ZI.IeS
public final void e(Object obj2) {
C3644bCd.e(this.c, (InterfaceC9397div) obj2);
}
{
this.c = r1;
}
};
if (c3644bCd.f != 0) {
int i16 = z + 53;
A = i16 % 128;
int i17 = i16 % 2;
ieS2.e(c3644bCd.f);
}
C3644bCd.b(c3644bCd, str, 0, c3644bCd.c, c3644bCd.a, 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;
super.onDestroy();
Runnable runnable = this.t;
if (runnable != null) {
int i2 = z + 13;
A = i2 % 128;
int i3 = i2 % 2;
((Handler) this.m.e()).removeCallbacks(runnable);
int i4 = A + 119;
z = i4 % 128;
int i5 = i4 % 2;
}
}
@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 onResume() {
int i = 2 % 2;
Context baseContext = getBaseContext();
Object obj = null;
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().getPackageName().length() + 41879), new char[]{1902, 16102, 1061, 527, 56139, 36072, 16987, 49703, 13698, 17586, 20642, 9818, 62722, 52331, 26333, 6754, 32504, 51445, 62843, 23805, 38272, 12613, 22922, 23374, 36416, 18099}, new char[]{1756, 31984, 42119, 49827}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() - 13, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 20112), new char[]{29672, 213, 22691, 28845, 47628, 55442, 1848, 49296, 42318, 37210, 61725, 61489, 43191, 30886, 9272, 8415, 63379, 10384}, new char[]{39618, 28232, 64930, 45902}, new char[]{0, 0, 0, 0}, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.marker_address).substring(0, 20).codePointAt(6) - 114, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
baseContext = baseContext.getApplicationContext();
int i2 = z + 49;
A = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 4 / 3;
}
}
if (baseContext != null) {
int i4 = z + 87;
A = i4 % 128;
try {
if (i4 % 2 == 0) {
Object obj2 = xzZ.y.get(125943855);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 492, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, (char) (ViewConfiguration.getLongPressTimeout() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj2);
}
Object invoke = ((Method) obj2).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj3 = xzZ.y.get(1378719468);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(486 - ImageFormat.getBitsPerPixel(0), 5 - TextUtils.getCapsMode("", 0, 0), (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj3);
}
((Method) obj3).invoke(invoke, objArr3);
throw null;
}
Object obj4 = xzZ.y.get(125943855);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(493 - (SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) KeyEvent.keyCodeFromString(""))).getMethod("a", null);
xzZ.y.put(125943855, obj4);
}
Object invoke2 = ((Method) obj4).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj5 = xzZ.y.get(1378719468);
if (obj5 == null) {
obj5 = ((Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0) + 488, 5 - View.combineMeasuredStates(0, 0), (char) Color.green(0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj5);
}
((Method) obj5).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
int i5 = A + 7;
z = i5 % 128;
if (i5 % 2 == 0) {
return;
}
obj.hashCode();
throw null;
}
@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 = A + 25;
z = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i4 = A + 117;
z = i4 % 128;
int i5 = i4 % 2;
Object[] objArr = new Object[1];
ay((char) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(2) + 41783), new char[]{1902, 16102, 1061, 527, 56139, 36072, 16987, 49703, 13698, 17586, 20642, 9818, 62722, 52331, 26333, 6754, 32504, 51445, 62843, 23805, 38272, 12613, 22922, 23374, 36416, 18099}, new char[]{1756, 31984, 42119, 49827}, new char[]{0, 0, 0, 0}, ViewConfiguration.getScrollBarSize() >> 8, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ay((char) (Gravity.getAbsoluteGravity(0, 0) + 20221), new char[]{29672, 213, 22691, 28845, 47628, 55442, 1848, 49296, 42318, 37210, 61725, 61489, 43191, 30886, 9272, 8415, 63379, 10384}, new char[]{39618, 28232, 64930, 45902}, new char[]{0, 0, 0, 0}, KeyEvent.keyCodeFromString(""), objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i6 = z + 81;
A = i6 % 128;
int i7 = i6 % 2;
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getLongPressTimeout() >> 16), TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) Color.red(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((ViewConfiguration.getFadingEdgeLength() >> 16) + 487, '5' - AndroidCharacter.getMirror('0'), (char) (1 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@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) {
int i = 2 % 2;
int i2 = z + 81;
A = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
ax(TextUtils.getOffsetBefore("", 0), (ViewConfiguration.getWindowTouchSlop() >> 8) + 18, (char) Gravity.getAbsoluteGravity(0, 0), objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
ax(View.MeasureSpec.getMode(0) + 18, (ViewConfiguration.getEdgeSlop() >> 16) + 5, (char) Color.alpha(0), objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue < 99000 || intValue > 99999) {
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i4 = z + 63;
A = i4 % 128;
int i5 = i4 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(View.MeasureSpec.makeMeasureSpec(0, 0) + 492, 5 - (ViewConfiguration.getPressedStateDuration() >> 16), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
ay((char) (ViewConfiguration.getScrollDefaultDelay() >> 16), new char[]{30753, 4488, 27227, 30271, 29880, 18554, 19731, 3133, 4514, 44564, 39276, 369, 32887, 45920, 27032, 54401, 31698, 46119, 42860, 27058, 30031, 33521, 18420, 34736, 33641, 33486, 10657, 26276, 5642, 34411, 35217, 63366, 56385, 15923, 36809, 38538, 6956, 49295, 8393, 4794, 24125, 40268, 53931, 191, 34306, 36282, 34214, 39748}, new char[]{28474, 44843, 1713, 60792}, new char[]{0, 0, 0, 0}, ViewConfiguration.getMaximumDrawingCacheSize() >> 24, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
ay((char) (ViewConfiguration.getLongPressTimeout() >> 16), new char[]{38767, 59417, 43541, 37140, 14848, 22, 12945, 12766, 38910, 61469, 15528, 60178, 3734, 27643, 9178, 61734, 12974, 45810, 27697, 26301, 1856, 4719, 44728, 1386, 15544, 21010, 56223, 64148, 17474, 16529, 16599, 7577, 23647, 29757, 55192, 11136, 31905, 41453, 22963, 10341, 39603, 43428, 24985, 58299, 37385, 48981, 59499, 2559, 6411, 10867, 22394, 28621, 30711, 57339, 6327, 44503, 5573, 51933, 14646, 12737, 17203, 53801, 40758, 50905}, new char[]{5207, 20953, 42191, 33776}, new char[]{0, 0, 0, 0}, ViewConfiguration.getMaximumFlingVelocity() >> 16, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
ay((char) TextUtils.getCapsMode("", 0, 0), new char[]{53878, 16360, 10456, 15270, 27162, 56247, 10359, 8709, 50376, 49550, 60860, 61362, 31892, 51521, 8411, 13178, 23494, 48094, 37746, 63568, 63056, 53859, 45713, 54172, 27999, 5634, 39271, 9675, 52191, 30300, 44580, 33699, 56732, 55517, 21021, 26213, 12693, 39741, 20166, 59437, 51728, 185, 47884, 46875, 11092, 54128, 16772, 8656, 6451, 47534, 50420, 2353, 65108, 58974, 30527, 59086, 44115, 40858, 33454, 19133, 46766, 10094, 61232, 4274}, new char[]{54508, 35856, 16857, 40586}, new char[]{0, 0, 0, 0}, (-1) - ((byte) KeyEvent.getModifierMetaStateMask()), objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
ay((char) Color.argb(0, 0, 0, 0), new char[]{64028, 41400, 46653, 61580, 26227, 26435, 4485, 18224, 44566, 9399, 38193, 33880, 56030, 22373, 60499, 42667, 2355, 44810, 35422, 61940, 5976, 59777, 27486, 61739, 7009, 26814, 9910, 37925, 149, 15408, 57467, 47658, 31000, 63540, 43174, 21315, 11302, 26714, 36232, 42040, 21203, 2930, 51446, 28129, 16514, 46208, 46466, 46011, 42758, 26522, 10790, 11762, 64066, 48307, 48432, 24564, 32649, 14634, 33045, 21508, 61592, 35223, 45065, 33164, 56322, 48816, 33995, 14118, 1326, 6600, 56544, 40698, 32254, 48191}, new char[]{19878, 33786, 45626, 23012}, new char[]{0, 0, 0, 0}, View.MeasureSpec.getMode(0), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
ax(23 - Color.green(0), ExpandableListView.getPackedPositionChild(0L) + 6, (char) (23775 - KeyEvent.normalizeMetaState(0)), objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
ax((ViewConfiguration.getWindowTouchSlop() >> 8) + 28, ExpandableListView.getPackedPositionType(0L) + 36, (char) (ExpandableListView.getPackedPositionChild(0L) + 32531), objArr8);
Object[] objArr9 = {applicationContext, str, str2, str3, str4, true, str5, (String) objArr8[0]};
Object obj2 = xzZ.y.get(1656189573);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - View.MeasureSpec.getSize(0), 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) TextUtils.indexOf("", "", 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;
}
}
}
}
/* loaded from: classes4.dex */
static final class Sts extends AbstractC14961gcz implements InterfaceC14890gbN<Handler> {
public static final Sts a = new Sts();
@Override // o.InterfaceC14890gbN
public final /* synthetic */ Handler invoke() {
return new Handler();
}
Sts() {
super(0);
}
}
/* loaded from: classes4.dex */
static final class saX extends AbstractC14961gcz implements InterfaceC14890gbN<DiscoverSearchResultAdapter> {
private BaseDiscoverSearchActivity b;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ DiscoverSearchResultAdapter invoke() {
DiscoverSearchResultAdapter discoverSearchResultAdapter = new DiscoverSearchResultAdapter();
discoverSearchResultAdapter.b = this.b;
return discoverSearchResultAdapter;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
saX(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.b = baseDiscoverSearchActivity;
}
}
/* loaded from: classes4.dex */
static final class NHB extends AbstractC14961gcz implements InterfaceC14890gbN<C12304evg> {
private BaseDiscoverSearchActivity e;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C12304evg invoke() {
return new C12304evg(this.e);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
NHB(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.e = baseDiscoverSearchActivity;
}
}
/* loaded from: classes4.dex */
static final class ZqN extends AbstractC14961gcz implements InterfaceC14890gbN<C12304evg> {
private BaseDiscoverSearchActivity c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C12304evg invoke() {
return new C12304evg(this.c);
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ZqN(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
super(0);
this.c = baseDiscoverSearchActivity;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
BaseDiscoverSearchActivity baseDiscoverSearchActivity = (BaseDiscoverSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = z + 75;
A = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(baseDiscoverSearchActivity, "");
if (i3 != 0) {
final C3644bCd c3644bCd = baseDiscoverSearchActivity.presenter;
if (c3644bCd != null) {
int i4 = z + 11;
A = i4 % 128;
int i5 = i4 % 2;
} else {
C14957gcv.a("");
c3644bCd = null;
}
final C0826Ph c0826Ph = c3644bCd.d;
if (c0826Ph != null) {
ZI.IeS ieS = new ZI.IeS(c3644bCd, c0826Ph) { // from class: o.bCs
private C3644bCd b;
private C0826Ph c;
@Override // o.ZI.IeS
public final void e(Object obj) {
C3644bCd.e(this.b, this.c, (InterfaceC9397div) obj);
}
{
this.b = c3644bCd;
this.c = c0826Ph;
}
};
if (c3644bCd.f != 0) {
int i6 = z + 27;
A = i6 % 128;
int i7 = i6 % 2;
ieS.e(c3644bCd.f);
}
}
return null;
}
C3644bCd c3644bCd2 = baseDiscoverSearchActivity.presenter;
throw null;
}
public static /* synthetic */ void e(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
int i = 2 % 2;
C14957gcv.e(baseDiscoverSearchActivity, "");
EditText editText = baseDiscoverSearchActivity.etSearch;
Object obj = null;
if (editText != null) {
int i2 = A + 105;
z = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 88 / 0;
}
} else {
C14957gcv.a("");
editText = null;
}
editText.setText((CharSequence) null);
int i4 = z + 45;
A = i4 % 128;
if (i4 % 2 != 0) {
return;
}
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x002f, code lost:
super.aN_();
r2 = r7.etSearch;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0034, code lost:
if (r2 == null) goto L17;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0037, code lost:
o.C14957gcv.a("");
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:13:0x003b, code lost:
r2.clearFocus();
r2 = r7.scrollContainer;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x0040, code lost:
if (r2 == null) goto L23;
*/
/* JADX WARN: Code restructure failed: missing block: B:15:0x0042, code lost:
r5 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z + 63;
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A = r5 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:16:0x004b, code lost:
if ((r5 % 2) != 0) goto L24;
*/
/* JADX WARN: Code restructure failed: missing block: B:17:0x004d, code lost:
r5 = 62 / 0;
*/
/* JADX WARN: Code restructure failed: missing block: B:18:0x0055, code lost:
r2.requestFocus();
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x0051, code lost:
o.C14957gcv.a("");
r2 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:20:0x002d, code lost:
if (r9 != r10) goto L14;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x002a, code lost:
if (r9 != r10) goto L14;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static /* synthetic */ void c(com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity r7, androidx.core.widget.NestedScrollView r8, int r9, int r10) {
/*
r0 = 2
int r1 = r0 % r0
java.lang.String r1 = ""
o.C14957gcv.e(r7, r1)
o.C14957gcv.e(r8, r1)
android.widget.EditText r2 = r7.etSearch
r3 = 0
if (r2 == 0) goto L11
goto L15
L11:
o.C14957gcv.a(r1)
r2 = r3
L15:
boolean r2 = r2.isFocused()
r4 = 0
if (r2 == 0) goto L58
int r2 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A
int r2 = r2 + 103
int r5 = r2 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z = r5
int r2 = r2 % r0
if (r2 == 0) goto L2d
r2 = 12
int r2 = r2 / r4
if (r9 == r10) goto L58
goto L2f
L2d:
if (r9 == r10) goto L58
L2f:
super.aN_()
android.widget.EditText r2 = r7.etSearch
if (r2 == 0) goto L37
goto L3b
L37:
o.C14957gcv.a(r1)
r2 = r3
L3b:
r2.clearFocus()
androidx.core.widget.NestedScrollView r2 = r7.scrollContainer
if (r2 == 0) goto L51
int r5 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z
int r5 = r5 + 63
int r6 = r5 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A = r6
int r5 = r5 % r0
if (r5 != 0) goto L55
r5 = 62
int r5 = r5 / r4
goto L55
L51:
o.C14957gcv.a(r1)
r2 = r3
L55:
r2.requestFocus()
L58:
int r2 = r8.getChildCount()
r5 = 1
int r2 = r2 - r5
android.view.View r2 = r8.getChildAt(r2)
if (r2 == 0) goto Lb3
int r2 = r2.getMeasuredHeight()
int r8 = r8.getMeasuredHeight()
int r2 = r2 - r8
int r2 = r2 + (-250)
if (r9 < r2) goto L7c
int r8 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z
int r8 = r8 + 21
int r2 = r8 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A = r2
int r8 = r8 % r0
r8 = r5
goto L7d
L7c:
r8 = r4
L7d:
if (r9 <= r10) goto L80
r4 = r5
L80:
if (r8 == 0) goto Lb3
if (r4 == 0) goto Lb3
o.bCd r7 = r7.presenter
if (r7 == 0) goto L8a
r3 = r7
goto L8d
L8a:
o.C14957gcv.a(r1)
L8d:
o.Pn r7 = r3.h
if (r7 == 0) goto L9d
boolean r7 = r7.e
int r8 = com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.A
int r8 = r8 + 73
int r9 = r8 % 128
com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.z = r9
int r8 = r8 % r0
goto L9e
L9d:
r7 = r5
L9e:
r7 = r7 ^ r5
if (r7 == 0) goto Lb3
java.lang.String r7 = r3.g
o.Pn r8 = r3.h
if (r8 == 0) goto Laa
int r8 = r8.c
goto Lac
Laa:
r8 = 20
Lac:
java.lang.String r9 = r3.c
java.lang.String r10 = r3.a
r3.c(r7, r8, r9, r10)
Lb3:
return
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity.c(com.scb.phone.view.activity.investment.discover.BaseDiscoverSearchActivity, androidx.core.widget.NestedScrollView, int, int):void");
}
static void h() {
v = new char[]{36787, 3820, 36118, 3152, 35581, 2347, 34902, 1740, 34109, 1137, 33500, 498, 32864, 7853, 40401, 7175, 39585, 6641, 36799, 3835, 36135, 3147, 35574, 54068, 21107, 53653, 20691, 54909, 61605, 29169, 62034, 29444, 62948, 30313, 63252, 31168, 64109, 31526, 64976, 32469, 65378, 25085, 58004, 25410, 58865, 26273, 59213, 26705, 60130, 27445, 60483, 28381, 61298, 20595, 53970, 21457, 54327, 22197, 55235, 22597, 56052, 23461, 56401, 23893};
y = -2118301634804445566L;
u = 9051040786702654117L;
D = 452713125;
B = (char) 56454;
}
@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 = A + 99;
z = i2 % 128;
int i3 = i2 % 2;
super.onStart();
int i4 = z + 25;
A = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 53 / 0;
}
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
b(new Object[]{this}, 1213286462, -1213286461, System.identityHashCode(this));
}
@Override // o.InterfaceC9397div
public final void a(C0835Pm c0835Pm) {
int i = 2 % 2;
int i2 = A;
int i3 = i2 + 41;
z = i3 % 128;
int i4 = i3 % 2;
this.b = c0835Pm;
if (i4 != 0) {
throw null;
}
int i5 = i2 + 31;
z = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 21 / 0;
}
}
@Override // o.InterfaceC9397div
public final void b(C0826Ph c0826Ph, C0835Pm c0835Pm) {
b(new Object[]{this, c0826Ph, c0835Pm}, -1797775010, 1797775012, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(10) + 162733013);
}
private static void ahi_(Spinner spinner, List<C0844Pu> list, C13396fZU<String, String> c13396fZU, ArrayAdapter<C0844Pu> arrayAdapter) {
b(new Object[]{spinner, list, c13396fZU, arrayAdapter}, 396251810, -396251805, (int) System.currentTimeMillis());
}
public static final /* synthetic */ void i(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
b(new Object[]{baseDiscoverSearchActivity}, 197709488, -197709484, (int) System.currentTimeMillis());
}
public static final /* synthetic */ boolean h(BaseDiscoverSearchActivity baseDiscoverSearchActivity) {
return ((Boolean) b(new Object[]{baseDiscoverSearchActivity}, -7783253, 7783253, (int) System.currentTimeMillis())).booleanValue();
}
static {
A = 1;
h();
new IeS((byte) 0);
int i = z + 89;
A = i % 128;
if (i % 2 == 0) {
int i2 = 45 / 0;
}
}
}