484 lines
17 KiB
Java
484 lines
17 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.graphics.PointF;
|
|
import android.graphics.drawable.Drawable;
|
|
import android.os.Process;
|
|
import android.text.TextUtils;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
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 java.util.ArrayList;
|
|
import java.util.List;
|
|
import o.C15715hv;
|
|
|
|
/* renamed from: o.sV, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16928sV extends BaseAssetsDisplayMapper {
|
|
private static final byte[] $$d = {43, -33, -86};
|
|
private static final int $$e = 0;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int g = 0;
|
|
private static int i = 1;
|
|
private static char a = 14177;
|
|
private static char d = 50510;
|
|
private static char b = 52282;
|
|
private static char h = 30793;
|
|
|
|
public static /* synthetic */ Object b(Object[] objArr, int i2, int i3, int i4) {
|
|
C0698Mn c0698Mn = (C0698Mn) objArr[0];
|
|
int i5 = 2 % 2;
|
|
int i6 = g;
|
|
int i7 = i6 + 7;
|
|
i = i7 % 128;
|
|
int i8 = i7 % 2;
|
|
if (c0698Mn != null) {
|
|
Object[] objArr2 = new Object[1];
|
|
n(new char[]{24001, 58760}, 1 - (Process.myPid() >> 22), objArr2);
|
|
return Boolean.valueOf(((String) objArr2[0]).intern().equals(c0698Mn.c));
|
|
}
|
|
int i9 = i6 + 79;
|
|
i = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
return false;
|
|
}
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0026 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001e */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0026 -> 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(int r6, short r7, short r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r7 = r7 * 2
|
|
int r7 = 2 - r7
|
|
int r8 = r8 * 3
|
|
int r8 = r8 + 1
|
|
byte[] r0 = o.C16928sV.$$d
|
|
int r6 = r6 + 66
|
|
byte[] r1 = new byte[r8]
|
|
r2 = 0
|
|
if (r0 != 0) goto L14
|
|
r3 = r7
|
|
r4 = r2
|
|
goto L2c
|
|
L14:
|
|
r3 = r2
|
|
L15:
|
|
int r7 = r7 + 1
|
|
byte r4 = (byte) r6
|
|
r1[r3] = r4
|
|
int r3 = r3 + 1
|
|
if (r3 != r8) goto L26
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r1, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L26:
|
|
r4 = r0[r7]
|
|
r5 = r3
|
|
r3 = r7
|
|
r7 = r4
|
|
r4 = r5
|
|
L2c:
|
|
int r7 = -r7
|
|
int r6 = r6 + r7
|
|
r7 = r3
|
|
r3 = r4
|
|
goto L15
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16928sV.q(int, short, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C16928sV(Resources resources, SharedPreferences sharedPreferences, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
}
|
|
|
|
public final String d(C0698Mn c0698Mn) {
|
|
int i2 = 2 % 2;
|
|
if (!b(c0698Mn)) {
|
|
if (a(c0698Mn)) {
|
|
int i3 = g + 53;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
return e(C15715hv.tOB.etb_success_saving);
|
|
}
|
|
int i4 = 32 / 0;
|
|
return e(C15715hv.tOB.etb_success_saving);
|
|
}
|
|
return e(C15715hv.tOB.etb_success_contractual);
|
|
}
|
|
int i5 = g + 105;
|
|
i = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return e(C15715hv.tOB.etb_success_fixed);
|
|
}
|
|
e(C15715hv.tOB.etb_success_fixed);
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
public final C0709Mu c(C0708Mt c0708Mt) {
|
|
int i2 = 2 % 2;
|
|
int i3 = g + 23;
|
|
i = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
if (TextUtils.isEmpty(c0708Mt.l)) {
|
|
c0708Mt.l = String.valueOf(System.currentTimeMillis());
|
|
int i4 = g + 33;
|
|
i = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
C0709Mu c0709Mu = new C0709Mu();
|
|
c0709Mu.a = c0708Mt.g;
|
|
c0709Mu.g = String.format(e(C15715hv.tOB.etb_review_info_ref_id), c0708Mt.l);
|
|
c0709Mu.c = c0708Mt.b;
|
|
c0709Mu.b = c(c0708Mt.c, false);
|
|
c0709Mu.d = c0708Mt.a;
|
|
c0709Mu.j = c0708Mt.f;
|
|
c0709Mu.i = c0708Mt.h;
|
|
c0709Mu.h = c0708Mt.i;
|
|
return c0709Mu;
|
|
}
|
|
TextUtils.isEmpty(c0708Mt.l);
|
|
throw null;
|
|
}
|
|
|
|
public final List<C0704Mr> d(C0710Mv c0710Mv, String str) {
|
|
int i2 = 2 % 2;
|
|
ArrayList arrayList = new ArrayList();
|
|
C0704Mr d2 = C0704Mr.d();
|
|
d2.g = e(C15715hv.tOB.etb_review_info_opening_deposit_index_1_title);
|
|
String str2 = null;
|
|
if (str != null) {
|
|
int i3 = i + 7;
|
|
g = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
b_(str);
|
|
throw null;
|
|
}
|
|
str2 = b_(str);
|
|
int i4 = i + 57;
|
|
g = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
d2.c = str2;
|
|
d2.a = c0710Mv.p;
|
|
d2.d = c(c0710Mv.s, true);
|
|
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 boolean b(C0698Mn c0698Mn) {
|
|
int i2 = 2 % 2;
|
|
int i3 = i + 109;
|
|
int i4 = i3 % 128;
|
|
g = i4;
|
|
Object obj = null;
|
|
if (i3 % 2 != 0) {
|
|
throw null;
|
|
}
|
|
if (c0698Mn != null) {
|
|
Object[] objArr = new Object[1];
|
|
n(new char[]{13786, 35217}, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 1, objArr);
|
|
return ((String) objArr[0]).intern().equals(c0698Mn.c);
|
|
}
|
|
int i5 = i4 + 113;
|
|
i = i5 % 128;
|
|
if (i5 % 2 != 0) {
|
|
return false;
|
|
}
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
/* 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[]{40978, 39232}, 1 - (android.media.AudioTrack.getMinVolume() > com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 1 : (android.media.AudioTrack.getMinVolume() == com.google.android.gms.maps.model.BitmapDescriptorFactory.HUE_RED ? 0 : -1)), r4);
|
|
r5 = ((java.lang.String) r4[0]).intern().equals(r5.c);
|
|
r1 = o.C16928sV.g + 3;
|
|
o.C16928sV.i = 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 a(o.C0698Mn r5) {
|
|
/*
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C16928sV.g
|
|
int r1 = r1 + 57
|
|
int r2 = r1 % 128
|
|
o.C16928sV.i = r2
|
|
int r1 = r1 % r0
|
|
r2 = 0
|
|
if (r1 != 0) goto L15
|
|
r1 = 98
|
|
int r1 = r1 / r2
|
|
if (r5 != 0) goto L18
|
|
goto L17
|
|
L15:
|
|
if (r5 != 0) goto L18
|
|
L17:
|
|
return r2
|
|
L18:
|
|
char[] r1 = new char[r0]
|
|
r1 = {x0044: FILL_ARRAY_DATA , data: [-24558, -26304} // fill-array
|
|
float r3 = android.media.AudioTrack.getMinVolume()
|
|
r4 = 0
|
|
int r3 = (r3 > r4 ? 1 : (r3 == r4 ? 0 : -1))
|
|
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.C16928sV.g
|
|
int r1 = r1 + 3
|
|
int r2 = r1 % 128
|
|
o.C16928sV.i = r2
|
|
int r1 = r1 % r0
|
|
return r5
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16928sV.a(o.Mn):boolean");
|
|
}
|
|
|
|
public final List<C0704Mr> c(C0698Mn c0698Mn, C0710Mv c0710Mv, C0708Mt c0708Mt, String str, String str2) {
|
|
int i2 = 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 i3 = g + 47;
|
|
i = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
b_(str);
|
|
throw null;
|
|
}
|
|
str3 = b_(str);
|
|
}
|
|
d2.c = str3;
|
|
d2.a = c0710Mv.i;
|
|
d2.d = c(c0710Mv.j, true);
|
|
arrayList.add(d2);
|
|
if (((Boolean) b(new Object[]{c0698Mn}, 706837949, -706837949, (int) System.currentTimeMillis())).booleanValue()) {
|
|
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);
|
|
d4.a = String.format(e(C15715hv.tOB.etb_success_info_monthly_deduction_index_3_detail), cXG.VK_(this.e, c0708Mt.j), c0710Mv.g);
|
|
String e = e(C15715hv.tOB.etb_success_info_monthly_deduction_index_3_sub);
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(c0710Mv.h);
|
|
sb.append(d(c0710Mv.h, str2));
|
|
d4.d = String.format(e, sb.toString(), Integer.valueOf(c0710Mv.f));
|
|
arrayList.add(d4);
|
|
int i4 = g + 41;
|
|
i = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
int i5 = 3 % 3;
|
|
}
|
|
}
|
|
return arrayList;
|
|
}
|
|
|
|
private static void n(char[] cArr, int i2, Object[] objArr) {
|
|
int i3 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
int i4 = 0;
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
while (jtb.b < cArr.length) {
|
|
int i5 = $10 + 99;
|
|
$11 = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
cArr3[i4] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i7 = 58224;
|
|
int i8 = i4;
|
|
while (i8 < 16) {
|
|
int i9 = $10 + 23;
|
|
$11 = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
char c = cArr3[1];
|
|
char c2 = cArr3[i4];
|
|
int i11 = i8;
|
|
int i12 = (c2 + i7) ^ ((c2 << 4) + ((char) (b ^ 41718355337583039L)));
|
|
int i13 = c2 >>> 5;
|
|
try {
|
|
Object[] objArr2 = new Object[4];
|
|
objArr2[3] = Integer.valueOf(h);
|
|
objArr2[2] = Integer.valueOf(i13);
|
|
objArr2[1] = Integer.valueOf(i12);
|
|
objArr2[i4] = Integer.valueOf(c);
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(412 - Drawable.resolveOpacity(i4, i4), (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)) + 5, (char) View.resolveSize(i4, i4));
|
|
byte b2 = (byte) $$e;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
q(b2, b3, b3, objArr3);
|
|
String str = (String) objArr3[i4];
|
|
Class<?>[] clsArr = new Class[4];
|
|
clsArr[i4] = Integer.TYPE;
|
|
clsArr[1] = Integer.TYPE;
|
|
clsArr[2] = Integer.TYPE;
|
|
clsArr[3] = Integer.TYPE;
|
|
obj = cls.getMethod(str, clsArr);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr3[1] = charValue;
|
|
char[] cArr4 = cArr3;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[i4]), Integer.valueOf((charValue + i7) ^ ((charValue << 4) + ((char) (a ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(d)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(412 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), 5 - (Process.myPid() >> 22), (char) (ViewConfiguration.getDoubleTapTimeout() >> 16));
|
|
byte b4 = (byte) $$e;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
q(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj2);
|
|
}
|
|
cArr4[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
i7 -= 40503;
|
|
i8 = i11 + 1;
|
|
cArr3 = cArr4;
|
|
i4 = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr5 = cArr3;
|
|
cArr2[jtb.b] = cArr5[0];
|
|
cArr2[jtb.b + 1] = cArr5[1];
|
|
Object[] objArr6 = {jtb, jtb};
|
|
Object obj3 = xzZ.y.get(943004485);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(98 - KeyEvent.keyCodeFromString(""), View.resolveSizeAndState(0, 0, 0) + 5, (char) ((-1) - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))));
|
|
int i14 = $$e;
|
|
byte b6 = (byte) (i14 + 1);
|
|
byte b7 = (byte) i14;
|
|
Object[] objArr7 = new Object[1];
|
|
q(b6, b7, b7, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
int i15 = $10 + 95;
|
|
$11 = i15 % 128;
|
|
int i16 = i15 % 2;
|
|
cArr3 = cArr5;
|
|
i4 = 0;
|
|
}
|
|
String str2 = new String(cArr2, 0, i2);
|
|
int i17 = $10 + 29;
|
|
$11 = i17 % 128;
|
|
if (i17 % 2 == 0) {
|
|
throw null;
|
|
}
|
|
objArr[0] = str2;
|
|
}
|
|
|
|
private static String d(int i2, String str) {
|
|
int i3 = 2 % 2;
|
|
int i4 = i + 11;
|
|
g = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
if (i2 == 0 || "th".equals(str)) {
|
|
return "";
|
|
}
|
|
int i6 = i + 59;
|
|
int i7 = i6 % 128;
|
|
g = i7;
|
|
if (i6 % 2 != 0) {
|
|
if (i2 == 1) {
|
|
return "st";
|
|
}
|
|
} else if (i2 == 1) {
|
|
return "st";
|
|
}
|
|
if (i2 == 21 || i2 == 31) {
|
|
return "st";
|
|
}
|
|
if (i2 == 2 || i2 == 22) {
|
|
return "nd";
|
|
}
|
|
int i8 = i7 + 95;
|
|
i = i8 % 128;
|
|
if (i8 % 2 == 0) {
|
|
if (i2 == 3) {
|
|
return "rd";
|
|
}
|
|
} else if (i2 == 3) {
|
|
return "rd";
|
|
}
|
|
int i9 = i7 + 61;
|
|
int i10 = i9 % 128;
|
|
i = i10;
|
|
int i11 = i9 % 2;
|
|
if (i2 == 23) {
|
|
return "rd";
|
|
}
|
|
int i12 = i10 + 21;
|
|
g = i12 % 128;
|
|
if (i12 % 2 == 0) {
|
|
return "th";
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
private static boolean e(C0698Mn c0698Mn) {
|
|
return ((Boolean) b(new Object[]{c0698Mn}, 706837949, -706837949, (int) System.currentTimeMillis())).booleanValue();
|
|
}
|
|
}
|