apkfuckery/com.discord/smali_classes2/e0/e$b.smali

137 lines
2.4 KiB
Smali
Raw Normal View History

2020-04-11 15:34:05 +00:00
.class public final Le0/e$b;
2019-07-24 11:27:29 +00:00
.super Ljava/io/InputStream;
2019-11-28 00:30:53 +00:00
.source "Buffer.kt"
2019-07-24 11:27:29 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
2020-04-11 15:34:05 +00:00
value = Le0/e;->u()Ljava/io/InputStream;
2019-07-24 11:27:29 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
2019-11-28 00:30:53 +00:00
accessFlags = 0x19
2019-07-24 11:27:29 +00:00
name = null
.end annotation
# instance fields
2020-04-11 15:34:05 +00:00
.field public final synthetic d:Le0/e;
2019-07-24 11:27:29 +00:00
# direct methods
2020-04-11 15:34:05 +00:00
.method public constructor <init>(Le0/e;)V
2019-07-24 11:27:29 +00:00
.locals 0
2019-11-28 00:30:53 +00:00
.annotation system Ldalvik/annotation/Signature;
value = {
"()V"
}
.end annotation
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
iput-object p1, p0, Le0/e$b;->d:Le0/e;
2019-07-24 11:27:29 +00:00
invoke-direct {p0}, Ljava/io/InputStream;-><init>()V
return-void
.end method
# virtual methods
2019-12-06 03:29:40 +00:00
.method public available()I
2019-07-24 11:27:29 +00:00
.locals 4
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Le0/e$b;->d:Le0/e;
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
iget-wide v0, v0, Le0/e;->e:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const v2, 0x7fffffff
int-to-long v2, v2
2019-07-24 11:27:29 +00:00
invoke-static {v0, v1, v2, v3}, Ljava/lang/Math;->min(JJ)J
move-result-wide v0
long-to-int v1, v0
return v1
.end method
2019-12-06 03:29:40 +00:00
.method public close()V
2019-07-24 11:27:29 +00:00
.locals 0
return-void
.end method
2019-12-06 03:29:40 +00:00
.method public read()I
.locals 6
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Le0/e$b;->d:Le0/e;
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
iget-wide v1, v0, Le0/e;->e:J
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
const-wide/16 v3, 0x0
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
cmp-long v5, v1, v3
2019-07-24 11:27:29 +00:00
2019-12-06 03:29:40 +00:00
if-lez v5, :cond_0
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {v0}, Le0/e;->readByte()B
2019-07-24 11:27:29 +00:00
move-result v0
and-int/lit16 v0, v0, 0xff
2019-12-06 03:29:40 +00:00
goto :goto_0
2019-07-24 11:27:29 +00:00
:cond_0
const/4 v0, -0x1
2019-12-06 03:29:40 +00:00
:goto_0
2019-07-24 11:27:29 +00:00
return v0
.end method
2019-12-06 03:29:40 +00:00
.method public read([BII)I
2019-07-24 11:27:29 +00:00
.locals 1
2019-12-06 03:29:40 +00:00
if-eqz p1, :cond_0
2019-07-24 11:27:29 +00:00
2020-04-11 15:34:05 +00:00
iget-object v0, p0, Le0/e$b;->d:Le0/e;
2019-11-28 00:30:53 +00:00
2020-04-11 15:34:05 +00:00
invoke-virtual {v0, p1, p2, p3}, Le0/e;->a([BII)I
2019-07-24 11:27:29 +00:00
move-result p1
return p1
2019-12-06 03:29:40 +00:00
:cond_0
const-string p1, "sink"
2020-04-11 15:34:05 +00:00
invoke-static {p1}, Lz/u/b/j;->a(Ljava/lang/String;)V
2019-12-06 03:29:40 +00:00
const/4 p1, 0x0
throw p1
2019-07-24 11:27:29 +00:00
.end method
2019-12-06 03:29:40 +00:00
.method public toString()Ljava/lang/String;
2019-07-24 11:27:29 +00:00
.locals 2
new-instance v0, Ljava/lang/StringBuilder;
invoke-direct {v0}, Ljava/lang/StringBuilder;-><init>()V
2020-04-11 15:34:05 +00:00
iget-object v1, p0, Le0/e$b;->d:Le0/e;
2019-07-24 11:27:29 +00:00
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
const-string v1, ".inputStream()"
invoke-virtual {v0, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v0
return-object v0
.end method