Files
rr3-apk/decompiled/sources/com/applovin/impl/cn.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

88 lines
3.3 KiB
Java

package com.applovin.impl;
import com.applovin.impl.aq;
import com.applovin.impl.tm;
import com.applovin.sdk.AppLovinAdLoadListener;
import java.util.HashSet;
/* loaded from: classes.dex */
class cn extends yl {
private final eq h;
private final AppLovinAdLoadListener i;
@Override // java.lang.Runnable
public void run() {
if (com.applovin.impl.sdk.n.a()) {
this.c.a(this.b, "Rendering VAST ad...");
}
int size = this.h.a().size();
HashSet hashSet = new HashSet(size);
HashSet hashSet2 = new HashSet(size);
String str = "";
jq jqVar = null;
nq nqVar = null;
dq dqVar = null;
cq cqVar = null;
String str2 = "";
for (es esVar : this.h.a()) {
es b = esVar.b(mq.b(esVar) ? "Wrapper" : "InLine");
if (b != null) {
es b2 = b.b("AdSystem");
if (b2 != null) {
jqVar = jq.a(b2, jqVar, this.a);
}
str = mq.a(b, "AdTitle", str);
str2 = mq.a(b, "Description", str2);
mq.a(b.a("Impression"), hashSet, this.h, this.a);
es c = b.c("ViewableImpression");
if (c != null) {
mq.a(c.a("Viewable"), hashSet, this.h, this.a);
}
es b3 = b.b("AdVerifications");
if (b3 != null) {
cqVar = cq.a(b3, cqVar, this.h, this.a);
}
mq.a(b.a("Error"), hashSet2, this.h, this.a);
es c2 = b.c("Creatives");
if (c2 != null) {
for (es esVar2 : c2.b()) {
es c3 = esVar2.c("Linear");
if (c3 != null) {
nqVar = nq.a(c3, nqVar, this.h, this.a);
} else {
es b4 = esVar2.b("CompanionAds");
if (b4 != null) {
es b5 = b4.b("Companion");
if (b5 != null) {
dqVar = dq.a(b5, dqVar, this.h, this.a);
}
} else if (com.applovin.impl.sdk.n.a()) {
this.c.b(this.b, "Received and will skip rendering for an unidentified creative: " + esVar2);
}
}
}
}
} else if (com.applovin.impl.sdk.n.a()) {
this.c.b(this.b, "Did not find wrapper or inline response for node: " + esVar);
}
}
aq a = new aq.b().a(this.a).a(this.h.b()).b(this.h.e()).a(this.h.c()).b(str).a(str2).a(jqVar).a(nqVar).a(dqVar).a(cqVar).b(hashSet).a(cqVar).a(hashSet2).a();
fq c4 = mq.c(a);
if (c4 != null) {
mq.a(this.h, this.i, c4, -6, this.a);
return;
}
if (com.applovin.impl.sdk.n.a()) {
this.c.a(this.b, "Finished rendering VAST ad: " + a);
}
a.getAdEventTracker().e();
this.a.j0().a((yl) new dm(a, this.a, this.i), tm.b.CACHING);
}
public cn(eq eqVar, AppLovinAdLoadListener appLovinAdLoadListener, com.applovin.impl.sdk.j jVar) {
super("TaskRenderVastAd", jVar);
this.i = appLovinAdLoadListener;
this.h = eqVar;
}
}