GoooBet v1.0版本的 MD5 值为:ff9748f16167bfd7735b669c0a9931c5
以下内容为反编译后的 v.java 源代码,内容仅作参考
package com.appodeal.ads;
import android.content.Context;
import android.text.TextUtils;
import com.appodeal.ads.utils.Log;
import com.unity3d.ads.metadata.MediationMetaData;
import io.bidmachine.utils.IabUtils;
import org.json.JSONObject;
public class v {
static String f1320a = null;
static String b = null;
static Integer c = null;
static String d = null;
static String e = null;
static boolean f = false;
static JSONObject g = null;
static int h = 0;
static boolean i = true;
static Boolean j;
static Boolean k;
public static void a(Context context, JSONObject jSONObject) {
b(context, jSONObject);
b(jSONObject);
a(jSONObject);
}
public static void a(Boolean bool) {
boolean b2 = b();
j = bool;
if (b2 != b()) {
aa.b();
}
}
static void a(JSONObject jSONObject) {
if (jSONObject == null) {
return;
}
f = jSONObject.optBoolean("corona");
}
public static boolean a() {
return f;
}
static void b(Context context, JSONObject jSONObject) {
JSONObject optJSONObject;
String str;
if (context == null || jSONObject == null || (optJSONObject = jSONObject.optJSONObject("app_data")) == null) {
return;
}
if (optJSONObject.has(IabUtils.KEY_STORE_URL)) {
str = optJSONObject.optString(IabUtils.KEY_STORE_URL, b);
} else {
str = "https://play.google.com/store/apps/details?id=" + context.getPackageName();
}
b = str;
String optString = optJSONObject.optString(MediationMetaData.KEY_NAME);
f1320a = optString;
if (TextUtils.isEmpty(optString)) {
try {
f1320a = (String) context.getPackageManager().getApplicationLabel(context.getApplicationInfo());
} catch (Exception e2) {
Log.log(e2);
}
}
if (optJSONObject.has("paid")) {
c = Integer.valueOf(optJSONObject.optInt("paid"));
}
d = optJSONObject.optString("publisher", null);
if (optJSONObject.has("id")) {
e = String.valueOf(optJSONObject.optInt("id"));
}
g = optJSONObject.optJSONObject("ext");
h = optJSONObject.optInt("ad_box_size");
i = optJSONObject.optBoolean("hr", true);
}
public static void b(JSONObject jSONObject) {
if (jSONObject != null && jSONObject.has("for_kids")) {
boolean b2 = b();
k = Boolean.valueOf(jSONObject.optBoolean("for_kids", false));
if (b2 != b()) {
aa.b();
}
}
}
public static boolean b() {
Boolean bool = j;
if (bool == null && (bool = k) == null) {
return false;
}
return bool.booleanValue();
}
}