- 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
194 lines
5.1 KiB
Smali
194 lines
5.1 KiB
Smali
.class public final Lkotlin/io/FileTreeWalk;
|
|
.super Ljava/lang/Object;
|
|
.source "SourceFile"
|
|
|
|
# interfaces
|
|
.implements Lkotlin/sequences/Sequence;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lkotlin/io/FileTreeWalk$DirectoryState;,
|
|
Lkotlin/io/FileTreeWalk$FileTreeWalkIterator;,
|
|
Lkotlin/io/FileTreeWalk$WalkState;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field public final direction:Lkotlin/io/FileWalkDirection;
|
|
|
|
.field public final maxDepth:I
|
|
|
|
.field public final onEnter:Lkotlin/jvm/functions/Function1;
|
|
|
|
.field public final onFail:Lkotlin/jvm/functions/Function2;
|
|
|
|
.field public final onLeave:Lkotlin/jvm/functions/Function1;
|
|
|
|
.field public final start:Ljava/io/File;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Ljava/io/File;Lkotlin/io/FileWalkDirection;)V
|
|
.locals 10
|
|
|
|
const-string v0, "start"
|
|
|
|
invoke-static {p1, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const-string v0, "direction"
|
|
|
|
invoke-static {p2, v0}, Lkotlin/jvm/internal/Intrinsics;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
const/4 v6, 0x0
|
|
|
|
const/4 v7, 0x0
|
|
|
|
const/16 v8, 0x20
|
|
|
|
const/4 v9, 0x0
|
|
|
|
move-object v1, p0
|
|
|
|
move-object v2, p1
|
|
|
|
move-object v3, p2
|
|
|
|
.line 46
|
|
invoke-direct/range {v1 .. v9}, Lkotlin/io/FileTreeWalk;-><init>(Ljava/io/File;Lkotlin/io/FileWalkDirection;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public constructor <init>(Ljava/io/File;Lkotlin/io/FileWalkDirection;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;I)V
|
|
.locals 0
|
|
|
|
.line 37
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
iput-object p1, p0, Lkotlin/io/FileTreeWalk;->start:Ljava/io/File;
|
|
|
|
iput-object p2, p0, Lkotlin/io/FileTreeWalk;->direction:Lkotlin/io/FileWalkDirection;
|
|
|
|
iput-object p3, p0, Lkotlin/io/FileTreeWalk;->onEnter:Lkotlin/jvm/functions/Function1;
|
|
|
|
iput-object p4, p0, Lkotlin/io/FileTreeWalk;->onLeave:Lkotlin/jvm/functions/Function1;
|
|
|
|
iput-object p5, p0, Lkotlin/io/FileTreeWalk;->onFail:Lkotlin/jvm/functions/Function2;
|
|
|
|
iput p6, p0, Lkotlin/io/FileTreeWalk;->maxDepth:I
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public synthetic constructor <init>(Ljava/io/File;Lkotlin/io/FileWalkDirection;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;IILkotlin/jvm/internal/DefaultConstructorMarker;)V
|
|
.locals 7
|
|
|
|
and-int/lit8 p8, p7, 0x2
|
|
|
|
if-eqz p8, :cond_0
|
|
|
|
.line 39
|
|
sget-object p2, Lkotlin/io/FileWalkDirection;->TOP_DOWN:Lkotlin/io/FileWalkDirection;
|
|
|
|
:cond_0
|
|
move-object v2, p2
|
|
|
|
and-int/lit8 p2, p7, 0x20
|
|
|
|
if-eqz p2, :cond_1
|
|
|
|
const p6, 0x7fffffff
|
|
|
|
:cond_1
|
|
move v6, p6
|
|
|
|
move-object v0, p0
|
|
|
|
move-object v1, p1
|
|
|
|
move-object v3, p3
|
|
|
|
move-object v4, p4
|
|
|
|
move-object v5, p5
|
|
|
|
.line 37
|
|
invoke-direct/range {v0 .. v6}, Lkotlin/io/FileTreeWalk;-><init>(Ljava/io/File;Lkotlin/io/FileWalkDirection;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function1;Lkotlin/jvm/functions/Function2;I)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public static final synthetic access$getDirection$p(Lkotlin/io/FileTreeWalk;)Lkotlin/io/FileWalkDirection;
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget-object p0, p0, Lkotlin/io/FileTreeWalk;->direction:Lkotlin/io/FileWalkDirection;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getMaxDepth$p(Lkotlin/io/FileTreeWalk;)I
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget p0, p0, Lkotlin/io/FileTreeWalk;->maxDepth:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getOnEnter$p(Lkotlin/io/FileTreeWalk;)Lkotlin/jvm/functions/Function1;
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget-object p0, p0, Lkotlin/io/FileTreeWalk;->onEnter:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getOnFail$p(Lkotlin/io/FileTreeWalk;)Lkotlin/jvm/functions/Function2;
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget-object p0, p0, Lkotlin/io/FileTreeWalk;->onFail:Lkotlin/jvm/functions/Function2;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getOnLeave$p(Lkotlin/io/FileTreeWalk;)Lkotlin/jvm/functions/Function1;
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget-object p0, p0, Lkotlin/io/FileTreeWalk;->onLeave:Lkotlin/jvm/functions/Function1;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static final synthetic access$getStart$p(Lkotlin/io/FileTreeWalk;)Ljava/io/File;
|
|
.locals 0
|
|
|
|
.line 37
|
|
iget-object p0, p0, Lkotlin/io/FileTreeWalk;->start:Ljava/io/File;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public iterator()Ljava/util/Iterator;
|
|
.locals 1
|
|
|
|
.line 50
|
|
new-instance v0, Lkotlin/io/FileTreeWalk$FileTreeWalkIterator;
|
|
|
|
invoke-direct {v0, p0}, Lkotlin/io/FileTreeWalk$FileTreeWalkIterator;-><init>(Lkotlin/io/FileTreeWalk;)V
|
|
|
|
return-object v0
|
|
.end method
|