452 lines
16 KiB
Java
452 lines
16 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.graphics.Color;
|
|
import android.os.Process;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
|
|
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.ISOFileInfo;
|
|
import o.C15715hv;
|
|
import o.LJ;
|
|
import o.PRA;
|
|
|
|
/* renamed from: o.ri, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public class C16837ri extends BaseAssetsDisplayMapper {
|
|
private static final byte[] $$d = {59, 92, ISOFileInfo.FCI_BYTE, -78};
|
|
private static final int $$e = 238;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int h = 0;
|
|
private static int i = 1;
|
|
private static char[] d = {15901};
|
|
private static int b = 1934311116;
|
|
private static boolean a = true;
|
|
private static boolean f = true;
|
|
|
|
public static /* synthetic */ Object d(Object[] objArr, int i2, int i3, int i4) {
|
|
int i5 = (i2 * (-589)) + (i3 * 591);
|
|
int i6 = ~i3;
|
|
int i7 = ~i4;
|
|
int i8 = (~(i6 | i2)) | (~(i6 | i7)) | (~(i7 | i2));
|
|
int i9 = ~i2;
|
|
return ((i5 + (((~(i4 | (i9 | i3))) | i8) * 590)) + (i8 * (-1180))) + (((~(i9 | i7)) | (~(i3 | i7))) * 590) != 1 ? e(objArr) : a(objArr);
|
|
}
|
|
|
|
private static void q(short s, int i2, byte b2, Object[] objArr) {
|
|
int i3 = 122 - (s * 57);
|
|
int i4 = (i2 * 3) + 4;
|
|
int i5 = b2 * 2;
|
|
byte[] bArr = $$d;
|
|
byte[] bArr2 = new byte[1 - i5];
|
|
int i6 = 0 - i5;
|
|
int i7 = -1;
|
|
if (bArr == null) {
|
|
i4++;
|
|
i3 += -i6;
|
|
}
|
|
while (true) {
|
|
i7++;
|
|
bArr2[i7] = (byte) i3;
|
|
if (i7 == i6) {
|
|
objArr[0] = new String(bArr2, 0);
|
|
return;
|
|
} else {
|
|
byte b3 = bArr[i4];
|
|
i4++;
|
|
i3 += -b3;
|
|
}
|
|
}
|
|
}
|
|
|
|
public static final /* synthetic */ List a(List list) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 13;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
return c((List<? extends C17180ucA>) list);
|
|
}
|
|
c((List<? extends C17180ucA>) list);
|
|
throw null;
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C16837ri(Resources resources, SharedPreferences sharedPreferences, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
C14957gcv.e(resources, "");
|
|
C14957gcv.e(sharedPreferences, "");
|
|
C14957gcv.e(str, "");
|
|
}
|
|
|
|
public final KK a(C16204mId c16204mId) {
|
|
int i2 = 2 % 2;
|
|
C14957gcv.e(c16204mId, "");
|
|
KK kk = new KK();
|
|
String c = c16204mId.c();
|
|
C14957gcv.e(c, "");
|
|
kk.d = c;
|
|
String d2 = c16204mId.d();
|
|
C14957gcv.e(d2, "");
|
|
kk.b = d2;
|
|
List<mbH> e = c16204mId.e();
|
|
C14957gcv.e(e, "");
|
|
ArrayList arrayList = new ArrayList(e instanceof Collection ? e.size() : 10);
|
|
Iterator<T> it = e.iterator();
|
|
while (it.hasNext()) {
|
|
int i3 = i + 43;
|
|
h = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
arrayList.add(a((mbH) it.next()));
|
|
int i4 = 46 / 0;
|
|
} else {
|
|
arrayList.add(a((mbH) it.next()));
|
|
}
|
|
int i5 = h + 69;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
C14957gcv.e(arrayList2, "");
|
|
kk.e = arrayList2;
|
|
return kk;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: protected */
|
|
public final KL a(mbH mbh) {
|
|
int i2 = 2 % 2;
|
|
C14957gcv.e(mbh, "");
|
|
String str = mbh.k;
|
|
String str2 = mbh.g;
|
|
Object[] objArr = new Object[1];
|
|
n(null, new byte[]{ISOFileInfo.DATA_BYTES2}, null, 127 - (ViewConfiguration.getTouchSlop() >> 8), objArr);
|
|
boolean b2 = C14957gcv.b((Object) ((String) objArr[0]).intern(), (Object) mbh.b);
|
|
IS is = new IS(Double.parseDouble(mbh.f), Double.parseDouble(mbh.d), Double.parseDouble(mbh.e), Double.parseDouble(mbh.h));
|
|
List d2 = C14881gav.d(new IV(e(C15715hv.tOB.interest_rate_label), mbh.a));
|
|
if (!C14957gcv.b((Object) "SPEEDY_CASH", (Object) mbh.g)) {
|
|
int i3 = i + 115;
|
|
h = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
C14957gcv.b((Object) "SPEEDY_CASH_M", (Object) mbh.g);
|
|
throw null;
|
|
}
|
|
if ((true ^ C14957gcv.b((Object) "SPEEDY_CASH_M", (Object) mbh.g)) && !C14957gcv.b((Object) "CREDIT_CARD", (Object) mbh.g)) {
|
|
d2.add(new IV(e(C15715hv.tOB.installment_label), mbh.i));
|
|
int i4 = i + 25;
|
|
h = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
}
|
|
C14866gag c14866gag = C14866gag.c;
|
|
String str3 = mbh.l;
|
|
String b_ = b_(mbh.c);
|
|
C14957gcv.c((Object) b_, "");
|
|
return new KL(str, str2, b2, is, d2, str3, b_, mbh.j);
|
|
}
|
|
|
|
public final JN e(C16032kca c16032kca) {
|
|
int i2 = 2 % 2;
|
|
C14957gcv.e(c16032kca, "");
|
|
String c = c(Double.valueOf(Double.parseDouble(gdZ.a(c16032kca.d, ",", ""))));
|
|
C14957gcv.c((Object) c, "");
|
|
JN jn = new JN(c, c16032kca.c, c16032kca.h, c16032kca.a, c16032kca.i, c16032kca.e, c16032kca.b, c16032kca.g, d(c16032kca.j));
|
|
int i3 = i + 27;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
return jn;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.ri$LWm */
|
|
/* loaded from: classes3.dex */
|
|
public static final class LWm extends AbstractC14961gcz implements InterfaceC14894gbR<XBv, JM> {
|
|
private C16837ri d;
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ JM invoke(XBv xBv) {
|
|
XBv xBv2 = xBv;
|
|
Integer num = xBv2.f8440o;
|
|
String b_ = this.d.b_(xBv2.j);
|
|
String str = xBv2.l;
|
|
String str2 = xBv2.e;
|
|
String str3 = xBv2.g;
|
|
String str4 = xBv2.f;
|
|
Boolean bool = xBv2.a;
|
|
Boolean bool2 = xBv2.h;
|
|
String str5 = xBv2.c;
|
|
return new JM(num, b_, str, str2, str3, str4, bool, Boolean.FALSE, bool2, str5 != null ? (String) C6583cXR.c(new Object[]{Double.valueOf(Double.parseDouble(str5))}, -150997759, 150997764, (int) System.currentTimeMillis()) : null, C16837ri.a(xBv2.d), xBv2.b, xBv2.i, xBv2.a);
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
LWm(C16837ri c16837ri) {
|
|
super(1);
|
|
this.d = c16837ri;
|
|
}
|
|
}
|
|
|
|
private static final JM b(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 73;
|
|
h = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
return (JM) interfaceC14894gbR.invoke(obj);
|
|
}
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
throw null;
|
|
}
|
|
|
|
public final List<JM> d(List<XBv> list) {
|
|
int i2 = 2 % 2;
|
|
if (list == null) {
|
|
int i3 = h + 97;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
list = C14851gaI.c;
|
|
int i5 = i + 7;
|
|
h = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
}
|
|
YKU yku = new YKU(list);
|
|
final LWm lWm = new LWm(this);
|
|
Object a2 = new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(lWm) { // from class: o.rj
|
|
private InterfaceC14894gbR c;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return (JM) C16837ri.d(new Object[]{this.c, obj}, 2133381203, -2133381203, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
{
|
|
this.c = lWm;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
C14957gcv.c(a2, "");
|
|
return (List) a2;
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: package-private */
|
|
/* renamed from: o.ri$Sts */
|
|
/* loaded from: classes3.dex */
|
|
public static final class Sts extends AbstractC14961gcz implements InterfaceC14894gbR<C17180ucA, LJ> {
|
|
public static final Sts b = new Sts();
|
|
|
|
@Override // o.InterfaceC14894gbR
|
|
public final /* synthetic */ LJ invoke(C17180ucA c17180ucA) {
|
|
C17180ucA c17180ucA2 = c17180ucA;
|
|
LJ.IeS c = LJ.c();
|
|
C14957gcv.e(c17180ucA2);
|
|
return c.e(c17180ucA2.b).b(c17180ucA2.g).a();
|
|
}
|
|
|
|
Sts() {
|
|
super(1);
|
|
}
|
|
}
|
|
|
|
private static final LJ d(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 79;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
C14957gcv.e(interfaceC14894gbR, "");
|
|
LJ lj = (LJ) interfaceC14894gbR.invoke(obj);
|
|
int i5 = h + 115;
|
|
i = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
int i6 = 62 / 0;
|
|
}
|
|
return lj;
|
|
}
|
|
|
|
private static List<LJ> c(List<? extends C17180ucA> list) {
|
|
int i2 = 2 % 2;
|
|
int i3 = h;
|
|
int i4 = i3 + 31;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
if (list == null) {
|
|
int i6 = i3 + 73;
|
|
i = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return null;
|
|
}
|
|
YKU yku = new YKU(list);
|
|
final Sts sts = Sts.b;
|
|
return (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(sts) { // from class: o.rn
|
|
private InterfaceC14894gbR b;
|
|
|
|
@Override // o.InterfaceC1244Ytw
|
|
public final Object d(Object obj) {
|
|
return (LJ) C16837ri.d(new Object[]{this.b, obj}, -636967977, 636967978, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
{
|
|
this.b = sts;
|
|
}
|
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
|
}
|
|
|
|
private static void n(char[] cArr, byte[] bArr, int[] iArr, int i2, Object[] objArr) {
|
|
int i3 = 2;
|
|
int i4 = 2 % 2;
|
|
C3614bBe c3614bBe = new C3614bBe();
|
|
char[] cArr2 = d;
|
|
long j = 0;
|
|
char c = 0;
|
|
if (cArr2 != null) {
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i5 = 0;
|
|
while (i5 < length) {
|
|
int i6 = $11 + 39;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % i3;
|
|
try {
|
|
Object[] objArr2 = new Object[1];
|
|
objArr2[c] = Integer.valueOf(cArr2[i5]);
|
|
Object obj = xzZ.y.get(-950481649);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(338 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), 4 - Process.getGidForName(""), (char) ExpandableListView.getPackedPositionType(j));
|
|
byte b2 = (byte) 1;
|
|
byte b3 = (byte) (b2 - 1);
|
|
Object[] objArr3 = new Object[1];
|
|
q(b2, b3, b3, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(-950481649, obj);
|
|
}
|
|
cArr3[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i5++;
|
|
i3 = 2;
|
|
j = 0;
|
|
c = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
Object[] objArr4 = {Integer.valueOf(b)};
|
|
Object obj2 = xzZ.y.get(-1521625011);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 282, 5 - View.resolveSize(0, 0), (char) (39813 - View.MeasureSpec.makeMeasureSpec(0, 0)));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
q(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE);
|
|
xzZ.y.put(-1521625011, obj2);
|
|
}
|
|
int intValue = ((Integer) ((Method) obj2).invoke(null, objArr4)).intValue();
|
|
if (f) {
|
|
int i8 = $11 + 83;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
c3614bBe.c = bArr.length;
|
|
char[] cArr4 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr4[c3614bBe.a] = (char) (cArr2[bArr[(c3614bBe.c - 1) - c3614bBe.a] + i2] - intValue);
|
|
Object[] objArr6 = {c3614bBe, c3614bBe};
|
|
Object obj3 = xzZ.y.get(1779759091);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(Color.red(0) + 40, 6 - (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)), (char) (TextUtils.lastIndexOf("", '0', 0, 0) + 1))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr4);
|
|
return;
|
|
}
|
|
if (a) {
|
|
c3614bBe.c = cArr.length;
|
|
char[] cArr5 = new char[c3614bBe.c];
|
|
c3614bBe.a = 0;
|
|
int i10 = $11 + 93;
|
|
$10 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
while (c3614bBe.a < c3614bBe.c) {
|
|
cArr5[c3614bBe.a] = (char) (cArr2[cArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
|
Object[] objArr7 = {c3614bBe, c3614bBe};
|
|
Object obj4 = xzZ.y.get(1779759091);
|
|
if (obj4 == null) {
|
|
obj4 = ((Class) xzZ.c(40 - (Process.myPid() >> 22), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) (ViewConfiguration.getTouchSlop() >> 8))).getMethod("D", Object.class, Object.class);
|
|
xzZ.y.put(1779759091, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr7);
|
|
}
|
|
objArr[0] = new String(cArr5);
|
|
return;
|
|
}
|
|
int i12 = 0;
|
|
c3614bBe.c = iArr.length;
|
|
char[] cArr6 = new char[c3614bBe.c];
|
|
while (true) {
|
|
c3614bBe.a = i12;
|
|
if (c3614bBe.a >= c3614bBe.c) {
|
|
objArr[0] = new String(cArr6);
|
|
return;
|
|
} else {
|
|
cArr6[c3614bBe.a] = (char) (cArr2[iArr[(c3614bBe.c - 1) - c3614bBe.a] - i2] - intValue);
|
|
i12 = c3614bBe.a + 1;
|
|
}
|
|
}
|
|
}
|
|
|
|
private static /* synthetic */ Object a(Object[] objArr) {
|
|
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
|
|
Object obj = objArr[1];
|
|
int i2 = 2 % 2;
|
|
int i3 = h + 99;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
LJ d2 = d(interfaceC14894gbR, obj);
|
|
int i5 = i + 37;
|
|
h = i5 % 128;
|
|
if (i5 % 2 == 0) {
|
|
return d2;
|
|
}
|
|
Object obj2 = null;
|
|
obj2.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
private static /* synthetic */ Object e(Object[] objArr) {
|
|
InterfaceC14894gbR interfaceC14894gbR = (InterfaceC14894gbR) objArr[0];
|
|
Object obj = objArr[1];
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 97;
|
|
h = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
JM b2 = b(interfaceC14894gbR, obj);
|
|
int i5 = h + 69;
|
|
i = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return b2;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
public static /* synthetic */ LJ a(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
return (LJ) d(new Object[]{interfaceC14894gbR, obj}, -636967977, 636967978, (int) System.currentTimeMillis());
|
|
}
|
|
|
|
public static /* synthetic */ JM e(InterfaceC14894gbR interfaceC14894gbR, Object obj) {
|
|
return (JM) d(new Object[]{interfaceC14894gbR, obj}, 2133381203, -2133381203, (int) System.currentTimeMillis());
|
|
}
|
|
}
|