what-the-bank/sources/com/scb/phone/view/activity/ccrredemption/search/RewardSearchActivity.java

1981 lines
86 KiB
Java
Raw Permalink Normal View History

2024-07-27 18:17:47 +07:00
package com.scb.phone.view.activity.ccrredemption.search;
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.Bundle;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.Editable;
import android.text.InputFilter;
import android.text.TextUtils;
import android.text.TextWatcher;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.MotionEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.AdapterView;
import android.widget.EditText;
import android.widget.ExpandableListView;
import android.widget.ImageButton;
import android.widget.LinearLayout;
import android.widget.Spinner;
import android.widget.SpinnerAdapter;
import android.widget.TextView;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;
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.ccrredemption.search.RewardSearchActivity;
import com.scb.phone.view.activity.ccrredemption.search.RewardSearchResultActivity;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import net.sf.scuba.smartcards.ISO7816;
import o.AbstractC10145dxI;
import o.AbstractC13163fSk;
import o.AbstractC13175fSw;
import o.AbstractC14961gcz;
import o.C0367Fb;
import o.C0476Hk;
import o.C10152dxQ;
import o.C10156dxU;
import o.C10219dye;
import o.C10383eCj;
import o.C12919fLP;
import o.C13377fYp;
import o.C14866gag;
import o.C14957gcv;
import o.C2937any;
import o.C2938anz;
import o.C3036apt;
import o.DFF;
import o.EnumC1889aRM;
import o.IRS;
import o.InterfaceC13391fZD;
import o.InterfaceC13393fZL;
import o.InterfaceC14890gbN;
import o.InterfaceC14894gbR;
import o.InterfaceC14933gcS;
import o.InterfaceC14984gdp;
import o.InterfaceC9064dcf;
import o.Nhs;
import o.OQf;
import o.TVH;
import o.fSL;
import o.fSQ;
import o.fSS;
import o.fZZ;
import o.kpv;
import o.nMh;
import o.pug;
import o.uMu;
import o.xzZ;
import org.jnbis.internal.NistHelper;
/* loaded from: classes4.dex */
public final class RewardSearchActivity extends Hilt_RewardSearchActivity implements InterfaceC9064dcf {
/* renamed from: o, reason: collision with root package name */
private static long f6711o;
private static char p;
private static char[] q;
private static int r;
private static char s;
private static char[] t;
private static int x;
@BindView
public ImageButton btClear;
@BindView
public EditText etSearch;
@BindView
public LinearLayout historyContainer;
private final InterfaceC13393fZL k;
private final InterfaceC13393fZL l;
private final InterfaceC13393fZL m;
@InterfaceC13391fZD
public C2938anz presenter;
@BindView
public RecyclerView rvHistory;
@BindView
public RecyclerView rvSuggestion;
@BindView
public Spinner spinner;
@BindView
public LinearLayout suggestionContainer;
@BindView
public TextView tvCardPoints;
@BindView
public TextView tvTitle;
private static final byte[] $$p = {113, ISO7816.INS_READ_BINARY, -18, 43};
private static final int $$q = 103;
private static int $10 = 0;
private static int $11 = 1;
private static int y = 1;
/* JADX WARN: Multi-variable type inference failed */
/* JADX WARN: Removed duplicated region for block: B:10:0x0028 */
/* JADX WARN: Removed duplicated region for block: B:7:0x0020 */
/* JADX WARN: Type inference failed for: r8v1, types: [int] */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0028 -> B:4:0x002a). Please report as a decompilation issue!!! */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static void aC(byte r7, byte r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.$$p
int r9 = r9 * 3
int r9 = 1 - r9
int r7 = r7 * 3
int r7 = 4 - r7
int r8 = 120 - r8
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L15
r3 = r8
r5 = r2
r8 = r7
goto L2a
L15:
r3 = r2
r6 = r8
r8 = r7
r7 = r6
L19:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L28
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L28:
r3 = r0[r8]
L2a:
int r7 = r7 + r3
int r8 = r8 + 1
r3 = r5
goto L19
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.aC(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 = (i * (-520)) + (i2 * 522) + ((~(i4 | i2 | i3)) * 521);
int i6 = ~(i | (~i2));
switch (i5 + (i6 * (-1042)) + ((i6 | (~(i2 | (~i3) | i4))) * 521)) {
case 1:
return e(objArr);
case 2:
int i7 = 2 % 2;
RecyclerView recyclerView = ((RewardSearchActivity) objArr[0]).rvHistory;
if (recyclerView == null) {
C14957gcv.a("");
return null;
}
int i8 = x + 85;
int i9 = i8 % 128;
y = i9;
int i10 = i8 % 2;
int i11 = i9 + 119;
x = i11 % 128;
int i12 = i11 % 2;
return recyclerView;
case 3:
return b(objArr);
case 4:
return d(objArr);
case 5:
return c(objArr);
case 6:
return a(objArr);
default:
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
String str = (String) objArr[1];
int i13 = 2 % 2;
int i14 = y + 109;
x = i14 % 128;
int i15 = i14 % 2;
TextView aan_ = rewardSearchActivity.aan_();
Object[] objArr2 = new Object[1];
if (str == null) {
int i16 = x + 109;
y = i16 % 128;
int i17 = i16 % 2;
char c = (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 44794);
Object[] objArr3 = new Object[1];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, 23, '&', ')', 23, '$', 5, 7, 19, '*', 17, 19, '!', '\r', '#', 0, ')', 26, 3}, (byte) (101 - Drawable.resolveOpacity(0, 0)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.mw_edit_qr_amount_hint).substring(0, 11).length() + 15, objArr3);
Class<?> cls = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{6, '\b', 13859, 13859, ')', 14, 19, '/', 13861, 13861, NistHelper.SEP_FS, 20, 3, 22, 7, 19, '0', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion + 25), (ViewConfiguration.getEdgeSlop() >> 16) + 18, objArr4);
Object[] objArr5 = new Object[1];
aD(c, (-901498391) + ((Context) cls.getMethod((String) objArr4[0], new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.request_money_web_view).substring(0, 326).length(), new char[]{12206, 17467, 64202, 3502}, new char[]{34002}, new char[]{52499, 59864, 4249, 46613}, objArr5);
str = ((String) objArr5[0]).intern();
}
objArr2[0] = str;
aan_.setText(rewardSearchActivity.getString(R.string.you_have_points, objArr2));
int i18 = x + 29;
y = i18 % 128;
int i19 = i18 % 2;
return null;
}
}
public RewardSearchActivity() {
ojQ ojq = new ojQ(this);
C14957gcv.e(ojq, "");
this.l = new fZZ(ojq);
LWm lWm = new LWm(this);
C14957gcv.e(lWm, "");
this.m = new fZZ(lWm);
Sts sts = new Sts(this);
C14957gcv.e(sts, "");
this.k = new fZZ(sts);
}
private TextView aan_() {
int i = 2 % 2;
int i2 = x + 23;
int i3 = i2 % 128;
y = i3;
int i4 = i2 % 2;
TextView textView = this.tvCardPoints;
if (textView == null) {
C14957gcv.a("");
return null;
}
int i5 = i3 + 73;
x = i5 % 128;
if (i5 % 2 != 0) {
int i6 = 67 / 0;
}
return textView;
}
private RecyclerView N() {
int i = 2 % 2;
int i2 = y;
int i3 = i2 + 11;
x = i3 % 128;
int i4 = i3 % 2;
RecyclerView recyclerView = this.rvSuggestion;
if (recyclerView == null) {
C14957gcv.a("");
return null;
}
int i5 = i2 + 43;
x = i5 % 128;
int i6 = i5 % 2;
return recyclerView;
}
private LinearLayout aak_() {
int i = 2 % 2;
LinearLayout linearLayout = this.historyContainer;
if (linearLayout == null) {
C14957gcv.a("");
return null;
}
int i2 = y + 27;
int i3 = i2 % 128;
x = i3;
int i4 = i2 % 2;
int i5 = i3 + 13;
y = i5 % 128;
if (i5 % 2 != 0) {
return linearLayout;
}
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0025, code lost:
return r2;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0026, code lost:
r3.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0029, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x001a, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r2 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x002a, code lost:
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x002f, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001c, code lost:
r1 = r1 + 41;
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.x = r1 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0023, code lost:
if ((r1 % 2) != 0) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private android.widget.LinearLayout aam_() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.y
int r2 = r1 + 115
int r3 = r2 % 128
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.x = r3
int r2 = r2 % r0
r3 = 0
if (r2 == 0) goto L18
android.widget.LinearLayout r2 = r5.suggestionContainer
r4 = 79
int r4 = r4 / 0
if (r2 == 0) goto L2a
goto L1c
L18:
android.widget.LinearLayout r2 = r5.suggestionContainer
if (r2 == 0) goto L2a
L1c:
int r1 = r1 + 41
int r4 = r1 % 128
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.x = r4
int r1 = r1 % r0
if (r1 != 0) goto L26
return r2
L26:
r3.hashCode()
throw r3
L2a:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.aam_():android.widget.LinearLayout");
}
public final EditText aaj_() {
int i = 2 % 2;
int i2 = x;
int i3 = i2 + 23;
y = i3 % 128;
Object obj = null;
if (i3 % 2 == 0) {
obj.hashCode();
throw null;
}
EditText editText = this.etSearch;
if (editText == null) {
C14957gcv.a("");
return null;
}
int i4 = i2 + 69;
y = i4 % 128;
if (i4 % 2 == 0) {
obj.hashCode();
throw null;
}
int i5 = i2 + 67;
y = i5 % 128;
int i6 = i5 % 2;
return editText;
}
public final ImageButton aai_() {
int i = 2 % 2;
ImageButton imageButton = this.btClear;
Object obj = null;
if (imageButton == null) {
C14957gcv.a("");
int i2 = y + 109;
x = i2 % 128;
int i3 = i2 % 2;
return null;
}
int i4 = y + 47;
x = i4 % 128;
if (i4 % 2 == 0) {
return imageButton;
}
obj.hashCode();
throw null;
}
private Spinner aal_() {
int i = 2 % 2;
Spinner spinner = this.spinner;
if (spinner != null) {
int i2 = y + 19;
x = i2 % 128;
if (i2 % 2 != 0) {
int i3 = 96 / 0;
}
return spinner;
}
C14957gcv.a("");
int i4 = y + 79;
x = i4 % 128;
Object obj = null;
if (i4 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
static final class ojQ extends AbstractC14961gcz implements InterfaceC14890gbN<C10156dxU> {
private RewardSearchActivity b;
/* renamed from: com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity$ojQ$4, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass4 extends AbstractC14961gcz implements InterfaceC14894gbR<C3036apt, C14866gag> {
private RewardSearchActivity c;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(C3036apt c3036apt) {
C3036apt c3036apt2 = c3036apt;
C14957gcv.e(c3036apt2, "");
C2938anz g = this.c.g();
C14957gcv.e(c3036apt2, "");
g.g.e(c3036apt2.d);
g.h = g.a.a.b();
C2938anz.ZqN zqN = new C2938anz.ZqN(g, c3036apt2);
C14957gcv.e(zqN, "");
C2937any c2937any = new C2937any(zqN);
if (g.f != 0) {
c2937any.e(g.f);
}
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass4(RewardSearchActivity rewardSearchActivity) {
super(1);
this.c = rewardSearchActivity;
}
}
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C10156dxU invoke() {
return new C10156dxU(new AnonymousClass4(this.b));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
ojQ(RewardSearchActivity rewardSearchActivity) {
super(0);
this.b = rewardSearchActivity;
}
}
private C10156dxU R() {
int i = 2 % 2;
int i2 = y + 103;
x = i2 % 128;
int i3 = i2 % 2;
C10156dxU c10156dxU = (C10156dxU) this.l.e();
int i4 = x + 53;
y = i4 % 128;
if (i4 % 2 != 0) {
return c10156dxU;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
static final class LWm extends AbstractC14961gcz implements InterfaceC14890gbN<C10219dye> {
private RewardSearchActivity b;
/* renamed from: com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity$LWm$5, reason: invalid class name */
/* loaded from: classes4.dex */
static final class AnonymousClass5 extends AbstractC14961gcz implements InterfaceC14894gbR<String, C14866gag> {
private RewardSearchActivity d;
@Override // o.InterfaceC14894gbR
public final /* synthetic */ C14866gag invoke(String str) {
String str2 = str;
C14957gcv.e(str2, "");
C2938anz g = this.d.g();
C14957gcv.e(str2, "");
g.c(str2, true);
return C14866gag.c;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
AnonymousClass5(RewardSearchActivity rewardSearchActivity) {
super(1);
this.d = rewardSearchActivity;
}
}
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C10219dye invoke() {
return new C10219dye(new AnonymousClass5(this.b));
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
LWm(RewardSearchActivity rewardSearchActivity) {
super(0);
this.b = rewardSearchActivity;
}
}
private static /* synthetic */ Object d(Object[] objArr) {
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
int i = 2 % 2;
int i2 = x + 91;
y = i2 % 128;
if (i2 % 2 != 0) {
return (C10219dye) rewardSearchActivity.m.e();
}
Object obj = null;
obj.hashCode();
throw null;
}
private C10152dxQ J() {
int i = 2 % 2;
int i2 = y + 5;
x = i2 % 128;
int i3 = i2 % 2;
C10152dxQ c10152dxQ = (C10152dxQ) this.k.e();
int i4 = y + 107;
x = i4 % 128;
int i5 = i4 % 2;
return c10152dxQ;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0025, code lost:
return r1;
*/
/* JADX WARN: Code restructure failed: missing block: B:11:0x0026, code lost:
r3.hashCode();
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0029, code lost:
throw null;
*/
/* JADX WARN: Code restructure failed: missing block: B:14:0x001a, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
if (r1 != null) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x002a, code lost:
o.C14957gcv.a("");
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x002f, code lost:
return null;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x001c, code lost:
r2 = r2 + 3;
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.y = r2 % 128;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0023, code lost:
if ((r2 % 2) == 0) goto L12;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final o.C2938anz g() {
/*
r5 = this;
r0 = 2
int r1 = r0 % r0
int r1 = com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.y
int r1 = r1 + 33
int r2 = r1 % 128
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.x = r2
int r1 = r1 % r0
r3 = 0
if (r1 == 0) goto L18
o.anz r1 = r5.presenter
r4 = 15
int r4 = r4 / 0
if (r1 == 0) goto L2a
goto L1c
L18:
o.anz r1 = r5.presenter
if (r1 == 0) goto L2a
L1c:
int r2 = r2 + 3
int r4 = r2 % 128
com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.y = r4
int r2 = r2 % r0
if (r2 == 0) goto L26
return r1
L26:
r3.hashCode()
throw r3
L2a:
java.lang.String r0 = ""
o.C14957gcv.a(r0)
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.scb.phone.view.activity.ccrredemption.search.RewardSearchActivity.g():o.anz");
}
/* loaded from: classes4.dex */
public static final class HBt implements AdapterView.OnItemSelectedListener {
private RewardSearchActivity a;
@Override // android.widget.AdapterView.OnItemSelectedListener
public final void onNothingSelected(AdapterView<?> adapterView) {
}
HBt(RewardSearchActivity rewardSearchActivity) {
this.a = rewardSearchActivity;
}
@Override // android.widget.AdapterView.OnItemSelectedListener
public final void onItemSelected(AdapterView<?> adapterView, View view, int i, long j) {
C2938anz g = this.a.g();
int i2 = i - 1;
Integer num = null;
if (i2 >= 0) {
List<? extends kpv> list = g.e;
kpv kpvVar = list != null ? list.get(i2) : null;
g.i = kpvVar;
if (kpvVar != null) {
num = Integer.valueOf(kpvVar.b);
}
} else {
g.i = null;
}
g.b = num;
this.a.g().e(this.a.aaj_().getText().toString());
}
}
private static void aD(char c, int i, char[] cArr, char[] cArr2, char[] cArr3, Object[] objArr) {
int i2 = 2 % 2;
Nhs nhs = new Nhs();
int length = cArr.length;
char[] cArr4 = new char[length];
int length2 = cArr3.length;
char[] cArr5 = new char[length2];
System.arraycopy(cArr, 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 = cArr2.length;
char[] cArr6 = new char[length3];
nhs.a = 0;
while (nhs.a < length3) {
int i3 = $10 + 33;
$11 = i3 % 128;
int i4 = i3 % 2;
try {
Object[] objArr2 = {nhs};
Object obj = xzZ.y.get(263693715);
if (obj == null) {
obj = ((Class) xzZ.c(46 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), 5 - (ViewConfiguration.getScrollDefaultDelay() >> 16), (char) (ImageFormat.getBitsPerPixel(0) + 1))).getMethod("t", Object.class);
xzZ.y.put(263693715, obj);
}
int intValue = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
try {
Object[] objArr3 = {nhs};
Object obj2 = xzZ.y.get(-484664112);
if (obj2 == null) {
Class cls = (Class) xzZ.c((KeyEvent.getMaxKeyCode() >> 16) + 352, View.resolveSize(0, 0) + 5, (char) (52129 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b = (byte) 0;
byte b2 = (byte) (b + 5);
Object[] objArr4 = new Object[1];
aC(b, b2, (byte) (b2 - 5), objArr4);
obj2 = cls.getMethod((String) objArr4[0], Object.class);
xzZ.y.put(-484664112, obj2);
}
int intValue2 = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
try {
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((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 747, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) ExpandableListView.getPackedPositionType(0L))).getMethod(p.a, Object.class, Integer.TYPE, Integer.TYPE);
xzZ.y.put(430099516, obj3);
}
((Method) obj3).invoke(null, objArr5);
try {
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 - (ViewConfiguration.getEdgeSlop() >> 16), 5 - (Process.myTid() >> 22), (char) (21609 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b3 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b3, (byte) (b3 | 6), b3, 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] ^ cArr2[nhs.a]) ^ (f6711o ^ 9051040786702654117L)) ^ ((int) (r ^ 9051040786702654117L))) ^ ((char) (s ^ 9051040786702654117L)));
nhs.a++;
int i5 = $11 + 21;
$10 = i5 % 128;
int i6 = i5 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
} catch (Throwable th2) {
Throwable cause2 = th2.getCause();
if (cause2 == null) {
throw th2;
}
throw cause2;
}
} catch (Throwable th3) {
Throwable cause3 = th3.getCause();
if (cause3 == null) {
throw th3;
}
throw cause3;
}
} catch (Throwable th4) {
Throwable cause4 = th4.getCause();
if (cause4 == null) {
throw th4;
}
throw cause4;
}
}
objArr[0] = new String(cArr6);
}
/* loaded from: classes4.dex */
public static final class IeS implements TextWatcher {
private RewardSearchActivity a;
@Override // android.text.TextWatcher
public final void afterTextChanged(Editable editable) {
}
@Override // android.text.TextWatcher
public final void beforeTextChanged(CharSequence charSequence, int i, int i2, int i3) {
}
IeS(RewardSearchActivity rewardSearchActivity) {
this.a = rewardSearchActivity;
}
@Override // android.text.TextWatcher
public final void onTextChanged(CharSequence charSequence, int i, int i2, int i3) {
this.a.aai_().setVisibility(String.valueOf(charSequence).length() > 0 ? 0 : 8);
this.a.g().e(String.valueOf(charSequence));
}
}
@Override // com.scb.phone.view.activity.ccrredemption.search.Hilt_RewardSearchActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onCreate(Bundle bundle) {
int i = 2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, '-', '\b', 26, 20, 1, '0', 0, '$', 13844, 13844}, (byte) (View.combineMeasuredStates(0, 0) + 43), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.auto_kofax_crop_tutorial_dont_desc).substring(0, 2).codePointAt(0) - 8208, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{19, 24, NistHelper.SEP_FS, 18, 13860}, (byte) (38 - ExpandableListView.getPackedPositionGroup(0L)), ExpandableListView.getPackedPositionChild(0L) + 6, 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];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, 23, '&', ')', 23, '$', 5, 7, 19, '*', 17, 19, '!', '\r', '#', 0, ')', 26, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 88), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.link_fact_sheet).substring(0, 36).codePointAt(27) - 3577, objArr3);
Class<?> cls2 = Class.forName((String) objArr3[0]);
Object[] objArr4 = new Object[1];
aA(new char[]{6, '\b', 13859, 13859, ')', 14, 19, '/', 13861, 13861, NistHelper.SEP_FS, 20, 3, 22, 7, 19, '0', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_owner_review_contact_information_email).substring(17, 18).codePointAt(0) + 27), 18 - TextUtils.indexOf("", "", 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 i2 = x + 91;
y = i2 % 128;
int i3 = i2 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(AndroidCharacter.getMirror('0') + 444, 5 - ExpandableListView.getPackedPositionGroup(0L), (char) Color.blue(0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr5 = new Object[1];
aA(new char[]{'#', 4, 17, 19, 22, 4, '-', 21, 17, 4, 31, 21, ' ', 25, 23, 4, 25, ' ', 30, 0, 23, 18, 31, '\n', ',', 21, 4, '+', 2, 4, 4, '(', '.', 4, 4, '%', 0, '*', 13824, 13824, 30, 14, 4, '-', 2, 3, '%', 14}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.settings_label_scb_connect).substring(5, 17).codePointAt(0) - 24), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.cardless_withdraw_amount_tag).substring(0, 28).length() + 20, objArr5);
String str = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{'\'', 14, 21, '%', 25, 16, 17, 2, '\'', '*', 30, 21, 30, 21, 4, '#', 30, 23, '#', ' ', 2, 22, 23, 17, 26, 24, '\b', 4, 31, 0, '\t', 4, 13857, 13857, '-', 25, ',', 4, 13932, 13932, 25, 16, 25, 24, 4, '.', 25, 16, 6, 3, 0, 7, 2, 3, 4, 25, 3, 2, '%', 4, 25, 16, 21, '&'}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(1) + 5), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().length() + 51, objArr6);
String str2 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aB(new int[]{0, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr7);
String str3 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aA(new char[]{'(', '\r', '\t', '(', 17, '-', 13790, 13790, 7, 17, 31, 24, '\b', 1, 13856, 13856, ')', 0, 0, 15, 27, 31, 17, 25, 16, '\"', 26, '\r', '0', '\r', '&', 21, '\b', 5, 31, 17, '\r', 26, '0', '\t', 27, 3, 3, '\f', '0', '\f', 27, 3, ')', 21, '\b', 1, 15, '\n', 23, '&', 15, 7, 15, 14, '*', '%', 11, '\r', '\n', '+', 29, 7, '&', '*', ')', 14, '\r', 11}, (byte) ((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 40), (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 73, objArr8);
String str4 = (String) objArr8[0];
Object[] objArr9 = new Object[1];
aA(new char[]{6, 24, 6, 23, 13840}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.hml_business_flow_simulator_summary_business_step_desc).substring(31, 32).length() + 101), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 29, objArr9);
String str5 = (String) objArr9[0];
Object[] objArr10 = new Object[1];
aB(new int[]{64, 36, 14, 28}, false, new byte[]{1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0}, 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(Color.red(0) + 487, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (Process.myPid() >> 22))).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.2131558769);
ButterKnife.Dg_(this);
Z();
r();
g().e((C2938anz) this);
Intent intent = getIntent();
C0476Hk c0476Hk = intent != null ? (C0476Hk) intent.getParcelableExtra("EXTRA_REWARD_CATEGORY_DTO") : null;
C2938anz g = g();
Intent intent2 = getIntent();
g.b = intent2 != null ? Integer.valueOf(intent2.getIntExtra("EXTRA_CATEGORY_ID", -1)) : null;
C2938anz g2 = g();
String str6 = c0476Hk != null ? c0476Hk.c : null;
if (str6 == null) {
str6 = "";
}
C14957gcv.e(str6, "");
g2.c = str6;
final C2938anz g3 = g();
if (g3.f != 0) {
int i4 = x;
int i5 = i4 + 95;
y = i5 % 128;
int i6 = i5 % 2;
int i7 = i4 + 41;
y = i7 % 128;
if (i7 % 2 == 0) {
g3.f.y();
int i8 = 9 / 0;
} else {
g3.f.y();
}
}
g3.h = g3.a.a.b();
C2938anz.jbe jbeVar = new C2938anz.jbe(g3);
C14957gcv.e(jbeVar, "");
C2937any c2937any = new C2937any(jbeVar);
if (g3.f != 0) {
int i9 = y + 29;
x = i9 % 128;
if (i9 % 2 != 0) {
c2937any.e(g3.f);
int i10 = 60 / 0;
} else {
c2937any.e(g3.f);
}
}
uMu umu = g3.d;
String str7 = g3.c;
if (str7 == null) {
C14957gcv.a("");
str7 = null;
}
C14957gcv.e(str7, "");
AbstractC13163fSk<OQf> a = umu.a.a(str7);
final uMu.RVV rvv = uMu.RVV.e;
AbstractC13175fSw e = AbstractC13175fSw.e(a.map(new fSS(rvv) { // from class: o.cFu
private InterfaceC14894gbR e;
@Override // o.fSS
public final Object a(Object obj3) {
InterfaceC14894gbR interfaceC14894gbR = this.e;
C14957gcv.e(interfaceC14894gbR, "");
return (OQf) interfaceC14894gbR.invoke(obj3);
}
{
this.e = rvv;
}
}));
AbstractC13175fSw<List<DFF>> a2 = umu.a.a(str7, EnumC1889aRM.ALL);
final uMu.LWm lWm = uMu.LWm.d;
AbstractC13175fSw e2 = AbstractC13175fSw.e(e, a2, new fSL(lWm) { // from class: o.BQZ
private InterfaceC14937gcb c;
@Override // o.fSL
public final Object e(Object obj3, Object obj4) {
InterfaceC14937gcb interfaceC14937gcb = this.c;
C14957gcv.e(interfaceC14937gcb, "");
return (C13396fZU) interfaceC14937gcb.invoke(obj3, obj4);
}
{
this.c = lWm;
}
});
C14957gcv.c(e2, "");
umu.d(new C13377fYp(e2), new fSQ(g3) { // from class: o.anF
private C2938anz e;
@Override // o.fSQ
public final void c(Object obj3) {
C2938anz.a(this.e, (C13396fZU) obj3);
}
{
this.e = g3;
}
}, new fSQ(g3) { // from class: o.anE
private C2938anz d;
@Override // o.fSQ
public final void c(Object obj3) {
C2938anz.c(this.d, (Throwable) obj3);
}
{
this.d = g3;
}
});
C2938anz g4 = g();
C2938anz.tOB tob = C2938anz.tOB.d;
C14957gcv.e(tob, "");
C2937any c2937any2 = new C2937any(tob);
if (g4.f != 0) {
int i11 = x + 97;
y = i11 % 128;
int i12 = i11 % 2;
c2937any2.e(g4.f);
}
e(new Object[]{this, c0476Hk != null ? c0476Hk.m : null}, -353379684, 353379684, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 492171582);
}
private final void r() {
int i = 2 % 2;
int i2 = y + 31;
x = i2 % 128;
if (i2 % 2 == 0) {
o();
e(new Object[]{this}, 1475723955, -1475723950, System.identityHashCode(this));
l();
k();
return;
}
o();
e(new Object[]{this}, 1475723955, -1475723950, System.identityHashCode(this));
l();
k();
Object obj = null;
obj.hashCode();
throw null;
}
private static /* synthetic */ Object b(Object[] objArr) {
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
MotionEvent motionEvent = (MotionEvent) objArr[1];
int i = 2 % 2;
C14957gcv.e(rewardSearchActivity, "");
if (motionEvent.getAction() == 0) {
int i2 = y + 29;
x = i2 % 128;
int i3 = i2 % 2;
rewardSearchActivity.aN_();
int i4 = x + 55;
y = i4 % 128;
int i5 = i4 % 2;
}
return false;
}
private final void o() {
int i = 2 % 2;
aal_().setAdapter((SpinnerAdapter) J());
aal_().setOnTouchListener(new View.OnTouchListener(this) { // from class: o.dxR
private RewardSearchActivity d;
@Override // android.view.View.OnTouchListener
public final boolean onTouch(View view, MotionEvent motionEvent) {
return RewardSearchActivity.aaf_(this.d, motionEvent);
}
{
this.d = this;
}
});
aal_().setOnItemSelectedListener(new HBt(this));
int i2 = x + 67;
y = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 13 / 0;
}
}
private static /* synthetic */ Object c(Object[] objArr) {
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
int i = 2 % 2;
RecyclerView N = rewardSearchActivity.N();
N.setLayoutManager(new LinearLayoutManager());
N.d(new C10383eCj(), -1);
N.setAdapter(rewardSearchActivity.R());
int i2 = y + 121;
x = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
private final void l() {
int i = 2 % 2;
RecyclerView recyclerView = (RecyclerView) e(new Object[]{this}, 1423273307, -1423273305, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 2036199421);
recyclerView.setLayoutManager(new LinearLayoutManager());
recyclerView.d(new C10383eCj(), -1);
recyclerView.setAdapter((C10219dye) e(new Object[]{this}, -1979557946, 1979557950, System.identityHashCode(this)));
int i2 = x + 119;
y = i2 % 128;
int i3 = i2 % 2;
}
private final void k() {
int i = 2 % 2;
aaj_().addTextChangedListener(new IeS(this));
aaj_().setOnEditorActionListener(new TextView.OnEditorActionListener(this) { // from class: o.dxW
private RewardSearchActivity c;
@Override // android.widget.TextView.OnEditorActionListener
public final boolean onEditorAction(TextView textView, int i2, KeyEvent keyEvent) {
return ((Boolean) RewardSearchActivity.e(new Object[]{this.c, Integer.valueOf(i2)}, 899309246, -899309245, i2)).booleanValue();
}
{
this.c = this;
}
});
int i2 = x + 123;
y = i2 % 128;
if (i2 % 2 == 0) {
int i3 = 54 / 0;
}
}
private static void aB(int[] iArr, boolean z, byte[] bArr, Object[] objArr) {
int i;
int i2;
int i3 = 2;
int i4 = 2 % 2;
TVH tvh = new TVH();
int i5 = 0;
int i6 = iArr[0];
int i7 = iArr[1];
int i8 = iArr[2];
int i9 = iArr[3];
char[] cArr = t;
if (cArr != null) {
int length = cArr.length;
char[] cArr2 = new char[length];
int i10 = 0;
while (i10 < length) {
int i11 = $11 + 1;
$10 = i11 % 128;
int i12 = i11 % i3;
try {
Object[] objArr2 = new Object[1];
objArr2[i5] = Integer.valueOf(cArr[i10]);
Object obj = xzZ.y.get(1645349359);
if (obj == null) {
Class cls = (Class) xzZ.c(223 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (((Process.getThreadPriority(i5) + 20) >> 6) + 41977));
byte b = (byte) i5;
Object[] objArr3 = new Object[1];
aC(b, (byte) (b | 49), b, objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(1645349359, obj);
}
cArr2[i10] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i10++;
i3 = 2;
i5 = 0;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr = cArr2;
}
char[] cArr3 = new char[i7];
System.arraycopy(cArr, i6, cArr3, 0, i7);
if (bArr != null) {
char[] cArr4 = new char[i7];
tvh.c = 0;
char c = 0;
while (tvh.c < i7) {
int i13 = $11 + 15;
$10 = i13 % 128;
int i14 = i13 % 2;
if (bArr[tvh.c] == 1) {
int i15 = tvh.c;
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj2 = xzZ.y.get(850398076);
if (obj2 == null) {
obj2 = ((Class) xzZ.c((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)) + 502, 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (((Process.getThreadPriority(0) + 20) >> 6) + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
xzZ.y.put(850398076, obj2);
}
cArr4[i15] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
} else {
int i16 = tvh.c;
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c)};
Object obj3 = xzZ.y.get(1084521042);
if (obj3 == null) {
obj3 = ((Class) xzZ.c((AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 14, View.resolveSize(0, 0) + 5, (char) (View.resolveSize(0, 0) + 58134))).getMethod("H", Integer.TYPE, Integer.TYPE);
xzZ.y.put(1084521042, obj3);
}
cArr4[i16] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
}
c = cArr4[tvh.c];
Object[] objArr6 = {tvh, tvh};
Object obj4 = xzZ.y.get(1698744941);
if (obj4 == null) {
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 403, (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 5, (char) (Process.getGidForName("") + 21609));
byte b2 = (byte) 0;
Object[] objArr7 = new Object[1];
aC(b2, (byte) (b2 | 47), b2, objArr7);
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(1698744941, obj4);
}
((Method) obj4).invoke(null, objArr6);
}
cArr3 = cArr4;
}
if (i9 > 0) {
char[] cArr5 = new char[i7];
i = 0;
System.arraycopy(cArr3, 0, cArr5, 0, i7);
int i17 = i7 - i9;
System.arraycopy(cArr5, 0, cArr3, i17, i9);
System.arraycopy(cArr5, i9, cArr3, 0, i17);
} else {
i = 0;
}
if (z) {
char[] cArr6 = new char[i7];
tvh.c = i;
int i18 = $11 + 21;
$10 = i18 % 128;
if (i18 % 2 != 0) {
int i19 = 4 / 4;
}
while (tvh.c < i7) {
int i20 = $10 + 15;
$11 = i20 % 128;
if (i20 % 2 == 0) {
cArr6[tvh.c] = cArr3[i7 >> tvh.c];
i2 = tvh.c;
} else {
cArr6[tvh.c] = cArr3[(i7 - tvh.c) - 1];
i2 = tvh.c + 1;
}
tvh.c = i2;
}
cArr3 = cArr6;
}
if (i8 > 0) {
int i21 = 0;
while (true) {
tvh.c = i21;
if (tvh.c >= i7) {
break;
}
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
i21 = tvh.c + 1;
}
}
objArr[0] = new String(cArr3);
}
private static final boolean e(RewardSearchActivity rewardSearchActivity, int i) {
int i2 = 2 % 2;
int i3 = y + 103;
x = i3 % 128;
int i4 = i3 % 2;
C14957gcv.e(rewardSearchActivity, "");
if (i != 3) {
return false;
}
int i5 = y + 93;
x = i5 % 128;
int i6 = i5 % 2;
rewardSearchActivity.g().c(rewardSearchActivity.aaj_().getText().toString(), false);
int i7 = x + 43;
y = i7 % 128;
if (i7 % 2 != 0) {
return true;
}
throw null;
}
@Override // com.scb.phone.view.activity.BaseActivity
public final void Z() {
int i = 2 % 2;
int i2 = x + 119;
y = i2 % 128;
if (i2 % 2 != 0) {
super.Z();
setTitle(R.string.ccr_search_rewards_title);
ac();
aan_().setTextColor(nMh.getColor(this, R.color.f2982131099805));
int i3 = x + 1;
y = i3 % 128;
int i4 = i3 % 2;
return;
}
super.Z();
setTitle(R.string.ccr_search_rewards_title);
ac();
aan_().setTextColor(nMh.getColor(this, R.color.f2982131099805));
throw null;
}
private static /* synthetic */ Object a(Object[] objArr) {
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
String str = (String) objArr[1];
List list = (List) objArr[2];
int i = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(list, "");
rewardSearchActivity.aam_().setVisibility(0);
rewardSearchActivity.aak_().setVisibility(8);
C10156dxU R = rewardSearchActivity.R();
List list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator it = list2.iterator();
while (it.hasNext()) {
arrayList.add(new C3036apt((String) it.next(), str));
}
ArrayList arrayList2 = arrayList;
C14957gcv.e(arrayList2, "");
R.e.c(AbstractC10145dxI.d[0], arrayList2);
int i2 = y + 43;
x = i2 % 128;
Object obj = null;
if (i2 % 2 == 0) {
return null;
}
obj.hashCode();
throw null;
}
/* loaded from: classes4.dex */
public static final class RVV {
private RVV() {
}
public /* synthetic */ RVV(byte b) {
this();
}
}
@Override // o.InterfaceC9064dcf
public final void d(String str, kpv kpvVar, String str2) {
C0367Fb c0367Fb;
Integer num;
int i;
String stringExtra;
int i2 = 2 % 2;
C14957gcv.e(str, "");
C14957gcv.e(str2, "");
Intent intent = getIntent();
C0476Hk c0476Hk = intent != null ? (C0476Hk) intent.getParcelableExtra("EXTRA_REWARD_CATEGORY_DTO") : null;
Intent intent2 = getIntent();
if (intent2 != null) {
int i3 = y + 101;
x = i3 % 128;
if (i3 % 2 != 0) {
r3.hashCode();
throw null;
}
c0367Fb = (C0367Fb) intent2.getParcelableExtra("EXTRA_CREDIT_CARD_DISPLAY");
} else {
c0367Fb = null;
}
if (c0476Hk != null) {
c0476Hk.f8200o = str;
String str3 = g().c;
if (str3 == null) {
C14957gcv.a("");
str3 = null;
}
c0476Hk.c = str3;
if (kpvVar != null) {
int i4 = x + 57;
y = i4 % 128;
if (i4 % 2 == 0) {
Integer.valueOf(kpvVar.b);
r3.hashCode();
throw null;
}
num = Integer.valueOf(kpvVar.b);
} else {
num = null;
}
c0476Hk.e = num;
c0476Hk.h = kpvVar != null ? kpvVar.e : null;
c0476Hk.g = kpvVar != null ? kpvVar.d : null;
c0476Hk.l = EnumC1889aRM.ALL;
pug[] pugVarArr = new pug[4];
if (kpvVar != null) {
int i5 = y + 49;
x = i5 % 128;
int i6 = i5 % 2;
i = kpvVar.b;
} else {
i = -1;
}
pugVarArr[0] = new pug("CategoryID", String.valueOf(i));
pugVarArr[1] = new pug("search_value", str);
pugVarArr[2] = new pug("search_type", str2);
Intent intent3 = getIntent();
C14957gcv.e("EXTRA_FIREBASE_SOURCE", "");
if (intent3 == null || (stringExtra = intent3.getStringExtra("EXTRA_FIREBASE_SOURCE")) == null) {
stringExtra = "";
}
pugVarArr[3] = new pug("source", stringExtra);
c("rewards_catalog_category", pugVarArr);
RewardSearchResultActivity.IeS ieS = RewardSearchResultActivity.f6712o;
RewardSearchActivity rewardSearchActivity = this;
C14957gcv.e(rewardSearchActivity, "");
C14957gcv.e(c0476Hk, "");
Intent putExtra = new Intent(rewardSearchActivity, (Class<?>) RewardSearchResultActivity.class).putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.product.ProductListActivity.CATEGORY_DTO_EXTRA", c0476Hk).putExtra("com.scb.phone.presentation.view.activity.ccr_redemption.product.ProductListActivity.CREDIT_CARD_DISPLAY_EXTRA", c0367Fb);
C14957gcv.c(putExtra, "");
startActivity(putExtra);
}
}
private static void aA(char[] cArr, byte b, int i, Object[] objArr) {
int i2;
Object method;
int i3 = 2 % 2;
IRS irs = new IRS();
char[] cArr2 = q;
float f = BitmapDescriptorFactory.HUE_RED;
if (cArr2 != null) {
int length = cArr2.length;
char[] cArr3 = new char[length];
int i4 = 0;
while (i4 < length) {
try {
Object[] objArr2 = {Integer.valueOf(cArr2[i4])};
Object obj = xzZ.y.get(-1987398494);
if (obj == null) {
Class cls = (Class) xzZ.c(298 - TextUtils.indexOf("", "", 0), 5 - (TypedValue.complexToFloat(0) > f ? 1 : (TypedValue.complexToFloat(0) == f ? 0 : -1)), (char) (ViewConfiguration.getTapTimeout() >> 16));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 3);
Object[] objArr3 = new Object[1];
aC(b2, b3, (byte) (b3 - 3), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj);
}
cArr3[i4] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
i4++;
f = BitmapDescriptorFactory.HUE_RED;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
cArr2 = cArr3;
}
Object[] objArr4 = {Integer.valueOf(p)};
Object obj2 = xzZ.y.get(-1987398494);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ViewConfiguration.getPressedStateDuration() >> 16) + 298, 4 - TextUtils.indexOf((CharSequence) "", '0'), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1));
byte b4 = (byte) 0;
byte b5 = (byte) (b4 + 3);
Object[] objArr5 = new Object[1];
aC(b4, b5, (byte) (b5 - 3), objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
xzZ.y.put(-1987398494, obj2);
}
char charValue = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
char[] cArr4 = new char[i];
if (i % 2 != 0) {
i2 = i - 1;
cArr4[i2] = (char) (cArr[i2] - b);
} else {
i2 = i;
}
if (i2 > 1) {
int i5 = $11 + 65;
$10 = i5 % 128;
int i6 = i5 % 2;
irs.e = 0;
while (irs.e < i2) {
irs.b = cArr[irs.e];
irs.c = cArr[irs.e + 1];
if (irs.b == irs.c) {
cArr4[irs.e] = (char) (irs.b - b);
cArr4[irs.e + 1] = (char) (irs.c - b);
} else {
Object[] objArr6 = {irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), irs};
Object obj3 = xzZ.y.get(822107368);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c(233 - (ViewConfiguration.getScrollBarFadeDuration() >> 16), (Process.myTid() >> 22) + 5, (char) (View.MeasureSpec.makeMeasureSpec(0, 0) + 22024));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
aC(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(822107368, obj3);
}
if (((Integer) ((Method) obj3).invoke(null, objArr6)).intValue() == irs.j) {
Object[] objArr8 = {irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, irs, Integer.valueOf(charValue), Integer.valueOf(charValue), irs, Integer.valueOf(charValue), irs};
Object obj4 = xzZ.y.get(-1152873385);
if (obj4 != null) {
method = obj4;
} else {
Class cls4 = (Class) xzZ.c(327 - (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)), 6 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)));
byte b8 = (byte) 0;
byte b9 = (byte) (b8 + 2);
Object[] objArr9 = new Object[1];
aC(b8, b9, (byte) (b9 - 2), objArr9);
method = cls4.getMethod((String) objArr9[0], Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Object.class, Integer.TYPE, Integer.TYPE, Object.class, Integer.TYPE, Object.class);
xzZ.y.put(-1152873385, method);
}
int intValue = ((Integer) ((Method) method).invoke(null, objArr8)).intValue();
int i7 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[intValue];
cArr4[irs.e + 1] = cArr2[i7];
} else if (irs.a == irs.d) {
int i8 = $11 + 121;
$10 = i8 % 128;
int i9 = i8 % 2;
irs.f = ((irs.f + charValue) - 1) % charValue;
irs.j = ((irs.j + charValue) - 1) % charValue;
int i10 = (irs.a * charValue) + irs.f;
int i11 = (irs.d * charValue) + irs.j;
cArr4[irs.e] = cArr2[i10];
cArr4[irs.e + 1] = cArr2[i11];
} else {
int i12 = (irs.a * charValue) + irs.j;
int i13 = (irs.d * charValue) + irs.f;
cArr4[irs.e] = cArr2[i12];
cArr4[irs.e + 1] = cArr2[i13];
}
}
irs.e += 2;
}
}
for (int i14 = 0; i14 < i; i14++) {
int i15 = $11 + 51;
$10 = i15 % 128;
int i16 = i15 % 2;
cArr4[i14] = (char) (cArr4[i14] ^ 13722);
}
objArr[0] = new String(cArr4);
}
@Override // o.InterfaceC9064dcf
public final void d(List<String> list) {
int i = 2 % 2;
int i2 = x + 77;
y = i2 % 128;
int i3 = i2 % 2;
C14957gcv.e(list, "");
aam_().setVisibility(8);
aak_().setVisibility(0);
b(list);
int i4 = x + 91;
y = i4 % 128;
int i5 = i4 % 2;
}
@Override // o.InterfaceC9064dcf
public final void b(List<String> list) {
InterfaceC14933gcS interfaceC14933gcS;
InterfaceC14984gdp<?> interfaceC14984gdp;
int i = 2 % 2;
int i2 = x + 9;
y = i2 % 128;
if (i2 % 2 != 0) {
C14957gcv.e(list, "");
C10219dye c10219dye = (C10219dye) e(new Object[]{this}, -1979557946, 1979557950, System.identityHashCode(this));
C14957gcv.e(list, "");
interfaceC14933gcS = c10219dye.e;
interfaceC14984gdp = AbstractC10145dxI.d[0];
} else {
C14957gcv.e(list, "");
C10219dye c10219dye2 = (C10219dye) e(new Object[]{this}, -1979557946, 1979557950, System.identityHashCode(this));
C14957gcv.e(list, "");
interfaceC14933gcS = c10219dye2.e;
interfaceC14984gdp = AbstractC10145dxI.d[1];
}
interfaceC14933gcS.c(interfaceC14984gdp, list);
}
@Override // o.InterfaceC9064dcf
public final void d(OQf oQf, int i) {
int i2 = 2 % 2;
C14957gcv.e(oQf, "");
J().clear();
J().add(getString(R.string.ccr_search_all_category));
C10152dxQ J = J();
List<kpv> list = oQf.d;
C14957gcv.c(list, "");
List<kpv> list2 = list;
C14957gcv.e(list2, "");
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
Iterator<T> it = list2.iterator();
while (!(!it.hasNext())) {
int i3 = y + 51;
x = i3 % 128;
if (i3 % 2 != 0) {
arrayList.add(((kpv) it.next()).e);
int i4 = 37 / 0;
} else {
arrayList.add(((kpv) it.next()).e);
}
}
J.addAll(arrayList);
if (i >= 0) {
aal_().setSelection(i + 1);
}
int i5 = y + 125;
x = i5 % 128;
if (i5 % 2 != 0) {
throw null;
}
}
@OnClick
public final void onButtonClearClick() {
int i = 2 % 2;
int i2 = x + 65;
y = i2 % 128;
int i3 = i2 % 2;
aaj_().setText("");
int i4 = x + 115;
y = i4 % 128;
if (i4 % 2 == 0) {
int i5 = 62 / 0;
}
}
@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 final void onDestroy() {
int i = 2 % 2;
int i2 = y + 37;
x = i2 % 128;
int i3 = i2 % 2;
super.onDestroy();
g().w_();
int i4 = x + 57;
y = i4 % 128;
if (i4 % 2 == 0) {
throw null;
}
}
@Override // o.InterfaceC9064dcf
public final void a() {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
arrayList.add(new C12919fLP("^(?=\\S)[a-zA-Z0-9.,&\\- ']+$"));
aaj_().setFilters((InputFilter[]) arrayList.toArray(new InputFilter[0]));
int i2 = y + 27;
x = i2 % 128;
int i3 = i2 % 2;
}
@Override // com.scb.phone.view.activity.ccrredemption.search.Hilt_RewardSearchActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onResume() {
int i = 2 % 2;
int i2 = y + 41;
x = i2 % 128;
int i3 = i2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
Object[] objArr = new Object[1];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, 23, '&', ')', 23, '$', 5, 7, 19, '*', 17, 19, '!', '\r', '#', 0, ')', 26, 3}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.single_form_omnibus_address_info_remark).substring(46, 47).codePointAt(0) + 69), (ViewConfiguration.getKeyRepeatDelay() >> 16) + 26, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{6, '\b', 13859, 13859, ')', 14, 19, '/', 13861, 13861, NistHelper.SEP_FS, 20, 3, 22, 7, 19, '0', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.prepaid_message_m_card).substring(0, 7).codePointAt(3) + 27), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 16, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 113;
y = i4 % 128;
if (i4 % 2 == 0) {
baseContext = baseContext.getApplicationContext();
int i5 = 11 / 0;
} else {
baseContext = baseContext.getApplicationContext();
}
}
if (baseContext != null) {
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(492 - (ViewConfiguration.getPressedStateDuration() >> 16), (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 4, (char) TextUtils.getOffsetBefore("", 0))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = {baseContext};
Object obj2 = xzZ.y.get(1378719468);
if (obj2 == null) {
obj2 = ((Class) xzZ.c(487 - (Process.myTid() >> 22), (ViewConfiguration.getMaximumFlingVelocity() >> 16) + 5, (char) View.combineMeasuredStates(0, 0))).getMethod(KtaJsonExactionHelper.OBJECT, Context.class);
xzZ.y.put(1378719468, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
int i6 = y + 51;
x = i6 % 128;
int i7 = i6 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onResume();
}
@Override // com.scb.phone.view.activity.ccrredemption.search.Hilt_RewardSearchActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onPause() {
int i = 2 % 2;
Context baseContext = getBaseContext();
if (baseContext == null) {
int i2 = x + 23;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = new Object[1];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, 23, '&', ')', 23, '$', 5, 7, 19, '*', 17, 19, '!', '\r', '#', 0, ')', 26, 3}, (byte) (101 - (Process.myTid() >> 22)), ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) - 72, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{6, '\b', 13859, 13859, ')', 14, 19, '/', 13861, 13861, NistHelper.SEP_FS, 20, 3, 22, 7, 19, '0', 15}, (byte) (((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getResources().getString(R.string.taking_photo_details_match_bank).substring(15, 16).length() + 58), ImageFormat.getBitsPerPixel(0) + 19, objArr2);
baseContext = (Context) cls.getMethod((String) objArr2[0], new Class[0]).invoke(null, null);
}
if (baseContext != null) {
int i4 = x + 21;
y = i4 % 128;
if (i4 % 2 == 0) {
baseContext.getApplicationContext();
throw null;
}
baseContext = baseContext.getApplicationContext();
}
if (baseContext != null) {
int i5 = y + 99;
x = i5 % 128;
try {
if (i5 % 2 != 0) {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 492, TextUtils.indexOf((CharSequence) "", '0', 0) + 6, (char) ((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) - 1))).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(486 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)), 5 - (Process.myTid() >> 22), (char) View.resolveSize(0, 0))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj2);
}
((Method) obj2).invoke(invoke, objArr3);
throw null;
}
Object obj3 = xzZ.y.get(125943855);
if (obj3 == null) {
obj3 = ((Class) xzZ.c(((byte) KeyEvent.getModifierMetaStateMask()) + 493, 5 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), (char) View.combineMeasuredStates(0, 0))).getMethod("a", null);
xzZ.y.put(125943855, obj3);
}
Object invoke2 = ((Method) obj3).invoke(null, null);
Object[] objArr4 = {baseContext};
Object obj4 = xzZ.y.get(1633456013);
if (obj4 == null) {
obj4 = ((Class) xzZ.c(487 - ((Process.getThreadPriority(0) + 20) >> 6), (ViewConfiguration.getJumpTapTimeout() >> 16) + 5, (char) (ExpandableListView.getPackedPositionChild(0L) + 1))).getMethod("c", Context.class);
xzZ.y.put(1633456013, obj4);
}
((Method) obj4).invoke(invoke2, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
super.onPause();
}
@Override // com.scb.phone.view.activity.ccrredemption.search.Hilt_RewardSearchActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity, android.view.ContextThemeWrapper, android.content.ContextWrapper
public final void attachBaseContext(Context context) {
int i = 2 % 2;
int i2 = x + 77;
y = i2 % 128;
int i3 = i2 % 2;
super.attachBaseContext(context);
Object[] objArr = new Object[1];
aA(new char[]{27, 17, 6, 0, '*', 15, 6, 26, '-', '\b', 26, 20, 1, '0', 0, '$', 13844, 13844}, (byte) (43 - (ViewConfiguration.getKeyRepeatTimeout() >> 16)), ImageFormat.getBitsPerPixel(0) + 19, objArr);
Class<?> cls = Class.forName((String) objArr[0]);
Object[] objArr2 = new Object[1];
aA(new char[]{19, 24, NistHelper.SEP_FS, 18, 13860}, (byte) (View.MeasureSpec.getSize(0) + 38), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) + 4, objArr2);
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
if (intValue >= 99000) {
int i4 = x + 3;
y = i4 % 128;
int i5 = i4 % 2;
if (intValue <= 99999) {
return;
}
}
Context applicationContext = context != null ? context.getApplicationContext() : context;
if (applicationContext != null) {
int i6 = y + 71;
x = i6 % 128;
int i7 = i6 % 2;
try {
Object obj = xzZ.y.get(125943855);
if (obj == null) {
obj = ((Class) xzZ.c(493 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), TextUtils.indexOf((CharSequence) "", '0') + 6, (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("a", null);
xzZ.y.put(125943855, obj);
}
Object invoke = ((Method) obj).invoke(null, null);
Object[] objArr3 = new Object[1];
aA(new char[]{'#', 4, 17, 19, 22, 4, '-', 21, 17, 4, 31, 21, ' ', 25, 23, 4, 25, ' ', 30, 0, 23, 18, 31, '\n', ',', 21, 4, '+', 2, 4, 4, '(', '.', 4, 4, '%', 0, '*', 13824, 13824, 30, 14, 4, '-', 2, 3, '%', 14}, (byte) ((ViewConfiguration.getTouchSlop() >> 8) + 8), (ViewConfiguration.getScrollBarSize() >> 8) + 48, objArr3);
String str = (String) objArr3[0];
Object[] objArr4 = new Object[1];
aA(new char[]{'\'', 14, 21, '%', 25, 16, 17, 2, '\'', '*', 30, 21, 30, 21, 4, '#', 30, 23, '#', ' ', 2, 22, 23, 17, 26, 24, '\b', 4, 31, 0, '\t', 4, 13857, 13857, '-', 25, ',', 4, 13932, 13932, 25, 16, 25, 24, 4, '.', 25, 16, 6, 3, 0, 7, 2, 3, 4, 25, 3, 2, '%', 4, 25, 16, 21, '&'}, (byte) (116 - KeyEvent.keyCodeFromString("")), (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 63, objArr4);
String str2 = (String) objArr4[0];
Object[] objArr5 = new Object[1];
aB(new int[]{0, 64, 0, 0}, false, new byte[]{1, 1, 0, 1, 0, 0, 0, 0, 1, 1, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 1, 1, 0, 1, 1, 0, 1, 1, 0, 0, 1, 0, 0, 1, 1, 0, 0, 1, 1, 0, 1, 1, 1, 1, 1, 1, 1, 0, 0, 1, 1, 0, 0, 1, 1, 1, 0, 1, 1, 0}, objArr5);
String str3 = (String) objArr5[0];
Object[] objArr6 = new Object[1];
aA(new char[]{'(', '\r', '\t', '(', 17, '-', 13790, 13790, 7, 17, 31, 24, '\b', 1, 13856, 13856, ')', 0, 0, 15, 27, 31, 17, 25, 16, '\"', 26, '\r', '0', '\r', '&', 21, '\b', 5, 31, 17, '\r', 26, '0', '\t', 27, 3, 3, '\f', '0', '\f', 27, 3, ')', 21, '\b', 1, 15, '\n', 23, '&', 15, 7, 15, 14, '*', '%', 11, '\r', '\n', '+', 29, 7, '&', '*', ')', 14, '\r', 11}, (byte) (41 - TextUtils.getTrimmedLength("")), 74 - (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)), objArr6);
String str4 = (String) objArr6[0];
Object[] objArr7 = new Object[1];
aA(new char[]{6, 24, 6, 23, 13840}, (byte) (102 - View.MeasureSpec.makeMeasureSpec(0, 0)), TextUtils.getOffsetAfter("", 0) + 5, objArr7);
String str5 = (String) objArr7[0];
Object[] objArr8 = new Object[1];
aB(new int[]{64, 36, 14, 28}, false, new byte[]{1, 1, 0, 1, 1, 1, 1, 0, 1, 0, 0, 0, 1, 1, 0, 0, 1, 1, 1, 1, 0, 0, 0, 0, 1, 1, 0, 0, 0, 0, 1, 0, 0, 1, 1, 0}, 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(Color.alpha(0) + 487, 5 - Color.alpha(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)))).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);
int i8 = y + 83;
x = i8 % 128;
int i9 = i8 % 2;
} 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<C10152dxQ> {
private RewardSearchActivity c;
@Override // o.InterfaceC14890gbN
public final /* synthetic */ C10152dxQ invoke() {
C10152dxQ c10152dxQ = new C10152dxQ(this.c);
c10152dxQ.setDropDownViewResource(R.layout.2131559352);
return c10152dxQ;
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
Sts(RewardSearchActivity rewardSearchActivity) {
super(0);
this.c = rewardSearchActivity;
}
}
public static final Intent aag_(Context context, C0476Hk c0476Hk, C0367Fb c0367Fb, Integer num, String str) {
int i = 2 % 2;
C14957gcv.e(context, "");
C14957gcv.e(c0476Hk, "");
C14957gcv.e(c0367Fb, "");
Intent putExtra = new Intent(context, (Class<?>) RewardSearchActivity.class).putExtra("EXTRA_CATEGORY_ID", num).putExtra("EXTRA_REWARD_CATEGORY_DTO", c0476Hk).putExtra("EXTRA_CREDIT_CARD_DISPLAY", c0367Fb);
C14957gcv.c(putExtra, "");
putExtra.putExtra("EXTRA_FIREBASE_SOURCE", str);
int i2 = y + 49;
x = i2 % 128;
int i3 = i2 % 2;
return putExtra;
}
private static /* synthetic */ Object e(Object[] objArr) {
RewardSearchActivity rewardSearchActivity = (RewardSearchActivity) objArr[0];
int intValue = ((Number) objArr[1]).intValue();
int i = 2 % 2;
int i2 = y + 3;
x = i2 % 128;
if (i2 % 2 == 0) {
return Boolean.valueOf(e(rewardSearchActivity, intValue));
}
e(rewardSearchActivity, intValue);
Object obj = null;
obj.hashCode();
throw null;
}
static void n() {
q = new char[]{49028, 49104, 49035, 49034, 49049, 49111, 49089, 49127, 49052, 49054, 49088, 49027, 49095, 49094, 49114, 49040, 49031, 49118, 49105, 49123, 49117, 49042, 49055, 49029, 49106, 49024, 49098, 49053, 49025, 49041, 49112, 49050, 49126, 49051, 49119, 49110, 49048, 49091, 49033, 49026, 49138, 49115, 49109, 49116, 49108, 49093, 49030, 49090, 49043};
p = (char) 35374;
t = new char[]{39995, 40007, 39999, 39994, 40001, 40001, 40007, 40046, 40000, 39998, 39997, 40007, 40040, 40000, 39993, 39999, 40007, 40042, 40047, 40000, 39995, 39995, 39992, 39999, 40001, 40006, 40004, 40046, 40005, 39996, 39996, 40005, 40007, 40000, 40042, 40000, 39998, 39992, 39994, 39994, 39992, 39993, 39993, 39999, 40007, 40047, 40007, 40006, 40040, 40040, 40000, 39998, 39996, 39996, 39999, 40000, 40000, 40003, 40040, 40040, 40000, 39997, 40006, 40006, 39958, 39988, 40010, 40019, 40058, 40030, 39989, 40010, 39988, 39988, 39990, 40030, 40036, 40058, 40057, 40029, 39990, 40019, 40019, 40028, 40017, 40023, 40057, 40017, 40009, 40009, 40010, 40018, 40056, 40058, 40028, 40010, 40017, 40023, 40015, 40011};
}
static void j() {
int i = 2 % 2;
int i2 = y + 25;
int i3 = i2 % 128;
x = i3;
int i4 = i2 % 2;
f6711o = -3778852973314893898L;
r = 452713125;
s = (char) 55973;
if (i4 != 0) {
Object obj = null;
obj.hashCode();
throw null;
}
int i5 = i3 + 39;
y = i5 % 128;
if (i5 % 2 == 0) {
int i6 = 86 / 0;
}
}
@Override // com.scb.phone.view.activity.ccrredemption.search.Hilt_RewardSearchActivity, com.scb.phone.view.activity.BaseActivity, com.scb.phone.view.activity.PreLoadCheckActivity, com.akexorcist.localizationactivity.LocalizationActivity, androidx.appcompat.app.AppCompatActivity, androidx.fragment.app.FragmentActivity, androidx.activity.ComponentActivity, androidx.core.app.ComponentActivity, android.app.Activity
public final void onStart() {
int i = 2 % 2;
int i2 = x + 103;
y = i2 % 128;
int i3 = i2 % 2;
super.onStart();
if (i3 == 0) {
throw null;
}
}
@Override // o.InterfaceC9064dcf
public final void a(String str, List<String> list) {
e(new Object[]{this, str, list}, -1801929299, 1801929305, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 2015007700);
}
private RecyclerView L() {
return (RecyclerView) e(new Object[]{this}, 1423273307, -1423273305, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getPackageName().codePointAt(6) + 2036199421);
}
private C10219dye s() {
return (C10219dye) e(new Object[]{this}, -1979557946, 1979557950, System.identityHashCode(this));
}
private final void m() {
e(new Object[]{this}, 1475723955, -1475723950, System.identityHashCode(this));
}
private static final boolean aah_(RewardSearchActivity rewardSearchActivity, MotionEvent motionEvent) {
return ((Boolean) e(new Object[]{rewardSearchActivity, motionEvent}, 1372230139, -1372230136, (int) System.currentTimeMillis())).booleanValue();
}
private final void e(String str) {
e(new Object[]{this, str}, -353379684, 353379684, ((Context) Class.forName("android.app.ActivityThread").getMethod("currentApplication", new Class[0]).invoke(null, null)).getApplicationContext().getApplicationInfo().targetSdkVersion - 492171582);
}
static {
x = 0;
n();
j();
new RVV((byte) 0);
int i = y + 25;
x = i % 128;
if (i % 2 != 0) {
throw null;
}
}
public static /* synthetic */ boolean aaf_(RewardSearchActivity rewardSearchActivity, MotionEvent motionEvent) {
int i = 2 % 2;
int i2 = x + 125;
y = i2 % 128;
int i3 = i2 % 2;
Object[] objArr = {rewardSearchActivity, motionEvent};
long currentTimeMillis = System.currentTimeMillis();
if (i3 != 0) {
return ((Boolean) e(objArr, 1372230139, -1372230136, (int) currentTimeMillis)).booleanValue();
}
int i4 = 88 / 0;
return ((Boolean) e(objArr, 1372230139, -1372230136, (int) currentTimeMillis)).booleanValue();
}
}