S T G SuperAPPS v9.99.99版本的 MD5 值为:ec866d8c695a659ed10459d6bd169615
以下内容为反编译后的 h.java 源代码,内容仅作参考
package y6;
import com.appsflyer.ServerParameters;
import java.util.Locale;
import org.json.JSONException;
import org.json.JSONObject;
import r6.q;
class h implements g {
private static z6.a b(JSONObject jSONObject, JSONObject jSONObject2) throws JSONException {
String string = jSONObject2.getString(ServerParameters.STATUS);
boolean equals = "new".equals(string);
String string2 = jSONObject.getString("bundle_id");
String string3 = jSONObject.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;
return new z6.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, jSONObject2.optBoolean("update_required", false), jSONObject2.optInt("report_upload_variant", 0), jSONObject2.optInt("native_report_upload_variant", 0));
}
private static z6.b c(JSONObject jSONObject) {
return new z6.b(jSONObject.optBoolean("collect_reports", true), jSONObject.optBoolean("collect_anrs", false));
}
private static z6.c d() {
return new z6.c(8, 4);
}
private static long e(q qVar, long j10, JSONObject jSONObject) {
if (jSONObject.has("expires_at")) {
return jSONObject.optLong("expires_at");
}
return (j10 * 1000) + qVar.a();
}
@Override
public z6.e a(q qVar, JSONObject jSONObject) throws JSONException {
int optInt = jSONObject.optInt("settings_version", 0);
int optInt2 = jSONObject.optInt("cache_duration", 3600);
return new z6.e(e(qVar, optInt2, jSONObject), b(jSONObject.getJSONObject("fabric"), jSONObject.getJSONObject("app")), d(), c(jSONObject.getJSONObject("features")), optInt, optInt2);
}
}