apkfuckery/com.discord/smali/okio/m.smali

267 lines
4.6 KiB
Smali
Raw Normal View History

2019-02-27 21:13:14 +00:00
.class public final Lokio/m;
.super Ljava/lang/Object;
.source "Segment.java"
# instance fields
2019-05-03 18:53:54 +00:00
.field bwn:Z
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
.field bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
.field bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
.field public final data:[B
.field public limit:I
.field owner:Z
.field pos:I
# direct methods
.method constructor <init>()V
.locals 1
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
const/16 v0, 0x2000
new-array v0, v0, [B
iput-object v0, p0, Lokio/m;->data:[B
const/4 v0, 0x1
iput-boolean v0, p0, Lokio/m;->owner:Z
const/4 v0, 0x0
2019-05-03 18:53:54 +00:00
iput-boolean v0, p0, Lokio/m;->bwn:Z
2019-02-27 21:13:14 +00:00
return-void
.end method
.method constructor <init>([BIIZZ)V
.locals 0
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
iput-object p1, p0, Lokio/m;->data:[B
iput p2, p0, Lokio/m;->pos:I
iput p3, p0, Lokio/m;->limit:I
2019-05-03 18:53:54 +00:00
iput-boolean p4, p0, Lokio/m;->bwn:Z
2019-02-27 21:13:14 +00:00
iput-boolean p5, p0, Lokio/m;->owner:Z
return-void
.end method
# virtual methods
2019-05-03 18:53:54 +00:00
.method final DV()Lokio/m;
2019-02-27 21:13:14 +00:00
.locals 7
const/4 v0, 0x1
2019-05-03 18:53:54 +00:00
iput-boolean v0, p0, Lokio/m;->bwn:Z
2019-02-27 21:13:14 +00:00
new-instance v0, Lokio/m;
iget-object v2, p0, Lokio/m;->data:[B
iget v3, p0, Lokio/m;->pos:I
iget v4, p0, Lokio/m;->limit:I
const/4 v5, 0x1
const/4 v6, 0x0
move-object v1, v0
invoke-direct/range {v1 .. v6}, Lokio/m;-><init>([BIIZZ)V
return-object v0
.end method
2019-05-03 18:53:54 +00:00
.method final DW()Lokio/m;
2019-02-27 21:13:14 +00:00
.locals 7
new-instance v6, Lokio/m;
iget-object v0, p0, Lokio/m;->data:[B
invoke-virtual {v0}, [B->clone()Ljava/lang/Object;
move-result-object v0
move-object v1, v0
check-cast v1, [B
iget v2, p0, Lokio/m;->pos:I
iget v3, p0, Lokio/m;->limit:I
const/4 v4, 0x0
const/4 v5, 0x1
move-object v0, v6
invoke-direct/range {v0 .. v5}, Lokio/m;-><init>([BIIZZ)V
return-object v6
.end method
2019-05-03 18:53:54 +00:00
.method public final DX()Lokio/m;
2019-02-27 21:13:14 +00:00
.locals 4
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
const/4 v1, 0x0
if-eq v0, p0, :cond_0
goto :goto_0
:cond_0
move-object v0, v1
:goto_0
2019-05-03 18:53:54 +00:00
iget-object v2, p0, Lokio/m;->bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iget-object v3, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object v3, v2, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iget-object v3, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object v2, v3, Lokio/m;->bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object v1, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object v1, p0, Lokio/m;->bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
return-object v0
.end method
.method public final a(Lokio/m;)Lokio/m;
.locals 1
2019-05-03 18:53:54 +00:00
iput-object p0, p1, Lokio/m;->bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object v0, p1, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iget-object v0, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object p1, v0, Lokio/m;->bwp:Lokio/m;
2019-02-27 21:13:14 +00:00
2019-05-03 18:53:54 +00:00
iput-object p1, p0, Lokio/m;->bwo:Lokio/m;
2019-02-27 21:13:14 +00:00
return-object p1
.end method
.method public final a(Lokio/m;I)V
.locals 4
iget-boolean v0, p1, Lokio/m;->owner:Z
if-eqz v0, :cond_3
iget v0, p1, Lokio/m;->limit:I
add-int v1, v0, p2
const/16 v2, 0x2000
if-le v1, v2, :cond_2
2019-05-03 18:53:54 +00:00
iget-boolean v1, p1, Lokio/m;->bwn:Z
2019-02-27 21:13:14 +00:00
if-nez v1, :cond_1
add-int v1, v0, p2
iget v3, p1, Lokio/m;->pos:I
sub-int/2addr v1, v3
if-gt v1, v2, :cond_0
iget-object v1, p1, Lokio/m;->data:[B
sub-int/2addr v0, v3
const/4 v2, 0x0
invoke-static {v1, v3, v1, v2, v0}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
iget v0, p1, Lokio/m;->limit:I
iget v1, p1, Lokio/m;->pos:I
sub-int/2addr v0, v1
iput v0, p1, Lokio/m;->limit:I
iput v2, p1, Lokio/m;->pos:I
goto :goto_0
:cond_0
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_1
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
:cond_2
:goto_0
iget-object v0, p0, Lokio/m;->data:[B
iget v1, p0, Lokio/m;->pos:I
iget-object v2, p1, Lokio/m;->data:[B
iget v3, p1, Lokio/m;->limit:I
invoke-static {v0, v1, v2, v3, p2}, Ljava/lang/System;->arraycopy(Ljava/lang/Object;ILjava/lang/Object;II)V
iget v0, p1, Lokio/m;->limit:I
add-int/2addr v0, p2
iput v0, p1, Lokio/m;->limit:I
iget p1, p0, Lokio/m;->pos:I
add-int/2addr p1, p2
iput p1, p0, Lokio/m;->pos:I
return-void
:cond_3
new-instance p1, Ljava/lang/IllegalArgumentException;
invoke-direct {p1}, Ljava/lang/IllegalArgumentException;-><init>()V
throw p1
.end method