Files
Daniel Elliott c080f0d97f Add Discord community version (64-bit only)
- Added realracing3-community.apk (71.57 MB)
- Removed 32-bit support (armeabi-v7a)
- Only includes arm64-v8a libraries
- Decompiled source code included
- Added README-community.md with analysis
2026-02-18 15:48:36 -08:00

97 lines
3.8 KiB
Java

package com.mbridge.msdk.advanced.common;
import android.content.Context;
import com.fyber.inneractive.sdk.external.InneractiveMediationDefs;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.same.DomainNameUtils;
import com.mbridge.msdk.foundation.tools.ab;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.foundation.tools.f;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class a {
public String e;
public String f;
public String g;
public String h;
public String i;
public String j;
public String k;
public String l;
public String m;
public String n;
public String o;
public int p;
public int q;
public String c = "android";
public String a = ab.m();
public String b = ab.w();
public String d = f.c();
public a(Context context) {
int m = ab.m(context);
this.e = String.valueOf(m);
this.f = ab.a(context, m);
this.g = ab.g(context);
this.h = com.mbridge.msdk.foundation.controller.c.m().b();
this.i = com.mbridge.msdk.foundation.controller.c.m().k();
this.j = String.valueOf(ak.f(context));
this.k = String.valueOf(ak.e(context));
this.m = String.valueOf(ak.d(context));
if (context.getResources().getConfiguration().orientation == 2) {
this.l = "landscape";
} else {
this.l = "portrait";
}
this.n = ab.n();
this.o = f.d();
this.p = f.a();
this.q = com.mbridge.msdk.foundation.controller.authoritycontroller.b.b() ? 1 : 0;
}
public final JSONObject a() {
JSONObject jSONObject = new JSONObject();
try {
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_GENERAL_DATA)) {
jSONObject.put("device", this.a);
jSONObject.put("system_version", this.b);
jSONObject.put("network_type", this.e);
jSONObject.put("network_type_str", this.f);
jSONObject.put("device_ua", this.g);
jSONObject.put("has_wx", ab.v(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("integrated_wx", ab.z());
jSONObject.put("opensdk_ver", ab.u() + "");
jSONObject.put("wx_api_ver", ab.c(com.mbridge.msdk.foundation.controller.c.m().h()) + "");
jSONObject.put("mnc", ab.l(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("mcc", ab.k(com.mbridge.msdk.foundation.controller.c.m().c()));
jSONObject.put("adid_limit", this.p);
jSONObject.put("adid_limit_dev", this.q);
}
jSONObject.put("plantform", this.c);
if (com.mbridge.msdk.foundation.controller.authoritycontroller.c.j().c(MBridgeConstans.AUTHORITY_DEVICE_ID)) {
jSONObject.put("google_ad_id", this.d);
jSONObject.put("az_aid_info", this.o);
}
jSONObject.put("appkey", this.h);
jSONObject.put("appId", this.i);
jSONObject.put("screen_width", this.j);
jSONObject.put("screen_height", this.k);
jSONObject.put("orientation", this.l);
jSONObject.put("scale", this.m);
if (ab.q() != 0) {
jSONObject.put("tun", ab.q());
}
jSONObject.put(InneractiveMediationDefs.GENDER_FEMALE, this.n);
if (DomainNameUtils.getInstance().isExcludeCNDomain()) {
jSONObject.put("re_domain", "1");
}
} catch (JSONException e) {
af.b("BaseDeviceInfo", e.getMessage());
}
return jSONObject;
}
}