# DailyActiveQuest_Model_DailyActiveQuestModel_1621.luac
; fn @DailyActiveQuestModel.lua  line 0-0 np=0 va=1 ms=4 code=181 consts=65 upvals=1 protos=55
;   K[0]='CurrentDay'
;   K[1]='CurrentWave'
;   K[2]='LastPopupTime'
;   K[3]='DayRewardsAcquired'
;   K[4]='LastPopupDay'
;   K[5]='CurScore'
;   K[6]='DailyActiveQuestModel'
;   K[7]='setmetatable'
;   K[8]='BaseActivityModel'
;   K[9]='__index'
;   K[10]='Init'
;   K[11]='GetActivityDefinition'
;   K[12]='Destroy'
;   K[13]='GetResourceLabels'
;   K[14]='_DropData'
;   K[15]='_LoadOtherServerConfig'
;   K[16]='CheckConfigValid'
;   K[17]='CanShowIcon'
;   K[18]='GetBoardEntryShowConfig'
;   K[19]='GetButtonTarget'
;   K[20]='GetQuestHelper'
;   K[21]='CanAddScoreQuest'
;   K[22]='IsDayCompleted'
;   K[23]='IsNormalQuestCompleted'
;   K[24]='GetCurrentValidTaskConfigs'
;   K[25]='RefreshQuestConfig'
;   K[26]='TryRefreshDay'
;   K[27]='IsLastDay'
;   K[28]='GetNextWaveTaskConfigs'
;   K[29]='TryRefreshWave'
;   K[30]='OnRewardAcquired'
;   K[31]='GetAcquireQuestRewardBIType'
;   K[32]='OnQuestCompleted'
;   K[33]='_OnStateChanged'
;   K[34]='UpdatePerSecond'
;   K[35]='GetCurrentDay'
;   K[36]='SetCurrentDay'
;   K[37]='GetCurrentWave'
;   K[38]='SetCurrentWave'
;   K[39]='GetCurrentDayRewards'
;   K[40]='TryAcquireCurrentDayRewards'
;   K[41]='TryRecoverCurDayAllRewards'
;   K[42]='CanPopupRewardRecoverWindow'
;   K[43]='GetRewardRecoverRewards'
;   K[44]='RemoveRewardRecoverRewards'
;   K[45]='CanPopupMainWindow'
;   K[46]='SetPopupTime'
;   K[47]='GetUnAcquiredFirstQuestRewards'
;   K[48]='GetWaveProgressInfo'
;   K[49]='GetWaveQuestEntity'
;   K[50]='GetNextDayTime'
;   K[51]='IsGoldQuest'
;   K[52]='GetProgressHelper'
;   K[53]='CanAddScore'
;   K[54]='CanAddOrderReward'
;   K[55]='AcquireActivityToken'
;   K[56]='GetActivityTokenNumber'
;   K[57]='OnScoreChanged'
;   K[58]='_LogQuestAction'
;   K[59]='LogQuestUnlocked'
;   K[60]='LogQuestCompleted'
;   K[61]='LogQuestAcquired'
;   K[62]='LogQuestAutoFinished'
;   K[63]='LogQuestReplaced'
;   K[64]='LogAcquireProgressRewards'
;   upvals: _ENV
;   locals: EStrDBKeys(7-181)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K0('CurrentDay')] = K0('CurrentDay')
0002  SETTABLE  R0[K1('CurrentWave')] = K1('CurrentWave')
0003  SETTABLE  R0[K2('LastPopupTime')] = K2('LastPopupTime')
0004  SETTABLE  R0[K3('DayRewardsAcquired')] = K3('DayRewardsAcquired')
0005  SETTABLE  R0[K4('LastPopupDay')] = K4('LastPopupDay')
0006  SETTABLE  R0[K5('CurScore')] = K5('CurScore')
0007  GETTABUP  R1 = _ENV[K7('setmetatable')]
0008  NEWTABLE  R2 = {} (0 items)
0009  GETTABUP  R3 = _ENV[K8('BaseActivityModel')]
0010  CALL      R1 = call(R1, 1 args, 2 rets)
0011  SETTABUP  _ENV[K6('DailyActiveQuestModel')] = R1
0012  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0013  GETTABUP  R2 = _ENV[K6('DailyActiveQuestModel')]
0014  SETTABLE  R1[K9('__index')] = R2
0015  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0016  CLOSURE   R2 = closure proto0
0017  SETTABLE  R1[K10('Init')] = R2
0018  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0019  CLOSURE   R2 = closure proto1
0020  SETTABLE  R1[K11('GetActivityDefinition')] = R2
0021  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0022  CLOSURE   R2 = closure proto2
0023  SETTABLE  R1[K12('Destroy')] = R2
0024  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0025  CLOSURE   R2 = closure proto3
0026  SETTABLE  R1[K13('GetResourceLabels')] = R2
0027  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0028  CLOSURE   R2 = closure proto4
0029  SETTABLE  R1[K14('_DropData')] = R2
0030  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0031  CLOSURE   R2 = closure proto5
0032  SETTABLE  R1[K15('_LoadOtherServerConfig')] = R2
0033  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0034  CLOSURE   R2 = closure proto6
0035  SETTABLE  R1[K16('CheckConfigValid')] = R2
0036  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0037  CLOSURE   R2 = closure proto7
0038  SETTABLE  R1[K17('CanShowIcon')] = R2
0039  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0040  CLOSURE   R2 = closure proto8
0041  SETTABLE  R1[K18('GetBoardEntryShowConfig')] = R2
0042  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0043  CLOSURE   R2 = closure proto9
0044  SETTABLE  R1[K19('GetButtonTarget')] = R2
0045  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0046  CLOSURE   R2 = closure proto10
0047  SETTABLE  R1[K20('GetQuestHelper')] = R2
0048  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0049  CLOSURE   R2 = closure proto11
0050  SETTABLE  R1[K21('CanAddScoreQuest')] = R2
0051  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0052  CLOSURE   R2 = closure proto12
0053  SETTABLE  R1[K22('IsDayCompleted')] = R2
0054  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0055  CLOSURE   R2 = closure proto13
0056  SETTABLE  R1[K23('IsNormalQuestCompleted')] = R2
0057  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0058  CLOSURE   R2 = closure proto14
0059  SETTABLE  R1[K24('GetCurrentValidTaskConfigs')] = R2
0060  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0061  CLOSURE   R2 = closure proto15
0062  SETTABLE  R1[K25('RefreshQuestConfig')] = R2
0063  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0064  CLOSURE   R2 = closure proto16
0065  SETTABLE  R1[K26('TryRefreshDay')] = R2
0066  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0067  CLOSURE   R2 = closure proto17
0068  SETTABLE  R1[K27('IsLastDay')] = R2
0069  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0070  CLOSURE   R2 = closure proto18
0071  SETTABLE  R1[K28('GetNextWaveTaskConfigs')] = R2
0072  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0073  CLOSURE   R2 = closure proto19
0074  SETTABLE  R1[K29('TryRefreshWave')] = R2
0075  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0076  CLOSURE   R2 = closure proto20
0077  SETTABLE  R1[K30('OnRewardAcquired')] = R2
0078  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0079  CLOSURE   R2 = closure proto21
0080  SETTABLE  R1[K31('GetAcquireQuestRewardBIType')] = R2
0081  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0082  CLOSURE   R2 = closure proto22
0083  SETTABLE  R1[K32('OnQuestCompleted')] = R2
0084  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0085  CLOSURE   R2 = closure proto23
0086  SETTABLE  R1[K33('_OnStateChanged')] = R2
0087  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0088  CLOSURE   R2 = closure proto24
0089  SETTABLE  R1[K34('UpdatePerSecond')] = R2
0090  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0091  CLOSURE   R2 = closure proto25
0092  SETTABLE  R1[K35('GetCurrentDay')] = R2
0093  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0094  CLOSURE   R2 = closure proto26
0095  SETTABLE  R1[K36('SetCurrentDay')] = R2
0096  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0097  CLOSURE   R2 = closure proto27
0098  SETTABLE  R1[K37('GetCurrentWave')] = R2
0099  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0100  CLOSURE   R2 = closure proto28
0101  SETTABLE  R1[K38('SetCurrentWave')] = R2
0102  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0103  CLOSURE   R2 = closure proto29
0104  SETTABLE  R1[K39('GetCurrentDayRewards')] = R2
0105  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0106  CLOSURE   R2 = closure proto30
0107  SETTABLE  R1[K40('TryAcquireCurrentDayRewards')] = R2
0108  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0109  CLOSURE   R2 = closure proto31
0110  SETTABLE  R1[K41('TryRecoverCurDayAllRewards')] = R2
0111  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0112  CLOSURE   R2 = closure proto32
0113  SETTABLE  R1[K42('CanPopupRewardRecoverWindow')] = R2
0114  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0115  CLOSURE   R2 = closure proto33
0116  SETTABLE  R1[K43('GetRewardRecoverRewards')] = R2
0117  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0118  CLOSURE   R2 = closure proto34
0119  SETTABLE  R1[K44('RemoveRewardRecoverRewards')] = R2
0120  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0121  CLOSURE   R2 = closure proto35
0122  SETTABLE  R1[K45('CanPopupMainWindow')] = R2
0123  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0124  CLOSURE   R2 = closure proto36
0125  SETTABLE  R1[K46('SetPopupTime')] = R2
0126  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0127  CLOSURE   R2 = closure proto37
0128  SETTABLE  R1[K47('GetUnAcquiredFirstQuestRewards')] = R2
0129  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0130  CLOSURE   R2 = closure proto38
0131  SETTABLE  R1[K48('GetWaveProgressInfo')] = R2
0132  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0133  CLOSURE   R2 = closure proto39
0134  SETTABLE  R1[K49('GetWaveQuestEntity')] = R2
0135  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0136  CLOSURE   R2 = closure proto40
0137  SETTABLE  R1[K50('GetNextDayTime')] = R2
0138  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0139  CLOSURE   R2 = closure proto41
0140  SETTABLE  R1[K51('IsGoldQuest')] = R2
0141  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0142  CLOSURE   R2 = closure proto42
0143  SETTABLE  R1[K52('GetProgressHelper')] = R2
0144  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0145  CLOSURE   R2 = closure proto43
0146  SETTABLE  R1[K53('CanAddScore')] = R2
0147  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0148  CLOSURE   R2 = closure proto44
0149  SETTABLE  R1[K54('CanAddOrderReward')] = R2
0150  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0151  CLOSURE   R2 = closure proto45
0152  SETTABLE  R1[K55('AcquireActivityToken')] = R2
0153  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0154  CLOSURE   R2 = closure proto46
0155  SETTABLE  R1[K56('GetActivityTokenNumber')] = R2
0156  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0157  CLOSURE   R2 = closure proto47
0158  SETTABLE  R1[K57('OnScoreChanged')] = R2
0159  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0160  CLOSURE   R2 = closure proto48
0161  SETTABLE  R1[K58('_LogQuestAction')] = R2
0162  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0163  CLOSURE   R2 = closure proto49
0164  SETTABLE  R1[K59('LogQuestUnlocked')] = R2
0165  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0166  CLOSURE   R2 = closure proto50
0167  SETTABLE  R1[K60('LogQuestCompleted')] = R2
0168  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0169  CLOSURE   R2 = closure proto51
0170  SETTABLE  R1[K61('LogQuestAcquired')] = R2
0171  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0172  CLOSURE   R2 = closure proto52
0173  SETTABLE  R1[K62('LogQuestAutoFinished')] = R2
0174  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0175  CLOSURE   R2 = closure proto53
0176  SETTABLE  R1[K63('LogQuestReplaced')] = R2
0177  GETTABUP  R1 = _ENV[K6('DailyActiveQuestModel')]
0178  CLOSURE   R2 = closure proto54
0179  SETTABLE  R1[K64('LogAcquireProgressRewards')] = R2
0180  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 17-35 np=4 va=0 ms=9 code=53 consts=31 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='DailyActiveQuestDefinition'
  ;   K[2]='m_questDBTable'
  ;   K[3]='m_questHelper'
  ;   K[4]='ActivityQuestHelper'
  ;   K[5]='Create'
  ;   K[6]='eBIType'
  ;   K[7]='EBIType'
  ;   K[8]='DailyActiveQuestCollectTask'
  ;   K[9]='eRewardScene'
  ;   K[10]='ERewardScene'
  ;   K[11]='Other'
  ;   K[12]='eTaskUnlockBIType'
  ;   K[13]='DailyActiveQuestUnlockTask'
  ;   K[14]='eTaskFinishBIType'
  ;   K[15]='DailyActiveQuestFinishTask'
  ;   K[16]='eTaskReplaceBIType'
  ;   K[17]='DailyActiveQuestReplaceTask'
  ;   K[18]='eQuestValidHandleType'
  ;   K[19]='EActivityQuestValidHandleType'
  ;   K[20]='Replace'
  ;   K[21]='m_progressHelper'
  ;   K[22]='ActivityProgressHelper'
  ;   K[23]='ePropertySource'
  ;   K[24]='EPropertySource'
  ;   K[25]='Give'
  ;   K[26]='DailyActiveQuestProgressReward'
  ;   K[27]='bDynamic'
  ;   K[28]=true
  ;   K[29]='BaseActivityModel'
  ;   K[30]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-53), activityType(0-53), dbTable(0-53), questDBTable(0-53)
  0000  GETTABUP  R4 = _ENV[K1('DailyActiveQuestDefinition')]
  0001  GETTABLE  R4 = R4[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R4
  0003  SETTABLE  R0[K2('m_questDBTable')] = R3
  0004  GETTABUP  R4 = _ENV[K4('ActivityQuestHelper')]
  0005  GETTABLE  R4 = R4[K5('Create')]
  0006  MOVE      R5 = R0
  0007  MOVE      R6 = R0
  0008  NEWTABLE  R7 = {} (0 items)
  0009  GETTABUP  R8 = _ENV[K7('EBIType')]
  0010  GETTABLE  R8 = R8[K8('DailyActiveQuestCollectTask')]
  0011  SETTABLE  R7[K6('eBIType')] = R8
  0012  GETTABUP  R8 = _ENV[K10('ERewardScene')]
  0013  GETTABLE  R8 = R8[K11('Other')]
  0014  SETTABLE  R7[K9('eRewardScene')] = R8
  0015  GETTABUP  R8 = _ENV[K7('EBIType')]
  0016  GETTABLE  R8 = R8[K13('DailyActiveQuestUnlockTask')]
  0017  SETTABLE  R7[K12('eTaskUnlockBIType')] = R8
  0018  GETTABUP  R8 = _ENV[K7('EBIType')]
  0019  GETTABLE  R8 = R8[K15('DailyActiveQuestFinishTask')]
  0020  SETTABLE  R7[K14('eTaskFinishBIType')] = R8
  0021  GETTABUP  R8 = _ENV[K7('EBIType')]
  0022  GETTABLE  R8 = R8[K17('DailyActiveQuestReplaceTask')]
  0023  SETTABLE  R7[K16('eTaskReplaceBIType')] = R8
  0024  GETTABUP  R8 = _ENV[K19('EActivityQuestValidHandleType')]
  0025  GETTABLE  R8 = R8[K20('Replace')]
  0026  SETTABLE  R7[K18('eQuestValidHandleType')] = R8
  0027  CALL      R4 = call(R4, 1 args, 3 rets)
  0028  SETTABLE  R0[K3('m_questHelper')] = R4
  0029  GETTABUP  R4 = _ENV[K22('ActivityProgressHelper')]
  0030  GETTABLE  R4 = R4[K5('Create')]
  0031  MOVE      R5 = R0
  0032  MOVE      R6 = R0
  0033  NEWTABLE  R7 = {} (0 items)
  0034  GETTABUP  R8 = _ENV[K24('EPropertySource')]
  0035  GETTABLE  R8 = R8[K25('Give')]
  0036  SETTABLE  R7[K23('ePropertySource')] = R8
  0037  GETTABUP  R8 = _ENV[K7('EBIType')]
  0038  GETTABLE  R8 = R8[K26('DailyActiveQuestProgressReward')]
  0039  SETTABLE  R7[K6('eBIType')] = R8
  0040  GETTABUP  R8 = _ENV[K10('ERewardScene')]
  0041  GETTABLE  R8 = R8[K11('Other')]
  0042  SETTABLE  R7[K9('eRewardScene')] = R8
  0043  SETTABLE  R7[K27('bDynamic')] = K28(true)
  0044  CALL      R4 = call(R4, 1 args, 3 rets)
  0045  SETTABLE  R0[K21('m_progressHelper')] = R4
  0046  GETTABUP  R4 = _ENV[K29('BaseActivityModel')]
  0047  GETTABLE  R4 = R4[K30('Init')]
  0048  MOVE      R5 = R0
  0049  MOVE      R6 = R0
  0050  MOVE      R7 = R0
  0051  CALL      R4 = call(R4, 0 args, 3 rets)
  0052  RETURN    return R0..R-1
; ---------- proto1 [GetActivityDefinition] ----------
  ; fn ?  line 37-39 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
; ---------- proto2 [Destroy] ----------
  ; fn ?  line 41-44 np=1 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='m_questHelper'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  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  GETTABLE  R1 = R0[K2('m_questHelper')]
  0005  SELF      R2 = R1[K1('Destroy')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto3 [GetResourceLabels] ----------
  ; fn ?  line 46-48 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto4 [_DropData] ----------
  ; fn ?  line 50-56 np=1 va=0 ms=3 code=13 consts=9 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_curDay'
  ;   K[3]=nil
  ;   K[4]='m_recoverRewards'
  ;   K[5]='m_questDBTable'
  ;   K[6]='Drop'
  ;   K[7]='m_questHelper'
  ;   K[8]='DropData'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  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  SETTABLE  R0[K2('m_curDay')] = K3(nil)
  0005  SETTABLE  R0[K4('m_recoverRewards')] = K3(nil)
  0006  GETTABLE  R1 = R0[K5('m_questDBTable')]
  0007  SELF      R2 = R1[K6('Drop')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABLE  R1 = R0[K7('m_questHelper')]
  0010  SELF      R2 = R1[K8('DropData')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto5 [_LoadOtherServerConfig] ----------
  ; fn ?  line 58-103 np=2 va=0 ms=18 code=107 consts=25 upvals=1 protos=1
  ;   K[0]='m_progressHelper'
  ;   K[1]='LoadConfig'
  ;   K[2]='dailyActiveQuestTask'
  ;   K[3]='m_arrAllTaskConfigs'
  ;   K[4]='Table'
  ;   K[5]='ShallowCopy'
  ;   K[6]='table'
  ;   K[7]='sort'
  ;   K[8]='m_mapTaskConfig'
  ;   K[9]='ipairs'
  ;   K[10]='day'
  ;   K[11]='wave'
  ;   K[12]='insert'
  ;   K[13]='m_mapCircleTaskConfig'
  ;   K[14]=1
  ;   K[15]=nil
  ;   K[16]='waveCircle'
  ;   K[17]='m_arrDayRewardConfig'
  ;   K[18]='dailyActiveQuestReward'
  ;   K[19]='m_arrReplaceConfig'
  ;   K[20]='weeklyActiveQuestTaskReplace'
  ;   K[21]='GetCurrentDay'
  ;   K[22]=0
  ;   K[23]='RefreshQuestConfig'
  ;   K[24]='CheckConfigValid'
  ;   upvals: _ENV
  ;   locals: self(0-107), config(0-107), arrConfig(8-107), day(21-107), wave(21-107), (for generator)(24-52), (for state)(24-52), (for control)(24-52), _(25-50), taskConfig(25-50), (for generator)(57-82), (for state)(57-82), (for control)(57-82), day(58-80), arrWaveTaskConfig(58-80), (for generator)(64-80), (for state)(64-80), (for control)(64-80), wave(65-78), arrTaskConfig(65-78), (for generator)(90-96), (for state)(90-96), (for control)(90-96), _(91-94), config(91-94)
  0000  GETTABLE  R2 = R0[K0('m_progressHelper')]
  0001  SELF      R3 = R2[K1('LoadConfig')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  GETTABLE  R2 = R1[K2('dailyActiveQuestTask')]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R2 = {} (0 items)
  0008  GETTABUP  R3 = _ENV[K4('Table')]
  0009  GETTABLE  R3 = R3[K5('ShallowCopy')]
  0010  MOVE      R4 = R0
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  SETTABLE  R0[K3('m_arrAllTaskConfigs')] = R3
  0013  GETTABUP  R3 = _ENV[K6('table')]
  0014  GETTABLE  R3 = R3[K7('sort')]
  0015  GETTABLE  R4 = R0[K3('m_arrAllTaskConfigs')]
  0016  CLOSURE   R5 = closure proto0
  0017  CALL      R3 = call(R3, 0 args, 2 rets)
  0018  NEWTABLE  R3 = {} (0 items)
  0019  SETTABLE  R0[K8('m_mapTaskConfig')] = R3
  0020  LOADNIL   R3..R3 = nil
  0021  GETTABUP  R5 = _ENV[K9('ipairs')]
  0022  GETTABLE  R6 = R0[K3('m_arrAllTaskConfigs')]
  0023  CALL      R5 = call(R5, 3 args, 1 rets)
  0024  JMP       (jump)   -> 50
  0025  GETTABLE  R3 = R9[K10('day')]
  0026  GETTABLE  R4 = R9[K11('wave')]
  0027  GETTABLE  R10 = R0[K8('m_mapTaskConfig')]
  0028  GETTABLE  R11 = R0[K8('m_mapTaskConfig')]
  0029  GETTABLE  R11 = R11[R3]
  0030  TEST      if not R11 then   -> -131039
  0031  JMP       (jump)   -> 33
  0032  NEWTABLE  R11 = {} (0 items)
  0033  SETTABLE  R10[R3] = R11
  0034  GETTABLE  R10 = R0[K8('m_mapTaskConfig')]
  0035  GETTABLE  R10 = R10[R3]
  0036  GETTABLE  R11 = R0[K8('m_mapTaskConfig')]
  0037  GETTABLE  R11 = R11[R3]
  0038  GETTABLE  R11 = R11[R4]
  0039  TEST      if not R11 then   -> -131030
  0040  JMP       (jump)   -> 42
  0041  NEWTABLE  R11 = {} (0 items)
  0042  SETTABLE  R10[R4] = R11
  0043  GETTABUP  R10 = _ENV[K6('table')]
  0044  GETTABLE  R10 = R10[K12('insert')]
  0045  GETTABLE  R11 = R0[K8('m_mapTaskConfig')]
  0046  GETTABLE  R11 = R11[R3]
  0047  GETTABLE  R11 = R11[R4]
  0048  MOVE      R12 = R0
  0049  CALL      R10 = call(R10, 0 args, 2 rets)
  0050  TFORCALL  tforcall R5
  0051  TFORLOOP  tforloop R7(sBx=-27)   -> 25
  0052  NEWTABLE  R5 = {} (0 items)
  0053  SETTABLE  R0[K13('m_mapCircleTaskConfig')] = R5
  0054  GETTABUP  R5 = _ENV[K9('ipairs')]
  0055  GETTABLE  R6 = R0[K8('m_mapTaskConfig')]
  0056  CALL      R5 = call(R5, 3 args, 1 rets)
  0057  JMP       (jump)   -> 80
  0058  GETTABLE  R10 = R0[K13('m_mapCircleTaskConfig')]
  0059  NEWTABLE  R11 = {} (0 items)
  0060  SETTABLE  R10[R8] = R11
  0061  GETTABUP  R10 = _ENV[K9('ipairs')]
  0062  MOVE      R11 = R0
  0063  CALL      R10 = call(R10, 3 args, 1 rets)
  0064  JMP       (jump)   -> 78
  0065  GETTABLE  R15 = R14[K14(1)]
  0066  EQ        if R1 eq K15(nil)   -> -123053
  0067  JMP       (jump)   -> 78
  0068  GETTABLE  R15 = R14[K14(1)]
  0069  GETTABLE  R15 = R15[K16('waveCircle')]
  0070  EQ        if R0 eq K14(1)   -> -123050
  0071  JMP       (jump)   -> 78
  0072  GETTABUP  R15 = _ENV[K6('table')]
  0073  GETTABLE  R15 = R15[K12('insert')]
  0074  GETTABLE  R16 = R0[K13('m_mapCircleTaskConfig')]
  0075  GETTABLE  R16 = R16[R8]
  0076  MOVE      R17 = R0
  0077  CALL      R15 = call(R15, 0 args, 2 rets)
  0078  TFORCALL  tforcall R10
  0079  TFORLOOP  tforloop R12(sBx=-15)   -> 65
  0080  TFORCALL  tforcall R5
  0081  TFORLOOP  tforloop R7(sBx=-24)   -> 58
  0082  NEWTABLE  R5 = {} (0 items)
  0083  SETTABLE  R0[K17('m_arrDayRewardConfig')] = R5
  0084  GETTABUP  R5 = _ENV[K9('ipairs')]
  0085  GETTABLE  R6 = R1[K18('dailyActiveQuestReward')]
  0086  TEST      if not R6 then   -> -130983
  0087  JMP       (jump)   -> 89
  0088  NEWTABLE  R6 = {} (0 items)
  0089  CALL      R5 = call(R5, 3 args, 1 rets)
  0090  JMP       (jump)   -> 94
  0091  GETTABLE  R10 = R0[K17('m_arrDayRewardConfig')]
  0092  GETTABLE  R11 = R9[K10('day')]
  0093  SETTABLE  R10[R11] = R9
  0094  TFORCALL  tforcall R5
  0095  TFORLOOP  tforloop R7(sBx=-5)   -> 91
  0096  GETTABLE  R5 = R1[K20('weeklyActiveQuestTaskReplace')]
  0097  SETTABLE  R0[K19('m_arrReplaceConfig')] = R5
  0098  SELF      R6 = R0[K21('GetCurrentDay')] (self)
  0099  CALL      R5 = call(R5, 1 args, 1 rets)
  0100  LT        if R0 lt R5   -> 11371
  0101  JMP       (jump)   -> 104
  0102  SELF      R6 = R0[K23('RefreshQuestConfig')] (self)
  0103  CALL      R5 = call(R5, 0 args, 1 rets)
  0104  SELF      R6 = R0[K24('CheckConfigValid')] (self)
  0105  CALL      R5 = call(R5, 0 args, 1 rets)
  0106  RETURN    return R0..R-1
  ; ---------- proto0 [m_mapTaskConfig] ----------
    ; fn ?  line 64-66 np=2 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
    ;   K[0]='id'
    ;   locals: a(0-8), b(0-8)
    0000  GETTABLE  R2 = R0[K0('id')]
    0001  GETTABLE  R3 = R1[K0('id')]
    0002  LT        if R1 lt R3   -> -130041
    0003  JMP       (jump)   -> 5
    0004  LOADBOOL  R2 = false
    0005  LOADBOOL  R2 = true
    0006  RETURN    return R2..R1
    0007  RETURN    return R0..R-1
; ---------- proto6 [CheckConfigValid] ----------
  ; fn ?  line 105-255 np=1 va=0 ms=26 code=325 consts=47 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetEndTime'
  ;   K[3]='GetStartTime'
  ;   K[4]=1
  ;   K[5]=86400
  ;   K[6]='m_mapTaskConfig'
  ;   K[7]=nil
  ;   K[8]='Log'
  ;   K[9]='Error'
  ;   K[10]='[DailyActiveQuestModel] 活动开启期间必须每一天都有任务, 缺少的天数 day: '
  ;   K[11]='Table'
  ;   K[12]='IsEmpty'
  ;   K[13]='string'
  ;   K[14]='format'
  ;   K[15]='[DailyActiveQuestModel] 第%d天的wave必须从1开始且连续，缺少wave=%d的配置'
  ;   K[16]='ipairs'
  ;   K[17]='m_arrAllTaskConfigs'
  ;   K[18]='id'
  ;   K[19]='[DailyActiveQuestModel] 任务ID重复: id=%d, 请检查dailyActiveQuestTask表配置'
  ;   K[20]=true
  ;   K[21]='waveCircle'
  ;   K[22]='[DailyActiveQuestModel] 每日任务不可循环, day=%d, wave=%d, id=%d'
  ;   K[23]='[DailyActiveQuestModel] 循环任务必须同波次所有任务一起循环, day=%d, wave=%d'
  ;   K[24]='task_type'
  ;   K[25]='ActivityQuestType'
  ;   K[26]='Login'
  ;   K[27]='task_num'
  ;   K[28]='[DailyActiveQuestModel] Login任务的目标数量只能为1，当前为%d, id=%d'
  ;   K[29]=0
  ;   K[30]='rewards'
  ;   K[31]='PROPERTY_TYPE'
  ;   K[32]='m_activityDefinition'
  ;   K[33]='ActivityTokenPropertyType'
  ;   K[34]='PROPERTY_COUNT'
  ;   K[35]='[DailyActiveQuestModel] 循环任务不支持配置积分, id: '
  ;   K[36]='[DailyActiveQuestModel] 任务除积分奖励外不允许超过1个, 请检查配置; id: '
  ;   K[37]='GetProgressHelper'
  ;   K[38]='GetMaxLevel'
  ;   K[39]='GetLevelRequiredScoreByLevel'
  ;   K[40]='[DailyActiveQuestModel] 任务发放的积分(%d)必须小于进度条最小差额(%d), id: %d'
  ;   K[41]='m_progressHelper'
  ;   K[42]='GetTotalScoreRequired'
  ;   K[43]='[DailyActiveQuestModel] 任务总积分应大于等于进度条总积分，目前无法完成进度条'
  ;   K[44]='GetLevelRewardsByLevel'
  ;   K[45]='[DailyActiveQuestModel] 进度奖励不允许为空, level: '
  ;   K[46]='[DailyActiveQuestModel] 进度奖励数量不得大于1, level: '
  ;   upvals: _ENV
  ;   locals: self(0-325), maxDay(14-325), (for index)(17-52), (for limit)(17-52), (for step)(17-52), day(18-51), arrWaveTaskConfig(31-51), (for index)(34-51), (for limit)(34-51), (for step)(34-51), wave(35-50), taskIdSet(53-325), (for generator)(59-76), (for state)(59-76), (for control)(59-76), _(60-74), taskConfig(60-74), (for generator)(79-133), (for state)(79-133), (for control)(79-133), day(80-131), arrWaveTaskConfig(80-131), (for generator)(83-131), (for state)(83-131), (for control)(83-131), wave(84-129), arrTaskConfig(84-129), hasCircle(91-129), hasNonCircle(92-129), (for generator)(95-116), (for state)(95-116), (for control)(95-116), _(96-114), taskConfig(96-114), (for generator)(139-161), (for state)(139-161), (for control)(139-161), _(140-159), taskConfig(140-159), targetNum(146-159), otherRewardNum(162-325), tokenNum(163-325), minScoreDiff(164-325), (for generator)(170-212), (for state)(170-212), (for control)(170-212), _(171-210), taskConfig(171-210), taskScore(173-210), (for generator)(179-202), (for state)(179-202), (for control)(179-202), _(180-200), reward(180-200), progressHelper(214-325), maxLevel(218-279), lastScore(219-279), (for index)(222-236), (for limit)(222-236), (for step)(222-236), i(223-235), currentScore(226-235), diff(229-235), (for generator)(242-279), (for state)(242-279), (for control)(242-279), _(243-277), taskConfig(243-277), (for generator)(252-277), (for state)(252-277), (for control)(252-277), _(253-275), reward(253-275), taskScore(261-275), maxScore(282-325), maxLevel(291-325), rewards(292-325), (for index)(295-324), (for limit)(295-324), (for step)(295-324), i(296-323)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetEndTime')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R0[K3('GetStartTime')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SUB       R1 = R2 sub R1
  0011  SUB       R1 = K4(1) sub R1
  0012  IDIV      R1 = K5(86400) idiv R1
  0013  ADD       R1 = K4(1) add R1
  0014  LOADK     R2 = K4 1
  0015  MOVE      R3 = R0
  0016  LOADK     R4 = K4 1
  0017  FORPREP   forprep R2(sBx=33)   -> 51
  0018  GETTABLE  R6 = R0[K6('m_mapTaskConfig')]
  0019  GETTABLE  R6 = R6[R5]
  0020  EQ        if R0 eq K7(nil)   -> -127715
  0021  JMP       (jump)   -> 29
  0022  GETTABUP  R6 = _ENV[K8('Log')]
  0023  GETTABLE  R6 = R6[K9('Error')]
  0024  LOADK     R7 = K10 '[DailyActiveQuestModel] 活动开启期间必须每一天都有任务, 缺少的天数 day: '
  0025  MOVE      R8 = R0
  0026  CONCAT    R7 = concat(R7..R7)
  0027  CALL      R6 = call(R6, 0 args, 1 rets)
  0028  JMP       (jump)   -> 51
  0029  GETTABLE  R6 = R0[K6('m_mapTaskConfig')]
  0030  GETTABLE  R6 = R6[R5]
  0031  LOADK     R7 = K4 1
  0032  LEN       R8 = len R0
  0033  LOADK     R9 = K4 1
  0034  FORPREP   forprep R7(sBx=15)   -> 50
  0035  GETTABUP  R11 = _ENV[K11('Table')]
  0036  GETTABLE  R11 = R11[K12('IsEmpty')]
  0037  GETTABLE  R12 = R6[R10]
  0038  CALL      R11 = call(R11, 1 args, 1 rets)
  0039  TEST      if not R11 then   -> -131031
  0040  JMP       (jump)   -> 50
  0041  GETTABUP  R11 = _ENV[K8('Log')]
  0042  GETTABLE  R11 = R11[K9('Error')]
  0043  GETTABUP  R12 = _ENV[K13('string')]
  0044  GETTABLE  R12 = R12[K14('format')]
  0045  LOADK     R13 = K15 '[DailyActiveQuestModel] 第%d天的wave必须从1开始且连续，缺少wave=%d的配置'
  0046  MOVE      R14 = R0
  0047  MOVE      R15 = R0
  0048  CALL      R12 = call(R12, -1 args, 3 rets)
  0049  CALL      R11 = call(R11, 0 args, -1 rets)
  0050  FORLOOP   forloop R7(sBx=-16)   -> 35
  0051  FORLOOP   forloop R2(sBx=-34)   -> 18
  0052  NEWTABLE  R2 = {} (0 items)
  0053  GETTABUP  R3 = _ENV[K16('ipairs')]
  0054  GETTABLE  R4 = R0[K17('m_arrAllTaskConfigs')]
  0055  TEST      if not R4 then   -> -131014
  0056  JMP       (jump)   -> 58
  0057  NEWTABLE  R4 = {} (0 items)
  0058  CALL      R3 = call(R3, 3 args, 1 rets)
  0059  JMP       (jump)   -> 74
  0060  GETTABLE  R8 = R7[K18('id')]
  0061  GETTABLE  R8 = R2[R8]
  0062  TEST      if not R8 then   -> -131008
  0063  JMP       (jump)   -> 72
  0064  GETTABUP  R8 = _ENV[K8('Log')]
  0065  GETTABLE  R8 = R8[K9('Error')]
  0066  GETTABUP  R9 = _ENV[K13('string')]
  0067  GETTABLE  R9 = R9[K14('format')]
  0068  LOADK     R10 = K19 '[DailyActiveQuestModel] 任务ID重复: id=%d, 请检查dailyActiveQuestTask表配置'
  0069  GETTABLE  R11 = R7[K18('id')]
  0070  CALL      R9 = call(R9, -1 args, 2 rets)
  0071  CALL      R8 = call(R8, 0 args, -1 rets)
  0072  GETTABLE  R8 = R7[K18('id')]
  0073  SETTABLE  R2[R8] = K20(true)
  0074  TFORCALL  tforcall R3
  0075  TFORLOOP  tforloop R5(sBx=-16)   -> 60
  0076  GETTABUP  R3 = _ENV[K16('ipairs')]
  0077  GETTABLE  R4 = R0[K6('m_mapTaskConfig')]
  0078  CALL      R3 = call(R3, 3 args, 1 rets)
  0079  JMP       (jump)   -> 131
  0080  GETTABUP  R8 = _ENV[K16('ipairs')]
  0081  MOVE      R9 = R0
  0082  CALL      R8 = call(R8, 3 args, 1 rets)
  0083  JMP       (jump)   -> 129
  0084  GETTABUP  R13 = _ENV[K11('Table')]
  0085  GETTABLE  R13 = R13[K12('IsEmpty')]
  0086  MOVE      R14 = R0
  0087  CALL      R13 = call(R13, 1 args, 1 rets)
  0088  TEST      if not R13 then   -> -130981
  0089  JMP       (jump)   -> 129
  0090  LOADBOOL  R13 = false
  0091  LOADBOOL  R14 = false
  0092  GETTABUP  R15 = _ENV[K16('ipairs')]
  0093  MOVE      R16 = R0
  0094  CALL      R15 = call(R15, 3 args, 1 rets)
  0095  JMP       (jump)   -> 114
  0096  GETTABLE  R20 = R19[K21('waveCircle')]
  0097  EQ        if R0 eq K4(1)   -> -120473
  0098  JMP       (jump)   -> 113
  0099  LOADBOOL  R13 = true
  0100  EQ        if R0 eq K4(1)   -> -125078
  0101  JMP       (jump)   -> 114
  0102  GETTABUP  R20 = _ENV[K8('Log')]
  0103  GETTABLE  R20 = R20[K9('Error')]
  0104  GETTABUP  R21 = _ENV[K13('string')]
  0105  GETTABLE  R21 = R21[K14('format')]
  0106  LOADK     R22 = K22 '[DailyActiveQuestModel] 每日任务不可循环, day=%d, wave=%d, id=%d'
  0107  MOVE      R23 = R0
  0108  MOVE      R24 = R0
  0109  GETTABLE  R25 = R19[K18('id')]
  0110  CALL      R21 = call(R21, -1 args, 4 rets)
  0111  CALL      R20 = call(R20, 0 args, -1 rets)
  0112  JMP       (jump)   -> 114
  0113  LOADBOOL  R14 = true
  0114  TFORCALL  tforcall R15
  0115  TFORLOOP  tforloop R17(sBx=-20)   -> 96
  0116  TEST      if not R13 then   -> -130954
  0117  JMP       (jump)   -> 129
  0118  TEST      if not R14 then   -> -130952
  0119  JMP       (jump)   -> 129
  0120  GETTABUP  R15 = _ENV[K8('Log')]
  0121  GETTABLE  R15 = R15[K9('Error')]
  0122  GETTABUP  R16 = _ENV[K13('string')]
  0123  GETTABLE  R16 = R16[K14('format')]
  0124  LOADK     R17 = K23 '[DailyActiveQuestModel] 循环任务必须同波次所有任务一起循环, day=%d, wave=%d'
  0125  MOVE      R18 = R0
  0126  MOVE      R19 = R0
  0127  CALL      R16 = call(R16, -1 args, 3 rets)
  0128  CALL      R15 = call(R15, 0 args, -1 rets)
  0129  TFORCALL  tforcall R8
  0130  TFORLOOP  tforloop R10(sBx=-47)   -> 84
  0131  TFORCALL  tforcall R3
  0132  TFORLOOP  tforloop R5(sBx=-53)   -> 80
  0133  GETTABUP  R3 = _ENV[K16('ipairs')]
  0134  GETTABLE  R4 = R0[K17('m_arrAllTaskConfigs')]
  0135  TEST      if not R4 then   -> -130934
  0136  JMP       (jump)   -> 138
  0137  NEWTABLE  R4 = {} (0 items)
  0138  CALL      R3 = call(R3, 3 args, 1 rets)
  0139  JMP       (jump)   -> 159
  0140  GETTABLE  R8 = R7[K24('task_type')]
  0141  GETTABUP  R9 = _ENV[K25('ActivityQuestType')]
  0142  GETTABLE  R9 = R9[K26('Login')]
  0143  EQ        if R0 eq R9   -> -126822
  0144  JMP       (jump)   -> 159
  0145  GETTABLE  R8 = R7[K27('task_num')]
  0146  TEST      if not R8 then   -> -130924
  0147  JMP       (jump)   -> 159
  0148  EQ        if R1 eq K4(1)   -> -126566
  0149  JMP       (jump)   -> 159
  0150  GETTABUP  R9 = _ENV[K8('Log')]
  0151  GETTABLE  R9 = R9[K9('Error')]
  0152  GETTABUP  R10 = _ENV[K13('string')]
  0153  GETTABLE  R10 = R10[K14('format')]
  0154  LOADK     R11 = K28 '[DailyActiveQuestModel] Login任务的目标数量只能为1，当前为%d, id=%d'
  0155  MOVE      R12 = R0
  0156  GETTABLE  R13 = R7[K18('id')]
  0157  CALL      R10 = call(R10, -1 args, 3 rets)
  0158  CALL      R9 = call(R9, 0 args, -1 rets)
  0159  TFORCALL  tforcall R3
  0160  TFORLOOP  tforloop R5(sBx=-21)   -> 140
  0161  LOADNIL   R3..R3 = nil
  0162  LOADK     R4 = K29 0
  0163  LOADNIL   R5..R5 = nil
  0164  GETTABUP  R6 = _ENV[K16('ipairs')]
  0165  GETTABLE  R7 = R0[K17('m_arrAllTaskConfigs')]
  0166  TEST      if not R7 then   -> -130903
  0167  JMP       (jump)   -> 169
  0168  NEWTABLE  R7 = {} (0 items)
  0169  CALL      R6 = call(R6, 3 args, 1 rets)
  0170  JMP       (jump)   -> 210
  0171  LOADK     R3 = K29 0
  0172  LOADK     R11 = K29 0
  0173  GETTABUP  R12 = _ENV[K16('ipairs')]
  0174  GETTABLE  R13 = R10[K30('rewards')]
  0175  TEST      if not R13 then   -> -130894
  0176  JMP       (jump)   -> 178
  0177  NEWTABLE  R13 = {} (0 items)
  0178  CALL      R12 = call(R12, 3 args, 1 rets)
  0179  JMP       (jump)   -> 200
  0180  GETTABUP  R17 = _ENV[K31('PROPERTY_TYPE')]
  0181  GETTABLE  R17 = R16[R17]
  0182  GETTABLE  R18 = R0[K32('m_activityDefinition')]
  0183  GETTABLE  R18 = R18[K33('ActivityTokenPropertyType')]
  0184  EQ        if R1 eq R18   -> -122164
  0185  JMP       (jump)   -> 188
  0186  ADD       R3 = K4(1) add R3
  0187  JMP       (jump)   -> 200
  0188  GETTABUP  R17 = _ENV[K34('PROPERTY_COUNT')]
  0189  GETTABLE  R11 = R16[R17]
  0190  ADD       R4 = R11 add R4
  0191  GETTABLE  R17 = R10[K21('waveCircle')]
  0192  EQ        if R0 eq K4(1)   -> -121914
  0193  JMP       (jump)   -> 200
  0194  GETTABUP  R17 = _ENV[K8('Log')]
  0195  GETTABLE  R17 = R17[K9('Error')]
  0196  LOADK     R18 = K35 '[DailyActiveQuestModel] 循环任务不支持配置积分, id: '
  0197  GETTABLE  R19 = R10[K18('id')]
  0198  CONCAT    R18 = concat(R18..R18)
  0199  CALL      R17 = call(R17, 0 args, 1 rets)
  0200  TFORCALL  tforcall R12
  0201  TFORLOOP  tforloop R14(sBx=-22)   -> 180
  0202  LT        if R0 lt R3   -> 2255
  0203  JMP       (jump)   -> 210
  0204  GETTABUP  R12 = _ENV[K8('Log')]
  0205  GETTABLE  R12 = R12[K9('Error')]
  0206  LOADK     R13 = K36 '[DailyActiveQuestModel] 任务除积分奖励外不允许超过1个, 请检查配置; id: '
  0207  GETTABLE  R14 = R10[K18('id')]
  0208  CONCAT    R13 = concat(R13..R13)
  0209  CALL      R12 = call(R12, 0 args, 1 rets)
  0210  TFORCALL  tforcall R6
  0211  TFORLOOP  tforloop R8(sBx=-41)   -> 171
  0212  SELF      R7 = R0[K37('GetProgressHelper')] (self)
  0213  CALL      R6 = call(R6, 1 args, 1 rets)
  0214  TEST      if not R6 then   -> -130856
  0215  JMP       (jump)   -> 279
  0216  SELF      R8 = R6[K38('GetMaxLevel')] (self)
  0217  CALL      R7 = call(R7, 1 args, 1 rets)
  0218  LOADK     R8 = K29 0
  0219  LOADK     R9 = K4 1
  0220  MOVE      R10 = R0
  0221  LOADK     R11 = K4 1
  0222  FORPREP   forprep R9(sBx=12)   -> 235
  0223  SELF      R14 = R6[K39('GetLevelRequiredScoreByLevel')] (self)
  0224  MOVE      R15 = R0
  0225  CALL      R13 = call(R13, 1 args, 2 rets)
  0226  TEST      if not R13 then   -> -130844
  0227  JMP       (jump)   -> 235
  0228  SUB       R14 = R8 sub R13
  0229  EQ        if R1 eq K7(nil)   -> -128018
  0230  JMP       (jump)   -> 233
  0231  LT        if R0 lt R5   -> -123666
  0232  JMP       (jump)   -> 234
  0233  MOVE      R5 = R0
  0234  MOVE      R8 = R0
  0235  FORLOOP   forloop R9(sBx=-13)   -> 223
  0236  GETTABUP  R9 = _ENV[K16('ipairs')]
  0237  GETTABLE  R10 = R0[K17('m_arrAllTaskConfigs')]
  0238  TEST      if not R10 then   -> -130831
  0239  JMP       (jump)   -> 241
  0240  NEWTABLE  R10 = {} (0 items)
  0241  CALL      R9 = call(R9, 3 args, 1 rets)
  0242  JMP       (jump)   -> 277
  0243  GETTABLE  R14 = R13[K21('waveCircle')]
  0244  EQ        if R1 eq K4(1)   -> -123398
  0245  JMP       (jump)   -> 277
  0246  GETTABUP  R14 = _ENV[K16('ipairs')]
  0247  GETTABLE  R15 = R13[K30('rewards')]
  0248  TEST      if not R15 then   -> -130821
  0249  JMP       (jump)   -> 251
  0250  NEWTABLE  R15 = {} (0 items)
  0251  CALL      R14 = call(R14, 3 args, 1 rets)
  0252  JMP       (jump)   -> 275
  0253  GETTABUP  R19 = _ENV[K31('PROPERTY_TYPE')]
  0254  GETTABLE  R19 = R18[R19]
  0255  GETTABLE  R20 = R0[K32('m_activityDefinition')]
  0256  GETTABLE  R20 = R20[K33('ActivityTokenPropertyType')]
  0257  EQ        if R0 eq R20   -> -121065
  0258  JMP       (jump)   -> 275
  0259  GETTABUP  R19 = _ENV[K34('PROPERTY_COUNT')]
  0260  GETTABLE  R19 = R18[R19]
  0261  TEST      if not R5 then   -> -130809
  0262  JMP       (jump)   -> 275
  0263  LE        if R0 le R19   -> -128228
  0264  JMP       (jump)   -> 275
  0265  GETTABUP  R20 = _ENV[K8('Log')]
  0266  GETTABLE  R20 = R20[K9('Error')]
  0267  GETTABUP  R21 = _ENV[K13('string')]
  0268  GETTABLE  R21 = R21[K14('format')]
  0269  LOADK     R22 = K40 '[DailyActiveQuestModel] 任务发放的积分(%d)必须小于进度条最小差额(%d), id: %d'
  0270  MOVE      R23 = R0
  0271  MOVE      R24 = R0
  0272  GETTABLE  R25 = R13[K18('id')]
  0273  CALL      R21 = call(R21, -1 args, 4 rets)
  0274  CALL      R20 = call(R20, 0 args, -1 rets)
  0275  TFORCALL  tforcall R14
  0276  TFORLOOP  tforloop R16(sBx=-24)   -> 253
  0277  TFORCALL  tforcall R9
  0278  TFORLOOP  tforloop R11(sBx=-36)   -> 243
  0279  GETTABLE  R7 = R0[K41('m_progressHelper')]
  0280  SELF      R8 = R7[K42('GetTotalScoreRequired')] (self)
  0281  CALL      R7 = call(R7, 1 args, 1 rets)
  0282  LT        if R0 lt R7   -> -128733
  0283  JMP       (jump)   -> 288
  0284  GETTABUP  R8 = _ENV[K8('Log')]
  0285  GETTABLE  R8 = R8[K9('Error')]
  0286  LOADK     R9 = K43 '[DailyActiveQuestModel] 任务总积分应大于等于进度条总积分，目前无法完成进度条'
  0287  CALL      R8 = call(R8, 0 args, 1 rets)
  0288  GETTABLE  R8 = R0[K41('m_progressHelper')]
  0289  SELF      R9 = R8[K38('GetMaxLevel')] (self)
  0290  CALL      R8 = call(R8, 1 args, 1 rets)
  0291  LOADNIL   R9..R9 = nil
  0292  LOADK     R10 = K4 1
  0293  MOVE      R11 = R0
  0294  LOADK     R12 = K4 1
  0295  FORPREP   forprep R10(sBx=27)   -> 323
  0296  GETTABLE  R14 = R0[K41('m_progressHelper')]
  0297  SELF      R15 = R14[K44('GetLevelRewardsByLevel')] (self)
  0298  MOVE      R16 = R0
  0299  CALL      R14 = call(R14, 1 args, 2 rets)
  0300  MOVE      R9 = R0
  0301  GETTABUP  R14 = _ENV[K11('Table')]
  0302  GETTABLE  R14 = R14[K12('IsEmpty')]
  0303  MOVE      R15 = R0
  0304  CALL      R14 = call(R14, 1 args, 1 rets)
  0305  TEST      if not R14 then   -> -130765
  0306  JMP       (jump)   -> 314
  0307  GETTABUP  R14 = _ENV[K8('Log')]
  0308  GETTABLE  R14 = R14[K9('Error')]
  0309  LOADK     R15 = K45 '[DailyActiveQuestModel] 进度奖励不允许为空, level: '
  0310  MOVE      R16 = R0
  0311  CONCAT    R15 = concat(R15..R15)
  0312  CALL      R14 = call(R14, 0 args, 1 rets)
  0313  JMP       (jump)   -> 323
  0314  LEN       R14 = len R0
  0315  LT        if R0 lt R14   -> 2379
  0316  JMP       (jump)   -> 323
  0317  GETTABUP  R14 = _ENV[K8('Log')]
  0318  GETTABLE  R14 = R14[K9('Error')]
  0319  LOADK     R15 = K46 '[DailyActiveQuestModel] 进度奖励数量不得大于1, level: '
  0320  MOVE      R16 = R0
  0321  CONCAT    R15 = concat(R15..R15)
  0322  CALL      R14 = call(R14, 0 args, 1 rets)
  0323  FORLOOP   forloop R10(sBx=-28)   -> 296
  0324  RETURN    return R0..R-1
; ---------- proto7 [CanShowIcon] ----------
  ; fn ?  line 258-261 np=1 va=0 ms=3 code=23 consts=7 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='m_questHelper'
  ;   K[4]='IsQuestLoaded'
  ;   K[5]='IsLastDay'
  ;   K[6]='IsDayCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-23)
  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 R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 19
  0006  GETTABLE  R1 = R0[K3('m_questHelper')]
  0007  SELF      R2 = R1[K4('IsQuestLoaded')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 21
  0011  SELF      R2 = R0[K5('IsLastDay')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 20
  0015  SELF      R2 = R0[K6('IsDayCompleted')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  NOT       R1 = not R0
  0018  JMP       (jump)   -> 21
  0019  LOADBOOL  R1 = false
  0020  LOADBOOL  R1 = true
  0021  RETURN    return R1..R0
  0022  RETURN    return R0..R-1
; ---------- proto8 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 263-273 np=1 va=0 ms=3 code=17 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='extraListenEvent'
  ;   K[4]='RefreshEntryEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='DailyActiveQuest'
  ;   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_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0005  GETTABLE  R2 = R2[K4('RefreshEntryEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('DailyActiveQuest')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  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 269-271 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='CanShowIcon'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CanShowIcon')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto9 [GetButtonTarget] ----------
  ; fn ?  line 275-298 np=1 va=0 ms=13 code=55 consts=19 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='DailyActiveQuestDefinition'
  ;   K[2]='ActivityTokenPropertyType'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='GetOpenedViewByName'
  ;   K[6]='MainWindowPrefabName'
  ;   K[7]=nil
  ;   K[8]='GetHudButton'
  ;   K[9]='UIUtil'
  ;   K[10]='IsEmptyComponent'
  ;   K[11]='SceneManager'
  ;   K[12]='GetGameMode'
  ;   K[13]='EGameMode'
  ;   K[14]='Board'
  ;   K[15]='MainBoardView'
  ;   K[16]='GetInstance'
  ;   K[17]='GetOrderArea'
  ;   K[18]='GetIconAreaByActivityType'
  ;   upvals: _ENV
  ;   locals: propertyType(0-55), mainWindow(1-55), btn(1-55), boardView(1-55), orderArea(1-55), (for generator)(4-52), (for state)(4-52), (for control)(4-52), activityType(5-50), activityDefinition(5-50)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R5 = _ENV[K0('pairs')]
  0002  GETTABUP  R6 = _ENV[K1('DailyActiveQuestDefinition')]
  0003  CALL      R5 = call(R5, 3 args, 1 rets)
  0004  JMP       (jump)   -> 50
  0005  GETTABLE  R10 = R9[K2('ActivityTokenPropertyType')]
  0006  EQ        if R0 eq R10   -> -131054
  0007  JMP       (jump)   -> 50
  0008  GETTABUP  R10 = _ENV[K3('GM')]
  0009  GETTABLE  R10 = R10[K4('UIManager')]
  0010  SELF      R11 = R10[K5('GetOpenedViewByName')] (self)
  0011  GETTABLE  R12 = R9[K6('MainWindowPrefabName')]
  0012  CALL      R10 = call(R10, 1 args, 2 rets)
  0013  MOVE      R1 = R0
  0014  EQ        if R1 eq K7(nil)   -> -130281
  0015  JMP       (jump)   -> 27
  0016  SELF      R11 = R1[K8('GetHudButton')] (self)
  0017  CALL      R10 = call(R10, 1 args, 1 rets)
  0018  MOVE      R2 = R0
  0019  GETTABUP  R10 = _ENV[K9('UIUtil')]
  0020  GETTABLE  R10 = R10[K10('IsEmptyComponent')]
  0021  MOVE      R11 = R0
  0022  CALL      R10 = call(R10, 1 args, 1 rets)
  0023  TEST      if not R10 then   -> -131046
  0024  JMP       (jump)   -> 50
  0025  RETURN    return R2..R1
  0026  JMP       (jump)   -> 50
  0027  GETTABUP  R10 = _ENV[K3('GM')]
  0028  GETTABLE  R10 = R10[K11('SceneManager')]
  0029  SELF      R11 = R10[K12('GetGameMode')] (self)
  0030  CALL      R10 = call(R10, 1 args, 1 rets)
  0031  GETTABUP  R11 = _ENV[K13('EGameMode')]
  0032  GETTABLE  R11 = R11[K14('Board')]
  0033  EQ        if R0 eq R11   -> -125906
  0034  JMP       (jump)   -> 50
  0035  GETTABUP  R10 = _ENV[K15('MainBoardView')]
  0036  GETTABLE  R10 = R10[K16('GetInstance')]
  0037  CALL      R10 = call(R10, 1 args, 0 rets)
  0038  MOVE      R3 = R0
  0039  EQ        if R1 eq K7(nil)   -> -129232
  0040  JMP       (jump)   -> 50
  0041  SELF      R11 = R3[K17('GetOrderArea')] (self)
  0042  CALL      R10 = call(R10, 1 args, 1 rets)
  0043  MOVE      R4 = R0
  0044  EQ        if R1 eq K7(nil)   -> -128715
  0045  JMP       (jump)   -> 50
  0046  SELF      R11 = R4[K18('GetIconAreaByActivityType')] (self)
  0047  MOVE      R12 = R0
  0048  TAILCALL  tailcall(R10, 0)
  0049  RETURN    return R10..R9
  0050  TFORCALL  tforcall R5
  0051  TFORLOOP  tforloop R7(sBx=-47)   -> 5
  0052  LOADNIL   R5..R5 = nil
  0053  RETURN    return R5..R4
  0054  RETURN    return R0..R-1
; ---------- proto10 [GetQuestHelper] ----------
  ; fn ?  line 302-304 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_questHelper'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_questHelper')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto11 [CanAddScoreQuest] ----------
  ; fn ?  line 307-309 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
; ---------- proto12 [IsDayCompleted] ----------
  ; fn ?  line 312-320 np=1 va=0 ms=5 code=35 consts=7 upvals=1 protos=0
  ;   K[0]='GetCurrentDay'
  ;   K[1]='m_mapTaskConfig'
  ;   K[2]=nil
  ;   K[3]='m_mapCircleTaskConfig'
  ;   K[4]='Table'
  ;   K[5]='IsEmpty'
  ;   K[6]='GetCurrentWave'
  ;   upvals: _ENV
  ;   locals: self(0-35), curDay(2-35), curWave(19-35)
  0000  SELF      R2 = R0[K0('GetCurrentDay')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_mapTaskConfig')]
  0003  EQ        if R1 eq K2(nil)   -> -129785
  0004  JMP       (jump)   -> 15
  0005  GETTABLE  R2 = R0[K3('m_mapCircleTaskConfig')]
  0006  EQ        if R1 eq K2(nil)   -> -129782
  0007  JMP       (jump)   -> 15
  0008  GETTABUP  R2 = _ENV[K4('Table')]
  0009  GETTABLE  R2 = R2[K5('IsEmpty')]
  0010  GETTABLE  R3 = R0[K1('m_mapTaskConfig')]
  0011  GETTABLE  R3 = R3[R1]
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  TEST      if not R2 then   -> -131057
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R2 = false
  0016  RETURN    return R2..R1
  0017  SELF      R3 = R0[K6('GetCurrentWave')] (self)
  0018  CALL      R2 = call(R2, 1 args, 1 rets)
  0019  GETTABUP  R3 = _ENV[K4('Table')]
  0020  GETTABLE  R3 = R3[K5('IsEmpty')]
  0021  GETTABLE  R4 = R0[K3('m_mapCircleTaskConfig')]
  0022  GETTABLE  R4 = R4[R1]
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  TEST      if not R3 then   -> -131046
  0025  JMP       (jump)   -> 33
  0026  GETTABLE  R3 = R0[K1('m_mapTaskConfig')]
  0027  GETTABLE  R3 = R3[R1]
  0028  LEN       R3 = len R0
  0029  LT        if R1 lt R2   -> -129503
  0030  JMP       (jump)   -> 32
  0031  LOADBOOL  R3 = false
  0032  LOADBOOL  R3 = true
  0033  RETURN    return R3..R2
  0034  RETURN    return R0..R-1
; ---------- proto13 [IsNormalQuestCompleted] ----------
  ; fn ?  line 322-324 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetCurrentWave'
  ;   K[1]=1
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('GetCurrentWave')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LT        if R1 lt R1   -> 517
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto14 [GetCurrentValidTaskConfigs] ----------
  ; fn ?  line 326-378 np=1 va=0 ms=23 code=89 consts=15 upvals=1 protos=1
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapTaskConfig'
  ;   K[3]='GetCurrentDay'
  ;   K[4]='GetCurrentWave'
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='不存在第'
  ;   K[8]='天的任务'
  ;   K[9]=1
  ;   K[10]='ipairs'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   K[13]='m_mapCircleTaskConfig'
  ;   K[14]=1
  ;   upvals: _ENV
  ;   locals: self(0-89), curDay(9-89), curWave(11-89), arrWaveTaskConfig(13-89), group(28-89), getTaskConfig(29-89), maxWave(30-89), arrValidTaskConfig(31-89), (for generator)(34-53), (for state)(34-53), (for control)(34-53), wave(35-51), arrTaskConfig(35-51), (for generator)(40-51), (for state)(40-51), (for control)(40-51), _(41-49), taskConfig(41-49), arrCircleWaveTaskConfig(55-89), wave(64-87), index(71-86), (for generator)(74-85), (for state)(74-85), (for control)(74-85), _(75-83), taskConfig(75-83)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapTaskConfig')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('GetCurrentDay')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  SELF      R3 = R0[K4('GetCurrentWave')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  GETTABLE  R3 = R0[K2('m_mapTaskConfig')]
  0012  GETTABLE  R3 = R3[R1]
  0013  GETTABUP  R4 = _ENV[K0('Table')]
  0014  GETTABLE  R4 = R4[K1('IsEmpty')]
  0015  MOVE      R5 = R0
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  TEST      if not R4 then   -> -131053
  0018  JMP       (jump)   -> 27
  0019  GETTABUP  R4 = _ENV[K5('Log')]
  0020  GETTABLE  R4 = R4[K6('Error')]
  0021  LOADK     R5 = K7 '不存在第'
  0022  MOVE      R6 = R0
  0023  LOADK     R7 = K8 '天的任务'
  0024  CONCAT    R5 = concat(R5..R5)
  0025  CALL      R4 = call(R4, 0 args, 1 rets)
  0026  RETURN    return R0..R-1
  0027  LOADK     R4 = K9 1
  0028  CLOSURE   R5 = closure proto0
  0029  LEN       R6 = len R0
  0030  NEWTABLE  R7 = {} (0 items)
  0031  GETTABUP  R8 = _ENV[K10('ipairs')]
  0032  MOVE      R9 = R0
  0033  CALL      R8 = call(R8, 3 args, 1 rets)
  0034  JMP       (jump)   -> 51
  0035  LE        if R0 le R2   -> -125401
  0036  JMP       (jump)   -> 51
  0037  GETTABUP  R13 = _ENV[K10('ipairs')]
  0038  MOVE      R14 = R0
  0039  CALL      R13 = call(R13, 3 args, 1 rets)
  0040  JMP       (jump)   -> 49
  0041  GETTABUP  R18 = _ENV[K11('table')]
  0042  GETTABLE  R18 = R18[K12('insert')]
  0043  MOVE      R19 = R0
  0044  MOVE      R20 = R0
  0045  MOVE      R21 = R0
  0046  MOVE      R22 = R0
  0047  CALL      R20 = call(R20, -1 args, 2 rets)
  0048  CALL      R18 = call(R18, 0 args, -1 rets)
  0049  TFORCALL  tforcall R13
  0050  TFORLOOP  tforloop R15(sBx=-10)   -> 41
  0051  TFORCALL  tforcall R8
  0052  TFORLOOP  tforloop R10(sBx=-18)   -> 35
  0053  GETTABLE  R8 = R0[K13('m_mapCircleTaskConfig')]
  0054  GETTABLE  R8 = R8[R1]
  0055  LT        if R0 lt R2   -> -127941
  0056  JMP       (jump)   -> 87
  0057  GETTABUP  R9 = _ENV[K0('Table')]
  0058  GETTABLE  R9 = R9[K1('IsEmpty')]
  0059  MOVE      R10 = R0
  0060  CALL      R9 = call(R9, 1 args, 1 rets)
  0061  TEST      if not R9 then   -> -131008
  0062  JMP       (jump)   -> 87
  0063  ADD       R9 = K14(1) add R6
  0064  LE        if R0 le R2   -> -126396
  0065  JMP       (jump)   -> 87
  0066  SUB       R10 = R6 sub R9
  0067  SUB       R10 = K14(1) sub R10
  0068  LEN       R11 = len R0
  0069  MOD       R10 = R11 mod R10
  0070  ADD       R10 = K14(1) add R10
  0071  GETTABUP  R11 = _ENV[K10('ipairs')]
  0072  GETTABLE  R12 = R8[R10]
  0073  CALL      R11 = call(R11, 3 args, 1 rets)
  0074  JMP       (jump)   -> 83
  0075  GETTABUP  R16 = _ENV[K11('table')]
  0076  GETTABLE  R16 = R16[K12('insert')]
  0077  MOVE      R17 = R0
  0078  MOVE      R18 = R0
  0079  MOVE      R19 = R0
  0080  MOVE      R20 = R0
  0081  CALL      R18 = call(R18, -1 args, 2 rets)
  0082  CALL      R16 = call(R16, 0 args, -1 rets)
  0083  TFORCALL  tforcall R11
  0084  TFORLOOP  tforloop R13(sBx=-10)   -> 75
  0085  ADD       R9 = K14(1) add R9
  0086  JMP       (jump)   -> 64
  0087  RETURN    return R7..R6
  0088  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 344-352 np=2 va=0 ms=4 code=13 consts=6 upvals=2 protos=0
    ;   K[0]='Table'
    ;   K[1]='ShallowCopy'
    ;   K[2]='group'
    ;   K[3]='task_index'
    ;   K[4]=1
    ;   K[5]='wave'
    ;   upvals: _ENV, group
    ;   locals: taskConfig(0-13), wave(0-13), cloneConfig(4-13)
    0000  GETTABUP  R2 = _ENV[K0('Table')]
    0001  GETTABLE  R2 = R2[K1('ShallowCopy')]
    0002  MOVE      R3 = R0
    0003  CALL      R2 = call(R2, 1 args, 1 rets)
    0004  GETUPVAL  R3 = _ENV
    0005  SETTABLE  R2[K2('group')] = R3
    0006  SETTABLE  R2[K3('task_index')] = K4(1)
    0007  SETTABLE  R2[K5('wave')] = R1
    0008  GETUPVAL  R3 = _ENV
    0009  ADD       R3 = K4(1) add R3
    0010  SETUPVAL  UP3 = R0
    0011  RETURN    return R2..R1
    0012  RETURN    return R0..R-1
; ---------- proto15 [RefreshQuestConfig] ----------
  ; fn ?  line 380-385 np=1 va=0 ms=6 code=14 consts=6 upvals=1 protos=0
  ;   K[0]='GetCurrentValidTaskConfigs'
  ;   K[1]='Table'
  ;   K[2]='IsEmpty'
  ;   K[3]='m_questHelper'
  ;   K[4]='LoadConfig'
  ;   K[5]='m_arrReplaceConfig'
  ;   upvals: _ENV
  ;   locals: self(0-14), arrValidTaskConfig(2-14)
  0000  SELF      R2 = R0[K0('GetCurrentValidTaskConfigs')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('Table')]
  0003  GETTABLE  R2 = R2[K2('IsEmpty')]
  0004  MOVE      R3 = R0
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R2 = R0[K3('m_questHelper')]
  0009  SELF      R3 = R2[K4('LoadConfig')] (self)
  0010  MOVE      R4 = R0
  0011  GETTABLE  R5 = R0[K5('m_arrReplaceConfig')]
  0012  CALL      R2 = call(R2, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto16 [TryRefreshDay] ----------
  ; fn ?  line 388-418 np=1 va=0 ms=7 code=63 consts=34 upvals=2 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='GM'
  ;   K[4]='SceneManager'
  ;   K[5]='GetGameMode'
  ;   K[6]='EGameMode'
  ;   K[7]='Loading'
  ;   K[8]='GameModel'
  ;   K[9]='GetServerTime'
  ;   K[10]='m_config'
  ;   K[11]='sTime'
  ;   K[12]=86400
  ;   K[13]=1
  ;   K[14]='GetCurrentDay'
  ;   K[15]='TryRecoverCurDayAllRewards'
  ;   K[16]='SetCurrentDay'
  ;   K[17]='SetCurrentWave'
  ;   K[18]='m_dbTable'
  ;   K[19]='Remove'
  ;   K[20]='DayRewardsAcquired'
  ;   K[21]='value'
  ;   K[22]='m_questDBTable'
  ;   K[23]='Drop'
  ;   K[24]='RefreshQuestConfig'
  ;   K[25]='m_questHelper'
  ;   K[26]='AddScore'
  ;   K[27]='ActivityQuestType'
  ;   K[28]='Login'
  ;   K[29]='EventDispatcher'
  ;   K[30]='DispatchEvent'
  ;   K[31]='m_activityDefinition'
  ;   K[32]='NewDayEvent'
  ;   K[33]='RefreshEntryEvent'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-63), tim(22-63), curDay(24-63)
  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 R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 14
  0006  GETTABUP  R1 = _ENV[K3('GM')]
  0007  GETTABLE  R1 = R1[K4('SceneManager')]
  0008  SELF      R2 = R1[K5('GetGameMode')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  GETTABUP  R2 = _ENV[K6('EGameMode')]
  0011  GETTABLE  R2 = R2[K7('Loading')]
  0012  EQ        if R0 eq R2   -> -130544
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  GETTABUP  R1 = _ENV[K3('GM')]
  0016  GETTABLE  R1 = R1[K8('GameModel')]
  0017  SELF      R2 = R1[K9('GetServerTime')] (self)
  0018  CALL      R1 = call(R1, 1 args, 1 rets)
  0019  GETTABLE  R2 = R0[K10('m_config')]
  0020  GETTABLE  R2 = R2[K11('sTime')]
  0021  SUB       R1 = R2 sub R1
  0022  IDIV      R2 = K12(86400) idiv R1
  0023  ADD       R2 = K13(1) add R2
  0024  SELF      R4 = R0[K14('GetCurrentDay')] (self)
  0025  CALL      R3 = call(R3, 1 args, 1 rets)
  0026  EQ        if R1 eq R3   -> -130017
  0027  JMP       (jump)   -> 62
  0028  SELF      R4 = R0[K15('TryRecoverCurDayAllRewards')] (self)
  0029  CALL      R3 = call(R3, 0 args, 1 rets)
  0030  SELF      R4 = R0[K16('SetCurrentDay')] (self)
  0031  MOVE      R5 = R0
  0032  CALL      R3 = call(R3, 0 args, 2 rets)
  0033  SELF      R4 = R0[K17('SetCurrentWave')] (self)
  0034  LOADK     R5 = K13 1
  0035  CALL      R3 = call(R3, 0 args, 2 rets)
  0036  GETTABLE  R3 = R0[K18('m_dbTable')]
  0037  SELF      R4 = R3[K19('Remove')] (self)
  0038  GETTABUP  R5 = EStrDBKeys[K20('DayRewardsAcquired')]
  0039  LOADK     R6 = K21 'value'
  0040  CALL      R3 = call(R3, 0 args, 3 rets)
  0041  GETTABLE  R3 = R0[K22('m_questDBTable')]
  0042  SELF      R4 = R3[K23('Drop')] (self)
  0043  CALL      R3 = call(R3, 0 args, 1 rets)
  0044  SELF      R4 = R0[K24('RefreshQuestConfig')] (self)
  0045  CALL      R3 = call(R3, 0 args, 1 rets)
  0046  GETTABLE  R3 = R0[K25('m_questHelper')]
  0047  SELF      R4 = R3[K26('AddScore')] (self)
  0048  GETTABUP  R5 = _ENV[K27('ActivityQuestType')]
  0049  GETTABLE  R5 = R5[K28('Login')]
  0050  LOADK     R6 = K13 1
  0051  CALL      R3 = call(R3, 0 args, 3 rets)
  0052  GETTABUP  R3 = _ENV[K29('EventDispatcher')]
  0053  GETTABLE  R3 = R3[K30('DispatchEvent')]
  0054  GETTABLE  R4 = R0[K31('m_activityDefinition')]
  0055  GETTABLE  R4 = R4[K32('NewDayEvent')]
  0056  CALL      R3 = call(R3, 0 args, 1 rets)
  0057  GETTABUP  R3 = _ENV[K29('EventDispatcher')]
  0058  GETTABLE  R3 = R3[K30('DispatchEvent')]
  0059  GETTABLE  R4 = R0[K31('m_activityDefinition')]
  0060  GETTABLE  R4 = R4[K33('RefreshEntryEvent')]
  0061  CALL      R3 = call(R3, 0 args, 1 rets)
  0062  RETURN    return R0..R-1
; ---------- proto17 [IsLastDay] ----------
  ; fn ?  line 421-429 np=1 va=0 ms=3 code=14 consts=4 upvals=0 protos=0
  ;   K[0]='GetNextDayTime'
  ;   K[1]=nil
  ;   K[2]='m_config'
  ;   K[3]='eTime'
  ;   locals: self(0-14), nextDayTime(2-14)
  0000  SELF      R2 = R0[K0('GetNextDayTime')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  GETTABLE  R2 = R0[K2('m_config')]
  0007  GETTABLE  R2 = R2[K3('eTime')]
  0008  LE        if R1 le R1   -> -130037
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R2 = false
  0011  LOADBOOL  R2 = true
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto18 [GetNextWaveTaskConfigs] ----------
  ; fn ?  line 432-458 np=1 va=0 ms=8 code=54 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapTaskConfig'
  ;   K[3]='GetCurrentWave'
  ;   K[4]=1
  ;   K[5]='GetCurrentDay'
  ;   K[6]='Log'
  ;   K[7]='Error'
  ;   K[8]='不存在第'
  ;   K[9]='天的任务'
  ;   K[10]='m_mapCircleTaskConfig'
  ;   upvals: _ENV
  ;   locals: self(0-54), wave(10-54), curDay(12-54), arrWaveTaskConfig(14-54), index(49-54)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapTaskConfig')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('GetCurrentWave')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  ADD       R1 = K4(1) add R1
  0010  SELF      R3 = R0[K5('GetCurrentDay')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  GETTABLE  R3 = R0[K2('m_mapTaskConfig')]
  0013  GETTABLE  R3 = R3[R2]
  0014  GETTABUP  R4 = _ENV[K0('Table')]
  0015  GETTABLE  R4 = R4[K1('IsEmpty')]
  0016  MOVE      R5 = R0
  0017  CALL      R4 = call(R4, 1 args, 1 rets)
  0018  TEST      if not R4 then   -> -131052
  0019  JMP       (jump)   -> 28
  0020  GETTABUP  R4 = _ENV[K6('Log')]
  0021  GETTABLE  R4 = R4[K7('Error')]
  0022  LOADK     R5 = K8 '不存在第'
  0023  MOVE      R6 = R0
  0024  LOADK     R7 = K9 '天的任务'
  0025  CONCAT    R5 = concat(R5..R5)
  0026  CALL      R4 = call(R4, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
  0028  LEN       R4 = len R0
  0029  LE        if R0 le R4   -> -130525
  0030  JMP       (jump)   -> 33
  0031  GETTABLE  R4 = R3[R1]
  0032  RETURN    return R4..R3
  0033  GETTABUP  R4 = _ENV[K0('Table')]
  0034  GETTABLE  R4 = R4[K1('IsEmpty')]
  0035  GETTABLE  R5 = R0[K10('m_mapCircleTaskConfig')]
  0036  GETTABLE  R5 = R5[R2]
  0037  CALL      R4 = call(R4, 1 args, 1 rets)
  0038  TEST      if not R4 then   -> -131032
  0039  JMP       (jump)   -> 41
  0040  RETURN    return R0..R-1
  0041  LEN       R4 = len R0
  0042  SUB       R4 = R4 sub R1
  0043  SUB       R4 = K4(1) sub R4
  0044  GETTABLE  R5 = R0[K10('m_mapCircleTaskConfig')]
  0045  GETTABLE  R5 = R5[R2]
  0046  LEN       R5 = len R0
  0047  MOD       R4 = R5 mod R4
  0048  ADD       R4 = K4(1) add R4
  0049  GETTABLE  R5 = R0[K10('m_mapCircleTaskConfig')]
  0050  GETTABLE  R5 = R5[R2]
  0051  GETTABLE  R5 = R5[R4]
  0052  RETURN    return R5..R4
  0053  RETURN    return R0..R-1
; ---------- proto19 [TryRefreshWave] ----------
  ; fn ?  line 461-475 np=1 va=0 ms=6 code=27 consts=13 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Released'
  ;   K[3]='m_questHelper'
  ;   K[4]='IsAllQuestAcquired'
  ;   K[5]='GetCurrentWave'
  ;   K[6]=1
  ;   K[7]='SetCurrentWave'
  ;   K[8]='RefreshQuestConfig'
  ;   K[9]='EventDispatcher'
  ;   K[10]='DispatchEvent'
  ;   K[11]='m_activityDefinition'
  ;   K[12]='NewWaveEvent'
  ;   upvals: _ENV
  ;   locals: self(0-27), curWave(14-26), newWave(15-26)
  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('Released')]
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABLE  R1 = R0[K3('m_questHelper')]
  0008  SELF      R2 = R1[K4('IsAllQuestAcquired')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 26
  0012  SELF      R2 = R0[K5('GetCurrentWave')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  ADD       R2 = K6(1) add R1
  0015  SELF      R4 = R0[K7('SetCurrentWave')] (self)
  0016  MOVE      R5 = R0
  0017  CALL      R3 = call(R3, 0 args, 2 rets)
  0018  SELF      R4 = R0[K8('RefreshQuestConfig')] (self)
  0019  CALL      R3 = call(R3, 0 args, 1 rets)
  0020  GETTABUP  R3 = _ENV[K9('EventDispatcher')]
  0021  GETTABLE  R3 = R3[K10('DispatchEvent')]
  0022  GETTABLE  R4 = R0[K11('m_activityDefinition')]
  0023  GETTABLE  R4 = R4[K12('NewWaveEvent')]
  0024  MOVE      R5 = R0
  0025  CALL      R3 = call(R3, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto20 [OnRewardAcquired] ----------
  ; fn ?  line 478-490 np=1 va=0 ms=5 code=21 consts=8 upvals=1 protos=0
  ;   K[0]='m_bRecoverRewards'
  ;   K[1]='TryRefreshWave'
  ;   K[2]='TryAcquireCurrentDayRewards'
  ;   K[3]='EventDispatcher'
  ;   K[4]='DispatchEvent'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='RewardAcquiredEvent'
  ;   K[7]='RefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-21), dayRewards(1-21)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABLE  R2 = R0[K0('m_bRecoverRewards')]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 9
  0004  SELF      R3 = R0[K1('TryRefreshWave')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  SELF      R3 = R0[K2('TryAcquireCurrentDayRewards')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  MOVE      R1 = R0
  0009  GETTABUP  R2 = _ENV[K3('EventDispatcher')]
  0010  GETTABLE  R2 = R2[K4('DispatchEvent')]
  0011  GETTABLE  R3 = R0[K5('m_activityDefinition')]
  0012  GETTABLE  R3 = R3[K6('RewardAcquiredEvent')]
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  GETTABUP  R2 = _ENV[K3('EventDispatcher')]
  0016  GETTABLE  R2 = R2[K4('DispatchEvent')]
  0017  GETTABLE  R3 = R0[K5('m_activityDefinition')]
  0018  GETTABLE  R3 = R3[K7('RefreshEntryEvent')]
  0019  CALL      R2 = call(R2, 0 args, 1 rets)
  0020  RETURN    return R0..R-1
; ---------- proto21 [GetAcquireQuestRewardBIType] ----------
  ; fn ?  line 492-494 np=2 va=0 ms=5 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='IsGoldQuest'
  ;   K[1]='EBIType'
  ;   K[2]='DailyActiveQuestCollectTaskExtra'
  ;   K[3]='DailyActiveQuestCollectTask'
  ;   upvals: _ENV
  ;   locals: self(0-13), questEntity(0-13)
  0000  SELF      R3 = R0[K0('IsGoldQuest')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 9
  0005  GETTABUP  R2 = _ENV[K1('EBIType')]
  0006  GETTABLE  R2 = R2[K2('DailyActiveQuestCollectTaskExtra')]
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 11
  0009  GETTABUP  R2 = _ENV[K1('EBIType')]
  0010  GETTABLE  R2 = R2[K3('DailyActiveQuestCollectTask')]
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto22 [OnQuestCompleted] ----------
  ; fn ?  line 497-524 np=2 va=0 ms=10 code=35 consts=15 upvals=1 protos=1
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='QuestCompletedEvent'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='GetOpenedViewByName'
  ;   K[7]='GetActivityDefinition'
  ;   K[8]='MainWindowPrefabName'
  ;   K[9]='SceneManager'
  ;   K[10]='GetGameMode'
  ;   K[11]='EGameMode'
  ;   K[12]='Loading'
  ;   K[13]=0
  ;   K[14]='ipairs'
  ;   upvals: _ENV
  ;   locals: self(0-35), arrCompletedQuest(0-35), delayTime(24-35), (for generator)(27-34), (for state)(27-34), (for control)(27-34), _(28-32), completedQuest(28-32), showTipfunc(29-31)
  0000  GETTABUP  R2 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R2 = R2[K1('DispatchEvent')]
  0002  GETTABLE  R3 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R3 = R3[K3('QuestCompletedEvent')]
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  GETTABUP  R2 = _ENV[K4('GM')]
  0006  GETTABLE  R2 = R2[K5('UIManager')]
  0007  SELF      R3 = R2[K6('GetOpenedViewByName')] (self)
  0008  SELF      R5 = R0[K7('GetActivityDefinition')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  GETTABLE  R4 = R4[K8('MainWindowPrefabName')]
  0011  CALL      R2 = call(R2, 1 args, 2 rets)
  0012  TEST      if not R2 then   -> -131057
  0013  JMP       (jump)   -> 22
  0014  GETTABUP  R2 = _ENV[K4('GM')]
  0015  GETTABLE  R2 = R2[K9('SceneManager')]
  0016  SELF      R3 = R2[K10('GetGameMode')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  GETTABUP  R3 = _ENV[K11('EGameMode')]
  0019  GETTABLE  R3 = R3[K12('Loading')]
  0020  EQ        if R0 eq R3   -> -130023
  0021  JMP       (jump)   -> 23
  0022  RETURN    return R0..R-1
  0023  LOADK     R2 = K13 0
  0024  GETTABUP  R3 = _ENV[K14('ipairs')]
  0025  MOVE      R4 = R0
  0026  CALL      R3 = call(R3, 3 args, 1 rets)
  0027  JMP       (jump)   -> 32
  0028  CLOSURE   R8 = closure proto0
  0029  MOVE      R9 = R0
  0030  CALL      R9 = call(R9, 0 args, 0 rets)
  0031  JMP       (jump)   -> 32
  0032  TFORCALL  tforcall R3
  0033  TFORLOOP  tforloop R5(sBx=-6)   -> 28
  0034  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 509-520 np=0 va=0 ms=5 code=19 consts=9 upvals=3 protos=1
    ;   K[0]='GetConfig'
    ;   K[1]='wave'
    ;   K[2]=1
    ;   K[3]='m_activityDefinition'
    ;   K[4]='GoldTaskCompleteHintPrefabName'
    ;   K[5]='TaskCompleteHintPrefabName'
    ;   K[6]='TopSliderManager'
    ;   K[7]='TrySlide'
    ;   K[8]='m_type'
    ;   upvals: completedQuest, self, _ENV
    ;   locals: prefab(12-19)
    0000  GETUPVAL  R0 = completedQuest
    0001  SELF      R1 = R0[K0('GetConfig')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  GETTABLE  R0 = R0[K1('wave')]
    0004  LT        if R0 lt R0   -> 1030
    0005  JMP       (jump)   -> 10
    0006  GETTABUP  R0 = self[K3('m_activityDefinition')]
    0007  GETTABLE  R0 = R0[K4('GoldTaskCompleteHintPrefabName')]
    0008  TEST      if not R0 then   -> -131061
    0009  JMP       (jump)   -> 12
    0010  GETTABUP  R0 = self[K3('m_activityDefinition')]
    0011  GETTABLE  R0 = R0[K5('TaskCompleteHintPrefabName')]
    0012  GETTABUP  R1 = _ENV[K6('TopSliderManager')]
    0013  GETTABLE  R1 = R1[K7('TrySlide')]
    0014  GETTABUP  R2 = self[K8('m_type')]
    0015  MOVE      R3 = R0
    0016  CLOSURE   R4 = closure proto0
    0017  CALL      R1 = call(R1, 0 args, 3 rets)
    0018  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 512-519 np=1 va=0 ms=5 code=12 consts=4 upvals=3 protos=1
      ;   K[0]='GetLuaTable'
      ;   K[1]='Init'
      ;   K[2]='TopSliderManager'
      ;   K[3]='Appear'
      ;   upvals: completedQuest, self, _ENV
      ;   locals: go(0-12)
      0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
      0001  CALL      R1 = call(R1, 1 args, 1 rets)
      0002  SELF      R2 = R1[K1('Init')] (self)
      0003  GETUPVAL  R3 = completedQuest
      0004  GETUPVAL  R4 = completedQuest
      0005  CALL      R1 = call(R1, 0 args, 3 rets)
      0006  GETTABUP  R1 = _ENV[K2('TopSliderManager')]
      0007  GETTABLE  R1 = R1[K3('Appear')]
      0008  MOVE      R2 = R0
      0009  CLOSURE   R3 = closure proto0
      0010  CALL      R1 = call(R1, 0 args, 2 rets)
      0011  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 514-518 np=0 va=0 ms=3 code=5 consts=2 upvals=2 protos=1
        ;   K[0]='DelayExecuteFunc'
        ;   K[1]=2.5
        ;   upvals: _ENV, go
        0000  GETTABUP  R0 = _ENV[K0('DelayExecuteFunc')]
        0001  CLOSURE   R1 = closure proto0
        0002  LOADK     R2 = K1 2.5
        0003  CALL      R0 = call(R0, 0 args, 2 rets)
        0004  RETURN    return R0..R-1
        ; ---------- proto0 [] ----------
          ; fn ?  line 515-517 np=0 va=0 ms=2 code=5 consts=2 upvals=2 protos=0
          ;   K[0]='TopSliderManager'
          ;   K[1]='Disappear'
          ;   upvals: _ENV, go
          0000  GETTABUP  R0 = _ENV[K0('TopSliderManager')]
          0001  GETTABLE  R0 = R0[K1('Disappear')]
          0002  GETUPVAL  R1 = _ENV
          0003  CALL      R0 = call(R0, 0 args, 1 rets)
          0004  RETURN    return R0..R-1
; ---------- proto23 [_OnStateChanged] ----------
  ; fn ?  line 526-532 np=1 va=0 ms=3 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='TryRefreshDay'
  ;   K[3]='EventDispatcher'
  ;   K[4]='DispatchEvent'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  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('TryRefreshDay')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0007  GETTABLE  R1 = R1[K4('DispatchEvent')]
  0008  GETTABLE  R2 = R0[K5('m_activityDefinition')]
  0009  GETTABLE  R2 = R2[K6('StateChangedEvent')]
  0010  CALL      R1 = call(R1, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto24 [UpdatePerSecond] ----------
  ; fn ?  line 534-542 np=1 va=0 ms=3 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='m_config'
  ;   K[3]=nil
  ;   K[4]='Table'
  ;   K[5]='IsEmpty'
  ;   K[6]='m_mapTaskConfig'
  ;   K[7]='TryRefreshDay'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  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_config')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 13
  0007  GETTABUP  R1 = _ENV[K4('Table')]
  0008  GETTABLE  R1 = R1[K5('IsEmpty')]
  0009  GETTABLE  R2 = R0[K6('m_mapTaskConfig')]
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  SELF      R2 = R0[K7('TryRefreshDay')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto25 [GetCurrentDay] ----------
  ; fn ?  line 545-550 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='m_curDay'
  ;   K[1]=nil
  ;   K[2]='m_dbTable'
  ;   K[3]='GetValue'
  ;   K[4]='CurrentDay'
  ;   K[5]='value'
  ;   K[6]=0
  ;   upvals: EStrDBKeys
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_curDay')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K2('m_dbTable')]
  0004  SELF      R2 = R1[K3('GetValue')] (self)
  0005  GETTABUP  R3 = EStrDBKeys[K4('CurrentDay')]
  0006  LOADK     R4 = K5 'value'
  0007  CALL      R1 = call(R1, 1 args, 3 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R1 = K6 0
  0011  SETTABLE  R0[K0('m_curDay')] = R1
  0012  GETTABLE  R1 = R0[K0('m_curDay')]
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto26 [SetCurrentDay] ----------
  ; fn ?  line 552-555 np=2 va=0 ms=7 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='CurrentDay'
  ;   K[3]='value'
  ;   K[4]='m_curDay'
  ;   upvals: EStrDBKeys
  ;   locals: self(0-8), day(0-8)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = EStrDBKeys[K2('CurrentDay')]
  0003  LOADK     R5 = K3 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  SETTABLE  R0[K4('m_curDay')] = R1
  0007  RETURN    return R0..R-1
; ---------- proto27 [GetCurrentWave] ----------
  ; fn ?  line 558-563 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='m_curWave'
  ;   K[1]=nil
  ;   K[2]='m_dbTable'
  ;   K[3]='GetValue'
  ;   K[4]='CurrentWave'
  ;   K[5]='value'
  ;   K[6]=1
  ;   upvals: EStrDBKeys
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_curWave')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K2('m_dbTable')]
  0004  SELF      R2 = R1[K3('GetValue')] (self)
  0005  GETTABUP  R3 = EStrDBKeys[K4('CurrentWave')]
  0006  LOADK     R4 = K5 'value'
  0007  CALL      R1 = call(R1, 1 args, 3 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R1 = K6 1
  0011  SETTABLE  R0[K0('m_curWave')] = R1
  0012  GETTABLE  R1 = R0[K0('m_curWave')]
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto28 [SetCurrentWave] ----------
  ; fn ?  line 565-568 np=2 va=0 ms=7 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='CurrentWave'
  ;   K[3]='value'
  ;   K[4]='m_curWave'
  ;   upvals: EStrDBKeys
  ;   locals: self(0-8), wave(0-8)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = EStrDBKeys[K2('CurrentWave')]
  0003  LOADK     R5 = K3 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  SETTABLE  R0[K4('m_curWave')] = R1
  0007  RETURN    return R0..R-1
; ---------- proto29 [GetCurrentDayRewards] ----------
  ; fn ?  line 570-575 np=1 va=0 ms=3 code=14 consts=3 upvals=0 protos=0
  ;   K[0]='GetCurrentDay'
  ;   K[1]='m_arrDayRewardConfig'
  ;   K[2]='rewards'
  ;   locals: self(0-14), curDay(2-14)
  0000  SELF      R2 = R0[K0('GetCurrentDay')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_arrDayRewardConfig')]
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 13
  0005  GETTABLE  R2 = R0[K1('m_arrDayRewardConfig')]
  0006  GETTABLE  R2 = R2[R1]
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 13
  0009  GETTABLE  R2 = R0[K1('m_arrDayRewardConfig')]
  0010  GETTABLE  R2 = R2[R1]
  0011  GETTABLE  R2 = R2[K2('rewards')]
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto30 [TryAcquireCurrentDayRewards] ----------
  ; fn ?  line 578-592 np=1 va=0 ms=9 code=65 consts=32 upvals=2 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Released'
  ;   K[3]='m_dbTable'
  ;   K[4]='GetValue'
  ;   K[5]='DayRewardsAcquired'
  ;   K[6]='value'
  ;   K[7]=1
  ;   K[8]='GetCurrentDayRewards'
  ;   K[9]='Table'
  ;   K[10]='IsEmpty'
  ;   K[11]='GetCurrentWave'
  ;   K[12]='m_questHelper'
  ;   K[13]='IsAllQuestAcquired'
  ;   K[14]='RewardApi'
  ;   K[15]='CryptRewards'
  ;   K[16]='AcquireRewardsLogic'
  ;   K[17]='EPropertySource'
  ;   K[18]='Give'
  ;   K[19]='EBIType'
  ;   K[20]='DailyActiveQuestDayReward'
  ;   K[21]='ERewardScene'
  ;   K[22]='Other'
  ;   K[23]='EGameMode'
  ;   K[24]='Board'
  ;   K[25]='CacheItemType'
  ;   K[26]='Stack'
  ;   K[27]='Set'
  ;   K[28]='GM'
  ;   K[29]='BIManager'
  ;   K[30]='LogAction'
  ;   K[31]='GetCurrentDay'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-65), rewards(16-65)
  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('Released')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 13
  0006  GETTABLE  R1 = R0[K3('m_dbTable')]
  0007  SELF      R2 = R1[K4('GetValue')] (self)
  0008  GETTABUP  R3 = EStrDBKeys[K5('DayRewardsAcquired')]
  0009  LOADK     R4 = K6 'value'
  0010  CALL      R1 = call(R1, 1 args, 3 rets)
  0011  EQ        if R0 eq K7(1)   -> -130284
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  SELF      R2 = R0[K8('GetCurrentDayRewards')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  GETTABUP  R2 = _ENV[K9('Table')]
  0017  GETTABLE  R2 = R2[K10('IsEmpty')]
  0018  MOVE      R3 = R0
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  TEST      if not R2 then   -> -131049
  0021  JMP       (jump)   -> 64
  0022  SELF      R3 = R0[K11('GetCurrentWave')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  LT        if R1 lt R2   -> 3612
  0025  JMP       (jump)   -> 31
  0026  GETTABLE  R2 = R0[K12('m_questHelper')]
  0027  SELF      R3 = R2[K13('IsAllQuestAcquired')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  TEST      if not R2 then   -> -131041
  0030  JMP       (jump)   -> 64
  0031  GETTABUP  R2 = _ENV[K14('RewardApi')]
  0032  GETTABLE  R2 = R2[K15('CryptRewards')]
  0033  MOVE      R3 = R0
  0034  CALL      R2 = call(R2, 0 args, 1 rets)
  0035  GETTABUP  R2 = _ENV[K14('RewardApi')]
  0036  GETTABLE  R2 = R2[K16('AcquireRewardsLogic')]
  0037  MOVE      R3 = R0
  0038  GETTABUP  R4 = _ENV[K17('EPropertySource')]
  0039  GETTABLE  R4 = R4[K18('Give')]
  0040  GETTABUP  R5 = _ENV[K19('EBIType')]
  0041  GETTABLE  R5 = R5[K20('DailyActiveQuestDayReward')]
  0042  GETTABUP  R6 = _ENV[K21('ERewardScene')]
  0043  GETTABLE  R6 = R6[K22('Other')]
  0044  GETTABUP  R7 = _ENV[K23('EGameMode')]
  0045  GETTABLE  R7 = R7[K24('Board')]
  0046  GETTABUP  R8 = _ENV[K25('CacheItemType')]
  0047  GETTABLE  R8 = R8[K26('Stack')]
  0048  CALL      R2 = call(R2, 0 args, 6 rets)
  0049  GETTABLE  R2 = R0[K3('m_dbTable')]
  0050  SELF      R3 = R2[K27('Set')] (self)
  0051  GETTABUP  R4 = EStrDBKeys[K5('DayRewardsAcquired')]
  0052  LOADK     R5 = K6 'value'
  0053  LOADK     R6 = K7 1
  0054  CALL      R2 = call(R2, 0 args, 4 rets)
  0055  GETTABUP  R2 = _ENV[K28('GM')]
  0056  GETTABLE  R2 = R2[K29('BIManager')]
  0057  SELF      R3 = R2[K30('LogAction')] (self)
  0058  GETTABUP  R4 = _ENV[K19('EBIType')]
  0059  GETTABLE  R4 = R4[K20('DailyActiveQuestDayReward')]
  0060  SELF      R6 = R0[K31('GetCurrentDay')] (self)
  0061  CALL      R5 = call(R5, -1 args, 1 rets)
  0062  CALL      R2 = call(R2, 0 args, -1 rets)
  0063  RETURN    return R1..R0
  0064  RETURN    return R0..R-1
; ---------- proto31 [TryRecoverCurDayAllRewards] ----------
  ; fn ?  line 595-640 np=1 va=0 ms=14 code=104 consts=21 upvals=1 protos=1
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Released'
  ;   K[3]='GetCurrentDay'
  ;   K[4]=1
  ;   K[5]='m_bRecoverRewards'
  ;   K[6]=true
  ;   K[7]='m_questHelper'
  ;   K[8]='TryAcquireAllReward'
  ;   K[9]='TryAcquireCurrentDayRewards'
  ;   K[10]='m_progressHelper'
  ;   K[11]='TryAcquireReward'
  ;   K[12]='ipairs'
  ;   K[13]='PROPERTY_TYPE'
  ;   K[14]='table'
  ;   K[15]='insert'
  ;   K[16]=false
  ;   K[17]='Table'
  ;   K[18]='IsEmpty'
  ;   K[19]='m_recoverRewards'
  ;   K[20]='ListAppend'
  ;   upvals: _ENV
  ;   locals: self(0-104), allRewards(13-104), questRewards(19-104), dayRewards(24-104), progressRewards(30-104), checkRewardType(31-104), (for generator)(34-48), (for state)(34-48), (for control)(34-48), _(35-46), reward(35-46), (for generator)(51-65), (for state)(51-65), (for control)(51-65), _(52-63), reward(52-63), (for generator)(68-82), (for state)(68-82), (for control)(68-82), _(69-80), reward(69-80)
  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('Released')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 10
  0006  SELF      R2 = R0[K3('GetCurrentDay')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  LT        if R0 lt K4(1)   -> -130290
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  SETTABLE  R0[K5('m_bRecoverRewards')] = K6(true)
  0012  NEWTABLE  R1 = {} (0 items)
  0013  GETTABLE  R2 = R0[K7('m_questHelper')]
  0014  SELF      R3 = R2[K8('TryAcquireAllReward')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  TEST      if not R2 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  NEWTABLE  R2 = {} (0 items)
  0019  SELF      R4 = R0[K9('TryAcquireCurrentDayRewards')] (self)
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  TEST      if not R3 then   -> -131048
  0022  JMP       (jump)   -> 24
  0023  NEWTABLE  R3 = {} (0 items)
  0024  GETTABLE  R4 = R0[K10('m_progressHelper')]
  0025  SELF      R5 = R4[K11('TryAcquireReward')] (self)
  0026  CALL      R4 = call(R4, 1 args, 1 rets)
  0027  TEST      if not R4 then   -> -131042
  0028  JMP       (jump)   -> 30
  0029  NEWTABLE  R4 = {} (0 items)
  0030  CLOSURE   R5 = closure proto0
  0031  GETTABUP  R6 = _ENV[K12('ipairs')]
  0032  MOVE      R7 = R0
  0033  CALL      R6 = call(R6, 3 args, 1 rets)
  0034  JMP       (jump)   -> 46
  0035  MOVE      R11 = R0
  0036  GETTABUP  R12 = _ENV[K13('PROPERTY_TYPE')]
  0037  GETTABLE  R12 = R10[R12]
  0038  CALL      R11 = call(R11, 1 args, 1 rets)
  0039  TEST      if not R11 then   -> -131031
  0040  JMP       (jump)   -> 46
  0041  GETTABUP  R11 = _ENV[K14('table')]
  0042  GETTABLE  R11 = R11[K15('insert')]
  0043  MOVE      R12 = R0
  0044  MOVE      R13 = R0
  0045  CALL      R11 = call(R11, 0 args, 2 rets)
  0046  TFORCALL  tforcall R6
  0047  TFORLOOP  tforloop R8(sBx=-13)   -> 35
  0048  GETTABUP  R6 = _ENV[K12('ipairs')]
  0049  MOVE      R7 = R0
  0050  CALL      R6 = call(R6, 3 args, 1 rets)
  0051  JMP       (jump)   -> 63
  0052  MOVE      R11 = R0
  0053  GETTABUP  R12 = _ENV[K13('PROPERTY_TYPE')]
  0054  GETTABLE  R12 = R10[R12]
  0055  CALL      R11 = call(R11, 1 args, 1 rets)
  0056  TEST      if not R11 then   -> -131014
  0057  JMP       (jump)   -> 63
  0058  GETTABUP  R11 = _ENV[K14('table')]
  0059  GETTABLE  R11 = R11[K15('insert')]
  0060  MOVE      R12 = R0
  0061  MOVE      R13 = R0
  0062  CALL      R11 = call(R11, 0 args, 2 rets)
  0063  TFORCALL  tforcall R6
  0064  TFORLOOP  tforloop R8(sBx=-13)   -> 52
  0065  GETTABUP  R6 = _ENV[K12('ipairs')]
  0066  MOVE      R7 = R0
  0067  CALL      R6 = call(R6, 3 args, 1 rets)
  0068  JMP       (jump)   -> 80
  0069  MOVE      R11 = R0
  0070  GETTABUP  R12 = _ENV[K13('PROPERTY_TYPE')]
  0071  GETTABLE  R12 = R10[R12]
  0072  CALL      R11 = call(R11, 1 args, 1 rets)
  0073  TEST      if not R11 then   -> -130997
  0074  JMP       (jump)   -> 80
  0075  GETTABUP  R11 = _ENV[K14('table')]
  0076  GETTABLE  R11 = R11[K15('insert')]
  0077  MOVE      R12 = R0
  0078  MOVE      R13 = R0
  0079  CALL      R11 = call(R11, 0 args, 2 rets)
  0080  TFORCALL  tforcall R6
  0081  TFORLOOP  tforloop R8(sBx=-13)   -> 69
  0082  SETTABLE  R0[K5('m_bRecoverRewards')] = K16(false)
  0083  GETTABUP  R6 = _ENV[K17('Table')]
  0084  GETTABLE  R6 = R6[K18('IsEmpty')]
  0085  MOVE      R7 = R0
  0086  CALL      R6 = call(R6, 1 args, 1 rets)
  0087  TEST      if not R6 then   -> -130982
  0088  JMP       (jump)   -> 103
  0089  GETTABUP  R6 = _ENV[K17('Table')]
  0090  GETTABLE  R6 = R6[K18('IsEmpty')]
  0091  GETTABLE  R7 = R0[K19('m_recoverRewards')]
  0092  CALL      R6 = call(R6, 1 args, 1 rets)
  0093  TEST      if not R6 then   -> -130976
  0094  JMP       (jump)   -> 101
  0095  GETTABUP  R6 = _ENV[K17('Table')]
  0096  GETTABLE  R6 = R6[K20('ListAppend')]
  0097  GETTABLE  R7 = R0[K19('m_recoverRewards')]
  0098  MOVE      R8 = R0
  0099  CALL      R6 = call(R6, 0 args, 2 rets)
  0100  JMP       (jump)   -> 102
  0101  SETTABLE  R0[K19('m_recoverRewards')] = R1
  0102  RETURN    return R1..R0
  0103  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 608-610 np=1 va=0 ms=2 code=8 consts=2 upvals=1 protos=0
    ;   K[0]='m_activityDefinition'
    ;   K[1]='ActivityTokenPropertyType'
    ;   upvals: self
    ;   locals: rewardType(0-8)
    0000  GETTABUP  R1 = self[K0('m_activityDefinition')]
    0001  GETTABLE  R1 = R1[K1('ActivityTokenPropertyType')]
    0002  EQ        if R0 eq R1   -> -131067
    0003  JMP       (jump)   -> 5
    0004  LOADBOOL  R1 = false
    0005  LOADBOOL  R1 = true
    0006  RETURN    return R1..R0
    0007  RETURN    return R0..R-1
; ---------- proto32 [CanPopupRewardRecoverWindow] ----------
  ; fn ?  line 642-644 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_recoverRewards'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_recoverRewards')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  NOT       R1 = not R0
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto33 [GetRewardRecoverRewards] ----------
  ; fn ?  line 646-648 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_recoverRewards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_recoverRewards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto34 [RemoveRewardRecoverRewards] ----------
  ; fn ?  line 650-652 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_recoverRewards'
  ;   K[1]=nil
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_recoverRewards')] = K1(nil)
  0001  RETURN    return R0..R-1
; ---------- proto35 [CanPopupMainWindow] ----------
  ; fn ?  line 654-657 np=1 va=0 ms=5 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastPopupDay'
  ;   K[3]='value'
  ;   K[4]=0
  ;   K[5]='GetCurrentDay'
  ;   upvals: EStrDBKeys
  ;   locals: self(0-16), lastPopDay(8-16)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = EStrDBKeys[K2('LastPopupDay')]
  0003  LOADK     R4 = K3 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  SELF      R3 = R0[K5('GetCurrentDay')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  LT        if R1 lt R2   -> -130546
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R2 = false
  0013  LOADBOOL  R2 = true
  0014  RETURN    return R2..R1
  0015  RETURN    return R0..R-1
; ---------- proto36 [SetPopupTime] ----------
  ; fn ?  line 659-661 np=1 va=0 ms=7 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastPopupDay'
  ;   K[3]='value'
  ;   K[4]='GetCurrentDay'
  ;   upvals: EStrDBKeys
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = EStrDBKeys[K2('LastPopupDay')]
  0003  LOADK     R4 = K3 'value'
  0004  SELF      R6 = R0[K4('GetCurrentDay')] (self)
  0005  CALL      R5 = call(R5, -1 args, 1 rets)
  0006  CALL      R1 = call(R1, 0 args, -1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto37 [GetUnAcquiredFirstQuestRewards] ----------
  ; fn ?  line 664-684 np=1 va=0 ms=18 code=48 consts=13 upvals=1 protos=0
  ;   K[0]='m_questHelper'
  ;   K[1]='GetAllValidOrCanAcquireQuests'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='ipairs'
  ;   K[5]='IsRewardAcquired'
  ;   K[6]='GetRewards'
  ;   K[7]='CanAddScore'
  ;   K[8]='PROPERTY_TYPE'
  ;   K[9]='m_activityDefinition'
  ;   K[10]='ActivityTokenPropertyType'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-48), arrQuestEntity(3-48), (for generator)(13-47), (for state)(13-47), (for control)(13-47), _(14-45), questEntity(14-45), rewards(20-45), validRewards(21-45), bCanAddScore(23-45), (for generator)(28-44), (for state)(28-44), (for control)(28-44), _(29-42), reward(29-42)
  0000  GETTABLE  R1 = R0[K0('m_questHelper')]
  0001  SELF      R2 = R1[K1('GetAllValidOrCanAcquireQuests')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('Table')]
  0004  GETTABLE  R2 = R2[K3('IsEmpty')]
  0005  MOVE      R3 = R0
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABUP  R2 = _ENV[K4('ipairs')]
  0011  MOVE      R3 = R0
  0012  CALL      R2 = call(R2, 3 args, 1 rets)
  0013  JMP       (jump)   -> 45
  0014  SELF      R8 = R6[K5('IsRewardAcquired')] (self)
  0015  CALL      R7 = call(R7, 1 args, 1 rets)
  0016  TEST      if not R7 then   -> -131053
  0017  JMP       (jump)   -> 45
  0018  SELF      R8 = R6[K6('GetRewards')] (self)
  0019  CALL      R7 = call(R7, 1 args, 1 rets)
  0020  NEWTABLE  R8 = {} (0 items)
  0021  SELF      R10 = R0[K7('CanAddScore')] (self)
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  GETTABUP  R10 = _ENV[K4('ipairs')]
  0024  TESTSET   if R1 then R11   -> -127461
  0025  JMP       (jump)   -> 27
  0026  NEWTABLE  R11 = {} (0 items)
  0027  CALL      R10 = call(R10, 3 args, 1 rets)
  0028  JMP       (jump)   -> 42
  0029  TEST      if not R9 then   -> -131040
  0030  JMP       (jump)   -> 37
  0031  GETTABUP  R15 = _ENV[K8('PROPERTY_TYPE')]
  0032  GETTABLE  R15 = R14[R15]
  0033  GETTABLE  R16 = R0[K9('m_activityDefinition')]
  0034  GETTABLE  R16 = R16[K10('ActivityTokenPropertyType')]
  0035  EQ        if R1 eq R16   -> -123339
  0036  JMP       (jump)   -> 42
  0037  GETTABUP  R15 = _ENV[K11('table')]
  0038  GETTABLE  R15 = R15[K12('insert')]
  0039  MOVE      R16 = R0
  0040  MOVE      R17 = R0
  0041  CALL      R15 = call(R15, 0 args, 2 rets)
  0042  TFORCALL  tforcall R10
  0043  TFORLOOP  tforloop R12(sBx=-15)   -> 29
  0044  RETURN    return R8..R7
  0045  TFORCALL  tforcall R2
  0046  TFORLOOP  tforloop R4(sBx=-33)   -> 14
  0047  RETURN    return R0..R-1
; ---------- proto38 [GetWaveProgressInfo] ----------
  ; fn ?  line 687-710 np=2 va=0 ms=14 code=44 consts=12 upvals=1 protos=0
  ;   K[0]='GetCurrentWave'
  ;   K[1]='IsDayCompleted'
  ;   K[2]='math'
  ;   K[3]='max'
  ;   K[4]=1
  ;   K[5]=0
  ;   K[6]='m_questHelper'
  ;   K[7]='GetAllValidOrCanAcquireOrAcquiredQuests'
  ;   K[8]='ipairs'
  ;   K[9]='GetConfig'
  ;   K[10]='wave'
  ;   K[11]='IsRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-44), wave(0-44), curWave(4-44), totalProgress(15-44), curProgress(16-44), arrQuestEntity(19-44), config(20-44), (for generator)(23-40), (for state)(23-40), (for control)(23-40), _(24-38), questEntity(24-38)
  0000  TESTSET   if R1 then R2   -> -130557
  0001  JMP       (jump)   -> 4
  0002  SELF      R3 = R0[K0('GetCurrentWave')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R4 = R0[K1('IsDayCompleted')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  TEST      if not R3 then   -> -131064
  0007  JMP       (jump)   -> 14
  0008  GETTABUP  R3 = _ENV[K2('math')]
  0009  GETTABLE  R3 = R3[K3('max')]
  0010  SUB       R4 = K4(1) sub R2
  0011  LOADK     R5 = K4 1
  0012  CALL      R3 = call(R3, 1 args, 2 rets)
  0013  MOVE      R2 = R0
  0014  LOADK     R3 = K5 0
  0015  LOADK     R4 = K5 0
  0016  GETTABLE  R5 = R0[K6('m_questHelper')]
  0017  SELF      R6 = R5[K7('GetAllValidOrCanAcquireOrAcquiredQuests')] (self)
  0018  CALL      R5 = call(R5, 1 args, 1 rets)
  0019  LOADNIL   R6..R6 = nil
  0020  GETTABUP  R7 = _ENV[K8('ipairs')]
  0021  MOVE      R8 = R0
  0022  CALL      R7 = call(R7, 3 args, 1 rets)
  0023  JMP       (jump)   -> 38
  0024  SELF      R13 = R11[K9('GetConfig')] (self)
  0025  CALL      R12 = call(R12, 1 args, 1 rets)
  0026  MOVE      R6 = R0
  0027  TEST      if not R6 then   -> -131043
  0028  JMP       (jump)   -> 38
  0029  GETTABLE  R12 = R6[K10('wave')]
  0030  EQ        if R0 eq R2   -> -124894
  0031  JMP       (jump)   -> 38
  0032  ADD       R3 = K4(1) add R3
  0033  SELF      R13 = R11[K11('IsRewardAcquired')] (self)
  0034  CALL      R12 = call(R12, 1 args, 1 rets)
  0035  TEST      if not R12 then   -> -131035
  0036  JMP       (jump)   -> 38
  0037  ADD       R4 = K4(1) add R4
  0038  TFORCALL  tforcall R7
  0039  TFORLOOP  tforloop R9(sBx=-16)   -> 24
  0040  MOVE      R7 = R0
  0041  MOVE      R8 = R0
  0042  RETURN    return R7..R6
  0043  RETURN    return R0..R-1
; ---------- proto39 [GetWaveQuestEntity] ----------
  ; fn ?  line 712-725 np=2 va=0 ms=13 code=31 consts=8 upvals=1 protos=0
  ;   K[0]='GetCurrentWave'
  ;   K[1]='m_questHelper'
  ;   K[2]='GetAllValidOrCanAcquireOrAcquiredQuests'
  ;   K[3]='ipairs'
  ;   K[4]='GetConfig'
  ;   K[5]='wave'
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-31), wave(0-31), arrQuestEntity(8-31), arrEntity(9-31), config(10-31), (for generator)(13-29), (for state)(13-29), (for control)(13-29), _(14-27), questEntity(14-27)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 5
  0002  SELF      R3 = R0[K0('GetCurrentWave')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  MOVE      R1 = R0
  0005  GETTABLE  R2 = R0[K1('m_questHelper')]
  0006  SELF      R3 = R2[K2('GetAllValidOrCanAcquireOrAcquiredQuests')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  NEWTABLE  R3 = {} (0 items)
  0009  LOADNIL   R4..R4 = nil
  0010  GETTABUP  R5 = _ENV[K3('ipairs')]
  0011  MOVE      R6 = R0
  0012  CALL      R5 = call(R5, 3 args, 1 rets)
  0013  JMP       (jump)   -> 27
  0014  SELF      R11 = R9[K4('GetConfig')] (self)
  0015  CALL      R10 = call(R10, 1 args, 1 rets)
  0016  MOVE      R4 = R0
  0017  TEST      if not R4 then   -> -131053
  0018  JMP       (jump)   -> 27
  0019  GETTABLE  R10 = R4[K5('wave')]
  0020  EQ        if R0 eq R1   -> -125929
  0021  JMP       (jump)   -> 27
  0022  GETTABUP  R10 = _ENV[K6('table')]
  0023  GETTABLE  R10 = R10[K7('insert')]
  0024  MOVE      R11 = R0
  0025  MOVE      R12 = R0
  0026  CALL      R10 = call(R10, 0 args, 2 rets)
  0027  TFORCALL  tforcall R5
  0028  TFORLOOP  tforloop R7(sBx=-15)   -> 14
  0029  RETURN    return R3..R2
  0030  RETURN    return R0..R-1
; ---------- proto40 [GetNextDayTime] ----------
  ; fn ?  line 727-731 np=1 va=0 ms=5 code=24 consts=8 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='sTime'
  ;   K[3]='eTime'
  ;   K[4]='math'
  ;   K[5]='min'
  ;   K[6]='GetCurrentDay'
  ;   K[7]=86400
  ;   upvals: _ENV
  ;   locals: self(0-24)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 23
  0003  GETTABLE  R1 = R0[K0('m_config')]
  0004  GETTABLE  R1 = R1[K2('sTime')]
  0005  EQ        if R1 eq K1(nil)   -> -130296
  0006  JMP       (jump)   -> 23
  0007  GETTABLE  R1 = R0[K0('m_config')]
  0008  GETTABLE  R1 = R1[K3('eTime')]
  0009  EQ        if R1 eq K1(nil)   -> -130292
  0010  JMP       (jump)   -> 23
  0011  GETTABUP  R1 = _ENV[K4('math')]
  0012  GETTABLE  R1 = R1[K5('min')]
  0013  GETTABLE  R2 = R0[K0('m_config')]
  0014  GETTABLE  R2 = R2[K2('sTime')]
  0015  SELF      R4 = R0[K6('GetCurrentDay')] (self)
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  MUL       R3 = K7(86400) mul R3
  0018  ADD       R2 = R3 add R2
  0019  GETTABLE  R3 = R0[K0('m_config')]
  0020  GETTABLE  R3 = R3[K3('eTime')]
  0021  TAILCALL  tailcall(R1, 0)
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto41 [IsGoldQuest] ----------
  ; fn ?  line 733-736 np=2 va=0 ms=4 code=11 consts=4 upvals=0 protos=0
  ;   K[0]='GetConfig'
  ;   K[1]='wave'
  ;   K[2]=nil
  ;   K[3]=1
  ;   locals: self(0-11), questEntity(0-11), wave(3-11)
  0000  SELF      R3 = R1[K0('GetConfig')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABLE  R2 = R2[K1('wave')]
  0003  EQ        if R1 eq K2(nil)   -> -129785
  0004  JMP       (jump)   -> 7
  0005  LT        if R1 lt R2   -> 1545
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R3 = false
  0008  LOADBOOL  R3 = true
  0009  RETURN    return R3..R2
  0010  RETURN    return R0..R-1
; ---------- proto42 [GetProgressHelper] ----------
  ; fn ?  line 742-744 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
; ---------- proto43 [CanAddScore] ----------
  ; fn ?  line 746-753 np=1 va=0 ms=3 code=21 consts=6 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='Ended'
  ;   K[4]='GetProgressHelper'
  ;   K[5]='HasFinishedAllLevelAndAcquiredRewards'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  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('GetProgressHelper')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  SELF      R2 = R1[K5('HasFinishedAllLevelAndAcquiredRewards')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  NOT       R1 = not R0
  0019  RETURN    return R1..R0
  0020  RETURN    return R0..R-1
; ---------- proto44 [CanAddOrderReward] ----------
  ; fn ?  line 755-757 np=1 va=1 ms=2 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3)
  0000  LOADBOOL  R1 = false
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto45 [AcquireActivityToken] ----------
  ; fn ?  line 761-778 np=2 va=0 ms=7 code=28 consts=11 upvals=1 protos=0
  ;   K[0]='CanAddScore'
  ;   K[1]='GetProgressHelper'
  ;   K[2]='AddScore'
  ;   K[3]='m_bRecoverRewards'
  ;   K[4]='TryAcquireReward'
  ;   K[5]='Table'
  ;   K[6]='IsEmpty'
  ;   K[7]='EventDispatcher'
  ;   K[8]='DispatchEvent'
  ;   K[9]='m_activityDefinition'
  ;   K[10]='ProgressRewardsAcquiredEvent'
  ;   upvals: _ENV
  ;   locals: self(0-28), num(0-28), progressHelper(7-28), rewards(15-27)
  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  SELF      R4 = R2[K2('AddScore')] (self)
  0008  MOVE      R5 = R0
  0009  CALL      R3 = call(R3, 0 args, 2 rets)
  0010  GETTABLE  R3 = R0[K3('m_bRecoverRewards')]
  0011  TEST      if not R3 then   -> -131058
  0012  JMP       (jump)   -> 27
  0013  SELF      R4 = R2[K4('TryAcquireReward')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  GETTABUP  R4 = _ENV[K5('Table')]
  0016  GETTABLE  R4 = R4[K6('IsEmpty')]
  0017  MOVE      R5 = R0
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  TEST      if not R4 then   -> -131050
  0020  JMP       (jump)   -> 27
  0021  GETTABUP  R4 = _ENV[K7('EventDispatcher')]
  0022  GETTABLE  R4 = R4[K8('DispatchEvent')]
  0023  GETTABLE  R5 = R0[K9('m_activityDefinition')]
  0024  GETTABLE  R5 = R5[K10('ProgressRewardsAcquiredEvent')]
  0025  MOVE      R6 = R0
  0026  CALL      R4 = call(R4, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
; ---------- proto46 [GetActivityTokenNumber] ----------
  ; fn ?  line 780-782 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_progressHelper'
  ;   K[1]='GetScoreForDisplay'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_progressHelper')]
  0001  SELF      R2 = R1[K1('GetScoreForDisplay')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto47 [OnScoreChanged] ----------
  ; fn ?  line 785-787 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='ScoreChangedEvent'
  ;   K[4]='m_bRecoverRewards'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R2 = R2[K3('ScoreChangedEvent')]
  0004  GETTABLE  R3 = R0[K4('m_bRecoverRewards')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto48 [_LogQuestAction] ----------
  ; fn ?  line 793-815 np=4 va=0 ms=17 code=49 consts=19 upvals=1 protos=0
  ;   K[0]='actId'
  ;   K[1]='GetId'
  ;   K[2]='day'
  ;   K[3]='GetCurrentDay'
  ;   K[4]='taskId'
  ;   K[5]='GetConfig'
  ;   K[6]='id'
  ;   K[7]='GetRewards'
  ;   K[8]='Table'
  ;   K[9]='IsEmpty'
  ;   K[10]='ipairs'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   K[13]='PROPERTY_TYPE'
  ;   K[14]='PROPERTY_COUNT'
  ;   K[15]='rewards'
  ;   K[16]='GM'
  ;   K[17]='BIManager'
  ;   K[18]='LogAction'
  ;   upvals: _ENV
  ;   locals: self(0-49), questEntity(0-49), eBIType(0-49), bRewards(0-49), action(11-49), rewards(15-42), biRewards(22-42), (for generator)(25-41), (for state)(25-41), (for control)(25-41), _(26-39), reward(26-39)
  0000  NEWTABLE  R4 = {} (0 items)
  0001  SELF      R6 = R0[K1('GetId')] (self)
  0002  CALL      R5 = call(R5, 1 args, 1 rets)
  0003  SETTABLE  R4[K0('actId')] = R5
  0004  SELF      R6 = R0[K3('GetCurrentDay')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  SETTABLE  R4[K2('day')] = R5
  0007  SELF      R6 = R1[K5('GetConfig')] (self)
  0008  CALL      R5 = call(R5, 1 args, 1 rets)
  0009  GETTABLE  R5 = R5[K6('id')]
  0010  SETTABLE  R4[K4('taskId')] = R5
  0011  TEST      if not R3 then   -> -131059
  0012  JMP       (jump)   -> 42
  0013  SELF      R6 = R1[K7('GetRewards')] (self)
  0014  CALL      R5 = call(R5, 1 args, 1 rets)
  0015  GETTABUP  R6 = _ENV[K8('Table')]
  0016  GETTABLE  R6 = R6[K9('IsEmpty')]
  0017  MOVE      R7 = R0
  0018  CALL      R6 = call(R6, 1 args, 1 rets)
  0019  TEST      if not R6 then   -> -131050
  0020  JMP       (jump)   -> 42
  0021  NEWTABLE  R6 = {} (0 items)
  0022  GETTABUP  R7 = _ENV[K10('ipairs')]
  0023  MOVE      R8 = R0
  0024  CALL      R7 = call(R7, 3 args, 1 rets)
  0025  JMP       (jump)   -> 39
  0026  GETTABUP  R12 = _ENV[K11('table')]
  0027  GETTABLE  R12 = R12[K12('insert')]
  0028  MOVE      R13 = R0
  0029  NEWTABLE  R14 = {} (0 items)
  0030  GETTABUP  R15 = _ENV[K13('PROPERTY_TYPE')]
  0031  GETTABUP  R16 = _ENV[K13('PROPERTY_TYPE')]
  0032  GETTABLE  R16 = R11[R16]
  0033  SETTABLE  R14[R15] = R16
  0034  GETTABUP  R15 = _ENV[K14('PROPERTY_COUNT')]
  0035  GETTABUP  R16 = _ENV[K14('PROPERTY_COUNT')]
  0036  GETTABLE  R16 = R11[R16]
  0037  SETTABLE  R14[R15] = R16
  0038  CALL      R12 = call(R12, 0 args, 2 rets)
  0039  TFORCALL  tforcall R7
  0040  TFORLOOP  tforloop R9(sBx=-15)   -> 26
  0041  SETTABLE  R4[K15('rewards')] = R6
  0042  GETTABUP  R5 = _ENV[K16('GM')]
  0043  GETTABLE  R5 = R5[K17('BIManager')]
  0044  SELF      R6 = R5[K18('LogAction')] (self)
  0045  MOVE      R7 = R0
  0046  MOVE      R8 = R0
  0047  CALL      R5 = call(R5, 0 args, 3 rets)
  0048  RETURN    return R0..R-1
; ---------- proto49 [LogQuestUnlocked] ----------
  ; fn ?  line 817-819 np=2 va=0 ms=8 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='_LogQuestAction'
  ;   K[1]='IsGoldQuest'
  ;   K[2]='EBIType'
  ;   K[3]='DailyActiveQuestUnlockTaskExtra'
  ;   K[4]='DailyActiveQuestUnlockTask'
  ;   upvals: _ENV
  ;   locals: self(0-15), questEntity(0-15)
  0000  SELF      R3 = R0[K0('_LogQuestAction')] (self)
  0001  MOVE      R4 = R0
  0002  SELF      R6 = R0[K1('IsGoldQuest')] (self)
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, 1 args, 2 rets)
  0005  TEST      if not R5 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  GETTABUP  R5 = _ENV[K2('EBIType')]
  0008  GETTABLE  R5 = R5[K3('DailyActiveQuestUnlockTaskExtra')]
  0009  TEST      if not R5 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  GETTABUP  R5 = _ENV[K2('EBIType')]
  0012  GETTABLE  R5 = R5[K4('DailyActiveQuestUnlockTask')]
  0013  CALL      R2 = call(R2, 0 args, 3 rets)
  0014  RETURN    return R0..R-1
; ---------- proto50 [LogQuestCompleted] ----------
  ; fn ?  line 821-823 np=2 va=0 ms=8 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='_LogQuestAction'
  ;   K[1]='IsGoldQuest'
  ;   K[2]='EBIType'
  ;   K[3]='DailyActiveQuestFinishTaskExtra'
  ;   K[4]='DailyActiveQuestFinishTask'
  ;   upvals: _ENV
  ;   locals: self(0-15), questEntity(0-15)
  0000  SELF      R3 = R0[K0('_LogQuestAction')] (self)
  0001  MOVE      R4 = R0
  0002  SELF      R6 = R0[K1('IsGoldQuest')] (self)
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, 1 args, 2 rets)
  0005  TEST      if not R5 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  GETTABUP  R5 = _ENV[K2('EBIType')]
  0008  GETTABLE  R5 = R5[K3('DailyActiveQuestFinishTaskExtra')]
  0009  TEST      if not R5 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  GETTABUP  R5 = _ENV[K2('EBIType')]
  0012  GETTABLE  R5 = R5[K4('DailyActiveQuestFinishTask')]
  0013  CALL      R2 = call(R2, 0 args, 3 rets)
  0014  RETURN    return R0..R-1
; ---------- proto51 [LogQuestAcquired] ----------
  ; fn ?  line 825-827 np=2 va=0 ms=8 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_LogQuestAction'
  ;   K[1]='GetAcquireQuestRewardBIType'
  ;   locals: self(0-8), questEntity(0-8)
  0000  SELF      R3 = R0[K0('_LogQuestAction')] (self)
  0001  MOVE      R4 = R0
  0002  SELF      R6 = R0[K1('GetAcquireQuestRewardBIType')] (self)
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, 1 args, 2 rets)
  0005  LOADBOOL  R6 = true
  0006  CALL      R2 = call(R2, 0 args, 4 rets)
  0007  RETURN    return R0..R-1
; ---------- proto52 [LogQuestAutoFinished] ----------
  ; fn ?  line 829-832 np=2 va=0 ms=7 code=16 consts=10 upvals=1 protos=0
  ;   K[0]='_LogQuestAction'
  ;   K[1]='EBIType'
  ;   K[2]='DailyActiveQuestAutoFinishTask'
  ;   K[3]='Log'
  ;   K[4]='Info'
  ;   K[5]='string'
  ;   K[6]='format'
  ;   K[7]='[每日挑战] 任务自动完成, 任务id: %d'
  ;   K[8]='GetConfig'
  ;   K[9]='id'
  ;   upvals: _ENV
  ;   locals: self(0-16), questEntity(0-16)
  0000  SELF      R3 = R0[K0('_LogQuestAction')] (self)
  0001  MOVE      R4 = R0
  0002  GETTABUP  R5 = _ENV[K1('EBIType')]
  0003  GETTABLE  R5 = R5[K2('DailyActiveQuestAutoFinishTask')]
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  GETTABUP  R2 = _ENV[K3('Log')]
  0006  GETTABLE  R2 = R2[K4('Info')]
  0007  GETTABUP  R3 = _ENV[K5('string')]
  0008  GETTABLE  R3 = R3[K6('format')]
  0009  LOADK     R4 = K7 '[每日挑战] 任务自动完成, 任务id: %d'
  0010  SELF      R6 = R1[K8('GetConfig')] (self)
  0011  CALL      R5 = call(R5, 1 args, 1 rets)
  0012  GETTABLE  R5 = R5[K9('id')]
  0013  CALL      R3 = call(R3, -1 args, 2 rets)
  0014  CALL      R2 = call(R2, 0 args, -1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto53 [LogQuestReplaced] ----------
  ; fn ?  line 834-848 np=2 va=0 ms=12 code=37 consts=20 upvals=1 protos=0
  ;   K[0]='GetConfig'
  ;   K[1]='GetQuestType'
  ;   K[2]='id'
  ;   K[3]='actId'
  ;   K[4]='GetId'
  ;   K[5]='day'
  ;   K[6]='GetCurrentDay'
  ;   K[7]='taskId'
  ;   K[8]='before'
  ;   K[9]='after'
  ;   K[10]='GM'
  ;   K[11]='BIManager'
  ;   K[12]='LogAction'
  ;   K[13]='EBIType'
  ;   K[14]='DailyActiveQuestReplaceTask'
  ;   K[15]='Log'
  ;   K[16]='Info'
  ;   K[17]='string'
  ;   K[18]='format'
  ;   K[19]='[每日挑战] 任务替换, 任务id: %d, 原任务类型: %s, 新任务类型: %s'
  ;   upvals: _ENV
  ;   locals: self(0-37), questEntity(0-37), fromQuestType(4-37), targetQuestType(6-37), taskId(9-37), action(19-37)
  0000  SELF      R3 = R1[K0('GetConfig')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R3 = R2[K1('GetQuestType')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R4 = R1[K1('GetQuestType')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  SELF      R5 = R1[K0('GetConfig')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  GETTABLE  R4 = R4[K2('id')]
  0009  NEWTABLE  R5 = {} (0 items)
  0010  SELF      R7 = R0[K4('GetId')] (self)
  0011  CALL      R6 = call(R6, 1 args, 1 rets)
  0012  SETTABLE  R5[K3('actId')] = R6
  0013  SELF      R7 = R0[K6('GetCurrentDay')] (self)
  0014  CALL      R6 = call(R6, 1 args, 1 rets)
  0015  SETTABLE  R5[K5('day')] = R6
  0016  SETTABLE  R5[K7('taskId')] = R4
  0017  SETTABLE  R5[K8('before')] = R2
  0018  SETTABLE  R5[K9('after')] = R3
  0019  GETTABUP  R6 = _ENV[K10('GM')]
  0020  GETTABLE  R6 = R6[K11('BIManager')]
  0021  SELF      R7 = R6[K12('LogAction')] (self)
  0022  GETTABUP  R8 = _ENV[K13('EBIType')]
  0023  GETTABLE  R8 = R8[K14('DailyActiveQuestReplaceTask')]
  0024  MOVE      R9 = R0
  0025  CALL      R6 = call(R6, 0 args, 3 rets)
  0026  GETTABUP  R6 = _ENV[K15('Log')]
  0027  GETTABLE  R6 = R6[K16('Info')]
  0028  GETTABUP  R7 = _ENV[K17('string')]
  0029  GETTABLE  R7 = R7[K18('format')]
  0030  LOADK     R8 = K19 '[每日挑战] 任务替换, 任务id: %d, 原任务类型: %s, 新任务类型: %s'
  0031  MOVE      R9 = R0
  0032  MOVE      R10 = R0
  0033  MOVE      R11 = R0
  0034  CALL      R7 = call(R7, -1 args, 4 rets)
  0035  CALL      R6 = call(R6, 0 args, -1 rets)
  0036  RETURN    return R0..R-1
; ---------- proto54 [LogAcquireProgressRewards] ----------
  ; fn ?  line 851-868 np=3 va=0 ms=14 code=39 consts=16 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='ipairs'
  ;   K[3]='table'
  ;   K[4]='insert'
  ;   K[5]='PROPERTY_TYPE'
  ;   K[6]='PROPERTY_COUNT'
  ;   K[7]='GM'
  ;   K[8]='BIManager'
  ;   K[9]='LogAction'
  ;   K[10]='EBIType'
  ;   K[11]='DailyActiveQuestProgressReward'
  ;   K[12]='actId'
  ;   K[13]='GetId'
  ;   K[14]='level'
  ;   K[15]='rewards'
  ;   upvals: _ENV
  ;   locals: self(0-39), rewards(0-39), level(0-39), biRewards(1-39), (for generator)(10-26), (for state)(10-26), (for control)(10-26), _(11-24), reward(11-24)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K0('Table')]
  0002  GETTABLE  R4 = R4[K1('IsEmpty')]
  0003  MOVE      R5 = R0
  0004  CALL      R4 = call(R4, 1 args, 1 rets)
  0005  TEST      if not R4 then   -> -131064
  0006  JMP       (jump)   -> 26
  0007  GETTABUP  R4 = _ENV[K2('ipairs')]
  0008  MOVE      R5 = R0
  0009  CALL      R4 = call(R4, 3 args, 1 rets)
  0010  JMP       (jump)   -> 24
  0011  GETTABUP  R9 = _ENV[K3('table')]
  0012  GETTABLE  R9 = R9[K4('insert')]
  0013  MOVE      R10 = R0
  0014  NEWTABLE  R11 = {} (0 items)
  0015  GETTABUP  R12 = _ENV[K5('PROPERTY_TYPE')]
  0016  GETTABUP  R13 = _ENV[K5('PROPERTY_TYPE')]
  0017  GETTABLE  R13 = R8[R13]
  0018  SETTABLE  R11[R12] = R13
  0019  GETTABUP  R12 = _ENV[K6('PROPERTY_COUNT')]
  0020  GETTABUP  R13 = _ENV[K6('PROPERTY_COUNT')]
  0021  GETTABLE  R13 = R8[R13]
  0022  SETTABLE  R11[R12] = R13
  0023  CALL      R9 = call(R9, 0 args, 2 rets)
  0024  TFORCALL  tforcall R4
  0025  TFORLOOP  tforloop R6(sBx=-15)   -> 11
  0026  GETTABUP  R4 = _ENV[K7('GM')]
  0027  GETTABLE  R4 = R4[K8('BIManager')]
  0028  SELF      R5 = R4[K9('LogAction')] (self)
  0029  GETTABUP  R6 = _ENV[K10('EBIType')]
  0030  GETTABLE  R6 = R6[K11('DailyActiveQuestProgressReward')]
  0031  NEWTABLE  R7 = {} (0 items)
  0032  SELF      R9 = R0[K13('GetId')] (self)
  0033  CALL      R8 = call(R8, 1 args, 1 rets)
  0034  SETTABLE  R7[K12('actId')] = R8
  0035  SETTABLE  R7[K14('level')] = R2
  0036  SETTABLE  R7[K15('rewards')] = R3
  0037  CALL      R4 = call(R4, 0 args, 3 rets)
  0038  RETURN    return R0..R-1
