apkfuckery/com.discord/smali_classes2/y/l/a$b$c.smali
2020-11-16 22:05:17 +00:00

154 lines
3.1 KiB
Smali

.class public final Ly/l/a$b$c;
.super Ly/l/a$a;
.source "FileTreeWalk.kt"
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
value = Ly/l/a$b;
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x11
name = "c"
.end annotation
# instance fields
.field public b:Z
.field public c:[Ljava/io/File;
.field public d:I
.field public final synthetic e:Ly/l/a$b;
# direct methods
.method public constructor <init>(Ly/l/a$b;Ljava/io/File;)V
.locals 1
.annotation system Ldalvik/annotation/Signature;
value = {
"(",
"Ljava/io/File;",
")V"
}
.end annotation
const-string v0, "rootDir"
invoke-static {p2, v0}, Ly/m/c/j;->checkNotNullParameter(Ljava/lang/Object;Ljava/lang/String;)V
iput-object p1, p0, Ly/l/a$b$c;->e:Ly/l/a$b;
invoke-direct {p0, p2}, Ly/l/a$a;-><init>(Ljava/io/File;)V
return-void
.end method
# virtual methods
.method public step()Ljava/io/File;
.locals 3
iget-boolean v0, p0, Ly/l/a$b$c;->b:Z
if-nez v0, :cond_0
iget-object v0, p0, Ly/l/a$b$c;->e:Ly/l/a$b;
iget-object v0, v0, Ly/l/a$b;->g:Ly/l/a;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
const/4 v0, 0x1
iput-boolean v0, p0, Ly/l/a$b$c;->b:Z
iget-object v0, p0, Ly/l/a$c;->a:Ljava/io/File;
return-object v0
:cond_0
iget-object v0, p0, Ly/l/a$b$c;->c:[Ljava/io/File;
const/4 v1, 0x0
if-eqz v0, :cond_2
iget v2, p0, Ly/l/a$b$c;->d:I
invoke-static {v0}, Ly/m/c/j;->checkNotNull(Ljava/lang/Object;)V
array-length v0, v0
if-ge v2, v0, :cond_1
goto :goto_0
:cond_1
iget-object v0, p0, Ly/l/a$b$c;->e:Ly/l/a$b;
iget-object v0, v0, Ly/l/a$b;->g:Ly/l/a;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
return-object v1
:cond_2
:goto_0
iget-object v0, p0, Ly/l/a$b$c;->c:[Ljava/io/File;
if-nez v0, :cond_5
iget-object v0, p0, Ly/l/a$c;->a:Ljava/io/File;
invoke-virtual {v0}, Ljava/io/File;->listFiles()[Ljava/io/File;
move-result-object v0
iput-object v0, p0, Ly/l/a$b$c;->c:[Ljava/io/File;
if-nez v0, :cond_3
iget-object v0, p0, Ly/l/a$b$c;->e:Ly/l/a$b;
iget-object v0, v0, Ly/l/a$b;->g:Ly/l/a;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
:cond_3
iget-object v0, p0, Ly/l/a$b$c;->c:[Ljava/io/File;
if-eqz v0, :cond_4
invoke-static {v0}, Ly/m/c/j;->checkNotNull(Ljava/lang/Object;)V
array-length v0, v0
if-nez v0, :cond_5
:cond_4
iget-object v0, p0, Ly/l/a$b$c;->e:Ly/l/a$b;
iget-object v0, v0, Ly/l/a$b;->g:Ly/l/a;
invoke-static {v0}, Ljava/util/Objects;->requireNonNull(Ljava/lang/Object;)Ljava/lang/Object;
return-object v1
:cond_5
iget-object v0, p0, Ly/l/a$b$c;->c:[Ljava/io/File;
invoke-static {v0}, Ly/m/c/j;->checkNotNull(Ljava/lang/Object;)V
iget v1, p0, Ly/l/a$b$c;->d:I
add-int/lit8 v2, v1, 0x1
iput v2, p0, Ly/l/a$b$c;->d:I
aget-object v0, v0, v1
return-object v0
.end method