.class public Lcom/esotericsoftware/spine/SkeletonRenderer; .super Ljava/lang/Object; .source "SkeletonRenderer.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect; } .end annotation # static fields .field private static final a:[S # instance fields .field private b:Z .field private final c:Lcom/badlogic/gdx/utils/FloatArray; .field private final d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; .field private e:Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect; .field private final f:Lcom/badlogic/gdx/math/Vector2; .field private final g:Lcom/badlogic/gdx/math/Vector2; .field private final h:Lcom/badlogic/gdx/graphics/Color; .field private final i:Lcom/badlogic/gdx/graphics/Color; .field private final j:Lcom/badlogic/gdx/graphics/Color; .field private final k:Lcom/badlogic/gdx/graphics/Color; # direct methods .method static constructor ()V .locals 1 const/4 v0, 0x6 .line 51 new-array v0, v0, [S fill-array-data v0, :array_0 sput-object v0, Lcom/esotericsoftware/spine/SkeletonRenderer;->a:[S return-void nop :array_0 .array-data 2 0x0s 0x1s 0x2s 0x2s 0x3s 0x0s .end array-data .end method .method public constructor ()V .locals 2 .line 50 invoke-direct {p0}, Ljava/lang/Object;->()V .line 54 new-instance v0, Lcom/badlogic/gdx/utils/FloatArray; const/16 v1, 0x20 invoke-direct {v0, v1}, Lcom/badlogic/gdx/utils/FloatArray;->(I)V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->c:Lcom/badlogic/gdx/utils/FloatArray; .line 55 new-instance v0, Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-direct {v0}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; .line 57 new-instance v0, Lcom/badlogic/gdx/math/Vector2; invoke-direct {v0}, Lcom/badlogic/gdx/math/Vector2;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->f:Lcom/badlogic/gdx/math/Vector2; .line 58 new-instance v0, Lcom/badlogic/gdx/math/Vector2; invoke-direct {v0}, Lcom/badlogic/gdx/math/Vector2;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->g:Lcom/badlogic/gdx/math/Vector2; .line 59 new-instance v0, Lcom/badlogic/gdx/graphics/Color; invoke-direct {v0}, Lcom/badlogic/gdx/graphics/Color;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->h:Lcom/badlogic/gdx/graphics/Color; .line 60 new-instance v0, Lcom/badlogic/gdx/graphics/Color; invoke-direct {v0}, Lcom/badlogic/gdx/graphics/Color;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->i:Lcom/badlogic/gdx/graphics/Color; .line 61 new-instance v0, Lcom/badlogic/gdx/graphics/Color; invoke-direct {v0}, Lcom/badlogic/gdx/graphics/Color;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->j:Lcom/badlogic/gdx/graphics/Color; .line 62 new-instance v0, Lcom/badlogic/gdx/graphics/Color; invoke-direct {v0}, Lcom/badlogic/gdx/graphics/Color;->()V iput-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->k:Lcom/badlogic/gdx/graphics/Color; return-void .end method .method private a([FIIFF)V .locals 10 .line 374 iget-object v0, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->f:Lcom/badlogic/gdx/math/Vector2; .line 375 iget-object v1, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->g:Lcom/badlogic/gdx/math/Vector2; .line 376 iget-object v2, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->h:Lcom/badlogic/gdx/graphics/Color; .line 377 iget-object v3, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->i:Lcom/badlogic/gdx/graphics/Color; .line 378 iget-object v4, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->j:Lcom/badlogic/gdx/graphics/Color; .line 379 iget-object v5, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->k:Lcom/badlogic/gdx/graphics/Color; .line 380 iget-object v6, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->e:Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect; .line 381 invoke-static {p4}, Lcom/badlogic/gdx/utils/NumberUtils;->c(F)I move-result p4 invoke-virtual {v4, p4}, Lcom/badlogic/gdx/graphics/Color;->a(I)Lcom/badlogic/gdx/graphics/Color; .line 382 invoke-static {p5}, Lcom/badlogic/gdx/utils/NumberUtils;->c(F)I move-result p4 invoke-virtual {v5, p4}, Lcom/badlogic/gdx/graphics/Color;->a(I)Lcom/badlogic/gdx/graphics/Color; const/4 p4, 0x0 const/4 p5, 0x5 if-ne p3, p5, :cond_0 :goto_0 if-ge p4, p2, :cond_1 .line 385 aget p5, p1, p4 iput p5, v0, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 p5, p4, 0x1 .line 386 aget v7, p1, p5 iput v7, v0, Lcom/badlogic/gdx/math/Vector2;->y:F add-int/lit8 v7, p4, 0x3 .line 387 aget v8, p1, v7 iput v8, v1, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 v8, p4, 0x4 .line 388 aget v9, p1, v8 iput v9, v1, Lcom/badlogic/gdx/math/Vector2;->y:F .line 389 invoke-virtual {v2, v4}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 390 invoke-virtual {v3, v5}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 391 invoke-interface {v6, v0, v1, v2, v3}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a(Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/graphics/Color;Lcom/badlogic/gdx/graphics/Color;)V .line 392 iget v9, v0, Lcom/badlogic/gdx/math/Vector2;->x:F aput v9, p1, p4 .line 393 iget v9, v0, Lcom/badlogic/gdx/math/Vector2;->y:F aput v9, p1, p5 add-int/lit8 p5, p4, 0x2 .line 394 invoke-virtual {v2}, Lcom/badlogic/gdx/graphics/Color;->b()F move-result v9 aput v9, p1, p5 .line 395 iget p5, v1, Lcom/badlogic/gdx/math/Vector2;->x:F aput p5, p1, v7 .line 396 iget p5, v1, Lcom/badlogic/gdx/math/Vector2;->y:F aput p5, p1, v8 add-int/2addr p4, p3 goto :goto_0 :cond_0 :goto_1 if-ge p4, p2, :cond_1 .line 400 aget p5, p1, p4 iput p5, v0, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 p5, p4, 0x1 .line 401 aget v7, p1, p5 iput v7, v0, Lcom/badlogic/gdx/math/Vector2;->y:F add-int/lit8 v7, p4, 0x4 .line 402 aget v8, p1, v7 iput v8, v1, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 v8, p4, 0x5 .line 403 aget v9, p1, v8 iput v9, v1, Lcom/badlogic/gdx/math/Vector2;->y:F .line 404 invoke-virtual {v2, v4}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 405 invoke-virtual {v3, v5}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 406 invoke-interface {v6, v0, v1, v2, v3}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a(Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/graphics/Color;Lcom/badlogic/gdx/graphics/Color;)V .line 407 iget v9, v0, Lcom/badlogic/gdx/math/Vector2;->x:F aput v9, p1, p4 .line 408 iget v9, v0, Lcom/badlogic/gdx/math/Vector2;->y:F aput v9, p1, p5 add-int/lit8 p5, p4, 0x2 .line 409 invoke-virtual {v2}, Lcom/badlogic/gdx/graphics/Color;->b()F move-result v9 aput v9, p1, p5 add-int/lit8 p5, p4, 0x3 .line 410 invoke-virtual {v3}, Lcom/badlogic/gdx/graphics/Color;->b()F move-result v9 aput v9, p1, p5 .line 411 iget p5, v1, Lcom/badlogic/gdx/math/Vector2;->x:F aput p5, p1, v7 .line 412 iget p5, v1, Lcom/badlogic/gdx/math/Vector2;->y:F aput p5, p1, v8 add-int/2addr p4, p3 goto :goto_1 :cond_1 return-void .end method # virtual methods .method public a(Lcom/badlogic/gdx/graphics/g2d/Batch;Lcom/esotericsoftware/spine/Skeleton;)V .locals 25 move-object/from16 v6, p0 move-object/from16 v7, p1 move-object/from16 v0, p2 .line 65 iget-object v8, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->e:Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect; if-eqz v8, :cond_0 .line 66 invoke-interface {v8, v0}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a(Lcom/esotericsoftware/spine/Skeleton;)V .line 68 :cond_0 iget-boolean v9, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->b:Z const/4 v1, 0x0 .line 70 iget-object v2, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->c:Lcom/badlogic/gdx/utils/FloatArray; iget-object v10, v2, Lcom/badlogic/gdx/utils/FloatArray;->a:[F .line 71 iget-object v2, v0, Lcom/esotericsoftware/spine/Skeleton;->k:Lcom/badlogic/gdx/graphics/Color; .line 72 iget v11, v2, Lcom/badlogic/gdx/graphics/Color;->I:F iget v12, v2, Lcom/badlogic/gdx/graphics/Color;->J:F iget v13, v2, Lcom/badlogic/gdx/graphics/Color;->K:F iget v14, v2, Lcom/badlogic/gdx/graphics/Color;->L:F .line 73 iget-object v15, v0, Lcom/esotericsoftware/spine/Skeleton;->d:Lcom/badlogic/gdx/utils/Array; .line 74 iget v5, v15, Lcom/badlogic/gdx/utils/Array;->b:I const/4 v3, 0x0 :goto_0 if-ge v3, v5, :cond_a .line 75 invoke-virtual {v15, v3}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object; move-result-object v0 move-object v2, v0 check-cast v2, Lcom/esotericsoftware/spine/Slot; .line 76 iget-object v0, v2, Lcom/esotericsoftware/spine/Slot;->e:Lcom/esotericsoftware/spine/attachments/Attachment; .line 77 instance-of v4, v0, Lcom/esotericsoftware/spine/attachments/RegionAttachment; if-eqz v4, :cond_6 .line 78 move-object v4, v0 check-cast v4, Lcom/esotericsoftware/spine/attachments/RegionAttachment; .line 79 invoke-virtual {v2}, Lcom/esotericsoftware/spine/Slot;->b()Lcom/esotericsoftware/spine/Bone; move-result-object v0 move/from16 v17, v3 const/4 v3, 0x5 move/from16 v18, v5 const/4 v5, 0x0 invoke-virtual {v4, v0, v10, v5, v3}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->a(Lcom/esotericsoftware/spine/Bone;[FII)V .line 80 invoke-virtual {v4}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->l()Lcom/badlogic/gdx/graphics/Color; move-result-object v0 invoke-virtual {v2}, Lcom/esotericsoftware/spine/Slot;->d()Lcom/badlogic/gdx/graphics/Color; move-result-object v5 .line 81 iget v3, v5, Lcom/badlogic/gdx/graphics/Color;->L:F mul-float v3, v3, v14 move/from16 v20, v14 iget v14, v0, Lcom/badlogic/gdx/graphics/Color;->L:F mul-float v3, v3, v14 const/high16 v14, 0x437f0000 # 255.0f mul-float v3, v3, v14 if-eqz v9, :cond_1 move v14, v3 move/from16 v21, v14 goto :goto_1 :cond_1 move/from16 v21, v3 .line 84 :goto_1 iget-object v3, v2, Lcom/esotericsoftware/spine/Slot;->a:Lcom/esotericsoftware/spine/SlotData; invoke-virtual {v3}, Lcom/esotericsoftware/spine/SlotData;->b()Lcom/esotericsoftware/spine/BlendMode; move-result-object v3 if-eq v3, v1, :cond_3 .line 86 sget-object v1, Lcom/esotericsoftware/spine/BlendMode;->additive:Lcom/esotericsoftware/spine/BlendMode; if-ne v3, v1, :cond_2 if-eqz v9, :cond_2 .line 87 sget-object v3, Lcom/esotericsoftware/spine/BlendMode;->normal:Lcom/esotericsoftware/spine/BlendMode; const/4 v1, 0x0 const/16 v22, 0x0 goto :goto_2 :cond_2 move/from16 v22, v21 .line 91 :goto_2 invoke-virtual {v3, v9}, Lcom/esotericsoftware/spine/BlendMode;->getSource(Z)I move-result v1 move-object/from16 v23, v2 invoke-virtual {v3}, Lcom/esotericsoftware/spine/BlendMode;->getDest()I move-result v2 invoke-interface {v7, v1, v2}, Lcom/badlogic/gdx/graphics/g2d/Batch;->a(II)V move-object/from16 v16, v3 move/from16 v1, v22 goto :goto_3 :cond_3 move-object/from16 v23, v2 move-object/from16 v16, v1 move/from16 v1, v21 :goto_3 float-to-int v1, v1 shl-int/lit8 v1, v1, 0x18 .line 94 iget v2, v5, Lcom/badlogic/gdx/graphics/Color;->K:F mul-float v2, v2, v13 iget v3, v0, Lcom/badlogic/gdx/graphics/Color;->K:F mul-float v2, v2, v3 mul-float v2, v2, v14 float-to-int v2, v2 shl-int/lit8 v2, v2, 0x10 or-int/2addr v1, v2 iget v2, v5, Lcom/badlogic/gdx/graphics/Color;->J:F mul-float v2, v2, v12 iget v3, v0, Lcom/badlogic/gdx/graphics/Color;->J:F mul-float v2, v2, v3 mul-float v2, v2, v14 float-to-int v2, v2 const/16 v3, 0x8 shl-int/2addr v2, v3 or-int/2addr v1, v2 iget v2, v5, Lcom/badlogic/gdx/graphics/Color;->I:F mul-float v2, v2, v11 iget v0, v0, Lcom/badlogic/gdx/graphics/Color;->I:F mul-float v2, v2, v0 mul-float v2, v2, v14 float-to-int v0, v2 or-int/2addr v0, v1 invoke-static {v0}, Lcom/badlogic/gdx/utils/NumberUtils;->a(I)F move-result v5 .line 98 invoke-virtual {v4}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->d()[F move-result-object v0 const/4 v1, 0x2 const/4 v1, 0x0 const/4 v2, 0x2 :goto_4 if-ge v1, v3, :cond_4 .line 100 aput v5, v10, v2 add-int/lit8 v14, v2, 0x1 .line 101 aget v21, v0, v1 aput v21, v10, v14 add-int/lit8 v14, v2, 0x2 add-int/lit8 v21, v1, 0x1 .line 102 aget v21, v0, v21 aput v21, v10, v14 add-int/lit8 v1, v1, 0x2 const/4 v14, 0x5 add-int/2addr v2, v14 goto :goto_4 :cond_4 if-eqz v8, :cond_5 const/16 v2, 0x14 const/4 v3, 0x5 const/4 v14, 0x0 move-object/from16 v0, p0 move-object v1, v10 move-object/from16 v24, v23 move-object/from16 v19, v4 move v4, v5 move v5, v14 .line 105 invoke-direct/range {v0 .. v5}, Lcom/esotericsoftware/spine/SkeletonRenderer;->a([FIIFF)V goto :goto_5 :cond_5 move-object/from16 v19, v4 move-object/from16 v24, v23 .line 107 :goto_5 invoke-virtual/range {v19 .. v19}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->c()Lcom/badlogic/gdx/graphics/g2d/TextureRegion; move-result-object v0 invoke-virtual {v0}, Lcom/badlogic/gdx/graphics/g2d/TextureRegion;->k()Lcom/badlogic/gdx/graphics/Texture; move-result-object v0 const/16 v1, 0x14 const/4 v2, 0x0 invoke-interface {v7, v0, v10, v2, v1}, Lcom/badlogic/gdx/graphics/g2d/Batch;->a(Lcom/badlogic/gdx/graphics/Texture;[FII)V move-object/from16 v4, v24 goto :goto_6 :cond_6 move-object/from16 v24, v2 move/from16 v17, v3 move/from16 v18, v5 move/from16 v20, v14 const/4 v2, 0x0 .line 109 instance-of v3, v0, Lcom/esotericsoftware/spine/attachments/ClippingAttachment; if-eqz v3, :cond_7 .line 110 iget-object v3, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; check-cast v0, Lcom/esotericsoftware/spine/attachments/ClippingAttachment; move-object/from16 v4, v24 invoke-virtual {v3, v4, v0}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a(Lcom/esotericsoftware/spine/Slot;Lcom/esotericsoftware/spine/attachments/ClippingAttachment;)I goto :goto_7 :cond_7 move-object/from16 v4, v24 .line 113 instance-of v3, v0, Lcom/esotericsoftware/spine/attachments/MeshAttachment; if-nez v3, :cond_9 .line 117 instance-of v3, v0, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment; if-eqz v3, :cond_8 .line 118 check-cast v0, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment; invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment;->b()Lcom/esotericsoftware/spine/Skeleton; move-result-object v0 if-eqz v0, :cond_8 .line 119 invoke-virtual {v6, v7, v0}, Lcom/esotericsoftware/spine/SkeletonRenderer;->a(Lcom/badlogic/gdx/graphics/g2d/Batch;Lcom/esotericsoftware/spine/Skeleton;)V :cond_8 move-object/from16 v16, v1 .line 122 :goto_6 iget-object v0, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v0, v4}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a(Lcom/esotericsoftware/spine/Slot;)V move-object/from16 v1, v16 :goto_7 add-int/lit8 v3, v17, 0x1 move/from16 v5, v18 move/from16 v14, v20 goto/16 :goto_0 .line 114 :cond_9 new-instance v0, Ljava/lang/RuntimeException; new-instance v1, Ljava/lang/StringBuilder; invoke-direct {v1}, Ljava/lang/StringBuilder;->()V invoke-virtual/range {p1 .. p1}, Ljava/lang/Object;->getClass()Ljava/lang/Class; move-result-object v2 invoke-virtual {v2}, Ljava/lang/Class;->getSimpleName()Ljava/lang/String; move-result-object v2 invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; const-string v2, " cannot render meshes, PolygonSpriteBatch or TwoColorPolygonBatch is required." invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder; invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String; move-result-object v1 invoke-direct {v0, v1}, Ljava/lang/RuntimeException;->(Ljava/lang/String;)V throw v0 .line 124 :cond_a iget-object v0, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v0}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a()V if-eqz v8, :cond_b .line 125 invoke-interface {v8}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a()V :cond_b return-void .end method .method public a(Lcom/badlogic/gdx/graphics/g2d/PolygonSpriteBatch;Lcom/esotericsoftware/spine/Skeleton;)V .locals 58 move-object/from16 v6, p0 move-object/from16 v15, p1 move-object/from16 v0, p2 .line 130 iget-object v14, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->f:Lcom/badlogic/gdx/math/Vector2; .line 131 iget-object v13, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->g:Lcom/badlogic/gdx/math/Vector2; .line 132 iget-object v12, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->h:Lcom/badlogic/gdx/graphics/Color; .line 133 iget-object v11, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->i:Lcom/badlogic/gdx/graphics/Color; .line 134 iget-object v10, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->j:Lcom/badlogic/gdx/graphics/Color; .line 135 iget-object v9, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->k:Lcom/badlogic/gdx/graphics/Color; .line 136 iget-object v8, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->e:Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect; if-eqz v8, :cond_0 .line 137 invoke-interface {v8, v0}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a(Lcom/esotericsoftware/spine/Skeleton;)V .line 139 :cond_0 iget-boolean v7, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->b:Z .line 144 iget-object v1, v0, Lcom/esotericsoftware/spine/Skeleton;->k:Lcom/badlogic/gdx/graphics/Color; .line 145 iget v5, v1, Lcom/badlogic/gdx/graphics/Color;->I:F iget v4, v1, Lcom/badlogic/gdx/graphics/Color;->J:F iget v3, v1, Lcom/badlogic/gdx/graphics/Color;->K:F iget v2, v1, Lcom/badlogic/gdx/graphics/Color;->L:F .line 146 iget-object v1, v0, Lcom/esotericsoftware/spine/Skeleton;->d:Lcom/badlogic/gdx/utils/Array; .line 147 iget v0, v1, Lcom/badlogic/gdx/utils/Array;->b:I const/16 v16, 0x0 move-object/from16 v17, v13 move-object/from16 v18, v10 move-object/from16 v19, v16 move-object/from16 v20, v19 move-object/from16 v21, v20 move-object/from16 v23, v21 move-object/from16 v24, v23 const/4 v10, 0x0 const/16 v22, 0x0 :goto_0 if-ge v10, v0, :cond_e .line 148 invoke-virtual {v1, v10}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object; move-result-object v25 move/from16 v33, v10 move-object/from16 v10, v25 check-cast v10, Lcom/esotericsoftware/spine/Slot; .line 150 iget-object v13, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v13}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->b()Z move-result v13 const/16 v25, 0x2 if-eqz v13, :cond_1 move/from16 v34, v0 const/4 v13, 0x2 goto :goto_1 :cond_1 const/4 v13, 0x5 move/from16 v34, v0 .line 151 :goto_1 iget-object v0, v10, Lcom/esotericsoftware/spine/Slot;->e:Lcom/esotericsoftware/spine/attachments/Attachment; move-object/from16 v35, v1 .line 152 instance-of v1, v0, Lcom/esotericsoftware/spine/attachments/RegionAttachment; if-eqz v1, :cond_2 .line 153 check-cast v0, Lcom/esotericsoftware/spine/attachments/RegionAttachment; shl-int/lit8 v1, v13, 0x2 move/from16 v36, v1 .line 155 iget-object v1, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->c:Lcom/badlogic/gdx/utils/FloatArray; iget-object v1, v1, Lcom/badlogic/gdx/utils/FloatArray;->a:[F move-object/from16 v37, v9 .line 156 invoke-virtual {v10}, Lcom/esotericsoftware/spine/Slot;->b()Lcom/esotericsoftware/spine/Bone; move-result-object v9 move-object/from16 v38, v14 const/4 v14, 0x0 invoke-virtual {v0, v9, v1, v14, v13}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->a(Lcom/esotericsoftware/spine/Bone;[FII)V .line 157 sget-object v9, Lcom/esotericsoftware/spine/SkeletonRenderer;->a:[S .line 158 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->c()Lcom/badlogic/gdx/graphics/g2d/TextureRegion; move-result-object v13 invoke-virtual {v13}, Lcom/badlogic/gdx/graphics/g2d/TextureRegion;->k()Lcom/badlogic/gdx/graphics/Texture; move-result-object v13 .line 159 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->d()[F move-result-object v24 .line 160 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/RegionAttachment;->l()Lcom/badlogic/gdx/graphics/Color; move-result-object v19 move-object/from16 v21, v1 move-object v0, v9 move-object/from16 v9, v19 move/from16 v1, v36 goto/16 :goto_2 :cond_2 move-object/from16 v37, v9 move-object/from16 v38, v14 const/4 v14, 0x0 .line 162 instance-of v1, v0, Lcom/esotericsoftware/spine/attachments/MeshAttachment; if-eqz v1, :cond_3 .line 163 check-cast v0, Lcom/esotericsoftware/spine/attachments/MeshAttachment; .line 164 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->i()I move-result v29 shr-int/lit8 v1, v29, 0x1 mul-int v1, v1, v13 .line 166 iget-object v9, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->c:Lcom/badlogic/gdx/utils/FloatArray; invoke-virtual {v9, v1}, Lcom/badlogic/gdx/utils/FloatArray;->c(I)[F move-result-object v9 const/16 v28, 0x0 const/16 v31, 0x0 move-object/from16 v26, v0 move-object/from16 v27, v10 move-object/from16 v30, v9 move/from16 v32, v13 .line 167 invoke-virtual/range {v26 .. v32}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->a(Lcom/esotericsoftware/spine/Slot;II[FII)V .line 168 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->d()[S move-result-object v13 .line 169 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->b()Lcom/badlogic/gdx/graphics/g2d/TextureRegion; move-result-object v19 invoke-virtual/range {v19 .. v19}, Lcom/badlogic/gdx/graphics/g2d/TextureRegion;->k()Lcom/badlogic/gdx/graphics/Texture; move-result-object v19 .line 170 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->e()[F move-result-object v24 .line 171 invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/MeshAttachment;->f()Lcom/badlogic/gdx/graphics/Color; move-result-object v0 move-object/from16 v21, v9 move-object v9, v0 move-object v0, v13 move-object/from16 v13, v19 goto :goto_2 .line 173 :cond_3 instance-of v1, v0, Lcom/esotericsoftware/spine/attachments/ClippingAttachment; if-eqz v1, :cond_4 .line 174 check-cast v0, Lcom/esotericsoftware/spine/attachments/ClippingAttachment; .line 175 iget-object v1, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v1, v10, v0}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a(Lcom/esotericsoftware/spine/Slot;Lcom/esotericsoftware/spine/attachments/ClippingAttachment;)I move/from16 v27, v2 move/from16 v28, v3 move/from16 v29, v5 move v5, v7 move-object v1, v11 move-object v2, v12 move-object/from16 v3, v17 move-object/from16 v0, v18 move/from16 v36, v22 move-object/from16 v30, v23 move/from16 v18, v33 move/from16 v23, v34 move-object/from16 v26, v35 move-object/from16 v32, v37 const/16 v31, 0x0 move-object/from16 v17, v8 move-object/from16 v22, v19 move/from16 v19, v4 move-object/from16 v4, v38 goto/16 :goto_9 .line 178 :cond_4 instance-of v1, v0, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment; if-eqz v1, :cond_5 .line 179 check-cast v0, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment; invoke-virtual {v0}, Lcom/esotericsoftware/spine/attachments/SkeletonAttachment;->b()Lcom/esotericsoftware/spine/Skeleton; move-result-object v0 if-eqz v0, :cond_5 .line 180 invoke-virtual {v6, v15, v0}, Lcom/esotericsoftware/spine/SkeletonRenderer;->a(Lcom/badlogic/gdx/graphics/g2d/PolygonSpriteBatch;Lcom/esotericsoftware/spine/Skeleton;)V :cond_5 move-object/from16 v13, v16 move-object/from16 v9, v19 move/from16 v1, v22 move-object/from16 v0, v23 :goto_2 if-eqz v13, :cond_d .line 184 invoke-virtual {v10}, Lcom/esotericsoftware/spine/Slot;->d()Lcom/badlogic/gdx/graphics/Color; move-result-object v14 move-object/from16 v48, v11 .line 185 iget v11, v14, Lcom/badlogic/gdx/graphics/Color;->L:F mul-float v11, v11, v2 move/from16 v49, v2 iget v2, v9, Lcom/badlogic/gdx/graphics/Color;->L:F mul-float v11, v11, v2 const/high16 v2, 0x437f0000 # 255.0f mul-float v11, v11, v2 if-eqz v7, :cond_6 move v2, v11 move/from16 v50, v2 goto :goto_3 :cond_6 move/from16 v50, v11 .line 188 :goto_3 iget-object v11, v10, Lcom/esotericsoftware/spine/Slot;->a:Lcom/esotericsoftware/spine/SlotData; invoke-virtual {v11}, Lcom/esotericsoftware/spine/SlotData;->b()Lcom/esotericsoftware/spine/BlendMode; move-result-object v11 move-object/from16 v51, v10 move-object/from16 v10, v20 if-eq v11, v10, :cond_8 .line 190 sget-object v10, Lcom/esotericsoftware/spine/BlendMode;->additive:Lcom/esotericsoftware/spine/BlendMode; if-ne v11, v10, :cond_7 if-eqz v7, :cond_7 .line 191 sget-object v11, Lcom/esotericsoftware/spine/BlendMode;->normal:Lcom/esotericsoftware/spine/BlendMode; const/4 v10, 0x0 const/16 v50, 0x0 .line 195 :cond_7 invoke-virtual {v11, v7}, Lcom/esotericsoftware/spine/BlendMode;->getSource(Z)I move-result v10 move/from16 v52, v7 invoke-virtual {v11}, Lcom/esotericsoftware/spine/BlendMode;->getDest()I move-result v7 invoke-virtual {v15, v10, v7}, Lcom/badlogic/gdx/graphics/g2d/PolygonSpriteBatch;->a(II)V move-object/from16 v20, v11 goto :goto_4 :cond_8 move/from16 v52, v7 move-object/from16 v20, v10 :goto_4 move/from16 v7, v50 float-to-int v7, v7 shl-int/lit8 v7, v7, 0x18 .line 198 iget v10, v14, Lcom/badlogic/gdx/graphics/Color;->K:F mul-float v10, v10, v3 iget v11, v9, Lcom/badlogic/gdx/graphics/Color;->K:F mul-float v10, v10, v11 mul-float v10, v10, v2 float-to-int v10, v10 shl-int/lit8 v10, v10, 0x10 or-int/2addr v7, v10 iget v10, v14, Lcom/badlogic/gdx/graphics/Color;->J:F mul-float v10, v10, v4 iget v11, v9, Lcom/badlogic/gdx/graphics/Color;->J:F mul-float v10, v10, v11 mul-float v10, v10, v2 float-to-int v10, v10 shl-int/lit8 v10, v10, 0x8 or-int/2addr v7, v10 iget v10, v14, Lcom/badlogic/gdx/graphics/Color;->I:F mul-float v10, v10, v5 iget v11, v9, Lcom/badlogic/gdx/graphics/Color;->I:F mul-float v10, v10, v11 mul-float v10, v10, v2 float-to-int v2, v10 or-int/2addr v2, v7 invoke-static {v2}, Lcom/badlogic/gdx/utils/NumberUtils;->a(I)F move-result v7 .line 203 iget-object v2, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v2}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->b()Z move-result v2 if-eqz v2, :cond_a .line 204 iget-object v2, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; array-length v10, v0 const/16 v46, 0x0 const/16 v47, 0x0 move-object/from16 v39, v2 move-object/from16 v40, v21 move/from16 v41, v1 move-object/from16 v42, v0 move/from16 v43, v10 move-object/from16 v44, v24 move/from16 v45, v7 invoke-virtual/range {v39 .. v47}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a([FI[SI[FFFZ)V .line 205 iget-object v2, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v2}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->c()Lcom/badlogic/gdx/utils/FloatArray; move-result-object v10 .line 206 iget-object v2, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v2}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->d()Lcom/badlogic/gdx/utils/ShortArray; move-result-object v11 if-eqz v8, :cond_9 .line 207 iget-object v2, v10, Lcom/badlogic/gdx/utils/FloatArray;->a:[F iget v14, v10, Lcom/badlogic/gdx/utils/FloatArray;->b:I const/16 v19, 0x5 const/16 v22, 0x0 move-object/from16 v53, v0 move/from16 v23, v34 move-object/from16 v0, p0 move/from16 v54, v1 move-object/from16 v26, v35 move-object v1, v2 move/from16 v27, v49 move v2, v14 move/from16 v28, v3 move/from16 v3, v19 move/from16 v19, v4 move v4, v7 move/from16 v29, v5 move/from16 v5, v22 invoke-direct/range {v0 .. v5}, Lcom/esotericsoftware/spine/SkeletonRenderer;->a([FIIFF)V goto :goto_5 :cond_9 move-object/from16 v53, v0 move/from16 v54, v1 move/from16 v28, v3 move/from16 v19, v4 move/from16 v29, v5 move/from16 v23, v34 move-object/from16 v26, v35 move/from16 v27, v49 .line 208 :goto_5 iget-object v0, v10, Lcom/badlogic/gdx/utils/FloatArray;->a:[F const/4 v1, 0x0 iget v2, v10, Lcom/badlogic/gdx/utils/FloatArray;->b:I iget-object v3, v11, Lcom/badlogic/gdx/utils/ShortArray;->a:[S const/4 v4, 0x0 iget v14, v11, Lcom/badlogic/gdx/utils/ShortArray;->b:I move/from16 v5, v52 move-object/from16 v7, p1 move-object v11, v8 move-object v8, v13 move-object/from16 v22, v9 move-object/from16 v13, v37 move-object v9, v0 move-object/from16 v0, v18 move/from16 v18, v33 move-object/from16 v55, v51 move v10, v1 move-object/from16 v56, v11 move-object/from16 v1, v48 move v11, v2 move-object v2, v12 move-object v12, v3 move-object/from16 v57, v13 move-object/from16 v3, v17 move v13, v4 move-object/from16 v4, v38 invoke-virtual/range {v7 .. v14}, Lcom/badlogic/gdx/graphics/g2d/PolygonSpriteBatch;->a(Lcom/badlogic/gdx/graphics/Texture;[FII[SII)V move-object/from16 v30, v53 move/from16 v36, v54 move-object/from16 v17, v56 move-object/from16 v32, v57 const/16 v31, 0x0 goto/16 :goto_8 :cond_a move-object/from16 v53, v0 move/from16 v54, v1 move/from16 v28, v3 move/from16 v19, v4 move/from16 v29, v5 move-object v14, v8 move-object/from16 v22, v9 move-object v2, v12 move-object/from16 v3, v17 move-object/from16 v0, v18 move/from16 v18, v33 move/from16 v23, v34 move-object/from16 v26, v35 move-object/from16 v57, v37 move-object/from16 v4, v38 move-object/from16 v1, v48 move/from16 v27, v49 move-object/from16 v55, v51 move/from16 v5, v52 if-eqz v14, :cond_b .line 212 invoke-static {v7}, Lcom/badlogic/gdx/utils/NumberUtils;->c(F)I move-result v7 invoke-virtual {v0, v7}, Lcom/badlogic/gdx/graphics/Color;->a(I)Lcom/badlogic/gdx/graphics/Color; move-object/from16 v12, v57 const/4 v11, 0x0 .line 213 invoke-virtual {v12, v11}, Lcom/badlogic/gdx/graphics/Color;->a(I)Lcom/badlogic/gdx/graphics/Color; move/from16 v10, v54 const/4 v7, 0x0 const/4 v8, 0x0 :goto_6 if-ge v7, v10, :cond_c .line 215 aget v9, v21, v7 iput v9, v4, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 v9, v7, 0x1 .line 216 aget v11, v21, v9 iput v11, v4, Lcom/badlogic/gdx/math/Vector2;->y:F .line 217 invoke-virtual {v2, v0}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 218 invoke-virtual {v1, v12}, Lcom/badlogic/gdx/graphics/Color;->a(Lcom/badlogic/gdx/graphics/Color;)Lcom/badlogic/gdx/graphics/Color; .line 219 aget v11, v24, v8 iput v11, v3, Lcom/badlogic/gdx/math/Vector2;->x:F add-int/lit8 v11, v8, 0x1 .line 220 aget v11, v24, v11 iput v11, v3, Lcom/badlogic/gdx/math/Vector2;->y:F .line 221 invoke-interface {v14, v4, v3, v2, v1}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a(Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/math/Vector2;Lcom/badlogic/gdx/graphics/Color;Lcom/badlogic/gdx/graphics/Color;)V .line 222 iget v11, v4, Lcom/badlogic/gdx/math/Vector2;->x:F aput v11, v21, v7 .line 223 iget v11, v4, Lcom/badlogic/gdx/math/Vector2;->y:F aput v11, v21, v9 add-int/lit8 v9, v7, 0x2 .line 224 invoke-virtual {v2}, Lcom/badlogic/gdx/graphics/Color;->b()F move-result v11 aput v11, v21, v9 add-int/lit8 v9, v7, 0x3 .line 225 iget v11, v3, Lcom/badlogic/gdx/math/Vector2;->x:F aput v11, v21, v9 add-int/lit8 v9, v7, 0x4 .line 226 iget v11, v3, Lcom/badlogic/gdx/math/Vector2;->y:F aput v11, v21, v9 add-int/lit8 v7, v7, 0x5 add-int/lit8 v8, v8, 0x2 const/4 v11, 0x0 goto :goto_6 :cond_b move/from16 v10, v54 move-object/from16 v12, v57 const/4 v8, 0x2 const/4 v9, 0x0 :goto_7 if-ge v8, v10, :cond_c .line 230 aput v7, v21, v8 add-int/lit8 v11, v8, 0x1 .line 231 aget v17, v24, v9 aput v17, v21, v11 add-int/lit8 v11, v8, 0x2 add-int/lit8 v17, v9, 0x1 .line 232 aget v17, v24, v17 aput v17, v21, v11 add-int/lit8 v8, v8, 0x5 add-int/lit8 v9, v9, 0x2 goto :goto_7 :cond_c const/4 v11, 0x0 const/16 v17, 0x0 move-object/from16 v9, v53 .line 235 array-length v8, v9 move-object/from16 v7, p1 move/from16 v25, v8 move-object v8, v13 move-object/from16 v30, v9 move-object/from16 v9, v21 move/from16 v36, v10 move v10, v11 const/16 v31, 0x0 move/from16 v11, v36 move-object/from16 v32, v12 move-object/from16 v12, v30 move/from16 v13, v17 move-object/from16 v17, v14 move/from16 v14, v25 invoke-virtual/range {v7 .. v14}, Lcom/badlogic/gdx/graphics/g2d/PolygonSpriteBatch;->a(Lcom/badlogic/gdx/graphics/Texture;[FII[SII)V goto :goto_8 :cond_d move-object/from16 v30, v0 move/from16 v36, v1 move/from16 v27, v2 move/from16 v28, v3 move/from16 v19, v4 move/from16 v29, v5 move v5, v7 move-object/from16 v22, v9 move-object/from16 v55, v10 move-object v1, v11 move-object v2, v12 move-object/from16 v3, v17 move-object/from16 v0, v18 move-object/from16 v10, v20 move/from16 v18, v33 move/from16 v23, v34 move-object/from16 v26, v35 move-object/from16 v32, v37 move-object/from16 v4, v38 const/16 v31, 0x0 move-object/from16 v17, v8 .line 239 :goto_8 iget-object v7, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; move-object/from16 v8, v55 invoke-virtual {v7, v8}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a(Lcom/esotericsoftware/spine/Slot;)V :goto_9 add-int/lit8 v10, v18, 0x1 move-object/from16 v18, v0 move-object v11, v1 move-object v12, v2 move-object v14, v4 move v7, v5 move-object/from16 v8, v17 move/from16 v4, v19 move-object/from16 v19, v22 move/from16 v0, v23 move-object/from16 v1, v26 move/from16 v2, v27 move/from16 v5, v29 move-object/from16 v23, v30 move-object/from16 v9, v32 move/from16 v22, v36 move-object/from16 v17, v3 move/from16 v3, v28 goto/16 :goto_0 :cond_e move-object/from16 v17, v8 .line 241 iget-object v0, v6, Lcom/esotericsoftware/spine/SkeletonRenderer;->d:Lcom/esotericsoftware/spine/utils/SkeletonClipping; invoke-virtual {v0}, Lcom/esotericsoftware/spine/utils/SkeletonClipping;->a()V if-eqz v17, :cond_f .line 242 invoke-interface/range {v17 .. v17}, Lcom/esotericsoftware/spine/SkeletonRenderer$VertexEffect;->a()V :cond_f return-void .end method .method public a(Z)V .locals 0 .line 422 iput-boolean p1, p0, Lcom/esotericsoftware/spine/SkeletonRenderer;->b:Z return-void .end method