Free Fire v1.103.1版本的 MD5 值为:f6c45f9f1485263aa5af0fb400f973fc
以下内容为反编译后的 g.java 源代码,内容仅作参考
package x7;
import com.google.firebase.crashlytics.internal.common.m;
import java.util.Locale;
import org.json.JSONObject;
class g implements f {
private static y7.a b(JSONObject jSONObject, JSONObject jSONObject2) {
String string = jSONObject2.getString("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 y7.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 y7.b c(JSONObject jSONObject) {
return new y7.b(jSONObject.optBoolean("collect_reports", true), jSONObject.optBoolean("collect_anrs", false));
}
private static y7.c d() {
return new y7.c(8, 4);
}
private static long e(m mVar, long j10, JSONObject jSONObject) {
if (jSONObject.has("expires_at")) {
return jSONObject.optLong("expires_at");
}
return (j10 * 1000) + mVar.a();
}
@Override
public y7.e a(m mVar, JSONObject jSONObject) {
int optInt = jSONObject.optInt("settings_version", 0);
int optInt2 = jSONObject.optInt("cache_duration", 3600);
return new y7.e(e(mVar, optInt2, jSONObject), b(jSONObject.getJSONObject("fabric"), jSONObject.getJSONObject("app")), d(), c(jSONObject.getJSONObject("features")), optInt, optInt2);
}
}