292 lines
10 KiB
Java
292 lines
10 KiB
Java
package o;
|
|
|
|
import android.graphics.PointF;
|
|
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 com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
|
import java.lang.reflect.Method;
|
|
import net.sf.scuba.smartcards.ISO7816;
|
|
|
|
/* JADX WARN: Failed to restore enum class, 'enum' modifier and super class removed */
|
|
/* JADX WARN: Unknown enum class pattern. Please report as an issue! */
|
|
/* loaded from: classes3.dex */
|
|
public final class SM {
|
|
private static final SM[] $VALUES;
|
|
public static final SM GIFT_ACTION_ID;
|
|
public static final SM NONE;
|
|
public static final SM RTP_ACTION_ID;
|
|
private static char a;
|
|
private static char b;
|
|
private static int c;
|
|
private static char d;
|
|
private static char e;
|
|
private final String actionId;
|
|
private static final byte[] $$a = {97, ISO7816.INS_LOAD_KEY_FILE, 14, 49};
|
|
private static final int $$b = 54;
|
|
private static int $10 = 0;
|
|
private static int $11 = 1;
|
|
private static int j = 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: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(byte r6, int r7, short r8, java.lang.Object[] r9) {
|
|
/*
|
|
int r7 = r7 * 4
|
|
int r7 = 3 - r7
|
|
int r6 = 67 - r6
|
|
int r8 = r8 * 4
|
|
int r0 = 1 - r8
|
|
byte[] r1 = o.SM.$$a
|
|
byte[] r0 = new byte[r0]
|
|
r2 = 0
|
|
int r8 = 0 - r8
|
|
if (r1 != 0) goto L17
|
|
r3 = r7
|
|
r6 = r8
|
|
r4 = r2
|
|
goto L2f
|
|
L17:
|
|
r3 = r2
|
|
L18:
|
|
byte r4 = (byte) r6
|
|
r0[r3] = r4
|
|
int r7 = r7 + 1
|
|
if (r3 != r8) 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[r7]
|
|
r5 = r3
|
|
r3 = r7
|
|
r7 = r4
|
|
r4 = r5
|
|
L2f:
|
|
int r6 = r6 + r7
|
|
r7 = r3
|
|
r3 = r4
|
|
goto L18
|
|
*/
|
|
throw new UnsupportedOperationException("Method not decompiled: o.SM.g(byte, int, short, java.lang.Object[]):void");
|
|
}
|
|
|
|
public static SM valueOf(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = c + 103;
|
|
j = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
SM sm = (SM) Enum.valueOf(SM.class, str);
|
|
int i4 = j + 69;
|
|
c = i4 % 128;
|
|
if (i4 % 2 == 0) {
|
|
return sm;
|
|
}
|
|
Object obj = null;
|
|
obj.hashCode();
|
|
throw null;
|
|
}
|
|
|
|
public static SM[] values() {
|
|
int i = 2 % 2;
|
|
int i2 = j + 89;
|
|
c = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
SM[] smArr = (SM[]) $VALUES.clone();
|
|
int i4 = c + 71;
|
|
j = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
return smArr;
|
|
}
|
|
|
|
static {
|
|
c = 0;
|
|
b();
|
|
RTP_ACTION_ID = new SM("RTP_ACTION_ID", 0, "501");
|
|
GIFT_ACTION_ID = new SM("GIFT_ACTION_ID", 1, "511A");
|
|
Object[] objArr = new Object[1];
|
|
f(new char[]{42873, 50540, 20149, 34536}, 4 - KeyEvent.keyCodeFromString(""), objArr);
|
|
NONE = new SM("NONE", 2, ((String) objArr[0]).intern());
|
|
$VALUES = d();
|
|
int i = j + 77;
|
|
c = i % 128;
|
|
int i2 = i % 2;
|
|
}
|
|
|
|
private SM(String str, int i, String str2) {
|
|
this.actionId = str2;
|
|
}
|
|
|
|
public static SM c(String str) {
|
|
int i = 2 % 2;
|
|
int i2 = c + 103;
|
|
j = i2 % 128;
|
|
if (i2 % 2 != 0) {
|
|
SM sm = RTP_ACTION_ID;
|
|
if (sm.actionId.equals(str)) {
|
|
return sm;
|
|
}
|
|
SM sm2 = GIFT_ACTION_ID;
|
|
if (sm2.actionId.equals(str)) {
|
|
int i3 = j + 81;
|
|
c = i3 % 128;
|
|
if (i3 % 2 == 0) {
|
|
return sm2;
|
|
}
|
|
throw null;
|
|
}
|
|
return NONE;
|
|
}
|
|
RTP_ACTION_ID.actionId.equals(str);
|
|
throw null;
|
|
}
|
|
|
|
private static void f(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];
|
|
while (jtb.b < cArr.length) {
|
|
int i4 = $10 + 15;
|
|
$11 = i4 % 128;
|
|
int i5 = i4 % 2;
|
|
cArr3[i3] = cArr[jtb.b];
|
|
cArr3[1] = cArr[jtb.b + 1];
|
|
int i6 = 58224;
|
|
int i7 = i3;
|
|
while (i7 < 16) {
|
|
char c2 = cArr3[1];
|
|
char c3 = cArr3[i3];
|
|
int i8 = (c3 + i6) ^ ((c3 << 4) + ((char) (d ^ 41718355337583039L)));
|
|
int i9 = c3 >>> 5;
|
|
try {
|
|
Object[] objArr2 = new Object[4];
|
|
objArr2[3] = Integer.valueOf(a);
|
|
objArr2[2] = Integer.valueOf(i9);
|
|
objArr2[1] = Integer.valueOf(i8);
|
|
objArr2[i3] = Integer.valueOf(c2);
|
|
Object obj = xzZ.y.get(597144044);
|
|
if (obj == null) {
|
|
Class cls = (Class) xzZ.c(412 - Gravity.getAbsoluteGravity(i3, i3), 4 - TextUtils.indexOf((CharSequence) "", '0', i3, i3), (char) View.MeasureSpec.makeMeasureSpec(i3, i3));
|
|
byte b2 = (byte) 1;
|
|
byte b3 = (byte) (b2 - 1);
|
|
Object[] objArr3 = new Object[1];
|
|
g(b2, b3, b3, objArr3);
|
|
String str = (String) objArr3[i3];
|
|
Class<?>[] clsArr = new Class[4];
|
|
clsArr[i3] = Integer.TYPE;
|
|
clsArr[1] = Integer.TYPE;
|
|
clsArr[2] = Integer.TYPE;
|
|
clsArr[3] = Integer.TYPE;
|
|
obj = cls.getMethod(str, clsArr);
|
|
xzZ.y.put(597144044, obj);
|
|
}
|
|
char charValue = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
|
cArr3[1] = charValue;
|
|
char[] cArr4 = cArr3;
|
|
Object[] objArr4 = {Integer.valueOf(cArr3[i3]), Integer.valueOf((charValue + i6) ^ ((charValue << 4) + ((char) (e ^ 41718355337583039L)))), Integer.valueOf(charValue >>> 5), Integer.valueOf(b)};
|
|
Object obj2 = xzZ.y.get(597144044);
|
|
if (obj2 == null) {
|
|
Class cls2 = (Class) xzZ.c((ViewConfiguration.getTouchSlop() >> 8) + 412, (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, (char) (1 - (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1))));
|
|
byte b4 = (byte) 1;
|
|
byte b5 = (byte) (b4 - 1);
|
|
Object[] objArr5 = new Object[1];
|
|
g(b4, b5, b5, 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(KeyEvent.getDeadChar(0, 0) + 98, 6 - (SystemClock.uptimeMillis() > 0L ? 1 : (SystemClock.uptimeMillis() == 0L ? 0 : -1)), (char) (ViewConfiguration.getTouchSlop() >> 8));
|
|
byte b6 = (byte) 0;
|
|
byte b7 = b6;
|
|
Object[] objArr7 = new Object[1];
|
|
g(b6, b7, b7, objArr7);
|
|
obj3 = cls3.getMethod((String) objArr7[0], Object.class, Object.class);
|
|
xzZ.y.put(943004485, obj3);
|
|
}
|
|
((Method) obj3).invoke(null, objArr6);
|
|
cArr3 = cArr5;
|
|
i3 = 0;
|
|
}
|
|
String str2 = new String(cArr2, 0, i);
|
|
int i10 = $10 + 11;
|
|
$11 = i10 % 128;
|
|
if (i10 % 2 != 0) {
|
|
objArr[0] = str2;
|
|
} else {
|
|
int i11 = 16 / 0;
|
|
objArr[0] = str2;
|
|
}
|
|
}
|
|
|
|
static void b() {
|
|
e = (char) 61034;
|
|
b = (char) 22679;
|
|
d = (char) 31079;
|
|
a = (char) 37910;
|
|
}
|
|
|
|
public final boolean e() {
|
|
int i = 2 % 2;
|
|
if (this == RTP_ACTION_ID || this == GIFT_ACTION_ID) {
|
|
return true;
|
|
}
|
|
int i2 = j + 11;
|
|
int i3 = i2 % 128;
|
|
c = i3;
|
|
int i4 = i2 % 2;
|
|
int i5 = i3 + 103;
|
|
j = i5 % 128;
|
|
int i6 = i5 % 2;
|
|
return false;
|
|
}
|
|
|
|
private static /* synthetic */ SM[] d() {
|
|
int i = 2 % 2;
|
|
int i2 = j + 111;
|
|
c = i2 % 128;
|
|
int i3 = i2 % 2;
|
|
SM sm = RTP_ACTION_ID;
|
|
if (i3 == 0) {
|
|
return new SM[]{sm, GIFT_ACTION_ID, NONE};
|
|
}
|
|
SM sm2 = GIFT_ACTION_ID;
|
|
SM sm3 = NONE;
|
|
SM[] smArr = new SM[4];
|
|
smArr[1] = sm;
|
|
smArr[1] = sm2;
|
|
smArr[3] = sm3;
|
|
return smArr;
|
|
}
|
|
}
|