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
This commit is contained in:
2026-02-18 15:48:36 -08:00
parent c19eb3d7ff
commit c080f0d97f
26930 changed files with 2529574 additions and 0 deletions

View File

@@ -0,0 +1,97 @@
package com.mbridge.msdk.foundation.download.utils;
import android.text.TextUtils;
import com.mbridge.msdk.foundation.download.resource.stream.DownloadFileOutputStream;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.thrid.okhttp.Response;
import com.mbridge.msdk.thrid.okhttp.ResponseBody;
import java.io.File;
import java.io.FileFilter;
import java.io.InputStream;
import java.util.Arrays;
/* loaded from: classes4.dex */
public class Objects {
public static boolean isNull(Object obj) {
return obj == null;
}
public static void closeInputStream(InputStream inputStream) {
if (inputStream == null) {
return;
}
try {
inputStream.close();
} catch (Exception e) {
af.a("closeStream", e.getLocalizedMessage());
}
}
public static void closeOutputStream(DownloadFileOutputStream downloadFileOutputStream) {
if (downloadFileOutputStream == null) {
return;
}
try {
downloadFileOutputStream.close();
} catch (Exception e) {
af.a("closeStream", e.getLocalizedMessage());
}
}
public static void closeResponse(Response response) {
if (response == null) {
return;
}
try {
if (response.body() != null) {
response.body().close();
}
response.close();
} catch (Exception e) {
af.a("closeStream", e.getLocalizedMessage());
}
}
public static void closeResponseBody(ResponseBody responseBody) {
if (responseBody == null) {
return;
}
try {
responseBody.close();
} catch (Exception e) {
af.a("closeStream", e.getLocalizedMessage());
}
}
public static boolean exists(File file, String str, String str2) {
if (file == null || TextUtils.isEmpty(str)) {
return false;
}
boolean exists = file.exists();
return !exists ? doubleCheckExists(file, str, str2) : exists;
}
private static boolean doubleCheckExists(File file, final String str, final String str2) {
File[] fileArr;
try {
fileArr = file.getParentFile().listFiles(new FileFilter() { // from class: com.mbridge.msdk.foundation.download.utils.Objects.1
@Override // java.io.FileFilter
public boolean accept(File file2) {
return TextUtils.equals(file2.getAbsolutePath(), str + str2);
}
});
} catch (Exception e) {
af.a("doubleCheckExists", e.getLocalizedMessage());
fileArr = null;
}
return fileArr != null && file.length() > 0;
}
public static int hash(Object... objArr) {
return Arrays.hashCode(objArr);
}
public static boolean isNotNull(Object obj) {
return !isNull(obj);
}
}