Driving Zone: Germany v1.22.4版本的 MD5 值为:2b6e2d8e8733a3104dcc306c5770286c
以下内容为反编译后的 s5.java 源代码,内容仅作参考
package com.my.target;
import android.content.Context;
import com.facebook.internal.ServerProtocol;
import com.my.target.nativeads.banners.NativeBanner;
import com.my.target.nativeads.banners.NativePromoBanner;
import io.bidmachine.utils.IabUtils;
import org.json.JSONException;
import org.json.JSONObject;
public final class s5 {
public static String a(String str, String str2, String str3, String str4, String str5, String str6, String str7, String str8, float f, int i, boolean z, Context context) {
try {
JSONObject jSONObject = new JSONObject();
jSONObject.put("instance_id", g1.c().b(context));
jSONObject.put("network", str);
jSONObject.put("navigationType", str2);
if (a(str3)) {
jSONObject.put(IabUtils.KEY_TITLE, str3);
}
if (a(str4)) {
jSONObject.put("ctaText", str4);
}
if (a(str5)) {
jSONObject.put("domain", str5);
}
if (a(str6)) {
jSONObject.put("ageRestrictions", str6);
}
if (a(str7)) {
jSONObject.put("disclaimer", str7);
}
if (f > 0.0f) {
jSONObject.put(IabUtils.KEY_RATING, String.valueOf(f));
}
if (i > 0) {
jSONObject.put("votes", String.valueOf(i));
}
if (a(str8)) {
jSONObject.put("description", str8);
}
if (z) {
jSONObject.put("hasVideo", ServerProtocol.DIALOG_RETURN_SCOPES_TRUE);
}
return jSONObject.toString();
} catch (JSONException unused) {
return null;
}
}
public static void a(String str, Context context) {
if (str == null) {
return;
}
p1.d().a("https://ad.mail.ru/mobile/adcontext", c1.b(str), context);
}
public static boolean a(String str) {
return str != null && str.length() > 0;
}
public static void b(final String str, final NativeBanner nativeBanner, final Context context) {
x.b(new Runnable() {
@Override
public final void run() {
s5.a(s5.a(str, r1.getNavigationType(), r1.getTitle(), r1.getCtaText(), r1.getDomain(), r1.getAgeRestrictions(), r1.getDisclaimer(), r1.getDescription(), r1.getRating(), nativeBanner.getVotes(), false, r2), context);
}
});
}
public static void b(final String str, final NativePromoBanner nativePromoBanner, final Context context) {
x.b(new Runnable() {
@Override
public final void run() {
s5.a(s5.a(str, r1.getNavigationType(), r1.getTitle(), r1.getCtaText(), r1.getDomain(), r1.getAgeRestrictions(), r1.getDisclaimer(), r1.getDescription(), r1.getRating(), r1.getVotes(), nativePromoBanner.hasVideo(), r2), context);
}
});
}
}