# CrownLevelUp_View_CrownLevelUpProgressBox_1271.luac
; fn @CrownLevelUpProgressBox.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=9 upvals=1 protos=7
;   K[0]='CrownLevelUpProgressBox'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='ShowLightEffect'
;   K[5]='HideLightEffect'
;   K[6]='OnBtnClicked'
;   K[7]='SkipAnim'
;   K[8]='GetTipRootPos'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('CrownLevelUpProgressBox')] = R0
0002  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0003  GETTABUP  R1 = _ENV[K0('CrownLevelUpProgressBox')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('ShowLightEffect')] = R1
0014  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('HideLightEffect')] = R1
0017  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnBtnClicked')] = R1
0020  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('SkipAnim')] = R1
0023  GETTABUP  R0 = _ENV[K0('CrownLevelUpProgressBox')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('GetTipRootPos')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-20 np=6 va=0 ms=9 code=29 consts=12 upvals=1 protos=0
  ;   K[0]='m_window'
  ;   K[1]='m_crownId'
  ;   K[2]='m_rewards'
  ;   K[3]='ECrownLevelUpBoxState'
  ;   K[4]='Started'
  ;   K[5]='ShowLightEffect'
  ;   K[6]='Finished'
  ;   K[7]='UIUtil'
  ;   K[8]='SetActive'
  ;   K[9]='m_checkGo'
  ;   K[10]='m_lightEffect'
  ;   K[11]='HideLightEffect'
  ;   upvals: _ENV
  ;   locals: self(0-29), window(0-29), crownId(0-29), rewards(0-29), eCrownLevelUpBoxState(0-29), bShowCheckGo(0-29)
  0000  SETTABLE  R0[K0('m_window')] = R1
  0001  SETTABLE  R0[K1('m_crownId')] = R2
  0002  SETTABLE  R0[K2('m_rewards')] = R3
  0003  GETTABUP  R6 = _ENV[K3('ECrownLevelUpBoxState')]
  0004  GETTABLE  R6 = R6[K4('Started')]
  0005  EQ        if R0 eq R6   -> -129011
  0006  JMP       (jump)   -> 10
  0007  SELF      R7 = R0[K5('ShowLightEffect')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  JMP       (jump)   -> 28
  0010  GETTABUP  R6 = _ENV[K3('ECrownLevelUpBoxState')]
  0011  GETTABLE  R6 = R6[K6('Finished')]
  0012  EQ        if R0 eq R6   -> -129004
  0013  JMP       (jump)   -> 28
  0014  GETTABUP  R6 = _ENV[K7('UIUtil')]
  0015  GETTABLE  R6 = R6[K8('SetActive')]
  0016  GETTABLE  R7 = R0[K9('m_checkGo')]
  0017  MOVE      R8 = R0
  0018  CALL      R6 = call(R6, 0 args, 2 rets)
  0019  TEST      if not R5 then   -> -131050
  0020  JMP       (jump)   -> 28
  0021  GETTABUP  R6 = _ENV[K7('UIUtil')]
  0022  GETTABLE  R6 = R6[K8('SetActive')]
  0023  GETTABLE  R7 = R0[K10('m_lightEffect')]
  0024  LOADBOOL  R8 = true
  0025  CALL      R6 = call(R6, 0 args, 2 rets)
  0026  SELF      R7 = R0[K11('HideLightEffect')] (self)
  0027  CALL      R6 = call(R6, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 22-31 np=1 va=0 ms=3 code=15 consts=4 upvals=0 protos=0
  ;   K[0]='m_showLightSeq'
  ;   K[1]=nil
  ;   K[2]='Kill'
  ;   K[3]='m_hideLightSeq'
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_showLightSeq')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_showLightSeq')]
  0004  SELF      R2 = R1[K2('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_showLightSeq')] = K1(nil)
  0007  GETTABLE  R1 = R0[K3('m_hideLightSeq')]
  0008  EQ        if R1 eq K1(nil)   -> -130293
  0009  JMP       (jump)   -> 14
  0010  GETTABLE  R1 = R0[K3('m_hideLightSeq')]
  0011  SELF      R2 = R1[K2('Kill')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  SETTABLE  R0[K3('m_hideLightSeq')] = K1(nil)
  0014  RETURN    return R0..R-1
; ---------- proto2 [ShowLightEffect] ----------
  ; fn ?  line 33-50 np=1 va=0 ms=9 code=41 consts=21 upvals=1 protos=1
  ;   K[0]='m_lightRect'
  ;   K[1]='localScale'
  ;   K[2]='V3Zero'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='m_lightEffect'
  ;   K[6]='DOTween'
  ;   K[7]='Sequence'
  ;   K[8]='m_showLightSeq'
  ;   K[9]='m_window'
  ;   K[10]='IsAutoPop'
  ;   K[11]='GetCurrentCrownId'
  ;   K[12]=1
  ;   K[13]=2
  ;   K[14]='Append'
  ;   K[15]='DOScale'
  ;   K[16]='V3One'
  ;   K[17]='SetEase'
  ;   K[18]='Ease'
  ;   K[19]='InOutSine'
  ;   K[20]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-41), showLightSeq(11-41), animTime(26-41)
  0000  GETTABLE  R1 = R0[K0('m_lightRect')]
  0001  GETTABUP  R2 = _ENV[K2('V3Zero')]
  0002  SETTABLE  R1[K1('localScale')] = R2
  0003  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0004  GETTABLE  R1 = R1[K4('SetActive')]
  0005  GETTABLE  R2 = R0[K5('m_lightEffect')]
  0006  LOADBOOL  R3 = true
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABUP  R1 = _ENV[K6('DOTween')]
  0009  GETTABLE  R1 = R1[K7('Sequence')]
  0010  CALL      R1 = call(R1, 1 args, 0 rets)
  0011  SETTABLE  R0[K8('m_showLightSeq')] = R1
  0012  GETTABLE  R2 = R0[K9('m_window')]
  0013  SELF      R3 = R2[K10('IsAutoPop')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  TEST      if not R2 then   -> -131055
  0016  JMP       (jump)   -> 25
  0017  GETTABLE  R2 = R0[K9('m_window')]
  0018  SELF      R3 = R2[K11('GetCurrentCrownId')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  EQ        if R1 eq K12(1)   -> -129758
  0021  JMP       (jump)   -> 25
  0022  LOADK     R2 = K13 2
  0023  TEST      if not R2 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  LOADK     R2 = K12 1
  0026  SELF      R4 = R1[K14('Append')] (self)
  0027  GETTABLE  R5 = R0[K0('m_lightRect')]
  0028  SELF      R6 = R5[K15('DOScale')] (self)
  0029  GETTABUP  R7 = _ENV[K16('V3One')]
  0030  MOVE      R8 = R0
  0031  CALL      R5 = call(R5, 1 args, 3 rets)
  0032  SELF      R6 = R5[K17('SetEase')] (self)
  0033  GETTABUP  R7 = _ENV[K18('Ease')]
  0034  GETTABLE  R7 = R7[K19('InOutSine')]
  0035  CALL      R5 = call(R5, -1 args, 2 rets)
  0036  CALL      R3 = call(R3, 0 args, -1 rets)
  0037  SELF      R4 = R1[K20('AppendCallback')] (self)
  0038  CLOSURE   R5 = closure proto0
  0039  CALL      R3 = call(R3, 0 args, 2 rets)
  0040  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 40-49 np=0 va=0 ms=4 code=25 consts=9 upvals=1 protos=0
    ;   K[0]='m_showLightSeq'
    ;   K[1]=nil
    ;   K[2]='m_window'
    ;   K[3]='IsTutorialFinished'
    ;   K[4]='GetCurrentCrownId'
    ;   K[5]='IsAutoPop'
    ;   K[6]=1
    ;   K[7]='GetMaxCrownCount'
    ;   K[8]='ShowTip'
    ;   upvals: self
    ;   locals: curCrownId(9-24)
    0000  SETTABUP  self[K0('m_showLightSeq')] = K1(nil)
    0001  GETTABUP  R0 = self[K2('m_window')]
    0002  SELF      R1 = R0[K3('IsTutorialFinished')] (self)
    0003  CALL      R0 = call(R0, 1 args, 1 rets)
    0004  TEST      if not R0 then   -> -131066
    0005  JMP       (jump)   -> 24
    0006  GETTABUP  R0 = self[K2('m_window')]
    0007  SELF      R1 = R0[K4('GetCurrentCrownId')] (self)
    0008  CALL      R0 = call(R0, 1 args, 1 rets)
    0009  GETTABUP  R1 = self[K2('m_window')]
    0010  SELF      R2 = R1[K5('IsAutoPop')] (self)
    0011  CALL      R1 = call(R1, 1 args, 1 rets)
    0012  TEST      if not R1 then   -> -131058
    0013  JMP       (jump)   -> 20
    0014  EQ        if R0 eq K6(1)   -> -130794
    0015  JMP       (jump)   -> 20
    0016  GETTABUP  R1 = self[K2('m_window')]
    0017  SELF      R2 = R1[K7('GetMaxCrownCount')] (self)
    0018  CALL      R1 = call(R1, 1 args, 1 rets)
    0019  MOVE      R0 = R0
    0020  GETTABUP  R1 = self[K2('m_window')]
    0021  SELF      R2 = R1[K8('ShowTip')] (self)
    0022  MOVE      R3 = R0
    0023  CALL      R1 = call(R1, 0 args, 2 rets)
    0024  RETURN    return R0..R-1
; ---------- proto3 [HideLightEffect] ----------
  ; fn ?  line 52-72 np=1 va=0 ms=7 code=41 consts=15 upvals=1 protos=3
  ;   K[0]='DOTween'
  ;   K[1]='Sequence'
  ;   K[2]='m_hideLightSeq'
  ;   K[3]='m_window'
  ;   K[4]='IsAutoPop'
  ;   K[5]='GetCurrentCrownId'
  ;   K[6]=1
  ;   K[7]=2
  ;   K[8]='InsertCallback'
  ;   K[9]=0
  ;   K[10]=0.5
  ;   K[11]='UIUtil'
  ;   K[12]='SetActive'
  ;   K[13]='m_checkGo'
  ;   K[14]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-41), hideLightSeq(3-41), animTime(18-41)
  0000  GETTABUP  R1 = _ENV[K0('DOTween')]
  0001  GETTABLE  R1 = R1[K1('Sequence')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  SETTABLE  R0[K2('m_hideLightSeq')] = R1
  0004  GETTABLE  R2 = R0[K3('m_window')]
  0005  SELF      R3 = R2[K4('IsAutoPop')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 17
  0009  GETTABLE  R2 = R0[K3('m_window')]
  0010  SELF      R3 = R2[K5('GetCurrentCrownId')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  EQ        if R1 eq K6(1)   -> -129772
  0013  JMP       (jump)   -> 17
  0014  LOADK     R2 = K7 2
  0015  TEST      if not R2 then   -> -131054
  0016  JMP       (jump)   -> 18
  0017  LOADK     R2 = K6 1
  0018  SELF      R4 = R1[K8('InsertCallback')] (self)
  0019  LOADK     R5 = K9 0
  0020  CLOSURE   R6 = closure proto0
  0021  CALL      R3 = call(R3, 0 args, 3 rets)
  0022  GETTABLE  R3 = R0[K3('m_window')]
  0023  SELF      R4 = R3[K4('IsAutoPop')] (self)
  0024  CALL      R3 = call(R3, 1 args, 1 rets)
  0025  TEST      if not R3 then   -> -131045
  0026  JMP       (jump)   -> 32
  0027  SELF      R4 = R1[K8('InsertCallback')] (self)
  0028  SUB       R5 = K10(0.5) sub R2
  0029  CLOSURE   R6 = closure proto1
  0030  CALL      R3 = call(R3, 0 args, 3 rets)
  0031  JMP       (jump)   -> 37
  0032  GETTABUP  R3 = _ENV[K11('UIUtil')]
  0033  GETTABLE  R3 = R3[K12('SetActive')]
  0034  GETTABLE  R4 = R0[K13('m_checkGo')]
  0035  LOADBOOL  R5 = true
  0036  CALL      R3 = call(R3, 0 args, 2 rets)
  0037  SELF      R4 = R1[K14('AppendCallback')] (self)
  0038  CLOSURE   R5 = closure proto2
  0039  CALL      R3 = call(R3, 0 args, 2 rets)
  0040  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 56-58 np=0 va=0 ms=4 code=10 consts=6 upvals=3 protos=0
    ;   K[0]='m_lightRect'
    ;   K[1]='DOScale'
    ;   K[2]='V3Zero'
    ;   K[3]='SetEase'
    ;   K[4]='Ease'
    ;   K[5]='InOutSine'
    ;   upvals: self, _ENV, animTime
    0000  GETTABUP  R0 = self[K0('m_lightRect')]
    0001  SELF      R1 = R0[K1('DOScale')] (self)
    0002  GETTABUP  R2 = _ENV[K2('V3Zero')]
    0003  GETUPVAL  R3 = self
    0004  CALL      R0 = call(R0, 1 args, 3 rets)
    0005  SELF      R1 = R0[K3('SetEase')] (self)
    0006  GETTABUP  R2 = _ENV[K4('Ease')]
    0007  GETTABLE  R2 = R2[K5('InOutSine')]
    0008  CALL      R0 = call(R0, 0 args, 2 rets)
    0009  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 60-64 np=0 va=0 ms=4 code=19 consts=12 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='m_checkGo'
    ;   K[3]='m_checkRect'
    ;   K[4]='SetLocalScaleXY'
    ;   K[5]=0
    ;   K[6]='DOScale'
    ;   K[7]=0.6
    ;   K[8]=0.5
    ;   K[9]='SetEase'
    ;   K[10]='Ease'
    ;   K[11]='InOutSine'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('m_checkGo')]
    0003  LOADBOOL  R2 = true
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETTABUP  R0 = self[K3('m_checkRect')]
    0006  SELF      R1 = R0[K4('SetLocalScaleXY')] (self)
    0007  LOADK     R2 = K5 0
    0008  CALL      R0 = call(R0, 0 args, 2 rets)
    0009  GETTABUP  R0 = self[K3('m_checkRect')]
    0010  SELF      R1 = R0[K6('DOScale')] (self)
    0011  LOADK     R2 = K7 0.6
    0012  LOADK     R3 = K8 0.5
    0013  CALL      R0 = call(R0, 1 args, 3 rets)
    0014  SELF      R1 = R0[K9('SetEase')] (self)
    0015  GETTABUP  R2 = _ENV[K10('Ease')]
    0016  GETTABLE  R2 = R2[K11('InOutSine')]
    0017  CALL      R0 = call(R0, 0 args, 2 rets)
    0018  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 68-71 np=0 va=0 ms=3 code=7 consts=5 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='m_lightEffect'
    ;   K[3]='m_hideLightSeq'
    ;   K[4]=nil
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('m_lightEffect')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  SETTABUP  self[K3('m_hideLightSeq')] = K4(nil)
    0006  RETURN    return R0..R-1
; ---------- proto4 [OnBtnClicked] ----------
  ; fn ?  line 74-76 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_window'
  ;   K[1]='ShowTip'
  ;   K[2]='m_crownId'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_window')]
  0001  SELF      R2 = R1[K1('ShowTip')] (self)
  0002  GETTABLE  R3 = R0[K2('m_crownId')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto5 [SkipAnim] ----------
  ; fn ?  line 78-87 np=1 va=0 ms=4 code=17 consts=4 upvals=0 protos=0
  ;   K[0]='m_showLightSeq'
  ;   K[1]=nil
  ;   K[2]='Complete'
  ;   K[3]='m_hideLightSeq'
  ;   locals: self(0-17)
  0000  GETTABLE  R1 = R0[K0('m_showLightSeq')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K0('m_showLightSeq')]
  0004  SELF      R2 = R1[K2('Complete')] (self)
  0005  LOADBOOL  R3 = true
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  SETTABLE  R0[K0('m_showLightSeq')] = K1(nil)
  0008  GETTABLE  R1 = R0[K3('m_hideLightSeq')]
  0009  EQ        if R1 eq K1(nil)   -> -130292
  0010  JMP       (jump)   -> 16
  0011  GETTABLE  R1 = R0[K3('m_hideLightSeq')]
  0012  SELF      R2 = R1[K2('Complete')] (self)
  0013  LOADBOOL  R3 = true
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  SETTABLE  R0[K3('m_hideLightSeq')] = K1(nil)
  0016  RETURN    return R0..R-1
; ---------- proto6 [GetTipRootPos] ----------
  ; fn ?  line 89-91 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_tipRootRect'
  ;   K[1]='position'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_tipRootRect')]
  0001  GETTABLE  R1 = R1[K1('position')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
