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

285 lines
11 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.text.TextUtils;
import android.util.TypedValue;
import android.view.KeyEvent;
import android.view.View;
import android.view.ViewConfiguration;
import android.widget.ExpandableListView;
import com.ironsource.adqualitysdk.sdk.i.jx;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class dh {
/* renamed from: ﮉ, reason: contains not printable characters */
private static int f1633 = 1;
/* renamed from: ﮐ, reason: contains not printable characters */
private static char f1634 = 4;
/* renamed from: ﱟ, reason: contains not printable characters */
private static int f1635;
/* renamed from: ﱡ, reason: contains not printable characters */
private static char[] f1636 = {'s', 'u', 'p', 'e', 'r', 'a', 'b', 't', 'c', 'm', 'v', 'n', 'h', 'o', 'd', 'w'};
/* renamed from: ﺙ, reason: contains not printable characters */
private Map<String, dk> f1637;
/* renamed from: ﻏ, reason: contains not printable characters */
private Map<String, dp> f1638;
/* renamed from: ﻐ, reason: contains not printable characters */
private List<String> f1639;
/* renamed from: ﻛ, reason: contains not printable characters */
private String f1640;
/* renamed from: , reason: contains not printable characters */
private String f1641;
/* renamed from: ヌ, reason: contains not printable characters */
private boolean f1642;
/* renamed from: メ, reason: contains not printable characters */
private List<dg> f1643;
public dh(final String str, String str2, JSONObject jSONObject) {
this.f1640 = ds.m2637(str2);
this.f1641 = ds.m2637(jSONObject.optString(m2517(ExpandableListView.getPackedPositionChild(0L) + 6, (byte) (76 - ExpandableListView.getPackedPositionChild(0L)), "\u0001\u0002\u0003\u0000¿").intern()));
this.f1642 = jSONObject.optBoolean(m2517(8 - (TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)), (byte) (View.getDefaultSize(0, 0) + 75), "\u0006\u0007\u0003\u0004\u0005\u0006\u000b\u0004").intern());
this.f1639 = m2518(jx.m3336(jSONObject.optJSONArray(m2517((TypedValue.complexToFraction(0, 0.0f, 0.0f) > 0.0f ? 1 : (TypedValue.complexToFraction(0, 0.0f, 0.0f) == 0.0f ? 0 : -1)) + 7, (byte) (7 - TextUtils.indexOf("", "")), "\u000b\u0001\n\u0005\u0000\u0007z").intern()), new jx.d<String>() { // from class: com.ironsource.adqualitysdk.sdk.i.dh.3
@Override // com.ironsource.adqualitysdk.sdk.i.jx.d
/* renamed from: ヌ */
public final /* synthetic */ String mo1143(JSONArray jSONArray, int i) {
return ds.m2637(jSONArray.optString(i));
}
}));
this.f1643 = m2518(jx.m3336(jSONObject.optJSONArray(m2517((ViewConfiguration.getScrollBarSize() >> 8) + 5, (byte) (View.MeasureSpec.makeMeasureSpec(0, 0) + 106), "\u0001\u0000\u0005\u0003Ú").intern()), new jx.d<dg>() { // from class: com.ironsource.adqualitysdk.sdk.i.dh.1
@Override // com.ironsource.adqualitysdk.sdk.i.jx.d
/* renamed from: ヌ */
public final /* synthetic */ dg mo1143(JSONArray jSONArray, int i) {
return new dg(jSONArray.optJSONObject(i));
}
}));
this.f1637 = m2516(jx.m3322(jSONObject.optJSONObject(m2517((ViewConfiguration.getLongPressTimeout() >> 16) + 6, (byte) (44 - KeyEvent.getDeadChar(0, 0)), "\u0002\u000b\u0007\u000f\u0004\u0003").intern()), new jx.e<dk>() { // from class: com.ironsource.adqualitysdk.sdk.i.dh.4
@Override // com.ironsource.adqualitysdk.sdk.i.jx.e
/* renamed from: */
public final /* synthetic */ dk mo1139(JSONObject jSONObject2, String str3) {
return new dk(jSONObject2.optJSONObject(str3));
}
}));
this.f1638 = m2516(jx.m3322(jSONObject.optJSONObject(m2517(7 - (ViewConfiguration.getTouchSlop() >> 8), (byte) ((ViewConfiguration.getFadingEdgeLength() >> 16) + 67), "\u000b\u0001\u0004\u000f\u000e\u000f¶").intern()), new jx.e<dp>() { // from class: com.ironsource.adqualitysdk.sdk.i.dh.5
@Override // com.ironsource.adqualitysdk.sdk.i.jx.e
/* renamed from: */
public final /* synthetic */ dp mo1139(JSONObject jSONObject2, String str3) {
return new dp(str, str3, jSONObject2.optJSONObject(str3));
}
}));
}
/* renamed from: メ, reason: contains not printable characters */
private static <T> List<T> m2518(List<T> list) {
int i = f1633 + 43;
int i2 = i % 128;
f1635 = i2;
if (i % 2 != 0) {
throw null;
}
if (list != null) {
int i3 = i2 + 23;
f1633 = i3 % 128;
if (i3 % 2 != 0) {
return list;
}
throw null;
}
ArrayList arrayList = new ArrayList();
int i4 = f1633 + 83;
f1635 = i4 % 128;
int i5 = i4 % 2;
return arrayList;
}
/* renamed from: ﻛ, reason: contains not printable characters */
private static <K, V> Map<K, V> m2516(Map<K, V> map) {
int i = f1635 + 37;
int i2 = i % 128;
f1633 = i2;
int i3 = i % 2;
if (map == null) {
return new HashMap();
}
int i4 = i2 + 105;
f1635 = i4 % 128;
int i5 = i4 % 2;
int i6 = i2 + 57;
f1635 = i6 % 128;
int i7 = i6 % 2;
return map;
}
/* renamed from: ﻐ, reason: contains not printable characters */
public final String m2521() {
int i = f1633 + 53;
int i2 = i % 128;
f1635 = i2;
int i3 = i % 2;
String str = this.f1640;
int i4 = i2 + 113;
f1633 = i4 % 128;
int i5 = i4 % 2;
return str;
}
/* renamed from: , reason: contains not printable characters */
public final String m2523() {
int i = f1635;
int i2 = i + 61;
f1633 = i2 % 128;
int i3 = i2 % 2;
String str = this.f1641;
int i4 = i + 31;
f1633 = i4 % 128;
int i5 = i4 % 2;
return str;
}
/* renamed from: ヌ, reason: contains not printable characters */
public final boolean m2524() {
int i = f1633 + 43;
f1635 = i % 128;
if (i % 2 == 0) {
return this.f1642;
}
int i2 = 93 / 0;
return this.f1642;
}
/* renamed from: メ, reason: contains not printable characters */
public final List<String> m2525() {
int i = f1633;
int i2 = i + 11;
f1635 = i2 % 128;
if (i2 % 2 != 0) {
throw null;
}
List<String> list = this.f1639;
int i3 = i + 41;
f1635 = i3 % 128;
if (i3 % 2 == 0) {
return list;
}
throw null;
}
/* renamed from: ﻛ, reason: contains not printable characters */
public final Map<String, dp> m2522() {
int i = f1633 + 41;
f1635 = i % 128;
if (i % 2 == 0) {
return this.f1638;
}
throw null;
}
/* renamed from: ﱟ, reason: contains not printable characters */
public final List<dg> m2519() {
int i = f1635;
int i2 = i + 75;
f1633 = i2 % 128;
int i3 = i2 % 2;
List<dg> list = this.f1643;
int i4 = i + 53;
f1633 = i4 % 128;
int i5 = i4 % 2;
return list;
}
/* renamed from: ﱡ, reason: contains not printable characters */
public final Map<String, dk> m2520() {
int i = f1633 + 7;
f1635 = i % 128;
if (i % 2 == 0) {
return this.f1637;
}
int i2 = 16 / 0;
return this.f1637;
}
/* renamed from: ヌ, reason: contains not printable characters */
private static String m2517(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 = f1636;
char c = f1634;
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;
}
}