# WeeklyActiveQuest_Model_WeeklyActiveQuestModel_1306.luac
; fn @WeeklyActiveQuestModel.lua  line 0-0 np=0 va=1 ms=3 code=175 consts=63 upvals=1 protos=53
;   K[0]='WeeklyActiveQuestModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='LastLoginTime'
;   K[5]='LastPopupTime'
;   K[6]='LastShowInfo'
;   K[7]='CurInfo'
;   K[8]='CurScore'
;   K[9]='RewardRecover'
;   K[10]='Init'
;   K[11]='Destroy'
;   K[12]='GetActivityDefinition'
;   K[13]='_DropData'
;   K[14]='OnCheckResourcesFinished'
;   K[15]='_OnStateChanged'
;   K[16]='_OnProgressGain'
;   K[17]='_SaveProgress'
;   K[18]='UpdatePerSecond'
;   K[19]='HasPopupToday'
;   K[20]='GetReleaseTime'
;   K[21]='SetPopupTime'
;   K[22]='_ShowTip'
;   K[23]='_OnItemMerged'
;   K[24]='_OnOrderFinished'
;   K[25]='_OnIAPSuccess'
;   K[26]='_OnTakeOutDishItem'
;   K[27]='_OnFinishDay'
;   K[28]='_OnCollectGold'
;   K[29]='_OnPropertyAcquired'
;   K[30]='_OnFinishTask'
;   K[31]='_OnTaskConditionChanged'
;   K[32]='_CheckTaskType'
;   K[33]='_OnTaskTypeUnavailable'
;   K[34]='AcquireActivityToken'
;   K[35]='TaskCollect'
;   K[36]='RefreshShowInfo'
;   K[37]='_LoadOtherServerConfig'
;   K[38]='_CheckConfigValid'
;   K[39]='StartCalcProgress'
;   K[40]='StopCalcProgress'
;   K[41]='CanShowIcon'
;   K[42]='GetBoardEntryShowConfig'
;   K[43]='IsAllFinish'
;   K[44]='GetCanCollectTaskNumByStage'
;   K[45]='IsStageFinished'
;   K[46]='GetCanCollectTaskNum'
;   K[47]='CreateViewController'
;   K[48]='ViewControllerFinished'
;   K[49]='HasViewController'
;   K[50]='GetResourceLabels'
;   K[51]='GetStage'
;   K[52]='GetMXStage'
;   K[53]='GetActivityTokenNumber'
;   K[54]='GetRewardConfig'
;   K[55]='GetCurInfo'
;   K[56]='GetTaskByStage'
;   K[57]='GetProgressValue'
;   K[58]='ClearProgress'
;   K[59]='CanRewardRecover'
;   K[60]='RewardRecover'
;   K[61]='GetActiveWeeklyActiveQuest'
;   K[62]='GetButtonTarget'
;   upvals: _ENV
;   locals: EStrDBKeys(15-175)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseActivityModel')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('WeeklyActiveQuestModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestModel')]
0006  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K4('LastLoginTime')] = K4('LastLoginTime')
0010  SETTABLE  R0[K5('LastPopupTime')] = K5('LastPopupTime')
0011  SETTABLE  R0[K6('LastShowInfo')] = K6('LastShowInfo')
0012  SETTABLE  R0[K7('CurInfo')] = K7('CurInfo')
0013  SETTABLE  R0[K8('CurScore')] = K8('CurScore')
0014  SETTABLE  R0[K9('RewardRecover')] = K9('RewardRecover')
0015  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0016  CLOSURE   R2 = closure proto0
0017  SETTABLE  R1[K10('Init')] = R2
0018  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0019  CLOSURE   R2 = closure proto1
0020  SETTABLE  R1[K11('Destroy')] = R2
0021  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0022  CLOSURE   R2 = closure proto2
0023  SETTABLE  R1[K12('GetActivityDefinition')] = R2
0024  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0025  CLOSURE   R2 = closure proto3
0026  SETTABLE  R1[K13('_DropData')] = R2
0027  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0028  CLOSURE   R2 = closure proto4
0029  SETTABLE  R1[K14('OnCheckResourcesFinished')] = R2
0030  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0031  CLOSURE   R2 = closure proto5
0032  SETTABLE  R1[K15('_OnStateChanged')] = R2
0033  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0034  CLOSURE   R2 = closure proto6
0035  SETTABLE  R1[K16('_OnProgressGain')] = R2
0036  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0037  CLOSURE   R2 = closure proto7
0038  SETTABLE  R1[K17('_SaveProgress')] = R2
0039  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0040  CLOSURE   R2 = closure proto8
0041  SETTABLE  R1[K18('UpdatePerSecond')] = R2
0042  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0043  CLOSURE   R2 = closure proto9
0044  SETTABLE  R1[K19('HasPopupToday')] = R2
0045  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0046  CLOSURE   R2 = closure proto10
0047  SETTABLE  R1[K20('GetReleaseTime')] = R2
0048  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0049  CLOSURE   R2 = closure proto11
0050  SETTABLE  R1[K21('SetPopupTime')] = R2
0051  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0052  CLOSURE   R2 = closure proto12
0053  SETTABLE  R1[K22('_ShowTip')] = R2
0054  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0055  CLOSURE   R2 = closure proto13
0056  SETTABLE  R1[K23('_OnItemMerged')] = R2
0057  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0058  CLOSURE   R2 = closure proto14
0059  SETTABLE  R1[K24('_OnOrderFinished')] = R2
0060  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0061  CLOSURE   R2 = closure proto15
0062  SETTABLE  R1[K25('_OnIAPSuccess')] = R2
0063  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0064  CLOSURE   R2 = closure proto16
0065  SETTABLE  R1[K26('_OnTakeOutDishItem')] = R2
0066  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0067  CLOSURE   R2 = closure proto17
0068  SETTABLE  R1[K27('_OnFinishDay')] = R2
0069  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0070  CLOSURE   R2 = closure proto18
0071  SETTABLE  R1[K28('_OnCollectGold')] = R2
0072  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0073  CLOSURE   R2 = closure proto19
0074  SETTABLE  R1[K29('_OnPropertyAcquired')] = R2
0075  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0076  CLOSURE   R2 = closure proto20
0077  SETTABLE  R1[K30('_OnFinishTask')] = R2
0078  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0079  CLOSURE   R2 = closure proto21
0080  SETTABLE  R1[K31('_OnTaskConditionChanged')] = R2
0081  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0082  CLOSURE   R2 = closure proto22
0083  SETTABLE  R1[K32('_CheckTaskType')] = R2
0084  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0085  CLOSURE   R2 = closure proto23
0086  SETTABLE  R1[K33('_OnTaskTypeUnavailable')] = R2
0087  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0088  CLOSURE   R2 = closure proto24
0089  SETTABLE  R1[K34('AcquireActivityToken')] = R2
0090  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0091  CLOSURE   R2 = closure proto25
0092  SETTABLE  R1[K35('TaskCollect')] = R2
0093  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0094  CLOSURE   R2 = closure proto26
0095  SETTABLE  R1[K36('RefreshShowInfo')] = R2
0096  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0097  CLOSURE   R2 = closure proto27
0098  SETTABLE  R1[K37('_LoadOtherServerConfig')] = R2
0099  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0100  CLOSURE   R2 = closure proto28
0101  SETTABLE  R1[K38('_CheckConfigValid')] = R2
0102  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0103  CLOSURE   R2 = closure proto29
0104  SETTABLE  R1[K39('StartCalcProgress')] = R2
0105  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0106  CLOSURE   R2 = closure proto30
0107  SETTABLE  R1[K40('StopCalcProgress')] = R2
0108  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0109  CLOSURE   R2 = closure proto31
0110  SETTABLE  R1[K41('CanShowIcon')] = R2
0111  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0112  CLOSURE   R2 = closure proto32
0113  SETTABLE  R1[K42('GetBoardEntryShowConfig')] = R2
0114  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0115  CLOSURE   R2 = closure proto33
0116  SETTABLE  R1[K43('IsAllFinish')] = R2
0117  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0118  CLOSURE   R2 = closure proto34
0119  SETTABLE  R1[K44('GetCanCollectTaskNumByStage')] = R2
0120  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0121  CLOSURE   R2 = closure proto35
0122  SETTABLE  R1[K45('IsStageFinished')] = R2
0123  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0124  CLOSURE   R2 = closure proto36
0125  SETTABLE  R1[K46('GetCanCollectTaskNum')] = R2
0126  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0127  CLOSURE   R2 = closure proto37
0128  SETTABLE  R1[K47('CreateViewController')] = R2
0129  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0130  CLOSURE   R2 = closure proto38
0131  SETTABLE  R1[K48('ViewControllerFinished')] = R2
0132  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0133  CLOSURE   R2 = closure proto39
0134  SETTABLE  R1[K49('HasViewController')] = R2
0135  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0136  CLOSURE   R2 = closure proto40
0137  SETTABLE  R1[K50('GetResourceLabels')] = R2
0138  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0139  CLOSURE   R2 = closure proto41
0140  SETTABLE  R1[K51('GetStage')] = R2
0141  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0142  CLOSURE   R2 = closure proto42
0143  SETTABLE  R1[K52('GetMXStage')] = R2
0144  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0145  CLOSURE   R2 = closure proto43
0146  SETTABLE  R1[K53('GetActivityTokenNumber')] = R2
0147  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0148  CLOSURE   R2 = closure proto44
0149  SETTABLE  R1[K54('GetRewardConfig')] = R2
0150  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0151  CLOSURE   R2 = closure proto45
0152  SETTABLE  R1[K55('GetCurInfo')] = R2
0153  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0154  CLOSURE   R2 = closure proto46
0155  SETTABLE  R1[K56('GetTaskByStage')] = R2
0156  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0157  CLOSURE   R2 = closure proto47
0158  SETTABLE  R1[K57('GetProgressValue')] = R2
0159  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0160  CLOSURE   R2 = closure proto48
0161  SETTABLE  R1[K58('ClearProgress')] = R2
0162  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0163  CLOSURE   R2 = closure proto49
0164  SETTABLE  R1[K59('CanRewardRecover')] = R2
0165  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0166  CLOSURE   R2 = closure proto50
0167  SETTABLE  R1[K60('RewardRecover')] = R2
0168  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0169  CLOSURE   R2 = closure proto51
0170  SETTABLE  R1[K61('GetActiveWeeklyActiveQuest')] = R2
0171  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestModel')]
0172  CLOSURE   R2 = closure proto52
0173  SETTABLE  R1[K62('GetButtonTarget')] = R2
0174  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 40-47 np=3 va=0 ms=7 code=13 consts=9 upvals=1 protos=0
  ;   K[0]='m_activityType'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='WeeklyActiveQuestDefinition'
  ;   K[3]='m_stage'
  ;   K[4]=1
  ;   K[5]='m_score'
  ;   K[6]=0
  ;   K[7]='BaseActivityModel'
  ;   K[8]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-13), activityType(0-13), dbTbale(0-13)
  0000  SETTABLE  R0[K0('m_activityType')] = R1
  0001  GETTABUP  R3 = _ENV[K2('WeeklyActiveQuestDefinition')]
  0002  GETTABLE  R3 = R3[R1]
  0003  SETTABLE  R0[K1('m_activityDefinition')] = R3
  0004  SETTABLE  R0[K3('m_stage')] = K4(1)
  0005  SETTABLE  R0[K5('m_score')] = K6(0)
  0006  GETTABUP  R3 = _ENV[K7('BaseActivityModel')]
  0007  GETTABLE  R3 = R3[K8('Init')]
  0008  MOVE      R4 = R0
  0009  MOVE      R5 = R0
  0010  MOVE      R6 = R0
  0011  CALL      R3 = call(R3, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 49-58 np=1 va=0 ms=8 code=18 consts=4 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='m_conArr'
  ;   K[3]='pairs'
  ;   upvals: _ENV
  ;   locals: self(0-18), (for generator)(10-15), (for state)(10-15), (for control)(10-15), _(11-13), vc(11-13)
  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_conArr')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 17
  0007  GETTABUP  R1 = _ENV[K3('pairs')]
  0008  GETTABLE  R2 = R0[K2('m_conArr')]
  0009  CALL      R1 = call(R1, 3 args, 1 rets)
  0010  JMP       (jump)   -> 13
  0011  SELF      R7 = R5[K1('Destroy')] (self)
  0012  CALL      R6 = call(R6, 0 args, 1 rets)
  0013  TFORCALL  tforcall R1
  0014  TFORLOOP  tforloop R3(sBx=-4)   -> 11
  0015  NEWTABLE  R1 = {} (0 items)
  0016  SETTABLE  R0[K2('m_conArr')] = R1
  0017  RETURN    return R0..R-1
; ---------- proto2 [GetActivityDefinition] ----------
  ; fn ?  line 60-62 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
; ---------- proto3 [_DropData] ----------
  ; fn ?  line 64-73 np=1 va=0 ms=3 code=18 consts=15 upvals=1 protos=0
  ;   K[0]='m_lastShowInfo'
  ;   K[1]='m_mapCurInfo'
  ;   K[2]='m_score'
  ;   K[3]=0
  ;   K[4]='m_taskCollected'
  ;   K[5]='m_lastday'
  ;   K[6]=nil
  ;   K[7]='m_stage'
  ;   K[8]=1
  ;   K[9]='BaseActivityModel'
  ;   K[10]='_DropData'
  ;   K[11]='EventDispatcher'
  ;   K[12]='DispatchEvent'
  ;   K[13]='m_activityDefinition'
  ;   K[14]='ReleaseEvent'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_lastShowInfo')] = R1
  0002  NEWTABLE  R1 = {} (0 items)
  0003  SETTABLE  R0[K1('m_mapCurInfo')] = R1
  0004  SETTABLE  R0[K2('m_score')] = K3(0)
  0005  SETTABLE  R0[K4('m_taskCollected')] = K3(0)
  0006  SETTABLE  R0[K5('m_lastday')] = K6(nil)
  0007  SETTABLE  R0[K7('m_stage')] = K8(1)
  0008  GETTABUP  R1 = _ENV[K9('BaseActivityModel')]
  0009  GETTABLE  R1 = R1[K10('_DropData')]
  0010  MOVE      R2 = R0
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABUP  R1 = _ENV[K11('EventDispatcher')]
  0013  GETTABLE  R1 = R1[K12('DispatchEvent')]
  0014  GETTABLE  R2 = R0[K13('m_activityDefinition')]
  0015  GETTABLE  R2 = R2[K14('ReleaseEvent')]
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto4 [OnCheckResourcesFinished] ----------
  ; fn ?  line 75-78 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bCheckResourcesFinished'
  ;   K[1]=true
  ;   K[2]='_OnTaskConditionChanged'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bCheckResourcesFinished')] = K1(true)
  0001  SELF      R2 = R0[K2('_OnTaskConditionChanged')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto5 [_OnStateChanged] ----------
  ; fn ?  line 80-100 np=1 va=0 ms=9 code=45 consts=22 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='ipairs'
  ;   K[6]='m_arrTaskConfigs'
  ;   K[7]='m_mapCurInfo'
  ;   K[8]='tostring'
  ;   K[9]='task_index'
  ;   K[10]=nil
  ;   K[11]='score'
  ;   K[12]=0
  ;   K[13]='collected'
  ;   K[14]=false
  ;   K[15]='StartCalcProgress'
  ;   K[16]='_OnTaskConditionChanged'
  ;   K[17]='StopCalcProgress'
  ;   K[18]='EventDispatcher'
  ;   K[19]='DispatchEvent'
  ;   K[20]='m_activityDefinition'
  ;   K[21]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-45), (for generator)(14-32), (for state)(14-32), (for control)(14-32), _(15-30), task(15-30)
  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('GetState')] (self)
  0005  LOADBOOL  R3 = false
  0006  CALL      R1 = call(R1, 1 args, 2 rets)
  0007  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R2 = R2[K4('Started')]
  0009  EQ        if R0 eq R2   -> -130547
  0010  JMP       (jump)   -> 37
  0011  GETTABUP  R1 = _ENV[K5('ipairs')]
  0012  GETTABLE  R2 = R0[K6('m_arrTaskConfigs')]
  0013  CALL      R1 = call(R1, 3 args, 1 rets)
  0014  JMP       (jump)   -> 30
  0015  GETTABLE  R6 = R0[K7('m_mapCurInfo')]
  0016  GETTABUP  R7 = _ENV[K8('tostring')]
  0017  GETTABLE  R8 = R5[K9('task_index')]
  0018  CALL      R7 = call(R7, 1 args, 1 rets)
  0019  GETTABLE  R6 = R6[R7]
  0020  EQ        if R0 eq K10(nil)   -> -127712
  0021  JMP       (jump)   -> 30
  0022  GETTABLE  R6 = R0[K7('m_mapCurInfo')]
  0023  GETTABUP  R7 = _ENV[K8('tostring')]
  0024  GETTABLE  R8 = R5[K9('task_index')]
  0025  CALL      R7 = call(R7, 1 args, 1 rets)
  0026  NEWTABLE  R8 = {} (0 items)
  0027  SETTABLE  R8[K11('score')] = K12(0)
  0028  SETTABLE  R8[K13('collected')] = K14(false)
  0029  SETTABLE  R6[R7] = R8
  0030  TFORCALL  tforcall R1
  0031  TFORLOOP  tforloop R3(sBx=-17)   -> 15
  0032  SELF      R2 = R0[K15('StartCalcProgress')] (self)
  0033  CALL      R1 = call(R1, 0 args, 1 rets)
  0034  SELF      R2 = R0[K16('_OnTaskConditionChanged')] (self)
  0035  CALL      R1 = call(R1, 0 args, 1 rets)
  0036  JMP       (jump)   -> 39
  0037  SELF      R2 = R0[K17('StopCalcProgress')] (self)
  0038  CALL      R1 = call(R1, 0 args, 1 rets)
  0039  GETTABUP  R1 = _ENV[K18('EventDispatcher')]
  0040  GETTABLE  R1 = R1[K19('DispatchEvent')]
  0041  GETTABLE  R2 = R0[K20('m_activityDefinition')]
  0042  GETTABLE  R2 = R2[K21('StateChangedEvent')]
  0043  CALL      R1 = call(R1, 0 args, 1 rets)
  0044  RETURN    return R0..R-1
; ---------- proto6 [_OnProgressGain] ----------
  ; fn ?  line 102-148 np=2 va=0 ms=15 code=99 consts=38 upvals=1 protos=1
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_arrTaskConfigs'
  ;   K[3]='tostring'
  ;   K[4]='task_index'
  ;   K[5]='task_type'
  ;   K[6]='type'
  ;   K[7]='m_mapCurInfo'
  ;   K[8]='score'
  ;   K[9]='task_num'
  ;   K[10]='num'
  ;   K[11]='GM'
  ;   K[12]='BIManager'
  ;   K[13]='LogAction'
  ;   K[14]='m_activityDefinition'
  ;   K[15]='FinishTaskBIType'
  ;   K[16]='actid'
  ;   K[17]='GetId'
  ;   K[18]='day'
  ;   K[19]='stage'
  ;   K[20]='taskid'
  ;   K[21]='Table'
  ;   K[22]='DeepCopy'
  ;   K[23]='m_lastShowInfo'
  ;   K[24]=nil
  ;   K[25]='WeeklyActiveQuestTaskType'
  ;   K[26]='Login'
  ;   K[27]=1
  ;   K[28]='m_stage'
  ;   K[29]='needwait'
  ;   K[30]='DelayExecuteFunc'
  ;   K[31]=2.0
  ;   K[32]='m_waitingcallback'
  ;   K[33]='EventDispatcher'
  ;   K[34]='DispatchEvent'
  ;   K[35]='m_activityDefinition'
  ;   K[36]='UpdateRedPointEvent'
  ;   K[37]='_SaveProgress'
  ;   upvals: _ENV
  ;   locals: self(0-99), message(0-99), delaytim(1-99), (for generator)(4-96), (for state)(4-96), (for control)(4-96), _(5-94), task(5-94), index(8-94), temp(54-94), showTipfunc(78-93)
  0000  LOADK     R2 = K0 0
  0001  GETTABUP  R3 = _ENV[K1('ipairs')]
  0002  GETTABLE  R4 = R0[K2('m_arrTaskConfigs')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 94
  0005  GETTABUP  R8 = _ENV[K3('tostring')]
  0006  GETTABLE  R9 = R7[K4('task_index')]
  0007  CALL      R8 = call(R8, 1 args, 1 rets)
  0008  GETTABLE  R9 = R7[K5('task_type')]
  0009  GETTABLE  R10 = R1[K6('type')]
  0010  EQ        if R0 eq R10   -> -126442
  0011  JMP       (jump)   -> 94
  0012  GETTABLE  R9 = R0[K7('m_mapCurInfo')]
  0013  GETTABLE  R9 = R9[R8]
  0014  GETTABLE  R9 = R9[K8('score')]
  0015  GETTABLE  R10 = R7[K9('task_num')]
  0016  EQ        if R1 eq R10   -> -126436
  0017  JMP       (jump)   -> 94
  0018  GETTABLE  R9 = R0[K7('m_mapCurInfo')]
  0019  GETTABLE  R9 = R9[R8]
  0020  GETTABLE  R10 = R0[K7('m_mapCurInfo')]
  0021  GETTABLE  R10 = R10[R8]
  0022  GETTABLE  R10 = R10[K8('score')]
  0023  GETTABLE  R11 = R1[K10('num')]
  0024  ADD       R10 = R11 add R10
  0025  SETTABLE  R9[K8('score')] = R10
  0026  GETTABLE  R9 = R0[K7('m_mapCurInfo')]
  0027  GETTABLE  R9 = R9[R8]
  0028  GETTABLE  R9 = R9[K8('score')]
  0029  GETTABLE  R10 = R7[K9('task_num')]
  0030  LE        if R0 le R9   -> -125911
  0031  JMP       (jump)   -> 94
  0032  GETTABLE  R9 = R0[K7('m_mapCurInfo')]
  0033  GETTABLE  R9 = R9[R8]
  0034  GETTABLE  R10 = R7[K9('task_num')]
  0035  SETTABLE  R9[K8('score')] = R10
  0036  GETTABUP  R9 = _ENV[K11('GM')]
  0037  GETTABLE  R9 = R9[K12('BIManager')]
  0038  SELF      R10 = R9[K13('LogAction')] (self)
  0039  GETTABLE  R11 = R0[K14('m_activityDefinition')]
  0040  GETTABLE  R11 = R11[K15('FinishTaskBIType')]
  0041  NEWTABLE  R12 = {} (0 items)
  0042  SELF      R14 = R0[K17('GetId')] (self)
  0043  CALL      R13 = call(R13, 1 args, 1 rets)
  0044  SETTABLE  R12[K16('actid')] = R13
  0045  GETTABLE  R13 = R7[K19('stage')]
  0046  SETTABLE  R12[K18('day')] = R13
  0047  GETTABLE  R13 = R7[K4('task_index')]
  0048  SETTABLE  R12[K20('taskid')] = R13
  0049  CALL      R9 = call(R9, 0 args, 3 rets)
  0050  GETTABUP  R9 = _ENV[K21('Table')]
  0051  GETTABLE  R9 = R9[K22('DeepCopy')]
  0052  MOVE      R10 = R0
  0053  CALL      R9 = call(R9, 1 args, 1 rets)
  0054  GETTABLE  R10 = R0[K23('m_lastShowInfo')]
  0055  GETTABLE  R10 = R10[R8]
  0056  EQ        if R0 eq K24(nil)   -> -125614
  0057  JMP       (jump)   -> 60
  0058  SETTABLE  R9[K8('score')] = K0(0)
  0059  JMP       (jump)   -> 73
  0060  GETTABLE  R10 = R7[K5('task_type')]
  0061  GETTABUP  R11 = _ENV[K25('WeeklyActiveQuestTaskType')]
  0062  GETTABLE  R11 = R11[K26('Login')]
  0063  EQ        if R0 eq R11   -> -125876
  0064  JMP       (jump)   -> 69
  0065  GETTABLE  R10 = R7[K9('task_num')]
  0066  SUB       R10 = K27(1) sub R10
  0067  SETTABLE  R9[K8('score')] = R10
  0068  JMP       (jump)   -> 73
  0069  GETTABLE  R10 = R0[K23('m_lastShowInfo')]
  0070  GETTABLE  R10 = R10[R8]
  0071  GETTABLE  R10 = R10[K8('score')]
  0072  SETTABLE  R9[K8('score')] = R10
  0073  GETTABLE  R10 = R7[K19('stage')]
  0074  GETTABLE  R11 = R0[K28('m_stage')]
  0075  LE        if R0 le R11   -> -125864
  0076  JMP       (jump)   -> 94
  0077  CLOSURE   R10 = closure proto0
  0078  GETTABLE  R11 = R1[K29('needwait')]
  0079  TEST      if not R11 then   -> -130990
  0080  JMP       (jump)   -> 87
  0081  GETTABUP  R11 = _ENV[K30('DelayExecuteFunc')]
  0082  MOVE      R12 = R0
  0083  MOVE      R13 = R0
  0084  CALL      R11 = call(R11, 0 args, 2 rets)
  0085  ADD       R2 = K31(2.0) add R2
  0086  JMP       (jump)   -> 88
  0087  SETTABLE  R0[K32('m_waitingcallback')] = R10
  0088  GETTABUP  R11 = _ENV[K33('EventDispatcher')]
  0089  GETTABLE  R11 = R11[K34('DispatchEvent')]
  0090  GETTABLE  R12 = R0[K35('m_activityDefinition')]
  0091  GETTABLE  R12 = R12[K36('UpdateRedPointEvent')]
  0092  CALL      R11 = call(R11, 0 args, 1 rets)
  0093  JMP       (jump)   -> 94
  0094  TFORCALL  tforcall R3
  0095  TFORLOOP  tforloop R5(sBx=-91)   -> 5
  0096  SELF      R4 = R0[K37('_SaveProgress')] (self)
  0097  CALL      R3 = call(R3, 0 args, 1 rets)
  0098  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 125-134 np=0 va=0 ms=4 code=8 consts=5 upvals=3 protos=1
    ;   K[0]='TopSliderManager'
    ;   K[1]='TrySlide'
    ;   K[2]='m_type'
    ;   K[3]='m_activityDefinition'
    ;   K[4]='TaskCompleteHintPrefabName'
    ;   upvals: _ENV, self, temp
    0000  GETTABUP  R0 = _ENV[K0('TopSliderManager')]
    0001  GETTABLE  R0 = R0[K1('TrySlide')]
    0002  GETTABUP  R1 = self[K2('m_type')]
    0003  GETTABUP  R2 = self[K3('m_activityDefinition')]
    0004  GETTABLE  R2 = R2[K4('TaskCompleteHintPrefabName')]
    0005  CLOSURE   R3 = closure proto0
    0006  CALL      R0 = call(R0, 0 args, 3 rets)
    0007  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 126-133 np=1 va=0 ms=4 code=11 consts=4 upvals=2 protos=1
      ;   K[0]='GetLuaTable'
      ;   K[1]='Init'
      ;   K[2]='TopSliderManager'
      ;   K[3]='Appear'
      ;   upvals: temp, _ENV
      ;   locals: go(0-11)
      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 = temp
      0004  CALL      R1 = call(R1, 0 args, 2 rets)
      0005  GETTABUP  R1 = _ENV[K2('TopSliderManager')]
      0006  GETTABLE  R1 = R1[K3('Appear')]
      0007  MOVE      R2 = R0
      0008  CLOSURE   R3 = closure proto0
      0009  CALL      R1 = call(R1, 0 args, 2 rets)
      0010  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 128-132 np=0 va=0 ms=3 code=7 consts=2 upvals=2 protos=1
        ;   K[0]='GetLuaTable'
        ;   K[1]='ProgressAnim'
        ;   upvals: go, _ENV
        0000  GETUPVAL  R0 = go
        0001  SELF      R1 = R0[K0('GetLuaTable')] (self)
        0002  CALL      R0 = call(R0, 1 args, 1 rets)
        0003  SELF      R1 = R0[K1('ProgressAnim')] (self)
        0004  CLOSURE   R2 = closure proto0
        0005  CALL      R0 = call(R0, 0 args, 2 rets)
        0006  RETURN    return R0..R-1
        ; ---------- proto0 [] ----------
          ; fn ?  line 129-131 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
; ---------- proto7 [_SaveProgress] ----------
  ; fn ?  line 150-152 np=1 va=0 ms=7 code=10 consts=7 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='CurInfo'
  ;   K[3]='value'
  ;   K[4]='json'
  ;   K[5]='encode'
  ;   K[6]='m_mapCurInfo'
  ;   upvals: EStrDBKeys, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = EStrDBKeys[K2('CurInfo')]
  0003  LOADK     R4 = K3 'value'
  0004  GETTABUP  R5 = _ENV[K4('json')]
  0005  GETTABLE  R5 = R5[K5('encode')]
  0006  GETTABLE  R6 = R0[K6('m_mapCurInfo')]
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto8 [UpdatePerSecond] ----------
  ; fn ?  line 154-189 np=1 va=0 ms=14 code=120 consts=45 upvals=2 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='m_config'
  ;   K[3]=nil
  ;   K[4]='m_loadConfig'
  ;   K[5]='_CalculateState'
  ;   K[6]='ActivityState'
  ;   K[7]='Started'
  ;   K[8]='m_lastday'
  ;   K[9]='m_dbTable'
  ;   K[10]='GetValue'
  ;   K[11]='LastLoginTime'
  ;   K[12]='value'
  ;   K[13]=0
  ;   K[14]='sTime'
  ;   K[15]=86400
  ;   K[16]=1
  ;   K[17]='GM'
  ;   K[18]='GameModel'
  ;   K[19]='GetServerTime'
  ;   K[20]='m_stage'
  ;   K[21]='GetId'
  ;   K[22]='id'
  ;   K[23]='EventDispatcher'
  ;   K[24]='DispatchEvent'
  ;   K[25]='m_activityDefinition'
  ;   K[26]='NewDayEvent'
  ;   K[27]='Set'
  ;   K[28]='_OnProgressGain'
  ;   K[29]='type'
  ;   K[30]='WeeklyActiveQuestTaskType'
  ;   K[31]='Login'
  ;   K[32]='num'
  ;   K[33]='ipairs'
  ;   K[34]='m_arrTaskConfigs'
  ;   K[35]='stage'
  ;   K[36]='BIManager'
  ;   K[37]='LogAction'
  ;   K[38]='UnlockTaskBIType'
  ;   K[39]='actid'
  ;   K[40]='day'
  ;   K[41]='taskid'
  ;   K[42]='task_index'
  ;   K[43]='GetMXStage'
  ;   K[44]='UpdateRedPointEvent'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-120), state(13-120), lastim(28-34), tim(41-105), (for generator)(78-103), (for state)(78-103), (for control)(78-103), _(79-101), task(79-101)
  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)   -> 10
  0007  GETTABLE  R1 = R0[K4('m_loadConfig')]
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  SELF      R2 = R0[K5('_CalculateState')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  GETTABUP  R2 = _ENV[K6('ActivityState')]
  0014  GETTABLE  R2 = R2[K7('Started')]
  0015  EQ        if R0 eq R2   -> -130541
  0016  JMP       (jump)   -> 106
  0017  GETTABLE  R2 = R0[K8('m_lastday')]
  0018  EQ        if R0 eq K3(nil)   -> -129769
  0019  JMP       (jump)   -> 34
  0020  GETTABLE  R2 = R0[K9('m_dbTable')]
  0021  SELF      R3 = R2[K10('GetValue')] (self)
  0022  GETTABUP  R4 = EStrDBKeys[K11('LastLoginTime')]
  0023  LOADK     R5 = K12 'value'
  0024  CALL      R2 = call(R2, 1 args, 3 rets)
  0025  TEST      if not R2 then   -> -131044
  0026  JMP       (jump)   -> 28
  0027  LOADK     R2 = K13 0
  0028  GETTABLE  R3 = R0[K2('m_config')]
  0029  GETTABLE  R3 = R3[K14('sTime')]
  0030  SUB       R3 = R3 sub R2
  0031  IDIV      R3 = K15(86400) idiv R3
  0032  ADD       R3 = K16(1) add R3
  0033  SETTABLE  R0[K8('m_lastday')] = R3
  0034  GETTABUP  R2 = _ENV[K17('GM')]
  0035  GETTABLE  R2 = R2[K18('GameModel')]
  0036  SELF      R3 = R2[K19('GetServerTime')] (self)
  0037  CALL      R2 = call(R2, 1 args, 1 rets)
  0038  GETTABLE  R3 = R0[K2('m_config')]
  0039  GETTABLE  R3 = R3[K14('sTime')]
  0040  SUB       R2 = R3 sub R2
  0041  IDIV      R3 = K15(86400) idiv R2
  0042  ADD       R3 = K16(1) add R3
  0043  SETTABLE  R0[K20('m_stage')] = R3
  0044  GETTABLE  R3 = R0[K20('m_stage')]
  0045  GETTABLE  R4 = R0[K8('m_lastday')]
  0046  EQ        if R1 eq R4   -> -129484
  0047  JMP       (jump)   -> 119
  0048  SELF      R4 = R0[K21('GetId')] (self)
  0049  CALL      R3 = call(R3, 1 args, 1 rets)
  0050  GETTABLE  R4 = R0[K2('m_config')]
  0051  GETTABLE  R4 = R4[K22('id')]
  0052  EQ        if R0 eq R4   -> -129478
  0053  JMP       (jump)   -> 119
  0054  GETTABUP  R3 = _ENV[K23('EventDispatcher')]
  0055  GETTABLE  R3 = R3[K24('DispatchEvent')]
  0056  GETTABLE  R4 = R0[K25('m_activityDefinition')]
  0057  GETTABLE  R4 = R4[K26('NewDayEvent')]
  0058  CALL      R3 = call(R3, 0 args, 1 rets)
  0059  GETTABLE  R3 = R0[K9('m_dbTable')]
  0060  SELF      R4 = R3[K27('Set')] (self)
  0061  GETTABUP  R5 = EStrDBKeys[K11('LastLoginTime')]
  0062  LOADK     R6 = K12 'value'
  0063  GETTABUP  R7 = _ENV[K17('GM')]
  0064  GETTABLE  R7 = R7[K18('GameModel')]
  0065  SELF      R8 = R7[K19('GetServerTime')] (self)
  0066  CALL      R7 = call(R7, -1 args, 1 rets)
  0067  CALL      R3 = call(R3, 0 args, -1 rets)
  0068  SELF      R4 = R0[K28('_OnProgressGain')] (self)
  0069  NEWTABLE  R5 = {} (0 items)
  0070  GETTABUP  R6 = _ENV[K30('WeeklyActiveQuestTaskType')]
  0071  GETTABLE  R6 = R6[K31('Login')]
  0072  SETTABLE  R5[K29('type')] = R6
  0073  SETTABLE  R5[K32('num')] = K16(1)
  0074  CALL      R3 = call(R3, 0 args, 2 rets)
  0075  GETTABUP  R3 = _ENV[K33('ipairs')]
  0076  GETTABLE  R4 = R0[K34('m_arrTaskConfigs')]
  0077  CALL      R3 = call(R3, 3 args, 1 rets)
  0078  JMP       (jump)   -> 101
  0079  GETTABLE  R8 = R0[K8('m_lastday')]
  0080  GETTABLE  R9 = R7[K35('stage')]
  0081  LT        if R0 lt R9   -> -126884
  0082  JMP       (jump)   -> 101
  0083  GETTABLE  R8 = R7[K35('stage')]
  0084  GETTABLE  R9 = R0[K20('m_stage')]
  0085  LE        if R0 le R9   -> -126880
  0086  JMP       (jump)   -> 101
  0087  GETTABUP  R8 = _ENV[K17('GM')]
  0088  GETTABLE  R8 = R8[K36('BIManager')]
  0089  SELF      R9 = R8[K37('LogAction')] (self)
  0090  GETTABLE  R10 = R0[K25('m_activityDefinition')]
  0091  GETTABLE  R10 = R10[K38('UnlockTaskBIType')]
  0092  NEWTABLE  R11 = {} (0 items)
  0093  SELF      R13 = R0[K21('GetId')] (self)
  0094  CALL      R12 = call(R12, 1 args, 1 rets)
  0095  SETTABLE  R11[K39('actid')] = R12
  0096  GETTABLE  R12 = R7[K35('stage')]
  0097  SETTABLE  R11[K40('day')] = R12
  0098  GETTABLE  R12 = R7[K42('task_index')]
  0099  SETTABLE  R11[K41('taskid')] = R12
  0100  CALL      R8 = call(R8, 0 args, 3 rets)
  0101  TFORCALL  tforcall R3
  0102  TFORLOOP  tforloop R5(sBx=-24)   -> 79
  0103  GETTABLE  R3 = R0[K20('m_stage')]
  0104  SETTABLE  R0[K8('m_lastday')] = R3
  0105  JMP       (jump)   -> 119
  0106  GETTABLE  R2 = R0[K20('m_stage')]
  0107  SELF      R4 = R0[K43('GetMXStage')] (self)
  0108  CALL      R3 = call(R3, 1 args, 1 rets)
  0109  EQ        if R1 eq R3   -> -129934
  0110  JMP       (jump)   -> 119
  0111  SELF      R3 = R0[K43('GetMXStage')] (self)
  0112  CALL      R2 = call(R2, 1 args, 1 rets)
  0113  SETTABLE  R0[K20('m_stage')] = R2
  0114  GETTABUP  R2 = _ENV[K23('EventDispatcher')]
  0115  GETTABLE  R2 = R2[K24('DispatchEvent')]
  0116  GETTABLE  R3 = R0[K25('m_activityDefinition')]
  0117  GETTABLE  R3 = R3[K44('UpdateRedPointEvent')]
  0118  CALL      R2 = call(R2, 0 args, 1 rets)
  0119  RETURN    return R0..R-1
; ---------- proto9 [HasPopupToday] ----------
  ; fn ?  line 191-202 np=1 va=0 ms=7 code=42 consts=15 upvals=2 protos=0
  ;   K[0]='_CalculateState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='m_dbTable'
  ;   K[4]='GetValue'
  ;   K[5]='LastPopupTime'
  ;   K[6]='value'
  ;   K[7]=0
  ;   K[8]='GM'
  ;   K[9]='GameModel'
  ;   K[10]='GetServerTime'
  ;   K[11]='m_config'
  ;   K[12]='sTime'
  ;   K[13]=86400
  ;   K[14]='GetMXStage'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-42), state(2-42), tim(16-42), serverTime(20-42)
  0000  SELF      R2 = R0[K0('_CalculateState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R2 = false
  0007  RETURN    return R2..R1
  0008  GETTABLE  R2 = R0[K3('m_dbTable')]
  0009  SELF      R3 = R2[K4('GetValue')] (self)
  0010  GETTABUP  R4 = EStrDBKeys[K5('LastPopupTime')]
  0011  LOADK     R5 = K6 'value'
  0012  CALL      R2 = call(R2, 1 args, 3 rets)
  0013  TEST      if not R2 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  LOADK     R2 = K7 0
  0016  GETTABUP  R3 = _ENV[K8('GM')]
  0017  GETTABLE  R3 = R3[K9('GameModel')]
  0018  SELF      R4 = R3[K10('GetServerTime')] (self)
  0019  CALL      R3 = call(R3, 1 args, 1 rets)
  0020  GETTABLE  R4 = R0[K11('m_config')]
  0021  GETTABLE  R4 = R4[K12('sTime')]
  0022  SUB       R4 = R4 sub R2
  0023  IDIV      R4 = K13(86400) idiv R4
  0024  GETTABLE  R5 = R0[K11('m_config')]
  0025  GETTABLE  R5 = R5[K12('sTime')]
  0026  SUB       R5 = R5 sub R3
  0027  IDIV      R5 = K13(86400) idiv R5
  0028  EQ        if R1 eq R5   -> -128989
  0029  JMP       (jump)   -> 39
  0030  GETTABLE  R4 = R0[K11('m_config')]
  0031  GETTABLE  R4 = R4[K12('sTime')]
  0032  SUB       R4 = R4 sub R3
  0033  IDIV      R4 = K13(86400) idiv R4
  0034  SELF      R6 = R0[K14('GetMXStage')] (self)
  0035  CALL      R5 = call(R5, 1 args, 1 rets)
  0036  LE        if R1 le R4   -> -128470
  0037  JMP       (jump)   -> 39
  0038  LOADBOOL  R4 = false
  0039  LOADBOOL  R4 = true
  0040  RETURN    return R4..R3
  0041  RETURN    return R0..R-1
; ---------- proto10 [GetReleaseTime] ----------
  ; fn ?  line 204-206 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='rTime'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  GETTABLE  R1 = R1[K1('rTime')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto11 [SetPopupTime] ----------
  ; fn ?  line 208-210 np=1 va=0 ms=7 code=10 consts=7 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastPopupTime'
  ;   K[3]='value'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   upvals: EStrDBKeys, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = EStrDBKeys[K2('LastPopupTime')]
  0003  LOADK     R4 = K3 'value'
  0004  GETTABUP  R5 = _ENV[K4('GM')]
  0005  GETTABLE  R5 = R5[K5('GameModel')]
  0006  SELF      R6 = R5[K6('GetServerTime')] (self)
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto12 [_ShowTip] ----------
  ; fn ?  line 212-217 np=1 va=0 ms=2 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_waitingcallback'
  ;   K[1]=nil
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_waitingcallback')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_waitingcallback')]
  0004  CALL      R1 = call(R1, 0 args, 0 rets)
  0005  SETTABLE  R0[K0('m_waitingcallback')] = K1(nil)
  0006  RETURN    return R0..R-1
; ---------- proto13 [_OnItemMerged] ----------
  ; fn ?  line 219-223 np=2 va=0 ms=6 code=15 consts=9 upvals=1 protos=0
  ;   K[0]='GameMode'
  ;   K[1]='EGameMode'
  ;   K[2]='Board'
  ;   K[3]='_OnProgressGain'
  ;   K[4]='type'
  ;   K[5]='WeeklyActiveQuestTaskType'
  ;   K[6]='ItemMerge'
  ;   K[7]='num'
  ;   K[8]=1
  ;   upvals: _ENV
  ;   locals: self(0-15), msg(0-15)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 14
  0002  GETTABLE  R2 = R1[K0('GameMode')]
  0003  GETTABUP  R3 = _ENV[K1('EGameMode')]
  0004  GETTABLE  R3 = R3[K2('Board')]
  0005  EQ        if R0 eq R3   -> -130038
  0006  JMP       (jump)   -> 14
  0007  SELF      R3 = R0[K3('_OnProgressGain')] (self)
  0008  NEWTABLE  R4 = {} (0 items)
  0009  GETTABUP  R5 = _ENV[K5('WeeklyActiveQuestTaskType')]
  0010  GETTABLE  R5 = R5[K6('ItemMerge')]
  0011  SETTABLE  R4[K4('type')] = R5
  0012  SETTABLE  R4[K7('num')] = K8(1)
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  RETURN    return R0..R-1
; ---------- proto14 [_OnOrderFinished] ----------
  ; fn ?  line 225-227 np=2 va=0 ms=6 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='_OnProgressGain'
  ;   K[1]='type'
  ;   K[2]='WeeklyActiveQuestTaskType'
  ;   K[3]='OrderFinish'
  ;   K[4]='num'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-8), msg(0-8)
  0000  SELF      R3 = R0[K0('_OnProgressGain')] (self)
  0001  NEWTABLE  R4 = {} (0 items)
  0002  GETTABUP  R5 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0003  GETTABLE  R5 = R5[K3('OrderFinish')]
  0004  SETTABLE  R4[K1('type')] = R5
  0005  SETTABLE  R4[K4('num')] = K5(1)
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto15 [_OnIAPSuccess] ----------
  ; fn ?  line 229-231 np=2 va=0 ms=6 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='_OnProgressGain'
  ;   K[1]='type'
  ;   K[2]='WeeklyActiveQuestTaskType'
  ;   K[3]='Payment'
  ;   K[4]='num'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-8), iapType(0-8)
  0000  SELF      R3 = R0[K0('_OnProgressGain')] (self)
  0001  NEWTABLE  R4 = {} (0 items)
  0002  GETTABUP  R5 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0003  GETTABLE  R5 = R5[K3('Payment')]
  0004  SETTABLE  R4[K1('type')] = R5
  0005  SETTABLE  R4[K4('num')] = K5(1)
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto16 [_OnTakeOutDishItem] ----------
  ; fn ?  line 233-235 np=1 va=0 ms=5 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='_OnProgressGain'
  ;   K[1]='type'
  ;   K[2]='WeeklyActiveQuestTaskType'
  ;   K[3]='TakeOutDish'
  ;   K[4]='num'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_OnProgressGain')] (self)
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0003  GETTABLE  R4 = R4[K3('TakeOutDish')]
  0004  SETTABLE  R3[K1('type')] = R4
  0005  SETTABLE  R3[K4('num')] = K5(1)
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto17 [_OnFinishDay] ----------
  ; fn ?  line 237-240 np=1 va=0 ms=5 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='_OnProgressGain'
  ;   K[1]='type'
  ;   K[2]='WeeklyActiveQuestTaskType'
  ;   K[3]='FinishDay'
  ;   K[4]='num'
  ;   K[5]=1
  ;   K[6]='_CheckTaskType'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('_OnProgressGain')] (self)
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0003  GETTABLE  R4 = R4[K3('FinishDay')]
  0004  SETTABLE  R3[K1('type')] = R4
  0005  SETTABLE  R3[K4('num')] = K5(1)
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  SELF      R2 = R0[K6('_CheckTaskType')] (self)
  0008  GETTABUP  R3 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0009  GETTABLE  R3 = R3[K3('FinishDay')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto18 [_OnCollectGold] ----------
  ; fn ?  line 242-247 np=2 va=0 ms=6 code=11 consts=6 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='_OnProgressGain'
  ;   K[2]='type'
  ;   K[3]='WeeklyActiveQuestTaskType'
  ;   K[4]='GoldAcquire'
  ;   K[5]='num'
  ;   upvals: _ENV
  ;   locals: self(0-11), goldCount(0-11)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SELF      R3 = R0[K1('_OnProgressGain')] (self)
  0004  NEWTABLE  R4 = {} (0 items)
  0005  GETTABUP  R5 = _ENV[K3('WeeklyActiveQuestTaskType')]
  0006  GETTABLE  R5 = R5[K4('GoldAcquire')]
  0007  SETTABLE  R4[K2('type')] = R5
  0008  SETTABLE  R4[K5('num')] = R1
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto19 [_OnPropertyAcquired] ----------
  ; fn ?  line 249-260 np=2 va=0 ms=10 code=29 consts=11 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='arrProperties'
  ;   K[3]='PROPERTY_TYPE'
  ;   K[4]='EPropertyType'
  ;   K[5]='BPFaceToken'
  ;   K[6]='PROPERTY_COUNT'
  ;   K[7]='_OnProgressGain'
  ;   K[8]='type'
  ;   K[9]='WeeklyActiveQuestTaskType'
  ;   K[10]='num'
  ;   upvals: _ENV
  ;   locals: self(0-29), message(0-29), tokenNum(1-29), (for generator)(4-19), (for state)(4-19), (for control)(4-19), _(5-17), property(5-17)
  0000  LOADK     R2 = K0 0
  0001  GETTABUP  R3 = _ENV[K1('ipairs')]
  0002  GETTABLE  R4 = R1[K2('arrProperties')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 17
  0005  GETTABUP  R8 = _ENV[K3('PROPERTY_TYPE')]
  0006  GETTABLE  R8 = R7[R8]
  0007  GETTABUP  R9 = _ENV[K4('EPropertyType')]
  0008  GETTABLE  R9 = R9[K5('BPFaceToken')]
  0009  EQ        if R0 eq R9   -> -126956
  0010  JMP       (jump)   -> 17
  0011  GETTABUP  R8 = _ENV[K6('PROPERTY_COUNT')]
  0012  GETTABLE  R8 = R7[R8]
  0013  ADD       R8 = R8 add R2
  0014  TESTSET   if R1 then R2   -> -126959
  0015  JMP       (jump)   -> 17
  0016  LOADK     R2 = K0 0
  0017  TFORCALL  tforcall R3
  0018  TFORLOOP  tforloop R5(sBx=-14)   -> 5
  0019  LT        if R0 lt R2   -> 23
  0020  JMP       (jump)   -> 28
  0021  SELF      R4 = R0[K7('_OnProgressGain')] (self)
  0022  NEWTABLE  R5 = {} (0 items)
  0023  GETTABUP  R6 = _ENV[K9('WeeklyActiveQuestTaskType')]
  0024  GETTABLE  R6 = R6[K5('BPFaceToken')]
  0025  SETTABLE  R5[K8('type')] = R6
  0026  SETTABLE  R5[K10('num')] = R2
  0027  CALL      R3 = call(R3, 0 args, 2 rets)
  0028  RETURN    return R0..R-1
; ---------- proto20 [_OnFinishTask] ----------
  ; fn ?  line 262-265 np=1 va=0 ms=5 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='_OnProgressGain'
  ;   K[1]='type'
  ;   K[2]='WeeklyActiveQuestTaskType'
  ;   K[3]='FinishTask'
  ;   K[4]='num'
  ;   K[5]=1
  ;   K[6]='_CheckTaskType'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('_OnProgressGain')] (self)
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0003  GETTABLE  R4 = R4[K3('FinishTask')]
  0004  SETTABLE  R3[K1('type')] = R4
  0005  SETTABLE  R3[K4('num')] = K5(1)
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  SELF      R2 = R0[K6('_CheckTaskType')] (self)
  0008  GETTABUP  R3 = _ENV[K2('WeeklyActiveQuestTaskType')]
  0009  GETTABLE  R3 = R3[K3('FinishTask')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto21 [_OnTaskConditionChanged] ----------
  ; fn ?  line 268-278 np=1 va=0 ms=9 code=17 consts=6 upvals=1 protos=0
  ;   K[0]='GetCalculatedState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='pairs'
  ;   K[4]='WeeklyActiveQuestTaskType'
  ;   K[5]='_CheckTaskType'
  ;   upvals: _ENV
  ;   locals: self(0-17), (for generator)(10-16), (for state)(10-16), (for control)(10-16), _(11-14), eTaskType(11-14)
  0000  SELF      R2 = R0[K0('GetCalculatedState')] (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  RETURN    return R0..R-1
  0007  GETTABUP  R1 = _ENV[K3('pairs')]
  0008  GETTABUP  R2 = _ENV[K4('WeeklyActiveQuestTaskType')]
  0009  CALL      R1 = call(R1, 3 args, 1 rets)
  0010  JMP       (jump)   -> 14
  0011  SELF      R7 = R0[K5('_CheckTaskType')] (self)
  0012  MOVE      R8 = R0
  0013  CALL      R6 = call(R6, 0 args, 2 rets)
  0014  TFORCALL  tforcall R1
  0015  TFORLOOP  tforloop R3(sBx=-5)   -> 11
  0016  RETURN    return R0..R-1
; ---------- proto22 [_CheckTaskType] ----------
  ; fn ?  line 280-285 np=2 va=0 ms=6 code=12 consts=2 upvals=1 protos=0
  ;   K[0]='WeeklyActiveQuestTaskCondition'
  ;   K[1]='_OnTaskTypeUnavailable'
  ;   upvals: _ENV
  ;   locals: self(0-12), eTaskType(0-12), funcCondition(2-12)
  0000  GETTABUP  R2 = _ENV[K0('WeeklyActiveQuestTaskCondition')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 11
  0004  MOVE      R3 = R0
  0005  CALL      R3 = call(R3, 1 args, 0 rets)
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 11
  0008  SELF      R4 = R0[K1('_OnTaskTypeUnavailable')] (self)
  0009  MOVE      R5 = R0
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto23 [_OnTaskTypeUnavailable] ----------
  ; fn ?  line 288-346 np=2 va=0 ms=19 code=138 consts=42 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]='weeklyActiveQuestTaskReplace'
  ;   K[2]='ipairs'
  ;   K[3]='task_type'
  ;   K[4]='new_type'
  ;   K[5]='ratio'
  ;   K[6]='m_arrTaskConfigs'
  ;   K[7]='tostring'
  ;   K[8]='task_index'
  ;   K[9]='m_mapCurInfo'
  ;   K[10]='score'
  ;   K[11]='task_num'
  ;   K[12]='replaced'
  ;   K[13]='math'
  ;   K[14]='ceil'
  ;   K[15]='Log'
  ;   K[16]='Info'
  ;   K[17]='周任务 '
  ;   K[18]=' '
  ;   K[19]=' 被替换为 '
  ;   K[20]='actid'
  ;   K[21]='GetId'
  ;   K[22]='before'
  ;   K[23]='after'
  ;   K[24]='taskid'
  ;   K[25]='GM'
  ;   K[26]='BIManager'
  ;   K[27]='LogAction'
  ;   K[28]='m_activityDefinition'
  ;   K[29]='ReplaceTaskBIType'
  ;   K[30]=' 自动完成'
  ;   K[31]='day'
  ;   K[32]='stage'
  ;   K[33]='AutoFinishTaskBIType'
  ;   K[34]='EventDispatcher'
  ;   K[35]='DispatchEvent'
  ;   K[36]='UpdateRedPointEvent'
  ;   K[37]='_SaveProgress'
  ;   K[38]='RefreshShowInfo'
  ;   K[39]='UIManager'
  ;   K[40]='ShowTestPrompt'
  ;   K[41]='周任务替换/自动完成：'
  ;   upvals: _ENV
  ;   locals: self(0-138), eTaskType(0-138), eNewType(5-138), fReplaceRatio(5-138), arrReplaceConfigs(10-138), (for generator)(13-21), (for state)(13-21), (for control)(13-21), _(14-19), replaceConfig(14-19), info(22-138), (for generator)(25-119), (for state)(25-119), (for control)(25-119), _(26-117), task(26-117), index(29-117), msg(81-88), msg(110-117)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  LOADNIL   R2..R2 = nil
  0005  GETTABLE  R4 = R0[K0('m_config')]
  0006  GETTABLE  R4 = R4[K1('weeklyActiveQuestTaskReplace')]
  0007  TEST      if not R4 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  NEWTABLE  R4 = {} (0 items)
  0010  GETTABUP  R5 = _ENV[K2('ipairs')]
  0011  MOVE      R6 = R0
  0012  CALL      R5 = call(R5, 3 args, 1 rets)
  0013  JMP       (jump)   -> 19
  0014  GETTABLE  R10 = R9[K3('task_type')]
  0015  EQ        if R0 eq R1   -> -125934
  0016  JMP       (jump)   -> 19
  0017  GETTABLE  R2 = R9[K4('new_type')]
  0018  GETTABLE  R3 = R9[K5('ratio')]
  0019  TFORCALL  tforcall R5
  0020  TFORLOOP  tforloop R7(sBx=-7)   -> 14
  0021  LOADNIL   R5..R5 = nil
  0022  GETTABUP  R6 = _ENV[K2('ipairs')]
  0023  GETTABLE  R7 = R0[K6('m_arrTaskConfigs')]
  0024  CALL      R6 = call(R6, 3 args, 1 rets)
  0025  JMP       (jump)   -> 117
  0026  GETTABUP  R11 = _ENV[K7('tostring')]
  0027  GETTABLE  R12 = R10[K8('task_index')]
  0028  CALL      R11 = call(R11, 1 args, 1 rets)
  0029  GETTABLE  R12 = R0[K9('m_mapCurInfo')]
  0030  GETTABLE  R5 = R12[R11]
  0031  GETTABLE  R12 = R10[K3('task_type')]
  0032  EQ        if R0 eq R1   -> -124893
  0033  JMP       (jump)   -> 117
  0034  GETTABLE  R12 = R5[K10('score')]
  0035  GETTABLE  R13 = R10[K11('task_num')]
  0036  LT        if R0 lt R13   -> -124877
  0037  JMP       (jump)   -> 117
  0038  GETTABLE  R12 = R5[K12('replaced')]
  0039  TEST      if not R12 then   -> -131030
  0040  JMP       (jump)   -> 89
  0041  TEST      if not R2 then   -> -131029
  0042  JMP       (jump)   -> 89
  0043  TEST      if not R3 then   -> -131027
  0044  JMP       (jump)   -> 89
  0045  SETTABLE  R5[K3('task_type')] = R2
  0046  GETTABUP  R12 = _ENV[K13('math')]
  0047  GETTABLE  R12 = R12[K14('ceil')]
  0048  GETTABLE  R13 = R5[K10('score')]
  0049  MUL       R13 = R3 mul R13
  0050  CALL      R12 = call(R12, 1 args, 1 rets)
  0051  SETTABLE  R5[K10('score')] = R12
  0052  SETTABLE  R5[K12('replaced')] = R1
  0053  SETTABLE  R5[K5('ratio')] = R3
  0054  SETTABLE  R10[K3('task_type')] = R2
  0055  GETTABUP  R12 = _ENV[K13('math')]
  0056  GETTABLE  R12 = R12[K14('ceil')]
  0057  GETTABLE  R13 = R10[K11('task_num')]
  0058  MUL       R13 = R3 mul R13
  0059  CALL      R12 = call(R12, 1 args, 1 rets)
  0060  SETTABLE  R10[K11('task_num')] = R12
  0061  GETTABUP  R12 = _ENV[K15('Log')]
  0062  GETTABLE  R12 = R12[K16('Info')]
  0063  LOADK     R13 = K17 '周任务 '
  0064  GETTABUP  R14 = _ENV[K7('tostring')]
  0065  MOVE      R15 = R0
  0066  CALL      R14 = call(R14, 1 args, 1 rets)
  0067  LOADK     R15 = K18 ' '
  0068  MOVE      R16 = R0
  0069  LOADK     R17 = K19 ' 被替换为 '
  0070  MOVE      R18 = R0
  0071  CONCAT    R13 = concat(R13..R13)
  0072  CALL      R12 = call(R12, 0 args, 1 rets)
  0073  NEWTABLE  R12 = {} (0 items)
  0074  SELF      R14 = R0[K21('GetId')] (self)
  0075  CALL      R13 = call(R13, 1 args, 1 rets)
  0076  SETTABLE  R12[K20('actid')] = R13
  0077  SETTABLE  R12[K22('before')] = R1
  0078  SETTABLE  R12[K23('after')] = R2
  0079  GETTABLE  R13 = R10[K8('task_index')]
  0080  SETTABLE  R12[K24('taskid')] = R13
  0081  GETTABUP  R13 = _ENV[K25('GM')]
  0082  GETTABLE  R13 = R13[K26('BIManager')]
  0083  SELF      R14 = R13[K27('LogAction')] (self)
  0084  GETTABLE  R15 = R0[K28('m_activityDefinition')]
  0085  GETTABLE  R15 = R15[K29('ReplaceTaskBIType')]
  0086  MOVE      R16 = R0
  0087  CALL      R13 = call(R13, 0 args, 3 rets)
  0088  JMP       (jump)   -> 117
  0089  GETTABLE  R12 = R10[K11('task_num')]
  0090  SETTABLE  R5[K10('score')] = R12
  0091  GETTABUP  R12 = _ENV[K15('Log')]
  0092  GETTABLE  R12 = R12[K16('Info')]
  0093  LOADK     R13 = K17 '周任务 '
  0094  GETTABUP  R14 = _ENV[K7('tostring')]
  0095  MOVE      R15 = R0
  0096  CALL      R14 = call(R14, 1 args, 1 rets)
  0097  LOADK     R15 = K18 ' '
  0098  MOVE      R16 = R0
  0099  LOADK     R17 = K30 ' 自动完成'
  0100  CONCAT    R13 = concat(R13..R13)
  0101  CALL      R12 = call(R12, 0 args, 1 rets)
  0102  NEWTABLE  R12 = {} (0 items)
  0103  SELF      R14 = R0[K21('GetId')] (self)
  0104  CALL      R13 = call(R13, 1 args, 1 rets)
  0105  SETTABLE  R12[K20('actid')] = R13
  0106  GETTABLE  R13 = R10[K32('stage')]
  0107  SETTABLE  R12[K31('day')] = R13
  0108  GETTABLE  R13 = R10[K8('task_index')]
  0109  SETTABLE  R12[K24('taskid')] = R13
  0110  GETTABUP  R13 = _ENV[K25('GM')]
  0111  GETTABLE  R13 = R13[K26('BIManager')]
  0112  SELF      R14 = R13[K27('LogAction')] (self)
  0113  GETTABLE  R15 = R0[K28('m_activityDefinition')]
  0114  GETTABLE  R15 = R15[K33('AutoFinishTaskBIType')]
  0115  MOVE      R16 = R0
  0116  CALL      R13 = call(R13, 0 args, 3 rets)
  0117  TFORCALL  tforcall R6
  0118  TFORLOOP  tforloop R8(sBx=-93)   -> 26
  0119  GETTABUP  R6 = _ENV[K34('EventDispatcher')]
  0120  GETTABLE  R6 = R6[K35('DispatchEvent')]
  0121  GETTABLE  R7 = R0[K28('m_activityDefinition')]
  0122  GETTABLE  R7 = R7[K36('UpdateRedPointEvent')]
  0123  CALL      R6 = call(R6, 0 args, 1 rets)
  0124  SELF      R7 = R0[K37('_SaveProgress')] (self)
  0125  CALL      R6 = call(R6, 0 args, 1 rets)
  0126  SELF      R7 = R0[K38('RefreshShowInfo')] (self)
  0127  CALL      R6 = call(R6, 0 args, 1 rets)
  0128  GETTABUP  R6 = _ENV[K25('GM')]
  0129  GETTABLE  R6 = R6[K39('UIManager')]
  0130  SELF      R7 = R6[K40('ShowTestPrompt')] (self)
  0131  LOADK     R8 = K41 '周任务替换/自动完成：'
  0132  GETTABUP  R9 = _ENV[K7('tostring')]
  0133  MOVE      R10 = R0
  0134  CALL      R9 = call(R9, 1 args, 1 rets)
  0135  CONCAT    R8 = concat(R8..R8)
  0136  CALL      R6 = call(R6, 0 args, 2 rets)
  0137  RETURN    return R0..R-1
; ---------- proto24 [AcquireActivityToken] ----------
  ; fn ?  line 349-353 np=2 va=0 ms=7 code=15 consts=8 upvals=2 protos=0
  ;   K[0]='m_score'
  ;   K[1]='m_dbTable'
  ;   K[2]='Set'
  ;   K[3]='CurScore'
  ;   K[4]='value'
  ;   K[5]='LogActivity'
  ;   K[6]='EBIType'
  ;   K[7]='ActivityAddScore'
  ;   upvals: EStrDBKeys, _ENV
  ;   locals: self(0-15), num(0-15)
  0000  GETTABLE  R2 = R0[K0('m_score')]
  0001  ADD       R2 = R1 add R2
  0002  SETTABLE  R0[K0('m_score')] = R2
  0003  GETTABLE  R2 = R0[K1('m_dbTable')]
  0004  SELF      R3 = R2[K2('Set')] (self)
  0005  GETTABUP  R4 = EStrDBKeys[K3('CurScore')]
  0006  LOADK     R5 = K4 'value'
  0007  GETTABLE  R6 = R0[K0('m_score')]
  0008  CALL      R2 = call(R2, 0 args, 4 rets)
  0009  SELF      R3 = R0[K5('LogActivity')] (self)
  0010  GETTABUP  R4 = _ENV[K6('EBIType')]
  0011  GETTABLE  R4 = R4[K7('ActivityAddScore')]
  0012  MOVE      R5 = R0
  0013  CALL      R2 = call(R2, 0 args, 3 rets)
  0014  RETURN    return R0..R-1
; ---------- proto25 [TaskCollect] ----------
  ; fn ?  line 355-409 np=3 va=0 ms=18 code=168 consts=52 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrTaskConfigs'
  ;   K[2]='task_index'
  ;   K[3]=nil
  ;   K[4]='m_score'
  ;   K[5]='m_mapCurInfo'
  ;   K[6]='tostring'
  ;   K[7]='collected'
  ;   K[8]=true
  ;   K[9]='_SaveProgress'
  ;   K[10]='m_taskCollected'
  ;   K[11]=1
  ;   K[12]='RewardApi'
  ;   K[13]='AcquireRewardsLogic'
  ;   K[14]='rewards'
  ;   K[15]='EPropertySource'
  ;   K[16]='Give'
  ;   K[17]='m_activityDefinition'
  ;   K[18]='CollectTaskBIType'
  ;   K[19]='ERewardScene'
  ;   K[20]='Other'
  ;   K[21]='EGameMode'
  ;   K[22]='Board'
  ;   K[23]='CacheItemType'
  ;   K[24]='Stack'
  ;   K[25]='GM'
  ;   K[26]='BIManager'
  ;   K[27]='LogAction'
  ;   K[28]='actid'
  ;   K[29]='GetId'
  ;   K[30]='day'
  ;   K[31]='stage'
  ;   K[32]='taskid'
  ;   K[33]='rd1'
  ;   K[34]='rd2'
  ;   K[35]=2
  ;   K[36]='m_arrRewardConfigs'
  ;   K[37]='score_num'
  ;   K[38]='StopCalcProgress'
  ;   K[39]='ProgressRewardBIType'
  ;   K[40]='StartCalcProgress'
  ;   K[41]='reward'
  ;   K[42]='LogActivity'
  ;   K[43]='EBIType'
  ;   K[44]='ActivityRankUp'
  ;   K[45]='IsAllFinish'
  ;   K[46]='EventDispatcher'
  ;   K[47]='DispatchEvent'
  ;   K[48]='AllFinishEvent'
  ;   K[49]='CreateViewController'
  ;   K[50]='State0'
  ;   K[51]='UpdateRedPointEvent'
  ;   upvals: _ENV
  ;   locals: self(0-168), task_index(0-168), taskCell(0-168), index(1-168), (for generator)(4-11), (for state)(4-11), (for control)(4-11), id(5-9), task(5-9), oldscore(15-168), rewardsid(71-168), (for generator)(74-122), (for state)(74-122), (for control)(74-122), id(75-120), rewardprogress(75-120), stageFinish(123-168), (for generator)(126-144), (for state)(126-144), (for control)(126-144), id(127-142), task(127-142), vc(157-168)
  0000  LOADNIL   R3..R3 = nil
  0001  GETTABUP  R4 = _ENV[K0('ipairs')]
  0002  GETTABLE  R5 = R0[K1('m_arrTaskConfigs')]
  0003  CALL      R4 = call(R4, 3 args, 1 rets)
  0004  JMP       (jump)   -> 9
  0005  GETTABLE  R9 = R8[K2('task_index')]
  0006  EQ        if R0 eq R1   -> -126455
  0007  JMP       (jump)   -> 9
  0008  MOVE      R3 = R0
  0009  TFORCALL  tforcall R4
  0010  TFORLOOP  tforloop R6(sBx=-6)   -> 5
  0011  EQ        if R0 eq K3(nil)   -> -129264
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R4 = R0[K4('m_score')]
  0015  GETTABLE  R5 = R0[K5('m_mapCurInfo')]
  0016  GETTABUP  R6 = _ENV[K6('tostring')]
  0017  MOVE      R7 = R0
  0018  CALL      R6 = call(R6, 1 args, 1 rets)
  0019  GETTABLE  R5 = R5[R6]
  0020  SETTABLE  R5[K7('collected')] = K8(true)
  0021  SELF      R6 = R0[K9('_SaveProgress')] (self)
  0022  CALL      R5 = call(R5, 0 args, 1 rets)
  0023  GETTABLE  R5 = R0[K10('m_taskCollected')]
  0024  ADD       R5 = K11(1) add R5
  0025  SETTABLE  R0[K10('m_taskCollected')] = R5
  0026  GETTABUP  R5 = _ENV[K12('RewardApi')]
  0027  GETTABLE  R5 = R5[K13('AcquireRewardsLogic')]
  0028  GETTABLE  R6 = R0[K1('m_arrTaskConfigs')]
  0029  GETTABLE  R6 = R6[R3]
  0030  GETTABLE  R6 = R6[K14('rewards')]
  0031  GETTABUP  R7 = _ENV[K15('EPropertySource')]
  0032  GETTABLE  R7 = R7[K16('Give')]
  0033  GETTABLE  R8 = R0[K17('m_activityDefinition')]
  0034  GETTABLE  R8 = R8[K18('CollectTaskBIType')]
  0035  GETTABUP  R9 = _ENV[K19('ERewardScene')]
  0036  GETTABLE  R9 = R9[K20('Other')]
  0037  GETTABUP  R10 = _ENV[K21('EGameMode')]
  0038  GETTABLE  R10 = R10[K22('Board')]
  0039  GETTABUP  R11 = _ENV[K23('CacheItemType')]
  0040  GETTABLE  R11 = R11[K24('Stack')]
  0041  CALL      R5 = call(R5, 0 args, 6 rets)
  0042  GETTABUP  R5 = _ENV[K25('GM')]
  0043  GETTABLE  R5 = R5[K26('BIManager')]
  0044  SELF      R6 = R5[K27('LogAction')] (self)
  0045  GETTABLE  R7 = R0[K17('m_activityDefinition')]
  0046  GETTABLE  R7 = R7[K18('CollectTaskBIType')]
  0047  NEWTABLE  R8 = {} (0 items)
  0048  SELF      R10 = R0[K29('GetId')] (self)
  0049  CALL      R9 = call(R9, 1 args, 1 rets)
  0050  SETTABLE  R8[K28('actid')] = R9
  0051  GETTABLE  R9 = R0[K1('m_arrTaskConfigs')]
  0052  GETTABLE  R9 = R9[R3]
  0053  GETTABLE  R9 = R9[K31('stage')]
  0054  SETTABLE  R8[K30('day')] = R9
  0055  GETTABLE  R9 = R0[K1('m_arrTaskConfigs')]
  0056  GETTABLE  R9 = R9[R3]
  0057  GETTABLE  R9 = R9[K2('task_index')]
  0058  SETTABLE  R8[K32('taskid')] = R9
  0059  GETTABLE  R9 = R0[K1('m_arrTaskConfigs')]
  0060  GETTABLE  R9 = R9[R3]
  0061  GETTABLE  R9 = R9[K14('rewards')]
  0062  GETTABLE  R9 = R9[K11(1)]
  0063  SETTABLE  R8[K33('rd1')] = R9
  0064  GETTABLE  R9 = R0[K1('m_arrTaskConfigs')]
  0065  GETTABLE  R9 = R9[R3]
  0066  GETTABLE  R9 = R9[K14('rewards')]
  0067  GETTABLE  R9 = R9[K35(2)]
  0068  SETTABLE  R8[K34('rd2')] = R9
  0069  CALL      R5 = call(R5, 0 args, 3 rets)
  0070  NEWTABLE  R5 = {} (0 items)
  0071  GETTABUP  R6 = _ENV[K0('ipairs')]
  0072  GETTABLE  R7 = R0[K36('m_arrRewardConfigs')]
  0073  CALL      R6 = call(R6, 3 args, 1 rets)
  0074  JMP       (jump)   -> 120
  0075  GETTABLE  R11 = R10[K37('score_num')]
  0076  LT        if R0 lt R11   -> -128935
  0077  JMP       (jump)   -> 120
  0078  GETTABLE  R11 = R10[K37('score_num')]
  0079  GETTABLE  R12 = R0[K4('m_score')]
  0080  LE        if R0 le R12   -> -125346
  0081  JMP       (jump)   -> 120
  0082  SELF      R12 = R0[K38('StopCalcProgress')] (self)
  0083  CALL      R11 = call(R11, 0 args, 1 rets)
  0084  GETTABUP  R11 = _ENV[K12('RewardApi')]
  0085  GETTABLE  R11 = R11[K13('AcquireRewardsLogic')]
  0086  GETTABLE  R12 = R10[K14('rewards')]
  0087  GETTABUP  R13 = _ENV[K15('EPropertySource')]
  0088  GETTABLE  R13 = R13[K16('Give')]
  0089  GETTABLE  R14 = R0[K17('m_activityDefinition')]
  0090  GETTABLE  R14 = R14[K39('ProgressRewardBIType')]
  0091  GETTABUP  R15 = _ENV[K19('ERewardScene')]
  0092  GETTABLE  R15 = R15[K20('Other')]
  0093  GETTABUP  R16 = _ENV[K21('EGameMode')]
  0094  GETTABLE  R16 = R16[K22('Board')]
  0095  GETTABUP  R17 = _ENV[K23('CacheItemType')]
  0096  GETTABLE  R17 = R17[K24('Stack')]
  0097  CALL      R11 = call(R11, 0 args, 6 rets)
  0098  SELF      R12 = R0[K40('StartCalcProgress')] (self)
  0099  CALL      R11 = call(R11, 0 args, 1 rets)
  0100  GETTABUP  R11 = _ENV[K25('GM')]
  0101  GETTABLE  R11 = R11[K26('BIManager')]
  0102  SELF      R12 = R11[K27('LogAction')] (self)
  0103  GETTABLE  R13 = R0[K17('m_activityDefinition')]
  0104  GETTABLE  R13 = R13[K39('ProgressRewardBIType')]
  0105  NEWTABLE  R14 = {} (0 items)
  0106  SELF      R16 = R0[K29('GetId')] (self)
  0107  CALL      R15 = call(R15, 1 args, 1 rets)
  0108  SETTABLE  R14[K28('actid')] = R15
  0109  SETTABLE  R14[K31('stage')] = R9
  0110  GETTABLE  R15 = R10[K41('reward')]
  0111  SETTABLE  R14[K41('reward')] = R15
  0112  CALL      R11 = call(R11, 0 args, 3 rets)
  0113  SELF      R12 = R0[K42('LogActivity')] (self)
  0114  GETTABUP  R13 = _ENV[K43('EBIType')]
  0115  GETTABLE  R13 = R13[K44('ActivityRankUp')]
  0116  MOVE      R14 = R0
  0117  CALL      R11 = call(R11, 0 args, 3 rets)
  0118  GETTABLE  R11 = R10[K14('rewards')]
  0119  SETTABLE  R5[R9] = R11
  0120  TFORCALL  tforcall R6
  0121  TFORLOOP  tforloop R8(sBx=-47)   -> 75
  0122  LOADBOOL  R6 = true
  0123  GETTABUP  R7 = _ENV[K0('ipairs')]
  0124  GETTABLE  R8 = R0[K1('m_arrTaskConfigs')]
  0125  CALL      R7 = call(R7, 3 args, 1 rets)
  0126  JMP       (jump)   -> 142
  0127  GETTABLE  R12 = R11[K31('stage')]
  0128  GETTABLE  R13 = R0[K1('m_arrTaskConfigs')]
  0129  GETTABLE  R13 = R13[R3]
  0130  GETTABLE  R13 = R13[K31('stage')]
  0131  EQ        if R0 eq R13   -> -124782
  0132  JMP       (jump)   -> 142
  0133  GETTABLE  R12 = R0[K5('m_mapCurInfo')]
  0134  GETTABUP  R13 = _ENV[K6('tostring')]
  0135  GETTABLE  R14 = R11[K2('task_index')]
  0136  CALL      R13 = call(R13, 1 args, 1 rets)
  0137  GETTABLE  R12 = R12[R13]
  0138  GETTABLE  R12 = R12[K7('collected')]
  0139  TEST      if not R12 then   -> -130930
  0140  JMP       (jump)   -> 142
  0141  LOADBOOL  R6 = false
  0142  TFORCALL  tforcall R7
  0143  TFORLOOP  tforloop R9(sBx=-17)   -> 127
  0144  TEST      if not R6 then   -> -130926
  0145  JMP       (jump)   -> 155
  0146  SELF      R8 = R0[K45('IsAllFinish')] (self)
  0147  CALL      R7 = call(R7, 1 args, 1 rets)
  0148  TEST      if not R7 then   -> -130922
  0149  JMP       (jump)   -> 155
  0150  GETTABUP  R7 = _ENV[K46('EventDispatcher')]
  0151  GETTABLE  R7 = R7[K47('DispatchEvent')]
  0152  GETTABLE  R8 = R0[K17('m_activityDefinition')]
  0153  GETTABLE  R8 = R8[K48('AllFinishEvent')]
  0154  CALL      R7 = call(R7, 0 args, 1 rets)
  0155  SELF      R8 = R0[K49('CreateViewController')] (self)
  0156  CALL      R7 = call(R7, 1 args, 1 rets)
  0157  SELF      R9 = R7[K50('State0')] (self)
  0158  MOVE      R10 = R0
  0159  GETTABLE  R11 = R0[K4('m_score')]
  0160  MOVE      R12 = R0
  0161  CALL      R8 = call(R8, 0 args, 4 rets)
  0162  GETTABUP  R8 = _ENV[K46('EventDispatcher')]
  0163  GETTABLE  R8 = R8[K47('DispatchEvent')]
  0164  GETTABLE  R9 = R0[K17('m_activityDefinition')]
  0165  GETTABLE  R9 = R9[K51('UpdateRedPointEvent')]
  0166  CALL      R8 = call(R8, 0 args, 1 rets)
  0167  RETURN    return R0..R-1
; ---------- proto26 [RefreshShowInfo] ----------
  ; fn ?  line 411-414 np=1 va=0 ms=7 code=15 consts=10 upvals=2 protos=0
  ;   K[0]='m_lastShowInfo'
  ;   K[1]='Table'
  ;   K[2]='DeepCopy'
  ;   K[3]='m_mapCurInfo'
  ;   K[4]='m_dbTable'
  ;   K[5]='Set'
  ;   K[6]='LastShowInfo'
  ;   K[7]='value'
  ;   K[8]='json'
  ;   K[9]='encode'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K1('Table')]
  0001  GETTABLE  R1 = R1[K2('DeepCopy')]
  0002  GETTABLE  R2 = R0[K3('m_mapCurInfo')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SETTABLE  R0[K0('m_lastShowInfo')] = R1
  0005  GETTABLE  R1 = R0[K4('m_dbTable')]
  0006  SELF      R2 = R1[K5('Set')] (self)
  0007  GETTABUP  R3 = EStrDBKeys[K6('LastShowInfo')]
  0008  LOADK     R4 = K7 'value'
  0009  GETTABUP  R5 = _ENV[K8('json')]
  0010  GETTABLE  R5 = R5[K9('encode')]
  0011  GETTABLE  R6 = R0[K0('m_lastShowInfo')]
  0012  CALL      R5 = call(R5, -1 args, 1 rets)
  0013  CALL      R1 = call(R1, 0 args, -1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto27 [_LoadOtherServerConfig] ----------
  ; fn ?  line 416-487 np=2 va=0 ms=12 code=197 consts=59 upvals=2 protos=2
  ;   K[0]='m_lastShowInfo'
  ;   K[1]='json'
  ;   K[2]='decode'
  ;   K[3]='m_dbTable'
  ;   K[4]='GetValue'
  ;   K[5]='LastShowInfo'
  ;   K[6]='value'
  ;   K[7]=''
  ;   K[8]='m_mapCurInfo'
  ;   K[9]='CurInfo'
  ;   K[10]='m_score'
  ;   K[11]='CurScore'
  ;   K[12]=0
  ;   K[13]='m_arrTaskConfigs'
  ;   K[14]='Table'
  ;   K[15]='DeepCopy'
  ;   K[16]='weeklyActiveQuestTask'
  ;   K[17]='ipairs'
  ;   K[18]='stage'
  ;   K[19]='day'
  ;   K[20]=nil
  ;   K[21]='GameConfig'
  ;   K[22]='IsTestMode'
  ;   K[23]='Log'
  ;   K[24]='Error'
  ;   K[25]='[周任务] weeklyActiveQuestTask配置表，task_index='
  ;   K[26]='tostring'
  ;   K[27]='task_index'
  ;   K[28]='，缺少day，请检查！'
  ;   K[29]=1
  ;   K[30]='RewardApi'
  ;   K[31]='CryptRewards'
  ;   K[32]='rewards'
  ;   K[33]='m_arrRewardConfigs'
  ;   K[34]='weeklyActiveQuestReward'
  ;   K[35]='table'
  ;   K[36]='sort'
  ;   K[37]='m_mxstage'
  ;   K[38]='stage'
  ;   K[39]='m_taskCollected'
  ;   K[40]=-1
  ;   K[41]='task_index'
  ;   K[42]='score'
  ;   K[43]='collected'
  ;   K[44]=false
  ;   K[45]='Assert'
  ;   K[46]='周任务配置 index 有误，请检查。'
  ;   K[47]='m_config'
  ;   K[48]='weeklyActiveQuestTaskReplace'
  ;   K[49]='replaced'
  ;   K[50]='task_type'
  ;   K[51]='ratio'
  ;   K[52]='task_num'
  ;   K[53]='math'
  ;   K[54]='ceil'
  ;   K[55]='m_loadConfig'
  ;   K[56]=true
  ;   K[57]='UpdatePerSecond'
  ;   K[58]='_CheckConfigValid'
  ;   upvals: _ENV, EStrDBKeys
  ;   locals: self(0-197), config(0-197), (for generator)(47-75), (for state)(47-75), (for control)(47-75), _(48-73), taskConfig(48-73), (for generator)(80-88), (for state)(80-88), (for control)(80-88), _(81-86), rewardConfig(81-86), maxIndex(106-197), (for generator)(109-143), (for state)(109-143), (for control)(109-143), _(110-141), task(110-141), info(160-197), (for generator)(163-191), (for state)(163-191), (for control)(163-191), _(164-189), taskConfig(164-189)
  0000  GETTABUP  R2 = _ENV[K1('json')]
  0001  GETTABLE  R2 = R2[K2('decode')]
  0002  GETTABLE  R3 = R0[K3('m_dbTable')]
  0003  SELF      R4 = R3[K4('GetValue')] (self)
  0004  GETTABUP  R5 = EStrDBKeys[K5('LastShowInfo')]
  0005  LOADK     R6 = K6 'value'
  0006  CALL      R3 = call(R3, 1 args, 3 rets)
  0007  TEST      if not R3 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R3 = K7 ''
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  NEWTABLE  R2 = {} (0 items)
  0014  SETTABLE  R0[K0('m_lastShowInfo')] = R2
  0015  GETTABUP  R2 = _ENV[K1('json')]
  0016  GETTABLE  R2 = R2[K2('decode')]
  0017  GETTABLE  R3 = R0[K3('m_dbTable')]
  0018  SELF      R4 = R3[K4('GetValue')] (self)
  0019  GETTABUP  R5 = EStrDBKeys[K9('CurInfo')]
  0020  LOADK     R6 = K6 'value'
  0021  CALL      R3 = call(R3, 1 args, 3 rets)
  0022  TEST      if not R3 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  LOADK     R3 = K7 ''
  0025  CALL      R2 = call(R2, 1 args, 1 rets)
  0026  TEST      if not R2 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  NEWTABLE  R2 = {} (0 items)
  0029  SETTABLE  R0[K8('m_mapCurInfo')] = R2
  0030  GETTABLE  R2 = R0[K3('m_dbTable')]
  0031  SELF      R3 = R2[K4('GetValue')] (self)
  0032  GETTABUP  R4 = EStrDBKeys[K11('CurScore')]
  0033  LOADK     R5 = K6 'value'
  0034  CALL      R2 = call(R2, 1 args, 3 rets)
  0035  TEST      if not R2 then   -> -131034
  0036  JMP       (jump)   -> 38
  0037  LOADK     R2 = K12 0
  0038  SETTABLE  R0[K10('m_score')] = R2
  0039  GETTABUP  R2 = _ENV[K14('Table')]
  0040  GETTABLE  R2 = R2[K15('DeepCopy')]
  0041  GETTABLE  R3 = R1[K16('weeklyActiveQuestTask')]
  0042  CALL      R2 = call(R2, 1 args, 1 rets)
  0043  SETTABLE  R0[K13('m_arrTaskConfigs')] = R2
  0044  GETTABUP  R2 = _ENV[K17('ipairs')]
  0045  GETTABLE  R3 = R0[K13('m_arrTaskConfigs')]
  0046  CALL      R2 = call(R2, 3 args, 1 rets)
  0047  JMP       (jump)   -> 73
  0048  GETTABLE  R7 = R6[K19('day')]
  0049  SETTABLE  R6[K18('stage')] = R7
  0050  GETTABLE  R7 = R6[K18('stage')]
  0051  EQ        if R0 eq K20(nil)   -> -127159
  0052  JMP       (jump)   -> 68
  0053  GETTABUP  R7 = _ENV[K21('GameConfig')]
  0054  GETTABLE  R7 = R7[K22('IsTestMode')]
  0055  CALL      R7 = call(R7, 1 args, 0 rets)
  0056  TEST      if not R7 then   -> -131014
  0057  JMP       (jump)   -> 67
  0058  GETTABUP  R7 = _ENV[K23('Log')]
  0059  GETTABLE  R7 = R7[K24('Error')]
  0060  LOADK     R8 = K25 '[周任务] weeklyActiveQuestTask配置表，task_index='
  0061  GETTABUP  R9 = _ENV[K26('tostring')]
  0062  GETTABLE  R10 = R6[K27('task_index')]
  0063  CALL      R9 = call(R9, 1 args, 1 rets)
  0064  LOADK     R10 = K28 '，缺少day，请检查！'
  0065  CONCAT    R8 = concat(R8..R8)
  0066  CALL      R7 = call(R7, 0 args, 1 rets)
  0067  SETTABLE  R6[K18('stage')] = K29(1)
  0068  GETTABUP  R7 = _ENV[K30('RewardApi')]
  0069  GETTABLE  R7 = R7[K31('CryptRewards')]
  0070  GETTABLE  R8 = R6[K32('rewards')]
  0071  LOADBOOL  R9 = true
  0072  CALL      R7 = call(R7, 0 args, 2 rets)
  0073  TFORCALL  tforcall R2
  0074  TFORLOOP  tforloop R4(sBx=-27)   -> 48
  0075  GETTABLE  R2 = R1[K34('weeklyActiveQuestReward')]
  0076  SETTABLE  R0[K33('m_arrRewardConfigs')] = R2
  0077  GETTABUP  R2 = _ENV[K17('ipairs')]
  0078  GETTABLE  R3 = R0[K33('m_arrRewardConfigs')]
  0079  CALL      R2 = call(R2, 3 args, 1 rets)
  0080  JMP       (jump)   -> 86
  0081  GETTABUP  R7 = _ENV[K30('RewardApi')]
  0082  GETTABLE  R7 = R7[K31('CryptRewards')]
  0083  GETTABLE  R8 = R6[K32('rewards')]
  0084  LOADBOOL  R9 = true
  0085  CALL      R7 = call(R7, 0 args, 2 rets)
  0086  TFORCALL  tforcall R2
  0087  TFORLOOP  tforloop R4(sBx=-7)   -> 81
  0088  GETTABUP  R2 = _ENV[K35('table')]
  0089  GETTABLE  R2 = R2[K36('sort')]
  0090  GETTABLE  R3 = R0[K13('m_arrTaskConfigs')]
  0091  CLOSURE   R4 = closure proto0
  0092  CALL      R2 = call(R2, 0 args, 2 rets)
  0093  GETTABLE  R2 = R0[K13('m_arrTaskConfigs')]
  0094  GETTABLE  R3 = R0[K13('m_arrTaskConfigs')]
  0095  LEN       R3 = len R0
  0096  GETTABLE  R2 = R2[R3]
  0097  GETTABLE  R2 = R2[K38('stage')]
  0098  SETTABLE  R0[K37('m_mxstage')] = R2
  0099  GETTABUP  R2 = _ENV[K35('table')]
  0100  GETTABLE  R2 = R2[K36('sort')]
  0101  GETTABLE  R3 = R0[K33('m_arrRewardConfigs')]
  0102  CLOSURE   R4 = closure proto1
  0103  CALL      R2 = call(R2, 0 args, 2 rets)
  0104  SETTABLE  R0[K39('m_taskCollected')] = K12(0)
  0105  LOADK     R2 = K40 -1
  0106  GETTABUP  R3 = _ENV[K17('ipairs')]
  0107  GETTABLE  R4 = R0[K13('m_arrTaskConfigs')]
  0108  CALL      R3 = call(R3, 3 args, 1 rets)
  0109  JMP       (jump)   -> 141
  0110  GETTABLE  R8 = R0[K8('m_mapCurInfo')]
  0111  GETTABUP  R9 = _ENV[K26('tostring')]
  0112  GETTABLE  R10 = R7[K41('task_index')]
  0113  CALL      R9 = call(R9, 1 args, 1 rets)
  0114  GETTABLE  R8 = R8[R9]
  0115  EQ        if R0 eq K20(nil)   -> -126583
  0116  JMP       (jump)   -> 126
  0117  GETTABLE  R8 = R0[K8('m_mapCurInfo')]
  0118  GETTABUP  R9 = _ENV[K26('tostring')]
  0119  GETTABLE  R10 = R7[K41('task_index')]
  0120  CALL      R9 = call(R9, 1 args, 1 rets)
  0121  NEWTABLE  R10 = {} (0 items)
  0122  SETTABLE  R10[K42('score')] = K12(0)
  0123  SETTABLE  R10[K43('collected')] = K44(false)
  0124  SETTABLE  R8[R9] = R10
  0125  JMP       (jump)   -> 137
  0126  GETTABLE  R8 = R0[K8('m_mapCurInfo')]
  0127  GETTABUP  R9 = _ENV[K26('tostring')]
  0128  GETTABLE  R10 = R7[K41('task_index')]
  0129  CALL      R9 = call(R9, 1 args, 1 rets)
  0130  GETTABLE  R8 = R8[R9]
  0131  GETTABLE  R8 = R8[K43('collected')]
  0132  TEST      if not R8 then   -> -130938
  0133  JMP       (jump)   -> 137
  0134  GETTABLE  R8 = R0[K39('m_taskCollected')]
  0135  ADD       R8 = K29(1) add R8
  0136  SETTABLE  R0[K39('m_taskCollected')] = R8
  0137  GETTABLE  R8 = R7[K41('task_index')]
  0138  LT        if R0 lt R8   -> -129900
  0139  JMP       (jump)   -> 141
  0140  GETTABLE  R2 = R7[K41('task_index')]
  0141  TFORCALL  tforcall R3
  0142  TFORLOOP  tforloop R5(sBx=-33)   -> 110
  0143  GETTABUP  R3 = _ENV[K23('Log')]
  0144  GETTABLE  R3 = R3[K45('Assert')]
  0145  GETTABLE  R4 = R0[K13('m_arrTaskConfigs')]
  0146  LEN       R4 = len R0
  0147  EQ        if R1 eq R4   -> -129895
  0148  JMP       (jump)   -> 150
  0149  LOADBOOL  R4 = false
  0150  LOADBOOL  R4 = true
  0151  LOADK     R5 = K46 '周任务配置 index 有误，请检查。'
  0152  CALL      R3 = call(R3, 0 args, 2 rets)
  0153  GETTABLE  R3 = R0[K47('m_config')]
  0154  GETTABLE  R4 = R1[K48('weeklyActiveQuestTaskReplace')]
  0155  TEST      if not R4 then   -> -130914
  0156  JMP       (jump)   -> 158
  0157  NEWTABLE  R4 = {} (0 items)
  0158  SETTABLE  R3[K48('weeklyActiveQuestTaskReplace')] = R4
  0159  LOADNIL   R3..R3 = nil
  0160  GETTABUP  R4 = _ENV[K17('ipairs')]
  0161  GETTABLE  R5 = R0[K13('m_arrTaskConfigs')]
  0162  CALL      R4 = call(R4, 3 args, 1 rets)
  0163  JMP       (jump)   -> 189
  0164  GETTABLE  R9 = R0[K8('m_mapCurInfo')]
  0165  GETTABUP  R10 = _ENV[K26('tostring')]
  0166  GETTABLE  R11 = R8[K41('task_index')]
  0167  CALL      R10 = call(R10, 1 args, 1 rets)
  0168  GETTABLE  R3 = R9[R10]
  0169  TEST      if not R3 then   -> -130901
  0170  JMP       (jump)   -> 189
  0171  GETTABLE  R9 = R3[K49('replaced')]
  0172  TEST      if not R9 then   -> -130898
  0173  JMP       (jump)   -> 189
  0174  GETTABLE  R9 = R3[K50('task_type')]
  0175  TEST      if not R9 then   -> -130895
  0176  JMP       (jump)   -> 189
  0177  GETTABLE  R9 = R3[K51('ratio')]
  0178  TEST      if not R9 then   -> -130892
  0179  JMP       (jump)   -> 189
  0180  GETTABLE  R9 = R3[K50('task_type')]
  0181  SETTABLE  R8[K50('task_type')] = R9
  0182  GETTABUP  R9 = _ENV[K53('math')]
  0183  GETTABLE  R9 = R9[K54('ceil')]
  0184  GETTABLE  R10 = R8[K52('task_num')]
  0185  GETTABLE  R11 = R3[K51('ratio')]
  0186  MUL       R10 = R11 mul R10
  0187  CALL      R9 = call(R9, 1 args, 1 rets)
  0188  SETTABLE  R8[K52('task_num')] = R9
  0189  TFORCALL  tforcall R4
  0190  TFORLOOP  tforloop R6(sBx=-27)   -> 164
  0191  SETTABLE  R0[K55('m_loadConfig')] = K56(true)
  0192  SELF      R5 = R0[K57('UpdatePerSecond')] (self)
  0193  CALL      R4 = call(R4, 0 args, 1 rets)
  0194  SELF      R5 = R0[K58('_CheckConfigValid')] (self)
  0195  CALL      R4 = call(R4, 0 args, 1 rets)
  0196  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 439-444 np=2 va=0 ms=4 code=19 consts=2 upvals=0 protos=0
    ;   K[0]='stage'
    ;   K[1]='task_index'
    ;   locals: a(0-19), b(0-19)
    0000  GETTABLE  R2 = R0[K0('stage')]
    0001  GETTABLE  R3 = R1[K0('stage')]
    0002  EQ        if R0 eq R3   -> -130041
    0003  JMP       (jump)   -> 11
    0004  GETTABLE  R2 = R0[K1('task_index')]
    0005  GETTABLE  R3 = R1[K1('task_index')]
    0006  LT        if R1 lt R3   -> -130037
    0007  JMP       (jump)   -> 9
    0008  LOADBOOL  R2 = false
    0009  LOADBOOL  R2 = true
    0010  RETURN    return R2..R1
    0011  GETTABLE  R2 = R0[K0('stage')]
    0012  GETTABLE  R3 = R1[K0('stage')]
    0013  LT        if R1 lt R3   -> -130030
    0014  JMP       (jump)   -> 16
    0015  LOADBOOL  R2 = false
    0016  LOADBOOL  R2 = true
    0017  RETURN    return R2..R1
    0018  RETURN    return R0..R-1
  ; ---------- proto1 [m_taskCollected] ----------
    ; fn ?  line 448-450 np=2 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
    ;   K[0]='score_num'
    ;   locals: a(0-8), b(0-8)
    0000  GETTABLE  R2 = R0[K0('score_num')]
    0001  GETTABLE  R3 = R1[K0('score_num')]
    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
; ---------- proto28 [_CheckConfigValid] ----------
  ; fn ?  line 489-510 np=1 va=0 ms=14 code=54 consts=20 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ActivityTokenPropertyType'
  ;   K[2]=0
  ;   K[3]='ipairs'
  ;   K[4]='m_arrTaskConfigs'
  ;   K[5]='rewards'
  ;   K[6]='PROPERTY_TYPE'
  ;   K[7]='PROPERTY_COUNT'
  ;   K[8]='m_arrRewardConfigs'
  ;   K[9]='score_num'
  ;   K[10]='Log'
  ;   K[11]='Assert'
  ;   K[12]='周任务进度奖励积分之和【大于】任务积分之和！'
  ;   K[13]='m_config'
  ;   K[14]='weeklyActiveQuestTaskReplace'
  ;   K[15]='new_type'
  ;   K[16]='WeeklyActiveQuestTaskType'
  ;   K[17]='Login'
  ;   K[18]='Error'
  ;   K[19]='周任务不允许替换为 login 任务！'
  ;   upvals: _ENV
  ;   locals: self(0-54), eScoreType(2-54), totalTaskScore(3-54), (for generator)(6-24), (for state)(6-24), (for control)(6-24), _(7-22), taskConfig(7-22), (for generator)(10-22), (for state)(10-22), (for control)(10-22), _(11-20), reward(11-20), totalRewardScore(29-54), (for generator)(41-53), (for state)(41-53), (for control)(41-53), _(42-51), replaceConfig(42-51)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ActivityTokenPropertyType')]
  0002  LOADK     R2 = K2 0
  0003  GETTABUP  R3 = _ENV[K3('ipairs')]
  0004  GETTABLE  R4 = R0[K4('m_arrTaskConfigs')]
  0005  CALL      R3 = call(R3, 3 args, 1 rets)
  0006  JMP       (jump)   -> 22
  0007  GETTABUP  R8 = _ENV[K3('ipairs')]
  0008  GETTABLE  R9 = R7[K5('rewards')]
  0009  CALL      R8 = call(R8, 3 args, 1 rets)
  0010  JMP       (jump)   -> 20
  0011  TEST      if not R12 then   -> -131059
  0012  JMP       (jump)   -> 20
  0013  GETTABUP  R13 = _ENV[K6('PROPERTY_TYPE')]
  0014  GETTABLE  R13 = R12[R13]
  0015  EQ        if R0 eq R1   -> -124398
  0016  JMP       (jump)   -> 20
  0017  GETTABUP  R13 = _ENV[K7('PROPERTY_COUNT')]
  0018  GETTABLE  R13 = R12[R13]
  0019  ADD       R2 = R13 add R2
  0020  TFORCALL  tforcall R8
  0021  TFORLOOP  tforloop R10(sBx=-11)   -> 11
  0022  TFORCALL  tforcall R3
  0023  TFORLOOP  tforloop R5(sBx=-17)   -> 7
  0024  GETTABLE  R3 = R0[K8('m_arrRewardConfigs')]
  0025  GETTABLE  R4 = R0[K8('m_arrRewardConfigs')]
  0026  LEN       R4 = len R0
  0027  GETTABLE  R3 = R3[R4]
  0028  GETTABLE  R3 = R3[K9('score_num')]
  0029  GETTABUP  R4 = _ENV[K10('Log')]
  0030  GETTABLE  R4 = R4[K11('Assert')]
  0031  LE        if R1 le R2   -> -129501
  0032  JMP       (jump)   -> 34
  0033  LOADBOOL  R5 = false
  0034  LOADBOOL  R5 = true
  0035  LOADK     R6 = K12 '周任务进度奖励积分之和【大于】任务积分之和！'
  0036  CALL      R4 = call(R4, 0 args, 2 rets)
  0037  GETTABUP  R4 = _ENV[K3('ipairs')]
  0038  GETTABLE  R5 = R0[K13('m_config')]
  0039  GETTABLE  R5 = R5[K14('weeklyActiveQuestTaskReplace')]
  0040  CALL      R4 = call(R4, 3 args, 1 rets)
  0041  JMP       (jump)   -> 51
  0042  GETTABLE  R9 = R8[K15('new_type')]
  0043  GETTABUP  R10 = _ENV[K16('WeeklyActiveQuestTaskType')]
  0044  GETTABLE  R10 = R10[K17('Login')]
  0045  EQ        if R0 eq R10   -> -126407
  0046  JMP       (jump)   -> 51
  0047  GETTABUP  R9 = _ENV[K10('Log')]
  0048  GETTABLE  R9 = R9[K18('Error')]
  0049  LOADK     R10 = K19 '周任务不允许替换为 login 任务！'
  0050  CALL      R9 = call(R9, 0 args, 1 rets)
  0051  TFORCALL  tforcall R4
  0052  TFORLOOP  tforloop R6(sBx=-11)   -> 42
  0053  RETURN    return R0..R-1
; ---------- proto29 [StartCalcProgress] ----------
  ; fn ?  line 512-534 np=1 va=0 ms=10 code=88 consts=28 upvals=1 protos=0
  ;   K[0]='m_bAddListener'
  ;   K[1]=true
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='WeeklyActiveQuestProgressGain'
  ;   K[6]='_OnProgressGain'
  ;   K[7]='OrderFinished'
  ;   K[8]='_OnOrderFinished'
  ;   K[9]='ItemMerged'
  ;   K[10]='_OnItemMerged'
  ;   K[11]='IAPSuccess'
  ;   K[12]='_OnIAPSuccess'
  ;   K[13]='TakeOutDishItem'
  ;   K[14]='_OnTakeOutDishItem'
  ;   K[15]='OnClaimedOrderGroupReward'
  ;   K[16]='_OnFinishDay'
  ;   K[17]='MainTaskFinished'
  ;   K[18]='_OnFinishTask'
  ;   K[19]='CollectGold'
  ;   K[20]='_OnCollectGold'
  ;   K[21]='PropertyAcquired'
  ;   K[22]='_OnPropertyAcquired'
  ;   K[23]='WeeklyActiveQuestShowTip'
  ;   K[24]='_ShowTip'
  ;   K[25]='pairs'
  ;   K[26]='WeeklyActiveQuestTaskListener'
  ;   K[27]='_OnTaskConditionChanged'
  ;   upvals: _ENV
  ;   locals: self(0-88), (for generator)(78-87), (for state)(78-87), (for control)(78-87), eEventType(79-85), _(79-85)
  0000  GETTABLE  R1 = R0[K0('m_bAddListener')]
  0001  EQ        if R0 eq K1(true)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bAddListener')] = K1(true)
  0005  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0006  GETTABLE  R1 = R1[K3('AddListener')]
  0007  GETTABUP  R2 = _ENV[K4('EEventType')]
  0008  GETTABLE  R2 = R2[K5('WeeklyActiveQuestProgressGain')]
  0009  MOVE      R3 = R0
  0010  GETTABLE  R4 = R0[K6('_OnProgressGain')]
  0011  CALL      R1 = call(R1, 0 args, 3 rets)
  0012  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0013  GETTABLE  R1 = R1[K3('AddListener')]
  0014  GETTABUP  R2 = _ENV[K4('EEventType')]
  0015  GETTABLE  R2 = R2[K7('OrderFinished')]
  0016  MOVE      R3 = R0
  0017  GETTABLE  R4 = R0[K8('_OnOrderFinished')]
  0018  CALL      R1 = call(R1, 0 args, 3 rets)
  0019  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0020  GETTABLE  R1 = R1[K3('AddListener')]
  0021  GETTABUP  R2 = _ENV[K4('EEventType')]
  0022  GETTABLE  R2 = R2[K9('ItemMerged')]
  0023  MOVE      R3 = R0
  0024  GETTABLE  R4 = R0[K10('_OnItemMerged')]
  0025  CALL      R1 = call(R1, 0 args, 3 rets)
  0026  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0027  GETTABLE  R1 = R1[K3('AddListener')]
  0028  GETTABUP  R2 = _ENV[K4('EEventType')]
  0029  GETTABLE  R2 = R2[K11('IAPSuccess')]
  0030  MOVE      R3 = R0
  0031  GETTABLE  R4 = R0[K12('_OnIAPSuccess')]
  0032  CALL      R1 = call(R1, 0 args, 3 rets)
  0033  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0034  GETTABLE  R1 = R1[K3('AddListener')]
  0035  GETTABUP  R2 = _ENV[K4('EEventType')]
  0036  GETTABLE  R2 = R2[K13('TakeOutDishItem')]
  0037  MOVE      R3 = R0
  0038  GETTABLE  R4 = R0[K14('_OnTakeOutDishItem')]
  0039  CALL      R1 = call(R1, 0 args, 3 rets)
  0040  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0041  GETTABLE  R1 = R1[K3('AddListener')]
  0042  GETTABUP  R2 = _ENV[K4('EEventType')]
  0043  GETTABLE  R2 = R2[K15('OnClaimedOrderGroupReward')]
  0044  MOVE      R3 = R0
  0045  GETTABLE  R4 = R0[K16('_OnFinishDay')]
  0046  CALL      R1 = call(R1, 0 args, 3 rets)
  0047  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0048  GETTABLE  R1 = R1[K3('AddListener')]
  0049  GETTABUP  R2 = _ENV[K4('EEventType')]
  0050  GETTABLE  R2 = R2[K17('MainTaskFinished')]
  0051  MOVE      R3 = R0
  0052  GETTABLE  R4 = R0[K18('_OnFinishTask')]
  0053  CALL      R1 = call(R1, 0 args, 3 rets)
  0054  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0055  GETTABLE  R1 = R1[K3('AddListener')]
  0056  GETTABUP  R2 = _ENV[K4('EEventType')]
  0057  GETTABLE  R2 = R2[K19('CollectGold')]
  0058  MOVE      R3 = R0
  0059  GETTABLE  R4 = R0[K20('_OnCollectGold')]
  0060  CALL      R1 = call(R1, 0 args, 3 rets)
  0061  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0062  GETTABLE  R1 = R1[K3('AddListener')]
  0063  GETTABUP  R2 = _ENV[K4('EEventType')]
  0064  GETTABLE  R2 = R2[K21('PropertyAcquired')]
  0065  MOVE      R3 = R0
  0066  GETTABLE  R4 = R0[K22('_OnPropertyAcquired')]
  0067  CALL      R1 = call(R1, 0 args, 3 rets)
  0068  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0069  GETTABLE  R1 = R1[K3('AddListener')]
  0070  GETTABUP  R2 = _ENV[K4('EEventType')]
  0071  GETTABLE  R2 = R2[K23('WeeklyActiveQuestShowTip')]
  0072  MOVE      R3 = R0
  0073  GETTABLE  R4 = R0[K24('_ShowTip')]
  0074  CALL      R1 = call(R1, 0 args, 3 rets)
  0075  GETTABUP  R1 = _ENV[K25('pairs')]
  0076  GETTABUP  R2 = _ENV[K26('WeeklyActiveQuestTaskListener')]
  0077  CALL      R1 = call(R1, 3 args, 1 rets)
  0078  JMP       (jump)   -> 85
  0079  GETTABUP  R6 = _ENV[K2('EventDispatcher')]
  0080  GETTABLE  R6 = R6[K3('AddListener')]
  0081  MOVE      R7 = R0
  0082  MOVE      R8 = R0
  0083  GETTABLE  R9 = R0[K27('_OnTaskConditionChanged')]
  0084  CALL      R6 = call(R6, 0 args, 3 rets)
  0085  TFORCALL  tforcall R1
  0086  TFORLOOP  tforloop R3(sBx=-8)   -> 79
  0087  RETURN    return R0..R-1
; ---------- proto30 [StopCalcProgress] ----------
  ; fn ?  line 536-540 np=1 va=0 ms=3 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='m_bAddListener'
  ;   K[1]=false
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SETTABLE  R0[K0('m_bAddListener')] = K1(false)
  0001  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0002  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0003  MOVE      R2 = R0
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto31 [CanShowIcon] ----------
  ; fn ?  line 543-545 np=1 va=0 ms=3 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='IsAllFinish'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  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)   -> 10
  0006  SELF      R2 = R0[K3('IsAllFinish')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  NOT       R1 = not R0
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  LOADBOOL  R1 = true
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
; ---------- proto32 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 548-558 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]='AllFinishEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='WeeklyActiveQuest'
  ;   K[8]='entryPrefabName'
  ;   K[9]='BoardBubblePrefabName'
  ;   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('AllFinishEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('WeeklyActiveQuest')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K9('BoardBubblePrefabName')]
  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 554-556 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
; ---------- proto33 [IsAllFinish] ----------
  ; fn ?  line 560-562 np=1 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='m_taskCollected'
  ;   K[1]='m_arrTaskConfigs'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_taskCollected')]
  0001  GETTABLE  R2 = R0[K1('m_arrTaskConfigs')]
  0002  LEN       R2 = len R0
  0003  EQ        if R1 eq R2   -> -130553
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R1 = false
  0006  LOADBOOL  R1 = true
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto34 [GetCanCollectTaskNumByStage] ----------
  ; fn ?  line 564-577 np=2 va=0 ms=11 code=45 consts=13 upvals=1 protos=0
  ;   K[0]='m_mapCurInfo'
  ;   K[1]=nil
  ;   K[2]='m_stage'
  ;   K[3]=0
  ;   K[4]='ipairs'
  ;   K[5]='m_arrTaskConfigs'
  ;   K[6]='stage'
  ;   K[7]='tostring'
  ;   K[8]='task_index'
  ;   K[9]='score'
  ;   K[10]='task_num'
  ;   K[11]='collected'
  ;   K[12]=1
  ;   upvals: _ENV
  ;   locals: self(0-45), stage(0-45), num(9-45), (for generator)(12-43), (for state)(12-43), (for control)(12-43), _(13-41), task(13-41)
  0000  GETTABLE  R2 = R0[K0('m_mapCurInfo')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R2 = R0[K2('m_stage')]
  0004  LT        if R0 lt R1   -> -130041
  0005  JMP       (jump)   -> 8
  0006  LOADK     R2 = K3 0
  0007  RETURN    return R2..R1
  0008  LOADK     R2 = K3 0
  0009  GETTABUP  R3 = _ENV[K4('ipairs')]
  0010  GETTABLE  R4 = R0[K5('m_arrTaskConfigs')]
  0011  CALL      R3 = call(R3, 3 args, 1 rets)
  0012  JMP       (jump)   -> 41
  0013  GETTABLE  R8 = R7[K6('stage')]
  0014  EQ        if R0 eq R1   -> -126959
  0015  JMP       (jump)   -> 41
  0016  GETTABLE  R8 = R0[K0('m_mapCurInfo')]
  0017  GETTABUP  R9 = _ENV[K7('tostring')]
  0018  GETTABLE  R10 = R7[K8('task_index')]
  0019  CALL      R9 = call(R9, 1 args, 1 rets)
  0020  GETTABLE  R8 = R8[R9]
  0021  EQ        if R1 eq K1(nil)   -> -126696
  0022  JMP       (jump)   -> 41
  0023  GETTABLE  R8 = R0[K0('m_mapCurInfo')]
  0024  GETTABUP  R9 = _ENV[K7('tostring')]
  0025  GETTABLE  R10 = R7[K8('task_index')]
  0026  CALL      R9 = call(R9, 1 args, 1 rets)
  0027  GETTABLE  R8 = R8[R9]
  0028  GETTABLE  R8 = R8[K9('score')]
  0029  GETTABLE  R9 = R7[K10('task_num')]
  0030  LE        if R0 le R8   -> -126424
  0031  JMP       (jump)   -> 41
  0032  GETTABLE  R8 = R0[K0('m_mapCurInfo')]
  0033  GETTABUP  R9 = _ENV[K7('tostring')]
  0034  GETTABLE  R10 = R7[K8('task_index')]
  0035  CALL      R9 = call(R9, 1 args, 1 rets)
  0036  GETTABLE  R8 = R8[R9]
  0037  GETTABLE  R8 = R8[K11('collected')]
  0038  TEST      if not R8 then   -> -131031
  0039  JMP       (jump)   -> 41
  0040  ADD       R2 = K12(1) add R2
  0041  TFORCALL  tforcall R3
  0042  TFORLOOP  tforloop R5(sBx=-30)   -> 13
  0043  RETURN    return R2..R1
  0044  RETURN    return R0..R-1
; ---------- proto35 [IsStageFinished] ----------
  ; fn ?  line 579-597 np=2 va=0 ms=10 code=48 consts=11 upvals=1 protos=0
  ;   K[0]='m_mapCurInfo'
  ;   K[1]=nil
  ;   K[2]='m_stage'
  ;   K[3]='ipairs'
  ;   K[4]='m_arrTaskConfigs'
  ;   K[5]='stage'
  ;   K[6]='tostring'
  ;   K[7]='task_index'
  ;   K[8]='score'
  ;   K[9]='task_num'
  ;   K[10]='collected'
  ;   upvals: _ENV
  ;   locals: self(0-48), stage(0-48), (for generator)(11-45), (for state)(11-45), (for control)(11-45), _(12-43), task(12-43)
  0000  GETTABLE  R2 = R0[K0('m_mapCurInfo')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R2 = R0[K2('m_stage')]
  0004  LT        if R0 lt R1   -> -130041
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R2 = false
  0007  RETURN    return R2..R1
  0008  GETTABUP  R2 = _ENV[K3('ipairs')]
  0009  GETTABLE  R3 = R0[K4('m_arrTaskConfigs')]
  0010  CALL      R2 = call(R2, 3 args, 1 rets)
  0011  JMP       (jump)   -> 43
  0012  GETTABLE  R7 = R6[K5('stage')]
  0013  EQ        if R0 eq R1   -> -127472
  0014  JMP       (jump)   -> 43
  0015  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0016  GETTABUP  R8 = _ENV[K6('tostring')]
  0017  GETTABLE  R9 = R6[K7('task_index')]
  0018  CALL      R8 = call(R8, 1 args, 1 rets)
  0019  GETTABLE  R7 = R7[R8]
  0020  EQ        if R1 eq K1(nil)   -> -127209
  0021  JMP       (jump)   -> 43
  0022  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0023  GETTABUP  R8 = _ENV[K6('tostring')]
  0024  GETTABLE  R9 = R6[K7('task_index')]
  0025  CALL      R8 = call(R8, 1 args, 1 rets)
  0026  GETTABLE  R7 = R7[R8]
  0027  GETTABLE  R7 = R7[K8('score')]
  0028  GETTABLE  R8 = R6[K9('task_num')]
  0029  LT        if R0 lt R8   -> -127449
  0030  JMP       (jump)   -> 33
  0031  LOADBOOL  R7 = false
  0032  RETURN    return R7..R6
  0033  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0034  GETTABUP  R8 = _ENV[K6('tostring')]
  0035  GETTABLE  R9 = R6[K7('task_index')]
  0036  CALL      R8 = call(R8, 1 args, 1 rets)
  0037  GETTABLE  R7 = R7[R8]
  0038  GETTABLE  R7 = R7[K10('collected')]
  0039  TEST      if not R7 then   -> -131030
  0040  JMP       (jump)   -> 43
  0041  LOADBOOL  R7 = false
  0042  RETURN    return R7..R6
  0043  TFORCALL  tforcall R2
  0044  TFORLOOP  tforloop R4(sBx=-33)   -> 12
  0045  LOADBOOL  R2 = true
  0046  RETURN    return R2..R1
  0047  RETURN    return R0..R-1
; ---------- proto36 [GetCanCollectTaskNum] ----------
  ; fn ?  line 599-616 np=1 va=0 ms=10 code=43 consts=13 upvals=1 protos=0
  ;   K[0]='m_mapCurInfo'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='ipairs'
  ;   K[4]='m_arrTaskConfigs'
  ;   K[5]='stage'
  ;   K[6]='m_stage'
  ;   K[7]='tostring'
  ;   K[8]='task_index'
  ;   K[9]='score'
  ;   K[10]='task_num'
  ;   K[11]='collected'
  ;   K[12]=1
  ;   upvals: _ENV
  ;   locals: self(0-43), num(6-43), (for generator)(9-41), (for state)(9-41), (for control)(9-41), _(10-39), task(10-39)
  0000  GETTABLE  R1 = R0[K0('m_mapCurInfo')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADK     R1 = K2 0
  0004  RETURN    return R1..R0
  0005  LOADK     R1 = K2 0
  0006  GETTABUP  R2 = _ENV[K3('ipairs')]
  0007  GETTABLE  R3 = R0[K4('m_arrTaskConfigs')]
  0008  CALL      R2 = call(R2, 3 args, 1 rets)
  0009  JMP       (jump)   -> 39
  0010  GETTABLE  R7 = R6[K5('stage')]
  0011  GETTABLE  R8 = R0[K6('m_stage')]
  0012  LT        if R1 lt R7   -> -126955
  0013  JMP       (jump)   -> 41
  0014  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0015  GETTABUP  R8 = _ENV[K7('tostring')]
  0016  GETTABLE  R9 = R6[K8('task_index')]
  0017  CALL      R8 = call(R8, 1 args, 1 rets)
  0018  GETTABLE  R7 = R7[R8]
  0019  EQ        if R1 eq K1(nil)   -> -127210
  0020  JMP       (jump)   -> 39
  0021  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0022  GETTABUP  R8 = _ENV[K7('tostring')]
  0023  GETTABLE  R9 = R6[K8('task_index')]
  0024  CALL      R8 = call(R8, 1 args, 1 rets)
  0025  GETTABLE  R7 = R7[R8]
  0026  GETTABLE  R7 = R7[K9('score')]
  0027  GETTABLE  R8 = R6[K10('task_num')]
  0028  LE        if R0 le R7   -> -126939
  0029  JMP       (jump)   -> 39
  0030  GETTABLE  R7 = R0[K0('m_mapCurInfo')]
  0031  GETTABUP  R8 = _ENV[K7('tostring')]
  0032  GETTABLE  R9 = R6[K8('task_index')]
  0033  CALL      R8 = call(R8, 1 args, 1 rets)
  0034  GETTABLE  R7 = R7[R8]
  0035  GETTABLE  R7 = R7[K11('collected')]
  0036  TEST      if not R7 then   -> -131033
  0037  JMP       (jump)   -> 39
  0038  ADD       R1 = K12(1) add R1
  0039  TFORCALL  tforcall R2
  0040  TFORLOOP  tforloop R4(sBx=-31)   -> 10
  0041  RETURN    return R1..R0
  0042  RETURN    return R0..R-1
; ---------- proto37 [CreateViewController] ----------
  ; fn ?  line 618-623 np=1 va=0 ms=6 code=24 consts=7 upvals=1 protos=0
  ;   K[0]='m_conCnt'
  ;   K[1]=0
  ;   K[2]=1
  ;   K[3]='m_conArr'
  ;   K[4]='WeeklyActiveQuestViewController'
  ;   K[5]='Create'
  ;   K[6]='m_type'
  ;   upvals: _ENV
  ;   locals: self(0-24)
  0000  GETTABLE  R1 = R0[K0('m_conCnt')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  LOADK     R1 = K1 0
  0004  ADD       R1 = K2(1) add R1
  0005  SETTABLE  R0[K0('m_conCnt')] = R1
  0006  GETTABLE  R1 = R0[K3('m_conArr')]
  0007  TEST      if not R1 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  NEWTABLE  R1 = {} (0 items)
  0010  SETTABLE  R0[K3('m_conArr')] = R1
  0011  GETTABLE  R1 = R0[K3('m_conArr')]
  0012  GETTABLE  R2 = R0[K0('m_conCnt')]
  0013  GETTABUP  R3 = _ENV[K4('WeeklyActiveQuestViewController')]
  0014  GETTABLE  R3 = R3[K5('Create')]
  0015  GETTABLE  R4 = R0[K6('m_type')]
  0016  GETTABLE  R5 = R0[K0('m_conCnt')]
  0017  CALL      R3 = call(R3, 1 args, 2 rets)
  0018  SETTABLE  R1[R2] = R3
  0019  GETTABLE  R1 = R0[K3('m_conArr')]
  0020  GETTABLE  R2 = R0[K0('m_conCnt')]
  0021  GETTABLE  R1 = R1[R2]
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto38 [ViewControllerFinished] ----------
  ; fn ?  line 625-627 np=2 va=0 ms=3 code=3 consts=2 upvals=0 protos=0
  ;   K[0]='m_conArr'
  ;   K[1]=nil
  ;   locals: self(0-3), id(0-3)
  0000  GETTABLE  R2 = R0[K0('m_conArr')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  RETURN    return R0..R-1
; ---------- proto39 [HasViewController] ----------
  ; fn ?  line 629-631 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_conArr'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_conArr')]
  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
; ---------- proto40 [GetResourceLabels] ----------
  ; fn ?  line 633-635 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
; ---------- proto41 [GetStage] ----------
  ; fn ?  line 637-639 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_stage'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_stage')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto42 [GetMXStage] ----------
  ; fn ?  line 641-643 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mxstage'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mxstage')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto43 [GetActivityTokenNumber] ----------
  ; fn ?  line 645-647 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_score'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_score')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto44 [GetRewardConfig] ----------
  ; fn ?  line 649-651 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrRewardConfigs'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrRewardConfigs')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto45 [GetCurInfo] ----------
  ; fn ?  line 653-655 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapCurInfo'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapCurInfo')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto46 [GetTaskByStage] ----------
  ; fn ?  line 657-686 np=2 va=0 ms=12 code=40 consts=13 upvals=1 protos=1
  ;   K[0]='ipairs'
  ;   K[1]='m_arrTaskConfigs'
  ;   K[2]='Table'
  ;   K[3]='DeepCopy'
  ;   K[4]='score'
  ;   K[5]='m_mapCurInfo'
  ;   K[6]='tostring'
  ;   K[7]='task_index'
  ;   K[8]='collected'
  ;   K[9]='stage'
  ;   K[10]='table'
  ;   K[11]='insert'
  ;   K[12]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-40), stage(0-40), taskConfig(1-40), (for generator)(4-33), (for state)(4-33), (for control)(4-33), _(5-31), task(5-31), temp(9-31)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('ipairs')]
  0002  GETTABLE  R4 = R0[K1('m_arrTaskConfigs')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 31
  0005  GETTABUP  R8 = _ENV[K2('Table')]
  0006  GETTABLE  R8 = R8[K3('DeepCopy')]
  0007  MOVE      R9 = R0
  0008  CALL      R8 = call(R8, 1 args, 1 rets)
  0009  GETTABLE  R9 = R0[K5('m_mapCurInfo')]
  0010  GETTABUP  R10 = _ENV[K6('tostring')]
  0011  GETTABLE  R11 = R7[K7('task_index')]
  0012  CALL      R10 = call(R10, 1 args, 1 rets)
  0013  GETTABLE  R9 = R9[R10]
  0014  GETTABLE  R9 = R9[K4('score')]
  0015  SETTABLE  R8[K4('score')] = R9
  0016  GETTABLE  R9 = R0[K5('m_mapCurInfo')]
  0017  GETTABUP  R10 = _ENV[K6('tostring')]
  0018  GETTABLE  R11 = R7[K7('task_index')]
  0019  CALL      R10 = call(R10, 1 args, 1 rets)
  0020  GETTABLE  R9 = R9[R10]
  0021  GETTABLE  R9 = R9[K8('collected')]
  0022  SETTABLE  R8[K8('collected')] = R9
  0023  GETTABLE  R9 = R8[K9('stage')]
  0024  EQ        if R0 eq R1   -> -126437
  0025  JMP       (jump)   -> 31
  0026  GETTABUP  R9 = _ENV[K10('table')]
  0027  GETTABLE  R9 = R9[K11('insert')]
  0028  MOVE      R10 = R0
  0029  MOVE      R11 = R0
  0030  CALL      R9 = call(R9, 0 args, 2 rets)
  0031  TFORCALL  tforcall R3
  0032  TFORLOOP  tforloop R5(sBx=-28)   -> 5
  0033  GETTABUP  R3 = _ENV[K10('table')]
  0034  GETTABLE  R3 = R3[K12('sort')]
  0035  MOVE      R4 = R0
  0036  CLOSURE   R5 = closure proto0
  0037  CALL      R3 = call(R3, 0 args, 2 rets)
  0038  RETURN    return R2..R1
  0039  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 667-683 np=2 va=0 ms=6 code=30 consts=4 upvals=0 protos=0
    ;   K[0]='score'
    ;   K[1]='task_num'
    ;   K[2]='collected'
    ;   K[3]='task_index'
    ;   locals: a(0-30), b(0-30), doneA(6-30), doneB(12-30)
    0000  GETTABLE  R2 = R0[K0('score')]
    0001  GETTABLE  R3 = R0[K1('task_num')]
    0002  LE        if R1 le R2   -> -129530
    0003  JMP       (jump)   -> 5
    0004  LOADBOOL  R2 = false
    0005  LOADBOOL  R2 = true
    0006  GETTABLE  R3 = R1[K0('score')]
    0007  GETTABLE  R4 = R1[K1('task_num')]
    0008  LE        if R1 le R3   -> -129011
    0009  JMP       (jump)   -> 11
    0010  LOADBOOL  R3 = false
    0011  LOADBOOL  R3 = true
    0012  GETTABLE  R4 = R0[K2('collected')]
    0013  GETTABLE  R5 = R1[K2('collected')]
    0014  EQ        if R1 eq R5   -> -129003
    0015  JMP       (jump)   -> 19
    0016  GETTABLE  R4 = R0[K2('collected')]
    0017  NOT       R4 = not R0
    0018  RETURN    return R4..R3
    0019  EQ        if R1 eq R3   -> -130024
    0020  JMP       (jump)   -> 22
    0021  RETURN    return R2..R1
    0022  GETTABLE  R4 = R0[K3('task_index')]
    0023  GETTABLE  R5 = R1[K3('task_index')]
    0024  LT        if R1 lt R5   -> -128993
    0025  JMP       (jump)   -> 27
    0026  LOADBOOL  R4 = false
    0027  LOADBOOL  R4 = true
    0028  RETURN    return R4..R3
    0029  RETURN    return R0..R-1
; ---------- proto47 [GetProgressValue] ----------
  ; fn ?  line 688-701 np=2 va=0 ms=11 code=30 consts=5 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_arrRewardConfigs'
  ;   K[3]='score_num'
  ;   K[4]=1
  ;   upvals: _ENV
  ;   locals: self(0-30), score(0-30), val(1-30), prescore(2-30), (for generator)(5-28), (for state)(5-28), (for control)(5-28), id(6-26), rewardprogress(6-26)
  0000  LOADK     R2 = K0 0
  0001  LOADK     R3 = K0 0
  0002  GETTABUP  R4 = _ENV[K1('ipairs')]
  0003  GETTABLE  R5 = R0[K2('m_arrRewardConfigs')]
  0004  CALL      R4 = call(R4, 3 args, 1 rets)
  0005  JMP       (jump)   -> 26
  0006  GETTABLE  R9 = R8[K3('score_num')]
  0007  LE        if R0 le R1   -> -126454
  0008  JMP       (jump)   -> 14
  0009  GETTABLE  R9 = R0[K2('m_arrRewardConfigs')]
  0010  LEN       R9 = len R0
  0011  DIV       R9 = R9 div K4(1)
  0012  ADD       R2 = R9 add R2
  0013  JMP       (jump)   -> 25
  0014  SUB       R9 = R3 sub R1
  0015  GETTABLE  R10 = R8[K3('score_num')]
  0016  SUB       R10 = R3 sub R10
  0017  DIV       R9 = R10 div R9
  0018  MUL       R9 = K4(1) mul R9
  0019  ADD       R9 = R9 add K0(0)
  0020  GETTABLE  R10 = R0[K2('m_arrRewardConfigs')]
  0021  LEN       R10 = len R0
  0022  DIV       R9 = R10 div R9
  0023  ADD       R2 = R9 add R2
  0024  JMP       (jump)   -> 28
  0025  GETTABLE  R3 = R8[K3('score_num')]
  0026  TFORCALL  tforcall R4
  0027  TFORLOOP  tforloop R6(sBx=-22)   -> 6
  0028  RETURN    return R2..R1
  0029  RETURN    return R0..R-1
; ---------- proto48 [ClearProgress] ----------
  ; fn ?  line 703-706 np=2 va=0 ms=5 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='m_mapCurInfo'
  ;   K[1]='tostring'
  ;   K[2]='score'
  ;   K[3]=0
  ;   K[4]='collected'
  ;   K[5]=false
  ;   upvals: _ENV
  ;   locals: self(0-13), index(0-13)
  0000  GETTABLE  R2 = R0[K0('m_mapCurInfo')]
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[R3]
  0005  SETTABLE  R2[K2('score')] = K3(0)
  0006  GETTABLE  R2 = R0[K0('m_mapCurInfo')]
  0007  GETTABUP  R3 = _ENV[K1('tostring')]
  0008  MOVE      R4 = R0
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[R3]
  0011  SETTABLE  R2[K4('collected')] = K5(false)
  0012  RETURN    return R0..R-1
; ---------- proto49 [CanRewardRecover] ----------
  ; fn ?  line 708-719 np=1 va=0 ms=5 code=21 consts=7 upvals=1 protos=0
  ;   K[0]='IsAllFinish'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='RewardRecover'
  ;   K[4]='value'
  ;   K[5]=0
  ;   K[6]=1
  ;   upvals: EStrDBKeys
  ;   locals: self(0-21), rewardRecoverFlag(14-21)
  0000  SELF      R2 = R0[K0('IsAllFinish')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  GETTABLE  R1 = R0[K1('m_dbTable')]
  0007  SELF      R2 = R1[K2('GetValue')] (self)
  0008  GETTABUP  R3 = EStrDBKeys[K3('RewardRecover')]
  0009  LOADK     R4 = K4 'value'
  0010  CALL      R1 = call(R1, 1 args, 3 rets)
  0011  TEST      if not R1 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  LOADK     R1 = K5 0
  0014  EQ        if R0 eq K6(1)   -> -130282
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R2 = false
  0017  RETURN    return R2..R1
  0018  LOADBOOL  R2 = true
  0019  RETURN    return R2..R1
  0020  RETURN    return R0..R-1
; ---------- proto50 [RewardRecover] ----------
  ; fn ?  line 721-792 np=1 va=0 ms=15 code=209 consts=61 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='RewardRecover'
  ;   K[3]='value'
  ;   K[4]=1
  ;   K[5]='ipairs'
  ;   K[6]='m_arrTaskConfigs'
  ;   K[7]='m_mapCurInfo'
  ;   K[8]='tostring'
  ;   K[9]='task_index'
  ;   K[10]=nil
  ;   K[11]='score'
  ;   K[12]='task_num'
  ;   K[13]='collected'
  ;   K[14]='RewardApi'
  ;   K[15]='MergeRewards'
  ;   K[16]='rewards'
  ;   K[17]='GameConfig'
  ;   K[18]='IsTestMode'
  ;   K[19]='完成情况'
  ;   K[20]='第'
  ;   K[21]='stage'
  ;   K[22]='天'
  ;   K[23]='table'
  ;   K[24]='insert'
  ;   K[25]='任务id'
  ;   K[26]='奖励列表'
  ;   K[27]='ConfigUtil'
  ;   K[28]='GetArrFromCurrency'
  ;   K[29]=0
  ;   K[30]='PROPERTY_TYPE'
  ;   K[31]='m_activityDefinition'
  ;   K[32]='ActivityTokenPropertyType'
  ;   K[33]='PROPERTY_COUNT'
  ;   K[34]='remove'
  ;   K[35]='m_score'
  ;   K[36]='阶段奖励'
  ;   K[37]='增加积分'
  ;   K[38]='原积分'
  ;   K[39]='最终积分'
  ;   K[40]='m_arrRewardConfigs'
  ;   K[41]='score_num'
  ;   K[42]='Table'
  ;   K[43]='ListAppend'
  ;   K[44]='next'
  ;   K[45]='IsEmpty'
  ;   K[46]='合集发奖'
  ;   K[47]='Log'
  ;   K[48]='GetTableFormatStr'
  ;   K[49]='Debug'
  ;   K[50]='[周活跃任务补发奖励]\n'
  ;   K[51]='AcquireRewardsLogic'
  ;   K[52]='EPropertySource'
  ;   K[53]='Give'
  ;   K[54]='RecoverRewardBIType'
  ;   K[55]='ERewardScene'
  ;   K[56]='Other'
  ;   K[57]='EGameMode'
  ;   K[58]='Board'
  ;   K[59]='CacheItemType'
  ;   K[60]='Stack'
  ;   upvals: EStrDBKeys, _ENV
  ;   locals: self(0-209), rewards(7-209), printTb(8-209), (for generator)(11-86), (for state)(11-86), (for control)(11-86), _(12-84), task(12-84), score(87-209), (for generator)(90-107), (for state)(90-107), (for control)(90-107), idx(91-105), reward(91-105), oldscore(110-166), newscore(111-166), printRewards(122-166), (for generator)(125-150), (for state)(125-150), (for control)(125-150), _(126-148), rewardprogress(126-148), str(187-193)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = EStrDBKeys[K2('RewardRecover')]
  0003  LOADK     R4 = K3 'value'
  0004  LOADK     R5 = K4 1
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  NEWTABLE  R1 = {} (0 items)
  0007  NEWTABLE  R2 = {} (0 items)
  0008  GETTABUP  R3 = _ENV[K5('ipairs')]
  0009  GETTABLE  R4 = R0[K6('m_arrTaskConfigs')]
  0010  CALL      R3 = call(R3, 3 args, 1 rets)
  0011  JMP       (jump)   -> 84
  0012  GETTABLE  R8 = R0[K7('m_mapCurInfo')]
  0013  GETTABUP  R9 = _ENV[K8('tostring')]
  0014  GETTABLE  R10 = R7[K9('task_index')]
  0015  CALL      R9 = call(R9, 1 args, 1 rets)
  0016  GETTABLE  R8 = R8[R9]
  0017  EQ        if R1 eq K10(nil)   -> -126691
  0018  JMP       (jump)   -> 84
  0019  GETTABLE  R8 = R0[K7('m_mapCurInfo')]
  0020  GETTABUP  R9 = _ENV[K8('tostring')]
  0021  GETTABLE  R10 = R7[K9('task_index')]
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  GETTABLE  R8 = R8[R9]
  0024  GETTABLE  R8 = R8[K11('score')]
  0025  GETTABLE  R9 = R7[K12('task_num')]
  0026  LE        if R0 le R8   -> -126428
  0027  JMP       (jump)   -> 84
  0028  GETTABLE  R8 = R0[K7('m_mapCurInfo')]
  0029  GETTABUP  R9 = _ENV[K8('tostring')]
  0030  GETTABLE  R10 = R7[K9('task_index')]
  0031  CALL      R9 = call(R9, 1 args, 1 rets)
  0032  GETTABLE  R8 = R8[R9]
  0033  GETTABLE  R8 = R8[K13('collected')]
  0034  TEST      if not R8 then   -> -131035
  0035  JMP       (jump)   -> 84
  0036  GETTABUP  R8 = _ENV[K14('RewardApi')]
  0037  GETTABLE  R8 = R8[K15('MergeRewards')]
  0038  MOVE      R9 = R0
  0039  GETTABLE  R10 = R7[K16('rewards')]
  0040  CALL      R8 = call(R8, 1 args, 2 rets)
  0041  MOVE      R1 = R0
  0042  GETTABUP  R8 = _ENV[K17('GameConfig')]
  0043  GETTABLE  R8 = R8[K18('IsTestMode')]
  0044  CALL      R8 = call(R8, 1 args, 0 rets)
  0045  TEST      if not R8 then   -> -131025
  0046  JMP       (jump)   -> 84
  0047  GETTABLE  R8 = R2[K19('完成情况')]
  0048  EQ        if R0 eq K10(nil)   -> -126660
  0049  JMP       (jump)   -> 52
  0050  NEWTABLE  R8 = {} (0 items)
  0051  SETTABLE  R2[K19('完成情况')] = R8
  0052  GETTABLE  R8 = R2[K19('完成情况')]
  0053  LOADK     R9 = K20 '第'
  0054  GETTABLE  R10 = R7[K21('stage')]
  0055  LOADK     R11 = K22 '天'
  0056  CONCAT    R9 = concat(R9..R9)
  0057  GETTABLE  R8 = R8[R9]
  0058  EQ        if R0 eq K10(nil)   -> -126650
  0059  JMP       (jump)   -> 67
  0060  GETTABLE  R8 = R2[K19('完成情况')]
  0061  LOADK     R9 = K20 '第'
  0062  GETTABLE  R10 = R7[K21('stage')]
  0063  LOADK     R11 = K22 '天'
  0064  CONCAT    R9 = concat(R9..R9)
  0065  NEWTABLE  R10 = {} (0 items)
  0066  SETTABLE  R8[R9] = R10
  0067  GETTABUP  R8 = _ENV[K23('table')]
  0068  GETTABLE  R8 = R8[K24('insert')]
  0069  GETTABLE  R9 = R2[K19('完成情况')]
  0070  LOADK     R10 = K20 '第'
  0071  GETTABLE  R11 = R7[K21('stage')]
  0072  LOADK     R12 = K22 '天'
  0073  CONCAT    R10 = concat(R10..R10)
  0074  GETTABLE  R9 = R9[R10]
  0075  NEWTABLE  R10 = {} (0 items)
  0076  GETTABLE  R11 = R7[K9('task_index')]
  0077  SETTABLE  R10[K25('任务id')] = R11
  0078  GETTABUP  R11 = _ENV[K27('ConfigUtil')]
  0079  GETTABLE  R11 = R11[K28('GetArrFromCurrency')]
  0080  GETTABLE  R12 = R7[K16('rewards')]
  0081  CALL      R11 = call(R11, 1 args, 1 rets)
  0082  SETTABLE  R10[K26('奖励列表')] = R11
  0083  CALL      R8 = call(R8, 0 args, 2 rets)
  0084  TFORCALL  tforcall R3
  0085  TFORLOOP  tforloop R5(sBx=-74)   -> 12
  0086  LOADK     R3 = K29 0
  0087  GETTABUP  R4 = _ENV[K5('ipairs')]
  0088  MOVE      R5 = R0
  0089  CALL      R4 = call(R4, 3 args, 1 rets)
  0090  JMP       (jump)   -> 105
  0091  GETTABUP  R9 = _ENV[K30('PROPERTY_TYPE')]
  0092  GETTABLE  R9 = R8[R9]
  0093  GETTABLE  R10 = R0[K31('m_activityDefinition')]
  0094  GETTABLE  R10 = R10[K32('ActivityTokenPropertyType')]
  0095  EQ        if R0 eq R10   -> -126357
  0096  JMP       (jump)   -> 105
  0097  GETTABUP  R9 = _ENV[K33('PROPERTY_COUNT')]
  0098  GETTABLE  R3 = R8[R9]
  0099  GETTABUP  R9 = _ENV[K23('table')]
  0100  GETTABLE  R9 = R9[K34('remove')]
  0101  MOVE      R10 = R0
  0102  MOVE      R11 = R0
  0103  CALL      R9 = call(R9, 0 args, 2 rets)
  0104  JMP       (jump)   -> 107
  0105  TFORCALL  tforcall R4
  0106  TFORLOOP  tforloop R6(sBx=-16)   -> 91
  0107  LT        if R0 lt R3   -> 14960
  0108  JMP       (jump)   -> 166
  0109  GETTABLE  R4 = R0[K35('m_score')]
  0110  ADD       R5 = R3 add R4
  0111  GETTABUP  R6 = _ENV[K17('GameConfig')]
  0112  GETTABLE  R6 = R6[K18('IsTestMode')]
  0113  CALL      R6 = call(R6, 1 args, 0 rets)
  0114  TEST      if not R6 then   -> -130956
  0115  JMP       (jump)   -> 121
  0116  NEWTABLE  R6 = {} (0 items)
  0117  SETTABLE  R6[K37('增加积分')] = R3
  0118  SETTABLE  R6[K38('原积分')] = R4
  0119  SETTABLE  R6[K39('最终积分')] = R5
  0120  SETTABLE  R2[K36('阶段奖励')] = R6
  0121  NEWTABLE  R6 = {} (0 items)
  0122  GETTABUP  R7 = _ENV[K5('ipairs')]
  0123  GETTABLE  R8 = R0[K40('m_arrRewardConfigs')]
  0124  CALL      R7 = call(R7, 3 args, 1 rets)
  0125  JMP       (jump)   -> 148
  0126  GETTABLE  R12 = R11[K41('score_num')]
  0127  LT        if R0 lt R12   -> -128883
  0128  JMP       (jump)   -> 148
  0129  GETTABLE  R12 = R11[K41('score_num')]
  0130  LE        if R0 le R5   -> -124791
  0131  JMP       (jump)   -> 148
  0132  GETTABUP  R12 = _ENV[K14('RewardApi')]
  0133  GETTABLE  R12 = R12[K15('MergeRewards')]
  0134  MOVE      R13 = R0
  0135  GETTABLE  R14 = R11[K16('rewards')]
  0136  CALL      R12 = call(R12, 1 args, 2 rets)
  0137  MOVE      R1 = R0
  0138  GETTABUP  R12 = _ENV[K17('GameConfig')]
  0139  GETTABLE  R12 = R12[K18('IsTestMode')]
  0140  CALL      R12 = call(R12, 1 args, 0 rets)
  0141  TEST      if not R12 then   -> -130929
  0142  JMP       (jump)   -> 148
  0143  GETTABUP  R12 = _ENV[K42('Table')]
  0144  GETTABLE  R12 = R12[K43('ListAppend')]
  0145  MOVE      R13 = R0
  0146  GETTABLE  R14 = R11[K16('rewards')]
  0147  CALL      R12 = call(R12, 0 args, 2 rets)
  0148  TFORCALL  tforcall R7
  0149  TFORLOOP  tforloop R9(sBx=-24)   -> 126
  0150  GETTABUP  R7 = _ENV[K17('GameConfig')]
  0151  GETTABLE  R7 = R7[K18('IsTestMode')]
  0152  CALL      R7 = call(R7, 1 args, 0 rets)
  0153  TEST      if not R7 then   -> -130917
  0154  JMP       (jump)   -> 166
  0155  GETTABUP  R7 = _ENV[K44('next')]
  0156  MOVE      R8 = R0
  0157  CALL      R7 = call(R7, 1 args, 1 rets)
  0158  TEST      if not R7 then   -> -130912
  0159  JMP       (jump)   -> 166
  0160  GETTABLE  R7 = R2[K36('阶段奖励')]
  0161  GETTABUP  R8 = _ENV[K27('ConfigUtil')]
  0162  GETTABLE  R8 = R8[K28('GetArrFromCurrency')]
  0163  MOVE      R9 = R0
  0164  CALL      R8 = call(R8, 1 args, 1 rets)
  0165  SETTABLE  R7[K26('奖励列表')] = R8
  0166  GETTABUP  R4 = _ENV[K42('Table')]
  0167  GETTABLE  R4 = R4[K45('IsEmpty')]
  0168  MOVE      R5 = R0
  0169  CALL      R4 = call(R4, 1 args, 1 rets)
  0170  TEST      if not R4 then   -> -130900
  0171  JMP       (jump)   -> 173
  0172  RETURN    return R0..R-1
  0173  GETTABUP  R4 = _ENV[K17('GameConfig')]
  0174  GETTABLE  R4 = R4[K18('IsTestMode')]
  0175  CALL      R4 = call(R4, 1 args, 0 rets)
  0176  TEST      if not R4 then   -> -130894
  0177  JMP       (jump)   -> 193
  0178  GETTABUP  R4 = _ENV[K27('ConfigUtil')]
  0179  GETTABLE  R4 = R4[K28('GetArrFromCurrency')]
  0180  MOVE      R5 = R0
  0181  CALL      R4 = call(R4, 1 args, 1 rets)
  0182  SETTABLE  R2[K46('合集发奖')] = R4
  0183  GETTABUP  R4 = _ENV[K47('Log')]
  0184  GETTABLE  R4 = R4[K48('GetTableFormatStr')]
  0185  MOVE      R5 = R0
  0186  CALL      R4 = call(R4, 1 args, 1 rets)
  0187  GETTABUP  R5 = _ENV[K47('Log')]
  0188  GETTABLE  R5 = R5[K49('Debug')]
  0189  LOADK     R6 = K50 '[周活跃任务补发奖励]\n'
  0190  MOVE      R7 = R0
  0191  CONCAT    R6 = concat(R6..R6)
  0192  CALL      R5 = call(R5, 0 args, 1 rets)
  0193  GETTABUP  R4 = _ENV[K14('RewardApi')]
  0194  GETTABLE  R4 = R4[K51('AcquireRewardsLogic')]
  0195  MOVE      R5 = R0
  0196  GETTABUP  R6 = _ENV[K52('EPropertySource')]
  0197  GETTABLE  R6 = R6[K53('Give')]
  0198  GETTABLE  R7 = R0[K31('m_activityDefinition')]
  0199  GETTABLE  R7 = R7[K54('RecoverRewardBIType')]
  0200  GETTABUP  R8 = _ENV[K55('ERewardScene')]
  0201  GETTABLE  R8 = R8[K56('Other')]
  0202  GETTABUP  R9 = _ENV[K57('EGameMode')]
  0203  GETTABLE  R9 = R9[K58('Board')]
  0204  GETTABUP  R10 = _ENV[K59('CacheItemType')]
  0205  GETTABLE  R10 = R10[K60('Stack')]
  0206  CALL      R4 = call(R4, 0 args, 6 rets)
  0207  RETURN    return R1..R0
  0208  RETURN    return R0..R-1
; ---------- proto51 [GetActiveWeeklyActiveQuest] ----------
  ; fn ?  line 794-802 np=0 va=0 ms=8 code=29 consts=9 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='WeeklyActiveQuestDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='GetState'
  ;   K[6]='ActivityState'
  ;   K[7]='Started'
  ;   K[8]='Ended'
  ;   upvals: _ENV
  ;   locals: (for generator)(3-26), (for state)(3-26), (for control)(3-26), activityType(4-24), definition(4-24), model(9-24)
  0000  GETTABUP  R0 = _ENV[K0('pairs')]
  0001  GETTABUP  R1 = _ENV[K1('WeeklyActiveQuestDefinition')]
  0002  CALL      R0 = call(R0, 3 args, 1 rets)
  0003  JMP       (jump)   -> 24
  0004  GETTABUP  R5 = _ENV[K2('GM')]
  0005  GETTABLE  R5 = R5[K3('ActivityManager')]
  0006  SELF      R6 = R5[K4('GetModel')] (self)
  0007  MOVE      R7 = R0
  0008  CALL      R5 = call(R5, 1 args, 2 rets)
  0009  SELF      R7 = R5[K5('GetState')] (self)
  0010  CALL      R6 = call(R6, 1 args, 1 rets)
  0011  GETTABUP  R7 = _ENV[K6('ActivityState')]
  0012  GETTABLE  R7 = R7[K7('Started')]
  0013  EQ        if R1 eq R7   -> -127978
  0014  JMP       (jump)   -> 21
  0015  SELF      R7 = R5[K5('GetState')] (self)
  0016  CALL      R6 = call(R6, 1 args, 1 rets)
  0017  GETTABUP  R7 = _ENV[K6('ActivityState')]
  0018  GETTABLE  R7 = R7[K8('Ended')]
  0019  EQ        if R0 eq R7   -> -127972
  0020  JMP       (jump)   -> 24
  0021  MOVE      R6 = R0
  0022  MOVE      R7 = R0
  0023  RETURN    return R6..R5
  0024  TFORCALL  tforcall R0
  0025  TFORLOOP  tforloop R2(sBx=-22)   -> 4
  0026  LOADNIL   R0..R0 = nil
  0027  RETURN    return R0..R-1
  0028  RETURN    return R0..R-1
; ---------- proto52 [GetButtonTarget] ----------
  ; fn ?  line 804-818 np=1 va=0 ms=11 code=36 consts=12 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='WeeklyActiveQuestDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]=nil
  ;   K[6]='CanShowIcon'
  ;   K[7]='ActivityTokenPropertyType'
  ;   K[8]='UIManager'
  ;   K[9]='GetOpenedViewByName'
  ;   K[10]='MainWindowPrefabName'
  ;   K[11]='GetFlyPoint'
  ;   upvals: _ENV
  ;   locals: propertyType(0-36), actModel(1-36), mainWindow(1-36), (for generator)(4-33), (for state)(4-33), (for control)(4-33), actType(5-31), activityDefinition(5-31)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R3 = _ENV[K0('pairs')]
  0002  GETTABUP  R4 = _ENV[K1('WeeklyActiveQuestDefinition')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 31
  0005  GETTABUP  R8 = _ENV[K2('GM')]
  0006  GETTABLE  R8 = R8[K3('ActivityManager')]
  0007  SELF      R9 = R8[K4('GetModel')] (self)
  0008  MOVE      R10 = R0
  0009  CALL      R8 = call(R8, 1 args, 2 rets)
  0010  MOVE      R1 = R0
  0011  EQ        if R1 eq K5(nil)   -> -130286
  0012  JMP       (jump)   -> 31
  0013  SELF      R9 = R1[K6('CanShowIcon')] (self)
  0014  CALL      R8 = call(R8, 1 args, 1 rets)
  0015  TEST      if not R8 then   -> -131055
  0016  JMP       (jump)   -> 31
  0017  GETTABLE  R8 = R7[K7('ActivityTokenPropertyType')]
  0018  EQ        if R0 eq R0   -> -126956
  0019  JMP       (jump)   -> 31
  0020  GETTABUP  R8 = _ENV[K2('GM')]
  0021  GETTABLE  R8 = R8[K8('UIManager')]
  0022  SELF      R9 = R8[K9('GetOpenedViewByName')] (self)
  0023  GETTABLE  R10 = R7[K10('MainWindowPrefabName')]
  0024  CALL      R8 = call(R8, 1 args, 2 rets)
  0025  MOVE      R2 = R0
  0026  EQ        if R1 eq K5(nil)   -> -129759
  0027  JMP       (jump)   -> 31
  0028  SELF      R9 = R2[K11('GetFlyPoint')] (self)
  0029  TAILCALL  tailcall(R8, 0)
  0030  RETURN    return R8..R7
  0031  TFORCALL  tforcall R3
  0032  TFORLOOP  tforloop R5(sBx=-28)   -> 5
  0033  LOADNIL   R3..R3 = nil
  0034  RETURN    return R3..R2
  0035  RETURN    return R0..R-1
