Files
rr3-apk/decompiled-community/sources/com/mbridge/msdk/dycreator/bus/PendingPost.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

53 lines
1.4 KiB
Java

package com.mbridge.msdk.dycreator.bus;
import java.util.ArrayList;
import java.util.List;
/* loaded from: classes4.dex */
final class PendingPost {
private static final List<PendingPost> d = new ArrayList();
Object a;
Subscription b;
PendingPost c;
private PendingPost(Object obj, Subscription subscription) {
this.a = obj;
this.b = subscription;
}
public static PendingPost a(Subscription subscription, Object obj) {
List<PendingPost> list = d;
synchronized (list) {
try {
int size = list.size();
if (size > 0) {
PendingPost remove = list.remove(size - 1);
remove.a = obj;
remove.b = subscription;
remove.c = null;
return remove;
}
return new PendingPost(obj, subscription);
} catch (Throwable th) {
throw th;
}
}
}
public static void a(PendingPost pendingPost) {
pendingPost.a = null;
pendingPost.b = null;
pendingPost.c = null;
List<PendingPost> list = d;
synchronized (list) {
try {
if (list.size() < 10000) {
list.add(pendingPost);
}
} catch (Throwable th) {
throw th;
}
}
}
}