# RecipeCollectActivity_View_RecipeCollectActivityMainWindow_1887.luac
; fn @RecipeCollectActivityMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=66 consts=23 upvals=1 protos=19
;   K[0]='RecipeCollectActivityMainWindow'
;   K[1]='setmetatable'
;   K[2]='RecipeCollectActivityBaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_InitModelData'
;   K[6]='_InitView'
;   K[7]='OnDestroy'
;   K[8]='_UpdateProgress'
;   K[9]='InitRewards'
;   K[10]='_SetSweepLightVisible'
;   K[11]='OnBtnClicked'
;   K[12]='_CloseWhenNotValid'
;   K[13]='Close'
;   K[14]='OnCloseView'
;   K[15]='OnCloseFinish'
;   K[16]='OnHelpBtnClick'
;   K[17]='_TryPlayButtonTween'
;   K[18]='ShowDescTip'
;   K[19]='GetFirstStageCell'
;   K[20]='GetFinalRewardRoot'
;   K[21]='_LogWindowAction'
;   K[22]='_GetVerticalNormalizedPosition'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('RecipeCollectActivityBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('RecipeCollectActivityMainWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0006  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityMainWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_InitModelData')] = R1
0014  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('_InitView')] = R1
0017  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnDestroy')] = R1
0020  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('_UpdateProgress')] = R1
0023  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('InitRewards')] = R1
0026  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('_SetSweepLightVisible')] = R1
0029  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('OnBtnClicked')] = R1
0032  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('_CloseWhenNotValid')] = R1
0035  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('Close')] = R1
0038  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('OnCloseView')] = R1
0041  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0042  CLOSURE   R1 = closure proto11
0043  SETTABLE  R0[K15('OnCloseFinish')] = R1
0044  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0045  CLOSURE   R1 = closure proto12
0046  SETTABLE  R0[K16('OnHelpBtnClick')] = R1
0047  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0048  CLOSURE   R1 = closure proto13
0049  SETTABLE  R0[K17('_TryPlayButtonTween')] = R1
0050  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0051  CLOSURE   R1 = closure proto14
0052  SETTABLE  R0[K18('ShowDescTip')] = R1
0053  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0054  CLOSURE   R1 = closure proto15
0055  SETTABLE  R0[K19('GetFirstStageCell')] = R1
0056  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0057  CLOSURE   R1 = closure proto16
0058  SETTABLE  R0[K20('GetFinalRewardRoot')] = R1
0059  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0060  CLOSURE   R1 = closure proto17
0061  SETTABLE  R0[K21('_LogWindowAction')] = R1
0062  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityMainWindow')]
0063  CLOSURE   R1 = closure proto18
0064  SETTABLE  R0[K22('_GetVerticalNormalizedPosition')] = R1
0065  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 33-36 np=5 va=0 ms=10 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_eUILoaderType'
  ;   K[1]='RecipeCollectActivityBaseWindow'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-9), activityType(0-9), id(0-9), bAutoPop(0-9), eUILoaderType(0-9)
  0000  SETTABLE  R0[K0('m_eUILoaderType')] = R4
  0001  GETTABUP  R5 = _ENV[K1('RecipeCollectActivityBaseWindow')]
  0002  GETTABLE  R5 = R5[K2('Init')]
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  CALL      R5 = call(R5, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto1 [_InitModelData] ----------
  ; fn ?  line 38-49 np=1 va=0 ms=4 code=32 consts=18 upvals=0 protos=0
  ;   K[0]='m_lastScore'
  ;   K[1]='m_model'
  ;   K[2]='GetLastProgressScore'
  ;   K[3]='m_curScore'
  ;   K[4]='GetProgressScore'
  ;   K[5]='m_totalScore'
  ;   K[6]='GetTotalScore'
  ;   K[7]='SetLastProgressScore'
  ;   K[8]='GetModel'
  ;   K[9]='m_totalStage'
  ;   K[10]='GetTotalStage'
  ;   K[11]='m_bMainWindowAnimationPlayed'
  ;   K[12]='IsMainWindowAnimationPlayed'
  ;   K[13]='m_latestStage'
  ;   K[14]='m_latestTray'
  ;   K[15]='GetLatestUnlockedContent'
  ;   K[16]='m_bCanClaimFinalReward'
  ;   K[17]='CanClaimFinalReward'
  ;   locals: self(0-32), model(18-32)
  0000  GETTABLE  R1 = R0[K1('m_model')]
  0001  SELF      R2 = R1[K2('GetLastProgressScore')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SETTABLE  R0[K0('m_lastScore')] = R1
  0004  GETTABLE  R1 = R0[K1('m_model')]
  0005  SELF      R2 = R1[K4('GetProgressScore')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_curScore')] = R1
  0008  GETTABLE  R1 = R0[K1('m_model')]
  0009  SELF      R2 = R1[K6('GetTotalScore')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  SETTABLE  R0[K5('m_totalScore')] = R1
  0012  GETTABLE  R1 = R0[K1('m_model')]
  0013  SELF      R2 = R1[K7('SetLastProgressScore')] (self)
  0014  GETTABLE  R3 = R0[K3('m_curScore')]
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  SELF      R2 = R0[K8('GetModel')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  SELF      R3 = R1[K10('GetTotalStage')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  SETTABLE  R0[K9('m_totalStage')] = R2
  0021  SELF      R3 = R1[K12('IsMainWindowAnimationPlayed')] (self)
  0022  CALL      R2 = call(R2, 1 args, 1 rets)
  0023  SETTABLE  R0[K11('m_bMainWindowAnimationPlayed')] = R2
  0024  SELF      R3 = R1[K15('GetLatestUnlockedContent')] (self)
  0025  CALL      R2 = call(R2, 2 args, 1 rets)
  0026  SETTABLE  R0[K14('m_latestTray')] = R3
  0027  SETTABLE  R0[K13('m_latestStage')] = R2
  0028  SELF      R3 = R1[K17('CanClaimFinalReward')] (self)
  0029  CALL      R2 = call(R2, 1 args, 1 rets)
  0030  SETTABLE  R0[K16('m_bCanClaimFinalReward')] = R2
  0031  RETURN    return R0..R-1
; ---------- proto2 [_InitView] ----------
  ; fn ?  line 51-123 np=1 va=0 ms=10 code=214 consts=84 upvals=1 protos=2
  ;   K[0]='m_bCanClaimFinalReward'
  ;   K[1]='m_buttonText'
  ;   K[2]='text'
  ;   K[3]='GM'
  ;   K[4]='GameTextModel'
  ;   K[5]='GetText'
  ;   K[6]='button_claim'
  ;   K[7]='UIUtil'
  ;   K[8]='SetActive'
  ;   K[9]='m_ribbonEffectGo'
  ;   K[10]='board_btn'
  ;   K[11]='m_descText'
  ;   K[12]='recipecollect_text_2'
  ;   K[13]='m_totalScore'
  ;   K[14]='m_sliderText'
  ;   K[15]='tostring'
  ;   K[16]='m_lastScore'
  ;   K[17]='/'
  ;   K[18]='m_slider'
  ;   K[19]='value'
  ;   K[20]='_TryPlayButtonTween'
  ;   K[21]='_UpdateProgress'
  ;   K[22]='InitRewards'
  ;   K[23]='m_discoveryRootSlider'
  ;   K[24]='m_curScore'
  ;   K[25]='m_discoveryRootProgressText'
  ;   K[26]='string'
  ;   K[27]='format'
  ;   K[28]='%d/%d'
  ;   K[29]='m_arrStageCell'
  ;   K[30]=1
  ;   K[31]='m_totalStage'
  ;   K[32]='Object'
  ;   K[33]='Instantiate'
  ;   K[34]='m_stageCellPrefab'
  ;   K[35]='m_stageCellRoot'
  ;   K[36]='GetLuaTable'
  ;   K[37]='Init'
  ;   K[38]='GetModel'
  ;   K[39]='ClearMainWindowNewRecipe'
  ;   K[40]='LayoutRebuilder'
  ;   K[41]='ForceRebuildLayoutImmediate'
  ;   K[42]='m_scrollRect'
  ;   K[43]='content'
  ;   K[44]='_GetVerticalNormalizedPosition'
  ;   K[45]='m_latestStage'
  ;   K[46]='m_bMainWindowAnimationPlayed'
  ;   K[47]='_SetSweepLightVisible'
  ;   K[48]='SetMainWindowAnimationPlayed'
  ;   K[49]='verticalNormalizedPosition'
  ;   K[50]=0
  ;   K[51]='UIManager'
  ;   K[52]='SetEventLock'
  ;   K[53]='DOTween'
  ;   K[54]='Sequence'
  ;   K[55]='Append'
  ;   K[56]='DOVerticalNormalizedPos'
  ;   K[57]=1.5
  ;   K[58]='SetEase'
  ;   K[59]='Ease'
  ;   K[60]='OutCubic'
  ;   K[61]='AppendCallback'
  ;   K[62]='m_scrollSequence'
  ;   K[63]='GM'
  ;   K[64]='TutorialModel'
  ;   K[65]='IsTutorialFinished'
  ;   K[66]='ETutorialId'
  ;   K[67]='RecipeCollectStart'
  ;   K[68]='UIManager'
  ;   K[69]='SetEventLock'
  ;   K[70]='m_scrollSequence'
  ;   K[71]='GetModel'
  ;   K[72]='OnMainWindowAnimationEnd'
  ;   K[73]='EventDispatcher'
  ;   K[74]='DispatchEvent'
  ;   K[75]='EEventType'
  ;   K[76]='HighlightHud'
  ;   K[77]='highlight'
  ;   K[78]=false
  ;   K[79]='hudKey'
  ;   K[80]='ESceneViewHudButtonKey'
  ;   K[81]='Gem'
  ;   K[82]='Energy'
  ;   K[83]='Coin'
  ;   upvals: _ENV
  ;   locals: self(0-214), (for index)(75-90), (for limit)(75-90), (for step)(75-90), stage(76-89), stageCell(83-89), targetVerticalNormalizedPosition(102-214), sequence(126-141), sequence(163-178)
  0000  GETTABLE  R1 = R0[K0('m_bCanClaimFinalReward')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 16
  0003  GETTABLE  R1 = R0[K1('m_buttonText')]
  0004  GETTABUP  R2 = _ENV[K3('GM')]
  0005  GETTABLE  R2 = R2[K4('GameTextModel')]
  0006  SELF      R3 = R2[K5('GetText')] (self)
  0007  LOADK     R4 = K6 'button_claim'
  0008  CALL      R2 = call(R2, 1 args, 2 rets)
  0009  SETTABLE  R1[K2('text')] = R2
  0010  GETTABUP  R1 = _ENV[K7('UIUtil')]
  0011  GETTABLE  R1 = R1[K8('SetActive')]
  0012  GETTABLE  R2 = R0[K9('m_ribbonEffectGo')]
  0013  LOADBOOL  R3 = true
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  JMP       (jump)   -> 28
  0016  GETTABLE  R1 = R0[K1('m_buttonText')]
  0017  GETTABUP  R2 = _ENV[K3('GM')]
  0018  GETTABLE  R2 = R2[K4('GameTextModel')]
  0019  SELF      R3 = R2[K5('GetText')] (self)
  0020  LOADK     R4 = K10 'board_btn'
  0021  CALL      R2 = call(R2, 1 args, 2 rets)
  0022  SETTABLE  R1[K2('text')] = R2
  0023  GETTABUP  R1 = _ENV[K7('UIUtil')]
  0024  GETTABLE  R1 = R1[K8('SetActive')]
  0025  GETTABLE  R2 = R0[K9('m_ribbonEffectGo')]
  0026  LOADBOOL  R3 = false
  0027  CALL      R1 = call(R1, 0 args, 2 rets)
  0028  GETTABLE  R1 = R0[K11('m_descText')]
  0029  GETTABUP  R2 = _ENV[K3('GM')]
  0030  GETTABLE  R2 = R2[K4('GameTextModel')]
  0031  SELF      R3 = R2[K5('GetText')] (self)
  0032  LOADK     R4 = K12 'recipecollect_text_2'
  0033  GETTABLE  R5 = R0[K13('m_totalScore')]
  0034  CALL      R2 = call(R2, 1 args, 3 rets)
  0035  SETTABLE  R1[K2('text')] = R2
  0036  GETTABLE  R1 = R0[K14('m_sliderText')]
  0037  GETTABUP  R2 = _ENV[K15('tostring')]
  0038  GETTABLE  R3 = R0[K16('m_lastScore')]
  0039  CALL      R2 = call(R2, 1 args, 1 rets)
  0040  LOADK     R3 = K17 '/'
  0041  GETTABUP  R4 = _ENV[K15('tostring')]
  0042  GETTABLE  R5 = R0[K13('m_totalScore')]
  0043  CALL      R4 = call(R4, 1 args, 1 rets)
  0044  CONCAT    R2 = concat(R2..R2)
  0045  SETTABLE  R1[K2('text')] = R2
  0046  GETTABLE  R1 = R0[K18('m_slider')]
  0047  GETTABLE  R2 = R0[K16('m_lastScore')]
  0048  GETTABLE  R3 = R0[K13('m_totalScore')]
  0049  DIV       R2 = R3 div R2
  0050  SETTABLE  R1[K19('value')] = R2
  0051  SELF      R2 = R0[K20('_TryPlayButtonTween')] (self)
  0052  CALL      R1 = call(R1, 0 args, 1 rets)
  0053  SELF      R2 = R0[K21('_UpdateProgress')] (self)
  0054  CALL      R1 = call(R1, 0 args, 1 rets)
  0055  SELF      R2 = R0[K22('InitRewards')] (self)
  0056  CALL      R1 = call(R1, 0 args, 1 rets)
  0057  GETTABLE  R1 = R0[K23('m_discoveryRootSlider')]
  0058  GETTABLE  R2 = R0[K24('m_curScore')]
  0059  GETTABLE  R3 = R0[K13('m_totalScore')]
  0060  DIV       R2 = R3 div R2
  0061  SETTABLE  R1[K19('value')] = R2
  0062  GETTABLE  R1 = R0[K25('m_discoveryRootProgressText')]
  0063  GETTABUP  R2 = _ENV[K26('string')]
  0064  GETTABLE  R2 = R2[K27('format')]
  0065  LOADK     R3 = K28 '%d/%d'
  0066  GETTABLE  R4 = R0[K24('m_curScore')]
  0067  GETTABLE  R5 = R0[K13('m_totalScore')]
  0068  CALL      R2 = call(R2, 1 args, 3 rets)
  0069  SETTABLE  R1[K2('text')] = R2
  0070  NEWTABLE  R1 = {} (0 items)
  0071  SETTABLE  R0[K29('m_arrStageCell')] = R1
  0072  LOADK     R1 = K30 1
  0073  GETTABLE  R2 = R0[K31('m_totalStage')]
  0074  LOADK     R3 = K30 1
  0075  FORPREP   forprep R1(sBx=13)   -> 89
  0076  GETTABUP  R5 = _ENV[K32('Object')]
  0077  GETTABLE  R5 = R5[K33('Instantiate')]
  0078  GETTABLE  R6 = R0[K34('m_stageCellPrefab')]
  0079  GETTABLE  R7 = R0[K35('m_stageCellRoot')]
  0080  CALL      R5 = call(R5, 1 args, 2 rets)
  0081  SELF      R6 = R5[K36('GetLuaTable')] (self)
  0082  CALL      R5 = call(R5, 1 args, 1 rets)
  0083  SELF      R7 = R5[K37('Init')] (self)
  0084  MOVE      R8 = R0
  0085  MOVE      R9 = R0
  0086  CALL      R6 = call(R6, 0 args, 3 rets)
  0087  GETTABLE  R6 = R0[K29('m_arrStageCell')]
  0088  SETTABLE  R6[R4] = R5
  0089  FORLOOP   forloop R1(sBx=-14)   -> 76
  0090  SELF      R2 = R0[K38('GetModel')] (self)
  0091  CALL      R1 = call(R1, 1 args, 1 rets)
  0092  SELF      R2 = R1[K39('ClearMainWindowNewRecipe')] (self)
  0093  CALL      R1 = call(R1, 0 args, 1 rets)
  0094  GETTABUP  R1 = _ENV[K40('LayoutRebuilder')]
  0095  GETTABLE  R1 = R1[K41('ForceRebuildLayoutImmediate')]
  0096  GETTABLE  R2 = R0[K42('m_scrollRect')]
  0097  GETTABLE  R2 = R2[K43('content')]
  0098  CALL      R1 = call(R1, 0 args, 1 rets)
  0099  SELF      R2 = R0[K44('_GetVerticalNormalizedPosition')] (self)
  0100  GETTABLE  R3 = R0[K45('m_latestStage')]
  0101  CALL      R1 = call(R1, 1 args, 2 rets)
  0102  GETTABLE  R2 = R0[K46('m_bMainWindowAnimationPlayed')]
  0103  TEST      if not R2 then   -> -130966
  0104  JMP       (jump)   -> 142
  0105  GETTABLE  R2 = R0[K0('m_bCanClaimFinalReward')]
  0106  TEST      if not R2 then   -> -130963
  0107  JMP       (jump)   -> 142
  0108  SELF      R3 = R0[K47('_SetSweepLightVisible')] (self)
  0109  LOADBOOL  R4 = false
  0110  CALL      R2 = call(R2, 0 args, 2 rets)
  0111  SELF      R3 = R0[K38('GetModel')] (self)
  0112  CALL      R2 = call(R2, 1 args, 1 rets)
  0113  SELF      R3 = R2[K48('SetMainWindowAnimationPlayed')] (self)
  0114  CALL      R2 = call(R2, 0 args, 1 rets)
  0115  GETTABLE  R2 = R0[K42('m_scrollRect')]
  0116  SETTABLE  R2[K49('verticalNormalizedPosition')] = K50(0)
  0117  GETTABUP  R2 = _ENV[K3('GM')]
  0118  GETTABLE  R2 = R2[K51('UIManager')]
  0119  SELF      R3 = R2[K52('SetEventLock')] (self)
  0120  LOADBOOL  R4 = true
  0121  MOVE      R5 = R0
  0122  CALL      R2 = call(R2, 0 args, 3 rets)
  0123  GETTABUP  R2 = _ENV[K53('DOTween')]
  0124  GETTABLE  R2 = R2[K54('Sequence')]
  0125  CALL      R2 = call(R2, 1 args, 0 rets)
  0126  SELF      R4 = R2[K55('Append')] (self)
  0127  GETTABLE  R5 = R0[K42('m_scrollRect')]
  0128  SELF      R6 = R5[K56('DOVerticalNormalizedPos')] (self)
  0129  LOADK     R7 = K30 1
  0130  LOADK     R8 = K57 1.5
  0131  CALL      R5 = call(R5, 1 args, 3 rets)
  0132  SELF      R6 = R5[K58('SetEase')] (self)
  0133  GETTABUP  R7 = _ENV[K59('Ease')]
  0134  GETTABLE  R7 = R7[K60('OutCubic')]
  0135  CALL      R5 = call(R5, -1 args, 2 rets)
  0136  CALL      R3 = call(R3, 0 args, -1 rets)
  0137  SELF      R4 = R2[K61('AppendCallback')] (self)
  0138  CLOSURE   R5 = closure proto0
  0139  CALL      R3 = call(R3, 0 args, 2 rets)
  0140  SETTABLE  R0[K62('m_scrollSequence')] = R2
  0141  JMP       (jump)   -> 183
  0142  GETTABUP  R2 = _ENV[K63('GM')]
  0143  GETTABLE  R2 = R2[K64('TutorialModel')]
  0144  SELF      R3 = R2[K65('IsTutorialFinished')] (self)
  0145  GETTABUP  R4 = _ENV[K66('ETutorialId')]
  0146  GETTABLE  R4 = R4[K67('RecipeCollectStart')]
  0147  CALL      R2 = call(R2, 1 args, 2 rets)
  0148  TEST      if not R2 then   -> -130922
  0149  JMP       (jump)   -> 179
  0150  LT        if R0 lt K30(1)   -> -130122
  0151  JMP       (jump)   -> 179
  0152  GETTABLE  R2 = R0[K42('m_scrollRect')]
  0153  SETTABLE  R2[K49('verticalNormalizedPosition')] = K30(1)
  0154  GETTABUP  R2 = _ENV[K63('GM')]
  0155  GETTABLE  R2 = R2[K68('UIManager')]
  0156  SELF      R3 = R2[K69('SetEventLock')] (self)
  0157  LOADBOOL  R4 = true
  0158  MOVE      R5 = R0
  0159  CALL      R2 = call(R2, 0 args, 3 rets)
  0160  GETTABUP  R2 = _ENV[K53('DOTween')]
  0161  GETTABLE  R2 = R2[K54('Sequence')]
  0162  CALL      R2 = call(R2, 1 args, 0 rets)
  0163  SELF      R4 = R2[K55('Append')] (self)
  0164  GETTABLE  R5 = R0[K42('m_scrollRect')]
  0165  SELF      R6 = R5[K56('DOVerticalNormalizedPos')] (self)
  0166  MOVE      R7 = R0
  0167  LOADK     R8 = K57 1.5
  0168  CALL      R5 = call(R5, 1 args, 3 rets)
  0169  SELF      R6 = R5[K58('SetEase')] (self)
  0170  GETTABUP  R7 = _ENV[K59('Ease')]
  0171  GETTABLE  R7 = R7[K60('OutCubic')]
  0172  CALL      R5 = call(R5, -1 args, 2 rets)
  0173  CALL      R3 = call(R3, 0 args, -1 rets)
  0174  SELF      R4 = R2[K61('AppendCallback')] (self)
  0175  CLOSURE   R5 = closure proto1
  0176  CALL      R3 = call(R3, 0 args, 2 rets)
  0177  SETTABLE  R0[K70('m_scrollSequence')] = R2
  0178  JMP       (jump)   -> 183
  0179  SELF      R3 = R0[K71('GetModel')] (self)
  0180  CALL      R2 = call(R2, 1 args, 1 rets)
  0181  SELF      R3 = R2[K72('OnMainWindowAnimationEnd')] (self)
  0182  CALL      R2 = call(R2, 0 args, 1 rets)
  0183  GETTABUP  R2 = _ENV[K73('EventDispatcher')]
  0184  GETTABLE  R2 = R2[K74('DispatchEvent')]
  0185  GETTABUP  R3 = _ENV[K75('EEventType')]
  0186  GETTABLE  R3 = R3[K76('HighlightHud')]
  0187  NEWTABLE  R4 = {} (0 items)
  0188  SETTABLE  R4[K77('highlight')] = K78(false)
  0189  GETTABUP  R5 = _ENV[K80('ESceneViewHudButtonKey')]
  0190  GETTABLE  R5 = R5[K81('Gem')]
  0191  SETTABLE  R4[K79('hudKey')] = R5
  0192  CALL      R2 = call(R2, 0 args, 2 rets)
  0193  GETTABUP  R2 = _ENV[K73('EventDispatcher')]
  0194  GETTABLE  R2 = R2[K74('DispatchEvent')]
  0195  GETTABUP  R3 = _ENV[K75('EEventType')]
  0196  GETTABLE  R3 = R3[K76('HighlightHud')]
  0197  NEWTABLE  R4 = {} (0 items)
  0198  SETTABLE  R4[K77('highlight')] = K78(false)
  0199  GETTABUP  R5 = _ENV[K80('ESceneViewHudButtonKey')]
  0200  GETTABLE  R5 = R5[K82('Energy')]
  0201  SETTABLE  R4[K79('hudKey')] = R5
  0202  CALL      R2 = call(R2, 0 args, 2 rets)
  0203  GETTABUP  R2 = _ENV[K73('EventDispatcher')]
  0204  GETTABLE  R2 = R2[K74('DispatchEvent')]
  0205  GETTABUP  R3 = _ENV[K75('EEventType')]
  0206  GETTABLE  R3 = R3[K76('HighlightHud')]
  0207  NEWTABLE  R4 = {} (0 items)
  0208  SETTABLE  R4[K77('highlight')] = K78(false)
  0209  GETTABUP  R5 = _ENV[K80('ESceneViewHudButtonKey')]
  0210  GETTABLE  R5 = R5[K83('Coin')]
  0211  SETTABLE  R4[K79('hudKey')] = R5
  0212  CALL      R2 = call(R2, 0 args, 2 rets)
  0213  RETURN    return R0..R-1
  ; ---------- proto0 [m_scrollSequence] ----------
    ; fn ?  line 91-98 np=0 va=0 ms=4 code=22 consts=9 upvals=2 protos=0
    ;   K[0]='m_scrollSequence'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='_IsActivityValid'
    ;   K[6]='GetModel'
    ;   K[7]='OnMainWindowAnimationEnd'
    ;   K[8]='_SetSweepLightVisible'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_scrollSequence')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  GETUPVAL  R0 = self
    0008  SELF      R1 = R0[K5('_IsActivityValid')] (self)
    0009  CALL      R0 = call(R0, 1 args, 1 rets)
    0010  TEST      if not R0 then   -> -131060
    0011  JMP       (jump)   -> 17
    0012  GETUPVAL  R0 = self
    0013  SELF      R1 = R0[K6('GetModel')] (self)
    0014  CALL      R0 = call(R0, 1 args, 1 rets)
    0015  SELF      R1 = R0[K7('OnMainWindowAnimationEnd')] (self)
    0016  CALL      R0 = call(R0, 0 args, 1 rets)
    0017  GETUPVAL  R0 = self
    0018  SELF      R1 = R0[K8('_SetSweepLightVisible')] (self)
    0019  LOADBOOL  R2 = true
    0020  CALL      R0 = call(R0, 0 args, 2 rets)
    0021  RETURN    return R0..R-1
  ; ---------- proto1 [m_scrollSequence] ----------
    ; fn ?  line 107-114 np=0 va=0 ms=4 code=22 consts=9 upvals=2 protos=0
    ;   K[0]='m_scrollSequence'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='_IsActivityValid'
    ;   K[6]='GetModel'
    ;   K[7]='OnMainWindowAnimationEnd'
    ;   K[8]='_SetSweepLightVisible'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_scrollSequence')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  GETUPVAL  R0 = self
    0008  SELF      R1 = R0[K5('_IsActivityValid')] (self)
    0009  CALL      R0 = call(R0, 1 args, 1 rets)
    0010  TEST      if not R0 then   -> -131060
    0011  JMP       (jump)   -> 17
    0012  GETUPVAL  R0 = self
    0013  SELF      R1 = R0[K6('GetModel')] (self)
    0014  CALL      R0 = call(R0, 1 args, 1 rets)
    0015  SELF      R1 = R0[K7('OnMainWindowAnimationEnd')] (self)
    0016  CALL      R0 = call(R0, 0 args, 1 rets)
    0017  GETUPVAL  R0 = self
    0018  SELF      R1 = R0[K8('_SetSweepLightVisible')] (self)
    0019  LOADBOOL  R2 = true
    0020  CALL      R0 = call(R0, 0 args, 2 rets)
    0021  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 125-141 np=1 va=0 ms=3 code=26 consts=7 upvals=1 protos=0
  ;   K[0]='RecipeCollectActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_buttonLoopTween'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   K[5]='m_sliderSeq'
  ;   K[6]='m_scrollSequence'
  ;   upvals: _ENV
  ;   locals: self(0-26)
  0000  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityBaseWindow')]
  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  GETTABLE  R1 = R0[K5('m_sliderSeq')]
  0012  EQ        if R1 eq K3(nil)   -> -130287
  0013  JMP       (jump)   -> 18
  0014  GETTABLE  R1 = R0[K5('m_sliderSeq')]
  0015  SELF      R2 = R1[K4('Kill')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  SETTABLE  R0[K5('m_sliderSeq')] = K3(nil)
  0018  GETTABLE  R1 = R0[K6('m_scrollSequence')]
  0019  EQ        if R1 eq K3(nil)   -> -130280
  0020  JMP       (jump)   -> 25
  0021  GETTABLE  R1 = R0[K6('m_scrollSequence')]
  0022  SELF      R2 = R1[K4('Kill')] (self)
  0023  CALL      R1 = call(R1, 0 args, 1 rets)
  0024  SETTABLE  R0[K6('m_scrollSequence')] = K3(nil)
  0025  RETURN    return R0..R-1
; ---------- proto4 [_UpdateProgress] ----------
  ; fn ?  line 143-151 np=1 va=0 ms=12 code=22 consts=13 upvals=1 protos=1
  ;   K[0]='m_curScore'
  ;   K[1]='m_totalScore'
  ;   K[2]='DOTween'
  ;   K[3]='Sequence'
  ;   K[4]='m_sliderSeq'
  ;   K[5]='Append'
  ;   K[6]='UIUtil'
  ;   K[7]='DOSliderValue'
  ;   K[8]='m_slider'
  ;   K[9]='m_sliderText'
  ;   K[10]='m_lastScore'
  ;   K[11]=1
  ;   K[12]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-22), sliderProgress(3-22), seq(6-22)
  0000  GETTABLE  R1 = R0[K0('m_curScore')]
  0001  GETTABLE  R2 = R0[K1('m_totalScore')]
  0002  DIV       R1 = R2 div R1
  0003  GETTABUP  R2 = _ENV[K2('DOTween')]
  0004  GETTABLE  R2 = R2[K3('Sequence')]
  0005  CALL      R2 = call(R2, 1 args, 0 rets)
  0006  SETTABLE  R0[K4('m_sliderSeq')] = R2
  0007  SELF      R4 = R2[K5('Append')] (self)
  0008  GETTABUP  R5 = _ENV[K6('UIUtil')]
  0009  GETTABLE  R5 = R5[K7('DOSliderValue')]
  0010  GETTABLE  R6 = R0[K8('m_slider')]
  0011  GETTABLE  R7 = R0[K9('m_sliderText')]
  0012  GETTABLE  R8 = R0[K10('m_lastScore')]
  0013  GETTABLE  R9 = R0[K0('m_curScore')]
  0014  GETTABLE  R10 = R0[K1('m_totalScore')]
  0015  LOADK     R11 = K11 1
  0016  CALL      R5 = call(R5, -1 args, 6 rets)
  0017  CALL      R3 = call(R3, 0 args, -1 rets)
  0018  SELF      R4 = R2[K12('AppendCallback')] (self)
  0019  CLOSURE   R5 = closure proto0
  0020  CALL      R3 = call(R3, 0 args, 2 rets)
  0021  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 148-150 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_sliderSeq'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_sliderSeq')] = K1(nil)
    0001  RETURN    return R0..R-1
; ---------- proto5 [InitRewards] ----------
  ; fn ?  line 153-156 np=1 va=0 ms=6 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetFinalRewards'
  ;   K[2]='m_rewardContent'
  ;   K[3]='Init'
  ;   K[4]='ERewardScene'
  ;   K[5]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-10), rewards(3-10)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetFinalRewards')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_rewardContent')]
  0004  SELF      R3 = R2[K3('Init')] (self)
  0005  MOVE      R4 = R0
  0006  GETTABUP  R5 = _ENV[K4('ERewardScene')]
  0007  GETTABLE  R5 = R5[K5('Other')]
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto6 [_SetSweepLightVisible] ----------
  ; fn ?  line 159-166 np=2 va=0 ms=14 code=20 consts=6 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='m_totalStage'
  ;   K[2]='m_arrStageCell'
  ;   K[3]='GetTrayCount'
  ;   K[4]='GetTrayCell'
  ;   K[5]='SetSweepLightVisible'
  ;   locals: self(0-20), bVisible(0-20), (for index)(3-19), (for limit)(3-19), (for step)(3-19), stage(4-18), stageCell(6-18), (for index)(10-18), (for limit)(10-18), (for step)(10-18), tray(11-17)
  0000  LOADK     R2 = K0 1
  0001  GETTABLE  R3 = R0[K1('m_totalStage')]
  0002  LOADK     R4 = K0 1
  0003  FORPREP   forprep R2(sBx=14)   -> 18
  0004  GETTABLE  R6 = R0[K2('m_arrStageCell')]
  0005  GETTABLE  R6 = R6[R5]
  0006  LOADK     R7 = K0 1
  0007  SELF      R9 = R6[K3('GetTrayCount')] (self)
  0008  CALL      R8 = call(R8, 1 args, 1 rets)
  0009  LOADK     R9 = K0 1
  0010  FORPREP   forprep R7(sBx=6)   -> 17
  0011  SELF      R12 = R6[K4('GetTrayCell')] (self)
  0012  MOVE      R13 = R0
  0013  CALL      R11 = call(R11, 1 args, 2 rets)
  0014  SELF      R12 = R11[K5('SetSweepLightVisible')] (self)
  0015  MOVE      R13 = R0
  0016  CALL      R11 = call(R11, 0 args, 2 rets)
  0017  FORLOOP   forloop R7(sBx=-7)   -> 11
  0018  FORLOOP   forloop R2(sBx=-15)   -> 4
  0019  RETURN    return R0..R-1
; ---------- proto7 [OnBtnClicked] ----------
  ; fn ?  line 169-180 np=1 va=0 ms=4 code=34 consts=13 upvals=1 protos=0
  ;   K[0]='m_bCanClaimFinalReward'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Board'
  ;   K[6]='ChangeGameMode'
  ;   K[7]='UIManager'
  ;   K[8]='IsViewExisting'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='ItemDishDetailWindow'
  ;   K[11]='CloseView'
  ;   K[12]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-34)
  0000  GETTABLE  R1 = R0[K0('m_bCanClaimFinalReward')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 31
  0003  GETTABUP  R1 = _ENV[K1('GM')]
  0004  GETTABLE  R1 = R1[K2('SceneManager')]
  0005  SELF      R2 = R1[K3('GetGameMode')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K4('EGameMode')]
  0008  GETTABLE  R2 = R2[K5('Board')]
  0009  EQ        if R1 eq R2   -> -130547
  0010  JMP       (jump)   -> 17
  0011  GETTABUP  R1 = _ENV[K1('GM')]
  0012  GETTABLE  R1 = R1[K2('SceneManager')]
  0013  SELF      R2 = R1[K6('ChangeGameMode')] (self)
  0014  GETTABUP  R3 = _ENV[K4('EGameMode')]
  0015  GETTABLE  R3 = R3[K5('Board')]
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  GETTABUP  R1 = _ENV[K1('GM')]
  0018  GETTABLE  R1 = R1[K7('UIManager')]
  0019  SELF      R2 = R1[K8('IsViewExisting')] (self)
  0020  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0021  GETTABLE  R3 = R3[K10('ItemDishDetailWindow')]
  0022  CALL      R1 = call(R1, 1 args, 2 rets)
  0023  TEST      if not R1 then   -> -131047
  0024  JMP       (jump)   -> 31
  0025  GETTABUP  R1 = _ENV[K1('GM')]
  0026  GETTABLE  R1 = R1[K7('UIManager')]
  0027  SELF      R2 = R1[K11('CloseView')] (self)
  0028  GETTABUP  R3 = _ENV[K9('UIPrefabConfigName')]
  0029  GETTABLE  R3 = R3[K10('ItemDishDetailWindow')]
  0030  CALL      R1 = call(R1, 0 args, 2 rets)
  0031  SELF      R2 = R0[K12('Close')] (self)
  0032  CALL      R1 = call(R1, 0 args, 1 rets)
  0033  RETURN    return R0..R-1
; ---------- proto8 [_CloseWhenNotValid] ----------
  ; fn ?  line 182-187 np=1 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_bClosing'
  ;   K[1]='RecipeCollectActivityTransparentBaseWindow'
  ;   K[2]='_CloseWhenNotValid'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_bClosing')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('RecipeCollectActivityTransparentBaseWindow')]
  0005  GETTABLE  R1 = R1[K2('_CloseWhenNotValid')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto9 [Close] ----------
  ; fn ?  line 190-234 np=1 va=0 ms=11 code=187 consts=43 upvals=1 protos=4
  ;   K[0]='m_bClosing'
  ;   K[1]='m_bMainWindowAnimationPlayed'
  ;   K[2]='m_bCanClaimFinalReward'
  ;   K[3]='_IsActivityValid'
  ;   K[4]=true
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='SetEventLock'
  ;   K[8]='m_discoveryIconRectTransform'
  ;   K[9]='localScale'
  ;   K[10]='DOTween'
  ;   K[11]='Sequence'
  ;   K[12]='AppendCallback'
  ;   K[13]='AppendInterval'
  ;   K[14]='EDurationDefine'
  ;   K[15]='TimePerFrame'
  ;   K[16]=35
  ;   K[17]=10
  ;   K[18]='Append'
  ;   K[19]='m_trayDownRectTransform'
  ;   K[20]='DOLocalMove'
  ;   K[21]='InverseTransformPoint'
  ;   K[22]='position'
  ;   K[23]=30
  ;   K[24]='SetEase'
  ;   K[25]='Ease'
  ;   K[26]='InBack'
  ;   K[27]='Join'
  ;   K[28]='DOScale'
  ;   K[29]='Vector3'
  ;   K[30]=0.45
  ;   K[31]=1
  ;   K[32]='m_trayTopRectTransform'
  ;   K[33]=0
  ;   K[34]='m_trayDownCanvasGroup'
  ;   K[35]='DOFade'
  ;   K[36]='m_trayTopCanvasGroup'
  ;   K[37]='x'
  ;   K[38]=1.2
  ;   K[39]='y'
  ;   K[40]=20
  ;   K[41]='RecipeCollectActivityTransparentBaseWindow'
  ;   K[42]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-187), discoveryLocalScale(23-181), sequence(26-181)
  0000  GETTABLE  R1 = R0[K0('m_bClosing')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K1('m_bMainWindowAnimationPlayed')]
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 182
  0007  GETTABLE  R1 = R0[K2('m_bCanClaimFinalReward')]
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 182
  0010  SELF      R2 = R0[K3('_IsActivityValid')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 182
  0014  SETTABLE  R0[K0('m_bClosing')] = K4(true)
  0015  GETTABUP  R1 = _ENV[K5('GM')]
  0016  GETTABLE  R1 = R1[K6('UIManager')]
  0017  SELF      R2 = R1[K7('SetEventLock')] (self)
  0018  LOADBOOL  R3 = true
  0019  MOVE      R4 = R0
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  GETTABLE  R1 = R0[K8('m_discoveryIconRectTransform')]
  0022  GETTABLE  R1 = R1[K9('localScale')]
  0023  GETTABUP  R2 = _ENV[K10('DOTween')]
  0024  GETTABLE  R2 = R2[K11('Sequence')]
  0025  CALL      R2 = call(R2, 1 args, 0 rets)
  0026  SELF      R4 = R2[K12('AppendCallback')] (self)
  0027  CLOSURE   R5 = closure proto0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  SELF      R4 = R2[K13('AppendInterval')] (self)
  0030  GETTABUP  R5 = _ENV[K14('EDurationDefine')]
  0031  GETTABLE  R5 = R5[K15('TimePerFrame')]
  0032  MUL       R5 = R5 mul K16(35)
  0033  CALL      R3 = call(R3, 0 args, 2 rets)
  0034  SELF      R4 = R2[K13('AppendInterval')] (self)
  0035  GETTABUP  R5 = _ENV[K14('EDurationDefine')]
  0036  GETTABLE  R5 = R5[K15('TimePerFrame')]
  0037  MUL       R5 = R5 mul K17(10)
  0038  CALL      R3 = call(R3, 0 args, 2 rets)
  0039  SELF      R4 = R2[K12('AppendCallback')] (self)
  0040  CLOSURE   R5 = closure proto1
  0041  CALL      R3 = call(R3, 0 args, 2 rets)
  0042  SELF      R4 = R2[K18('Append')] (self)
  0043  GETTABLE  R5 = R0[K19('m_trayDownRectTransform')]
  0044  SELF      R6 = R5[K20('DOLocalMove')] (self)
  0045  GETTABLE  R7 = R0[K19('m_trayDownRectTransform')]
  0046  SELF      R8 = R7[K21('InverseTransformPoint')] (self)
  0047  GETTABLE  R9 = R0[K8('m_discoveryIconRectTransform')]
  0048  GETTABLE  R9 = R9[K22('position')]
  0049  CALL      R7 = call(R7, 1 args, 2 rets)
  0050  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0051  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0052  MUL       R8 = R8 mul K23(30)
  0053  CALL      R5 = call(R5, 1 args, 3 rets)
  0054  SELF      R6 = R5[K24('SetEase')] (self)
  0055  GETTABUP  R7 = _ENV[K25('Ease')]
  0056  GETTABLE  R7 = R7[K26('InBack')]
  0057  CALL      R5 = call(R5, -1 args, 2 rets)
  0058  CALL      R3 = call(R3, 0 args, -1 rets)
  0059  SELF      R4 = R2[K27('Join')] (self)
  0060  GETTABLE  R5 = R0[K19('m_trayDownRectTransform')]
  0061  SELF      R6 = R5[K28('DOScale')] (self)
  0062  GETTABUP  R7 = _ENV[K29('Vector3')]
  0063  LOADK     R8 = K30 0.45
  0064  LOADK     R9 = K30 0.45
  0065  LOADK     R10 = K31 1
  0066  CALL      R7 = call(R7, 1 args, 3 rets)
  0067  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0068  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0069  MUL       R8 = R8 mul K23(30)
  0070  CALL      R5 = call(R5, -1 args, 3 rets)
  0071  CALL      R3 = call(R3, 0 args, -1 rets)
  0072  SELF      R4 = R2[K27('Join')] (self)
  0073  GETTABLE  R5 = R0[K32('m_trayTopRectTransform')]
  0074  SELF      R6 = R5[K20('DOLocalMove')] (self)
  0075  GETTABLE  R7 = R0[K32('m_trayTopRectTransform')]
  0076  SELF      R8 = R7[K21('InverseTransformPoint')] (self)
  0077  GETTABLE  R9 = R0[K8('m_discoveryIconRectTransform')]
  0078  GETTABLE  R9 = R9[K22('position')]
  0079  CALL      R7 = call(R7, 1 args, 2 rets)
  0080  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0081  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0082  MUL       R8 = R8 mul K23(30)
  0083  CALL      R5 = call(R5, 1 args, 3 rets)
  0084  SELF      R6 = R5[K24('SetEase')] (self)
  0085  GETTABUP  R7 = _ENV[K25('Ease')]
  0086  GETTABLE  R7 = R7[K26('InBack')]
  0087  CALL      R5 = call(R5, -1 args, 2 rets)
  0088  CALL      R3 = call(R3, 0 args, -1 rets)
  0089  SELF      R4 = R2[K27('Join')] (self)
  0090  GETTABLE  R5 = R0[K32('m_trayTopRectTransform')]
  0091  SELF      R6 = R5[K28('DOScale')] (self)
  0092  GETTABUP  R7 = _ENV[K29('Vector3')]
  0093  LOADK     R8 = K30 0.45
  0094  LOADK     R9 = K30 0.45
  0095  LOADK     R10 = K31 1
  0096  CALL      R7 = call(R7, 1 args, 3 rets)
  0097  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0098  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0099  MUL       R8 = R8 mul K23(30)
  0100  CALL      R5 = call(R5, -1 args, 3 rets)
  0101  CALL      R3 = call(R3, 0 args, -1 rets)
  0102  SELF      R4 = R2[K12('AppendCallback')] (self)
  0103  CLOSURE   R5 = closure proto2
  0104  CALL      R3 = call(R3, 0 args, 2 rets)
  0105  SELF      R4 = R2[K18('Append')] (self)
  0106  GETTABLE  R5 = R0[K19('m_trayDownRectTransform')]
  0107  SELF      R6 = R5[K28('DOScale')] (self)
  0108  GETTABUP  R7 = _ENV[K29('Vector3')]
  0109  LOADK     R8 = K33 0
  0110  LOADK     R9 = K33 0
  0111  LOADK     R10 = K31 1
  0112  CALL      R7 = call(R7, 1 args, 3 rets)
  0113  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0114  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0115  MUL       R8 = R8 mul K17(10)
  0116  CALL      R5 = call(R5, -1 args, 3 rets)
  0117  CALL      R3 = call(R3, 0 args, -1 rets)
  0118  SELF      R4 = R2[K27('Join')] (self)
  0119  GETTABLE  R5 = R0[K34('m_trayDownCanvasGroup')]
  0120  SELF      R6 = R5[K35('DOFade')] (self)
  0121  LOADK     R7 = K33 0
  0122  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0123  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0124  MUL       R8 = R8 mul K17(10)
  0125  CALL      R5 = call(R5, -1 args, 3 rets)
  0126  CALL      R3 = call(R3, 0 args, -1 rets)
  0127  SELF      R4 = R2[K27('Join')] (self)
  0128  GETTABLE  R5 = R0[K32('m_trayTopRectTransform')]
  0129  SELF      R6 = R5[K28('DOScale')] (self)
  0130  GETTABUP  R7 = _ENV[K29('Vector3')]
  0131  LOADK     R8 = K33 0
  0132  LOADK     R9 = K33 0
  0133  LOADK     R10 = K31 1
  0134  CALL      R7 = call(R7, 1 args, 3 rets)
  0135  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0136  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0137  MUL       R8 = R8 mul K17(10)
  0138  CALL      R5 = call(R5, -1 args, 3 rets)
  0139  CALL      R3 = call(R3, 0 args, -1 rets)
  0140  SELF      R4 = R2[K27('Join')] (self)
  0141  GETTABLE  R5 = R0[K36('m_trayTopCanvasGroup')]
  0142  SELF      R6 = R5[K35('DOFade')] (self)
  0143  LOADK     R7 = K33 0
  0144  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0145  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0146  MUL       R8 = R8 mul K17(10)
  0147  CALL      R5 = call(R5, -1 args, 3 rets)
  0148  CALL      R3 = call(R3, 0 args, -1 rets)
  0149  SELF      R4 = R2[K27('Join')] (self)
  0150  GETTABLE  R5 = R0[K8('m_discoveryIconRectTransform')]
  0151  SELF      R6 = R5[K28('DOScale')] (self)
  0152  GETTABUP  R7 = _ENV[K29('Vector3')]
  0153  GETTABLE  R8 = R1[K37('x')]
  0154  MUL       R8 = K38(1.2) mul R8
  0155  GETTABLE  R9 = R1[K39('y')]
  0156  MUL       R9 = K38(1.2) mul R9
  0157  LOADK     R10 = K31 1
  0158  CALL      R7 = call(R7, 1 args, 3 rets)
  0159  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0160  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0161  MUL       R8 = R8 mul K17(10)
  0162  CALL      R5 = call(R5, -1 args, 3 rets)
  0163  CALL      R3 = call(R3, 0 args, -1 rets)
  0164  SELF      R4 = R2[K18('Append')] (self)
  0165  GETTABLE  R5 = R0[K8('m_discoveryIconRectTransform')]
  0166  SELF      R6 = R5[K28('DOScale')] (self)
  0167  MOVE      R7 = R0
  0168  GETTABUP  R8 = _ENV[K14('EDurationDefine')]
  0169  GETTABLE  R8 = R8[K15('TimePerFrame')]
  0170  MUL       R8 = R8 mul K17(10)
  0171  CALL      R5 = call(R5, -1 args, 3 rets)
  0172  CALL      R3 = call(R3, 0 args, -1 rets)
  0173  SELF      R4 = R2[K13('AppendInterval')] (self)
  0174  GETTABUP  R5 = _ENV[K14('EDurationDefine')]
  0175  GETTABLE  R5 = R5[K15('TimePerFrame')]
  0176  MUL       R5 = R5 mul K40(20)
  0177  CALL      R3 = call(R3, 0 args, 2 rets)
  0178  SELF      R4 = R2[K12('AppendCallback')] (self)
  0179  CLOSURE   R5 = closure proto3
  0180  CALL      R3 = call(R3, 0 args, 2 rets)
  0181  JMP       (jump)   -> 186
  0182  GETTABUP  R1 = _ENV[K41('RecipeCollectActivityTransparentBaseWindow')]
  0183  GETTABLE  R1 = R1[K42('Close')]
  0184  MOVE      R2 = R0
  0185  CALL      R1 = call(R1, 0 args, 1 rets)
  0186  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 200-206 np=0 va=0 ms=3 code=17 consts=9 upvals=2 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='m_trayDownGo'
    ;   K[3]='m_trayTopGo'
    ;   K[4]='m_trayDownAnimator'
    ;   K[5]='enabled'
    ;   K[6]=true
    ;   K[7]='m_trayTopAnimator'
    ;   K[8]='m_scaleRootAnimator'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = self[K2('m_trayDownGo')]
    0003  LOADBOOL  R2 = true
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0006  GETTABLE  R0 = R0[K1('SetActive')]
    0007  GETTABUP  R1 = self[K3('m_trayTopGo')]
    0008  LOADBOOL  R2 = true
    0009  CALL      R0 = call(R0, 0 args, 2 rets)
    0010  GETTABUP  R0 = self[K4('m_trayDownAnimator')]
    0011  SETTABLE  R0[K5('enabled')] = K6(true)
    0012  GETTABUP  R0 = self[K7('m_trayTopAnimator')]
    0013  SETTABLE  R0[K5('enabled')] = K6(true)
    0014  GETTABUP  R0 = self[K8('m_scaleRootAnimator')]
    0015  SETTABLE  R0[K5('enabled')] = K6(true)
    0016  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 210-212 np=0 va=0 ms=2 code=3 consts=3 upvals=1 protos=0
    ;   K[0]='m_discoveryAnimator'
    ;   K[1]='enabled'
    ;   K[2]=true
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_discoveryAnimator')]
    0001  SETTABLE  R0[K1('enabled')] = K2(true)
    0002  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 217-219 np=0 va=0 ms=2 code=4 consts=2 upvals=1 protos=0
    ;   K[0]='m_trayHitEffect'
    ;   K[1]='Play'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_trayHitEffect')]
    0001  SELF      R1 = R0[K1('Play')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 227-230 np=0 va=0 ms=4 code=11 consts=5 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='RecipeCollectActivityTransparentBaseWindow'
    ;   K[4]='Close'
    ;   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  GETUPVAL  R3 = _ENV
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  GETTABUP  R0 = _ENV[K3('RecipeCollectActivityTransparentBaseWindow')]
    0007  GETTABLE  R0 = R0[K4('Close')]
    0008  GETUPVAL  R1 = _ENV
    0009  CALL      R0 = call(R0, 0 args, 1 rets)
    0010  RETURN    return R0..R-1
; ---------- proto10 [OnCloseView] ----------
  ; fn ?  line 237-240 np=1 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='OnMainWindowClosed'
  ;   K[2]='RecipeCollectActivityBaseWindow'
  ;   K[3]='OnCloseView'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('OnMainWindowClosed')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('RecipeCollectActivityBaseWindow')]
  0005  GETTABLE  R1 = R1[K3('OnCloseView')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto11 [OnCloseFinish] ----------
  ; fn ?  line 243-256 np=1 va=0 ms=6 code=60 consts=23 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='_IsModelIdChanged'
  ;   K[3]='CanClaimFinalReward'
  ;   K[4]='OpenFinalRewardWindow'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='IsViewOpen'
  ;   K[8]='UIPrefabConfigName'
  ;   K[9]='DiscoveriesWindow'
  ;   K[10]='EventDispatcher'
  ;   K[11]='DispatchEvent'
  ;   K[12]='EEventType'
  ;   K[13]='HighlightHud'
  ;   K[14]='highlight'
  ;   K[15]=true
  ;   K[16]='hudKey'
  ;   K[17]='ESceneViewHudButtonKey'
  ;   K[18]='Gem'
  ;   K[19]='Energy'
  ;   K[20]='Coin'
  ;   K[21]='RecipeCollectActivityTransparentBaseWindow'
  ;   K[22]='OnCloseFinish'
  ;   upvals: _ENV
  ;   locals: self(0-60), activityState(3-60)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetState')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SELF      R3 = R0[K2('_IsModelIdChanged')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 17
  0007  GETTABLE  R2 = R0[K0('m_model')]
  0008  SELF      R3 = R2[K3('CanClaimFinalReward')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TEST      if not R2 then   -> -131060
  0011  JMP       (jump)   -> 17
  0012  GETTABLE  R2 = R0[K0('m_model')]
  0013  SELF      R3 = R2[K4('OpenFinalRewardWindow')] (self)
  0014  LOADBOOL  R4 = false
  0015  CALL      R2 = call(R2, 0 args, 2 rets)
  0016  JMP       (jump)   -> 55
  0017  GETTABUP  R2 = _ENV[K5('GM')]
  0018  GETTABLE  R2 = R2[K6('UIManager')]
  0019  SELF      R3 = R2[K7('IsViewOpen')] (self)
  0020  GETTABUP  R4 = _ENV[K8('UIPrefabConfigName')]
  0021  GETTABLE  R4 = R4[K9('DiscoveriesWindow')]
  0022  CALL      R2 = call(R2, 1 args, 2 rets)
  0023  TEST      if not R2 then   -> -131047
  0024  JMP       (jump)   -> 55
  0025  GETTABUP  R2 = _ENV[K10('EventDispatcher')]
  0026  GETTABLE  R2 = R2[K11('DispatchEvent')]
  0027  GETTABUP  R3 = _ENV[K12('EEventType')]
  0028  GETTABLE  R3 = R3[K13('HighlightHud')]
  0029  NEWTABLE  R4 = {} (0 items)
  0030  SETTABLE  R4[K14('highlight')] = K15(true)
  0031  GETTABUP  R5 = _ENV[K17('ESceneViewHudButtonKey')]
  0032  GETTABLE  R5 = R5[K18('Gem')]
  0033  SETTABLE  R4[K16('hudKey')] = R5
  0034  CALL      R2 = call(R2, 0 args, 2 rets)
  0035  GETTABUP  R2 = _ENV[K10('EventDispatcher')]
  0036  GETTABLE  R2 = R2[K11('DispatchEvent')]
  0037  GETTABUP  R3 = _ENV[K12('EEventType')]
  0038  GETTABLE  R3 = R3[K13('HighlightHud')]
  0039  NEWTABLE  R4 = {} (0 items)
  0040  SETTABLE  R4[K14('highlight')] = K15(true)
  0041  GETTABUP  R5 = _ENV[K17('ESceneViewHudButtonKey')]
  0042  GETTABLE  R5 = R5[K19('Energy')]
  0043  SETTABLE  R4[K16('hudKey')] = R5
  0044  CALL      R2 = call(R2, 0 args, 2 rets)
  0045  GETTABUP  R2 = _ENV[K10('EventDispatcher')]
  0046  GETTABLE  R2 = R2[K11('DispatchEvent')]
  0047  GETTABUP  R3 = _ENV[K12('EEventType')]
  0048  GETTABLE  R3 = R3[K13('HighlightHud')]
  0049  NEWTABLE  R4 = {} (0 items)
  0050  SETTABLE  R4[K14('highlight')] = K15(true)
  0051  GETTABUP  R5 = _ENV[K17('ESceneViewHudButtonKey')]
  0052  GETTABLE  R5 = R5[K20('Coin')]
  0053  SETTABLE  R4[K16('hudKey')] = R5
  0054  CALL      R2 = call(R2, 0 args, 2 rets)
  0055  GETTABUP  R2 = _ENV[K21('RecipeCollectActivityTransparentBaseWindow')]
  0056  GETTABLE  R2 = R2[K22('OnCloseFinish')]
  0057  MOVE      R3 = R0
  0058  CALL      R2 = call(R2, 0 args, 1 rets)
  0059  RETURN    return R0..R-1
; ---------- proto12 [OnHelpBtnClick] ----------
  ; fn ?  line 258-260 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='OpenHelpWindow'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('OpenHelpWindow')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto13 [_TryPlayButtonTween] ----------
  ; fn ?  line 262-272 np=1 va=0 ms=11 code=47 consts=25 upvals=1 protos=0
  ;   K[0]='m_bCanClaimFinalReward'
  ;   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_bCanClaimFinalReward')]
  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
; ---------- proto14 [ShowDescTip] ----------
  ; fn ?  line 276-282 np=3 va=0 ms=7 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='GetWorldRect'
  ;   K[2]='m_scrollRectRaycastRectTransform'
  ;   K[3]='Contains'
  ;   K[4]='m_descTip'
  ;   K[5]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-16), desc(0-16), pos(0-16)
  0000  GETTABUP  R3 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R3 = R3[K1('GetWorldRect')]
  0002  GETTABLE  R4 = R0[K2('m_scrollRectRaycastRectTransform')]
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  SELF      R4 = R3[K3('Contains')] (self)
  0005  MOVE      R5 = R0
  0006  CALL      R3 = call(R3, 1 args, 2 rets)
  0007  TEST      if not R3 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R3 = R0[K4('m_descTip')]
  0011  SELF      R4 = R3[K5('Show')] (self)
  0012  MOVE      R5 = R0
  0013  MOVE      R6 = R0
  0014  CALL      R3 = call(R3, 0 args, 3 rets)
  0015  RETURN    return R0..R-1
; ---------- proto15 [GetFirstStageCell] ----------
  ; fn ?  line 284-286 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrStageCell'
  ;   K[1]=1
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_arrStageCell')]
  0001  GETTABLE  R1 = R1[K1(1)]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto16 [GetFinalRewardRoot] ----------
  ; fn ?  line 288-290 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_finalRewardRoot'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_finalRewardRoot')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto17 [_LogWindowAction] ----------
  ; fn ?  line 293-303 np=1 va=0 ms=6 code=51 consts=12 upvals=1 protos=0
  ;   K[0]='m_bAutoPop'
  ;   K[1]='LogWindowAction'
  ;   K[2]='EBIType'
  ;   K[3]='UIActionType'
  ;   K[4]='Open'
  ;   K[5]='EBIReferType'
  ;   K[6]='AutoPopup'
  ;   K[7]='m_eUILoaderType'
  ;   K[8]='EUILoaderType'
  ;   K[9]='DiscoveriesWindow'
  ;   K[10]='ItemDishDetailWindow'
  ;   K[11]='UserClick'
  ;   upvals: _ENV
  ;   locals: self(0-51)
  0000  GETTABLE  R1 = R0[K0('m_bAutoPop')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 13
  0003  SELF      R2 = R0[K1('LogWindowAction')] (self)
  0004  GETTABUP  R3 = _ENV[K2('EBIType')]
  0005  GETTABLE  R3 = R3[K3('UIActionType')]
  0006  GETTABLE  R3 = R3[K4('Open')]
  0007  NEWTABLE  R4 = {} (1 items)
  0008  GETTABUP  R5 = _ENV[K5('EBIReferType')]
  0009  GETTABLE  R5 = R5[K6('AutoPopup')]
  0010  SETLIST   setlist R4[B=1,C=1]
  0011  CALL      R1 = call(R1, 0 args, 3 rets)
  0012  JMP       (jump)   -> 50
  0013  GETTABLE  R1 = R0[K7('m_eUILoaderType')]
  0014  GETTABUP  R2 = _ENV[K8('EUILoaderType')]
  0015  GETTABLE  R2 = R2[K9('DiscoveriesWindow')]
  0016  EQ        if R0 eq R2   -> -130540
  0017  JMP       (jump)   -> 27
  0018  SELF      R2 = R0[K1('LogWindowAction')] (self)
  0019  GETTABUP  R3 = _ENV[K2('EBIType')]
  0020  GETTABLE  R3 = R3[K3('UIActionType')]
  0021  GETTABLE  R3 = R3[K4('Open')]
  0022  NEWTABLE  R4 = {} (1 items)
  0023  LOADK     R5 = K9 'DiscoveriesWindow'
  0024  SETLIST   setlist R4[B=1,C=1]
  0025  CALL      R1 = call(R1, 0 args, 3 rets)
  0026  JMP       (jump)   -> 50
  0027  GETTABLE  R1 = R0[K7('m_eUILoaderType')]
  0028  GETTABUP  R2 = _ENV[K8('EUILoaderType')]
  0029  GETTABLE  R2 = R2[K10('ItemDishDetailWindow')]
  0030  EQ        if R0 eq R2   -> -130526
  0031  JMP       (jump)   -> 41
  0032  SELF      R2 = R0[K1('LogWindowAction')] (self)
  0033  GETTABUP  R3 = _ENV[K2('EBIType')]
  0034  GETTABLE  R3 = R3[K3('UIActionType')]
  0035  GETTABLE  R3 = R3[K4('Open')]
  0036  NEWTABLE  R4 = {} (1 items)
  0037  LOADK     R5 = K10 'ItemDishDetailWindow'
  0038  SETLIST   setlist R4[B=1,C=1]
  0039  CALL      R1 = call(R1, 0 args, 3 rets)
  0040  JMP       (jump)   -> 50
  0041  SELF      R2 = R0[K1('LogWindowAction')] (self)
  0042  GETTABUP  R3 = _ENV[K2('EBIType')]
  0043  GETTABLE  R3 = R3[K3('UIActionType')]
  0044  GETTABLE  R3 = R3[K4('Open')]
  0045  NEWTABLE  R4 = {} (1 items)
  0046  GETTABUP  R5 = _ENV[K5('EBIReferType')]
  0047  GETTABLE  R5 = R5[K11('UserClick')]
  0048  SETLIST   setlist R4[B=1,C=1]
  0049  CALL      R1 = call(R1, 0 args, 3 rets)
  0050  RETURN    return R0..R-1
; ---------- proto18 [_GetVerticalNormalizedPosition] ----------
  ; fn ?  line 306-320 np=2 va=0 ms=10 code=40 consts=15 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]=1
  ;   K[2]='m_scrollRect'
  ;   K[3]='content'
  ;   K[4]='rect'
  ;   K[5]='height'
  ;   K[6]='viewport'
  ;   K[7]=0
  ;   K[8]='m_arrStageCell'
  ;   K[9]='transform'
  ;   K[10]='m_contentLayoutGroup'
  ;   K[11]='spacing'
  ;   K[12]='math'
  ;   K[13]='max'
  ;   K[14]='min'
  ;   upvals: _ENV
  ;   locals: self(0-40), targetStage(0-40), totalHeight(13-40), height(14-40), (for index)(17-28), (for limit)(17-28), (for step)(17-28), stage(18-27)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 4
  0002  LOADK     R2 = K1 1
  0003  RETURN    return R2..R1
  0004  GETTABLE  R2 = R0[K2('m_scrollRect')]
  0005  GETTABLE  R2 = R2[K3('content')]
  0006  GETTABLE  R2 = R2[K4('rect')]
  0007  GETTABLE  R2 = R2[K5('height')]
  0008  GETTABLE  R3 = R0[K2('m_scrollRect')]
  0009  GETTABLE  R3 = R3[K6('viewport')]
  0010  GETTABLE  R3 = R3[K4('rect')]
  0011  GETTABLE  R3 = R3[K5('height')]
  0012  SUB       R2 = R3 sub R2
  0013  LOADK     R3 = K7 0
  0014  LOADK     R4 = K1 1
  0015  SUB       R5 = K1(1) sub R1
  0016  LOADK     R6 = K1 1
  0017  FORPREP   forprep R4(sBx=9)   -> 27
  0018  GETTABLE  R8 = R0[K8('m_arrStageCell')]
  0019  GETTABLE  R8 = R8[R7]
  0020  GETTABLE  R8 = R8[K9('transform')]
  0021  GETTABLE  R8 = R8[K4('rect')]
  0022  GETTABLE  R8 = R8[K5('height')]
  0023  ADD       R8 = R8 add R3
  0024  GETTABLE  R9 = R0[K10('m_contentLayoutGroup')]
  0025  GETTABLE  R9 = R9[K11('spacing')]
  0026  ADD       R3 = R9 add R8
  0027  FORLOOP   forloop R4(sBx=-10)   -> 18
  0028  GETTABUP  R4 = _ENV[K12('math')]
  0029  GETTABLE  R4 = R4[K13('max')]
  0030  LOADK     R5 = K7 0
  0031  GETTABUP  R6 = _ENV[K12('math')]
  0032  GETTABLE  R6 = R6[K14('min')]
  0033  LOADK     R7 = K1 1
  0034  DIV       R8 = R2 div R3
  0035  SUB       R8 = R8 sub K1(1)
  0036  CALL      R6 = call(R6, -1 args, 2 rets)
  0037  TAILCALL  tailcall(R4, 0)
  0038  RETURN    return R4..R3
  0039  RETURN    return R0..R-1
