# CookBoostActivity_View_CookBoostActivityMainWindow_1654.luac
; fn @CookBoostActivityMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=92 consts=32 upvals=1 protos=27
;   K[0]='CookBoostActivityMainWindow'
;   K[1]='setmetatable'
;   K[2]='CookBoostActivityBaseWindow'
;   K[3]='__index'
;   K[4]='Show'
;   K[5]='Init'
;   K[6]='OnDestroy'
;   K[7]='_InitModelData'
;   K[8]='_TryClaimReward'
;   K[9]='_UpdatePotGo'
;   K[10]='GetPotSprite'
;   K[11]='GetTipBgSprite'
;   K[12]='GetRewardTipRoot'
;   K[13]='GetRewardTipIconTopRoot'
;   K[14]='GetConfigIndexTitle'
;   K[15]='GetConfigIndexDesc'
;   K[16]='_InitView'
;   K[17]='_HideButton'
;   K[18]='UpdatePerSecond'
;   K[19]='Close'
;   K[20]='OnCloseView'
;   K[21]='_TryPlayButtonTween'
;   K[22]='OnRequirementTipBtnClicked'
;   K[23]='_ShowRewardTip'
;   K[24]='ShowCurrentRewardTip'
;   K[25]='ShowRewardTip1'
;   K[26]='ShowRewardTip2'
;   K[27]='ShowRewardTip3'
;   K[28]='OnBtnClicked'
;   K[29]='TestFinishCurrentRound'
;   K[30]='TestTryAddRequirement'
;   K[31]='TestRemoveAllItem'
;   upvals: _ENV
;   locals: EAnimatorParameterKey(10-92)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('CookBoostActivityBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('CookBoostActivityMainWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('CookBoostActivityMainWindow')]
0006  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K4('Show')] = K4('Show')
0010  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0011  CLOSURE   R2 = closure proto0
0012  SETTABLE  R1[K5('Init')] = R2
0013  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0014  CLOSURE   R2 = closure proto1
0015  SETTABLE  R1[K6('OnDestroy')] = R2
0016  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0017  CLOSURE   R2 = closure proto2
0018  SETTABLE  R1[K7('_InitModelData')] = R2
0019  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0020  CLOSURE   R2 = closure proto3
0021  SETTABLE  R1[K8('_TryClaimReward')] = R2
0022  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0023  CLOSURE   R2 = closure proto4
0024  SETTABLE  R1[K9('_UpdatePotGo')] = R2
0025  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0026  CLOSURE   R2 = closure proto5
0027  SETTABLE  R1[K10('GetPotSprite')] = R2
0028  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0029  CLOSURE   R2 = closure proto6
0030  SETTABLE  R1[K11('GetTipBgSprite')] = R2
0031  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0032  CLOSURE   R2 = closure proto7
0033  SETTABLE  R1[K12('GetRewardTipRoot')] = R2
0034  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0035  CLOSURE   R2 = closure proto8
0036  SETTABLE  R1[K13('GetRewardTipIconTopRoot')] = R2
0037  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0038  CLOSURE   R2 = closure proto9
0039  SETTABLE  R1[K14('GetConfigIndexTitle')] = R2
0040  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0041  CLOSURE   R2 = closure proto10
0042  SETTABLE  R1[K15('GetConfigIndexDesc')] = R2
0043  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0044  CLOSURE   R2 = closure proto11
0045  SETTABLE  R1[K16('_InitView')] = R2
0046  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0047  CLOSURE   R2 = closure proto12
0048  SETTABLE  R1[K17('_HideButton')] = R2
0049  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0050  CLOSURE   R2 = closure proto13
0051  SETTABLE  R1[K18('UpdatePerSecond')] = R2
0052  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0053  CLOSURE   R2 = closure proto14
0054  SETTABLE  R1[K19('Close')] = R2
0055  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0056  CLOSURE   R2 = closure proto15
0057  SETTABLE  R1[K20('OnCloseView')] = R2
0058  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0059  CLOSURE   R2 = closure proto16
0060  SETTABLE  R1[K21('_TryPlayButtonTween')] = R2
0061  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0062  CLOSURE   R2 = closure proto17
0063  SETTABLE  R1[K22('OnRequirementTipBtnClicked')] = R2
0064  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0065  CLOSURE   R2 = closure proto18
0066  SETTABLE  R1[K23('_ShowRewardTip')] = R2
0067  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0068  CLOSURE   R2 = closure proto19
0069  SETTABLE  R1[K24('ShowCurrentRewardTip')] = R2
0070  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0071  CLOSURE   R2 = closure proto20
0072  SETTABLE  R1[K25('ShowRewardTip1')] = R2
0073  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0074  CLOSURE   R2 = closure proto21
0075  SETTABLE  R1[K26('ShowRewardTip2')] = R2
0076  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0077  CLOSURE   R2 = closure proto22
0078  SETTABLE  R1[K27('ShowRewardTip3')] = R2
0079  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0080  CLOSURE   R2 = closure proto23
0081  SETTABLE  R1[K28('OnBtnClicked')] = R2
0082  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0083  CLOSURE   R2 = closure proto24
0084  SETTABLE  R1[K29('TestFinishCurrentRound')] = R2
0085  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0086  CLOSURE   R2 = closure proto25
0087  SETTABLE  R1[K30('TestTryAddRequirement')] = R2
0088  GETTABUP  R1 = _ENV[K0('CookBoostActivityMainWindow')]
0089  CLOSURE   R2 = closure proto26
0090  SETTABLE  R1[K31('TestRemoveAllItem')] = R2
0091  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 59-75 np=4 va=0 ms=9 code=34 consts=12 upvals=1 protos=0
  ;   K[0]='CookBoostActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='_InitModelData'
  ;   K[3]='_TryClaimReward'
  ;   K[4]='_InitView'
  ;   K[5]='_TryPlayButtonTween'
  ;   K[6]='canClickWindowMask'
  ;   K[7]='m_bHasRewardToClaim'
  ;   K[8]='m_bIsFirstMainWindow'
  ;   K[9]='_HideButton'
  ;   K[10]='GetModel'
  ;   K[11]='SetStartWindowPoped'
  ;   upvals: _ENV
  ;   locals: self(0-34), activityType(0-34), id(0-34), bAutoPop(0-34)
  0000  GETTABUP  R4 = _ENV[K0('CookBoostActivityBaseWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  CALL      R4 = call(R4, 0 args, 4 rets)
  0007  SELF      R5 = R0[K2('_InitModelData')] (self)
  0008  CALL      R4 = call(R4, 0 args, 1 rets)
  0009  SELF      R5 = R0[K3('_TryClaimReward')] (self)
  0010  CALL      R4 = call(R4, 0 args, 1 rets)
  0011  SELF      R5 = R0[K4('_InitView')] (self)
  0012  CALL      R4 = call(R4, 0 args, 1 rets)
  0013  SELF      R5 = R0[K5('_TryPlayButtonTween')] (self)
  0014  CALL      R4 = call(R4, 0 args, 1 rets)
  0015  GETTABLE  R4 = R0[K7('m_bHasRewardToClaim')]
  0016  TEST      if not R4 then   -> -131053
  0017  JMP       (jump)   -> 21
  0018  GETTABLE  R4 = R0[K8('m_bIsFirstMainWindow')]
  0019  NOT       R4 = not R0
  0020  JMP       (jump)   -> 23
  0021  LOADBOOL  R4 = false
  0022  LOADBOOL  R4 = true
  0023  SETTABLE  R0[K6('canClickWindowMask')] = R4
  0024  GETTABLE  R4 = R0[K8('m_bIsFirstMainWindow')]
  0025  TEST      if not R4 then   -> -131045
  0026  JMP       (jump)   -> 29
  0027  SELF      R5 = R0[K9('_HideButton')] (self)
  0028  CALL      R4 = call(R4, 0 args, 1 rets)
  0029  SELF      R5 = R0[K10('GetModel')] (self)
  0030  CALL      R4 = call(R4, 1 args, 1 rets)
  0031  SELF      R5 = R4[K11('SetStartWindowPoped')] (self)
  0032  CALL      R4 = call(R4, 0 args, 1 rets)
  0033  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 77-83 np=1 va=0 ms=3 code=12 consts=5 upvals=1 protos=0
  ;   K[0]='CookBoostActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_buttonLoopTween'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('CookBoostActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_buttonLoopTween')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_buttonLoopTween')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_buttonLoopTween')] = K3(nil)
  0011  RETURN    return R0..R-1
; ---------- proto2 [_InitModelData] ----------
  ; fn ?  line 85-97 np=1 va=0 ms=5 code=37 consts=17 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='m_configIndex'
  ;   K[2]='math'
  ;   K[3]='max'
  ;   K[4]='GetConfigIndex'
  ;   K[5]=1
  ;   K[6]='m_roundEndTime'
  ;   K[7]='GetRoundEndTime'
  ;   K[8]='m_roundConfig'
  ;   K[9]='GetRoundConfigByIndex'
  ;   K[10]='m_tokenNumber'
  ;   K[11]='GetTokenNumber'
  ;   K[12]='m_maxTokenNumber'
  ;   K[13]='GetTokenNum'
  ;   K[14]='m_bIsFirstMainWindow'
  ;   K[15]='IsStartWindowPoped'
  ;   K[16]='m_bIsFinished'
  ;   upvals: _ENV
  ;   locals: self(0-37), model(2-37)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K2('math')]
  0003  GETTABLE  R2 = R2[K3('max')]
  0004  SELF      R4 = R1[K4('GetConfigIndex')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  LOADK     R4 = K5 1
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  SETTABLE  R0[K1('m_configIndex')] = R2
  0009  SELF      R3 = R1[K7('GetRoundEndTime')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  SETTABLE  R0[K6('m_roundEndTime')] = R2
  0012  SELF      R3 = R1[K9('GetRoundConfigByIndex')] (self)
  0013  GETTABLE  R4 = R0[K1('m_configIndex')]
  0014  CALL      R2 = call(R2, 1 args, 2 rets)
  0015  SETTABLE  R0[K8('m_roundConfig')] = R2
  0016  SELF      R3 = R1[K11('GetTokenNumber')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  SETTABLE  R0[K10('m_tokenNumber')] = R2
  0019  GETTABLE  R2 = R0[K8('m_roundConfig')]
  0020  SELF      R3 = R2[K13('GetTokenNum')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  SETTABLE  R0[K12('m_maxTokenNumber')] = R2
  0023  SELF      R3 = R0[K0('GetModel')] (self)
  0024  CALL      R2 = call(R2, 1 args, 1 rets)
  0025  SELF      R3 = R2[K15('IsStartWindowPoped')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  NOT       R2 = not R0
  0028  SETTABLE  R0[K14('m_bIsFirstMainWindow')] = R2
  0029  GETTABLE  R2 = R0[K10('m_tokenNumber')]
  0030  GETTABLE  R3 = R0[K12('m_maxTokenNumber')]
  0031  LE        if R1 le R2   -> -129501
  0032  JMP       (jump)   -> 34
  0033  LOADBOOL  R2 = false
  0034  LOADBOOL  R2 = true
  0035  SETTABLE  R0[K16('m_bIsFinished')] = R2
  0036  RETURN    return R0..R-1
; ---------- proto3 [_TryClaimReward] ----------
  ; fn ?  line 99-103 np=1 va=0 ms=5 code=39 consts=10 upvals=1 protos=0
  ;   K[0]='m_arrOtherRewards'
  ;   K[1]='m_arrCacheRewards'
  ;   K[2]='m_arrItemRewards'
  ;   K[3]='m_arrFinishedCookItems'
  ;   K[4]='GetModel'
  ;   K[5]='TryClaimReward'
  ;   K[6]='m_bHasRewardToClaim'
  ;   K[7]='Table'
  ;   K[8]='IsEmpty'
  ;   K[9]='m_bCloseWhenFinish'
  ;   upvals: _ENV
  ;   locals: self(0-39)
  0000  SELF      R2 = R0[K4('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K5('TryClaimReward')] (self)
  0003  CALL      R1 = call(R1, 4 args, 1 rets)
  0004  SETTABLE  R0[K3('m_arrFinishedCookItems')] = R4
  0005  SETTABLE  R0[K2('m_arrItemRewards')] = R3
  0006  SETTABLE  R0[K1('m_arrCacheRewards')] = R2
  0007  SETTABLE  R0[K0('m_arrOtherRewards')] = R1
  0008  GETTABUP  R1 = _ENV[K7('Table')]
  0009  GETTABLE  R1 = R1[K8('IsEmpty')]
  0010  GETTABLE  R2 = R0[K0('m_arrOtherRewards')]
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 33
  0014  GETTABUP  R1 = _ENV[K7('Table')]
  0015  GETTABLE  R1 = R1[K8('IsEmpty')]
  0016  GETTABLE  R2 = R0[K1('m_arrCacheRewards')]
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131052
  0019  JMP       (jump)   -> 33
  0020  GETTABUP  R1 = _ENV[K7('Table')]
  0021  GETTABLE  R1 = R1[K8('IsEmpty')]
  0022  GETTABLE  R2 = R0[K2('m_arrItemRewards')]
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  TEST      if not R1 then   -> -131046
  0025  JMP       (jump)   -> 33
  0026  GETTABUP  R1 = _ENV[K7('Table')]
  0027  GETTABLE  R1 = R1[K8('IsEmpty')]
  0028  GETTABLE  R2 = R0[K3('m_arrFinishedCookItems')]
  0029  CALL      R1 = call(R1, 1 args, 1 rets)
  0030  NOT       R1 = not R0
  0031  JMP       (jump)   -> 34
  0032  LOADBOOL  R1 = false
  0033  LOADBOOL  R1 = true
  0034  SETTABLE  R0[K6('m_bHasRewardToClaim')] = R1
  0035  GETTABLE  R1 = R0[K6('m_bHasRewardToClaim')]
  0036  NOT       R1 = not R0
  0037  SETTABLE  R0[K9('m_bCloseWhenFinish')] = R1
  0038  RETURN    return R0..R-1
; ---------- proto4 [_UpdatePotGo] ----------
  ; fn ?  line 106-111 np=2 va=0 ms=10 code=32 consts=8 upvals=1 protos=0
  ;   K[0]=1
  ;   K[1]=3
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='string'
  ;   K[5]='format'
  ;   K[6]='m_pot%dGo'
  ;   K[7]='m_potEffect%dGo'
  ;   upvals: _ENV
  ;   locals: self(0-32), configIndex(0-32), (for index)(3-31), (for limit)(3-31), (for step)(3-31), index(4-30)
  0000  LOADK     R2 = K0 1
  0001  LOADK     R3 = K1 3
  0002  LOADK     R4 = K0 1
  0003  FORPREP   forprep R2(sBx=26)   -> 30
  0004  GETTABUP  R6 = _ENV[K2('UIUtil')]
  0005  GETTABLE  R6 = R6[K3('SetActive')]
  0006  GETTABUP  R7 = _ENV[K4('string')]
  0007  GETTABLE  R7 = R7[K5('format')]
  0008  LOADK     R8 = K6 'm_pot%dGo'
  0009  MOVE      R9 = R0
  0010  CALL      R7 = call(R7, 1 args, 2 rets)
  0011  GETTABLE  R7 = R0[R7]
  0012  EQ        if R1 eq R5   -> -130541
  0013  JMP       (jump)   -> 15
  0014  LOADBOOL  R8 = false
  0015  LOADBOOL  R8 = true
  0016  CALL      R6 = call(R6, 0 args, 2 rets)
  0017  GETTABUP  R6 = _ENV[K2('UIUtil')]
  0018  GETTABLE  R6 = R6[K3('SetActive')]
  0019  GETTABUP  R7 = _ENV[K4('string')]
  0020  GETTABLE  R7 = R7[K5('format')]
  0021  LOADK     R8 = K7 'm_potEffect%dGo'
  0022  MOVE      R9 = R0
  0023  CALL      R7 = call(R7, 1 args, 2 rets)
  0024  GETTABLE  R7 = R0[R7]
  0025  EQ        if R1 eq R5   -> -130528
  0026  JMP       (jump)   -> 28
  0027  LOADBOOL  R8 = false
  0028  LOADBOOL  R8 = true
  0029  CALL      R6 = call(R6, 0 args, 2 rets)
  0030  FORLOOP   forloop R2(sBx=-27)   -> 4
  0031  RETURN    return R0..R-1
; ---------- proto5 [GetPotSprite] ----------
  ; fn ?  line 115-117 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_pot%dSprite'
  ;   upvals: _ENV
  ;   locals: self(0-8), configIndex(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_pot%dSprite'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto6 [GetTipBgSprite] ----------
  ; fn ?  line 121-123 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_tipBg%dSprite'
  ;   upvals: _ENV
  ;   locals: self(0-8), configIndex(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_tipBg%dSprite'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto7 [GetRewardTipRoot] ----------
  ; fn ?  line 127-129 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_rewardTipRoot%d'
  ;   upvals: _ENV
  ;   locals: self(0-8), configIndex(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_rewardTipRoot%d'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto8 [GetRewardTipIconTopRoot] ----------
  ; fn ?  line 133-135 np=2 va=0 ms=5 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='m_rewardTipIconTopRoot%d'
  ;   upvals: _ENV
  ;   locals: self(0-8), configIndex(0-8)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 'm_rewardTipIconTopRoot%d'
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  GETTABLE  R2 = R0[R2]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto9 [GetConfigIndexTitle] ----------
  ; fn ?  line 139-141 np=2 va=0 ms=7 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameTextModel'
  ;   K[2]='GetText'
  ;   K[3]='string'
  ;   K[4]='format'
  ;   K[5]='cookBoost_lv%d_title'
  ;   upvals: _ENV
  ;   locals: self(0-11), configIndex(0-11)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('GameTextModel')]
  0002  SELF      R3 = R2[K2('GetText')] (self)
  0003  GETTABUP  R4 = _ENV[K3('string')]
  0004  GETTABLE  R4 = R4[K4('format')]
  0005  LOADK     R5 = K5 'cookBoost_lv%d_title'
  0006  MOVE      R6 = R0
  0007  CALL      R4 = call(R4, -1 args, 2 rets)
  0008  TAILCALL  tailcall(R2, 0)
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto10 [GetConfigIndexDesc] ----------
  ; fn ?  line 145-147 np=2 va=0 ms=7 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameTextModel'
  ;   K[2]='GetText'
  ;   K[3]='string'
  ;   K[4]='format'
  ;   K[5]='cookBoost_lv%d_desc'
  ;   upvals: _ENV
  ;   locals: self(0-11), configIndex(0-11)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('GameTextModel')]
  0002  SELF      R3 = R2[K2('GetText')] (self)
  0003  GETTABUP  R4 = _ENV[K3('string')]
  0004  GETTABLE  R4 = R4[K4('format')]
  0005  LOADK     R5 = K5 'cookBoost_lv%d_desc'
  0006  MOVE      R6 = R0
  0007  CALL      R4 = call(R4, -1 args, 2 rets)
  0008  TAILCALL  tailcall(R2, 0)
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto11 [_InitView] ----------
  ; fn ?  line 149-164 np=1 va=0 ms=9 code=79 consts=37 upvals=2 protos=0
  ;   K[0]='_UpdatePotGo'
  ;   K[1]='m_configIndex'
  ;   K[2]='m_bIsFinished'
  ;   K[3]='m_potAnimator'
  ;   K[4]='SetBool'
  ;   K[5]='Show'
  ;   K[6]='m_configIndexProgress'
  ;   K[7]='Init'
  ;   K[8]='m_descText'
  ;   K[9]='text'
  ;   K[10]='GM'
  ;   K[11]='GameTextModel'
  ;   K[12]='GetText'
  ;   K[13]='cookBoost_collect_rule_desc'
  ;   K[14]='m_maxTokenNumber'
  ;   K[15]='GetConfigIndexTitle'
  ;   K[16]='m_progressSlider'
  ;   K[17]='value'
  ;   K[18]=0
  ;   K[19]='m_tokenNumber'
  ;   K[20]='m_progressText'
  ;   K[21]='string'
  ;   K[22]='format'
  ;   K[23]='%d/%d'
  ;   K[24]='m_buttonText'
  ;   K[25]='m_bHasRewardToClaim'
  ;   K[26]='button_claim'
  ;   K[27]='cook_desc'
  ;   K[28]='m_bIsFirstMainWindow'
  ;   K[29]='GetModel'
  ;   K[30]='GetRoundConfigByIndex'
  ;   K[31]=1
  ;   K[32]='GetTimeLimit'
  ;   K[33]='m_countDownText'
  ;   K[34]='TimeUtil'
  ;   K[35]='ParseTimeDescription'
  ;   K[36]=2
  ;   upvals: EAnimatorParameterKey, _ENV
  ;   locals: self(0-79), timeLimit(69-78)
  0000  SELF      R2 = R0[K0('_UpdatePotGo')] (self)
  0001  GETTABLE  R3 = R0[K1('m_configIndex')]
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  GETTABLE  R1 = R0[K2('m_bIsFinished')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R1 = R0[K3('m_potAnimator')]
  0007  SELF      R2 = R1[K4('SetBool')] (self)
  0008  GETTABUP  R3 = EAnimatorParameterKey[K5('Show')]
  0009  LOADBOOL  R4 = true
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  GETTABLE  R1 = R0[K6('m_configIndexProgress')]
  0012  SELF      R2 = R1[K7('Init')] (self)
  0013  GETTABLE  R3 = R0[K1('m_configIndex')]
  0014  GETTABLE  R4 = R0[K2('m_bIsFinished')]
  0015  CALL      R1 = call(R1, 0 args, 3 rets)
  0016  GETTABLE  R1 = R0[K8('m_descText')]
  0017  GETTABUP  R2 = _ENV[K10('GM')]
  0018  GETTABLE  R2 = R2[K11('GameTextModel')]
  0019  SELF      R3 = R2[K12('GetText')] (self)
  0020  LOADK     R4 = K13 'cookBoost_collect_rule_desc'
  0021  GETTABLE  R5 = R0[K14('m_maxTokenNumber')]
  0022  SELF      R7 = R0[K15('GetConfigIndexTitle')] (self)
  0023  GETTABLE  R8 = R0[K1('m_configIndex')]
  0024  CALL      R6 = call(R6, -1 args, 2 rets)
  0025  CALL      R2 = call(R2, 1 args, -1 rets)
  0026  SETTABLE  R1[K9('text')] = R2
  0027  GETTABLE  R1 = R0[K16('m_progressSlider')]
  0028  GETTABLE  R2 = R0[K14('m_maxTokenNumber')]
  0029  LT        if R0 lt R2   -> 9249
  0030  JMP       (jump)   -> 36
  0031  GETTABLE  R2 = R0[K19('m_tokenNumber')]
  0032  GETTABLE  R3 = R0[K14('m_maxTokenNumber')]
  0033  DIV       R2 = R3 div R2
  0034  TEST      if not R2 then   -> -131035
  0035  JMP       (jump)   -> 37
  0036  LOADK     R2 = K18 0
  0037  SETTABLE  R1[K17('value')] = R2
  0038  GETTABLE  R1 = R0[K20('m_progressText')]
  0039  GETTABUP  R2 = _ENV[K21('string')]
  0040  GETTABLE  R2 = R2[K22('format')]
  0041  LOADK     R3 = K23 '%d/%d'
  0042  GETTABLE  R4 = R0[K19('m_tokenNumber')]
  0043  GETTABLE  R5 = R0[K14('m_maxTokenNumber')]
  0044  CALL      R2 = call(R2, 1 args, 3 rets)
  0045  SETTABLE  R1[K9('text')] = R2
  0046  GETTABLE  R1 = R0[K24('m_buttonText')]
  0047  GETTABUP  R2 = _ENV[K10('GM')]
  0048  GETTABLE  R2 = R2[K11('GameTextModel')]
  0049  SELF      R3 = R2[K12('GetText')] (self)
  0050  GETTABLE  R4 = R0[K25('m_bHasRewardToClaim')]
  0051  TEST      if not R4 then   -> -131019
  0052  JMP       (jump)   -> 56
  0053  LOADK     R4 = K26 'button_claim'
  0054  TEST      if not R4 then   -> -131015
  0055  JMP       (jump)   -> 57
  0056  LOADK     R4 = K27 'cook_desc'
  0057  CALL      R2 = call(R2, 1 args, 2 rets)
  0058  SETTABLE  R1[K9('text')] = R2
  0059  GETTABLE  R1 = R0[K28('m_bIsFirstMainWindow')]
  0060  TEST      if not R1 then   -> -131010
  0061  JMP       (jump)   -> 78
  0062  SELF      R2 = R0[K29('GetModel')] (self)
  0063  CALL      R1 = call(R1, 1 args, 1 rets)
  0064  SELF      R2 = R1[K30('GetRoundConfigByIndex')] (self)
  0065  LOADK     R3 = K31 1
  0066  CALL      R1 = call(R1, 1 args, 2 rets)
  0067  SELF      R2 = R1[K32('GetTimeLimit')] (self)
  0068  CALL      R1 = call(R1, 1 args, 1 rets)
  0069  GETTABLE  R2 = R0[K33('m_countDownText')]
  0070  GETTABUP  R3 = _ENV[K34('TimeUtil')]
  0071  GETTABLE  R3 = R3[K35('ParseTimeDescription')]
  0072  MOVE      R4 = R0
  0073  LOADK     R5 = K36 2
  0074  LOADBOOL  R6 = false
  0075  LOADBOOL  R7 = true
  0076  CALL      R3 = call(R3, 1 args, 4 rets)
  0077  SETTABLE  R2[K9('text')] = R3
  0078  RETURN    return R0..R-1
; ---------- proto12 [_HideButton] ----------
  ; fn ?  line 166-172 np=1 va=0 ms=4 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='TutorialHelper'
  ;   K[1]='GetHudButton'
  ;   K[2]='GetModel'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='EntryButtonKey'
  ;   K[5]=nil
  ;   K[6]='Hide'
  ;   upvals: _ENV
  ;   locals: self(0-13), targetButton(8-13)
  0000  GETTABUP  R1 = _ENV[K0('TutorialHelper')]
  0001  GETTABLE  R1 = R1[K1('GetHudButton')]
  0002  SELF      R3 = R0[K2('GetModel')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R3 = R2[K3('GetActivityDefinition')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  GETTABLE  R2 = R2[K4('EntryButtonKey')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  EQ        if R1 eq K5(nil)   -> -130289
  0009  JMP       (jump)   -> 12
  0010  SELF      R3 = R1[K6('Hide')] (self)
  0011  CALL      R2 = call(R2, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto13 [UpdatePerSecond] ----------
  ; fn ?  line 174-180 np=1 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_bIsFirstMainWindow'
  ;   K[1]='CookBoostActivityBaseWindow'
  ;   K[2]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_bIsFirstMainWindow')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('CookBoostActivityBaseWindow')]
  0005  GETTABLE  R1 = R1[K2('UpdatePerSecond')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto14 [Close] ----------
  ; fn ?  line 183-216 np=1 va=0 ms=10 code=62 consts=25 upvals=1 protos=1
  ;   K[0]='GetModel'
  ;   K[1]='m_bIsFirstMainWindow'
  ;   K[2]='IsActivityOpen'
  ;   K[3]='_IsModelIdChanged'
  ;   K[4]='CanTrigger'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='SetEventLock'
  ;   K[8]='SetHideTopRightEntry'
  ;   K[9]='TryTrigger'
  ;   K[10]='DataResource'
  ;   K[11]='UIPrefabConfig'
  ;   K[12]='GetConfig'
  ;   K[13]='GetActivityDefinition'
  ;   K[14]='StartPotPrefabName'
  ;   K[15]='GM'
  ;   K[16]='ResourceLoader'
  ;   K[17]='LoadPrefab'
  ;   K[18]='UIManager'
  ;   K[19]='GetCanvasRoot'
  ;   K[20]='V3Zero'
  ;   K[21]='ShowPromptWithKey'
  ;   K[22]='event_general_end'
  ;   K[23]='CookBoostActivityBaseWindow'
  ;   K[24]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-62), model(2-62), resConfig(36-49), callback(37-49)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_bIsFirstMainWindow')]
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 49
  0005  SELF      R3 = R1[K2('IsActivityOpen')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 49
  0009  SELF      R3 = R0[K3('_IsModelIdChanged')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 49
  0013  SELF      R3 = R1[K4('CanTrigger')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  TEST      if not R2 then   -> -131055
  0016  JMP       (jump)   -> 49
  0017  GETTABUP  R2 = _ENV[K5('GM')]
  0018  GETTABLE  R2 = R2[K6('UIManager')]
  0019  SELF      R3 = R2[K7('SetEventLock')] (self)
  0020  LOADBOOL  R4 = true
  0021  MOVE      R5 = R0
  0022  CALL      R2 = call(R2, 0 args, 3 rets)
  0023  SELF      R3 = R1[K8('SetHideTopRightEntry')] (self)
  0024  LOADBOOL  R4 = true
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  SELF      R3 = R1[K9('TryTrigger')] (self)
  0027  CALL      R2 = call(R2, 0 args, 1 rets)
  0028  GETTABUP  R2 = _ENV[K5('GM')]
  0029  GETTABLE  R2 = R2[K10('DataResource')]
  0030  GETTABLE  R2 = R2[K11('UIPrefabConfig')]
  0031  SELF      R3 = R2[K12('GetConfig')] (self)
  0032  SELF      R5 = R1[K13('GetActivityDefinition')] (self)
  0033  CALL      R4 = call(R4, 1 args, 1 rets)
  0034  GETTABLE  R4 = R4[K14('StartPotPrefabName')]
  0035  CALL      R2 = call(R2, 1 args, 2 rets)
  0036  CLOSURE   R3 = closure proto0
  0037  GETTABUP  R4 = _ENV[K15('GM')]
  0038  GETTABLE  R4 = R4[K16('ResourceLoader')]
  0039  SELF      R5 = R4[K17('LoadPrefab')] (self)
  0040  MOVE      R6 = R0
  0041  GETTABUP  R7 = _ENV[K15('GM')]
  0042  GETTABLE  R7 = R7[K18('UIManager')]
  0043  SELF      R8 = R7[K19('GetCanvasRoot')] (self)
  0044  CALL      R7 = call(R7, 1 args, 1 rets)
  0045  GETTABUP  R8 = _ENV[K20('V3Zero')]
  0046  MOVE      R9 = R0
  0047  CALL      R4 = call(R4, 0 args, 5 rets)
  0048  RETURN    return R0..R-1
  0049  GETTABLE  R2 = R0[K1('m_bIsFirstMainWindow')]
  0050  TEST      if not R2 then   -> -131020
  0051  JMP       (jump)   -> 57
  0052  GETTABUP  R2 = _ENV[K15('GM')]
  0053  GETTABLE  R2 = R2[K18('UIManager')]
  0054  SELF      R3 = R2[K21('ShowPromptWithKey')] (self)
  0055  LOADK     R4 = K22 'event_general_end'
  0056  CALL      R2 = call(R2, 0 args, 2 rets)
  0057  GETTABUP  R2 = _ENV[K23('CookBoostActivityBaseWindow')]
  0058  GETTABLE  R2 = R2[K24('Close')]
  0059  MOVE      R3 = R0
  0060  CALL      R2 = call(R2, 0 args, 1 rets)
  0061  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 193-208 np=1 va=0 ms=9 code=38 consts=23 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='EventDispatcher'
    ;   K[4]='DispatchEvent'
    ;   K[5]='EEventType'
    ;   K[6]='ViewCacheItems'
    ;   K[7]=-0.9
    ;   K[8]='UIUtil'
    ;   K[9]='SetActive'
    ;   K[10]='m_potGo'
    ;   K[11]='transform'
    ;   K[12]='position'
    ;   K[13]='m_potRoot'
    ;   K[14]='GetLuaTable'
    ;   K[15]='GetSortingOrder'
    ;   K[16]=1
    ;   K[17]='Init'
    ;   K[18]='m_model'
    ;   K[19]='m_id'
    ;   K[20]='m_configIndex'
    ;   K[21]='CookBoostActivityBaseWindow'
    ;   K[22]='Close'
    ;   upvals: _ENV, self
    ;   locals: gameObject(0-38), startPot(23-38), sortingOrder(27-38)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('SetEventLock')] (self)
    0003  LOADBOOL  R3 = false
    0004  GETUPVAL  R4 = _ENV
    0005  CALL      R1 = call(R1, 0 args, 3 rets)
    0006  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
    0007  GETTABLE  R1 = R1[K4('DispatchEvent')]
    0008  GETTABUP  R2 = _ENV[K5('EEventType')]
    0009  GETTABLE  R2 = R2[K6('ViewCacheItems')]
    0010  LOADK     R3 = K7 -0.9
    0011  CALL      R1 = call(R1, 0 args, 2 rets)
    0012  GETTABUP  R1 = _ENV[K8('UIUtil')]
    0013  GETTABLE  R1 = R1[K9('SetActive')]
    0014  GETTABUP  R2 = self[K10('m_potGo')]
    0015  LOADBOOL  R3 = false
    0016  CALL      R1 = call(R1, 0 args, 2 rets)
    0017  GETTABLE  R1 = R0[K11('transform')]
    0018  GETTABUP  R2 = self[K13('m_potRoot')]
    0019  GETTABLE  R2 = R2[K12('position')]
    0020  SETTABLE  R1[K12('position')] = R2
    0021  SELF      R2 = R0[K14('GetLuaTable')] (self)
    0022  CALL      R1 = call(R1, 1 args, 1 rets)
    0023  GETUPVAL  R2 = _ENV
    0024  SELF      R3 = R2[K15('GetSortingOrder')] (self)
    0025  CALL      R2 = call(R2, 1 args, 1 rets)
    0026  ADD       R2 = K16(1) add R2
    0027  SELF      R4 = R1[K17('Init')] (self)
    0028  GETTABUP  R5 = self[K18('m_model')]
    0029  GETTABUP  R6 = self[K19('m_id')]
    0030  GETTABUP  R7 = self[K20('m_configIndex')]
    0031  MOVE      R8 = R0
    0032  CALL      R3 = call(R3, 0 args, 5 rets)
    0033  GETTABUP  R3 = _ENV[K21('CookBoostActivityBaseWindow')]
    0034  GETTABLE  R3 = R3[K22('Close')]
    0035  GETUPVAL  R4 = _ENV
    0036  CALL      R3 = call(R3, 0 args, 1 rets)
    0037  RETURN    return R0..R-1
; ---------- proto15 [OnCloseView] ----------
  ; fn ?  line 219-393 np=1 va=0 ms=29 code=218 consts=67 upvals=1 protos=5
  ;   K[0]='CookBoostActivityBaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_bHasRewardToClaim'
  ;   K[3]='TutorialHelper'
  ;   K[4]='GetHudButton'
  ;   K[5]='GetModel'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='EntryButtonKey'
  ;   K[8]='transform'
  ;   K[9]='position'
  ;   K[10]='V3Zero'
  ;   K[11]='Table'
  ;   K[12]='IsEmpty'
  ;   K[13]='m_arrOtherRewards'
  ;   K[14]='ipairs'
  ;   K[15]='table'
  ;   K[16]='insert'
  ;   K[17]='RewardApi'
  ;   K[18]='AcquireRewardsInView'
  ;   K[19]='arrWorldPos'
  ;   K[20]='eventLock'
  ;   K[21]=true
  ;   K[22]='bNoFilterReward'
  ;   K[23]='ERewardScene'
  ;   K[24]='Other'
  ;   K[25]='GM'
  ;   K[26]='SceneManager'
  ;   K[27]='GetGameMode'
  ;   K[28]='EGameMode'
  ;   K[29]='Board'
  ;   K[30]='ChangeGameMode'
  ;   K[31]='m_arrFinishedCookItems'
  ;   K[32]='m_arrItemRewards'
  ;   K[33]='BoardPosition'
  ;   K[34]='SortItemsByPosition'
  ;   K[35]='MainBoardView'
  ;   K[36]='GetInstance'
  ;   K[37]='FlyingItemViewPrefabName'
  ;   K[38]='FlyingFirePrefabName'
  ;   K[39]='DOTween'
  ;   K[40]='Sequence'
  ;   K[41]=0
  ;   K[42]=nil
  ;   K[43]='ipairs'
  ;   K[44]='GetComponent'
  ;   K[45]='ItemCook'
  ;   K[46]='GetItemView'
  ;   K[47]='ConvertWorldPositionToScreenPosition'
  ;   K[48]='PositionUtil'
  ;   K[49]='UICameraScreen2World'
  ;   K[50]=1
  ;   K[51]='Append'
  ;   K[52]='DORootScale'
  ;   K[53]=1
  ;   K[54]='Append'
  ;   K[55]='m_arrCacheRewards'
  ;   K[56]='PROPERTY_COUNT'
  ;   K[57]='GM'
  ;   K[58]='ItemDataModel'
  ;   K[59]='GetSpriteName'
  ;   K[60]='PROPERTY_TYPE'
  ;   K[61]='PrependInterval'
  ;   K[62]=0.5
  ;   K[63]='PrependCallback'
  ;   K[64]='GetModel'
  ;   K[65]='SetAwardAnimationPlayed'
  ;   K[66]='_HideButton'
  ;   upvals: _ENV
  ;   locals: self(0-218), targetButton(15-217), position(22-217), arrWorldPos(29-50), (for generator)(32-40), (for state)(32-40), (for control)(32-40), index(33-38), arrItemModel(65-217), mapCookItems(66-217), mapRewardItems(67-217), (for generator)(70-79), (for state)(70-79), (for control)(70-79), _(71-77), itemModel(71-77), (for generator)(82-91), (for state)(82-91), (for control)(82-91), _(83-89), itemModel(83-89), boardView(98-217), prefabName(103-217), flyingFirePrefabName(108-217), sequence(111-217), count(112-217), bHasItemReward(113-217), callback(114-217), (for generator)(125-166), (for state)(125-166), (for control)(125-166), _(126-164), itemModel(126-164), itemModel(131-152), itemCook(134-152), itemView(137-152), screenPos(141-152), worldPos(145-152), itemModel(157-164), cachePosition(174-201), (for generator)(177-200), (for state)(177-200), (for control)(177-200), _(178-198), reward(178-198), (for index)(182-197), (for limit)(182-197), (for step)(182-197), rewardIndex(183-196), spriteName(189-196)
  0000  GETTABUP  R1 = _ENV[K0('CookBoostActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_bHasRewardToClaim')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 217
  0007  GETTABUP  R1 = _ENV[K3('TutorialHelper')]
  0008  GETTABLE  R1 = R1[K4('GetHudButton')]
  0009  SELF      R3 = R0[K5('GetModel')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  SELF      R3 = R2[K6('GetActivityDefinition')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  GETTABLE  R2 = R2[K7('EntryButtonKey')]
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 21
  0017  GETTABLE  R2 = R1[K8('transform')]
  0018  GETTABLE  R2 = R2[K9('position')]
  0019  TEST      if not R2 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  GETTABUP  R2 = _ENV[K10('V3Zero')]
  0022  GETTABUP  R3 = _ENV[K11('Table')]
  0023  GETTABLE  R3 = R3[K12('IsEmpty')]
  0024  GETTABLE  R4 = R0[K13('m_arrOtherRewards')]
  0025  CALL      R3 = call(R3, 1 args, 1 rets)
  0026  TEST      if not R3 then   -> -131043
  0027  JMP       (jump)   -> 50
  0028  NEWTABLE  R3 = {} (0 items)
  0029  GETTABUP  R4 = _ENV[K14('ipairs')]
  0030  GETTABLE  R5 = R0[K13('m_arrOtherRewards')]
  0031  CALL      R4 = call(R4, 3 args, 1 rets)
  0032  JMP       (jump)   -> 38
  0033  GETTABUP  R8 = _ENV[K15('table')]
  0034  GETTABLE  R8 = R8[K16('insert')]
  0035  MOVE      R9 = R0
  0036  MOVE      R10 = R0
  0037  CALL      R8 = call(R8, 0 args, 2 rets)
  0038  TFORCALL  tforcall R4
  0039  TFORLOOP  tforloop R6(sBx=-7)   -> 33
  0040  GETTABUP  R4 = _ENV[K17('RewardApi')]
  0041  GETTABLE  R4 = R4[K18('AcquireRewardsInView')]
  0042  GETTABLE  R5 = R0[K13('m_arrOtherRewards')]
  0043  NEWTABLE  R6 = {} (0 items)
  0044  SETTABLE  R6[K19('arrWorldPos')] = R3
  0045  SETTABLE  R6[K20('eventLock')] = K21(true)
  0046  SETTABLE  R6[K22('bNoFilterReward')] = K21(true)
  0047  GETTABUP  R7 = _ENV[K23('ERewardScene')]
  0048  GETTABLE  R7 = R7[K24('Other')]
  0049  CALL      R4 = call(R4, 0 args, 3 rets)
  0050  GETTABUP  R3 = _ENV[K25('GM')]
  0051  GETTABLE  R3 = R3[K26('SceneManager')]
  0052  SELF      R4 = R3[K27('GetGameMode')] (self)
  0053  CALL      R3 = call(R3, 1 args, 1 rets)
  0054  GETTABUP  R4 = _ENV[K28('EGameMode')]
  0055  GETTABLE  R4 = R4[K29('Board')]
  0056  EQ        if R1 eq R4   -> -129474
  0057  JMP       (jump)   -> 64
  0058  GETTABUP  R3 = _ENV[K25('GM')]
  0059  GETTABLE  R3 = R3[K26('SceneManager')]
  0060  SELF      R4 = R3[K30('ChangeGameMode')] (self)
  0061  GETTABUP  R5 = _ENV[K28('EGameMode')]
  0062  GETTABLE  R5 = R5[K29('Board')]
  0063  CALL      R3 = call(R3, 0 args, 2 rets)
  0064  NEWTABLE  R3 = {} (0 items)
  0065  NEWTABLE  R4 = {} (0 items)
  0066  NEWTABLE  R5 = {} (0 items)
  0067  GETTABUP  R6 = _ENV[K14('ipairs')]
  0068  GETTABLE  R7 = R0[K31('m_arrFinishedCookItems')]
  0069  CALL      R6 = call(R6, 3 args, 1 rets)
  0070  JMP       (jump)   -> 77
  0071  GETTABUP  R11 = _ENV[K15('table')]
  0072  GETTABLE  R11 = R11[K16('insert')]
  0073  MOVE      R12 = R0
  0074  MOVE      R13 = R0
  0075  CALL      R11 = call(R11, 0 args, 2 rets)
  0076  SETTABLE  R4[R10] = K21(true)
  0077  TFORCALL  tforcall R6
  0078  TFORLOOP  tforloop R8(sBx=-8)   -> 71
  0079  GETTABUP  R6 = _ENV[K14('ipairs')]
  0080  GETTABLE  R7 = R0[K32('m_arrItemRewards')]
  0081  CALL      R6 = call(R6, 3 args, 1 rets)
  0082  JMP       (jump)   -> 89
  0083  GETTABUP  R11 = _ENV[K15('table')]
  0084  GETTABLE  R11 = R11[K16('insert')]
  0085  MOVE      R12 = R0
  0086  MOVE      R13 = R0
  0087  CALL      R11 = call(R11, 0 args, 2 rets)
  0088  SETTABLE  R5[R10] = K21(true)
  0089  TFORCALL  tforcall R6
  0090  TFORLOOP  tforloop R8(sBx=-8)   -> 83
  0091  GETTABUP  R6 = _ENV[K33('BoardPosition')]
  0092  GETTABLE  R6 = R6[K34('SortItemsByPosition')]
  0093  MOVE      R7 = R0
  0094  CALL      R6 = call(R6, 0 args, 1 rets)
  0095  GETTABUP  R6 = _ENV[K35('MainBoardView')]
  0096  GETTABLE  R6 = R6[K36('GetInstance')]
  0097  CALL      R6 = call(R6, 1 args, 0 rets)
  0098  SELF      R8 = R0[K5('GetModel')] (self)
  0099  CALL      R7 = call(R7, 1 args, 1 rets)
  0100  SELF      R8 = R7[K6('GetActivityDefinition')] (self)
  0101  CALL      R7 = call(R7, 1 args, 1 rets)
  0102  GETTABLE  R7 = R7[K37('FlyingItemViewPrefabName')]
  0103  SELF      R9 = R0[K5('GetModel')] (self)
  0104  CALL      R8 = call(R8, 1 args, 1 rets)
  0105  SELF      R9 = R8[K6('GetActivityDefinition')] (self)
  0106  CALL      R8 = call(R8, 1 args, 1 rets)
  0107  GETTABLE  R8 = R8[K38('FlyingFirePrefabName')]
  0108  GETTABUP  R9 = _ENV[K39('DOTween')]
  0109  GETTABLE  R9 = R9[K40('Sequence')]
  0110  CALL      R9 = call(R9, 1 args, 0 rets)
  0111  LOADK     R10 = K41 0
  0112  LOADBOOL  R11 = false
  0113  CLOSURE   R12 = closure proto0
  0114  EQ        if R1 eq K42(nil)   -> -127586
  0115  JMP       (jump)   -> 166
  0116  GETTABUP  R13 = _ENV[K11('Table')]
  0117  GETTABLE  R13 = R13[K12('IsEmpty')]
  0118  MOVE      R14 = R0
  0119  CALL      R13 = call(R13, 1 args, 1 rets)
  0120  TEST      if not R13 then   -> -130949
  0121  JMP       (jump)   -> 166
  0122  GETTABUP  R13 = _ENV[K43('ipairs')]
  0123  MOVE      R14 = R0
  0124  CALL      R13 = call(R13, 3 args, 1 rets)
  0125  JMP       (jump)   -> 164
  0126  LOADBOOL  R11 = true
  0127  GETTABLE  R18 = R4[R17]
  0128  TEST      if not R18 then   -> -130942
  0129  JMP       (jump)   -> 153
  0130  MOVE      R18 = R0
  0131  SELF      R20 = R18[K44('GetComponent')] (self)
  0132  GETTABUP  R21 = _ENV[K45('ItemCook')]
  0133  CALL      R19 = call(R19, 1 args, 2 rets)
  0134  SELF      R21 = R6[K46('GetItemView')] (self)
  0135  MOVE      R22 = R0
  0136  CALL      R20 = call(R20, 1 args, 2 rets)
  0137  SELF      R22 = R6[K47('ConvertWorldPositionToScreenPosition')] (self)
  0138  GETTABLE  R23 = R20[K8('transform')]
  0139  GETTABLE  R23 = R23[K9('position')]
  0140  CALL      R21 = call(R21, 1 args, 2 rets)
  0141  GETTABUP  R22 = _ENV[K48('PositionUtil')]
  0142  GETTABLE  R22 = R22[K49('UICameraScreen2World')]
  0143  MOVE      R23 = R0
  0144  CALL      R22 = call(R22, 1 args, 1 rets)
  0145  ADD       R10 = K50(1) add R10
  0146  SELF      R24 = R9[K51('Append')] (self)
  0147  SELF      R26 = R1[K52('DORootScale')] (self)
  0148  CLOSURE   R27 = closure proto1
  0149  CALL      R25 = call(R25, -1 args, 2 rets)
  0150  CALL      R23 = call(R23, 0 args, -1 rets)
  0151  JMP       (jump)   -> 164
  0152  JMP       (jump)   -> 164
  0153  GETTABLE  R18 = R5[R17]
  0154  TEST      if not R18 then   -> -130916
  0155  JMP       (jump)   -> 164
  0156  MOVE      R18 = R0
  0157  ADD       R10 = K53(1) add R10
  0158  SELF      R20 = R9[K54('Append')] (self)
  0159  SELF      R22 = R1[K52('DORootScale')] (self)
  0160  CLOSURE   R23 = closure proto2
  0161  CALL      R21 = call(R21, -1 args, 2 rets)
  0162  CALL      R19 = call(R19, 0 args, -1 rets)
  0163  JMP       (jump)   -> 164
  0164  TFORCALL  tforcall R13
  0165  TFORLOOP  tforloop R15(sBx=-40)   -> 126
  0166  GETTABUP  R13 = _ENV[K11('Table')]
  0167  GETTABLE  R13 = R13[K12('IsEmpty')]
  0168  GETTABLE  R14 = R0[K55('m_arrCacheRewards')]
  0169  CALL      R13 = call(R13, 1 args, 1 rets)
  0170  TEST      if not R13 then   -> -130899
  0171  JMP       (jump)   -> 201
  0172  LOADBOOL  R11 = true
  0173  LOADNIL   R13..R13 = nil
  0174  GETTABUP  R14 = _ENV[K43('ipairs')]
  0175  GETTABLE  R15 = R0[K55('m_arrCacheRewards')]
  0176  CALL      R14 = call(R14, 3 args, 1 rets)
  0177  JMP       (jump)   -> 198
  0178  LOADK     R19 = K53 1
  0179  GETTABUP  R20 = _ENV[K56('PROPERTY_COUNT')]
  0180  GETTABLE  R20 = R18[R20]
  0181  LOADK     R21 = K53 1
  0182  FORPREP   forprep R19(sBx=13)   -> 196
  0183  GETTABUP  R23 = _ENV[K57('GM')]
  0184  GETTABLE  R23 = R23[K58('ItemDataModel')]
  0185  SELF      R24 = R23[K59('GetSpriteName')] (self)
  0186  GETTABUP  R25 = _ENV[K60('PROPERTY_TYPE')]
  0187  GETTABLE  R25 = R18[R25]
  0188  CALL      R23 = call(R23, 1 args, 2 rets)
  0189  ADD       R10 = K53(1) add R10
  0190  SELF      R25 = R9[K54('Append')] (self)
  0191  SELF      R27 = R1[K52('DORootScale')] (self)
  0192  CLOSURE   R28 = closure proto3
  0193  CALL      R26 = call(R26, -1 args, 2 rets)
  0194  CALL      R24 = call(R24, 0 args, -1 rets)
  0195  JMP       (jump)   -> 196
  0196  FORLOOP   forloop R19(sBx=-14)   -> 183
  0197  JMP       (jump)   -> 198
  0198  TFORCALL  tforcall R14
  0199  TFORLOOP  tforloop R16(sBx=-22)   -> 178
  0200  JMP       (jump)   -> 201
  0201  TEST      if not R11 then   -> -130869
  0202  JMP       (jump)   -> 210
  0203  SELF      R14 = R9[K61('PrependInterval')] (self)
  0204  LOADK     R15 = K62 0.5
  0205  CALL      R13 = call(R13, 0 args, 2 rets)
  0206  SELF      R14 = R9[K63('PrependCallback')] (self)
  0207  CLOSURE   R15 = closure proto4
  0208  CALL      R13 = call(R13, 0 args, 2 rets)
  0209  JMP       (jump)   -> 217
  0210  SELF      R14 = R0[K64('GetModel')] (self)
  0211  CALL      R13 = call(R13, 1 args, 1 rets)
  0212  SELF      R14 = R13[K65('SetAwardAnimationPlayed')] (self)
  0213  CALL      R13 = call(R13, 0 args, 1 rets)
  0214  SELF      R14 = R0[K66('_HideButton')] (self)
  0215  CALL      R13 = call(R13, 0 args, 1 rets)
  0216  JMP       (jump)   -> 217
  0217  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 265-287 np=0 va=0 ms=9 code=34 consts=16 upvals=3 protos=1
    ;   K[0]=1
    ;   K[1]=0
    ;   K[2]='ipairs'
    ;   K[3]='m_arrFinishedCookItems'
    ;   K[4]='GetComponent'
    ;   K[5]='ItemCook'
    ;   K[6]='OnPlaySpeedAnimFinish'
    ;   K[7]='DOTween'
    ;   K[8]='Sequence'
    ;   K[9]='AppendInterval'
    ;   K[10]=0.5
    ;   K[11]='AppendCallback'
    ;   K[12]='EventDispatcher'
    ;   K[13]='DispatchEvent'
    ;   K[14]='EEventType'
    ;   K[15]='ChangeCachedItems'
    ;   upvals: count, _ENV, self
    ;   locals: itemCook(7-33), (for generator)(10-19), (for state)(10-19), (for control)(10-19), _(11-17), itemModel(11-17), sequence(22-33)
    0000  GETUPVAL  R0 = count
    0001  SUB       R0 = K0(1) sub R0
    0002  SETUPVAL  count = R0
    0003  GETUPVAL  R0 = count
    0004  LE        if R0 le K1(0)   -> -130809
    0005  JMP       (jump)   -> 33
    0006  LOADNIL   R0..R0 = nil
    0007  GETTABUP  R1 = _ENV[K2('ipairs')]
    0008  GETTABUP  R2 = self[K3('m_arrFinishedCookItems')]
    0009  CALL      R1 = call(R1, 3 args, 1 rets)
    0010  JMP       (jump)   -> 17
    0011  SELF      R7 = R5[K4('GetComponent')] (self)
    0012  GETTABUP  R8 = _ENV[K5('ItemCook')]
    0013  CALL      R6 = call(R6, 1 args, 2 rets)
    0014  MOVE      R0 = R0
    0015  SELF      R7 = R0[K6('OnPlaySpeedAnimFinish')] (self)
    0016  CALL      R6 = call(R6, 0 args, 1 rets)
    0017  TFORCALL  tforcall R1
    0018  TFORLOOP  tforloop R3(sBx=-8)   -> 11
    0019  GETTABUP  R1 = _ENV[K7('DOTween')]
    0020  GETTABLE  R1 = R1[K8('Sequence')]
    0021  CALL      R1 = call(R1, 1 args, 0 rets)
    0022  SELF      R3 = R1[K9('AppendInterval')] (self)
    0023  LOADK     R4 = K10 0.5
    0024  CALL      R2 = call(R2, 0 args, 2 rets)
    0025  SELF      R3 = R1[K11('AppendCallback')] (self)
    0026  CLOSURE   R4 = closure proto0
    0027  CALL      R2 = call(R2, 0 args, 2 rets)
    0028  GETTABUP  R2 = _ENV[K12('EventDispatcher')]
    0029  GETTABLE  R2 = R2[K13('DispatchEvent')]
    0030  GETTABUP  R3 = _ENV[K14('EEventType')]
    0031  GETTABLE  R3 = R3[K15('ChangeCachedItems')]
    0032  CALL      R2 = call(R2, 0 args, 1 rets)
    0033  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 278-282 np=0 va=0 ms=3 code=14 consts=6 upvals=2 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='SetEventLock'
      ;   K[3]='GetModel'
      ;   K[4]='SetAwardAnimationPlayed'
      ;   K[5]='_HideButton'
      ;   upvals: _ENV, self
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('SetEventLock')] (self)
      0003  LOADBOOL  R2 = false
      0004  CALL      R0 = call(R0, 0 args, 2 rets)
      0005  GETUPVAL  R0 = _ENV
      0006  SELF      R1 = R0[K3('GetModel')] (self)
      0007  CALL      R0 = call(R0, 1 args, 1 rets)
      0008  SELF      R1 = R0[K4('SetAwardAnimationPlayed')] (self)
      0009  CALL      R0 = call(R0, 0 args, 1 rets)
      0010  GETUPVAL  R0 = _ENV
      0011  SELF      R1 = R0[K5('_HideButton')] (self)
      0012  CALL      R0 = call(R0, 0 args, 1 rets)
      0013  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 301-325 np=0 va=0 ms=6 code=17 consts=9 upvals=7 protos=1
    ;   K[0]='GM'
    ;   K[1]='ResourceLoader'
    ;   K[2]='LoadPrefab'
    ;   K[3]='DataResource'
    ;   K[4]='UIPrefabConfig'
    ;   K[5]='GetConfig'
    ;   K[6]='UIManager'
    ;   K[7]='GetCanvasRoot'
    ;   K[8]='V3Zero'
    ;   upvals: _ENV, flyingFirePrefabName, self, position, worldPos, itemCook, callback
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('ResourceLoader')]
    0002  SELF      R1 = R0[K2('LoadPrefab')] (self)
    0003  GETTABUP  R2 = _ENV[K0('GM')]
    0004  GETTABLE  R2 = R2[K3('DataResource')]
    0005  GETTABLE  R2 = R2[K4('UIPrefabConfig')]
    0006  SELF      R3 = R2[K5('GetConfig')] (self)
    0007  GETUPVAL  R4 = _ENV
    0008  CALL      R2 = call(R2, 1 args, 2 rets)
    0009  GETTABUP  R3 = _ENV[K0('GM')]
    0010  GETTABLE  R3 = R3[K6('UIManager')]
    0011  SELF      R4 = R3[K7('GetCanvasRoot')] (self)
    0012  CALL      R3 = call(R3, 1 args, 1 rets)
    0013  GETTABUP  R4 = _ENV[K8('V3Zero')]
    0014  CLOSURE   R5 = closure proto0
    0015  CALL      R0 = call(R0, 0 args, 5 rets)
    0016  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 302-324 np=1 va=0 ms=12 code=30 consts=14 upvals=6 protos=2
      ;   K[0]='GetLuaTable'
      ;   K[1]='Init'
      ;   K[2]='m_configIndex'
      ;   K[3]='transform'
      ;   K[4]='position'
      ;   K[5]='DOTween'
      ;   K[6]='Sequence'
      ;   K[7]='Append'
      ;   K[8]='DOJump'
      ;   K[9]=150
      ;   K[10]=1
      ;   K[11]=0.45
      ;   K[12]='AppendCallback'
      ;   K[13]='AppendInterval'
      ;   upvals: self, position, _ENV, worldPos, itemCook, callback
      ;   locals: go(0-30), flyingFire(2-30), transform(9-30), moveSequence(12-30)
      0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
      0001  CALL      R1 = call(R1, 1 args, 1 rets)
      0002  SELF      R3 = R1[K1('Init')] (self)
      0003  GETTABUP  R4 = self[K2('m_configIndex')]
      0004  CALL      R2 = call(R2, 0 args, 2 rets)
      0005  GETTABLE  R2 = R0[K3('transform')]
      0006  GETUPVAL  R3 = self
      0007  SETTABLE  R2[K4('position')] = R3
      0008  GETTABLE  R2 = R0[K3('transform')]
      0009  GETTABUP  R3 = _ENV[K5('DOTween')]
      0010  GETTABLE  R3 = R3[K6('Sequence')]
      0011  CALL      R3 = call(R3, 1 args, 0 rets)
      0012  SELF      R5 = R3[K7('Append')] (self)
      0013  SELF      R7 = R2[K8('DOJump')] (self)
      0014  GETUPVAL  R8 = self
      0015  LOADK     R9 = K9 150
      0016  LOADK     R10 = K10 1
      0017  LOADK     R11 = K11 0.45
      0018  CALL      R6 = call(R6, -1 args, 5 rets)
      0019  CALL      R4 = call(R4, 0 args, -1 rets)
      0020  SELF      R5 = R3[K12('AppendCallback')] (self)
      0021  CLOSURE   R6 = closure proto0
      0022  CALL      R4 = call(R4, 0 args, 2 rets)
      0023  SELF      R5 = R3[K13('AppendInterval')] (self)
      0024  LOADK     R6 = K10 1
      0025  CALL      R4 = call(R4, 0 args, 2 rets)
      0026  SELF      R5 = R3[K12('AppendCallback')] (self)
      0027  CLOSURE   R6 = closure proto1
      0028  CALL      R4 = call(R4, 0 args, 2 rets)
      0029  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 314-316 np=0 va=0 ms=3 code=6 consts=3 upvals=2 protos=0
        ;   K[0]='PlaySpeedAnim'
        ;   K[1]='ItemCookEventType'
        ;   K[2]='SpeedUpAnim2'
        ;   upvals: itemCook, _ENV
        0000  GETUPVAL  R0 = itemCook
        0001  SELF      R1 = R0[K0('PlaySpeedAnim')] (self)
        0002  GETTABUP  R2 = _ENV[K1('ItemCookEventType')]
        0003  GETTABLE  R2 = R2[K2('SpeedUpAnim2')]
        0004  CALL      R0 = call(R0, 0 args, 2 rets)
        0005  RETURN    return R0..R-1
      ; ---------- proto1 [] ----------
        ; fn ?  line 318-323 np=0 va=0 ms=2 code=15 consts=4 upvals=3 protos=0
        ;   K[0]=nil
        ;   K[1]='IsNull'
        ;   K[2]='AddressableLoader'
        ;   K[3]='Destroy'
        ;   upvals: go, _ENV, callback
        0000  GETUPVAL  R0 = go
        0001  EQ        if R1 eq K0(nil)   -> -130813
        0002  JMP       (jump)   -> 12
        0003  GETUPVAL  R0 = go
        0004  SELF      R1 = R0[K1('IsNull')] (self)
        0005  CALL      R0 = call(R0, 1 args, 1 rets)
        0006  TEST      if not R0 then   -> -131063
        0007  JMP       (jump)   -> 12
        0008  GETTABUP  R0 = _ENV[K2('AddressableLoader')]
        0009  GETTABLE  R0 = R0[K3('Destroy')]
        0010  GETUPVAL  R1 = go
        0011  CALL      R0 = call(R0, 0 args, 1 rets)
        0012  GETUPVAL  R0 = go
        0013  CALL      R0 = call(R0, 0 args, 0 rets)
        0014  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 330-337 np=0 va=0 ms=8 code=17 consts=8 upvals=6 protos=0
    ;   K[0]='PlayItemAppearAnimFromUI'
    ;   K[1]='bInitScaleZero'
    ;   K[2]=true
    ;   K[3]='callback'
    ;   K[4]='args'
    ;   K[5]='m_configIndex'
    ;   K[6]='spreadLightPrefab'
    ;   K[7]='m_spreadEffectPrefab'
    ;   upvals: boardView, prefabName, itemModel, position, callback, self
    0000  GETUPVAL  R0 = boardView
    0001  SELF      R1 = R0[K0('PlayItemAppearAnimFromUI')] (self)
    0002  GETUPVAL  R2 = boardView
    0003  GETUPVAL  R3 = boardView
    0004  GETUPVAL  R4 = boardView
    0005  NEWTABLE  R5 = {} (0 items)
    0006  SETTABLE  R5[K1('bInitScaleZero')] = K2(true)
    0007  GETUPVAL  R6 = boardView
    0008  SETTABLE  R5[K3('callback')] = R6
    0009  NEWTABLE  R6 = {} (1 items)
    0010  GETTABUP  R7 = self[K5('m_configIndex')]
    0011  SETLIST   setlist R6[B=1,C=1]
    0012  SETTABLE  R5[K4('args')] = R6
    0013  GETTABUP  R6 = self[K7('m_spreadEffectPrefab')]
    0014  SETTABLE  R5[K6('spreadLightPrefab')] = R6
    0015  CALL      R0 = call(R0, 0 args, 5 rets)
    0016  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 351-378 np=0 va=0 ms=11 code=24 consts=12 upvals=9 protos=2
    ;   K[0]='GetOrderArea'
    ;   K[1]='GetBoardCacheRoot'
    ;   K[2]='PositionUtil'
    ;   K[3]='BoardWorldPos2UIPosition'
    ;   K[4]='transform'
    ;   K[5]='position'
    ;   K[6]='PropertyAnimationManager'
    ;   K[7]='PlayFlyPrefabAnimation'
    ;   K[8]=0.3
    ;   K[9]=0.6
    ;   K[10]=1.6
    ;   K[11]=1
    ;   upvals: boardView, cachePosition, _ENV, prefabName, position, spriteName, self, callback, reward
    ;   locals: boardCacheRoot(5-24)
    0000  GETUPVAL  R0 = boardView
    0001  SELF      R1 = R0[K0('GetOrderArea')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  SELF      R1 = R0[K1('GetBoardCacheRoot')] (self)
    0004  CALL      R0 = call(R0, 1 args, 1 rets)
    0005  GETTABUP  R1 = _ENV[K2('PositionUtil')]
    0006  GETTABLE  R1 = R1[K3('BoardWorldPos2UIPosition')]
    0007  GETTABLE  R2 = R0[K4('transform')]
    0008  GETTABLE  R2 = R2[K5('position')]
    0009  CALL      R1 = call(R1, 1 args, 1 rets)
    0010  SETUPVAL  cachePosition = R0
    0011  GETTABUP  R1 = _ENV[K6('PropertyAnimationManager')]
    0012  GETTABLE  R1 = R1[K7('PlayFlyPrefabAnimation')]
    0013  GETUPVAL  R2 = boardView
    0014  CLOSURE   R3 = closure proto0
    0015  LOADK     R4 = K8 0.3
    0016  GETUPVAL  R5 = boardView
    0017  LOADK     R6 = K9 0.6
    0018  LOADK     R7 = K10 1.6
    0019  LOADK     R8 = K11 1
    0020  LOADBOOL  R9 = true
    0021  CLOSURE   R10 = closure proto1
    0022  CALL      R1 = call(R1, 0 args, 9 rets)
    0023  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 354-358 np=1 va=0 ms=5 code=16 consts=8 upvals=4 protos=0
      ;   K[0]='transform'
      ;   K[1]='position'
      ;   K[2]='UIUtil'
      ;   K[3]='SetLocalScale'
      ;   K[4]=0
      ;   K[5]='GetLuaTable'
      ;   K[6]='Init'
      ;   K[7]='m_configIndex'
      ;   upvals: position, _ENV, spriteName, self
      ;   locals: go(0-16)
      0000  GETTABLE  R1 = R0[K0('transform')]
      0001  GETUPVAL  R2 = position
      0002  SETTABLE  R1[K1('position')] = R2
      0003  GETTABUP  R1 = _ENV[K2('UIUtil')]
      0004  GETTABLE  R1 = R1[K3('SetLocalScale')]
      0005  GETTABLE  R2 = R0[K0('transform')]
      0006  LOADK     R3 = K4 0
      0007  LOADK     R4 = K4 0
      0008  CALL      R1 = call(R1, 0 args, 3 rets)
      0009  SELF      R2 = R0[K5('GetLuaTable')] (self)
      0010  CALL      R1 = call(R1, 1 args, 1 rets)
      0011  SELF      R2 = R1[K6('Init')] (self)
      0012  GETUPVAL  R3 = position
      0013  GETTABUP  R4 = self[K7('m_configIndex')]
      0014  CALL      R1 = call(R1, 0 args, 3 rets)
      0015  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 358-377 np=0 va=0 ms=8 code=43 consts=23 upvals=5 protos=0
      ;   K[0]='UIUtil'
      ;   K[1]='IsEmptyComponent'
      ;   K[2]='GetDisplayCount'
      ;   K[3]='count'
      ;   K[4]=1
      ;   K[5]='type'
      ;   K[6]='PROPERTY_TYPE'
      ;   K[7]='GameMode'
      ;   K[8]='EGameMode'
      ;   K[9]='Board'
      ;   K[10]='EventDispatcher'
      ;   K[11]='DispatchEvent'
      ;   K[12]='EEventType'
      ;   K[13]='CacheForceDisplayItem'
      ;   K[14]='Object'
      ;   K[15]='Instantiate'
      ;   K[16]='m_spreadEffectPrefab'
      ;   K[17]='V3Zero'
      ;   K[18]='Quaternion'
      ;   K[19]='identity'
      ;   K[20]='GetEffectRoot'
      ;   K[21]='transform'
      ;   K[22]='localPosition'
      ;   upvals: _ENV, boardCacheRoot, callback, reward, self
      ;   locals: displayCount(12-43), msg(21-43), effectGo(37-43)
      0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
      0001  GETTABLE  R0 = R0[K1('IsEmptyComponent')]
      0002  GETUPVAL  R1 = _ENV
      0003  CALL      R0 = call(R0, 1 args, 1 rets)
      0004  TEST      if not R0 then   -> -131066
      0005  JMP       (jump)   -> 9
      0006  GETUPVAL  R0 = _ENV
      0007  CALL      R0 = call(R0, 0 args, 0 rets)
      0008  RETURN    return R0..R-1
      0009  GETUPVAL  R0 = _ENV
      0010  SELF      R1 = R0[K2('GetDisplayCount')] (self)
      0011  CALL      R0 = call(R0, 1 args, 1 rets)
      0012  NEWTABLE  R1 = {} (0 items)
      0013  ADD       R2 = K4(1) add R0
      0014  SETTABLE  R1[K3('count')] = R2
      0015  GETTABUP  R2 = _ENV[K6('PROPERTY_TYPE')]
      0016  GETTABUP  R2 = reward[R2]
      0017  SETTABLE  R1[K5('type')] = R2
      0018  GETTABUP  R2 = _ENV[K8('EGameMode')]
      0019  GETTABLE  R2 = R2[K9('Board')]
      0020  SETTABLE  R1[K7('GameMode')] = R2
      0021  GETTABUP  R2 = _ENV[K10('EventDispatcher')]
      0022  GETTABLE  R2 = R2[K11('DispatchEvent')]
      0023  GETTABUP  R3 = _ENV[K12('EEventType')]
      0024  GETTABLE  R3 = R3[K13('CacheForceDisplayItem')]
      0025  MOVE      R4 = R0
      0026  CALL      R2 = call(R2, 0 args, 2 rets)
      0027  GETTABUP  R2 = _ENV[K14('Object')]
      0028  GETTABLE  R2 = R2[K15('Instantiate')]
      0029  GETTABUP  R3 = self[K16('m_spreadEffectPrefab')]
      0030  GETTABUP  R4 = _ENV[K17('V3Zero')]
      0031  GETTABUP  R5 = _ENV[K18('Quaternion')]
      0032  GETTABLE  R5 = R5[K19('identity')]
      0033  GETUPVAL  R6 = _ENV
      0034  SELF      R7 = R6[K20('GetEffectRoot')] (self)
      0035  CALL      R6 = call(R6, -1 args, 1 rets)
      0036  CALL      R2 = call(R2, 1 args, -1 rets)
      0037  GETTABLE  R3 = R2[K21('transform')]
      0038  GETTABUP  R4 = _ENV[K17('V3Zero')]
      0039  SETTABLE  R3[K22('localPosition')] = R4
      0040  GETUPVAL  R3 = _ENV
      0041  CALL      R3 = call(R3, 0 args, 0 rets)
      0042  RETURN    return R0..R-1
  ; ---------- proto4 [] ----------
    ; fn ?  line 385-387 np=0 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = true
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
; ---------- proto16 [_TryPlayButtonTween] ----------
  ; fn ?  line 395-405 np=1 va=0 ms=11 code=47 consts=25 upvals=1 protos=0
  ;   K[0]='m_bHasRewardToClaim'
  ;   K[1]='DOTween'
  ;   K[2]='Sequence'
  ;   K[3]='SetLoops'
  ;   K[4]=-1
  ;   K[5]='Append'
  ;   K[6]='m_buttonTrans'
  ;   K[7]='DOScale'
  ;   K[8]=0.9
  ;   K[9]=0.4
  ;   K[10]=2
  ;   K[11]='LoopType'
  ;   K[12]='Yoyo'
  ;   K[13]='Join'
  ;   K[14]='m_buttonImage'
  ;   K[15]='DOColor'
  ;   K[16]='CSColor'
  ;   K[17]=0.64
  ;   K[18]=0.83
  ;   K[19]=0.72
  ;   K[20]=1
  ;   K[21]='AppendInterval'
  ;   K[22]=0.2
  ;   K[23]='SetAutoKill'
  ;   K[24]='m_buttonLoopTween'
  ;   upvals: _ENV
  ;   locals: self(0-47), seq(10-47)
  0000  GETTABLE  R1 = R0[K0('m_bHasRewardToClaim')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('DOTween')]
  0005  GETTABLE  R1 = R1[K2('Sequence')]
  0006  CALL      R1 = call(R1, 1 args, 0 rets)
  0007  SELF      R2 = R1[K3('SetLoops')] (self)
  0008  LOADK     R3 = K4 -1
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  SELF      R3 = R1[K5('Append')] (self)
  0011  GETTABLE  R4 = R0[K6('m_buttonTrans')]
  0012  SELF      R5 = R4[K7('DOScale')] (self)
  0013  LOADK     R6 = K8 0.9
  0014  LOADK     R7 = K9 0.4
  0015  CALL      R4 = call(R4, 1 args, 3 rets)
  0016  SELF      R5 = R4[K3('SetLoops')] (self)
  0017  LOADK     R6 = K10 2
  0018  GETTABUP  R7 = _ENV[K11('LoopType')]
  0019  GETTABLE  R7 = R7[K12('Yoyo')]
  0020  CALL      R4 = call(R4, -1 args, 3 rets)
  0021  CALL      R2 = call(R2, 0 args, -1 rets)
  0022  SELF      R3 = R1[K13('Join')] (self)
  0023  GETTABLE  R4 = R0[K14('m_buttonImage')]
  0024  SELF      R5 = R4[K15('DOColor')] (self)
  0025  GETTABUP  R6 = _ENV[K16('CSColor')]
  0026  LOADK     R7 = K17 0.64
  0027  LOADK     R8 = K18 0.83
  0028  LOADK     R9 = K19 0.72
  0029  LOADK     R10 = K20 1
  0030  CALL      R6 = call(R6, 1 args, 4 rets)
  0031  LOADK     R7 = K9 0.4
  0032  CALL      R4 = call(R4, 1 args, 3 rets)
  0033  SELF      R5 = R4[K3('SetLoops')] (self)
  0034  LOADK     R6 = K10 2
  0035  GETTABUP  R7 = _ENV[K11('LoopType')]
  0036  GETTABLE  R7 = R7[K12('Yoyo')]
  0037  CALL      R4 = call(R4, -1 args, 3 rets)
  0038  CALL      R2 = call(R2, 0 args, -1 rets)
  0039  SELF      R3 = R1[K21('AppendInterval')] (self)
  0040  LOADK     R4 = K22 0.2
  0041  CALL      R2 = call(R2, 0 args, 2 rets)
  0042  SELF      R3 = R1[K23('SetAutoKill')] (self)
  0043  LOADBOOL  R4 = false
  0044  CALL      R2 = call(R2, 0 args, 2 rets)
  0045  SETTABLE  R0[K24('m_buttonLoopTween')] = R1
  0046  RETURN    return R0..R-1
; ---------- proto17 [OnRequirementTipBtnClicked] ----------
  ; fn ?  line 408-410 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_requirementTip'
  ;   K[1]='Show'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_requirementTip')]
  0001  SELF      R2 = R1[K1('Show')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto18 [_ShowRewardTip] ----------
  ; fn ?  line 413-415 np=2 va=0 ms=6 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Show'
  ;   locals: self(0-6), configIndex(0-6)
  0000  GETTABLE  R2 = R0[K0('m_rewardTip')]
  0001  SELF      R3 = R2[K1('Show')] (self)
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto19 [ShowCurrentRewardTip] ----------
  ; fn ?  line 418-420 np=1 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='_ShowRewardTip'
  ;   K[1]='m_configIndex'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_ShowRewardTip')] (self)
  0001  GETTABLE  R3 = R0[K1('m_configIndex')]
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto20 [ShowRewardTip1] ----------
  ; fn ?  line 423-425 np=1 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='_ShowRewardTip'
  ;   K[1]=1
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_ShowRewardTip')] (self)
  0001  LOADK     R3 = K1 1
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto21 [ShowRewardTip2] ----------
  ; fn ?  line 428-430 np=1 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='_ShowRewardTip'
  ;   K[1]=2
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_ShowRewardTip')] (self)
  0001  LOADK     R3 = K1 2
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto22 [ShowRewardTip3] ----------
  ; fn ?  line 433-435 np=1 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='_ShowRewardTip'
  ;   K[1]=3
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_ShowRewardTip')] (self)
  0001  LOADK     R3 = K1 3
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto23 [OnBtnClicked] ----------
  ; fn ?  line 438-449 np=1 va=0 ms=4 code=21 consts=8 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_bHasRewardToClaim'
  ;   K[2]='GM'
  ;   K[3]='SceneManager'
  ;   K[4]='GetGameMode'
  ;   K[5]='EGameMode'
  ;   K[6]='Board'
  ;   K[7]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_bHasRewardToClaim')]
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABUP  R1 = _ENV[K2('GM')]
  0007  GETTABLE  R1 = R1[K3('SceneManager')]
  0008  SELF      R2 = R1[K4('GetGameMode')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  GETTABUP  R2 = _ENV[K5('EGameMode')]
  0011  GETTABLE  R2 = R2[K6('Board')]
  0012  EQ        if R1 eq R2   -> -130544
  0013  JMP       (jump)   -> 20
  0014  GETTABUP  R1 = _ENV[K2('GM')]
  0015  GETTABLE  R1 = R1[K3('SceneManager')]
  0016  SELF      R2 = R1[K7('ChangeGameMode')] (self)
  0017  GETTABUP  R3 = _ENV[K5('EGameMode')]
  0018  GETTABLE  R3 = R3[K6('Board')]
  0019  CALL      R1 = call(R1, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
; ---------- proto24 [TestFinishCurrentRound] ----------
  ; fn ?  line 452-459 np=1 va=0 ms=3 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetModel'
  ;   K[3]='TestFinishCurrentRound'
  ;   K[4]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetModel')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R2 = R1[K3('TestFinishCurrentRound')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SELF      R2 = R0[K4('Close')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto25 [TestTryAddRequirement] ----------
  ; fn ?  line 462-469 np=1 va=0 ms=3 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetModel'
  ;   K[3]='TestTryAddRequirement'
  ;   K[4]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetModel')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R2 = R1[K3('TestTryAddRequirement')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SELF      R2 = R0[K4('Close')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto26 [TestRemoveAllItem] ----------
  ; fn ?  line 472-478 np=1 va=0 ms=3 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetModel'
  ;   K[3]='TestRemoveAllItem'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetModel')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R2 = R1[K3('TestRemoveAllItem')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
