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,124 @@
package com.mbridge.msdk.video.dynview.i.a;
import android.graphics.Bitmap;
import android.text.TextUtils;
import android.view.View;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.tools.SameMD5;
import com.mbridge.msdk.foundation.tools.af;
import com.mbridge.msdk.foundation.tools.p;
import com.mbridge.msdk.video.dynview.c;
import com.mbridge.msdk.video.dynview.g.a;
import java.util.List;
import java.util.Map;
/* loaded from: classes4.dex */
public class a {
private static volatile a a;
private View b;
private Bitmap c;
private Bitmap d;
private a() {
}
public static a a() {
a aVar;
if (a != null) {
return a;
}
synchronized (a.class) {
try {
if (a == null) {
a = new a();
}
aVar = a;
} catch (Throwable th) {
throw th;
}
}
return aVar;
}
public final void a(Map<String, Bitmap> map, c cVar, View view) {
if (view == null || cVar == null || map == null || map.size() == 0 || map.size() < 2 || cVar.g() == null || cVar.g().size() < 2) {
return;
}
this.b = view;
int e = cVar.e();
float d = cVar.d();
float c = cVar.c();
try {
List<CampaignEx> g = cVar.g();
String md5 = g.get(0) != null ? SameMD5.getMD5(g.get(0).getImageUrl()) : "";
String md52 = g.get(1) != null ? SameMD5.getMD5(g.get(1).getImageUrl()) : "";
Bitmap bitmap = (TextUtils.isEmpty(md5) || !map.containsKey(md5)) ? null : map.get(md5);
Bitmap bitmap2 = (TextUtils.isEmpty(md52) || !map.containsKey(md52)) ? null : map.get(md52);
if (bitmap == null || bitmap.isRecycled() || bitmap2 == null || bitmap2.isRecycled()) {
return;
}
a(e, d, c, bitmap, bitmap2);
} catch (Exception e2) {
af.b("ChoiceOneDrawBitBg", e2.getMessage());
}
}
private synchronized void a(final int i, final float f, final float f2, final Bitmap bitmap, Bitmap bitmap2) {
try {
com.mbridge.msdk.foundation.same.f.a.a().execute(new Runnable() { // from class: com.mbridge.msdk.video.dynview.i.a.a.1
@Override // java.lang.Runnable
public final void run() {
try {
Bitmap a2 = p.a(bitmap, 10);
Bitmap a3 = p.a(bitmap, 10);
final a.C0238a a4 = com.mbridge.msdk.video.dynview.g.a.a();
a4.a(i).a(a2).b(a3);
if (i == 2) {
float f3 = f;
float f4 = f2;
if (f3 > f4) {
a4.a(f3).b(f2);
} else {
a4.a(f4).b(f);
}
} else {
a4.a(f).b(f2);
}
if (a.this.b != null) {
a.this.b.post(new Runnable() { // from class: com.mbridge.msdk.video.dynview.i.a.a.1.1
@Override // java.lang.Runnable
public final void run() {
if (a.this.b == null || a4.a() == null) {
return;
}
a.this.b.setBackground(a4.a());
}
});
}
} catch (Exception e) {
af.b("ChoiceOneDrawBitBg", e.getMessage());
}
}
});
} catch (Exception e) {
af.a("ChoiceOneDrawBitBg", e.getMessage());
}
}
public final void b() {
if (this.b != null) {
this.b = null;
}
Bitmap bitmap = this.c;
if (bitmap != null && !bitmap.isRecycled()) {
this.c.recycle();
this.c = null;
}
Bitmap bitmap2 = this.d;
if (bitmap2 == null || bitmap2.isRecycled()) {
return;
}
this.d.recycle();
this.d = null;
}
}