Files
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

323 lines
14 KiB
Java
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
package com.ironsource.adqualitysdk.sdk.i;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.media.AudioTrack;
import android.os.Process;
import android.os.SystemClock;
import android.text.AndroidCharacter;
import android.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import androidx.core.internal.view.SupportMenu;
import com.ironsource.adqualitysdk.sdk.i.ao;
import com.vungle.ads.internal.signals.SignalKey;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.TimeUnit;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class aq extends ao.AnonymousClass1 {
/* renamed from: ﮐ, reason: contains not printable characters */
private static int f355 = 0;
/* renamed from: ﱡ, reason: contains not printable characters */
private static int f356 = 1;
/* renamed from: ﻐ, reason: contains not printable characters */
private static char f358 = 4;
/* renamed from: , reason: contains not printable characters */
private final int f362 = (int) TimeUnit.SECONDS.toMillis(120);
/* renamed from: メ, reason: contains not printable characters */
private static char[] f361 = {'p', 'r', 'o', 't', 'n', 's', 'e', 'l', 'c', 'm', 'v', 'u', 'q', 'w', 'x', 'y'};
/* renamed from: ヌ, reason: contains not printable characters */
private static long f360 = 0;
/* renamed from: ﻛ, reason: contains not printable characters */
private static int f359 = 0;
/* renamed from: ﻏ, reason: contains not printable characters */
private static char f357 = 56312;
public aq(ap apVar) {
m1160(View.resolveSize(0, 0) + 7, (byte) (29 - ((byte) KeyEvent.getModifierMetaStateMask())), "\u0001\u0002\u0003\u0000\u0000\u0006\u0091").intern();
m1160(9 - (ViewConfiguration.getFadingEdgeLength() >> 16), (byte) (TextUtils.getTrimmedLength("") + 39), "\u0007\u0004\u0004\n\u0000\u0002\u0000\u0006\u009a").intern();
m1117(apVar);
}
/* renamed from: ﻐ, reason: contains not printable characters */
public final int m1166() {
int i = f355 + 75;
f356 = i % 128;
int i2 = i % 2;
int optInt = m1115().optInt(m1160(3 - View.MeasureSpec.getSize(0), (byte) (23 - (ExpandableListView.getPackedPositionForChild(0, 0) > 0L ? 1 : (ExpandableListView.getPackedPositionForChild(0, 0) == 0L ? 0 : -1))), "\u0007\u0006\u008c").intern(), this.f362);
int i3 = f355 + 41;
f356 = i3 % 128;
if (i3 % 2 != 0) {
return optInt;
}
throw null;
}
/* renamed from: , reason: contains not printable characters */
public final int m1168() {
int i = f356 + 47;
f355 = i % 128;
int i2 = i % 2;
int optInt = m1115().optInt(m1160(2 - TextUtils.lastIndexOf("", '0', 0, 0), (byte) (21 - View.MeasureSpec.makeMeasureSpec(0, 0)), "\n\u0005\u0085").intern(), 40);
int i3 = f356 + 111;
f355 = i3 % 128;
int i4 = i3 % 2;
return optInt;
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final int m1167() {
int i = f355 + SignalKey.EVENT_ID;
f356 = i % 128;
int i2 = i % 2;
int optInt = m1115().optInt(m1160(((Process.getThreadPriority(0) + 20) >> 6) + 3, (byte) (TextUtils.lastIndexOf("", '0', 0, 0) + 76), "\n\u000b¾").intern(), 9850);
int i3 = f356 + 29;
f355 = i3 % 128;
int i4 = i3 % 2;
return optInt;
}
/* renamed from: ヌ, reason: contains not printable characters */
public final List<String> m1169() {
List<String> m1157 = m1114().m1157();
m1157.addAll(jx.m3331(m1115(), m1159("\u0000\u0000\u0000\u0000", "ㅭ뜆䎱", "ꆣ끡ꡄ\u0ee2", (char) ((ViewConfiguration.getTouchSlop() >> 8) + 58024), Drawable.resolveOpacity(0, 0) + 1152410017).intern(), new ArrayList()));
int i = f356 + 25;
f355 = i % 128;
if (i % 2 == 0) {
return m1157;
}
throw null;
}
/* renamed from: メ, reason: contains not printable characters */
public final List<String> m1170() {
List<String> m1148 = m1114().m1148();
m1148.addAll(jx.m3331(m1115(), m1159("\u0000\u0000\u0000\u0000", "묩㇚깂", "ሪ얖㹇㸓", (char) ((ViewConfiguration.getTouchSlop() >> 8) + 4926), (ViewConfiguration.getPressedStateDuration() >> 16) + 1204131346).intern(), new ArrayList()));
int i = f355 + 125;
f356 = i % 128;
int i2 = i % 2;
return m1148;
}
/* renamed from: ﮐ, reason: contains not printable characters */
public final String m1161() {
JSONObject optJSONObject;
int i = f356 + 95;
f355 = i % 128;
if (i % 2 == 0 ? (optJSONObject = m1115().optJSONObject(m1159("\u0000\u0000\u0000\u0000", "ḓफ崅", "㆖苀Ⅽ㗋", (char) ((TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)) + 52001), 1837285425 - (ViewConfiguration.getKeyRepeatDelay() >> 16)).intern())) == null : (optJSONObject = m1115().optJSONObject(m1159("\u0000\u0000\u0000\u0000", "ḓफ崅", "㆖苀Ⅽ㗋", (char) (52001 >>> (TypedValue.complexToFraction(1, 1.0f, 1.0f) > 1.0f ? 1 : (TypedValue.complexToFraction(1, 1.0f, 1.0f) == 1.0f ? 0 : -1))), (ViewConfiguration.getKeyRepeatDelay() - 118) * 1837285425).intern())) == null) {
return m1160(7 - View.MeasureSpec.getMode(0), (byte) (30 - (KeyEvent.getMaxKeyCode() >> 16)), "\u0001\u0002\u0003\u0000\u0000\u0006\u0091").intern();
}
int i2 = f356 + 91;
f355 = i2 % 128;
int i3 = i2 % 2;
return optJSONObject.optString(m1160((ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)), (byte) ((AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 102), "×").intern(), m1160(TextUtils.indexOf((CharSequence) "", '0', 0, 0) + 8, (byte) ((AudioTrack.getMinVolume() > 0.0f ? 1 : (AudioTrack.getMinVolume() == 0.0f ? 0 : -1)) + 30), "\u0001\u0002\u0003\u0000\u0000\u0006\u0091").intern());
}
/* renamed from: ﺙ, reason: contains not printable characters */
public final String m1164() {
JSONObject optJSONObject = m1115().optJSONObject(m1159("\u0000\u0000\u0000\u0000", "ḓफ崅", "㆖苀Ⅽ㗋", (char) (KeyEvent.keyCodeFromString("") + 52001), 1837285425 - TextUtils.indexOf("", "", 0, 0)).intern());
if (optJSONObject == null) {
return m1160((TypedValue.complexToFloat(0) > 0.0f ? 1 : (TypedValue.complexToFloat(0) == 0.0f ? 0 : -1)) + 9, (byte) (38 - TextUtils.lastIndexOf("", '0')), "\u0007\u0004\u0004\n\u0000\u0002\u0000\u0006\u009a").intern();
}
int i = f356 + 55;
f355 = i % 128;
int i2 = i % 2;
String optString = optJSONObject.optString(m1160('1' - AndroidCharacter.getMirror('0'), (byte) (View.getDefaultSize(0, 0) + 58), "\u009f").intern(), m1160(9 - (ViewConfiguration.getPressedStateDuration() >> 16), (byte) (39 - (Process.myPid() >> 22)), "\u0007\u0004\u0004\n\u0000\u0002\u0000\u0006\u009a").intern());
int i3 = f356 + 37;
f355 = i3 % 128;
int i4 = i3 % 2;
return optString;
}
/* renamed from: ﱟ, reason: contains not printable characters */
public final long m1162() {
JSONObject m1115;
String intern;
long j;
int i = f356 + 79;
f355 = i % 128;
if (i % 2 != 0) {
m1115 = m1115();
intern = m1159("\u0000\u0000\u0000\u0000", "\udc55㴛", "흳Л\ue0b2ꙥ", (char) (KeyEvent.keyCodeFromString("") * 26740), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) * (-1308353578)).intern();
j = 1;
} else {
m1115 = m1115();
intern = m1159("\u0000\u0000\u0000\u0000", "\udc55㴛", "흳Л\ue0b2ꙥ", (char) (KeyEvent.keyCodeFromString("") + 26080), (SystemClock.currentThreadTimeMillis() > (-1L) ? 1 : (SystemClock.currentThreadTimeMillis() == (-1L) ? 0 : -1)) - 1308353578).intern();
j = 0;
}
return m1115.optLong(intern, j);
}
/* renamed from: ﻏ, reason: contains not printable characters */
public final long m1165() {
int i = f355 + 121;
f356 = i % 128;
int i2 = i % 2;
long optLong = m1115().optLong(m1159("\u0000\u0000\u0000\u0000", "滱㩖", "\uef8a\uf57c暟", (char) (Color.alpha(0) + 40949), (ViewConfiguration.getZoomControlsTimeout() > 0L ? 1 : (ViewConfiguration.getZoomControlsTimeout() == 0L ? 0 : -1)) - 1).intern(), 0L);
int i3 = f356 + 95;
f355 = i3 % 128;
int i4 = i3 % 2;
return optLong;
}
/* renamed from: ﱡ, reason: contains not printable characters */
public final long m1163() {
JSONObject m1115;
int i;
int resolveOpacity;
int i2 = f356 + 25;
f355 = i2 % 128;
if (i2 % 2 != 0) {
m1115 = m1115();
i = 0 % (AudioTrack.getMaxVolume() > 1.0f ? 1 : (AudioTrack.getMaxVolume() == 1.0f ? 0 : -1));
resolveOpacity = 73 - Drawable.resolveOpacity(0, 1);
} else {
m1115 = m1115();
i = (AudioTrack.getMaxVolume() > 0.0f ? 1 : (AudioTrack.getMaxVolume() == 0.0f ? 0 : -1)) + 1;
resolveOpacity = Drawable.resolveOpacity(0, 0) + 61;
}
long optLong = m1115.optLong(m1160(i, (byte) resolveOpacity, "\u000f\u0007").intern(), 0L);
int i3 = f356 + 121;
f355 = i3 % 128;
if (i3 % 2 == 0) {
return optLong;
}
throw null;
}
/* renamed from: , reason: contains not printable characters */
private static String m1160(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 = f361;
char c = f358;
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 m1159(String str, String str2, String str3, char c, int i) {
String str4;
char[] cArr = str3;
if (str3 != null) {
cArr = str3.toCharArray();
}
char[] cArr2 = cArr;
char[] cArr3 = str2;
if (str2 != null) {
cArr3 = str2.toCharArray();
}
char[] cArr4 = cArr3;
char[] cArr5 = str;
if (str != null) {
cArr5 = str.toCharArray();
}
char[] cArr6 = cArr5;
synchronized (j.f2584) {
try {
char[] cArr7 = (char[]) cArr2.clone();
char[] cArr8 = (char[]) cArr6.clone();
cArr7[0] = (char) (c ^ cArr7[0]);
cArr8[2] = (char) (cArr8[2] + ((char) i));
int length = cArr4.length;
char[] cArr9 = new char[length];
j.f2582 = 0;
while (true) {
int i2 = j.f2582;
if (i2 < length) {
int i3 = (i2 + 2) % 4;
int i4 = (i2 + 3) % 4;
int i5 = cArr7[i2 % 4] * 32718;
char c2 = cArr8[i3];
char c3 = (char) ((i5 + c2) % SupportMenu.USER_MASK);
j.f2583 = c3;
cArr8[i4] = (char) (((cArr7[i4] * 32718) + c2) / SupportMenu.USER_MASK);
cArr7[i4] = c3;
int i6 = j.f2582;
cArr9[i6] = (char) ((((c3 ^ cArr4[i6]) ^ f360) ^ f359) ^ f357);
j.f2582 = i6 + 1;
} else {
str4 = new String(cArr9);
}
}
} catch (Throwable th) {
throw th;
}
}
return str4;
}
}