Files
rr3-apk/smali_classes4/com/mbridge/msdk/foundation/same/b/e.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

422 lines
9.9 KiB
Smali

.class public final Lcom/mbridge/msdk/foundation/same/b/e;
.super Ljava/lang/Object;
.source "SourceFile"
# annotations
.annotation system Ldalvik/annotation/MemberClasses;
value = {
Lcom/mbridge/msdk/foundation/same/b/e$a;
}
.end annotation
# static fields
.field private static volatile a:Lcom/mbridge/msdk/foundation/same/b/e;
# instance fields
.field private final b:Lcom/mbridge/msdk/foundation/same/b/b;
.field private final c:Ljava/util/ArrayList;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayList<",
"Lcom/mbridge/msdk/foundation/same/b/e$a;",
">;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method private constructor <init>(Lcom/mbridge/msdk/foundation/same/b/b;)V
.locals 0
.line 17
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/foundation/same/b/e;->b:Lcom/mbridge/msdk/foundation/same/b/b;
.line 19
new-instance p1, Ljava/util/ArrayList;
invoke-direct {p1}, Ljava/util/ArrayList;-><init>()V
iput-object p1, p0, Lcom/mbridge/msdk/foundation/same/b/e;->c:Ljava/util/ArrayList;
return-void
.end method
.method public static declared-synchronized a()Lcom/mbridge/msdk/foundation/same/b/e;
.locals 2
const-class v0, Lcom/mbridge/msdk/foundation/same/b/e;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/mbridge/msdk/foundation/same/b/e;->a:Lcom/mbridge/msdk/foundation/same/b/e;
if-nez v1, :cond_0
.line 46
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
if-eqz v1, :cond_0
.line 47
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
invoke-static {v1}, Lcom/mbridge/msdk/foundation/tools/ai;->a(Landroid/content/Context;)V
goto :goto_0
:catchall_0
move-exception v1
goto :goto_1
:cond_0
:goto_0
sget-object v1, Lcom/mbridge/msdk/foundation/same/b/e;->a:Lcom/mbridge/msdk/foundation/same/b/e;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.line 49
monitor-exit v0
return-object v1
:goto_1
monitor-exit v0
throw v1
.end method
.method public static a(Lcom/mbridge/msdk/foundation/same/b/c;)Ljava/lang/String;
.locals 0
.line 23
invoke-static {p0}, Lcom/mbridge/msdk/foundation/same/b/e;->b(Lcom/mbridge/msdk/foundation/same/b/c;)Ljava/io/File;
move-result-object p0
if-eqz p0, :cond_0
.line 25
invoke-virtual {p0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object p0
return-object p0
:cond_0
const/4 p0, 0x0
return-object p0
.end method
.method public static declared-synchronized a(Lcom/mbridge/msdk/foundation/same/b/b;)V
.locals 2
const-class v0, Lcom/mbridge/msdk/foundation/same/b/e;
monitor-enter v0
:try_start_0
sget-object v1, Lcom/mbridge/msdk/foundation/same/b/e;->a:Lcom/mbridge/msdk/foundation/same/b/e;
if-nez v1, :cond_0
.line 54
new-instance v1, Lcom/mbridge/msdk/foundation/same/b/e;
invoke-direct {v1, p0}, Lcom/mbridge/msdk/foundation/same/b/e;-><init>(Lcom/mbridge/msdk/foundation/same/b/b;)V
sput-object v1, Lcom/mbridge/msdk/foundation/same/b/e;->a:Lcom/mbridge/msdk/foundation/same/b/e;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
goto :goto_0
:catchall_0
move-exception p0
goto :goto_1
.line 56
:cond_0
:goto_0
monitor-exit v0
return-void
:goto_1
monitor-exit v0
throw p0
.end method
.method private a(Lcom/mbridge/msdk/foundation/same/b/a;)Z
.locals 5
.line 66
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/same/b/a;->c()Lcom/mbridge/msdk/foundation/same/b/a;
move-result-object v0
const/4 v1, 0x0
if-nez v0, :cond_0
.line 68
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/same/b/a;->b()Ljava/lang/String;
move-result-object v0
goto :goto_0
.line 70
:cond_0
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/same/b/a;->d()Lcom/mbridge/msdk/foundation/same/b/c;
move-result-object v0
invoke-static {v0}, Lcom/mbridge/msdk/foundation/same/b/e;->b(Lcom/mbridge/msdk/foundation/same/b/c;)Ljava/io/File;
move-result-object v0
if-nez v0, :cond_1
return v1
.line 74
:cond_1
new-instance v2, Ljava/lang/StringBuilder;
invoke-direct {v2}, Ljava/lang/StringBuilder;-><init>()V
invoke-virtual {v0}, Ljava/io/File;->getAbsolutePath()Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
sget-object v0, Ljava/io/File;->separator:Ljava/lang/String;
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/same/b/a;->b()Ljava/lang/String;
move-result-object v0
invoke-virtual {v2, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
.line 77
:goto_0
new-instance v2, Ljava/io/File;
invoke-direct {v2, v0}, Ljava/io/File;-><init>(Ljava/lang/String;)V
.line 78
invoke-virtual {v2}, Ljava/io/File;->exists()Z
move-result v0
if-nez v0, :cond_2
.line 79
invoke-virtual {v2}, Ljava/io/File;->mkdirs()Z
move-result v0
if-nez v0, :cond_2
return v1
:cond_2
iget-object v0, p0, Lcom/mbridge/msdk/foundation/same/b/e;->c:Ljava/util/ArrayList;
.line 86
new-instance v3, Lcom/mbridge/msdk/foundation/same/b/e$a;
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/same/b/a;->d()Lcom/mbridge/msdk/foundation/same/b/c;
move-result-object v4
invoke-direct {v3, v4, v2}, Lcom/mbridge/msdk/foundation/same/b/e$a;-><init>(Lcom/mbridge/msdk/foundation/same/b/c;Ljava/io/File;)V
invoke-virtual {v0, v3}, Ljava/util/ArrayList;->add(Ljava/lang/Object;)Z
.line 87
invoke-virtual {p1}, Lcom/mbridge/msdk/foundation/same/b/a;->a()Ljava/util/List;
move-result-object p1
if-eqz p1, :cond_4
.line 89
invoke-interface {p1}, Ljava/util/Collection;->iterator()Ljava/util/Iterator;
move-result-object p1
:cond_3
invoke-interface {p1}, Ljava/util/Iterator;->hasNext()Z
move-result v0
if-eqz v0, :cond_4
invoke-interface {p1}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v0
check-cast v0, Lcom/mbridge/msdk/foundation/same/b/a;
.line 90
invoke-direct {p0, v0}, Lcom/mbridge/msdk/foundation/same/b/e;->a(Lcom/mbridge/msdk/foundation/same/b/a;)Z
move-result v0
if-nez v0, :cond_3
return v1
:cond_4
const/4 p1, 0x1
return p1
.end method
.method public static b(Lcom/mbridge/msdk/foundation/same/b/c;)Ljava/io/File;
.locals 3
.line 32
:try_start_0
invoke-static {}, Lcom/mbridge/msdk/foundation/same/b/e;->a()Lcom/mbridge/msdk/foundation/same/b/e;
move-result-object v0
if-eqz v0, :cond_1
invoke-static {}, Lcom/mbridge/msdk/foundation/same/b/e;->a()Lcom/mbridge/msdk/foundation/same/b/e;
move-result-object v0
iget-object v0, v0, Lcom/mbridge/msdk/foundation/same/b/e;->c:Ljava/util/ArrayList;
if-eqz v0, :cond_1
invoke-static {}, Lcom/mbridge/msdk/foundation/same/b/e;->a()Lcom/mbridge/msdk/foundation/same/b/e;
move-result-object v0
iget-object v0, v0, Lcom/mbridge/msdk/foundation/same/b/e;->c:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->isEmpty()Z
move-result v0
if-nez v0, :cond_1
.line 33
invoke-static {}, Lcom/mbridge/msdk/foundation/same/b/e;->a()Lcom/mbridge/msdk/foundation/same/b/e;
move-result-object v0
iget-object v0, v0, Lcom/mbridge/msdk/foundation/same/b/e;->c:Ljava/util/ArrayList;
invoke-virtual {v0}, Ljava/util/ArrayList;->iterator()Ljava/util/Iterator;
move-result-object v0
:cond_0
invoke-interface {v0}, Ljava/util/Iterator;->hasNext()Z
move-result v1
if-eqz v1, :cond_1
invoke-interface {v0}, Ljava/util/Iterator;->next()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/mbridge/msdk/foundation/same/b/e$a;
.line 34
iget-object v2, v1, Lcom/mbridge/msdk/foundation/same/b/e$a;->b:Lcom/mbridge/msdk/foundation/same/b/c;
invoke-virtual {v2, p0}, Ljava/lang/Object;->equals(Ljava/lang/Object;)Z
move-result v2
if-eqz v2, :cond_0
.line 35
iget-object p0, v1, Lcom/mbridge/msdk/foundation/same/b/e$a;->a:Ljava/io/File;
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
return-object p0
:catchall_0
move-exception p0
const-string v0, "MBridgeDirManager"
.line 40
invoke-virtual {p0}, Ljava/lang/Throwable;->getMessage()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1, p0}, Lcom/mbridge/msdk/foundation/tools/af;->b(Ljava/lang/String;Ljava/lang/String;Ljava/lang/Throwable;)V
:cond_1
const/4 p0, 0x0
return-object p0
.end method
# virtual methods
.method public final b()Z
.locals 1
iget-object v0, p0, Lcom/mbridge/msdk/foundation/same/b/e;->b:Lcom/mbridge/msdk/foundation/same/b/b;
.line 59
invoke-virtual {v0}, Lcom/mbridge/msdk/foundation/same/b/b;->b()Lcom/mbridge/msdk/foundation/same/b/a;
move-result-object v0
.line 60
invoke-direct {p0, v0}, Lcom/mbridge/msdk/foundation/same/b/e;->a(Lcom/mbridge/msdk/foundation/same/b/a;)Z
move-result v0
return v0
.end method