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>
This commit is contained in:
2026-02-18 14:52:23 -08:00
parent cc210a65ea
commit f9d20bb3fc
26991 changed files with 2541449 additions and 0 deletions

View File

@@ -0,0 +1,203 @@
package com.mbridge.msdk.newreward.function.c.a;
import android.text.TextUtils;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.foundation.tools.ak;
import com.mbridge.msdk.newreward.function.c.c.d;
import com.mbridge.msdk.newreward.function.c.c.f;
import com.mbridge.msdk.newreward.function.c.c.g;
import com.mbridge.msdk.newreward.function.c.c.h;
import com.mbridge.msdk.newreward.function.c.c.j;
import com.mbridge.msdk.newreward.function.c.c.k;
import com.mbridge.msdk.newreward.function.c.c.l;
import com.mbridge.msdk.newreward.function.c.c.m;
import com.mbridge.msdk.newreward.function.c.c.n;
import com.mbridge.msdk.newreward.function.h.c;
/* loaded from: classes4.dex */
public final class a {
private final b a;
private CampaignEx b;
private String c;
private String d;
private String e;
private d<?> f;
private n g;
private d<?> h;
private l i;
private h j;
private m k;
private boolean l = false;
private boolean m = false;
public final void a(CampaignEx campaignEx) {
this.b = campaignEx;
}
public final void a(String str) {
this.c = str;
}
public final void a(boolean z) {
this.l = z;
}
public final void b(String str) {
this.d = str;
}
public final void b(boolean z) {
this.m = z;
}
public final void c(String str) {
this.e = str;
}
public final String g() {
return this.e;
}
public final CampaignEx h() {
return this.b;
}
public final b i() {
return this.a;
}
public final boolean k() {
return this.l;
}
public final boolean l() {
return this.m;
}
public a(b bVar) {
this.a = bVar;
}
public final m a() {
CampaignEx.c rewardTemplateMode;
m mVar = this.k;
if (mVar != null) {
return mVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null || (rewardTemplateMode = campaignEx.getRewardTemplateMode()) == null) {
return null;
}
String c = rewardTemplateMode.c();
if (TextUtils.isEmpty(c)) {
return null;
}
if (this.k == null) {
this.k = new m(this.a, this, c);
}
return this.k;
}
public final h b() {
h hVar = this.j;
if (hVar != null) {
return hVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null || TextUtils.isEmpty(campaignEx.getEndScreenUrl())) {
return null;
}
if (this.j == null) {
this.j = new h(this.a, this);
}
return this.j;
}
public final d<?> c() {
d<?> dVar = this.f;
if (dVar != null) {
return dVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null || campaignEx.getRewardTemplateMode() == null) {
return null;
}
String e = campaignEx.getRewardTemplateMode().e();
if (TextUtils.isEmpty(e)) {
return null;
}
if (this.f == null) {
if (c.b(e)) {
this.f = new g(this.a, this);
} else {
this.f = new k(this.a, this);
}
}
return this.f;
}
public final n d() {
n nVar = this.g;
if (nVar != null) {
return nVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null || TextUtils.isEmpty(campaignEx.getVideoUrlEncode())) {
return null;
}
if (this.g == null) {
this.g = new n(this.a, this);
}
return this.g;
}
public final l e() {
l lVar = this.i;
if (lVar != null) {
return lVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null || TextUtils.isEmpty(campaignEx.getMraid())) {
return null;
}
if (this.i == null) {
this.i = new l(this.a, this);
}
return this.i;
}
public final d<?> f() {
d<?> dVar = this.h;
if (dVar != null) {
return dVar;
}
CampaignEx campaignEx = this.b;
if (campaignEx == null) {
return null;
}
String str = campaignEx.getendcard_url();
if (TextUtils.isEmpty(str)) {
return null;
}
if (this.h == null) {
if (c.b(str)) {
if (ak.l(str)) {
this.h = new j(this.a, this);
} else {
this.h = new f(this.a, this);
}
} else {
this.h = new j(this.a, this);
}
}
return this.h;
}
public final boolean j() {
CampaignEx campaignEx = this.b;
if (campaignEx != null) {
return campaignEx.isMraid();
}
return false;
}
}

View File

@@ -0,0 +1,502 @@
package com.mbridge.msdk.newreward.function.c.a;
import android.content.Context;
import android.text.TextUtils;
import androidx.work.WorkRequest;
import com.mbridge.msdk.foundation.entity.CampaignEx;
import com.mbridge.msdk.newreward.function.c.c.d;
import com.mbridge.msdk.newreward.function.c.c.e;
import com.mbridge.msdk.newreward.function.c.c.i;
import com.mbridge.msdk.newreward.function.c.c.n;
import com.mbridge.msdk.newreward.function.common.MBridgeCommon;
import com.mbridge.msdk.newreward.function.h.c;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.json.JSONObject;
/* loaded from: classes4.dex */
public final class b {
private String A;
private int B;
private int C;
private List<CampaignEx> D;
private int E;
private long G;
private Map<String, Object> H;
private String I;
private int a;
private String b;
private String c;
private String d;
private String e;
private String f;
private String g;
private boolean h;
private int j;
private String k;
private String l;
private String m;
private String n;
private int o;
private long p;
private long q;
private long r;
private double s;
private int t;
private List<a> u;
private JSONObject v;
private d<?> w;
private Context z;
private long i = WorkRequest.DEFAULT_BACKOFF_DELAY_MILLIS;
private int x = MBridgeCommon.DEFAULT_LOAD_TIMEOUT;
private int y = MBridgeCommon.DEFAULT_LOAD_TIMEOUT;
private int F = 0;
private boolean J = false;
private int K = 0;
private int L = 0;
public final String B() {
return this.A;
}
public final int C() {
return this.C;
}
public final int D() {
return this.B;
}
public final List<CampaignEx> E() {
return this.D;
}
public final int F() {
int i = this.E;
if (i <= 0) {
return 1;
}
return i;
}
public final int G() {
return this.F;
}
public final long I() {
return this.G;
}
public final String J() {
return this.I;
}
public final boolean K() {
return this.J;
}
public final int a() {
return this.K;
}
public final void a(double d) {
this.s = d;
}
public final void a(int i) {
this.K = i;
}
public final void a(long j) {
this.i = j;
}
public final void a(String str) {
this.e = str;
}
public final void a(List<a> list) {
this.u = list;
}
public final void a(JSONObject jSONObject) {
this.v = jSONObject;
}
public final void a(boolean z) {
this.h = z;
}
public final int b() {
return this.L;
}
public final void b(int i) {
this.L = i;
}
public final void b(long j) {
this.p = j;
}
public final void b(String str) {
this.f = str;
}
public final void b(List<CampaignEx> list) {
this.D = list;
}
public final void b(boolean z) {
this.J = z;
}
public final int c() {
return this.a;
}
public final void c(int i) {
this.j = i;
}
public final void c(long j) {
this.q = j;
}
public final void c(String str) {
this.g = str;
}
public final String d() {
return this.c;
}
public final void d(int i) {
this.o = i;
}
public final void d(long j) {
this.r = j;
}
public final void d(String str) {
this.k = str;
}
public final String e() {
return this.d;
}
public final void e(int i) {
this.t = i;
}
public final void e(long j) {
this.G = j;
}
public final void e(String str) {
this.l = str;
}
public final String f() {
return this.e;
}
public final void f(int i) {
this.x = i;
}
public final void f(String str) {
this.m = str;
}
public final String g() {
return this.f;
}
public final void g(int i) {
this.y = i;
}
public final void g(String str) {
this.n = str;
}
public final String h() {
return this.g;
}
public final void h(int i) {
this.C = i;
}
public final void h(String str) {
this.A = str;
}
public final void i(int i) {
this.B = i;
}
public final void i(String str) {
this.I = str;
}
public final boolean i() {
return this.h;
}
public final int j() {
return this.j;
}
public final void j(int i) {
this.E = i;
}
public final String k() {
return this.k;
}
public final void k(int i) {
this.F = i;
}
public final String l() {
return this.l;
}
public final String m() {
return this.m;
}
public final String n() {
return this.n;
}
public final int o() {
return this.o;
}
public final long p() {
return this.p;
}
public final long q() {
return this.q;
}
public final long r() {
return this.r;
}
public final double s() {
return this.s;
}
public final int t() {
return this.t;
}
public final List<a> u() {
return this.u;
}
public final JSONObject v() {
return this.v;
}
public final Context x() {
return this.z;
}
public b(int i, String str, String str2, String str3) {
this.a = i;
this.b = str;
this.c = str2;
this.d = str3;
}
public final d<?> w() {
d<?> dVar = this.w;
if (dVar != null) {
return dVar;
}
String str = this.A;
if (TextUtils.isEmpty(str)) {
return null;
}
if (this.w == null) {
if (c.b(str)) {
this.w = new e(this, null);
} else {
this.w = new i(this, null);
}
}
return this.w;
}
public final boolean y() {
List<a> list;
d<?> dVar = this.w;
if ((dVar != null && !dVar.d()) || (list = this.u) == null || list.isEmpty()) {
return false;
}
int size = this.u.size();
Iterator<a> it = this.u.iterator();
int i = 0;
while (true) {
boolean z = true;
if (!it.hasNext()) {
break;
}
a next = it.next();
n d = next.d();
boolean z2 = d == null || d.d();
d<?> f = next.f();
boolean z3 = f == null || f.d();
d<?> c = next.c();
if (c != null && !c.d()) {
z = false;
}
if (z2 && z3 && z) {
i++;
}
}
return i == size;
}
/* JADX WARN: Removed duplicated region for block: B:13:0x0095 */
/* JADX WARN: Removed duplicated region for block: B:22:0x00a6 */
/* JADX WARN: Removed duplicated region for block: B:24:0x00ab A[ADDED_TO_REGION] */
/*
Code decompiled incorrectly, please refer to instructions dump.
To view partially-correct add '--show-bad-code' argument
*/
public final boolean z() {
/*
r10 = this;
boolean r0 = r10.A()
boolean r1 = r10.y()
com.mbridge.msdk.newreward.function.c.c.d<?> r2 = r10.w
r3 = 1
r4 = 0
if (r2 == 0) goto L14
boolean r2 = r2.d()
if (r2 == 0) goto L76
L14:
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r2 = r10.u
if (r2 == 0) goto L76
boolean r2 = r2.isEmpty()
if (r2 == 0) goto L20
goto L76
L20:
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r2 = r10.u
int r2 = r2.size()
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r5 = r10.u
java.util.Iterator r5 = r5.iterator()
r6 = r4
L2d:
boolean r7 = r5.hasNext()
if (r7 == 0) goto L72
java.lang.Object r7 = r5.next()
com.mbridge.msdk.newreward.function.c.a.a r7 = (com.mbridge.msdk.newreward.function.c.a.a) r7
com.mbridge.msdk.newreward.function.c.c.n r8 = r7.d()
if (r8 == 0) goto L48
boolean r8 = r8.e()
if (r8 == 0) goto L46
goto L48
L46:
r8 = r4
goto L49
L48:
r8 = r3
L49:
com.mbridge.msdk.newreward.function.c.c.d r9 = r7.f()
if (r9 == 0) goto L58
boolean r9 = r9.e()
if (r9 == 0) goto L56
goto L58
L56:
r9 = r4
goto L59
L58:
r9 = r3
L59:
com.mbridge.msdk.newreward.function.c.c.d r7 = r7.c()
if (r7 == 0) goto L68
boolean r7 = r7.e()
if (r7 == 0) goto L66
goto L68
L66:
r7 = r4
goto L69
L68:
r7 = r3
L69:
if (r8 == 0) goto L2d
if (r9 == 0) goto L2d
if (r7 == 0) goto L2d
int r6 = r6 + 1
goto L2d
L72:
if (r6 != r2) goto L76
r2 = r3
goto L77
L76:
r2 = r4
L77:
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r5 = r10.u
if (r5 == 0) goto La8
boolean r5 = r5.isEmpty()
if (r5 == 0) goto L82
goto La8
L82:
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r5 = r10.u
int r5 = r5.size()
java.util.List<com.mbridge.msdk.newreward.function.c.a.a> r6 = r10.u
java.util.Iterator r6 = r6.iterator()
r7 = r4
L8f:
boolean r8 = r6.hasNext()
if (r8 == 0) goto La4
java.lang.Object r8 = r6.next()
com.mbridge.msdk.newreward.function.c.a.a r8 = (com.mbridge.msdk.newreward.function.c.a.a) r8
boolean r8 = r8.l()
if (r8 != 0) goto L8f
int r7 = r7 + 1
goto L8f
La4:
if (r7 != r5) goto La8
r5 = r3
goto La9
La8:
r5 = r4
La9:
if (r0 == 0) goto Lb2
if (r1 == 0) goto Lb2
if (r2 == 0) goto Lb2
if (r5 == 0) goto Lb2
goto Lb3
Lb2:
r3 = r4
Lb3:
return r3
*/
throw new UnsupportedOperationException("Method not decompiled: com.mbridge.msdk.newreward.function.c.a.b.z():boolean");
}
public final boolean A() {
return this.p > System.currentTimeMillis();
}
public final Map<String, Object> H() {
if (this.H == null) {
this.H = new HashMap();
}
return this.H;
}
}