apkfuckery/com.discord/smali_classes2/j0/m/a$b.smali

246 lines
4.9 KiB
Smali
Raw Normal View History

2020-07-25 00:57:58 +00:00
.class public final Lj0/m/a$b;
.super Lj0/i/b;
2020-05-17 12:40:10 +00:00
.source "FileTreeWalk.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-07-25 00:57:58 +00:00
value = Lj0/m/a;
2020-05-17 12:40:10 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "b"
.end annotation
.annotation system Ldalvik/annotation/MemberClasses;
value = {
2020-07-25 00:57:58 +00:00
Lj0/m/a$b$a;,
Lj0/m/a$b$c;,
Lj0/m/a$b$b;
2020-05-17 12:40:10 +00:00
}
.end annotation
.annotation system Ldalvik/annotation/Signature;
value = {
2020-07-25 00:57:58 +00:00
"Lj0/i/b<",
2020-05-17 12:40:10 +00:00
"Ljava/io/File;",
">;"
}
.end annotation
# instance fields
.field public final f:Ljava/util/ArrayDeque;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/ArrayDeque<",
2020-07-25 00:57:58 +00:00
"Lj0/m/a$c;",
2020-05-17 12:40:10 +00:00
">;"
}
.end annotation
.end field
2020-07-25 00:57:58 +00:00
.field public final synthetic g:Lj0/m/a;
2020-05-17 12:40:10 +00:00
# direct methods
2020-07-25 00:57:58 +00:00
.method public constructor <init>(Lj0/m/a;)V
2020-05-17 12:40:10 +00:00
.locals 2
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
2020-07-25 00:57:58 +00:00
iput-object p1, p0, Lj0/m/a$b;->g:Lj0/m/a;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {p0}, Lj0/i/b;-><init>()V
2020-05-17 12:40:10 +00:00
new-instance v0, Ljava/util/ArrayDeque;
invoke-direct {v0}, Ljava/util/ArrayDeque;-><init>()V
2020-07-25 00:57:58 +00:00
iput-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iget-object v0, p1, Lj0/m/a;->a:Ljava/io/File;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_0
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iget-object p1, p1, Lj0/m/a;->a:Ljava/io/File;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {p0, p1}, Lj0/m/a$b;->b(Ljava/io/File;)Lj0/m/a$a;
2020-05-17 12:40:10 +00:00
move-result-object p1
invoke-virtual {v0, p1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
goto :goto_0
:cond_0
2020-07-25 00:57:58 +00:00
iget-object v0, p1, Lj0/m/a;->a:Ljava/io/File;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/io/File;->isFile()Z
move-result v0
if-eqz v0, :cond_1
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
new-instance v1, Lj0/m/a$b$b;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iget-object p1, p1, Lj0/m/a;->a:Ljava/io/File;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {v1, p0, p1}, Lj0/m/a$b$b;-><init>(Lj0/m/a$b;Ljava/io/File;)V
2020-05-17 12:40:10 +00:00
invoke-virtual {v0, v1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
goto :goto_0
:cond_1
2020-07-25 00:57:58 +00:00
sget-object p1, Lj0/i/u;->f:Lj0/i/u;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iput-object p1, p0, Lj0/i/b;->d:Lj0/i/u;
2020-05-17 12:40:10 +00:00
:goto_0
return-void
.end method
# virtual methods
.method public a()V
.locals 3
:goto_0
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/util/ArrayDeque;->peek()Ljava/lang/Object;
move-result-object v0
2020-07-25 00:57:58 +00:00
check-cast v0, Lj0/m/a$c;
2020-05-17 12:40:10 +00:00
if-eqz v0, :cond_2
2020-07-25 00:57:58 +00:00
invoke-virtual {v0}, Lj0/m/a$c;->step()Ljava/io/File;
2020-05-17 12:40:10 +00:00
move-result-object v1
if-nez v1, :cond_0
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/util/ArrayDeque;->pop()Ljava/lang/Object;
goto :goto_0
:cond_0
2020-07-25 00:57:58 +00:00
iget-object v0, v0, Lj0/m/a$c;->a:Ljava/io/File;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-static {v1, v0}, Lj0/n/c/h;->areEqual(Ljava/lang/Object;Ljava/lang/Object;)Z
2020-05-17 12:40:10 +00:00
move-result v0
if-nez v0, :cond_3
invoke-virtual {v1}, Ljava/io/File;->isDirectory()Z
move-result v0
if-eqz v0, :cond_3
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
invoke-virtual {v0}, Ljava/util/ArrayDeque;->size()I
move-result v0
2020-07-25 00:57:58 +00:00
iget-object v2, p0, Lj0/m/a$b;->g:Lj0/m/a;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iget v2, v2, Lj0/m/a;->f:I
2020-05-17 12:40:10 +00:00
if-lt v0, v2, :cond_1
goto :goto_1
:cond_1
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->f:Ljava/util/ArrayDeque;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
invoke-virtual {p0, v1}, Lj0/m/a$b;->b(Ljava/io/File;)Lj0/m/a$a;
2020-05-17 12:40:10 +00:00
move-result-object v1
invoke-virtual {v0, v1}, Ljava/util/ArrayDeque;->push(Ljava/lang/Object;)V
goto :goto_0
:cond_2
const/4 v1, 0x0
:cond_3
:goto_1
if-eqz v1, :cond_4
2020-07-25 00:57:58 +00:00
iput-object v1, p0, Lj0/i/b;->e:Ljava/lang/Object;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
sget-object v0, Lj0/i/u;->d:Lj0/i/u;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iput-object v0, p0, Lj0/i/b;->d:Lj0/i/u;
2020-05-17 12:40:10 +00:00
goto :goto_2
:cond_4
2020-07-25 00:57:58 +00:00
sget-object v0, Lj0/i/u;->f:Lj0/i/u;
2020-05-17 12:40:10 +00:00
2020-07-25 00:57:58 +00:00
iput-object v0, p0, Lj0/i/b;->d:Lj0/i/u;
2020-05-17 12:40:10 +00:00
:goto_2
return-void
.end method
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
.method public final b(Ljava/io/File;)Lj0/m/a$a;
2020-07-08 16:44:49 +00:00
.locals 2
2020-07-25 00:57:58 +00:00
iget-object v0, p0, Lj0/m/a$b;->g:Lj0/m/a;
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
iget-object v0, v0, Lj0/m/a;->b:Lj0/m/b;
2020-07-08 16:44:49 +00:00
invoke-virtual {v0}, Ljava/lang/Enum;->ordinal()I
move-result v0
if-eqz v0, :cond_1
const/4 v1, 0x1
if-ne v0, v1, :cond_0
2020-07-25 00:57:58 +00:00
new-instance v0, Lj0/m/a$b$a;
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {v0, p0, p1}, Lj0/m/a$b$a;-><init>(Lj0/m/a$b;Ljava/io/File;)V
2020-07-08 16:44:49 +00:00
goto :goto_0
:cond_0
new-instance p1, Lkotlin/NoWhenBranchMatchedException;
invoke-direct {p1}, Lkotlin/NoWhenBranchMatchedException;-><init>()V
throw p1
:cond_1
2020-07-25 00:57:58 +00:00
new-instance v0, Lj0/m/a$b$c;
2020-07-08 16:44:49 +00:00
2020-07-25 00:57:58 +00:00
invoke-direct {v0, p0, p1}, Lj0/m/a$b$c;-><init>(Lj0/m/a$b;Ljava/io/File;)V
2020-07-08 16:44:49 +00:00
:goto_0
return-object v0
.end method