- 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
1177 lines
27 KiB
Smali
1177 lines
27 KiB
Smali
.class public abstract Lcom/mbridge/msdk/foundation/controller/a;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/mbridge/msdk/foundation/controller/a$a;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field public static final a:Ljava/lang/String;
|
|
|
|
.field public static b:Ljava/util/HashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/HashMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# instance fields
|
|
.field protected c:Ljava/lang/String;
|
|
|
|
.field protected d:Landroid/content/Context;
|
|
|
|
.field protected e:Ljava/lang/String;
|
|
|
|
.field private final f:Lcom/mbridge/msdk/foundation/tools/h;
|
|
|
|
.field private g:Ljava/lang/ref/WeakReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/app/Activity;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private h:Ljava/lang/String;
|
|
|
|
.field private i:I
|
|
|
|
.field private j:Lorg/json/JSONObject;
|
|
|
|
.field private k:Z
|
|
|
|
.field private l:Ljava/lang/String;
|
|
|
|
.field private m:Ljava/lang/String;
|
|
|
|
.field private n:I
|
|
|
|
.field private o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/util/concurrent/ConcurrentHashMap<",
|
|
"Ljava/lang/String;",
|
|
"Ljava/lang/String;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private p:Ljava/lang/ref/WeakReference;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/content/Context;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field private q:Lorg/json/JSONObject;
|
|
|
|
.field private r:I
|
|
|
|
.field private s:Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 1
|
|
|
|
const-class v0, Lcom/mbridge/msdk/foundation/controller/c;
|
|
|
|
.line 28
|
|
invoke-virtual {v0}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
sput-object v0, Lcom/mbridge/msdk/foundation/controller/a;->a:Ljava/lang/String;
|
|
|
|
.line 29
|
|
new-instance v0, Ljava/util/HashMap;
|
|
|
|
invoke-direct {v0}, Ljava/util/HashMap;-><init>()V
|
|
|
|
sput-object v0, Lcom/mbridge/msdk/foundation/controller/a;->b:Ljava/util/HashMap;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>()V
|
|
.locals 2
|
|
|
|
.line 49
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 30
|
|
new-instance v0, Lcom/mbridge/msdk/foundation/tools/h;
|
|
|
|
invoke-direct {v0}, Lcom/mbridge/msdk/foundation/tools/h;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->f:Lcom/mbridge/msdk/foundation/tools/h;
|
|
|
|
.line 37
|
|
new-instance v0, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v0}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
const/4 v0, 0x0
|
|
|
|
iput-boolean v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->k:Z
|
|
|
|
.line 43
|
|
new-instance v1, Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-direct {v1}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
iput-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
iput v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->r:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final a(Ljava/lang/String;I)Landroid/graphics/drawable/BitmapDrawable;
|
|
.locals 9
|
|
|
|
.line 168
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_5
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_5
|
|
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/tools/ah;->a()Lcom/mbridge/msdk/foundation/tools/ah;
|
|
|
|
move-result-object v0
|
|
|
|
const-string v1, "w_m_r_l"
|
|
|
|
const/4 v2, 0x1
|
|
|
|
invoke-virtual {v0, v1, v2}, Lcom/mbridge/msdk/foundation/tools/ah;->a(Ljava/lang/String;Z)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_4
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
.line 171
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->get(Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
move-object v8, v0
|
|
|
|
check-cast v8, Ljava/lang/String;
|
|
|
|
.line 172
|
|
invoke-static {v8}, Lcom/mbridge/msdk/foundation/tools/ak;->n(Ljava/lang/String;)Landroid/graphics/drawable/BitmapDrawable;
|
|
|
|
move-result-object v0
|
|
|
|
.line 173
|
|
invoke-static {v8}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
const/4 v3, 0x2
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
move v5, v3
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
move v5, v2
|
|
|
|
:goto_0
|
|
invoke-static {v8}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
const-string v1, "get watermark failed"
|
|
|
|
:goto_1
|
|
move-object v6, v1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
if-eqz v0, :cond_3
|
|
|
|
const-string v1, ""
|
|
|
|
goto :goto_1
|
|
|
|
:cond_3
|
|
const-string v1, "str to bitmap failed"
|
|
|
|
goto :goto_1
|
|
|
|
:goto_2
|
|
if-nez v0, :cond_4
|
|
|
|
move v7, v3
|
|
|
|
goto :goto_3
|
|
|
|
:cond_4
|
|
move v7, v2
|
|
|
|
:goto_3
|
|
move-object v3, p1
|
|
|
|
move v4, p2
|
|
|
|
invoke-static/range {v3 .. v8}, Lcom/mbridge/msdk/foundation/same/report/i;->a(Ljava/lang/String;IILjava/lang/String;ILjava/lang/String;)V
|
|
|
|
return-object v0
|
|
|
|
:cond_5
|
|
:goto_4
|
|
const/4 p1, 0x0
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final a()Ljava/lang/ref/WeakReference;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/app/Activity;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->g:Ljava/lang/ref/WeakReference;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final a(I)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
iput p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->i:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Landroid/content/Context;)V
|
|
.locals 1
|
|
|
|
.line 103
|
|
instance-of v0, p1, Landroid/app/Activity;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 104
|
|
new-instance v0, Ljava/lang/ref/WeakReference;
|
|
|
|
invoke-direct {v0, p1}, Ljava/lang/ref/WeakReference;-><init>(Ljava/lang/Object;)V
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->p:Ljava/lang/ref/WeakReference;
|
|
|
|
:cond_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public abstract a(Lcom/mbridge/msdk/foundation/controller/a$a;)V
|
|
.end method
|
|
|
|
.method public final a(Lcom/mbridge/msdk/foundation/controller/a$a;Landroid/os/Handler;)V
|
|
.locals 5
|
|
|
|
iget-boolean v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->k:Z
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
const/4 v0, 0x0
|
|
|
|
.line 1212
|
|
:try_start_0
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/b;->a()Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 1213
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;->j()Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "authority_device_id"
|
|
|
|
invoke-virtual {v1, v2}, Lcom/mbridge/msdk/foundation/controller/authoritycontroller/c;->c(Ljava/lang/String;)Z
|
|
|
|
move-result v1
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
const-string v2, "ga_id"
|
|
|
|
const-string v3, ""
|
|
|
|
.line 1214
|
|
invoke-static {v1, v2, v3}, Lcom/mbridge/msdk/foundation/tools/an;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
iget-object v2, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
const-string v3, "ga_id_limit"
|
|
|
|
.line 1215
|
|
invoke-static {v0}, Ljava/lang/Integer;->valueOf(I)Ljava/lang/Integer;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v2, v3, v4}, Lcom/mbridge/msdk/foundation/tools/an;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
.line 1216
|
|
instance-of v3, v1, Ljava/lang/String;
|
|
|
|
if-eqz v3, :cond_2
|
|
|
|
.line 1217
|
|
check-cast v1, Ljava/lang/String;
|
|
|
|
.line 1219
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v3
|
|
|
|
if-nez v3, :cond_1
|
|
|
|
.line 1220
|
|
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/f;->a(Ljava/lang/String;)V
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
goto :goto_1
|
|
|
|
.line 1222
|
|
:cond_1
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/tools/f;->c()Ljava/lang/String;
|
|
|
|
.line 1225
|
|
:goto_0
|
|
instance-of v1, v2, Ljava/lang/Integer;
|
|
|
|
if-eqz v1, :cond_2
|
|
|
|
.line 1226
|
|
check-cast v2, Ljava/lang/Integer;
|
|
|
|
invoke-virtual {v2}, Ljava/lang/Integer;->intValue()I
|
|
|
|
move-result v1
|
|
|
|
.line 1227
|
|
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/f;->a(I)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
:goto_1
|
|
sget-object v2, Lcom/mbridge/msdk/foundation/controller/a;->a:Ljava/lang/String;
|
|
|
|
.line 1233
|
|
invoke-virtual {v1}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-static {v2, v1}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 201
|
|
:cond_2
|
|
:goto_2
|
|
:try_start_1
|
|
new-instance v1, Lorg/json/JSONObject;
|
|
|
|
invoke-direct {v1}, Lorg/json/JSONObject;-><init>()V
|
|
|
|
iput-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->q:Lorg/json/JSONObject;
|
|
|
|
const-string v2, "webgl"
|
|
|
|
.line 202
|
|
invoke-virtual {v1, v2, v0}, Lorg/json/JSONObject;->put(Ljava/lang/String;I)Lorg/json/JSONObject;
|
|
:try_end_1
|
|
.catch Lorg/json/JSONException; {:try_start_1 .. :try_end_1} :catch_1
|
|
|
|
goto :goto_3
|
|
|
|
:catch_1
|
|
move-exception v0
|
|
|
|
sget-object v1, Lcom/mbridge/msdk/foundation/controller/a;->a:Ljava/lang/String;
|
|
|
|
.line 204
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v1, v0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;)V
|
|
|
|
.line 1238
|
|
:goto_3
|
|
new-instance v0, Ljava/lang/Thread;
|
|
|
|
new-instance v1, Lcom/mbridge/msdk/foundation/controller/a$1;
|
|
|
|
invoke-direct {v1, p0, p1, p2}, Lcom/mbridge/msdk/foundation/controller/a$1;-><init>(Lcom/mbridge/msdk/foundation/controller/a;Lcom/mbridge/msdk/foundation/controller/a$a;Landroid/os/Handler;)V
|
|
|
|
invoke-direct {v0, v1}, Ljava/lang/Thread;-><init>(Ljava/lang/Runnable;)V
|
|
|
|
.line 1274
|
|
invoke-virtual {v0}, Ljava/lang/Thread;->start()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
.line 156
|
|
:try_start_0
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->m:Ljava/lang/String;
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "sp_wx_appKey"
|
|
|
|
.line 159
|
|
invoke-static {v0, v1, p1}, Lcom/mbridge/msdk/foundation/tools/an;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 163
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/String;Lorg/json/JSONObject;)V
|
|
.locals 5
|
|
|
|
const-string v0, "watermark"
|
|
|
|
.line 346
|
|
invoke-static {}, Lcom/mbridge/msdk/foundation/tools/ah;->a()Lcom/mbridge/msdk/foundation/tools/ah;
|
|
|
|
move-result-object v1
|
|
|
|
const-string v2, "w_m_r_l"
|
|
|
|
const/4 v3, 0x1
|
|
|
|
invoke-virtual {v1, v2, v3}, Lcom/mbridge/msdk/foundation/tools/ah;->a(Ljava/lang/String;Z)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
iput-object p2, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
goto :goto_1
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_2
|
|
|
|
:cond_1
|
|
if-eqz p2, :cond_2
|
|
|
|
.line 353
|
|
invoke-virtual {p2}, Lorg/json/JSONObject;->keys()Ljava/util/Iterator;
|
|
|
|
move-result-object v1
|
|
|
|
:goto_0
|
|
invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z
|
|
|
|
move-result v2
|
|
|
|
if-eqz v2, :cond_2
|
|
|
|
.line 354
|
|
invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
|
|
|
|
move-result-object v2
|
|
|
|
check-cast v2, Ljava/lang/String;
|
|
|
|
iget-object v3, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
.line 355
|
|
invoke-virtual {p2, v2}, Lorg/json/JSONObject;->get(Ljava/lang/String;)Ljava/lang/Object;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-virtual {v3, v2, v4}, Lorg/json/JSONObject;->put(Ljava/lang/String;Ljava/lang/Object;)Lorg/json/JSONObject;
|
|
|
|
goto :goto_0
|
|
|
|
:cond_2
|
|
:goto_1
|
|
iget-object p2, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
.line 358
|
|
invoke-virtual {p2, v0}, Lorg/json/JSONObject;->has(Ljava/lang/String;)Z
|
|
|
|
move-result p2
|
|
|
|
if-eqz p2, :cond_4
|
|
|
|
iget-object p2, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
if-nez p2, :cond_3
|
|
|
|
.line 360
|
|
new-instance p2, Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-direct {p2}, Ljava/util/concurrent/ConcurrentHashMap;-><init>()V
|
|
|
|
iput-object p2, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
:cond_3
|
|
iget-object p2, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->j:Lorg/json/JSONObject;
|
|
|
|
.line 362
|
|
invoke-virtual {v1, v0}, Lorg/json/JSONObject;->getString(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {p2, p1, v0}, Ljava/util/concurrent/ConcurrentHashMap;->put(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_3
|
|
|
|
.line 365
|
|
:goto_2
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_4
|
|
:goto_3
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Ljava/lang/ref/WeakReference;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Ljava/lang/ref/WeakReference<",
|
|
"Landroid/app/Activity;",
|
|
">;)V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->g:Ljava/lang/ref/WeakReference;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final a(Lorg/json/JSONObject;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->q:Lorg/json/JSONObject;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->l:Ljava/lang/String;
|
|
|
|
.line 81
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->l:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v1, "sp_appKey"
|
|
|
|
const-string v2, ""
|
|
|
|
.line 85
|
|
invoke-static {v0, v1, v2}, Lcom/mbridge/msdk/foundation/tools/an;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final b(I)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
iput p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->n:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Landroid/content/Context;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final b(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 325
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->containsKey(Ljava/lang/Object;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->o:Ljava/util/concurrent/ConcurrentHashMap;
|
|
|
|
.line 328
|
|
invoke-virtual {v0, p1}, Ljava/util/concurrent/ConcurrentHashMap;->remove(Ljava/lang/Object;)Ljava/lang/Object;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_2
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
goto :goto_1
|
|
|
|
:cond_1
|
|
:goto_0
|
|
return-void
|
|
|
|
.line 330
|
|
:goto_1
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:goto_2
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final c(I)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
iput p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->r:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final c(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->h:Ljava/lang/String;
|
|
|
|
.line 337
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "applicationIds"
|
|
|
|
.line 338
|
|
invoke-static {v0, v1, p1}, Lcom/mbridge/msdk/foundation/tools/an;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 341
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final d()Lcom/mbridge/msdk/foundation/tools/h;
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->f:Lcom/mbridge/msdk/foundation/tools/h;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final d(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->c:Ljava/lang/String;
|
|
|
|
.line 373
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "sp_appId"
|
|
|
|
.line 374
|
|
invoke-static {v0, v1, p1}, Lcom/mbridge/msdk/foundation/tools/an;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 377
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final e()Landroid/content/Context;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->p:Ljava/lang/ref/WeakReference;
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
const/4 v0, 0x0
|
|
|
|
goto :goto_0
|
|
|
|
.line 99
|
|
:cond_0
|
|
invoke-virtual {v0}, Ljava/lang/ref/Reference;->get()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Landroid/content/Context;
|
|
|
|
:goto_0
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final e(Ljava/lang/String;)V
|
|
.locals 2
|
|
|
|
:try_start_0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->l:Ljava/lang/String;
|
|
|
|
.line 384
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
const-string v1, "sp_appKey"
|
|
|
|
.line 385
|
|
invoke-static {v0, v1, p1}, Lcom/mbridge/msdk/foundation/tools/an;->b(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)V
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
goto :goto_0
|
|
|
|
:catch_0
|
|
move-exception p1
|
|
|
|
.line 388
|
|
invoke-virtual {p1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_0
|
|
:goto_0
|
|
return-void
|
|
.end method
|
|
|
|
.method public final f()I
|
|
.locals 1
|
|
|
|
.line 0
|
|
iget v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->i:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final f(Ljava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 397
|
|
invoke-static {p1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
return-void
|
|
|
|
:cond_0
|
|
iput-object p1, p0, Lcom/mbridge/msdk/foundation/controller/a;->e:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public final g()Ljava/lang/String;
|
|
.locals 1
|
|
|
|
:try_start_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->e:Ljava/lang/String;
|
|
|
|
.line 123
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->e:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 127
|
|
invoke-virtual {v0}, Landroid/content/Context;->getPackageName()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->e:Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
.line 131
|
|
:goto_0
|
|
invoke-virtual {v0}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final h()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->m:Ljava/lang/String;
|
|
|
|
.line 145
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->m:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:cond_0
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
const-string v1, "sp_wx_appKey"
|
|
|
|
const-string v2, ""
|
|
|
|
.line 149
|
|
invoke-static {v0, v1, v2}, Lcom/mbridge/msdk/foundation/tools/an;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:cond_1
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final i()Lorg/json/JSONObject;
|
|
.locals 1
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->q:Lorg/json/JSONObject;
|
|
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final j()I
|
|
.locals 1
|
|
|
|
iget v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->r:I
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public final k()Ljava/lang/String;
|
|
.locals 3
|
|
|
|
const-string v0, ""
|
|
|
|
:try_start_0
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->c:Ljava/lang/String;
|
|
|
|
.line 279
|
|
invoke-static {v1}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v1
|
|
|
|
if-nez v1, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->c:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
move-exception v1
|
|
|
|
goto :goto_0
|
|
|
|
:cond_0
|
|
iget-object v1, p0, Lcom/mbridge/msdk/foundation/controller/a;->d:Landroid/content/Context;
|
|
|
|
if-eqz v1, :cond_1
|
|
|
|
const-string v2, "sp_appId"
|
|
|
|
.line 283
|
|
invoke-static {v1, v2, v0}, Lcom/mbridge/msdk/foundation/tools/an;->a(Landroid/content/Context;Ljava/lang/String;Ljava/lang/Object;)Ljava/lang/Object;
|
|
|
|
move-result-object v1
|
|
|
|
check-cast v1, Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v1
|
|
|
|
.line 286
|
|
:goto_0
|
|
invoke-virtual {v1}, Ljava/lang/Throwable;->printStackTrace()V
|
|
|
|
:cond_1
|
|
return-object v0
|
|
.end method
|
|
|
|
.method public final l()Ljava/lang/String;
|
|
.locals 2
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->s:Ljava/lang/String;
|
|
|
|
.line 408
|
|
invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
|
|
|
|
move-result v0
|
|
|
|
if-nez v0, :cond_0
|
|
|
|
iget-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->s:Ljava/lang/String;
|
|
|
|
return-object v0
|
|
|
|
.line 412
|
|
:cond_0
|
|
:try_start_0
|
|
new-instance v0, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
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}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
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;->b()Ljava/lang/String;
|
|
|
|
move-result-object v1
|
|
|
|
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-static {v0}, Lcom/mbridge/msdk/foundation/tools/SameMD5;->getMD5(Ljava/lang/String;)Ljava/lang/String;
|
|
|
|
move-result-object v0
|
|
|
|
iput-object v0, p0, Lcom/mbridge/msdk/foundation/controller/a;->s:Ljava/lang/String;
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
|
|
return-object v0
|
|
|
|
:catch_0
|
|
const-string v0, ""
|
|
|
|
return-object v0
|
|
.end method
|