# ProgressActivity_View_ProgressActivityMainWindow_973.luac
; fn @ProgressActivityMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=52 consts=20 upvals=1 protos=14
;   K[0]='ProgressActivityMainWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='ProgressActivityBaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='_TryInitSubModules'
;   K[8]='_UpdateRewards'
;   K[9]='OnDestroy'
;   K[10]='OnStateChangedEvent'
;   K[11]='TryPlayProgressAnimation'
;   K[12]='_PlayProgressAnimation'
;   K[13]='UpdateContent'
;   K[14]='UpdatePerSecond'
;   K[15]='GetSliderTrans'
;   K[16]='GetSliderBgTrans'
;   K[17]='GetFinalPrizeTrans'
;   K[18]='OnGoClicked'
;   K[19]='OnClickHelp'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('ProgressActivityBaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('ProgressActivityMainWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0007  GETTABUP  R1 = _ENV[K0('ProgressActivityMainWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('_TryInitSubModules')] = R1
0015  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('_UpdateRewards')] = R1
0018  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('OnDestroy')] = R1
0021  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('OnStateChangedEvent')] = R1
0024  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('TryPlayProgressAnimation')] = R1
0027  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K12('_PlayProgressAnimation')] = R1
0030  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K13('UpdateContent')] = R1
0033  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0034  CLOSURE   R1 = closure proto8
0035  SETTABLE  R0[K14('UpdatePerSecond')] = R1
0036  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0037  CLOSURE   R1 = closure proto9
0038  SETTABLE  R0[K15('GetSliderTrans')] = R1
0039  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0040  CLOSURE   R1 = closure proto10
0041  SETTABLE  R0[K16('GetSliderBgTrans')] = R1
0042  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0043  CLOSURE   R1 = closure proto11
0044  SETTABLE  R0[K17('GetFinalPrizeTrans')] = R1
0045  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0046  CLOSURE   R1 = closure proto12
0047  SETTABLE  R0[K18('OnGoClicked')] = R1
0048  GETTABUP  R0 = _ENV[K0('ProgressActivityMainWindow')]
0049  CLOSURE   R1 = closure proto13
0050  SETTABLE  R0[K19('OnClickHelp')] = R1
0051  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 18-44 np=3 va=0 ms=13 code=74 consts=33 upvals=1 protos=0
  ;   K[0]='ProgressActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_SliderLua'
  ;   K[3]='m_model'
  ;   K[4]='m_nextStateTime'
  ;   K[5]='GetNextStateTime'
  ;   K[6]='UpdatePerSecond'
  ;   K[7]='UpdateContent'
  ;   K[8]='SetWindowOpened'
  ;   K[9]='ActivityState'
  ;   K[10]='Started'
  ;   K[11]='m_descText'
  ;   K[12]='IsNull'
  ;   K[13]='m_definition'
  ;   K[14]='WindowDescKey'
  ;   K[15]='ActivityTokenIconName'
  ;   K[16]='GetTotalRequire'
  ;   K[17]='text'
  ;   K[18]='GM'
  ;   K[19]='GameTextModel'
  ;   K[20]='GetText'
  ;   K[21]='_UpdateRewards'
  ;   K[22]='_TryInitSubModules'
  ;   K[23]='TryPlayProgressAnimation'
  ;   K[24]='GetType'
  ;   K[25]='ActivityType'
  ;   K[26]='ProgressActivity1'
  ;   K[27]='AudioModel'
  ;   K[28]='PlayEffectLoop'
  ;   K[29]='AudioFileConfigName'
  ;   K[30]='SfxProgressActivityCat'
  ;   K[31]='RewardApi'
  ;   K[32]='AddFilterRewardEventListener'
  ;   upvals: _ENV
  ;   locals: self(0-74), eActivityType(0-74), bAutoPop(0-74), descText(33-48), iconKey(35-48), totalTokenNum(38-48)
  0000  GETTABUP  R3 = _ENV[K0('ProgressActivityBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABLE  R3 = R0[K2('m_SliderLua')]
  0007  SELF      R4 = R3[K1('Init')] (self)
  0008  GETTABLE  R5 = R0[K3('m_model')]
  0009  CALL      R3 = call(R3, 0 args, 2 rets)
  0010  GETTABLE  R3 = R0[K3('m_model')]
  0011  SELF      R4 = R3[K5('GetNextStateTime')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  SETTABLE  R0[K4('m_nextStateTime')] = R3
  0014  SELF      R4 = R0[K6('UpdatePerSecond')] (self)
  0015  CALL      R3 = call(R3, 0 args, 1 rets)
  0016  SELF      R4 = R0[K7('UpdateContent')] (self)
  0017  CALL      R3 = call(R3, 0 args, 1 rets)
  0018  GETTABLE  R3 = R0[K3('m_model')]
  0019  SELF      R4 = R3[K8('SetWindowOpened')] (self)
  0020  GETTABUP  R5 = _ENV[K9('ActivityState')]
  0021  GETTABLE  R5 = R5[K10('Started')]
  0022  CALL      R3 = call(R3, 0 args, 2 rets)
  0023  GETTABLE  R3 = R0[K11('m_descText')]
  0024  TEST      if not R3 then   -> -131046
  0025  JMP       (jump)   -> 48
  0026  GETTABLE  R3 = R0[K11('m_descText')]
  0027  SELF      R4 = R3[K12('IsNull')] (self)
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  TEST      if not R3 then   -> -131040
  0030  JMP       (jump)   -> 48
  0031  GETTABLE  R3 = R0[K13('m_definition')]
  0032  GETTABLE  R3 = R3[K14('WindowDescKey')]
  0033  GETTABLE  R4 = R0[K13('m_definition')]
  0034  GETTABLE  R4 = R4[K15('ActivityTokenIconName')]
  0035  GETTABLE  R5 = R0[K3('m_model')]
  0036  SELF      R6 = R5[K16('GetTotalRequire')] (self)
  0037  CALL      R5 = call(R5, 1 args, 1 rets)
  0038  GETTABLE  R6 = R0[K11('m_descText')]
  0039  GETTABUP  R7 = _ENV[K18('GM')]
  0040  GETTABLE  R7 = R7[K19('GameTextModel')]
  0041  SELF      R8 = R7[K20('GetText')] (self)
  0042  MOVE      R9 = R0
  0043  MOVE      R10 = R0
  0044  MOVE      R11 = R0
  0045  MOVE      R12 = R0
  0046  CALL      R7 = call(R7, 1 args, 5 rets)
  0047  SETTABLE  R6[K17('text')] = R7
  0048  SELF      R4 = R0[K21('_UpdateRewards')] (self)
  0049  CALL      R3 = call(R3, 0 args, 1 rets)
  0050  SELF      R4 = R0[K22('_TryInitSubModules')] (self)
  0051  CALL      R3 = call(R3, 0 args, 1 rets)
  0052  SELF      R4 = R0[K23('TryPlayProgressAnimation')] (self)
  0053  CALL      R3 = call(R3, 0 args, 1 rets)
  0054  GETTABLE  R3 = R0[K3('m_model')]
  0055  SELF      R4 = R3[K24('GetType')] (self)
  0056  CALL      R3 = call(R3, 1 args, 1 rets)
  0057  GETTABUP  R4 = _ENV[K25('ActivityType')]
  0058  GETTABLE  R4 = R4[K26('ProgressActivity1')]
  0059  EQ        if R0 eq R4   -> -129471
  0060  JMP       (jump)   -> 68
  0061  GETTABUP  R3 = _ENV[K18('GM')]
  0062  GETTABLE  R3 = R3[K27('AudioModel')]
  0063  SELF      R4 = R3[K28('PlayEffectLoop')] (self)
  0064  GETTABUP  R5 = _ENV[K29('AudioFileConfigName')]
  0065  GETTABLE  R5 = R5[K30('SfxProgressActivityCat')]
  0066  MOVE      R6 = R0
  0067  CALL      R3 = call(R3, 0 args, 3 rets)
  0068  GETTABUP  R3 = _ENV[K31('RewardApi')]
  0069  GETTABLE  R3 = R3[K32('AddFilterRewardEventListener')]
  0070  MOVE      R4 = R0
  0071  GETTABLE  R5 = R0[K21('_UpdateRewards')]
  0072  CALL      R3 = call(R3, 0 args, 2 rets)
  0073  RETURN    return R0..R-1
; ---------- proto1 [_TryInitSubModules] ----------
  ; fn ?  line 46-63 np=1 va=0 ms=4 code=52 consts=13 upvals=0 protos=0
  ;   K[0]='m_tip'
  ;   K[1]='gameObject'
  ;   K[2]='IsNull'
  ;   K[3]='Hide'
  ;   K[4]='m_model'
  ;   K[5]='IsFirstTime'
  ;   K[6]='SetFirstTimeDone'
  ;   K[7]='m_tipBtn'
  ;   K[8]='Select'
  ;   K[9]='OnClickHelp'
  ;   K[10]=nil
  ;   K[11]='m_swimmingScrollView'
  ;   K[12]='Init'
  ;   locals: self(0-52)
  0000  GETTABLE  R1 = R0[K0('m_tip')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 31
  0003  GETTABLE  R1 = R0[K0('m_tip')]
  0004  GETTABLE  R1 = R1[K1('gameObject')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 31
  0007  GETTABLE  R1 = R0[K0('m_tip')]
  0008  GETTABLE  R1 = R1[K1('gameObject')]
  0009  SELF      R2 = R1[K2('IsNull')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131058
  0012  JMP       (jump)   -> 31
  0013  GETTABLE  R1 = R0[K0('m_tip')]
  0014  SELF      R2 = R1[K3('Hide')] (self)
  0015  LOADBOOL  R3 = true
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  GETTABLE  R1 = R0[K4('m_model')]
  0018  SELF      R2 = R1[K5('IsFirstTime')] (self)
  0019  CALL      R1 = call(R1, 1 args, 1 rets)
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 32
  0022  GETTABLE  R1 = R0[K4('m_model')]
  0023  SELF      R2 = R1[K6('SetFirstTimeDone')] (self)
  0024  CALL      R1 = call(R1, 0 args, 1 rets)
  0025  GETTABLE  R1 = R0[K7('m_tipBtn')]
  0026  SELF      R2 = R1[K8('Select')] (self)
  0027  CALL      R1 = call(R1, 0 args, 1 rets)
  0028  SELF      R2 = R0[K9('OnClickHelp')] (self)
  0029  CALL      R1 = call(R1, 0 args, 1 rets)
  0030  JMP       (jump)   -> 32
  0031  SETTABLE  R0[K0('m_tip')] = K10(nil)
  0032  GETTABLE  R1 = R0[K11('m_swimmingScrollView')]
  0033  TEST      if not R1 then   -> -131037
  0034  JMP       (jump)   -> 50
  0035  GETTABLE  R1 = R0[K11('m_swimmingScrollView')]
  0036  GETTABLE  R1 = R1[K1('gameObject')]
  0037  TEST      if not R1 then   -> -131033
  0038  JMP       (jump)   -> 50
  0039  GETTABLE  R1 = R0[K11('m_swimmingScrollView')]
  0040  GETTABLE  R1 = R1[K1('gameObject')]
  0041  SELF      R2 = R1[K2('IsNull')] (self)
  0042  CALL      R1 = call(R1, 1 args, 1 rets)
  0043  TEST      if not R1 then   -> -131026
  0044  JMP       (jump)   -> 50
  0045  GETTABLE  R1 = R0[K11('m_swimmingScrollView')]
  0046  SELF      R2 = R1[K12('Init')] (self)
  0047  GETTABLE  R3 = R0[K4('m_model')]
  0048  CALL      R1 = call(R1, 0 args, 2 rets)
  0049  JMP       (jump)   -> 51
  0050  SETTABLE  R0[K11('m_swimmingScrollView')] = K10(nil)
  0051  RETURN    return R0..R-1
; ---------- proto2 [_UpdateRewards] ----------
  ; fn ?  line 65-75 np=1 va=0 ms=7 code=39 consts=15 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetLevelCount'
  ;   K[2]='GetLevelReward'
  ;   K[3]='RewardApi'
  ;   K[4]='FilterRewards'
  ;   K[5]='ERewardScene'
  ;   K[6]='Other'
  ;   K[7]='Table'
  ;   K[8]='IsEmpty'
  ;   K[9]='UIUtil'
  ;   K[10]='SetActive'
  ;   K[11]='m_finalPrizeItem'
  ;   K[12]='gameObject'
  ;   K[13]='Init'
  ;   K[14]=1
  ;   upvals: _ENV
  ;   locals: self(0-39), maxLevel(3-39), finalReward(7-39), arrRewards(15-39)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetLevelCount')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K0('m_model')]
  0004  SELF      R3 = R2[K2('GetLevelReward')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 1 args, 2 rets)
  0007  GETTABUP  R3 = _ENV[K3('RewardApi')]
  0008  GETTABLE  R3 = R3[K4('FilterRewards')]
  0009  NEWTABLE  R4 = {} (1 items)
  0010  MOVE      R5 = R0
  0011  SETLIST   setlist R4[B=1,C=1]
  0012  GETTABUP  R5 = _ENV[K5('ERewardScene')]
  0013  GETTABLE  R5 = R5[K6('Other')]
  0014  CALL      R3 = call(R3, 1 args, 2 rets)
  0015  GETTABUP  R4 = _ENV[K7('Table')]
  0016  GETTABLE  R4 = R4[K8('IsEmpty')]
  0017  MOVE      R5 = R0
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  TEST      if not R4 then   -> -131050
  0020  JMP       (jump)   -> 32
  0021  GETTABUP  R4 = _ENV[K9('UIUtil')]
  0022  GETTABLE  R4 = R4[K10('SetActive')]
  0023  GETTABLE  R5 = R0[K11('m_finalPrizeItem')]
  0024  GETTABLE  R5 = R5[K12('gameObject')]
  0025  LOADBOOL  R6 = true
  0026  CALL      R4 = call(R4, 0 args, 2 rets)
  0027  GETTABLE  R4 = R0[K11('m_finalPrizeItem')]
  0028  SELF      R5 = R4[K13('Init')] (self)
  0029  GETTABLE  R6 = R3[K14(1)]
  0030  CALL      R4 = call(R4, 0 args, 2 rets)
  0031  JMP       (jump)   -> 38
  0032  GETTABUP  R4 = _ENV[K9('UIUtil')]
  0033  GETTABLE  R4 = R4[K10('SetActive')]
  0034  GETTABLE  R5 = R0[K11('m_finalPrizeItem')]
  0035  GETTABLE  R5 = R5[K12('gameObject')]
  0036  LOADBOOL  R6 = false
  0037  CALL      R4 = call(R4, 0 args, 2 rets)
  0038  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 77-82 np=1 va=0 ms=4 code=19 consts=9 upvals=1 protos=0
  ;   K[0]='ProgressActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='RemoveAllEventLocks'
  ;   K[7]='AudioModel'
  ;   K[8]='StopEffectLoop'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABUP  R1 = _ENV[K0('ProgressActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABUP  R1 = _ENV[K4('GM')]
  0009  GETTABLE  R1 = R1[K5('UIManager')]
  0010  SELF      R2 = R1[K6('RemoveAllEventLocks')] (self)
  0011  MOVE      R3 = R0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  GETTABUP  R1 = _ENV[K4('GM')]
  0014  GETTABLE  R1 = R1[K7('AudioModel')]
  0015  SELF      R2 = R1[K8('StopEffectLoop')] (self)
  0016  MOVE      R3 = R0
  0017  CALL      R1 = call(R1, 0 args, 2 rets)
  0018  RETURN    return R0..R-1
; ---------- proto4 [OnStateChangedEvent] ----------
  ; fn ?  line 84-93 np=1 va=0 ms=3 code=8 consts=4 upvals=0 protos=0
  ;   K[0]='m_bStateChanged'
  ;   K[1]=true
  ;   K[2]='m_bPlayingAnimation'
  ;   K[3]='Close'
  ;   locals: self(0-8)
  0000  SETTABLE  R0[K0('m_bStateChanged')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_bPlayingAnimation')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K3('Close')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto5 [TryPlayProgressAnimation] ----------
  ; fn ?  line 95-120 np=1 va=0 ms=13 code=55 consts=15 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Released'
  ;   K[4]='Close'
  ;   K[5]='CanAcquireReward'
  ;   K[6]='AcquireReward'
  ;   K[7]='GetLastDisplayLevel'
  ;   K[8]='GetLastDisplayScore'
  ;   K[9]='GetLevel'
  ;   K[10]='GetActivityTokenNumber'
  ;   K[11]='GetLevelConfigs'
  ;   K[12]='_PlayProgressAnimation'
  ;   K[13]='SetLastDisplayLevel'
  ;   K[14]='SetLastDisplayScore'
  ;   upvals: _ENV
  ;   locals: self(0-55), lastLevel(21-55), lastScore(24-55), nowLevel(27-55), nowScore(30-55), maxLevel(39-55)
  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('Released')]
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 10
  0007  SELF      R2 = R0[K4('Close')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R1 = R0[K0('m_model')]
  0011  SELF      R2 = R1[K5('CanAcquireReward')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 18
  0015  GETTABLE  R1 = R0[K0('m_model')]
  0016  SELF      R2 = R1[K6('AcquireReward')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  GETTABLE  R1 = R0[K0('m_model')]
  0019  SELF      R2 = R1[K7('GetLastDisplayLevel')] (self)
  0020  CALL      R1 = call(R1, 1 args, 1 rets)
  0021  GETTABLE  R2 = R0[K0('m_model')]
  0022  SELF      R3 = R2[K8('GetLastDisplayScore')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  GETTABLE  R3 = R0[K0('m_model')]
  0025  SELF      R4 = R3[K9('GetLevel')] (self)
  0026  CALL      R3 = call(R3, 1 args, 1 rets)
  0027  GETTABLE  R4 = R0[K0('m_model')]
  0028  SELF      R5 = R4[K10('GetActivityTokenNumber')] (self)
  0029  CALL      R4 = call(R4, 1 args, 1 rets)
  0030  EQ        if R0 eq R3   -> -130525
  0031  JMP       (jump)   -> 35
  0032  EQ        if R0 eq R4   -> -130010
  0033  JMP       (jump)   -> 35
  0034  RETURN    return R0..R-1
  0035  GETTABLE  R5 = R0[K0('m_model')]
  0036  SELF      R6 = R5[K11('GetLevelConfigs')] (self)
  0037  CALL      R5 = call(R5, 1 args, 1 rets)
  0038  LEN       R5 = len R0
  0039  SELF      R7 = R0[K12('_PlayProgressAnimation')] (self)
  0040  MOVE      R8 = R0
  0041  MOVE      R9 = R0
  0042  MOVE      R10 = R0
  0043  MOVE      R11 = R0
  0044  MOVE      R12 = R0
  0045  CALL      R6 = call(R6, 0 args, 6 rets)
  0046  GETTABLE  R6 = R0[K0('m_model')]
  0047  SELF      R7 = R6[K13('SetLastDisplayLevel')] (self)
  0048  MOVE      R8 = R0
  0049  CALL      R6 = call(R6, 0 args, 2 rets)
  0050  GETTABLE  R6 = R0[K0('m_model')]
  0051  SELF      R7 = R6[K14('SetLastDisplayScore')] (self)
  0052  MOVE      R8 = R0
  0053  CALL      R6 = call(R6, 0 args, 2 rets)
  0054  RETURN    return R0..R-1
; ---------- proto6 [_PlayProgressAnimation] ----------
  ; fn ?  line 122-173 np=6 va=0 ms=11 code=46 consts=14 upvals=1 protos=2
  ;   K[0]='m_bClosed'
  ;   K[1]='m_SliderLua'
  ;   K[2]='UpdateContent'
  ;   K[3]='m_swimmingScrollView'
  ;   K[4]='ScrollToLevel'
  ;   K[5]='UpdateState'
  ;   K[6]='PlayProgressAnimation'
  ;   K[7]='GM'
  ;   K[8]='UIManager'
  ;   K[9]='SetEventLock'
  ;   K[10]='m_bPlayingAnimation'
  ;   K[11]=true
  ;   K[12]='m_model'
  ;   K[13]='GetLevelRequire'
  ;   upvals: _ENV
  ;   locals: self(0-46), lastLevel(0-46), lastScore(0-46), nowLevel(0-46), nowScore(0-46), maxLevel(0-46), nEndScore(40-45)
  0000  GETTABLE  R6 = R0[K0('m_bClosed')]
  0001  TEST      if not R6 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R6 = R0[K1('m_SliderLua')]
  0005  SELF      R7 = R6[K2('UpdateContent')] (self)
  0006  MOVE      R8 = R0
  0007  MOVE      R9 = R0
  0008  CALL      R6 = call(R6, 0 args, 3 rets)
  0009  GETTABLE  R6 = R0[K3('m_swimmingScrollView')]
  0010  TEST      if not R6 then   -> -131060
  0011  JMP       (jump)   -> 21
  0012  GETTABLE  R6 = R0[K3('m_swimmingScrollView')]
  0013  SELF      R7 = R6[K4('ScrollToLevel')] (self)
  0014  MOVE      R8 = R0
  0015  LOADBOOL  R9 = true
  0016  CALL      R6 = call(R6, 0 args, 3 rets)
  0017  GETTABLE  R6 = R0[K3('m_swimmingScrollView')]
  0018  SELF      R7 = R6[K5('UpdateState')] (self)
  0019  MOVE      R8 = R0
  0020  CALL      R6 = call(R6, 0 args, 2 rets)
  0021  EQ        if R0 eq R3   -> -130534
  0022  JMP       (jump)   -> 29
  0023  GETTABLE  R6 = R0[K1('m_SliderLua')]
  0024  SELF      R7 = R6[K6('PlayProgressAnimation')] (self)
  0025  MOVE      R8 = R0
  0026  CLOSURE   R9 = closure proto0
  0027  CALL      R6 = call(R6, 0 args, 3 rets)
  0028  JMP       (jump)   -> 45
  0029  GETTABUP  R6 = _ENV[K7('GM')]
  0030  GETTABLE  R6 = R6[K8('UIManager')]
  0031  SELF      R7 = R6[K9('SetEventLock')] (self)
  0032  LOADBOOL  R8 = true
  0033  MOVE      R9 = R0
  0034  CALL      R6 = call(R6, 0 args, 3 rets)
  0035  SETTABLE  R0[K10('m_bPlayingAnimation')] = K11(true)
  0036  GETTABLE  R6 = R0[K12('m_model')]
  0037  SELF      R7 = R6[K13('GetLevelRequire')] (self)
  0038  MOVE      R8 = R0
  0039  CALL      R6 = call(R6, 1 args, 2 rets)
  0040  GETTABLE  R7 = R0[K1('m_SliderLua')]
  0041  SELF      R8 = R7[K6('PlayProgressAnimation')] (self)
  0042  MOVE      R9 = R0
  0043  CLOSURE   R10 = closure proto1
  0044  CALL      R7 = call(R7, 0 args, 3 rets)
  0045  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 134-141 np=0 va=0 ms=2 code=22 consts=9 upvals=2 protos=0
    ;   K[0]='m_bPlayingAnimation'
    ;   K[1]=false
    ;   K[2]='m_bStateChanged'
    ;   K[3]='m_model'
    ;   K[4]='GetState'
    ;   K[5]='ActivityState'
    ;   K[6]='Ended'
    ;   K[7]='Released'
    ;   K[8]='Close'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_bPlayingAnimation')] = K1(false)
    0001  GETTABUP  R0 = self[K2('m_bStateChanged')]
    0002  TEST      if not R0 then   -> -131067
    0003  JMP       (jump)   -> 18
    0004  GETTABUP  R0 = self[K3('m_model')]
    0005  SELF      R1 = R0[K4('GetState')] (self)
    0006  CALL      R0 = call(R0, 1 args, 1 rets)
    0007  GETTABUP  R1 = _ENV[K5('ActivityState')]
    0008  GETTABLE  R1 = R1[K6('Ended')]
    0009  EQ        if R1 eq R1   -> -131060
    0010  JMP       (jump)   -> 18
    0011  GETTABUP  R0 = self[K3('m_model')]
    0012  SELF      R1 = R0[K4('GetState')] (self)
    0013  CALL      R0 = call(R0, 1 args, 1 rets)
    0014  GETTABUP  R1 = _ENV[K5('ActivityState')]
    0015  GETTABLE  R1 = R1[K7('Released')]
    0016  EQ        if R0 eq R1   -> -131053
    0017  JMP       (jump)   -> 21
    0018  GETUPVAL  R0 = self
    0019  SELF      R1 = R0[K8('Close')] (self)
    0020  CALL      R0 = call(R0, 0 args, 1 rets)
    0021  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 147-171 np=0 va=0 ms=12 code=26 consts=10 upvals=6 protos=1
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='m_model'
    ;   K[4]='GetClaimedRewards'
    ;   K[5]='OpenView'
    ;   K[6]='UIPrefabConfigName'
    ;   K[7]='AnimatedRewardWindow'
    ;   K[8]='ERewardScene'
    ;   K[9]='Other'
    ;   upvals: _ENV, self, lastLevel, nowLevel, maxLevel, nowScore
    ;   locals: rewards(10-26)
    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 = self[K3('m_model')]
    0007  SELF      R1 = R0[K4('GetClaimedRewards')] (self)
    0008  GETUPVAL  R2 = _ENV
    0009  CALL      R0 = call(R0, 1 args, 2 rets)
    0010  GETTABUP  R1 = _ENV[K0('GM')]
    0011  GETTABLE  R1 = R1[K1('UIManager')]
    0012  SELF      R2 = R1[K5('OpenView')] (self)
    0013  GETTABUP  R3 = _ENV[K6('UIPrefabConfigName')]
    0014  GETTABLE  R3 = R3[K7('AnimatedRewardWindow')]
    0015  MOVE      R4 = R0
    0016  LOADNIL   R5..R5 = nil
    0017  LOADBOOL  R6 = true
    0018  GETTABUP  R7 = _ENV[K8('ERewardScene')]
    0019  GETTABLE  R7 = R7[K9('Other')]
    0020  LOADNIL   R8..R8 = nil
    0021  CLOSURE   R9 = closure proto0
    0022  LOADNIL   R10..R10 = nil
    0023  LOADBOOL  R11 = true
    0024  CALL      R1 = call(R1, 0 args, 10 rets)
    0025  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 152-170 np=0 va=0 ms=7 code=59 consts=17 upvals=6 protos=0
      ;   K[0]=1
      ;   K[1]='Close'
      ;   K[2]='GM'
      ;   K[3]='UIManager'
      ;   K[4]='OpenView'
      ;   K[5]='m_definition'
      ;   K[6]='FinishSuccessWindowPrefabName'
      ;   K[7]='m_activityType'
      ;   K[8]='m_model'
      ;   K[9]='GetState'
      ;   K[10]='ActivityState'
      ;   K[11]='Started'
      ;   K[12]='m_id'
      ;   K[13]='GetId'
      ;   K[14]='FinishFailWindowPrefabName'
      ;   K[15]='_PlayProgressAnimation'
      ;   K[16]=0
      ;   upvals: lastLevel, nowLevel, maxLevel, self, _ENV, nowScore
      0000  GETUPVAL  R0 = lastLevel
      0001  ADD       R0 = K0(1) add R0
      0002  GETUPVAL  R1 = lastLevel
      0003  LE        if R0 le R0   -> -130555
      0004  JMP       (jump)   -> 20
      0005  GETUPVAL  R0 = lastLevel
      0006  GETUPVAL  R1 = lastLevel
      0007  LT        if R0 lt R0   -> -130551
      0008  JMP       (jump)   -> 20
      0009  GETUPVAL  R0 = lastLevel
      0010  SELF      R1 = R0[K1('Close')] (self)
      0011  CALL      R0 = call(R0, 0 args, 1 rets)
      0012  GETTABUP  R0 = _ENV[K2('GM')]
      0013  GETTABLE  R0 = R0[K3('UIManager')]
      0014  SELF      R1 = R0[K4('OpenView')] (self)
      0015  GETTABUP  R2 = self[K5('m_definition')]
      0016  GETTABLE  R2 = R2[K6('FinishSuccessWindowPrefabName')]
      0017  GETTABUP  R3 = self[K7('m_activityType')]
      0018  CALL      R0 = call(R0, 0 args, 3 rets)
      0019  RETURN    return R0..R-1
      0020  GETUPVAL  R0 = lastLevel
      0021  ADD       R0 = K0(1) add R0
      0022  GETUPVAL  R1 = lastLevel
      0023  LE        if R0 le R0   -> -130535
      0024  JMP       (jump)   -> 49
      0025  GETTABUP  R0 = self[K8('m_model')]
      0026  SELF      R1 = R0[K9('GetState')] (self)
      0027  CALL      R0 = call(R0, 1 args, 1 rets)
      0028  GETTABUP  R1 = _ENV[K10('ActivityState')]
      0029  GETTABLE  R1 = R1[K11('Started')]
      0030  EQ        if R0 eq R1   -> -131039
      0031  JMP       (jump)   -> 38
      0032  GETTABUP  R0 = self[K12('m_id')]
      0033  GETTABUP  R1 = self[K8('m_model')]
      0034  SELF      R2 = R1[K13('GetId')] (self)
      0035  CALL      R1 = call(R1, 1 args, 1 rets)
      0036  EQ        if R1 eq R1   -> -131033
      0037  JMP       (jump)   -> 49
      0038  GETUPVAL  R0 = lastLevel
      0039  SELF      R1 = R0[K1('Close')] (self)
      0040  CALL      R0 = call(R0, 0 args, 1 rets)
      0041  GETTABUP  R0 = _ENV[K2('GM')]
      0042  GETTABLE  R0 = R0[K3('UIManager')]
      0043  SELF      R1 = R0[K4('OpenView')] (self)
      0044  GETTABUP  R2 = self[K5('m_definition')]
      0045  GETTABLE  R2 = R2[K14('FinishFailWindowPrefabName')]
      0046  GETTABUP  R3 = self[K7('m_activityType')]
      0047  CALL      R0 = call(R0, 0 args, 3 rets)
      0048  RETURN    return R0..R-1
      0049  GETUPVAL  R0 = lastLevel
      0050  SELF      R1 = R0[K15('_PlayProgressAnimation')] (self)
      0051  GETUPVAL  R2 = lastLevel
      0052  ADD       R2 = K0(1) add R2
      0053  LOADK     R3 = K16 0
      0054  GETUPVAL  R4 = lastLevel
      0055  GETUPVAL  R5 = lastLevel
      0056  GETUPVAL  R6 = lastLevel
      0057  CALL      R0 = call(R0, 0 args, 6 rets)
      0058  RETURN    return R0..R-1
; ---------- proto7 [UpdateContent] ----------
  ; fn ?  line 175-178 np=1 va=0 ms=3 code=8 consts=5 upvals=0 protos=0
  ;   K[0]='m_SliderLua'
  ;   K[1]='UpdateContent'
  ;   K[2]='m_nCurLevel'
  ;   K[3]='m_model'
  ;   K[4]='GetLevel'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_SliderLua')]
  0001  SELF      R2 = R1[K1('UpdateContent')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  GETTABLE  R1 = R0[K3('m_model')]
  0004  SELF      R2 = R1[K4('GetLevel')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  SETTABLE  R0[K2('m_nCurLevel')] = R1
  0007  RETURN    return R0..R-1
; ---------- proto8 [UpdatePerSecond] ----------
  ; fn ?  line 180-187 np=1 va=0 ms=8 code=41 consts=20 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Ended'
  ;   K[4]='m_countdownText'
  ;   K[5]='text'
  ;   K[6]='GM'
  ;   K[7]='GameTextModel'
  ;   K[8]='GetText'
  ;   K[9]='countdown_finished'
  ;   K[10]='m_nextStateTime'
  ;   K[11]=nil
  ;   K[12]='math'
  ;   K[13]='max'
  ;   K[14]=0
  ;   K[15]='GameModel'
  ;   K[16]='GetServerTime'
  ;   K[17]='TimeUtil'
  ;   K[18]='ParseTimeDescription'
  ;   K[19]=2
  ;   upvals: _ENV
  ;   locals: self(0-41), delta(31-40)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 18
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K1('GetState')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0007  GETTABLE  R2 = R2[K3('Ended')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 18
  0010  GETTABLE  R1 = R0[K4('m_countdownText')]
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('GameTextModel')]
  0013  SELF      R3 = R2[K8('GetText')] (self)
  0014  LOADK     R4 = K9 'countdown_finished'
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  SETTABLE  R1[K5('text')] = R2
  0017  JMP       (jump)   -> 40
  0018  GETTABLE  R1 = R0[K10('m_nextStateTime')]
  0019  EQ        if R1 eq K11(nil)   -> -130272
  0020  JMP       (jump)   -> 40
  0021  GETTABUP  R1 = _ENV[K12('math')]
  0022  GETTABLE  R1 = R1[K13('max')]
  0023  LOADK     R2 = K14 0
  0024  GETTABLE  R3 = R0[K10('m_nextStateTime')]
  0025  GETTABUP  R4 = _ENV[K6('GM')]
  0026  GETTABLE  R4 = R4[K15('GameModel')]
  0027  SELF      R5 = R4[K16('GetServerTime')] (self)
  0028  CALL      R4 = call(R4, 1 args, 1 rets)
  0029  SUB       R3 = R4 sub R3
  0030  CALL      R1 = call(R1, 1 args, 2 rets)
  0031  GETTABLE  R2 = R0[K4('m_countdownText')]
  0032  GETTABUP  R3 = _ENV[K17('TimeUtil')]
  0033  GETTABLE  R3 = R3[K18('ParseTimeDescription')]
  0034  MOVE      R4 = R0
  0035  LOADK     R5 = K19 2
  0036  LOADBOOL  R6 = false
  0037  LOADBOOL  R7 = false
  0038  CALL      R3 = call(R3, 1 args, 4 rets)
  0039  SETTABLE  R2[K5('text')] = R3
  0040  RETURN    return R0..R-1
; ---------- proto9 [GetSliderTrans] ----------
  ; fn ?  line 189-191 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_SliderLua'
  ;   K[1]='transform'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_SliderLua')]
  0001  GETTABLE  R1 = R1[K1('transform')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto10 [GetSliderBgTrans] ----------
  ; fn ?  line 193-195 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_sliderBgTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_sliderBgTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto11 [GetFinalPrizeTrans] ----------
  ; fn ?  line 197-199 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_finalPrizeTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_finalPrizeTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto12 [OnGoClicked] ----------
  ; fn ?  line 201-206 np=1 va=0 ms=4 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Board'
  ;   K[6]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('SceneManager')]
  0004  SELF      R2 = R1[K3('GetGameMode')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K4('EGameMode')]
  0007  GETTABLE  R2 = R2[K5('Board')]
  0008  EQ        if R1 eq R2   -> -130548
  0009  JMP       (jump)   -> 16
  0010  GETTABUP  R1 = _ENV[K1('GM')]
  0011  GETTABLE  R1 = R1[K2('SceneManager')]
  0012  SELF      R2 = R1[K6('ChangeGameMode')] (self)
  0013  GETTABUP  R3 = _ENV[K4('EGameMode')]
  0014  GETTABLE  R3 = R3[K5('Board')]
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto13 [OnClickHelp] ----------
  ; fn ?  line 208-212 np=1 va=0 ms=7 code=17 consts=10 upvals=1 protos=0
  ;   K[0]='m_definition'
  ;   K[1]='ActivityTokenIconName'
  ;   K[2]='GM'
  ;   K[3]='GameTextModel'
  ;   K[4]='GetText'
  ;   K[5]='supply_progress_rule_title'
  ;   K[6]='m_tip'
  ;   K[7]='Show'
  ;   K[8]='m_model'
  ;   K[9]='GetTokenHelper'
  ;   upvals: _ENV
  ;   locals: self(0-17), iconKey(2-17), descText(9-17)
  0000  GETTABLE  R1 = R0[K0('m_definition')]
  0001  GETTABLE  R1 = R1[K1('ActivityTokenIconName')]
  0002  GETTABUP  R2 = _ENV[K2('GM')]
  0003  GETTABLE  R2 = R2[K3('GameTextModel')]
  0004  SELF      R3 = R2[K4('GetText')] (self)
  0005  LOADK     R4 = K5 'supply_progress_rule_title'
  0006  MOVE      R5 = R0
  0007  MOVE      R6 = R0
  0008  CALL      R2 = call(R2, 1 args, 4 rets)
  0009  GETTABLE  R3 = R0[K6('m_tip')]
  0010  SELF      R4 = R3[K7('Show')] (self)
  0011  GETTABLE  R5 = R0[K8('m_model')]
  0012  SELF      R6 = R5[K9('GetTokenHelper')] (self)
  0013  CALL      R5 = call(R5, 1 args, 1 rets)
  0014  MOVE      R6 = R0
  0015  CALL      R3 = call(R3, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
