245 lines
6.0 KiB
Smali
245 lines
6.0 KiB
Smali
.class public Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;
|
|
.super Ljava/lang/Object;
|
|
.source "Animation.java"
|
|
|
|
# interfaces
|
|
.implements Lcom/esotericsoftware/spine/Animation$Timeline;
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/esotericsoftware/spine/Animation;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x9
|
|
name = "AttachmentTimeline"
|
|
.end annotation
|
|
|
|
|
|
# instance fields
|
|
.field a:I
|
|
|
|
.field final b:[F
|
|
|
|
.field final c:[Ljava/lang/String;
|
|
|
|
|
|
# direct methods
|
|
.method public constructor <init>(I)V
|
|
.locals 1
|
|
|
|
.line 793
|
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
|
|
|
.line 794
|
|
new-array v0, p1, [F
|
|
|
|
iput-object v0, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->b:[F
|
|
|
|
.line 795
|
|
new-array p1, p1, [Ljava/lang/String;
|
|
|
|
iput-object p1, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->c:[Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
|
|
# virtual methods
|
|
.method public a()I
|
|
.locals 2
|
|
|
|
.line 799
|
|
sget-object v0, Lcom/esotericsoftware/spine/Animation$TimelineType;->attachment:Lcom/esotericsoftware/spine/Animation$TimelineType;
|
|
|
|
invoke-virtual {v0}, Lcom/esotericsoftware/spine/Animation$TimelineType;->ordinal()I
|
|
|
|
move-result v0
|
|
|
|
shl-int/lit8 v0, v0, 0x18
|
|
|
|
iget v1, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->a:I
|
|
|
|
add-int/2addr v0, v1
|
|
|
|
return v0
|
|
.end method
|
|
|
|
.method public a(IFLjava/lang/String;)V
|
|
.locals 1
|
|
|
|
.line 829
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->b:[F
|
|
|
|
aput p2, v0, p1
|
|
|
|
.line 830
|
|
iget-object p2, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->c:[Ljava/lang/String;
|
|
|
|
aput-object p3, p2, p1
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public a(Lcom/esotericsoftware/spine/Skeleton;FFLcom/badlogic/gdx/utils/Array;FLcom/esotericsoftware/spine/Animation$MixPose;Lcom/esotericsoftware/spine/Animation$MixDirection;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(",
|
|
"Lcom/esotericsoftware/spine/Skeleton;",
|
|
"FF",
|
|
"Lcom/badlogic/gdx/utils/Array<",
|
|
"Lcom/esotericsoftware/spine/Event;",
|
|
">;F",
|
|
"Lcom/esotericsoftware/spine/Animation$MixPose;",
|
|
"Lcom/esotericsoftware/spine/Animation$MixDirection;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 836
|
|
iget-object p2, p1, Lcom/esotericsoftware/spine/Skeleton;->c:Lcom/badlogic/gdx/utils/Array;
|
|
|
|
iget p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->a:I
|
|
|
|
invoke-virtual {p2, p4}, Lcom/badlogic/gdx/utils/Array;->a(I)Ljava/lang/Object;
|
|
|
|
move-result-object p2
|
|
|
|
check-cast p2, Lcom/esotericsoftware/spine/Slot;
|
|
|
|
.line 837
|
|
sget-object p4, Lcom/esotericsoftware/spine/Animation$MixDirection;->out:Lcom/esotericsoftware/spine/Animation$MixDirection;
|
|
|
|
const/4 p5, 0x0
|
|
|
|
if-ne p7, p4, :cond_1
|
|
|
|
sget-object p4, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
if-ne p6, p4, :cond_1
|
|
|
|
.line 838
|
|
iget-object p3, p2, Lcom/esotericsoftware/spine/Slot;->a:Lcom/esotericsoftware/spine/SlotData;
|
|
|
|
iget-object p3, p3, Lcom/esotericsoftware/spine/SlotData;->f:Ljava/lang/String;
|
|
|
|
if-nez p3, :cond_0
|
|
|
|
goto :goto_0
|
|
|
|
.line 839
|
|
:cond_0
|
|
iget p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->a:I
|
|
|
|
invoke-virtual {p1, p4, p3}, Lcom/esotericsoftware/spine/Skeleton;->a(ILjava/lang/String;)Lcom/esotericsoftware/spine/attachments/Attachment;
|
|
|
|
move-result-object p5
|
|
|
|
:goto_0
|
|
invoke-virtual {p2, p5}, Lcom/esotericsoftware/spine/Slot;->a(Lcom/esotericsoftware/spine/attachments/Attachment;)V
|
|
|
|
return-void
|
|
|
|
.line 843
|
|
:cond_1
|
|
iget-object p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->b:[F
|
|
|
|
const/4 p7, 0x0
|
|
|
|
.line 844
|
|
aget p7, p4, p7
|
|
|
|
cmpg-float p7, p3, p7
|
|
|
|
if-gez p7, :cond_4
|
|
|
|
.line 845
|
|
sget-object p3, Lcom/esotericsoftware/spine/Animation$MixPose;->setup:Lcom/esotericsoftware/spine/Animation$MixPose;
|
|
|
|
if-ne p6, p3, :cond_3
|
|
|
|
.line 846
|
|
iget-object p3, p2, Lcom/esotericsoftware/spine/Slot;->a:Lcom/esotericsoftware/spine/SlotData;
|
|
|
|
iget-object p3, p3, Lcom/esotericsoftware/spine/SlotData;->f:Ljava/lang/String;
|
|
|
|
if-nez p3, :cond_2
|
|
|
|
goto :goto_1
|
|
|
|
.line 847
|
|
:cond_2
|
|
iget p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->a:I
|
|
|
|
invoke-virtual {p1, p4, p3}, Lcom/esotericsoftware/spine/Skeleton;->a(ILjava/lang/String;)Lcom/esotericsoftware/spine/attachments/Attachment;
|
|
|
|
move-result-object p5
|
|
|
|
:goto_1
|
|
invoke-virtual {p2, p5}, Lcom/esotericsoftware/spine/Slot;->a(Lcom/esotericsoftware/spine/attachments/Attachment;)V
|
|
|
|
:cond_3
|
|
return-void
|
|
|
|
.line 853
|
|
:cond_4
|
|
array-length p6, p4
|
|
|
|
add-int/lit8 p6, p6, -0x1
|
|
|
|
aget p6, p4, p6
|
|
|
|
cmpl-float p6, p3, p6
|
|
|
|
if-ltz p6, :cond_5
|
|
|
|
.line 854
|
|
array-length p3, p4
|
|
|
|
add-int/lit8 p3, p3, -0x1
|
|
|
|
goto :goto_2
|
|
|
|
.line 856
|
|
:cond_5
|
|
invoke-static {p4, p3}, Lcom/esotericsoftware/spine/Animation;->a([FF)I
|
|
|
|
move-result p3
|
|
|
|
add-int/lit8 p3, p3, -0x1
|
|
|
|
.line 858
|
|
:goto_2
|
|
iget-object p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->c:[Ljava/lang/String;
|
|
|
|
aget-object p3, p4, p3
|
|
|
|
if-nez p3, :cond_6
|
|
|
|
goto :goto_3
|
|
|
|
.line 859
|
|
:cond_6
|
|
iget p4, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->a:I
|
|
|
|
invoke-virtual {p1, p4, p3}, Lcom/esotericsoftware/spine/Skeleton;->a(ILjava/lang/String;)Lcom/esotericsoftware/spine/attachments/Attachment;
|
|
|
|
move-result-object p5
|
|
|
|
:goto_3
|
|
invoke-virtual {p2, p5}, Lcom/esotericsoftware/spine/Slot;->a(Lcom/esotericsoftware/spine/attachments/Attachment;)V
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method public b()[F
|
|
.locals 1
|
|
|
|
.line 819
|
|
iget-object v0, p0, Lcom/esotericsoftware/spine/Animation$AttachmentTimeline;->b:[F
|
|
|
|
return-object v0
|
|
.end method
|