# CrownLevelUp_View_CrownLevelUpEntry_1265.luac
; fn @CrownLevelUpEntry.lua  line 0-0 np=0 va=1 ms=2 code=60 consts=20 upvals=1 protos=18
;   K[0]='CrownLevelUpEntry'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='PlayWindowRewardAnim'
;   K[5]='_OnOrderStateChanged'
;   K[6]='UpdateTriggerEndTime'
;   K[7]='UpdatePerSecond'
;   K[8]='SetRewardTipRoot'
;   K[9]='OnClicked'
;   K[10]='HideTip'
;   K[11]='IsTipAutoClose'
;   K[12]='OnEnable'
;   K[13]='BeforeDestroy'
;   K[14]='OnDisappearFinish'
;   K[15]='OnHit'
;   K[16]='ToggleVisibility'
;   K[17]='SetTutorialing'
;   K[18]='IsTutorialFinished'
;   K[19]='AutoOpenAndClose'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('CrownLevelUpEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0003  GETTABUP  R1 = _ENV[K0('CrownLevelUpEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('PlayWindowRewardAnim')] = R1
0014  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_OnOrderStateChanged')] = R1
0017  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdateTriggerEndTime')] = R1
0020  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdatePerSecond')] = R1
0023  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('SetRewardTipRoot')] = R1
0026  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('OnClicked')] = R1
0029  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('HideTip')] = R1
0032  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('IsTipAutoClose')] = R1
0035  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('OnEnable')] = R1
0038  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('BeforeDestroy')] = R1
0041  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('OnDisappearFinish')] = R1
0044  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('OnHit')] = R1
0047  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0048  CLOSURE   R1 = closure proto14
0049  SETTABLE  R0[K16('ToggleVisibility')] = R1
0050  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0051  CLOSURE   R1 = closure proto15
0052  SETTABLE  R0[K17('SetTutorialing')] = R1
0053  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0054  CLOSURE   R1 = closure proto16
0055  SETTABLE  R0[K18('IsTutorialFinished')] = R1
0056  GETTABUP  R0 = _ENV[K0('CrownLevelUpEntry')]
0057  CLOSURE   R1 = closure proto17
0058  SETTABLE  R0[K19('AutoOpenAndClose')] = R1
0059  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-43 np=5 va=0 ms=12 code=95 consts=38 upvals=1 protos=1
  ;   K[0]=nil
  ;   K[1]='m_model'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='m_bTutorialFinished'
  ;   K[5]='GM'
  ;   K[6]='TutorialModel'
  ;   K[7]='IsTutorialFinished'
  ;   K[8]='ETutorialId'
  ;   K[9]='CrownLevelUpStart'
  ;   K[10]='m_order'
  ;   K[11]='GetCurrentCrownId'
  ;   K[12]='m_uiCode'
  ;   K[13]='GetUICodeByCrownId'
  ;   K[14]='ImageFileConfigName'
  ;   K[15]='crown_05'
  ;   K[16]='SpriteUtil'
  ;   K[17]='SetImage'
  ;   K[18]='m_icon'
  ;   K[19]='m_sweepImg'
  ;   K[20]='m_shineImg'
  ;   K[21]='MainBoardView'
  ;   K[22]='GetInstance'
  ;   K[23]='m_mainOrderArea'
  ;   K[24]='GetOrderArea'
  ;   K[25]='m_onScrolledCallback'
  ;   K[26]='AddOnScrolled'
  ;   K[27]='SetRewardTipRoot'
  ;   K[28]='UpdateTriggerEndTime'
  ;   K[29]='NeedEntryPlayAnim'
  ;   K[30]='ToggleVisibility'
  ;   K[31]='EventDispatcher'
  ;   K[32]='AddListener'
  ;   K[33]='OrderStateChangedEvent'
  ;   K[34]='_OnOrderStateChanged'
  ;   K[35]='EEventType'
  ;   K[36]='OrderAnimationStarted'
  ;   K[37]='HideTip'
  ;   upvals: _ENV
  ;   locals: self(0-95), model(0-95), orderCell(0-95), orderArea(0-95), order(0-95), crownId(25-95), mainBoardView(55-95), bPlayAnim(74-95)
  0000  EQ        if R1 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 8
  0002  EQ        if R1 eq K0(nil)   -> -129788
  0003  JMP       (jump)   -> 8
  0004  EQ        if R1 eq K0(nil)   -> -129274
  0005  JMP       (jump)   -> 8
  0006  EQ        if R0 eq K0(nil)   -> -128760
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SETTABLE  R0[K1('m_model')] = R1
  0010  GETTABLE  R5 = R0[K1('m_model')]
  0011  SELF      R6 = R5[K3('GetActivityDefinition')] (self)
  0012  CALL      R5 = call(R5, 1 args, 1 rets)
  0013  SETTABLE  R0[K2('m_activityDefinition')] = R5
  0014  GETTABUP  R5 = _ENV[K5('GM')]
  0015  GETTABLE  R5 = R5[K6('TutorialModel')]
  0016  SELF      R6 = R5[K7('IsTutorialFinished')] (self)
  0017  GETTABUP  R7 = _ENV[K8('ETutorialId')]
  0018  GETTABLE  R7 = R7[K9('CrownLevelUpStart')]
  0019  CALL      R5 = call(R5, 1 args, 2 rets)
  0020  SETTABLE  R0[K4('m_bTutorialFinished')] = R5
  0021  SETTABLE  R0[K10('m_order')] = R4
  0022  GETTABLE  R5 = R0[K1('m_model')]
  0023  SELF      R6 = R5[K11('GetCurrentCrownId')] (self)
  0024  CALL      R5 = call(R5, 1 args, 1 rets)
  0025  GETTABLE  R6 = R0[K1('m_model')]
  0026  SELF      R7 = R6[K13('GetUICodeByCrownId')] (self)
  0027  MOVE      R8 = R0
  0028  CALL      R6 = call(R6, 1 args, 2 rets)
  0029  TEST      if not R6 then   -> -131040
  0030  JMP       (jump)   -> 33
  0031  GETTABUP  R6 = _ENV[K14('ImageFileConfigName')]
  0032  GETTABLE  R6 = R6[K15('crown_05')]
  0033  SETTABLE  R0[K12('m_uiCode')] = R6
  0034  GETTABUP  R6 = _ENV[K16('SpriteUtil')]
  0035  GETTABLE  R6 = R6[K17('SetImage')]
  0036  GETTABLE  R7 = R0[K18('m_icon')]
  0037  GETTABLE  R8 = R0[K12('m_uiCode')]
  0038  LOADBOOL  R9 = true
  0039  CALL      R6 = call(R6, 0 args, 3 rets)
  0040  GETTABUP  R6 = _ENV[K16('SpriteUtil')]
  0041  GETTABLE  R6 = R6[K17('SetImage')]
  0042  GETTABLE  R7 = R0[K19('m_sweepImg')]
  0043  GETTABLE  R8 = R0[K12('m_uiCode')]
  0044  LOADBOOL  R9 = true
  0045  CALL      R6 = call(R6, 0 args, 3 rets)
  0046  GETTABUP  R6 = _ENV[K16('SpriteUtil')]
  0047  GETTABLE  R6 = R6[K17('SetImage')]
  0048  GETTABLE  R7 = R0[K20('m_shineImg')]
  0049  GETTABLE  R8 = R0[K12('m_uiCode')]
  0050  LOADBOOL  R9 = true
  0051  CALL      R6 = call(R6, 0 args, 3 rets)
  0052  GETTABUP  R6 = _ENV[K21('MainBoardView')]
  0053  GETTABLE  R6 = R6[K22('GetInstance')]
  0054  CALL      R6 = call(R6, 1 args, 0 rets)
  0055  EQ        if R1 eq K0(nil)   -> -127687
  0056  JMP       (jump)   -> 69
  0057  SELF      R8 = R6[K24('GetOrderArea')] (self)
  0058  CALL      R7 = call(R7, 1 args, 1 rets)
  0059  SETTABLE  R0[K23('m_mainOrderArea')] = R7
  0060  CLOSURE   R7 = closure proto0
  0061  SETTABLE  R0[K25('m_onScrolledCallback')] = R7
  0062  GETTABLE  R7 = R0[K23('m_mainOrderArea')]
  0063  SELF      R8 = R7[K26('AddOnScrolled')] (self)
  0064  GETTABLE  R9 = R0[K25('m_onScrolledCallback')]
  0065  CALL      R7 = call(R7, 0 args, 2 rets)
  0066  SELF      R8 = R0[K27('SetRewardTipRoot')] (self)
  0067  LOADBOOL  R9 = true
  0068  CALL      R7 = call(R7, 0 args, 2 rets)
  0069  SELF      R8 = R0[K28('UpdateTriggerEndTime')] (self)
  0070  CALL      R7 = call(R7, 0 args, 1 rets)
  0071  GETTABLE  R7 = R0[K1('m_model')]
  0072  SELF      R8 = R7[K29('NeedEntryPlayAnim')] (self)
  0073  CALL      R7 = call(R7, 1 args, 1 rets)
  0074  TEST      if not R7 then   -> -130996
  0075  JMP       (jump)   -> 79
  0076  SELF      R9 = R0[K30('ToggleVisibility')] (self)
  0077  LOADBOOL  R10 = false
  0078  CALL      R8 = call(R8, 0 args, 2 rets)
  0079  GETTABUP  R8 = _ENV[K31('EventDispatcher')]
  0080  GETTABLE  R8 = R8[K32('AddListener')]
  0081  SELF      R10 = R1[K3('GetActivityDefinition')] (self)
  0082  CALL      R9 = call(R9, 1 args, 1 rets)
  0083  GETTABLE  R9 = R9[K33('OrderStateChangedEvent')]
  0084  MOVE      R10 = R0
  0085  GETTABLE  R11 = R0[K34('_OnOrderStateChanged')]
  0086  CALL      R8 = call(R8, 0 args, 3 rets)
  0087  GETTABUP  R8 = _ENV[K31('EventDispatcher')]
  0088  GETTABLE  R8 = R8[K32('AddListener')]
  0089  GETTABUP  R9 = _ENV[K35('EEventType')]
  0090  GETTABLE  R9 = R9[K36('OrderAnimationStarted')]
  0091  MOVE      R10 = R0
  0092  GETTABLE  R11 = R0[K37('HideTip')]
  0093  CALL      R8 = call(R8, 0 args, 3 rets)
  0094  RETURN    return R0..R-1
  ; ---------- proto0 [m_onScrolledCallback] ----------
    ; fn ?  line 27-29 np=0 va=0 ms=2 code=4 consts=2 upvals=1 protos=0
    ;   K[0]='m_tip'
    ;   K[1]='Hide'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_tip')]
    0001  SELF      R1 = R0[K1('Hide')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 45-50 np=1 va=0 ms=4 code=18 consts=11 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='Scheduler'
  ;   K[3]='UnscheduleTarget'
  ;   K[4]='m_mainOrderArea'
  ;   K[5]='RemoveOnScrolled'
  ;   K[6]='m_onScrolledCallback'
  ;   K[7]='AddressableLoader'
  ;   K[8]='Destroy'
  ;   K[9]='m_tip'
  ;   K[10]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('Scheduler')]
  0005  GETTABLE  R1 = R1[K3('UnscheduleTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABLE  R1 = R0[K4('m_mainOrderArea')]
  0009  SELF      R2 = R1[K5('RemoveOnScrolled')] (self)
  0010  GETTABLE  R3 = R0[K6('m_onScrolledCallback')]
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  GETTABUP  R1 = _ENV[K7('AddressableLoader')]
  0013  GETTABLE  R1 = R1[K8('Destroy')]
  0014  GETTABLE  R2 = R0[K9('m_tip')]
  0015  GETTABLE  R2 = R2[K10('gameObject')]
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto2 [PlayWindowRewardAnim] ----------
  ; fn ?  line 52-77 np=2 va=0 ms=22 code=72 consts=32 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetClaimedRewards'
  ;   K[2]='m_icon'
  ;   K[3]='rectTransform'
  ;   K[4]='BoardViewHelper'
  ;   K[5]='GetActiveView'
  ;   K[6]=nil
  ;   K[7]='PositionUtil'
  ;   K[8]='UICameraScreen2World'
  ;   K[9]='ConvertWorldPositionToScreenPosition'
  ;   K[10]='position'
  ;   K[11]='sprite'
  ;   K[12]='IsNull'
  ;   K[13]='V3Zero'
  ;   K[14]='rect'
  ;   K[15]='size'
  ;   K[16]='Vector3'
  ;   K[17]='Scale'
  ;   K[18]='lossyScale'
  ;   K[19]='UIUtil'
  ;   K[20]='ToVector3'
  ;   K[21]='big_'
  ;   K[22]='m_uiCode'
  ;   K[23]='m_activityDefinition'
  ;   K[24]='BoxRewardWindowPrefabName'
  ;   K[25]='GM'
  ;   K[26]='UIManager'
  ;   K[27]='OpenView'
  ;   K[28]='GetId'
  ;   K[29]='x'
  ;   K[30]='ERewardScene'
  ;   K[31]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-72), rewardCallback(0-72), transform(8-72), boardView(11-72), position(22-72), scale(23-72), imageScale(38-47), boxRewardType(50-72), initCallback(51-72), prefabName(53-72)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('GetClaimedRewards')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R2 = R0[K2('m_icon')]
  0007  GETTABLE  R2 = R2[K3('rectTransform')]
  0008  GETTABUP  R3 = _ENV[K4('BoardViewHelper')]
  0009  GETTABLE  R3 = R3[K5('GetActiveView')]
  0010  CALL      R3 = call(R3, 1 args, 0 rets)
  0011  EQ        if R0 eq K6(nil)   -> -129261
  0012  JMP       (jump)   -> 16
  0013  MOVE      R4 = R0
  0014  CALL      R4 = call(R4, 0 args, 0 rets)
  0015  RETURN    return R0..R-1
  0016  GETTABUP  R4 = _ENV[K7('PositionUtil')]
  0017  GETTABLE  R4 = R4[K8('UICameraScreen2World')]
  0018  SELF      R6 = R3[K9('ConvertWorldPositionToScreenPosition')] (self)
  0019  GETTABLE  R7 = R2[K10('position')]
  0020  CALL      R5 = call(R5, -1 args, 2 rets)
  0021  CALL      R4 = call(R4, 1 args, -1 rets)
  0022  LOADNIL   R5..R5 = nil
  0023  GETTABLE  R6 = R0[K2('m_icon')]
  0024  GETTABLE  R6 = R6[K11('sprite')]
  0025  SELF      R7 = R6[K12('IsNull')] (self)
  0026  CALL      R6 = call(R6, 1 args, 1 rets)
  0027  TEST      if not R6 then   -> -131043
  0028  JMP       (jump)   -> 31
  0029  GETTABUP  R5 = _ENV[K13('V3Zero')]
  0030  JMP       (jump)   -> 47
  0031  GETTABLE  R6 = R2[K14('rect')]
  0032  GETTABLE  R6 = R6[K15('size')]
  0033  GETTABLE  R7 = R0[K2('m_icon')]
  0034  GETTABLE  R7 = R7[K11('sprite')]
  0035  GETTABLE  R7 = R7[K14('rect')]
  0036  GETTABLE  R7 = R7[K15('size')]
  0037  DIV       R6 = R7 div R6
  0038  GETTABUP  R7 = _ENV[K16('Vector3')]
  0039  GETTABLE  R7 = R7[K17('Scale')]
  0040  GETTABLE  R8 = R2[K18('lossyScale')]
  0041  GETTABUP  R9 = _ENV[K19('UIUtil')]
  0042  GETTABLE  R9 = R9[K20('ToVector3')]
  0043  MOVE      R10 = R0
  0044  CALL      R9 = call(R9, -1 args, 1 rets)
  0045  CALL      R7 = call(R7, 1 args, -1 rets)
  0046  MOVE      R5 = R0
  0047  LOADK     R6 = K21 'big_'
  0048  GETTABLE  R7 = R0[K22('m_uiCode')]
  0049  CONCAT    R6 = concat(R6..R6)
  0050  CLOSURE   R7 = closure proto0
  0051  GETTABLE  R8 = R0[K23('m_activityDefinition')]
  0052  GETTABLE  R8 = R8[K24('BoxRewardWindowPrefabName')]
  0053  GETTABUP  R9 = _ENV[K25('GM')]
  0054  GETTABLE  R9 = R9[K26('UIManager')]
  0055  SELF      R10 = R9[K27('OpenView')] (self)
  0056  MOVE      R11 = R0
  0057  GETTABLE  R12 = R0[K0('m_model')]
  0058  GETTABLE  R13 = R0[K0('m_model')]
  0059  SELF      R14 = R13[K28('GetId')] (self)
  0060  CALL      R13 = call(R13, 1 args, 1 rets)
  0061  MOVE      R14 = R0
  0062  GETTABLE  R15 = R5[K29('x')]
  0063  MOVE      R16 = R0
  0064  LOADNIL   R17..R17 = nil
  0065  LOADBOOL  R18 = true
  0066  GETTABUP  R19 = _ENV[K30('ERewardScene')]
  0067  GETTABLE  R19 = R19[K31('Other')]
  0068  MOVE      R20 = R0
  0069  MOVE      R21 = R0
  0070  CALL      R9 = call(R9, 0 args, 12 rets)
  0071  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 71-74 np=0 va=0 ms=3 code=6 consts=3 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('gameObject')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
; ---------- proto3 [_OnOrderStateChanged] ----------
  ; fn ?  line 79-83 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_order'
  ;   K[1]='IsFinished'
  ;   K[2]='UpdateTriggerEndTime'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_order')]
  0001  SELF      R2 = R1[K1('IsFinished')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 7
  0005  SELF      R2 = R0[K2('UpdateTriggerEndTime')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto4 [UpdateTriggerEndTime] ----------
  ; fn ?  line 85-88 np=1 va=0 ms=3 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='m_triggerEndTime'
  ;   K[1]='m_model'
  ;   K[2]='GetTriggerEndTime'
  ;   K[3]='UpdatePerSecond'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K1('m_model')]
  0001  SELF      R2 = R1[K2('GetTriggerEndTime')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SETTABLE  R0[K0('m_triggerEndTime')] = R1
  0004  SELF      R2 = R0[K3('UpdatePerSecond')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [UpdatePerSecond] ----------
  ; fn ?  line 90-95 np=1 va=0 ms=5 code=20 consts=12 upvals=1 protos=0
  ;   K[0]='m_triggerEndTime'
  ;   K[1]=nil
  ;   K[2]='math'
  ;   K[3]='max'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]=0
  ;   K[8]='m_countDownText'
  ;   K[9]='text'
  ;   K[10]='TimeUtil'
  ;   K[11]='ToMSOrHMS'
  ;   upvals: _ENV
  ;   locals: self(0-20), delta(13-19)
  0000  GETTABLE  R1 = R0[K0('m_triggerEndTime')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 19
  0003  GETTABUP  R1 = _ENV[K2('math')]
  0004  GETTABLE  R1 = R1[K3('max')]
  0005  GETTABLE  R2 = R0[K0('m_triggerEndTime')]
  0006  GETTABUP  R3 = _ENV[K4('GM')]
  0007  GETTABLE  R3 = R3[K5('GameModel')]
  0008  SELF      R4 = R3[K6('GetServerTime')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  SUB       R2 = R3 sub R2
  0011  LOADK     R3 = K7 0
  0012  CALL      R1 = call(R1, 1 args, 2 rets)
  0013  GETTABLE  R2 = R0[K8('m_countDownText')]
  0014  GETTABUP  R3 = _ENV[K10('TimeUtil')]
  0015  GETTABLE  R3 = R3[K11('ToMSOrHMS')]
  0016  MOVE      R4 = R0
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  SETTABLE  R2[K9('text')] = R3
  0019  RETURN    return R0..R-1
; ---------- proto6 [SetRewardTipRoot] ----------
  ; fn ?  line 97-101 np=2 va=0 ms=6 code=17 consts=6 upvals=0 protos=0
  ;   K[0]='m_mainOrderArea'
  ;   K[1]='GetCrownLevelUpRewardBubbleNode'
  ;   K[2]='m_rewardTipRoot'
  ;   K[3]='m_tipRect'
  ;   K[4]='SetParent'
  ;   K[5]='position'
  ;   locals: self(0-17), bOrderArea(0-17), parent(8-17)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  GETTABLE  R2 = R0[K0('m_mainOrderArea')]
  0003  SELF      R3 = R2[K1('GetCrownLevelUpRewardBubbleNode')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  GETTABLE  R2 = R0[K2('m_rewardTipRoot')]
  0008  GETTABLE  R3 = R0[K3('m_tipRect')]
  0009  SELF      R4 = R3[K4('SetParent')] (self)
  0010  MOVE      R5 = R0
  0011  CALL      R3 = call(R3, 0 args, 2 rets)
  0012  GETTABLE  R3 = R0[K3('m_tipRect')]
  0013  GETTABLE  R4 = R0[K2('m_rewardTipRoot')]
  0014  GETTABLE  R4 = R4[K5('position')]
  0015  SETTABLE  R3[K5('position')] = R4
  0016  RETURN    return R0..R-1
; ---------- proto7 [OnClicked] ----------
  ; fn ?  line 104-120 np=2 va=0 ms=12 code=40 consts=20 upvals=1 protos=0
  ;   K[0]='m_bTutorial'
  ;   K[1]=nil
  ;   K[2]='EventDispatcher'
  ;   K[3]='DispatchEvent'
  ;   K[4]='m_activityDefinition'
  ;   K[5]='OpenEntryTipEvent'
  ;   K[6]='m_bTipAutoClose'
  ;   K[7]='m_mainOrderArea'
  ;   K[8]='OnShowTip'
  ;   K[9]='m_tipRect'
  ;   K[10]='position'
  ;   K[11]='m_rewardTipRoot'
  ;   K[12]='m_model'
  ;   K[13]='GetCurrentCrownId'
  ;   K[14]='GetAllCrownReward'
  ;   K[15]='m_tip'
  ;   K[16]='Show'
  ;   K[17]='ERewardScene'
  ;   K[18]='Other'
  ;   K[19]=0
  ;   upvals: _ENV
  ;   locals: self(0-40), bTipAutoClose(0-40), crownId(24-40), rewards(28-40), position(30-40)
  0000  GETTABLE  R2 = R0[K0('m_bTutorial')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 12
  0005  SETTABLE  R0[K0('m_bTutorial')] = K1(nil)
  0006  GETTABUP  R2 = _ENV[K2('EventDispatcher')]
  0007  GETTABLE  R2 = R2[K3('DispatchEvent')]
  0008  GETTABLE  R3 = R0[K4('m_activityDefinition')]
  0009  GETTABLE  R3 = R3[K5('OpenEntryTipEvent')]
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
  0012  SETTABLE  R0[K0('m_bTutorial')] = K1(nil)
  0013  SETTABLE  R0[K6('m_bTipAutoClose')] = R1
  0014  GETTABLE  R2 = R0[K7('m_mainOrderArea')]
  0015  SELF      R3 = R2[K8('OnShowTip')] (self)
  0016  CALL      R2 = call(R2, 0 args, 1 rets)
  0017  GETTABLE  R2 = R0[K9('m_tipRect')]
  0018  GETTABLE  R3 = R0[K11('m_rewardTipRoot')]
  0019  GETTABLE  R3 = R3[K10('position')]
  0020  SETTABLE  R2[K10('position')] = R3
  0021  GETTABLE  R2 = R0[K12('m_model')]
  0022  SELF      R3 = R2[K13('GetCurrentCrownId')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  GETTABLE  R3 = R0[K12('m_model')]
  0025  SELF      R4 = R3[K14('GetAllCrownReward')] (self)
  0026  MOVE      R5 = R0
  0027  CALL      R3 = call(R3, 1 args, 2 rets)
  0028  GETTABLE  R4 = R0[K9('m_tipRect')]
  0029  GETTABLE  R4 = R4[K10('position')]
  0030  GETTABLE  R5 = R0[K15('m_tip')]
  0031  SELF      R6 = R5[K16('Show')] (self)
  0032  MOVE      R7 = R0
  0033  GETTABUP  R8 = _ENV[K17('ERewardScene')]
  0034  GETTABLE  R8 = R8[K18('Other')]
  0035  MOVE      R9 = R0
  0036  MOVE      R10 = R0
  0037  LOADK     R11 = K19 0
  0038  CALL      R5 = call(R5, 0 args, 6 rets)
  0039  RETURN    return R0..R-1
; ---------- proto8 [HideTip] ----------
  ; fn ?  line 122-124 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_tip'
  ;   K[1]='Hide'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_tip')]
  0001  SELF      R2 = R1[K1('Hide')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto9 [IsTipAutoClose] ----------
  ; fn ?  line 126-128 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bTipAutoClose'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bTipAutoClose')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto10 [OnEnable] ----------
  ; fn ?  line 130-134 np=1 va=0 ms=4 code=8 consts=4 upvals=0 protos=0
  ;   K[0]='m_bDestroying'
  ;   K[1]='m_animator'
  ;   K[2]='SetTrigger'
  ;   K[3]='Disappear'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_bDestroying')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K1('m_animator')]
  0004  SELF      R2 = R1[K2('SetTrigger')] (self)
  0005  LOADK     R3 = K3 'Disappear'
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto11 [BeforeDestroy] ----------
  ; fn ?  line 137-152 np=2 va=0 ms=5 code=27 consts=15 upvals=0 protos=0
  ;   K[0]='m_bDestroying'
  ;   K[1]=true
  ;   K[2]='m_multiImageButton'
  ;   K[3]='interactable'
  ;   K[4]=false
  ;   K[5]='m_destroyCallback'
  ;   K[6]='HideTip'
  ;   K[7]='m_animator'
  ;   K[8]='GetCurrentAnimatorStateInfo'
  ;   K[9]=0
  ;   K[10]='IsName'
  ;   K[11]='Ani_CrownLevelUpEntry_Hide'
  ;   K[12]='OnDisappearFinish'
  ;   K[13]='SetTrigger'
  ;   K[14]='Disappear'
  ;   locals: self(0-27), destroyCallback(0-27)
  0000  GETTABLE  R2 = R0[K0('m_bDestroying')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bDestroying')] = K1(true)
  0005  GETTABLE  R2 = R0[K2('m_multiImageButton')]
  0006  SETTABLE  R2[K3('interactable')] = K4(false)
  0007  SETTABLE  R0[K5('m_destroyCallback')] = R1
  0008  SELF      R3 = R0[K6('HideTip')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  GETTABLE  R2 = R0[K7('m_animator')]
  0011  SELF      R3 = R2[K8('GetCurrentAnimatorStateInfo')] (self)
  0012  LOADK     R4 = K9 0
  0013  CALL      R2 = call(R2, 1 args, 2 rets)
  0014  SELF      R3 = R2[K10('IsName')] (self)
  0015  LOADK     R4 = K11 'Ani_CrownLevelUpEntry_Hide'
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  TEST      if not R2 then   -> -131053
  0018  JMP       (jump)   -> 22
  0019  SELF      R3 = R0[K12('OnDisappearFinish')] (self)
  0020  CALL      R2 = call(R2, 0 args, 1 rets)
  0021  JMP       (jump)   -> 26
  0022  GETTABLE  R2 = R0[K7('m_animator')]
  0023  SELF      R3 = R2[K13('SetTrigger')] (self)
  0024  LOADK     R4 = K14 'Disappear'
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto12 [OnDisappearFinish] ----------
  ; fn ?  line 155-161 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_destroyCallback'
  ;   K[1]=nil
  ;   locals: self(0-8), destroyCallback(4-7)
  0000  GETTABLE  R1 = R0[K0('m_destroyCallback')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_destroyCallback')]
  0004  SETTABLE  R0[K0('m_destroyCallback')] = K1(nil)
  0005  MOVE      R2 = R0
  0006  CALL      R2 = call(R2, 0 args, 0 rets)
  0007  RETURN    return R0..R-1
; ---------- proto13 [OnHit] ----------
  ; fn ?  line 163-167 np=1 va=0 ms=5 code=26 consts=19 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_hitEffect'
  ;   K[3]='GM'
  ;   K[4]='AudioModel'
  ;   K[5]='PlayEffect'
  ;   K[6]='AudioFileConfigName'
  ;   K[7]='SfxMergeCd'
  ;   K[8]='m_shineImg'
  ;   K[9]='DOFade'
  ;   K[10]=1
  ;   K[11]=0.3
  ;   K[12]='SetLoops'
  ;   K[13]=2
  ;   K[14]='LoopType'
  ;   K[15]='Yoyo'
  ;   K[16]='SetEase'
  ;   K[17]='Ease'
  ;   K[18]='OutSine'
  ;   upvals: _ENV
  ;   locals: self(0-26)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('m_hitEffect')]
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABUP  R1 = _ENV[K3('GM')]
  0006  GETTABLE  R1 = R1[K4('AudioModel')]
  0007  SELF      R2 = R1[K5('PlayEffect')] (self)
  0008  GETTABUP  R3 = _ENV[K6('AudioFileConfigName')]
  0009  GETTABLE  R3 = R3[K7('SfxMergeCd')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  GETTABLE  R1 = R0[K8('m_shineImg')]
  0012  SELF      R2 = R1[K9('DOFade')] (self)
  0013  LOADK     R3 = K10 1
  0014  LOADK     R4 = K11 0.3
  0015  CALL      R1 = call(R1, 1 args, 3 rets)
  0016  SELF      R2 = R1[K12('SetLoops')] (self)
  0017  LOADK     R3 = K13 2
  0018  GETTABUP  R4 = _ENV[K14('LoopType')]
  0019  GETTABLE  R4 = R4[K15('Yoyo')]
  0020  CALL      R1 = call(R1, 1 args, 3 rets)
  0021  SELF      R2 = R1[K16('SetEase')] (self)
  0022  GETTABUP  R3 = _ENV[K17('Ease')]
  0023  GETTABLE  R3 = R3[K18('OutSine')]
  0024  CALL      R1 = call(R1, 0 args, 2 rets)
  0025  RETURN    return R0..R-1
; ---------- proto14 [ToggleVisibility] ----------
  ; fn ?  line 169-171 np=2 va=0 ms=5 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='m_animator'
  ;   K[1]='SetTrigger'
  ;   K[2]='Idle'
  ;   K[3]='Hide'
  ;   locals: self(0-10), visible(0-10)
  0000  GETTABLE  R2 = R0[K0('m_animator')]
  0001  SELF      R3 = R2[K1('SetTrigger')] (self)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  LOADK     R4 = K2 'Idle'
  0005  TEST      if not R4 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R4 = K3 'Hide'
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
; ---------- proto15 [SetTutorialing] ----------
  ; fn ?  line 173-175 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_bTutorial'
  ;   locals: self(0-2), bTutorial(0-2)
  0000  SETTABLE  R0[K0('m_bTutorial')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto16 [IsTutorialFinished] ----------
  ; fn ?  line 177-179 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bTutorialFinished'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bTutorialFinished')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto17 [AutoOpenAndClose] ----------
  ; fn ?  line 182-189 np=2 va=0 ms=6 code=9 consts=2 upvals=1 protos=1
  ;   K[0]='OnClicked'
  ;   K[1]='DelayExecuteFuncInView'
  ;   upvals: _ENV
  ;   locals: self(0-9), duration(0-9)
  0000  SELF      R3 = R0[K0('OnClicked')] (self)
  0001  LOADBOOL  R4 = true
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K1('DelayExecuteFuncInView')]
  0004  CLOSURE   R3 = closure proto0
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  CALL      R2 = call(R2, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 184-188 np=0 va=0 ms=2 code=9 consts=2 upvals=1 protos=0
    ;   K[0]='IsTipAutoClose'
    ;   K[1]='HideTip'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('IsTipAutoClose')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131067
    0004  JMP       (jump)   -> 8
    0005  GETUPVAL  R0 = self
    0006  SELF      R1 = R0[K1('HideTip')] (self)
    0007  CALL      R0 = call(R0, 0 args, 1 rets)
    0008  RETURN    return R0..R-1
