364 lines
16 KiB
Java
364 lines
16 KiB
Java
package o;
|
|
|
|
import android.graphics.Color;
|
|
import android.graphics.ImageFormat;
|
|
import android.media.AudioTrack;
|
|
import android.telephony.cdma.CdmaCellLocation;
|
|
import android.text.AndroidCharacter;
|
|
import android.text.TextUtils;
|
|
import android.util.TypedValue;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.MotionEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import com.google.common.base.Ascii;
|
|
import java.lang.reflect.Method;
|
|
import org.bouncycastle.crypto.signers.PSSSigner;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* renamed from: o.gm, reason: case insensitive filesystem */
|
|
/* loaded from: classes3.dex */
|
|
public final class C15272gm {
|
|
private static char a;
|
|
public static final C15272gm b;
|
|
private static char c;
|
|
private static long d;
|
|
private static char[] e;
|
|
private static char g;
|
|
private static char h;
|
|
private static int j;
|
|
private static final byte[] $$a = {38, -26, Ascii.ESC, PSSSigner.TRAILER_IMPLICIT};
|
|
private static final int $$b = CipherSuite.TLS_RSA_PSK_WITH_AES_128_CBC_SHA;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int i = 1;
|
|
|
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0024 */
|
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001c */
|
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0024 -> 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 l(byte r6, short r7, short r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r8 = r8 + 66
|
|
int r6 = r6 * 4
|
|
int r0 = 1 - r6
|
|
int r7 = r7 * 2
|
|
int r7 = r7 + 4
|
|
byte[] r1 = o.C15272gm.$$a
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L16
|
|
r3 = r6
|
|
r4 = r2
|
|
goto L2c
|
|
L16:
|
|
r3 = r2
|
|
L17:
|
|
byte r4 = (byte) r8
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L24
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L24:
|
|
r4 = r1[r7]
|
|
int r3 = r3 + 1
|
|
r5 = r3
|
|
r3 = r8
|
|
r8 = r4
|
|
r4 = r5
|
|
L2c:
|
|
int r8 = -r8
|
|
int r7 = r7 + 1
|
|
int r8 = r8 + r3
|
|
r3 = r4
|
|
goto L17
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C15272gm.l(byte, short, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
private C15272gm() {
|
|
}
|
|
|
|
/* JADX WARN: Code restructure failed: missing block: B:31:0x0017, code lost:
|
|
|
|
if (r11 == null) goto L8;
|
|
*/
|
|
/*
|
|
Code decompiled incorrectly, please refer to instructions dump.
|
|
To view partially-correct add '--show-bad-code' argument
|
|
*/
|
|
public static byte b(java.lang.String r11) {
|
|
/*
|
|
Method dump skipped, instructions count: 272
|
|
To view this dump add '--comments-level debug' option
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.C15272gm.b(java.lang.String):byte");
|
|
}
|
|
|
|
public static final String a(String str, xWw xww) {
|
|
int i2 = 2 % 2;
|
|
int i3 = j + 47;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
C14957gcv.e(xww, "");
|
|
String d2 = APu.d(APu.d, xww.i, xww.f9311o, str, xww.c);
|
|
C14957gcv.c((Object) d2, "");
|
|
int i5 = j + 123;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return d2;
|
|
}
|
|
|
|
public static final String c(String str) {
|
|
int i2 = 2 % 2;
|
|
int i3 = j + 85;
|
|
i = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
C14957gcv.e(str, "");
|
|
if (str.length() <= 11) {
|
|
return str;
|
|
}
|
|
int i5 = j + 101;
|
|
i = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
String substring = str.substring(3, str.length() - 1);
|
|
C14957gcv.c((Object) substring, "");
|
|
return substring;
|
|
}
|
|
|
|
private static void k(char c2, int i2, int i3, Object[] objArr) {
|
|
int i4 = 2;
|
|
int i5 = 2 % 2;
|
|
dQY dqy = new dQY();
|
|
long[] jArr = new long[i3];
|
|
dqy.a = 0;
|
|
while (dqy.a < i3) {
|
|
int i6 = $11 + 83;
|
|
$10 = i6 % 128;
|
|
if (i6 % i4 != 0) {
|
|
int i7 = dqy.a;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(e[i2 % dqy.a])};
|
|
Object obj = xzZ.y.get(1095064095);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(MotionEvent.axisFromString("") + 309, 5 - Color.green(0), (char) (Gravity.getAbsoluteGravity(0, 0) + 32797));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
l(b2, b3, (byte) (b3 | 32), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj);
|
|
}
|
|
Object[] objArr4 = {Long.valueOf(((Long) ((Method) obj).invoke(null, objArr2)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c2)};
|
|
Object obj2 = xzZ.y.get(-548438098);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c(TextUtils.indexOf((CharSequence) "", '0') + 413, (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 4, (char) (TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 1));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
l(b4, b5, (byte) (b5 | 33), objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj2);
|
|
}
|
|
jArr[i7] = ((Long) ((Method) obj2).invoke(null, objArr4)).longValue();
|
|
Object[] objArr6 = {dqy, dqy};
|
|
Object obj3 = xzZ.y.get(1071125919);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(407 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) (TextUtils.getOffsetBefore("", 0) + 29234));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr7 = new Object[1];
|
|
l(b6, b7, (byte) (b7 | 40), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
} else {
|
|
int i8 = dqy.a;
|
|
Object[] objArr8 = {Integer.valueOf(e[i2 + dqy.a])};
|
|
Object obj4 = xzZ.y.get(1095064095);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c(307 - ImageFormat.getBitsPerPixel(0), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> 16), (char) ((TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFraction(0, BitmapDescriptorFactory.HUE_RED, BitmapDescriptorFactory.HUE_RED) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 32797));
|
|
byte b8 = (byte) 0;
|
|
byte b9 = b8;
|
|
Object[] objArr9 = new Object[1];
|
|
l(b8, b9, (byte) (b9 | 32), objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Integer.TYPE);
|
|
xzZ.y.put(1095064095, obj4);
|
|
}
|
|
Object[] objArr10 = {Long.valueOf(((Long) ((Method) obj4).invoke(null, objArr8)).longValue()), Long.valueOf(dqy.a), Long.valueOf(d), Integer.valueOf(c2)};
|
|
Object obj5 = xzZ.y.get(-548438098);
|
|
if (obj5 == null) {
|
|
Class cls5 = (Class) xzZ.c(412 - (ViewConfiguration.getMaximumFlingVelocity() >> 16), (ViewConfiguration.getPressedStateDuration() >> 16) + 5, (char) (AndroidCharacter.getMirror('0') - '0'));
|
|
byte b10 = (byte) 0;
|
|
byte b11 = b10;
|
|
Object[] objArr11 = new Object[1];
|
|
l(b10, b11, (byte) (b11 | 33), objArr11);
|
|
obj5 = cls5.getMethod((String) objArr11[0], Long.TYPE, Long.TYPE, Long.TYPE, Integer.TYPE);
|
|
xzZ.y.put(-548438098, obj5);
|
|
}
|
|
jArr[i8] = ((Long) ((Method) obj5).invoke(null, objArr10)).longValue();
|
|
Object[] objArr12 = {dqy, dqy};
|
|
Object obj6 = xzZ.y.get(1071125919);
|
|
if (obj6 == null) {
|
|
Class cls6 = (Class) xzZ.c(406 - TextUtils.indexOf((CharSequence) "", '0', 0, 0), 5 - KeyEvent.normalizeMetaState(0), (char) (View.combineMeasuredStates(0, 0) + 29234));
|
|
byte b12 = (byte) 0;
|
|
byte b13 = b12;
|
|
Object[] objArr13 = new Object[1];
|
|
l(b12, b13, (byte) (b13 | 40), objArr13);
|
|
obj6 = cls6.getMethod((String) objArr13[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj6);
|
|
}
|
|
((Method) obj6).invoke(null, objArr12);
|
|
}
|
|
i4 = 2;
|
|
}
|
|
char[] cArr = new char[i3];
|
|
dqy.a = 0;
|
|
while (dqy.a < i3) {
|
|
int i9 = $11 + 47;
|
|
$10 = i9 % 128;
|
|
int i10 = i9 % 2;
|
|
cArr[dqy.a] = (char) jArr[dqy.a];
|
|
try {
|
|
Object[] objArr14 = {dqy, dqy};
|
|
Object obj7 = xzZ.y.get(1071125919);
|
|
if (obj7 == null) {
|
|
Class cls7 = (Class) xzZ.c((CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)) + 407, (ViewConfiguration.getScrollDefaultDelay() >> 16) + 5, (char) ((ViewConfiguration.getScrollBarSize() >> 8) + 29234));
|
|
byte b14 = (byte) 0;
|
|
byte b15 = b14;
|
|
Object[] objArr15 = new Object[1];
|
|
l(b14, b15, (byte) (b15 | 40), objArr15);
|
|
obj7 = cls7.getMethod((String) objArr15[0], Object.class, Object.class);
|
|
xzZ.y.put(1071125919, obj7);
|
|
}
|
|
((Method) obj7).invoke(null, objArr14);
|
|
} catch (Throwable th2) {
|
|
Throwable cause2 = th2.getCause();
|
|
if (cause2 == null) {
|
|
throw th2;
|
|
}
|
|
throw cause2;
|
|
}
|
|
}
|
|
objArr[0] = new String(cArr);
|
|
}
|
|
|
|
private static void f(char[] cArr, int i2, Object[] objArr) {
|
|
int i3 = 2 % 2;
|
|
jTb jtb = new jTb();
|
|
char[] cArr2 = new char[cArr.length];
|
|
jtb.b = 0;
|
|
char[] cArr3 = new char[2];
|
|
int i4 = $11 + 51;
|
|
$10 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
while (jtb.b < cArr.length) {
|
|
int i6 = $10 + 45;
|
|
$11 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
cArr3[0] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i8 = 58224;
|
|
for (int i9 = 0; i9 < 16; i9++) {
|
|
int i10 = $10 + 39;
|
|
$11 = i10 % 128;
|
|
int i11 = i10 % 2;
|
|
char c2 = cArr3[1];
|
|
char c3 = cArr3[0];
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(c2), Integer.valueOf((c3 + i8) ^ ((c3 << 4) + ((char) (g ^ 41718355337583039L)))), Integer.valueOf(c3 >>> 5), Integer.valueOf(h)};
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(411 - TextUtils.indexOf((CharSequence) "", '0', 0), 5 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), (char) Color.red(0));
|
|
byte b2 = (byte) 0;
|
|
byte b3 = b2;
|
|
Object[] objArr3 = new Object[1];
|
|
l(b2, b3, b3, 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();
|
|
cArr3[1] = charValue;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[0]), Integer.valueOf((charValue + i8) ^ ((charValue << 4) + ((char) (c ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(a)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 411, ExpandableListView.getPackedPositionType(0L) + 5, (char) (1 - (AudioTrack.getMaxVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMaxVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1))));
|
|
byte b4 = (byte) 0;
|
|
byte b5 = b4;
|
|
Object[] objArr5 = new Object[1];
|
|
l(b4, b5, b5, objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Integer.TYPE, Integer.TYPE, Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(597144044, obj2);
|
|
}
|
|
cArr3[0] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
|
i8 -= 40503;
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
cArr2[jtb.b] = cArr3[0];
|
|
cArr2[jtb.b + 1] = cArr3[1];
|
|
Object[] objArr6 = {jtb, jtb};
|
|
Object obj3 = xzZ.y.get(943004485);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(AndroidCharacter.getMirror('0') + '2', (ViewConfiguration.getTapTimeout() >> 16) + 5, (char) ExpandableListView.getPackedPositionGroup(0L));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr7 = new Object[1];
|
|
l(b6, b7, (byte) (b7 + 1), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
}
|
|
objArr[0] = new String(cArr2, 0, i2);
|
|
}
|
|
|
|
static void c() {
|
|
e = new char[]{36769, 1072, 39079, 11641, 41419, 13906, 36769, 1072, 39079, 11647, 41410, 13908};
|
|
d = 6150023896995988568L;
|
|
c = (char) 36853;
|
|
a = (char) 2787;
|
|
g = (char) 56753;
|
|
h = (char) 27814;
|
|
}
|
|
|
|
static {
|
|
j = 0;
|
|
c();
|
|
KeyEvent.getMaxKeyCode();
|
|
TextUtils.getOffsetAfter("", 0);
|
|
TextUtils.indexOf((CharSequence) "", '0', 0, 0);
|
|
ViewConfiguration.getMaximumDrawingCacheSize();
|
|
ViewConfiguration.getZoomControlsTimeout();
|
|
TextUtils.indexOf("", "", 0);
|
|
ViewConfiguration.getDoubleTapTimeout();
|
|
KeyEvent.getDeadChar(0, 0);
|
|
b = new C15272gm();
|
|
int i2 = i + 55;
|
|
j = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
}
|
|
}
|