292 lines
11 KiB
Java
292 lines
11 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.media.AudioTrack;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.util.TypedValue;
|
||
|
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.google.common.base.Ascii;
|
||
|
import java.lang.reflect.Method;
|
||
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class ZGb {
|
||
|
private static int a;
|
||
|
private static char[] d;
|
||
|
private static final byte[] $$a = {49, Ascii.DC2, -60, Byte.MIN_VALUE};
|
||
|
private static final int $$b = CipherSuite.TLS_DH_anon_WITH_SEED_CBC_SHA;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int c = 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: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 f(int r7, int r8, byte r9, java.lang.Object[] r10) {
|
||
|
/*
|
||
|
int r9 = r9 * 2
|
||
|
int r9 = 73 - r9
|
||
|
byte[] r0 = o.ZGb.$$a
|
||
|
int r7 = r7 * 3
|
||
|
int r7 = 3 - r7
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = r8 + 1
|
||
|
byte[] r1 = new byte[r8]
|
||
|
r2 = 0
|
||
|
if (r0 != 0) goto L17
|
||
|
r3 = r9
|
||
|
r4 = r2
|
||
|
r9 = r7
|
||
|
goto L2e
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
L18:
|
||
|
int r4 = r3 + 1
|
||
|
byte r5 = (byte) r9
|
||
|
r1[r3] = r5
|
||
|
if (r4 != r8) goto L27
|
||
|
java.lang.String r7 = new java.lang.String
|
||
|
r7.<init>(r1, r2)
|
||
|
r10[r2] = r7
|
||
|
return
|
||
|
L27:
|
||
|
int r7 = r7 + 1
|
||
|
r3 = r0[r7]
|
||
|
r6 = r9
|
||
|
r9 = r7
|
||
|
r7 = r6
|
||
|
L2e:
|
||
|
int r7 = r7 + r3
|
||
|
r3 = r4
|
||
|
r6 = r9
|
||
|
r9 = r7
|
||
|
r7 = r6
|
||
|
goto L18
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.ZGb.f(int, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
private ZGb() {
|
||
|
}
|
||
|
|
||
|
public static final C16189m c(String str, Ahn ahn) {
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.e(str, "");
|
||
|
C14957gcv.e(ahn, "");
|
||
|
C16189m c16189m = new C16189m(str, ahn.e, e(ahn), ahn.b, new C15725i(ahn.d, ahn.a));
|
||
|
int i2 = a + 109;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
return c16189m;
|
||
|
}
|
||
|
|
||
|
private static String e(Ahn ahn) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = a + 33;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
Boolean bool = ahn.c;
|
||
|
if (C14957gcv.b(bool, Boolean.TRUE)) {
|
||
|
Object[] objArr = new Object[1];
|
||
|
b(new byte[]{0}, new int[]{0, 1, CipherSuite.TLS_PSK_WITH_NULL_SHA384, 0}, false, objArr);
|
||
|
return ((String) objArr[0]).intern();
|
||
|
}
|
||
|
if (!C14957gcv.b(bool, Boolean.FALSE)) {
|
||
|
int i4 = c + 77;
|
||
|
a = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
return null;
|
||
|
}
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
b(new byte[]{0}, new int[]{1, 1, 0, 1}, false, objArr2);
|
||
|
String intern = ((String) objArr2[0]).intern();
|
||
|
int i6 = c + 57;
|
||
|
a = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
return intern;
|
||
|
}
|
||
|
|
||
|
private static void b(byte[] bArr, int[] iArr, boolean z, Object[] objArr) {
|
||
|
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[] cArr = d;
|
||
|
long j = 0;
|
||
|
if (cArr != null) {
|
||
|
int length = cArr.length;
|
||
|
char[] cArr2 = new char[length];
|
||
|
int i7 = 0;
|
||
|
while (i7 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[i2] = Integer.valueOf(cArr[i7]);
|
||
|
Object obj = xzZ.y.get(1645349359);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(ExpandableListView.getPackedPositionGroup(j) + 223, 4 - ((byte) KeyEvent.getModifierMetaStateMask()), (char) (View.resolveSize(i2, i2) + 41977));
|
||
|
byte b = (byte) i2;
|
||
|
byte b2 = b;
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
f(b, b2, (byte) (b2 + 1), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE);
|
||
|
xzZ.y.put(1645349359, obj);
|
||
|
}
|
||
|
cArr2[i7] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
i7++;
|
||
|
int i8 = $11 + 51;
|
||
|
$10 = i8 % 128;
|
||
|
int i9 = i8 % 2;
|
||
|
i2 = 0;
|
||
|
j = 0;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
cArr = cArr2;
|
||
|
}
|
||
|
char[] cArr3 = new char[i4];
|
||
|
System.arraycopy(cArr, i3, cArr3, 0, i4);
|
||
|
if (bArr != null) {
|
||
|
char[] cArr4 = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
char c2 = 0;
|
||
|
while (tvh.c < i4) {
|
||
|
int i10 = $10 + 77;
|
||
|
$11 = i10 % 128;
|
||
|
int i11 = i10 % 2;
|
||
|
if (bArr[tvh.c] == 1) {
|
||
|
int i12 = $11 + 39;
|
||
|
$10 = i12 % 128;
|
||
|
if (i12 % 2 != 0) {
|
||
|
int i13 = tvh.c;
|
||
|
Object[] objArr4 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj2 = xzZ.y.get(850398076);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c(502 - (TypedValue.complexToFloat(0) > BitmapDescriptorFactory.HUE_RED ? 1 : (TypedValue.complexToFloat(0) == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - KeyEvent.getDeadChar(0, 0), (char) (55 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1))))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj2);
|
||
|
}
|
||
|
cArr4[i13] = ((Character) ((Method) obj2).invoke(null, objArr4)).charValue();
|
||
|
int i14 = 96 / 0;
|
||
|
} else {
|
||
|
int i15 = tvh.c;
|
||
|
Object[] objArr5 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj3 = xzZ.y.get(850398076);
|
||
|
if (obj3 == null) {
|
||
|
obj3 = ((Class) xzZ.c(502 - TextUtils.indexOf("", ""), Process.getGidForName("") + 6, (char) (TextUtils.indexOf("", "") + 54))).getMethod("F", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(850398076, obj3);
|
||
|
}
|
||
|
cArr4[i15] = ((Character) ((Method) obj3).invoke(null, objArr5)).charValue();
|
||
|
}
|
||
|
} else {
|
||
|
int i16 = tvh.c;
|
||
|
try {
|
||
|
Object[] objArr6 = {Integer.valueOf(cArr3[tvh.c]), Integer.valueOf(c2)};
|
||
|
Object obj4 = xzZ.y.get(1084521042);
|
||
|
if (obj4 == null) {
|
||
|
obj4 = ((Class) xzZ.c((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 15, 5 - TextUtils.getCapsMode("", 0, 0), (char) (58134 - Drawable.resolveOpacity(0, 0)))).getMethod("H", Integer.TYPE, Integer.TYPE);
|
||
|
xzZ.y.put(1084521042, obj4);
|
||
|
}
|
||
|
cArr4[i16] = ((Character) ((Method) obj4).invoke(null, objArr6)).charValue();
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
c2 = cArr4[tvh.c];
|
||
|
Object[] objArr7 = {tvh, tvh};
|
||
|
Object obj5 = xzZ.y.get(1698744941);
|
||
|
if (obj5 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(Color.rgb(0, 0, 0) + 16777618, (AudioTrack.getMinVolume() > BitmapDescriptorFactory.HUE_RED ? 1 : (AudioTrack.getMinVolume() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)) + 5, (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 21607));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
f(b3, b4, b4, objArr8);
|
||
|
obj5 = cls2.getMethod((String) objArr8[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1698744941, obj5);
|
||
|
}
|
||
|
((Method) obj5).invoke(null, objArr7);
|
||
|
}
|
||
|
cArr3 = cArr4;
|
||
|
}
|
||
|
if (i6 > 0) {
|
||
|
int i17 = $11 + 99;
|
||
|
$10 = i17 % 128;
|
||
|
int i18 = i17 % 2;
|
||
|
char[] cArr5 = new char[i4];
|
||
|
System.arraycopy(cArr3, 0, cArr5, 0, i4);
|
||
|
int i19 = i4 - i6;
|
||
|
System.arraycopy(cArr5, 0, cArr3, i19, i6);
|
||
|
System.arraycopy(cArr5, i6, cArr3, 0, i19);
|
||
|
}
|
||
|
if (!(!z)) {
|
||
|
int i20 = $10 + 101;
|
||
|
$11 = i20 % 128;
|
||
|
int i21 = i20 % 2;
|
||
|
char[] cArr6 = new char[i4];
|
||
|
tvh.c = 0;
|
||
|
while (tvh.c < i4) {
|
||
|
int i22 = $10 + 119;
|
||
|
$11 = i22 % 128;
|
||
|
int i23 = i22 % 2;
|
||
|
cArr6[tvh.c] = cArr3[(i4 - tvh.c) - 1];
|
||
|
tvh.c++;
|
||
|
int i24 = $10 + 91;
|
||
|
$11 = i24 % 128;
|
||
|
int i25 = i24 % 2;
|
||
|
}
|
||
|
cArr3 = cArr6;
|
||
|
}
|
||
|
if (i5 > 0) {
|
||
|
int i26 = 0;
|
||
|
while (true) {
|
||
|
tvh.c = i26;
|
||
|
if (tvh.c >= i4) {
|
||
|
break;
|
||
|
}
|
||
|
cArr3[tvh.c] = (char) (cArr3[tvh.c] - iArr[2]);
|
||
|
i26 = tvh.c + 1;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(cArr3);
|
||
|
}
|
||
|
|
||
|
static void c() {
|
||
|
d = new char[]{40058, 39955};
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
a = 0;
|
||
|
c();
|
||
|
new ZGb();
|
||
|
int i = c + 21;
|
||
|
a = i % 128;
|
||
|
if (i % 2 == 0) {
|
||
|
return;
|
||
|
}
|
||
|
Object obj = null;
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
}
|