506 lines
16 KiB
Java
506 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.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 net.sf.scuba.smartcards.ISO7816;
|
|
import o.C15715hv;
|
|
|
|
/* renamed from: o.sN, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16912sN extends BaseAssetsDisplayMapper {
|
|
private static final byte[] $$d = {104, ISO7816.INS_READ_BINARY2, -113, -112};
|
|
private static final int $$e = 84;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int b = 0;
|
|
private static int a = 1;
|
|
private static long d = -7235180611451580729L;
|
|
|
|
/* 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: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 n(byte r6, short r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 * 3
|
|
int r8 = 4 - r8
|
|
byte[] r0 = o.C16912sN.$$d
|
|
int r6 = 78 - r6
|
|
int r7 = r7 * 4
|
|
int r1 = r7 + 1
|
|
byte[] r1 = new byte[r1]
|
|
r2 = 0
|
|
if (r0 != 0) goto L15
|
|
r4 = r7
|
|
r6 = r8
|
|
r3 = r2
|
|
goto L2a
|
|
L15:
|
|
r3 = r2
|
|
r5 = r8
|
|
r8 = r6
|
|
r6 = r5
|
|
L19:
|
|
byte r4 = (byte) r8
|
|
r1[r3] = r4
|
|
if (r3 != r7) goto L26
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r1, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L26:
|
|
int r3 = r3 + 1
|
|
r4 = r0[r6]
|
|
L2a:
|
|
int r8 = r8 + r4
|
|
int r6 = r6 + 1
|
|
goto L19
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16912sN.n(byte, short, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C16912sN(Resources resources, SharedPreferences sharedPreferences, String str) {
|
|
super(resources, sharedPreferences, str);
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:10:0x003e, code lost:
|
|
|
|
r4 = new java.lang.StringBuilder();
|
|
r4.append(r1);
|
|
r4.append(" ");
|
|
r4.append(r5);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:?, code lost:
|
|
|
|
return r4.toString();
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x003c, code lost:
|
|
|
|
if (android.text.TextUtils.isEmpty(r4) != false) goto L11;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:6:0x002b, code lost:
|
|
|
|
if (android.text.TextUtils.isEmpty(r4) != false) goto L11;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:7:0x0051, code lost:
|
|
|
|
r1 = new java.lang.StringBuilder();
|
|
r1.append(r4);
|
|
r1.append(" ");
|
|
r1.append(r5);
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:?, code lost:
|
|
|
|
return r1.toString();
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static java.lang.String d(o.C17480xBa r4, boolean r5) {
|
|
/*
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C16912sN.a
|
|
int r2 = r1 + 113
|
|
int r3 = r2 % 128
|
|
o.C16912sN.b = r3
|
|
int r2 = r2 % r0
|
|
if (r4 == 0) goto L64
|
|
int r1 = r1 + 51
|
|
int r2 = r1 % 128
|
|
o.C16912sN.b = r2
|
|
int r1 = r1 % r0
|
|
java.lang.String r0 = " "
|
|
if (r1 == 0) goto L2e
|
|
java.lang.String r1 = r4.b
|
|
java.lang.String r5 = c(r1, r5)
|
|
java.lang.String r1 = r4.k
|
|
java.lang.String r4 = r4.h
|
|
boolean r2 = android.text.TextUtils.isEmpty(r4)
|
|
r3 = 61
|
|
int r3 = r3 / 0
|
|
if (r2 == 0) goto L51
|
|
goto L3e
|
|
L2e:
|
|
java.lang.String r1 = r4.b
|
|
java.lang.String r5 = c(r1, r5)
|
|
java.lang.String r1 = r4.k
|
|
java.lang.String r4 = r4.h
|
|
boolean r2 = android.text.TextUtils.isEmpty(r4)
|
|
if (r2 == 0) goto L51
|
|
L3e:
|
|
java.lang.StringBuilder r4 = new java.lang.StringBuilder
|
|
r4.<init>()
|
|
r4.append(r1)
|
|
r4.append(r0)
|
|
r4.append(r5)
|
|
java.lang.String r4 = r4.toString()
|
|
goto L6d
|
|
L51:
|
|
java.lang.StringBuilder r1 = new java.lang.StringBuilder
|
|
r1.<init>()
|
|
r1.append(r4)
|
|
r1.append(r0)
|
|
r1.append(r5)
|
|
java.lang.String r4 = r1.toString()
|
|
goto L6d
|
|
L64:
|
|
int r1 = r1 + 87
|
|
int r4 = r1 % 128
|
|
o.C16912sN.b = r4
|
|
int r1 = r1 % r0
|
|
java.lang.String r4 = ""
|
|
L6d:
|
|
return r4
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16912sN.d(o.xBa, boolean):java.lang.String");
|
|
}
|
|
|
|
public static C0710Mv b(C17167uTB c17167uTB, C0698Mn c0698Mn) {
|
|
int i = 2 % 2;
|
|
int i2 = b;
|
|
int i3 = i2 + 101;
|
|
a = i3 % 128;
|
|
Object obj = null;
|
|
if (i3 % 2 == 0) {
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
if (c17167uTB != null) {
|
|
C0710Mv c = C0710Mv.c();
|
|
a(c17167uTB, c);
|
|
d(new Object[]{c17167uTB, c, c0698Mn});
|
|
c(c17167uTB, c);
|
|
c.d = c17167uTB.d;
|
|
return c;
|
|
}
|
|
int i4 = i2 + 113;
|
|
a = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return null;
|
|
}
|
|
|
|
private static void a(C17167uTB c17167uTB, C0710Mv c0710Mv) {
|
|
int i = 2 % 2;
|
|
if (c17167uTB.b != null) {
|
|
MGm mGm = c17167uTB.b;
|
|
c0710Mv.a = mGm.d;
|
|
c0710Mv.k = mGm.d;
|
|
c0710Mv.m = mGm.e;
|
|
e(mGm.a, c0710Mv);
|
|
}
|
|
if (c17167uTB.a != null) {
|
|
int i2 = b + 67;
|
|
a = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
GuO guO = c17167uTB.a;
|
|
c0710Mv.b = guO.d;
|
|
c0710Mv.f8279o = guO.c;
|
|
int i4 = a + 97;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
}
|
|
|
|
private static void q(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;
|
|
int i3 = $11 + 75;
|
|
$10 = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
while (c4593bdB.e < cArr.length) {
|
|
int i5 = 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(401 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - (ViewConfiguration.getEdgeSlop() >> 16), (char) ((ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)) + 21608));
|
|
byte b2 = (byte) 1;
|
|
byte b3 = (byte) (b2 - 1);
|
|
Object[] objArr3 = new Object[1];
|
|
n(b2, b3, b3, objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Object.class, Object.class);
|
|
xzZ.y.put(-1229953068, obj);
|
|
}
|
|
jArr[i5] = ((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((Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)) + 237, 5 - Color.red(0), (char) View.getDefaultSize(0, 0));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
n(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(-1143917229, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
char[] cArr2 = new char[length];
|
|
c4593bdB.e = 0;
|
|
int i6 = $11 + 27;
|
|
$10 = i6 % 128;
|
|
if (i6 % 2 != 0) {
|
|
int i7 = 2 % 3;
|
|
}
|
|
while (c4593bdB.e < cArr.length) {
|
|
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(238 - Color.red(0), Color.argb(0, 0, 0, 0) + 5, (char) TextUtils.getCapsMode("", 0, 0));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr7 = new Object[1];
|
|
n(b6, b7, b7, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(-1143917229, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
int i8 = $11 + 85;
|
|
$10 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
|
|
private static void e(C17664yjs c17664yjs, C0710Mv c0710Mv) {
|
|
int i = 2 % 2;
|
|
if (c17664yjs != null) {
|
|
int i2 = a + 51;
|
|
b = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
c0710Mv.n = c17664yjs.c;
|
|
int i4 = a + 59;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static /* synthetic */ Object d(Object[] objArr) {
|
|
C17167uTB c17167uTB = (C17167uTB) objArr[0];
|
|
C0710Mv c0710Mv = (C0710Mv) objArr[1];
|
|
C0698Mn c0698Mn = (C0698Mn) objArr[2];
|
|
int i = 2 % 2;
|
|
Object obj = null;
|
|
if (c17167uTB.j != null) {
|
|
int i2 = a + 117;
|
|
b = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
MGm mGm = c17167uTB.j;
|
|
c0710Mv.p = mGm.d;
|
|
c0710Mv.s = mGm.e;
|
|
c0710Mv.l = mGm.b.doubleValue();
|
|
c0710Mv.q = c17167uTB.c;
|
|
} else {
|
|
MGm mGm2 = c17167uTB.j;
|
|
c0710Mv.p = mGm2.d;
|
|
c0710Mv.s = mGm2.e;
|
|
c0710Mv.l = mGm2.b.doubleValue();
|
|
c0710Mv.q = c17167uTB.c;
|
|
throw null;
|
|
}
|
|
}
|
|
if (c17167uTB.a != null) {
|
|
q(new char[]{40243}, Color.argb(0, 0, 0, 0) + 34171, new Object[1]);
|
|
if (!(!((String) r7[0]).intern().equals(c0698Mn.c))) {
|
|
int i3 = b + 9;
|
|
a = i3 % 128;
|
|
if (i3 % 2 != 0) {
|
|
GuO guO = c17167uTB.a;
|
|
c0710Mv.b = guO.b;
|
|
c0710Mv.f8279o = guO.d;
|
|
} else {
|
|
GuO guO2 = c17167uTB.a;
|
|
c0710Mv.b = guO2.b;
|
|
c0710Mv.f8279o = guO2.d;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
}
|
|
}
|
|
return null;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:18:0x001c, code lost:
|
|
|
|
r1 = o.C16912sN.a + 7;
|
|
o.C16912sN.b = r1 % 128;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:19:0x0025, code lost:
|
|
|
|
if ((r1 % 2) != 0) goto L12;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:20:0x0027, code lost:
|
|
|
|
r1 = r4.b;
|
|
r5.i = r1.d;
|
|
r5.j = r1.e;
|
|
r5.j = r1.e;
|
|
r5.h = r1.c;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:21:0x003a, code lost:
|
|
|
|
r4 = r4.b;
|
|
r5.i = r4.d;
|
|
r5.j = r4.e;
|
|
r5.j = r4.e;
|
|
r5.h = r4.c;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:22:0x004c, code lost:
|
|
|
|
throw null;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:24:0x001a, code lost:
|
|
|
|
if (r4.b != null) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0015, code lost:
|
|
|
|
if (r4.b != null) goto L9;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private static void c(o.C17167uTB r4, o.C0710Mv r5) {
|
|
/*
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C16912sN.a
|
|
int r1 = r1 + 1
|
|
int r2 = r1 % 128
|
|
o.C16912sN.b = r2
|
|
int r1 = r1 % r0
|
|
r2 = 0
|
|
if (r1 == 0) goto L18
|
|
o.MGm r1 = r4.b
|
|
r3 = 72
|
|
int r3 = r3 / 0
|
|
if (r1 == 0) goto L4d
|
|
goto L1c
|
|
L18:
|
|
o.MGm r1 = r4.b
|
|
if (r1 == 0) goto L4d
|
|
L1c:
|
|
int r1 = o.C16912sN.a
|
|
int r1 = r1 + 7
|
|
int r3 = r1 % 128
|
|
o.C16912sN.b = r3
|
|
int r1 = r1 % r0
|
|
if (r1 != 0) goto L3a
|
|
o.MGm r1 = r4.b
|
|
java.lang.String r3 = r1.d
|
|
r5.i = r3
|
|
java.lang.String r3 = r1.e
|
|
r5.j = r3
|
|
java.lang.String r3 = r1.e
|
|
r5.j = r3
|
|
int r1 = r1.c
|
|
r5.h = r1
|
|
goto L4d
|
|
L3a:
|
|
o.MGm r4 = r4.b
|
|
java.lang.String r0 = r4.d
|
|
r5.i = r0
|
|
java.lang.String r0 = r4.e
|
|
r5.j = r0
|
|
java.lang.String r0 = r4.e
|
|
r5.j = r0
|
|
int r4 = r4.c
|
|
r5.h = r4
|
|
throw r2
|
|
L4d:
|
|
o.MGm r1 = r4.j
|
|
if (r1 == 0) goto L72
|
|
int r1 = o.C16912sN.a
|
|
int r1 = r1 + 91
|
|
int r3 = r1 % 128
|
|
o.C16912sN.b = r3
|
|
int r1 = r1 % r0
|
|
if (r1 != 0) goto L67
|
|
o.MGm r1 = r4.j
|
|
java.lang.Double r1 = r1.b
|
|
double r1 = r1.doubleValue()
|
|
r5.c = r1
|
|
goto L72
|
|
L67:
|
|
o.MGm r4 = r4.j
|
|
java.lang.Double r4 = r4.b
|
|
double r0 = r4.doubleValue()
|
|
r5.c = r0
|
|
throw r2
|
|
L72:
|
|
o.GuO r1 = r4.a
|
|
if (r1 == 0) goto L89
|
|
o.GuO r4 = r4.a
|
|
java.lang.String r1 = r4.c
|
|
r5.g = r1
|
|
int r4 = r4.e
|
|
r5.f = r4
|
|
int r4 = o.C16912sN.b
|
|
int r4 = r4 + 49
|
|
int r5 = r4 % 128
|
|
o.C16912sN.a = r5
|
|
int r4 = r4 % r0
|
|
L89:
|
|
return
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16912sN.c(o.uTB, o.Mv):void");
|
|
}
|
|
|
|
public final String c(int i, int i2) {
|
|
int i3 = 2 % 2;
|
|
int i4 = a + 1;
|
|
b = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
String format = String.format(e(C15715hv.tOB.two_words_with_separator), c(Double.valueOf(i)), c(Double.valueOf(i2)));
|
|
int i6 = b + 125;
|
|
a = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
return format;
|
|
}
|
|
|
|
public final String b(int i) {
|
|
int i2 = 2 % 2;
|
|
int i3 = b + 61;
|
|
a = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
String c = c(C15715hv.tOB.etb_set_detail_limit_incremental, Integer.valueOf(i));
|
|
int i5 = b + 51;
|
|
a = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return c;
|
|
}
|
|
|
|
private static void b(C17167uTB c17167uTB, C0710Mv c0710Mv, C0698Mn c0698Mn) {
|
|
Object[] objArr = {c17167uTB, c0710Mv, c0698Mn};
|
|
d(objArr);
|
|
}
|
|
}
|