216 lines
3.9 KiB
Smali
216 lines
3.9 KiB
Smali
.class Lcom/esotericsoftware/spine/SkeletonBinary$1;
|
|
.super Lcom/badlogic/gdx/utils/DataInput;
|
|
.source "SkeletonBinary.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
|
value = Lcom/esotericsoftware/spine/SkeletonBinary;->a(Lcom/badlogic/gdx/files/FileHandle;)Lcom/esotericsoftware/spine/SkeletonData;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x0
|
|
name = null
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final synthetic a:Lcom/esotericsoftware/spine/SkeletonBinary;
|
|
|
|
.field private b:[C
|
|
|
|
|
|
# direct methods
|
|
.method constructor <init>(Lcom/esotericsoftware/spine/SkeletonBinary;Ljava/io/InputStream;)V
|
|
.locals 0
|
|
|
|
.line 136
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/SkeletonBinary$1;->a:Lcom/esotericsoftware/spine/SkeletonBinary;
|
|
|
|
invoke-direct {p0, p2}, Lcom/badlogic/gdx/utils/DataInput;-><init>(Ljava/io/InputStream;)V
|
|
|
|
const/16 p1, 0x20
|
|
|
|
.line 137
|
|
new-array p1, p1, [C
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/SkeletonBinary$1;->b:[C
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Ljava/lang/String;
|
|
.locals 9
|
|
.annotation system Ldalvik/annotation/Throws;
|
|
value = {
|
|
Ljava/io/IOException;
|
|
}
|
|
.end annotation
|
|
|
|
const/4 v0, 0x1
|
|
|
|
.line 140
|
|
invoke-virtual {p0, v0}, Lcom/esotericsoftware/spine/SkeletonBinary$1;->a(Z)I
|
|
|
|
move-result v0
|
|
|
|
packed-switch v0, :pswitch_data_0
|
|
|
|
const/4 v1, -0x1
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
.line 148
|
|
iget-object v2, p0, Lcom/esotericsoftware/spine/SkeletonBinary$1;->b:[C
|
|
|
|
array-length v2, v2
|
|
|
|
if-ge v2, v0, :cond_0
|
|
|
|
new-array v2, v0, [C
|
|
|
|
iput-object v2, p0, Lcom/esotericsoftware/spine/SkeletonBinary$1;->b:[C
|
|
|
|
goto :goto_0
|
|
|
|
:pswitch_0
|
|
const-string v0, ""
|
|
|
|
return-object v0
|
|
|
|
:pswitch_1
|
|
const/4 v0, 0x0
|
|
|
|
return-object v0
|
|
|
|
.line 149
|
|
:cond_0
|
|
:goto_0
|
|
iget-object v2, p0, Lcom/esotericsoftware/spine/SkeletonBinary$1;->b:[C
|
|
|
|
const/4 v3, 0x0
|
|
|
|
const/4 v4, 0x0
|
|
|
|
const/4 v5, 0x0
|
|
|
|
:goto_1
|
|
if-ge v4, v0, :cond_2
|
|
|
|
.line 152
|
|
invoke-virtual {p0}, Lcom/esotericsoftware/spine/SkeletonBinary$1;->read()I
|
|
|
|
move-result v6
|
|
|
|
shr-int/lit8 v7, v6, 0x4
|
|
|
|
if-eq v7, v1, :cond_1
|
|
|
|
packed-switch v7, :pswitch_data_1
|
|
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
int-to-char v6, v6
|
|
|
|
.line 166
|
|
aput-char v6, v2, v5
|
|
|
|
add-int/lit8 v4, v4, 0x1
|
|
|
|
:goto_2
|
|
move v5, v7
|
|
|
|
goto :goto_1
|
|
|
|
:pswitch_2
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
and-int/lit8 v6, v6, 0xf
|
|
|
|
shl-int/lit8 v6, v6, 0xc
|
|
|
|
.line 162
|
|
invoke-virtual {p0}, Lcom/esotericsoftware/spine/SkeletonBinary$1;->read()I
|
|
|
|
move-result v8
|
|
|
|
and-int/lit8 v8, v8, 0x3f
|
|
|
|
shl-int/lit8 v8, v8, 0x6
|
|
|
|
or-int/2addr v6, v8
|
|
|
|
invoke-virtual {p0}, Lcom/esotericsoftware/spine/SkeletonBinary$1;->read()I
|
|
|
|
move-result v8
|
|
|
|
and-int/lit8 v8, v8, 0x3f
|
|
|
|
or-int/2addr v6, v8
|
|
|
|
int-to-char v6, v6
|
|
|
|
aput-char v6, v2, v5
|
|
|
|
add-int/lit8 v4, v4, 0x3
|
|
|
|
goto :goto_2
|
|
|
|
:pswitch_3
|
|
add-int/lit8 v7, v5, 0x1
|
|
|
|
and-int/lit8 v6, v6, 0x1f
|
|
|
|
shl-int/lit8 v6, v6, 0x6
|
|
|
|
.line 158
|
|
invoke-virtual {p0}, Lcom/esotericsoftware/spine/SkeletonBinary$1;->read()I
|
|
|
|
move-result v8
|
|
|
|
and-int/lit8 v8, v8, 0x3f
|
|
|
|
or-int/2addr v6, v8
|
|
|
|
int-to-char v6, v6
|
|
|
|
aput-char v6, v2, v5
|
|
|
|
add-int/lit8 v4, v4, 0x2
|
|
|
|
goto :goto_2
|
|
|
|
.line 155
|
|
:cond_1
|
|
new-instance v0, Ljava/io/EOFException;
|
|
|
|
invoke-direct {v0}, Ljava/io/EOFException;-><init>()V
|
|
|
|
throw v0
|
|
|
|
.line 170
|
|
:cond_2
|
|
new-instance v0, Ljava/lang/String;
|
|
|
|
invoke-direct {v0, v2, v3, v5}, Ljava/lang/String;-><init>([CII)V
|
|
|
|
return-object v0
|
|
|
|
nop
|
|
|
|
:pswitch_data_0
|
|
.packed-switch 0x0
|
|
:pswitch_1
|
|
:pswitch_0
|
|
.end packed-switch
|
|
|
|
:pswitch_data_1
|
|
.packed-switch 0xc
|
|
:pswitch_3
|
|
:pswitch_3
|
|
:pswitch_2
|
|
.end packed-switch
|
|
.end method
|