- 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
46 lines
1.3 KiB
Java
46 lines
1.3 KiB
Java
package com.tapjoy.internal;
|
|
|
|
import java.util.ArrayList;
|
|
import org.json.JSONArray;
|
|
import org.json.JSONObject;
|
|
|
|
/* loaded from: classes4.dex */
|
|
public final class q1 {
|
|
public final JSONObject a;
|
|
public final String b;
|
|
public final ArrayList c = new ArrayList();
|
|
|
|
public q1(JSONObject jSONObject) {
|
|
this.a = jSONObject;
|
|
this.b = null;
|
|
if (jSONObject != null) {
|
|
this.b = jSONObject.optString("group_id");
|
|
JSONArray optJSONArray = jSONObject.optJSONArray("currencies");
|
|
int length = optJSONArray != null ? optJSONArray.length() : 0;
|
|
for (int i = 0; i < length; i++) {
|
|
JSONObject optJSONObject = optJSONArray != null ? optJSONArray.optJSONObject(i) : null;
|
|
if (optJSONObject != null) {
|
|
this.c.add(new y1(optJSONObject));
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
public final String a() {
|
|
return this.b;
|
|
}
|
|
|
|
public final ArrayList b() {
|
|
return this.c;
|
|
}
|
|
|
|
public final String c() {
|
|
JSONArray optJSONArray;
|
|
JSONObject jSONObject = this.a;
|
|
if (jSONObject == null || (optJSONArray = jSONObject.optJSONArray("currencies")) == null) {
|
|
return null;
|
|
}
|
|
return optJSONArray.toString();
|
|
}
|
|
}
|