# LineRaceActivity_View_LineRaceActivityRewardSlider_1971.luac
; fn @LineRaceActivityRewardSlider.lua  line 0-0 np=0 va=1 ms=3 code=55 consts=17 upvals=1 protos=12
;   K[0]='LineRaceActivityRewardSlider'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='PlayProgressSliderAnim'
;   K[5]='_UpdateSliderContent'
;   K[6]='UpdateRewardBoxState'
;   K[7]='LineRaceActivityRewardBox'
;   K[8]='Init'
;   K[9]='UpdateContent'
;   K[10]='OnRewardBoxClicked'
;   K[11]='GetRound'
;   K[12]='LineRaceActivityProgressScoreHudButton'
;   K[13]='setmetatable'
;   K[14]='HudPropertyButton'
;   K[15]='GetPropertyNum'
;   K[16]='UpdateTokenNumber'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('LineRaceActivityRewardSlider')] = R0
0002  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0003  GETTABUP  R1 = _ENV[K0('LineRaceActivityRewardSlider')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('PlayProgressSliderAnim')] = R1
0014  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_UpdateSliderContent')] = R1
0017  GETTABUP  R0 = _ENV[K0('LineRaceActivityRewardSlider')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdateRewardBoxState')] = R1
0020  NEWTABLE  R0 = {} (0 items)
0021  SETTABUP  _ENV[K7('LineRaceActivityRewardBox')] = R0
0022  GETTABUP  R0 = _ENV[K7('LineRaceActivityRewardBox')]
0023  GETTABUP  R1 = _ENV[K7('LineRaceActivityRewardBox')]
0024  SETTABLE  R0[K1('__index')] = R1
0025  GETTABUP  R0 = _ENV[K7('LineRaceActivityRewardBox')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K8('Init')] = R1
0028  GETTABUP  R0 = _ENV[K7('LineRaceActivityRewardBox')]
0029  CLOSURE   R1 = closure proto6
0030  SETTABLE  R0[K9('UpdateContent')] = R1
0031  GETTABUP  R0 = _ENV[K7('LineRaceActivityRewardBox')]
0032  CLOSURE   R1 = closure proto7
0033  SETTABLE  R0[K10('OnRewardBoxClicked')] = R1
0034  GETTABUP  R0 = _ENV[K7('LineRaceActivityRewardBox')]
0035  CLOSURE   R1 = closure proto8
0036  SETTABLE  R0[K11('GetRound')] = R1
0037  GETTABUP  R0 = _ENV[K13('setmetatable')]
0038  NEWTABLE  R1 = {} (0 items)
0039  GETTABUP  R2 = _ENV[K14('HudPropertyButton')]
0040  CALL      R0 = call(R0, 1 args, 2 rets)
0041  SETTABUP  _ENV[K12('LineRaceActivityProgressScoreHudButton')] = R0
0042  GETTABUP  R0 = _ENV[K12('LineRaceActivityProgressScoreHudButton')]
0043  GETTABUP  R1 = _ENV[K12('LineRaceActivityProgressScoreHudButton')]
0044  SETTABLE  R0[K1('__index')] = R1
0045  GETTABUP  R0 = _ENV[K12('LineRaceActivityProgressScoreHudButton')]
0046  CLOSURE   R1 = closure proto9
0047  SETTABLE  R0[K8('Init')] = R1
0048  GETTABUP  R0 = _ENV[K12('LineRaceActivityProgressScoreHudButton')]
0049  CLOSURE   R1 = closure proto10
0050  SETTABLE  R0[K15('GetPropertyNum')] = R1
0051  GETTABUP  R0 = _ENV[K12('LineRaceActivityProgressScoreHudButton')]
0052  CLOSURE   R1 = closure proto11
0053  SETTABLE  R0[K16('UpdateTokenNumber')] = R1
0054  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-32 np=3 va=0 ms=21 code=92 consts=26 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_window'
  ;   K[2]='m_rewardConfigs'
  ;   K[3]='m_maxRound'
  ;   K[4]='GetProgressRewardConfigs'
  ;   K[5]='m_rewardBoxGo'
  ;   K[6]='transform'
  ;   K[7]='parent'
  ;   K[8]='rect'
  ;   K[9]='width'
  ;   K[10]='m_currentRound'
  ;   K[11]='GetCurrentRound'
  ;   K[12]='m_rewards'
  ;   K[13]=1
  ;   K[14]='GameObject'
  ;   K[15]='Instantiate'
  ;   K[16]='UIUtil'
  ;   K[17]='SetActive'
  ;   K[18]='SetAnchoredPosition'
  ;   K[19]='round'
  ;   K[20]='GetLuaTable'
  ;   K[21]='Init'
  ;   K[22]='table'
  ;   K[23]='insert'
  ;   K[24]='m_rewardEndBoxLuaTable'
  ;   K[25]='_UpdateSliderContent'
  ;   upvals: _ENV
  ;   locals: self(0-92), model(0-92), window(0-92), sliderRect(10-92), maxWidth(12-92), rewardLength(14-92), intervalWidth(16-92), boxGo(21-92), tbRewardBox(21-92), rewardConfig(21-92), (for index)(26-69), (for limit)(26-69), (for step)(26-69), i(27-68), endRewardConfig(71-92)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SETTABLE  R0[K1('m_window')] = R2
  0002  GETTABLE  R3 = R0[K0('m_model')]
  0003  SELF      R4 = R3[K4('GetProgressRewardConfigs')] (self)
  0004  CALL      R3 = call(R3, 2 args, 1 rets)
  0005  SETTABLE  R0[K3('m_maxRound')] = R4
  0006  SETTABLE  R0[K2('m_rewardConfigs')] = R3
  0007  GETTABLE  R3 = R0[K5('m_rewardBoxGo')]
  0008  GETTABLE  R3 = R3[K6('transform')]
  0009  GETTABLE  R3 = R3[K7('parent')]
  0010  GETTABLE  R4 = R3[K8('rect')]
  0011  GETTABLE  R4 = R4[K9('width')]
  0012  GETTABLE  R5 = R0[K2('m_rewardConfigs')]
  0013  LEN       R5 = len R0
  0014  GETTABLE  R6 = R0[K3('m_maxRound')]
  0015  DIV       R6 = R6 div R4
  0016  GETTABLE  R7 = R0[K0('m_model')]
  0017  SELF      R8 = R7[K11('GetCurrentRound')] (self)
  0018  CALL      R7 = call(R7, 1 args, 1 rets)
  0019  SETTABLE  R0[K10('m_currentRound')] = R7
  0020  LOADNIL   R7..R7 = nil
  0021  NEWTABLE  R10 = {} (0 items)
  0022  SETTABLE  R0[K12('m_rewards')] = R10
  0023  LOADK     R10 = K13 1
  0024  SUB       R11 = K13(1) sub R5
  0025  LOADK     R12 = K13 1
  0026  FORPREP   forprep R10(sBx=41)   -> 68
  0027  GETTABLE  R14 = R0[K2('m_rewardConfigs')]
  0028  GETTABLE  R9 = R14[R13]
  0029  GETTABUP  R14 = _ENV[K14('GameObject')]
  0030  GETTABLE  R14 = R14[K15('Instantiate')]
  0031  GETTABLE  R15 = R0[K5('m_rewardBoxGo')]
  0032  GETTABLE  R16 = R0[K5('m_rewardBoxGo')]
  0033  GETTABLE  R16 = R16[K6('transform')]
  0034  GETTABLE  R16 = R16[K7('parent')]
  0035  CALL      R14 = call(R14, 1 args, 2 rets)
  0036  MOVE      R7 = R0
  0037  GETTABUP  R14 = _ENV[K16('UIUtil')]
  0038  GETTABLE  R14 = R14[K17('SetActive')]
  0039  MOVE      R15 = R0
  0040  LOADBOOL  R16 = true
  0041  CALL      R14 = call(R14, 0 args, 2 rets)
  0042  GETTABUP  R14 = _ENV[K16('UIUtil')]
  0043  GETTABLE  R14 = R14[K18('SetAnchoredPosition')]
  0044  GETTABLE  R15 = R7[K6('transform')]
  0045  GETTABLE  R16 = R9[K19('round')]
  0046  MUL       R16 = R6 mul R16
  0047  CALL      R14 = call(R14, 0 args, 2 rets)
  0048  SELF      R15 = R7[K20('GetLuaTable')] (self)
  0049  CALL      R14 = call(R14, 1 args, 1 rets)
  0050  MOVE      R8 = R0
  0051  SELF      R15 = R8[K21('Init')] (self)
  0052  MOVE      R16 = R0
  0053  GETTABLE  R17 = R9[K19('round')]
  0054  GETTABLE  R18 = R0[K3('m_maxRound')]
  0055  GETTABLE  R19 = R0[K10('m_currentRound')]
  0056  GETTABLE  R20 = R9[K19('round')]
  0057  LT        if R1 lt R19   -> -120754
  0058  JMP       (jump)   -> 60
  0059  LOADBOOL  R19 = false
  0060  LOADBOOL  R19 = true
  0061  GETTABLE  R20 = R0[K1('m_window')]
  0062  CALL      R14 = call(R14, 0 args, 6 rets)
  0063  GETTABUP  R14 = _ENV[K22('table')]
  0064  GETTABLE  R14 = R14[K23('insert')]
  0065  GETTABLE  R15 = R0[K12('m_rewards')]
  0066  MOVE      R16 = R0
  0067  CALL      R14 = call(R14, 0 args, 2 rets)
  0068  FORLOOP   forloop R10(sBx=-42)   -> 27
  0069  GETTABLE  R10 = R0[K2('m_rewardConfigs')]
  0070  GETTABLE  R10 = R10[R5]
  0071  GETTABLE  R11 = R0[K24('m_rewardEndBoxLuaTable')]
  0072  SELF      R12 = R11[K21('Init')] (self)
  0073  MOVE      R13 = R0
  0074  GETTABLE  R14 = R10[K19('round')]
  0075  GETTABLE  R15 = R0[K3('m_maxRound')]
  0076  GETTABLE  R16 = R0[K10('m_currentRound')]
  0077  GETTABLE  R17 = R10[K19('round')]
  0078  LT        if R1 lt R16   -> -122272
  0079  JMP       (jump)   -> 81
  0080  LOADBOOL  R16 = false
  0081  LOADBOOL  R16 = true
  0082  GETTABLE  R17 = R0[K1('m_window')]
  0083  CALL      R11 = call(R11, 0 args, 6 rets)
  0084  GETTABUP  R11 = _ENV[K22('table')]
  0085  GETTABLE  R11 = R11[K23('insert')]
  0086  GETTABLE  R12 = R0[K12('m_rewards')]
  0087  GETTABLE  R13 = R0[K24('m_rewardEndBoxLuaTable')]
  0088  CALL      R11 = call(R11, 0 args, 2 rets)
  0089  SELF      R12 = R0[K25('_UpdateSliderContent')] (self)
  0090  CALL      R11 = call(R11, 0 args, 1 rets)
  0091  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 34-36 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('RemoveAllEventLocks')] (self)
  0003  MOVE      R3 = R0
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto2 [PlayProgressSliderAnim] ----------
  ; fn ?  line 38-46 np=2 va=0 ms=6 code=21 consts=12 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='m_rewardSlider'
  ;   K[4]='DOValue'
  ;   K[5]='m_currentRound'
  ;   K[6]='m_maxRound'
  ;   K[7]=1
  ;   K[8]='SetEase'
  ;   K[9]='Ease'
  ;   K[10]='InSine'
  ;   K[11]='OnComplete'
  ;   upvals: _ENV
  ;   locals: self(0-21), onComplete(0-21)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('SetEventLock')] (self)
  0003  LOADBOOL  R4 = true
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  GETTABLE  R2 = R0[K3('m_rewardSlider')]
  0007  SELF      R3 = R2[K4('DOValue')] (self)
  0008  GETTABLE  R4 = R0[K5('m_currentRound')]
  0009  GETTABLE  R5 = R0[K6('m_maxRound')]
  0010  DIV       R4 = R5 div R4
  0011  LOADK     R5 = K7 1
  0012  CALL      R2 = call(R2, 1 args, 3 rets)
  0013  SELF      R3 = R2[K8('SetEase')] (self)
  0014  GETTABUP  R4 = _ENV[K9('Ease')]
  0015  GETTABLE  R4 = R4[K10('InSine')]
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  SELF      R3 = R2[K11('OnComplete')] (self)
  0018  CLOSURE   R4 = closure proto0
  0019  CALL      R2 = call(R2, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 40-45 np=0 va=0 ms=4 code=12 consts=3 upvals=3 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   upvals: _ENV, self, onComplete
    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  GETUPVAL  R0 = _ENV
    0007  TEST      if not R0 then   -> -131063
    0008  JMP       (jump)   -> 11
    0009  GETUPVAL  R0 = _ENV
    0010  CALL      R0 = call(R0, 0 args, 0 rets)
    0011  RETURN    return R0..R-1
; ---------- proto3 [_UpdateSliderContent] ----------
  ; fn ?  line 48-50 np=1 va=0 ms=4 code=7 consts=5 upvals=0 protos=0
  ;   K[0]='m_rewardSlider'
  ;   K[1]='value'
  ;   K[2]='m_currentRound'
  ;   K[3]=1
  ;   K[4]='m_maxRound'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_rewardSlider')]
  0001  GETTABLE  R2 = R0[K2('m_currentRound')]
  0002  SUB       R2 = K3(1) sub R2
  0003  GETTABLE  R3 = R0[K4('m_maxRound')]
  0004  DIV       R2 = R3 div R2
  0005  SETTABLE  R1[K1('value')] = R2
  0006  RETURN    return R0..R-1
; ---------- proto4 [UpdateRewardBoxState] ----------
  ; fn ?  line 52-62 np=1 va=0 ms=6 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_rewards'
  ;   K[3]='m_model'
  ;   K[4]='GetStageIndexByRound'
  ;   K[5]='m_currentRound'
  ;   K[6]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-19), stageIndex(11-19), rewardBox(13-19)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_rewards')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABLE  R1 = R0[K3('m_model')]
  0008  SELF      R2 = R1[K4('GetStageIndexByRound')] (self)
  0009  GETTABLE  R3 = R0[K5('m_currentRound')]
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  GETTABLE  R2 = R0[K2('m_rewards')]
  0012  GETTABLE  R2 = R2[R1]
  0013  TEST      if not R2 then   -> -131057
  0014  JMP       (jump)   -> 18
  0015  SELF      R4 = R2[K6('UpdateContent')] (self)
  0016  LOADBOOL  R5 = true
  0017  CALL      R3 = call(R3, 0 args, 2 rets)
  0018  RETURN    return R0..R-1
; ---------- proto5 [Init] ----------
  ; fn ?  line 68-79 np=6 va=0 ms=10 code=26 consts=15 upvals=1 protos=0
  ;   K[0]='m_rewardConfig'
  ;   K[1]='m_window'
  ;   K[2]='SpriteUtil'
  ;   K[3]='SetImage'
  ;   K[4]='m_icon'
  ;   K[5]='uiCode'
  ;   K[6]='dig_chest_1'
  ;   K[7]='UIUtil'
  ;   K[8]='SetLocalScale'
  ;   K[9]='transform'
  ;   K[10]=0.4
  ;   K[11]='m_numText'
  ;   K[12]='text'
  ;   K[13]='UpdateContent'
  ;   K[14]='m_round'
  ;   upvals: _ENV
  ;   locals: self(0-26), rewardConfig(0-26), round(0-26), maxRound(0-26), bAcquired(0-26), window(0-26)
  0000  SETTABLE  R0[K0('m_rewardConfig')] = R1
  0001  SETTABLE  R0[K1('m_window')] = R5
  0002  GETTABUP  R6 = _ENV[K2('SpriteUtil')]
  0003  GETTABLE  R6 = R6[K3('SetImage')]
  0004  GETTABLE  R7 = R0[K4('m_icon')]
  0005  GETTABLE  R8 = R1[K5('uiCode')]
  0006  TEST      if not R8 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  LOADK     R8 = K6 'dig_chest_1'
  0009  CALL      R6 = call(R6, 0 args, 2 rets)
  0010  EQ        if R0 eq R3   -> -130033
  0011  JMP       (jump)   -> 19
  0012  GETTABUP  R6 = _ENV[K7('UIUtil')]
  0013  GETTABLE  R6 = R6[K8('SetLocalScale')]
  0014  GETTABLE  R7 = R0[K4('m_icon')]
  0015  GETTABLE  R7 = R7[K9('transform')]
  0016  LOADK     R8 = K10 0.4
  0017  LOADK     R9 = K10 0.4
  0018  CALL      R6 = call(R6, 0 args, 3 rets)
  0019  GETTABLE  R6 = R0[K11('m_numText')]
  0020  SETTABLE  R6[K12('text')] = R2
  0021  SELF      R7 = R0[K13('UpdateContent')] (self)
  0022  MOVE      R8 = R0
  0023  CALL      R6 = call(R6, 0 args, 2 rets)
  0024  SETTABLE  R0[K14('m_round')] = R2
  0025  RETURN    return R0..R-1
; ---------- proto6 [UpdateContent] ----------
  ; fn ?  line 81-85 np=2 va=0 ms=5 code=21 consts=11 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_checkGo'
  ;   K[3]='m_button'
  ;   K[4]='enabled'
  ;   K[5]='m_icon'
  ;   K[6]='color'
  ;   K[7]='ConvertHexColor2CSColor'
  ;   K[8]='B7C0CF'
  ;   K[9]='CSColor'
  ;   K[10]='white'
  ;   upvals: _ENV
  ;   locals: self(0-21), bAcquired(0-21)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_checkGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  GETTABLE  R2 = R0[K3('m_button')]
  0006  NOT       R3 = not R0
  0007  SETTABLE  R2[K4('enabled')] = R3
  0008  GETTABLE  R2 = R0[K5('m_icon')]
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 17
  0011  GETTABUP  R3 = _ENV[K0('UIUtil')]
  0012  GETTABLE  R3 = R3[K7('ConvertHexColor2CSColor')]
  0013  LOADK     R4 = K8 'B7C0CF'
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  TEST      if not R3 then   -> -131054
  0016  JMP       (jump)   -> 19
  0017  GETTABUP  R3 = _ENV[K9('CSColor')]
  0018  GETTABLE  R3 = R3[K10('white')]
  0019  SETTABLE  R2[K6('color')] = R3
  0020  RETURN    return R0..R-1
; ---------- proto7 [OnRewardBoxClicked] ----------
  ; fn ?  line 87-89 np=1 va=0 ms=5 code=9 consts=7 upvals=0 protos=0
  ;   K[0]='m_window'
  ;   K[1]='ShowTip'
  ;   K[2]='m_tipRoot'
  ;   K[3]='transform'
  ;   K[4]='position'
  ;   K[5]='m_rewardConfig'
  ;   K[6]='progressRewards'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_window')]
  0001  SELF      R2 = R1[K1('ShowTip')] (self)
  0002  GETTABLE  R3 = R0[K2('m_tipRoot')]
  0003  GETTABLE  R3 = R3[K3('transform')]
  0004  GETTABLE  R3 = R3[K4('position')]
  0005  GETTABLE  R4 = R0[K5('m_rewardConfig')]
  0006  GETTABLE  R4 = R4[K6('progressRewards')]
  0007  CALL      R1 = call(R1, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
; ---------- proto8 [GetRound] ----------
  ; fn ?  line 91-93 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_round'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_round')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto9 [Init] ----------
  ; fn ?  line 100-107 np=2 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='m_model'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='HudPropertyButton'
  ;   K[5]='Init'
  ;   K[6]='ActivityProgressScore'
  ;   upvals: _ENV
  ;   locals: self(0-15), model(0-15)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SETTABLE  R0[K1('m_model')] = R1
  0004  GETTABLE  R2 = R0[K1('m_model')]
  0005  SELF      R3 = R2[K3('GetActivityDefinition')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SETTABLE  R0[K2('m_activityDefinition')] = R2
  0008  GETTABUP  R2 = _ENV[K4('HudPropertyButton')]
  0009  GETTABLE  R2 = R2[K5('Init')]
  0010  MOVE      R3 = R0
  0011  GETTABLE  R4 = R0[K2('m_activityDefinition')]
  0012  GETTABLE  R4 = R4[K6('ActivityProgressScore')]
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  RETURN    return R0..R-1
; ---------- proto10 [GetPropertyNum] ----------
  ; fn ?  line 109-115 np=1 va=0 ms=3 code=24 consts=5 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='_HasReceivedReward'
  ;   K[2]='GetCurrentRound'
  ;   K[3]=1
  ;   K[4]=0
  ;   locals: self(0-24)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K1('_HasReceivedReward')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 12
  0008  GETTABLE  R1 = R0[K0('m_model')]
  0009  SELF      R2 = R1[K2('GetCurrentRound')] (self)
  0010  TAILCALL  tailcall(R1, 0)
  0011  RETURN    return R1..R0
  0012  GETTABLE  R1 = R0[K0('m_model')]
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 21
  0015  GETTABLE  R1 = R0[K0('m_model')]
  0016  SELF      R2 = R1[K2('GetCurrentRound')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  SUB       R1 = K3(1) sub R1
  0019  TEST      if not R1 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  LOADK     R1 = K4 0
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto11 [UpdateTokenNumber] ----------
  ; fn ?  line 117-120 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
