Pixel Fusion v1.0.3版本的 MD5 值为:e0cc7f5615caec50798ef549b679d557

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


package com.chartboost.sdk.impl;

import com.chartboost.sdk.impl.t2;
import com.json.mediationsdk.impressionData.ImpressionData;
import com.json.t4;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.entity.RewardPlus;
import com.unity3d.services.core.di.ServiceProvider;
import java.util.concurrent.TimeUnit;
import org.json.JSONObject;

public final class a3 extends t2 {
    public final JSONObject s;
    public final JSONObject t;
    public final JSONObject u;
    public final JSONObject v;

    public a3(String str, ea eaVar, i9 i9Var, t2.a aVar, z4 z4Var) {
        this("POST", "https://live.chartboost.com", str, eaVar, i9Var, null, aVar, z4Var);
    }

    public void b(String str, Object obj) {
        h2.a(this.v, str, obj);
        a(bd.f34990a, this.v);
    }

    public void c(String str, Object obj) {
        h2.a(this.s, str, obj);
        a(ServiceProvider.NAMED_SDK, this.s);
    }

    @Override
    public void g() {
        h2.a(this.t, MBridgeConstans.DYNAMIC_VIEW_WX_APP, this.n.h);
        h2.a(this.t, "bundle", this.n.e);
        h2.a(this.t, "bundle_id", this.n.f);
        h2.a(this.t, "session_id", "");
        h2.a(this.t, "ui", -1);
        JSONObject jSONObject = this.t;
        Boolean bool = Boolean.FALSE;
        h2.a(jSONObject, "test_mode", bool);
        a(MBridgeConstans.DYNAMIC_VIEW_WX_APP, this.t);
        h2.a(this.u, com.json.r7.s0, h2.a(h2.a("carrier_name", this.n.m.optString("carrier-name")), h2.a("mobile_country_code", this.n.m.optString("mobile-country-code")), h2.a("mobile_network_code", this.n.m.optString("mobile-network-code")), h2.a("iso_country_code", this.n.m.optString("iso-country-code")), h2.a("phone_type", Integer.valueOf(this.n.m.optInt("phone-type")))));
        h2.a(this.u, com.json.r7.u, this.n.f35021a);
        h2.a(this.u, com.json.r7.q, this.n.k);
        h2.a(this.u, "device_type", this.n.j);
        h2.a(this.u, "actual_device_type", this.n.l);
        h2.a(this.u, com.json.r7.x, this.n.b);
        h2.a(this.u, ImpressionData.IMPRESSION_DATA_KEY_COUNTRY, this.n.c);
        h2.a(this.u, "language", this.n.d);
        h2.a(this.u, "timestamp", String.valueOf(TimeUnit.MILLISECONDS.toSeconds(this.n.j().a())));
        h2.a(this.u, "reachability", this.n.g().b());
        h2.a(this.u, "is_portrait", Boolean.valueOf(this.n.b().k()));
        h2.a(this.u, "scale", Float.valueOf(this.n.b().h()));
        h2.a(this.u, "timezone", this.n.o);
        h2.a(this.u, com.json.r6.e, Integer.valueOf(this.n.g().d().c()));
        h2.a(this.u, "dw", Integer.valueOf(this.n.b().c()));
        h2.a(this.u, "dh", Integer.valueOf(this.n.b().a()));
        h2.a(this.u, "dpi", this.n.b().d());
        h2.a(this.u, "w", Integer.valueOf(this.n.b().j()));
        h2.a(this.u, com.mbridge.msdk.c.h.f51653a, Integer.valueOf(this.n.b().e()));
        h2.a(this.u, "user_agent", lc.b.a());
        h2.a(this.u, "device_family", "");
        h2.a(this.u, "retina", bool);
        i6 c = this.n.c();
        if (c != null) {
            h2.a(this.u, "identity", c.b());
            yb e = c.e();
            if (e != yb.TRACKING_UNKNOWN) {
                h2.a(this.u, "limit_ad_tracking", Boolean.valueOf(e == yb.TRACKING_LIMITED));
            }
            Integer d = c.d();
            if (d != null) {
                h2.a(this.u, "appsetidscope", d);
            }
        } else {
            w7.e("CBWebViewRequest", "Missing identity in the CB SDK. This will affect ads performance.");
        }
        k9 f = this.n.f();
        String f2 = f.f();
        if (f2 != null) {
            h2.a(this.u, "consent", f2);
        }
        h2.a(this.u, "pidatauseconsent", f.d());
        h2.a(this.u, "privacy", f.e());
        a(t4.h.G, this.u);
        h2.a(this.s, ServiceProvider.NAMED_SDK, this.n.g);
        if (this.n.d() != null) {
            h2.a(this.s, "mediation", this.n.d().c());
            h2.a(this.s, "mediation_version", this.n.d().b());
            h2.a(this.s, "adapter_version", this.n.d().a());
        }
        h2.a(this.s, "commit_hash", "827fd3ad693d520953527c856c9569f70402c65c");
        String a2 = this.n.a().a();
        if (!y0.b().a(a2)) {
            h2.a(this.s, "config_variant", a2);
        }
        a(ServiceProvider.NAMED_SDK, this.s);
        h2.a(this.v, "session", Integer.valueOf(this.n.i()));
        if (this.v.isNull("cache")) {
            h2.a(this.v, "cache", bool);
        }
        if (this.v.isNull(RewardPlus.AMOUNT)) {
            h2.a(this.v, RewardPlus.AMOUNT, 0);
        }
        if (this.v.isNull("retry_count")) {
            h2.a(this.v, "retry_count", 0);
        }
        if (this.v.isNull("location")) {
            h2.a(this.v, "location", "");
        }
        a(bd.f34990a, this.v);
    }

    public a3(String str, String str2, String str3, ea eaVar, i9 i9Var, String str4, t2.a aVar, z4 z4Var) {
        super(str, str2, str3, eaVar, i9Var, str4, aVar, z4Var);
        this.s = new JSONObject();
        this.t = new JSONObject();
        this.u = new JSONObject();
        this.v = new JSONObject();
    }
}