653 lines
17 KiB
Smali
653 lines
17 KiB
Smali
.class public Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;
|
|
.super Ljava/lang/Object;
|
|
.source "TextureAtlas.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "TextureAtlasData"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/MemberClasses;
|
|
value = {
|
|
Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;,
|
|
Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field final a:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
.field final b:Lcom/badlogic/gdx/utils/Array;
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
.end field
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(Lcom/badlogic/gdx/files/FileHandle;Lcom/badlogic/gdx/files/FileHandle;Z)V
|
|
.locals 19
|
|
|
|
move-object/from16 v1, p0
|
|
|
|
.line 100
|
|
invoke-direct/range {p0 .. p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 97
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, v1, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 98
|
|
new-instance v0, Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-direct {v0}, Lcom/badlogic/gdx/utils/Array;-><init>()V
|
|
|
|
iput-object v0, v1, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
.line 101
|
|
new-instance v2, Ljava/io/BufferedReader;
|
|
|
|
new-instance v0, Ljava/io/InputStreamReader;
|
|
|
|
invoke-virtual/range {p1 .. p1}, Lcom/badlogic/gdx/files/FileHandle;->b()Ljava/io/InputStream;
|
|
|
|
move-result-object v3
|
|
|
|
invoke-direct {v0, v3}, Ljava/io/InputStreamReader;-><init>(Ljava/io/InputStream;)V
|
|
|
|
const/16 v3, 0x40
|
|
|
|
invoke-direct {v2, v0, v3}, Ljava/io/BufferedReader;-><init>(Ljava/io/Reader;I)V
|
|
|
|
const/4 v0, 0x0
|
|
|
|
:goto_0
|
|
move-object v3, v0
|
|
|
|
.line 105
|
|
:goto_1
|
|
:try_start_0
|
|
invoke-virtual {v2}, Ljava/io/BufferedReader;->readLine()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
:try_end_0
|
|
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
|
|
.catchall {:try_start_0 .. :try_end_0} :catchall_0
|
|
|
|
if-nez v4, :cond_0
|
|
|
|
.line 187
|
|
invoke-static {v2}, Lcom/badlogic/gdx/utils/StreamUtils;->a(Ljava/io/Closeable;)V
|
|
|
|
.line 190
|
|
iget-object v0, v1, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
sget-object v2, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b:Ljava/util/Comparator;
|
|
|
|
invoke-virtual {v0, v2}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/util/Comparator;)V
|
|
|
|
return-void
|
|
|
|
.line 107
|
|
:cond_0
|
|
:try_start_1
|
|
invoke-virtual {v4}, Ljava/lang/String;->trim()Ljava/lang/String;
|
|
|
|
move-result-object v5
|
|
|
|
invoke-virtual {v5}, Ljava/lang/String;->length()I
|
|
|
|
move-result v5
|
|
|
|
if-nez v5, :cond_1
|
|
|
|
move-object/from16 v8, p2
|
|
|
|
goto :goto_0
|
|
|
|
:cond_1
|
|
const/4 v5, 0x2
|
|
|
|
const/4 v6, 0x1
|
|
|
|
const/4 v7, 0x0
|
|
|
|
if-nez v3, :cond_6
|
|
|
|
move-object/from16 v8, p2
|
|
|
|
.line 110
|
|
invoke-virtual {v8, v4}, Lcom/badlogic/gdx/files/FileHandle;->a(Ljava/lang/String;)Lcom/badlogic/gdx/files/FileHandle;
|
|
|
|
move-result-object v10
|
|
|
|
.line 113
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
move-result v3
|
|
|
|
const/4 v4, 0x0
|
|
|
|
if-ne v3, v5, :cond_2
|
|
|
|
.line 114
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v3, v3, v7
|
|
|
|
invoke-static {v3}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v3
|
|
|
|
int-to-float v3, v3
|
|
|
|
.line 115
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v4, v4, v6
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
.line 116
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
move v11, v3
|
|
|
|
move v12, v4
|
|
|
|
goto :goto_2
|
|
|
|
:cond_2
|
|
const/4 v11, 0x0
|
|
|
|
const/4 v12, 0x0
|
|
|
|
.line 118
|
|
:goto_2
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v3, v3, v7
|
|
|
|
invoke-static {v3}, Lcom/badlogic/gdx/graphics/Pixmap$Format;->valueOf(Ljava/lang/String;)Lcom/badlogic/gdx/graphics/Pixmap$Format;
|
|
|
|
move-result-object v14
|
|
|
|
.line 120
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
.line 121
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v3, v3, v7
|
|
|
|
invoke-static {v3}, Lcom/badlogic/gdx/graphics/Texture$TextureFilter;->valueOf(Ljava/lang/String;)Lcom/badlogic/gdx/graphics/Texture$TextureFilter;
|
|
|
|
move-result-object v15
|
|
|
|
.line 122
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v3, v3, v6
|
|
|
|
invoke-static {v3}, Lcom/badlogic/gdx/graphics/Texture$TextureFilter;->valueOf(Ljava/lang/String;)Lcom/badlogic/gdx/graphics/Texture$TextureFilter;
|
|
|
|
move-result-object v16
|
|
|
|
.line 124
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a(Ljava/io/BufferedReader;)Ljava/lang/String;
|
|
|
|
move-result-object v3
|
|
|
|
.line 125
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->ClampToEdge:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
.line 126
|
|
sget-object v5, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->ClampToEdge:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
const-string v6, "x"
|
|
|
|
.line 127
|
|
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_3
|
|
|
|
.line 128
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->Repeat:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
move-object/from16 v17, v3
|
|
|
|
:goto_3
|
|
move-object/from16 v18, v5
|
|
|
|
goto :goto_4
|
|
|
|
:cond_3
|
|
const-string v6, "y"
|
|
|
|
.line 129
|
|
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v6
|
|
|
|
if-eqz v6, :cond_4
|
|
|
|
.line 130
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->Repeat:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
move-object/from16 v18, v3
|
|
|
|
move-object/from16 v17, v4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_4
|
|
const-string v6, "xy"
|
|
|
|
.line 131
|
|
invoke-virtual {v3, v6}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z
|
|
|
|
move-result v3
|
|
|
|
if-eqz v3, :cond_5
|
|
|
|
.line 132
|
|
sget-object v3, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->Repeat:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
.line 133
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/Texture$TextureWrap;->Repeat:Lcom/badlogic/gdx/graphics/Texture$TextureWrap;
|
|
|
|
move-object/from16 v17, v3
|
|
|
|
move-object/from16 v18, v4
|
|
|
|
goto :goto_4
|
|
|
|
:cond_5
|
|
move-object/from16 v17, v4
|
|
|
|
goto :goto_3
|
|
|
|
.line 136
|
|
:goto_4
|
|
new-instance v3, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;
|
|
|
|
invoke-virtual {v15}, Lcom/badlogic/gdx/graphics/Texture$TextureFilter;->isMipMap()Z
|
|
|
|
move-result v13
|
|
|
|
move-object v9, v3
|
|
|
|
invoke-direct/range {v9 .. v18}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;-><init>(Lcom/badlogic/gdx/files/FileHandle;FFZLcom/badlogic/gdx/graphics/Pixmap$Format;Lcom/badlogic/gdx/graphics/Texture$TextureFilter;Lcom/badlogic/gdx/graphics/Texture$TextureFilter;Lcom/badlogic/gdx/graphics/Texture$TextureWrap;Lcom/badlogic/gdx/graphics/Texture$TextureWrap;)V
|
|
|
|
.line 137
|
|
iget-object v4, v1, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v4, v3}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
|
|
goto/16 :goto_1
|
|
|
|
:cond_6
|
|
move-object/from16 v8, p2
|
|
|
|
.line 139
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a(Ljava/io/BufferedReader;)Ljava/lang/String;
|
|
|
|
move-result-object v9
|
|
|
|
invoke-static {v9}, Ljava/lang/Boolean;->valueOf(Ljava/lang/String;)Ljava/lang/Boolean;
|
|
|
|
move-result-object v9
|
|
|
|
invoke-virtual {v9}, Ljava/lang/Boolean;->booleanValue()Z
|
|
|
|
move-result v9
|
|
|
|
.line 141
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
.line 142
|
|
sget-object v10, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v10, v10, v7
|
|
|
|
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v10
|
|
|
|
.line 143
|
|
sget-object v11, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v11, v11, v6
|
|
|
|
invoke-static {v11}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v11
|
|
|
|
.line 145
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
.line 146
|
|
sget-object v12, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v12, v12, v7
|
|
|
|
invoke-static {v12}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v12
|
|
|
|
.line 147
|
|
sget-object v13, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v13, v13, v6
|
|
|
|
invoke-static {v13}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v13
|
|
|
|
.line 149
|
|
new-instance v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;
|
|
|
|
invoke-direct {v14}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;-><init>()V
|
|
|
|
.line 150
|
|
iput-object v3, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->a:Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;
|
|
|
|
.line 151
|
|
iput v10, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->i:I
|
|
|
|
.line 152
|
|
iput v11, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->j:I
|
|
|
|
.line 153
|
|
iput v12, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->k:I
|
|
|
|
.line 154
|
|
iput v13, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->l:I
|
|
|
|
.line 155
|
|
iput-object v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->c:Ljava/lang/String;
|
|
|
|
.line 156
|
|
iput-boolean v9, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->h:Z
|
|
|
|
.line 158
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
move-result v4
|
|
|
|
const/4 v9, 0x4
|
|
|
|
if-ne v4, v9, :cond_7
|
|
|
|
.line 159
|
|
new-array v4, v9, [I
|
|
|
|
sget-object v10, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v10, v10, v7
|
|
|
|
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v10
|
|
|
|
aput v10, v4, v7
|
|
|
|
sget-object v10, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v10, v10, v6
|
|
|
|
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v10
|
|
|
|
aput v10, v4, v6
|
|
|
|
sget-object v10, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v10, v10, v5
|
|
|
|
.line 160
|
|
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v10
|
|
|
|
aput v10, v4, v5
|
|
|
|
sget-object v10, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
const/4 v11, 0x3
|
|
|
|
aget-object v10, v10, v11
|
|
|
|
invoke-static {v10}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v10
|
|
|
|
aput v10, v4, v11
|
|
|
|
iput-object v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->n:[I
|
|
|
|
.line 162
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
move-result v4
|
|
|
|
if-ne v4, v9, :cond_7
|
|
|
|
.line 163
|
|
new-array v4, v9, [I
|
|
|
|
sget-object v9, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v9, v9, v7
|
|
|
|
invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v9
|
|
|
|
aput v9, v4, v7
|
|
|
|
sget-object v9, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v9, v9, v6
|
|
|
|
invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v9
|
|
|
|
aput v9, v4, v6
|
|
|
|
sget-object v9, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v9, v9, v5
|
|
|
|
.line 164
|
|
invoke-static {v9}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v9
|
|
|
|
aput v9, v4, v5
|
|
|
|
sget-object v5, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v5, v5, v11
|
|
|
|
invoke-static {v5}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v5
|
|
|
|
aput v5, v4, v11
|
|
|
|
iput-object v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->o:[I
|
|
|
|
.line 166
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
.line 170
|
|
:cond_7
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v4, v4, v7
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
iput v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->f:I
|
|
|
|
.line 171
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v4, v4, v6
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
iput v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->g:I
|
|
|
|
.line 173
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->b(Ljava/io/BufferedReader;)I
|
|
|
|
.line 174
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v4, v4, v7
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
iput v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->d:F
|
|
|
|
.line 175
|
|
sget-object v4, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a:[Ljava/lang/String;
|
|
|
|
aget-object v4, v4, v6
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
int-to-float v4, v4
|
|
|
|
iput v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->e:F
|
|
|
|
.line 177
|
|
invoke-static {v2}, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas;->a(Ljava/io/BufferedReader;)Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-static {v4}, Ljava/lang/Integer;->parseInt(Ljava/lang/String;)I
|
|
|
|
move-result v4
|
|
|
|
iput v4, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->b:I
|
|
|
|
if-eqz p3, :cond_8
|
|
|
|
.line 179
|
|
iput-boolean v6, v14, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Region;->m:Z
|
|
|
|
.line 181
|
|
:cond_8
|
|
iget-object v5, v1, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->b:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
invoke-virtual {v5, v14}, Lcom/badlogic/gdx/utils/Array;->a(Ljava/lang/Object;)V
|
|
:try_end_1
|
|
.catch Ljava/lang/Exception; {:try_start_1 .. :try_end_1} :catch_0
|
|
.catchall {:try_start_1 .. :try_end_1} :catchall_0
|
|
|
|
goto/16 :goto_1
|
|
|
|
:catchall_0
|
|
move-exception v0
|
|
|
|
goto :goto_5
|
|
|
|
:catch_0
|
|
move-exception v0
|
|
|
|
.line 185
|
|
:try_start_2
|
|
new-instance v3, Lcom/badlogic/gdx/utils/GdxRuntimeException;
|
|
|
|
new-instance v4, Ljava/lang/StringBuilder;
|
|
|
|
invoke-direct {v4}, Ljava/lang/StringBuilder;-><init>()V
|
|
|
|
const-string v5, "Error reading pack file: "
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
|
|
|
move-object/from16 v5, p1
|
|
|
|
invoke-virtual {v4, v5}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;
|
|
|
|
invoke-virtual {v4}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
|
|
|
|
move-result-object v4
|
|
|
|
invoke-direct {v3, v4, v0}, Lcom/badlogic/gdx/utils/GdxRuntimeException;-><init>(Ljava/lang/String;Ljava/lang/Throwable;)V
|
|
|
|
throw v3
|
|
:try_end_2
|
|
.catchall {:try_start_2 .. :try_end_2} :catchall_0
|
|
|
|
.line 187
|
|
:goto_5
|
|
invoke-static {v2}, Lcom/badlogic/gdx/utils/StreamUtils;->a(Ljava/io/Closeable;)V
|
|
|
|
.line 188
|
|
throw v0
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()Lcom/badlogic/gdx/utils/Array;
|
|
.locals 1
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"()",
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData$Page;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
.line 194
|
|
iget-object v0, p0, Lcom/badlogic/gdx/graphics/g2d/TextureAtlas$TextureAtlasData;->a:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
return-object v0
|
|
.end method
|