# ProgressActivity_Model_ProgressActivityModel_965.luac
; fn @ProgressActivityModel.lua  line 0-0 np=0 va=1 ms=7 code=117 consts=45 upvals=1 protos=34
;   K[0]='ProgressActivityModel'
;   K[1]='setmetatable'
;   K[2]='bShouldSkipEndWindowOnLongAway'
;   K[3]=true
;   K[4]='BaseActivityModel'
;   K[5]='__index'
;   K[6]='level'
;   K[7]='score'
;   K[8]='last_level'
;   K[9]='last_score'
;   K[10]='first'
;   K[11]='Init'
;   K[12]='Destroy'
;   K[13]='_DropData'
;   K[14]='_LoadOtherServerConfig'
;   K[15]='GetTokenHelper'
;   K[16]='_OnStateChanged'
;   K[17]='_CalculateState'
;   K[18]='GetResourceLabels'
;   K[19]='GetDefinition'
;   K[20]='AcquireActivityToken'
;   K[21]='GetActivityTokenNumber'
;   K[22]='GetLastDisplayLevel'
;   K[23]='SetLastDisplayLevel'
;   K[24]='GetLastDisplayScore'
;   K[25]='SetLastDisplayScore'
;   K[26]='IsFirstTime'
;   K[27]='SetFirstTimeDone'
;   K[28]='GetLevelConfigs'
;   K[29]='GetLevelCount'
;   K[30]='GetTotalRequire'
;   K[31]='GetLevelRequire'
;   K[32]='GetLevelReward'
;   K[33]='GetLevel'
;   K[34]='CanAddScore'
;   K[35]='HasFinishedAllLevel'
;   K[36]='GetOrderExtraReward'
;   K[37]='_AddScore'
;   K[38]='CanAcquireReward'
;   K[39]='AcquireReward'
;   K[40]='_RecordClaimedRewards'
;   K[41]='GetClaimedRewards'
;   K[42]='CanSkipEndWindowOnLongAway'
;   K[43]='GetBoardEntryShowConfig'
;   K[44]='GetMapEntryShowConfig'
;   upvals: _ENV
;   locals: LevelKey(10-117), ScoreKey(11-117), LastDisplayLevelKey(12-117), LastDisplayScoreKey(13-117), FirstTimeKey(14-117)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('bShouldSkipEndWindowOnLongAway')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseActivityModel')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('ProgressActivityModel')] = R0
0006  GETTABUP  R0 = _ENV[K0('ProgressActivityModel')]
0007  GETTABUP  R1 = _ENV[K0('ProgressActivityModel')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  LOADK     R0 = K6 'level'
0010  LOADK     R1 = K7 'score'
0011  LOADK     R2 = K8 'last_level'
0012  LOADK     R3 = K9 'last_score'
0013  LOADK     R4 = K10 'first'
0014  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0015  CLOSURE   R6 = closure proto0
0016  SETTABLE  R5[K11('Init')] = R6
0017  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0018  CLOSURE   R6 = closure proto1
0019  SETTABLE  R5[K12('Destroy')] = R6
0020  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0021  CLOSURE   R6 = closure proto2
0022  SETTABLE  R5[K13('_DropData')] = R6
0023  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0024  CLOSURE   R6 = closure proto3
0025  SETTABLE  R5[K14('_LoadOtherServerConfig')] = R6
0026  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0027  CLOSURE   R6 = closure proto4
0028  SETTABLE  R5[K15('GetTokenHelper')] = R6
0029  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0030  CLOSURE   R6 = closure proto5
0031  SETTABLE  R5[K16('_OnStateChanged')] = R6
0032  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0033  CLOSURE   R6 = closure proto6
0034  SETTABLE  R5[K17('_CalculateState')] = R6
0035  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0036  CLOSURE   R6 = closure proto7
0037  SETTABLE  R5[K18('GetResourceLabels')] = R6
0038  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0039  CLOSURE   R6 = closure proto8
0040  SETTABLE  R5[K19('GetDefinition')] = R6
0041  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0042  CLOSURE   R6 = closure proto9
0043  SETTABLE  R5[K20('AcquireActivityToken')] = R6
0044  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0045  CLOSURE   R6 = closure proto10
0046  SETTABLE  R5[K21('GetActivityTokenNumber')] = R6
0047  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0048  CLOSURE   R6 = closure proto11
0049  SETTABLE  R5[K22('GetLastDisplayLevel')] = R6
0050  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0051  CLOSURE   R6 = closure proto12
0052  SETTABLE  R5[K23('SetLastDisplayLevel')] = R6
0053  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0054  CLOSURE   R6 = closure proto13
0055  SETTABLE  R5[K24('GetLastDisplayScore')] = R6
0056  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0057  CLOSURE   R6 = closure proto14
0058  SETTABLE  R5[K25('SetLastDisplayScore')] = R6
0059  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0060  CLOSURE   R6 = closure proto15
0061  SETTABLE  R5[K26('IsFirstTime')] = R6
0062  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0063  CLOSURE   R6 = closure proto16
0064  SETTABLE  R5[K27('SetFirstTimeDone')] = R6
0065  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0066  CLOSURE   R6 = closure proto17
0067  SETTABLE  R5[K28('GetLevelConfigs')] = R6
0068  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0069  CLOSURE   R6 = closure proto18
0070  SETTABLE  R5[K29('GetLevelCount')] = R6
0071  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0072  CLOSURE   R6 = closure proto19
0073  SETTABLE  R5[K30('GetTotalRequire')] = R6
0074  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0075  CLOSURE   R6 = closure proto20
0076  SETTABLE  R5[K31('GetLevelRequire')] = R6
0077  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0078  CLOSURE   R6 = closure proto21
0079  SETTABLE  R5[K32('GetLevelReward')] = R6
0080  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0081  CLOSURE   R6 = closure proto22
0082  SETTABLE  R5[K33('GetLevel')] = R6
0083  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0084  CLOSURE   R6 = closure proto23
0085  SETTABLE  R5[K34('CanAddScore')] = R6
0086  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0087  CLOSURE   R6 = closure proto24
0088  SETTABLE  R5[K35('HasFinishedAllLevel')] = R6
0089  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0090  CLOSURE   R6 = closure proto25
0091  SETTABLE  R5[K36('GetOrderExtraReward')] = R6
0092  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0093  CLOSURE   R6 = closure proto26
0094  SETTABLE  R5[K37('_AddScore')] = R6
0095  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0096  CLOSURE   R6 = closure proto27
0097  SETTABLE  R5[K38('CanAcquireReward')] = R6
0098  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0099  CLOSURE   R6 = closure proto28
0100  SETTABLE  R5[K39('AcquireReward')] = R6
0101  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0102  CLOSURE   R6 = closure proto29
0103  SETTABLE  R5[K40('_RecordClaimedRewards')] = R6
0104  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0105  CLOSURE   R6 = closure proto30
0106  SETTABLE  R5[K41('GetClaimedRewards')] = R6
0107  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0108  CLOSURE   R6 = closure proto31
0109  SETTABLE  R5[K42('CanSkipEndWindowOnLongAway')] = R6
0110  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0111  CLOSURE   R6 = closure proto32
0112  SETTABLE  R5[K43('GetBoardEntryShowConfig')] = R6
0113  GETTABUP  R5 = _ENV[K0('ProgressActivityModel')]
0114  CLOSURE   R6 = closure proto33
0115  SETTABLE  R5[K44('GetMapEntryShowConfig')] = R6
0116  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 16-25 np=3 va=0 ms=7 code=22 consts=11 upvals=1 protos=0
  ;   K[0]='m_definition'
  ;   K[1]='ProgressActivityDefinition'
  ;   K[2]='m_tokenHelper'
  ;   K[3]='ActivityTokenHelper'
  ;   K[4]='Create'
  ;   K[5]='EFlyElementLabelStyle'
  ;   K[6]='Default'
  ;   K[7]='m_allLevelConfigs'
  ;   K[8]='m_mapClaimedRewards'
  ;   K[9]='BaseActivityModel'
  ;   K[10]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-22), activityType(0-22), virtualDBTable(0-22)
  0000  GETTABUP  R3 = _ENV[K1('ProgressActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_definition')] = R3
  0003  GETTABUP  R3 = _ENV[K3('ActivityTokenHelper')]
  0004  GETTABLE  R3 = R3[K4('Create')]
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  GETTABUP  R6 = _ENV[K5('EFlyElementLabelStyle')]
  0008  GETTABLE  R6 = R6[K6('Default')]
  0009  CALL      R3 = call(R3, 1 args, 3 rets)
  0010  SETTABLE  R0[K2('m_tokenHelper')] = R3
  0011  NEWTABLE  R3 = {} (0 items)
  0012  SETTABLE  R0[K7('m_allLevelConfigs')] = R3
  0013  NEWTABLE  R3 = {} (0 items)
  0014  SETTABLE  R0[K8('m_mapClaimedRewards')] = R3
  0015  GETTABUP  R3 = _ENV[K9('BaseActivityModel')]
  0016  GETTABLE  R3 = R3[K10('Init')]
  0017  MOVE      R4 = R0
  0018  MOVE      R5 = R0
  0019  MOVE      R6 = R0
  0020  CALL      R3 = call(R3, 0 args, 3 rets)
  0021  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 27-30 np=1 va=0 ms=3 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='Destroy'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_tokenHelper')]
  0001  SELF      R2 = R1[K1('Destroy')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0004  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0005  MOVE      R2 = R0
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto2 [_DropData] ----------
  ; fn ?  line 32-36 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapClaimedRewards'
  ;   K[1]='BaseActivityModel'
  ;   K[2]='_DropData'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapClaimedRewards')] = R1
  0002  GETTABUP  R1 = _ENV[K1('BaseActivityModel')]
  0003  GETTABLE  R1 = R1[K2('_DropData')]
  0004  MOVE      R2 = R0
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto3 [_LoadOtherServerConfig] ----------
  ; fn ?  line 38-60 np=2 va=0 ms=12 code=51 consts=19 upvals=1 protos=0
  ;   K[0]='progressRewards'
  ;   K[1]='Table'
  ;   K[2]='Empty'
  ;   K[3]='m_allLevelConfigs'
  ;   K[4]='ipairs'
  ;   K[5]='Score'
  ;   K[6]='score'
  ;   K[7]='Level'
  ;   K[8]='level'
  ;   K[9]='Rewards'
  ;   K[10]='rewards'
  ;   K[11]=1
  ;   K[12]='RewardApi'
  ;   K[13]='CryptOneReward'
  ;   K[14]='m_tokenHelper'
  ;   K[15]='LoadConfig'
  ;   K[16]='Log'
  ;   K[17]='Error'
  ;   K[18]='进度条活动奖励配置错误'
  ;   upvals: _ENV
  ;   locals: self(0-51), config(0-51), rewardCfg(5-51), bRewardError(8-51), (for generator)(11-40), (for state)(11-40), (for control)(11-40), _(12-38), lConfig(12-38), levelConfigItem(13-38)
  0000  GETTABLE  R2 = R1[K0('progressRewards')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 5
  0003  GETTABUP  R2 = _ENV[K1('Table')]
  0004  GETTABLE  R2 = R2[K2('Empty')]
  0005  NEWTABLE  R3 = {} (0 items)
  0006  SETTABLE  R0[K3('m_allLevelConfigs')] = R3
  0007  LOADBOOL  R3 = false
  0008  GETTABUP  R4 = _ENV[K4('ipairs')]
  0009  MOVE      R5 = R0
  0010  CALL      R4 = call(R4, 3 args, 1 rets)
  0011  JMP       (jump)   -> 38
  0012  NEWTABLE  R9 = {} (0 items)
  0013  GETTABLE  R10 = R8[K6('score')]
  0014  SETTABLE  R9[K5('Score')] = R10
  0015  GETTABLE  R10 = R8[K8('level')]
  0016  SETTABLE  R9[K7('Level')] = R10
  0017  GETTABLE  R10 = R8[K10('rewards')]
  0018  TEST      if not R10 then   -> -131052
  0019  JMP       (jump)   -> 22
  0020  GETTABLE  R10 = R8[K10('rewards')]
  0021  GETTABLE  R10 = R10[K11(1)]
  0022  SETTABLE  R9[K9('Rewards')] = R10
  0023  GETTABLE  R10 = R8[K10('rewards')]
  0024  TEST      if not R10 then   -> -131046
  0025  JMP       (jump)   -> 30
  0026  GETTABLE  R10 = R8[K10('rewards')]
  0027  LEN       R10 = len R0
  0028  LT        if R0 lt R10   -> 5672
  0029  JMP       (jump)   -> 31
  0030  LOADBOOL  R3 = true
  0031  GETTABUP  R10 = _ENV[K12('RewardApi')]
  0032  GETTABLE  R10 = R10[K13('CryptOneReward')]
  0033  GETTABLE  R11 = R9[K9('Rewards')]
  0034  CALL      R10 = call(R10, 0 args, 1 rets)
  0035  GETTABLE  R10 = R0[K3('m_allLevelConfigs')]
  0036  GETTABLE  R11 = R8[K8('level')]
  0037  SETTABLE  R10[R11] = R9
  0038  TFORCALL  tforcall R4
  0039  TFORLOOP  tforloop R6(sBx=-28)   -> 12
  0040  GETTABLE  R4 = R0[K14('m_tokenHelper')]
  0041  SELF      R5 = R4[K15('LoadConfig')] (self)
  0042  MOVE      R6 = R0
  0043  CALL      R4 = call(R4, 0 args, 2 rets)
  0044  TEST      if not R3 then   -> -131026
  0045  JMP       (jump)   -> 50
  0046  GETTABUP  R4 = _ENV[K16('Log')]
  0047  GETTABLE  R4 = R4[K17('Error')]
  0048  LOADK     R5 = K18 '进度条活动奖励配置错误'
  0049  CALL      R4 = call(R4, 0 args, 1 rets)
  0050  RETURN    return R0..R-1
; ---------- proto4 [GetTokenHelper] ----------
  ; fn ?  line 62-64 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_tokenHelper'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_tokenHelper')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [_OnStateChanged] ----------
  ; fn ?  line 66-70 np=1 va=0 ms=5 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='EventDispatcher'
  ;   K[3]='DispatchEvent'
  ;   K[4]='ProgressActivityDefinition'
  ;   K[5]='GetType'
  ;   K[6]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_OnStateChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('DispatchEvent')]
  0006  GETTABUP  R2 = _ENV[K4('ProgressActivityDefinition')]
  0007  SELF      R4 = R0[K5('GetType')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABLE  R2 = R2[R3]
  0010  GETTABLE  R2 = R2[K6('StateChangedEvent')]
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto6 [_CalculateState] ----------
  ; fn ?  line 72-92 np=2 va=0 ms=7 code=71 consts=17 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='_CanStartActivity'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='GetEndTime'
  ;   K[9]='_IsExistConditionSatisfied'
  ;   K[10]='sTime'
  ;   K[11]='Preparing'
  ;   K[12]='HasFinishedAllLevel'
  ;   K[13]='Started'
  ;   K[14]='rTime'
  ;   K[15]='Ended'
  ;   K[16]=-1
  ;   upvals: _ENV
  ;   locals: self(0-71), bIgnoreCondition(0-71), serverTime(17-71), bExistSatisfied(18-71), totalEndTime(21-71)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 9
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 13
  0005  SELF      R3 = R0[K2('_CanStartActivity')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 13
  0009  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0010  GETTABLE  R2 = R2[K4('Released')]
  0011  LOADNIL   R3..R3 = nil
  0012  RETURN    return R2..R1
  0013  GETTABUP  R2 = _ENV[K5('GM')]
  0014  GETTABLE  R2 = R2[K6('GameModel')]
  0015  SELF      R3 = R2[K7('GetServerTime')] (self)
  0016  CALL      R2 = call(R2, 1 args, 1 rets)
  0017  LOADBOOL  R3 = true
  0018  SELF      R5 = R0[K8('GetEndTime')] (self)
  0019  LOADBOOL  R6 = true
  0020  CALL      R4 = call(R4, 1 args, 2 rets)
  0021  TEST      if not R1 then   -> -131048
  0022  JMP       (jump)   -> 27
  0023  SELF      R6 = R0[K9('_IsExistConditionSatisfied')] (self)
  0024  CALL      R5 = call(R5, 2 args, 1 rets)
  0025  MOVE      R4 = R0
  0026  MOVE      R3 = R0
  0027  TEST      if not R3 then   -> -131043
  0028  JMP       (jump)   -> 39
  0029  GETTABLE  R5 = R0[K0('m_config')]
  0030  GETTABLE  R5 = R5[K10('sTime')]
  0031  LT        if R0 lt R5   -> -130010
  0032  JMP       (jump)   -> 39
  0033  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0034  GETTABLE  R5 = R5[K11('Preparing')]
  0035  GETTABLE  R6 = R0[K0('m_config')]
  0036  GETTABLE  R6 = R6[K10('sTime')]
  0037  RETURN    return R5..R4
  0038  JMP       (jump)   -> 70
  0039  TEST      if not R3 then   -> -131031
  0040  JMP       (jump)   -> 52
  0041  LT        if R0 lt R4   -> -130001
  0042  JMP       (jump)   -> 52
  0043  SELF      R6 = R0[K12('HasFinishedAllLevel')] (self)
  0044  CALL      R5 = call(R5, 1 args, 1 rets)
  0045  TEST      if not R5 then   -> -131024
  0046  JMP       (jump)   -> 52
  0047  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0048  GETTABLE  R5 = R5[K13('Started')]
  0049  MOVE      R6 = R0
  0050  RETURN    return R5..R4
  0051  JMP       (jump)   -> 70
  0052  GETTABLE  R5 = R0[K0('m_config')]
  0053  GETTABLE  R5 = R5[K14('rTime')]
  0054  TEST      if not R5 then   -> -131016
  0055  JMP       (jump)   -> 66
  0056  GETTABLE  R5 = R0[K0('m_config')]
  0057  GETTABLE  R5 = R5[K14('rTime')]
  0058  LT        if R0 lt R5   -> -129983
  0059  JMP       (jump)   -> 66
  0060  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0061  GETTABLE  R5 = R5[K15('Ended')]
  0062  GETTABLE  R6 = R0[K0('m_config')]
  0063  GETTABLE  R6 = R6[K14('rTime')]
  0064  RETURN    return R5..R4
  0065  JMP       (jump)   -> 70
  0066  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0067  GETTABLE  R5 = R5[K4('Released')]
  0068  LOADK     R6 = K16 -1
  0069  RETURN    return R5..R4
  0070  RETURN    return R0..R-1
; ---------- proto7 [GetResourceLabels] ----------
  ; fn ?  line 94-96 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_definition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_definition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto8 [GetDefinition] ----------
  ; fn ?  line 98-100 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_definition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_definition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto9 [AcquireActivityToken] ----------
  ; fn ?  line 104-110 np=2 va=0 ms=5 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='CanAddScore'
  ;   K[1]='_AddScore'
  ;   locals: self(0-9), num(0-9)
  0000  SELF      R3 = R0[K0('CanAddScore')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R3 = R0[K1('_AddScore')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto10 [GetActivityTokenNumber] ----------
  ; fn ?  line 113-115 np=1 va=0 ms=5 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   K[3]=0
  ;   upvals: ScoreKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETUPVAL  R3 = ScoreKey
  0003  LOADK     R4 = K2 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto11 [GetLastDisplayLevel] ----------
  ; fn ?  line 117-119 np=1 va=0 ms=5 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   K[3]=1
  ;   upvals: LastDisplayLevelKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETUPVAL  R3 = LastDisplayLevelKey
  0003  LOADK     R4 = K2 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto12 [SetLastDisplayLevel] ----------
  ; fn ?  line 121-123 np=2 va=0 ms=7 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='value'
  ;   upvals: LastDisplayLevelKey
  ;   locals: self(0-7), score(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETUPVAL  R4 = LastDisplayLevelKey
  0003  LOADK     R5 = K2 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto13 [GetLastDisplayScore] ----------
  ; fn ?  line 125-127 np=1 va=0 ms=5 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   K[3]=0
  ;   upvals: LastDisplayScoreKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETUPVAL  R3 = LastDisplayScoreKey
  0003  LOADK     R4 = K2 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto14 [SetLastDisplayScore] ----------
  ; fn ?  line 129-131 np=2 va=0 ms=7 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='value'
  ;   upvals: LastDisplayScoreKey
  ;   locals: self(0-7), score(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETUPVAL  R4 = LastDisplayScoreKey
  0003  LOADK     R5 = K2 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto15 [IsFirstTime] ----------
  ; fn ?  line 133-135 np=1 va=0 ms=5 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   K[3]='1'
  ;   upvals: FirstTimeKey
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETUPVAL  R3 = FirstTimeKey
  0003  LOADK     R4 = K2 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R0 eq K3('1')   -> -130294
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto16 [SetFirstTimeDone] ----------
  ; fn ?  line 137-139 np=1 va=0 ms=6 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='value'
  ;   K[3]='1'
  ;   upvals: FirstTimeKey
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETUPVAL  R3 = FirstTimeKey
  0003  LOADK     R4 = K2 'value'
  0004  LOADK     R5 = K3 '1'
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto17 [GetLevelConfigs] ----------
  ; fn ?  line 143-145 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_allLevelConfigs')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto18 [GetLevelCount] ----------
  ; fn ?  line 147-149 np=1 va=0 ms=2 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_allLevelConfigs')]
  0001  LEN       R1 = len R0
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto19 [GetTotalRequire] ----------
  ; fn ?  line 151-157 np=1 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_allLevelConfigs'
  ;   K[3]='Score'
  ;   upvals: _ENV
  ;   locals: self(0-11), total(1-11), (for generator)(4-9), (for state)(4-9), (for control)(4-9), _(5-7), config(5-7)
  0000  LOADK     R1 = K0 0
  0001  GETTABUP  R2 = _ENV[K1('ipairs')]
  0002  GETTABLE  R3 = R0[K2('m_allLevelConfigs')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 7
  0005  GETTABLE  R7 = R6[K3('Score')]
  0006  ADD       R1 = R7 add R1
  0007  TFORCALL  tforcall R2
  0008  TFORLOOP  tforloop R4(sBx=-4)   -> 5
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto20 [GetLevelRequire] ----------
  ; fn ?  line 160-162 np=2 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   K[1]='Score'
  ;   locals: self(0-9), level(0-9)
  0000  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0005  GETTABLE  R2 = R2[R1]
  0006  GETTABLE  R2 = R2[K1('Score')]
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto21 [GetLevelReward] ----------
  ; fn ?  line 165-167 np=2 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   K[1]='Rewards'
  ;   locals: self(0-9), level(0-9)
  0000  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0005  GETTABLE  R2 = R2[R1]
  0006  GETTABLE  R2 = R2[K1('Rewards')]
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto22 [GetLevel] ----------
  ; fn ?  line 170-172 np=1 va=0 ms=5 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='value'
  ;   K[3]=1
  ;   upvals: LevelKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETUPVAL  R3 = LevelKey
  0003  LOADK     R4 = K2 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto23 [CanAddScore] ----------
  ; fn ?  line 176-182 np=1 va=0 ms=3 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='HasFinishedAllLevel'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R1 = false
  0007  RETURN    return R1..R0
  0008  SELF      R2 = R0[K3('HasFinishedAllLevel')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto24 [HasFinishedAllLevel] ----------
  ; fn ?  line 184-187 np=1 va=0 ms=3 code=10 consts=2 upvals=0 protos=0
  ;   K[0]='GetLevel'
  ;   K[1]='m_allLevelConfigs'
  ;   locals: self(0-10), level(2-10)
  0000  SELF      R2 = R0[K0('GetLevel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_allLevelConfigs')]
  0003  LEN       R2 = len R0
  0004  LT        if R1 lt R1   -> -130041
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R2 = false
  0007  LOADBOOL  R2 = true
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto25 [GetOrderExtraReward] ----------
  ; fn ?  line 189-194 np=4 va=0 ms=8 code=16 consts=5 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='IsAcquireTypeValid'
  ;   K[2]='EActTokenAcquireType'
  ;   K[3]='FinishOrder'
  ;   K[4]='GetOrderExtraReward'
  ;   upvals: _ENV
  ;   locals: self(0-16), orderScore(0-16), coinNum(0-16), orderId(0-16)
  0000  GETTABLE  R4 = R0[K0('m_tokenHelper')]
  0001  SELF      R5 = R4[K1('IsAcquireTypeValid')] (self)
  0002  GETTABUP  R6 = _ENV[K2('EActTokenAcquireType')]
  0003  GETTABLE  R6 = R6[K3('FinishOrder')]
  0004  CALL      R4 = call(R4, 1 args, 2 rets)
  0005  TEST      if not R4 then   -> -131065
  0006  JMP       (jump)   -> 13
  0007  GETTABLE  R4 = R0[K0('m_tokenHelper')]
  0008  SELF      R5 = R4[K4('GetOrderExtraReward')] (self)
  0009  MOVE      R6 = R0
  0010  MOVE      R7 = R0
  0011  TAILCALL  tailcall(R4, 0)
  0012  RETURN    return R4..R3
  0013  LOADNIL   R4..R4 = nil
  0014  RETURN    return R4..R3
  0015  RETURN    return R0..R-1
; ---------- proto26 [_AddScore] ----------
  ; fn ?  line 197-209 np=2 va=0 ms=9 code=33 consts=20 upvals=2 protos=0
  ;   K[0]='LogActivity'
  ;   K[1]='EBIType'
  ;   K[2]='ActivityAddScore'
  ;   K[3]='GetLevel'
  ;   K[4]='GetActivityTokenNumber'
  ;   K[5]='m_dbTable'
  ;   K[6]='Set'
  ;   K[7]='value'
  ;   K[8]='GM'
  ;   K[9]='BIManager'
  ;   K[10]='LogAction'
  ;   K[11]='m_definition'
  ;   K[12]='GetScoreBIType'
  ;   K[13]='score'
  ;   K[14]='level'
  ;   K[15]='EventDispatcher'
  ;   K[16]='DispatchEvent'
  ;   K[17]='ProgressActivityDefinition'
  ;   K[18]='GetType'
  ;   K[19]='ScoreChangedEvent'
  ;   upvals: _ENV, ScoreKey
  ;   locals: self(0-33), addScore(0-33), level(7-33), score(9-33)
  0000  SELF      R3 = R0[K0('LogActivity')] (self)
  0001  GETTABUP  R4 = _ENV[K1('EBIType')]
  0002  GETTABLE  R4 = R4[K2('ActivityAddScore')]
  0003  MOVE      R5 = R0
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  SELF      R3 = R0[K3('GetLevel')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SELF      R4 = R0[K4('GetActivityTokenNumber')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABLE  R4 = R0[K5('m_dbTable')]
  0010  SELF      R5 = R4[K6('Set')] (self)
  0011  GETUPVAL  R6 = _ENV
  0012  LOADK     R7 = K7 'value'
  0013  ADD       R8 = R1 add R3
  0014  CALL      R4 = call(R4, 0 args, 4 rets)
  0015  GETTABUP  R4 = _ENV[K8('GM')]
  0016  GETTABLE  R4 = R4[K9('BIManager')]
  0017  SELF      R5 = R4[K10('LogAction')] (self)
  0018  GETTABLE  R6 = R0[K11('m_definition')]
  0019  GETTABLE  R6 = R6[K12('GetScoreBIType')]
  0020  NEWTABLE  R7 = {} (0 items)
  0021  SETTABLE  R7[K13('score')] = R1
  0022  SETTABLE  R7[K14('level')] = R2
  0023  CALL      R4 = call(R4, 0 args, 3 rets)
  0024  GETTABUP  R4 = _ENV[K15('EventDispatcher')]
  0025  GETTABLE  R4 = R4[K16('DispatchEvent')]
  0026  GETTABUP  R5 = _ENV[K17('ProgressActivityDefinition')]
  0027  SELF      R7 = R0[K18('GetType')] (self)
  0028  CALL      R6 = call(R6, 1 args, 1 rets)
  0029  GETTABLE  R5 = R5[R6]
  0030  GETTABLE  R5 = R5[K19('ScoreChangedEvent')]
  0031  CALL      R4 = call(R4, 0 args, 1 rets)
  0032  RETURN    return R0..R-1
; ---------- proto27 [CanAcquireReward] ----------
  ; fn ?  line 211-223 np=1 va=0 ms=5 code=30 consts=9 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='Ended'
  ;   K[4]='GetLevel'
  ;   K[5]='m_allLevelConfigs'
  ;   K[6]='GetActivityTokenNumber'
  ;   K[7]=nil
  ;   K[8]='Score'
  ;   upvals: _ENV
  ;   locals: self(0-30), level(16-30), levelConfig(18-30), score(20-30)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 14
  0006  SELF      R2 = R0[K0('GetState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0009  GETTABLE  R2 = R2[K3('Ended')]
  0010  EQ        if R1 eq R2   -> -130546
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R1 = false
  0013  RETURN    return R1..R0
  0014  SELF      R2 = R0[K4('GetLevel')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  GETTABLE  R2 = R0[K5('m_allLevelConfigs')]
  0017  GETTABLE  R2 = R2[R1]
  0018  SELF      R4 = R0[K6('GetActivityTokenNumber')] (self)
  0019  CALL      R3 = call(R3, 1 args, 1 rets)
  0020  EQ        if R1 eq K7(nil)   -> -129763
  0021  JMP       (jump)   -> 27
  0022  GETTABLE  R4 = R2[K8('Score')]
  0023  LE        if R0 le R3   -> -128996
  0024  JMP       (jump)   -> 27
  0025  LOADBOOL  R4 = true
  0026  RETURN    return R4..R3
  0027  LOADBOOL  R4 = false
  0028  RETURN    return R4..R3
  0029  RETURN    return R0..R-1
; ---------- proto28 [AcquireReward] ----------
  ; fn ?  line 225-261 np=1 va=0 ms=12 code=106 consts=42 upvals=3 protos=0
  ;   K[0]='CanAcquireReward'
  ;   K[1]='GetLevel'
  ;   K[2]='m_allLevelConfigs'
  ;   K[3]='GetActivityTokenNumber'
  ;   K[4]=nil
  ;   K[5]='Score'
  ;   K[6]='Table'
  ;   K[7]='ListAppend'
  ;   K[8]='Rewards'
  ;   K[9]='RewardApi'
  ;   K[10]='AcquireRewardsLogic'
  ;   K[11]='EPropertySource'
  ;   K[12]='Give'
  ;   K[13]='m_definition'
  ;   K[14]='GetRewardsBIType'
  ;   K[15]='ERewardScene'
  ;   K[16]='Other'
  ;   K[17]='EGameMode'
  ;   K[18]='Board'
  ;   K[19]='CacheItemType'
  ;   K[20]='Stack'
  ;   K[21]='_RecordClaimedRewards'
  ;   K[22]='LogActivity'
  ;   K[23]='EBIType'
  ;   K[24]='ActivityRankUp'
  ;   K[25]='ActivityGetRewards'
  ;   K[26]='level'
  ;   K[27]='GM'
  ;   K[28]='BIManager'
  ;   K[29]='LogAction'
  ;   K[30]=1
  ;   K[31]='m_dbTable'
  ;   K[32]='Set'
  ;   K[33]='value'
  ;   K[34]='EventDispatcher'
  ;   K[35]='DispatchEvent'
  ;   K[36]='ProgressActivityDefinition'
  ;   K[37]='GetType'
  ;   K[38]='ScoreChangedEvent'
  ;   K[39]='LevelChangedEvent'
  ;   K[40]='EEventType'
  ;   K[41]='RewardValidChanged'
  ;   upvals: _ENV, LevelKey, ScoreKey
  ;   locals: self(0-106), level(8-106), levelConfig(10-106), rewards(11-106), score(13-106), claimedRewards(41-69), action(57-69)
  0000  SELF      R2 = R0[K0('CanAcquireReward')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('GetLevel')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABLE  R2 = R0[K2('m_allLevelConfigs')]
  0009  GETTABLE  R2 = R2[R1]
  0010  NEWTABLE  R3 = {} (0 items)
  0011  SELF      R5 = R0[K3('GetActivityTokenNumber')] (self)
  0012  CALL      R4 = call(R4, 1 args, 1 rets)
  0013  EQ        if R1 eq K4(nil)   -> -129773
  0014  JMP       (jump)   -> 70
  0015  GETTABLE  R5 = R2[K5('Score')]
  0016  LE        if R0 le R4   -> -128490
  0017  JMP       (jump)   -> 70
  0018  GETTABUP  R5 = _ENV[K6('Table')]
  0019  GETTABLE  R5 = R5[K7('ListAppend')]
  0020  MOVE      R6 = R0
  0021  NEWTABLE  R7 = {} (1 items)
  0022  GETTABLE  R8 = R2[K8('Rewards')]
  0023  SETLIST   setlist R7[B=1,C=1]
  0024  CALL      R5 = call(R5, 0 args, 2 rets)
  0025  GETTABUP  R5 = _ENV[K9('RewardApi')]
  0026  GETTABLE  R5 = R5[K10('AcquireRewardsLogic')]
  0027  NEWTABLE  R6 = {} (1 items)
  0028  GETTABLE  R7 = R2[K8('Rewards')]
  0029  SETLIST   setlist R6[B=1,C=1]
  0030  GETTABUP  R7 = _ENV[K11('EPropertySource')]
  0031  GETTABLE  R7 = R7[K12('Give')]
  0032  GETTABLE  R8 = R0[K13('m_definition')]
  0033  GETTABLE  R8 = R8[K14('GetRewardsBIType')]
  0034  GETTABUP  R9 = _ENV[K15('ERewardScene')]
  0035  GETTABLE  R9 = R9[K16('Other')]
  0036  GETTABUP  R10 = _ENV[K17('EGameMode')]
  0037  GETTABLE  R10 = R10[K18('Board')]
  0038  GETTABUP  R11 = _ENV[K19('CacheItemType')]
  0039  GETTABLE  R11 = R11[K20('Stack')]
  0040  CALL      R5 = call(R5, 1 args, 6 rets)
  0041  SELF      R7 = R0[K21('_RecordClaimedRewards')] (self)
  0042  MOVE      R8 = R0
  0043  MOVE      R9 = R0
  0044  CALL      R6 = call(R6, 0 args, 3 rets)
  0045  SELF      R7 = R0[K22('LogActivity')] (self)
  0046  GETTABUP  R8 = _ENV[K23('EBIType')]
  0047  GETTABLE  R8 = R8[K24('ActivityRankUp')]
  0048  MOVE      R9 = R0
  0049  CALL      R6 = call(R6, 0 args, 3 rets)
  0050  SELF      R7 = R0[K22('LogActivity')] (self)
  0051  GETTABUP  R8 = _ENV[K23('EBIType')]
  0052  GETTABLE  R8 = R8[K25('ActivityGetRewards')]
  0053  MOVE      R9 = R0
  0054  CALL      R6 = call(R6, 0 args, 3 rets)
  0055  NEWTABLE  R6 = {} (0 items)
  0056  SETTABLE  R6[K26('level')] = R1
  0057  GETTABUP  R7 = _ENV[K27('GM')]
  0058  GETTABLE  R7 = R7[K28('BIManager')]
  0059  SELF      R8 = R7[K29('LogAction')] (self)
  0060  GETTABLE  R9 = R0[K13('m_definition')]
  0061  GETTABLE  R9 = R9[K14('GetRewardsBIType')]
  0062  MOVE      R10 = R0
  0063  CALL      R7 = call(R7, 0 args, 3 rets)
  0064  GETTABLE  R7 = R2[K5('Score')]
  0065  SUB       R4 = R7 sub R4
  0066  ADD       R1 = K30(1) add R1
  0067  GETTABLE  R7 = R0[K2('m_allLevelConfigs')]
  0068  GETTABLE  R2 = R7[R1]
  0069  JMP       (jump)   -> 13
  0070  GETTABLE  R5 = R0[K31('m_dbTable')]
  0071  SELF      R6 = R5[K32('Set')] (self)
  0072  GETUPVAL  R7 = _ENV
  0073  LOADK     R8 = K33 'value'
  0074  MOVE      R9 = R0
  0075  CALL      R5 = call(R5, 0 args, 4 rets)
  0076  GETTABLE  R5 = R0[K31('m_dbTable')]
  0077  SELF      R6 = R5[K32('Set')] (self)
  0078  GETUPVAL  R7 = _ENV
  0079  LOADK     R8 = K33 'value'
  0080  MOVE      R9 = R0
  0081  CALL      R5 = call(R5, 0 args, 4 rets)
  0082  GETTABUP  R5 = _ENV[K34('EventDispatcher')]
  0083  GETTABLE  R5 = R5[K35('DispatchEvent')]
  0084  GETTABUP  R6 = _ENV[K36('ProgressActivityDefinition')]
  0085  SELF      R8 = R0[K37('GetType')] (self)
  0086  CALL      R7 = call(R7, 1 args, 1 rets)
  0087  GETTABLE  R6 = R6[R7]
  0088  GETTABLE  R6 = R6[K38('ScoreChangedEvent')]
  0089  CALL      R5 = call(R5, 0 args, 1 rets)
  0090  GETTABUP  R5 = _ENV[K34('EventDispatcher')]
  0091  GETTABLE  R5 = R5[K35('DispatchEvent')]
  0092  GETTABUP  R6 = _ENV[K36('ProgressActivityDefinition')]
  0093  SELF      R8 = R0[K37('GetType')] (self)
  0094  CALL      R7 = call(R7, 1 args, 1 rets)
  0095  GETTABLE  R6 = R6[R7]
  0096  GETTABLE  R6 = R6[K39('LevelChangedEvent')]
  0097  CALL      R5 = call(R5, 0 args, 1 rets)
  0098  EQ        if R0 eq K4(nil)   -> -129688
  0099  JMP       (jump)   -> 105
  0100  GETTABUP  R5 = _ENV[K34('EventDispatcher')]
  0101  GETTABLE  R5 = R5[K35('DispatchEvent')]
  0102  GETTABUP  R6 = _ENV[K40('EEventType')]
  0103  GETTABLE  R6 = R6[K41('RewardValidChanged')]
  0104  CALL      R5 = call(R5, 0 args, 1 rets)
  0105  RETURN    return R0..R-1
; ---------- proto29 [_RecordClaimedRewards] ----------
  ; fn ?  line 264-266 np=3 va=0 ms=4 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapClaimedRewards'
  ;   locals: self(0-3), level(0-3), rewards(0-3)
  0000  GETTABLE  R3 = R0[K0('m_mapClaimedRewards')]
  0001  SETTABLE  R3[R1] = R2
  0002  RETURN    return R0..R-1
; ---------- proto30 [GetClaimedRewards] ----------
  ; fn ?  line 269-277 np=2 va=0 ms=7 code=14 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapClaimedRewards'
  ;   K[1]=nil
  ;   K[2]='GetLevelReward'
  ;   locals: self(0-14), level(0-14), claimedRewards(2-14)
  0000  GETTABLE  R2 = R0[K0('m_mapClaimedRewards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R3 = R0[K0('m_mapClaimedRewards')]
  0005  SETTABLE  R3[R1] = K1(nil)
  0006  RETURN    return R2..R1
  0007  NEWTABLE  R3 = {} (0 items)
  0008  SELF      R5 = R0[K2('GetLevelReward')] (self)
  0009  MOVE      R6 = R0
  0010  CALL      R4 = call(R4, -1 args, 2 rets)
  0011  SETLIST   setlist R3[B=1,C=0]
  0012  RETURN    return R3..R2
  0013  RETURN    return R0..R-1
; ---------- proto31 [CanSkipEndWindowOnLongAway] ----------
  ; fn ?  line 281-283 np=1 va=0 ms=3 code=11 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='CanSkipEndWindowOnLongAway'
  ;   K[2]='CanAcquireReward'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('CanSkipEndWindowOnLongAway')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K2('CanAcquireReward')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  NOT       R1 = not R0
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto32 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 288-298 np=1 va=0 ms=3 code=17 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_definition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='extraListenEvent'
  ;   K[4]='ScoreChangedEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='ProgressActivity'
  ;   K[8]='entryPrefabName'
  ;   K[9]='BoardEntryPrefabName'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_definition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABLE  R2 = R0[K1('m_definition')]
  0005  GETTABLE  R2 = R2[K4('ScoreChangedEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('ProgressActivity')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_definition')]
  0011  GETTABLE  R2 = R2[K9('BoardEntryPrefabName')]
  0012  SETTABLE  R1[K8('entryPrefabName')] = R2
  0013  CLOSURE   R2 = closure proto0
  0014  SETTABLE  R1[K10('checkFun')] = R2
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 294-296 np=0 va=0 ms=2 code=10 consts=2 upvals=1 protos=0
    ;   K[0]='CanAddScore'
    ;   K[1]='CanAcquireReward'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CanAddScore')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 8
    0005  GETUPVAL  R0 = self
    0006  SELF      R1 = R0[K1('CanAcquireReward')] (self)
    0007  CALL      R0 = call(R0, 1 args, 1 rets)
    0008  RETURN    return R0..R-1
    0009  RETURN    return R0..R-1
; ---------- proto33 [GetMapEntryShowConfig] ----------
  ; fn ?  line 301-312 np=1 va=0 ms=3 code=20 consts=13 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_definition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='extraListenEvent'
  ;   K[4]='ScoreChangedEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='ProgressActivity'
  ;   K[8]='entryPrefabName'
  ;   K[9]='EntryPrefabName'
  ;   K[10]='hudKey'
  ;   K[11]='EntryButtonKey'
  ;   K[12]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_definition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABLE  R2 = R0[K1('m_definition')]
  0005  GETTABLE  R2 = R2[K4('ScoreChangedEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('ProgressActivity')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_definition')]
  0011  GETTABLE  R2 = R2[K9('EntryPrefabName')]
  0012  SETTABLE  R1[K8('entryPrefabName')] = R2
  0013  GETTABLE  R2 = R0[K1('m_definition')]
  0014  GETTABLE  R2 = R2[K11('EntryButtonKey')]
  0015  SETTABLE  R1[K10('hudKey')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K12('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 308-310 np=0 va=0 ms=2 code=10 consts=2 upvals=1 protos=0
    ;   K[0]='CanAddScore'
    ;   K[1]='CanAcquireReward'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CanAddScore')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 8
    0005  GETUPVAL  R0 = self
    0006  SELF      R1 = R0[K1('CanAcquireReward')] (self)
    0007  CALL      R0 = call(R0, 1 args, 1 rets)
    0008  RETURN    return R0..R-1
    0009  RETURN    return R0..R-1
