315 lines
11 KiB
Java
315 lines
11 KiB
Java
package o;
|
|
|
|
import android.graphics.PointF;
|
|
import android.os.Process;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import java.lang.reflect.Method;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
|
|
/* renamed from: o.rO, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C16800rO {
|
|
private final String c = "";
|
|
private static final byte[] $$a = {85, -61, 49, 80};
|
|
private static final int $$b = 40;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int f = 0;
|
|
private static int h = 1;
|
|
private static char b = 38307;
|
|
private static char e = 61725;
|
|
private static char a = 64472;
|
|
private static char d = 58135;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x002e). 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 i(byte r6, int r7, byte r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = 67 - r8
|
|
int r6 = r6 * 3
|
|
int r0 = 1 - r6
|
|
byte[] r1 = o.C16800rO.$$a
|
|
int r7 = r7 * 2
|
|
int r7 = r7 + 4
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L17
|
|
r3 = r8
|
|
r4 = r2
|
|
r8 = r7
|
|
goto L2e
|
|
L17:
|
|
r3 = r2
|
|
L18:
|
|
byte r4 = (byte) r8
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L25
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L25:
|
|
int r3 = r3 + 1
|
|
r4 = r1[r7]
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r4
|
|
r4 = r3
|
|
r3 = r5
|
|
L2e:
|
|
int r7 = -r7
|
|
int r7 = r7 + r3
|
|
int r8 = r8 + 1
|
|
r3 = r4
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
goto L18
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16800rO.i(byte, int, byte, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public C16800rO() {
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:26:0x0024, code lost:
|
|
|
|
r1 = "NCB_CONSENT";
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:28:0x0022, code lost:
|
|
|
|
if (r7.size() == 1) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:4:0x0017, code lost:
|
|
|
|
if (r7.size() == 0) goto L9;
|
|
*/
|
|
/* JADX WARN: Code restructure failed: missing block: B:5:0x0027, code lost:
|
|
|
|
r1 = "CREDIT_POWER_CONSENT";
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public final o.KzX b(java.util.List<o.JM> r7) {
|
|
/*
|
|
r6 = this;
|
|
r0 = 2
|
|
int r1 = r0 % r0
|
|
int r1 = o.C16800rO.h
|
|
int r1 = r1 + 7
|
|
int r2 = r1 % 128
|
|
o.C16800rO.f = r2
|
|
int r1 = r1 % r0
|
|
java.lang.String r2 = ""
|
|
if (r1 == 0) goto L1a
|
|
o.C14957gcv.e(r7, r2)
|
|
int r1 = r7.size()
|
|
if (r1 != 0) goto L27
|
|
goto L24
|
|
L1a:
|
|
o.C14957gcv.e(r7, r2)
|
|
int r1 = r7.size()
|
|
r3 = 1
|
|
if (r1 != r3) goto L27
|
|
L24:
|
|
java.lang.String r1 = "NCB_CONSENT"
|
|
goto L29
|
|
L27:
|
|
java.lang.String r1 = "CREDIT_POWER_CONSENT"
|
|
L29:
|
|
java.lang.Iterable r7 = (java.lang.Iterable) r7
|
|
java.util.ArrayList r3 = new java.util.ArrayList
|
|
o.C14957gcv.e(r7, r2)
|
|
boolean r2 = r7 instanceof java.util.Collection
|
|
if (r2 == 0) goto L4a
|
|
r2 = r7
|
|
java.util.Collection r2 = (java.util.Collection) r2
|
|
int r2 = r2.size()
|
|
int r4 = o.C16800rO.f
|
|
int r4 = r4 + 117
|
|
int r5 = r4 % 128
|
|
o.C16800rO.h = r5
|
|
int r4 = r4 % r0
|
|
if (r4 != 0) goto L4c
|
|
r0 = 5
|
|
int r0 = r0 % 3
|
|
goto L4c
|
|
L4a:
|
|
r2 = 10
|
|
L4c:
|
|
r3.<init>(r2)
|
|
java.util.Collection r3 = (java.util.Collection) r3
|
|
java.util.Iterator r7 = r7.iterator()
|
|
L55:
|
|
boolean r0 = r7.hasNext()
|
|
if (r0 == 0) goto L7f
|
|
java.lang.Object r0 = r7.next()
|
|
o.JM r0 = (o.JM) r0
|
|
o.wLU r2 = new o.wLU
|
|
java.lang.String r4 = r6.c
|
|
java.lang.String r0 = r0.k
|
|
java.lang.String r5 = r6.c
|
|
r2.<init>(r4, r0, r5)
|
|
r3.add(r2)
|
|
int r0 = o.C16800rO.f
|
|
int r0 = r0 + 79
|
|
int r2 = r0 % 128
|
|
o.C16800rO.h = r2
|
|
int r0 = r0 % 2
|
|
if (r0 != 0) goto L55
|
|
r0 = 5
|
|
int r0 = r0 % 3
|
|
goto L55
|
|
L7f:
|
|
java.util.List r3 = (java.util.List) r3
|
|
o.KzX r7 = new o.KzX
|
|
r7.<init>(r1, r3)
|
|
return r7
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C16800rO.b(java.util.List):o.KzX");
|
|
}
|
|
|
|
public static DPM e(String str, String str2, List<JM> list, boolean z, boolean z2) {
|
|
Object obj;
|
|
String intern;
|
|
int i = 2 % 2;
|
|
C14957gcv.e(str, "");
|
|
C14957gcv.e(list, "");
|
|
List<JM> list2 = list;
|
|
C14957gcv.e(list2, "");
|
|
ArrayList arrayList = new ArrayList(list2 instanceof Collection ? list2.size() : 10);
|
|
Iterator<T> it = list2.iterator();
|
|
while (it.hasNext()) {
|
|
String str3 = ((JM) it.next()).k;
|
|
if (str3 == null) {
|
|
int i2 = h + 123;
|
|
f = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
str3 = "";
|
|
}
|
|
arrayList.add(str3);
|
|
}
|
|
ArrayList arrayList2 = arrayList;
|
|
if (z2) {
|
|
int i4 = h + 105;
|
|
f = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
intern = null;
|
|
} else {
|
|
if (!z) {
|
|
Object[] objArr = new Object[1];
|
|
g(new char[]{14896, 42126}, 1 - (Process.myPid() >> 22), objArr);
|
|
obj = objArr[0];
|
|
} else {
|
|
Object[] objArr2 = new Object[1];
|
|
g(new char[]{47693, 8381}, (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 1, objArr2);
|
|
obj = objArr2[0];
|
|
}
|
|
intern = ((String) obj).intern();
|
|
}
|
|
return new DPM(str, str2, arrayList2, intern);
|
|
}
|
|
|
|
private static void g(char[] cArr, int i, Object[] objArr) {
|
|
int i2 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
int i3 = 0;
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
int i4 = $10 + 89;
|
|
$11 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
while (jtb.b < cArr.length) {
|
|
cArr3[i3] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i6 = 58224;
|
|
int i7 = i3;
|
|
while (i7 < 16) {
|
|
int i8 = $10 + 91;
|
|
$11 = i8 % 128;
|
|
int i9 = i8 % 2;
|
|
char c = cArr3[1];
|
|
char c2 = cArr3[i3];
|
|
char[] cArr4 = cArr3;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(c), Integer.valueOf((c2 + i6) ^ ((c2 << 4) + ((char) (a ^ 41718355337583039L)))), Integer.valueOf(c2 >>> 5), Integer.valueOf(d)};
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(411 - ((byte) KeyEvent.getModifierMetaStateMask()), KeyEvent.getDeadChar(0, 0) + 5, (char) (ViewConfiguration.getTapTimeout() >> 16));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
i(b2, b3, (byte) (b3 + 1), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr4[1] = charValue;
|
|
Object[] objArr4 = {Integer.valueOf(cArr4[0]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (b ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(e)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(View.MeasureSpec.getSize(0) + 412, 5 - (ViewConfiguration.getTouchSlop() >> 8), (char) (ViewConfiguration.getMinimumFlingVelocity() >> 16));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
i(b4, b5, (byte) (b5 + 1), 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();
|
|
i6 -= 40503;
|
|
i7++;
|
|
cArr3 = cArr4;
|
|
i3 = 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 - (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 - View.resolveSize(0, 0), (char) (ViewConfiguration.getLongPressTimeout() >> 16));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr7 = new Object[1];
|
|
i(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 i10 = $11 + 49;
|
|
$10 = i10 % 128;
|
|
if (i10 % 2 != 0) {
|
|
int i11 = 2 % 4;
|
|
}
|
|
cArr3 = cArr5;
|
|
i3 = 0;
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i);
|
|
}
|
|
}
|