- 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
237 lines
8.1 KiB
Java
237 lines
8.1 KiB
Java
package com.ironsource;
|
|
|
|
import android.app.Activity;
|
|
import com.ironsource.c3;
|
|
import com.ironsource.f3;
|
|
import com.ironsource.mediationsdk.IronSource;
|
|
import com.ironsource.mediationsdk.logger.IronSourceError;
|
|
import com.ironsource.mediationsdk.utils.IronSourceUtils;
|
|
import com.ironsource.mg;
|
|
import com.unity3d.ironsourceads.rewarded.RewardedAdInfo;
|
|
import java.util.Map;
|
|
import kotlin.jvm.internal.DefaultConstructorMarker;
|
|
import kotlin.jvm.internal.Intrinsics;
|
|
|
|
/* loaded from: classes2.dex */
|
|
public final class zo implements nc {
|
|
private mi a;
|
|
private w0 b;
|
|
private q4 c;
|
|
private j3 d;
|
|
private em e;
|
|
private jt f;
|
|
private mg g;
|
|
private mg.a h;
|
|
private final Map<String, zo> i;
|
|
private RewardedAdInfo j;
|
|
private ap k;
|
|
|
|
public zo(mi adInstance, w0 adNetworkShow, q4 auctionDataReporter, j3 analytics, em networkDestroyAPI, jt threadManager, mg sessionDepthService, mg.a sessionDepthServiceEditor, Map<String, zo> retainer) {
|
|
Intrinsics.checkNotNullParameter(adInstance, "adInstance");
|
|
Intrinsics.checkNotNullParameter(adNetworkShow, "adNetworkShow");
|
|
Intrinsics.checkNotNullParameter(auctionDataReporter, "auctionDataReporter");
|
|
Intrinsics.checkNotNullParameter(analytics, "analytics");
|
|
Intrinsics.checkNotNullParameter(networkDestroyAPI, "networkDestroyAPI");
|
|
Intrinsics.checkNotNullParameter(threadManager, "threadManager");
|
|
Intrinsics.checkNotNullParameter(sessionDepthService, "sessionDepthService");
|
|
Intrinsics.checkNotNullParameter(sessionDepthServiceEditor, "sessionDepthServiceEditor");
|
|
Intrinsics.checkNotNullParameter(retainer, "retainer");
|
|
this.a = adInstance;
|
|
this.b = adNetworkShow;
|
|
this.c = auctionDataReporter;
|
|
this.d = analytics;
|
|
this.e = networkDestroyAPI;
|
|
this.f = threadManager;
|
|
this.g = sessionDepthService;
|
|
this.h = sessionDepthServiceEditor;
|
|
this.i = retainer;
|
|
String f = adInstance.f();
|
|
Intrinsics.checkNotNullExpressionValue(f, "adInstance.instanceId");
|
|
String e = this.a.e();
|
|
Intrinsics.checkNotNullExpressionValue(e, "adInstance.id");
|
|
this.j = new RewardedAdInfo(f, e);
|
|
lc lcVar = new lc();
|
|
this.a.a(lcVar);
|
|
lcVar.a(this);
|
|
}
|
|
|
|
public /* synthetic */ zo(mi miVar, w0 w0Var, q4 q4Var, j3 j3Var, em emVar, jt jtVar, mg mgVar, mg.a aVar, Map map, int i, DefaultConstructorMarker defaultConstructorMarker) {
|
|
this(miVar, w0Var, q4Var, j3Var, (i & 16) != 0 ? new fm() : emVar, (i & 32) != 0 ? ve.a : jtVar, (i & 64) != 0 ? el.p.d().k() : mgVar, (i & 128) != 0 ? el.p.a().e() : aVar, map);
|
|
}
|
|
|
|
private final void a(final IronSourceError ironSourceError) {
|
|
this.i.remove(this.j.getAdId());
|
|
c3.a.a.a(new f3.j(ironSourceError.getErrorCode()), new f3.k(ironSourceError.getErrorMessage())).a(this.d);
|
|
this.f.a(new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda4
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.a(zo.this, ironSourceError);
|
|
}
|
|
});
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void a(zo this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
c3.d.a.b().a(this$0.d);
|
|
this$0.e.a(this$0.a);
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void a(zo this$0, IronSourceError error) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
Intrinsics.checkNotNullParameter(error, "$error");
|
|
ap apVar = this$0.k;
|
|
if (apVar != null) {
|
|
apVar.onRewardedAdFailedToShow(error);
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void b(zo this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
ap apVar = this$0.k;
|
|
if (apVar != null) {
|
|
apVar.onRewardedAdClicked();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void c(zo this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
ap apVar = this$0.k;
|
|
if (apVar != null) {
|
|
apVar.onRewardedAdDismissed();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void d(zo this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
ap apVar = this$0.k;
|
|
if (apVar != null) {
|
|
apVar.onUserEarnedReward();
|
|
}
|
|
}
|
|
|
|
/* JADX INFO: Access modifiers changed from: private */
|
|
public static final void e(zo this$0) {
|
|
Intrinsics.checkNotNullParameter(this$0, "this$0");
|
|
ap apVar = this$0.k;
|
|
if (apVar != null) {
|
|
apVar.onRewardedAdShown();
|
|
}
|
|
}
|
|
|
|
public final void a() {
|
|
jt.a(this.f, new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda1
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.a(zo.this);
|
|
}
|
|
}, 0L, 2, null);
|
|
}
|
|
|
|
public final void a(Activity activity) {
|
|
Intrinsics.checkNotNullParameter(activity, "activity");
|
|
this.i.put(this.j.getAdId(), this);
|
|
if (!this.b.a(this.a)) {
|
|
a(hb.a.t());
|
|
} else {
|
|
c3.a.a.d(new g3[0]).a(this.d);
|
|
this.b.a(activity, this.a);
|
|
}
|
|
}
|
|
|
|
public final void a(ap apVar) {
|
|
this.k = apVar;
|
|
}
|
|
|
|
public final void a(RewardedAdInfo rewardedAdInfo) {
|
|
Intrinsics.checkNotNullParameter(rewardedAdInfo, "<set-?>");
|
|
this.j = rewardedAdInfo;
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void a(String str) {
|
|
a(hb.a.c(new IronSourceError(0, str)));
|
|
}
|
|
|
|
public final RewardedAdInfo b() {
|
|
return this.j;
|
|
}
|
|
|
|
public final ap c() {
|
|
return this.k;
|
|
}
|
|
|
|
public final boolean d() {
|
|
boolean a = this.b.a(this.a);
|
|
c3.a.a.a(a).a(this.d);
|
|
return a;
|
|
}
|
|
|
|
public final void finalize() {
|
|
a();
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void onAdInstanceDidBecomeVisible() {
|
|
c3.a.a.f(new g3[0]).a(this.d);
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void onAdInstanceDidClick() {
|
|
c3.a.a.a().a(this.d);
|
|
this.f.a(new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda0
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.b(zo.this);
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void onAdInstanceDidDismiss() {
|
|
this.i.remove(this.j.getAdId());
|
|
c3.a.a.a(new g3[0]).a(this.d);
|
|
this.f.a(new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda3
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.c(zo.this);
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void onAdInstanceDidReward(String str, int i) {
|
|
f3.u uVar = new f3.u("Virtual Item");
|
|
f3.t tVar = new f3.t(1);
|
|
f3.q qVar = new f3.q("DefaultRewardedVideo");
|
|
String transId = IronSourceUtils.getTransId(System.currentTimeMillis(), this.a.g());
|
|
Intrinsics.checkNotNullExpressionValue(transId, "getTransId(System.curren…illis(), adInstance.name)");
|
|
c3.a.a.c(uVar, tVar, qVar, new f3.y(transId)).a(this.d);
|
|
this.f.a(new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda5
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.d(zo.this);
|
|
}
|
|
});
|
|
}
|
|
|
|
@Override // com.ironsource.nc
|
|
public void onAdInstanceDidShow() {
|
|
mg mgVar = this.g;
|
|
IronSource.AD_UNIT ad_unit = IronSource.AD_UNIT.REWARDED_VIDEO;
|
|
c3.a.a.b(new f3.w(mgVar.a(ad_unit))).a(this.d);
|
|
this.h.b(ad_unit);
|
|
this.c.c("onAdInstanceDidShow");
|
|
this.f.a(new Runnable() { // from class: com.ironsource.zo$$ExternalSyntheticLambda2
|
|
@Override // java.lang.Runnable
|
|
public final void run() {
|
|
zo.e(zo.this);
|
|
}
|
|
});
|
|
}
|
|
}
|