360 Wi-Fi v1.0.1版本的 MD5 值为:53dc85b63eb655b13344ce30ddaccae2

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


package com.my.target;

import IiliLLiiiii.iillLLi;
import android.content.Context;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.anythink.core.api.ATAdConst;
import com.my.target.nativeads.banners.NativeBanner;
import com.my.target.nativeads.banners.NativePromoBanner;
import org.json.JSONException;
import org.json.JSONObject;
public final class m6 {
    @Nullable
    public static String a(@NonNull String str, @NonNull String str2, @Nullable String str3, @Nullable String str4, @Nullable String str5, @Nullable String str6, @Nullable String str7, @Nullable String str8, float f, int i2, boolean z, @NonNull Context context) {
        try {
            JSONObject jSONObject = new JSONObject();
            jSONObject.put(ATAdConst.NETWORK_REQUEST_PARAMS_KEY.INSTANCE_ID, q1.b().a(context));
            jSONObject.put("network", str);
            jSONObject.put("navigationType", str2);
            if (a(str3)) {
                jSONObject.put("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("rating", String.valueOf(f));
            }
            if (i2 > 0) {
                jSONObject.put("votes", String.valueOf(i2));
            }
            if (a(str8)) {
                jSONObject.put("description", str8);
            }
            if (z) {
                jSONObject.put("hasVideo", "true");
            }
            return jSONObject.toString();
        } catch (JSONException unused) {
            return null;
        }
    }

    public static void b(@NonNull String str, @NonNull NativeBanner nativeBanner, @NonNull Context context) {
        c0.b(new iillLLi(str, nativeBanner, context, 4));
    }

    public static void a(@Nullable String str, @NonNull Context context) {
        if (str == null) {
            return;
        }
        z1.a().a("https://ad.mail.ru/mobile/adcontext", m1.b(str), context);
    }

    public static void b(@NonNull String str, @NonNull NativePromoBanner nativePromoBanner, @NonNull Context context) {
        c0.b(new iillLLi(str, nativePromoBanner, context, 5));
    }

    public static void a(String str, NativeBanner nativeBanner, Context context) {
        a(a(str, nativeBanner.getNavigationType(), nativeBanner.getTitle(), nativeBanner.getCtaText(), nativeBanner.getDomain(), nativeBanner.getAgeRestrictions(), nativeBanner.getDisclaimer(), nativeBanner.getDescription(), nativeBanner.getRating(), nativeBanner.getVotes(), false, context), context);
    }

    public static void a(String str, NativePromoBanner nativePromoBanner, Context context) {
        a(a(str, nativePromoBanner.getNavigationType(), nativePromoBanner.getTitle(), nativePromoBanner.getCtaText(), nativePromoBanner.getDomain(), nativePromoBanner.getAgeRestrictions(), nativePromoBanner.getDisclaimer(), nativePromoBanner.getDescription(), nativePromoBanner.getRating(), nativePromoBanner.getVotes(), nativePromoBanner.hasVideo(), context), context);
    }

    public static boolean a(@Nullable String str) {
        return str != null && str.length() > 0;
    }
}