Recover Files v1.3.9版本的 MD5 值为:27a8b2c239c6cb7111d74d6bb07d21b2

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


package l0;

import androidx.browser.trusted.n;
import java.util.Iterator;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public class i {
    public static String a(String str) {
        if (str.indexOf(46) < 0) {
            str = str.concat(".png");
        }
        return n.a("https://sf16-static.i18n-pglstatp.com/obj/ad-pattern-sg/static/images/", str);
    }

    public static String b(String str, String str2) {
        JSONObject optJSONObject;
        JSONObject A = g0.a.A(str);
        if (A == null || (optJSONObject = A.optJSONObject("values")) == null) {
            return null;
        }
        return optJSONObject.optString(str2);
    }

    public static JSONObject c(String str, JSONObject jSONObject, JSONObject jSONObject2) {
        JSONObject A = g0.a.A(str);
        if (A == null) {
            return null;
        }
        if (jSONObject == null) {
            jSONObject = new JSONObject();
        }
        return e(jSONObject2, A.optJSONObject("themeValues"), jSONObject);
    }

    public static JSONObject d(JSONArray jSONArray) {
        JSONObject optJSONObject;
        if (jSONArray == null || jSONArray.length() <= 0 || (optJSONObject = jSONArray.optJSONObject(0)) == null) {
            return null;
        }
        return optJSONObject.optJSONObject("values");
    }

    public static JSONObject e(JSONObject... jSONObjectArr) {
        JSONObject jSONObject = new JSONObject();
        for (JSONObject jSONObject2 : jSONObjectArr) {
            if (jSONObject2 != null) {
                Iterator<String> keys = jSONObject2.keys();
                while (keys.hasNext()) {
                    String next = keys.next();
                    try {
                        jSONObject.put(next, jSONObject2.opt(next));
                    } catch (JSONException e10) {
                        e10.printStackTrace();
                    }
                }
            }
        }
        return jSONObject;
    }

    public static void f(String str, JSONObject jSONObject) {
        JSONObject A = g0.a.A(str);
        if (A == null) {
            return;
        }
        if (jSONObject == null) {
            jSONObject = new JSONObject();
        }
        JSONObject optJSONObject = A.optJSONObject("values");
        if (optJSONObject == null) {
            return;
        }
        g(optJSONObject, jSONObject);
    }

    public static void g(JSONObject jSONObject, JSONObject jSONObject2) {
        if (jSONObject2 == null) {
            jSONObject2 = new JSONObject();
        }
        if (jSONObject == null) {
            return;
        }
        Iterator<String> keys = jSONObject.keys();
        while (keys.hasNext()) {
            String next = keys.next();
            if (!jSONObject2.has(next)) {
                try {
                    jSONObject2.put(next, jSONObject.opt(next));
                } catch (JSONException e10) {
                    e10.printStackTrace();
                }
            }
        }
    }

    public static String h(String str) {
        JSONObject optJSONObject;
        JSONObject A = g0.a.A(str);
        if (A == null || (optJSONObject = A.optJSONObject("values")) == null) {
            return null;
        }
        return optJSONObject.optString("data");
    }
}