Files
rr3-apk/decompiled-community/sources/com/unity3d/services/ads/gmascar/utils/ScarRequestHandler.java
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

29 lines
1.3 KiB
Java

package com.unity3d.services.ads.gmascar.utils;
import com.ironsource.nb;
import com.unity3d.services.ads.gmascar.models.BiddingSignals;
import com.unity3d.services.core.device.Device;
import com.unity3d.services.core.misc.Utilities;
import com.unity3d.services.core.network.core.HttpClient;
import com.unity3d.services.core.network.model.HttpRequest;
import com.unity3d.services.core.network.model.RequestType;
import java.nio.charset.StandardCharsets;
import java.util.Collections;
import java.util.HashMap;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public class ScarRequestHandler {
private final HttpClient httpClient = (HttpClient) Utilities.getService(HttpClient.class);
public void makeUploadRequest(String str, BiddingSignals biddingSignals, String str2) throws Exception {
HashMap hashMap = new HashMap();
hashMap.put("Content-Type", Collections.singletonList(nb.L));
HashMap hashMap2 = new HashMap();
hashMap2.put(ScarConstants.IDFI_KEY, Device.getIdfi());
hashMap2.put(ScarConstants.TOKEN_ID_KEY, str);
hashMap2.putAll(biddingSignals.getMap());
this.httpClient.executeBlocking(new HttpRequest(str2, "", RequestType.POST, new JSONObject(hashMap2).toString().getBytes(StandardCharsets.UTF_8), hashMap));
}
}