Idle Egg Factory v2.1.5版本的 MD5 值为:7d2ba6677008ca521af0101bb927d72a
以下内容为反编译后的 gc.java 源代码,内容仅作参考
package com.inmobi.media;
import androidx.browser.trusted.sharing.ShareTarget;
import com.mbridge.msdk.playercommon.exoplayer2.text.ttml.TtmlNode;
import java.util.Map;
import org.json.JSONArray;
import org.json.JSONException;
import org.json.JSONObject;
public final class gc extends hc {
private static final String d = gc.class.getSimpleName();
private static String e = "https://config.inmobi.com/config-server/v1/config/secure.cfg";
private static Map<String, String> u;
int f4928a;
int b;
Map<String, fw> c;
public gc(Map<String, fw> map, jh jhVar, String str, int i, int i2, boolean z, String str2) {
this(map, jhVar, str, i, i2, false, z, str2);
}
@Override
public final void a() {
super.a();
this.h.put(TtmlNode.TAG_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 fy();
try {
JSONArray jSONArray = new JSONArray();
for (Map.Entry<String, fw> entry : this.c.entrySet()) {
JSONObject jSONObject = new JSONObject();
jSONObject.put("n", entry.getKey());
jSONObject.put("t", entry.getValue().g() == null ? 0L : fy.c(entry.getKey(), entry.getValue().g()));
jSONArray.put(jSONObject);
}
return jSONArray.toString();
} catch (JSONException unused) {
return "";
}
}
public final String b() {
return this.s;
}
public gc(Map<String, fw> map, jh jhVar, 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, jhVar, z2, ShareTarget.ENCODING_TYPE_URL_ENCODED);
this.c = map;
this.f4928a = i;
this.b = i2;
this.s = str2;
}
}