VegeFruits v7.1版本的 MD5 值为:2ff167dfba698c783e879938fe00b9ce

以下内容为反编译后的 f.java 源代码,内容仅作参考


package com.appodeal.ads;

import android.content.Context;
import org.json.JSONArray;
import org.json.JSONObject;

public class f {
    public static String a;
    public static String b;
    public static Integer c;
    public static String d;
    public static String e;
    public static JSONArray f;
    public static JSONArray g;
    public static JSONObject j;
    public static int k;
    public static boolean h = false;
    public static boolean i = false;
    public static boolean l = true;

    public static void a(Context context, JSONObject jSONObject, boolean z, boolean z2) {
        if (jSONObject == null || context == null) {
            return;
        }
        if (jSONObject.has("store_url")) {
            b = jSONObject.optString("store_url", b);
        } else {
            b = "https://play.google.com/store/apps/details?id=" + context.getPackageName();
        }
        a = jSONObject.optString("name");
        if (a == null || a.isEmpty() || a.equals("")) {
            try {
                a = (String) context.getPackageManager().getApplicationLabel(context.getApplicationInfo());
            } catch (Exception e2) {
                Appodeal.a(e2);
            }
        }
        if (jSONObject.has("paid")) {
            c = Integer.valueOf(jSONObject.optInt("paid"));
        }
        d = jSONObject.optString("publisher", null);
        if (jSONObject.has("id")) {
            e = String.valueOf(jSONObject.optInt("id"));
        }
        f = jSONObject.optJSONArray("bcat");
        g = jSONObject.optJSONArray("categories");
        a(z);
        context.getSharedPreferences("appodeal", 0).edit().putBoolean("for_kids", z).apply();
        j = jSONObject.optJSONObject("ext");
        if (jSONObject.has("diu")) {
            Native.y = jSONObject.optString("diu");
        }
        k = jSONObject.optInt("ad_box_size");
        i = z2;
        l = jSONObject.optBoolean("hr", true);
    }

    public static void a(boolean z) {
        if (h || !z) {
            return;
        }
        h = true;
    }
}