224 lines
9.0 KiB
Java
224 lines
9.0 KiB
Java
package o;
|
|
|
|
import android.graphics.Color;
|
|
import android.os.SystemClock;
|
|
import android.text.TextUtils;
|
|
import android.view.Gravity;
|
|
import android.view.KeyEvent;
|
|
import android.view.View;
|
|
import android.view.ViewConfiguration;
|
|
import android.widget.ExpandableListView;
|
|
import java.lang.reflect.Method;
|
|
import java.util.ArrayList;
|
|
import java.util.Collection;
|
|
import java.util.Iterator;
|
|
import java.util.List;
|
|
import org.bouncycastle.crypto.tls.CipherSuite;
|
|
|
|
/* loaded from: classes3.dex */
|
|
public final class mFW {
|
|
private static final byte[] $$a = {53, 8, 9, -66};
|
|
private static final int $$b = 37;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int a = 0;
|
|
private static int d = 1;
|
|
private static int e = 2015661662;
|
|
private final C15643hPT b;
|
|
|
|
/* 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(byte r6, int r7, int r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r7 = r7 * 7
|
|
int r7 = r7 + 69
|
|
int r8 = r8 + 4
|
|
int r6 = r6 * 2
|
|
int r0 = 1 - r6
|
|
byte[] r1 = o.mFW.$$a
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r6 = 0 - r6
|
|
if (r1 != 0) goto L17
|
|
r4 = r6
|
|
r7 = r8
|
|
r3 = r2
|
|
goto L2e
|
|
L17:
|
|
r3 = r2
|
|
L18:
|
|
int r8 = r8 + 1
|
|
byte r4 = (byte) r7
|
|
r0[r3] = r4
|
|
if (r3 != r6) goto L27
|
|
java.lang.String r6 = new java.lang.String
|
|
r6.<init>(r0, r2)
|
|
r9[r2] = r6
|
|
return
|
|
L27:
|
|
int r3 = r3 + 1
|
|
r4 = r1[r8]
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
L2e:
|
|
int r8 = r8 + r4
|
|
r5 = r8
|
|
r8 = r7
|
|
r7 = r5
|
|
goto L18
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.mFW.f(byte, int, int, java.lang.Object[]):void");
|
|
}
|
|
|
|
@InterfaceC13391fZD
|
|
public mFW(C15643hPT c15643hPT) {
|
|
C14957gcv.e(c15643hPT, "");
|
|
this.b = c15643hPT;
|
|
}
|
|
|
|
public final xMn a(XNX xnx) {
|
|
ArrayList arrayList;
|
|
String intern;
|
|
int i = 2 % 2;
|
|
C14957gcv.e(xnx, "");
|
|
if (xnx.a.isEmpty()) {
|
|
arrayList = null;
|
|
} else {
|
|
List<ZQZ> list = xnx.a;
|
|
C14957gcv.e(list, "");
|
|
ArrayList arrayList2 = new ArrayList(list instanceof Collection ? list.size() : 10);
|
|
Iterator<T> it = list.iterator();
|
|
while (!(!it.hasNext())) {
|
|
arrayList2.add(C15643hPT.a((ZQZ) it.next()));
|
|
}
|
|
arrayList = arrayList2;
|
|
}
|
|
String str = xnx.d;
|
|
if (xnx.c) {
|
|
int i2 = a + 105;
|
|
d = i2 % 128;
|
|
if (i2 % 2 == 0) {
|
|
ViewConfiguration.getEdgeSlop();
|
|
Object[] objArr = new Object[1];
|
|
c(0, View.MeasureSpec.makeMeasureSpec(1, 1), KeyEvent.getDeadChar(1, 0) + 32442, new char[]{0}, true, objArr);
|
|
intern = ((String) objArr[0]).intern();
|
|
} else {
|
|
Object[] objArr2 = new Object[1];
|
|
c(1 - (ViewConfiguration.getEdgeSlop() >> 16), View.MeasureSpec.makeMeasureSpec(0, 0) + 1, KeyEvent.getDeadChar(0, 0) + CipherSuite.TLS_DHE_PSK_WITH_AES_128_GCM_SHA256, new char[]{0}, true, objArr2);
|
|
intern = ((String) objArr2[0]).intern();
|
|
}
|
|
int i3 = d + 19;
|
|
a = i3 % 128;
|
|
int i4 = i3 % 2;
|
|
} else {
|
|
Object[] objArr3 = new Object[1];
|
|
c(1 - Gravity.getAbsoluteGravity(0, 0), -TextUtils.lastIndexOf("", '0'), View.MeasureSpec.makeMeasureSpec(0, 0) + CipherSuite.TLS_PSK_WITH_AES_256_GCM_SHA384, new char[]{0}, true, objArr3);
|
|
intern = ((String) objArr3[0]).intern();
|
|
}
|
|
xMn xmn = new xMn(str, intern, arrayList);
|
|
int i5 = d + 75;
|
|
a = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return xmn;
|
|
}
|
|
|
|
private static void c(int i, int i2, int i3, char[] cArr, boolean z, Object[] objArr) {
|
|
int i4 = 2 % 2;
|
|
zUI zui = new zUI();
|
|
char[] cArr2 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
zui.c = cArr[zui.d];
|
|
cArr2[zui.d] = (char) (i3 + zui.c);
|
|
int i5 = zui.d;
|
|
try {
|
|
Object[] objArr2 = {Integer.valueOf(cArr2[i5]), Integer.valueOf(e)};
|
|
Object obj = xzZ.y.get(880493502);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 142, (ViewConfiguration.getKeyRepeatDelay() >> 16) + 7, (char) View.resolveSize(0, 0));
|
|
byte b = (byte) 0;
|
|
byte b2 = b;
|
|
Object[] objArr3 = new Object[1];
|
|
f(b, b2, (byte) (b2 - 1), objArr3);
|
|
obj = cls.getMethod((String) objArr3[0], Integer.TYPE, Integer.TYPE);
|
|
xzZ.y.put(880493502, obj);
|
|
}
|
|
cArr2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
Object[] objArr4 = {zui, zui};
|
|
Object obj2 = xzZ.y.get(1294990079);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1)) + 343, TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 6, (char) (ViewConfiguration.getPressedStateDuration() >> 16));
|
|
byte b3 = (byte) 0;
|
|
byte b4 = (byte) (b3 + 1);
|
|
Object[] objArr5 = new Object[1];
|
|
f(b3, b4, (byte) (-b4), objArr5);
|
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj2);
|
|
}
|
|
((Method) obj2).invoke(null, objArr4);
|
|
} catch (Throwable th) {
|
|
Throwable cause = th.getCause();
|
|
if (cause == null) {
|
|
throw th;
|
|
}
|
|
throw cause;
|
|
}
|
|
}
|
|
if (i2 > 0) {
|
|
zui.a = i2;
|
|
char[] cArr3 = new char[i];
|
|
System.arraycopy(cArr2, 0, cArr3, 0, i);
|
|
System.arraycopy(cArr3, 0, cArr2, i - zui.a, zui.a);
|
|
System.arraycopy(cArr3, zui.a, cArr2, 0, i - zui.a);
|
|
}
|
|
if (z) {
|
|
int i6 = $11 + 99;
|
|
$10 = i6 % 128;
|
|
int i7 = i6 % 2;
|
|
char[] cArr4 = new char[i];
|
|
zui.d = 0;
|
|
while (zui.d < i) {
|
|
int i8 = $10 + 85;
|
|
$11 = i8 % 128;
|
|
if (i8 % 2 == 0) {
|
|
cArr4[zui.d] = cArr2[i - zui.d];
|
|
Object[] objArr6 = {zui, zui};
|
|
Object obj3 = xzZ.y.get(1294990079);
|
|
if (obj3 == null) {
|
|
Class cls3 = (Class) xzZ.c(ExpandableListView.getPackedPositionType(0L) + 342, (ViewConfiguration.getWindowTouchSlop() >> 8) + 5, (char) ((-1) - TextUtils.indexOf((CharSequence) "", '0')));
|
|
byte b5 = (byte) 0;
|
|
byte b6 = (byte) (b5 + 1);
|
|
Object[] objArr7 = new Object[1];
|
|
f(b5, b6, (byte) (-b6), objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
} else {
|
|
cArr4[zui.d] = cArr2[(i - zui.d) - 1];
|
|
Object[] objArr8 = {zui, zui};
|
|
Object obj4 = xzZ.y.get(1294990079);
|
|
if (obj4 == null) {
|
|
Class cls4 = (Class) xzZ.c((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) + 341, 6 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), (char) Color.green(0));
|
|
byte b7 = (byte) 0;
|
|
byte b8 = (byte) (b7 + 1);
|
|
Object[] objArr9 = new Object[1];
|
|
f(b7, b8, (byte) (-b8), objArr9);
|
|
obj4 = cls4.getMethod((String) objArr9[0], Object.class, Object.class);
|
|
xzZ.y.put(1294990079, obj4);
|
|
}
|
|
((Method) obj4).invoke(null, objArr8);
|
|
}
|
|
}
|
|
cArr2 = cArr4;
|
|
}
|
|
objArr[0] = new String(cArr2);
|
|
}
|
|
}
|