Files
rr3-apk/decompiled/sources/com/ironsource/Cdo.java
Daniel Elliott f9d20bb3fc Add decompiled APK source code (JADX)
- 28,932 files
- Full Java source code
- Smali files
- Resources

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-02-18 14:52:23 -08:00

99 lines
3.4 KiB
Java

package com.ironsource;
import com.ironsource.oe;
import com.unity3d.mediation.LevelPlay;
import kotlin.NoWhenBranchMatchedException;
import kotlin.jvm.internal.DefaultConstructorMarker;
import kotlin.jvm.internal.Intrinsics;
/* renamed from: com.ironsource.do, reason: invalid class name */
/* loaded from: classes2.dex */
public final class Cdo implements oe, oe.a {
private final d8 a;
private final ba b;
/* renamed from: com.ironsource.do$a */
public /* synthetic */ class a {
public static final /* synthetic */ int[] a;
static {
int[] iArr = new int[h8.values().length];
try {
iArr[h8.Delivery.ordinal()] = 1;
} catch (NoSuchFieldError unused) {
}
try {
iArr[h8.Pacing.ordinal()] = 2;
} catch (NoSuchFieldError unused2) {
}
try {
iArr[h8.ShowCount.ordinal()] = 3;
} catch (NoSuchFieldError unused3) {
}
a = iArr;
}
}
/* JADX WARN: Multi-variable type inference failed */
public Cdo() {
this(null, 0 == true ? 1 : 0, 3, 0 == true ? 1 : 0);
}
public Cdo(d8 cappingService, ba deliveryHandler) {
Intrinsics.checkNotNullParameter(cappingService, "cappingService");
Intrinsics.checkNotNullParameter(deliveryHandler, "deliveryHandler");
this.a = cappingService;
this.b = deliveryHandler;
}
public /* synthetic */ Cdo(d8 d8Var, ba baVar, int i, DefaultConstructorMarker defaultConstructorMarker) {
this((i & 1) != 0 ? new d8(null, null, null, 7, null) : d8Var, (i & 2) != 0 ? new ba() : baVar);
}
@Override // com.ironsource.oe
public synchronized f8 a(String placementName, LevelPlay.AdFormat adFormat) {
Intrinsics.checkNotNullParameter(placementName, "placementName");
Intrinsics.checkNotNullParameter(adFormat, "adFormat");
String a2 = new io(placementName, adFormat).a();
f8 a3 = this.b.a(a2);
if (a3.d()) {
return a3;
}
return this.a.a(a2);
}
@Override // com.ironsource.oe.a
public synchronized Object a(String placementName, LevelPlay.AdFormat adFormat, h8 cappingType, ud cappingConfig) {
Object a2;
try {
Intrinsics.checkNotNullParameter(placementName, "placementName");
Intrinsics.checkNotNullParameter(adFormat, "adFormat");
Intrinsics.checkNotNullParameter(cappingType, "cappingType");
Intrinsics.checkNotNullParameter(cappingConfig, "cappingConfig");
String a3 = new io(placementName, adFormat).a();
int i = a.a[cappingType.ordinal()];
if (i != 1) {
if (i != 2 && i != 3) {
throw new NoWhenBranchMatchedException();
}
a2 = this.a.a(a3, cappingType, cappingConfig);
} else {
a2 = this.b.a(a3, cappingType, cappingConfig);
}
} catch (Throwable th) {
throw th;
}
return a2;
}
@Override // com.ironsource.oe.a
public synchronized void b(String placementName, LevelPlay.AdFormat adFormat) {
Intrinsics.checkNotNullParameter(placementName, "placementName");
Intrinsics.checkNotNullParameter(adFormat, "adFormat");
String a2 = new io(placementName, adFormat).a();
if (!this.b.a(a2).d()) {
this.a.b(a2);
}
}
}