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

99 lines
2.4 KiB
Java

package com.ironsource;
import com.ironsource.k9;
import com.ironsource.mediationsdk.logger.IronLog;
import java.util.UUID;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public class kb {
static final String e = "euid";
static final String f = "esat";
static final String g = "esfr";
static final int h = 1;
private int a;
private long b;
private int c;
private final JSONObject d;
public kb(int i, long j, String str) throws JSONException {
this(i, j, new JSONObject(str));
}
public kb(int i, long j, JSONObject jSONObject) {
this.c = 1;
this.a = i;
this.b = j;
jSONObject = jSONObject == null ? new JSONObject() : jSONObject;
this.d = jSONObject;
if (!jSONObject.has(e)) {
a(e, UUID.randomUUID().toString());
}
if (jSONObject.has(f)) {
this.c = jSONObject.optInt(f, 1);
} else {
a(f, Integer.valueOf(this.c));
}
}
public kb(int i, JSONObject jSONObject) {
this(i, new k9.a().a(), jSONObject);
}
public String a() {
return this.d.toString();
}
public void a(int i) {
this.a = i;
}
public void a(String str) {
a(g, str);
int i = this.c + 1;
this.c = i;
a(f, Integer.valueOf(i));
}
public void a(String str, Object obj) {
if (str == null || obj == null) {
return;
}
try {
this.d.put(str, obj);
} catch (JSONException e2) {
i9.d().a(e2);
IronLog.INTERNAL.error(e2.toString());
}
}
public JSONObject b() {
return this.d;
}
public int c() {
return this.a;
}
public long d() {
return this.b;
}
public boolean equals(Object obj) {
if (obj == null || getClass() != obj.getClass()) {
return false;
}
kb kbVar = (kb) obj;
return this.a == kbVar.a && this.b == kbVar.b && this.c == kbVar.c && sj.a(this.d, kbVar.d);
}
public int hashCode() {
return (((((Integer.hashCode(this.a) * 31) + Long.hashCode(this.b)) * 31) + this.d.toString().hashCode()) * 31) + this.c;
}
public String toString() {
return ("{\"eventId\":" + c() + ",\"timestamp\":" + d() + "," + a().substring(1) + "}").replace(",", "\n");
}
}