Files
rr3-apk/decompiled-community/sources/com/unity3d/services/UnityAdsSDK$show$1.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

74 lines
3.3 KiB
Java

package com.unity3d.services;
import android.content.Context;
import com.unity3d.ads.UnityAdsShowOptions;
import com.unity3d.ads.core.data.model.Listeners;
import com.unity3d.ads.core.domain.LegacyShowUseCase;
import kotlin.ResultKt;
import kotlin.Unit;
import kotlin.coroutines.Continuation;
import kotlin.coroutines.intrinsics.IntrinsicsKt__IntrinsicsKt;
import kotlin.coroutines.jvm.internal.DebugMetadata;
import kotlin.coroutines.jvm.internal.SuspendLambda;
import kotlin.jvm.functions.Function2;
import kotlinx.coroutines.CoroutineScope;
import kotlinx.coroutines.CoroutineScopeKt;
@DebugMetadata(c = "com.unity3d.services.UnityAdsSDK$show$1", f = "UnityAdsSDK.kt", l = {104}, m = "invokeSuspend")
/* loaded from: classes4.dex */
public final class UnityAdsSDK$show$1 extends SuspendLambda implements Function2 {
final /* synthetic */ Listeners $listener;
final /* synthetic */ String $placementId;
final /* synthetic */ LegacyShowUseCase $showBoldSDK;
final /* synthetic */ UnityAdsShowOptions $showOptions;
final /* synthetic */ CoroutineScope $showScope;
int label;
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
public UnityAdsSDK$show$1(LegacyShowUseCase legacyShowUseCase, String str, UnityAdsShowOptions unityAdsShowOptions, Listeners listeners, CoroutineScope coroutineScope, Continuation continuation) {
super(2, continuation);
this.$showBoldSDK = legacyShowUseCase;
this.$placementId = str;
this.$showOptions = unityAdsShowOptions;
this.$listener = listeners;
this.$showScope = coroutineScope;
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Continuation create(Object obj, Continuation continuation) {
return new UnityAdsSDK$show$1(this.$showBoldSDK, this.$placementId, this.$showOptions, this.$listener, this.$showScope, continuation);
}
@Override // kotlin.jvm.functions.Function2
public final Object invoke(CoroutineScope coroutineScope, Continuation continuation) {
return ((UnityAdsSDK$show$1) create(coroutineScope, continuation)).invokeSuspend(Unit.INSTANCE);
}
@Override // kotlin.coroutines.jvm.internal.BaseContinuationImpl
public final Object invokeSuspend(Object obj) {
Object coroutine_suspended;
Context context;
coroutine_suspended = IntrinsicsKt__IntrinsicsKt.getCOROUTINE_SUSPENDED();
int i = this.label;
if (i == 0) {
ResultKt.throwOnFailure(obj);
LegacyShowUseCase legacyShowUseCase = this.$showBoldSDK;
context = UnityAdsSDK.INSTANCE.getContext();
String str = this.$placementId;
UnityAdsShowOptions unityAdsShowOptions = this.$showOptions;
Listeners listeners = this.$listener;
this.label = 1;
if (legacyShowUseCase.invoke(context, str, unityAdsShowOptions, listeners, this) == coroutine_suspended) {
return coroutine_suspended;
}
} else {
if (i != 1) {
throw new IllegalStateException("call to 'resume' before 'invoke' with coroutine");
}
ResultKt.throwOnFailure(obj);
}
CoroutineScopeKt.cancel$default(this.$showScope, null, 1, null);
return Unit.INSTANCE;
}
}