# TimeLimitedProgressActivity_Model_TimeLimitedProgressActivityModel_1697.luac
; fn @TimeLimitedProgressActivityModel.lua  line 0-0 np=0 va=1 ms=5 code=170 consts=75 upvals=1 protos=49
;   K[0]='ETimeLimitedProgressLimitedRewardState'
;   K[1]='TimesOut'
;   K[2]=1
;   K[3]='Finished'
;   K[4]=2
;   K[5]='Acquired'
;   K[6]=3
;   K[7]='Start'
;   K[8]=4
;   K[9]='Preparing'
;   K[10]=5
;   K[11]='DB_VALUE_KEY'
;   K[12]='CurrentLevelLimitedRewardEndTime'
;   K[13]='end_time'
;   K[14]='HasLevelLimitedRewardStartAnimated'
;   K[15]='HasLevelLimitedRewardStartAnimated_%d'
;   K[16]='HasLevelLimitedRewardEndAnimated'
;   K[17]='HasLevelLimitedRewardEndAnimated_%d'
;   K[18]='LimitedRewardState'
;   K[19]='LimitedRewardState_%d'
;   K[20]='TimeLimitedProgressActivityModel'
;   K[21]='setmetatable'
;   K[22]='bShouldSkipEndWindowOnLongAway'
;   K[23]=true
;   K[24]='BaseActivityModel'
;   K[25]='__index'
;   K[26]='Init'
;   K[27]='Destroy'
;   K[28]='_DropData'
;   K[29]='_LoadOtherServerConfig'
;   K[30]='GetTokenHelper'
;   K[31]='GetProgressHelper'
;   K[32]='GetActivityDefinition'
;   K[33]='GetResourceLabels'
;   K[34]='_OnStateChanged'
;   K[35]='IsActivityOpen'
;   K[36]='UpdatePerSecond'
;   K[37]='_CalculateState'
;   K[38]='NeedStartLimitedReward'
;   K[39]='TryStartLimitedReward'
;   K[40]='_DispatchStateChangedEvent'
;   K[41]='_DispatchScoreChangedEvent'
;   K[42]='_DispatchRewardAcquiredEvent'
;   K[43]='_DispatchLimitedRewardStateChangedEvent'
;   K[44]='_IsEntryVisible'
;   K[45]='GetMapEntryShowConfig'
;   K[46]='GetBoardEntryShowConfig'
;   K[47]='CanAddScore'
;   K[48]='GetOrderExtraReward'
;   K[49]='AcquireActivityToken'
;   K[50]='OnScoreChanged'
;   K[51]='GetLimitedRewardByLevel'
;   K[52]='GetLimitedDurationByLevel'
;   K[53]='OnRewardAcquired'
;   K[54]='StartNewLimitedRewardByLevel'
;   K[55]='ClearTriggerEndTime'
;   K[56]='GetTriggerEndTime'
;   K[57]='TryAcquireRewards'
;   K[58]='OnEntryClicked'
;   K[59]='_OpenWindow'
;   K[60]='OpenMainWindow'
;   K[61]='OpenFinishWindow'
;   K[62]='OpenHelpWindow'
;   K[63]='CanSkipEndWindowOnLongAway'
;   K[64]='_DBTableGetValue'
;   K[65]='_DBTableGetNumber'
;   K[66]='_DBTableSet'
;   K[67]='HasPlayLimitAppearAnimation'
;   K[68]='HasPlayLimitDisappearAnimation'
;   K[69]='SetPlayLimitAppearAnimation'
;   K[70]='SetPlayLimitDisappearAnimation'
;   K[71]='GetTimeLimitedRewardState'
;   K[72]='SetTimeLimitedRewardState'
;   K[73]='GetCurrentLevelLimitedRewardEndTime'
;   K[74]='SetCurrentLevelLimitedRewardEndTime'
;   upvals: _ENV
;   locals: DB_VALUE_KEY(8-170), DBKey(13-170)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('TimesOut')] = K2(1)
0002  SETTABLE  R0[K3('Finished')] = K4(2)
0003  SETTABLE  R0[K5('Acquired')] = K6(3)
0004  SETTABLE  R0[K7('Start')] = K8(4)
0005  SETTABLE  R0[K9('Preparing')] = K10(5)
0006  SETTABUP  _ENV[K0('ETimeLimitedProgressLimitedRewardState')] = R0
0007  GETTABUP  R0 = _ENV[K11('DB_VALUE_KEY')]
0008  NEWTABLE  R1 = {} (0 items)
0009  SETTABLE  R1[K12('CurrentLevelLimitedRewardEndTime')] = K13('end_time')
0010  SETTABLE  R1[K14('HasLevelLimitedRewardStartAnimated')] = K15('HasLevelLimitedRewardStartAnimated_%d')
0011  SETTABLE  R1[K16('HasLevelLimitedRewardEndAnimated')] = K17('HasLevelLimitedRewardEndAnimated_%d')
0012  SETTABLE  R1[K18('LimitedRewardState')] = K19('LimitedRewardState_%d')
0013  GETTABUP  R2 = _ENV[K21('setmetatable')]
0014  NEWTABLE  R3 = {} (0 items)
0015  SETTABLE  R3[K22('bShouldSkipEndWindowOnLongAway')] = K23(true)
0016  GETTABUP  R4 = _ENV[K24('BaseActivityModel')]
0017  CALL      R2 = call(R2, 1 args, 2 rets)
0018  SETTABUP  _ENV[K20('TimeLimitedProgressActivityModel')] = R2
0019  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0020  GETTABUP  R3 = _ENV[K20('TimeLimitedProgressActivityModel')]
0021  SETTABLE  R2[K25('__index')] = R3
0022  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0023  CLOSURE   R3 = closure proto0
0024  SETTABLE  R2[K26('Init')] = R3
0025  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0026  CLOSURE   R3 = closure proto1
0027  SETTABLE  R2[K27('Destroy')] = R3
0028  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0029  CLOSURE   R3 = closure proto2
0030  SETTABLE  R2[K28('_DropData')] = R3
0031  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0032  CLOSURE   R3 = closure proto3
0033  SETTABLE  R2[K29('_LoadOtherServerConfig')] = R3
0034  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0035  CLOSURE   R3 = closure proto4
0036  SETTABLE  R2[K30('GetTokenHelper')] = R3
0037  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0038  CLOSURE   R3 = closure proto5
0039  SETTABLE  R2[K31('GetProgressHelper')] = R3
0040  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0041  CLOSURE   R3 = closure proto6
0042  SETTABLE  R2[K32('GetActivityDefinition')] = R3
0043  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0044  CLOSURE   R3 = closure proto7
0045  SETTABLE  R2[K33('GetResourceLabels')] = R3
0046  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0047  CLOSURE   R3 = closure proto8
0048  SETTABLE  R2[K34('_OnStateChanged')] = R3
0049  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0050  CLOSURE   R3 = closure proto9
0051  SETTABLE  R2[K35('IsActivityOpen')] = R3
0052  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0053  CLOSURE   R3 = closure proto10
0054  SETTABLE  R2[K36('UpdatePerSecond')] = R3
0055  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0056  CLOSURE   R3 = closure proto11
0057  SETTABLE  R2[K37('_CalculateState')] = R3
0058  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0059  CLOSURE   R3 = closure proto12
0060  SETTABLE  R2[K38('NeedStartLimitedReward')] = R3
0061  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0062  CLOSURE   R3 = closure proto13
0063  SETTABLE  R2[K39('TryStartLimitedReward')] = R3
0064  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0065  CLOSURE   R3 = closure proto14
0066  SETTABLE  R2[K40('_DispatchStateChangedEvent')] = R3
0067  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0068  CLOSURE   R3 = closure proto15
0069  SETTABLE  R2[K41('_DispatchScoreChangedEvent')] = R3
0070  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0071  CLOSURE   R3 = closure proto16
0072  SETTABLE  R2[K42('_DispatchRewardAcquiredEvent')] = R3
0073  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0074  CLOSURE   R3 = closure proto17
0075  SETTABLE  R2[K43('_DispatchLimitedRewardStateChangedEvent')] = R3
0076  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0077  CLOSURE   R3 = closure proto18
0078  SETTABLE  R2[K44('_IsEntryVisible')] = R3
0079  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0080  CLOSURE   R3 = closure proto19
0081  SETTABLE  R2[K45('GetMapEntryShowConfig')] = R3
0082  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0083  CLOSURE   R3 = closure proto20
0084  SETTABLE  R2[K46('GetBoardEntryShowConfig')] = R3
0085  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0086  CLOSURE   R3 = closure proto21
0087  SETTABLE  R2[K47('CanAddScore')] = R3
0088  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0089  CLOSURE   R3 = closure proto22
0090  SETTABLE  R2[K48('GetOrderExtraReward')] = R3
0091  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0092  CLOSURE   R3 = closure proto23
0093  SETTABLE  R2[K49('AcquireActivityToken')] = R3
0094  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0095  CLOSURE   R3 = closure proto24
0096  SETTABLE  R2[K50('OnScoreChanged')] = R3
0097  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0098  CLOSURE   R3 = closure proto25
0099  SETTABLE  R2[K51('GetLimitedRewardByLevel')] = R3
0100  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0101  CLOSURE   R3 = closure proto26
0102  SETTABLE  R2[K52('GetLimitedDurationByLevel')] = R3
0103  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0104  CLOSURE   R3 = closure proto27
0105  SETTABLE  R2[K53('OnRewardAcquired')] = R3
0106  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0107  CLOSURE   R3 = closure proto28
0108  SETTABLE  R2[K54('StartNewLimitedRewardByLevel')] = R3
0109  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0110  CLOSURE   R3 = closure proto29
0111  SETTABLE  R2[K55('ClearTriggerEndTime')] = R3
0112  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0113  CLOSURE   R3 = closure proto30
0114  SETTABLE  R2[K56('GetTriggerEndTime')] = R3
0115  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0116  CLOSURE   R3 = closure proto31
0117  SETTABLE  R2[K57('TryAcquireRewards')] = R3
0118  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0119  CLOSURE   R3 = closure proto32
0120  SETTABLE  R2[K58('OnEntryClicked')] = R3
0121  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0122  CLOSURE   R3 = closure proto33
0123  SETTABLE  R2[K59('_OpenWindow')] = R3
0124  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0125  CLOSURE   R3 = closure proto34
0126  SETTABLE  R2[K60('OpenMainWindow')] = R3
0127  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0128  CLOSURE   R3 = closure proto35
0129  SETTABLE  R2[K61('OpenFinishWindow')] = R3
0130  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0131  CLOSURE   R3 = closure proto36
0132  SETTABLE  R2[K62('OpenHelpWindow')] = R3
0133  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0134  CLOSURE   R3 = closure proto37
0135  SETTABLE  R2[K63('CanSkipEndWindowOnLongAway')] = R3
0136  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0137  CLOSURE   R3 = closure proto38
0138  SETTABLE  R2[K64('_DBTableGetValue')] = R3
0139  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0140  CLOSURE   R3 = closure proto39
0141  SETTABLE  R2[K65('_DBTableGetNumber')] = R3
0142  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0143  CLOSURE   R3 = closure proto40
0144  SETTABLE  R2[K66('_DBTableSet')] = R3
0145  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0146  CLOSURE   R3 = closure proto41
0147  SETTABLE  R2[K67('HasPlayLimitAppearAnimation')] = R3
0148  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0149  CLOSURE   R3 = closure proto42
0150  SETTABLE  R2[K68('HasPlayLimitDisappearAnimation')] = R3
0151  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0152  CLOSURE   R3 = closure proto43
0153  SETTABLE  R2[K69('SetPlayLimitAppearAnimation')] = R3
0154  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0155  CLOSURE   R3 = closure proto44
0156  SETTABLE  R2[K70('SetPlayLimitDisappearAnimation')] = R3
0157  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0158  CLOSURE   R3 = closure proto45
0159  SETTABLE  R2[K71('GetTimeLimitedRewardState')] = R3
0160  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0161  CLOSURE   R3 = closure proto46
0162  SETTABLE  R2[K72('SetTimeLimitedRewardState')] = R3
0163  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0164  CLOSURE   R3 = closure proto47
0165  SETTABLE  R2[K73('GetCurrentLevelLimitedRewardEndTime')] = R3
0166  GETTABUP  R2 = _ENV[K20('TimeLimitedProgressActivityModel')]
0167  CLOSURE   R3 = closure proto48
0168  SETTABLE  R2[K74('SetCurrentLevelLimitedRewardEndTime')] = R3
0169  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 31-45 np=3 va=0 ms=8 code=42 consts=27 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='TimeLimitedProgressActivityDefinition'
  ;   K[2]='m_tokenHelper'
  ;   K[3]='ActivityTokenHelper'
  ;   K[4]='Create'
  ;   K[5]='EFlyElementLabelStyle'
  ;   K[6]='Default'
  ;   K[7]='m_progressHelper'
  ;   K[8]='ActivityProgressHelper'
  ;   K[9]='ePropertySource'
  ;   K[10]='EPropertySource'
  ;   K[11]='Give'
  ;   K[12]='eBIType'
  ;   K[13]='EBIType'
  ;   K[14]='TimeLimitedProgressAcquireRewards'
  ;   K[15]='eRewardScene'
  ;   K[16]='ERewardScene'
  ;   K[17]='Other'
  ;   K[18]='bDynamic'
  ;   K[19]=false
  ;   K[20]='configClass'
  ;   K[21]='TimeLimitedActivityProgressConfig'
  ;   K[22]='m_mapRewardState'
  ;   K[23]='BaseActivityModel'
  ;   K[24]='Init'
  ;   K[25]='m_triggerEndTime'
  ;   K[26]='GetCurrentLevelLimitedRewardEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-42), activityType(0-42), virtualDBTable(0-42)
  0000  GETTABUP  R3 = _ENV[K1('TimeLimitedProgressActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = 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  GETTABUP  R3 = _ENV[K8('ActivityProgressHelper')]
  0012  GETTABLE  R3 = R3[K4('Create')]
  0013  MOVE      R4 = R0
  0014  MOVE      R5 = R0
  0015  NEWTABLE  R6 = {} (0 items)
  0016  GETTABUP  R7 = _ENV[K10('EPropertySource')]
  0017  GETTABLE  R7 = R7[K11('Give')]
  0018  SETTABLE  R6[K9('ePropertySource')] = R7
  0019  GETTABUP  R7 = _ENV[K13('EBIType')]
  0020  GETTABLE  R7 = R7[K14('TimeLimitedProgressAcquireRewards')]
  0021  SETTABLE  R6[K12('eBIType')] = R7
  0022  GETTABUP  R7 = _ENV[K16('ERewardScene')]
  0023  GETTABLE  R7 = R7[K17('Other')]
  0024  SETTABLE  R6[K15('eRewardScene')] = R7
  0025  SETTABLE  R6[K18('bDynamic')] = K19(false)
  0026  GETTABUP  R7 = _ENV[K21('TimeLimitedActivityProgressConfig')]
  0027  SETTABLE  R6[K20('configClass')] = R7
  0028  CALL      R3 = call(R3, 1 args, 3 rets)
  0029  SETTABLE  R0[K7('m_progressHelper')] = R3
  0030  NEWTABLE  R3 = {} (0 items)
  0031  SETTABLE  R0[K22('m_mapRewardState')] = R3
  0032  GETTABUP  R3 = _ENV[K23('BaseActivityModel')]
  0033  GETTABLE  R3 = R3[K24('Init')]
  0034  MOVE      R4 = R0
  0035  MOVE      R5 = R0
  0036  MOVE      R6 = R0
  0037  CALL      R3 = call(R3, 0 args, 3 rets)
  0038  SELF      R4 = R0[K26('GetCurrentLevelLimitedRewardEndTime')] (self)
  0039  CALL      R3 = call(R3, 1 args, 1 rets)
  0040  SETTABLE  R0[K25('m_triggerEndTime')] = R3
  0041  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 47-50 np=1 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='GetTokenHelper'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('Destroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('GetTokenHelper')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  SELF      R2 = R1[K1('Destroy')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto2 [_DropData] ----------
  ; fn ?  line 52-56 np=1 va=0 ms=3 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_mapRewardState'
  ;   K[3]='m_triggerEndTime'
  ;   K[4]=nil
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  NEWTABLE  R1 = {} (0 items)
  0005  SETTABLE  R0[K2('m_mapRewardState')] = R1
  0006  SETTABLE  R0[K3('m_triggerEndTime')] = K4(nil)
  0007  RETURN    return R0..R-1
; ---------- proto3 [_LoadOtherServerConfig] ----------
  ; fn ?  line 58-61 np=2 va=0 ms=5 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='GetTokenHelper'
  ;   K[1]='LoadConfig'
  ;   K[2]='GetProgressHelper'
  ;   locals: self(0-11), config(0-11)
  0000  SELF      R3 = R0[K0('GetTokenHelper')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R3 = R2[K1('LoadConfig')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  SELF      R3 = R0[K2('GetProgressHelper')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SELF      R3 = R2[K1('LoadConfig')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto4 [GetTokenHelper] ----------
  ; fn ?  line 63-65 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 [GetProgressHelper] ----------
  ; fn ?  line 67-69 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_progressHelper'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_progressHelper')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [GetActivityDefinition] ----------
  ; fn ?  line 71-73 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [GetResourceLabels] ----------
  ; fn ?  line 75-77 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetActivityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetActivityDefinition')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto8 [_OnStateChanged] ----------
  ; fn ?  line 79-83 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='_DispatchStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  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  SELF      R2 = R0[K2('_DispatchStateChangedEvent')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto9 [IsActivityOpen] ----------
  ; fn ?  line 85-87 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  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)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto10 [UpdatePerSecond] ----------
  ; fn ?  line 89-101 np=1 va=0 ms=6 code=34 consts=16 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='m_triggerEndTime'
  ;   K[3]=nil
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='m_progressHelper'
  ;   K[8]='GetNextClaimLevel'
  ;   K[9]='GetTimeLimitedRewardState'
  ;   K[10]='ETimeLimitedProgressLimitedRewardState'
  ;   K[11]='Start'
  ;   K[12]='SetTimeLimitedRewardState'
  ;   K[13]='TimesOut'
  ;   K[14]='ClearTriggerEndTime'
  ;   K[15]='_DispatchLimitedRewardStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-34), level(17-33)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('UpdatePerSecond')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_triggerEndTime')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 33
  0007  GETTABUP  R1 = _ENV[K4('GM')]
  0008  GETTABLE  R1 = R1[K5('GameModel')]
  0009  SELF      R2 = R1[K6('GetServerTime')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  GETTABLE  R2 = R0[K2('m_triggerEndTime')]
  0012  LT        if R0 lt R1   -> -130033
  0013  JMP       (jump)   -> 33
  0014  GETTABLE  R1 = R0[K7('m_progressHelper')]
  0015  SELF      R2 = R1[K8('GetNextClaimLevel')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  SELF      R3 = R0[K9('GetTimeLimitedRewardState')] (self)
  0018  MOVE      R4 = R0
  0019  CALL      R2 = call(R2, 1 args, 2 rets)
  0020  GETTABUP  R3 = _ENV[K10('ETimeLimitedProgressLimitedRewardState')]
  0021  GETTABLE  R3 = R3[K11('Start')]
  0022  EQ        if R0 eq R3   -> -130021
  0023  JMP       (jump)   -> 33
  0024  SELF      R3 = R0[K12('SetTimeLimitedRewardState')] (self)
  0025  MOVE      R4 = R0
  0026  GETTABUP  R5 = _ENV[K10('ETimeLimitedProgressLimitedRewardState')]
  0027  GETTABLE  R5 = R5[K13('TimesOut')]
  0028  CALL      R2 = call(R2, 0 args, 3 rets)
  0029  SELF      R3 = R0[K14('ClearTriggerEndTime')] (self)
  0030  CALL      R2 = call(R2, 0 args, 1 rets)
  0031  SELF      R3 = R0[K15('_DispatchLimitedRewardStateChangedEvent')] (self)
  0032  CALL      R2 = call(R2, 0 args, 1 rets)
  0033  RETURN    return R0..R-1
; ---------- proto11 [_CalculateState] ----------
  ; fn ?  line 103-110 np=2 va=0 ms=6 code=24 consts=9 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_CalculateState'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='GetProgressHelper'
  ;   K[5]='HasFinishedAllLevelAndAcquiredRewards'
  ;   K[6]='Ended'
  ;   K[7]='m_config'
  ;   K[8]='rTime'
  ;   upvals: _ENV
  ;   locals: self(0-24), bIgnoreCondition(0-24), state(5-24), nextStateTime(5-24)
  0000  GETTABUP  R2 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R2 = R2[K1('_CalculateState')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 2 args, 2 rets)
  0005  GETTABUP  R4 = _ENV[K2('ActivityState')]
  0006  GETTABLE  R4 = R4[K3('Started')]
  0007  EQ        if R0 eq R4   -> -130035
  0008  JMP       (jump)   -> 20
  0009  SELF      R5 = R0[K4('GetProgressHelper')] (self)
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  SELF      R5 = R4[K5('HasFinishedAllLevelAndAcquiredRewards')] (self)
  0012  CALL      R4 = call(R4, 1 args, 1 rets)
  0013  TEST      if not R4 then   -> -131057
  0014  JMP       (jump)   -> 20
  0015  GETTABUP  R4 = _ENV[K2('ActivityState')]
  0016  GETTABLE  R4 = R4[K6('Ended')]
  0017  GETTABLE  R5 = R0[K7('m_config')]
  0018  GETTABLE  R5 = R5[K8('rTime')]
  0019  RETURN    return R4..R3
  0020  MOVE      R4 = R0
  0021  MOVE      R5 = R0
  0022  RETURN    return R4..R3
  0023  RETURN    return R0..R-1
; ---------- proto12 [NeedStartLimitedReward] ----------
  ; fn ?  line 112-119 np=1 va=0 ms=5 code=22 consts=8 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='m_progressHelper'
  ;   K[4]='GetNextClaimLevel'
  ;   K[5]='GetTimeLimitedRewardState'
  ;   K[6]='ETimeLimitedProgressLimitedRewardState'
  ;   K[7]='Preparing'
  ;   upvals: _ENV
  ;   locals: self(0-22), nextClaimLevel(11-22)
  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  GETTABLE  R1 = R0[K3('m_progressHelper')]
  0009  SELF      R2 = R1[K4('GetNextClaimLevel')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  SELF      R3 = R0[K5('GetTimeLimitedRewardState')] (self)
  0012  MOVE      R4 = R0
  0013  CALL      R2 = call(R2, 1 args, 2 rets)
  0014  GETTABUP  R3 = _ENV[K6('ETimeLimitedProgressLimitedRewardState')]
  0015  GETTABLE  R3 = R3[K7('Preparing')]
  0016  EQ        if R1 eq R3   -> -130027
  0017  JMP       (jump)   -> 19
  0018  LOADBOOL  R2 = false
  0019  LOADBOOL  R2 = true
  0020  RETURN    return R2..R1
  0021  RETURN    return R0..R-1
; ---------- proto13 [TryStartLimitedReward] ----------
  ; fn ?  line 121-128 np=1 va=0 ms=5 code=14 consts=4 upvals=0 protos=0
  ;   K[0]='NeedStartLimitedReward'
  ;   K[1]='StartNewLimitedRewardByLevel'
  ;   K[2]='m_progressHelper'
  ;   K[3]='GetNextClaimLevel'
  ;   locals: self(0-14)
  0000  SELF      R2 = R0[K0('NeedStartLimitedReward')] (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('StartNewLimitedRewardByLevel')] (self)
  0007  GETTABLE  R3 = R0[K2('m_progressHelper')]
  0008  SELF      R4 = R3[K3('GetNextClaimLevel')] (self)
  0009  CALL      R3 = call(R3, -1 args, 1 rets)
  0010  CALL      R1 = call(R1, 0 args, -1 rets)
  0011  LOADBOOL  R1 = true
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
; ---------- proto14 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 132-134 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('StateChangedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto15 [_DispatchScoreChangedEvent] ----------
  ; fn ?  line 136-138 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='ScoreChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('ScoreChangedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto16 [_DispatchRewardAcquiredEvent] ----------
  ; fn ?  line 140-142 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='RewardAcquiredEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('RewardAcquiredEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto17 [_DispatchLimitedRewardStateChangedEvent] ----------
  ; fn ?  line 144-146 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='LimitedRewardStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('LimitedRewardStateChangedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto18 [_IsEntryVisible] ----------
  ; fn ?  line 152-154 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='CanAddScore'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('CanAddScore')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto19 [GetMapEntryShowConfig] ----------
  ; fn ?  line 157-167 np=1 va=0 ms=4 code=20 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='TimeLimitedProgress'
  ;   K[6]='entryPrefabName'
  ;   K[7]='EntryPrefabName'
  ;   K[8]='hudKey'
  ;   K[9]='EntryButtonKey'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0004  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0005  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0006  GETTABLE  R2 = R2[K5('TimeLimitedProgress')]
  0007  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0008  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[K7('EntryPrefabName')]
  0011  SETTABLE  R1[K6('entryPrefabName')] = R2
  0012  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  GETTABLE  R2 = R2[K9('EntryButtonKey')]
  0015  SETTABLE  R1[K8('hudKey')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K10('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 163-165 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto20 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 170-179 np=1 va=0 ms=4 code=16 consts=9 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='TimeLimitedProgress'
  ;   K[6]='entryPrefabName'
  ;   K[7]='BoardEntryPrefabName'
  ;   K[8]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0004  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0005  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0006  GETTABLE  R2 = R2[K5('TimeLimitedProgress')]
  0007  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0008  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[K7('BoardEntryPrefabName')]
  0011  SETTABLE  R1[K6('entryPrefabName')] = R2
  0012  CLOSURE   R2 = closure proto0
  0013  SETTABLE  R1[K8('checkFun')] = R2
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 175-177 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto21 [CanAddScore] ----------
  ; fn ?  line 186-193 np=1 va=0 ms=3 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='GetProgressHelper'
  ;   K[4]='HasFinishedAllLevelAndAcquiredRewards'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  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('GetProgressHelper')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  SELF      R2 = R1[K4('HasFinishedAllLevelAndAcquiredRewards')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  NOT       R1 = not R0
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto22 [GetOrderExtraReward] ----------
  ; fn ?  line 196-201 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
; ---------- proto23 [AcquireActivityToken] ----------
  ; fn ?  line 209-233 np=2 va=0 ms=9 code=43 consts=19 upvals=1 protos=0
  ;   K[0]='CanAddScore'
  ;   K[1]='GetProgressHelper'
  ;   K[2]='GM'
  ;   K[3]='BIManager'
  ;   K[4]='LogAction'
  ;   K[5]='GetActivityDefinition'
  ;   K[6]='AcquireScoreBI'
  ;   K[7]='score'
  ;   K[8]='level'
  ;   K[9]='GetLevel'
  ;   K[10]='AddScore'
  ;   K[11]='GetNextClaimLevel'
  ;   K[12]='CanAcquireReward'
  ;   K[13]='GetTimeLimitedRewardState'
  ;   K[14]='ETimeLimitedProgressLimitedRewardState'
  ;   K[15]='Start'
  ;   K[16]='SetTimeLimitedRewardState'
  ;   K[17]='Finished'
  ;   K[18]='ClearTriggerEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-43), num(0-43), progressHelper(7-43), nextClaimLevel(24-43)
  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('GetProgressHelper')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABUP  R3 = _ENV[K2('GM')]
  0008  GETTABLE  R3 = R3[K3('BIManager')]
  0009  SELF      R4 = R3[K4('LogAction')] (self)
  0010  SELF      R6 = R0[K5('GetActivityDefinition')] (self)
  0011  CALL      R5 = call(R5, 1 args, 1 rets)
  0012  GETTABLE  R5 = R5[K6('AcquireScoreBI')]
  0013  NEWTABLE  R6 = {} (0 items)
  0014  SETTABLE  R6[K7('score')] = R1
  0015  SELF      R8 = R2[K9('GetLevel')] (self)
  0016  CALL      R7 = call(R7, 1 args, 1 rets)
  0017  SETTABLE  R6[K8('level')] = R7
  0018  CALL      R3 = call(R3, 0 args, 3 rets)
  0019  SELF      R4 = R2[K10('AddScore')] (self)
  0020  MOVE      R5 = R0
  0021  CALL      R3 = call(R3, 0 args, 2 rets)
  0022  SELF      R4 = R2[K11('GetNextClaimLevel')] (self)
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  SELF      R5 = R2[K12('CanAcquireReward')] (self)
  0025  CALL      R4 = call(R4, 1 args, 1 rets)
  0026  TEST      if not R4 then   -> -131044
  0027  JMP       (jump)   -> 42
  0028  SELF      R5 = R0[K13('GetTimeLimitedRewardState')] (self)
  0029  MOVE      R6 = R0
  0030  CALL      R4 = call(R4, 1 args, 2 rets)
  0031  GETTABUP  R5 = _ENV[K14('ETimeLimitedProgressLimitedRewardState')]
  0032  GETTABLE  R5 = R5[K15('Start')]
  0033  EQ        if R0 eq R5   -> -128984
  0034  JMP       (jump)   -> 42
  0035  SELF      R5 = R0[K16('SetTimeLimitedRewardState')] (self)
  0036  MOVE      R6 = R0
  0037  GETTABUP  R7 = _ENV[K14('ETimeLimitedProgressLimitedRewardState')]
  0038  GETTABLE  R7 = R7[K17('Finished')]
  0039  CALL      R4 = call(R4, 0 args, 3 rets)
  0040  SELF      R5 = R0[K18('ClearTriggerEndTime')] (self)
  0041  CALL      R4 = call(R4, 0 args, 1 rets)
  0042  RETURN    return R0..R-1
; ---------- proto24 [OnScoreChanged] ----------
  ; fn ?  line 236-238 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchScoreChangedEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchScoreChangedEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto25 [GetLimitedRewardByLevel] ----------
  ; fn ?  line 244-247 np=2 va=0 ms=5 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='m_progressHelper'
  ;   K[1]='GetProgressConfigByLevel'
  ;   K[2]='GetTimeLimitRewards'
  ;   locals: self(0-13), level(0-13), config(4-13)
  0000  GETTABLE  R2 = R0[K0('m_progressHelper')]
  0001  SELF      R3 = R2[K1('GetProgressConfigByLevel')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R4 = R2[K2('GetTimeLimitRewards')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADNIL   R3..R3 = nil
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto26 [GetLimitedDurationByLevel] ----------
  ; fn ?  line 249-252 np=2 va=0 ms=5 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='m_progressHelper'
  ;   K[1]='GetProgressConfigByLevel'
  ;   K[2]='GetTimeLimitDuration'
  ;   K[3]=7200
  ;   locals: self(0-13), level(0-13), config(4-13)
  0000  GETTABLE  R2 = R0[K0('m_progressHelper')]
  0001  SELF      R3 = R2[K1('GetProgressConfigByLevel')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R4 = R2[K2('GetTimeLimitDuration')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R3 = K3 7200
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto27 [OnRewardAcquired] ----------
  ; fn ?  line 255-262 np=1 va=0 ms=4 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='_DispatchRewardAcquiredEvent'
  ;   K[1]='GetProgressHelper'
  ;   K[2]='HasFinishedAllLevelAndAcquiredRewards'
  ;   K[3]='EventDispatcher'
  ;   K[4]='DispatchEvent'
  ;   K[5]='EEventType'
  ;   K[6]='RewardValidChanged'
  ;   upvals: _ENV
  ;   locals: self(0-14), progressHelper(4-14)
  0000  SELF      R2 = R0[K0('_DispatchRewardAcquiredEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('GetProgressHelper')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SELF      R3 = R1[K2('HasFinishedAllLevelAndAcquiredRewards')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R2 = _ENV[K3('EventDispatcher')]
  0009  GETTABLE  R2 = R2[K4('DispatchEvent')]
  0010  GETTABUP  R3 = _ENV[K5('EEventType')]
  0011  GETTABLE  R3 = R3[K6('RewardValidChanged')]
  0012  CALL      R2 = call(R2, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto28 [StartNewLimitedRewardByLevel] ----------
  ; fn ?  line 265-270 np=2 va=0 ms=9 code=26 consts=14 upvals=1 protos=0
  ;   K[0]='SetTimeLimitedRewardState'
  ;   K[1]='ETimeLimitedProgressLimitedRewardState'
  ;   K[2]='Start'
  ;   K[3]='SetCurrentLevelLimitedRewardEndTime'
  ;   K[4]='math'
  ;   K[5]='min'
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='GetServerTime'
  ;   K[9]='GetLimitedDurationByLevel'
  ;   K[10]='GetEndTime'
  ;   K[11]='m_triggerEndTime'
  ;   K[12]='GetCurrentLevelLimitedRewardEndTime'
  ;   K[13]='_DispatchLimitedRewardStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-26), level(0-26)
  0000  SELF      R3 = R0[K0('SetTimeLimitedRewardState')] (self)
  0001  MOVE      R4 = R0
  0002  GETTABUP  R5 = _ENV[K1('ETimeLimitedProgressLimitedRewardState')]
  0003  GETTABLE  R5 = R5[K2('Start')]
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  SELF      R3 = R0[K3('SetCurrentLevelLimitedRewardEndTime')] (self)
  0006  GETTABUP  R4 = _ENV[K4('math')]
  0007  GETTABLE  R4 = R4[K5('min')]
  0008  GETTABUP  R5 = _ENV[K6('GM')]
  0009  GETTABLE  R5 = R5[K7('GameModel')]
  0010  SELF      R6 = R5[K8('GetServerTime')] (self)
  0011  CALL      R5 = call(R5, 1 args, 1 rets)
  0012  SELF      R7 = R0[K9('GetLimitedDurationByLevel')] (self)
  0013  MOVE      R8 = R0
  0014  CALL      R6 = call(R6, 1 args, 2 rets)
  0015  ADD       R5 = R6 add R5
  0016  SELF      R7 = R0[K10('GetEndTime')] (self)
  0017  CALL      R6 = call(R6, -1 args, 1 rets)
  0018  CALL      R4 = call(R4, -1 args, -1 rets)
  0019  CALL      R2 = call(R2, 0 args, -1 rets)
  0020  SELF      R3 = R0[K12('GetCurrentLevelLimitedRewardEndTime')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  SETTABLE  R0[K11('m_triggerEndTime')] = R2
  0023  SELF      R3 = R0[K13('_DispatchLimitedRewardStateChangedEvent')] (self)
  0024  CALL      R2 = call(R2, 0 args, 1 rets)
  0025  RETURN    return R0..R-1
; ---------- proto29 [ClearTriggerEndTime] ----------
  ; fn ?  line 272-275 np=1 va=0 ms=5 code=7 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   K[2]='CurrentLevelLimitedRewardEndTime'
  ;   K[3]='m_triggerEndTime'
  ;   K[4]=nil
  ;   upvals: DBKey, DB_VALUE_KEY
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Remove')] (self)
  0002  GETTABUP  R3 = DBKey[K2('CurrentLevelLimitedRewardEndTime')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  SETTABLE  R0[K3('m_triggerEndTime')] = K4(nil)
  0006  RETURN    return R0..R-1
; ---------- proto30 [GetTriggerEndTime] ----------
  ; fn ?  line 277-279 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_triggerEndTime'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_triggerEndTime')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto31 [TryAcquireRewards] ----------
  ; fn ?  line 283-317 np=1 va=0 ms=17 code=94 consts=35 upvals=1 protos=0
  ;   K[0]='m_progressHelper'
  ;   K[1]='TryAcquireReward'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='pairs'
  ;   K[5]='GetLimitedRewardByLevel'
  ;   K[6]='GetTimeLimitedRewardState'
  ;   K[7]='ETimeLimitedProgressLimitedRewardState'
  ;   K[8]='TimesOut'
  ;   K[9]='RewardApi'
  ;   K[10]='AcquireRewardsLogic'
  ;   K[11]='EPropertySource'
  ;   K[12]='Give'
  ;   K[13]='EBIType'
  ;   K[14]='TimeLimitedProgressAcquireLimitRewards'
  ;   K[15]='ERewardScene'
  ;   K[16]='Other'
  ;   K[17]='SetTimeLimitedRewardState'
  ;   K[18]='Acquired'
  ;   K[19]='ipairs'
  ;   K[20]='isLimited'
  ;   K[21]=true
  ;   K[22]='GM'
  ;   K[23]='BIManager'
  ;   K[24]='LogAction'
  ;   K[25]='TimeLimitedProgressFinish'
  ;   K[26]='level'
  ;   K[27]='rewards'
  ;   K[28]='table'
  ;   K[29]='concat'
  ;   K[30]='ConfigUtil'
  ;   K[31]='GetArrFromCurrency'
  ;   K[32]=','
  ;   K[33]='limitRewards'
  ;   K[34]='_DispatchLimitedRewardStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-94), _(3-94), mapRewards(3-94), mapLimitRewards(11-94), timeLimitedRewards(12-94), (for generator)(15-88), (for state)(15-88), (for control)(15-88), level(16-86), rewards(16-86), (for generator)(53-57), (for state)(53-57), (for control)(53-57), _(54-55), reward(54-55)
  0000  GETTABLE  R1 = R0[K0('m_progressHelper')]
  0001  SELF      R2 = R1[K1('TryAcquireReward')] (self)
  0002  CALL      R1 = call(R1, 2 args, 1 rets)
  0003  GETTABUP  R3 = _ENV[K2('Table')]
  0004  GETTABLE  R3 = R3[K3('IsEmpty')]
  0005  MOVE      R4 = R0
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  TEST      if not R3 then   -> -131063
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  NEWTABLE  R3 = {} (0 items)
  0011  LOADNIL   R4..R4 = nil
  0012  GETTABUP  R5 = _ENV[K4('pairs')]
  0013  MOVE      R6 = R0
  0014  CALL      R5 = call(R5, 3 args, 1 rets)
  0015  JMP       (jump)   -> 86
  0016  SELF      R11 = R0[K5('GetLimitedRewardByLevel')] (self)
  0017  MOVE      R12 = R0
  0018  CALL      R10 = call(R10, 1 args, 2 rets)
  0019  MOVE      R4 = R0
  0020  GETTABUP  R10 = _ENV[K2('Table')]
  0021  GETTABLE  R10 = R10[K3('IsEmpty')]
  0022  MOVE      R11 = R0
  0023  CALL      R10 = call(R10, 1 args, 1 rets)
  0024  TEST      if not R10 then   -> -131045
  0025  JMP       (jump)   -> 58
  0026  SELF      R11 = R0[K6('GetTimeLimitedRewardState')] (self)
  0027  MOVE      R12 = R0
  0028  CALL      R10 = call(R10, 1 args, 2 rets)
  0029  GETTABUP  R11 = _ENV[K7('ETimeLimitedProgressLimitedRewardState')]
  0030  GETTABLE  R11 = R11[K8('TimesOut')]
  0031  EQ        if R1 eq R11   -> -125908
  0032  JMP       (jump)   -> 58
  0033  GETTABUP  R10 = _ENV[K9('RewardApi')]
  0034  GETTABLE  R10 = R10[K10('AcquireRewardsLogic')]
  0035  MOVE      R11 = R0
  0036  GETTABUP  R12 = _ENV[K11('EPropertySource')]
  0037  GETTABLE  R12 = R12[K12('Give')]
  0038  GETTABUP  R13 = _ENV[K13('EBIType')]
  0039  GETTABLE  R13 = R13[K14('TimeLimitedProgressAcquireLimitRewards')]
  0040  GETTABUP  R14 = _ENV[K15('ERewardScene')]
  0041  GETTABLE  R14 = R14[K16('Other')]
  0042  CALL      R10 = call(R10, 1 args, 4 rets)
  0043  MOVE      R4 = R0
  0044  SELF      R11 = R0[K17('SetTimeLimitedRewardState')] (self)
  0045  MOVE      R12 = R0
  0046  GETTABUP  R13 = _ENV[K7('ETimeLimitedProgressLimitedRewardState')]
  0047  GETTABLE  R13 = R13[K18('Acquired')]
  0048  CALL      R10 = call(R10, 0 args, 3 rets)
  0049  SETTABLE  R3[R8] = R4
  0050  GETTABUP  R10 = _ENV[K19('ipairs')]
  0051  MOVE      R11 = R0
  0052  CALL      R10 = call(R10, 3 args, 1 rets)
  0053  JMP       (jump)   -> 55
  0054  SETTABLE  R14[K20('isLimited')] = K21(true)
  0055  TFORCALL  tforcall R10
  0056  TFORLOOP  tforloop R12(sBx=-3)   -> 54
  0057  JMP       (jump)   -> 60
  0058  NEWTABLE  R10 = {} (0 items)
  0059  MOVE      R4 = R0
  0060  GETTABUP  R10 = _ENV[K22('GM')]
  0061  GETTABLE  R10 = R10[K23('BIManager')]
  0062  SELF      R11 = R10[K24('LogAction')] (self)
  0063  GETTABUP  R12 = _ENV[K13('EBIType')]
  0064  GETTABLE  R12 = R12[K25('TimeLimitedProgressFinish')]
  0065  NEWTABLE  R13 = {} (0 items)
  0066  SETTABLE  R13[K26('level')] = R8
  0067  GETTABUP  R14 = _ENV[K28('table')]
  0068  GETTABLE  R14 = R14[K29('concat')]
  0069  GETTABUP  R15 = _ENV[K30('ConfigUtil')]
  0070  GETTABLE  R15 = R15[K31('GetArrFromCurrency')]
  0071  MOVE      R16 = R0
  0072  CALL      R15 = call(R15, 1 args, 1 rets)
  0073  LOADK     R16 = K32 ','
  0074  CALL      R14 = call(R14, 1 args, 2 rets)
  0075  SETTABLE  R13[K27('rewards')] = R14
  0076  GETTABUP  R14 = _ENV[K28('table')]
  0077  GETTABLE  R14 = R14[K29('concat')]
  0078  GETTABUP  R15 = _ENV[K30('ConfigUtil')]
  0079  GETTABLE  R15 = R15[K31('GetArrFromCurrency')]
  0080  MOVE      R16 = R0
  0081  CALL      R15 = call(R15, 1 args, 1 rets)
  0082  LOADK     R16 = K32 ','
  0083  CALL      R14 = call(R14, 1 args, 2 rets)
  0084  SETTABLE  R13[K33('limitRewards')] = R14
  0085  CALL      R10 = call(R10, 0 args, 3 rets)
  0086  TFORCALL  tforcall R5
  0087  TFORLOOP  tforloop R7(sBx=-72)   -> 16
  0088  SELF      R6 = R0[K34('_DispatchLimitedRewardStateChangedEvent')] (self)
  0089  CALL      R5 = call(R5, 0 args, 1 rets)
  0090  MOVE      R5 = R0
  0091  MOVE      R6 = R0
  0092  RETURN    return R5..R4
  0093  RETURN    return R0..R-1
; ---------- proto32 [OnEntryClicked] ----------
  ; fn ?  line 324-328 np=1 va=0 ms=4 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='OpenMainWindow'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K1('OpenMainWindow')] (self)
  0005  LOADBOOL  R3 = false
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto33 [_OpenWindow] ----------
  ; fn ?  line 331-333 np=2 va=1 ms=8 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetType'
  ;   K[4]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-11), prefabName(0-11)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('OpenView')] (self)
  0003  MOVE      R4 = R0
  0004  SELF      R6 = R0[K3('GetType')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  SELF      R7 = R0[K4('GetId')] (self)
  0007  CALL      R6 = call(R6, 1 args, 1 rets)
  0008  VARARG    R7 = vararg(0)
  0009  CALL      R2 = call(R2, 0 args, -1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto34 [OpenMainWindow] ----------
  ; fn ?  line 338-340 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='MainWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('MainWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto35 [OpenFinishWindow] ----------
  ; fn ?  line 344-346 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='FinishWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('FinishWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto36 [OpenHelpWindow] ----------
  ; fn ?  line 348-350 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='HelpWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('HelpWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto37 [CanSkipEndWindowOnLongAway] ----------
  ; fn ?  line 352-354 np=1 va=0 ms=3 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='CanSkipEndWindowOnLongAway'
  ;   K[2]='GetProgressHelper'
  ;   K[3]='CanAcquireReward'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  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)   -> 11
  0006  SELF      R2 = R0[K2('GetProgressHelper')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R2 = R1[K3('CanAcquireReward')] (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
; ---------- proto38 [_DBTableGetValue] ----------
  ; fn ?  line 361-363 np=2 va=0 ms=6 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  MOVE      R4 = R0
  0003  GETUPVAL  R5 = DB_VALUE_KEY
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto39 [_DBTableGetNumber] ----------
  ; fn ?  line 367-370 np=3 va=0 ms=7 code=13 consts=3 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='tonumber'
  ;   K[2]='_DBTableGetValue'
  ;   upvals: _ENV
  ;   locals: self(0-13), key(0-13), defaultValue(0-13)
  0000  TEST      if not R2 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  LOADK     R2 = K0 0
  0003  GETTABUP  R3 = _ENV[K1('tonumber')]
  0004  SELF      R5 = R0[K2('_DBTableGetValue')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, -1 args, 2 rets)
  0007  CALL      R3 = call(R3, 1 args, -1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  MOVE      R3 = R0
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto40 [_DBTableSet] ----------
  ; fn ?  line 374-376 np=3 va=0 ms=8 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7), value(0-7)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  MOVE      R5 = R0
  0003  GETUPVAL  R6 = DB_VALUE_KEY
  0004  MOVE      R7 = R0
  0005  CALL      R3 = call(R3, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto41 [HasPlayLimitAppearAnimation] ----------
  ; fn ?  line 378-381 np=2 va=0 ms=6 code=14 consts=5 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='HasLevelLimitedRewardStartAnimated'
  ;   K[3]='_DBTableGetValue'
  ;   K[4]=nil
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-14), level(0-14), key(5-14)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('HasLevelLimitedRewardStartAnimated')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K3('_DBTableGetValue')] (self)
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  EQ        if R0 eq K4(nil)   -> -129266
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R3 = false
  0011  LOADBOOL  R3 = true
  0012  RETURN    return R3..R2
  0013  RETURN    return R0..R-1
; ---------- proto42 [HasPlayLimitDisappearAnimation] ----------
  ; fn ?  line 383-386 np=2 va=0 ms=6 code=14 consts=5 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='HasLevelLimitedRewardEndAnimated'
  ;   K[3]='_DBTableGetValue'
  ;   K[4]=nil
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-14), level(0-14), key(5-14)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('HasLevelLimitedRewardEndAnimated')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K3('_DBTableGetValue')] (self)
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  EQ        if R0 eq K4(nil)   -> -129266
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R3 = false
  0011  LOADBOOL  R3 = true
  0012  RETURN    return R3..R2
  0013  RETURN    return R0..R-1
; ---------- proto43 [SetPlayLimitAppearAnimation] ----------
  ; fn ?  line 388-391 np=2 va=0 ms=7 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='HasLevelLimitedRewardStartAnimated'
  ;   K[3]='_DBTableSet'
  ;   K[4]=1
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-10), level(0-10), key(5-10)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('HasLevelLimitedRewardStartAnimated')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K3('_DBTableSet')] (self)
  0006  MOVE      R5 = R0
  0007  LOADK     R6 = K4 1
  0008  CALL      R3 = call(R3, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto44 [SetPlayLimitDisappearAnimation] ----------
  ; fn ?  line 393-396 np=2 va=0 ms=7 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='HasLevelLimitedRewardEndAnimated'
  ;   K[3]='_DBTableSet'
  ;   K[4]=1
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-10), level(0-10), key(5-10)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('HasLevelLimitedRewardEndAnimated')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K3('_DBTableSet')] (self)
  0006  MOVE      R5 = R0
  0007  LOADK     R6 = K4 1
  0008  CALL      R3 = call(R3, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto45 [GetTimeLimitedRewardState] ----------
  ; fn ?  line 399-407 np=2 va=0 ms=9 code=21 consts=8 upvals=2 protos=0
  ;   K[0]='m_mapRewardState'
  ;   K[1]=nil
  ;   K[2]='ETimeLimitedProgressLimitedRewardState'
  ;   K[3]='Preparing'
  ;   K[4]='string'
  ;   K[5]='format'
  ;   K[6]='LimitedRewardState'
  ;   K[7]='_DBTableGetNumber'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-21), level(0-21), defaultValue(6-17), key(11-17)
  0000  GETTABLE  R2 = R0[K0('m_mapRewardState')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 17
  0004  GETTABUP  R2 = _ENV[K2('ETimeLimitedProgressLimitedRewardState')]
  0005  GETTABLE  R2 = R2[K3('Preparing')]
  0006  GETTABUP  R3 = _ENV[K4('string')]
  0007  GETTABLE  R3 = R3[K5('format')]
  0008  GETTABUP  R4 = DBKey[K6('LimitedRewardState')]
  0009  MOVE      R5 = R0
  0010  CALL      R3 = call(R3, 1 args, 2 rets)
  0011  GETTABLE  R4 = R0[K0('m_mapRewardState')]
  0012  SELF      R6 = R0[K7('_DBTableGetNumber')] (self)
  0013  MOVE      R7 = R0
  0014  MOVE      R8 = R0
  0015  CALL      R5 = call(R5, 1 args, 3 rets)
  0016  SETTABLE  R4[R1] = R5
  0017  GETTABLE  R2 = R0[K0('m_mapRewardState')]
  0018  GETTABLE  R2 = R2[R1]
  0019  RETURN    return R2..R1
  0020  RETURN    return R0..R-1
; ---------- proto46 [SetTimeLimitedRewardState] ----------
  ; fn ?  line 410-414 np=3 va=0 ms=8 code=12 consts=5 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='LimitedRewardState'
  ;   K[3]='_DBTableSet'
  ;   K[4]='m_mapRewardState'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-12), level(0-12), state(0-12), key(5-12)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('LimitedRewardState')]
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  SELF      R5 = R0[K3('_DBTableSet')] (self)
  0006  MOVE      R6 = R0
  0007  MOVE      R7 = R0
  0008  CALL      R4 = call(R4, 0 args, 3 rets)
  0009  GETTABLE  R4 = R0[K4('m_mapRewardState')]
  0010  SETTABLE  R4[R1] = R2
  0011  RETURN    return R0..R-1
; ---------- proto47 [GetCurrentLevelLimitedRewardEndTime] ----------
  ; fn ?  line 417-419 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetValue'
  ;   K[1]='CurrentLevelLimitedRewardEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetValue')] (self)
  0001  GETTABUP  R3 = DBKey[K1('CurrentLevelLimitedRewardEndTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto48 [SetCurrentLevelLimitedRewardEndTime] ----------
  ; fn ?  line 422-424 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='CurrentLevelLimitedRewardEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), endTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('CurrentLevelLimitedRewardEndTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
