383 lines
14 KiB
Java
383 lines
14 KiB
Java
package o;
|
|
|
|
import android.content.SharedPreferences;
|
|
import android.content.res.Resources;
|
|
import android.graphics.Color;
|
|
import android.os.Process;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.text.TextUtils;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import java.lang.reflect.Method;
|
|
import java.util.Arrays;
|
|
import o.C15715hv;
|
|
|
|
/* renamed from: o.nw, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16398nw extends C16386nr {
|
|
private static char[] a;
|
|
private static int b;
|
|
private final xZj d;
|
|
private static final byte[] $$d = {45, 6, -13, -19};
|
|
private static final int $$e = 76;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int h = 1;
|
|
|
|
/* 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:0x002b). 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 r5, int r6, short r7, java.lang.Object[] r8) {
|
|
/*
|
|
int r5 = r5 * 3
|
|
int r0 = 1 - r5
|
|
int r7 = r7 * 2
|
|
int r7 = 73 - r7
|
|
int r6 = r6 * 2
|
|
int r6 = 4 - r6
|
|
byte[] r1 = o.C16398nw.$$d
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r5 = 0 - r5
|
|
if (r1 != 0) goto L19
|
|
r7 = r5
|
|
r4 = r6
|
|
r3 = r2
|
|
goto L2b
|
|
L19:
|
|
r3 = r2
|
|
L1a:
|
|
byte r4 = (byte) r7
|
|
r0[r3] = r4
|
|
if (r3 != r5) goto L27
|
|
java.lang.String r5 = new java.lang.String
|
|
r5.<init>(r0, r2)
|
|
r8[r2] = r5
|
|
return
|
|
L27:
|
|
r4 = r1[r6]
|
|
int r3 = r3 + 1
|
|
L2b:
|
|
int r6 = r6 + 1
|
|
int r7 = r7 + r4
|
|
goto L1a
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16398nw.q(int, int, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
|
@InterfaceC13391fZD
|
|
public C16398nw(Resources resources, SharedPreferences sharedPreferences, xZj xzj) {
|
|
super(resources, sharedPreferences);
|
|
C14957gcv.e(xzj, "");
|
|
this.d = xzj;
|
|
}
|
|
|
|
/* renamed from: o.nw$RVV */
|
|
/* loaded from: classes3.dex */
|
|
public static final class RVV {
|
|
private RVV() {
|
|
}
|
|
|
|
public /* synthetic */ RVV(byte b) {
|
|
this();
|
|
}
|
|
}
|
|
|
|
public final GR d(GR gr, C6357cQd c6357cQd, boolean z) {
|
|
String obj;
|
|
int i = 2 % 2;
|
|
C14957gcv.e(gr, "");
|
|
C14957gcv.e(c6357cQd, "");
|
|
boolean e = this.d.e();
|
|
GR gr2 = new GR((byte) 0);
|
|
gr2.b = gr.b;
|
|
gr2.c = gr.c;
|
|
gr2.p = gr.p;
|
|
gr2.q = gr.q;
|
|
gr2.s = c(gr.q, z);
|
|
gr2.e = (String) C6583cXR.c(new Object[]{Double.valueOf(c6357cQd.a)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
NYU nyu = c6357cQd.d;
|
|
gcH gch = gcH.d;
|
|
String str = nyu.d;
|
|
Object[] objArr = new Object[1];
|
|
n(new byte[]{0}, new int[]{0, 1, 0, 0}, true, objArr);
|
|
String format = String.format("%s %s", Arrays.copyOf(new Object[]{gjJ.e(str, ((String) objArr[0]).intern()), this.e.getString(C15715hv.tOB.month_label)}, 2));
|
|
C14957gcv.c((Object) format, "");
|
|
gr2.d = format;
|
|
gr2.v = (String) C6583cXR.c(new Object[]{Double.valueOf(nyu.h)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
gr2.u = (String) C6583cXR.c(new Object[]{Double.valueOf(nyu.i)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
gr2.w = (String) C6583cXR.c(new Object[]{Double.valueOf(nyu.c)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
gr2.m = (String) C6583cXR.c(new Object[]{Double.valueOf(nyu.b)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
gr2.r = "";
|
|
gr2.j = b(gr.h, gr.n, c6357cQd.d.a);
|
|
if (gr2.j) {
|
|
String str2 = c6357cQd.d.e;
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(str2);
|
|
sb.append("%");
|
|
obj = sb.toString();
|
|
} else {
|
|
String str3 = c6357cQd.d.f;
|
|
StringBuilder sb2 = new StringBuilder();
|
|
sb2.append(str3);
|
|
sb2.append("%");
|
|
obj = sb2.toString();
|
|
}
|
|
gr2.f = obj;
|
|
gr2.C = c6357cQd.c;
|
|
gr2.a = gr.a;
|
|
gr2.i = gr.i;
|
|
gr2.y = gr.y;
|
|
gr2.x = gr.x;
|
|
gr2.k = gr.k;
|
|
gr2.l = gr.l;
|
|
gr2.g = Boolean.valueOf(e(e, c6357cQd.c, gr.l));
|
|
gr2.h = gr.h;
|
|
gr2.n = gr.n;
|
|
int i2 = b + 57;
|
|
h = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
return gr2;
|
|
}
|
|
throw null;
|
|
}
|
|
|
|
public final GP e(GP gp, RkK rkK, boolean z) {
|
|
int i = 2 % 2;
|
|
C14957gcv.e(gp, "");
|
|
C14957gcv.e(rkK, "");
|
|
GP gp2 = new GP((byte) 0);
|
|
gp2.h = gp.h;
|
|
gp2.c = gp.c;
|
|
gp2.m = gp.m;
|
|
gp2.n = gp.n;
|
|
gp2.l = c(gp.n, z);
|
|
gp2.k = (String) C6583cXR.c(new Object[]{Double.valueOf(rkK.d)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
C2417aeH c2417aeH = rkK.b;
|
|
gp2.a = (String) C6583cXR.c(new Object[]{Double.valueOf(c2417aeH.d)}, -150997759, 150997764, (int) System.currentTimeMillis());
|
|
String string = this.e.getString(C15715hv.tOB.up_to_interest_rate, Integer.valueOf((int) c2417aeH.a));
|
|
StringBuilder sb = new StringBuilder();
|
|
sb.append(string);
|
|
sb.append("%");
|
|
gp2.b = sb.toString();
|
|
gp2.f8180o = "";
|
|
gp2.e = gp.e;
|
|
gp2.j = gp.j;
|
|
gp2.f = gp.f;
|
|
int i2 = b + 21;
|
|
h = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
return gp2;
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:11:0x003a, code lost:
|
|
|
|
return !o.C14957gcv.b((java.lang.Object) r4, (java.lang.Object) "EFFECTIVE_RATE");
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:13:0x001f, code lost:
|
|
|
|
if (o.C14957gcv.b((java.lang.Object) r5, (java.lang.Object) "CDX") != false) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0018, code lost:
|
|
|
|
if (o.C14957gcv.b((java.lang.Object) r5, (java.lang.Object) "CDX") != false) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:8:0x0021, code lost:
|
|
|
|
r5 = o.C16398nw.h + 47;
|
|
o.C16398nw.b = r5 % 128;
|
|
r5 = r5 % 2;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:9:0x0030, code lost:
|
|
|
|
if (r3.d.d() == false) goto L13;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
private final boolean b(java.lang.String r4, java.lang.String r5, java.lang.String r6) {
|
|
/*
|
|
r3 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C16398nw.h
|
|
int r1 = r1 + 3
|
|
int r2 = r1 % 128
|
|
o.C16398nw.b = r2
|
|
int r1 = r1 % r0
|
|
java.lang.String r2 = "CDX"
|
|
if (r1 == 0) goto L1b
|
|
boolean r5 = o.C14957gcv.b(r5, r2)
|
|
r1 = 81
|
|
int r1 = r1 / 0
|
|
if (r5 == 0) goto L3b
|
|
goto L21
|
|
L1b:
|
|
boolean r5 = o.C14957gcv.b(r5, r2)
|
|
if (r5 == 0) goto L3b
|
|
L21:
|
|
int r5 = o.C16398nw.h
|
|
int r5 = r5 + 47
|
|
int r1 = r5 % 128
|
|
o.C16398nw.b = r1
|
|
int r5 = r5 % r0
|
|
o.xZj r5 = r3.d
|
|
boolean r5 = r5.d()
|
|
if (r5 == 0) goto L3b
|
|
java.lang.String r5 = "EFFECTIVE_RATE"
|
|
boolean r4 = o.C14957gcv.b(r4, r5)
|
|
r4 = r4 ^ 1
|
|
return r4
|
|
L3b:
|
|
boolean r4 = o.C2974aoj.c(r6)
|
|
return r4
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16398nw.b(java.lang.String, java.lang.String, java.lang.String):boolean");
|
|
}
|
|
|
|
private static void n(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
|
char[] cArr;
|
|
int i = 2 % 2;
|
|
TVH tvh = new TVH();
|
|
int i2 = 0;
|
|
int i3 = iArr[0];
|
|
int i4 = iArr[1];
|
|
int i5 = iArr[2];
|
|
int i6 = iArr[3];
|
|
char[] cArr2 = a;
|
|
if (cArr2 != null) {
|
|
int length = cArr2.length;
|
|
char[] cArr3 = new char[length];
|
|
int i7 = 0;
|
|
while (i7 < length) {
|
|
try {
|
|
Object[] objArr2 = new Object[1];
|
|
objArr2[i2] = Integer.valueOf(cArr2[i7]);
|
|
Object obj = xzZ.y.get(1645349359);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(Color.red(i2) + 223, (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 5, (char) (41977 - ExpandableListView.getPackedPositionType(0L)));
|
|
byte b2 = (byte) i2;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
q(b2, b3, (byte) (b3 + 1), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1645349359, obj);
|
|
}
|
|
cArr3[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
i7++;
|
|
i2 = 0;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2 = cArr3;
|
|
}
|
|
char[] cArr4 = new char[i4];
|
|
System.arraycopy(cArr2, i3, cArr4, 0, i4);
|
|
if (bArr != null) {
|
|
char[] cArr5 = new char[i4];
|
|
tvh.c = 0;
|
|
char c = 0;
|
|
while (tvh.c < i4) {
|
|
if (bArr[tvh.c] == 1) {
|
|
int i8 = tvh.c;
|
|
Object[] objArr4 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
|
|
Object obj2 = xzZ.y.get(850398076);
|
|
if (obj2 == null) {
|
|
obj2 = ((Class) xzZ.c(Process.getGidForName("") + 503, (ViewConfiguration.getScrollBarSize() >> 8) + 5, (char) (54 - Color.alpha(0)))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(850398076, obj2);
|
|
}
|
|
cArr5[i8] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
} else {
|
|
int i9 = tvh.c;
|
|
Object[] objArr5 = {Integer.valueOf(cArr4[tvh.c]), Integer.valueOf(c)};
|
|
Object obj3 = xzZ.y.get(1084521042);
|
|
if (obj3 == null) {
|
|
obj3 = ((Class) xzZ.c(TextUtils.getCapsMode("", 0, 0) + 15, 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) (58133 - TextUtils.lastIndexOf("", '0', 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(1084521042, obj3);
|
|
}
|
|
cArr5[i9] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
|
}
|
|
c = cArr5[tvh.c];
|
|
Object[] objArr6 = {tvh, tvh};
|
|
Object obj4 = xzZ.y.get(1698744941);
|
|
if (obj4 == null) {
|
|
Class cls2 = (Class) xzZ.c(402 - Color.green(0), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 21608));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr7 = new Object[1];
|
|
q(b4, b5, b5, objArr7);
|
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1698744941, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr6);
|
|
}
|
|
int i10 = $10 + 77;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
cArr4 = cArr5;
|
|
}
|
|
if (i6 > 0) {
|
|
char[] cArr6 = new char[i4];
|
|
System.arraycopy(cArr4, 0, cArr6, 0, i4);
|
|
int i12 = i4 - i6;
|
|
System.arraycopy(cArr6, 0, cArr4, i12, i6);
|
|
System.arraycopy(cArr6, i6, cArr4, 0, i12);
|
|
}
|
|
if (z) {
|
|
int i13 = $11 + 113;
|
|
$10 = i13 % 128;
|
|
if (i13 % 2 != 0) {
|
|
cArr = new char[i4];
|
|
tvh.c = 1;
|
|
} else {
|
|
cArr = new char[i4];
|
|
tvh.c = 0;
|
|
}
|
|
int i14 = $11 + 1;
|
|
$10 = i14 % 128;
|
|
int i15 = i14 % 2;
|
|
while (tvh.c < i4) {
|
|
cArr[tvh.c] = cArr4[(i4 - tvh.c) - 1];
|
|
tvh.c++;
|
|
}
|
|
cArr4 = cArr;
|
|
}
|
|
if (i5 > 0) {
|
|
int i16 = 0;
|
|
while (true) {
|
|
tvh.c = i16;
|
|
if (tvh.c >= i4) {
|
|
break;
|
|
}
|
|
cArr4[tvh.c] = (char) (cArr4[tvh.c] - iArr[2]);
|
|
i16 = tvh.c + 1;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr4);
|
|
}
|
|
|
|
static void j() {
|
|
a = new char[]{39955};
|
|
}
|
|
|
|
static {
|
|
b = 0;
|
|
j();
|
|
new RVV((byte) 0);
|
|
int i = h + 15;
|
|
b = i % 128;
|
|
int i2 = i % 2;
|
|
}
|
|
}
|