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,56 @@
package com.mbridge.msdk.newreward.function.common;
import android.text.TextUtils;
import com.vungle.ads.internal.signals.SignalManager;
/* loaded from: classes4.dex */
public class MBridgeDailyPlayModel {
private final int mAdType;
private final String mCountKey;
private int mMaxDailyCap = 0;
private final String mPlacementID;
private final String mTimeKey;
private final String mUnitID;
public void setMaxPlayCount(int i) {
this.mMaxDailyCap = i;
}
public MBridgeDailyPlayModel(int i, String str, String str2) {
this.mAdType = i;
str = TextUtils.isEmpty(str) ? "null" : str;
this.mPlacementID = str;
str2 = TextUtils.isEmpty(str2) ? "null" : str2;
this.mUnitID = str2;
String str3 = i + "_" + str + "_" + str2;
this.mCountKey = str3 + "_count";
this.mTimeKey = str3 + "_time";
}
public void insertDailyCap() {
long j = MBridgeSharedPreferenceModel.getInstance().getLong(this.mTimeKey, 0L);
int integer = MBridgeSharedPreferenceModel.getInstance().getInteger(this.mCountKey, 0) + 1;
if (j == 0 || System.currentTimeMillis() - j > SignalManager.TWENTY_FOUR_HOURS_MILLIS) {
MBridgeSharedPreferenceModel.getInstance().putLong(this.mTimeKey, System.currentTimeMillis());
MBridgeSharedPreferenceModel.getInstance().putInteger(this.mCountKey, integer);
} else {
MBridgeSharedPreferenceModel.getInstance().putInteger(this.mCountKey, integer);
}
}
public boolean isOverDailyCap() {
if (this.mMaxDailyCap <= 0) {
return false;
}
long j = MBridgeSharedPreferenceModel.getInstance().getLong(this.mTimeKey, 0L);
if (j == 0) {
return false;
}
if (System.currentTimeMillis() - j <= SignalManager.TWENTY_FOUR_HOURS_MILLIS) {
return MBridgeSharedPreferenceModel.getInstance().getInteger(this.mCountKey, 0) >= this.mMaxDailyCap;
}
MBridgeSharedPreferenceModel.getInstance().putLong(this.mTimeKey, 0L);
MBridgeSharedPreferenceModel.getInstance().putInteger(this.mCountKey, 0);
return false;
}
}