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

65 lines
2.8 KiB
Java

package com.mbridge.msdk.mbnative.e;
import android.content.Context;
import android.text.TextUtils;
import com.facebook.appevents.UserDataStore;
import com.mbridge.msdk.MBridgeConstans;
import com.mbridge.msdk.foundation.download.core.DownloadCommon;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.same.report.d.c;
import com.mbridge.msdk.foundation.same.report.d.d;
import com.mbridge.msdk.foundation.tools.ab;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.mbbid.common.BidResponsedEx;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class a {
public static void a(Context context, String str, String str2, boolean z, CampaignEx campaignEx) {
if (context != null) {
try {
if (TextUtils.isEmpty(str) || TextUtils.isEmpty(str2)) {
return;
}
JSONObject jSONObject = new JSONObject();
jSONObject.put("key", "2000047");
jSONObject.put("network_type", ab.m(context));
jSONObject.put(MBridgeConstans.PROPERTIES_UNIT_ID, str2);
jSONObject.put(UserDataStore.STATE, System.currentTimeMillis());
if (campaignEx != null) {
jSONObject.put(BidResponsedEx.KEY_CID, campaignEx.getId());
jSONObject.put("adtp", campaignEx.getAdType());
jSONObject.put("rid", campaignEx.getRequestId());
jSONObject.put("rid_n", campaignEx.getRequestIdNotice());
}
if (!TextUtils.isEmpty(str2)) {
String str3 = com.mbridge.msdk.foundation.controller.a.b.get(str2);
if (str3 == null) {
str3 = "";
}
jSONObject.put("u_stid", str3);
}
if (!TextUtils.isEmpty(com.mbridge.msdk.foundation.same.a.V)) {
jSONObject.put(DownloadCommon.DOWNLOAD_REPORT_FIND_FILE_RESULT_VALUE_B, com.mbridge.msdk.foundation.same.a.V);
}
if (!TextUtils.isEmpty(com.mbridge.msdk.foundation.same.a.g)) {
jSONObject.put("c", com.mbridge.msdk.foundation.same.a.g);
}
jSONObject.put("hb", z ? 1 : 0);
jSONObject.put("reason", str);
d.a().a(jSONObject);
} catch (Throwable th) {
af.b("NativeReport", th.getMessage());
}
}
}
public static void a(String str, c cVar, CampaignEx campaignEx, Context context, com.mbridge.msdk.foundation.same.report.d.a.a aVar) {
try {
d.a().a(str, cVar, campaignEx, context, aVar);
} catch (Exception e) {
af.b("NativeReport", e.getMessage());
}
}
}