# TimeLimitedProgressActivity_View_TimeLimitedProgressBoardEntry_1706.luac
; fn @TimeLimitedProgressBoardEntry.lua  line 0-0 np=0 va=1 ms=3 code=77 consts=24 upvals=1 protos=21
;   K[0]='TimeLimitedProgressBoardEntry'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='GetModel'
;   K[5]='_TryAddListeners'
;   K[6]='OnDestroy'
;   K[7]='OnEnable'
;   K[8]='_OnStateChanged'
;   K[9]='UpdatePerSecond'
;   K[10]='OnBtnClicked'
;   K[11]='GetIconArea'
;   K[12]='UpdateTimeLimitContent'
;   K[13]='TimeLimitedProgressHudButton'
;   K[14]='setmetatable'
;   K[15]='HudPropertyButton'
;   K[16]='Init'
;   K[17]='_AddListeners'
;   K[18]='_TryAddListeners'
;   K[19]='GetModel'
;   K[20]='_OnCloseView'
;   K[21]='UpdateContent'
;   K[22]='GetPropertyNum'
;   K[23]='UpdateValueText'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('TimeLimitedProgressBoardEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0003  GETTABUP  R1 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('GetModel')] = R1
0014  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_TryAddListeners')] = R1
0017  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnDestroy')] = R1
0020  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('OnEnable')] = R1
0023  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('_OnStateChanged')] = R1
0026  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('UpdatePerSecond')] = R1
0029  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('OnBtnClicked')] = R1
0032  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('GetIconArea')] = R1
0035  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressBoardEntry')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('UpdateTimeLimitContent')] = R1
0038  GETTABUP  R0 = _ENV[K14('setmetatable')]
0039  NEWTABLE  R1 = {} (0 items)
0040  GETTABUP  R2 = _ENV[K15('HudPropertyButton')]
0041  CALL      R0 = call(R0, 1 args, 2 rets)
0042  SETTABUP  _ENV[K13('TimeLimitedProgressHudButton')] = R0
0043  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0044  GETTABUP  R1 = _ENV[K13('TimeLimitedProgressHudButton')]
0045  SETTABLE  R0[K1('__index')] = R1
0046  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0047  CLOSURE   R1 = closure proto11
0048  SETTABLE  R0[K2('Awake')] = R1
0049  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0050  CLOSURE   R1 = closure proto12
0051  SETTABLE  R0[K16('Init')] = R1
0052  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0053  CLOSURE   R1 = closure proto13
0054  SETTABLE  R0[K17('_AddListeners')] = R1
0055  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0056  CLOSURE   R1 = closure proto14
0057  SETTABLE  R0[K18('_TryAddListeners')] = R1
0058  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0059  CLOSURE   R1 = closure proto15
0060  SETTABLE  R0[K19('GetModel')] = R1
0061  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0062  CLOSURE   R1 = closure proto16
0063  SETTABLE  R0[K20('_OnCloseView')] = R1
0064  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0065  CLOSURE   R1 = closure proto17
0066  SETTABLE  R0[K21('UpdateContent')] = R1
0067  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0068  CLOSURE   R1 = closure proto18
0069  SETTABLE  R0[K22('GetPropertyNum')] = R1
0070  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0071  CLOSURE   R1 = closure proto19
0072  SETTABLE  R0[K8('_OnStateChanged')] = R1
0073  GETTABUP  R0 = _ENV[K13('TimeLimitedProgressHudButton')]
0074  CLOSURE   R1 = closure proto20
0075  SETTABLE  R0[K23('UpdateValueText')] = R1
0076  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 10-12 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_TryAddListeners'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_TryAddListeners')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 14-26 np=3 va=0 ms=6 code=25 consts=13 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_progressHelper'
  ;   K[2]='GetProgressHelper'
  ;   K[3]='m_activityType'
  ;   K[4]='GetType'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='m_orderArea'
  ;   K[8]='m_iconArea'
  ;   K[9]='Init'
  ;   K[10]='SetInBoardView'
  ;   K[11]='UpdatePerSecond'
  ;   K[12]='_TryAddListeners'
  ;   locals: self(0-25), model(0-25), orderArea(0-25)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SELF      R4 = R1[K2('GetProgressHelper')] (self)
  0002  CALL      R3 = call(R3, 1 args, 1 rets)
  0003  SETTABLE  R0[K1('m_progressHelper')] = R3
  0004  GETTABLE  R3 = R0[K0('m_model')]
  0005  SELF      R4 = R3[K4('GetType')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_activityType')] = R3
  0008  GETTABLE  R3 = R0[K0('m_model')]
  0009  SELF      R4 = R3[K6('GetActivityDefinition')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  SETTABLE  R0[K5('m_activityDefinition')] = R3
  0012  SETTABLE  R0[K7('m_orderArea')] = R2
  0013  GETTABLE  R3 = R0[K8('m_iconArea')]
  0014  SELF      R4 = R3[K9('Init')] (self)
  0015  GETTABLE  R5 = R0[K3('m_activityType')]
  0016  CALL      R3 = call(R3, 0 args, 2 rets)
  0017  GETTABLE  R3 = R0[K8('m_iconArea')]
  0018  SELF      R4 = R3[K10('SetInBoardView')] (self)
  0019  CALL      R3 = call(R3, 0 args, 1 rets)
  0020  SELF      R4 = R0[K11('UpdatePerSecond')] (self)
  0021  CALL      R3 = call(R3, 0 args, 1 rets)
  0022  SELF      R4 = R0[K12('_TryAddListeners')] (self)
  0023  CALL      R3 = call(R3, 0 args, 1 rets)
  0024  RETURN    return R0..R-1
; ---------- proto2 [GetModel] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [_TryAddListeners] ----------
  ; fn ?  line 33-43 np=1 va=0 ms=6 code=28 consts=11 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='gameObject'
  ;   K[3]='activeInHierarchy'
  ;   K[4]='UpdateTimeLimitContent'
  ;   K[5]='EventDispatcher'
  ;   K[6]='AddListener'
  ;   K[7]='GetActivityDefinition'
  ;   K[8]='StateChangedEvent'
  ;   K[9]='_OnStateChanged'
  ;   K[10]='LimitedRewardStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-28), model(2-28)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 8
  0004  GETTABLE  R2 = R0[K2('gameObject')]
  0005  GETTABLE  R2 = R2[K3('activeInHierarchy')]
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SELF      R3 = R0[K4('UpdateTimeLimitContent')] (self)
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  GETTABUP  R2 = _ENV[K5('EventDispatcher')]
  0012  GETTABLE  R2 = R2[K6('AddListener')]
  0013  SELF      R4 = R1[K7('GetActivityDefinition')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  GETTABLE  R3 = R3[K8('StateChangedEvent')]
  0016  MOVE      R4 = R0
  0017  GETTABLE  R5 = R0[K9('_OnStateChanged')]
  0018  CALL      R2 = call(R2, 0 args, 3 rets)
  0019  GETTABUP  R2 = _ENV[K5('EventDispatcher')]
  0020  GETTABLE  R2 = R2[K6('AddListener')]
  0021  SELF      R4 = R1[K7('GetActivityDefinition')] (self)
  0022  CALL      R3 = call(R3, 1 args, 1 rets)
  0023  GETTABLE  R3 = R3[K10('LimitedRewardStateChangedEvent')]
  0024  MOVE      R4 = R0
  0025  GETTABLE  R5 = R0[K4('UpdateTimeLimitContent')]
  0026  CALL      R2 = call(R2, 0 args, 3 rets)
  0027  RETURN    return R0..R-1
; ---------- proto4 [OnDestroy] ----------
  ; fn ?  line 45-47 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
; ---------- proto5 [OnEnable] ----------
  ; fn ?  line 49-51 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdatePerSecond'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdatePerSecond')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto6 [_OnStateChanged] ----------
  ; fn ?  line 53-55 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdatePerSecond'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdatePerSecond')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto7 [UpdatePerSecond] ----------
  ; fn ?  line 57-80 np=1 va=0 ms=11 code=58 consts=18 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetTriggerEndTime'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='m_countDownGo'
  ;   K[6]='m_limitCountDownGo'
  ;   K[7]='GM'
  ;   K[8]='GameModel'
  ;   K[9]='GetServerTime'
  ;   K[10]='m_limitCountDownText'
  ;   K[11]='text'
  ;   K[12]='TimeUtil'
  ;   K[13]='ToMSOrHMS'
  ;   K[14]='GetNextStateTime'
  ;   K[15]='m_countDownText'
  ;   K[16]='ParseTimeDescription'
  ;   K[17]=2
  ;   upvals: _ENV
  ;   locals: self(0-58), triggerEndTime(7-58), delta(30-37), nextStateTime(41-58), isInLimit(41-58), delta(48-57)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_model')]
  0005  SELF      R2 = R1[K2('GetTriggerEndTime')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0008  GETTABLE  R2 = R2[K4('SetActive')]
  0009  GETTABLE  R3 = R0[K5('m_countDownGo')]
  0010  EQ        if R1 eq K1(nil)   -> -130291
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R4 = false
  0013  LOADBOOL  R4 = true
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0016  GETTABLE  R2 = R2[K4('SetActive')]
  0017  GETTABLE  R3 = R0[K6('m_limitCountDownGo')]
  0018  EQ        if R0 eq K1(nil)   -> -130283
  0019  JMP       (jump)   -> 21
  0020  LOADBOOL  R4 = false
  0021  LOADBOOL  R4 = true
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  EQ        if R1 eq K1(nil)   -> -130278
  0024  JMP       (jump)   -> 37
  0025  GETTABUP  R2 = _ENV[K7('GM')]
  0026  GETTABLE  R2 = R2[K8('GameModel')]
  0027  SELF      R3 = R2[K9('GetServerTime')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  SUB       R2 = R2 sub R1
  0030  GETTABLE  R3 = R0[K10('m_limitCountDownText')]
  0031  GETTABUP  R4 = _ENV[K12('TimeUtil')]
  0032  GETTABLE  R4 = R4[K13('ToMSOrHMS')]
  0033  MOVE      R5 = R0
  0034  CALL      R4 = call(R4, 1 args, 1 rets)
  0035  SETTABLE  R3[K11('text')] = R4
  0036  RETURN    return R0..R-1
  0037  GETTABLE  R2 = R0[K0('m_model')]
  0038  SELF      R3 = R2[K14('GetNextStateTime')] (self)
  0039  LOADBOOL  R4 = true
  0040  CALL      R2 = call(R2, 2 args, 2 rets)
  0041  EQ        if R1 eq K1(nil)   -> -129748
  0042  JMP       (jump)   -> 57
  0043  GETTABUP  R4 = _ENV[K7('GM')]
  0044  GETTABLE  R4 = R4[K8('GameModel')]
  0045  SELF      R5 = R4[K9('GetServerTime')] (self)
  0046  CALL      R4 = call(R4, 1 args, 1 rets)
  0047  SUB       R4 = R4 sub R2
  0048  GETTABLE  R5 = R0[K15('m_countDownText')]
  0049  GETTABUP  R6 = _ENV[K12('TimeUtil')]
  0050  GETTABLE  R6 = R6[K16('ParseTimeDescription')]
  0051  MOVE      R7 = R0
  0052  LOADK     R8 = K17 2
  0053  LOADBOOL  R9 = false
  0054  LOADBOOL  R10 = false
  0055  CALL      R6 = call(R6, 1 args, 4 rets)
  0056  SETTABLE  R5[K11('text')] = R6
  0057  RETURN    return R0..R-1
; ---------- proto8 [OnBtnClicked] ----------
  ; fn ?  line 82-84 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='OnEntryClicked'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('OnEntryClicked')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto9 [GetIconArea] ----------
  ; fn ?  line 86-88 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_iconArea'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_iconArea')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto10 [UpdateTimeLimitContent] ----------
  ; fn ?  line 90-108 np=1 va=0 ms=10 code=63 consts=21 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='UIUtil'
  ;   K[6]='SetActive'
  ;   K[7]='m_normalGo'
  ;   K[8]='m_limitGo'
  ;   K[9]='m_progressHelper'
  ;   K[10]='GetNextClaimLevel'
  ;   K[11]='GetTimeLimitedRewardState'
  ;   K[12]='GetTriggerEndTime'
  ;   K[13]='ETimeLimitedProgressLimitedRewardState'
  ;   K[14]='TimesOut'
  ;   K[15]='Preparing'
  ;   K[16]='m_limitRewardContent'
  ;   K[17]='Init'
  ;   K[18]='GetLimitedRewardByLevel'
  ;   K[19]='ERewardScene'
  ;   K[20]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-63), level(24-63), state(28-63), triggerEndTime(31-63), bShowLimit(41-63)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 10
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K2('GetState')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0007  GETTABLE  R2 = R2[K4('Released')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 21
  0010  GETTABUP  R1 = _ENV[K5('UIUtil')]
  0011  GETTABLE  R1 = R1[K6('SetActive')]
  0012  GETTABLE  R2 = R0[K7('m_normalGo')]
  0013  LOADBOOL  R3 = true
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  GETTABUP  R1 = _ENV[K5('UIUtil')]
  0016  GETTABLE  R1 = R1[K6('SetActive')]
  0017  GETTABLE  R2 = R0[K8('m_limitGo')]
  0018  LOADBOOL  R3 = false
  0019  CALL      R1 = call(R1, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
  0021  GETTABLE  R1 = R0[K9('m_progressHelper')]
  0022  SELF      R2 = R1[K10('GetNextClaimLevel')] (self)
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  GETTABLE  R2 = R0[K0('m_model')]
  0025  SELF      R3 = R2[K11('GetTimeLimitedRewardState')] (self)
  0026  MOVE      R4 = R0
  0027  CALL      R2 = call(R2, 1 args, 2 rets)
  0028  GETTABLE  R3 = R0[K0('m_model')]
  0029  SELF      R4 = R3[K12('GetTriggerEndTime')] (self)
  0030  CALL      R3 = call(R3, 1 args, 1 rets)
  0031  GETTABUP  R4 = _ENV[K13('ETimeLimitedProgressLimitedRewardState')]
  0032  GETTABLE  R4 = R4[K14('TimesOut')]
  0033  EQ        if R1 eq R4   -> -130009
  0034  JMP       (jump)   -> 39
  0035  GETTABUP  R4 = _ENV[K13('ETimeLimitedProgressLimitedRewardState')]
  0036  GETTABLE  R4 = R4[K15('Preparing')]
  0037  EQ        if R0 eq R4   -> -130005
  0038  JMP       (jump)   -> 40
  0039  LOADBOOL  R4 = false
  0040  LOADBOOL  R4 = true
  0041  GETTABUP  R5 = _ENV[K5('UIUtil')]
  0042  GETTABLE  R5 = R5[K6('SetActive')]
  0043  GETTABLE  R6 = R0[K7('m_normalGo')]
  0044  NOT       R7 = not R0
  0045  CALL      R5 = call(R5, 0 args, 2 rets)
  0046  GETTABUP  R5 = _ENV[K5('UIUtil')]
  0047  GETTABLE  R5 = R5[K6('SetActive')]
  0048  GETTABLE  R6 = R0[K8('m_limitGo')]
  0049  MOVE      R7 = R0
  0050  CALL      R5 = call(R5, 0 args, 2 rets)
  0051  TEST      if not R4 then   -> -131019
  0052  JMP       (jump)   -> 62
  0053  GETTABLE  R5 = R0[K16('m_limitRewardContent')]
  0054  SELF      R6 = R5[K17('Init')] (self)
  0055  GETTABLE  R7 = R0[K0('m_model')]
  0056  SELF      R8 = R7[K18('GetLimitedRewardByLevel')] (self)
  0057  MOVE      R9 = R0
  0058  CALL      R7 = call(R7, 1 args, 2 rets)
  0059  GETTABUP  R8 = _ENV[K19('ERewardScene')]
  0060  GETTABLE  R8 = R8[K20('Other')]
  0061  CALL      R5 = call(R5, 0 args, 3 rets)
  0062  RETURN    return R0..R-1
; ---------- proto11 [Awake] ----------
  ; fn ?  line 116-120 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='Awake'
  ;   K[2]='_TryAddListeners'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('Awake')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_TryAddListeners')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto12 [Init] ----------
  ; fn ?  line 122-128 np=2 va=0 ms=5 code=23 consts=12 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]='m_activityDefinition'
  ;   K[5]='GetActivityDefinition'
  ;   K[6]='m_progressHelper'
  ;   K[7]='GetProgressHelper'
  ;   K[8]='HudPropertyButton'
  ;   K[9]='Init'
  ;   K[10]='ActivityTokenPropertyType'
  ;   K[11]='_TryAddListeners'
  ;   upvals: _ENV
  ;   locals: self(0-23), activityType(0-23)
  0000  GETTABUP  R2 = _ENV[K1('GM')]
  0001  GETTABLE  R2 = R2[K2('ActivityManager')]
  0002  SELF      R3 = R2[K3('GetModel')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SETTABLE  R0[K0('m_model')] = R2
  0006  GETTABLE  R2 = R0[K0('m_model')]
  0007  SELF      R3 = R2[K5('GetActivityDefinition')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  SETTABLE  R0[K4('m_activityDefinition')] = R2
  0010  GETTABLE  R2 = R0[K0('m_model')]
  0011  SELF      R3 = R2[K7('GetProgressHelper')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  SETTABLE  R0[K6('m_progressHelper')] = R2
  0014  GETTABUP  R2 = _ENV[K8('HudPropertyButton')]
  0015  GETTABLE  R2 = R2[K9('Init')]
  0016  MOVE      R3 = R0
  0017  GETTABLE  R4 = R0[K4('m_activityDefinition')]
  0018  GETTABLE  R4 = R4[K10('ActivityTokenPropertyType')]
  0019  CALL      R2 = call(R2, 0 args, 2 rets)
  0020  SELF      R3 = R0[K11('_TryAddListeners')] (self)
  0021  CALL      R2 = call(R2, 0 args, 1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto13 [_AddListeners] ----------
  ; fn ?  line 130-134 np=1 va=0 ms=5 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='_AddListeners'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='ChangeGameModeFinished'
  ;   K[6]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('_AddListeners')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 13
  0006  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0007  GETTABLE  R1 = R1[K3('AddListener')]
  0008  GETTABUP  R2 = _ENV[K4('EEventType')]
  0009  GETTABLE  R2 = R2[K5('ChangeGameModeFinished')]
  0010  MOVE      R3 = R0
  0011  GETTABLE  R4 = R0[K6('UpdateContent')]
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto14 [_TryAddListeners] ----------
  ; fn ?  line 137-144 np=1 va=0 ms=6 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='gameObject'
  ;   K[3]='activeInHierarchy'
  ;   K[4]='EventDispatcher'
  ;   K[5]='AddListener'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='StateChangedEvent'
  ;   K[8]='_OnStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-18), model(2-18)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 8
  0004  GETTABLE  R2 = R0[K2('gameObject')]
  0005  GETTABLE  R2 = R2[K3('activeInHierarchy')]
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R2 = _ENV[K4('EventDispatcher')]
  0010  GETTABLE  R2 = R2[K5('AddListener')]
  0011  SELF      R4 = R1[K6('GetActivityDefinition')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  GETTABLE  R3 = R3[K7('StateChangedEvent')]
  0014  MOVE      R4 = R0
  0015  GETTABLE  R5 = R0[K8('_OnStateChanged')]
  0016  CALL      R2 = call(R2, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto15 [GetModel] ----------
  ; fn ?  line 146-148 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto16 [_OnCloseView] ----------
  ; fn ?  line 150-157 np=2 va=0 ms=4 code=14 consts=6 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]=nil
  ;   K[2]='name'
  ;   K[3]='MainWindowPrefabName'
  ;   K[4]='_DelaySyncModelValue'
  ;   K[5]='SyncToModelValue'
  ;   locals: self(0-14), msg(0-14)
  0000  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R2 = R1[K2('name')]
  0004  GETTABLE  R3 = R0[K0('m_activityDefinition')]
  0005  GETTABLE  R3 = R3[K3('MainWindowPrefabName')]
  0006  EQ        if R1 eq R3   -> -130037
  0007  JMP       (jump)   -> 11
  0008  SELF      R3 = R0[K4('_DelaySyncModelValue')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  JMP       (jump)   -> 13
  0011  SELF      R3 = R0[K5('SyncToModelValue')] (self)
  0012  CALL      R2 = call(R2, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto17 [UpdateContent] ----------
  ; fn ?  line 159-161 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='SyncToModelValue'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('SyncToModelValue')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto18 [GetPropertyNum] ----------
  ; fn ?  line 163-165 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_progressHelper'
  ;   K[1]='GetScoreForDisplay'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_progressHelper')]
  0001  SELF      R2 = R1[K1('GetScoreForDisplay')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto19 [_OnStateChanged] ----------
  ; fn ?  line 167-172 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='SyncToModelValue'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('GetState')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0005  GETTABLE  R2 = R2[K3('Started')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 10
  0008  SELF      R2 = R0[K4('SyncToModelValue')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto20 [UpdateValueText] ----------
  ; fn ?  line 174-184 np=1 va=0 ms=9 code=32 consts=16 upvals=1 protos=0
  ;   K[0]='HudPropertyButton'
  ;   K[1]='UpdateValueText'
  ;   K[2]='m_value'
  ;   K[3]='m_progressHelper'
  ;   K[4]='GetScoreFromLevelStartByScoreForDisplay'
  ;   K[5]='GetLevelByScoreForDisplay'
  ;   K[6]='GetLevelRequiredScoreFromLevelStartByLevel'
  ;   K[7]='m_slider'
  ;   K[8]='value'
  ;   K[9]='m_valueText'
  ;   K[10]='text'
  ;   K[11]='math'
  ;   K[12]='floor'
  ;   K[13]=0.5
  ;   K[14]='/'
  ;   K[15]='m_levelText'
  ;   upvals: _ENV
  ;   locals: self(0-32), score(5-32), curScore(9-32), level(13-32), curTargetScore(17-32)
  0000  GETTABUP  R1 = _ENV[K0('HudPropertyButton')]
  0001  GETTABLE  R1 = R1[K1('UpdateValueText')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_value')]
  0005  GETTABLE  R2 = R0[K3('m_progressHelper')]
  0006  SELF      R3 = R2[K4('GetScoreFromLevelStartByScoreForDisplay')] (self)
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 1 args, 2 rets)
  0009  GETTABLE  R3 = R0[K3('m_progressHelper')]
  0010  SELF      R4 = R3[K5('GetLevelByScoreForDisplay')] (self)
  0011  MOVE      R5 = R0
  0012  CALL      R3 = call(R3, 1 args, 2 rets)
  0013  GETTABLE  R4 = R0[K3('m_progressHelper')]
  0014  SELF      R5 = R4[K6('GetLevelRequiredScoreFromLevelStartByLevel')] (self)
  0015  MOVE      R6 = R0
  0016  CALL      R4 = call(R4, 1 args, 2 rets)
  0017  GETTABLE  R5 = R0[K7('m_slider')]
  0018  DIV       R6 = R4 div R2
  0019  SETTABLE  R5[K8('value')] = R6
  0020  GETTABLE  R5 = R0[K9('m_valueText')]
  0021  GETTABUP  R6 = _ENV[K11('math')]
  0022  GETTABLE  R6 = R6[K12('floor')]
  0023  ADD       R7 = K13(0.5) add R2
  0024  CALL      R6 = call(R6, 1 args, 1 rets)
  0025  LOADK     R7 = K14 '/'
  0026  MOVE      R8 = R0
  0027  CONCAT    R6 = concat(R6..R6)
  0028  SETTABLE  R5[K10('text')] = R6
  0029  GETTABLE  R5 = R0[K15('m_levelText')]
  0030  SETTABLE  R5[K10('text')] = R3
  0031  RETURN    return R0..R-1
