what-the-bank/sources/o/C17811zv.java

384 lines
13 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.lang.reflect.Method;
import org.bouncycastle.crypto.tls.CipherSuite;
/* renamed from: o.zv, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C17811zv extends BaseAssetsDisplayMapper {
private static int a;
private static long d;
private static final byte[] $$d = {101, -49, 33, 116};
private static final int $$e = CipherSuite.TLS_DH_DSS_WITH_AES_128_GCM_SHA256;
private static int $10 = 0;
private static int $11 = 1;
private static int b = 0;
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 q(byte r6, short r7, short r8, java.lang.Object[] r9) {
/*
int r6 = r6 * 2
int r0 = r6 + 1
int r7 = 78 - r7
int r8 = r8 * 2
int r8 = 4 - r8
byte[] r1 = o.C17811zv.$$d
byte[] r0 = new byte[r0]
r2 = 0
if (r1 != 0) goto L14
r3 = r8
r4 = r2
goto L2a
L14:
r3 = r2
L15:
byte r4 = (byte) r7
r0[r3] = r4
int r4 = r3 + 1
if (r3 != r6) goto L24
java.lang.String r6 = new java.lang.String
r6.<init>(r0, r2)
r9[r2] = r6
return
L24:
r3 = r1[r8]
r5 = r8
r8 = r7
r7 = r3
r3 = r5
L2a:
int r7 = -r7
int r7 = r7 + r8
int r8 = r3 + 1
r3 = r4
goto L15
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17811zv.q(byte, short, short, java.lang.Object[]):void");
}
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
@InterfaceC13391fZD
public C17811zv(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
C14957gcv.e(resources, "");
C14957gcv.e(sharedPreferences, "");
C14957gcv.e(str, "");
}
/* renamed from: o.zv$Sts */
/* loaded from: classes3.dex */
public static final class Sts {
private Sts() {
}
public /* synthetic */ Sts(byte b) {
this();
}
}
public final TW e(EKc eKc, C6410cS c6410cS, eWY ewy, String str, String str2, String str3, C1203Xy c1203Xy, C1193Xr c1193Xr) {
int i = 2 % 2;
C14957gcv.e(eKc, "");
C14957gcv.e(c6410cS, "");
C14957gcv.e(ewy, "");
C14957gcv.e(c1203Xy, "");
C14957gcv.e(c1193Xr, "");
String str4 = ewy.D;
String str5 = ewy.t;
String str6 = c6410cS.f;
String str7 = c6410cS.j;
String b2 = b(eKc);
String str8 = c6410cS.d;
String str9 = ewy.n;
String str10 = c1203Xy.a;
String b_ = b_(c1193Xr.c());
String k = k(c6410cS.g);
String k2 = k(c6410cS.i);
String k3 = k(c6410cS.c);
String k4 = k(c6410cS.a);
String str11 = ewy.r;
String str12 = c6410cS.b;
TO to = new TO(c(ewy.k));
String str13 = c6410cS.h;
String str14 = c1193Xr.F;
String str15 = c1193Xr.M;
String str16 = c1193Xr.L;
C14957gcv.c((Object) str4, "");
C14957gcv.c((Object) str5, "");
C14957gcv.c((Object) str9, "");
C14957gcv.c((Object) str10, "");
C14957gcv.c((Object) str11, "");
TW tw = new TW(str4, str6, str5, str7, b2, str8, str9, b_, str10, k, k2, k3, k4, str11, str12, to, str13, str14, str, str15, str2, str16, str3);
int i2 = a + 31;
b = i2 % 128;
if (i2 % 2 == 0) {
return tw;
}
Object obj = null;
obj.hashCode();
throw null;
}
/* JADX WARN: Code restructure failed: missing block: B:10:0x0026, code lost:
if (o.gdZ.a("012", r5, true) == false) goto L9;
*/
/* JADX WARN: Code restructure failed: missing block: B:4:0x001c, code lost:
if ((!o.gdZ.a("012", r5, false)) != true) goto L10;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0028, code lost:
r6 = r7;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public static java.lang.String d(java.lang.String r5, java.lang.String r6, java.lang.String r7) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C17811zv.a
int r1 = r1 + 97
int r2 = r1 % 128
o.C17811zv.b = r2
int r1 = r1 % r0
java.lang.String r2 = "012"
java.lang.String r3 = ""
r4 = 1
if (r1 == 0) goto L1f
o.C14957gcv.e(r5, r3)
r1 = 0
boolean r5 = o.gdZ.a(r2, r5, r1)
r5 = r5 ^ r4
if (r5 == r4) goto L28
goto L29
L1f:
o.C14957gcv.e(r5, r3)
boolean r5 = o.gdZ.a(r2, r5, r4)
if (r5 != 0) goto L29
L28:
r6 = r7
L29:
int r5 = o.C17811zv.b
int r5 = r5 + 99
int r7 = r5 % 128
o.C17811zv.a = r7
int r5 = r5 % r0
return r6
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17811zv.d(java.lang.String, java.lang.String, java.lang.String):java.lang.String");
}
private static void n(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
C4593bdB c4593bdB = new C4593bdB();
c4593bdB.a = i;
int length = cArr.length;
long[] jArr = new long[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i3 = c4593bdB.e;
try {
Object[] objArr2 = {Integer.valueOf(cArr[c4593bdB.e]), c4593bdB, c4593bdB};
Object obj = xzZ.y.get(-1229953068);
if (obj == null) {
Class cls = (Class) xzZ.c(403 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - (ViewConfiguration.getScrollBarSize() >> 8), (char) (21608 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
byte b2 = (byte) 0;
byte b3 = (byte) (b2 + 1);
Object[] objArr3 = new Object[1];
q(b2, b3, (byte) (b3 - 1), objArr3);
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
xzZ.y.put(-1229953068, obj);
}
jArr[i3] = ((Long) ((Method) obj).invoke(null, objArr2)).longValue() ^ (d ^ (-6958928035870403642L));
Object[] objArr4 = {c4593bdB, c4593bdB};
Object obj2 = xzZ.y.get(-1143917229);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 239, Color.alpha(0) + 5, (char) KeyEvent.keyCodeFromString(""));
byte b4 = (byte) 0;
byte b5 = b4;
Object[] objArr5 = new Object[1];
q(b4, b5, b5, objArr5);
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj2);
}
((Method) obj2).invoke(null, objArr4);
int i4 = $10 + 83;
$11 = i4 % 128;
int i5 = i4 % 2;
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
char[] cArr2 = new char[length];
c4593bdB.e = 0;
while (c4593bdB.e < cArr.length) {
int i6 = $11 + 93;
$10 = i6 % 128;
int i7 = i6 % 2;
cArr2[c4593bdB.e] = (char) jArr[c4593bdB.e];
Object[] objArr6 = {c4593bdB, c4593bdB};
Object obj3 = xzZ.y.get(-1143917229);
if (obj3 == null) {
Class cls3 = (Class) xzZ.c((ViewConfiguration.getWindowTouchSlop() >> 8) + 238, TextUtils.indexOf((CharSequence) "", '0') + 6, (char) Drawable.resolveOpacity(0, 0));
byte b6 = (byte) 0;
byte b7 = b6;
Object[] objArr7 = new Object[1];
q(b6, b7, b7, objArr7);
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
xzZ.y.put(-1143917229, obj3);
}
((Method) obj3).invoke(null, objArr6);
}
objArr[0] = new String(cArr2);
}
private static String k(String str) {
String a2;
int i = 2 % 2;
int i2 = a + 11;
b = i2 % 128;
int i3 = i2 % 2;
if (str != null && (a2 = gdZ.a(str, ",", "")) != null) {
return a2;
}
Object[] objArr = new Object[1];
n(new char[]{28302}, TextUtils.indexOf("", "", 0) + 57383, objArr);
String intern = ((String) objArr[0]).intern();
int i4 = b + 71;
a = i4 % 128;
int i5 = i4 % 2;
return intern;
}
/* JADX WARN: Code restructure failed: missing block: B:11:0x0032, code lost:
if (r3 != null) goto L16;
*/
/* JADX WARN: Code restructure failed: missing block: B:12:0x0050, code lost:
r3 = null;
*/
/* JADX WARN: Code restructure failed: missing block: B:19:0x003d, code lost:
r3 = new o.XL(r3.f, r3.i, r3.d, r3.c, r3.e, r3.b);
*/
/* JADX WARN: Code restructure failed: missing block: B:21:0x003b, code lost:
if (r3 != null) goto L16;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static java.util.List<o.XL> c(o.Jky r11) {
/*
r0 = 2
int r1 = r0 % r0
r1 = 0
if (r11 == 0) goto L68
java.util.List<o.jSX> r11 = r11.e
if (r11 == 0) goto L68
java.lang.Iterable r11 = (java.lang.Iterable) r11
java.util.ArrayList r2 = new java.util.ArrayList
r2.<init>()
java.util.Collection r2 = (java.util.Collection) r2
java.util.Iterator r11 = r11.iterator()
L17:
boolean r3 = r11.hasNext()
if (r3 == 0) goto L60
int r3 = o.C17811zv.b
int r3 = r3 + 115
int r4 = r3 % 128
o.C17811zv.a = r4
int r3 = r3 % r0
if (r3 != 0) goto L35
java.lang.Object r3 = r11.next()
o.jSX r3 = (o.jSX) r3
r4 = 80
int r4 = r4 / 0
if (r3 == 0) goto L50
goto L3d
L35:
java.lang.Object r3 = r11.next()
o.jSX r3 = (o.jSX) r3
if (r3 == 0) goto L50
L3d:
java.lang.String r5 = r3.f
java.lang.String r6 = r3.i
java.lang.String r7 = r3.d
java.lang.String r8 = r3.c
java.lang.String r9 = r3.e
java.lang.String r10 = r3.b
o.XL r3 = new o.XL
r4 = r3
r4.<init>(r5, r6, r7, r8, r9, r10)
goto L51
L50:
r3 = r1
L51:
if (r3 == 0) goto L17
int r4 = o.C17811zv.a
int r4 = r4 + 15
int r5 = r4 % 128
o.C17811zv.b = r5
int r4 = r4 % r0
r2.add(r3)
goto L17
L60:
java.util.List r2 = (java.util.List) r2
java.lang.Iterable r2 = (java.lang.Iterable) r2
java.util.List r1 = o.C14881gav.d(r2)
L68:
if (r1 != 0) goto L6f
o.gaI r11 = o.C14851gaI.c
r1 = r11
java.util.List r1 = (java.util.List) r1
L6f:
return r1
*/
throw new UnsupportedOperationException("Method not decompiled: o.C17811zv.c(o.Jky):java.util.List");
}
static void i() {
d = -3519446699675124360L;
}
static {
a = 1;
i();
new Sts((byte) 0);
int i = b + 23;
a = i % 128;
if (i % 2 != 0) {
return;
}
Object obj = null;
obj.hashCode();
throw null;
}
}