apkfuckery/com.discord/smali_classes2/d0/t$a.smali

161 lines
2.5 KiB
Smali
Raw Normal View History

2020-03-27 22:23:51 +00:00
.class public final Ld0/t$a;
2019-12-06 03:29:40 +00:00
.super Ljava/lang/Object;
2020-04-17 19:35:49 +00:00
.source "SegmentedByteString.kt"
2019-12-06 03:29:40 +00:00
# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
2020-03-27 22:23:51 +00:00
value = Ld0/t;
2019-12-06 03:29:40 +00:00
.end annotation
.annotation system Ldalvik/annotation/InnerClass;
accessFlags = 0x19
name = "a"
.end annotation
# direct methods
.method public synthetic constructor <init>(Lkotlin/jvm/internal/DefaultConstructorMarker;)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
return-void
.end method
# virtual methods
2020-04-17 19:35:49 +00:00
.method public final a(Ld0/e;I)Lokio/ByteString;
.locals 7
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v0, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz p1, :cond_5
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-wide v1, p1, Ld0/e;->e:J
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const-wide/16 v3, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
int-to-long v5, p2
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-static/range {v1 .. v6}, Lf/n/a/j/a;->a(JJJ)V
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v1, p1, Ld0/e;->d:Ld0/r;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v2, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-object v4, v1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v1, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const/4 v3, 0x0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:goto_0
if-ge v1, p2, :cond_2
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v4, :cond_1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget v5, v4, Ld0/r;->c:I
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget v6, v4, Ld0/r;->b:I
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
if-eq v5, v6, :cond_0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
sub-int/2addr v5, v6
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
add-int/2addr v1, v5
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
add-int/lit8 v3, v3, 0x1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v4, v4, Ld0/r;->f:Ld0/r;
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
goto :goto_0
2019-12-06 03:29:40 +00:00
2020-04-17 17:35:24 +00:00
:cond_0
2020-04-17 19:35:49 +00:00
new-instance p1, Ljava/lang/AssertionError;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
const-string p2, "s.limit == s.pos"
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p1, p2}, Ljava/lang/AssertionError;-><init>(Ljava/lang/Object;)V
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
throw p1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:cond_1
invoke-static {}, Ly/u/b/j;->throwNpe()V
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
throw v0
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
:cond_2
new-array v1, v3, [[B
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
mul-int/lit8 v3, v3, 0x2
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
new-array v3, v3, [I
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
iget-object p1, p1, Ld0/e;->d:Ld0/r;
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
move-object v4, p1
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
const/4 p1, 0x0
2020-04-11 15:34:05 +00:00
2020-04-17 17:35:24 +00:00
:goto_1
2020-04-17 19:35:49 +00:00
if-ge v2, p2, :cond_4
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
if-eqz v4, :cond_3
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget-object v5, v4, Ld0/r;->a:[B
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
aput-object v5, v1, p1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget v5, v4, Ld0/r;->c:I
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
iget v6, v4, Ld0/r;->b:I
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
sub-int/2addr v5, v6
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
add-int/2addr v2, v5
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {v2, p2}, Ljava/lang/Math;->min(II)I
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
move-result v5
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
aput v5, v3, p1
2019-12-06 03:29:40 +00:00
2020-04-17 19:35:49 +00:00
array-length v5, v1
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
add-int/2addr v5, p1
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
iget v6, v4, Ld0/r;->b:I
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
aput v6, v3, v5
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
const/4 v5, 0x1
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
iput-boolean v5, v4, Ld0/r;->d:Z
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
add-int/2addr p1, v5
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
iget-object v4, v4, Ld0/r;->f:Ld0/r;
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
goto :goto_1
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
:cond_3
invoke-static {}, Ly/u/b/j;->throwNpe()V
2020-04-11 15:34:05 +00:00
2020-04-17 19:35:49 +00:00
throw v0
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
:cond_4
new-instance p1, Ld0/t;
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
invoke-direct {p1, v1, v3, v0}, Ld0/t;-><init>([[B[ILkotlin/jvm/internal/DefaultConstructorMarker;)V
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
return-object p1
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
:cond_5
const-string p1, "buffer"
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
invoke-static {p1}, Ly/u/b/j;->a(Ljava/lang/String;)V
2020-04-17 17:35:24 +00:00
2020-04-17 19:35:49 +00:00
throw v0
2019-12-06 03:29:40 +00:00
.end method