302 lines
14 KiB
Java
302 lines
14 KiB
Java
|
package o;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.content.ContextWrapper;
|
||
|
import android.graphics.Color;
|
||
|
import android.graphics.drawable.Drawable;
|
||
|
import android.os.Process;
|
||
|
import android.os.SystemClock;
|
||
|
import android.telephony.cdma.CdmaCellLocation;
|
||
|
import android.text.AndroidCharacter;
|
||
|
import android.text.TextUtils;
|
||
|
import android.view.LayoutInflater;
|
||
|
import android.view.View;
|
||
|
import android.view.ViewConfiguration;
|
||
|
import android.widget.ExpandableListView;
|
||
|
import com.google.android.gms.maps.model.BitmapDescriptorFactory;
|
||
|
import java.lang.reflect.Method;
|
||
|
import net.sf.scuba.smartcards.ISO7816;
|
||
|
import net.sf.scuba.smartcards.ISOFileInfo;
|
||
|
|
||
|
/* renamed from: o.fRg, reason: case insensitive filesystem */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public final class C13125fRg extends ContextWrapper {
|
||
|
private static long a;
|
||
|
public static final RVV b;
|
||
|
private static InterfaceC14984gdp[] e;
|
||
|
private static int f;
|
||
|
private final InterfaceC13393fZL c;
|
||
|
private static final byte[] $$a = {65, 0, ISO7816.INS_CHANGE_CHV, ISOFileInfo.FMD_BYTE};
|
||
|
private static final int $$b = 64;
|
||
|
private static int $10 = 0;
|
||
|
private static int $11 = 1;
|
||
|
private static int d = 0;
|
||
|
|
||
|
/* JADX WARN: Removed duplicated region for block: B:10:0x0025 */
|
||
|
/* JADX WARN: Removed duplicated region for block: B:7:0x001d */
|
||
|
/* JADX WARN: Unsupported multi-entry loop pattern (BACK_EDGE: B:10:0x0025 -> B:4:0x0030). 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 h(int r6, int r7, byte r8, java.lang.Object[] r9) {
|
||
|
/*
|
||
|
int r6 = r6 * 2
|
||
|
int r0 = 1 - r6
|
||
|
byte[] r1 = o.C13125fRg.$$a
|
||
|
int r8 = r8 * 2
|
||
|
int r8 = 121 - r8
|
||
|
int r7 = r7 + 4
|
||
|
byte[] r0 = new byte[r0]
|
||
|
r2 = 0
|
||
|
int r6 = 0 - r6
|
||
|
if (r1 != 0) goto L17
|
||
|
r3 = r8
|
||
|
r4 = r2
|
||
|
r8 = r7
|
||
|
goto L30
|
||
|
L17:
|
||
|
r3 = r2
|
||
|
L18:
|
||
|
byte r4 = (byte) r8
|
||
|
r0[r3] = r4
|
||
|
if (r3 != r6) goto L25
|
||
|
java.lang.String r6 = new java.lang.String
|
||
|
r6.<init>(r0, r2)
|
||
|
r9[r2] = r6
|
||
|
return
|
||
|
L25:
|
||
|
int r3 = r3 + 1
|
||
|
int r7 = r7 + 1
|
||
|
r4 = r1[r7]
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r4
|
||
|
r4 = r3
|
||
|
r3 = r5
|
||
|
L30:
|
||
|
int r7 = -r7
|
||
|
int r7 = r7 + r3
|
||
|
r3 = r4
|
||
|
r5 = r8
|
||
|
r8 = r7
|
||
|
r7 = r5
|
||
|
goto L18
|
||
|
*/
|
||
|
throw new UnsupportedOperationException("Method not decompiled: o.C13125fRg.h(int, int, byte, java.lang.Object[]):void");
|
||
|
}
|
||
|
|
||
|
private C13125fRg(Context context) {
|
||
|
super(context);
|
||
|
this.c = fZR.e(fZX.NONE, new IeS(this));
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ C13125fRg(Context context, byte b2) {
|
||
|
this(context);
|
||
|
}
|
||
|
|
||
|
@Override // android.content.ContextWrapper, android.content.Context
|
||
|
public final Object getSystemService(String str) {
|
||
|
int i = 2 % 2;
|
||
|
int i2 = d + 91;
|
||
|
f = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
C14957gcv.b((Object) str, "");
|
||
|
if (!(!C14957gcv.b((Object) "layout_inflater", (Object) str))) {
|
||
|
int i4 = f + 75;
|
||
|
d = i4 % 128;
|
||
|
int i5 = i4 % 2;
|
||
|
InterfaceC13393fZL interfaceC13393fZL = this.c;
|
||
|
InterfaceC14984gdp interfaceC14984gdp = e[0];
|
||
|
return (C13130fRl) interfaceC13393fZL.e();
|
||
|
}
|
||
|
Object systemService = super.getSystemService(str);
|
||
|
int i6 = f + 91;
|
||
|
d = i6 % 128;
|
||
|
if (i6 % 2 == 0) {
|
||
|
return systemService;
|
||
|
}
|
||
|
throw null;
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fRg$RVV */
|
||
|
/* loaded from: classes6.dex */
|
||
|
public static final class RVV {
|
||
|
private RVV() {
|
||
|
}
|
||
|
|
||
|
public /* synthetic */ RVV(byte b) {
|
||
|
this();
|
||
|
}
|
||
|
}
|
||
|
|
||
|
private static void g(char[] cArr, int i, Object[] objArr) {
|
||
|
int i2 = 2 % 2;
|
||
|
GuL guL = new GuL();
|
||
|
char[] a2 = GuL.a(a ^ (-7538262848231253921L), cArr, i);
|
||
|
guL.a = 4;
|
||
|
while (guL.a < a2.length) {
|
||
|
int i3 = $11 + 121;
|
||
|
$10 = i3 % 128;
|
||
|
int i4 = i3 % 2;
|
||
|
guL.c = guL.a - 4;
|
||
|
int i5 = guL.a;
|
||
|
try {
|
||
|
Object[] objArr2 = {Long.valueOf(a2[guL.a] ^ a2[guL.a % 4]), Long.valueOf(guL.c), Long.valueOf(a)};
|
||
|
Object obj = xzZ.y.get(428080616);
|
||
|
if (obj == null) {
|
||
|
Class cls = (Class) xzZ.c(208 - View.MeasureSpec.getMode(0), (Process.myTid() >> 22) + 5, (char) (Drawable.resolveOpacity(0, 0) + 1706));
|
||
|
byte b2 = $$a[1];
|
||
|
byte b3 = (byte) (b2 - 1);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
h(b2, b3, (byte) (-b3), objArr3);
|
||
|
obj = cls.getMethod((String) objArr3[0], Long.TYPE, Long.TYPE, Long.TYPE);
|
||
|
xzZ.y.put(428080616, obj);
|
||
|
}
|
||
|
a2[i5] = ((Character) ((Method) obj).invoke(null, objArr2)).charValue();
|
||
|
Object[] objArr4 = {guL, guL};
|
||
|
Object obj2 = xzZ.y.get(-1875914398);
|
||
|
if (obj2 == null) {
|
||
|
Class cls2 = (Class) xzZ.c(393 - (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), 5 - TextUtils.getOffsetAfter("", 0), (char) View.resolveSizeAndState(0, 0, 0));
|
||
|
byte b4 = $$a[1];
|
||
|
byte b5 = b4;
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
h(b5, (byte) (b5 - 1), b4, objArr5);
|
||
|
obj2 = cls2.getMethod((String) objArr5[0], Object.class, Object.class);
|
||
|
xzZ.y.put(-1875914398, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(null, objArr4);
|
||
|
int i6 = $11 + 109;
|
||
|
$10 = i6 % 128;
|
||
|
int i7 = i6 % 2;
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
objArr[0] = new String(a2, 4, a2.length - 4);
|
||
|
}
|
||
|
|
||
|
@Override // android.content.ContextWrapper
|
||
|
public final void attachBaseContext(Context context) {
|
||
|
Context context2;
|
||
|
int i = 2 % 2;
|
||
|
int i2 = d + 105;
|
||
|
f = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
super.attachBaseContext(context);
|
||
|
Object[] objArr = new Object[1];
|
||
|
g(new char[]{47527, 4480, 32634, 29200, 47558, 51905, 51520, 58351, 54644, 22018, 23556, 35959, 24752, 42324, 61570, 6469, 65505, 12428, 33675, 42420, 2852, 40940}, (ViewConfiguration.getScrollFriction() > BitmapDescriptorFactory.HUE_RED ? 1 : (ViewConfiguration.getScrollFriction() == BitmapDescriptorFactory.HUE_RED ? 0 : -1)), objArr);
|
||
|
Class<?> cls = Class.forName((String) objArr[0]);
|
||
|
Object[] objArr2 = new Object[1];
|
||
|
g(new char[]{29677, 59101, 53507, 189, 29568, 15755, 26376, 37209, 7989}, (ViewConfiguration.getMaximumDrawingCacheSize() >> 24) + 1, objArr2);
|
||
|
int intValue = ((Integer) cls.getDeclaredMethod((String) objArr2[0], new Class[0]).invoke(null, new Object[0])).intValue() % 100000;
|
||
|
if (intValue >= 99000) {
|
||
|
int i4 = f + 15;
|
||
|
d = i4 % 128;
|
||
|
if (i4 % 2 != 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
if (intValue <= 99999) {
|
||
|
return;
|
||
|
}
|
||
|
}
|
||
|
if (context != null) {
|
||
|
int i5 = d + 85;
|
||
|
f = i5 % 128;
|
||
|
int i6 = i5 % 2;
|
||
|
context2 = context.getApplicationContext();
|
||
|
} else {
|
||
|
context2 = context;
|
||
|
}
|
||
|
if (context2 != null) {
|
||
|
try {
|
||
|
Object obj = xzZ.y.get(125943855);
|
||
|
if (obj == null) {
|
||
|
obj = ((Class) xzZ.c(ExpandableListView.getPackedPositionChild(0L) + 493, Color.red(0) + 5, (char) (ViewConfiguration.getScrollBarFadeDuration() >> 16))).getMethod("a", null);
|
||
|
xzZ.y.put(125943855, obj);
|
||
|
}
|
||
|
Object invoke = ((Method) obj).invoke(null, null);
|
||
|
Object[] objArr3 = new Object[1];
|
||
|
g(new char[]{11905, 24724, 34795, 56058, 11952, 48012, 12673, 19221, 16910, 10012, 42135, 9426, 63387, 54282, 2063, 45470, 26758, 16789, 31562, 3331, 39955, 61112, 61079, 40639, 12574, 39547, 20864, 27642, 41615, 1845, 50510, 51002, 55238, 46334, 10253, 20602, 19280, 8622, 39917, 11686, 64635, 52538, 3955, 48817, 4587, 31271, 29284, 2602, 33526, 59375, 58876, 59247}, 1 - (CdmaCellLocation.convertQuartSecToDecDegrees(0) > 0.0d ? 1 : (CdmaCellLocation.convertQuartSecToDecDegrees(0) == 0.0d ? 0 : -1)), objArr3);
|
||
|
String str = (String) objArr3[0];
|
||
|
Object[] objArr4 = new Object[1];
|
||
|
g(new char[]{24659, 41534, 63976, 32124, 24630, 31091, 20352, 60564, 3289, 58807, 56006, 33548, 47438, 5804, 30220, 5711, 9813, 33643, 1357, 43660, 53909, 11285, 37015, 14643, 32668, 22739, 12163, 52337, 60424, 50591, 47902, 24810, 39237, 30292, 22106, 63477, 1412, 58118, 58851, 35440, 45818, 4045, 29040, 6455, 24381, 47323, 3135, 44463, 52338, 9548, 39852, 16575, 30951, 20985, 13984, 55062, 58812, 49853, 49719, 27143, 37411, 28458, 20863, 65169, 16225, 39023, 60651, 36232}, AndroidCharacter.getMirror('0') - '/', objArr4);
|
||
|
String str2 = (String) objArr4[0];
|
||
|
Object[] objArr5 = new Object[1];
|
||
|
g(new char[]{44295, 1352, 21984, 40012, 44390, 56927, 58254, 3570, 49626, 17040, 30367, 25184, 29773, 45526, 55813, 63276, 60241, 9247, 43330, 19381, 8086, 35637, 15560, 55297, 45722, 65443, 33757, 11591, 8460, 25319, 5952, 33244, 21531, 53549, 64091, 5785, 51411, 17445, 18879, 27412, 32686, 43185, 56619, 63572, 37482, 8191, 41059, 19610, 373, 33384, 14244, 41352, 46517, 63186, 39676, 13865, 10429, 26058, 28218, 35635, 24447, 51294, 64800, 8184, 62006, 16195, 16609, 27882}, 1 - (ViewConfiguration.getTapTimeout() >> 16), objArr5);
|
||
|
String str3 = (String) objArr5[0];
|
||
|
Object[] objArr6 = new Object[1];
|
||
|
g(new char[]{47794, 48147, 47658, 65237, 47834, 26440, 3072, 28456, 54909, 64450, 39199, 179, 25529, 2269, 13725, 38333, 64741, 40223, 18133, 10617, 2087, 12926, 54023, 47809, 42367, 18084, 27714, 20365, 14004, 56303, 63682, 58196, 17406, 26674, 5581, 29701, 57126, 64895, 42613, 2507, 26714, 4598, 12983, 39561, 34187, 42726, 20472, 11843, 5847, 15141, 55353, 49926, 41479, 20418, 30055, 21735, 16211, 56455, 33185, 59836, 18579, 29003, 4837, 32110, 58833, 34373, 44859, 3632, 29021, 6794, 14342, 41911, 33451, 45006, 21653, 13490, 8190, 15367}, (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)), objArr6);
|
||
|
String str4 = (String) objArr6[0];
|
||
|
Object[] objArr7 = new Object[1];
|
||
|
g(new char[]{62441, 11379, 50259, 53726, 62416, 63346, 29237, 16509, 40805}, Color.green(0) + 1, objArr7);
|
||
|
String str5 = (String) objArr7[0];
|
||
|
Object[] objArr8 = new Object[1];
|
||
|
g(new char[]{33431, 11806, 20255, 18261, 33522, 62800, 63859, 55020, 61007, 27084, 27697, 47404, 23490, 39567, 49401, 11317, 50369, 3920, 46009, 37030, 12374, 41008, 9852, 841, 40281, 54432, 39286, 63041, 3789, 18922, 3563, 23233, 31620, 64040, 57598, 52689, 59203, 28452, 21264, 45149}, (Process.myPid() >> 22) + 1, objArr8);
|
||
|
Object[] objArr9 = {context2, str, str2, str3, str4, true, str5, (String) objArr8[0]};
|
||
|
Object obj2 = xzZ.y.get(1656189573);
|
||
|
if (obj2 == null) {
|
||
|
obj2 = ((Class) xzZ.c((SystemClock.elapsedRealtimeNanos() > 0L ? 1 : (SystemClock.elapsedRealtimeNanos() == 0L ? 0 : -1)) + 486, (ViewConfiguration.getGlobalActionKeyTimeout() > 0L ? 1 : (ViewConfiguration.getGlobalActionKeyTimeout() == 0L ? 0 : -1)) + 4, (char) (ExpandableListView.getPackedPositionForGroup(0) > 0L ? 1 : (ExpandableListView.getPackedPositionForGroup(0) == 0L ? 0 : -1)))).getMethod("e", Context.class, String.class, String.class, String.class, String.class, Boolean.TYPE, String.class, String.class);
|
||
|
xzZ.y.put(1656189573, obj2);
|
||
|
}
|
||
|
((Method) obj2).invoke(invoke, objArr9);
|
||
|
} catch (Throwable th) {
|
||
|
Throwable cause = th.getCause();
|
||
|
if (cause == null) {
|
||
|
throw th;
|
||
|
}
|
||
|
throw cause;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
|
||
|
/* renamed from: o.fRg$IeS */
|
||
|
/* loaded from: classes6.dex */
|
||
|
static final class IeS extends AbstractC14961gcz implements InterfaceC14890gbN<C13130fRl> {
|
||
|
private C13125fRg b;
|
||
|
|
||
|
@Override // o.InterfaceC14890gbN
|
||
|
public final /* synthetic */ C13130fRl invoke() {
|
||
|
LayoutInflater from = LayoutInflater.from(this.b.getBaseContext());
|
||
|
C14957gcv.a(from, "");
|
||
|
return new C13130fRl(from, this.b, false);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
IeS(C13125fRg c13125fRg) {
|
||
|
super(0);
|
||
|
this.b = c13125fRg;
|
||
|
}
|
||
|
}
|
||
|
|
||
|
public static final ContextWrapper aCE_(Context context) {
|
||
|
int i = 2 % 2;
|
||
|
C14957gcv.b((Object) context, "");
|
||
|
C13125fRg c13125fRg = new C13125fRg(context, (byte) 0);
|
||
|
int i2 = d + 35;
|
||
|
f = i2 % 128;
|
||
|
int i3 = i2 % 2;
|
||
|
return c13125fRg;
|
||
|
}
|
||
|
|
||
|
static void e() {
|
||
|
a = -8671312589861551248L;
|
||
|
}
|
||
|
|
||
|
static {
|
||
|
f = 1;
|
||
|
e();
|
||
|
e = new InterfaceC14984gdp[]{C14929gcJ.b(new gcF(C14929gcJ.c(C13125fRg.class), "inflater", "getInflater()Lio/github/inflationx/viewpump/internal/-ViewPumpLayoutInflater;"))};
|
||
|
b = new RVV((byte) 0);
|
||
|
int i = d + 103;
|
||
|
f = i % 128;
|
||
|
if (i % 2 == 0) {
|
||
|
throw null;
|
||
|
}
|
||
|
}
|
||
|
}
|