# Model_Activity_ActivityManager_149.luac
; fn @ActivityManager.lua  line 0-0 np=0 va=1 ms=4 code=110 consts=38 upvals=1 protos=35
;   K[0]='ActivityManager'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='Destroy'
;   K[4]='ApplicationDidEnterBackground'
;   K[5]='ApplicationWillEnterForeground'
;   K[6]='LoadServerConfig'
;   K[7]='OnSyncDataFinished'
;   K[8]='OnLeaveGame'
;   K[9]='RefreshEndWindowSkipFlag'
;   K[10]='_GetSkipEndWindowThresholdInSeconds'
;   K[11]='_OnLongAwayReturn'
;   K[12]='LateInit'
;   K[13]='Update'
;   K[14]='UpdatePerSecond'
;   K[15]='OnCheckResourcesFinished'
;   K[16]='AddModel'
;   K[17]='GetModel'
;   K[18]='GetModels'
;   K[19]='FromHeartBeat'
;   K[20]='ToHeartBeat'
;   K[21]='GetResourceLabels'
;   K[22]='RestoreIapRewards'
;   K[23]='_OnCollectGold'
;   K[24]='_OnOrderFinished'
;   K[25]='OnActivityStarted'
;   K[26]='OnActivityFinished'
;   K[27]='_UpdateReleasedActivitiesState'
;   K[28]='GetOneActivityModel'
;   K[29]='GetOneActiveModel'
;   K[30]='ActivityManager'
;   K[31]='GetAllOrderDayRelatedActivityDefition'
;   K[32]='_OnRewardValidChangedForActivity'
;   K[33]='CheckActivityStateInTestMode'
;   K[34]='ActivityManager'
;   K[35]='InvokeFuncByTopologicalSort'
;   K[36]='GetTopologicalTypeArray'
;   K[37]='GetSortedValidActivities'
;   upvals: _ENV
;   locals: _IsLaterActiveModel(87-110), AllOrderDayRelatedActivityDefition(91-110)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ActivityManager')] = R0
0002  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0003  GETTABUP  R1 = _ENV[K0('ActivityManager')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Destroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('ApplicationDidEnterBackground')] = R1
0014  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('ApplicationWillEnterForeground')] = R1
0017  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('LoadServerConfig')] = R1
0020  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('OnSyncDataFinished')] = R1
0023  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('OnLeaveGame')] = R1
0026  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('RefreshEndWindowSkipFlag')] = R1
0029  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('_GetSkipEndWindowThresholdInSeconds')] = R1
0032  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('_OnLongAwayReturn')] = R1
0035  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('LateInit')] = R1
0038  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('Update')] = R1
0041  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('UpdatePerSecond')] = R1
0044  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('OnCheckResourcesFinished')] = R1
0047  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0048  CLOSURE   R1 = closure proto14
0049  SETTABLE  R0[K16('AddModel')] = R1
0050  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0051  CLOSURE   R1 = closure proto15
0052  SETTABLE  R0[K17('GetModel')] = R1
0053  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0054  CLOSURE   R1 = closure proto16
0055  SETTABLE  R0[K18('GetModels')] = R1
0056  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0057  CLOSURE   R1 = closure proto17
0058  SETTABLE  R0[K19('FromHeartBeat')] = R1
0059  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0060  CLOSURE   R1 = closure proto18
0061  SETTABLE  R0[K20('ToHeartBeat')] = R1
0062  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0063  CLOSURE   R1 = closure proto19
0064  SETTABLE  R0[K21('GetResourceLabels')] = R1
0065  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0066  CLOSURE   R1 = closure proto20
0067  SETTABLE  R0[K22('RestoreIapRewards')] = R1
0068  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0069  CLOSURE   R1 = closure proto21
0070  SETTABLE  R0[K23('_OnCollectGold')] = R1
0071  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0072  CLOSURE   R1 = closure proto22
0073  SETTABLE  R0[K24('_OnOrderFinished')] = R1
0074  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0075  CLOSURE   R1 = closure proto23
0076  SETTABLE  R0[K25('OnActivityStarted')] = R1
0077  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0078  CLOSURE   R1 = closure proto24
0079  SETTABLE  R0[K26('OnActivityFinished')] = R1
0080  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0081  CLOSURE   R1 = closure proto25
0082  SETTABLE  R0[K27('_UpdateReleasedActivitiesState')] = R1
0083  GETTABUP  R0 = _ENV[K0('ActivityManager')]
0084  CLOSURE   R1 = closure proto26
0085  SETTABLE  R0[K28('GetOneActivityModel')] = R1
0086  CLOSURE   R0 = closure proto27
0087  GETTABUP  R1 = _ENV[K0('ActivityManager')]
0088  CLOSURE   R2 = closure proto28
0089  SETTABLE  R1[K29('GetOneActiveModel')] = R2
0090  LOADNIL   R1..R1 = nil
0091  GETTABUP  R2 = _ENV[K30('ActivityManager')]
0092  CLOSURE   R3 = closure proto29
0093  SETTABLE  R2[K31('GetAllOrderDayRelatedActivityDefition')] = R3
0094  GETTABUP  R2 = _ENV[K30('ActivityManager')]
0095  CLOSURE   R3 = closure proto30
0096  SETTABLE  R2[K32('_OnRewardValidChangedForActivity')] = R3
0097  GETTABUP  R2 = _ENV[K30('ActivityManager')]
0098  CLOSURE   R3 = closure proto31
0099  SETTABLE  R2[K33('CheckActivityStateInTestMode')] = R3
0100  GETTABUP  R2 = _ENV[K34('ActivityManager')]
0101  CLOSURE   R3 = closure proto32
0102  SETTABLE  R2[K35('InvokeFuncByTopologicalSort')] = R3
0103  GETTABUP  R2 = _ENV[K34('ActivityManager')]
0104  CLOSURE   R3 = closure proto33
0105  SETTABLE  R2[K36('GetTopologicalTypeArray')] = R3
0106  GETTABUP  R2 = _ENV[K34('ActivityManager')]
0107  CLOSURE   R3 = closure proto34
0108  SETTABLE  R2[K37('GetSortedValidActivities')] = R3
0109  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-53 np=1 va=0 ms=33 code=84 consts=55 upvals=1 protos=0
  ;   K[0]='ActivityDefinitions'
  ;   K[1]='CoinRaceActivityDefinition'
  ;   K[2]='PkRaceDefinition'
  ;   K[3]='CrashRaceDefinition'
  ;   K[4]='BigDayRaceDefinition'
  ;   K[5]='PassActivityDefinition'
  ;   K[6]='DigActivityDefinition'
  ;   K[7]='ProgressActivityDefinition'
  ;   K[8]='ExtraBoardActivityDefinition'
  ;   K[9]='AdventureBoardDefinition'
  ;   K[10]='AlbumActivityDefinition'
  ;   K[11]='LimitAlbumDefinition'
  ;   K[12]='MultiRankDefinition'
  ;   K[13]='WeeklyRankDefinition'
  ;   K[14]='WeeklyActiveQuestDefinition'
  ;   K[15]='DailyActiveQuestDefinition'
  ;   K[16]='DeliveryProgressActivityDefinition'
  ;   K[17]='BlockActivityDefinition'
  ;   K[18]='UpgradeRaceActivityDefinition'
  ;   K[19]='ChestCustomerActivityDefinition'
  ;   K[20]='TimeLimitedProgressActivityDefinition'
  ;   K[21]='FrameDecoActivityDefinition'
  ;   K[22]='OrdersNonstopDefinition'
  ;   K[23]='PairRaceActivityDefinition'
  ;   K[24]='LuckyBlastActivityDefinition'
  ;   K[25]='ChestNonstopActivityDefinition'
  ;   K[26]='RecipeCollectActivityDefinition'
  ;   K[27]='CrownLevelUpDefinition'
  ;   K[28]='TokenBubbleDefinition'
  ;   K[29]='IceComboDefinition'
  ;   K[30]='LineRaceActivityDefinition'
  ;   K[31]='DoubleWheelActivityDefinition'
  ;   K[32]='VIRTUAL_DEFINE_SYNC_DATA'
  ;   K[33]='GeneralData'
  ;   K[34]='GM'
  ;   K[35]='DBTableManager'
  ;   K[36]='GetTable'
  ;   K[37]='EDBTableConfigs'
  ;   K[38]='Activity'
  ;   K[39]='EventActivityData'
  ;   K[40]='WeddingDay'
  ;   K[41]='ModelHelper'
  ;   K[42]='DefineBoolEvent'
  ;   K[43]='IsSendingRankRequest'
  ;   K[44]='CanHeartBeat'
  ;   K[45]='EventDispatcher'
  ;   K[46]='AddListener'
  ;   K[47]='EEventType'
  ;   K[48]='CollectGold'
  ;   K[49]='_OnCollectGold'
  ;   K[50]='OrderFinished'
  ;   K[51]='_OnOrderFinished'
  ;   K[52]='RewardApi'
  ;   K[53]='AddRewardValidChangedEventListenerForActivity'
  ;   K[54]='_OnRewardValidChangedForActivity'
  ;   upvals: _ENV
  ;   locals: self(0-84)
  0000  NEWTABLE  R1 = {} (24 items)
  0001  GETTABUP  R2 = _ENV[K1('CoinRaceActivityDefinition')]
  0002  GETTABUP  R3 = _ENV[K2('PkRaceDefinition')]
  0003  GETTABUP  R4 = _ENV[K3('CrashRaceDefinition')]
  0004  GETTABUP  R5 = _ENV[K4('BigDayRaceDefinition')]
  0005  GETTABUP  R6 = _ENV[K5('PassActivityDefinition')]
  0006  GETTABUP  R7 = _ENV[K6('DigActivityDefinition')]
  0007  GETTABUP  R8 = _ENV[K7('ProgressActivityDefinition')]
  0008  GETTABUP  R9 = _ENV[K8('ExtraBoardActivityDefinition')]
  0009  GETTABUP  R10 = _ENV[K9('AdventureBoardDefinition')]
  0010  GETTABUP  R11 = _ENV[K10('AlbumActivityDefinition')]
  0011  GETTABUP  R12 = _ENV[K11('LimitAlbumDefinition')]
  0012  GETTABUP  R13 = _ENV[K12('MultiRankDefinition')]
  0013  GETTABUP  R14 = _ENV[K13('WeeklyRankDefinition')]
  0014  GETTABUP  R15 = _ENV[K14('WeeklyActiveQuestDefinition')]
  0015  GETTABUP  R16 = _ENV[K15('DailyActiveQuestDefinition')]
  0016  GETTABUP  R17 = _ENV[K16('DeliveryProgressActivityDefinition')]
  0017  GETTABUP  R18 = _ENV[K17('BlockActivityDefinition')]
  0018  GETTABUP  R19 = _ENV[K18('UpgradeRaceActivityDefinition')]
  0019  GETTABUP  R20 = _ENV[K19('ChestCustomerActivityDefinition')]
  0020  GETTABUP  R21 = _ENV[K20('TimeLimitedProgressActivityDefinition')]
  0021  GETTABUP  R22 = _ENV[K21('FrameDecoActivityDefinition')]
  0022  GETTABUP  R23 = _ENV[K22('OrdersNonstopDefinition')]
  0023  GETTABUP  R24 = _ENV[K23('PairRaceActivityDefinition')]
  0024  GETTABUP  R25 = _ENV[K24('LuckyBlastActivityDefinition')]
  0025  GETTABUP  R26 = _ENV[K25('ChestNonstopActivityDefinition')]
  0026  GETTABUP  R27 = _ENV[K26('RecipeCollectActivityDefinition')]
  0027  GETTABUP  R28 = _ENV[K27('CrownLevelUpDefinition')]
  0028  GETTABUP  R29 = _ENV[K28('TokenBubbleDefinition')]
  0029  GETTABUP  R30 = _ENV[K29('IceComboDefinition')]
  0030  GETTABUP  R31 = _ENV[K30('LineRaceActivityDefinition')]
  0031  GETTABUP  R32 = _ENV[K31('DoubleWheelActivityDefinition')]
  0032  SETLIST   setlist R1[B=1,C=31]
  0033  SETTABUP  _ENV[K0('ActivityDefinitions')] = R1
  0034  GETTABUP  R1 = _ENV[K32('VIRTUAL_DEFINE_SYNC_DATA')]
  0035  MOVE      R2 = R0
  0036  LOADK     R3 = K33 'GeneralData'
  0037  GETTABUP  R4 = _ENV[K34('GM')]
  0038  GETTABLE  R4 = R4[K35('DBTableManager')]
  0039  SELF      R5 = R4[K36('GetTable')] (self)
  0040  GETTABUP  R6 = _ENV[K37('EDBTableConfigs')]
  0041  GETTABLE  R6 = R6[K38('Activity')]
  0042  CALL      R4 = call(R4, -1 args, 2 rets)
  0043  CALL      R1 = call(R1, 0 args, -1 rets)
  0044  GETTABUP  R1 = _ENV[K32('VIRTUAL_DEFINE_SYNC_DATA')]
  0045  MOVE      R2 = R0
  0046  LOADK     R3 = K39 'EventActivityData'
  0047  GETTABUP  R4 = _ENV[K34('GM')]
  0048  GETTABLE  R4 = R4[K35('DBTableManager')]
  0049  SELF      R5 = R4[K36('GetTable')] (self)
  0050  GETTABUP  R6 = _ENV[K37('EDBTableConfigs')]
  0051  GETTABLE  R6 = R6[K40('WeddingDay')]
  0052  CALL      R4 = call(R4, -1 args, 2 rets)
  0053  CALL      R1 = call(R1, 0 args, -1 rets)
  0054  GETTABUP  R1 = _ENV[K41('ModelHelper')]
  0055  GETTABLE  R1 = R1[K42('DefineBoolEvent')]
  0056  MOVE      R2 = R0
  0057  LOADK     R3 = K43 'IsSendingRankRequest'
  0058  CALL      R1 = call(R1, 0 args, 2 rets)
  0059  GETTABUP  R1 = _ENV[K41('ModelHelper')]
  0060  GETTABLE  R1 = R1[K42('DefineBoolEvent')]
  0061  MOVE      R2 = R0
  0062  LOADK     R3 = K44 'CanHeartBeat'
  0063  CALL      R1 = call(R1, 0 args, 2 rets)
  0064  GETTABUP  R1 = _ENV[K45('EventDispatcher')]
  0065  GETTABLE  R1 = R1[K46('AddListener')]
  0066  GETTABUP  R2 = _ENV[K47('EEventType')]
  0067  GETTABLE  R2 = R2[K48('CollectGold')]
  0068  MOVE      R3 = R0
  0069  GETTABLE  R4 = R0[K49('_OnCollectGold')]
  0070  CALL      R1 = call(R1, 0 args, 3 rets)
  0071  GETTABUP  R1 = _ENV[K45('EventDispatcher')]
  0072  GETTABLE  R1 = R1[K46('AddListener')]
  0073  GETTABUP  R2 = _ENV[K47('EEventType')]
  0074  GETTABLE  R2 = R2[K50('OrderFinished')]
  0075  MOVE      R3 = R0
  0076  GETTABLE  R4 = R0[K51('_OnOrderFinished')]
  0077  CALL      R1 = call(R1, 0 args, 3 rets)
  0078  GETTABUP  R1 = _ENV[K52('RewardApi')]
  0079  GETTABLE  R1 = R1[K53('AddRewardValidChangedEventListenerForActivity')]
  0080  MOVE      R2 = R0
  0081  GETTABLE  R3 = R0[K54('_OnRewardValidChangedForActivity')]
  0082  CALL      R1 = call(R1, 0 args, 2 rets)
  0083  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 55-63 np=1 va=0 ms=8 code=18 consts=7 upvals=1 protos=0
  ;   K[0]='m_arrModels'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]='Destroy'
  ;   K[4]='OnLeaveGame'
  ;   K[5]='EventDispatcher'
  ;   K[6]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-18), (for generator)(6-11), (for state)(6-11), (for control)(6-11), _(7-9), model(7-9)
  0000  GETTABLE  R1 = R0[K0('m_arrModels')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 11
  0003  GETTABUP  R1 = _ENV[K2('ipairs')]
  0004  GETTABLE  R2 = R0[K0('m_arrModels')]
  0005  CALL      R1 = call(R1, 3 args, 1 rets)
  0006  JMP       (jump)   -> 9
  0007  SELF      R7 = R5[K3('Destroy')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  TFORCALL  tforcall R1
  0010  TFORLOOP  tforloop R3(sBx=-4)   -> 7
  0011  SELF      R2 = R0[K4('OnLeaveGame')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  GETTABUP  R1 = _ENV[K5('EventDispatcher')]
  0014  GETTABLE  R1 = R1[K6('RemoveTarget')]
  0015  MOVE      R2 = R0
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto2 [ApplicationDidEnterBackground] ----------
  ; fn ?  line 65-67 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='OnLeaveGame'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('OnLeaveGame')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto3 [ApplicationWillEnterForeground] ----------
  ; fn ?  line 69-71 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='RefreshEndWindowSkipFlag'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('RefreshEndWindowSkipFlag')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto4 [LoadServerConfig] ----------
  ; fn ?  line 73-77 np=1 va=0 ms=4 code=7 consts=5 upvals=0 protos=0
  ;   K[0]='m_topologicalTypeArray'
  ;   K[1]=nil
  ;   K[2]='InvokeFuncByTopologicalSort'
  ;   K[3]='LoadServerConfig'
  ;   K[4]='CheckActivityStateInTestMode'
  ;   locals: self(0-7)
  0000  SETTABLE  R0[K0('m_topologicalTypeArray')] = K1(nil)
  0001  SELF      R2 = R0[K2('InvokeFuncByTopologicalSort')] (self)
  0002  LOADK     R3 = K3 'LoadServerConfig'
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  SELF      R2 = R0[K4('CheckActivityStateInTestMode')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [OnSyncDataFinished] ----------
  ; fn ?  line 79-87 np=1 va=0 ms=8 code=19 consts=8 upvals=1 protos=0
  ;   K[0]='m_models'
  ;   K[1]='m_arrModels'
  ;   K[2]='ipairs'
  ;   K[3]='ActivityTypeSequence'
  ;   K[4]='ActivityModelFactory'
  ;   K[5]='AddModel'
  ;   K[6]='CheckActivityStateInTestMode'
  ;   K[7]='RefreshEndWindowSkipFlag'
  ;   upvals: _ENV
  ;   locals: self(0-19), (for generator)(7-14), (for state)(7-14), (for control)(7-14), _(8-12), type(8-12)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_models')] = R1
  0002  NEWTABLE  R1 = {} (0 items)
  0003  SETTABLE  R0[K1('m_arrModels')] = R1
  0004  GETTABUP  R1 = _ENV[K2('ipairs')]
  0005  GETTABUP  R2 = _ENV[K3('ActivityTypeSequence')]
  0006  CALL      R1 = call(R1, 3 args, 1 rets)
  0007  JMP       (jump)   -> 12
  0008  GETTABUP  R6 = _ENV[K4('ActivityModelFactory')]
  0009  GETTABLE  R6 = R6[K5('AddModel')]
  0010  MOVE      R7 = R0
  0011  CALL      R6 = call(R6, 0 args, 1 rets)
  0012  TFORCALL  tforcall R1
  0013  TFORLOOP  tforloop R3(sBx=-6)   -> 8
  0014  SELF      R2 = R0[K6('CheckActivityStateInTestMode')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  SELF      R2 = R0[K7('RefreshEndWindowSkipFlag')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto6 [OnLeaveGame] ----------
  ; fn ?  line 89-101 np=1 va=0 ms=6 code=35 consts=13 upvals=1 protos=0
  ;   K[0]='_GetSkipEndWindowThresholdInSeconds'
  ;   K[1]='PlayerPrefs'
  ;   K[2]='GetString'
  ;   K[3]='EPlayerPrefKey'
  ;   K[4]='LastLeaveGameTime'
  ;   K[5]=''
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='HasServerTime'
  ;   K[9]='SetString'
  ;   K[10]='tostring'
  ;   K[11]='GetServerTime'
  ;   K[12]='Save'
  ;   upvals: _ENV
  ;   locals: self(0-35)
  0000  SELF      R2 = R0[K0('_GetSkipEndWindowThresholdInSeconds')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R1 = _ENV[K1('PlayerPrefs')]
  0006  GETTABLE  R1 = R1[K2('GetString')]
  0007  GETTABUP  R2 = _ENV[K3('EPlayerPrefKey')]
  0008  GETTABLE  R2 = R2[K4('LastLeaveGameTime')]
  0009  LOADK     R3 = K5 ''
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  EQ        if R1 eq K5('')   -> -130286
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  GETTABUP  R1 = _ENV[K6('GM')]
  0015  GETTABLE  R1 = R1[K7('GameModel')]
  0016  SELF      R2 = R1[K8('HasServerTime')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131052
  0019  JMP       (jump)   -> 34
  0020  GETTABUP  R1 = _ENV[K1('PlayerPrefs')]
  0021  GETTABLE  R1 = R1[K9('SetString')]
  0022  GETTABUP  R2 = _ENV[K3('EPlayerPrefKey')]
  0023  GETTABLE  R2 = R2[K4('LastLeaveGameTime')]
  0024  GETTABUP  R3 = _ENV[K10('tostring')]
  0025  GETTABUP  R4 = _ENV[K6('GM')]
  0026  GETTABLE  R4 = R4[K7('GameModel')]
  0027  SELF      R5 = R4[K11('GetServerTime')] (self)
  0028  CALL      R4 = call(R4, -1 args, 1 rets)
  0029  CALL      R3 = call(R3, -1 args, -1 rets)
  0030  CALL      R1 = call(R1, 0 args, -1 rets)
  0031  GETTABUP  R1 = _ENV[K1('PlayerPrefs')]
  0032  GETTABLE  R1 = R1[K12('Save')]
  0033  CALL      R1 = call(R1, 0 args, 0 rets)
  0034  RETURN    return R0..R-1
; ---------- proto7 [RefreshEndWindowSkipFlag] ----------
  ; fn ?  line 104-138 np=1 va=0 ms=16 code=94 consts=28 upvals=1 protos=0
  ;   K[0]='_GetSkipEndWindowThresholdInSeconds'
  ;   K[1]='PlayerPrefs'
  ;   K[2]='GetString'
  ;   K[3]='EPlayerPrefKey'
  ;   K[4]='LastLeaveGameTime'
  ;   K[5]=''
  ;   K[6]='DeleteKey'
  ;   K[7]='Save'
  ;   K[8]='tonumber'
  ;   K[9]='GM'
  ;   K[10]='GameModel'
  ;   K[11]='HasServerTime'
  ;   K[12]='GetServerTime'
  ;   K[13]='Log'
  ;   K[14]='Info'
  ;   K[15]='[跳过结束界面] 离开时间：'
  ;   K[16]='tostring'
  ;   K[17]='TimeUtil'
  ;   K[18]='ToDate'
  ;   K[19]='ETimeFormat'
  ;   K[20]='UTCYMDHMS'
  ;   K[21]='，回归时间：'
  ;   K[22]='，离开时长：'
  ;   K[23]=60
  ;   K[24]='，配置阈值：'
  ;   K[25]='，单位：分钟'
  ;   K[26]=0
  ;   K[27]='_OnLongAwayReturn'
  ;   upvals: _ENV
  ;   locals: self(0-94), threshold(2-94), lastStr(27-94), lastTime(41-94), nowTime(55-94), awayDuration(56-94)
  0000  SELF      R2 = R0[K0('_GetSkipEndWindowThresholdInSeconds')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 21
  0004  GETTABUP  R2 = _ENV[K1('PlayerPrefs')]
  0005  GETTABLE  R2 = R2[K2('GetString')]
  0006  GETTABUP  R3 = _ENV[K3('EPlayerPrefKey')]
  0007  GETTABLE  R3 = R3[K4('LastLeaveGameTime')]
  0008  LOADK     R4 = K5 ''
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  EQ        if R1 eq K5('')   -> -129775
  0011  JMP       (jump)   -> 20
  0012  GETTABUP  R2 = _ENV[K1('PlayerPrefs')]
  0013  GETTABLE  R2 = R2[K6('DeleteKey')]
  0014  GETTABUP  R3 = _ENV[K3('EPlayerPrefKey')]
  0015  GETTABLE  R3 = R3[K4('LastLeaveGameTime')]
  0016  CALL      R2 = call(R2, 0 args, 1 rets)
  0017  GETTABUP  R2 = _ENV[K1('PlayerPrefs')]
  0018  GETTABLE  R2 = R2[K7('Save')]
  0019  CALL      R2 = call(R2, 0 args, 0 rets)
  0020  RETURN    return R0..R-1
  0021  GETTABUP  R2 = _ENV[K1('PlayerPrefs')]
  0022  GETTABLE  R2 = R2[K2('GetString')]
  0023  GETTABUP  R3 = _ENV[K3('EPlayerPrefKey')]
  0024  GETTABLE  R3 = R3[K4('LastLeaveGameTime')]
  0025  LOADK     R4 = K5 ''
  0026  CALL      R2 = call(R2, 1 args, 2 rets)
  0027  EQ        if R0 eq K5('')   -> -129758
  0028  JMP       (jump)   -> 30
  0029  RETURN    return R0..R-1
  0030  GETTABUP  R3 = _ENV[K1('PlayerPrefs')]
  0031  GETTABLE  R3 = R3[K6('DeleteKey')]
  0032  GETTABUP  R4 = _ENV[K3('EPlayerPrefKey')]
  0033  GETTABLE  R4 = R4[K4('LastLeaveGameTime')]
  0034  CALL      R3 = call(R3, 0 args, 1 rets)
  0035  GETTABUP  R3 = _ENV[K1('PlayerPrefs')]
  0036  GETTABLE  R3 = R3[K7('Save')]
  0037  CALL      R3 = call(R3, 0 args, 0 rets)
  0038  GETTABUP  R3 = _ENV[K8('tonumber')]
  0039  MOVE      R4 = R0
  0040  CALL      R3 = call(R3, 1 args, 1 rets)
  0041  TEST      if not R3 then   -> -131028
  0042  JMP       (jump)   -> 44
  0043  RETURN    return R0..R-1
  0044  GETTABUP  R4 = _ENV[K9('GM')]
  0045  GETTABLE  R4 = R4[K10('GameModel')]
  0046  SELF      R5 = R4[K11('HasServerTime')] (self)
  0047  CALL      R4 = call(R4, 1 args, 1 rets)
  0048  TEST      if not R4 then   -> -131021
  0049  JMP       (jump)   -> 51
  0050  RETURN    return R0..R-1
  0051  GETTABUP  R4 = _ENV[K9('GM')]
  0052  GETTABLE  R4 = R4[K10('GameModel')]
  0053  SELF      R5 = R4[K12('GetServerTime')] (self)
  0054  CALL      R4 = call(R4, 1 args, 1 rets)
  0055  SUB       R5 = R3 sub R4
  0056  GETTABUP  R6 = _ENV[K13('Log')]
  0057  GETTABLE  R6 = R6[K14('Info')]
  0058  LOADK     R7 = K15 '[跳过结束界面] 离开时间：'
  0059  GETTABUP  R8 = _ENV[K16('tostring')]
  0060  GETTABUP  R9 = _ENV[K17('TimeUtil')]
  0061  GETTABLE  R9 = R9[K18('ToDate')]
  0062  MOVE      R10 = R0
  0063  GETTABUP  R11 = _ENV[K19('ETimeFormat')]
  0064  GETTABLE  R11 = R11[K20('UTCYMDHMS')]
  0065  CALL      R9 = call(R9, -1 args, 2 rets)
  0066  CALL      R8 = call(R8, 1 args, -1 rets)
  0067  LOADK     R9 = K21 '，回归时间：'
  0068  GETTABUP  R10 = _ENV[K16('tostring')]
  0069  GETTABUP  R11 = _ENV[K17('TimeUtil')]
  0070  GETTABLE  R11 = R11[K18('ToDate')]
  0071  MOVE      R12 = R0
  0072  GETTABUP  R13 = _ENV[K19('ETimeFormat')]
  0073  GETTABLE  R13 = R13[K20('UTCYMDHMS')]
  0074  CALL      R11 = call(R11, -1 args, 2 rets)
  0075  CALL      R10 = call(R10, 1 args, -1 rets)
  0076  LOADK     R11 = K22 '，离开时长：'
  0077  GETTABUP  R12 = _ENV[K16('tostring')]
  0078  DIV       R13 = K23(60) div R5
  0079  CALL      R12 = call(R12, 1 args, 1 rets)
  0080  LOADK     R13 = K24 '，配置阈值：'
  0081  GETTABUP  R14 = _ENV[K16('tostring')]
  0082  DIV       R15 = K23(60) div R1
  0083  CALL      R14 = call(R14, 1 args, 1 rets)
  0084  LOADK     R15 = K25 '，单位：分钟'
  0085  CONCAT    R7 = concat(R7..R7)
  0086  CALL      R6 = call(R6, 0 args, 1 rets)
  0087  LT        if R0 lt R1   -> 13402
  0088  JMP       (jump)   -> 93
  0089  LE        if R0 le R5   -> -130464
  0090  JMP       (jump)   -> 93
  0091  SELF      R7 = R0[K27('_OnLongAwayReturn')] (self)
  0092  CALL      R6 = call(R6, 0 args, 1 rets)
  0093  RETURN    return R0..R-1
; ---------- proto8 [_GetSkipEndWindowThresholdInSeconds] ----------
  ; fn ?  line 141-147 np=1 va=0 ms=5 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ConfigModel'
  ;   K[2]='GetGeneralConfByType'
  ;   K[3]='EGeneralConfType'
  ;   K[4]='SkipEndWindowLeaveTime'
  ;   K[5]='EConfigParamType'
  ;   K[6]='Int'
  ;   K[7]=0
  ;   K[8]=60
  ;   upvals: _ENV
  ;   locals: self(0-18), threshold(11-18)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ConfigModel')]
  0002  SELF      R2 = R1[K2('GetGeneralConfByType')] (self)
  0003  GETTABUP  R3 = _ENV[K3('EGeneralConfType')]
  0004  GETTABLE  R3 = R3[K4('SkipEndWindowLeaveTime')]
  0005  GETTABUP  R4 = _ENV[K5('EConfigParamType')]
  0006  GETTABLE  R4 = R4[K6('Int')]
  0007  CALL      R1 = call(R1, 1 args, 3 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R1 = K7 0
  0011  LE        if R0 le K7(0)   -> -130284
  0012  JMP       (jump)   -> 15
  0013  LOADNIL   R2..R2 = nil
  0014  RETURN    return R2..R1
  0015  MUL       R2 = K8(60) mul R1
  0016  RETURN    return R2..R1
  0017  RETURN    return R0..R-1
; ---------- proto9 [_OnLongAwayReturn] ----------
  ; fn ?  line 149-155 np=1 va=0 ms=8 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrModels'
  ;   K[2]='OnLongAwayReturn'
  ;   upvals: _ENV
  ;   locals: self(0-12), (for generator)(3-11), (for state)(3-11), (for control)(3-11), _(4-9), model(4-9)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_arrModels')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 9
  0004  GETTABLE  R6 = R5[K2('OnLongAwayReturn')]
  0005  TEST      if not R6 then   -> -131065
  0006  JMP       (jump)   -> 9
  0007  SELF      R7 = R5[K2('OnLongAwayReturn')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  TFORCALL  tforcall R1
  0010  TFORLOOP  tforloop R3(sBx=-7)   -> 4
  0011  RETURN    return R0..R-1
; ---------- proto10 [LateInit] ----------
  ; fn ?  line 157-163 np=1 va=0 ms=8 code=12 consts=4 upvals=1 protos=0
  ;   K[0]='m_arrModels'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]='LateInit'
  ;   upvals: _ENV
  ;   locals: self(0-12), (for generator)(6-11), (for state)(6-11), (for control)(6-11), _(7-9), model(7-9)
  0000  GETTABLE  R1 = R0[K0('m_arrModels')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 11
  0003  GETTABUP  R1 = _ENV[K2('ipairs')]
  0004  GETTABLE  R2 = R0[K0('m_arrModels')]
  0005  CALL      R1 = call(R1, 3 args, 1 rets)
  0006  JMP       (jump)   -> 9
  0007  SELF      R7 = R5[K3('LateInit')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  TFORCALL  tforcall R1
  0010  TFORLOOP  tforloop R3(sBx=-4)   -> 7
  0011  RETURN    return R0..R-1
; ---------- proto11 [Update] ----------
  ; fn ?  line 165-171 np=1 va=0 ms=8 code=12 consts=4 upvals=1 protos=0
  ;   K[0]='m_arrModels'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]='Update'
  ;   upvals: _ENV
  ;   locals: self(0-12), (for generator)(6-11), (for state)(6-11), (for control)(6-11), _(7-9), model(7-9)
  0000  GETTABLE  R1 = R0[K0('m_arrModels')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 11
  0003  GETTABUP  R1 = _ENV[K2('ipairs')]
  0004  GETTABLE  R2 = R0[K0('m_arrModels')]
  0005  CALL      R1 = call(R1, 3 args, 1 rets)
  0006  JMP       (jump)   -> 9
  0007  SELF      R7 = R5[K3('Update')] (self)
  0008  CALL      R6 = call(R6, 0 args, 1 rets)
  0009  TFORCALL  tforcall R1
  0010  TFORLOOP  tforloop R3(sBx=-4)   -> 7
  0011  RETURN    return R0..R-1
; ---------- proto12 [UpdatePerSecond] ----------
  ; fn ?  line 173-185 np=1 va=0 ms=4 code=19 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='CheckResourcesStageFinished'
  ;   K[2]='InvokeFuncByTopologicalSort'
  ;   K[3]='UpdatePerSecond'
  ;   K[4]='m_bHasActivityStarted'
  ;   K[5]='m_bHasActivityFinished'
  ;   K[6]=false
  ;   K[7]='_UpdateReleasedActivitiesState'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('CheckResourcesStageFinished')]
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K2('InvokeFuncByTopologicalSort')] (self)
  0006  LOADK     R3 = K3 'UpdatePerSecond'
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABLE  R1 = R0[K4('m_bHasActivityStarted')]
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 14
  0011  GETTABLE  R1 = R0[K5('m_bHasActivityFinished')]
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 18
  0014  SETTABLE  R0[K4('m_bHasActivityStarted')] = K6(false)
  0015  SETTABLE  R0[K5('m_bHasActivityFinished')] = K6(false)
  0016  SELF      R2 = R0[K7('_UpdateReleasedActivitiesState')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto13 [OnCheckResourcesFinished] ----------
  ; fn ?  line 187-196 np=1 va=0 ms=8 code=17 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrModels'
  ;   K[2]='OnCheckResourcesFinished'
  ;   K[3]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-17), (for generator)(3-8), (for state)(3-8), (for control)(3-8), _(4-6), model(4-6), (for generator)(11-16), (for state)(11-16), (for control)(11-16), _(12-14), model(12-14)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_arrModels')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 6
  0004  SELF      R7 = R5[K2('OnCheckResourcesFinished')] (self)
  0005  CALL      R6 = call(R6, 0 args, 1 rets)
  0006  TFORCALL  tforcall R1
  0007  TFORLOOP  tforloop R3(sBx=-4)   -> 4
  0008  GETTABUP  R1 = _ENV[K0('ipairs')]
  0009  GETTABLE  R2 = R0[K1('m_arrModels')]
  0010  CALL      R1 = call(R1, 3 args, 1 rets)
  0011  JMP       (jump)   -> 14
  0012  SELF      R7 = R5[K3('UpdatePerSecond')] (self)
  0013  CALL      R6 = call(R6, 0 args, 1 rets)
  0014  TFORCALL  tforcall R1
  0015  TFORLOOP  tforloop R3(sBx=-4)   -> 12
  0016  RETURN    return R0..R-1
; ---------- proto14 [AddModel] ----------
  ; fn ?  line 198-201 np=3 va=0 ms=5 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_models'
  ;   K[1]='m_arrModels'
  ;   K[2]=1
  ;   locals: self(0-8), type(0-8), model(0-8)
  0000  GETTABLE  R3 = R0[K0('m_models')]
  0001  SETTABLE  R3[R1] = R2
  0002  GETTABLE  R3 = R0[K1('m_arrModels')]
  0003  GETTABLE  R4 = R0[K1('m_arrModels')]
  0004  LEN       R4 = len R0
  0005  ADD       R4 = K2(1) add R4
  0006  SETTABLE  R3[R4] = R2
  0007  RETURN    return R0..R-1
; ---------- proto15 [GetModel] ----------
  ; fn ?  line 204-206 np=2 va=0 ms=3 code=10 consts=1 upvals=0 protos=0
  ;   K[0]='m_models'
  ;   locals: self(0-10), type(0-10)
  0000  GETTABLE  R2 = R0[K0('m_models')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_models')]
  0004  GETTABLE  R2 = R2[R1]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADNIL   R2..R2 = nil
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto16 [GetModels] ----------
  ; fn ?  line 208-210 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_models'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_models')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto17 [FromHeartBeat] ----------
  ; fn ?  line 212-218 np=3 va=0 ms=12 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='m_arrModels'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]='FromHeartBeat'
  ;   upvals: _ENV
  ;   locals: self(0-14), data(0-14), tbMsgReq(0-14), (for generator)(6-13), (for state)(6-13), (for control)(6-13), _(7-11), model(7-11)
  0000  GETTABLE  R3 = R0[K0('m_arrModels')]
  0001  EQ        if R1 eq K1(nil)   -> -129276
  0002  JMP       (jump)   -> 13
  0003  GETTABUP  R3 = _ENV[K2('ipairs')]
  0004  GETTABLE  R4 = R0[K0('m_arrModels')]
  0005  CALL      R3 = call(R3, 3 args, 1 rets)
  0006  JMP       (jump)   -> 11
  0007  SELF      R9 = R7[K3('FromHeartBeat')] (self)
  0008  MOVE      R10 = R0
  0009  MOVE      R11 = R0
  0010  CALL      R8 = call(R8, 0 args, 3 rets)
  0011  TFORCALL  tforcall R3
  0012  TFORLOOP  tforloop R5(sBx=-6)   -> 7
  0013  RETURN    return R0..R-1
; ---------- proto18 [ToHeartBeat] ----------
  ; fn ?  line 220-235 np=2 va=0 ms=11 code=32 consts=8 upvals=1 protos=0
  ;   K[0]='m_arrModels'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]='ToHeartBeat'
  ;   K[4]='weekly1Token'
  ;   K[5]=0
  ;   K[6]='weekly2Token'
  ;   K[7]='multiToken'
  ;   upvals: _ENV
  ;   locals: self(0-32), data(0-32), result(6-32), (for generator)(9-15), (for state)(9-15), (for control)(9-15), _(10-13), model(10-13)
  0000  GETTABLE  R2 = R0[K0('m_arrModels')]
  0001  EQ        if R0 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 5
  0003  LOADNIL   R2..R2 = nil
  0004  RETURN    return R2..R1
  0005  NEWTABLE  R2 = {} (0 items)
  0006  GETTABUP  R3 = _ENV[K2('ipairs')]
  0007  GETTABLE  R4 = R0[K0('m_arrModels')]
  0008  CALL      R3 = call(R3, 3 args, 1 rets)
  0009  JMP       (jump)   -> 13
  0010  SELF      R9 = R7[K3('ToHeartBeat')] (self)
  0011  MOVE      R10 = R0
  0012  CALL      R8 = call(R8, 0 args, 2 rets)
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-5)   -> 10
  0015  GETTABLE  R3 = R2[K4('weekly1Token')]
  0016  TEST      if not R3 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  LOADK     R3 = K5 0
  0019  SETTABLE  R2[K4('weekly1Token')] = R3
  0020  GETTABLE  R3 = R2[K6('weekly2Token')]
  0021  TEST      if not R3 then   -> -131048
  0022  JMP       (jump)   -> 24
  0023  LOADK     R3 = K5 0
  0024  SETTABLE  R2[K6('weekly2Token')] = R3
  0025  GETTABLE  R3 = R2[K7('multiToken')]
  0026  TEST      if not R3 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  LOADK     R3 = K5 0
  0029  SETTABLE  R2[K7('multiToken')] = R3
  0030  RETURN    return R2..R1
  0031  RETURN    return R0..R-1
; ---------- proto19 [GetResourceLabels] ----------
  ; fn ?  line 237-248 np=1 va=0 ms=15 code=25 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrModels'
  ;   K[2]='NeedCheckResource'
  ;   K[3]='GetResourceLabels'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-25), labels(1-25), (for generator)(4-23), (for state)(4-23), (for control)(4-23), _(5-21), model(5-21), (for generator)(13-21), (for state)(13-21), (for control)(13-21), _(14-19), label(14-19)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_arrModels')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 21
  0005  SELF      R8 = R6[K2('NeedCheckResource')] (self)
  0006  CALL      R7 = call(R7, 1 args, 1 rets)
  0007  TEST      if not R7 then   -> -131063
  0008  JMP       (jump)   -> 21
  0009  GETTABUP  R7 = _ENV[K0('ipairs')]
  0010  SELF      R9 = R6[K3('GetResourceLabels')] (self)
  0011  CALL      R8 = call(R8, -1 args, 1 rets)
  0012  CALL      R7 = call(R7, 3 args, -1 rets)
  0013  JMP       (jump)   -> 19
  0014  GETTABUP  R12 = _ENV[K4('table')]
  0015  GETTABLE  R12 = R12[K5('insert')]
  0016  MOVE      R13 = R0
  0017  MOVE      R14 = R0
  0018  CALL      R12 = call(R12, 0 args, 2 rets)
  0019  TFORCALL  tforcall R7
  0020  TFORLOOP  tforloop R9(sBx=-7)   -> 14
  0021  TFORCALL  tforcall R2
  0022  TFORLOOP  tforloop R4(sBx=-18)   -> 5
  0023  RETURN    return R1..R0
  0024  RETURN    return R0..R-1
; ---------- proto20 [RestoreIapRewards] ----------
  ; fn ?  line 250-264 np=2 va=0 ms=13 code=41 consts=12 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='m_arrModels'
  ;   K[3]=nil
  ;   K[4]='活动管理器实现错误'
  ;   K[5]='ipairs'
  ;   K[6]='GetState'
  ;   K[7]='ActivityState'
  ;   K[8]='Started'
  ;   K[9]='Ended'
  ;   K[10]='SafeCall'
  ;   K[11]='RestoreIapRewards'
  ;   upvals: _ENV
  ;   locals: self(0-41), iapType(0-41), (for generator)(12-38), (for state)(12-38), (for control)(12-38), _(13-36), model(13-36), state(16-36), isOk(30-36), result(30-36)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Assert')]
  0002  GETTABLE  R3 = R0[K2('m_arrModels')]
  0003  EQ        if R0 eq K3(nil)   -> -129272
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R3 = false
  0006  LOADBOOL  R3 = true
  0007  LOADK     R4 = K4 '活动管理器实现错误'
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  GETTABUP  R2 = _ENV[K5('ipairs')]
  0010  GETTABLE  R3 = R0[K2('m_arrModels')]
  0011  CALL      R2 = call(R2, 3 args, 1 rets)
  0012  JMP       (jump)   -> 36
  0013  SELF      R8 = R6[K6('GetState')] (self)
  0014  LOADBOOL  R9 = false
  0015  CALL      R7 = call(R7, 1 args, 2 rets)
  0016  GETTABUP  R8 = _ENV[K7('ActivityState')]
  0017  GETTABLE  R8 = R8[K8('Started')]
  0018  EQ        if R1 eq R8   -> -127460
  0019  JMP       (jump)   -> 24
  0020  GETTABUP  R8 = _ENV[K7('ActivityState')]
  0021  GETTABLE  R8 = R8[K9('Ended')]
  0022  EQ        if R0 eq R8   -> -127456
  0023  JMP       (jump)   -> 36
  0024  GETTABUP  R8 = _ENV[K10('SafeCall')]
  0025  GETTABLE  R9 = R6[K11('RestoreIapRewards')]
  0026  LOADNIL   R10..R10 = nil
  0027  MOVE      R11 = R0
  0028  MOVE      R12 = R0
  0029  CALL      R8 = call(R8, 2 args, 4 rets)
  0030  TEST      if not R8 then   -> -131040
  0031  JMP       (jump)   -> 36
  0032  TEST      if not R9 then   -> -131038
  0033  JMP       (jump)   -> 36
  0034  LOADBOOL  R10 = true
  0035  RETURN    return R10..R9
  0036  TFORCALL  tforcall R2
  0037  TFORLOOP  tforloop R4(sBx=-25)   -> 13
  0038  LOADBOOL  R2 = false
  0039  RETURN    return R2..R1
  0040  RETURN    return R0..R-1
; ---------- proto21 [_OnCollectGold] ----------
  ; fn ?  line 266-272 np=2 va=0 ms=10 code=19 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrModels'
  ;   K[2]='OnCollectGold'
  ;   K[3]='GetState'
  ;   K[4]='ActivityState'
  ;   K[5]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-19), goldCount(0-19), (for generator)(3-18), (for state)(3-18), (for control)(3-18), _(4-16), model(4-16)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  GETTABLE  R3 = R0[K1('m_arrModels')]
  0002  CALL      R2 = call(R2, 3 args, 1 rets)
  0003  JMP       (jump)   -> 16
  0004  GETTABLE  R7 = R6[K2('OnCollectGold')]
  0005  TEST      if not R7 then   -> -131065
  0006  JMP       (jump)   -> 16
  0007  SELF      R8 = R6[K3('GetState')] (self)
  0008  CALL      R7 = call(R7, 1 args, 1 rets)
  0009  GETTABUP  R8 = _ENV[K4('ActivityState')]
  0010  GETTABLE  R8 = R8[K5('Started')]
  0011  EQ        if R0 eq R8   -> -127467
  0012  JMP       (jump)   -> 16
  0013  SELF      R8 = R6[K2('OnCollectGold')] (self)
  0014  MOVE      R9 = R0
  0015  CALL      R7 = call(R7, 0 args, 2 rets)
  0016  TFORCALL  tforcall R2
  0017  TFORLOOP  tforloop R4(sBx=-14)   -> 4
  0018  RETURN    return R0..R-1
; ---------- proto22 [_OnOrderFinished] ----------
  ; fn ?  line 274-280 np=1 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_models'
  ;   K[2]='OnOrderFinished'
  ;   K[3]='_UpdateReleasedActivitiesState'
  ;   upvals: _ENV
  ;   locals: self(0-11), (for generator)(3-8), (for state)(3-8), (for control)(3-8), _(4-6), model(4-6)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABLE  R2 = R0[K1('m_models')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 6
  0004  SELF      R7 = R5[K2('OnOrderFinished')] (self)
  0005  CALL      R6 = call(R6, 0 args, 1 rets)
  0006  TFORCALL  tforcall R1
  0007  TFORLOOP  tforloop R3(sBx=-4)   -> 4
  0008  SELF      R2 = R0[K3('_UpdateReleasedActivitiesState')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto23 [OnActivityStarted] ----------
  ; fn ?  line 282-284 np=2 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bHasActivityStarted'
  ;   K[1]=true
  ;   locals: self(0-2), type(0-2)
  0000  SETTABLE  R0[K0('m_bHasActivityStarted')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto24 [OnActivityFinished] ----------
  ; fn ?  line 286-288 np=2 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bHasActivityFinished'
  ;   K[1]=true
  ;   locals: self(0-2), type(0-2)
  0000  SETTABLE  R0[K0('m_bHasActivityFinished')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto25 [_UpdateReleasedActivitiesState] ----------
  ; fn ?  line 290-296 np=1 va=0 ms=9 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_models'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='_UpdateState'
  ;   upvals: _ENV
  ;   locals: self(0-16), (for generator)(3-15), (for state)(3-15), (for control)(3-15), _(4-13), model(4-13)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABLE  R2 = R0[K1('m_models')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 13
  0004  SELF      R7 = R5[K2('GetState')] (self)
  0005  LOADBOOL  R8 = false
  0006  CALL      R6 = call(R6, 1 args, 2 rets)
  0007  GETTABUP  R7 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R7 = R7[K4('Released')]
  0009  EQ        if R0 eq R7   -> -127982
  0010  JMP       (jump)   -> 13
  0011  SELF      R7 = R5[K5('_UpdateState')] (self)
  0012  CALL      R6 = call(R6, 0 args, 1 rets)
  0013  TFORCALL  tforcall R1
  0014  TFORLOOP  tforloop R3(sBx=-11)   -> 4
  0015  RETURN    return R0..R-1
; ---------- proto26 [GetOneActivityModel] ----------
  ; fn ?  line 298-307 np=4 va=0 ms=12 code=22 consts=6 upvals=1 protos=0
  ;   K[0]='ActivityState'
  ;   K[1]='Started'
  ;   K[2]='ipairs'
  ;   K[3]='m_arrModels'
  ;   K[4]='eModelType'
  ;   K[5]='GetState'
  ;   upvals: _ENV
  ;   locals: self(0-22), eModelType(0-22), eActivityState(0-22), checkResource(0-22), (for generator)(7-19), (for state)(7-19), (for control)(7-19), _(8-17), model(8-17)
  0000  TEST      if not R2 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  GETTABUP  R4 = _ENV[K0('ActivityState')]
  0003  GETTABLE  R2 = R4[K1('Started')]
  0004  GETTABUP  R4 = _ENV[K2('ipairs')]
  0005  GETTABLE  R5 = R0[K3('m_arrModels')]
  0006  CALL      R4 = call(R4, 3 args, 1 rets)
  0007  JMP       (jump)   -> 17
  0008  GETTABLE  R9 = R8[K4('eModelType')]
  0009  EQ        if R0 eq R1   -> -126452
  0010  JMP       (jump)   -> 17
  0011  SELF      R10 = R8[K5('GetState')] (self)
  0012  MOVE      R11 = R0
  0013  CALL      R9 = call(R9, 1 args, 2 rets)
  0014  EQ        if R0 eq R2   -> -126446
  0015  JMP       (jump)   -> 17
  0016  RETURN    return R8..R7
  0017  TFORCALL  tforcall R4
  0018  TFORLOOP  tforloop R6(sBx=-11)   -> 8
  0019  LOADNIL   R4..R4 = nil
  0020  RETURN    return R4..R3
  0021  RETURN    return R0..R-1
; ---------- proto27 [GetOneActiveModel] ----------
  ; fn ?  line 310-319 np=2 va=0 ms=8 code=29 consts=4 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='GetStartTime'
  ;   K[2]='tonumber'
  ;   K[3]='GetId'
  ;   upvals: _ENV
  ;   locals: model(0-29), activeModel(0-29), startTime(8-29), activeStartTime(8-29)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 4
  0002  LOADBOOL  R2 = true
  0003  RETURN    return R2..R1
  0004  SELF      R3 = R0[K1('GetStartTime')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  SELF      R4 = R1[K1('GetStartTime')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  EQ        if R1 eq R3   -> -130035
  0009  JMP       (jump)   -> 15
  0010  LT        if R1 lt R2   -> -129522
  0011  JMP       (jump)   -> 13
  0012  LOADBOOL  R4 = false
  0013  LOADBOOL  R4 = true
  0014  RETURN    return R4..R3
  0015  GETTABUP  R4 = _ENV[K2('tonumber')]
  0016  SELF      R6 = R0[K3('GetId')] (self)
  0017  CALL      R5 = call(R5, -1 args, 1 rets)
  0018  CALL      R4 = call(R4, 1 args, -1 rets)
  0019  GETTABUP  R5 = _ENV[K2('tonumber')]
  0020  SELF      R7 = R1[K3('GetId')] (self)
  0021  CALL      R6 = call(R6, -1 args, 1 rets)
  0022  CALL      R5 = call(R5, 1 args, -1 rets)
  0023  LT        if R1 lt R4   -> -128483
  0024  JMP       (jump)   -> 26
  0025  LOADBOOL  R4 = false
  0026  LOADBOOL  R4 = true
  0027  RETURN    return R4..R3
  0028  RETURN    return R0..R-1
; ---------- proto28 [GetOneActiveModel] ----------
  ; fn ?  line 324-339 np=3 va=0 ms=14 code=42 consts=9 upvals=2 protos=0
  ;   K[0]='pairs'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]=nil
  ;   K[5]='GetState'
  ;   K[6]='ActivityState'
  ;   K[7]='Started'
  ;   K[8]='Ended'
  ;   upvals: _ENV, _IsLaterActiveModel
  ;   locals: ActivityDefinition(0-42), bCheckResource(0-42), bIncludeEnded(0-42), activeModel(1-42), (for generator)(6-40), (for state)(6-40), (for control)(6-40), activityType(7-38), model(12-38), state(17-38), bActive(29-38)
  0000  LOADNIL   R3..R3 = nil
  0001  GETTABUP  R4 = _ENV[K0('pairs')]
  0002  TESTSET   if not R1 then R5   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R5 = {} (0 items)
  0005  CALL      R4 = call(R4, 3 args, 1 rets)
  0006  JMP       (jump)   -> 38
  0007  GETTABUP  R8 = _ENV[K1('GM')]
  0008  GETTABLE  R8 = R8[K2('ActivityManager')]
  0009  SELF      R9 = R8[K3('GetModel')] (self)
  0010  MOVE      R10 = R0
  0011  CALL      R8 = call(R8, 1 args, 2 rets)
  0012  EQ        if R1 eq K4(nil)   -> -126702
  0013  JMP       (jump)   -> 38
  0014  SELF      R10 = R8[K5('GetState')] (self)
  0015  MOVE      R11 = R0
  0016  CALL      R9 = call(R9, 1 args, 2 rets)
  0017  GETTABUP  R10 = _ENV[K6('ActivityState')]
  0018  GETTABLE  R10 = R10[K7('Started')]
  0019  EQ        if R1 eq R10   -> -126433
  0020  JMP       (jump)   -> 28
  0021  TESTSET   if R0 then R10   -> -130025
  0022  JMP       (jump)   -> 29
  0023  GETTABUP  R10 = _ENV[K6('ActivityState')]
  0024  GETTABLE  R10 = R10[K8('Ended')]
  0025  EQ        if R1 eq R10   -> -126427
  0026  JMP       (jump)   -> 28
  0027  LOADBOOL  R10 = false
  0028  LOADBOOL  R10 = true
  0029  TEST      if not R10 then   -> -131041
  0030  JMP       (jump)   -> 38
  0031  GETUPVAL  R11 = _ENV
  0032  MOVE      R12 = R0
  0033  MOVE      R13 = R0
  0034  CALL      R11 = call(R11, 1 args, 2 rets)
  0035  TEST      if not R11 then   -> -131035
  0036  JMP       (jump)   -> 38
  0037  MOVE      R3 = R0
  0038  TFORCALL  tforcall R4
  0039  TFORLOOP  tforloop R6(sBx=-33)   -> 7
  0040  RETURN    return R3..R2
  0041  RETURN    return R0..R-1
; ---------- proto29 [GetAllOrderDayRelatedActivityDefition] ----------
  ; fn ?  line 343-354 np=0 va=0 ms=11 code=24 consts=5 upvals=2 protos=0
  ;   K[0]=nil
  ;   K[1]='ipairs'
  ;   K[2]='DayExtraRewardActivityDefinition'
  ;   K[3]='BigDayRaceDefinition'
  ;   K[4]='pairs'
  ;   upvals: AllOrderDayRelatedActivityDefition, _ENV
  ;   locals: (for generator)(11-21), (for state)(11-21), (for control)(11-21), _(12-19), definitions(12-19), (for generator)(15-19), (for state)(15-19), (for control)(15-19), k(16-17), v(16-17)
  0000  GETUPVAL  R0 = AllOrderDayRelatedActivityDefition
  0001  EQ        if R0 eq K0(nil)   -> -130813
  0002  JMP       (jump)   -> 21
  0003  NEWTABLE  R0 = {} (0 items)
  0004  SETUPVAL  AllOrderDayRelatedActivityDefition = R0
  0005  GETTABUP  R0 = _ENV[K1('ipairs')]
  0006  NEWTABLE  R1 = {} (2 items)
  0007  GETTABUP  R2 = _ENV[K2('DayExtraRewardActivityDefinition')]
  0008  GETTABUP  R3 = _ENV[K3('BigDayRaceDefinition')]
  0009  SETLIST   setlist R1[B=1,C=2]
  0010  CALL      R0 = call(R0, 3 args, 1 rets)
  0011  JMP       (jump)   -> 19
  0012  GETTABUP  R5 = _ENV[K4('pairs')]
  0013  MOVE      R6 = R0
  0014  CALL      R5 = call(R5, 3 args, 1 rets)
  0015  JMP       (jump)   -> 17
  0016  SETTABUP  AllOrderDayRelatedActivityDefition[R8] = R9
  0017  TFORCALL  tforcall R5
  0018  TFORLOOP  tforloop R7(sBx=-3)   -> 16
  0019  TFORCALL  tforcall R0
  0020  TFORLOOP  tforloop R2(sBx=-9)   -> 12
  0021  GETUPVAL  R0 = AllOrderDayRelatedActivityDefition
  0022  RETURN    return R0..R-1
  0023  RETURN    return R0..R-1
; ---------- proto30 [_OnRewardValidChangedForActivity] ----------
  ; fn ?  line 357-359 np=1 va=0 ms=3 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='RewardValidChanged'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('RewardValidChanged')]
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto31 [CheckActivityStateInTestMode] ----------
  ; fn ?  line 362-431 np=1 va=0 ms=26 code=152 consts=34 upvals=1 protos=3
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='小棋盘'
  ;   K[3]='UIBoardActivityModel'
  ;   K[4]='GetAllUIBoardActivityDefinition'
  ;   K[5]='经营比拼/天数额外奖励'
  ;   K[6]='ActivityManager'
  ;   K[7]='GetAllOrderDayRelatedActivityDefition'
  ;   K[8]='pairs'
  ;   K[9]='GM'
  ;   K[10]='GetModel'
  ;   K[11]=nil
  ;   K[12]='table'
  ;   K[13]='insert'
  ;   K[14]='sort'
  ;   K[15]=2
  ;   K[16]=1
  ;   K[17]='Log'
  ;   K[18]='Error'
  ;   K[19]='string'
  ;   K[20]='format'
  ;   K[21]='%s活动存在<color=#FFA000>叠开</color>的情况，请检查！活动id 1：%s-<color=#FFA000>%d</color>；活动id 2：%s-<color=#FFA000>%d</color>'
  ;   K[22]='GetType'
  ;   K[23]='GetId'
  ;   K[24]='LogTag'
  ;   K[25]='ConfigCheck'
  ;   K[26]='进度基金'
  ;   K[27]='FundPackActivityDefinition'
  ;   K[28]='ConfigModel'
  ;   K[29]='GetServerConfig'
  ;   K[30]='活动id %d： %s-<color=#FFA000>%d</color>'
  ;   K[31]='%s活动存在<color=#FFA000>叠开</color>的情况，当前活动不能在 sTime - rTIme 重叠，请检查！%s'
  ;   K[32]='concat'
  ;   K[33]='；'
  ;   upvals: _ENV
  ;   locals: self(0-152), mapDefinitions(7-152), activityModel(16-152), arrActivityModel(16-152), GetStartTime(17-152), GetEndTime(18-152), (for generator)(21-89), (for state)(21-89), (for control)(21-89), desc(22-87), definitions(22-87), (for generator)(27-43), (for state)(27-43), (for control)(27-43), activityType(28-41), _(28-41), SortByEndTime(44-87), (for index)(52-87), (for limit)(52-87), (for step)(52-87), i(53-86), mapDefinitions(90-152), (for generator)(95-151), (for state)(95-151), (for control)(95-151), desc(96-149), definitions(96-149), arrActivityInfo(97-149), (for generator)(100-131), (for state)(100-131), (for control)(100-131), activityType(101-129), _(101-129)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  NEWTABLE  R1 = {} (0 items)
  0007  GETTABUP  R2 = _ENV[K3('UIBoardActivityModel')]
  0008  GETTABLE  R2 = R2[K4('GetAllUIBoardActivityDefinition')]
  0009  CALL      R2 = call(R2, 1 args, 0 rets)
  0010  SETTABLE  R1[K2('小棋盘')] = R2
  0011  GETTABUP  R2 = _ENV[K6('ActivityManager')]
  0012  GETTABLE  R2 = R2[K7('GetAllOrderDayRelatedActivityDefition')]
  0013  CALL      R2 = call(R2, 1 args, 0 rets)
  0014  SETTABLE  R1[K5('经营比拼/天数额外奖励')] = R2
  0015  LOADNIL   R2..R2 = nil
  0016  CLOSURE   R4 = closure proto0
  0017  CLOSURE   R5 = closure proto1
  0018  GETTABUP  R6 = _ENV[K8('pairs')]
  0019  MOVE      R7 = R0
  0020  CALL      R6 = call(R6, 3 args, 1 rets)
  0021  JMP       (jump)   -> 87
  0022  NEWTABLE  R11 = {} (0 items)
  0023  MOVE      R3 = R0
  0024  GETTABUP  R11 = _ENV[K8('pairs')]
  0025  MOVE      R12 = R0
  0026  CALL      R11 = call(R11, 3 args, 1 rets)
  0027  JMP       (jump)   -> 41
  0028  GETTABUP  R16 = _ENV[K9('GM')]
  0029  GETTABLE  R16 = R16[K6('ActivityManager')]
  0030  SELF      R17 = R16[K10('GetModel')] (self)
  0031  MOVE      R18 = R0
  0032  CALL      R16 = call(R16, 1 args, 2 rets)
  0033  MOVE      R2 = R0
  0034  EQ        if R1 eq K11(nil)   -> -129745
  0035  JMP       (jump)   -> 41
  0036  GETTABUP  R16 = _ENV[K12('table')]
  0037  GETTABLE  R16 = R16[K13('insert')]
  0038  MOVE      R17 = R0
  0039  MOVE      R18 = R0
  0040  CALL      R16 = call(R16, 0 args, 2 rets)
  0041  TFORCALL  tforcall R11
  0042  TFORLOOP  tforloop R13(sBx=-15)   -> 28
  0043  CLOSURE   R11 = closure proto2
  0044  GETTABUP  R12 = _ENV[K12('table')]
  0045  GETTABLE  R12 = R12[K14('sort')]
  0046  MOVE      R13 = R0
  0047  MOVE      R14 = R0
  0048  CALL      R12 = call(R12, 0 args, 2 rets)
  0049  LOADK     R12 = K15 2
  0050  LEN       R13 = len R0
  0051  LOADK     R14 = K16 1
  0052  FORPREP   forprep R12(sBx=33)   -> 86
  0053  MOVE      R16 = R0
  0054  GETTABLE  R17 = R3[R15]
  0055  CALL      R16 = call(R16, 1 args, 1 rets)
  0056  MOVE      R17 = R0
  0057  SUB       R18 = K16(1) sub R15
  0058  GETTABLE  R18 = R3[R18]
  0059  CALL      R17 = call(R17, 1 args, 1 rets)
  0060  LT        if R0 lt R17   -> -122801
  0061  JMP       (jump)   -> 86
  0062  GETTABUP  R16 = _ENV[K17('Log')]
  0063  GETTABLE  R16 = R16[K18('Error')]
  0064  GETTABUP  R17 = _ENV[K19('string')]
  0065  GETTABLE  R17 = R17[K20('format')]
  0066  LOADK     R18 = K21 '%s活动存在<color=#FFA000>叠开</color>的情况，请检查！活动id 1：%s-<color=#FFA000>%d</color>；活动id 2：%s-<color=#FFA000>%d</color>'
  0067  MOVE      R19 = R0
  0068  SUB       R20 = K16(1) sub R15
  0069  GETTABLE  R20 = R3[R20]
  0070  SELF      R21 = R20[K22('GetType')] (self)
  0071  CALL      R20 = call(R20, 1 args, 1 rets)
  0072  SUB       R21 = K16(1) sub R15
  0073  GETTABLE  R21 = R3[R21]
  0074  SELF      R22 = R21[K23('GetId')] (self)
  0075  CALL      R21 = call(R21, 1 args, 1 rets)
  0076  GETTABLE  R22 = R3[R15]
  0077  SELF      R23 = R22[K22('GetType')] (self)
  0078  CALL      R22 = call(R22, 1 args, 1 rets)
  0079  GETTABLE  R23 = R3[R15]
  0080  SELF      R24 = R23[K23('GetId')] (self)
  0081  CALL      R23 = call(R23, -1 args, 1 rets)
  0082  CALL      R17 = call(R17, 1 args, -1 rets)
  0083  GETTABUP  R18 = _ENV[K24('LogTag')]
  0084  GETTABLE  R18 = R18[K25('ConfigCheck')]
  0085  CALL      R16 = call(R16, 0 args, 2 rets)
  0086  FORLOOP   forloop R12(sBx=-34)   -> 53
  0087  TFORCALL  tforcall R6
  0088  TFORLOOP  tforloop R8(sBx=-67)   -> 22
  0089  NEWTABLE  R6 = {} (0 items)
  0090  GETTABUP  R7 = _ENV[K27('FundPackActivityDefinition')]
  0091  SETTABLE  R6[K26('进度基金')] = R7
  0092  GETTABUP  R7 = _ENV[K8('pairs')]
  0093  MOVE      R8 = R0
  0094  CALL      R7 = call(R7, 3 args, 1 rets)
  0095  JMP       (jump)   -> 149
  0096  NEWTABLE  R12 = {} (0 items)
  0097  GETTABUP  R13 = _ENV[K8('pairs')]
  0098  MOVE      R14 = R0
  0099  CALL      R13 = call(R13, 3 args, 1 rets)
  0100  JMP       (jump)   -> 129
  0101  GETTABUP  R18 = _ENV[K9('GM')]
  0102  GETTABLE  R18 = R18[K6('ActivityManager')]
  0103  SELF      R19 = R18[K10('GetModel')] (self)
  0104  MOVE      R20 = R0
  0105  CALL      R18 = call(R18, 1 args, 2 rets)
  0106  MOVE      R2 = R0
  0107  EQ        if R1 eq K11(nil)   -> -129672
  0108  JMP       (jump)   -> 129
  0109  GETTABUP  R18 = _ENV[K9('GM')]
  0110  GETTABLE  R18 = R18[K28('ConfigModel')]
  0111  SELF      R19 = R18[K29('GetServerConfig')] (self)
  0112  MOVE      R20 = R0
  0113  CALL      R18 = call(R18, 1 args, 2 rets)
  0114  EQ        if R1 eq K11(nil)   -> -121473
  0115  JMP       (jump)   -> 129
  0116  GETTABUP  R18 = _ENV[K12('table')]
  0117  GETTABLE  R18 = R18[K13('insert')]
  0118  MOVE      R19 = R0
  0119  GETTABUP  R20 = _ENV[K19('string')]
  0120  GETTABLE  R20 = R20[K20('format')]
  0121  LOADK     R21 = K30 '活动id %d： %s-<color=#FFA000>%d</color>'
  0122  LEN       R22 = len R0
  0123  ADD       R22 = K16(1) add R22
  0124  MOVE      R23 = R0
  0125  SELF      R25 = R2[K23('GetId')] (self)
  0126  CALL      R24 = call(R24, -1 args, 1 rets)
  0127  CALL      R20 = call(R20, -1 args, -1 rets)
  0128  CALL      R18 = call(R18, 0 args, -1 rets)
  0129  TFORCALL  tforcall R13
  0130  TFORLOOP  tforloop R15(sBx=-30)   -> 101
  0131  LEN       R13 = len R0
  0132  LT        if R0 lt R13   -> 8339
  0133  JMP       (jump)   -> 149
  0134  GETTABUP  R13 = _ENV[K17('Log')]
  0135  GETTABLE  R13 = R13[K18('Error')]
  0136  GETTABUP  R14 = _ENV[K19('string')]
  0137  GETTABLE  R14 = R14[K20('format')]
  0138  LOADK     R15 = K31 '%s活动存在<color=#FFA000>叠开</color>的情况，当前活动不能在 sTime - rTIme 重叠，请检查！%s'
  0139  MOVE      R16 = R0
  0140  GETTABUP  R17 = _ENV[K12('table')]
  0141  GETTABLE  R17 = R17[K32('concat')]
  0142  MOVE      R18 = R0
  0143  LOADK     R19 = K33 '；'
  0144  CALL      R17 = call(R17, -1 args, 2 rets)
  0145  CALL      R14 = call(R14, 1 args, -1 rets)
  0146  GETTABUP  R15 = _ENV[K24('LogTag')]
  0147  GETTABLE  R15 = R15[K25('ConfigCheck')]
  0148  CALL      R13 = call(R13, 0 args, 2 rets)
  0149  TFORCALL  tforcall R7
  0150  TFORLOOP  tforloop R9(sBx=-55)   -> 96
  0151  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 381-383 np=1 va=0 ms=6 code=23 consts=9 upvals=1 protos=0
    ;   K[0]='math'
    ;   K[1]='min'
    ;   K[2]='GM'
    ;   K[3]='ConfigModel'
    ;   K[4]='GetServerConfig'
    ;   K[5]='GetType'
    ;   K[6]='sTime'
    ;   K[7]=0
    ;   K[8]='GetStartTime'
    ;   upvals: _ENV
    ;   locals: model(0-23)
    0000  GETTABUP  R1 = _ENV[K0('math')]
    0001  GETTABLE  R1 = R1[K1('min')]
    0002  GETTABUP  R2 = _ENV[K2('GM')]
    0003  GETTABLE  R2 = R2[K3('ConfigModel')]
    0004  SELF      R3 = R2[K4('GetServerConfig')] (self)
    0005  SELF      R5 = R0[K5('GetType')] (self)
    0006  CALL      R4 = call(R4, -1 args, 1 rets)
    0007  CALL      R2 = call(R2, 1 args, -1 rets)
    0008  TEST      if not R2 then   -> -131061
    0009  JMP       (jump)   -> 11
    0010  NEWTABLE  R2 = {} (0 items)
    0011  GETTABLE  R2 = R2[K6('sTime')]
    0012  TEST      if not R2 then   -> -131057
    0013  JMP       (jump)   -> 15
    0014  LOADK     R2 = K7 0
    0015  SELF      R4 = R0[K8('GetStartTime')] (self)
    0016  CALL      R3 = call(R3, 1 args, 1 rets)
    0017  TEST      if not R3 then   -> -131052
    0018  JMP       (jump)   -> 20
    0019  LOADK     R3 = K7 0
    0020  TAILCALL  tailcall(R1, 0)
    0021  RETURN    return R1..R0
    0022  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 386-388 np=1 va=0 ms=6 code=23 consts=9 upvals=1 protos=0
    ;   K[0]='math'
    ;   K[1]='max'
    ;   K[2]='GM'
    ;   K[3]='ConfigModel'
    ;   K[4]='GetServerConfig'
    ;   K[5]='GetType'
    ;   K[6]='eTime'
    ;   K[7]=0
    ;   K[8]='GetEndTime'
    ;   upvals: _ENV
    ;   locals: model(0-23)
    0000  GETTABUP  R1 = _ENV[K0('math')]
    0001  GETTABLE  R1 = R1[K1('max')]
    0002  GETTABUP  R2 = _ENV[K2('GM')]
    0003  GETTABLE  R2 = R2[K3('ConfigModel')]
    0004  SELF      R3 = R2[K4('GetServerConfig')] (self)
    0005  SELF      R5 = R0[K5('GetType')] (self)
    0006  CALL      R4 = call(R4, -1 args, 1 rets)
    0007  CALL      R2 = call(R2, 1 args, -1 rets)
    0008  TEST      if not R2 then   -> -131061
    0009  JMP       (jump)   -> 11
    0010  NEWTABLE  R2 = {} (0 items)
    0011  GETTABLE  R2 = R2[K6('eTime')]
    0012  TEST      if not R2 then   -> -131057
    0013  JMP       (jump)   -> 15
    0014  LOADK     R2 = K7 0
    0015  SELF      R4 = R0[K8('GetEndTime')] (self)
    0016  CALL      R3 = call(R3, 1 args, 1 rets)
    0017  TEST      if not R3 then   -> -131052
    0018  JMP       (jump)   -> 20
    0019  LOADK     R3 = K7 0
    0020  TAILCALL  tailcall(R1, 0)
    0021  RETURN    return R1..R0
    0022  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 402-404 np=2 va=0 ms=5 code=12 consts=0 upvals=1 protos=0
    ;   upvals: GetEndTime
    ;   locals: modelA(0-12), modelB(0-12)
    0000  GETUPVAL  R2 = GetEndTime
    0001  MOVE      R3 = R0
    0002  CALL      R2 = call(R2, 1 args, 1 rets)
    0003  GETUPVAL  R3 = GetEndTime
    0004  MOVE      R4 = R0
    0005  CALL      R3 = call(R3, 1 args, 1 rets)
    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  RETURN    return R0..R-1
; ---------- proto32 [InvokeFuncByTopologicalSort] ----------
  ; fn ?  line 433-451 np=2 va=0 ms=11 code=32 consts=5 upvals=1 protos=0
  ;   K[0]='m_models'
  ;   K[1]=nil
  ;   K[2]='GetTopologicalTypeArray'
  ;   K[3]='ipairs'
  ;   K[4]='pairs'
  ;   upvals: _ENV
  ;   locals: self(0-32), funcName(0-32), arrActivityType(5-31), model(8-21), (for generator)(11-21), (for state)(11-21), (for control)(11-21), _(12-19), actType(12-19), (for generator)(25-31), (for state)(25-31), (for control)(25-31), _(26-29), model(26-29)
  0000  GETTABLE  R2 = R0[K0('m_models')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 31
  0003  SELF      R3 = R0[K2('GetTopologicalTypeArray')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  EQ        if R1 eq K1(nil)   -> -129784
  0006  JMP       (jump)   -> 22
  0007  LOADNIL   R3..R3 = nil
  0008  GETTABUP  R4 = _ENV[K3('ipairs')]
  0009  MOVE      R5 = R0
  0010  CALL      R4 = call(R4, 3 args, 1 rets)
  0011  JMP       (jump)   -> 19
  0012  GETTABLE  R9 = R0[K0('m_models')]
  0013  GETTABLE  R3 = R9[R8]
  0014  EQ        if R1 eq K1(nil)   -> -129263
  0015  JMP       (jump)   -> 19
  0016  GETTABLE  R9 = R3[R1]
  0017  MOVE      R10 = R0
  0018  CALL      R9 = call(R9, 0 args, 1 rets)
  0019  TFORCALL  tforcall R4
  0020  TFORLOOP  tforloop R6(sBx=-9)   -> 12
  0021  JMP       (jump)   -> 31
  0022  GETTABUP  R3 = _ENV[K4('pairs')]
  0023  GETTABLE  R4 = R0[K0('m_models')]
  0024  CALL      R3 = call(R3, 3 args, 1 rets)
  0025  JMP       (jump)   -> 29
  0026  GETTABLE  R8 = R7[R1]
  0027  MOVE      R9 = R0
  0028  CALL      R8 = call(R8, 0 args, 1 rets)
  0029  TFORCALL  tforcall R3
  0030  TFORLOOP  tforloop R5(sBx=-5)   -> 26
  0031  RETURN    return R0..R-1
; ---------- proto33 [GetTopologicalTypeArray] ----------
  ; fn ?  line 454-530 np=1 va=0 ms=20 code=179 consts=32 upvals=1 protos=0
  ;   K[0]='m_topologicalTypeArray'
  ;   K[1]='pairs'
  ;   K[2]='ActivityType'
  ;   K[3]=true
  ;   K[4]='GM'
  ;   K[5]='ConfigModel'
  ;   K[6]='GetServerConfig'
  ;   K[7]=nil
  ;   K[8]='Table'
  ;   K[9]='IsEmpty'
  ;   K[10]='extraCondition'
  ;   K[11]='type'
  ;   K[12]='ActivityExtraConditionType'
  ;   K[13]='Finish'
  ;   K[14]='Exist'
  ;   K[15]='param_string'
  ;   K[16]='table'
  ;   K[17]='insert'
  ;   K[18]='GameConfig'
  ;   K[19]='IsTestMode'
  ;   K[20]='Log'
  ;   K[21]='Error'
  ;   K[22]='extraCondition 配置不合法, 配置重复或者活动名称不存在: '
  ;   K[23]='nil'
  ;   K[24]='AlbumActivityDefinition'
  ;   K[25]='UIBoardActivityModel'
  ;   K[26]='GetAllUIBoardActivityDefinition'
  ;   K[27]='WeeklyActiveQuestDefinition'
  ;   K[28]='DailyActiveQuestDefinition'
  ;   K[29]='ipairs'
  ;   K[30]='TopologicalSort'
  ;   K[31]='extraCondition 存在环形依赖关系，请检查'
  ;   upvals: _ENV
  ;   locals: self(0-179), mapActivityType(6-179), (for generator)(9-13), (for state)(9-13), (for control)(9-13), _(10-11), activityType(10-11), graph(14-179), serverConfig(15-179), targetActType(15-179), (for generator)(18-91), (for state)(18-91), (for control)(18-91), _(19-89), activityType(19-89), arrDuplicate(39-89), (for generator)(42-89), (for state)(42-89), (for control)(42-89), _(43-87), config(43-87), arrTaskTargetType(92-179), (for generator)(95-103), (for state)(95-103), (for control)(95-103), actType(96-101), _(96-101), (for generator)(108-116), (for state)(108-116), (for control)(108-116), actType(109-114), _(109-114), arrTaskActType(117-179), (for generator)(120-128), (for state)(120-128), (for control)(120-128), actType(121-126), _(121-126), (for generator)(131-139), (for state)(131-139), (for control)(131-139), actType(132-137), _(132-137), (for generator)(142-161), (for state)(142-161), (for control)(142-161), _(143-159), targetType(143-159), (for generator)(146-159), (for state)(146-159), (for control)(146-159), _(147-157), actType(147-157), result(165-179)
  0000  GETTABLE  R1 = R0[K0('m_topologicalTypeArray')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  GETTABLE  R1 = R0[K0('m_topologicalTypeArray')]
  0004  RETURN    return R1..R0
  0005  NEWTABLE  R1 = {} (0 items)
  0006  GETTABUP  R2 = _ENV[K1('pairs')]
  0007  GETTABUP  R3 = _ENV[K2('ActivityType')]
  0008  CALL      R2 = call(R2, 3 args, 1 rets)
  0009  JMP       (jump)   -> 11
  0010  SETTABLE  R1[R6] = K3(true)
  0011  TFORCALL  tforcall R2
  0012  TFORLOOP  tforloop R4(sBx=-3)   -> 10
  0013  NEWTABLE  R2 = {} (0 items)
  0014  LOADNIL   R3..R3 = nil
  0015  GETTABUP  R5 = _ENV[K1('pairs')]
  0016  GETTABUP  R6 = _ENV[K2('ActivityType')]
  0017  CALL      R5 = call(R5, 3 args, 1 rets)
  0018  JMP       (jump)   -> 89
  0019  GETTABUP  R10 = _ENV[K4('GM')]
  0020  GETTABLE  R10 = R10[K5('ConfigModel')]
  0021  SELF      R11 = R10[K6('GetServerConfig')] (self)
  0022  MOVE      R12 = R0
  0023  CALL      R10 = call(R10, 1 args, 2 rets)
  0024  MOVE      R3 = R0
  0025  GETTABLE  R10 = R2[R9]
  0026  EQ        if R0 eq K7(nil)   -> -125661
  0027  JMP       (jump)   -> 30
  0028  NEWTABLE  R10 = {} (0 items)
  0029  SETTABLE  R2[R9] = R10
  0030  EQ        if R1 eq K7(nil)   -> -129241
  0031  JMP       (jump)   -> 89
  0032  GETTABUP  R10 = _ENV[K8('Table')]
  0033  GETTABLE  R10 = R10[K9('IsEmpty')]
  0034  GETTABLE  R11 = R3[K10('extraCondition')]
  0035  CALL      R10 = call(R10, 1 args, 1 rets)
  0036  TEST      if not R10 then   -> -131033
  0037  JMP       (jump)   -> 89
  0038  NEWTABLE  R10 = {} (0 items)
  0039  GETTABUP  R11 = _ENV[K1('pairs')]
  0040  GETTABLE  R12 = R3[K10('extraCondition')]
  0041  CALL      R11 = call(R11, 3 args, 1 rets)
  0042  JMP       (jump)   -> 87
  0043  GETTABLE  R16 = R15[K11('type')]
  0044  GETTABUP  R17 = _ENV[K12('ActivityExtraConditionType')]
  0045  GETTABLE  R17 = R17[K13('Finish')]
  0046  EQ        if R1 eq R17   -> -122815
  0047  JMP       (jump)   -> 53
  0048  GETTABLE  R16 = R15[K11('type')]
  0049  GETTABUP  R17 = _ENV[K12('ActivityExtraConditionType')]
  0050  GETTABLE  R17 = R17[K14('Exist')]
  0051  EQ        if R0 eq R17   -> -122810
  0052  JMP       (jump)   -> 87
  0053  GETTABLE  R4 = R15[K15('param_string')]
  0054  EQ        if R1 eq K7(nil)   -> -128705
  0055  JMP       (jump)   -> 74
  0056  GETTABLE  R16 = R1[R4]
  0057  TEST      if not R16 then   -> -131013
  0058  JMP       (jump)   -> 74
  0059  GETTABLE  R16 = R10[R4]
  0060  TEST      if not R16 then   -> -131009
  0061  JMP       (jump)   -> 74
  0062  SETTABLE  R10[R4] = K3(true)
  0063  GETTABLE  R16 = R2[R4]
  0064  TEST      if not R16 then   -> -131005
  0065  JMP       (jump)   -> 67
  0066  NEWTABLE  R16 = {} (0 items)
  0067  SETTABLE  R2[R4] = R16
  0068  GETTABUP  R16 = _ENV[K16('table')]
  0069  GETTABLE  R16 = R16[K17('insert')]
  0070  GETTABLE  R17 = R2[R4]
  0071  MOVE      R18 = R0
  0072  CALL      R16 = call(R16, 0 args, 2 rets)
  0073  JMP       (jump)   -> 87
  0074  GETTABUP  R16 = _ENV[K18('GameConfig')]
  0075  GETTABLE  R16 = R16[K19('IsTestMode')]
  0076  CALL      R16 = call(R16, 1 args, 0 rets)
  0077  TEST      if not R16 then   -> -130993
  0078  JMP       (jump)   -> 87
  0079  GETTABUP  R16 = _ENV[K20('Log')]
  0080  GETTABLE  R16 = R16[K21('Error')]
  0081  LOADK     R17 = K22 'extraCondition 配置不合法, 配置重复或者活动名称不存在: '
  0082  TESTSET   if R1 then R18   -> -128939
  0083  JMP       (jump)   -> 85
  0084  LOADK     R18 = K23 'nil'
  0085  CONCAT    R17 = concat(R17..R17)
  0086  CALL      R16 = call(R16, 0 args, 1 rets)
  0087  TFORCALL  tforcall R11
  0088  TFORLOOP  tforloop R13(sBx=-46)   -> 43
  0089  TFORCALL  tforcall R5
  0090  TFORLOOP  tforloop R7(sBx=-72)   -> 19
  0091  NEWTABLE  R5 = {} (0 items)
  0092  GETTABUP  R6 = _ENV[K1('pairs')]
  0093  GETTABUP  R7 = _ENV[K24('AlbumActivityDefinition')]
  0094  CALL      R6 = call(R6, 3 args, 1 rets)
  0095  JMP       (jump)   -> 101
  0096  GETTABUP  R11 = _ENV[K16('table')]
  0097  GETTABLE  R11 = R11[K17('insert')]
  0098  MOVE      R12 = R0
  0099  MOVE      R13 = R0
  0100  CALL      R11 = call(R11, 0 args, 2 rets)
  0101  TFORCALL  tforcall R6
  0102  TFORLOOP  tforloop R8(sBx=-7)   -> 96
  0103  GETTABUP  R6 = _ENV[K1('pairs')]
  0104  GETTABUP  R7 = _ENV[K25('UIBoardActivityModel')]
  0105  GETTABLE  R7 = R7[K26('GetAllUIBoardActivityDefinition')]
  0106  CALL      R7 = call(R7, -1 args, 0 rets)
  0107  CALL      R6 = call(R6, 3 args, -1 rets)
  0108  JMP       (jump)   -> 114
  0109  GETTABUP  R11 = _ENV[K16('table')]
  0110  GETTABLE  R11 = R11[K17('insert')]
  0111  MOVE      R12 = R0
  0112  MOVE      R13 = R0
  0113  CALL      R11 = call(R11, 0 args, 2 rets)
  0114  TFORCALL  tforcall R6
  0115  TFORLOOP  tforloop R8(sBx=-7)   -> 109
  0116  NEWTABLE  R6 = {} (0 items)
  0117  GETTABUP  R7 = _ENV[K1('pairs')]
  0118  GETTABUP  R8 = _ENV[K27('WeeklyActiveQuestDefinition')]
  0119  CALL      R7 = call(R7, 3 args, 1 rets)
  0120  JMP       (jump)   -> 126
  0121  GETTABUP  R12 = _ENV[K16('table')]
  0122  GETTABLE  R12 = R12[K17('insert')]
  0123  MOVE      R13 = R0
  0124  MOVE      R14 = R0
  0125  CALL      R12 = call(R12, 0 args, 2 rets)
  0126  TFORCALL  tforcall R7
  0127  TFORLOOP  tforloop R9(sBx=-7)   -> 121
  0128  GETTABUP  R7 = _ENV[K1('pairs')]
  0129  GETTABUP  R8 = _ENV[K28('DailyActiveQuestDefinition')]
  0130  CALL      R7 = call(R7, 3 args, 1 rets)
  0131  JMP       (jump)   -> 137
  0132  GETTABUP  R12 = _ENV[K16('table')]
  0133  GETTABLE  R12 = R12[K17('insert')]
  0134  MOVE      R13 = R0
  0135  MOVE      R14 = R0
  0136  CALL      R12 = call(R12, 0 args, 2 rets)
  0137  TFORCALL  tforcall R7
  0138  TFORLOOP  tforloop R9(sBx=-7)   -> 132
  0139  GETTABUP  R7 = _ENV[K29('ipairs')]
  0140  MOVE      R8 = R0
  0141  CALL      R7 = call(R7, 3 args, 1 rets)
  0142  JMP       (jump)   -> 159
  0143  GETTABUP  R12 = _ENV[K29('ipairs')]
  0144  MOVE      R13 = R0
  0145  CALL      R12 = call(R12, 3 args, 1 rets)
  0146  JMP       (jump)   -> 157
  0147  GETTABLE  R17 = R2[R11]
  0148  EQ        if R0 eq K7(nil)   -> -121955
  0149  JMP       (jump)   -> 152
  0150  NEWTABLE  R17 = {} (0 items)
  0151  SETTABLE  R2[R11] = R17
  0152  GETTABUP  R17 = _ENV[K16('table')]
  0153  GETTABLE  R17 = R17[K17('insert')]
  0154  GETTABLE  R18 = R2[R11]
  0155  MOVE      R19 = R0
  0156  CALL      R17 = call(R17, 0 args, 2 rets)
  0157  TFORCALL  tforcall R12
  0158  TFORLOOP  tforloop R14(sBx=-12)   -> 147
  0159  TFORCALL  tforcall R7
  0160  TFORLOOP  tforloop R9(sBx=-18)   -> 143
  0161  GETTABUP  R7 = _ENV[K8('Table')]
  0162  GETTABLE  R7 = R7[K30('TopologicalSort')]
  0163  MOVE      R8 = R0
  0164  CALL      R7 = call(R7, 1 args, 1 rets)
  0165  EQ        if R0 eq K7(nil)   -> -127058
  0166  JMP       (jump)   -> 176
  0167  GETTABUP  R8 = _ENV[K18('GameConfig')]
  0168  GETTABLE  R8 = R8[K19('IsTestMode')]
  0169  CALL      R8 = call(R8, 1 args, 0 rets)
  0170  TEST      if not R8 then   -> -130900
  0171  JMP       (jump)   -> 176
  0172  GETTABUP  R8 = _ENV[K20('Log')]
  0173  GETTABLE  R8 = R8[K21('Error')]
  0174  LOADK     R9 = K31 'extraCondition 存在环形依赖关系，请检查'
  0175  CALL      R8 = call(R8, 0 args, 1 rets)
  0176  SETTABLE  R0[K0('m_topologicalTypeArray')] = R7
  0177  RETURN    return R7..R6
  0178  RETURN    return R0..R-1
; ---------- proto34 [GetSortedValidActivities] ----------
  ; fn ?  line 535-556 np=2 va=0 ms=12 code=31 consts=8 upvals=1 protos=1
  ;   K[0]='pairs'
  ;   K[1]='GetModel'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='table'
  ;   K[6]='insert'
  ;   K[7]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-31), activityDefinition(0-31), arrType(1-31), (for generator)(4-23), (for state)(4-23), (for control)(4-23), activityType(5-21), _(5-21), model(8-21), modelA(24-31), modelB(24-31)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('pairs')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 21
  0005  SELF      R9 = R0[K1('GetModel')] (self)
  0006  MOVE      R10 = R0
  0007  CALL      R8 = call(R8, 1 args, 2 rets)
  0008  TEST      if not R8 then   -> -131062
  0009  JMP       (jump)   -> 21
  0010  SELF      R10 = R8[K2('GetState')] (self)
  0011  CALL      R9 = call(R9, 1 args, 1 rets)
  0012  GETTABUP  R10 = _ENV[K3('ActivityState')]
  0013  GETTABLE  R10 = R10[K4('Released')]
  0014  EQ        if R1 eq R10   -> -126438
  0015  JMP       (jump)   -> 21
  0016  GETTABUP  R9 = _ENV[K5('table')]
  0017  GETTABLE  R9 = R9[K6('insert')]
  0018  MOVE      R10 = R0
  0019  MOVE      R11 = R0
  0020  CALL      R9 = call(R9, 0 args, 2 rets)
  0021  TFORCALL  tforcall R3
  0022  TFORLOOP  tforloop R5(sBx=-18)   -> 5
  0023  LOADNIL   R3..R3 = nil
  0024  GETTABUP  R5 = _ENV[K5('table')]
  0025  GETTABLE  R5 = R5[K7('sort')]
  0026  MOVE      R6 = R0
  0027  CLOSURE   R7 = closure proto0
  0028  CALL      R5 = call(R5, 0 args, 2 rets)
  0029  RETURN    return R2..R1
  0030  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 545-553 np=2 va=0 ms=5 code=32 consts=3 upvals=3 protos=0
    ;   K[0]='GetModel'
    ;   K[1]='GetState'
    ;   K[2]=nil
    ;   upvals: modelA, self, modelB
    ;   locals: a(0-32), b(0-32)
    0000  TEST      if not R0 then   -> -131070
    0001  JMP       (jump)   -> 26
    0002  TEST      if not R1 then   -> -131068
    0003  JMP       (jump)   -> 26
    0004  GETUPVAL  R2 = modelA
    0005  SELF      R3 = R2[K0('GetModel')] (self)
    0006  MOVE      R4 = R0
    0007  CALL      R2 = call(R2, 1 args, 2 rets)
    0008  SETUPVAL  modelB = R0
    0009  GETUPVAL  R2 = modelA
    0010  SELF      R3 = R2[K0('GetModel')] (self)
    0011  MOVE      R4 = R0
    0012  CALL      R2 = call(R2, 1 args, 2 rets)
    0013  SETUPVAL  modelB = R0
    0014  GETUPVAL  R2 = modelA
    0015  SELF      R3 = R2[K1('GetState')] (self)
    0016  CALL      R2 = call(R2, 1 args, 1 rets)
    0017  GETUPVAL  R3 = modelA
    0018  SELF      R4 = R3[K1('GetState')] (self)
    0019  CALL      R3 = call(R3, 1 args, 1 rets)
    0020  LT        if R1 lt R2   -> -129512
    0021  JMP       (jump)   -> 23
    0022  LOADBOOL  R2 = false
    0023  LOADBOOL  R2 = true
    0024  RETURN    return R2..R1
    0025  JMP       (jump)   -> 31
    0026  EQ        if R0 eq K2(nil)   -> -130786
    0027  JMP       (jump)   -> 29
    0028  LOADBOOL  R2 = false
    0029  LOADBOOL  R2 = true
    0030  RETURN    return R2..R1
    0031  RETURN    return R0..R-1
