Files
rr3-apk/decompiled-community/sources/com/digitalturbine/ignite/authenticator/parsers/a.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

41 lines
1.8 KiB
Java

package com.digitalturbine.ignite.authenticator.parsers;
import org.json.JSONArray;
import org.json.JSONObject;
/* loaded from: classes2.dex */
public abstract class a {
public static com.digitalturbine.ignite.authenticator.entities.a a(JSONObject jSONObject) {
JSONObject optJSONObject;
JSONArray optJSONArray;
String str = "";
boolean z = false;
try {
if (jSONObject.has("data") && (optJSONObject = jSONObject.optJSONObject("data")) != null) {
String optString = optJSONObject.optString("igniteVersion", "");
try {
if (optJSONObject.has("features") && (optJSONArray = optJSONObject.optJSONArray("features")) != null) {
for (int length = optJSONArray.length() - 1; length >= 0; length--) {
JSONObject optJSONObject2 = optJSONArray.optJSONObject(length);
if (optJSONObject2.has("type") && "GET_PROPERTY".equalsIgnoreCase(optJSONObject2.optString("type", ""))) {
str = optString;
z = true;
break;
}
}
}
str = optString;
} catch (Exception e) {
e = e;
str = optString;
com.digitalturbine.ignite.authenticator.logger.a.b("IgniteVersionParser: exception on parse: %s", e.getMessage());
return new com.digitalturbine.ignite.authenticator.entities.a(z, str);
}
}
} catch (Exception e2) {
e = e2;
}
return new com.digitalturbine.ignite.authenticator.entities.a(z, str);
}
}