Idle Tower v2.48版本的 MD5 值为:56f20496f6a85726b376356ed2ecee23

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


package com.inmobi.media;

import androidx.browser.trusted.sharing.ShareTarget;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;

public final class gf extends hf {
    private static final String d = gf.class.getSimpleName();
    private static String e = "https://config.inmobi.com/config-server/v1/config/secure.cfg";
    private static Map<String, String> u;

    int f4975a;
    int b;
    Map<String, fz> c;

    public gf(Map<String, fz> map, jk jkVar, String str, int i, int i2, boolean z, String str2) {
        this(map, jkVar, str, i, i2, false, z, str2);
    }

    @Override
    public final void a() {
        super.a();
        this.h.put("p", h());
        this.h.put("im-accid", this.s);
        Map<String, String> map = u;
        if (map != null) {
            for (Map.Entry<String, String> entry : map.entrySet()) {
                if (!this.f.containsKey(entry.getKey())) {
                    this.f.put(entry.getKey(), entry.getValue());
                }
            }
        }
    }

    private String h() {
        new gb();
        try {
            JSONArray jSONArray = new JSONArray();
            for (Map.Entry<String, fz> entry : this.c.entrySet()) {
                JSONObject jSONObject = new JSONObject();
                jSONObject.put("n", entry.getKey());
                jSONObject.put("t", entry.getValue().g() == null ? 0L : gb.c(entry.getKey(), entry.getValue().g()));
                jSONArray.put(jSONObject);
            }
            return jSONArray.toString();
        } catch (JSONException unused) {
            return "";
        }
    }

    public final String b() {
        return this.s;
    }

    public gf(Map<String, fz> map, jk jkVar, String str, int i, int i2, boolean z, boolean z2, String str2) {
        super(ShareTarget.METHOD_POST, ((map.get("root") != null) || str == null || str.trim().length() == 0) ? z ? "https://config.inmobi.com/config-server/v1/config/secure.cfg" : e : str, jkVar, z2, ShareTarget.ENCODING_TYPE_URL_ENCODED);
        this.c = map;
        this.f4975a = i;
        this.b = i2;
        this.s = str2;
    }
}