Files
rr3-apk/smali/androidx/appcompat/app/AppCompatDialogFragment.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

115 lines
2.6 KiB
Smali

.class public Landroidx/appcompat/app/AppCompatDialogFragment;
.super Landroidx/fragment/app/DialogFragment;
.source "SourceFile"
# direct methods
.method public constructor <init>()V
.locals 0
.line 43
invoke-direct {p0}, Landroidx/fragment/app/DialogFragment;-><init>()V
return-void
.end method
.method public constructor <init>(I)V
.locals 0
.param p1 # I
.annotation build Landroidx/annotation/LayoutRes;
.end annotation
.end param
.line 48
invoke-direct {p0, p1}, Landroidx/fragment/app/DialogFragment;-><init>(I)V
return-void
.end method
# virtual methods
.method public onCreateDialog(Landroid/os/Bundle;)Landroid/app/Dialog;
.locals 2
.param p1 # Landroid/os/Bundle;
.annotation build Landroidx/annotation/Nullable;
.end annotation
.end param
.annotation build Landroidx/annotation/NonNull;
.end annotation
.line 54
new-instance p1, Landroidx/appcompat/app/AppCompatDialog;
invoke-virtual {p0}, Landroidx/fragment/app/Fragment;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {p0}, Landroidx/fragment/app/DialogFragment;->getTheme()I
move-result v1
invoke-direct {p1, v0, v1}, Landroidx/appcompat/app/AppCompatDialog;-><init>(Landroid/content/Context;I)V
return-object p1
.end method
.method public setupDialog(Landroid/app/Dialog;I)V
.locals 3
.param p1 # Landroid/app/Dialog;
.annotation build Landroidx/annotation/NonNull;
.end annotation
.end param
.annotation build Landroidx/annotation/RestrictTo;
value = {
.enum Landroidx/annotation/RestrictTo$Scope;->LIBRARY_GROUP_PREFIX:Landroidx/annotation/RestrictTo$Scope;
}
.end annotation
.line 60
instance-of v0, p1, Landroidx/appcompat/app/AppCompatDialog;
if-eqz v0, :cond_2
.line 62
move-object v0, p1
check-cast v0, Landroidx/appcompat/app/AppCompatDialog;
const/4 v1, 0x1
if-eq p2, v1, :cond_1
const/4 v2, 0x2
if-eq p2, v2, :cond_1
const/4 v2, 0x3
if-eq p2, v2, :cond_0
goto :goto_0
.line 65
:cond_0
invoke-virtual {p1}, Landroid/app/Dialog;->getWindow()Landroid/view/Window;
move-result-object p1
const/16 p2, 0x18
invoke-virtual {p1, p2}, Landroid/view/Window;->addFlags(I)V
.line 71
:cond_1
invoke-virtual {v0, v1}, Landroidx/appcompat/app/AppCompatDialog;->supportRequestWindowFeature(I)Z
goto :goto_0
.line 75
:cond_2
invoke-super {p0, p1, p2}, Landroidx/fragment/app/DialogFragment;->setupDialog(Landroid/app/Dialog;I)V
:goto_0
return-void
.end method