- Added realracing3-community.apk (71.57 MB) - Removed 32-bit support (armeabi-v7a) - Only includes arm64-v8a libraries - Decompiled source code included - Added README-community.md with analysis
524 lines
19 KiB
Java
524 lines
19 KiB
Java
package com.ironsource.adqualitysdk.sdk.i;
|
||
|
||
import android.graphics.Color;
|
||
import android.media.AudioTrack;
|
||
import android.os.SystemClock;
|
||
import android.text.TextUtils;
|
||
import android.view.MotionEvent;
|
||
import android.view.View;
|
||
import android.view.ViewConfiguration;
|
||
import android.widget.ExpandableListView;
|
||
import com.vungle.ads.internal.signals.SignalKey;
|
||
import java.util.List;
|
||
import org.json.JSONException;
|
||
import org.json.JSONObject;
|
||
|
||
/* loaded from: classes4.dex */
|
||
public class di extends da implements cj {
|
||
|
||
/* renamed from: ﮉ, reason: contains not printable characters */
|
||
private static int f1645 = 1;
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private static int f1646 = 0;
|
||
|
||
/* renamed from: ﱡ, reason: contains not printable characters */
|
||
private static char f1648 = 5;
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private boolean f1651;
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private String f1653;
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private String f1655;
|
||
|
||
/* renamed from: ﱟ, reason: contains not printable characters */
|
||
private static char[] f1647 = {'f', 'u', 'l', 's', 'c', 'r', 'e', 'n', 'b', 'a', 'm', 'd', 'i', 't', 'o', '.', 'C', 'N', 'A', 'R', 'v', 'I', 'F', 'g', 'P'};
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private static long f1649 = -2091202158368779579L;
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private String f1652 = "";
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private double f1654 = -1.0d;
|
||
|
||
/* renamed from: ﻏ, reason: contains not printable characters */
|
||
private boolean f1650 = false;
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public final void m2540(String str) {
|
||
int i = f1646 + 77;
|
||
f1645 = i % 128;
|
||
int i2 = i % 2;
|
||
this.f1653 = str;
|
||
if (i2 == 0) {
|
||
int i3 = 43 / 0;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private String m2534() {
|
||
int i = f1646 + 27;
|
||
f1645 = i % 128;
|
||
if (i % 2 != 0) {
|
||
return this.f1653;
|
||
}
|
||
int i2 = 96 / 0;
|
||
return this.f1653;
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private void m2531(String str) {
|
||
int i = f1646 + 31;
|
||
int i2 = i % 128;
|
||
f1645 = i2;
|
||
int i3 = i % 2;
|
||
this.f1652 = str;
|
||
int i4 = i2 + 17;
|
||
f1646 = i4 % 128;
|
||
if (i4 % 2 != 0) {
|
||
throw null;
|
||
}
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
private String m2536() {
|
||
int i = f1646 + 105;
|
||
int i2 = i % 128;
|
||
f1645 = i2;
|
||
if (i % 2 == 0) {
|
||
throw null;
|
||
}
|
||
String str = this.f1652;
|
||
int i3 = i2 + 27;
|
||
f1646 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
return str;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
public final void m2539(Double d) {
|
||
int i = f1646 + 115;
|
||
f1645 = i % 128;
|
||
if (i % 2 != 0) {
|
||
this.f1654 = d.doubleValue();
|
||
} else {
|
||
this.f1654 = d.doubleValue();
|
||
throw null;
|
||
}
|
||
}
|
||
|
||
/* renamed from: k, reason: contains not printable characters */
|
||
private Double m2533() {
|
||
int i = f1645 + 97;
|
||
f1646 = i % 128;
|
||
if (i % 2 == 0) {
|
||
return Double.valueOf(this.f1654);
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ヌ, reason: contains not printable characters */
|
||
private void m2535(boolean z) {
|
||
int i = f1645;
|
||
int i2 = i + 13;
|
||
f1646 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
this.f1651 = z;
|
||
int i4 = i + 99;
|
||
f1646 = i4 % 128;
|
||
if (i4 % 2 != 0) {
|
||
int i5 = 30 / 0;
|
||
}
|
||
}
|
||
|
||
/* renamed from: メ, reason: contains not printable characters */
|
||
public final void m2541(boolean z) {
|
||
int i = f1646 + 87;
|
||
f1645 = i % 128;
|
||
int i2 = i % 2;
|
||
this.f1650 = z;
|
||
if (i2 == 0) {
|
||
int i3 = 46 / 0;
|
||
}
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private boolean m2532() {
|
||
int i = f1646 + 73;
|
||
f1645 = i % 128;
|
||
if (i % 2 != 0) {
|
||
return this.f1650;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﻏ, reason: contains not printable characters */
|
||
private boolean m2528() {
|
||
int i = f1645 + 63;
|
||
f1646 = i % 128;
|
||
if (i % 2 == 0) {
|
||
return this.f1651;
|
||
}
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public final void m2538(String str) {
|
||
int i = f1645 + 93;
|
||
int i2 = i % 128;
|
||
f1646 = i2;
|
||
int i3 = i % 2;
|
||
this.f1655 = str;
|
||
int i4 = i2 + 53;
|
||
f1645 = i4 % 128;
|
||
int i5 = i4 % 2;
|
||
}
|
||
|
||
/* renamed from: ﮐ, reason: contains not printable characters */
|
||
private String m2526() {
|
||
int i = f1646;
|
||
int i2 = i + 109;
|
||
f1645 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
String str = this.f1655;
|
||
int i4 = i + 95;
|
||
f1645 = i4 % 128;
|
||
int i5 = i4 % 2;
|
||
return str;
|
||
}
|
||
|
||
/* renamed from: ﺙ, reason: contains not printable characters */
|
||
private String m2527() {
|
||
String intern;
|
||
int i = f1646 + 81;
|
||
f1645 = i % 128;
|
||
if (i % 2 != 0) {
|
||
if (m2528()) {
|
||
intern = m2530(9 - MotionEvent.axisFromString(""), (byte) ((ViewConfiguration.getScrollBarFadeDuration() >> 16) + 88), "\u0001\u0002ÄÄ\u0004\u0000\u0006\u0007\u0007\b").intern();
|
||
int i2 = f1646 + SignalKey.EVENT_ID;
|
||
f1645 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
} else {
|
||
intern = m2530((ViewConfiguration.getMaximumFlingVelocity() >> 16) + 6, (byte) (65 - TextUtils.getOffsetAfter("", 0)), "\t\u0005¯¯\u0007\u0006").intern();
|
||
}
|
||
StringBuilder sb = new StringBuilder();
|
||
sb.append(m2530(10 - TextUtils.getTrimmedLength(""), (byte) (Color.alpha(0) + 90), "\u000b\u0005\f\r\b\u000e\r\n\u0005\u0011").intern());
|
||
sb.append(this.f1652);
|
||
sb.append(m2529("ﭶﭘ⫟忒꽙", (ViewConfiguration.getScrollBarFadeDuration() >> 16) + 1).intern());
|
||
sb.append(intern);
|
||
return sb.toString();
|
||
}
|
||
m2528();
|
||
throw null;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
public final JSONObject m2537() {
|
||
JSONObject jSONObject = new JSONObject();
|
||
JSONObject jSONObject2 = new JSONObject();
|
||
try {
|
||
jSONObject2.put(ik.f2441, this.f1653);
|
||
double d = this.f1654;
|
||
if (d > -1.0d) {
|
||
int i = f1645 + 87;
|
||
f1646 = i % 128;
|
||
int i2 = i % 2;
|
||
jSONObject2.put(ik.f2391, d);
|
||
}
|
||
jSONObject2.put(ik.f2389, this.f1655);
|
||
} catch (JSONException unused) {
|
||
}
|
||
try {
|
||
if (jSONObject2.length() > 0) {
|
||
int i3 = f1646 + 95;
|
||
f1645 = i3 % 128;
|
||
if (i3 % 2 == 0) {
|
||
throw null;
|
||
}
|
||
if (this.f1650) {
|
||
jSONObject2.put(ik.f2390, true);
|
||
}
|
||
jSONObject.put(ik.f2387, jSONObject2);
|
||
}
|
||
int i4 = f1646 + 99;
|
||
f1645 = i4 % 128;
|
||
int i5 = i4 % 2;
|
||
} catch (JSONException unused2) {
|
||
}
|
||
int i6 = f1646 + 59;
|
||
f1645 = i6 % 128;
|
||
int i7 = i6 % 2;
|
||
return jSONObject;
|
||
}
|
||
|
||
/* JADX WARN: Can't fix incorrect switch cases order, some code will duplicate */
|
||
@Override // com.ironsource.adqualitysdk.sdk.i.cj
|
||
/* renamed from: ﻛ */
|
||
public final Object mo1335(String str, List<Object> list, ch chVar) {
|
||
char c = '\f';
|
||
switch (str.hashCode()) {
|
||
case -2010356102:
|
||
if (str.equals(m2529("枡柆莘鄸\udd02큆\uf8fc\ue84bⳇ\ude2e蠃歌\uf1ea⬔䌽♈蛘矯﹟\uf1ae䮅볃ꥇ貹Ⴀ", (ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1))).intern())) {
|
||
int i = f1645 + 69;
|
||
f1646 = i % 128;
|
||
if (i % 2 != 0) {
|
||
c = '9';
|
||
break;
|
||
}
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case -1679773410:
|
||
if (str.equals(m2530(14 - (ViewConfiguration.getKeyRepeatDelay() >> 16), (byte) (68 - TextUtils.lastIndexOf("", '0')), "\u0001\b\u000e\u0017\u0004\u0007\u0001\t\u000b\u0005\b\f\u0001\u0010").intern())) {
|
||
c = '\b';
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case -1457409854:
|
||
if (str.equals(m2529("錃鍤磞橾姽\uee10簃혜\ud878╩ೳ唚Ո큇쟞᠙牱貾窨쿲", (ViewConfiguration.getKeyRepeatTimeout() >> 16) + 1).intern())) {
|
||
c = 1;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case -1033133001:
|
||
if (str.equals(m2530(View.MeasureSpec.getSize(0) + 12, (byte) (67 - TextUtils.getCapsMode("", 0, 0)), "\u0001\b\u0012\u0017\u000e\u0010\u0005\u0015\u0007\b\u0006\u000b").intern())) {
|
||
c = 4;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case -869156349:
|
||
if (str.equals(m2529("㴷㵃\uf3a9\ue103\uea08\ue028쿈\ud814癌긞", -(ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))).intern())) {
|
||
int i2 = f1646 + 69;
|
||
f1645 = i2 % 128;
|
||
int i3 = i2 % 2;
|
||
c = '\r';
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case -303276684:
|
||
if (str.equals(m2529("阼陛䠡媁↾졯р\uf06d\udd4dᖜ璷獯`\ue0a9뾖㹔睥뱔˱\ue989먞睟嗔钓\ue135쉭", 1 - TextUtils.getOffsetAfter("", 0)).intern())) {
|
||
c = 3;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 91962794:
|
||
if (str.equals(m2529("欁武缪涊ᄅ㭕㓻͊⁹⊒䐆职﵄힢輧쵉詴譏", 1 - (ViewConfiguration.getTapTimeout() >> 16)).intern())) {
|
||
c = '\t';
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 701278346:
|
||
if (str.equals(m2530(16 - MotionEvent.axisFromString(""), (byte) (32 - (ViewConfiguration.getWindowTouchSlop() >> 8)), "\u0001\b\u000b\u0017\u0002\u0017\u0002\u0003\u0003\u0004\u0000\t\u0085\u0085\b\u0011\u0084").intern())) {
|
||
c = 6;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1006114614:
|
||
if (str.equals(m2530(Color.red(0) + 16, (byte) (1 - (ViewConfiguration.getTapTimeout() >> 16)), "\u0001\b\u000b\u0012\f\t\b\u0007\u0003\u000e\n\t\u0013\u0007\u000b\u0005").intern())) {
|
||
int i4 = f1645 + 13;
|
||
f1646 = i4 % 128;
|
||
int i5 = i4 % 2;
|
||
c = 0;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1009851624:
|
||
if (str.equals(m2529("櫌檿珛慻郦\ue4ea딘\udce8↽\u2e66엯忪ﲐ\udb53໎ዑ讕螮뎩씌䛮䲥\ue48c렖᷅聯", -TextUtils.lastIndexOf("", '0', 0, 0)).intern())) {
|
||
c = 2;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1314266045:
|
||
if (str.equals(m2529("䚇䛴囊䑪ᕄ륔ズ腒\u0de0\u0b50䁑ɂ탛﹈譥", (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1))).intern())) {
|
||
c = '\n';
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1402845873:
|
||
if (str.equals(m2530((ViewConfiguration.getScrollFriction() > 0.0f ? 1 : (ViewConfiguration.getScrollFriction() == 0.0f ? 0 : -1)) + 10, (byte) ((AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)) + 57), "\u0015\b\u000b\u0017\u0001\u0012\u0002\u0004\u000e\n¦").intern())) {
|
||
int i6 = f1646 + 49;
|
||
f1645 = i6 % 128;
|
||
int i7 = i6 % 2;
|
||
c = 11;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1641431166:
|
||
if (str.equals(m2530(18 - (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)), (byte) (9 - (ViewConfiguration.getMaximumDrawingCacheSize() >> 24)), "\u0015\b\u000b\u0017\u0002\u0017\u0002\u0003\u0003\u0004\u0000\tnn\b\u0011m").intern())) {
|
||
c = 7;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
case 1712841667:
|
||
if (str.equals(m2529("䈺䉝靵藕\udc46Ҳ隸㲼ॊ쫾襃뾩푷㿶䉿\uf2ae", Color.blue(0) + 1).intern())) {
|
||
c = 5;
|
||
break;
|
||
}
|
||
c = 65535;
|
||
break;
|
||
default:
|
||
c = 65535;
|
||
break;
|
||
}
|
||
switch (c) {
|
||
case 0:
|
||
m2540((String) da.m2402(list, 0, String.class));
|
||
return null;
|
||
case 1:
|
||
return m2534();
|
||
case 2:
|
||
m2531((String) da.m2402(list, 0, String.class));
|
||
return null;
|
||
case 3:
|
||
return m2536();
|
||
case 4:
|
||
m2539((Double) da.m2402(list, 0, Double.class));
|
||
int i8 = f1646 + 79;
|
||
f1645 = i8 % 128;
|
||
int i9 = i8 % 2;
|
||
return null;
|
||
case 5:
|
||
return m2533();
|
||
case 6:
|
||
m2535(((Boolean) da.m2402(list, 0, Boolean.class)).booleanValue());
|
||
return null;
|
||
case 7:
|
||
return Boolean.valueOf(m2528());
|
||
case '\b':
|
||
m2538((String) da.m2402(list, 0, String.class));
|
||
return null;
|
||
case '\t':
|
||
return m2526();
|
||
case '\n':
|
||
m2541(((Boolean) da.m2402(list, 0, Boolean.class)).booleanValue());
|
||
break;
|
||
case 11:
|
||
break;
|
||
case '\f':
|
||
return m2527();
|
||
case '\r':
|
||
return m2537();
|
||
default:
|
||
return null;
|
||
}
|
||
return Boolean.valueOf(m2532());
|
||
}
|
||
|
||
/* renamed from: ﻛ, reason: contains not printable characters */
|
||
private static String m2530(int i, byte b, String str) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (h.f2156) {
|
||
try {
|
||
char[] cArr3 = f1647;
|
||
char c = f1648;
|
||
char[] cArr4 = new char[i];
|
||
if (i % 2 != 0) {
|
||
i--;
|
||
cArr4[i] = (char) (cArr2[i] - b);
|
||
}
|
||
if (i > 1) {
|
||
h.f2159 = 0;
|
||
while (true) {
|
||
int i2 = h.f2159;
|
||
if (i2 >= i) {
|
||
break;
|
||
}
|
||
h.f2158 = cArr2[i2];
|
||
h.f2161 = cArr2[h.f2159 + 1];
|
||
if (h.f2158 == h.f2161) {
|
||
cArr4[h.f2159] = (char) (h.f2158 - b);
|
||
cArr4[h.f2159 + 1] = (char) (h.f2161 - b);
|
||
} else {
|
||
h.f2162 = h.f2158 / c;
|
||
h.f2157 = h.f2158 % c;
|
||
h.f2160 = h.f2161 / c;
|
||
h.f2155 = h.f2161 % c;
|
||
if (h.f2157 == h.f2155) {
|
||
h.f2162 = ((h.f2162 + c) - 1) % c;
|
||
h.f2160 = ((h.f2160 + c) - 1) % c;
|
||
int i3 = (h.f2162 * c) + h.f2157;
|
||
int i4 = (h.f2160 * c) + h.f2155;
|
||
int i5 = h.f2159;
|
||
cArr4[i5] = cArr3[i3];
|
||
cArr4[i5 + 1] = cArr3[i4];
|
||
} else if (h.f2162 == h.f2160) {
|
||
h.f2157 = ((h.f2157 + c) - 1) % c;
|
||
h.f2155 = ((h.f2155 + c) - 1) % c;
|
||
int i6 = (h.f2162 * c) + h.f2157;
|
||
int i7 = (h.f2160 * c) + h.f2155;
|
||
int i8 = h.f2159;
|
||
cArr4[i8] = cArr3[i6];
|
||
cArr4[i8 + 1] = cArr3[i7];
|
||
} else {
|
||
int i9 = (h.f2162 * c) + h.f2155;
|
||
int i10 = (h.f2160 * c) + h.f2157;
|
||
int i11 = h.f2159;
|
||
cArr4[i11] = cArr3[i9];
|
||
cArr4[i11 + 1] = cArr3[i10];
|
||
}
|
||
}
|
||
h.f2159 += 2;
|
||
}
|
||
}
|
||
str2 = new String(cArr4);
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
|
||
/* renamed from: ﻐ, reason: contains not printable characters */
|
||
private static String m2529(String str, int i) {
|
||
String str2;
|
||
char[] cArr = str;
|
||
if (str != null) {
|
||
cArr = str.toCharArray();
|
||
}
|
||
char[] cArr2 = cArr;
|
||
synchronized (i.f2325) {
|
||
try {
|
||
char[] m2999 = i.m2999(f1649, cArr2, i);
|
||
i.f2324 = 4;
|
||
while (true) {
|
||
int i2 = i.f2324;
|
||
if (i2 < m2999.length) {
|
||
i.f2323 = i2 - 4;
|
||
m2999[i.f2324] = (char) ((m2999[r1] ^ m2999[r1 % 4]) ^ (i.f2323 * f1649));
|
||
i.f2324++;
|
||
} else {
|
||
str2 = new String(m2999, 4, m2999.length - 4);
|
||
}
|
||
}
|
||
} catch (Throwable th) {
|
||
throw th;
|
||
}
|
||
}
|
||
return str2;
|
||
}
|
||
}
|