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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,49 @@
package com.ironsource;
import java.util.LinkedHashMap;
import java.util.Map;
import kotlin.jvm.functions.Function1;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public final class jo {
public static final a b = new a(null);
public static final String c = "placements";
public static final String d = "placementName";
private final JSONArray a;
public static final class a {
private a() {
}
public /* synthetic */ a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
}
public jo(JSONObject configuration) {
Intrinsics.checkNotNullParameter(configuration, "configuration");
this.a = configuration.optJSONArray(c);
}
public final <T> Map<String, T> a(Function1 valueExtractor) {
Intrinsics.checkNotNullParameter(valueExtractor, "valueExtractor");
LinkedHashMap linkedHashMap = new LinkedHashMap();
JSONArray jSONArray = this.a;
if (jSONArray != null) {
int length = jSONArray.length();
for (int i = 0; i < length; i++) {
JSONObject jsonObject = jSONArray.getJSONObject(i);
String key = jsonObject.optString(d);
Intrinsics.checkNotNullExpressionValue(jsonObject, "jsonObject");
Object invoke = valueExtractor.invoke(jsonObject);
Intrinsics.checkNotNullExpressionValue(key, "key");
linkedHashMap.put(key, invoke);
}
}
return linkedHashMap;
}
}