# PassActivity_Common_View_Window_PassActivityRewardWindow_835.luac
; fn @PassActivityRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=146 consts=47 upvals=1 protos=24
;   K[0]='PassActivityBuyTicketWindow'
;   K[1]='setmetatable'
;   K[2]='bNeedSetWindowOpened'
;   K[3]=false
;   K[4]='disableEffectWhenCloseView'
;   K[5]=true
;   K[6]='PassActivityBaseWindow'
;   K[7]='__index'
;   K[8]='Init'
;   K[9]='OnDestroy'
;   K[10]='OnTicketTipButtonClicked'
;   K[11]='OnMaskClicked'
;   K[12]='OnBuyButtonClicked'
;   K[13]='_Continue'
;   K[14]='PassActivityBuyTicketPopupWindow'
;   K[15]='PassActivityBaseWindow'
;   K[16]='Init'
;   K[17]='OnCloseBtnClick'
;   K[18]='_Continue'
;   K[19]='PassActivityBuyTicketSuccessWindow1'
;   K[20]=false
;   K[21]='windowMaskAlpha'
;   K[22]='EWindowMaskAlpha'
;   K[23]='Dark'
;   K[24]=true
;   K[25]='PassActivityBaseWindow'
;   K[26]='Init'
;   K[27]='PassActivityBuyTicketSuccessWindow2'
;   K[28]='PassActivityBaseWindow'
;   K[29]='Init'
;   K[30]='OnCloseBtnClick'
;   K[31]='PassActivityBuyTicketSuccessWindow3'
;   K[32]='PassActivityBaseWindow'
;   K[33]='Init'
;   K[34]='OnCloseBtnClick'
;   K[35]='PassActivityRewardRecoverWindow'
;   K[36]='PassActivityBaseWindow'
;   K[37]='Init'
;   K[38]='Close'
;   K[39]='PassActivityMaxTicketTokenWindow'
;   K[40]='showWindowMask'
;   K[41]='canCloseByAndroidBack'
;   K[42]='PassActivityBaseWindow'
;   K[43]='Init'
;   K[44]='PlayShowAnimation'
;   K[45]='PreHideForAnim'
;   K[46]='FlyEffectToOrderTokenCell'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('bNeedSetWindowOpened')] = K3(false)
0003  SETTABLE  R1[K4('disableEffectWhenCloseView')] = K5(true)
0004  GETTABUP  R2 = _ENV[K6('PassActivityBaseWindow')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('PassActivityBuyTicketWindow')] = R0
0007  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0008  GETTABUP  R1 = _ENV[K0('PassActivityBuyTicketWindow')]
0009  SETTABLE  R0[K7('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K8('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K9('OnDestroy')] = R1
0016  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K10('OnTicketTipButtonClicked')] = R1
0019  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K11('OnMaskClicked')] = R1
0022  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K12('OnBuyButtonClicked')] = R1
0025  GETTABUP  R0 = _ENV[K0('PassActivityBuyTicketWindow')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K13('_Continue')] = R1
0028  GETTABUP  R0 = _ENV[K1('setmetatable')]
0029  NEWTABLE  R1 = {} (0 items)
0030  GETTABUP  R2 = _ENV[K15('PassActivityBaseWindow')]
0031  CALL      R0 = call(R0, 1 args, 2 rets)
0032  SETTABUP  _ENV[K14('PassActivityBuyTicketPopupWindow')] = R0
0033  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0034  GETTABUP  R1 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0035  SETTABLE  R0[K7('__index')] = R1
0036  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0037  CLOSURE   R1 = closure proto6
0038  SETTABLE  R0[K16('Init')] = R1
0039  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0040  CLOSURE   R1 = closure proto7
0041  SETTABLE  R0[K9('OnDestroy')] = R1
0042  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0043  CLOSURE   R1 = closure proto8
0044  SETTABLE  R0[K17('OnCloseBtnClick')] = R1
0045  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0046  CLOSURE   R1 = closure proto9
0047  SETTABLE  R0[K12('OnBuyButtonClicked')] = R1
0048  GETTABUP  R0 = _ENV[K14('PassActivityBuyTicketPopupWindow')]
0049  CLOSURE   R1 = closure proto10
0050  SETTABLE  R0[K18('_Continue')] = R1
0051  GETTABUP  R0 = _ENV[K1('setmetatable')]
0052  NEWTABLE  R1 = {} (0 items)
0053  SETTABLE  R1[K2('bNeedSetWindowOpened')] = K20(false)
0054  GETTABUP  R2 = _ENV[K22('EWindowMaskAlpha')]
0055  GETTABLE  R2 = R2[K23('Dark')]
0056  SETTABLE  R1[K21('windowMaskAlpha')] = R2
0057  SETTABLE  R1[K4('disableEffectWhenCloseView')] = K24(true)
0058  GETTABUP  R2 = _ENV[K25('PassActivityBaseWindow')]
0059  CALL      R0 = call(R0, 1 args, 2 rets)
0060  SETTABUP  _ENV[K19('PassActivityBuyTicketSuccessWindow1')] = R0
0061  GETTABUP  R0 = _ENV[K19('PassActivityBuyTicketSuccessWindow1')]
0062  GETTABUP  R1 = _ENV[K19('PassActivityBuyTicketSuccessWindow1')]
0063  SETTABLE  R0[K7('__index')] = R1
0064  GETTABUP  R0 = _ENV[K19('PassActivityBuyTicketSuccessWindow1')]
0065  CLOSURE   R1 = closure proto11
0066  SETTABLE  R0[K26('Init')] = R1
0067  GETTABUP  R0 = _ENV[K19('PassActivityBuyTicketSuccessWindow1')]
0068  CLOSURE   R1 = closure proto12
0069  SETTABLE  R0[K17('OnCloseBtnClick')] = R1
0070  GETTABUP  R0 = _ENV[K1('setmetatable')]
0071  NEWTABLE  R1 = {} (0 items)
0072  SETTABLE  R1[K2('bNeedSetWindowOpened')] = K20(false)
0073  SETTABLE  R1[K4('disableEffectWhenCloseView')] = K24(true)
0074  GETTABUP  R2 = _ENV[K28('PassActivityBaseWindow')]
0075  CALL      R0 = call(R0, 1 args, 2 rets)
0076  SETTABUP  _ENV[K27('PassActivityBuyTicketSuccessWindow2')] = R0
0077  GETTABUP  R0 = _ENV[K27('PassActivityBuyTicketSuccessWindow2')]
0078  GETTABUP  R1 = _ENV[K27('PassActivityBuyTicketSuccessWindow2')]
0079  SETTABLE  R0[K7('__index')] = R1
0080  GETTABUP  R0 = _ENV[K27('PassActivityBuyTicketSuccessWindow2')]
0081  CLOSURE   R1 = closure proto13
0082  SETTABLE  R0[K29('Init')] = R1
0083  GETTABUP  R0 = _ENV[K27('PassActivityBuyTicketSuccessWindow2')]
0084  CLOSURE   R1 = closure proto14
0085  SETTABLE  R0[K30('OnCloseBtnClick')] = R1
0086  GETTABUP  R0 = _ENV[K1('setmetatable')]
0087  NEWTABLE  R1 = {} (0 items)
0088  SETTABLE  R1[K2('bNeedSetWindowOpened')] = K20(false)
0089  GETTABUP  R2 = _ENV[K22('EWindowMaskAlpha')]
0090  GETTABLE  R2 = R2[K23('Dark')]
0091  SETTABLE  R1[K21('windowMaskAlpha')] = R2
0092  SETTABLE  R1[K4('disableEffectWhenCloseView')] = K24(true)
0093  GETTABUP  R2 = _ENV[K32('PassActivityBaseWindow')]
0094  CALL      R0 = call(R0, 1 args, 2 rets)
0095  SETTABUP  _ENV[K31('PassActivityBuyTicketSuccessWindow3')] = R0
0096  GETTABUP  R0 = _ENV[K31('PassActivityBuyTicketSuccessWindow3')]
0097  GETTABUP  R1 = _ENV[K31('PassActivityBuyTicketSuccessWindow3')]
0098  SETTABLE  R0[K7('__index')] = R1
0099  GETTABUP  R0 = _ENV[K31('PassActivityBuyTicketSuccessWindow3')]
0100  CLOSURE   R1 = closure proto15
0101  SETTABLE  R0[K33('Init')] = R1
0102  GETTABUP  R0 = _ENV[K31('PassActivityBuyTicketSuccessWindow3')]
0103  CLOSURE   R1 = closure proto16
0104  SETTABLE  R0[K34('OnCloseBtnClick')] = R1
0105  GETTABUP  R0 = _ENV[K1('setmetatable')]
0106  NEWTABLE  R1 = {} (0 items)
0107  SETTABLE  R1[K2('bNeedSetWindowOpened')] = K20(false)
0108  GETTABUP  R2 = _ENV[K36('PassActivityBaseWindow')]
0109  CALL      R0 = call(R0, 1 args, 2 rets)
0110  SETTABUP  _ENV[K35('PassActivityRewardRecoverWindow')] = R0
0111  GETTABUP  R0 = _ENV[K35('PassActivityRewardRecoverWindow')]
0112  GETTABUP  R1 = _ENV[K35('PassActivityRewardRecoverWindow')]
0113  SETTABLE  R0[K7('__index')] = R1
0114  GETTABUP  R0 = _ENV[K35('PassActivityRewardRecoverWindow')]
0115  CLOSURE   R1 = closure proto17
0116  SETTABLE  R0[K37('Init')] = R1
0117  GETTABUP  R0 = _ENV[K35('PassActivityRewardRecoverWindow')]
0118  CLOSURE   R1 = closure proto18
0119  SETTABLE  R0[K38('Close')] = R1
0120  GETTABUP  R0 = _ENV[K1('setmetatable')]
0121  NEWTABLE  R1 = {} (0 items)
0122  SETTABLE  R1[K40('showWindowMask')] = K20(false)
0123  SETTABLE  R1[K41('canCloseByAndroidBack')] = K20(false)
0124  GETTABUP  R2 = _ENV[K42('PassActivityBaseWindow')]
0125  CALL      R0 = call(R0, 1 args, 2 rets)
0126  SETTABUP  _ENV[K39('PassActivityMaxTicketTokenWindow')] = R0
0127  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0128  GETTABUP  R1 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0129  SETTABLE  R0[K7('__index')] = R1
0130  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0131  CLOSURE   R1 = closure proto19
0132  SETTABLE  R0[K43('Init')] = R1
0133  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0134  CLOSURE   R1 = closure proto20
0135  SETTABLE  R0[K44('PlayShowAnimation')] = R1
0136  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0137  CLOSURE   R1 = closure proto21
0138  SETTABLE  R0[K45('PreHideForAnim')] = R1
0139  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0140  CLOSURE   R1 = closure proto22
0141  SETTABLE  R0[K46('FlyEffectToOrderTokenCell')] = R1
0142  GETTABUP  R0 = _ENV[K39('PassActivityMaxTicketTokenWindow')]
0143  CLOSURE   R1 = closure proto23
0144  SETTABLE  R0[K9('OnDestroy')] = R1
0145  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 10-24 np=3 va=0 ms=9 code=48 consts=23 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_rewardBubble'
  ;   K[3]='m_model'
  ;   K[4]='GetVipRewards'
  ;   K[5]='GetSortingOrder'
  ;   K[6]=8
  ;   K[7]='OnTicketTipButtonClicked'
  ;   K[8]='m_energyNumberText'
  ;   K[9]='text'
  ;   K[10]='x'
  ;   K[11]='tostring'
  ;   K[12]='GetHighlightEnergyRewardCount'
  ;   K[13]='GM'
  ;   K[14]='InAppPurchaseModel'
  ;   K[15]='GetLocalizedPrice'
  ;   K[16]='GetPassTicketIapType'
  ;   K[17]='m_iapButton'
  ;   K[18]='EventDispatcher'
  ;   K[19]='AddListener'
  ;   K[20]='m_activityDefinition'
  ;   K[21]='BuyTicketSuccessEvent'
  ;   K[22]='_Continue'
  ;   upvals: _ENV
  ;   locals: self(0-48), activityType(0-48), ext(0-48), price(36-48)
  0000  GETTABUP  R3 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  LOADBOOL  R6 = false
  0005  MOVE      R7 = R0
  0006  CALL      R3 = call(R3, 0 args, 4 rets)
  0007  GETTABLE  R3 = R0[K2('m_rewardBubble')]
  0008  SELF      R4 = R3[K1('Init')] (self)
  0009  GETTABLE  R5 = R0[K3('m_model')]
  0010  SELF      R6 = R5[K4('GetVipRewards')] (self)
  0011  LOADBOOL  R7 = true
  0012  LOADBOOL  R8 = true
  0013  CALL      R5 = call(R5, 1 args, 3 rets)
  0014  SELF      R7 = R0[K5('GetSortingOrder')] (self)
  0015  CALL      R6 = call(R6, 1 args, 1 rets)
  0016  ADD       R6 = K6(8) add R6
  0017  CALL      R3 = call(R3, 0 args, 3 rets)
  0018  SELF      R4 = R0[K7('OnTicketTipButtonClicked')] (self)
  0019  CALL      R3 = call(R3, 0 args, 1 rets)
  0020  GETTABLE  R3 = R0[K8('m_energyNumberText')]
  0021  LOADK     R4 = K10 'x'
  0022  GETTABUP  R5 = _ENV[K11('tostring')]
  0023  GETTABLE  R6 = R0[K3('m_model')]
  0024  SELF      R7 = R6[K12('GetHighlightEnergyRewardCount')] (self)
  0025  CALL      R6 = call(R6, -1 args, 1 rets)
  0026  CALL      R5 = call(R5, 1 args, -1 rets)
  0027  CONCAT    R4 = concat(R4..R4)
  0028  SETTABLE  R3[K9('text')] = R4
  0029  GETTABUP  R3 = _ENV[K13('GM')]
  0030  GETTABLE  R3 = R3[K14('InAppPurchaseModel')]
  0031  SELF      R4 = R3[K15('GetLocalizedPrice')] (self)
  0032  GETTABLE  R5 = R0[K3('m_model')]
  0033  SELF      R6 = R5[K16('GetPassTicketIapType')] (self)
  0034  CALL      R5 = call(R5, -1 args, 1 rets)
  0035  CALL      R3 = call(R3, 1 args, -1 rets)
  0036  GETTABLE  R4 = R0[K17('m_iapButton')]
  0037  SELF      R5 = R4[K1('Init')] (self)
  0038  MOVE      R6 = R0
  0039  CALL      R4 = call(R4, 0 args, 2 rets)
  0040  GETTABUP  R4 = _ENV[K18('EventDispatcher')]
  0041  GETTABLE  R4 = R4[K19('AddListener')]
  0042  GETTABLE  R5 = R0[K20('m_activityDefinition')]
  0043  GETTABLE  R5 = R5[K21('BuyTicketSuccessEvent')]
  0044  MOVE      R6 = R0
  0045  GETTABLE  R7 = R0[K22('_Continue')]
  0046  CALL      R4 = call(R4, 0 args, 3 rets)
  0047  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [OnTicketTipButtonClicked] ----------
  ; fn ?  line 30-35 np=1 va=0 ms=5 code=9 consts=7 upvals=0 protos=0
  ;   K[0]='m_rewardBubble'
  ;   K[1]='ShowBubble'
  ;   K[2]='bRight'
  ;   K[3]=true
  ;   K[4]='pos'
  ;   K[5]='m_bubblePosRect'
  ;   K[6]='position'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_rewardBubble')]
  0001  SELF      R2 = R1[K1('ShowBubble')] (self)
  0002  NEWTABLE  R3 = {} (0 items)
  0003  SETTABLE  R3[K2('bRight')] = K3(true)
  0004  GETTABLE  R4 = R0[K5('m_bubblePosRect')]
  0005  GETTABLE  R4 = R4[K6('position')]
  0006  SETTABLE  R3[K4('pos')] = R4
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto3 [OnMaskClicked] ----------
  ; fn ?  line 37-39 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_rewardBubble'
  ;   K[1]='HideBubble'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_rewardBubble')]
  0001  SELF      R2 = R1[K1('HideBubble')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto4 [OnBuyButtonClicked] ----------
  ; fn ?  line 41-44 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='BuyTicket'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('BuyTicket')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto5 [_Continue] ----------
  ; fn ?  line 46-52 np=1 va=0 ms=5 code=14 consts=9 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='PassActivityViewHelper'
  ;   K[2]='SetViewChain'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='OpenView'
  ;   K[6]='m_activityDefinition'
  ;   K[7]='BuyTicketSuccessWindow1PrefabName'
  ;   K[8]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('PassActivityViewHelper')]
  0003  GETTABLE  R1 = R1[K2('SetViewChain')]
  0004  LOADBOOL  R2 = true
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('GM')]
  0007  GETTABLE  R1 = R1[K4('UIManager')]
  0008  SELF      R2 = R1[K5('OpenView')] (self)
  0009  GETTABLE  R3 = R0[K6('m_activityDefinition')]
  0010  GETTABLE  R3 = R3[K7('BuyTicketSuccessWindow1PrefabName')]
  0011  GETTABLE  R4 = R0[K8('m_activityType')]
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto6 [Init] ----------
  ; fn ?  line 58-100 np=2 va=0 ms=15 code=107 consts=39 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='SetBuyTicketPopupWindowOpened'
  ;   K[4]='GetLevelConfigs'
  ;   K[5]='GetCurrentLevel'
  ;   K[6]=1
  ;   K[7]='ipairs'
  ;   K[8]='vipRewards'
  ;   K[9]='GetVIPExtraEnergyRewards'
  ;   K[10]=nil
  ;   K[11]='HasTakenVIPExtraEnergy'
  ;   K[12]='Table'
  ;   K[13]='ListAppend'
  ;   K[14]='RewardApi'
  ;   K[15]='GetMergedRewards'
  ;   K[16]='m_rewardContent'
  ;   K[17]='ERewardScene'
  ;   K[18]='Other'
  ;   K[19]='GM'
  ;   K[20]='InAppPurchaseModel'
  ;   K[21]='GetLocalizedPrice'
  ;   K[22]='GetPassTicketIapType'
  ;   K[23]='m_iapButton'
  ;   K[24]=3
  ;   K[25]='UIUtil'
  ;   K[26]='SetSizeDelta'
  ;   K[27]='m_contentRect'
  ;   K[28]=1022
  ;   K[29]='m_maskImg'
  ;   K[30]='enabled'
  ;   K[31]=false
  ;   K[32]=6
  ;   K[33]=1310
  ;   K[34]='EventDispatcher'
  ;   K[35]='AddListener'
  ;   K[36]='m_activityDefinition'
  ;   K[37]='BuyTicketSuccessEvent'
  ;   K[38]='_Continue'
  ;   upvals: _ENV
  ;   locals: self(0-107), activityType(0-107), vipRewards(10-107), levelConfigs(13-107), tokenLevel(16-107), (for index)(19-31), (for limit)(19-31), (for step)(19-31), level(20-30), (for generator)(24-30), (for state)(24-30), (for control)(24-30), _(25-28), reward(25-28), bonusRewards(44-49), arrMergedRewards(53-107), price(66-107)
  0000  GETTABUP  R2 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = false
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K2('m_model')]
  0007  SELF      R3 = R2[K3('SetBuyTicketPopupWindowOpened')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  NEWTABLE  R2 = {} (0 items)
  0010  GETTABLE  R3 = R0[K2('m_model')]
  0011  SELF      R4 = R3[K4('GetLevelConfigs')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  GETTABLE  R4 = R0[K2('m_model')]
  0014  SELF      R5 = R4[K5('GetCurrentLevel')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  LOADK     R5 = K6 1
  0017  MOVE      R6 = R0
  0018  LOADK     R7 = K6 1
  0019  FORPREP   forprep R5(sBx=10)   -> 30
  0020  GETTABUP  R9 = _ENV[K7('ipairs')]
  0021  GETTABLE  R10 = R3[R8]
  0022  GETTABLE  R10 = R10[K8('vipRewards')]
  0023  CALL      R9 = call(R9, 3 args, 1 rets)
  0024  JMP       (jump)   -> 28
  0025  LEN       R14 = len R0
  0026  ADD       R14 = K6(1) add R14
  0027  SETTABLE  R2[R14] = R13
  0028  TFORCALL  tforcall R9
  0029  TFORLOOP  tforloop R11(sBx=-5)   -> 25
  0030  FORLOOP   forloop R5(sBx=-11)   -> 20
  0031  GETTABLE  R5 = R0[K2('m_model')]
  0032  SELF      R6 = R5[K9('GetVIPExtraEnergyRewards')] (self)
  0033  CALL      R5 = call(R5, 1 args, 1 rets)
  0034  EQ        if R1 eq K10(nil)   -> -128210
  0035  JMP       (jump)   -> 49
  0036  GETTABLE  R5 = R0[K2('m_model')]
  0037  SELF      R6 = R5[K11('HasTakenVIPExtraEnergy')] (self)
  0038  CALL      R5 = call(R5, 1 args, 1 rets)
  0039  TEST      if not R5 then   -> -131030
  0040  JMP       (jump)   -> 49
  0041  GETTABLE  R5 = R0[K2('m_model')]
  0042  SELF      R6 = R5[K9('GetVIPExtraEnergyRewards')] (self)
  0043  CALL      R5 = call(R5, 1 args, 1 rets)
  0044  GETTABUP  R6 = _ENV[K12('Table')]
  0045  GETTABLE  R6 = R6[K13('ListAppend')]
  0046  MOVE      R7 = R0
  0047  MOVE      R8 = R0
  0048  CALL      R6 = call(R6, 0 args, 2 rets)
  0049  GETTABUP  R5 = _ENV[K14('RewardApi')]
  0050  GETTABLE  R5 = R5[K15('GetMergedRewards')]
  0051  MOVE      R6 = R0
  0052  CALL      R5 = call(R5, 1 args, 1 rets)
  0053  GETTABLE  R6 = R0[K16('m_rewardContent')]
  0054  SELF      R7 = R6[K1('Init')] (self)
  0055  MOVE      R8 = R0
  0056  GETTABUP  R9 = _ENV[K17('ERewardScene')]
  0057  GETTABLE  R9 = R9[K18('Other')]
  0058  CALL      R6 = call(R6, 0 args, 3 rets)
  0059  GETTABUP  R6 = _ENV[K19('GM')]
  0060  GETTABLE  R6 = R6[K20('InAppPurchaseModel')]
  0061  SELF      R7 = R6[K21('GetLocalizedPrice')] (self)
  0062  GETTABLE  R8 = R0[K2('m_model')]
  0063  SELF      R9 = R8[K22('GetPassTicketIapType')] (self)
  0064  CALL      R8 = call(R8, -1 args, 1 rets)
  0065  CALL      R6 = call(R6, 1 args, -1 rets)
  0066  GETTABLE  R7 = R0[K23('m_iapButton')]
  0067  SELF      R8 = R7[K1('Init')] (self)
  0068  MOVE      R9 = R0
  0069  CALL      R7 = call(R7, 0 args, 2 rets)
  0070  LEN       R7 = len R0
  0071  LE        if R0 le K24(3)   -> -127135
  0072  JMP       (jump)   -> 85
  0073  GETTABUP  R7 = _ENV[K25('UIUtil')]
  0074  GETTABLE  R7 = R7[K26('SetSizeDelta')]
  0075  GETTABLE  R8 = R0[K27('m_contentRect')]
  0076  LOADNIL   R9..R9 = nil
  0077  LOADK     R10 = K28 1022
  0078  CALL      R7 = call(R7, 0 args, 3 rets)
  0079  GETTABLE  R7 = R0[K29('m_maskImg')]
  0080  EQ        if R1 eq K10(nil)   -> -127140
  0081  JMP       (jump)   -> 99
  0082  GETTABLE  R7 = R0[K29('m_maskImg')]
  0083  SETTABLE  R7[K30('enabled')] = K31(false)
  0084  JMP       (jump)   -> 99
  0085  LEN       R7 = len R0
  0086  LE        if R0 le K32(6)   -> -127112
  0087  JMP       (jump)   -> 99
  0088  GETTABUP  R7 = _ENV[K25('UIUtil')]
  0089  GETTABLE  R7 = R7[K26('SetSizeDelta')]
  0090  GETTABLE  R8 = R0[K27('m_contentRect')]
  0091  LOADNIL   R9..R9 = nil
  0092  LOADK     R10 = K33 1310
  0093  CALL      R7 = call(R7, 0 args, 3 rets)
  0094  GETTABLE  R7 = R0[K29('m_maskImg')]
  0095  EQ        if R1 eq K10(nil)   -> -127125
  0096  JMP       (jump)   -> 99
  0097  GETTABLE  R7 = R0[K29('m_maskImg')]
  0098  SETTABLE  R7[K30('enabled')] = K31(false)
  0099  GETTABUP  R7 = _ENV[K34('EventDispatcher')]
  0100  GETTABLE  R7 = R7[K35('AddListener')]
  0101  GETTABLE  R8 = R0[K36('m_activityDefinition')]
  0102  GETTABLE  R8 = R8[K37('BuyTicketSuccessEvent')]
  0103  MOVE      R9 = R0
  0104  GETTABLE  R10 = R0[K38('_Continue')]
  0105  CALL      R7 = call(R7, 0 args, 3 rets)
  0106  RETURN    return R0..R-1
; ---------- proto7 [OnDestroy] ----------
  ; fn ?  line 102-104 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto8 [OnCloseBtnClick] ----------
  ; fn ?  line 106-121 np=1 va=0 ms=14 code=31 consts=18 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='Close'
  ;   K[5]='PassActivityViewHelper'
  ;   K[6]='ContinueViewChain'
  ;   K[7]='m_activityType'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='OpenView'
  ;   K[11]='UIPrefabConfigName'
  ;   K[12]='TwoButtonWindow'
  ;   K[13]='m_activityDefinition'
  ;   K[14]='TittleTextKey'
  ;   K[15]='battlepass_lastChance'
  ;   K[16]='battlepass_noButton'
  ;   K[17]='battlepass_buyButton'
  ;   upvals: _ENV
  ;   locals: self(0-31), giveUpCallback(15-30)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetState')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0004  GETTABLE  R2 = R2[K3('Started')]
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 14
  0007  SELF      R2 = R0[K4('Close')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABUP  R1 = _ENV[K5('PassActivityViewHelper')]
  0010  GETTABLE  R1 = R1[K6('ContinueViewChain')]
  0011  GETTABLE  R2 = R0[K7('m_activityType')]
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  JMP       (jump)   -> 30
  0014  CLOSURE   R1 = closure proto0
  0015  GETTABUP  R2 = _ENV[K8('GM')]
  0016  GETTABLE  R2 = R2[K9('UIManager')]
  0017  SELF      R3 = R2[K10('OpenView')] (self)
  0018  GETTABUP  R4 = _ENV[K11('UIPrefabConfigName')]
  0019  GETTABLE  R4 = R4[K12('TwoButtonWindow')]
  0020  GETTABLE  R5 = R0[K13('m_activityDefinition')]
  0021  GETTABLE  R5 = R5[K14('TittleTextKey')]
  0022  LOADK     R6 = K15 'battlepass_lastChance'
  0023  LOADK     R7 = K16 'battlepass_noButton'
  0024  LOADK     R8 = K17 'battlepass_buyButton'
  0025  MOVE      R9 = R0
  0026  LOADNIL   R10..R10 = nil
  0027  LOADBOOL  R11 = false
  0028  LOADNIL   R12..R12 = nil
  0029  CALL      R2 = call(R2, 0 args, 11 rets)
  0030  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 112-118 np=1 va=0 ms=3 code=15 consts=6 upvals=2 protos=0
    ;   K[0]='Close'
    ;   K[1]='transform'
    ;   K[2]='IsNull'
    ;   K[3]='PassActivityViewHelper'
    ;   K[4]='ContinueEndChain'
    ;   K[5]='m_activityType'
    ;   upvals: self, _ENV
    ;   locals: window(0-15)
    0000  SELF      R2 = R0[K0('Close')] (self)
    0001  CALL      R1 = call(R1, 0 args, 1 rets)
    0002  GETTABUP  R1 = self[K1('transform')]
    0003  SELF      R2 = R1[K2('IsNull')] (self)
    0004  CALL      R1 = call(R1, 1 args, 1 rets)
    0005  TEST      if not R1 then   -> -131064
    0006  JMP       (jump)   -> 14
    0007  GETUPVAL  R1 = self
    0008  SELF      R2 = R1[K0('Close')] (self)
    0009  CALL      R1 = call(R1, 0 args, 1 rets)
    0010  GETTABUP  R1 = _ENV[K3('PassActivityViewHelper')]
    0011  GETTABLE  R1 = R1[K4('ContinueEndChain')]
    0012  GETTABUP  R2 = self[K5('m_activityType')]
    0013  CALL      R1 = call(R1, 0 args, 1 rets)
    0014  RETURN    return R0..R-1
; ---------- proto9 [OnBuyButtonClicked] ----------
  ; fn ?  line 123-126 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='BuyTicket'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('BuyTicket')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto10 [_Continue] ----------
  ; fn ?  line 128-136 np=1 va=0 ms=5 code=22 consts=13 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='m_model'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='OpenView'
  ;   K[8]='m_activityDefinition'
  ;   K[9]='BuyTicketSuccessWindow1PrefabName'
  ;   K[10]='m_activityType'
  ;   K[11]='PassActivityViewHelper'
  ;   K[12]='ContinueEndChain'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_model')]
  0003  SELF      R2 = R1[K2('GetState')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0006  GETTABLE  R2 = R2[K4('Started')]
  0007  EQ        if R0 eq R2   -> -130549
  0008  JMP       (jump)   -> 17
  0009  GETTABUP  R1 = _ENV[K5('GM')]
  0010  GETTABLE  R1 = R1[K6('UIManager')]
  0011  SELF      R2 = R1[K7('OpenView')] (self)
  0012  GETTABLE  R3 = R0[K8('m_activityDefinition')]
  0013  GETTABLE  R3 = R3[K9('BuyTicketSuccessWindow1PrefabName')]
  0014  GETTABLE  R4 = R0[K10('m_activityType')]
  0015  CALL      R1 = call(R1, 0 args, 3 rets)
  0016  JMP       (jump)   -> 21
  0017  GETTABUP  R1 = _ENV[K11('PassActivityViewHelper')]
  0018  GETTABLE  R1 = R1[K12('ContinueEndChain')]
  0019  GETTABLE  R2 = R0[K10('m_activityType')]
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto11 [Init] ----------
  ; fn ?  line 146-150 np=2 va=0 ms=6 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_titleText'
  ;   K[3]='text'
  ;   K[4]='GM'
  ;   K[5]='GameTextModel'
  ;   K[6]='GetText'
  ;   K[7]='battlepass_itemActivated'
  ;   upvals: _ENV
  ;   locals: self(0-14), activityType(0-14)
  0000  GETTABUP  R2 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = false
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K2('m_titleText')]
  0007  GETTABUP  R3 = _ENV[K4('GM')]
  0008  GETTABLE  R3 = R3[K5('GameTextModel')]
  0009  SELF      R4 = R3[K6('GetText')] (self)
  0010  LOADK     R5 = K7 'battlepass_itemActivated'
  0011  CALL      R3 = call(R3, 1 args, 2 rets)
  0012  SETTABLE  R2[K3('text')] = R3
  0013  RETURN    return R0..R-1
; ---------- proto12 [OnCloseBtnClick] ----------
  ; fn ?  line 152-156 np=1 va=0 ms=5 code=12 consts=8 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='OnCloseBtnClick'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='OpenView'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='BuyTicketSuccessWindow2PrefabName'
  ;   K[7]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseBtnClick')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('UIManager')]
  0006  SELF      R2 = R1[K4('OpenView')] (self)
  0007  GETTABLE  R3 = R0[K5('m_activityDefinition')]
  0008  GETTABLE  R3 = R3[K6('BuyTicketSuccessWindow2PrefabName')]
  0009  GETTABLE  R4 = R0[K7('m_activityType')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  RETURN    return R0..R-1
; ---------- proto13 [Init] ----------
  ; fn ?  line 165-168 np=2 va=0 ms=7 code=16 consts=8 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_energyNumberText'
  ;   K[3]='text'
  ;   K[4]='x'
  ;   K[5]='tostring'
  ;   K[6]='m_model'
  ;   K[7]='GetHighlightEnergyRewardCount'
  ;   upvals: _ENV
  ;   locals: self(0-16), activityType(0-16)
  0000  GETTABUP  R2 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = false
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K2('m_energyNumberText')]
  0007  LOADK     R3 = K4 'x'
  0008  GETTABUP  R4 = _ENV[K5('tostring')]
  0009  GETTABLE  R5 = R0[K6('m_model')]
  0010  SELF      R6 = R5[K7('GetHighlightEnergyRewardCount')] (self)
  0011  CALL      R5 = call(R5, -1 args, 1 rets)
  0012  CALL      R4 = call(R4, 1 args, -1 rets)
  0013  CONCAT    R3 = concat(R3..R3)
  0014  SETTABLE  R2[K3('text')] = R3
  0015  RETURN    return R0..R-1
; ---------- proto14 [OnCloseBtnClick] ----------
  ; fn ?  line 170-183 np=1 va=0 ms=11 code=34 consts=16 upvals=1 protos=1
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='OnCloseBtnClick'
  ;   K[2]='m_model'
  ;   K[3]='HasTakenVIPExtraEnergy'
  ;   K[4]='OnTakenVIPExtraEnergyInView'
  ;   K[5]='GetVIPExtraEnergyRewards'
  ;   K[6]='GM'
  ;   K[7]='UIManager'
  ;   K[8]='OpenView'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='AnimatedRewardWindow'
  ;   K[11]='ERewardScene'
  ;   K[12]='Other'
  ;   K[13]='PassActivityViewHelper'
  ;   K[14]='ContinueViewChain'
  ;   K[15]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-34), rewards(15-28)
  0000  GETTABUP  R1 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseBtnClick')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_model')]
  0005  SELF      R2 = R1[K3('HasTakenVIPExtraEnergy')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131063
  0008  JMP       (jump)   -> 29
  0009  GETTABLE  R1 = R0[K2('m_model')]
  0010  SELF      R2 = R1[K4('OnTakenVIPExtraEnergyInView')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABLE  R1 = R0[K2('m_model')]
  0013  SELF      R2 = R1[K5('GetVIPExtraEnergyRewards')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  GETTABUP  R2 = _ENV[K6('GM')]
  0016  GETTABLE  R2 = R2[K7('UIManager')]
  0017  SELF      R3 = R2[K8('OpenView')] (self)
  0018  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0019  GETTABLE  R4 = R4[K10('AnimatedRewardWindow')]
  0020  MOVE      R5 = R0
  0021  LOADNIL   R6..R6 = nil
  0022  LOADBOOL  R7 = true
  0023  GETTABUP  R8 = _ENV[K11('ERewardScene')]
  0024  GETTABLE  R8 = R8[K12('Other')]
  0025  LOADNIL   R9..R9 = nil
  0026  CLOSURE   R10 = closure proto0
  0027  CALL      R2 = call(R2, 0 args, 8 rets)
  0028  JMP       (jump)   -> 33
  0029  GETTABUP  R1 = _ENV[K13('PassActivityViewHelper')]
  0030  GETTABLE  R1 = R1[K14('ContinueViewChain')]
  0031  GETTABLE  R2 = R0[K15('m_activityType')]
  0032  CALL      R1 = call(R1, 0 args, 1 rets)
  0033  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 177-179 np=0 va=0 ms=2 code=5 consts=3 upvals=2 protos=0
    ;   K[0]='PassActivityViewHelper'
    ;   K[1]='ContinueViewChain'
    ;   K[2]='m_activityType'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('PassActivityViewHelper')]
    0001  GETTABLE  R0 = R0[K1('ContinueViewChain')]
    0002  GETTABUP  R1 = self[K2('m_activityType')]
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  RETURN    return R0..R-1
; ---------- proto15 [Init] ----------
  ; fn ?  line 193-198 np=3 va=0 ms=7 code=15 consts=9 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_titleText'
  ;   K[3]='text'
  ;   K[4]='GM'
  ;   K[5]='GameTextModel'
  ;   K[6]='GetText'
  ;   K[7]='svip_unlocked'
  ;   K[8]='m_bMaxTicket'
  ;   upvals: _ENV
  ;   locals: self(0-15), activityType(0-15), bMaxTicket(0-15)
  0000  GETTABUP  R3 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  LOADBOOL  R6 = false
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABLE  R3 = R0[K2('m_titleText')]
  0007  GETTABUP  R4 = _ENV[K4('GM')]
  0008  GETTABLE  R4 = R4[K5('GameTextModel')]
  0009  SELF      R5 = R4[K6('GetText')] (self)
  0010  LOADK     R6 = K7 'svip_unlocked'
  0011  CALL      R4 = call(R4, 1 args, 2 rets)
  0012  SETTABLE  R3[K3('text')] = R4
  0013  SETTABLE  R0[K8('m_bMaxTicket')] = R2
  0014  RETURN    return R0..R-1
; ---------- proto16 [OnCloseBtnClick] ----------
  ; fn ?  line 200-209 np=1 va=0 ms=6 code=24 consts=10 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='OnCloseBtnClick'
  ;   K[2]='m_bMaxTicket'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='OpenView'
  ;   K[6]='m_activityDefinition'
  ;   K[7]='BuyMaxTicketSuccessWindowPrefabName'
  ;   K[8]='m_activityType'
  ;   K[9]='BuyUpTicketSuccessWindowPrefabName'
  ;   upvals: _ENV
  ;   locals: self(0-24)
  0000  GETTABUP  R1 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseBtnClick')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_bMaxTicket')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 16
  0007  GETTABUP  R1 = _ENV[K3('GM')]
  0008  GETTABLE  R1 = R1[K4('UIManager')]
  0009  SELF      R2 = R1[K5('OpenView')] (self)
  0010  GETTABLE  R3 = R0[K6('m_activityDefinition')]
  0011  GETTABLE  R3 = R3[K7('BuyMaxTicketSuccessWindowPrefabName')]
  0012  GETTABLE  R4 = R0[K8('m_activityType')]
  0013  GETTABLE  R5 = R0[K2('m_bMaxTicket')]
  0014  CALL      R1 = call(R1, 0 args, 4 rets)
  0015  JMP       (jump)   -> 23
  0016  GETTABUP  R1 = _ENV[K3('GM')]
  0017  GETTABLE  R1 = R1[K4('UIManager')]
  0018  SELF      R2 = R1[K5('OpenView')] (self)
  0019  GETTABLE  R3 = R0[K6('m_activityDefinition')]
  0020  GETTABLE  R3 = R3[K9('BuyUpTicketSuccessWindowPrefabName')]
  0021  GETTABLE  R4 = R0[K8('m_activityType')]
  0022  CALL      R1 = call(R1, 0 args, 3 rets)
  0023  RETURN    return R0..R-1
; ---------- proto17 [Init] ----------
  ; fn ?  line 218-250 np=3 va=0 ms=15 code=87 consts=29 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='CanTakeVIPExtraEnergyInView'
  ;   K[4]='GetVIPExtraEnergyRewards'
  ;   K[5]='OnTakenVIPExtraEnergyInView'
  ;   K[6]='Table'
  ;   K[7]='ListAppend'
  ;   K[8]='ipairs'
  ;   K[9]='IsExtra'
  ;   K[10]='TakeExtraReward'
  ;   K[11]='Index'
  ;   K[12]='Rewards'
  ;   K[13]='TakeReward'
  ;   K[14]='Level'
  ;   K[15]='IsVip'
  ;   K[16]=1
  ;   K[17]='RewardApi'
  ;   K[18]='GetMergedRewards'
  ;   K[19]='m_rewardContent'
  ;   K[20]='ERewardScene'
  ;   K[21]='Other'
  ;   K[22]=3
  ;   K[23]='UIUtil'
  ;   K[24]='SetSizeDelta'
  ;   K[25]='m_contentRect'
  ;   K[26]=1055
  ;   K[27]=6
  ;   K[28]=1345
  ;   upvals: _ENV
  ;   locals: self(0-87), activityType(0-87), canTakeRewards(0-87), rewards(7-87), (for generator)(30-57), (for state)(30-57), (for control)(30-57), _(31-55), canTakeReward(31-55), (for generator)(49-55), (for state)(49-55), (for control)(49-55), _(50-53), reward(50-53), arrMergedRewards(61-87)
  0000  GETTABUP  R3 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  LOADBOOL  R6 = false
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  NEWTABLE  R3 = {} (0 items)
  0007  GETTABLE  R4 = R0[K2('m_model')]
  0008  SELF      R5 = R4[K3('CanTakeVIPExtraEnergyInView')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  TEST      if not R4 then   -> -131060
  0011  JMP       (jump)   -> 27
  0012  GETTABLE  R4 = R0[K2('m_model')]
  0013  SELF      R5 = R4[K4('GetVIPExtraEnergyRewards')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  TEST      if not R4 then   -> -131055
  0016  JMP       (jump)   -> 27
  0017  GETTABLE  R4 = R0[K2('m_model')]
  0018  SELF      R5 = R4[K5('OnTakenVIPExtraEnergyInView')] (self)
  0019  CALL      R4 = call(R4, 0 args, 1 rets)
  0020  GETTABUP  R4 = _ENV[K6('Table')]
  0021  GETTABLE  R4 = R4[K7('ListAppend')]
  0022  MOVE      R5 = R0
  0023  GETTABLE  R6 = R0[K2('m_model')]
  0024  SELF      R7 = R6[K4('GetVIPExtraEnergyRewards')] (self)
  0025  CALL      R6 = call(R6, -1 args, 1 rets)
  0026  CALL      R4 = call(R4, 0 args, -1 rets)
  0027  GETTABUP  R4 = _ENV[K8('ipairs')]
  0028  MOVE      R5 = R0
  0029  CALL      R4 = call(R4, 3 args, 1 rets)
  0030  JMP       (jump)   -> 55
  0031  GETTABLE  R9 = R8[K9('IsExtra')]
  0032  TEST      if not R9 then   -> -131038
  0033  JMP       (jump)   -> 40
  0034  GETTABLE  R9 = R0[K2('m_model')]
  0035  SELF      R10 = R9[K10('TakeExtraReward')] (self)
  0036  GETTABLE  R11 = R8[K11('Index')]
  0037  GETTABLE  R12 = R8[K12('Rewards')]
  0038  CALL      R9 = call(R9, 0 args, 3 rets)
  0039  JMP       (jump)   -> 46
  0040  GETTABLE  R9 = R0[K2('m_model')]
  0041  SELF      R10 = R9[K13('TakeReward')] (self)
  0042  GETTABLE  R11 = R8[K14('Level')]
  0043  GETTABLE  R12 = R8[K15('IsVip')]
  0044  GETTABLE  R13 = R8[K12('Rewards')]
  0045  CALL      R9 = call(R9, 0 args, 4 rets)
  0046  GETTABUP  R9 = _ENV[K8('ipairs')]
  0047  GETTABLE  R10 = R8[K12('Rewards')]
  0048  CALL      R9 = call(R9, 3 args, 1 rets)
  0049  JMP       (jump)   -> 53
  0050  LEN       R14 = len R0
  0051  ADD       R14 = K16(1) add R14
  0052  SETTABLE  R3[R14] = R13
  0053  TFORCALL  tforcall R9
  0054  TFORLOOP  tforloop R11(sBx=-5)   -> 50
  0055  TFORCALL  tforcall R4
  0056  TFORLOOP  tforloop R6(sBx=-26)   -> 31
  0057  GETTABUP  R4 = _ENV[K17('RewardApi')]
  0058  GETTABLE  R4 = R4[K18('GetMergedRewards')]
  0059  MOVE      R5 = R0
  0060  CALL      R4 = call(R4, 1 args, 1 rets)
  0061  GETTABLE  R5 = R0[K19('m_rewardContent')]
  0062  SELF      R6 = R5[K1('Init')] (self)
  0063  MOVE      R7 = R0
  0064  GETTABUP  R8 = _ENV[K20('ERewardScene')]
  0065  GETTABLE  R8 = R8[K21('Other')]
  0066  CALL      R5 = call(R5, 0 args, 3 rets)
  0067  LEN       R5 = len R0
  0068  LE        if R0 le K22(3)   -> -128164
  0069  JMP       (jump)   -> 77
  0070  GETTABUP  R5 = _ENV[K23('UIUtil')]
  0071  GETTABLE  R5 = R5[K24('SetSizeDelta')]
  0072  GETTABLE  R6 = R0[K25('m_contentRect')]
  0073  LOADNIL   R7..R7 = nil
  0074  LOADK     R8 = K26 1055
  0075  CALL      R5 = call(R5, 0 args, 3 rets)
  0076  JMP       (jump)   -> 86
  0077  LEN       R5 = len R0
  0078  LE        if R0 le K27(6)   -> -128149
  0079  JMP       (jump)   -> 86
  0080  GETTABUP  R5 = _ENV[K23('UIUtil')]
  0081  GETTABLE  R5 = R5[K24('SetSizeDelta')]
  0082  GETTABLE  R6 = R0[K25('m_contentRect')]
  0083  LOADNIL   R7..R7 = nil
  0084  LOADK     R8 = K28 1345
  0085  CALL      R5 = call(R5, 0 args, 3 rets)
  0086  RETURN    return R0..R-1
; ---------- proto18 [Close] ----------
  ; fn ?  line 252-255 np=1 va=0 ms=3 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Close'
  ;   K[2]='m_rewardContent'
  ;   K[3]='PlayRewardAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('Close')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_rewardContent')]
  0005  SELF      R2 = R1[K3('PlayRewardAnimation')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto19 [Init] ----------
  ; fn ?  line 264-270 np=2 va=0 ms=6 code=12 consts=5 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_bExistToken'
  ;   K[3]='PreHideForAnim'
  ;   K[4]='PlayShowAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-12), activityType(0-12)
  0000  GETTABUP  R2 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  LOADBOOL  R5 = false
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  SELF      R3 = R0[K3('PreHideForAnim')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  SETTABLE  R0[K2('m_bExistToken')] = R2
  0009  SELF      R3 = R0[K4('PlayShowAnimation')] (self)
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto20 [PlayShowAnimation] ----------
  ; fn ?  line 272-313 np=1 va=0 ms=10 code=91 consts=34 upvals=1 protos=5
  ;   K[0]='m_canvasGroup'
  ;   K[1]='alpha'
  ;   K[2]=0
  ;   K[3]='m_hideAnimator'
  ;   K[4]='enabled'
  ;   K[5]=false
  ;   K[6]='m_glowEffectGo'
  ;   K[7]='SetActive'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='SetEventLock'
  ;   K[11]=1.5
  ;   K[12]='DOTween'
  ;   K[13]='Sequence'
  ;   K[14]='m_bgRect'
  ;   K[15]='AppendInterval'
  ;   K[16]=0.3
  ;   K[17]='AppendCallback'
  ;   K[18]='Append'
  ;   K[19]='DOFade'
  ;   K[20]=1
  ;   K[21]=0.1
  ;   K[22]='Join'
  ;   K[23]='DOAnchorPosY'
  ;   K[24]=75
  ;   K[25]=0.2
  ;   K[26]='DOScaleY'
  ;   K[27]=1.2
  ;   K[28]='DOScaleX'
  ;   K[29]=0.95
  ;   K[30]=0.15
  ;   K[31]=0.05
  ;   K[32]='m_bExistToken'
  ;   K[33]='m_enterSeq'
  ;   upvals: _ENV
  ;   locals: self(0-91), stayDuration(15-91), seq(18-91), rect(19-91)
  0000  GETTABLE  R1 = R0[K0('m_canvasGroup')]
  0001  SETTABLE  R1[K1('alpha')] = K2(0)
  0002  GETTABLE  R1 = R0[K3('m_hideAnimator')]
  0003  SETTABLE  R1[K4('enabled')] = K5(false)
  0004  GETTABLE  R1 = R0[K6('m_glowEffectGo')]
  0005  SELF      R2 = R1[K7('SetActive')] (self)
  0006  LOADBOOL  R3 = false
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABUP  R1 = _ENV[K8('GM')]
  0009  GETTABLE  R1 = R1[K9('UIManager')]
  0010  SELF      R2 = R1[K10('SetEventLock')] (self)
  0011  LOADBOOL  R3 = true
  0012  MOVE      R4 = R0
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  LOADK     R1 = K11 1.5
  0015  GETTABUP  R2 = _ENV[K12('DOTween')]
  0016  GETTABLE  R2 = R2[K13('Sequence')]
  0017  CALL      R2 = call(R2, 1 args, 0 rets)
  0018  GETTABLE  R3 = R0[K14('m_bgRect')]
  0019  SELF      R5 = R2[K15('AppendInterval')] (self)
  0020  LOADK     R6 = K16 0.3
  0021  CALL      R4 = call(R4, 0 args, 2 rets)
  0022  SELF      R5 = R2[K17('AppendCallback')] (self)
  0023  CLOSURE   R6 = closure proto0
  0024  CALL      R4 = call(R4, 0 args, 2 rets)
  0025  SELF      R5 = R2[K18('Append')] (self)
  0026  GETTABLE  R6 = R0[K0('m_canvasGroup')]
  0027  SELF      R7 = R6[K19('DOFade')] (self)
  0028  LOADK     R8 = K20 1
  0029  LOADK     R9 = K21 0.1
  0030  CALL      R6 = call(R6, -1 args, 3 rets)
  0031  CALL      R4 = call(R4, 0 args, -1 rets)
  0032  SELF      R5 = R2[K22('Join')] (self)
  0033  SELF      R7 = R3[K23('DOAnchorPosY')] (self)
  0034  LOADK     R8 = K24 75
  0035  LOADK     R9 = K25 0.2
  0036  CALL      R6 = call(R6, -1 args, 3 rets)
  0037  CALL      R4 = call(R4, 0 args, -1 rets)
  0038  SELF      R5 = R2[K22('Join')] (self)
  0039  SELF      R7 = R3[K26('DOScaleY')] (self)
  0040  LOADK     R8 = K27 1.2
  0041  LOADK     R9 = K25 0.2
  0042  CALL      R6 = call(R6, -1 args, 3 rets)
  0043  CALL      R4 = call(R4, 0 args, -1 rets)
  0044  SELF      R5 = R2[K22('Join')] (self)
  0045  SELF      R7 = R3[K28('DOScaleX')] (self)
  0046  LOADK     R8 = K29 0.95
  0047  LOADK     R9 = K25 0.2
  0048  CALL      R6 = call(R6, -1 args, 3 rets)
  0049  CALL      R4 = call(R4, 0 args, -1 rets)
  0050  SELF      R5 = R2[K18('Append')] (self)
  0051  SELF      R7 = R3[K23('DOAnchorPosY')] (self)
  0052  LOADK     R8 = K2 0
  0053  LOADK     R9 = K21 0.1
  0054  CALL      R6 = call(R6, -1 args, 3 rets)
  0055  CALL      R4 = call(R4, 0 args, -1 rets)
  0056  SELF      R5 = R2[K22('Join')] (self)
  0057  SELF      R7 = R3[K26('DOScaleY')] (self)
  0058  LOADK     R8 = K20 1
  0059  LOADK     R9 = K21 0.1
  0060  CALL      R6 = call(R6, -1 args, 3 rets)
  0061  CALL      R4 = call(R4, 0 args, -1 rets)
  0062  SELF      R5 = R2[K15('AppendInterval')] (self)
  0063  MOVE      R6 = R0
  0064  CALL      R4 = call(R4, 0 args, 2 rets)
  0065  SELF      R5 = R2[K17('AppendCallback')] (self)
  0066  CLOSURE   R6 = closure proto1
  0067  CALL      R4 = call(R4, 0 args, 2 rets)
  0068  SELF      R5 = R2[K15('AppendInterval')] (self)
  0069  LOADK     R6 = K30 0.15
  0070  CALL      R4 = call(R4, 0 args, 2 rets)
  0071  SELF      R5 = R2[K17('AppendCallback')] (self)
  0072  CLOSURE   R6 = closure proto2
  0073  CALL      R4 = call(R4, 0 args, 2 rets)
  0074  SELF      R5 = R2[K15('AppendInterval')] (self)
  0075  LOADK     R6 = K31 0.05
  0076  CALL      R4 = call(R4, 0 args, 2 rets)
  0077  SELF      R5 = R2[K17('AppendCallback')] (self)
  0078  CLOSURE   R6 = closure proto3
  0079  CALL      R4 = call(R4, 0 args, 2 rets)
  0080  GETTABLE  R4 = R0[K32('m_bExistToken')]
  0081  TEST      if not R4 then   -> -130989
  0082  JMP       (jump)   -> 86
  0083  SELF      R5 = R2[K15('AppendInterval')] (self)
  0084  LOADK     R6 = K11 1.5
  0085  CALL      R4 = call(R4, 0 args, 2 rets)
  0086  SELF      R5 = R2[K17('AppendCallback')] (self)
  0087  CLOSURE   R6 = closure proto4
  0088  CALL      R4 = call(R4, 0 args, 2 rets)
  0089  SETTABLE  R0[K33('m_enterSeq')] = R2
  0090  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 283-285 np=0 va=0 ms=2 code=5 consts=2 upvals=1 protos=0
    ;   K[0]='TutorialHelper'
    ;   K[1]='ScrollToMainOrderRoot'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('TutorialHelper')]
    0001  GETTABLE  R0 = R0[K1('ScrollToMainOrderRoot')]
    0002  LOADBOOL  R1 = true
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 293-295 np=0 va=0 ms=2 code=3 consts=3 upvals=1 protos=0
    ;   K[0]='m_hideAnimator'
    ;   K[1]='enabled'
    ;   K[2]=true
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_hideAnimator')]
    0001  SETTABLE  R0[K1('enabled')] = K2(true)
    0002  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 297-299 np=0 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
    ;   K[0]='m_glowEffectGo'
    ;   K[1]='SetActive'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_glowEffectGo')]
    0001  SELF      R1 = R0[K1('SetActive')] (self)
    0002  LOADBOOL  R2 = true
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 301-303 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='FlyEffectToOrderTokenCell'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('FlyEffectToOrderTokenCell')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
  ; ---------- proto4 [m_enterSeq] ----------
    ; fn ?  line 307-311 np=0 va=0 ms=4 code=11 consts=6 upvals=2 protos=0
    ;   K[0]='m_enterSeq'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='Close'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_enterSeq')] = 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('Close')] (self)
    0009  CALL      R0 = call(R0, 0 args, 1 rets)
    0010  RETURN    return R0..R-1
; ---------- proto21 [PreHideForAnim] ----------
  ; fn ?  line 315-330 np=1 va=0 ms=14 code=34 consts=13 upvals=1 protos=0
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetOrderArea'
  ;   K[3]='GM'
  ;   K[4]='ModeViewController'
  ;   K[5]='GetBoardInfo'
  ;   K[6]='GetCells'
  ;   K[7]='pairs'
  ;   K[8]='GetSpecialRewardCell'
  ;   K[9]='EPropertyType'
  ;   K[10]='BPFaceToken'
  ;   K[11]=nil
  ;   K[12]='HideForAnim'
  ;   upvals: _ENV
  ;   locals: self(0-34), boardView(3-34), orderArea(7-34), cam(11-34), mapCells(16-34), bExist(17-34), (for generator)(20-32), (for state)(20-32), (for control)(20-32), _(21-30), cell(21-30), tbToken(25-30)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  GETTABLE  R1 = R1[K1('GetInstance')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TESTSET   if R0 then R2   -> -130555
  0004  JMP       (jump)   -> 7
  0005  SELF      R3 = R1[K2('GetOrderArea')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABUP  R3 = _ENV[K3('GM')]
  0008  GETTABLE  R3 = R3[K4('ModeViewController')]
  0009  SELF      R4 = R3[K5('GetBoardInfo')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  SELF      R5 = R2[K6('GetCells')] (self)
  0012  CALL      R4 = call(R4, 1 args, 1 rets)
  0013  TEST      if not R4 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  NEWTABLE  R4 = {} (0 items)
  0016  LOADBOOL  R5 = false
  0017  GETTABUP  R6 = _ENV[K7('pairs')]
  0018  MOVE      R7 = R0
  0019  CALL      R6 = call(R6, 3 args, 1 rets)
  0020  JMP       (jump)   -> 30
  0021  SELF      R12 = R10[K8('GetSpecialRewardCell')] (self)
  0022  GETTABUP  R13 = _ENV[K9('EPropertyType')]
  0023  GETTABLE  R13 = R13[K10('BPFaceToken')]
  0024  CALL      R11 = call(R11, 1 args, 2 rets)
  0025  EQ        if R1 eq K11(nil)   -> -125146
  0026  JMP       (jump)   -> 30
  0027  SELF      R13 = R11[K12('HideForAnim')] (self)
  0028  CALL      R12 = call(R12, 0 args, 1 rets)
  0029  LOADBOOL  R5 = true
  0030  TFORCALL  tforcall R6
  0031  TFORLOOP  tforloop R8(sBx=-11)   -> 21
  0032  RETURN    return R5..R4
  0033  RETURN    return R0..R-1
; ---------- proto22 [FlyEffectToOrderTokenCell] ----------
  ; fn ?  line 332-354 np=1 va=0 ms=18 code=63 consts=29 upvals=1 protos=1
  ;   K[0]=0.5
  ;   K[1]='MainBoardView'
  ;   K[2]='GetInstance'
  ;   K[3]='GetOrderArea'
  ;   K[4]='GM'
  ;   K[5]='ModeViewController'
  ;   K[6]='GetBoardInfo'
  ;   K[7]='GetCells'
  ;   K[8]='pairs'
  ;   K[9]='GetSpecialRewardCell'
  ;   K[10]='EPropertyType'
  ;   K[11]='BPFaceToken'
  ;   K[12]=nil
  ;   K[13]='GameObject'
  ;   K[14]='Instantiate'
  ;   K[15]='m_twEffectGo'
  ;   K[16]='transform'
  ;   K[17]='parent'
  ;   K[18]='UIUtil'
  ;   K[19]='SetActive'
  ;   K[20]='WorldToScreenPoint'
  ;   K[21]='GetFlyTargetPos'
  ;   K[22]='DOMove'
  ;   K[23]='PositionUtil'
  ;   K[24]='UICameraScreen2World'
  ;   K[25]='SetEase'
  ;   K[26]='Ease'
  ;   K[27]='OutQuad'
  ;   K[28]='OnComplete'
  ;   upvals: _ENV
  ;   locals: self(0-63), flyTime(1-63), boardView(4-63), orderArea(8-63), cam(12-63), mapCells(17-63), (for generator)(20-62), (for state)(20-62), (for control)(20-62), _(21-60), cell(21-60), tbToken(25-60), flyItemGo(34-59), screenPos(43-59)
  0000  LOADK     R1 = K0 0.5
  0001  GETTABUP  R2 = _ENV[K1('MainBoardView')]
  0002  GETTABLE  R2 = R2[K2('GetInstance')]
  0003  CALL      R2 = call(R2, 1 args, 0 rets)
  0004  TESTSET   if R0 then R3   -> -130042
  0005  JMP       (jump)   -> 8
  0006  SELF      R4 = R2[K3('GetOrderArea')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  GETTABUP  R4 = _ENV[K4('GM')]
  0009  GETTABLE  R4 = R4[K5('ModeViewController')]
  0010  SELF      R5 = R4[K6('GetBoardInfo')] (self)
  0011  CALL      R4 = call(R4, 1 args, 1 rets)
  0012  SELF      R6 = R3[K7('GetCells')] (self)
  0013  CALL      R5 = call(R5, 1 args, 1 rets)
  0014  TEST      if not R5 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  NEWTABLE  R5 = {} (0 items)
  0017  GETTABUP  R6 = _ENV[K8('pairs')]
  0018  MOVE      R7 = R0
  0019  CALL      R6 = call(R6, 3 args, 1 rets)
  0020  JMP       (jump)   -> 60
  0021  SELF      R12 = R10[K9('GetSpecialRewardCell')] (self)
  0022  GETTABUP  R13 = _ENV[K10('EPropertyType')]
  0023  GETTABLE  R13 = R13[K11('BPFaceToken')]
  0024  CALL      R11 = call(R11, 1 args, 2 rets)
  0025  EQ        if R1 eq K12(nil)   -> -125145
  0026  JMP       (jump)   -> 60
  0027  GETTABUP  R12 = _ENV[K13('GameObject')]
  0028  GETTABLE  R12 = R12[K14('Instantiate')]
  0029  GETTABLE  R13 = R0[K15('m_twEffectGo')]
  0030  GETTABLE  R14 = R0[K15('m_twEffectGo')]
  0031  GETTABLE  R14 = R14[K16('transform')]
  0032  GETTABLE  R14 = R14[K17('parent')]
  0033  CALL      R12 = call(R12, 1 args, 2 rets)
  0034  GETTABUP  R13 = _ENV[K18('UIUtil')]
  0035  GETTABLE  R13 = R13[K19('SetActive')]
  0036  MOVE      R14 = R0
  0037  LOADBOOL  R15 = true
  0038  CALL      R13 = call(R13, 0 args, 2 rets)
  0039  SELF      R14 = R4[K20('WorldToScreenPoint')] (self)
  0040  SELF      R16 = R11[K21('GetFlyTargetPos')] (self)
  0041  CALL      R15 = call(R15, -1 args, 1 rets)
  0042  CALL      R13 = call(R13, 1 args, -1 rets)
  0043  GETTABLE  R14 = R12[K16('transform')]
  0044  SELF      R15 = R14[K22('DOMove')] (self)
  0045  GETTABUP  R16 = _ENV[K23('PositionUtil')]
  0046  GETTABLE  R16 = R16[K24('UICameraScreen2World')]
  0047  MOVE      R17 = R0
  0048  CALL      R16 = call(R16, 1 args, 1 rets)
  0049  MOVE      R17 = R0
  0050  CALL      R14 = call(R14, 1 args, 3 rets)
  0051  SELF      R15 = R14[K25('SetEase')] (self)
  0052  GETTABUP  R16 = _ENV[K26('Ease')]
  0053  GETTABLE  R16 = R16[K27('OutQuad')]
  0054  CALL      R14 = call(R14, 1 args, 2 rets)
  0055  SELF      R15 = R14[K28('OnComplete')] (self)
  0056  CLOSURE   R16 = closure proto0
  0057  CALL      R14 = call(R14, 0 args, 2 rets)
  0058  JMP       (jump)   -> 60
  0059  JMP       (jump)   -> 60
  0060  TFORCALL  tforcall R6
  0061  TFORLOOP  tforloop R8(sBx=-41)   -> 21
  0062  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 346-351 np=0 va=0 ms=2 code=14 consts=5 upvals=3 protos=0
    ;   K[0]='GameObject'
    ;   K[1]='Destroy'
    ;   K[2]='UIUtil'
    ;   K[3]='IsEmptyComponent'
    ;   K[4]='PlayHitAnim'
    ;   upvals: _ENV, flyItemGo, tbToken
    0000  GETTABUP  R0 = _ENV[K0('GameObject')]
    0001  GETTABLE  R0 = R0[K1('Destroy')]
    0002  GETUPVAL  R1 = _ENV
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  GETTABUP  R0 = _ENV[K2('UIUtil')]
    0005  GETTABLE  R0 = R0[K3('IsEmptyComponent')]
    0006  GETUPVAL  R1 = _ENV
    0007  CALL      R0 = call(R0, 1 args, 1 rets)
    0008  TEST      if not R0 then   -> -131061
    0009  JMP       (jump)   -> 13
    0010  GETUPVAL  R0 = _ENV
    0011  SELF      R1 = R0[K4('PlayHitAnim')] (self)
    0012  CALL      R0 = call(R0, 0 args, 1 rets)
    0013  RETURN    return R0..R-1
; ---------- proto23 [OnDestroy] ----------
  ; fn ?  line 356-365 np=1 va=0 ms=4 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='PassActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='RemoveAllEventLocks'
  ;   K[5]='m_enterSeq'
  ;   K[6]=nil
  ;   K[7]='Kill'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('PassActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('UIManager')]
  0006  SELF      R2 = R1[K4('RemoveAllEventLocks')] (self)
  0007  MOVE      R3 = R0
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABLE  R1 = R0[K5('m_enterSeq')]
  0010  EQ        if R1 eq K6(nil)   -> -130286
  0011  JMP       (jump)   -> 16
  0012  GETTABLE  R1 = R0[K5('m_enterSeq')]
  0013  SELF      R2 = R1[K7('Kill')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  SETTABLE  R0[K5('m_enterSeq')] = K6(nil)
  0016  RETURN    return R0..R-1
