Files
rr3-apk/decompiled-community/sources/com/ironsource/sdk/controller/f.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

209 lines
6.4 KiB
Java

package com.ironsource.sdk.controller;
import java.util.UUID;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
import org.json.JSONException;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public interface f {
public static final class a {
public static final C0182a c = new C0182a(null);
private final String a;
private final JSONObject b;
/* renamed from: com.ironsource.sdk.controller.f$a$a, reason: collision with other inner class name */
public static final class C0182a {
private C0182a() {
}
public /* synthetic */ C0182a(DefaultConstructorMarker defaultConstructorMarker) {
this();
}
public final a a(String jsonStr) throws JSONException {
Intrinsics.checkNotNullParameter(jsonStr, "jsonStr");
JSONObject jSONObject = new JSONObject(jsonStr);
String id = jSONObject.getString(b.b);
JSONObject optJSONObject = jSONObject.optJSONObject("params");
Intrinsics.checkNotNullExpressionValue(id, "id");
return new a(id, optJSONObject);
}
}
public a(String msgId, JSONObject jSONObject) {
Intrinsics.checkNotNullParameter(msgId, "msgId");
this.a = msgId;
this.b = jSONObject;
}
public static /* synthetic */ a a(a aVar, String str, JSONObject jSONObject, int i, Object obj) {
if ((i & 1) != 0) {
str = aVar.a;
}
if ((i & 2) != 0) {
jSONObject = aVar.b;
}
return aVar.a(str, jSONObject);
}
public static final a a(String str) throws JSONException {
return c.a(str);
}
public final a a(String msgId, JSONObject jSONObject) {
Intrinsics.checkNotNullParameter(msgId, "msgId");
return new a(msgId, jSONObject);
}
public final String a() {
return this.a;
}
public final JSONObject b() {
return this.b;
}
public final String c() {
return this.a;
}
public final JSONObject d() {
return this.b;
}
public boolean equals(Object obj) {
if (this == obj) {
return true;
}
if (!(obj instanceof a)) {
return false;
}
a aVar = (a) obj;
return Intrinsics.areEqual(this.a, aVar.a) && Intrinsics.areEqual(this.b, aVar.b);
}
public int hashCode() {
int hashCode = this.a.hashCode() * 31;
JSONObject jSONObject = this.b;
return hashCode + (jSONObject == null ? 0 : jSONObject.hashCode());
}
public String toString() {
return "CallbackToNative(msgId=" + this.a + ", params=" + this.b + ')';
}
}
public static final class b {
public static final b a = new b();
public static final String b = "msgId";
public static final String c = "adId";
public static final String d = "params";
public static final String e = "success";
public static final String f = "reason";
public static final String g = "command";
private b() {
}
}
public static final class c {
private final String a;
private final String b;
private final JSONObject c;
private String d;
public c(String adId, String command, JSONObject params) {
Intrinsics.checkNotNullParameter(adId, "adId");
Intrinsics.checkNotNullParameter(command, "command");
Intrinsics.checkNotNullParameter(params, "params");
this.a = adId;
this.b = command;
this.c = params;
String uuid = UUID.randomUUID().toString();
Intrinsics.checkNotNullExpressionValue(uuid, "randomUUID().toString()");
this.d = uuid;
}
public static /* synthetic */ c a(c cVar, String str, String str2, JSONObject jSONObject, int i, Object obj) {
if ((i & 1) != 0) {
str = cVar.a;
}
if ((i & 2) != 0) {
str2 = cVar.b;
}
if ((i & 4) != 0) {
jSONObject = cVar.c;
}
return cVar.a(str, str2, jSONObject);
}
public final c a(String adId, String command, JSONObject params) {
Intrinsics.checkNotNullParameter(adId, "adId");
Intrinsics.checkNotNullParameter(command, "command");
Intrinsics.checkNotNullParameter(params, "params");
return new c(adId, command, params);
}
public final String a() {
return this.a;
}
public final void a(String str) {
Intrinsics.checkNotNullParameter(str, "<set-?>");
this.d = str;
}
public final String b() {
return this.b;
}
public final JSONObject c() {
return this.c;
}
public final String d() {
return this.a;
}
public final String e() {
return this.b;
}
public boolean equals(Object obj) {
c cVar = obj instanceof c ? (c) obj : null;
if (cVar == null) {
return false;
}
if (this == cVar) {
return true;
}
return Intrinsics.areEqual(this.d, cVar.d) && Intrinsics.areEqual(this.a, cVar.a) && Intrinsics.areEqual(this.b, cVar.b) && Intrinsics.areEqual(this.c.toString(), cVar.c.toString());
}
public final String f() {
return this.d;
}
public final JSONObject g() {
return this.c;
}
public final String h() {
String jSONObject = new JSONObject().put(b.b, this.d).put(b.c, this.a).put("params", this.c).toString();
Intrinsics.checkNotNullExpressionValue(jSONObject, "JSONObject()\n .…ms)\n .toString()");
return jSONObject;
}
public int hashCode() {
return super.hashCode();
}
public String toString() {
return "MessageToController(adId=" + this.a + ", command=" + this.b + ", params=" + this.c + ')';
}
}
}