Files
rr3-apk/smali_classes4/com/mbridge/msdk/splash/c/d.smali
Daniel Elliott f3960ee359 Add Discord APKTool decompilation (Smali source for modding)
- Imported from https://github.com/supermegamestre/Project-Real-Resurrection-3
- APKTool decompilation (Smali bytecode) for modding and rebuilding APK
- Supports both 32-bit (armeabi-v7a) and 64-bit (arm64-v8a) architectures
- Includes full Smali source, resources, and native libraries
- Ready to rebuild APK after modifications with apktool b command
- Added comprehensive README-apktool.md with modding guide

This branch complements the JADX branches:
- Use JADX (main/discord-community) to UNDERSTAND code (readable Java)
- Use APKTool (this branch) to MODIFY and REBUILD APK (editable Smali)

Total: 44,417 files, 538.51 MB Smali source code
2026-02-18 16:13:44 -08:00

1202 lines
30 KiB
Smali

.class public final Lcom/mbridge/msdk/splash/c/d;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field public static a:Lcom/mbridge/msdk/foundation/db/e; = null
.field private static b:Ljava/lang/String; = "ResManager"
.field private static c:I = 0x1
# direct methods
.method static constructor <clinit>()V
.locals 1
.line 33
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
move-result-object v0
.line 32
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/e;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/e;
move-result-object v0
sput-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
return-void
.end method
.method private static a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;)Lcom/mbridge/msdk/foundation/entity/CampaignEx;
.locals 4
.line 85
invoke-virtual {p0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
const/4 v1, 0x1
const/4 v2, 0x0
if-eqz v0, :cond_1
invoke-virtual {p0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_0
invoke-virtual {p0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v0
const-string v3, "<MBTPLMARK>"
invoke-virtual {v0, v3}, Ljava/lang/String;->contains(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
.line 89
:cond_0
invoke-virtual {p0, v2}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->setHasMBTplMark(Z)V
.line 90
invoke-virtual {p0, v1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->setIsMraid(Z)V
goto :goto_1
.line 86
:cond_1
:goto_0
invoke-virtual {p0, v1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->setHasMBTplMark(Z)V
.line 87
invoke-virtual {p0, v2}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->setIsMraid(Z)V
:goto_1
return-object p0
.end method
.method public static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;ZIZZ)Lcom/mbridge/msdk/foundation/entity/CampaignEx;
.locals 17
sget-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
if-nez v0, :cond_0
.line 41
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
move-result-object v0
.line 40
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/e;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/e;
move-result-object v0
sput-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
.line 43
:cond_0
invoke-static {}, Lcom/mbridge/msdk/c/h;->a()Lcom/mbridge/msdk/c/h;
move-result-object v0
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v1
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/controller/a;->k()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/c/h;->b(Ljava/lang/String;)Lcom/mbridge/msdk/c/g;
move-result-object v0
if-nez v0, :cond_1
.line 45
invoke-static {}, Lcom/mbridge/msdk/c/h;->a()Lcom/mbridge/msdk/c/h;
.line 1124
invoke-static {}, Lcom/mbridge/msdk/c/i;->a()Lcom/mbridge/msdk/c/g;
move-result-object v0
.line 47
:cond_1
invoke-virtual {v0}, Lcom/mbridge/msdk/c/b;->ac()J
move-result-wide v1
const-wide/16 v3, 0x3e8
mul-long/2addr v1, v3
.line 48
invoke-virtual {v0}, Lcom/mbridge/msdk/c/b;->ad()J
move-result-wide v5
mul-long/2addr v5, v3
sget-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
if-nez v0, :cond_2
.line 1309
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/e;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/e;
move-result-object v0
sput-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
:cond_2
sget-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
move-object/from16 v13, p2
.line 1311
invoke-virtual {v0, v5, v6, v13}, Lcom/mbridge/msdk/foundation/db/e;->b(JLjava/lang/String;)V
sget-object v7, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
const/4 v9, 0x0
const/4 v10, 0x0
sget v11, Lcom/mbridge/msdk/splash/c/d;->c:I
.line 50
invoke-static/range {p3 .. p3}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
xor-int/lit8 v12, v0, 0x1
move-object/from16 v8, p2
invoke-virtual/range {v7 .. v12}, Lcom/mbridge/msdk/foundation/db/e;->a(Ljava/lang/String;IIIZ)Ljava/util/List;
move-result-object v0
const/4 v14, 0x0
if-eqz v0, :cond_a
.line 51
invoke-interface {v0}, Ljava/util/List;->size()I
move-result v7
if-lez v7, :cond_a
const/4 v7, 0x0
.line 52
invoke-interface {v0, v7}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/mbridge/msdk/foundation/entity/CampaignEx;
.line 53
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v7
invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v7
if-eqz v7, :cond_3
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v7
invoke-static {v7}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v7
if-eqz v7, :cond_3
return-object v14
.line 57
:cond_3
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v7
sub-long v9, v7, v1
const-wide/16 v11, 0x0
if-nez p6, :cond_6
.line 60
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v1
cmp-long v1, v1, v11
if-lez v1, :cond_4
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v1
mul-long/2addr v1, v3
invoke-virtual {v0}, Lcom/mbridge/msdk/out/Campaign;->getTimestamp()J
move-result-wide v3
add-long/2addr v1, v3
cmp-long v1, v1, v7
if-gez v1, :cond_5
.line 61
:cond_4
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v1
cmp-long v1, v1, v11
if-gtz v1, :cond_a
invoke-virtual {v0}, Lcom/mbridge/msdk/out/Campaign;->getTimestamp()J
move-result-wide v1
cmp-long v1, v1, v9
if-ltz v1, :cond_a
:cond_5
move-object/from16 v7, p0
move-object v8, v0
move-object/from16 v9, p1
move-object/from16 v10, p2
move/from16 v11, p4
move/from16 v12, p5
move/from16 v13, p7
.line 62
invoke-static/range {v7 .. v13}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZIZ)Z
move-result v1
if-eqz v1, :cond_a
.line 63
invoke-static {v0}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;)Lcom/mbridge/msdk/foundation/entity/CampaignEx;
move-result-object v14
goto :goto_0
.line 67
:cond_6
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v15
cmp-long v15, v15, v11
if-lez v15, :cond_7
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v15
mul-long/2addr v15, v3
invoke-virtual {v0}, Lcom/mbridge/msdk/out/Campaign;->getTimestamp()J
move-result-wide v3
add-long/2addr v15, v3
cmp-long v3, v15, v7
if-gez v3, :cond_8
.line 68
:cond_7
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getPlct()J
move-result-wide v3
cmp-long v3, v3, v11
if-gtz v3, :cond_9
invoke-virtual {v0}, Lcom/mbridge/msdk/out/Campaign;->getTimestamp()J
move-result-wide v3
cmp-long v3, v3, v9
if-ltz v3, :cond_9
:cond_8
move-object/from16 v7, p0
move-object v8, v0
move-object/from16 v9, p1
move-object/from16 v10, p2
move/from16 v11, p4
move/from16 v12, p5
move/from16 v13, p7
.line 69
invoke-static/range {v7 .. v13}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZIZ)Z
move-result v1
if-eqz v1, :cond_a
.line 70
invoke-static {v0}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;)Lcom/mbridge/msdk/foundation/entity/CampaignEx;
move-result-object v14
goto :goto_0
:cond_9
move-object/from16 v7, p0
move-object v8, v0
move-object/from16 v9, p1
move-object/from16 v10, p2
move/from16 v11, p4
move/from16 v12, p5
move/from16 v13, p7
.line 73
invoke-static/range {v7 .. v13}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZIZ)Z
move-result v3
if-eqz v3, :cond_a
invoke-virtual {v0, v1, v2, v5, v6}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isSpareOffer(JJ)Z
move-result v1
if-eqz v1, :cond_a
.line 74
invoke-static {v0}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;)Lcom/mbridge/msdk/foundation/entity/CampaignEx;
move-result-object v14
:cond_a
:goto_0
return-object v14
.end method
.method public static a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;)V
.locals 1
.line 299
new-instance v0, Ljava/util/ArrayList;
invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V
.line 300
invoke-interface {v0, p0}, Ljava/util/List;->add(Ljava/lang/Object;)Z
sget-object p0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
if-nez p0, :cond_0
.line 302
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object p0
invoke-virtual {p0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object p0
invoke-static {p0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
move-result-object p0
invoke-static {p0}, Lcom/mbridge/msdk/foundation/db/e;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/e;
move-result-object p0
sput-object p0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
:cond_0
sget-object p0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
.line 304
invoke-virtual {p0, v0, p1}, Lcom/mbridge/msdk/foundation/db/e;->b(Ljava/util/List;Ljava/lang/String;)V
return-void
.end method
.method public static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Lcom/mbridge/msdk/splash/view/nativeview/a;)V
.locals 3
.line 201
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/same/c/b;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/same/c/b;
move-result-object v0
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getImageUrl()Ljava/lang/String;
move-result-object v1
new-instance v2, Lcom/mbridge/msdk/splash/c/d$2;
invoke-direct {v2, p2, p0}, Lcom/mbridge/msdk/splash/c/d$2;-><init>(Lcom/mbridge/msdk/splash/view/nativeview/a;Lcom/mbridge/msdk/splash/view/MBSplashView;)V
invoke-virtual {v0, v1, v2}, Lcom/mbridge/msdk/foundation/same/c/b;->a(Ljava/lang/String;Lcom/mbridge/msdk/foundation/same/c/c;)V
.line 224
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getIconUrl()Ljava/lang/String;
move-result-object p0
invoke-static {p0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p0
if-nez p0, :cond_0
.line 225
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object p0
invoke-virtual {p0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object p0
invoke-static {p0}, Lcom/mbridge/msdk/foundation/same/c/b;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/same/c/b;
move-result-object p0
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getIconUrl()Ljava/lang/String;
move-result-object p1
new-instance p2, Lcom/mbridge/msdk/splash/c/d$3;
invoke-direct {p2}, Lcom/mbridge/msdk/splash/c/d$3;-><init>()V
invoke-virtual {p0, p1, p2}, Lcom/mbridge/msdk/foundation/same/c/b;->a(Ljava/lang/String;Lcom/mbridge/msdk/foundation/same/c/c;)V
:cond_0
return-void
.end method
.method private static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;)V
.locals 6
.line 179
new-instance v5, Lcom/mbridge/msdk/splash/c/d$1;
invoke-direct {v5, p0}, Lcom/mbridge/msdk/splash/c/d$1;-><init>(Lcom/mbridge/msdk/splash/view/MBSplashView;)V
.line 190
new-instance v3, Ljava/util/concurrent/CopyOnWriteArrayList;
invoke-direct {v3}, Ljava/util/concurrent/CopyOnWriteArrayList;-><init>()V
.line 191
invoke-virtual {v3, p1}, Ljava/util/concurrent/CopyOnWriteArrayList;->add(Ljava/lang/Object;)Z
.line 192
invoke-static {}, Lcom/mbridge/msdk/videocommon/download/b;->getInstance()Lcom/mbridge/msdk/videocommon/download/b;
move-result-object v0
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v1
invoke-virtual {v1}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v1
const/16 v4, 0x129
move-object v2, p2
invoke-virtual/range {v0 .. v5}, Lcom/mbridge/msdk/videocommon/download/b;->createUnitCache(Landroid/content/Context;Ljava/lang/String;Ljava/util/concurrent/CopyOnWriteArrayList;ILcom/mbridge/msdk/videocommon/listener/a;)Lcom/mbridge/msdk/videocommon/download/j;
.line 193
invoke-static {}, Lcom/mbridge/msdk/videocommon/download/b;->getInstance()Lcom/mbridge/msdk/videocommon/download/b;
move-result-object v0
const/16 v1, 0x129
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isBidCampaign()Z
move-result p1
invoke-virtual {v0, v1, p2, p1}, Lcom/mbridge/msdk/videocommon/download/b;->a(ILjava/lang/String;Z)Z
move-result p1
if-nez p1, :cond_0
.line 194
invoke-static {}, Lcom/mbridge/msdk/videocommon/download/b;->getInstance()Lcom/mbridge/msdk/videocommon/download/b;
move-result-object p0
invoke-virtual {p0, p2}, Lcom/mbridge/msdk/videocommon/download/b;->load(Ljava/lang/String;)V
goto :goto_0
:cond_0
const/4 p1, 0x1
.line 196
invoke-virtual {p0, p1}, Lcom/mbridge/msdk/splash/view/MBSplashView;->setVideoReady(Z)V
:goto_0
return-void
.end method
.method private static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Ljava/lang/String;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZI)V
.locals 1
.line 239
new-instance v0, Lcom/mbridge/msdk/splash/c/g$c;
invoke-direct {v0}, Lcom/mbridge/msdk/splash/c/g$c;-><init>()V
.line 240
invoke-virtual {v0, p4}, Lcom/mbridge/msdk/splash/c/g$c;->c(Ljava/lang/String;)V
.line 241
invoke-virtual {v0, p3}, Lcom/mbridge/msdk/splash/c/g$c;->b(Ljava/lang/String;)V
.line 242
invoke-virtual {v0, p2}, Lcom/mbridge/msdk/splash/c/g$c;->a(Lcom/mbridge/msdk/foundation/entity/CampaignEx;)V
.line 243
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/splash/c/g$c;->a(Ljava/lang/String;)V
.line 244
invoke-virtual {v0, p5}, Lcom/mbridge/msdk/splash/c/g$c;->a(Z)V
.line 245
invoke-virtual {v0, p6}, Lcom/mbridge/msdk/splash/c/g$c;->a(I)V
.line 2035
invoke-static {}, Lcom/mbridge/msdk/splash/c/g$a;->a()Lcom/mbridge/msdk/splash/c/g;
move-result-object p1
const/4 p2, 0x0
.line 247
invoke-virtual {p1, p0, v0, p2}, Lcom/mbridge/msdk/splash/c/g;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/splash/c/g$c;Lcom/mbridge/msdk/splash/c/g$b;)V
return-void
.end method
.method public static a(Ljava/lang/String;)V
.locals 3
sget-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
if-nez v0, :cond_0
.line 316
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/g;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/db/g;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/db/e;->a(Lcom/mbridge/msdk/foundation/db/f;)Lcom/mbridge/msdk/foundation/db/e;
move-result-object v0
sput-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
:cond_0
sget-object v0, Lcom/mbridge/msdk/splash/c/d;->a:Lcom/mbridge/msdk/foundation/db/e;
const/4 v1, 0x0
sget v2, Lcom/mbridge/msdk/splash/c/d;->c:I
.line 318
invoke-virtual {v0, p0, v1, v2}, Lcom/mbridge/msdk/foundation/db/e;->a(Ljava/lang/String;II)V
return-void
.end method
.method public static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;)Z
.locals 3
const/4 v0, 0x0
if-nez p0, :cond_0
return v0
.line 275
:cond_0
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getVideoUrlEncode()Ljava/lang/String;
move-result-object v1
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-nez v1, :cond_1
.line 276
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isVideoReady()Z
move-result v1
goto :goto_0
:cond_1
const/4 v1, 0x1
:goto_0
if-eqz v1, :cond_2
.line 278
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_2
.line 279
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isH5Ready()Z
move-result v1
:cond_2
if-eqz v1, :cond_3
.line 281
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_3
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-nez v2, :cond_3
.line 282
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isH5Ready()Z
move-result v1
.line 284
:cond_3
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_4
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v2
invoke-static {v2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v2
if-eqz v2, :cond_4
move v1, v0
.line 287
:cond_4
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isDynamicView()Z
move-result v2
if-eqz v2, :cond_5
.line 288
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getImageUrl()Ljava/lang/String;
move-result-object p1
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result p1
if-nez p1, :cond_6
.line 289
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isImageReady()Z
move-result v0
goto :goto_1
:cond_5
move v0, v1
:cond_6
:goto_1
return v0
.end method
.method private static a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZIZ)Z
.locals 13
move-object v7, p0
move-object v8, p1
move-object/from16 v9, p3
const/4 v10, 0x0
if-eqz v8, :cond_a
.line 126
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->clearResState()V
.line 128
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getVideoUrlEncode()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
const/4 v11, 0x1
if-nez v0, :cond_3
.line 129
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isVideoReady()Z
move-result v0
if-nez v0, :cond_1
invoke-static {}, Lcom/mbridge/msdk/videocommon/download/b;->getInstance()Lcom/mbridge/msdk/videocommon/download/b;
move-result-object v0
const/16 v1, 0x129
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isBidCampaign()Z
move-result v2
invoke-virtual {v0, v1, v9, v2}, Lcom/mbridge/msdk/videocommon/download/b;->a(ILjava/lang/String;Z)Z
move-result v0
if-eqz v0, :cond_0
goto :goto_0
:cond_0
move v0, v10
goto :goto_1
:cond_1
:goto_0
move v0, v11
:goto_1
if-nez v0, :cond_2
.line 131
invoke-static {p0, p1, v9}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;)V
goto :goto_2
.line 133
:cond_2
invoke-virtual {p0, v11}, Lcom/mbridge/msdk/splash/view/MBSplashView;->setVideoReady(Z)V
:goto_2
move v12, v0
goto :goto_3
:cond_3
move v12, v11
.line 136
:goto_3
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_5
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isH5Ready()Z
move-result v0
if-nez v0, :cond_5
.line 137
invoke-static {}, Lcom/mbridge/msdk/foundation/download/download/H5DownLoadManager;->getInstance()Lcom/mbridge/msdk/foundation/download/download/H5DownLoadManager;
move-result-object v0
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/foundation/download/download/H5DownLoadManager;->getH5ResAddress(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 139
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_4
if-nez p6, :cond_5
move-object v0, p0
move-object v2, p1
move-object v3, p2
move-object/from16 v4, p3
move/from16 v5, p4
move/from16 v6, p5
.line 141
invoke-static/range {v0 .. v6}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Ljava/lang/String;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZI)V
goto :goto_4
:cond_4
move v12, v10
.line 148
:cond_5
:goto_4
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdZip()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-eqz v0, :cond_7
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_7
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isH5Ready()Z
move-result v0
if-nez v0, :cond_7
.line 149
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->getAdHtml()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/splash/c/d;->b(Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
.line 150
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_6
if-nez p6, :cond_7
move-object v0, p0
move-object v2, p1
move-object v3, p2
move-object/from16 v4, p3
move/from16 v5, p4
move/from16 v6, p5
.line 152
invoke-static/range {v0 .. v6}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Ljava/lang/String;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Ljava/lang/String;Ljava/lang/String;ZI)V
goto :goto_5
:cond_6
move v12, v10
.line 159
:cond_7
:goto_5
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/entity/CampaignEx;->isDynamicView()Z
move-result v0
if-eqz v0, :cond_9
.line 160
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getImageUrl()Ljava/lang/String;
move-result-object v0
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v0
if-nez v0, :cond_a
invoke-virtual {p0}, Lcom/mbridge/msdk/splash/view/MBSplashView;->isImageReady()Z
move-result v0
if-nez v0, :cond_a
.line 161
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/c;->m()Lcom/mbridge/msdk/foundation/controller/c;
move-result-object v0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/controller/a;->c()Landroid/content/Context;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/same/c/b;->a(Landroid/content/Context;)Lcom/mbridge/msdk/foundation/same/c/b;
move-result-object v0
invoke-virtual {p1}, Lcom/mbridge/msdk/out/Campaign;->getImageUrl()Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Lcom/mbridge/msdk/foundation/same/c/b;->b(Ljava/lang/String;)Z
move-result v0
if-nez v0, :cond_8
const/4 v0, 0x0
.line 163
invoke-static {p0, p1, v0}, Lcom/mbridge/msdk/splash/c/d;->a(Lcom/mbridge/msdk/splash/view/MBSplashView;Lcom/mbridge/msdk/foundation/entity/CampaignEx;Lcom/mbridge/msdk/splash/view/nativeview/a;)V
goto :goto_6
.line 166
:cond_8
invoke-virtual {p0, v11}, Lcom/mbridge/msdk/splash/view/MBSplashView;->setImageReady(Z)V
move v10, v11
goto :goto_7
:cond_9
:goto_6
move v10, v12
:cond_a
:goto_7
return v10
.end method
.method private static b(Ljava/lang/String;)Ljava/lang/String;
.locals 3
const-string v0, ""
.line 255
:try_start_0
new-instance v1, Ljava/io/File;
invoke-direct {v1, p0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
.line 256
invoke-virtual {v1}, Ljava/io/File;->exists()Z
move-result p0
if-eqz p0, :cond_0
.line 257
new-instance p0, Ljava/lang/StringBuilder;
invoke-direct {p0}, Ljava/lang/StringBuilder;-><init>()V
const-string v2, "file:///"
invoke-virtual {p0, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v1}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v1
invoke-virtual {p0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p0
.line 263
:try_start_1
throw p0
:try_end_1
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
:catch_0
move-exception p0
.line 265
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
:cond_0
:goto_0
return-object v0
.end method