# UI_Animation_FlyElement_237.luac
; fn @FlyElement.lua  line 0-0 np=0 va=1 ms=3 code=31 consts=10 upvals=1 protos=5
;   K[0]='FlyElement'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnEnable'
;   K[4]='Vector'
;   K[5]='Create'
;   K[6]=80
;   K[7]='SetImageSprite'
;   K[8]='SetPropertyLabel'
;   K[9]='FloatLabel'
;   upvals: _ENV
;   locals: FLY_ELEMENT_SIZE(16-31)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('FlyElement')] = R0
0002  GETTABUP  R0 = _ENV[K0('FlyElement')]
0003  GETTABUP  R1 = _ENV[K0('FlyElement')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('FlyElement')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('FlyElement')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnEnable')] = R1
0011  GETTABUP  R0 = _ENV[K4('Vector')]
0012  GETTABLE  R0 = R0[K5('Create')]
0013  LOADK     R1 = K6 80
0014  LOADK     R2 = K6 80
0015  CALL      R0 = call(R0, 1 args, 2 rets)
0016  GETTABUP  R1 = _ENV[K0('FlyElement')]
0017  CLOSURE   R2 = closure proto2
0018  SETTABLE  R1[K7('SetImageSprite')] = R2
0019  GETTABUP  R1 = _ENV[K0('FlyElement')]
0020  CLOSURE   R2 = closure proto3
0021  SETTABLE  R1[K8('SetPropertyLabel')] = R2
0022  NEWTABLE  R1 = {} (0 items)
0023  SETTABUP  _ENV[K9('FloatLabel')] = R1
0024  GETTABUP  R1 = _ENV[K9('FloatLabel')]
0025  GETTABUP  R2 = _ENV[K9('FloatLabel')]
0026  SETTABLE  R1[K1('__index')] = R2
0027  GETTABUP  R1 = _ENV[K9('FloatLabel')]
0028  CLOSURE   R2 = closure proto4
0029  SETTABLE  R1[K3('OnEnable')] = R2
0030  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-9 np=4 va=0 ms=8 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='SetImageSprite'
  ;   K[1]='SetPropertyLabel'
  ;   locals: self(0-8), spriteKey(0-8), floatLabel(0-8), forItem(0-8)
  0000  SELF      R5 = R0[K0('SetImageSprite')] (self)
  0001  MOVE      R6 = R0
  0002  MOVE      R7 = R0
  0003  CALL      R4 = call(R4, 0 args, 3 rets)
  0004  SELF      R5 = R0[K1('SetPropertyLabel')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto1 [OnEnable] ----------
  ; fn ?  line 11-13 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='LayoutRebuilder'
  ;   K[1]='ForceRebuildLayoutImmediate'
  ;   K[2]='transform'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('LayoutRebuilder')]
  0001  GETTABLE  R1 = R1[K1('ForceRebuildLayoutImmediate')]
  0002  GETTABLE  R2 = R0[K2('transform')]
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [SetImageSprite] ----------
  ; fn ?  line 17-30 np=3 va=0 ms=9 code=22 consts=11 upvals=2 protos=1
  ;   K[0]='m_image'
  ;   K[1]='enabled'
  ;   K[2]=false
  ;   K[3]=nil
  ;   K[4]='UIUtil'
  ;   K[5]='SetSizeDelta'
  ;   K[6]='transform'
  ;   K[7]='x'
  ;   K[8]='y'
  ;   K[9]='SpriteUtil'
  ;   K[10]='SetImage'
  ;   upvals: _ENV, FLY_ELEMENT_SIZE
  ;   locals: self(0-22), spriteKey(0-22), forItem(0-22), setNativeSize(5-21)
  0000  GETTABLE  R3 = R0[K0('m_image')]
  0001  SETTABLE  R3[K1('enabled')] = K2(false)
  0002  EQ        if R1 eq K3(nil)   -> -130297
  0003  JMP       (jump)   -> 21
  0004  MOVE      R3 = R0
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 14
  0007  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0008  GETTABLE  R4 = R4[K5('SetSizeDelta')]
  0009  GETTABLE  R5 = R0[K0('m_image')]
  0010  GETTABLE  R5 = R5[K6('transform')]
  0011  GETTABUP  R6 = FLY_ELEMENT_SIZE[K7('x')]
  0012  GETTABUP  R7 = FLY_ELEMENT_SIZE[K8('y')]
  0013  CALL      R4 = call(R4, 0 args, 3 rets)
  0014  GETTABUP  R4 = _ENV[K9('SpriteUtil')]
  0015  GETTABLE  R4 = R4[K10('SetImage')]
  0016  GETTABLE  R5 = R0[K0('m_image')]
  0017  MOVE      R6 = R0
  0018  MOVE      R7 = R0
  0019  CLOSURE   R8 = closure proto0
  0020  CALL      R4 = call(R4, 0 args, 4 rets)
  0021  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 24-28 np=0 va=0 ms=2 code=8 consts=4 upvals=1 protos=0
    ;   K[0]='m_image'
    ;   K[1]='IsNull'
    ;   K[2]='enabled'
    ;   K[3]=true
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_image')]
    0001  SELF      R1 = R0[K1('IsNull')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 7
    0005  GETTABUP  R0 = self[K0('m_image')]
    0006  SETTABLE  R0[K2('enabled')] = K3(true)
    0007  RETURN    return R0..R-1
; ---------- proto3 [SetPropertyLabel] ----------
  ; fn ?  line 43-57 np=2 va=0 ms=5 code=48 consts=22 upvals=1 protos=0
  ;   K[0]='m_label'
  ;   K[1]='text'
  ;   K[2]='m_shadow'
  ;   K[3]='effectColor'
  ;   K[4]='shadowColor'
  ;   K[5]='effectDistance'
  ;   K[6]='shadowDis'
  ;   K[7]='m_outline'
  ;   K[8]='outlineColor'
  ;   K[9]='outlineDis'
  ;   K[10]='color'
  ;   K[11]='textColor'
  ;   K[12]='fontSize'
  ;   K[13]='size'
  ;   K[14]='UIUtil'
  ;   K[15]='SetActive'
  ;   K[16]='gameObject'
  ;   K[17]='transform'
  ;   K[18]='SetSiblingIndex'
  ;   K[19]='bRight'
  ;   K[20]=1
  ;   K[21]=0
  ;   upvals: _ENV
  ;   locals: self(0-48), floatLabel(0-48)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 41
  0002  GETTABLE  R2 = R0[K0('m_label')]
  0003  GETTABLE  R3 = R1[K1('text')]
  0004  SETTABLE  R2[K1('text')] = R3
  0005  GETTABLE  R2 = R0[K2('m_shadow')]
  0006  GETTABLE  R3 = R1[K4('shadowColor')]
  0007  SETTABLE  R2[K3('effectColor')] = R3
  0008  GETTABLE  R2 = R0[K2('m_shadow')]
  0009  GETTABLE  R3 = R1[K6('shadowDis')]
  0010  SETTABLE  R2[K5('effectDistance')] = R3
  0011  GETTABLE  R2 = R0[K7('m_outline')]
  0012  GETTABLE  R3 = R1[K8('outlineColor')]
  0013  SETTABLE  R2[K3('effectColor')] = R3
  0014  GETTABLE  R2 = R0[K7('m_outline')]
  0015  GETTABLE  R3 = R1[K9('outlineDis')]
  0016  SETTABLE  R2[K5('effectDistance')] = R3
  0017  GETTABLE  R2 = R0[K0('m_label')]
  0018  GETTABLE  R3 = R1[K11('textColor')]
  0019  SETTABLE  R2[K10('color')] = R3
  0020  GETTABLE  R2 = R0[K0('m_label')]
  0021  GETTABLE  R3 = R1[K13('size')]
  0022  SETTABLE  R2[K12('fontSize')] = R3
  0023  GETTABUP  R2 = _ENV[K14('UIUtil')]
  0024  GETTABLE  R2 = R2[K15('SetActive')]
  0025  GETTABLE  R3 = R0[K0('m_label')]
  0026  GETTABLE  R3 = R3[K16('gameObject')]
  0027  LOADBOOL  R4 = true
  0028  CALL      R2 = call(R2, 0 args, 2 rets)
  0029  GETTABLE  R2 = R0[K0('m_label')]
  0030  GETTABLE  R2 = R2[K17('transform')]
  0031  SELF      R3 = R2[K18('SetSiblingIndex')] (self)
  0032  GETTABLE  R4 = R1[K19('bRight')]
  0033  TEST      if not R4 then   -> -131037
  0034  JMP       (jump)   -> 38
  0035  LOADK     R4 = K20 1
  0036  TEST      if not R4 then   -> -131033
  0037  JMP       (jump)   -> 39
  0038  LOADK     R4 = K21 0
  0039  CALL      R2 = call(R2, 0 args, 2 rets)
  0040  JMP       (jump)   -> 47
  0041  GETTABUP  R2 = _ENV[K14('UIUtil')]
  0042  GETTABLE  R2 = R2[K15('SetActive')]
  0043  GETTABLE  R3 = R0[K0('m_label')]
  0044  GETTABLE  R3 = R3[K16('gameObject')]
  0045  LOADBOOL  R4 = false
  0046  CALL      R2 = call(R2, 0 args, 2 rets)
  0047  RETURN    return R0..R-1
; ---------- proto4 [OnEnable] ----------
  ; fn ?  line 63-65 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='LayoutRebuilder'
  ;   K[1]='ForceRebuildLayoutImmediate'
  ;   K[2]='transform'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('LayoutRebuilder')]
  0001  GETTABLE  R1 = R1[K1('ForceRebuildLayoutImmediate')]
  0002  GETTABLE  R2 = R0[K2('transform')]
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
