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

280 lines
4.8 KiB
Smali
Raw Normal View History

2019-02-04 20:08:30 +00:00
.class public final Lokio/m;
.super Ljava/lang/Object;
# instance fields
2019-02-04 20:20:43 +00:00
.field che:Z
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
.field chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
.field chg:Lokio/m;
2019-02-04 20:08:30 +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-02-04 20:20:43 +00:00
iput-boolean v0, p0, Lokio/m;->che:Z
2019-02-04 20:08:30 +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-02-04 20:20:43 +00:00
iput-boolean p4, p0, Lokio/m;->che:Z
2019-02-04 20:08:30 +00:00
iput-boolean p5, p0, Lokio/m;->owner:Z
return-void
.end method
# virtual methods
2019-02-04 20:17:36 +00:00
.method final Jx()Lokio/m;
2019-02-04 20:08:30 +00:00
.locals 7
const/4 v0, 0x1
2019-02-04 20:20:43 +00:00
iput-boolean v0, p0, Lokio/m;->che:Z
2019-02-04 20:08:30 +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-02-04 20:17:36 +00:00
.method final Jy()Lokio/m;
2019-02-04 20:08:30 +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-02-04 20:17:36 +00:00
.method public final Jz()Lokio/m;
2019-02-04 20:08:30 +00:00
.locals 4
.annotation runtime Ljavax/annotation/Nullable;
.end annotation
2019-02-04 20:20:43 +00:00
iget-object v0, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
const/4 v1, 0x0
if-eq v0, p0, :cond_0
2019-02-04 20:20:43 +00:00
iget-object v0, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
goto :goto_0
:cond_0
move-object v0, v1
:goto_0
2019-02-04 20:20:43 +00:00
iget-object v2, p0, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iget-object v3, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object v3, v2, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iget-object v2, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iget-object v3, p0, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object v3, v2, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object v1, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object v1, p0, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
return-object v0
.end method
.method public final a(Lokio/m;)Lokio/m;
.locals 1
2019-02-04 20:20:43 +00:00
iput-object p0, p1, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iget-object v0, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object v0, p1, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iget-object v0, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object p1, v0, Lokio/m;->chg:Lokio/m;
2019-02-04 20:08:30 +00:00
2019-02-04 20:20:43 +00:00
iput-object p1, p0, Lokio/m;->chf:Lokio/m;
2019-02-04 20:08:30 +00:00
return-object p1
.end method
.method public final a(Lokio/m;I)V
.locals 5
iget-boolean v0, p1, Lokio/m;->owner:Z
if-eqz v0, :cond_3
iget v0, p1, Lokio/m;->limit:I
add-int/2addr v0, p2
const/16 v1, 0x2000
if-le v0, v1, :cond_2
2019-02-04 20:20:43 +00:00
iget-boolean v0, p1, Lokio/m;->che:Z
2019-02-04 20:08:30 +00:00
if-nez v0, :cond_1
iget v0, p1, Lokio/m;->limit:I
add-int/2addr v0, p2
iget v2, p1, Lokio/m;->pos:I
sub-int/2addr v0, v2
if-gt v0, v1, :cond_0
iget-object v0, p1, Lokio/m;->data:[B
iget v1, p1, Lokio/m;->pos:I
iget-object v2, p1, Lokio/m;->data:[B
iget v3, p1, Lokio/m;->limit:I
iget v4, p1, Lokio/m;->pos:I
sub-int/2addr v3, v4
const/4 v4, 0x0
invoke-static {v0, v1, v2, v4, v3}, 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 v4, 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