# UI_Window_Setting_BadgeView_566.luac
; fn @BadgeView.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='BadgeView'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnEnable'
;   K[4]='PlayAppearAnimation'
;   K[5]='SetSelected'
;   K[6]='SetColor'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BadgeView')] = R0
0002  GETTABUP  R0 = _ENV[K0('BadgeView')]
0003  GETTABUP  R1 = _ENV[K0('BadgeView')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BadgeView')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('BadgeView')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnEnable')] = R1
0011  GETTABUP  R0 = _ENV[K0('BadgeView')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('PlayAppearAnimation')] = R1
0014  GETTABUP  R0 = _ENV[K0('BadgeView')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('SetSelected')] = R1
0017  GETTABUP  R0 = _ENV[K0('BadgeView')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('SetColor')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-15 np=3 va=0 ms=7 code=16 consts=7 upvals=0 protos=0
  ;   K[0]='m_spine'
  ;   K[1]='Init'
  ;   K[2]='bWithAppearAnimation'
  ;   K[3]='appearOnce'
  ;   K[4]='PlayAppearAnimation'
  ;   K[5]='SetAnimation'
  ;   K[6]='idle'
  ;   locals: self(0-16), bWithAppearAnimation(0-16), appearOnce(0-16)
  0000  GETTABLE  R3 = R0[K0('m_spine')]
  0001  SELF      R4 = R3[K1('Init')] (self)
  0002  CALL      R3 = call(R3, 0 args, 1 rets)
  0003  SETTABLE  R0[K2('bWithAppearAnimation')] = R1
  0004  SETTABLE  R0[K3('appearOnce')] = R2
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  SELF      R4 = R0[K4('PlayAppearAnimation')] (self)
  0008  CALL      R3 = call(R3, 0 args, 1 rets)
  0009  JMP       (jump)   -> 15
  0010  GETTABLE  R3 = R0[K0('m_spine')]
  0011  SELF      R4 = R3[K5('SetAnimation')] (self)
  0012  LOADK     R5 = K6 'idle'
  0013  LOADBOOL  R6 = true
  0014  CALL      R3 = call(R3, 0 args, 3 rets)
  0015  RETURN    return R0..R-1
; ---------- proto1 [OnEnable] ----------
  ; fn ?  line 17-21 np=1 va=0 ms=3 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='bWithAppearAnimation'
  ;   K[1]='appearOnce'
  ;   K[2]='PlayAppearAnimation'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('bWithAppearAnimation')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K1('appearOnce')]
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 8
  0006  SELF      R2 = R0[K2('PlayAppearAnimation')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto2 [PlayAppearAnimation] ----------
  ; fn ?  line 23-26 np=1 va=0 ms=5 code=11 consts=5 upvals=0 protos=0
  ;   K[0]='m_spine'
  ;   K[1]='SetAnimation'
  ;   K[2]='appear'
  ;   K[3]='AddAnimation'
  ;   K[4]='idle'
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_spine')]
  0001  SELF      R2 = R1[K1('SetAnimation')] (self)
  0002  LOADK     R3 = K2 'appear'
  0003  LOADBOOL  R4 = false
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  GETTABLE  R1 = R0[K0('m_spine')]
  0006  SELF      R2 = R1[K3('AddAnimation')] (self)
  0007  LOADK     R3 = K4 'idle'
  0008  LOADBOOL  R4 = true
  0009  CALL      R1 = call(R1, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
; ---------- proto3 [SetSelected] ----------
  ; fn ?  line 28-30 np=2 va=0 ms=6 code=11 consts=4 upvals=0 protos=0
  ;   K[0]='m_spine'
  ;   K[1]='SetAnimation'
  ;   K[2]='idle1'
  ;   K[3]='idle'
  ;   locals: self(0-11), selected(0-11)
  0000  GETTABLE  R2 = R0[K0('m_spine')]
  0001  SELF      R3 = R2[K1('SetAnimation')] (self)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  LOADK     R4 = K2 'idle1'
  0005  TEST      if not R4 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R4 = K3 'idle'
  0008  LOADBOOL  R5 = true
  0009  CALL      R2 = call(R2, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
; ---------- proto4 [SetColor] ----------
  ; fn ?  line 32-34 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_spine'
  ;   K[1]='SetColor'
  ;   locals: self(0-5), color(0-5)
  0000  GETTABLE  R2 = R0[K0('m_spine')]
  0001  SELF      R3 = R2[K1('SetColor')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
