Files
rr3-apk/smali_classes4/com/mbridge/msdk/dycreator/e/f.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

214 lines
4.3 KiB
Smali

.class public Lcom/mbridge/msdk/dycreator/e/f;
.super Ljava/lang/Object;
.source "SourceFile"
# static fields
.field private static volatile a:Lcom/mbridge/msdk/dycreator/e/f;
# instance fields
.field private b:Lcom/mbridge/msdk/dycreator/a/b;
# direct methods
.method static constructor <clinit>()V
.locals 0
return-void
.end method
.method private constructor <init>(Landroid/content/Context;)V
.locals 2
.line 34
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/mbridge/msdk/dycreator/e/f;->b:Lcom/mbridge/msdk/dycreator/a/b;
.line 35
invoke-static {}, Lcom/mbridge/msdk/dycreator/a/b;->a()Lcom/mbridge/msdk/dycreator/a/b;
move-result-object v0
iput-object v0, p0, Lcom/mbridge/msdk/dycreator/e/f;->b:Lcom/mbridge/msdk/dycreator/a/b;
const-string v1, ""
.line 36
invoke-virtual {v0, p1, v1}, Lcom/mbridge/msdk/dycreator/a/b;->a(Landroid/content/Context;Ljava/lang/String;)V
return-void
.end method
.method public static a(Landroid/content/Context;)Lcom/mbridge/msdk/dycreator/e/f;
.locals 2
sget-object v0, Lcom/mbridge/msdk/dycreator/e/f;->a:Lcom/mbridge/msdk/dycreator/e/f;
if-nez v0, :cond_1
const-class v0, Lcom/mbridge/msdk/dycreator/e/f;
.line 25
monitor-enter v0
:try_start_0
sget-object v1, Lcom/mbridge/msdk/dycreator/e/f;->a:Lcom/mbridge/msdk/dycreator/e/f;
if-nez v1, :cond_0
.line 27
new-instance v1, Lcom/mbridge/msdk/dycreator/e/f;
invoke-virtual {p0}, Landroid/content/Context;->getApplicationContext()Landroid/content/Context;
move-result-object p0
invoke-direct {v1, p0}, Lcom/mbridge/msdk/dycreator/e/f;-><init>(Landroid/content/Context;)V
sput-object v1, Lcom/mbridge/msdk/dycreator/e/f;->a:Lcom/mbridge/msdk/dycreator/e/f;
goto :goto_0
:catchall_0
move-exception p0
goto :goto_1
.line 29
:cond_0
:goto_0
monitor-exit v0
goto :goto_2
:goto_1
monitor-exit v0
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
throw p0
:cond_1
:goto_2
sget-object p0, Lcom/mbridge/msdk/dycreator/e/f;->a:Lcom/mbridge/msdk/dycreator/e/f;
return-object p0
.end method
# virtual methods
.method public final a(Landroid/view/ViewGroup;Ljava/lang/String;)Landroid/view/View;
.locals 6
const/4 v0, 0x0
if-eqz p1, :cond_4
.line 65
invoke-static {p2}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z
move-result v1
if-eqz v1, :cond_0
goto :goto_1
.line 66
:cond_0
invoke-virtual {p1}, Landroid/view/View;->getId()I
move-result v1
invoke-virtual {p2}, Ljava/lang/String;->hashCode()I
move-result v2
if-ne v1, v2, :cond_1
return-object p1
.line 67
:cond_1
invoke-virtual {p1}, Landroid/view/ViewGroup;->getChildCount()I
move-result v1
const/4 v2, 0x0
:goto_0
if-ge v2, v1, :cond_4
.line 69
invoke-virtual {p1, v2}, Landroid/view/ViewGroup;->getChildAt(I)Landroid/view/View;
move-result-object v3
.line 70
invoke-virtual {v3}, Landroid/view/View;->getId()I
move-result v4
invoke-virtual {p2}, Ljava/lang/String;->hashCode()I
move-result v5
if-ne v4, v5, :cond_2
return-object v3
.line 71
:cond_2
instance-of v4, v3, Landroid/view/ViewGroup;
if-eqz v4, :cond_3
.line 72
check-cast v3, Landroid/view/ViewGroup;
invoke-virtual {p0, v3, p2}, Lcom/mbridge/msdk/dycreator/e/f;->a(Landroid/view/ViewGroup;Ljava/lang/String;)Landroid/view/View;
:cond_3
add-int/lit8 v2, v2, 0x1
goto :goto_0
:cond_4
:goto_1
return-object v0
.end method
.method public final a(Ljava/lang/String;)Landroid/view/View;
.locals 1
.line 41
new-instance v0, Ljava/io/File;
invoke-direct {v0, p1}, Ljava/io/File;-><init>(Ljava/lang/String;)V
.line 42
invoke-virtual {v0}, Ljava/io/File;->exists()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/mbridge/msdk/dycreator/e/f;->b:Lcom/mbridge/msdk/dycreator/a/b;
.line 43
invoke-virtual {v0, p1}, Lcom/mbridge/msdk/dycreator/a/b;->f(Ljava/lang/String;)Landroid/view/View;
move-result-object p1
goto :goto_0
:cond_0
const/4 p1, 0x0
:goto_0
return-object p1
.end method