漫漫擼2 v1.3.9版本的 MD5 值为:e07b15db49ff38b958ff7c8268ff1c9b

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


package g.i.b.l.j.p;

import g.i.b.l.j.j.q0;
import java.util.Locale;
import java.util.Objects;
import org.json.JSONException;
import org.json.JSONObject;
public class h implements g {
    @Override
    public g.i.b.l.j.p.i.e a(q0 q0Var, JSONObject jSONObject) throws JSONException {
        long currentTimeMillis;
        int optInt = jSONObject.optInt("settings_version", 0);
        int optInt2 = jSONObject.optInt("cache_duration", 3600);
        JSONObject jSONObject2 = jSONObject.getJSONObject("fabric");
        JSONObject jSONObject3 = jSONObject.getJSONObject("app");
        String string = jSONObject3.getString("status");
        boolean equals = "new".equals(string);
        String string2 = jSONObject2.getString("bundle_id");
        String string3 = jSONObject2.getString("org_id");
        String format = equals ? "https://update.crashlytics.com/spi/v1/platforms/android/apps" : String.format(Locale.US, "https://update.crashlytics.com/spi/v1/platforms/android/apps/%s", string2);
        Locale locale = Locale.US;
        g.i.b.l.j.p.i.a aVar = new g.i.b.l.j.p.i.a(string, format, String.format(locale, "https://reports.crashlytics.com/spi/v1/platforms/android/apps/%s/reports", string2), String.format(locale, "https://reports.crashlytics.com/sdk-api/v1/platforms/android/apps/%s/minidumps", string2), string2, string3, jSONObject3.optBoolean("update_required", false), jSONObject3.optInt("report_upload_variant", 0), jSONObject3.optInt("native_report_upload_variant", 0));
        g.i.b.l.j.p.i.c cVar = new g.i.b.l.j.p.i.c(8, 4);
        JSONObject jSONObject4 = jSONObject.getJSONObject("features");
        g.i.b.l.j.p.i.b bVar = new g.i.b.l.j.p.i.b(jSONObject4.optBoolean("collect_reports", true), jSONObject4.optBoolean("collect_anrs", false));
        long j2 = optInt2;
        if (jSONObject.has("expires_at")) {
            currentTimeMillis = jSONObject.optLong("expires_at");
        } else {
            Objects.requireNonNull(q0Var);
            currentTimeMillis = (j2 * 1000) + System.currentTimeMillis();
        }
        return new g.i.b.l.j.p.i.e(currentTimeMillis, aVar, cVar, bVar, optInt, optInt2);
    }
}