# ProgressActivity_View_ProgressActivityHudButton_978.luac
; fn @ProgressActivityHudButton.lua  line 0-0 np=0 va=1 ms=3 code=42 consts=15 upvals=1 protos=11
;   K[0]='ProgressActivityHudButton'
;   K[1]='setmetatable'
;   K[2]='HudPropertyButton'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='UpdateReward'
;   K[6]='_AddListeners'
;   K[7]='_OnStateChangedEvent'
;   K[8]='OnGameModeChanged'
;   K[9]='IsInBoardView'
;   K[10]='SyncToModelValue'
;   K[11]='GetPropertyNum'
;   K[12]='UpdateValueText'
;   K[13]='UpdateTextAnimation'
;   K[14]='PlayAnimation'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('HudPropertyButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ProgressActivityHudButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0006  GETTABUP  R1 = _ENV[K0('ProgressActivityHudButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('UpdateReward')] = R1
0014  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('_AddListeners')] = R1
0017  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('_OnStateChangedEvent')] = R1
0020  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('OnGameModeChanged')] = R1
0023  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('IsInBoardView')] = R1
0026  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('SyncToModelValue')] = R1
0029  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('GetPropertyNum')] = R1
0032  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('UpdateValueText')] = R1
0035  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('UpdateTextAnimation')] = R1
0038  GETTABUP  R0 = _ENV[K0('ProgressActivityHudButton')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('PlayAnimation')] = R1
0041  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-15 np=2 va=0 ms=5 code=24 consts=13 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]='m_activityType'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='ProgressActivityDefinition'
  ;   K[7]='m_level'
  ;   K[8]='GetLevel'
  ;   K[9]='UpdateReward'
  ;   K[10]='HudPropertyButton'
  ;   K[11]='Init'
  ;   K[12]='ActivityTokenPropertyType'
  ;   upvals: _ENV
  ;   locals: self(0-24), activityType(0-24)
  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  SETTABLE  R0[K4('m_activityType')] = R1
  0007  GETTABUP  R2 = _ENV[K6('ProgressActivityDefinition')]
  0008  GETTABLE  R3 = R0[K4('m_activityType')]
  0009  GETTABLE  R2 = R2[R3]
  0010  SETTABLE  R0[K5('m_activityDefinition')] = R2
  0011  GETTABLE  R2 = R0[K0('m_model')]
  0012  SELF      R3 = R2[K8('GetLevel')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  SETTABLE  R0[K7('m_level')] = R2
  0015  SELF      R3 = R0[K9('UpdateReward')] (self)
  0016  CALL      R2 = call(R2, 0 args, 1 rets)
  0017  GETTABUP  R2 = _ENV[K10('HudPropertyButton')]
  0018  GETTABLE  R2 = R2[K11('Init')]
  0019  MOVE      R3 = R0
  0020  GETTABLE  R4 = R0[K5('m_activityDefinition')]
  0021  GETTABLE  R4 = R4[K12('ActivityTokenPropertyType')]
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  RETURN    return R0..R-1
; ---------- proto1 [UpdateReward] ----------
  ; fn ?  line 17-41 np=1 va=0 ms=8 code=60 consts=22 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetLevelReward'
  ;   K[3]='m_level'
  ;   K[4]='RewardApi'
  ;   K[5]='FilterRewards'
  ;   K[6]='ERewardScene'
  ;   K[7]='Other'
  ;   K[8]=1
  ;   K[9]='UIUtil'
  ;   K[10]='SetActive'
  ;   K[11]='m_rewardImg'
  ;   K[12]='gameObject'
  ;   K[13]='ConfigUtil'
  ;   K[14]='GetCurrencyImageName'
  ;   K[15]='SpriteUtil'
  ;   K[16]='SetImage'
  ;   K[17]='PROPERTY_COUNT'
  ;   K[18]='m_rewardCountGo'
  ;   K[19]='m_rewardCountText'
  ;   K[20]='text'
  ;   K[21]='x'
  ;   upvals: _ENV
  ;   locals: self(0-60), reward(8-60), arrRewards(16-60), imageName(36-60), rewardCount(43-60)
  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('GetLevelReward')] (self)
  0006  GETTABLE  R3 = R0[K3('m_level')]
  0007  CALL      R1 = call(R1, 1 args, 2 rets)
  0008  GETTABUP  R2 = _ENV[K4('RewardApi')]
  0009  GETTABLE  R2 = R2[K5('FilterRewards')]
  0010  NEWTABLE  R3 = {} (1 items)
  0011  MOVE      R4 = R0
  0012  SETLIST   setlist R3[B=1,C=1]
  0013  GETTABUP  R4 = _ENV[K6('ERewardScene')]
  0014  GETTABLE  R4 = R4[K7('Other')]
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  GETTABLE  R1 = R2[K8(1)]
  0017  EQ        if R0 eq K1(nil)   -> -130284
  0018  JMP       (jump)   -> 26
  0019  GETTABUP  R3 = _ENV[K9('UIUtil')]
  0020  GETTABLE  R3 = R3[K10('SetActive')]
  0021  GETTABLE  R4 = R0[K11('m_rewardImg')]
  0022  GETTABLE  R4 = R4[K12('gameObject')]
  0023  LOADBOOL  R5 = false
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  RETURN    return R0..R-1
  0026  GETTABUP  R3 = _ENV[K9('UIUtil')]
  0027  GETTABLE  R3 = R3[K10('SetActive')]
  0028  GETTABLE  R4 = R0[K11('m_rewardImg')]
  0029  GETTABLE  R4 = R4[K12('gameObject')]
  0030  LOADBOOL  R5 = true
  0031  CALL      R3 = call(R3, 0 args, 2 rets)
  0032  GETTABUP  R3 = _ENV[K13('ConfigUtil')]
  0033  GETTABLE  R3 = R3[K14('GetCurrencyImageName')]
  0034  MOVE      R4 = R0
  0035  CALL      R3 = call(R3, 1 args, 1 rets)
  0036  GETTABUP  R4 = _ENV[K15('SpriteUtil')]
  0037  GETTABLE  R4 = R4[K16('SetImage')]
  0038  GETTABLE  R5 = R0[K11('m_rewardImg')]
  0039  MOVE      R6 = R0
  0040  CALL      R4 = call(R4, 0 args, 2 rets)
  0041  GETTABUP  R4 = _ENV[K17('PROPERTY_COUNT')]
  0042  GETTABLE  R4 = R1[R4]
  0043  LT        if R0 lt R4   -> 4145
  0044  JMP       (jump)   -> 55
  0045  GETTABLE  R5 = R0[K18('m_rewardCountGo')]
  0046  SELF      R6 = R5[K10('SetActive')] (self)
  0047  LOADBOOL  R7 = true
  0048  CALL      R5 = call(R5, 0 args, 2 rets)
  0049  GETTABLE  R5 = R0[K19('m_rewardCountText')]
  0050  LOADK     R6 = K21 'x'
  0051  MOVE      R7 = R0
  0052  CONCAT    R6 = concat(R6..R6)
  0053  SETTABLE  R5[K20('text')] = R6
  0054  JMP       (jump)   -> 59
  0055  GETTABLE  R5 = R0[K18('m_rewardCountGo')]
  0056  SELF      R6 = R5[K10('SetActive')] (self)
  0057  LOADBOOL  R7 = false
  0058  CALL      R5 = call(R5, 0 args, 2 rets)
  0059  RETURN    return R0..R-1
; ---------- proto2 [_AddListeners] ----------
  ; fn ?  line 43-51 np=1 va=0 ms=6 code=27 consts=10 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]=nil
  ;   K[2]='UpdateReward'
  ;   K[3]='EventDispatcher'
  ;   K[4]='AddListener'
  ;   K[5]='StateChangedEvent'
  ;   K[6]='_OnStateChangedEvent'
  ;   K[7]='LevelChangedEvent'
  ;   K[8]='RewardApi'
  ;   K[9]='AddFilterRewardEventListener'
  ;   upvals: _ENV
  ;   locals: self(0-27)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 26
  0003  SELF      R2 = R0[K2('UpdateReward')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0006  GETTABLE  R1 = R1[K4('AddListener')]
  0007  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0008  GETTABLE  R2 = R2[K5('StateChangedEvent')]
  0009  MOVE      R3 = R0
  0010  GETTABLE  R4 = R0[K6('_OnStateChangedEvent')]
  0011  LOADBOOL  R5 = true
  0012  CALL      R1 = call(R1, 0 args, 4 rets)
  0013  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0014  GETTABLE  R1 = R1[K4('AddListener')]
  0015  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0016  GETTABLE  R2 = R2[K7('LevelChangedEvent')]
  0017  MOVE      R3 = R0
  0018  GETTABLE  R4 = R0[K6('_OnStateChangedEvent')]
  0019  LOADBOOL  R5 = true
  0020  CALL      R1 = call(R1, 0 args, 4 rets)
  0021  GETTABUP  R1 = _ENV[K8('RewardApi')]
  0022  GETTABLE  R1 = R1[K9('AddFilterRewardEventListener')]
  0023  MOVE      R2 = R0
  0024  GETTABLE  R3 = R0[K2('UpdateReward')]
  0025  CALL      R1 = call(R1, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto3 [_OnStateChangedEvent] ----------
  ; fn ?  line 53-56 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='SyncToModelValue'
  ;   K[1]='UpdateReward'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('SyncToModelValue')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('UpdateReward')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto4 [OnGameModeChanged] ----------
  ; fn ?  line 58-63 np=1 va=0 ms=3 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Board'
  ;   K[5]='SyncToModelValue'
  ;   K[6]='UpdateReward'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Board')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 12
  0008  SELF      R2 = R0[K5('SyncToModelValue')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SELF      R2 = R0[K6('UpdateReward')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto5 [IsInBoardView] ----------
  ; fn ?  line 65-67 np=1 va=0 ms=2 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3)
  0000  LOADBOOL  R1 = true
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [SyncToModelValue] ----------
  ; fn ?  line 69-75 np=1 va=0 ms=3 code=18 consts=9 upvals=0 protos=0
  ;   K[0]='m_value'
  ;   K[1]='GetPropertyNum'
  ;   K[2]='m_level'
  ;   K[3]='m_model'
  ;   K[4]=nil
  ;   K[5]='GetLevel'
  ;   K[6]=0
  ;   K[7]='m_iTextAnimationTo'
  ;   K[8]='UpdateValueText'
  ;   locals: self(0-18)
  0000  SELF      R2 = R0[K1('GetPropertyNum')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SETTABLE  R0[K0('m_value')] = R1
  0003  GETTABLE  R1 = R0[K3('m_model')]
  0004  EQ        if R1 eq K4(nil)   -> -130294
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R1 = R0[K3('m_model')]
  0007  SELF      R2 = R1[K5('GetLevel')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 12
  0011  LOADK     R1 = K6 0
  0012  SETTABLE  R0[K2('m_level')] = R1
  0013  GETTABLE  R1 = R0[K0('m_value')]
  0014  SETTABLE  R0[K7('m_iTextAnimationTo')] = R1
  0015  SELF      R2 = R0[K8('UpdateValueText')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto7 [GetPropertyNum] ----------
  ; fn ?  line 77-83 np=1 va=0 ms=3 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='GetActivityTokenNumber'
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADK     R1 = K2 0
  0004  RETURN    return R1..R0
  0005  GETTABLE  R1 = R0[K0('m_model')]
  0006  SELF      R2 = R1[K3('GetActivityTokenNumber')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R1 = K2 0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto8 [UpdateValueText] ----------
  ; fn ?  line 85-103 np=1 va=0 ms=7 code=60 consts=16 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetLevelRequire'
  ;   K[2]='m_level'
  ;   K[3]=nil
  ;   K[4]='m_valueText'
  ;   K[5]='GetLevelCount'
  ;   K[6]=''
  ;   K[7]='text'
  ;   K[8]='/'
  ;   K[9]='m_slider'
  ;   K[10]='value'
  ;   K[11]=1
  ;   K[12]='math'
  ;   K[13]='floor'
  ;   K[14]='m_value'
  ;   K[15]=0.5
  ;   upvals: _ENV
  ;   locals: self(0-60), maxLevel(12-25), maxScore(19-25)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetLevelRequire')] (self)
  0002  GETTABLE  R3 = R0[K2('m_level')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  EQ        if R0 eq K3(nil)   -> -130295
  0005  JMP       (jump)   -> 28
  0006  GETTABLE  R1 = R0[K4('m_valueText')]
  0007  TEST      if not R1 then   -> -131063
  0008  JMP       (jump)   -> 25
  0009  GETTABLE  R1 = R0[K0('m_model')]
  0010  SELF      R2 = R1[K5('GetLevelCount')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABLE  R2 = R0[K0('m_model')]
  0013  SELF      R3 = R2[K1('GetLevelRequire')] (self)
  0014  MOVE      R4 = R0
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  TEST      if not R2 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  LOADK     R2 = K6 ''
  0019  GETTABLE  R3 = R0[K4('m_valueText')]
  0020  MOVE      R4 = R0
  0021  LOADK     R5 = K8 '/'
  0022  MOVE      R6 = R0
  0023  CONCAT    R4 = concat(R4..R4)
  0024  SETTABLE  R3[K7('text')] = R4
  0025  GETTABLE  R1 = R0[K9('m_slider')]
  0026  SETTABLE  R1[K10('value')] = K11(1)
  0027  RETURN    return R0..R-1
  0028  GETTABLE  R1 = R0[K4('m_valueText')]
  0029  TEST      if not R1 then   -> -131041
  0030  JMP       (jump)   -> 44
  0031  GETTABLE  R1 = R0[K4('m_valueText')]
  0032  GETTABUP  R2 = _ENV[K12('math')]
  0033  GETTABLE  R2 = R2[K13('floor')]
  0034  GETTABLE  R3 = R0[K14('m_value')]
  0035  ADD       R3 = K15(0.5) add R3
  0036  CALL      R2 = call(R2, 1 args, 1 rets)
  0037  LOADK     R3 = K8 '/'
  0038  GETTABLE  R4 = R0[K0('m_model')]
  0039  SELF      R5 = R4[K1('GetLevelRequire')] (self)
  0040  GETTABLE  R6 = R0[K2('m_level')]
  0041  CALL      R4 = call(R4, 1 args, 2 rets)
  0042  CONCAT    R2 = concat(R2..R2)
  0043  SETTABLE  R1[K7('text')] = R2
  0044  GETTABLE  R1 = R0[K9('m_slider')]
  0045  TEST      if not R1 then   -> -131025
  0046  JMP       (jump)   -> 59
  0047  GETTABLE  R1 = R0[K9('m_slider')]
  0048  GETTABUP  R2 = _ENV[K12('math')]
  0049  GETTABLE  R2 = R2[K13('floor')]
  0050  GETTABLE  R3 = R0[K14('m_value')]
  0051  ADD       R3 = K15(0.5) add R3
  0052  CALL      R2 = call(R2, 1 args, 1 rets)
  0053  GETTABLE  R3 = R0[K0('m_model')]
  0054  SELF      R4 = R3[K1('GetLevelRequire')] (self)
  0055  GETTABLE  R5 = R0[K2('m_level')]
  0056  CALL      R3 = call(R3, 1 args, 2 rets)
  0057  DIV       R2 = R3 div R2
  0058  SETTABLE  R1[K10('value')] = R2
  0059  RETURN    return R0..R-1
; ---------- proto9 [UpdateTextAnimation] ----------
  ; fn ?  line 106-108 np=1 va=1 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='PlayAnimation'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('PlayAnimation')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto10 [PlayAnimation] ----------
  ; fn ?  line 110-148 np=1 va=0 ms=9 code=95 consts=17 upvals=1 protos=2
  ;   K[0]='m_valueTween'
  ;   K[1]=nil
  ;   K[2]='m_value'
  ;   K[3]='GetPropertyNum'
  ;   K[4]='m_level'
  ;   K[5]='m_model'
  ;   K[6]='GetLevel'
  ;   K[7]='GetLevelRequire'
  ;   K[8]='UpdateReward'
  ;   K[9]='UpdateValueText'
  ;   K[10]=0
  ;   K[11]=1
  ;   K[12]='math'
  ;   K[13]='min'
  ;   K[14]='DOVirtual'
  ;   K[15]='Float'
  ;   K[16]='OnComplete'
  ;   upvals: _ENV
  ;   locals: self(0-95), valueFrom(27-95), valueTo(29-95), duration(70-95)
  0000  GETTABLE  R1 = R0[K0('m_valueTween')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 14
  0003  GETTABLE  R1 = R0[K2('m_value')]
  0004  SELF      R3 = R0[K3('GetPropertyNum')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 15
  0008  GETTABLE  R1 = R0[K4('m_level')]
  0009  GETTABLE  R2 = R0[K5('m_model')]
  0010  SELF      R3 = R2[K6('GetLevel')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  EQ        if R0 eq R2   -> -130544
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  GETTABLE  R1 = R0[K5('m_model')]
  0016  SELF      R2 = R1[K7('GetLevelRequire')] (self)
  0017  GETTABLE  R3 = R0[K4('m_level')]
  0018  CALL      R1 = call(R1, 1 args, 2 rets)
  0019  EQ        if R0 eq K1(nil)   -> -130282
  0020  JMP       (jump)   -> 26
  0021  SELF      R2 = R0[K8('UpdateReward')] (self)
  0022  CALL      R1 = call(R1, 0 args, 1 rets)
  0023  SELF      R2 = R0[K9('UpdateValueText')] (self)
  0024  CALL      R1 = call(R1, 0 args, 1 rets)
  0025  RETURN    return R0..R-1
  0026  GETTABLE  R1 = R0[K2('m_value')]
  0027  SELF      R3 = R0[K3('GetPropertyNum')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  GETTABLE  R3 = R0[K2('m_value')]
  0030  GETTABLE  R4 = R0[K5('m_model')]
  0031  SELF      R5 = R4[K7('GetLevelRequire')] (self)
  0032  GETTABLE  R6 = R0[K4('m_level')]
  0033  CALL      R4 = call(R4, 1 args, 2 rets)
  0034  EQ        if R0 eq R4   -> -129496
  0035  JMP       (jump)   -> 48
  0036  GETTABLE  R3 = R0[K4('m_level')]
  0037  GETTABLE  R4 = R0[K5('m_model')]
  0038  SELF      R5 = R4[K6('GetLevel')] (self)
  0039  CALL      R4 = call(R4, 1 args, 1 rets)
  0040  LT        if R0 lt R4   -> -129490
  0041  JMP       (jump)   -> 48
  0042  LOADK     R1 = K10 0
  0043  GETTABLE  R3 = R0[K4('m_level')]
  0044  ADD       R3 = K11(1) add R3
  0045  SETTABLE  R0[K4('m_level')] = R3
  0046  SELF      R4 = R0[K8('UpdateReward')] (self)
  0047  CALL      R3 = call(R3, 0 args, 1 rets)
  0048  GETTABLE  R3 = R0[K4('m_level')]
  0049  GETTABLE  R4 = R0[K5('m_model')]
  0050  SELF      R5 = R4[K6('GetLevel')] (self)
  0051  CALL      R4 = call(R4, 1 args, 1 rets)
  0052  LT        if R0 lt R4   -> -129478
  0053  JMP       (jump)   -> 60
  0054  GETTABLE  R3 = R0[K5('m_model')]
  0055  SELF      R4 = R3[K7('GetLevelRequire')] (self)
  0056  GETTABLE  R5 = R0[K4('m_level')]
  0057  CALL      R3 = call(R3, 1 args, 2 rets)
  0058  MOVE      R2 = R0
  0059  JMP       (jump)   -> 69
  0060  GETTABUP  R3 = _ENV[K12('math')]
  0061  GETTABLE  R3 = R3[K13('min')]
  0062  MOVE      R4 = R0
  0063  GETTABLE  R5 = R0[K5('m_model')]
  0064  SELF      R6 = R5[K7('GetLevelRequire')] (self)
  0065  GETTABLE  R7 = R0[K4('m_level')]
  0066  CALL      R5 = call(R5, -1 args, 2 rets)
  0067  CALL      R3 = call(R3, 1 args, -1 rets)
  0068  MOVE      R2 = R0
  0069  LOADK     R3 = K11 1
  0070  GETTABLE  R4 = R0[K5('m_model')]
  0071  SELF      R5 = R4[K7('GetLevelRequire')] (self)
  0072  GETTABLE  R6 = R0[K4('m_level')]
  0073  CALL      R4 = call(R4, 1 args, 2 rets)
  0074  EQ        if R1 eq K1(nil)   -> -128691
  0075  JMP       (jump)   -> 83
  0076  SUB       R4 = R1 sub R2
  0077  GETTABLE  R5 = R0[K5('m_model')]
  0078  SELF      R6 = R5[K7('GetLevelRequire')] (self)
  0079  GETTABLE  R7 = R0[K4('m_level')]
  0080  CALL      R5 = call(R5, 1 args, 2 rets)
  0081  DIV       R4 = R5 div R4
  0082  MUL       R3 = K11(1) mul R4
  0083  GETTABUP  R4 = _ENV[K14('DOVirtual')]
  0084  GETTABLE  R4 = R4[K15('Float')]
  0085  MOVE      R5 = R0
  0086  MOVE      R6 = R0
  0087  MOVE      R7 = R0
  0088  CLOSURE   R8 = closure proto0
  0089  CALL      R4 = call(R4, 1 args, 4 rets)
  0090  SELF      R5 = R4[K16('OnComplete')] (self)
  0091  CLOSURE   R6 = closure proto1
  0092  CALL      R4 = call(R4, 1 args, 2 rets)
  0093  SETTABLE  R0[K0('m_valueTween')] = R4
  0094  RETURN    return R0..R-1
  ; ---------- proto0 [m_valueTween] ----------
    ; fn ?  line 141-144 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
    ;   K[0]='m_value'
    ;   K[1]='UpdateValueText'
    ;   upvals: self
    ;   locals: x(0-5)
    0000  SETTABUP  self[K0('m_value')] = R0
    0001  GETUPVAL  R1 = self
    0002  SELF      R2 = R1[K1('UpdateValueText')] (self)
    0003  CALL      R1 = call(R1, 0 args, 1 rets)
    0004  RETURN    return R0..R-1
  ; ---------- proto1 [m_valueTween] ----------
    ; fn ?  line 144-147 np=0 va=0 ms=2 code=5 consts=3 upvals=1 protos=0
    ;   K[0]='m_valueTween'
    ;   K[1]=nil
    ;   K[2]='PlayAnimation'
    ;   upvals: self
    0000  SETTABUP  self[K0('m_valueTween')] = K1(nil)
    0001  GETUPVAL  R0 = self
    0002  SELF      R1 = R0[K2('PlayAnimation')] (self)
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  RETURN    return R0..R-1
