329 lines
12 KiB
Java
329 lines
12 KiB
Java
|
package o;
|
||
|
|
||
|
import android.graphics.Color;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.KeyEvent;
|
||
|
import android.view.MotionEvent;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import java.lang.reflect.Method;
|
||
|
import java.util.List;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import o.PRA;
|
||
|
import org.threeten.bp.OffsetDateTime;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class Dhr extends ZTC {
|
||
|
private static final byte[] $$d = {ISO7816.INS_DECREASE_STAMPED, 125, -39, -65};
|
||
|
private static final int $$e = 96;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int d = 0;
|
||
|
private static int c = 1;
|
||
|
private static int[] e = {-1780512973, 1835445968, 1233139501, -1800734087, -1500431727, -1611357230, 1509101724, 1740682722, -224108784, 1489060612, 532074633, 1822568757, -1105101920, -1880411679, -1047043242, -210593496, -2143577145, -774958438};
|
||
|
|
||
|
/* 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:0x002f). 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 g(short r6, short r7, int r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r7 = r7 * 2
|
||
|
int r0 = r7 + 1
|
||
|
int r6 = r6 * 3
|
||
|
int r6 = 3 - r6
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = 104 - r8
|
||
|
byte[] r1 = o.Dhr.$$d
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
if (r1 != 0) goto L17
|
||
|
r8 = r6
|
||
|
r3 = r7
|
||
|
r4 = r2
|
||
|
goto L2f
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
L18:
|
||
|
byte r4 = (byte) r8
|
||
|
r0[r3] = r4
|
||
|
int r4 = r3 + 1
|
||
|
if (r3 != r7) goto L27
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r0, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L27:
|
||
|
int r6 = r6 + 1
|
||
|
r3 = r1[r6]
|
||
|
r5 = r8
|
||
|
r8 = r6
|
||
|
r6 = r3
|
||
|
r3 = r5
|
||
|
L2f:
|
||
|
int r6 = r6 + r3
|
||
|
r3 = r4
|
||
|
r5 = r8
|
||
|
r8 = r6
|
||
|
r6 = r5
|
||
|
goto L18
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.Dhr.g(short, short, int, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
@InterfaceC13391fZD
|
||
|
public Dhr() {
|
||
|
}
|
||
|
|
||
|
public final wsN d(JrC jrC) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = d + 27;
|
||
|
c = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
wsN d2 = wsN.d();
|
||
|
d2.f = jrC.g;
|
||
|
d2.h = ZTC.b(jrC.a, (OffsetDateTime) null);
|
||
|
d2.c = jrC.b;
|
||
|
Object[] objArr = new Object[1];
|
||
|
f(new int[]{-315523997, 1170549926}, KeyEvent.normalizeMetaState(0) + 1, objArr);
|
||
|
d2.b = ((String) objArr[0]).intern().equals(jrC.e);
|
||
|
d2.a = e(jrC.c);
|
||
|
d2.d = jrC.d;
|
||
|
int i4 = c + 3;
|
||
|
d = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
return d2;
|
||
|
}
|
||
|
|
||
|
private List<RnN> e(List<FEw> list) {
|
||
|
int i = 2 % 2;
|
||
|
YKU yku = new YKU(list);
|
||
|
List<RnN> list2 = (List) new YKU(yku.a, new wxK(yku.b, new InterfaceC1244Ytw(this) { // from class: o.sHJ
|
||
|
private Dhr b;
|
||
|
|
||
|
@Override // o.InterfaceC1244Ytw
|
||
|
public final Object d(Object obj) {
|
||
|
return Dhr.c((FEw) obj);
|
||
|
}
|
||
|
|
||
|
{
|
||
|
this.b = this;
|
||
|
}
|
||
|
})).a(new PRA.Sts(new PRA.AnonymousClass4(), new PRA.AnonymousClass8()));
|
||
|
int i2 = d + 9;
|
||
|
c = i2 % 128;
|
||
|
if (i2 % 2 == 0) {
|
||
|
int i3 = 10 / 0;
|
||
|
}
|
||
|
return list2;
|
||
|
}
|
||
|
|
||
|
private static RnN a(FEw fEw) {
|
||
|
int i = 2 % 2;
|
||
|
RnN rnN = new RnN();
|
||
|
rnN.b = fEw.b;
|
||
|
rnN.e = fEw.a;
|
||
|
rnN.d = fEw.c;
|
||
|
int i2 = d + 31;
|
||
|
c = i2 % 128;
|
||
|
if (i2 % 2 == 0) {
|
||
|
int i3 = 43 / 0;
|
||
|
}
|
||
|
return rnN;
|
||
|
}
|
||
|
|
||
|
private static void f(int[] iArr, int i, Object[] objArr) {
|
||
|
int[] iArr2;
|
||
|
int i2;
|
||
|
int i3 = 2 % 2;
|
||
|
C4403bZM c4403bZM = new C4403bZM();
|
||
|
char[] cArr = new char[4];
|
||
|
char[] cArr2 = new char[iArr.length * 2];
|
||
|
int[] iArr3 = e;
|
||
|
int i4 = 729798706;
|
||
|
int i5 = 16;
|
||
|
int i6 = 1;
|
||
|
char c2 = 0;
|
||
|
if (iArr3 != null) {
|
||
|
int length = iArr3.length;
|
||
|
int[] iArr4 = new int[length];
|
||
|
int i7 = 0;
|
||
|
while (i7 < length) {
|
||
|
try {
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
objArr2[c2] = Integer.valueOf(iArr3[i7]);
|
||
|
Object obj = xzZ.y.get(729798706);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(14 - TextUtils.indexOf((CharSequence) "", '0'), 5 - (ViewConfiguration.getKeyRepeatTimeout() >> i5), (char) (TextUtils.getTrimmedLength("") + 58134))).getMethod("i", Integer.TYPE);
|
||
|
xzZ.y.put(729798706, obj);
|
||
|
}
|
||
|
iArr4[i7] = ((Integer) ((Method) obj).invoke(null, objArr2)).intValue();
|
||
|
i7++;
|
||
|
i5 = 16;
|
||
|
c2 = 0;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
iArr3 = iArr4;
|
||
|
}
|
||
|
int length2 = iArr3.length;
|
||
|
int[] iArr5 = new int[length2];
|
||
|
int[] iArr6 = e;
|
||
|
if (iArr6 != null) {
|
||
|
int length3 = iArr6.length;
|
||
|
int[] iArr7 = new int[length3];
|
||
|
int i8 = 0;
|
||
|
while (i8 < length3) {
|
||
|
try {
|
||
|
Object[] objArr3 = new Object[i6];
|
||
|
objArr3[0] = Integer.valueOf(iArr6[i8]);
|
||
|
Object obj2 = xzZ.y.get(Integer.valueOf(i4));
|
||
|
if (obj2 != null) {
|
||
|
iArr2 = iArr6;
|
||
|
i2 = i4;
|
||
|
} else {
|
||
|
obj2 = ((Class) xzZ.c(View.combineMeasuredStates(0, 0) + 15, 6 - (Process.getElapsedCpuTime() > 0L ? 1 : (Process.getElapsedCpuTime() == 0L ? 0 : -1)), (char) ((SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)) + 58133))).getMethod("i", Integer.TYPE);
|
||
|
iArr2 = iArr6;
|
||
|
i2 = 729798706;
|
||
|
xzZ.y.put(729798706, obj2);
|
||
|
}
|
||
|
iArr7[i8] = ((Integer) ((Method) obj2).invoke(null, objArr3)).intValue();
|
||
|
i8++;
|
||
|
i4 = i2;
|
||
|
iArr6 = iArr2;
|
||
|
i6 = 1;
|
||
|
} catch (Throwable th2) {
|
||
|
Throwable cause2 = th2.getCause();
|
||
|
if (cause2 == null) {
|
||
|
throw th2;
|
||
|
}
|
||
|
throw cause2;
|
||
|
}
|
||
|
}
|
||
|
iArr6 = iArr7;
|
||
|
}
|
||
|
System.arraycopy(iArr6, 0, iArr5, 0, length2);
|
||
|
c4403bZM.b = 0;
|
||
|
while (c4403bZM.b < iArr.length) {
|
||
|
int i9 = $11 + 67;
|
||
|
$10 = i9 % 128;
|
||
|
int i10 = i9 % 2;
|
||
|
cArr[0] = (char) (iArr[c4403bZM.b] >> 16);
|
||
|
cArr[1] = (char) iArr[c4403bZM.b];
|
||
|
cArr[2] = (char) (iArr[c4403bZM.b + 1] >> 16);
|
||
|
cArr[3] = (char) iArr[c4403bZM.b + 1];
|
||
|
c4403bZM.e = (cArr[0] << 16) + cArr[1];
|
||
|
c4403bZM.a = (cArr[2] << 16) + cArr[3];
|
||
|
C4403bZM.d(iArr5);
|
||
|
int i11 = 0;
|
||
|
for (int i12 = 16; i11 < i12; i12 = 16) {
|
||
|
int i13 = $10 + 19;
|
||
|
$11 = i13 % 128;
|
||
|
if (i13 % 2 == 0) {
|
||
|
c4403bZM.e ^= iArr5[i11];
|
||
|
Object[] objArr4 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
||
|
Object obj3 = xzZ.y.get(-1196964548);
|
||
|
if (obj3 == null) {
|
||
|
Class cls = (Class) xzZ.c(118 - Color.argb(0, 0, 0, 0), 5 - TextUtils.getCapsMode("", 0, 0), (char) (1 - (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))));
|
||
|
byte b = (byte) 0;
|
||
|
byte b2 = b;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g(b, b2, b2, objArr5);
|
||
|
obj3 = cls.getMethod((String) objArr5[0], Object.class, Integer.TYPE, Object.class, Object.class);
|
||
|
xzZ.y.put(-1196964548, obj3);
|
||
|
}
|
||
|
int intValue = ((Integer) ((Method) obj3).invoke(null, objArr4)).intValue();
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = intValue;
|
||
|
i11 += 16;
|
||
|
} else {
|
||
|
c4403bZM.e ^= iArr5[i11];
|
||
|
try {
|
||
|
Object[] objArr6 = {c4403bZM, Integer.valueOf(C4403bZM.d(c4403bZM.e)), c4403bZM, c4403bZM};
|
||
|
Object obj4 = xzZ.y.get(-1196964548);
|
||
|
if (obj4 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(MotionEvent.axisFromString("") + 119, Color.argb(0, 0, 0, 0) + 5, (char) (ViewConfiguration.getKeyRepeatTimeout() >> 16));
|
||
|
byte b3 = (byte) 0;
|
||
|
byte b4 = b3;
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(b3, b4, b4, objArr7);
|
||
|
obj4 = cls2.getMethod((String) objArr7[0], Object.class, Integer.TYPE, Object.class, Object.class);
|
||
|
xzZ.y.put(-1196964548, obj4);
|
||
|
}
|
||
|
int intValue2 = ((Integer) ((Method) obj4).invoke(null, objArr6)).intValue();
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = intValue2;
|
||
|
i11++;
|
||
|
} catch (Throwable th3) {
|
||
|
Throwable cause3 = th3.getCause();
|
||
|
if (cause3 == null) {
|
||
|
throw th3;
|
||
|
}
|
||
|
throw cause3;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
int i14 = c4403bZM.e;
|
||
|
c4403bZM.e = c4403bZM.a;
|
||
|
c4403bZM.a = i14;
|
||
|
c4403bZM.a ^= iArr5[16];
|
||
|
c4403bZM.e ^= iArr5[17];
|
||
|
int i15 = c4403bZM.e;
|
||
|
int i16 = c4403bZM.a;
|
||
|
cArr[0] = (char) (c4403bZM.e >>> 16);
|
||
|
cArr[1] = (char) c4403bZM.e;
|
||
|
cArr[2] = (char) (c4403bZM.a >>> 16);
|
||
|
cArr[3] = (char) c4403bZM.a;
|
||
|
C4403bZM.d(iArr5);
|
||
|
cArr2[c4403bZM.b * 2] = cArr[0];
|
||
|
cArr2[(c4403bZM.b * 2) + 1] = cArr[1];
|
||
|
cArr2[(c4403bZM.b * 2) + 2] = cArr[2];
|
||
|
cArr2[(c4403bZM.b * 2) + 3] = cArr[3];
|
||
|
Object[] objArr8 = {c4403bZM, c4403bZM};
|
||
|
Object obj5 = xzZ.y.get(1914371176);
|
||
|
if (obj5 == null) {
|
||
|
Class cls3 = (Class) xzZ.c(97 - ((byte) KeyEvent.getModifierMetaStateMask()), 5 - ((Process.getThreadPriority(0) + 20) >> 6), (char) ((-1) - ExpandableListView.getPackedPositionChild(0L)));
|
||
|
byte b5 = (byte) 0;
|
||
|
byte b6 = b5;
|
||
|
Object[] objArr9 = new Object[1];
|
||
|
g(b5, b6, (byte) (b6 + 1), objArr9);
|
||
|
obj5 = cls3.getMethod((String) objArr9[0], Object.class, Object.class);
|
||
|
xzZ.y.put(1914371176, obj5);
|
||
|
}
|
||
|
((Method) obj5).invoke(null, objArr8);
|
||
|
}
|
||
|
objArr[0] = new String(cArr2, 0, i);
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ RnN c(FEw fEw) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = c + 37;
|
||
|
d = i2 % 128;
|
||
|
Object obj = null;
|
||
|
if (i2 % 2 != 0) {
|
||
|
a(fEw);
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
RnN a = a(fEw);
|
||
|
int i3 = c + 123;
|
||
|
d = i3 % 128;
|
||
|
if (i3 % 2 == 0) {
|
||
|
return a;
|
||
|
}
|
||
|
obj.hashCode();
|
||
|
throw null;
|
||
|
}
|
||
|
}
|