- 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
179 lines
5.0 KiB
Smali
179 lines
5.0 KiB
Smali
.class public final Landroidx/lifecycle/ReportFragment$Companion;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Landroidx/lifecycle/ReportFragment;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x19
|
|
name = "Companion"
|
|
.end annotation
|
|
|
|
|
|
# direct methods
|
|
.method private constructor <init>()V
|
|
.locals 0
|
|
|
|
.line 161
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 0
|
|
|
|
.line 0
|
|
invoke-direct {p0}, Landroidx/lifecycle/ReportFragment$Companion;-><init>()V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static synthetic get$annotations(Landroid/app/Activity;)V
|
|
.locals 0
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public final dispatch$lifecycle_runtime_release(Landroid/app/Activity;Landroidx/lifecycle/Lifecycle$Event;)V
|
|
.locals 1
|
|
|
|
const-string v0, "activity"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "event"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 185
|
|
instance-of v0, p1, Landroidx/lifecycle/LifecycleRegistryOwner;
|
|
|
|
if-eqz v0, :cond_0
|
|
|
|
.line 186
|
|
check-cast p1, Landroidx/lifecycle/LifecycleRegistryOwner;
|
|
|
|
invoke-interface {p1}, Landroidx/lifecycle/LifecycleRegistryOwner;->getLifecycle()Landroidx/lifecycle/LifecycleRegistry;
|
|
|
|
move-result-object p1
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
|
|
|
return-void
|
|
|
|
.line 189
|
|
:cond_0
|
|
instance-of v0, p1, Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 190
|
|
check-cast p1, Landroidx/lifecycle/LifecycleOwner;
|
|
|
|
invoke-interface {p1}, Landroidx/lifecycle/LifecycleOwner;->getLifecycle()Landroidx/lifecycle/Lifecycle;
|
|
|
|
move-result-object p1
|
|
|
|
.line 191
|
|
instance-of v0, p1, Landroidx/lifecycle/LifecycleRegistry;
|
|
|
|
if-eqz v0, :cond_1
|
|
|
|
.line 192
|
|
check-cast p1, Landroidx/lifecycle/LifecycleRegistry;
|
|
|
|
invoke-virtual {p1, p2}, Landroidx/lifecycle/LifecycleRegistry;->handleLifecycleEvent(Landroidx/lifecycle/Lifecycle$Event;)V
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|
|
|
|
.method public final get(Landroid/app/Activity;)Landroidx/lifecycle/ReportFragment;
|
|
.locals 1
|
|
|
|
const-string v0, "<this>"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
.line 201
|
|
invoke-virtual {p1}, Landroid/app/Activity;->getFragmentManager()Landroid/app/FragmentManager;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "androidx.lifecycle.LifecycleDispatcher.report_fragment_tag"
|
|
|
|
invoke-virtual {p1, v0}, Landroid/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroid/app/Fragment;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "null cannot be cast to non-null type androidx.lifecycle.ReportFragment"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNull(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
check-cast p1, Landroidx/lifecycle/ReportFragment;
|
|
|
|
return-object p1
|
|
.end method
|
|
|
|
.method public final injectIfNeededIn(Landroid/app/Activity;)V
|
|
.locals 3
|
|
|
|
const-string v0, "activity"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
sget v0, Landroid/os/Build$VERSION;->SDK_INT:I
|
|
|
|
const/16 v1, 0x1d
|
|
|
|
if-lt v0, v1, :cond_0
|
|
|
|
.line 169
|
|
sget-object v0, Landroidx/lifecycle/ReportFragment$LifecycleCallbacks;->Companion:Landroidx/lifecycle/ReportFragment$LifecycleCallbacks$Companion;
|
|
|
|
invoke-virtual {v0, p1}, Landroidx/lifecycle/ReportFragment$LifecycleCallbacks$Companion;->registerIn(Landroid/app/Activity;)V
|
|
|
|
.line 175
|
|
:cond_0
|
|
invoke-virtual {p1}, Landroid/app/Activity;->getFragmentManager()Landroid/app/FragmentManager;
|
|
|
|
move-result-object p1
|
|
|
|
const-string v0, "androidx.lifecycle.LifecycleDispatcher.report_fragment_tag"
|
|
|
|
.line 176
|
|
invoke-virtual {p1, v0}, Landroid/app/FragmentManager;->findFragmentByTag(Ljava/lang/String;)Landroid/app/Fragment;
|
|
|
|
move-result-object v1
|
|
|
|
if-nez v1, :cond_1
|
|
|
|
.line 177
|
|
invoke-virtual {p1}, Landroid/app/FragmentManager;->beginTransaction()Landroid/app/FragmentTransaction;
|
|
|
|
move-result-object v1
|
|
|
|
new-instance v2, Landroidx/lifecycle/ReportFragment;
|
|
|
|
invoke-direct {v2}, Landroidx/lifecycle/ReportFragment;-><init>()V
|
|
|
|
invoke-virtual {v1, v2, v0}, Landroid/app/FragmentTransaction;->add(Landroid/app/Fragment;Ljava/lang/String;)Landroid/app/FragmentTransaction;
|
|
|
|
move-result-object v0
|
|
|
|
invoke-virtual {v0}, Landroid/app/FragmentTransaction;->commit()I
|
|
|
|
.line 179
|
|
invoke-virtual {p1}, Landroid/app/FragmentManager;->executePendingTransactions()Z
|
|
|
|
:cond_1
|
|
return-void
|
|
.end method
|