Files
rr3-apk/decompiled/sources/com/ironsource/yf.java
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

45 lines
1.5 KiB
Java

package com.ironsource;
import android.content.Context;
import android.util.Pair;
import com.ironsource.pb;
import com.ironsource.qf;
import com.ironsource.vf;
import java.util.ArrayList;
import java.util.Map;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class yf {
public static pb a(JSONObject jSONObject) {
return new pb.a(jSONObject.optString(nb.r)).b().b(jSONObject.optBoolean("enabled")).a(new wf()).a(a()).a(false).a();
}
public static qf.e a(ha haVar, qf.e eVar) {
return (haVar == null || haVar.g() == null || haVar.g().get("rewarded") == null) ? eVar : Boolean.parseBoolean(haVar.g().get("rewarded")) ? qf.e.RewardedVideo : qf.e.Interstitial;
}
public static vf a(Context context, String str, String str2, Map<String, String> map) throws Exception {
vf.b bVar = new vf.b();
if (map != null && map.containsKey("sessionid")) {
bVar.c(map.get("sessionid"));
}
bVar.a(context);
return bVar.d(str).a(str2).a();
}
private static ArrayList<Pair<String, String>> a() {
ArrayList<Pair<String, String>> arrayList = new ArrayList<>();
arrayList.add(new Pair<>("Content-Type", nb.L));
arrayList.add(new Pair<>(nb.M, nb.N));
return arrayList;
}
public static boolean a(ha haVar) {
if (haVar == null || haVar.g().get("inAppBidding") == null) {
return false;
}
return Boolean.parseBoolean(haVar.g().get("inAppBidding"));
}
}