# CookBoostActivity_Model_CookBoostActivityModel_1642.luac
; fn @CookBoostActivityModel.lua  line 0-0 np=0 va=1 ms=5 code=276 consts=107 upvals=1 protos=85
;   K[0]='CookBoostActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='LastConfigIndex'
;   K[5]='l_index'
;   K[6]='ConfigIndex'
;   K[7]='index'
;   K[8]='TokenNumber'
;   K[9]='token'
;   K[10]='RoundEndTime'
;   K[11]='end_time'
;   K[12]='IsClaimed'
;   K[13]='claimed'
;   K[14]='ClaimRewardTime'
;   K[15]='r_time'
;   K[16]='HasLogFailed'
;   K[17]='log_f'
;   K[18]='RoundConfigKey'
;   K[19]='cookBoostConfig'
;   K[20]='Init'
;   K[21]='Destroy'
;   K[22]='_DropData'
;   K[23]='GetActivityDefinition'
;   K[24]='_OnStateChanged'
;   K[25]='IsActivityOpen'
;   K[26]='GetResourceLabels'
;   K[27]='GetRequirementHelper'
;   K[28]='_GetLogPrefix'
;   K[29]='_LoadOtherServerConfig'
;   K[30]='_CheckConfigValid'
;   K[31]='CookBoostActivityModel'
;   K[32]='_GetAllRoundConfig'
;   K[33]='GetMaxRoundConfigIndex'
;   K[34]='GetRoundConfigByIndex'
;   K[35]='GetCurrentRoundConfig'
;   K[36]='DB_VALUE_KEY'
;   K[37]=1
;   K[38]='_DBTableGetValue'
;   K[39]='_DBTableGetNumber'
;   K[40]='_DBTableGetTable'
;   K[41]='_DBTableSet'
;   K[42]='_DBTableSetTable'
;   K[43]='_DBTableRemove'
;   K[44]='GetLastConfigIndex'
;   K[45]='SetLastConfigIndex'
;   K[46]='GetConfigIndex'
;   K[47]='SetConfigIndex'
;   K[48]='GetTokenNumber'
;   K[49]='SetTokenNumber'
;   K[50]='GetRoundEndTime'
;   K[51]='SetRoundEndTime'
;   K[52]='RemoveRoundEndTime'
;   K[53]='HasClaimedReward'
;   K[54]='SetHasClaimedReward'
;   K[55]='GetClaimRewardTime'
;   K[56]='SetClaimRewardTime'
;   K[57]='RemoveClaimRewardTime'
;   K[58]='SetHasLogFailed'
;   K[59]='GetNextConfigIndex'
;   K[60]='GetLeftDuration'
;   K[61]='IsInDuration'
;   K[62]='SetAwardAnimationPlayed'
;   K[63]='IsAwardAnimationPlaying'
;   K[64]='SetWaitingNewRound'
;   K[65]='IsWaitingNewRound'
;   K[66]='SetHideTopRightEntry'
;   K[67]='IsHideTopRightEntry'
;   K[68]='SetOrderIconAnimationPlayed'
;   K[69]='IsOrderIconAnimationPlaying'
;   K[70]='CanLogFailed'
;   K[71]='_DispatchStateChangedEvent'
;   K[72]='_DispatchRefreshEntryEvent'
;   K[73]='_DispatchRefreshIconEntryEvent'
;   K[74]='_DispatchRequirementSatisfiedEvent'
;   K[75]='_DispatchTriggerStateChangedEvent'
;   K[76]='UpdatePerSecond'
;   K[77]='OnRequirementSatisfied'
;   K[78]='OnRequirementRemoved'
;   K[79]='OnRequirementChanged'
;   K[80]='OnNewOrderIconChosen'
;   K[81]='FilterNewOrderRequirement'
;   K[82]='IsProgressFinished'
;   K[83]='IsActivityOpenAndOngoing'
;   K[84]='IsTriggered'
;   K[85]='CanTrigger'
;   K[86]='TryTrigger'
;   K[87]='CanClaimReward'
;   K[88]='TryClaimReward'
;   K[89]='IsStartWindowPoped'
;   K[90]='SetStartWindowPoped'
;   K[91]='_OpenWindow'
;   K[92]='OpenMainWindow'
;   K[93]='OnMainWindowPoped'
;   K[94]='OpenAnimationWindow'
;   K[95]='_IsEntryVisible'
;   K[96]='GetMapEntryShowConfig'
;   K[97]='GetOrderIconActivityEntryShowConfig'
;   K[98]='OnEntryClicked'
;   K[99]='TestFinishCurrentRound'
;   K[100]='TestTryAddRequirement'
;   K[101]='TestRemoveAllItem'
;   K[102]='_LogRequirementSatisfied'
;   K[103]='_LogReady'
;   K[104]='_LogUseBoost'
;   K[105]='_LogStart'
;   K[106]='_LogFail'
;   upvals: _ENV
;   locals: DBKey(16-276), DB_VALUE_KEY(64-276), TRUE_VALUE(65-276)
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('CookBoostActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('CookBoostActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K4('LastConfigIndex')] = K5('l_index')
0010  SETTABLE  R0[K6('ConfigIndex')] = K7('index')
0011  SETTABLE  R0[K8('TokenNumber')] = K9('token')
0012  SETTABLE  R0[K10('RoundEndTime')] = K11('end_time')
0013  SETTABLE  R0[K12('IsClaimed')] = K13('claimed')
0014  SETTABLE  R0[K14('ClaimRewardTime')] = K15('r_time')
0015  SETTABLE  R0[K16('HasLogFailed')] = K17('log_f')
0016  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0017  SETTABLE  R1[K18('RoundConfigKey')] = K19('cookBoostConfig')
0018  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0019  CLOSURE   R2 = closure proto0
0020  SETTABLE  R1[K20('Init')] = R2
0021  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0022  CLOSURE   R2 = closure proto1
0023  SETTABLE  R1[K21('Destroy')] = R2
0024  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0025  CLOSURE   R2 = closure proto2
0026  SETTABLE  R1[K22('_DropData')] = R2
0027  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0028  CLOSURE   R2 = closure proto3
0029  SETTABLE  R1[K23('GetActivityDefinition')] = R2
0030  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0031  CLOSURE   R2 = closure proto4
0032  SETTABLE  R1[K24('_OnStateChanged')] = R2
0033  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0034  CLOSURE   R2 = closure proto5
0035  SETTABLE  R1[K25('IsActivityOpen')] = R2
0036  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0037  CLOSURE   R2 = closure proto6
0038  SETTABLE  R1[K26('GetResourceLabels')] = R2
0039  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0040  CLOSURE   R2 = closure proto7
0041  SETTABLE  R1[K27('GetRequirementHelper')] = R2
0042  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0043  CLOSURE   R2 = closure proto8
0044  SETTABLE  R1[K28('_GetLogPrefix')] = R2
0045  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0046  CLOSURE   R2 = closure proto9
0047  SETTABLE  R1[K29('_LoadOtherServerConfig')] = R2
0048  GETTABUP  R1 = _ENV[K0('CookBoostActivityModel')]
0049  CLOSURE   R2 = closure proto10
0050  SETTABLE  R1[K30('_CheckConfigValid')] = R2
0051  GETTABUP  R1 = _ENV[K31('CookBoostActivityModel')]
0052  CLOSURE   R2 = closure proto11
0053  SETTABLE  R1[K32('_GetAllRoundConfig')] = R2
0054  GETTABUP  R1 = _ENV[K31('CookBoostActivityModel')]
0055  CLOSURE   R2 = closure proto12
0056  SETTABLE  R1[K33('GetMaxRoundConfigIndex')] = R2
0057  GETTABUP  R1 = _ENV[K31('CookBoostActivityModel')]
0058  CLOSURE   R2 = closure proto13
0059  SETTABLE  R1[K34('GetRoundConfigByIndex')] = R2
0060  GETTABUP  R1 = _ENV[K31('CookBoostActivityModel')]
0061  CLOSURE   R2 = closure proto14
0062  SETTABLE  R1[K35('GetCurrentRoundConfig')] = R2
0063  GETTABUP  R1 = _ENV[K36('DB_VALUE_KEY')]
0064  LOADK     R2 = K37 1
0065  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0066  CLOSURE   R4 = closure proto15
0067  SETTABLE  R3[K38('_DBTableGetValue')] = R4
0068  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0069  CLOSURE   R4 = closure proto16
0070  SETTABLE  R3[K39('_DBTableGetNumber')] = R4
0071  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0072  CLOSURE   R4 = closure proto17
0073  SETTABLE  R3[K40('_DBTableGetTable')] = R4
0074  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0075  CLOSURE   R4 = closure proto18
0076  SETTABLE  R3[K41('_DBTableSet')] = R4
0077  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0078  CLOSURE   R4 = closure proto19
0079  SETTABLE  R3[K42('_DBTableSetTable')] = R4
0080  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0081  CLOSURE   R4 = closure proto20
0082  SETTABLE  R3[K43('_DBTableRemove')] = R4
0083  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0084  CLOSURE   R4 = closure proto21
0085  SETTABLE  R3[K44('GetLastConfigIndex')] = R4
0086  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0087  CLOSURE   R4 = closure proto22
0088  SETTABLE  R3[K45('SetLastConfigIndex')] = R4
0089  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0090  CLOSURE   R4 = closure proto23
0091  SETTABLE  R3[K46('GetConfigIndex')] = R4
0092  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0093  CLOSURE   R4 = closure proto24
0094  SETTABLE  R3[K47('SetConfigIndex')] = R4
0095  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0096  CLOSURE   R4 = closure proto25
0097  SETTABLE  R3[K48('GetTokenNumber')] = R4
0098  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0099  CLOSURE   R4 = closure proto26
0100  SETTABLE  R3[K49('SetTokenNumber')] = R4
0101  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0102  CLOSURE   R4 = closure proto27
0103  SETTABLE  R3[K50('GetRoundEndTime')] = R4
0104  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0105  CLOSURE   R4 = closure proto28
0106  SETTABLE  R3[K51('SetRoundEndTime')] = R4
0107  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0108  CLOSURE   R4 = closure proto29
0109  SETTABLE  R3[K52('RemoveRoundEndTime')] = R4
0110  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0111  CLOSURE   R4 = closure proto30
0112  SETTABLE  R3[K53('HasClaimedReward')] = R4
0113  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0114  CLOSURE   R4 = closure proto31
0115  SETTABLE  R3[K54('SetHasClaimedReward')] = R4
0116  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0117  CLOSURE   R4 = closure proto32
0118  SETTABLE  R3[K55('GetClaimRewardTime')] = R4
0119  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0120  CLOSURE   R4 = closure proto33
0121  SETTABLE  R3[K56('SetClaimRewardTime')] = R4
0122  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0123  CLOSURE   R4 = closure proto34
0124  SETTABLE  R3[K57('RemoveClaimRewardTime')] = R4
0125  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0126  CLOSURE   R4 = closure proto35
0127  SETTABLE  R3[K16('HasLogFailed')] = R4
0128  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0129  CLOSURE   R4 = closure proto36
0130  SETTABLE  R3[K58('SetHasLogFailed')] = R4
0131  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0132  CLOSURE   R4 = closure proto37
0133  SETTABLE  R3[K59('GetNextConfigIndex')] = R4
0134  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0135  CLOSURE   R4 = closure proto38
0136  SETTABLE  R3[K60('GetLeftDuration')] = R4
0137  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0138  CLOSURE   R4 = closure proto39
0139  SETTABLE  R3[K61('IsInDuration')] = R4
0140  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0141  CLOSURE   R4 = closure proto40
0142  SETTABLE  R3[K62('SetAwardAnimationPlayed')] = R4
0143  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0144  CLOSURE   R4 = closure proto41
0145  SETTABLE  R3[K63('IsAwardAnimationPlaying')] = R4
0146  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0147  CLOSURE   R4 = closure proto42
0148  SETTABLE  R3[K64('SetWaitingNewRound')] = R4
0149  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0150  CLOSURE   R4 = closure proto43
0151  SETTABLE  R3[K65('IsWaitingNewRound')] = R4
0152  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0153  CLOSURE   R4 = closure proto44
0154  SETTABLE  R3[K66('SetHideTopRightEntry')] = R4
0155  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0156  CLOSURE   R4 = closure proto45
0157  SETTABLE  R3[K67('IsHideTopRightEntry')] = R4
0158  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0159  CLOSURE   R4 = closure proto46
0160  SETTABLE  R3[K68('SetOrderIconAnimationPlayed')] = R4
0161  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0162  CLOSURE   R4 = closure proto47
0163  SETTABLE  R3[K69('IsOrderIconAnimationPlaying')] = R4
0164  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0165  CLOSURE   R4 = closure proto48
0166  SETTABLE  R3[K70('CanLogFailed')] = R4
0167  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0168  CLOSURE   R4 = closure proto49
0169  SETTABLE  R3[K71('_DispatchStateChangedEvent')] = R4
0170  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0171  CLOSURE   R4 = closure proto50
0172  SETTABLE  R3[K72('_DispatchRefreshEntryEvent')] = R4
0173  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0174  CLOSURE   R4 = closure proto51
0175  SETTABLE  R3[K73('_DispatchRefreshIconEntryEvent')] = R4
0176  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0177  CLOSURE   R4 = closure proto52
0178  SETTABLE  R3[K74('_DispatchRequirementSatisfiedEvent')] = R4
0179  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0180  CLOSURE   R4 = closure proto53
0181  SETTABLE  R3[K75('_DispatchTriggerStateChangedEvent')] = R4
0182  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0183  CLOSURE   R4 = closure proto54
0184  SETTABLE  R3[K76('UpdatePerSecond')] = R4
0185  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0186  CLOSURE   R4 = closure proto55
0187  SETTABLE  R3[K77('OnRequirementSatisfied')] = R4
0188  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0189  CLOSURE   R4 = closure proto56
0190  SETTABLE  R3[K78('OnRequirementRemoved')] = R4
0191  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0192  CLOSURE   R4 = closure proto57
0193  SETTABLE  R3[K79('OnRequirementChanged')] = R4
0194  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0195  CLOSURE   R4 = closure proto58
0196  SETTABLE  R3[K80('OnNewOrderIconChosen')] = R4
0197  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0198  CLOSURE   R4 = closure proto59
0199  SETTABLE  R3[K81('FilterNewOrderRequirement')] = R4
0200  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0201  CLOSURE   R4 = closure proto60
0202  SETTABLE  R3[K82('IsProgressFinished')] = R4
0203  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0204  CLOSURE   R4 = closure proto61
0205  SETTABLE  R3[K83('IsActivityOpenAndOngoing')] = R4
0206  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0207  CLOSURE   R4 = closure proto62
0208  SETTABLE  R3[K84('IsTriggered')] = R4
0209  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0210  CLOSURE   R4 = closure proto63
0211  SETTABLE  R3[K85('CanTrigger')] = R4
0212  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0213  CLOSURE   R4 = closure proto64
0214  SETTABLE  R3[K86('TryTrigger')] = R4
0215  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0216  CLOSURE   R4 = closure proto65
0217  SETTABLE  R3[K87('CanClaimReward')] = R4
0218  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0219  CLOSURE   R4 = closure proto66
0220  SETTABLE  R3[K88('TryClaimReward')] = R4
0221  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0222  CLOSURE   R4 = closure proto67
0223  SETTABLE  R3[K89('IsStartWindowPoped')] = R4
0224  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0225  CLOSURE   R4 = closure proto68
0226  SETTABLE  R3[K90('SetStartWindowPoped')] = R4
0227  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0228  CLOSURE   R4 = closure proto69
0229  SETTABLE  R3[K91('_OpenWindow')] = R4
0230  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0231  CLOSURE   R4 = closure proto70
0232  SETTABLE  R3[K92('OpenMainWindow')] = R4
0233  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0234  CLOSURE   R4 = closure proto71
0235  SETTABLE  R3[K93('OnMainWindowPoped')] = R4
0236  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0237  CLOSURE   R4 = closure proto72
0238  SETTABLE  R3[K94('OpenAnimationWindow')] = R4
0239  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0240  CLOSURE   R4 = closure proto73
0241  SETTABLE  R3[K95('_IsEntryVisible')] = R4
0242  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0243  CLOSURE   R4 = closure proto74
0244  SETTABLE  R3[K96('GetMapEntryShowConfig')] = R4
0245  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0246  CLOSURE   R4 = closure proto75
0247  SETTABLE  R3[K97('GetOrderIconActivityEntryShowConfig')] = R4
0248  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0249  CLOSURE   R4 = closure proto76
0250  SETTABLE  R3[K98('OnEntryClicked')] = R4
0251  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0252  CLOSURE   R4 = closure proto77
0253  SETTABLE  R3[K99('TestFinishCurrentRound')] = R4
0254  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0255  CLOSURE   R4 = closure proto78
0256  SETTABLE  R3[K100('TestTryAddRequirement')] = R4
0257  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0258  CLOSURE   R4 = closure proto79
0259  SETTABLE  R3[K101('TestRemoveAllItem')] = R4
0260  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0261  CLOSURE   R4 = closure proto80
0262  SETTABLE  R3[K102('_LogRequirementSatisfied')] = R4
0263  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0264  CLOSURE   R4 = closure proto81
0265  SETTABLE  R3[K103('_LogReady')] = R4
0266  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0267  CLOSURE   R4 = closure proto82
0268  SETTABLE  R3[K104('_LogUseBoost')] = R4
0269  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0270  CLOSURE   R4 = closure proto83
0271  SETTABLE  R3[K105('_LogStart')] = R4
0272  GETTABUP  R3 = _ENV[K31('CookBoostActivityModel')]
0273  CLOSURE   R4 = closure proto84
0274  SETTABLE  R3[K106('_LogFail')] = R4
0275  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 32-44 np=3 va=0 ms=7 code=29 consts=13 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='CookBoostActivityDefinition'
  ;   K[2]='m_requirementHelper'
  ;   K[3]='ActivityRequirementHelper'
  ;   K[4]='Create'
  ;   K[5]='BaseActivityModel'
  ;   K[6]='Init'
  ;   K[7]='m_bIsTriggered'
  ;   K[8]='IsInDuration'
  ;   K[9]='GetRoundEndTime'
  ;   K[10]=0
  ;   K[11]='CanLogFailed'
  ;   K[12]='_LogFail'
  ;   upvals: _ENV
  ;   locals: self(0-29), activityType(0-29), virtualDBTable(0-29)
  0000  GETTABUP  R3 = _ENV[K1('CookBoostActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R3
  0003  GETTABUP  R3 = _ENV[K3('ActivityRequirementHelper')]
  0004  GETTABLE  R3 = R3[K4('Create')]
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  SETTABLE  R0[K2('m_requirementHelper')] = R3
  0009  GETTABUP  R3 = _ENV[K5('BaseActivityModel')]
  0010  GETTABLE  R3 = R3[K6('Init')]
  0011  MOVE      R4 = R0
  0012  MOVE      R5 = R0
  0013  MOVE      R6 = R0
  0014  CALL      R3 = call(R3, 0 args, 3 rets)
  0015  SELF      R4 = R0[K8('IsInDuration')] (self)
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  SETTABLE  R0[K7('m_bIsTriggered')] = R3
  0018  SELF      R4 = R0[K9('GetRoundEndTime')] (self)
  0019  CALL      R3 = call(R3, 1 args, 1 rets)
  0020  LT        if R0 lt R3   -> 5145
  0021  JMP       (jump)   -> 28
  0022  SELF      R4 = R0[K11('CanLogFailed')] (self)
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  TEST      if not R3 then   -> -131046
  0025  JMP       (jump)   -> 28
  0026  SELF      R4 = R0[K12('_LogFail')] (self)
  0027  CALL      R3 = call(R3, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 47-50 np=1 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='GetRequirementHelper'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('Destroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('GetRequirementHelper')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  SELF      R2 = R1[K1('Destroy')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto2 [_DropData] ----------
  ; fn ?  line 53-62 np=1 va=0 ms=3 code=20 consts=9 upvals=1 protos=0
  ;   K[0]='m_bIsTriggered'
  ;   K[1]='CanLogFailed'
  ;   K[2]='_LogFail'
  ;   K[3]='BaseActivityModel'
  ;   K[4]='_DropData'
  ;   K[5]='GetRequirementHelper'
  ;   K[6]='DropData'
  ;   K[7]=nil
  ;   K[8]='m_bWaitingNewRound'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  GETTABLE  R1 = R0[K0('m_bIsTriggered')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 9
  0003  SELF      R2 = R0[K1('CanLogFailed')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 9
  0007  SELF      R2 = R0[K2('_LogFail')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABUP  R1 = _ENV[K3('BaseActivityModel')]
  0010  GETTABLE  R1 = R1[K4('_DropData')]
  0011  MOVE      R2 = R0
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  SELF      R2 = R0[K5('GetRequirementHelper')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  SELF      R2 = R1[K6('DropData')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  SETTABLE  R0[K0('m_bIsTriggered')] = K7(nil)
  0018  SETTABLE  R0[K8('m_bWaitingNewRound')] = K7(nil)
  0019  RETURN    return R0..R-1
; ---------- proto3 [GetActivityDefinition] ----------
  ; fn ?  line 65-67 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
; ---------- proto4 [_OnStateChanged] ----------
  ; fn ?  line 70-75 np=1 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='_DispatchStateChangedEvent'
  ;   K[3]='_DispatchRefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_OnStateChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_DispatchStateChangedEvent')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('_DispatchRefreshEntryEvent')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto5 [IsActivityOpen] ----------
  ; fn ?  line 78-80 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto6 [GetResourceLabels] ----------
  ; fn ?  line 83-85 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetActivityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetActivityDefinition')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto7 [GetRequirementHelper] ----------
  ; fn ?  line 87-89 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_requirementHelper'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_requirementHelper')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [_GetLogPrefix] ----------
  ; fn ?  line 95-97 np=2 va=0 ms=6 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='[CookBoost] 活动id=<color=#FFA000>%d</color>，'
  ;   K[3]='id'
  ;   K[4]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-13), config(0-13)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  LOADK     R3 = K2 '[CookBoost] 活动id=<color=#FFA000>%d</color>，'
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 8
  0005  GETTABLE  R4 = R1[K3('id')]
  0006  TEST      if not R4 then   -> -131063
  0007  JMP       (jump)   -> 10
  0008  SELF      R5 = R0[K4('GetId')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto9 [_LoadOtherServerConfig] ----------
  ; fn ?  line 99-128 np=2 va=0 ms=13 code=77 consts=28 upvals=1 protos=1
  ;   K[0]='CookBoostActivityModel'
  ;   K[1]='RoundConfigKey'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]=0
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='%s没有找到配置：%s，配置需要使用include关联表%s！'
  ;   K[10]='_GetLogPrefix'
  ;   K[11]='LogTag'
  ;   K[12]='ConfigCheck'
  ;   K[13]='ipairs'
  ;   K[14]='CookBoostActivityConfig'
  ;   K[15]='Create'
  ;   K[16]='table'
  ;   K[17]='insert'
  ;   K[18]='sort'
  ;   K[19]='m_config'
  ;   K[20]='arrRoundConfig'
  ;   K[21]=1
  ;   K[22]='eTime'
  ;   K[23]='math'
  ;   K[24]='min'
  ;   K[25]='timeLimit'
  ;   K[26]='rTime'
  ;   K[27]='_CheckConfigValid'
  ;   upvals: _ENV
  ;   locals: self(0-77), config(0-77), arrRoundConfig(1-77), arrRawConfig(4-77), roundConfig(30-77), (for generator)(33-46), (for state)(33-46), (for control)(33-46), _(34-44), rawConfig(34-44), sortByRound(47-77)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('CookBoostActivityModel')]
  0002  GETTABLE  R3 = R3[K1('RoundConfigKey')]
  0003  GETTABLE  R3 = R1[R3]
  0004  GETTABUP  R4 = _ENV[K2('Table')]
  0005  GETTABLE  R4 = R4[K3('IsEmpty')]
  0006  MOVE      R5 = R0
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  TEST      if not R4 then   -> -131061
  0009  JMP       (jump)   -> 13
  0010  LEN       R4 = len R0
  0011  LE        if R0 le K4(0)   -> -128751
  0012  JMP       (jump)   -> 29
  0013  GETTABUP  R4 = _ENV[K5('Log')]
  0014  GETTABLE  R4 = R4[K6('Error')]
  0015  GETTABUP  R5 = _ENV[K7('string')]
  0016  GETTABLE  R5 = R5[K8('format')]
  0017  LOADK     R6 = K9 '%s没有找到配置：%s，配置需要使用include关联表%s！'
  0018  SELF      R8 = R0[K10('_GetLogPrefix')] (self)
  0019  MOVE      R9 = R0
  0020  CALL      R7 = call(R7, 1 args, 2 rets)
  0021  GETTABUP  R8 = _ENV[K0('CookBoostActivityModel')]
  0022  GETTABLE  R8 = R8[K1('RoundConfigKey')]
  0023  GETTABUP  R9 = _ENV[K0('CookBoostActivityModel')]
  0024  GETTABLE  R9 = R9[K1('RoundConfigKey')]
  0025  CALL      R5 = call(R5, 1 args, 4 rets)
  0026  GETTABUP  R6 = _ENV[K11('LogTag')]
  0027  GETTABLE  R6 = R6[K12('ConfigCheck')]
  0028  CALL      R4 = call(R4, 0 args, 2 rets)
  0029  LOADNIL   R4..R4 = nil
  0030  GETTABUP  R5 = _ENV[K13('ipairs')]
  0031  MOVE      R6 = R0
  0032  CALL      R5 = call(R5, 3 args, 1 rets)
  0033  JMP       (jump)   -> 44
  0034  GETTABUP  R10 = _ENV[K14('CookBoostActivityConfig')]
  0035  GETTABLE  R10 = R10[K15('Create')]
  0036  MOVE      R11 = R0
  0037  CALL      R10 = call(R10, 1 args, 1 rets)
  0038  MOVE      R4 = R0
  0039  GETTABUP  R10 = _ENV[K16('table')]
  0040  GETTABLE  R10 = R10[K17('insert')]
  0041  MOVE      R11 = R0
  0042  MOVE      R12 = R0
  0043  CALL      R10 = call(R10, 0 args, 2 rets)
  0044  TFORCALL  tforcall R5
  0045  TFORLOOP  tforloop R7(sBx=-12)   -> 34
  0046  CLOSURE   R5 = closure proto0
  0047  GETTABUP  R6 = _ENV[K16('table')]
  0048  GETTABLE  R6 = R6[K18('sort')]
  0049  MOVE      R7 = R0
  0050  MOVE      R8 = R0
  0051  CALL      R6 = call(R6, 0 args, 2 rets)
  0052  GETTABLE  R6 = R0[K19('m_config')]
  0053  SETTABLE  R6[K20('arrRoundConfig')] = R2
  0054  LEN       R6 = len R0
  0055  LE        if R0 le R6   -> 10815
  0056  JMP       (jump)   -> 73
  0057  GETTABLE  R6 = R0[K19('m_config')]
  0058  GETTABUP  R7 = _ENV[K23('math')]
  0059  GETTABLE  R7 = R7[K24('min')]
  0060  GETTABLE  R8 = R0[K19('m_config')]
  0061  GETTABLE  R8 = R8[K22('eTime')]
  0062  GETTABLE  R9 = R2[K21(1)]
  0063  GETTABLE  R9 = R9[K25('timeLimit')]
  0064  ADD       R8 = R9 add R8
  0065  GETTABLE  R9 = R0[K19('m_config')]
  0066  GETTABLE  R9 = R9[K26('rTime')]
  0067  TEST      if not R9 then   -> -131002
  0068  JMP       (jump)   -> 71
  0069  GETTABLE  R9 = R0[K19('m_config')]
  0070  GETTABLE  R9 = R9[K22('eTime')]
  0071  CALL      R7 = call(R7, 1 args, 2 rets)
  0072  SETTABLE  R6[K22('eTime')] = R7
  0073  SELF      R7 = R0[K27('_CheckConfigValid')] (self)
  0074  MOVE      R8 = R0
  0075  CALL      R6 = call(R6, 0 args, 2 rets)
  0076  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 115-117 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetRound'
    ;   locals: configA(0-10), configB(0-10)
    0000  SELF      R3 = R0[K0('GetRound')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetRound')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
; ---------- proto10 [_CheckConfigValid] ----------
  ; fn ?  line 130-155 np=2 va=0 ms=17 code=97 consts=29 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='ipairs'
  ;   K[3]='_GetAllRoundConfig'
  ;   K[4]='GetRound'
  ;   K[5]='string'
  ;   K[6]='format'
  ;   K[7]='%s配置表%s里，round=%d的配置'
  ;   K[8]='_GetLogPrefix'
  ;   K[9]='CookBoostActivityModel'
  ;   K[10]='RoundConfigKey'
  ;   K[11]='Log'
  ;   K[12]='Error'
  ;   K[13]='%s<color=#FFA000>round错误</color>，这是第%d条配置，期望round=%d，当前round=%d'
  ;   K[14]='LogTag'
  ;   K[15]='ConfigCheck'
  ;   K[16]='GetTimeLimit'
  ;   K[17]=0
  ;   K[18]=true
  ;   K[19]='Table'
  ;   K[20]='GetMapSize'
  ;   K[21]=1
  ;   K[22]='%s配置表%s里，<color=#FFA000>timeLimit不相同</color>，多轮只能是相同的持续时间，目前timeLimit为：%s'
  ;   K[23]='table'
  ;   K[24]='concat'
  ;   K[25]='GetKeys'
  ;   K[26]=', '
  ;   K[27]=3
  ;   K[28]='%s<color=#FFA000>round总数错误</color>，当前round总数=%d，受UI限制，期望round总数为3'
  ;   upvals: _ENV
  ;   locals: self(0-97), config(0-97), logPrefix(7-97), round(7-97), mapTimeLimit(8-97), (for generator)(12-50), (for state)(12-50), (for control)(12-50), expectedRound(13-48), roundConfig(13-48)
  0000  GETTABUP  R2 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R2 = R2[K1('IsTestMode')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  LOADNIL   R2..R2 = nil
  0007  NEWTABLE  R4 = {} (0 items)
  0008  GETTABUP  R5 = _ENV[K2('ipairs')]
  0009  SELF      R7 = R0[K3('_GetAllRoundConfig')] (self)
  0010  CALL      R6 = call(R6, -1 args, 1 rets)
  0011  CALL      R5 = call(R5, 3 args, -1 rets)
  0012  JMP       (jump)   -> 48
  0013  SELF      R11 = R9[K4('GetRound')] (self)
  0014  CALL      R10 = call(R10, 1 args, 1 rets)
  0015  MOVE      R3 = R0
  0016  GETTABUP  R10 = _ENV[K5('string')]
  0017  GETTABLE  R10 = R10[K6('format')]
  0018  LOADK     R11 = K7 '%s配置表%s里，round=%d的配置'
  0019  SELF      R13 = R0[K8('_GetLogPrefix')] (self)
  0020  MOVE      R14 = R0
  0021  CALL      R12 = call(R12, 1 args, 2 rets)
  0022  GETTABUP  R13 = _ENV[K9('CookBoostActivityModel')]
  0023  GETTABLE  R13 = R13[K10('RoundConfigKey')]
  0024  MOVE      R14 = R0
  0025  CALL      R10 = call(R10, 1 args, 4 rets)
  0026  MOVE      R2 = R0
  0027  EQ        if R1 eq R3   -> -126944
  0028  JMP       (jump)   -> 42
  0029  GETTABUP  R10 = _ENV[K11('Log')]
  0030  GETTABLE  R10 = R10[K12('Error')]
  0031  GETTABUP  R11 = _ENV[K5('string')]
  0032  GETTABLE  R11 = R11[K6('format')]
  0033  LOADK     R12 = K13 '%s<color=#FFA000>round错误</color>，这是第%d条配置，期望round=%d，当前round=%d'
  0034  MOVE      R13 = R0
  0035  MOVE      R14 = R0
  0036  MOVE      R15 = R0
  0037  MOVE      R16 = R0
  0038  CALL      R11 = call(R11, 1 args, 5 rets)
  0039  GETTABUP  R12 = _ENV[K14('LogTag')]
  0040  GETTABLE  R12 = R12[K15('ConfigCheck')]
  0041  CALL      R10 = call(R10, 0 args, 2 rets)
  0042  SELF      R11 = R9[K16('GetTimeLimit')] (self)
  0043  CALL      R10 = call(R10, 1 args, 1 rets)
  0044  TEST      if not R10 then   -> -131025
  0045  JMP       (jump)   -> 47
  0046  LOADK     R10 = K17 0
  0047  SETTABLE  R4[R10] = K18(true)
  0048  TFORCALL  tforcall R5
  0049  TFORLOOP  tforloop R7(sBx=-37)   -> 13
  0050  GETTABUP  R5 = _ENV[K19('Table')]
  0051  GETTABLE  R5 = R5[K20('GetMapSize')]
  0052  MOVE      R6 = R0
  0053  CALL      R5 = call(R5, 1 args, 1 rets)
  0054  LT        if R0 lt R5   -> 10813
  0055  JMP       (jump)   -> 78
  0056  GETTABUP  R5 = _ENV[K11('Log')]
  0057  GETTABLE  R5 = R5[K12('Error')]
  0058  GETTABUP  R6 = _ENV[K5('string')]
  0059  GETTABLE  R6 = R6[K6('format')]
  0060  LOADK     R7 = K22 '%s配置表%s里，<color=#FFA000>timeLimit不相同</color>，多轮只能是相同的持续时间，目前timeLimit为：%s'
  0061  SELF      R9 = R0[K8('_GetLogPrefix')] (self)
  0062  MOVE      R10 = R0
  0063  CALL      R8 = call(R8, 1 args, 2 rets)
  0064  GETTABUP  R9 = _ENV[K9('CookBoostActivityModel')]
  0065  GETTABLE  R9 = R9[K10('RoundConfigKey')]
  0066  GETTABUP  R10 = _ENV[K23('table')]
  0067  GETTABLE  R10 = R10[K24('concat')]
  0068  GETTABUP  R11 = _ENV[K19('Table')]
  0069  GETTABLE  R11 = R11[K25('GetKeys')]
  0070  MOVE      R12 = R0
  0071  CALL      R11 = call(R11, 1 args, 1 rets)
  0072  LOADK     R12 = K26 ', '
  0073  CALL      R10 = call(R10, -1 args, 2 rets)
  0074  CALL      R6 = call(R6, 1 args, -1 rets)
  0075  GETTABUP  R7 = _ENV[K14('LogTag')]
  0076  GETTABLE  R7 = R7[K15('ConfigCheck')]
  0077  CALL      R5 = call(R5, 0 args, 2 rets)
  0078  SELF      R6 = R0[K3('_GetAllRoundConfig')] (self)
  0079  CALL      R5 = call(R5, 1 args, 1 rets)
  0080  LEN       R5 = len R0
  0081  EQ        if R1 eq K27(3)   -> -128146
  0082  JMP       (jump)   -> 96
  0083  GETTABUP  R5 = _ENV[K11('Log')]
  0084  GETTABLE  R5 = R5[K12('Error')]
  0085  GETTABUP  R6 = _ENV[K5('string')]
  0086  GETTABLE  R6 = R6[K6('format')]
  0087  LOADK     R7 = K28 '%s<color=#FFA000>round总数错误</color>，当前round总数=%d，受UI限制，期望round总数为3'
  0088  SELF      R9 = R0[K8('_GetLogPrefix')] (self)
  0089  MOVE      R10 = R0
  0090  CALL      R8 = call(R8, 1 args, 2 rets)
  0091  MOVE      R9 = R0
  0092  CALL      R6 = call(R6, 1 args, 3 rets)
  0093  GETTABUP  R7 = _ENV[K14('LogTag')]
  0094  GETTABLE  R7 = R7[K15('ConfigCheck')]
  0095  CALL      R5 = call(R5, 0 args, 2 rets)
  0096  RETURN    return R0..R-1
; ---------- proto11 [_GetAllRoundConfig] ----------
  ; fn ?  line 161-163 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='arrRoundConfig'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  GETTABLE  R1 = R1[K1('arrRoundConfig')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto12 [GetMaxRoundConfigIndex] ----------
  ; fn ?  line 165-167 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetAllRoundConfig'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_GetAllRoundConfig')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LEN       R1 = len R0
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto13 [GetRoundConfigByIndex] ----------
  ; fn ?  line 170-172 np=2 va=0 ms=4 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetAllRoundConfig'
  ;   locals: self(0-5), index(0-5)
  0000  SELF      R3 = R0[K0('_GetAllRoundConfig')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABLE  R2 = R2[R1]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto14 [GetCurrentRoundConfig] ----------
  ; fn ?  line 174-176 np=1 va=0 ms=5 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetRoundConfigByIndex'
  ;   K[1]='GetConfigIndex'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('GetRoundConfigByIndex')] (self)
  0001  SELF      R4 = R0[K1('GetConfigIndex')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto15 [_DBTableGetValue] ----------
  ; fn ?  line 187-189 np=2 va=0 ms=6 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  MOVE      R4 = R0
  0003  GETUPVAL  R5 = DB_VALUE_KEY
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto16 [_DBTableGetNumber] ----------
  ; fn ?  line 193-196 np=3 va=0 ms=7 code=13 consts=3 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='tonumber'
  ;   K[2]='_DBTableGetValue'
  ;   upvals: _ENV
  ;   locals: self(0-13), key(0-13), defaultValue(0-13)
  0000  TEST      if not R2 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  LOADK     R2 = K0 0
  0003  GETTABUP  R3 = _ENV[K1('tonumber')]
  0004  SELF      R5 = R0[K2('_DBTableGetValue')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, -1 args, 2 rets)
  0007  CALL      R3 = call(R3, 1 args, -1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  MOVE      R3 = R0
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto17 [_DBTableGetTable] ----------
  ; fn ?  line 200-202 np=2 va=0 ms=6 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='json'
  ;   K[1]='decode'
  ;   K[2]='_DBTableGetValue'
  ;   K[3]=''
  ;   upvals: _ENV
  ;   locals: self(0-14), key(0-14)
  0000  GETTABUP  R2 = _ENV[K0('json')]
  0001  GETTABLE  R2 = R2[K1('decode')]
  0002  SELF      R4 = R0[K2('_DBTableGetValue')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R3 = K3 ''
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 12
  0011  NEWTABLE  R2 = {} (0 items)
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto18 [_DBTableSet] ----------
  ; fn ?  line 206-208 np=3 va=0 ms=8 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7), value(0-7)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  MOVE      R5 = R0
  0003  GETUPVAL  R6 = DB_VALUE_KEY
  0004  MOVE      R7 = R0
  0005  CALL      R3 = call(R3, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto19 [_DBTableSetTable] ----------
  ; fn ?  line 212-214 np=3 va=0 ms=8 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='json'
  ;   K[2]='encode'
  ;   upvals: _ENV
  ;   locals: self(0-8), key(0-8), value(0-8)
  0000  SELF      R4 = R0[K0('_DBTableSet')] (self)
  0001  MOVE      R5 = R0
  0002  GETTABUP  R6 = _ENV[K1('json')]
  0003  GETTABLE  R6 = R6[K2('encode')]
  0004  MOVE      R7 = R0
  0005  CALL      R6 = call(R6, -1 args, 1 rets)
  0006  CALL      R3 = call(R3, 0 args, -1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto20 [_DBTableRemove] ----------
  ; fn ?  line 217-219 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   locals: self(0-5), key(0-5)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Remove')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto21 [GetLastConfigIndex] ----------
  ; fn ?  line 221-223 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='LastConfigIndex'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('LastConfigIndex')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto22 [SetLastConfigIndex] ----------
  ; fn ?  line 226-228 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='LastConfigIndex'
  ;   upvals: DBKey
  ;   locals: self(0-5), lastConfigIndex(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('LastConfigIndex')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto23 [GetConfigIndex] ----------
  ; fn ?  line 230-232 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='ConfigIndex'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ConfigIndex')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto24 [SetConfigIndex] ----------
  ; fn ?  line 235-237 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='ConfigIndex'
  ;   upvals: DBKey
  ;   locals: self(0-5), configIndex(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('ConfigIndex')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto25 [GetTokenNumber] ----------
  ; fn ?  line 239-241 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TokenNumber'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TokenNumber')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto26 [SetTokenNumber] ----------
  ; fn ?  line 244-246 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TokenNumber'
  ;   upvals: DBKey
  ;   locals: self(0-5), tokenNumber(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TokenNumber')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto27 [GetRoundEndTime] ----------
  ; fn ?  line 248-250 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='RoundEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('RoundEndTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto28 [SetRoundEndTime] ----------
  ; fn ?  line 253-255 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='RoundEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), roundEndTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('RoundEndTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto29 [RemoveRoundEndTime] ----------
  ; fn ?  line 257-259 np=1 va=0 ms=4 code=4 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableRemove'
  ;   K[1]='RoundEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_DBTableRemove')] (self)
  0001  GETTABUP  R3 = DBKey[K1('RoundEndTime')]
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto30 [HasClaimedReward] ----------
  ; fn ?  line 261-263 np=1 va=0 ms=4 code=10 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='IsClaimed'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('IsClaimed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETUPVAL  R2 = DBKey
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto31 [SetHasClaimedReward] ----------
  ; fn ?  line 266-272 np=2 va=0 ms=6 code=11 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='IsClaimed'
  ;   K[2]='_DBTableRemove'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-11), bHasClaimedReward(0-11)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0003  GETTABUP  R4 = DBKey[K1('IsClaimed')]
  0004  GETUPVAL  R5 = DBKey
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  JMP       (jump)   -> 10
  0007  SELF      R3 = R0[K2('_DBTableRemove')] (self)
  0008  GETTABUP  R4 = DBKey[K1('IsClaimed')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto32 [GetClaimRewardTime] ----------
  ; fn ?  line 274-276 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='ClaimRewardTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ClaimRewardTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto33 [SetClaimRewardTime] ----------
  ; fn ?  line 279-281 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='ClaimRewardTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), claimRewardTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('ClaimRewardTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto34 [RemoveClaimRewardTime] ----------
  ; fn ?  line 283-285 np=1 va=0 ms=4 code=4 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableRemove'
  ;   K[1]='ClaimRewardTime'
  ;   upvals: DBKey
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('_DBTableRemove')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ClaimRewardTime')]
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto35 [HasLogFailed] ----------
  ; fn ?  line 287-289 np=1 va=0 ms=4 code=10 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='HasLogFailed'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('HasLogFailed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETUPVAL  R2 = DBKey
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto36 [SetHasLogFailed] ----------
  ; fn ?  line 292-298 np=2 va=0 ms=6 code=11 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='HasLogFailed'
  ;   K[2]='_DBTableRemove'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-11), bHasLogFailed(0-11)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0003  GETTABUP  R4 = DBKey[K1('HasLogFailed')]
  0004  GETUPVAL  R5 = DBKey
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  JMP       (jump)   -> 10
  0007  SELF      R3 = R0[K2('_DBTableRemove')] (self)
  0008  GETTABUP  R4 = DBKey[K1('HasLogFailed')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto37 [GetNextConfigIndex] ----------
  ; fn ?  line 304-307 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='math'
  ;   K[1]='min'
  ;   K[2]='GetConfigIndex'
  ;   K[3]=1
  ;   K[4]='GetMaxRoundConfigIndex'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('math')]
  0001  GETTABLE  R1 = R1[K1('min')]
  0002  SELF      R3 = R0[K2('GetConfigIndex')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  ADD       R2 = K3(1) add R2
  0005  SELF      R4 = R0[K4('GetMaxRoundConfigIndex')] (self)
  0006  CALL      R3 = call(R3, -1 args, 1 rets)
  0007  TAILCALL  tailcall(R1, 0)
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto38 [GetLeftDuration] ----------
  ; fn ?  line 309-312 np=1 va=0 ms=5 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameModel'
  ;   K[2]='GetServerTime'
  ;   K[3]='math'
  ;   K[4]='max'
  ;   K[5]='GetRoundEndTime'
  ;   K[6]=0
  ;   upvals: _ENV
  ;   locals: self(0-13), serverTime(4-13)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('GameModel')]
  0002  SELF      R2 = R1[K2('GetServerTime')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('math')]
  0005  GETTABLE  R2 = R2[K4('max')]
  0006  SELF      R4 = R0[K5('GetRoundEndTime')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SUB       R3 = R1 sub R3
  0009  LOADK     R4 = K6 0
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto39 [IsInDuration] ----------
  ; fn ?  line 314-316 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetLeftDuration'
  ;   K[1]=0
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('GetLeftDuration')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LT        if R1 lt R1   -> 517
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto40 [SetAwardAnimationPlayed] ----------
  ; fn ?  line 318-326 np=1 va=0 ms=4 code=15 consts=7 upvals=0 protos=0
  ;   K[0]='m_bAwardAnimationPlaying'
  ;   K[1]=nil
  ;   K[2]='CanTrigger'
  ;   K[3]='SetWaitingNewRound'
  ;   K[4]='SetRoundEndTime'
  ;   K[5]=0
  ;   K[6]='_DispatchRefreshEntryEvent'
  ;   locals: self(0-15)
  0000  SETTABLE  R0[K0('m_bAwardAnimationPlaying')] = K1(nil)
  0001  SELF      R2 = R0[K2('CanTrigger')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 9
  0005  SELF      R2 = R0[K3('SetWaitingNewRound')] (self)
  0006  LOADBOOL  R3 = true
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  JMP       (jump)   -> 12
  0009  SELF      R2 = R0[K4('SetRoundEndTime')] (self)
  0010  LOADK     R3 = K5 0
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  SELF      R2 = R0[K6('_DispatchRefreshEntryEvent')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto41 [IsAwardAnimationPlaying] ----------
  ; fn ?  line 328-330 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bAwardAnimationPlaying'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bAwardAnimationPlaying')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto42 [SetWaitingNewRound] ----------
  ; fn ?  line 332-334 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_bWaitingNewRound'
  ;   locals: self(0-2), bWaitingNewRound(0-2)
  0000  SETTABLE  R0[K0('m_bWaitingNewRound')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto43 [IsWaitingNewRound] ----------
  ; fn ?  line 336-338 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bWaitingNewRound'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bWaitingNewRound')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto44 [SetHideTopRightEntry] ----------
  ; fn ?  line 341-343 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_bHideTopRightEntry'
  ;   locals: self(0-2), bHideTopRightEntry(0-2)
  0000  SETTABLE  R0[K0('m_bHideTopRightEntry')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto45 [IsHideTopRightEntry] ----------
  ; fn ?  line 345-347 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bHideTopRightEntry'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bHideTopRightEntry')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto46 [SetOrderIconAnimationPlayed] ----------
  ; fn ?  line 349-351 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bOrderIconAnimationPlaying'
  ;   K[1]=nil
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bOrderIconAnimationPlaying')] = K1(nil)
  0001  RETURN    return R0..R-1
; ---------- proto47 [IsOrderIconAnimationPlaying] ----------
  ; fn ?  line 353-355 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bOrderIconAnimationPlaying'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bOrderIconAnimationPlaying')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto48 [CanLogFailed] ----------
  ; fn ?  line 357-359 np=1 va=0 ms=3 code=16 consts=3 upvals=0 protos=0
  ;   K[0]='HasLogFailed'
  ;   K[1]='IsInDuration'
  ;   K[2]='HasClaimedReward'
  ;   locals: self(0-16)
  0000  SELF      R2 = R0[K0('HasLogFailed')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 12
  0004  SELF      R2 = R0[K1('IsInDuration')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 12
  0008  SELF      R2 = R0[K2('HasClaimedReward')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R1 = false
  0013  LOADBOOL  R1 = true
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
; ---------- proto49 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 365-367 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('StateChangedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto50 [_DispatchRefreshEntryEvent] ----------
  ; fn ?  line 369-371 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='RefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('RefreshEntryEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto51 [_DispatchRefreshIconEntryEvent] ----------
  ; fn ?  line 373-375 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='RefreshIconEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('RefreshIconEntryEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto52 [_DispatchRequirementSatisfiedEvent] ----------
  ; fn ?  line 379-381 np=3 va=0 ms=6 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='RequirementSatisfiedEvent'
  ;   K[4]='orderId'
  ;   K[5]='itemCode'
  ;   upvals: _ENV
  ;   locals: self(0-10), orderId(0-10), itemCode(0-10)
  0000  GETTABUP  R3 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R3 = R3[K1('DispatchEvent')]
  0002  SELF      R5 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  GETTABLE  R4 = R4[K3('RequirementSatisfiedEvent')]
  0005  NEWTABLE  R5 = {} (0 items)
  0006  SETTABLE  R5[K4('orderId')] = R1
  0007  SETTABLE  R5[K5('itemCode')] = R2
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
; ---------- proto53 [_DispatchTriggerStateChangedEvent] ----------
  ; fn ?  line 383-385 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='TriggerStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('TriggerStateChangedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto54 [UpdatePerSecond] ----------
  ; fn ?  line 391-406 np=1 va=0 ms=4 code=36 consts=12 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='m_bIsTriggered'
  ;   K[3]='IsInDuration'
  ;   K[4]=false
  ;   K[5]='CanLogFailed'
  ;   K[6]='_LogFail'
  ;   K[7]='_DispatchRefreshEntryEvent'
  ;   K[8]='_DispatchTriggerStateChangedEvent'
  ;   K[9]='IsWaitingNewRound'
  ;   K[10]='CanTrigger'
  ;   K[11]='SetWaitingNewRound'
  ;   upvals: _ENV
  ;   locals: self(0-36)
  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_bIsTriggered')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 22
  0007  SELF      R2 = R0[K3('IsInDuration')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 22
  0011  SETTABLE  R0[K2('m_bIsTriggered')] = K4(false)
  0012  SELF      R2 = R0[K5('CanLogFailed')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 18
  0016  SELF      R2 = R0[K6('_LogFail')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  SELF      R2 = R0[K7('_DispatchRefreshEntryEvent')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  SELF      R2 = R0[K8('_DispatchTriggerStateChangedEvent')] (self)
  0021  CALL      R1 = call(R1, 0 args, 1 rets)
  0022  SELF      R2 = R0[K9('IsWaitingNewRound')] (self)
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  TEST      if not R1 then   -> -131046
  0025  JMP       (jump)   -> 35
  0026  SELF      R2 = R0[K10('CanTrigger')] (self)
  0027  CALL      R1 = call(R1, 1 args, 1 rets)
  0028  TEST      if not R1 then   -> -131041
  0029  JMP       (jump)   -> 35
  0030  SELF      R2 = R0[K11('SetWaitingNewRound')] (self)
  0031  LOADNIL   R3..R3 = nil
  0032  CALL      R1 = call(R1, 0 args, 2 rets)
  0033  SELF      R2 = R0[K7('_DispatchRefreshEntryEvent')] (self)
  0034  CALL      R1 = call(R1, 0 args, 1 rets)
  0035  RETURN    return R0..R-1
; ---------- proto55 [OnRequirementSatisfied] ----------
  ; fn ?  line 414-425 np=3 va=0 ms=7 code=24 consts=9 upvals=0 protos=0
  ;   K[0]='SetTokenNumber'
  ;   K[1]='GetTokenNumber'
  ;   K[2]=1
  ;   K[3]='_DispatchRequirementSatisfiedEvent'
  ;   K[4]='_LogRequirementSatisfied'
  ;   K[5]='IsProgressFinished'
  ;   K[6]='GetRequirementHelper'
  ;   K[7]='ClearCurrentOrderRequirement'
  ;   K[8]='_LogReady'
  ;   locals: self(0-24), orderId(0-24), itemCode(0-24)
  0000  SELF      R4 = R0[K0('SetTokenNumber')] (self)
  0001  SELF      R6 = R0[K1('GetTokenNumber')] (self)
  0002  CALL      R5 = call(R5, 1 args, 1 rets)
  0003  ADD       R5 = K2(1) add R5
  0004  CALL      R3 = call(R3, 0 args, 2 rets)
  0005  SELF      R4 = R0[K3('_DispatchRequirementSatisfiedEvent')] (self)
  0006  MOVE      R5 = R0
  0007  MOVE      R6 = R0
  0008  CALL      R3 = call(R3, 0 args, 3 rets)
  0009  SELF      R4 = R0[K4('_LogRequirementSatisfied')] (self)
  0010  MOVE      R5 = R0
  0011  MOVE      R6 = R0
  0012  CALL      R3 = call(R3, 0 args, 3 rets)
  0013  SELF      R4 = R0[K5('IsProgressFinished')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  TEST      if not R3 then   -> -131055
  0016  JMP       (jump)   -> 23
  0017  SELF      R4 = R0[K6('GetRequirementHelper')] (self)
  0018  CALL      R3 = call(R3, 1 args, 1 rets)
  0019  SELF      R4 = R3[K7('ClearCurrentOrderRequirement')] (self)
  0020  CALL      R3 = call(R3, 0 args, 1 rets)
  0021  SELF      R4 = R0[K8('_LogReady')] (self)
  0022  CALL      R3 = call(R3, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto56 [OnRequirementRemoved] ----------
  ; fn ?  line 429-431 np=3 va=0 ms=5 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchRefreshIconEntryEvent'
  ;   locals: self(0-3), orderId(0-3), itemCode(0-3)
  0000  SELF      R4 = R0[K0('_DispatchRefreshIconEntryEvent')] (self)
  0001  CALL      R3 = call(R3, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto57 [OnRequirementChanged] ----------
  ; fn ?  line 434-436 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchRefreshIconEntryEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchRefreshIconEntryEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto58 [OnNewOrderIconChosen] ----------
  ; fn ?  line 438-440 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchRefreshIconEntryEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchRefreshIconEntryEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto59 [FilterNewOrderRequirement] ----------
  ; fn ?  line 442-444 np=2 va=0 ms=2 code=2 consts=0 upvals=0 protos=0
  ;   locals: self(0-2), arrOrderItemCode(0-2)
  0000  RETURN    return R1..R0
  0001  RETURN    return R0..R-1
; ---------- proto60 [IsProgressFinished] ----------
  ; fn ?  line 450-452 np=1 va=0 ms=4 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='GetTokenNumber'
  ;   K[1]='GetCurrentRoundConfig'
  ;   K[2]='GetTokenNum'
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('GetTokenNumber')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetCurrentRoundConfig')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R3 = R2[K2('GetTokenNum')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  LE        if R1 le R1   -> -130039
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto61 [IsActivityOpenAndOngoing] ----------
  ; fn ?  line 454-456 np=1 va=0 ms=3 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsInDuration'
  ;   K[2]='IsProgressFinished'
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 11
  0004  SELF      R2 = R0[K1('IsInDuration')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 11
  0008  SELF      R2 = R0[K2('IsProgressFinished')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto62 [IsTriggered] ----------
  ; fn ?  line 462-464 np=1 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='IsInDuration'
  ;   K[1]='HasClaimedReward'
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('IsInDuration')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K1('HasClaimedReward')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  NOT       R1 = not R0
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto63 [CanTrigger] ----------
  ; fn ?  line 469-503 np=1 va=0 ms=9 code=61 consts=13 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='GetNextConfigIndex'
  ;   K[2]='GetRoundConfigByIndex'
  ;   K[3]='GetTimeLimit'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]=1
  ;   K[8]='HasClaimedReward'
  ;   K[9]='GetClaimRewardTime'
  ;   K[10]=0
  ;   K[11]='GetEndTime'
  ;   K[12]='IsTriggered'
  ;   upvals: _ENV
  ;   locals: self(0-61), nextConfigIndex(9-61), nextRoundTimeLimit(14-61), currentTime(18-61), triggerConfigIndex(20-61), triggerTime(20-61), claimRewardTime(26-33)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 7
  0004  LOADBOOL  R1 = false
  0005  LOADNIL   R2..R2 = nil
  0006  RETURN    return R1..R0
  0007  SELF      R2 = R0[K1('GetNextConfigIndex')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  SELF      R3 = R0[K2('GetRoundConfigByIndex')] (self)
  0010  MOVE      R4 = R0
  0011  CALL      R2 = call(R2, 1 args, 2 rets)
  0012  SELF      R3 = R2[K3('GetTimeLimit')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  GETTABUP  R3 = _ENV[K4('GM')]
  0015  GETTABLE  R3 = R3[K5('GameModel')]
  0016  SELF      R4 = R3[K6('GetServerTime')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  LOADK     R4 = K7 1
  0019  MOVE      R5 = R0
  0020  SELF      R7 = R0[K8('HasClaimedReward')] (self)
  0021  CALL      R6 = call(R6, 1 args, 1 rets)
  0022  TEST      if not R6 then   -> -131048
  0023  JMP       (jump)   -> 33
  0024  SELF      R7 = R0[K9('GetClaimRewardTime')] (self)
  0025  CALL      R6 = call(R6, 1 args, 1 rets)
  0026  ADD       R7 = R2 add R6
  0027  SUB       R7 = R3 sub R7
  0028  LT        if R0 lt R7   -> 5157
  0029  JMP       (jump)   -> 33
  0030  MOVE      R7 = R0
  0031  MOVE      R5 = R0
  0032  MOVE      R4 = R0
  0033  ADD       R6 = R2 add R5
  0034  SELF      R8 = R0[K11('GetEndTime')] (self)
  0035  CALL      R7 = call(R7, 1 args, 1 rets)
  0036  LT        if R0 lt R6   -> -127444
  0037  JMP       (jump)   -> 41
  0038  LOADBOOL  R6 = false
  0039  LOADNIL   R7..R7 = nil
  0040  RETURN    return R6..R5
  0041  SELF      R7 = R0[K8('HasClaimedReward')] (self)
  0042  CALL      R6 = call(R6, 1 args, 1 rets)
  0043  TEST      if not R6 then   -> -131027
  0044  JMP       (jump)   -> 49
  0045  LOADBOOL  R6 = true
  0046  MOVE      R7 = R0
  0047  MOVE      R8 = R0
  0048  RETURN    return R6..R5
  0049  SELF      R7 = R0[K12('IsTriggered')] (self)
  0050  CALL      R6 = call(R6, 1 args, 1 rets)
  0051  TEST      if not R6 then   -> -131018
  0052  JMP       (jump)   -> 57
  0053  LOADBOOL  R6 = true
  0054  LOADK     R7 = K7 1
  0055  MOVE      R8 = R0
  0056  RETURN    return R6..R5
  0057  LOADBOOL  R6 = false
  0058  LOADNIL   R7..R7 = nil
  0059  RETURN    return R6..R5
  0060  RETURN    return R0..R-1
; ---------- proto64 [TryTrigger] ----------
  ; fn ?  line 505-543 np=1 va=0 ms=12 code=97 consts=42 upvals=1 protos=0
  ;   K[0]='CanTrigger'
  ;   K[1]='m_bIsTriggered'
  ;   K[2]='CanLogFailed'
  ;   K[3]='_LogFail'
  ;   K[4]=''
  ;   K[5]='HasClaimedReward'
  ;   K[6]='string'
  ;   K[7]='format'
  ;   K[8]='领奖时间：%s'
  ;   K[9]='TimeUtil'
  ;   K[10]='ToDate'
  ;   K[11]='GetClaimRewardTime'
  ;   K[12]='ETimeFormat'
  ;   K[13]='UTCYMDHMS'
  ;   K[14]='SetLastConfigIndex'
  ;   K[15]='GetConfigIndex'
  ;   K[16]='SetConfigIndex'
  ;   K[17]='SetTokenNumber'
  ;   K[18]=0
  ;   K[19]='SetRoundEndTime'
  ;   K[20]='GetCurrentRoundConfig'
  ;   K[21]='GetTimeLimit'
  ;   K[22]='SetHasClaimedReward'
  ;   K[23]='RemoveClaimRewardTime'
  ;   K[24]='SetHasLogFailed'
  ;   K[25]='Log'
  ;   K[26]='Info'
  ;   K[27]='[CookBoost] 触发活动！当前配置序号：%d。当前时间：%s。%s'
  ;   K[28]='GM'
  ;   K[29]='GameModel'
  ;   K[30]='GetServerTime'
  ;   K[31]='_LogStart'
  ;   K[32]=true
  ;   K[33]='m_bAwardAnimationPlaying'
  ;   K[34]=nil
  ;   K[35]='m_bOrderIconAnimationPlaying'
  ;   K[36]='GetRequirementHelper'
  ;   K[37]='ClearCurrentOrderRequirement'
  ;   K[38]='ClearCheckedOrderIdForRequirement'
  ;   K[39]='RefreshOrderRequirement'
  ;   K[40]='_DispatchRefreshEntryEvent'
  ;   K[41]='_DispatchRefreshIconEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-97), bCanTrigger(2-97), nextConfigIndex(2-97), triggerTime(2-97), logExtra(15-97)
  0000  SELF      R2 = R0[K0('CanTrigger')] (self)
  0001  CALL      R1 = call(R1, 3 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R4 = R0[K1('m_bIsTriggered')]
  0006  TEST      if not R4 then   -> -131064
  0007  JMP       (jump)   -> 14
  0008  SELF      R5 = R0[K2('CanLogFailed')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  TEST      if not R4 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  SELF      R5 = R0[K3('_LogFail')] (self)
  0013  CALL      R4 = call(R4, 0 args, 1 rets)
  0014  LOADK     R4 = K4 ''
  0015  SELF      R6 = R0[K5('HasClaimedReward')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  TEST      if not R5 then   -> -131053
  0018  JMP       (jump)   -> 31
  0019  GETTABUP  R5 = _ENV[K6('string')]
  0020  GETTABLE  R5 = R5[K7('format')]
  0021  LOADK     R6 = K8 '领奖时间：%s'
  0022  GETTABUP  R7 = _ENV[K9('TimeUtil')]
  0023  GETTABLE  R7 = R7[K10('ToDate')]
  0024  SELF      R9 = R0[K11('GetClaimRewardTime')] (self)
  0025  CALL      R8 = call(R8, 1 args, 1 rets)
  0026  GETTABUP  R9 = _ENV[K12('ETimeFormat')]
  0027  GETTABLE  R9 = R9[K13('UTCYMDHMS')]
  0028  CALL      R7 = call(R7, -1 args, 2 rets)
  0029  CALL      R5 = call(R5, 1 args, -1 rets)
  0030  MOVE      R4 = R0
  0031  SELF      R6 = R0[K14('SetLastConfigIndex')] (self)
  0032  SELF      R8 = R0[K15('GetConfigIndex')] (self)
  0033  CALL      R7 = call(R7, -1 args, 1 rets)
  0034  CALL      R5 = call(R5, 0 args, -1 rets)
  0035  SELF      R6 = R0[K16('SetConfigIndex')] (self)
  0036  MOVE      R7 = R0
  0037  CALL      R5 = call(R5, 0 args, 2 rets)
  0038  SELF      R6 = R0[K17('SetTokenNumber')] (self)
  0039  LOADK     R7 = K18 0
  0040  CALL      R5 = call(R5, 0 args, 2 rets)
  0041  SELF      R6 = R0[K19('SetRoundEndTime')] (self)
  0042  SELF      R8 = R0[K20('GetCurrentRoundConfig')] (self)
  0043  CALL      R7 = call(R7, 1 args, 1 rets)
  0044  SELF      R8 = R7[K21('GetTimeLimit')] (self)
  0045  CALL      R7 = call(R7, 1 args, 1 rets)
  0046  ADD       R7 = R7 add R3
  0047  CALL      R5 = call(R5, 0 args, 2 rets)
  0048  SELF      R6 = R0[K22('SetHasClaimedReward')] (self)
  0049  LOADBOOL  R7 = false
  0050  CALL      R5 = call(R5, 0 args, 2 rets)
  0051  SELF      R6 = R0[K23('RemoveClaimRewardTime')] (self)
  0052  CALL      R5 = call(R5, 0 args, 1 rets)
  0053  SELF      R6 = R0[K24('SetHasLogFailed')] (self)
  0054  LOADBOOL  R7 = false
  0055  CALL      R5 = call(R5, 0 args, 2 rets)
  0056  GETTABUP  R5 = _ENV[K25('Log')]
  0057  GETTABLE  R5 = R5[K26('Info')]
  0058  GETTABUP  R6 = _ENV[K6('string')]
  0059  GETTABLE  R6 = R6[K7('format')]
  0060  LOADK     R7 = K27 '[CookBoost] 触发活动！当前配置序号：%d。当前时间：%s。%s'
  0061  SELF      R9 = R0[K15('GetConfigIndex')] (self)
  0062  CALL      R8 = call(R8, 1 args, 1 rets)
  0063  GETTABUP  R9 = _ENV[K9('TimeUtil')]
  0064  GETTABLE  R9 = R9[K10('ToDate')]
  0065  GETTABUP  R10 = _ENV[K28('GM')]
  0066  GETTABLE  R10 = R10[K29('GameModel')]
  0067  SELF      R11 = R10[K30('GetServerTime')] (self)
  0068  CALL      R10 = call(R10, 1 args, 1 rets)
  0069  GETTABUP  R11 = _ENV[K12('ETimeFormat')]
  0070  GETTABLE  R11 = R11[K13('UTCYMDHMS')]
  0071  CALL      R9 = call(R9, 1 args, 2 rets)
  0072  MOVE      R10 = R0
  0073  CALL      R6 = call(R6, -1 args, 4 rets)
  0074  CALL      R5 = call(R5, 0 args, -1 rets)
  0075  SELF      R6 = R0[K31('_LogStart')] (self)
  0076  CALL      R5 = call(R5, 0 args, 1 rets)
  0077  SETTABLE  R0[K1('m_bIsTriggered')] = K32(true)
  0078  SETTABLE  R0[K33('m_bAwardAnimationPlaying')] = K34(nil)
  0079  SETTABLE  R0[K35('m_bOrderIconAnimationPlaying')] = K32(true)
  0080  SELF      R6 = R0[K36('GetRequirementHelper')] (self)
  0081  CALL      R5 = call(R5, 1 args, 1 rets)
  0082  SELF      R6 = R5[K37('ClearCurrentOrderRequirement')] (self)
  0083  CALL      R5 = call(R5, 0 args, 1 rets)
  0084  SELF      R6 = R0[K36('GetRequirementHelper')] (self)
  0085  CALL      R5 = call(R5, 1 args, 1 rets)
  0086  SELF      R6 = R5[K38('ClearCheckedOrderIdForRequirement')] (self)
  0087  CALL      R5 = call(R5, 0 args, 1 rets)
  0088  SELF      R6 = R0[K36('GetRequirementHelper')] (self)
  0089  CALL      R5 = call(R5, 1 args, 1 rets)
  0090  SELF      R6 = R5[K39('RefreshOrderRequirement')] (self)
  0091  CALL      R5 = call(R5, 0 args, 1 rets)
  0092  SELF      R6 = R0[K40('_DispatchRefreshEntryEvent')] (self)
  0093  CALL      R5 = call(R5, 0 args, 1 rets)
  0094  SELF      R6 = R0[K41('_DispatchRefreshIconEntryEvent')] (self)
  0095  CALL      R5 = call(R5, 0 args, 1 rets)
  0096  RETURN    return R0..R-1
; ---------- proto65 [CanClaimReward] ----------
  ; fn ?  line 549-563 np=1 va=0 ms=3 code=22 consts=4 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='HasClaimedReward'
  ;   K[3]='IsProgressFinished'
  ;   locals: self(0-22)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('IsTriggered')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  SELF      R2 = R0[K2('HasClaimedReward')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R1 = false
  0017  RETURN    return R1..R0
  0018  SELF      R2 = R0[K3('IsProgressFinished')] (self)
  0019  TAILCALL  tailcall(R1, 0)
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto66 [TryClaimReward] ----------
  ; fn ?  line 565-627 np=1 va=0 ms=20 code=135 consts=50 upvals=1 protos=1
  ;   K[0]='CanClaimReward'
  ;   K[1]='SetHasClaimedReward'
  ;   K[2]='SetClaimRewardTime'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='Log'
  ;   K[7]='Info'
  ;   K[8]='string'
  ;   K[9]='format'
  ;   K[10]='[CookBoost] 领取奖励。当前配置序号：%d。记录领奖时间：%s'
  ;   K[11]='GetConfigIndex'
  ;   K[12]='TimeUtil'
  ;   K[13]='ToDate'
  ;   K[14]='GetClaimRewardTime'
  ;   K[15]='ETimeFormat'
  ;   K[16]='UTCYMDHMS'
  ;   K[17]='m_bAwardAnimationPlaying'
  ;   K[18]=true
  ;   K[19]='GetCurrentRoundConfig'
  ;   K[20]='GetRewards'
  ;   K[21]='RewardApi'
  ;   K[22]='FilterRewards'
  ;   K[23]='ERewardScene'
  ;   K[24]='Other'
  ;   K[25]='EBIType'
  ;   K[26]='CookBoostAcquireReward'
  ;   K[27]='ItemRandomHelper'
  ;   K[28]='FilterScoreItemRewards'
  ;   K[29]='AcquireRewardsLogic'
  ;   K[30]='EPropertySource'
  ;   K[31]='Give'
  ;   K[32]='MainBoardModel'
  ;   K[33]='FilterItems'
  ;   K[34]='ipairs'
  ;   K[35]='GetComponent'
  ;   K[36]='ItemCook'
  ;   K[37]=nil
  ;   K[38]='table'
  ;   K[39]='insert'
  ;   K[40]='GetRecipe'
  ;   K[41]='GetRemainCookDuration'
  ;   K[42]='OnSpeedUp'
  ;   K[43]='_LogUseBoost'
  ;   K[44]='_DispatchRefreshEntryEvent'
  ;   K[45]='_DispatchTriggerStateChangedEvent'
  ;   K[46]='ItemDataModel'
  ;   K[47]='IsItemExist'
  ;   K[48]='PROPERTY_TYPE'
  ;   K[49]=1
  ;   upvals: _ENV
  ;   locals: self(0-135), arrRewards(36-135), eBIType(45-135), arrItemRewards(46-135), itemCook(63-135), filterCookingItem(64-135), arrCookItems(69-135), arrFinishedCookItems(70-135), mapRemainCookDuration(71-135), (for generator)(74-98), (for state)(74-98), (for control)(74-98), _(75-96), itemModel(75-96), itemDataModel(108-135), cacheRewards(109-135), otherRewards(110-135), (for generator)(113-129), (for state)(113-129), (for control)(113-129), _(114-127), reward(114-127)
  0000  SELF      R2 = R0[K0('CanClaimReward')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('SetHasClaimedReward')] (self)
  0007  LOADBOOL  R3 = true
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  SELF      R2 = R0[K2('SetClaimRewardTime')] (self)
  0010  GETTABUP  R3 = _ENV[K3('GM')]
  0011  GETTABLE  R3 = R3[K4('GameModel')]
  0012  SELF      R4 = R3[K5('GetServerTime')] (self)
  0013  CALL      R3 = call(R3, -1 args, 1 rets)
  0014  CALL      R1 = call(R1, 0 args, -1 rets)
  0015  GETTABUP  R1 = _ENV[K6('Log')]
  0016  GETTABLE  R1 = R1[K7('Info')]
  0017  GETTABUP  R2 = _ENV[K8('string')]
  0018  GETTABLE  R2 = R2[K9('format')]
  0019  LOADK     R3 = K10 '[CookBoost] 领取奖励。当前配置序号：%d。记录领奖时间：%s'
  0020  SELF      R5 = R0[K11('GetConfigIndex')] (self)
  0021  CALL      R4 = call(R4, 1 args, 1 rets)
  0022  GETTABUP  R5 = _ENV[K12('TimeUtil')]
  0023  GETTABLE  R5 = R5[K13('ToDate')]
  0024  SELF      R7 = R0[K14('GetClaimRewardTime')] (self)
  0025  CALL      R6 = call(R6, 1 args, 1 rets)
  0026  GETTABUP  R7 = _ENV[K15('ETimeFormat')]
  0027  GETTABLE  R7 = R7[K16('UTCYMDHMS')]
  0028  CALL      R5 = call(R5, -1 args, 2 rets)
  0029  CALL      R2 = call(R2, -1 args, -1 rets)
  0030  CALL      R1 = call(R1, 0 args, -1 rets)
  0031  SETTABLE  R0[K17('m_bAwardAnimationPlaying')] = K18(true)
  0032  SELF      R2 = R0[K19('GetCurrentRoundConfig')] (self)
  0033  CALL      R1 = call(R1, 1 args, 1 rets)
  0034  SELF      R2 = R1[K20('GetRewards')] (self)
  0035  CALL      R1 = call(R1, 1 args, 1 rets)
  0036  GETTABUP  R2 = _ENV[K21('RewardApi')]
  0037  GETTABLE  R2 = R2[K22('FilterRewards')]
  0038  MOVE      R3 = R0
  0039  GETTABUP  R4 = _ENV[K23('ERewardScene')]
  0040  GETTABLE  R4 = R4[K24('Other')]
  0041  CALL      R2 = call(R2, 1 args, 2 rets)
  0042  MOVE      R1 = R0
  0043  GETTABUP  R2 = _ENV[K25('EBIType')]
  0044  GETTABLE  R2 = R2[K26('CookBoostAcquireReward')]
  0045  LOADNIL   R3..R3 = nil
  0046  GETTABUP  R4 = _ENV[K27('ItemRandomHelper')]
  0047  GETTABLE  R4 = R4[K28('FilterScoreItemRewards')]
  0048  MOVE      R5 = R0
  0049  MOVE      R6 = R0
  0050  CALL      R4 = call(R4, 2 args, 2 rets)
  0051  MOVE      R3 = R0
  0052  MOVE      R1 = R0
  0053  GETTABUP  R4 = _ENV[K21('RewardApi')]
  0054  GETTABLE  R4 = R4[K29('AcquireRewardsLogic')]
  0055  MOVE      R5 = R0
  0056  GETTABUP  R6 = _ENV[K30('EPropertySource')]
  0057  GETTABLE  R6 = R6[K31('Give')]
  0058  MOVE      R7 = R0
  0059  GETTABUP  R8 = _ENV[K23('ERewardScene')]
  0060  GETTABLE  R8 = R8[K24('Other')]
  0061  CALL      R4 = call(R4, 0 args, 4 rets)
  0062  LOADNIL   R4..R4 = nil
  0063  CLOSURE   R5 = closure proto0
  0064  GETTABUP  R6 = _ENV[K3('GM')]
  0065  GETTABLE  R6 = R6[K32('MainBoardModel')]
  0066  SELF      R7 = R6[K33('FilterItems')] (self)
  0067  MOVE      R8 = R0
  0068  CALL      R6 = call(R6, 1 args, 2 rets)
  0069  NEWTABLE  R7 = {} (0 items)
  0070  NEWTABLE  R8 = {} (0 items)
  0071  GETTABUP  R9 = _ENV[K34('ipairs')]
  0072  MOVE      R10 = R0
  0073  CALL      R9 = call(R9, 3 args, 1 rets)
  0074  JMP       (jump)   -> 96
  0075  SELF      R15 = R13[K35('GetComponent')] (self)
  0076  GETTABUP  R16 = _ENV[K36('ItemCook')]
  0077  CALL      R14 = call(R14, 1 args, 2 rets)
  0078  MOVE      R4 = R0
  0079  EQ        if R1 eq K37(nil)   -> -128650
  0080  JMP       (jump)   -> 96
  0081  GETTABUP  R14 = _ENV[K38('table')]
  0082  GETTABLE  R14 = R14[K39('insert')]
  0083  MOVE      R15 = R0
  0084  MOVE      R16 = R0
  0085  CALL      R14 = call(R14, 0 args, 2 rets)
  0086  SELF      R15 = R4[K40('GetRecipe')] (self)
  0087  CALL      R14 = call(R14, 1 args, 1 rets)
  0088  SELF      R16 = R4[K41('GetRemainCookDuration')] (self)
  0089  CALL      R15 = call(R15, 1 args, 1 rets)
  0090  SETTABLE  R8[R14] = R15
  0091  SELF      R15 = R4[K42('OnSpeedUp')] (self)
  0092  LOADBOOL  R16 = true
  0093  MOVE      R17 = R0
  0094  LOADBOOL  R18 = false
  0095  CALL      R14 = call(R14, 0 args, 4 rets)
  0096  TFORCALL  tforcall R9
  0097  TFORLOOP  tforloop R11(sBx=-23)   -> 75
  0098  SELF      R10 = R0[K43('_LogUseBoost')] (self)
  0099  MOVE      R11 = R0
  0100  MOVE      R12 = R0
  0101  CALL      R9 = call(R9, 0 args, 3 rets)
  0102  SELF      R10 = R0[K44('_DispatchRefreshEntryEvent')] (self)
  0103  CALL      R9 = call(R9, 0 args, 1 rets)
  0104  SELF      R10 = R0[K45('_DispatchTriggerStateChangedEvent')] (self)
  0105  CALL      R9 = call(R9, 0 args, 1 rets)
  0106  GETTABUP  R9 = _ENV[K3('GM')]
  0107  GETTABLE  R9 = R9[K46('ItemDataModel')]
  0108  NEWTABLE  R10 = {} (0 items)
  0109  NEWTABLE  R11 = {} (0 items)
  0110  GETTABUP  R12 = _ENV[K34('ipairs')]
  0111  MOVE      R13 = R0
  0112  CALL      R12 = call(R12, 3 args, 1 rets)
  0113  JMP       (jump)   -> 127
  0114  SELF      R18 = R9[K47('IsItemExist')] (self)
  0115  GETTABUP  R19 = _ENV[K48('PROPERTY_TYPE')]
  0116  GETTABLE  R19 = R16[R19]
  0117  CALL      R17 = call(R17, 1 args, 2 rets)
  0118  TEST      if not R17 then   -> -130952
  0119  JMP       (jump)   -> 124
  0120  LEN       R17 = len R0
  0121  ADD       R17 = K49(1) add R17
  0122  SETTABLE  R10[R17] = R16
  0123  JMP       (jump)   -> 127
  0124  LEN       R17 = len R0
  0125  ADD       R17 = K49(1) add R17
  0126  SETTABLE  R11[R17] = R16
  0127  TFORCALL  tforcall R12
  0128  TFORLOOP  tforloop R14(sBx=-15)   -> 114
  0129  MOVE      R12 = R0
  0130  MOVE      R13 = R0
  0131  MOVE      R14 = R0
  0132  MOVE      R15 = R0
  0133  RETURN    return R12..R11
  0134  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 589-595 np=1 va=0 ms=4 code=19 consts=6 upvals=2 protos=0
    ;   K[0]='GetComponent'
    ;   K[1]='ItemCook'
    ;   K[2]=nil
    ;   K[3]='GetState'
    ;   K[4]='EItemCookState'
    ;   K[5]='Cooking'
    ;   upvals: itemCook, _ENV
    ;   locals: itemModel(0-19)
    0000  SELF      R2 = R0[K0('GetComponent')] (self)
    0001  GETTABUP  R3 = _ENV[K1('ItemCook')]
    0002  CALL      R1 = call(R1, 1 args, 2 rets)
    0003  SETUPVAL  _ENV = R0
    0004  GETUPVAL  R1 = itemCook
    0005  EQ        if R1 eq K2(nil)   -> -130295
    0006  JMP       (jump)   -> 16
    0007  GETUPVAL  R1 = itemCook
    0008  SELF      R2 = R1[K3('GetState')] (self)
    0009  CALL      R1 = call(R1, 1 args, 1 rets)
    0010  GETTABUP  R2 = _ENV[K4('EItemCookState')]
    0011  GETTABLE  R2 = R2[K5('Cooking')]
    0012  EQ        if R0 eq R2   -> -130544
    0013  JMP       (jump)   -> 16
    0014  LOADBOOL  R1 = true
    0015  RETURN    return R1..R0
    0016  LOADBOOL  R1 = false
    0017  RETURN    return R1..R0
    0018  RETURN    return R0..R-1
; ---------- proto67 [IsStartWindowPoped] ----------
  ; fn ?  line 634-636 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='HasWindowOpenedOnce'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('HasWindowOpenedOnce')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Started')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto68 [SetStartWindowPoped] ----------
  ; fn ?  line 639-641 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='SetWindowOpened'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('SetWindowOpened')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Started')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto69 [_OpenWindow] ----------
  ; fn ?  line 644-646 np=2 va=1 ms=8 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetType'
  ;   K[4]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-11), prefabName(0-11)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('OpenView')] (self)
  0003  MOVE      R4 = R0
  0004  SELF      R6 = R0[K3('GetType')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  SELF      R7 = R0[K4('GetId')] (self)
  0007  CALL      R6 = call(R6, 1 args, 1 rets)
  0008  VARARG    R7 = vararg(0)
  0009  CALL      R2 = call(R2, 0 args, -1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto70 [OpenMainWindow] ----------
  ; fn ?  line 650-652 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='MainWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('MainWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto71 [OnMainWindowPoped] ----------
  ; fn ?  line 655-657 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto72 [OpenAnimationWindow] ----------
  ; fn ?  line 661-664 np=2 va=0 ms=6 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='SetHideTopRightEntry'
  ;   K[1]='_OpenWindow'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='AnimationWindowPrefabName'
  ;   locals: self(0-10), bAuto(0-10)
  0000  SELF      R3 = R0[K0('SetHideTopRightEntry')] (self)
  0001  LOADBOOL  R4 = true
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  SELF      R3 = R0[K1('_OpenWindow')] (self)
  0004  SELF      R5 = R0[K2('GetActivityDefinition')] (self)
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  GETTABLE  R4 = R4[K3('AnimationWindowPrefabName')]
  0007  MOVE      R5 = R0
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto73 [_IsEntryVisible] ----------
  ; fn ?  line 670-672 np=1 va=0 ms=3 code=16 consts=4 upvals=0 protos=0
  ;   K[0]='IsAwardAnimationPlaying'
  ;   K[1]='IsWaitingNewRound'
  ;   K[2]='IsActivityOpen'
  ;   K[3]='IsInDuration'
  ;   locals: self(0-16)
  0000  SELF      R2 = R0[K0('IsAwardAnimationPlaying')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 14
  0004  SELF      R2 = R0[K1('IsWaitingNewRound')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 14
  0008  SELF      R2 = R0[K2('IsActivityOpen')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  SELF      R2 = R0[K3('IsInDuration')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
; ---------- proto74 [GetMapEntryShowConfig] ----------
  ; fn ?  line 675-685 np=1 va=0 ms=4 code=20 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='RefreshEntryEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='CookBoost'
  ;   K[6]='entryPrefabName'
  ;   K[7]='TopRightEntryPrefabName'
  ;   K[8]='hudKey'
  ;   K[9]='EntryButtonKey'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[K2('RefreshEntryEvent')]
  0004  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0005  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0006  GETTABLE  R2 = R2[K5('CookBoost')]
  0007  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0008  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[K7('TopRightEntryPrefabName')]
  0011  SETTABLE  R1[K6('entryPrefabName')] = R2
  0012  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  GETTABLE  R2 = R2[K9('EntryButtonKey')]
  0015  SETTABLE  R1[K8('hudKey')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K10('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 681-683 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto75 [GetOrderIconActivityEntryShowConfig] ----------
  ; fn ?  line 689-701 np=1 va=0 ms=6 code=21 consts=10 upvals=1 protos=1
  ;   K[0]='entryPrefabName'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='OrderIconEntryPrefabName'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='CookBoost'
  ;   K[6]='checkFun'
  ;   K[7]='events'
  ;   K[8]='RefreshEntryEvent'
  ;   K[9]='RefreshIconEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[K2('OrderIconEntryPrefabName')]
  0004  SETTABLE  R1[K0('entryPrefabName')] = R2
  0005  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0006  GETTABLE  R2 = R2[K5('CookBoost')]
  0007  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0008  CLOSURE   R2 = closure proto0
  0009  SETTABLE  R1[K6('checkFun')] = R2
  0010  NEWTABLE  R2 = {} (2 items)
  0011  SELF      R4 = R0[K1('GetActivityDefinition')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  GETTABLE  R3 = R3[K8('RefreshEntryEvent')]
  0014  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  GETTABLE  R4 = R4[K9('RefreshIconEntryEvent')]
  0017  SETLIST   setlist R2[B=1,C=2]
  0018  SETTABLE  R1[K7('events')] = R2
  0019  RETURN    return R1..R0
  0020  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 696-698 np=2 va=0 ms=6 code=15 consts=4 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   K[1]='GetRequirementHelper'
    ;   K[2]='IsCurrentOrderRequirement'
    ;   K[3]='GetId'
    ;   upvals: self
    ;   locals: order(0-15), itemCode(0-15)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('_IsEntryVisible')] (self)
    0002  CALL      R2 = call(R2, 1 args, 1 rets)
    0003  TEST      if not R2 then   -> -131067
    0004  JMP       (jump)   -> 13
    0005  GETUPVAL  R2 = self
    0006  SELF      R3 = R2[K1('GetRequirementHelper')] (self)
    0007  CALL      R2 = call(R2, 1 args, 1 rets)
    0008  SELF      R3 = R2[K2('IsCurrentOrderRequirement')] (self)
    0009  SELF      R5 = R0[K3('GetId')] (self)
    0010  CALL      R4 = call(R4, 1 args, 1 rets)
    0011  MOVE      R5 = R0
    0012  CALL      R2 = call(R2, 1 args, 3 rets)
    0013  RETURN    return R2..R1
    0014  RETURN    return R0..R-1
; ---------- proto76 [OnEntryClicked] ----------
  ; fn ?  line 704-708 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='OpenMainWindow'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('OpenMainWindow')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto77 [TestFinishCurrentRound] ----------
  ; fn ?  line 714-722 np=1 va=0 ms=5 code=19 consts=8 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='SetTokenNumber'
  ;   K[3]='GetCurrentRoundConfig'
  ;   K[4]='GetTokenNum'
  ;   K[5]='GetRequirementHelper'
  ;   K[6]='ClearCurrentOrderRequirement'
  ;   K[7]='_DispatchRefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('SetTokenNumber')] (self)
  0007  SELF      R4 = R0[K3('GetCurrentRoundConfig')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  SELF      R4 = R3[K4('GetTokenNum')] (self)
  0010  CALL      R3 = call(R3, -1 args, 1 rets)
  0011  CALL      R1 = call(R1, 0 args, -1 rets)
  0012  SELF      R2 = R0[K5('GetRequirementHelper')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  SELF      R2 = R1[K6('ClearCurrentOrderRequirement')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  SELF      R2 = R0[K7('_DispatchRefreshEntryEvent')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto78 [TestTryAddRequirement] ----------
  ; fn ?  line 724-775 np=1 va=0 ms=29 code=153 consts=30 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetRequirementHelper'
  ;   K[3]='GetBoardModel'
  ;   K[4]='pairs'
  ;   K[5]='GetCurrentOrderRequirement'
  ;   K[6]='FindEmptyPositionInValidOrder'
  ;   K[7]=nil
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='ShowTestPrompt'
  ;   K[11]='棋盘空间不足！'
  ;   K[12]='ItemDataModel'
  ;   K[13]='IsDishes'
  ;   K[14]='GetDishUnlockedInstru'
  ;   K[15]='GetMaterials'
  ;   K[16]='GenerateItem'
  ;   K[17]='event'
  ;   K[18]='Call'
  ;   K[19]='BoardEventType'
  ;   K[20]='PopCachedItem'
  ;   K[21]='New'
  ;   K[22]='GetComponent'
  ;   K[23]='ItemCook'
  ;   K[24]='ipairs'
  ;   K[25]='AddMaterialToCook'
  ;   K[26]='GetChainId'
  ;   K[27]='GetChain'
  ;   K[28]='GetChainLevel'
  ;   K[29]=1
  ;   upvals: _ENV
  ;   locals: self(0-153), requirementHelper(8-153), boardModel(10-153), (for generator)(14-152), (for state)(14-152), (for control)(14-152), order(15-150), mapRequirement(15-150), (for generator)(18-150), (for state)(18-150), (for control)(18-150), requirement(19-148), position1(21-148), instrument(41-84), materials(47-84), newItem(51-84), position2(60-84), itemCook(71-84), (for generator)(74-84), (for state)(74-84), (for control)(74-84), _(75-82), material(75-82), chainId(90-148), chain(95-148), chainLevel(100-148), newItem(106-113), prevItem(116-148), newItem(120-148), position2(129-148), newItem(141-148)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetRequirementHelper')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R1[K3('GetBoardModel')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABUP  R3 = _ENV[K4('pairs')]
  0011  SELF      R5 = R1[K5('GetCurrentOrderRequirement')] (self)
  0012  CALL      R4 = call(R4, -1 args, 1 rets)
  0013  CALL      R3 = call(R3, 3 args, -1 rets)
  0014  JMP       (jump)   -> 150
  0015  GETTABUP  R8 = _ENV[K4('pairs')]
  0016  MOVE      R9 = R0
  0017  CALL      R8 = call(R8, 3 args, 1 rets)
  0018  JMP       (jump)   -> 148
  0019  SELF      R13 = R2[K6('FindEmptyPositionInValidOrder')] (self)
  0020  CALL      R12 = call(R12, 1 args, 1 rets)
  0021  EQ        if R0 eq K7(nil)   -> -124642
  0022  JMP       (jump)   -> 29
  0023  GETTABUP  R13 = _ENV[K8('GM')]
  0024  GETTABLE  R13 = R13[K9('UIManager')]
  0025  SELF      R14 = R13[K10('ShowTestPrompt')] (self)
  0026  LOADK     R15 = K11 '棋盘空间不足！'
  0027  CALL      R13 = call(R13, 0 args, 2 rets)
  0028  RETURN    return R0..R-1
  0029  GETTABUP  R13 = _ENV[K8('GM')]
  0030  GETTABLE  R13 = R13[K12('ItemDataModel')]
  0031  SELF      R14 = R13[K13('IsDishes')] (self)
  0032  MOVE      R15 = R0
  0033  CALL      R13 = call(R13, 1 args, 2 rets)
  0034  TEST      if not R13 then   -> -131036
  0035  JMP       (jump)   -> 85
  0036  GETTABUP  R13 = _ENV[K8('GM')]
  0037  GETTABLE  R13 = R13[K12('ItemDataModel')]
  0038  SELF      R14 = R13[K14('GetDishUnlockedInstru')] (self)
  0039  MOVE      R15 = R0
  0040  CALL      R13 = call(R13, 1 args, 2 rets)
  0041  GETTABUP  R14 = _ENV[K8('GM')]
  0042  GETTABLE  R14 = R14[K12('ItemDataModel')]
  0043  SELF      R15 = R14[K15('GetMaterials')] (self)
  0044  MOVE      R16 = R0
  0045  LOADBOOL  R17 = true
  0046  CALL      R14 = call(R14, 1 args, 3 rets)
  0047  SELF      R16 = R2[K16('GenerateItem')] (self)
  0048  MOVE      R17 = R0
  0049  MOVE      R18 = R0
  0050  CALL      R15 = call(R15, 1 args, 3 rets)
  0051  GETTABLE  R16 = R2[K17('event')]
  0052  SELF      R17 = R16[K18('Call')] (self)
  0053  GETTABUP  R18 = _ENV[K19('BoardEventType')]
  0054  GETTABLE  R18 = R18[K20('PopCachedItem')]
  0055  NEWTABLE  R19 = {} (0 items)
  0056  SETTABLE  R19[K21('New')] = R15
  0057  CALL      R16 = call(R16, 0 args, 3 rets)
  0058  SELF      R17 = R2[K6('FindEmptyPositionInValidOrder')] (self)
  0059  CALL      R16 = call(R16, 1 args, 1 rets)
  0060  EQ        if R0 eq K7(nil)   -> -122555
  0061  JMP       (jump)   -> 68
  0062  GETTABUP  R17 = _ENV[K8('GM')]
  0063  GETTABLE  R17 = R17[K9('UIManager')]
  0064  SELF      R18 = R17[K10('ShowTestPrompt')] (self)
  0065  LOADK     R19 = K11 '棋盘空间不足！'
  0066  CALL      R17 = call(R17, 0 args, 2 rets)
  0067  RETURN    return R0..R-1
  0068  SELF      R18 = R15[K22('GetComponent')] (self)
  0069  GETTABUP  R19 = _ENV[K23('ItemCook')]
  0070  CALL      R17 = call(R17, 1 args, 2 rets)
  0071  GETTABUP  R18 = _ENV[K24('ipairs')]
  0072  MOVE      R19 = R0
  0073  CALL      R18 = call(R18, 3 args, 1 rets)
  0074  JMP       (jump)   -> 82
  0075  SELF      R24 = R2[K25('AddMaterialToCook')] (self)
  0076  SELF      R26 = R2[K16('GenerateItem')] (self)
  0077  MOVE      R27 = R0
  0078  MOVE      R28 = R0
  0079  CALL      R25 = call(R25, 1 args, 3 rets)
  0080  MOVE      R26 = R0
  0081  CALL      R23 = call(R23, 0 args, 3 rets)
  0082  TFORCALL  tforcall R18
  0083  TFORLOOP  tforloop R20(sBx=-9)   -> 75
  0084  JMP       (jump)   -> 148
  0085  GETTABUP  R13 = _ENV[K8('GM')]
  0086  GETTABLE  R13 = R13[K12('ItemDataModel')]
  0087  SELF      R14 = R13[K26('GetChainId')] (self)
  0088  MOVE      R15 = R0
  0089  CALL      R13 = call(R13, 1 args, 2 rets)
  0090  GETTABUP  R14 = _ENV[K8('GM')]
  0091  GETTABLE  R14 = R14[K12('ItemDataModel')]
  0092  SELF      R15 = R14[K27('GetChain')] (self)
  0093  MOVE      R16 = R0
  0094  CALL      R14 = call(R14, 1 args, 2 rets)
  0095  GETTABUP  R15 = _ENV[K8('GM')]
  0096  GETTABLE  R15 = R15[K12('ItemDataModel')]
  0097  SELF      R16 = R15[K28('GetChainLevel')] (self)
  0098  MOVE      R17 = R0
  0099  CALL      R15 = call(R15, 1 args, 2 rets)
  0100  EQ        if R0 eq K29(1)   -> -123005
  0101  JMP       (jump)   -> 114
  0102  SELF      R17 = R2[K16('GenerateItem')] (self)
  0103  MOVE      R18 = R0
  0104  MOVE      R19 = R0
  0105  CALL      R16 = call(R16, 1 args, 3 rets)
  0106  GETTABLE  R17 = R2[K17('event')]
  0107  SELF      R18 = R17[K18('Call')] (self)
  0108  GETTABUP  R19 = _ENV[K19('BoardEventType')]
  0109  GETTABLE  R19 = R19[K20('PopCachedItem')]
  0110  NEWTABLE  R20 = {} (0 items)
  0111  SETTABLE  R20[K21('New')] = R16
  0112  CALL      R17 = call(R17, 0 args, 3 rets)
  0113  JMP       (jump)   -> 148
  0114  SUB       R16 = K29(1) sub R15
  0115  GETTABLE  R16 = R14[R16]
  0116  SELF      R18 = R2[K16('GenerateItem')] (self)
  0117  MOVE      R19 = R0
  0118  MOVE      R20 = R0
  0119  CALL      R17 = call(R17, 1 args, 3 rets)
  0120  GETTABLE  R18 = R2[K17('event')]
  0121  SELF      R19 = R18[K18('Call')] (self)
  0122  GETTABUP  R20 = _ENV[K19('BoardEventType')]
  0123  GETTABLE  R20 = R20[K20('PopCachedItem')]
  0124  NEWTABLE  R21 = {} (0 items)
  0125  SETTABLE  R21[K21('New')] = R17
  0126  CALL      R18 = call(R18, 0 args, 3 rets)
  0127  SELF      R19 = R2[K6('FindEmptyPositionInValidOrder')] (self)
  0128  CALL      R18 = call(R18, 1 args, 1 rets)
  0129  EQ        if R0 eq K7(nil)   -> -121462
  0130  JMP       (jump)   -> 137
  0131  GETTABUP  R19 = _ENV[K8('GM')]
  0132  GETTABLE  R19 = R19[K9('UIManager')]
  0133  SELF      R20 = R19[K10('ShowTestPrompt')] (self)
  0134  LOADK     R21 = K11 '棋盘空间不足！'
  0135  CALL      R19 = call(R19, 0 args, 2 rets)
  0136  RETURN    return R0..R-1
  0137  SELF      R20 = R2[K16('GenerateItem')] (self)
  0138  MOVE      R21 = R0
  0139  MOVE      R22 = R0
  0140  CALL      R19 = call(R19, 1 args, 3 rets)
  0141  GETTABLE  R20 = R2[K17('event')]
  0142  SELF      R21 = R20[K18('Call')] (self)
  0143  GETTABUP  R22 = _ENV[K19('BoardEventType')]
  0144  GETTABLE  R22 = R22[K20('PopCachedItem')]
  0145  NEWTABLE  R23 = {} (0 items)
  0146  SETTABLE  R23[K21('New')] = R19
  0147  CALL      R20 = call(R20, 0 args, 3 rets)
  0148  TFORCALL  tforcall R8
  0149  TFORLOOP  tforloop R10(sBx=-131)   -> 19
  0150  TFORCALL  tforcall R3
  0151  TFORLOOP  tforloop R5(sBx=-137)   -> 15
  0152  RETURN    return R0..R-1
; ---------- proto79 [TestRemoveAllItem] ----------
  ; fn ?  line 777-783 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GM'
  ;   K[3]='TestModel'
  ;   K[4]='RemoveAll'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  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  GETTABUP  R1 = _ENV[K2('GM')]
  0007  GETTABLE  R1 = R1[K3('TestModel')]
  0008  SELF      R2 = R1[K4('RemoveAll')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto80 [_LogRequirementSatisfied] ----------
  ; fn ?  line 791-797 np=3 va=0 ms=11 code=52 consts=20 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='count:%d'
  ;   K[5]='GetTokenNumber'
  ;   K[6]='type:%s'
  ;   K[7]='GM'
  ;   K[8]='ItemDataModel'
  ;   K[9]='IsDishes'
  ;   K[10]='dish'
  ;   K[11]='mat'
  ;   K[12]='level:%d'
  ;   K[13]='GetConfigIndex'
  ;   K[14]='BIManager'
  ;   K[15]='LogAction'
  ;   K[16]='EBIType'
  ;   K[17]='CookBoostAcc'
  ;   K[18]='concat'
  ;   K[19]=';'
  ;   upvals: _ENV
  ;   locals: self(0-52), orderId(0-52), itemCode(0-52), strAction(1-52)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K0('table')]
  0002  GETTABLE  R4 = R4[K1('insert')]
  0003  MOVE      R5 = R0
  0004  GETTABUP  R6 = _ENV[K2('string')]
  0005  GETTABLE  R6 = R6[K3('format')]
  0006  LOADK     R7 = K4 'count:%d'
  0007  SELF      R9 = R0[K5('GetTokenNumber')] (self)
  0008  CALL      R8 = call(R8, -1 args, 1 rets)
  0009  CALL      R6 = call(R6, -1 args, -1 rets)
  0010  CALL      R4 = call(R4, 0 args, -1 rets)
  0011  GETTABUP  R4 = _ENV[K0('table')]
  0012  GETTABLE  R4 = R4[K1('insert')]
  0013  MOVE      R5 = R0
  0014  GETTABUP  R6 = _ENV[K2('string')]
  0015  GETTABLE  R6 = R6[K3('format')]
  0016  LOADK     R7 = K6 'type:%s'
  0017  GETTABUP  R8 = _ENV[K7('GM')]
  0018  GETTABLE  R8 = R8[K8('ItemDataModel')]
  0019  SELF      R9 = R8[K9('IsDishes')] (self)
  0020  MOVE      R10 = R0
  0021  CALL      R8 = call(R8, 1 args, 2 rets)
  0022  TEST      if not R8 then   -> -131048
  0023  JMP       (jump)   -> 27
  0024  LOADK     R8 = K10 'dish'
  0025  TEST      if not R8 then   -> -131044
  0026  JMP       (jump)   -> 28
  0027  LOADK     R8 = K11 'mat'
  0028  CALL      R6 = call(R6, -1 args, 2 rets)
  0029  CALL      R4 = call(R4, 0 args, -1 rets)
  0030  GETTABUP  R4 = _ENV[K0('table')]
  0031  GETTABLE  R4 = R4[K1('insert')]
  0032  MOVE      R5 = R0
  0033  GETTABUP  R6 = _ENV[K2('string')]
  0034  GETTABLE  R6 = R6[K3('format')]
  0035  LOADK     R7 = K12 'level:%d'
  0036  SELF      R9 = R0[K13('GetConfigIndex')] (self)
  0037  CALL      R8 = call(R8, -1 args, 1 rets)
  0038  CALL      R6 = call(R6, -1 args, -1 rets)
  0039  CALL      R4 = call(R4, 0 args, -1 rets)
  0040  GETTABUP  R4 = _ENV[K7('GM')]
  0041  GETTABLE  R4 = R4[K14('BIManager')]
  0042  SELF      R5 = R4[K15('LogAction')] (self)
  0043  GETTABUP  R6 = _ENV[K16('EBIType')]
  0044  GETTABLE  R6 = R6[K17('CookBoostAcc')]
  0045  GETTABUP  R7 = _ENV[K0('table')]
  0046  GETTABLE  R7 = R7[K18('concat')]
  0047  MOVE      R8 = R0
  0048  LOADK     R9 = K19 ';'
  0049  CALL      R7 = call(R7, -1 args, 2 rets)
  0050  CALL      R4 = call(R4, 0 args, -1 rets)
  0051  RETURN    return R0..R-1
; ---------- proto81 [_LogReady] ----------
  ; fn ?  line 799-803 np=1 va=0 ms=8 code=23 consts=13 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='level:%d'
  ;   K[5]='GetConfigIndex'
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogAction'
  ;   K[9]='EBIType'
  ;   K[10]='CookBoostReady'
  ;   K[11]='concat'
  ;   K[12]=';'
  ;   upvals: _ENV
  ;   locals: self(0-23), strAction(1-23)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('table')]
  0002  GETTABLE  R2 = R2[K1('insert')]
  0003  MOVE      R3 = R0
  0004  GETTABUP  R4 = _ENV[K2('string')]
  0005  GETTABLE  R4 = R4[K3('format')]
  0006  LOADK     R5 = K4 'level:%d'
  0007  SELF      R7 = R0[K5('GetConfigIndex')] (self)
  0008  CALL      R6 = call(R6, -1 args, 1 rets)
  0009  CALL      R4 = call(R4, -1 args, -1 rets)
  0010  CALL      R2 = call(R2, 0 args, -1 rets)
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('BIManager')]
  0013  SELF      R3 = R2[K8('LogAction')] (self)
  0014  GETTABUP  R4 = _ENV[K9('EBIType')]
  0015  GETTABLE  R4 = R4[K10('CookBoostReady')]
  0016  GETTABUP  R5 = _ENV[K0('table')]
  0017  GETTABLE  R5 = R5[K11('concat')]
  0018  MOVE      R6 = R0
  0019  LOADK     R7 = K12 ';'
  0020  CALL      R5 = call(R5, -1 args, 2 rets)
  0021  CALL      R2 = call(R2, 0 args, -1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto82 [_LogUseBoost] ----------
  ; fn ?  line 807-826 np=3 va=0 ms=18 code=112 consts=25 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='GetType'
  ;   K[2]=0
  ;   K[3]=1
  ;   K[4]='pairs'
  ;   K[5]='table'
  ;   K[6]='insert'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='%s-%d'
  ;   K[10]='dishes:%s'
  ;   K[11]='concat'
  ;   K[12]=','
  ;   K[13]='dishes_num:%d'
  ;   K[14]='Table'
  ;   K[15]='GetMapSize'
  ;   K[16]='rewards:%s'
  ;   K[17]='level:%d'
  ;   K[18]='GetConfigIndex'
  ;   K[19]='GM'
  ;   K[20]='BIManager'
  ;   K[21]='LogAction'
  ;   K[22]='EBIType'
  ;   K[23]='CookBoostUseBoost'
  ;   K[24]=';'
  ;   upvals: _ENV
  ;   locals: self(0-112), arrItemRewards(0-112), mapRemainCookDuration(0-112), mapItemRewards(1-112), (for generator)(4-17), (for state)(4-17), (for control)(4-17), _(5-15), itemModel(5-15), strAction(18-112), strDishes(19-112), (for generator)(22-35), (for state)(22-35), (for control)(22-35), dish(23-33), remainCookDuration(23-33), strRewards(61-112), (for generator)(64-77), (for state)(64-77), (for control)(64-77), itemType(65-75), count(65-75)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K0('ipairs')]
  0002  MOVE      R5 = R0
  0003  CALL      R4 = call(R4, 3 args, 1 rets)
  0004  JMP       (jump)   -> 15
  0005  SELF      R10 = R8[K1('GetType')] (self)
  0006  CALL      R9 = call(R9, 1 args, 1 rets)
  0007  SELF      R11 = R8[K1('GetType')] (self)
  0008  CALL      R10 = call(R10, 1 args, 1 rets)
  0009  GETTABLE  R10 = R3[R10]
  0010  TEST      if not R10 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  LOADK     R10 = K2 0
  0013  ADD       R10 = K3(1) add R10
  0014  SETTABLE  R3[R9] = R10
  0015  TFORCALL  tforcall R4
  0016  TFORLOOP  tforloop R6(sBx=-12)   -> 5
  0017  NEWTABLE  R4 = {} (0 items)
  0018  NEWTABLE  R5 = {} (0 items)
  0019  GETTABUP  R6 = _ENV[K4('pairs')]
  0020  MOVE      R7 = R0
  0021  CALL      R6 = call(R6, 3 args, 1 rets)
  0022  JMP       (jump)   -> 33
  0023  GETTABUP  R11 = _ENV[K5('table')]
  0024  GETTABLE  R11 = R11[K6('insert')]
  0025  MOVE      R12 = R0
  0026  GETTABUP  R13 = _ENV[K7('string')]
  0027  GETTABLE  R13 = R13[K8('format')]
  0028  LOADK     R14 = K9 '%s-%d'
  0029  MOVE      R15 = R0
  0030  MOVE      R16 = R0
  0031  CALL      R13 = call(R13, -1 args, 3 rets)
  0032  CALL      R11 = call(R11, 0 args, -1 rets)
  0033  TFORCALL  tforcall R6
  0034  TFORLOOP  tforloop R8(sBx=-12)   -> 23
  0035  GETTABUP  R6 = _ENV[K5('table')]
  0036  GETTABLE  R6 = R6[K6('insert')]
  0037  MOVE      R7 = R0
  0038  GETTABUP  R8 = _ENV[K7('string')]
  0039  GETTABLE  R8 = R8[K8('format')]
  0040  LOADK     R9 = K10 'dishes:%s'
  0041  GETTABUP  R10 = _ENV[K5('table')]
  0042  GETTABLE  R10 = R10[K11('concat')]
  0043  MOVE      R11 = R0
  0044  LOADK     R12 = K12 ','
  0045  CALL      R10 = call(R10, -1 args, 2 rets)
  0046  CALL      R8 = call(R8, -1 args, -1 rets)
  0047  CALL      R6 = call(R6, 0 args, -1 rets)
  0048  GETTABUP  R6 = _ENV[K5('table')]
  0049  GETTABLE  R6 = R6[K6('insert')]
  0050  MOVE      R7 = R0
  0051  GETTABUP  R8 = _ENV[K7('string')]
  0052  GETTABLE  R8 = R8[K8('format')]
  0053  LOADK     R9 = K13 'dishes_num:%d'
  0054  GETTABUP  R10 = _ENV[K14('Table')]
  0055  GETTABLE  R10 = R10[K15('GetMapSize')]
  0056  MOVE      R11 = R0
  0057  CALL      R10 = call(R10, -1 args, 1 rets)
  0058  CALL      R8 = call(R8, -1 args, -1 rets)
  0059  CALL      R6 = call(R6, 0 args, -1 rets)
  0060  NEWTABLE  R6 = {} (0 items)
  0061  GETTABUP  R7 = _ENV[K4('pairs')]
  0062  MOVE      R8 = R0
  0063  CALL      R7 = call(R7, 3 args, 1 rets)
  0064  JMP       (jump)   -> 75
  0065  GETTABUP  R12 = _ENV[K5('table')]
  0066  GETTABLE  R12 = R12[K6('insert')]
  0067  MOVE      R13 = R0
  0068  GETTABUP  R14 = _ENV[K7('string')]
  0069  GETTABLE  R14 = R14[K8('format')]
  0070  LOADK     R15 = K9 '%s-%d'
  0071  MOVE      R16 = R0
  0072  MOVE      R17 = R0
  0073  CALL      R14 = call(R14, -1 args, 3 rets)
  0074  CALL      R12 = call(R12, 0 args, -1 rets)
  0075  TFORCALL  tforcall R7
  0076  TFORLOOP  tforloop R9(sBx=-12)   -> 65
  0077  GETTABUP  R7 = _ENV[K5('table')]
  0078  GETTABLE  R7 = R7[K6('insert')]
  0079  MOVE      R8 = R0
  0080  GETTABUP  R9 = _ENV[K7('string')]
  0081  GETTABLE  R9 = R9[K8('format')]
  0082  LOADK     R10 = K16 'rewards:%s'
  0083  GETTABUP  R11 = _ENV[K5('table')]
  0084  GETTABLE  R11 = R11[K11('concat')]
  0085  MOVE      R12 = R0
  0086  LOADK     R13 = K12 ','
  0087  CALL      R11 = call(R11, -1 args, 2 rets)
  0088  CALL      R9 = call(R9, -1 args, -1 rets)
  0089  CALL      R7 = call(R7, 0 args, -1 rets)
  0090  GETTABUP  R7 = _ENV[K5('table')]
  0091  GETTABLE  R7 = R7[K6('insert')]
  0092  MOVE      R8 = R0
  0093  GETTABUP  R9 = _ENV[K7('string')]
  0094  GETTABLE  R9 = R9[K8('format')]
  0095  LOADK     R10 = K17 'level:%d'
  0096  SELF      R12 = R0[K18('GetConfigIndex')] (self)
  0097  CALL      R11 = call(R11, -1 args, 1 rets)
  0098  CALL      R9 = call(R9, -1 args, -1 rets)
  0099  CALL      R7 = call(R7, 0 args, -1 rets)
  0100  GETTABUP  R7 = _ENV[K19('GM')]
  0101  GETTABLE  R7 = R7[K20('BIManager')]
  0102  SELF      R8 = R7[K21('LogAction')] (self)
  0103  GETTABUP  R9 = _ENV[K22('EBIType')]
  0104  GETTABLE  R9 = R9[K23('CookBoostUseBoost')]
  0105  GETTABUP  R10 = _ENV[K5('table')]
  0106  GETTABLE  R10 = R10[K11('concat')]
  0107  MOVE      R11 = R0
  0108  LOADK     R12 = K24 ';'
  0109  CALL      R10 = call(R10, -1 args, 2 rets)
  0110  CALL      R7 = call(R7, 0 args, -1 rets)
  0111  RETURN    return R0..R-1
; ---------- proto83 [_LogStart] ----------
  ; fn ?  line 828-832 np=1 va=0 ms=8 code=23 consts=13 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='level:%d'
  ;   K[5]='GetConfigIndex'
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogAction'
  ;   K[9]='EBIType'
  ;   K[10]='CookBoostStart'
  ;   K[11]='concat'
  ;   K[12]=';'
  ;   upvals: _ENV
  ;   locals: self(0-23), strAction(1-23)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('table')]
  0002  GETTABLE  R2 = R2[K1('insert')]
  0003  MOVE      R3 = R0
  0004  GETTABUP  R4 = _ENV[K2('string')]
  0005  GETTABLE  R4 = R4[K3('format')]
  0006  LOADK     R5 = K4 'level:%d'
  0007  SELF      R7 = R0[K5('GetConfigIndex')] (self)
  0008  CALL      R6 = call(R6, -1 args, 1 rets)
  0009  CALL      R4 = call(R4, -1 args, -1 rets)
  0010  CALL      R2 = call(R2, 0 args, -1 rets)
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('BIManager')]
  0013  SELF      R3 = R2[K8('LogAction')] (self)
  0014  GETTABUP  R4 = _ENV[K9('EBIType')]
  0015  GETTABLE  R4 = R4[K10('CookBoostStart')]
  0016  GETTABUP  R5 = _ENV[K0('table')]
  0017  GETTABLE  R5 = R5[K11('concat')]
  0018  MOVE      R6 = R0
  0019  LOADK     R7 = K12 ';'
  0020  CALL      R5 = call(R5, -1 args, 2 rets)
  0021  CALL      R2 = call(R2, 0 args, -1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto84 [_LogFail] ----------
  ; fn ?  line 834-840 np=1 va=0 ms=8 code=36 consts=16 upvals=1 protos=0
  ;   K[0]='SetHasLogFailed'
  ;   K[1]='table'
  ;   K[2]='insert'
  ;   K[3]='string'
  ;   K[4]='format'
  ;   K[5]='count:%d'
  ;   K[6]='GetTokenNumber'
  ;   K[7]='level:%d'
  ;   K[8]='GetConfigIndex'
  ;   K[9]='GM'
  ;   K[10]='BIManager'
  ;   K[11]='LogAction'
  ;   K[12]='EBIType'
  ;   K[13]='CookBoostFail'
  ;   K[14]='concat'
  ;   K[15]=';'
  ;   upvals: _ENV
  ;   locals: self(0-36), strAction(4-36)
  0000  SELF      R2 = R0[K0('SetHasLogFailed')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  NEWTABLE  R1 = {} (0 items)
  0004  GETTABUP  R2 = _ENV[K1('table')]
  0005  GETTABLE  R2 = R2[K2('insert')]
  0006  MOVE      R3 = R0
  0007  GETTABUP  R4 = _ENV[K3('string')]
  0008  GETTABLE  R4 = R4[K4('format')]
  0009  LOADK     R5 = K5 'count:%d'
  0010  SELF      R7 = R0[K6('GetTokenNumber')] (self)
  0011  CALL      R6 = call(R6, -1 args, 1 rets)
  0012  CALL      R4 = call(R4, -1 args, -1 rets)
  0013  CALL      R2 = call(R2, 0 args, -1 rets)
  0014  GETTABUP  R2 = _ENV[K1('table')]
  0015  GETTABLE  R2 = R2[K2('insert')]
  0016  MOVE      R3 = R0
  0017  GETTABUP  R4 = _ENV[K3('string')]
  0018  GETTABLE  R4 = R4[K4('format')]
  0019  LOADK     R5 = K7 'level:%d'
  0020  SELF      R7 = R0[K8('GetConfigIndex')] (self)
  0021  CALL      R6 = call(R6, -1 args, 1 rets)
  0022  CALL      R4 = call(R4, -1 args, -1 rets)
  0023  CALL      R2 = call(R2, 0 args, -1 rets)
  0024  GETTABUP  R2 = _ENV[K9('GM')]
  0025  GETTABLE  R2 = R2[K10('BIManager')]
  0026  SELF      R3 = R2[K11('LogAction')] (self)
  0027  GETTABUP  R4 = _ENV[K12('EBIType')]
  0028  GETTABLE  R4 = R4[K13('CookBoostFail')]
  0029  GETTABUP  R5 = _ENV[K1('table')]
  0030  GETTABLE  R5 = R5[K14('concat')]
  0031  MOVE      R6 = R0
  0032  LOADK     R7 = K15 ';'
  0033  CALL      R5 = call(R5, -1 args, 2 rets)
  0034  CALL      R2 = call(R2, 0 args, -1 rets)
  0035  RETURN    return R0..R-1
