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

386 lines
13 KiB
Java

package o;
import android.content.SharedPreferences;
import android.content.res.Resources;
import android.graphics.Color;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.view.KeyEvent;
import android.view.ViewConfiguration;
import com.scb.phone.presentation.mapper.transferandpay.BaseAssetsDisplayMapper;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.List;
import o.C15715hv;
/* renamed from: o.sT, reason: case insensitive filesystem */
/* loaded from: classes3.dex */
public final class C16926sT extends BaseAssetsDisplayMapper {
private static final byte[] $$d = {90, 40, 10, 105};
private static final int $$e = 76;
private static int $10 = 0;
private static int $11 = 1;
private static int a = 0;
private static int d = 1;
private static long b = 1250749287486385394L;
/* JADX WARN: Removed duplicated region for block: B:10:0x0027 */
/* JADX WARN: Removed duplicated region for block: B:7:0x001f */
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0027 -> B:4:0x002c). 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(short r7, int r8, byte r9, java.lang.Object[] r10) {
/*
byte[] r0 = o.C16926sT.$$d
int r8 = r8 * 4
int r8 = 4 - r8
int r9 = r9 * 3
int r9 = 1 - r9
int r7 = r7 * 2
int r7 = 121 - r7
byte[] r1 = new byte[r9]
r2 = 0
if (r0 != 0) goto L17
r3 = r8
r7 = r9
r5 = r2
goto L2c
L17:
r3 = r2
L18:
byte r4 = (byte) r7
int r5 = r3 + 1
r1[r3] = r4
if (r5 != r9) goto L27
java.lang.String r7 = new java.lang.String
r7.<init>(r1, r2)
r10[r2] = r7
return
L27:
r3 = r0[r8]
r6 = r3
r3 = r8
r8 = r6
L2c:
int r8 = -r8
int r3 = r3 + 1
int r7 = r7 + r8
r8 = r3
r3 = r5
goto L18
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16926sT.q(short, int, byte, java.lang.Object[]):void");
}
@InterfaceC13391fZD
public C16926sT(Resources resources, SharedPreferences sharedPreferences, String str) {
super(resources, sharedPreferences, str);
}
/* JADX WARN: Code restructure failed: missing block: B:4:0x0012, code lost:
if (r5 == null) goto L8;
*/
/* JADX WARN: Code restructure failed: missing block: B:5:0x0018, code lost:
r4 = new java.lang.Object[1];
n(new char[]{57157, 57207, 29965, 22266, 46489}, 1 - (android.view.ViewConfiguration.getMaximumFlingVelocity() >> 16), r4);
r5 = ((java.lang.String) r4[0]).intern().equals(r5.c);
r1 = o.C16926sT.a + 63;
o.C16926sT.d = r1 % 128;
r1 = r1 % 2;
*/
/* JADX WARN: Code restructure failed: missing block: B:6:0x0043, code lost:
return r5;
*/
/* JADX WARN: Code restructure failed: missing block: B:8:0x0017, code lost:
return false;
*/
/* JADX WARN: Code restructure failed: missing block: B:9:0x0015, code lost:
if (r5 == null) goto L8;
*/
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
private static boolean b(o.C0698Mn r5) {
/*
r0 = 2
int r1 = r0 % r0
int r1 = o.C16926sT.a
int r1 = r1 + 113
int r2 = r1 % 128
o.C16926sT.d = r2
int r1 = r1 % r0
r2 = 0
if (r1 != 0) goto L15
r1 = 40
int r1 = r1 / r2
if (r5 != 0) goto L18
goto L17
L15:
if (r5 != 0) goto L18
L17:
return r2
L18:
r1 = 5
char[] r1 = new char[r1]
r1 = {x0044: FILL_ARRAY_DATA , data: [-8379, -8329, 29965, 22266, -19047} // fill-array
int r3 = android.view.ViewConfiguration.getMaximumFlingVelocity()
int r3 = r3 >> 16
r4 = 1
int r3 = 1 - r3
java.lang.Object[] r4 = new java.lang.Object[r4]
n(r1, r3, r4)
r1 = r4[r2]
java.lang.String r1 = (java.lang.String) r1
java.lang.String r1 = r1.intern()
java.lang.String r5 = r5.c
boolean r5 = r1.equals(r5)
int r1 = o.C16926sT.a
int r1 = r1 + 63
int r2 = r1 % 128
o.C16926sT.d = r2
int r1 = r1 % r0
return r5
*/
throw new UnsupportedOperationException("Method not decompiled: o.C16926sT.b(o.Mn):boolean");
}
/* JADX INFO: Access modifiers changed from: private */
public static /* synthetic */ Object e(Object[] objArr) {
String str;
C16926sT c16926sT = (C16926sT) objArr[0];
C0698Mn c0698Mn = (C0698Mn) objArr[1];
C0710Mv c0710Mv = (C0710Mv) objArr[2];
boolean booleanValue = ((Boolean) objArr[3]).booleanValue();
String str2 = (String) objArr[4];
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
C0704Mr d2 = C0704Mr.d();
d2.g = c16926sT.e(C15715hv.tOB.etb_review_info_account_information_index_1_title);
if (str2 != null) {
int i2 = a + 69;
d = i2 % 128;
if (i2 % 2 == 0) {
c16926sT.b_(str2);
throw null;
}
str = c16926sT.b_(str2);
} else {
int i3 = a + 29;
d = i3 % 128;
int i4 = i3 % 2;
str = null;
}
d2.c = str;
d2.a = c0710Mv.a;
d2.d = c0710Mv.n;
arrayList.add(d2);
C0704Mr d3 = C0704Mr.d();
d3.g = c16926sT.e(C15715hv.tOB.etb_review_info_account_information_index_2_title);
d3.a = c0710Mv.b;
d3.d = c0710Mv.f8279o;
arrayList.add(d3);
if (!b(c0698Mn)) {
int i5 = a + 15;
d = i5 % 128;
int i6 = i5 % 2;
C0704Mr d4 = C0704Mr.d();
d4.g = c16926sT.e(C15715hv.tOB.etb_review_info_account_information_index_3_title);
d4.c = str2 != null ? c16926sT.b_(str2) : null;
d4.a = c0710Mv.k;
d4.d = c(c0710Mv.m, booleanValue);
arrayList.add(d4);
}
return arrayList;
}
public final List<C0704Mr> c(C0710Mv c0710Mv, boolean z, String str) {
String str2;
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
C0704Mr d2 = C0704Mr.d();
d2.g = e(C15715hv.tOB.etb_review_info_opening_deposit_index_1_title);
if (str != null) {
int i2 = d + 97;
a = i2 % 128;
int i3 = i2 % 2;
str2 = b_(str);
int i4 = d + 61;
a = i4 % 128;
int i5 = i4 % 2;
} else {
str2 = null;
}
d2.c = str2;
d2.a = c0710Mv.p;
d2.d = c(c0710Mv.s, z);
arrayList.add(d2);
C0704Mr d3 = C0704Mr.d();
d3.g = e(C15715hv.tOB.etb_review_info_opening_deposit_index_2_title);
d3.a = c(Double.valueOf(c0710Mv.l));
arrayList.add(d3);
C0704Mr d4 = C0704Mr.d();
d4.g = e(C15715hv.tOB.etb_review_info_opening_deposit_index_3_title);
d4.a = c(Double.valueOf(c0710Mv.q));
arrayList.add(d4);
return arrayList;
}
private static void n(char[] cArr, int i, Object[] objArr) {
int i2 = 2 % 2;
GuL guL = new GuL();
char[] a2 = GuL.a(b ^ (-7538262848231253921L), cArr, i);
guL.a = 4;
int i3 = $11 + 39;
$10 = i3 % 128;
int i4 = i3 % 2;
while (guL.a < a2.length) {
int i5 = $11 + 93;
$10 = i5 % 128;
int i6 = i5 % 2;
guL.c = guL.a - 4;
int i7 = guL.a;
try {
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(b)};
Object obj = xzZ.y.get(428080616);
if (obj == null) {
Class cls = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777424, TextUtils.getOffsetAfter("", 0) + 5, (char) (1706 - (ViewConfiguration.getLongPressTimeout() >> 16)));
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], Long.TYPE, Long.TYPE, Long.TYPE);
xzZ.y.put(428080616, obj);
}
a2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
Object[] objArr4 = {guL, guL};
Object obj2 = xzZ.y.get(-1875914398);
if (obj2 == null) {
Class cls2 = (Class) xzZ.c(392 - KeyEvent.normalizeMetaState(0), 5 - (ViewConfiguration.getLongPressTimeout() >> 16), (char) ('0' - AndroidCharacter.getMirror('0')));
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(-1875914398, obj2);
}
((Method) obj2).invoke(null, objArr4);
} catch (Throwable th) {
Throwable cause = th.getCause();
if (cause == null) {
throw th;
}
throw cause;
}
}
objArr[0] = new String(a2, 4, a2.length - 4);
}
public final List<C0704Mr> e(C0710Mv c0710Mv, boolean z, String str, String str2) {
int i = 2 % 2;
ArrayList arrayList = new ArrayList();
C0704Mr d2 = C0704Mr.d();
d2.g = e(C15715hv.tOB.etb_review_info_monthly_deduction_index_1_title);
String str3 = null;
if (str != null) {
int i2 = d + 71;
a = i2 % 128;
if (i2 % 2 != 0) {
b_(str);
str3.hashCode();
throw null;
}
str3 = b_(str);
int i3 = d + 117;
a = i3 % 128;
int i4 = i3 % 2;
}
d2.c = str3;
d2.a = c0710Mv.i;
d2.d = c(c0710Mv.j, z);
arrayList.add(d2);
C0704Mr d3 = C0704Mr.d();
d3.g = e(C15715hv.tOB.etb_review_info_monthly_deduction_index_2_title);
d3.a = c(Double.valueOf(c0710Mv.c));
arrayList.add(d3);
C0704Mr d4 = C0704Mr.d();
d4.g = e(C15715hv.tOB.etb_review_info_monthly_deduction_index_3_title);
String e = e(C15715hv.tOB.etb_review_info_monthly_deduction_index_3_detail);
StringBuilder sb = new StringBuilder();
sb.append(c0710Mv.h);
sb.append(b(c0710Mv.h, str2));
d4.a = String.format(e, sb.toString(), Integer.valueOf(c0710Mv.f));
arrayList.add(d4);
return arrayList;
}
private static String b(int i, String str) {
int i2 = 2 % 2;
int i3 = a + 15;
d = i3 % 128;
if (i3 % 2 == 0) {
throw null;
}
if (i == 0 || "th".equals(str)) {
return "";
}
int i4 = a + 17;
int i5 = i4 % 128;
d = i5;
int i6 = i4 % 2;
if (i == 1) {
return "st";
}
int i7 = i5 + 103;
a = i7 % 128;
if (i7 % 2 != 0) {
if (i == 8) {
return "st";
}
} else if (i == 21) {
return "st";
}
if (i == 31) {
return "st";
}
if (i == 2) {
return "nd";
}
int i8 = i5 + 1;
a = i8 % 128;
int i9 = i8 % 2;
if (i == 22) {
return "nd";
}
if (i == 3) {
return "rd";
}
int i10 = i5 + 5;
int i11 = i10 % 128;
a = i11;
int i12 = i10 % 2;
if (i == 23) {
return "rd";
}
int i13 = i11 + 65;
d = i13 % 128;
if (i13 % 2 == 0) {
int i14 = 63 / 0;
}
return "th";
}
public final List<C0704Mr> c(C0698Mn c0698Mn, C0710Mv c0710Mv, boolean z, String str) {
Object[] objArr = {this, c0698Mn, c0710Mv, Boolean.valueOf(z), str};
System.identityHashCode(this);
return (List) e(objArr);
}
}