# ChestNonstopActivity_Model_ChestNonstopActivityModel_1800.luac
; fn @ChestNonstopActivityModel.lua  line 0-0 np=0 va=1 ms=12 code=431 consts=186 upvals=1 protos=128
;   K[0]='ChestNonstopActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='ConfigKey'
;   K[5]='chestNonstopConfig'
;   K[6]='SelectConfigKey'
;   K[7]='chestNonstopSelectConfig'
;   K[8]='TriggerState'
;   K[9]='tri'
;   K[10]='TriggerEndTime'
;   K[11]='end_time'
;   K[12]='CycleRound'
;   K[13]='cyc'
;   K[14]='TriggerCooldownEndTime'
;   K[15]='cd'
;   K[16]='Score'
;   K[17]='score'
;   K[18]='LastScoreInView'
;   K[19]='lastScoreInView'
;   K[20]='ClaimedBoxCount'
;   K[21]='claimedBoxCount'
;   K[22]='ChestCustomerData'
;   K[23]='c_data'
;   K[24]='OrderRoundData'
;   K[25]='or_data'
;   K[26]='RoundCount'
;   K[27]='rc'
;   K[28]='TriggerFirstSelectConfig'
;   K[29]='t_cfg_f'
;   K[30]='TriggerCycleSelectConfig'
;   K[31]='t_cfg_c'
;   K[32]='ChestCustomerEndTime'
;   K[33]='c_end'
;   K[34]='DurationInMinutes'
;   K[35]='duration'
;   K[36]='CooldownInMinutes'
;   K[37]='cooldown'
;   K[38]='First'
;   K[39]='first'
;   K[40]='Cycle'
;   K[41]='cycle'
;   K[42]=0.5
;   K[43]='Second'
;   K[44]=0.9
;   K[45]='EChestNonstopBoxState'
;   K[46]='Locked'
;   K[47]=0
;   K[48]='CanClaim'
;   K[49]=1
;   K[50]='Claimed'
;   K[51]=2
;   K[52]='Init'
;   K[53]='GetActivityDefinition'
;   K[54]='_OnStateChanged'
;   K[55]='IsActivityOpen'
;   K[56]='_LoadDBTableData'
;   K[57]='_DropData'
;   K[58]='GetResourceLabels'
;   K[59]='GetChestCustomerActiveModel'
;   K[60]='UpdatePerSecond'
;   K[61]='_GetLogPrefix'
;   K[62]='_LoadOtherServerConfig'
;   K[63]='_CheckConfigValid'
;   K[64]='ChestNonstopActivityModel'
;   K[65]='_CheckScoreConfigValid'
;   K[66]=60
;   K[67]='GetDuration'
;   K[68]='GetCooldown'
;   K[69]='_GetCurrentArrConfig'
;   K[70]='GetCurrentConfig'
;   K[71]='GetTargetScores'
;   K[72]='GetUIBoxId'
;   K[73]='GetMapUIBoxId'
;   K[74]='GetChestCustomerValidEndTime'
;   K[75]='DB_VALUE_KEY'
;   K[76]=1
;   K[77]='_DBTableGetValue'
;   K[78]='_DBTableGetNumber'
;   K[79]='_DBTableGetTable'
;   K[80]='_DBTableSet'
;   K[81]='_DBTableSetTable'
;   K[82]='_DBTableRemove'
;   K[83]='IsTriggerState'
;   K[84]='SetTriggerState'
;   K[85]='GetTriggerEndTime'
;   K[86]='SetTriggerEndTime'
;   K[87]='IsCycleRound'
;   K[88]='SetCycleRound'
;   K[89]='GetTriggerCooldownEndTime'
;   K[90]='SetTriggerCooldownEndTime'
;   K[91]='GetScore'
;   K[92]='SetScore'
;   K[93]='GetLastScoreInView'
;   K[94]='SetLastScoreInView'
;   K[95]='GetClaimedBoxCount'
;   K[96]='SetClaimedBoxCount'
;   K[97]='_LoadChestCustomerData'
;   K[98]='_SaveChestCustomerData'
;   K[99]='GetChestCustomerData'
;   K[100]='SetChestCustomerData'
;   K[101]='ClearChestCustomerData'
;   K[102]='_LoadOrderRoundData'
;   K[103]='_SaveOrderRoundData'
;   K[104]='GetOrderRoundData'
;   K[105]='SetOrderRoundData'
;   K[106]='ClearOrderRoundData'
;   K[107]='GetRoundCount'
;   K[108]='SetRoundCount'
;   K[109]='_LoadTriggerFirstSelectConfig'
;   K[110]='_SaveTriggerFirstSelectConfig'
;   K[111]='GetTriggerFirstSelectConfig'
;   K[112]='SetSavedTriggerFirstSelectConfig'
;   K[113]='_LoadTriggerCycleSelectConfig'
;   K[114]='_SaveTriggerCycleSelectConfig'
;   K[115]='GetTriggerCycleSelectConfig'
;   K[116]='SetSavedTriggerCycleSelectConfig'
;   K[117]='_LoadChestCustomerEndTime'
;   K[118]='_SaveChestCustomerEndTime'
;   K[119]='GetChestCustomerEndTime'
;   K[120]='HasChestCustomerEndTime'
;   K[121]='SetChestCustomerEndTime'
;   K[122]='SetWaitingNewRound'
;   K[123]='IsWaitingNewRound'
;   K[124]='SetHideTopRightEntry'
;   K[125]='IsHideTopRightEntry'
;   K[126]='SetAwardAnimationPlayed'
;   K[127]='IsAwardAnimationPlaying'
;   K[128]='SetSelectOrderAnimationPlayed'
;   K[129]='IsSelectOrderAnimationPlaying'
;   K[130]='GetLeftDuration'
;   K[131]='IsInDuration'
;   K[132]='IsInCooldown'
;   K[133]='IsChestCustomerOrder'
;   K[134]='HasBoxCanClaim'
;   K[135]='GetMaxBoxCount'
;   K[136]='GetMaxScore'
;   K[137]='GetOrderRoundInfo'
;   K[138]='_GetCurrentTriggerSelectConfig'
;   K[139]='GetChestCustomerLeftDuration'
;   K[140]='IsChestCustomerInDuration'
;   K[141]='_DispatchStateChangedEvent'
;   K[142]='_DispatchRefreshEntryEvent'
;   K[143]='_DispatchTriggerStateChangedEvent'
;   K[144]='_DispatchSimpleStartEvent'
;   K[145]='_DispatchProgressStateChangedEvent'
;   K[146]='_DispatchOrderAnimationLoadedEvent'
;   K[147]='_DispatchMainWindowClosedEvent'
;   K[148]='_DispatchHelpWindowClosedEvent'
;   K[149]='IsTriggered'
;   K[150]='CanTrigger'
;   K[151]='TryTrigger'
;   K[152]='_OnCollectGold'
;   K[153]='GetBoxIdForEntryView'
;   K[154]='GetTextKeyByScore'
;   K[155]='GetProgressByScore'
;   K[156]='TryClaimBox'
;   K[157]='GetBoxState'
;   K[158]='IsChestCustomerValid'
;   K[159]='GetBoardModel'
;   K[160]='_TryRemoveEmptyChestCustomerData'
;   K[161]='_GetSelectConfig'
;   K[162]='GetListOrderWeight'
;   K[163]='TrySelectOrder'
;   K[164]='_OnOrderFinished'
;   K[165]=1
;   K[166]=6
;   K[167]='TryClaimChestCustomerReward'
;   K[168]='GetAndClearRewardsForView'
;   K[169]='_OnChangeGameMode'
;   K[170]='_OnBakeOutStateChanged'
;   K[171]='_OnOrderCellAvatarLoaded'
;   K[172]='_OpenWindow'
;   K[173]='OpenMainWindow'
;   K[174]='OpenHelpWindow'
;   K[175]='CanPopSimpleStart'
;   K[176]='OnMainWindowClosed'
;   K[177]='OnHelpWindowClosed'
;   K[178]='_IsEntryVisible'
;   K[179]='GetMapEntryShowConfig'
;   K[180]='OnEntryClicked'
;   K[181]='_IsChestCustomerOrderVisible'
;   K[182]='GetOrderCellAvatarConfig'
;   K[183]='GetOrderCellStyleConfig'
;   K[184]='LogStarted'
;   K[185]='_TryLogChestNonstopReachStage'
;   upvals: _ENV
;   locals: DBKey(26-431), GeneralActivityConfKey(29-431), ERoundType(32-431), Threshold(35-431), Minute(80-431), DB_VALUE_KEY(105-431), TRUE_VALUE(106-431), kScoreThreshold(371-431), kLevelMin(372-431), kLevelMax(373-431)
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('ChestNonstopActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('ChestNonstopActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityModel')]
0009  SETTABLE  R0[K4('ConfigKey')] = K5('chestNonstopConfig')
0010  GETTABUP  R0 = _ENV[K0('ChestNonstopActivityModel')]
0011  SETTABLE  R0[K6('SelectConfigKey')] = K7('chestNonstopSelectConfig')
0012  NEWTABLE  R0 = {} (0 items)
0013  SETTABLE  R0[K8('TriggerState')] = K9('tri')
0014  SETTABLE  R0[K10('TriggerEndTime')] = K11('end_time')
0015  SETTABLE  R0[K12('CycleRound')] = K13('cyc')
0016  SETTABLE  R0[K14('TriggerCooldownEndTime')] = K15('cd')
0017  SETTABLE  R0[K16('Score')] = K17('score')
0018  SETTABLE  R0[K18('LastScoreInView')] = K19('lastScoreInView')
0019  SETTABLE  R0[K20('ClaimedBoxCount')] = K21('claimedBoxCount')
0020  SETTABLE  R0[K22('ChestCustomerData')] = K23('c_data')
0021  SETTABLE  R0[K24('OrderRoundData')] = K25('or_data')
0022  SETTABLE  R0[K26('RoundCount')] = K27('rc')
0023  SETTABLE  R0[K28('TriggerFirstSelectConfig')] = K29('t_cfg_f')
0024  SETTABLE  R0[K30('TriggerCycleSelectConfig')] = K31('t_cfg_c')
0025  SETTABLE  R0[K32('ChestCustomerEndTime')] = K33('c_end')
0026  NEWTABLE  R1 = {} (0 items)
0027  SETTABLE  R1[K34('DurationInMinutes')] = K35('duration')
0028  SETTABLE  R1[K36('CooldownInMinutes')] = K37('cooldown')
0029  NEWTABLE  R2 = {} (0 items)
0030  SETTABLE  R2[K38('First')] = K39('first')
0031  SETTABLE  R2[K40('Cycle')] = K41('cycle')
0032  NEWTABLE  R3 = {} (0 items)
0033  SETTABLE  R3[K38('First')] = K42(0.5)
0034  SETTABLE  R3[K43('Second')] = K44(0.9)
0035  NEWTABLE  R4 = {} (0 items)
0036  SETTABLE  R4[K46('Locked')] = K47(0)
0037  SETTABLE  R4[K48('CanClaim')] = K49(1)
0038  SETTABLE  R4[K50('Claimed')] = K51(2)
0039  SETTABUP  _ENV[K45('EChestNonstopBoxState')] = R4
0040  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0041  CLOSURE   R5 = closure proto0
0042  SETTABLE  R4[K52('Init')] = R5
0043  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0044  CLOSURE   R5 = closure proto1
0045  SETTABLE  R4[K53('GetActivityDefinition')] = R5
0046  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0047  CLOSURE   R5 = closure proto2
0048  SETTABLE  R4[K54('_OnStateChanged')] = R5
0049  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0050  CLOSURE   R5 = closure proto3
0051  SETTABLE  R4[K55('IsActivityOpen')] = R5
0052  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0053  CLOSURE   R5 = closure proto4
0054  SETTABLE  R4[K56('_LoadDBTableData')] = R5
0055  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0056  CLOSURE   R5 = closure proto5
0057  SETTABLE  R4[K57('_DropData')] = R5
0058  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0059  CLOSURE   R5 = closure proto6
0060  SETTABLE  R4[K58('GetResourceLabels')] = R5
0061  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0062  CLOSURE   R5 = closure proto7
0063  SETTABLE  R4[K59('GetChestCustomerActiveModel')] = R5
0064  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0065  CLOSURE   R5 = closure proto8
0066  SETTABLE  R4[K60('UpdatePerSecond')] = R5
0067  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0068  CLOSURE   R5 = closure proto9
0069  SETTABLE  R4[K61('_GetLogPrefix')] = R5
0070  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0071  CLOSURE   R5 = closure proto10
0072  SETTABLE  R4[K62('_LoadOtherServerConfig')] = R5
0073  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
0074  CLOSURE   R5 = closure proto11
0075  SETTABLE  R4[K63('_CheckConfigValid')] = R5
0076  GETTABUP  R4 = _ENV[K64('ChestNonstopActivityModel')]
0077  CLOSURE   R5 = closure proto12
0078  SETTABLE  R4[K65('_CheckScoreConfigValid')] = R5
0079  LOADK     R4 = K66 60
0080  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0081  CLOSURE   R6 = closure proto13
0082  SETTABLE  R5[K67('GetDuration')] = R6
0083  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0084  CLOSURE   R6 = closure proto14
0085  SETTABLE  R5[K68('GetCooldown')] = R6
0086  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0087  CLOSURE   R6 = closure proto15
0088  SETTABLE  R5[K69('_GetCurrentArrConfig')] = R6
0089  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0090  CLOSURE   R6 = closure proto16
0091  SETTABLE  R5[K70('GetCurrentConfig')] = R6
0092  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0093  CLOSURE   R6 = closure proto17
0094  SETTABLE  R5[K71('GetTargetScores')] = R6
0095  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0096  CLOSURE   R6 = closure proto18
0097  SETTABLE  R5[K72('GetUIBoxId')] = R6
0098  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0099  CLOSURE   R6 = closure proto19
0100  SETTABLE  R5[K73('GetMapUIBoxId')] = R6
0101  GETTABUP  R5 = _ENV[K64('ChestNonstopActivityModel')]
0102  CLOSURE   R6 = closure proto20
0103  SETTABLE  R5[K74('GetChestCustomerValidEndTime')] = R6
0104  GETTABUP  R5 = _ENV[K75('DB_VALUE_KEY')]
0105  LOADK     R6 = K76 1
0106  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0107  CLOSURE   R8 = closure proto21
0108  SETTABLE  R7[K77('_DBTableGetValue')] = R8
0109  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0110  CLOSURE   R8 = closure proto22
0111  SETTABLE  R7[K78('_DBTableGetNumber')] = R8
0112  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0113  CLOSURE   R8 = closure proto23
0114  SETTABLE  R7[K79('_DBTableGetTable')] = R8
0115  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0116  CLOSURE   R8 = closure proto24
0117  SETTABLE  R7[K80('_DBTableSet')] = R8
0118  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0119  CLOSURE   R8 = closure proto25
0120  SETTABLE  R7[K81('_DBTableSetTable')] = R8
0121  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0122  CLOSURE   R8 = closure proto26
0123  SETTABLE  R7[K82('_DBTableRemove')] = R8
0124  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0125  CLOSURE   R8 = closure proto27
0126  SETTABLE  R7[K83('IsTriggerState')] = R8
0127  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0128  CLOSURE   R8 = closure proto28
0129  SETTABLE  R7[K84('SetTriggerState')] = R8
0130  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0131  CLOSURE   R8 = closure proto29
0132  SETTABLE  R7[K85('GetTriggerEndTime')] = R8
0133  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0134  CLOSURE   R8 = closure proto30
0135  SETTABLE  R7[K86('SetTriggerEndTime')] = R8
0136  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0137  CLOSURE   R8 = closure proto31
0138  SETTABLE  R7[K87('IsCycleRound')] = R8
0139  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0140  CLOSURE   R8 = closure proto32
0141  SETTABLE  R7[K88('SetCycleRound')] = R8
0142  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0143  CLOSURE   R8 = closure proto33
0144  SETTABLE  R7[K89('GetTriggerCooldownEndTime')] = R8
0145  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0146  CLOSURE   R8 = closure proto34
0147  SETTABLE  R7[K90('SetTriggerCooldownEndTime')] = R8
0148  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0149  CLOSURE   R8 = closure proto35
0150  SETTABLE  R7[K91('GetScore')] = R8
0151  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0152  CLOSURE   R8 = closure proto36
0153  SETTABLE  R7[K92('SetScore')] = R8
0154  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0155  CLOSURE   R8 = closure proto37
0156  SETTABLE  R7[K93('GetLastScoreInView')] = R8
0157  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0158  CLOSURE   R8 = closure proto38
0159  SETTABLE  R7[K94('SetLastScoreInView')] = R8
0160  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0161  CLOSURE   R8 = closure proto39
0162  SETTABLE  R7[K95('GetClaimedBoxCount')] = R8
0163  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0164  CLOSURE   R8 = closure proto40
0165  SETTABLE  R7[K96('SetClaimedBoxCount')] = R8
0166  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0167  CLOSURE   R8 = closure proto41
0168  SETTABLE  R7[K97('_LoadChestCustomerData')] = R8
0169  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0170  CLOSURE   R8 = closure proto42
0171  SETTABLE  R7[K98('_SaveChestCustomerData')] = R8
0172  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0173  CLOSURE   R8 = closure proto43
0174  SETTABLE  R7[K99('GetChestCustomerData')] = R8
0175  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0176  CLOSURE   R8 = closure proto44
0177  SETTABLE  R7[K100('SetChestCustomerData')] = R8
0178  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0179  CLOSURE   R8 = closure proto45
0180  SETTABLE  R7[K101('ClearChestCustomerData')] = R8
0181  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0182  CLOSURE   R8 = closure proto46
0183  SETTABLE  R7[K102('_LoadOrderRoundData')] = R8
0184  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0185  CLOSURE   R8 = closure proto47
0186  SETTABLE  R7[K103('_SaveOrderRoundData')] = R8
0187  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0188  CLOSURE   R8 = closure proto48
0189  SETTABLE  R7[K104('GetOrderRoundData')] = R8
0190  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0191  CLOSURE   R8 = closure proto49
0192  SETTABLE  R7[K105('SetOrderRoundData')] = R8
0193  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0194  CLOSURE   R8 = closure proto50
0195  SETTABLE  R7[K106('ClearOrderRoundData')] = R8
0196  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0197  CLOSURE   R8 = closure proto51
0198  SETTABLE  R7[K107('GetRoundCount')] = R8
0199  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0200  CLOSURE   R8 = closure proto52
0201  SETTABLE  R7[K108('SetRoundCount')] = R8
0202  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0203  CLOSURE   R8 = closure proto53
0204  SETTABLE  R7[K109('_LoadTriggerFirstSelectConfig')] = R8
0205  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0206  CLOSURE   R8 = closure proto54
0207  SETTABLE  R7[K110('_SaveTriggerFirstSelectConfig')] = R8
0208  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0209  CLOSURE   R8 = closure proto55
0210  SETTABLE  R7[K111('GetTriggerFirstSelectConfig')] = R8
0211  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0212  CLOSURE   R8 = closure proto56
0213  SETTABLE  R7[K112('SetSavedTriggerFirstSelectConfig')] = R8
0214  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0215  CLOSURE   R8 = closure proto57
0216  SETTABLE  R7[K113('_LoadTriggerCycleSelectConfig')] = R8
0217  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0218  CLOSURE   R8 = closure proto58
0219  SETTABLE  R7[K114('_SaveTriggerCycleSelectConfig')] = R8
0220  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0221  CLOSURE   R8 = closure proto59
0222  SETTABLE  R7[K115('GetTriggerCycleSelectConfig')] = R8
0223  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0224  CLOSURE   R8 = closure proto60
0225  SETTABLE  R7[K116('SetSavedTriggerCycleSelectConfig')] = R8
0226  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0227  CLOSURE   R8 = closure proto61
0228  SETTABLE  R7[K117('_LoadChestCustomerEndTime')] = R8
0229  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0230  CLOSURE   R8 = closure proto62
0231  SETTABLE  R7[K118('_SaveChestCustomerEndTime')] = R8
0232  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0233  CLOSURE   R8 = closure proto63
0234  SETTABLE  R7[K119('GetChestCustomerEndTime')] = R8
0235  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0236  CLOSURE   R8 = closure proto64
0237  SETTABLE  R7[K120('HasChestCustomerEndTime')] = R8
0238  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0239  CLOSURE   R8 = closure proto65
0240  SETTABLE  R7[K121('SetChestCustomerEndTime')] = R8
0241  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0242  CLOSURE   R8 = closure proto66
0243  SETTABLE  R7[K122('SetWaitingNewRound')] = R8
0244  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0245  CLOSURE   R8 = closure proto67
0246  SETTABLE  R7[K123('IsWaitingNewRound')] = R8
0247  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0248  CLOSURE   R8 = closure proto68
0249  SETTABLE  R7[K124('SetHideTopRightEntry')] = R8
0250  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0251  CLOSURE   R8 = closure proto69
0252  SETTABLE  R7[K125('IsHideTopRightEntry')] = R8
0253  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0254  CLOSURE   R8 = closure proto70
0255  SETTABLE  R7[K126('SetAwardAnimationPlayed')] = R8
0256  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0257  CLOSURE   R8 = closure proto71
0258  SETTABLE  R7[K127('IsAwardAnimationPlaying')] = R8
0259  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0260  CLOSURE   R8 = closure proto72
0261  SETTABLE  R7[K128('SetSelectOrderAnimationPlayed')] = R8
0262  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0263  CLOSURE   R8 = closure proto73
0264  SETTABLE  R7[K129('IsSelectOrderAnimationPlaying')] = R8
0265  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0266  CLOSURE   R8 = closure proto74
0267  SETTABLE  R7[K130('GetLeftDuration')] = R8
0268  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0269  CLOSURE   R8 = closure proto75
0270  SETTABLE  R7[K131('IsInDuration')] = R8
0271  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0272  CLOSURE   R8 = closure proto76
0273  SETTABLE  R7[K132('IsInCooldown')] = R8
0274  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0275  CLOSURE   R8 = closure proto77
0276  SETTABLE  R7[K133('IsChestCustomerOrder')] = R8
0277  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0278  CLOSURE   R8 = closure proto78
0279  SETTABLE  R7[K134('HasBoxCanClaim')] = R8
0280  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0281  CLOSURE   R8 = closure proto79
0282  SETTABLE  R7[K135('GetMaxBoxCount')] = R8
0283  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0284  CLOSURE   R8 = closure proto80
0285  SETTABLE  R7[K136('GetMaxScore')] = R8
0286  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0287  CLOSURE   R8 = closure proto81
0288  SETTABLE  R7[K137('GetOrderRoundInfo')] = R8
0289  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0290  CLOSURE   R8 = closure proto82
0291  SETTABLE  R7[K138('_GetCurrentTriggerSelectConfig')] = R8
0292  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0293  CLOSURE   R8 = closure proto83
0294  SETTABLE  R7[K139('GetChestCustomerLeftDuration')] = R8
0295  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0296  CLOSURE   R8 = closure proto84
0297  SETTABLE  R7[K140('IsChestCustomerInDuration')] = R8
0298  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0299  CLOSURE   R8 = closure proto85
0300  SETTABLE  R7[K141('_DispatchStateChangedEvent')] = R8
0301  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0302  CLOSURE   R8 = closure proto86
0303  SETTABLE  R7[K142('_DispatchRefreshEntryEvent')] = R8
0304  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0305  CLOSURE   R8 = closure proto87
0306  SETTABLE  R7[K143('_DispatchTriggerStateChangedEvent')] = R8
0307  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0308  CLOSURE   R8 = closure proto88
0309  SETTABLE  R7[K144('_DispatchSimpleStartEvent')] = R8
0310  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0311  CLOSURE   R8 = closure proto89
0312  SETTABLE  R7[K145('_DispatchProgressStateChangedEvent')] = R8
0313  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0314  CLOSURE   R8 = closure proto90
0315  SETTABLE  R7[K146('_DispatchOrderAnimationLoadedEvent')] = R8
0316  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0317  CLOSURE   R8 = closure proto91
0318  SETTABLE  R7[K147('_DispatchMainWindowClosedEvent')] = R8
0319  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0320  CLOSURE   R8 = closure proto92
0321  SETTABLE  R7[K148('_DispatchHelpWindowClosedEvent')] = R8
0322  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0323  CLOSURE   R8 = closure proto93
0324  SETTABLE  R7[K149('IsTriggered')] = R8
0325  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0326  CLOSURE   R8 = closure proto94
0327  SETTABLE  R7[K150('CanTrigger')] = R8
0328  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0329  CLOSURE   R8 = closure proto95
0330  SETTABLE  R7[K151('TryTrigger')] = R8
0331  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0332  CLOSURE   R8 = closure proto96
0333  SETTABLE  R7[K152('_OnCollectGold')] = R8
0334  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0335  CLOSURE   R8 = closure proto97
0336  SETTABLE  R7[K153('GetBoxIdForEntryView')] = R8
0337  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0338  CLOSURE   R8 = closure proto98
0339  SETTABLE  R7[K154('GetTextKeyByScore')] = R8
0340  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0341  CLOSURE   R8 = closure proto99
0342  SETTABLE  R7[K155('GetProgressByScore')] = R8
0343  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0344  CLOSURE   R8 = closure proto100
0345  SETTABLE  R7[K156('TryClaimBox')] = R8
0346  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0347  CLOSURE   R8 = closure proto101
0348  SETTABLE  R7[K157('GetBoxState')] = R8
0349  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0350  CLOSURE   R8 = closure proto102
0351  SETTABLE  R7[K158('IsChestCustomerValid')] = R8
0352  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0353  CLOSURE   R8 = closure proto103
0354  SETTABLE  R7[K159('GetBoardModel')] = R8
0355  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0356  CLOSURE   R8 = closure proto104
0357  SETTABLE  R7[K160('_TryRemoveEmptyChestCustomerData')] = R8
0358  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0359  CLOSURE   R8 = closure proto105
0360  SETTABLE  R7[K161('_GetSelectConfig')] = R8
0361  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0362  CLOSURE   R8 = closure proto106
0363  SETTABLE  R7[K162('GetListOrderWeight')] = R8
0364  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0365  CLOSURE   R8 = closure proto107
0366  SETTABLE  R7[K163('TrySelectOrder')] = R8
0367  GETTABUP  R7 = _ENV[K64('ChestNonstopActivityModel')]
0368  CLOSURE   R8 = closure proto108
0369  SETTABLE  R7[K164('_OnOrderFinished')] = R8
0370  LOADK     R7 = K42 0.5
0371  LOADK     R8 = K165 1
0372  LOADK     R9 = K166 6
0373  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0374  CLOSURE   R11 = closure proto109
0375  SETTABLE  R10[K167('TryClaimChestCustomerReward')] = R11
0376  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0377  CLOSURE   R11 = closure proto110
0378  SETTABLE  R10[K168('GetAndClearRewardsForView')] = R11
0379  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0380  CLOSURE   R11 = closure proto111
0381  SETTABLE  R10[K169('_OnChangeGameMode')] = R11
0382  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0383  CLOSURE   R11 = closure proto112
0384  SETTABLE  R10[K170('_OnBakeOutStateChanged')] = R11
0385  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0386  CLOSURE   R11 = closure proto113
0387  SETTABLE  R10[K171('_OnOrderCellAvatarLoaded')] = R11
0388  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0389  CLOSURE   R11 = closure proto114
0390  SETTABLE  R10[K172('_OpenWindow')] = R11
0391  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0392  CLOSURE   R11 = closure proto115
0393  SETTABLE  R10[K173('OpenMainWindow')] = R11
0394  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0395  CLOSURE   R11 = closure proto116
0396  SETTABLE  R10[K174('OpenHelpWindow')] = R11
0397  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0398  CLOSURE   R11 = closure proto117
0399  SETTABLE  R10[K175('CanPopSimpleStart')] = R11
0400  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0401  CLOSURE   R11 = closure proto118
0402  SETTABLE  R10[K176('OnMainWindowClosed')] = R11
0403  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0404  CLOSURE   R11 = closure proto119
0405  SETTABLE  R10[K177('OnHelpWindowClosed')] = R11
0406  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0407  CLOSURE   R11 = closure proto120
0408  SETTABLE  R10[K178('_IsEntryVisible')] = R11
0409  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0410  CLOSURE   R11 = closure proto121
0411  SETTABLE  R10[K179('GetMapEntryShowConfig')] = R11
0412  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0413  CLOSURE   R11 = closure proto122
0414  SETTABLE  R10[K180('OnEntryClicked')] = R11
0415  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0416  CLOSURE   R11 = closure proto123
0417  SETTABLE  R10[K181('_IsChestCustomerOrderVisible')] = R11
0418  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0419  CLOSURE   R11 = closure proto124
0420  SETTABLE  R10[K182('GetOrderCellAvatarConfig')] = R11
0421  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0422  CLOSURE   R11 = closure proto125
0423  SETTABLE  R10[K183('GetOrderCellStyleConfig')] = R11
0424  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0425  CLOSURE   R11 = closure proto126
0426  SETTABLE  R10[K184('LogStarted')] = R11
0427  GETTABUP  R10 = _ENV[K64('ChestNonstopActivityModel')]
0428  CLOSURE   R11 = closure proto127
0429  SETTABLE  R10[K185('_TryLogChestNonstopReachStage')] = R11
0430  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 63-76 np=3 va=0 ms=7 code=54 consts=19 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ChestNonstopActivityDefinition'
  ;   K[2]='BaseActivityModel'
  ;   K[3]='Init'
  ;   K[4]='_LoadDBTableData'
  ;   K[5]='EventDispatcher'
  ;   K[6]='AddListener'
  ;   K[7]='EEventType'
  ;   K[8]='CollectGold'
  ;   K[9]='_OnCollectGold'
  ;   K[10]='OrderFinished'
  ;   K[11]='_OnOrderFinished'
  ;   K[12]='ChangeGameMode'
  ;   K[13]='_OnChangeGameMode'
  ;   K[14]='BakeOutStateChanged'
  ;   K[15]='_OnBakeOutStateChanged'
  ;   K[16]='BakeOutModeChanged'
  ;   K[17]='OrderCellAvatarLoaded'
  ;   K[18]='_OnOrderCellAvatarLoaded'
  ;   upvals: _ENV
  ;   locals: self(0-54), activityType(0-54), virtualDBTable(0-54)
  0000  GETTABUP  R3 = _ENV[K1('ChestNonstopActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R3
  0003  GETTABUP  R3 = _ENV[K2('BaseActivityModel')]
  0004  GETTABLE  R3 = R3[K3('Init')]
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  MOVE      R6 = R0
  0008  CALL      R3 = call(R3, 0 args, 3 rets)
  0009  SELF      R4 = R0[K4('_LoadDBTableData')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0012  GETTABLE  R3 = R3[K6('AddListener')]
  0013  GETTABUP  R4 = _ENV[K7('EEventType')]
  0014  GETTABLE  R4 = R4[K8('CollectGold')]
  0015  MOVE      R5 = R0
  0016  GETTABLE  R6 = R0[K9('_OnCollectGold')]
  0017  CALL      R3 = call(R3, 0 args, 3 rets)
  0018  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0019  GETTABLE  R3 = R3[K6('AddListener')]
  0020  GETTABUP  R4 = _ENV[K7('EEventType')]
  0021  GETTABLE  R4 = R4[K10('OrderFinished')]
  0022  MOVE      R5 = R0
  0023  GETTABLE  R6 = R0[K11('_OnOrderFinished')]
  0024  CALL      R3 = call(R3, 0 args, 3 rets)
  0025  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0026  GETTABLE  R3 = R3[K6('AddListener')]
  0027  GETTABUP  R4 = _ENV[K7('EEventType')]
  0028  GETTABLE  R4 = R4[K12('ChangeGameMode')]
  0029  MOVE      R5 = R0
  0030  GETTABLE  R6 = R0[K13('_OnChangeGameMode')]
  0031  CALL      R3 = call(R3, 0 args, 3 rets)
  0032  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0033  GETTABLE  R3 = R3[K6('AddListener')]
  0034  GETTABUP  R4 = _ENV[K7('EEventType')]
  0035  GETTABLE  R4 = R4[K14('BakeOutStateChanged')]
  0036  MOVE      R5 = R0
  0037  GETTABLE  R6 = R0[K15('_OnBakeOutStateChanged')]
  0038  CALL      R3 = call(R3, 0 args, 3 rets)
  0039  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0040  GETTABLE  R3 = R3[K6('AddListener')]
  0041  GETTABUP  R4 = _ENV[K7('EEventType')]
  0042  GETTABLE  R4 = R4[K16('BakeOutModeChanged')]
  0043  MOVE      R5 = R0
  0044  GETTABLE  R6 = R0[K15('_OnBakeOutStateChanged')]
  0045  CALL      R3 = call(R3, 0 args, 3 rets)
  0046  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0047  GETTABLE  R3 = R3[K6('AddListener')]
  0048  GETTABUP  R4 = _ENV[K7('EEventType')]
  0049  GETTABLE  R4 = R4[K17('OrderCellAvatarLoaded')]
  0050  MOVE      R5 = R0
  0051  GETTABLE  R6 = R0[K18('_OnOrderCellAvatarLoaded')]
  0052  CALL      R3 = call(R3, 0 args, 3 rets)
  0053  RETURN    return R0..R-1
; ---------- proto1 [GetActivityDefinition] ----------
  ; fn ?  line 79-81 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto2 [_OnStateChanged] ----------
  ; fn ?  line 84-89 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
; ---------- proto3 [IsActivityOpen] ----------
  ; fn ?  line 92-94 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
; ---------- proto4 [_LoadDBTableData] ----------
  ; fn ?  line 97-103 np=1 va=0 ms=3 code=11 consts=5 upvals=0 protos=0
  ;   K[0]='_LoadChestCustomerData'
  ;   K[1]='_LoadOrderRoundData'
  ;   K[2]='_LoadTriggerFirstSelectConfig'
  ;   K[3]='_LoadTriggerCycleSelectConfig'
  ;   K[4]='_LoadChestCustomerEndTime'
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('_LoadChestCustomerData')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_LoadOrderRoundData')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_LoadTriggerFirstSelectConfig')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('_LoadTriggerCycleSelectConfig')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SELF      R2 = R0[K4('_LoadChestCustomerEndTime')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto5 [_DropData] ----------
  ; fn ?  line 106-114 np=1 va=0 ms=3 code=16 consts=9 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_bWaitingNewRound'
  ;   K[3]=nil
  ;   K[4]='m_mapChestCustomerData'
  ;   K[5]='m_mapOrderRoundData'
  ;   K[6]='m_arrFirstSelectConfig'
  ;   K[7]='m_arrCycleSelectConfig'
  ;   K[8]='m_mapChestCustomerEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SETTABLE  R0[K2('m_bWaitingNewRound')] = K3(nil)
  0005  NEWTABLE  R1 = {} (0 items)
  0006  SETTABLE  R0[K4('m_mapChestCustomerData')] = R1
  0007  NEWTABLE  R1 = {} (0 items)
  0008  SETTABLE  R0[K5('m_mapOrderRoundData')] = R1
  0009  NEWTABLE  R1 = {} (0 items)
  0010  SETTABLE  R0[K6('m_arrFirstSelectConfig')] = R1
  0011  NEWTABLE  R1 = {} (0 items)
  0012  SETTABLE  R0[K7('m_arrCycleSelectConfig')] = R1
  0013  NEWTABLE  R1 = {} (0 items)
  0014  SETTABLE  R0[K8('m_mapChestCustomerEndTime')] = R1
  0015  RETURN    return R0..R-1
; ---------- proto6 [GetResourceLabels] ----------
  ; fn ?  line 117-119 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 [GetChestCustomerActiveModel] ----------
  ; fn ?  line 123-139 np=0 va=0 ms=11 code=49 consts=10 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='ChestNonstopActivityDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]=nil
  ;   K[6]='IsChestCustomerValid'
  ;   K[7]='GetStartTime'
  ;   K[8]='tonumber'
  ;   K[9]='GetId'
  ;   upvals: _ENV
  ;   locals: model(1-49), activeModel(1-49), (for generator)(7-47), (for state)(7-47), (for control)(7-47), activityType(8-45), definition(8-45)
  0000  LOADNIL   R0..R0 = nil
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('ChestNonstopActivityDefinition')]
  0003  TEST      if not R3 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  NEWTABLE  R3 = {} (0 items)
  0006  CALL      R2 = call(R2, 3 args, 1 rets)
  0007  JMP       (jump)   -> 45
  0008  GETTABUP  R7 = _ENV[K2('GM')]
  0009  GETTABLE  R7 = R7[K3('ActivityManager')]
  0010  SELF      R8 = R7[K4('GetModel')] (self)
  0011  MOVE      R9 = R0
  0012  CALL      R7 = call(R7, 1 args, 2 rets)
  0013  MOVE      R0 = R0
  0014  EQ        if R1 eq K5(nil)   -> -130795
  0015  JMP       (jump)   -> 45
  0016  SELF      R8 = R0[K6('IsChestCustomerValid')] (self)
  0017  CALL      R7 = call(R7, 1 args, 1 rets)
  0018  TEST      if not R7 then   -> -131052
  0019  JMP       (jump)   -> 45
  0020  EQ        if R1 eq K5(nil)   -> -130277
  0021  JMP       (jump)   -> 44
  0022  SELF      R8 = R0[K7('GetStartTime')] (self)
  0023  CALL      R7 = call(R7, 1 args, 1 rets)
  0024  SELF      R9 = R1[K7('GetStartTime')] (self)
  0025  CALL      R8 = call(R8, 1 args, 1 rets)
  0026  LT        if R1 lt R7   -> -126941
  0027  JMP       (jump)   -> 44
  0028  SELF      R8 = R0[K7('GetStartTime')] (self)
  0029  CALL      R7 = call(R7, 1 args, 1 rets)
  0030  SELF      R9 = R1[K7('GetStartTime')] (self)
  0031  CALL      R8 = call(R8, 1 args, 1 rets)
  0032  EQ        if R0 eq R8   -> -127446
  0033  JMP       (jump)   -> 45
  0034  GETTABUP  R7 = _ENV[K8('tonumber')]
  0035  SELF      R9 = R0[K9('GetId')] (self)
  0036  CALL      R8 = call(R8, -1 args, 1 rets)
  0037  CALL      R7 = call(R7, 1 args, -1 rets)
  0038  GETTABUP  R8 = _ENV[K8('tonumber')]
  0039  SELF      R10 = R1[K9('GetId')] (self)
  0040  CALL      R9 = call(R9, -1 args, 1 rets)
  0041  CALL      R8 = call(R8, 1 args, -1 rets)
  0042  LT        if R0 lt R7   -> -126925
  0043  JMP       (jump)   -> 45
  0044  MOVE      R1 = R0
  0045  TFORCALL  tforcall R2
  0046  TFORLOOP  tforloop R4(sBx=-39)   -> 8
  0047  RETURN    return R1..R0
  0048  RETURN    return R0..R-1
; ---------- proto8 [UpdatePerSecond] ----------
  ; fn ?  line 142-169 np=1 va=0 ms=10 code=67 consts=19 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='IsTriggerState'
  ;   K[3]='IsInDuration'
  ;   K[4]='SetTriggerState'
  ;   K[5]='_DispatchRefreshEntryEvent'
  ;   K[6]='_DispatchTriggerStateChangedEvent'
  ;   K[7]='_DispatchSimpleStartEvent'
  ;   K[8]='IsWaitingNewRound'
  ;   K[9]='CanTrigger'
  ;   K[10]='SetWaitingNewRound'
  ;   K[11]='pairs'
  ;   K[12]='Table'
  ;   K[13]='ShallowCopy'
  ;   K[14]='m_mapChestCustomerData'
  ;   K[15]='IsChestCustomerInDuration'
  ;   K[16]='SetChestCustomerData'
  ;   K[17]='SetOrderRoundData'
  ;   K[18]='SetChestCustomerEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-67), bRemoved(35-67), (for generator)(41-62), (for state)(41-62), (for control)(41-62), orderId(42-60)
  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  SELF      R2 = R0[K2('IsTriggerState')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 21
  0008  SELF      R2 = R0[K3('IsInDuration')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 21
  0012  SELF      R2 = R0[K4('SetTriggerState')] (self)
  0013  LOADBOOL  R3 = false
  0014  CALL      R1 = call(R1, 0 args, 2 rets)
  0015  SELF      R2 = R0[K5('_DispatchRefreshEntryEvent')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  SELF      R2 = R0[K6('_DispatchTriggerStateChangedEvent')] (self)
  0018  CALL      R1 = call(R1, 0 args, 1 rets)
  0019  SELF      R2 = R0[K7('_DispatchSimpleStartEvent')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  SELF      R2 = R0[K8('IsWaitingNewRound')] (self)
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  TEST      if not R1 then   -> -131047
  0024  JMP       (jump)   -> 34
  0025  SELF      R2 = R0[K9('CanTrigger')] (self)
  0026  CALL      R1 = call(R1, 1 args, 1 rets)
  0027  TEST      if not R1 then   -> -131042
  0028  JMP       (jump)   -> 34
  0029  SELF      R2 = R0[K10('SetWaitingNewRound')] (self)
  0030  LOADNIL   R3..R3 = nil
  0031  CALL      R1 = call(R1, 0 args, 2 rets)
  0032  SELF      R2 = R0[K5('_DispatchRefreshEntryEvent')] (self)
  0033  CALL      R1 = call(R1, 0 args, 1 rets)
  0034  LOADBOOL  R1 = false
  0035  GETTABUP  R2 = _ENV[K11('pairs')]
  0036  GETTABUP  R3 = _ENV[K12('Table')]
  0037  GETTABLE  R3 = R3[K13('ShallowCopy')]
  0038  GETTABLE  R4 = R0[K14('m_mapChestCustomerData')]
  0039  CALL      R3 = call(R3, -1 args, 1 rets)
  0040  CALL      R2 = call(R2, 3 args, -1 rets)
  0041  JMP       (jump)   -> 60
  0042  SELF      R7 = R0[K15('IsChestCustomerInDuration')] (self)
  0043  MOVE      R8 = R0
  0044  CALL      R6 = call(R6, 1 args, 2 rets)
  0045  TEST      if not R6 then   -> -131024
  0046  JMP       (jump)   -> 60
  0047  SELF      R7 = R0[K16('SetChestCustomerData')] (self)
  0048  MOVE      R8 = R0
  0049  LOADNIL   R9..R9 = nil
  0050  CALL      R6 = call(R6, 0 args, 3 rets)
  0051  SELF      R7 = R0[K17('SetOrderRoundData')] (self)
  0052  MOVE      R8 = R0
  0053  LOADNIL   R9..R9 = nil
  0054  CALL      R6 = call(R6, 0 args, 3 rets)
  0055  SELF      R7 = R0[K18('SetChestCustomerEndTime')] (self)
  0056  MOVE      R8 = R0
  0057  LOADNIL   R9..R9 = nil
  0058  CALL      R6 = call(R6, 0 args, 3 rets)
  0059  LOADBOOL  R1 = true
  0060  TFORCALL  tforcall R2
  0061  TFORLOOP  tforloop R4(sBx=-20)   -> 42
  0062  TEST      if not R1 then   -> -131008
  0063  JMP       (jump)   -> 66
  0064  SELF      R3 = R0[K5('_DispatchRefreshEntryEvent')] (self)
  0065  CALL      R2 = call(R2, 0 args, 1 rets)
  0066  RETURN    return R0..R-1
; ---------- proto9 [_GetLogPrefix] ----------
  ; fn ?  line 175-177 np=2 va=0 ms=6 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='[宝箱连连] 活动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 '[宝箱连连] 活动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
; ---------- proto10 [_LoadOtherServerConfig] ----------
  ; fn ?  line 179-226 np=2 va=0 ms=18 code=119 consts=29 upvals=2 protos=1
  ;   K[0]='ChestNonstopActivityModel'
  ;   K[1]='ConfigKey'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]=0
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='%s没有找到配置：<color=#FFA000>%s</color>，配置需要使用include关联表%s！'
  ;   K[10]='_GetLogPrefix'
  ;   K[11]='LogTag'
  ;   K[12]='ConfigCheck'
  ;   K[13]='ipairs'
  ;   K[14]='ChestNonstopActivityConfig'
  ;   K[15]='Create'
  ;   K[16]='GetType'
  ;   K[17]='Cycle'
  ;   K[18]='table'
  ;   K[19]='insert'
  ;   K[20]='sort'
  ;   K[21]='m_config'
  ;   K[22]='arrFirstConfig'
  ;   K[23]='arrCycleConfig'
  ;   K[24]='SelectConfigKey'
  ;   K[25]='ChestNonstopActivitySelectConfig'
  ;   K[26]='arrFirstSelectConfig'
  ;   K[27]='arrCycleSelectConfig'
  ;   K[28]='_CheckConfigValid'
  ;   upvals: _ENV, ERoundType
  ;   locals: self(0-119), config(0-119), arrFirstConfig(1-119), arrCycleConfig(2-119), arrRawConfig(5-119), (for generator)(34-57), (for state)(34-57), (for control)(34-57), _(35-55), rawConfig(35-55), config(39-55), sortById(58-119), arrRawConfig(75-119), arrFirstSelectConfig(82-115), arrCycleSelectConfig(83-115), (for generator)(88-111), (for state)(88-111), (for control)(88-111), _(89-109), rawConfig(89-109), selectConfig(93-109)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K0('ChestNonstopActivityModel')]
  0003  GETTABLE  R4 = R4[K1('ConfigKey')]
  0004  GETTABLE  R4 = R1[R4]
  0005  GETTABUP  R5 = _ENV[K2('Table')]
  0006  GETTABLE  R5 = R5[K3('IsEmpty')]
  0007  MOVE      R6 = R0
  0008  CALL      R5 = call(R5, 1 args, 1 rets)
  0009  TEST      if not R5 then   -> -131060
  0010  JMP       (jump)   -> 14
  0011  LEN       R5 = len R0
  0012  LE        if R0 le K4(0)   -> -128238
  0013  JMP       (jump)   -> 31
  0014  GETTABUP  R5 = _ENV[K5('Log')]
  0015  GETTABLE  R5 = R5[K6('Error')]
  0016  GETTABUP  R6 = _ENV[K7('string')]
  0017  GETTABLE  R6 = R6[K8('format')]
  0018  LOADK     R7 = K9 '%s没有找到配置：<color=#FFA000>%s</color>，配置需要使用include关联表%s！'
  0019  SELF      R9 = R0[K10('_GetLogPrefix')] (self)
  0020  MOVE      R10 = R0
  0021  CALL      R8 = call(R8, 1 args, 2 rets)
  0022  GETTABUP  R9 = _ENV[K0('ChestNonstopActivityModel')]
  0023  GETTABLE  R9 = R9[K1('ConfigKey')]
  0024  GETTABUP  R10 = _ENV[K0('ChestNonstopActivityModel')]
  0025  GETTABLE  R10 = R10[K1('ConfigKey')]
  0026  CALL      R6 = call(R6, 1 args, 4 rets)
  0027  GETTABUP  R7 = _ENV[K11('LogTag')]
  0028  GETTABLE  R7 = R7[K12('ConfigCheck')]
  0029  CALL      R5 = call(R5, 0 args, 2 rets)
  0030  RETURN    return R0..R-1
  0031  GETTABUP  R5 = _ENV[K13('ipairs')]
  0032  MOVE      R6 = R0
  0033  CALL      R5 = call(R5, 3 args, 1 rets)
  0034  JMP       (jump)   -> 55
  0035  GETTABUP  R10 = _ENV[K14('ChestNonstopActivityConfig')]
  0036  GETTABLE  R10 = R10[K15('Create')]
  0037  MOVE      R11 = R0
  0038  CALL      R10 = call(R10, 1 args, 1 rets)
  0039  SELF      R12 = R10[K16('GetType')] (self)
  0040  CALL      R11 = call(R11, 1 args, 1 rets)
  0041  GETTABUP  R12 = ERoundType[K17('Cycle')]
  0042  EQ        if R0 eq R12   -> -125384
  0043  JMP       (jump)   -> 50
  0044  GETTABUP  R11 = _ENV[K18('table')]
  0045  GETTABLE  R11 = R11[K19('insert')]
  0046  MOVE      R12 = R0
  0047  MOVE      R13 = R0
  0048  CALL      R11 = call(R11, 0 args, 2 rets)
  0049  JMP       (jump)   -> 55
  0050  GETTABUP  R11 = _ENV[K18('table')]
  0051  GETTABLE  R11 = R11[K19('insert')]
  0052  MOVE      R12 = R0
  0053  MOVE      R13 = R0
  0054  CALL      R11 = call(R11, 0 args, 2 rets)
  0055  TFORCALL  tforcall R5
  0056  TFORLOOP  tforloop R7(sBx=-22)   -> 35
  0057  CLOSURE   R5 = closure proto0
  0058  GETTABUP  R6 = _ENV[K18('table')]
  0059  GETTABLE  R6 = R6[K20('sort')]
  0060  MOVE      R7 = R0
  0061  MOVE      R8 = R0
  0062  CALL      R6 = call(R6, 0 args, 2 rets)
  0063  GETTABUP  R6 = _ENV[K18('table')]
  0064  GETTABLE  R6 = R6[K20('sort')]
  0065  MOVE      R7 = R0
  0066  MOVE      R8 = R0
  0067  CALL      R6 = call(R6, 0 args, 2 rets)
  0068  GETTABLE  R6 = R0[K21('m_config')]
  0069  SETTABLE  R6[K22('arrFirstConfig')] = R2
  0070  GETTABLE  R6 = R0[K21('m_config')]
  0071  SETTABLE  R6[K23('arrCycleConfig')] = R3
  0072  GETTABUP  R6 = _ENV[K0('ChestNonstopActivityModel')]
  0073  GETTABLE  R6 = R6[K24('SelectConfigKey')]
  0074  GETTABLE  R6 = R1[R6]
  0075  GETTABUP  R7 = _ENV[K2('Table')]
  0076  GETTABLE  R7 = R7[K3('IsEmpty')]
  0077  MOVE      R8 = R0
  0078  CALL      R7 = call(R7, 1 args, 1 rets)
  0079  TEST      if not R7 then   -> -130990
  0080  JMP       (jump)   -> 115
  0081  NEWTABLE  R7 = {} (0 items)
  0082  NEWTABLE  R8 = {} (0 items)
  0083  GETTABUP  R9 = _ENV[K13('ipairs')]
  0084  TESTSET   if R1 then R10   -> -127913
  0085  JMP       (jump)   -> 87
  0086  NEWTABLE  R10 = {} (0 items)
  0087  CALL      R9 = call(R9, 3 args, 1 rets)
  0088  JMP       (jump)   -> 109
  0089  GETTABUP  R14 = _ENV[K25('ChestNonstopActivitySelectConfig')]
  0090  GETTABLE  R14 = R14[K15('Create')]
  0091  MOVE      R15 = R0
  0092  CALL      R14 = call(R14, 1 args, 1 rets)
  0093  SELF      R16 = R14[K16('GetType')] (self)
  0094  CALL      R15 = call(R15, 1 args, 1 rets)
  0095  GETTABUP  R16 = ERoundType[K17('Cycle')]
  0096  EQ        if R0 eq R16   -> -123278
  0097  JMP       (jump)   -> 104
  0098  GETTABUP  R15 = _ENV[K18('table')]
  0099  GETTABLE  R15 = R15[K19('insert')]
  0100  MOVE      R16 = R0
  0101  MOVE      R17 = R0
  0102  CALL      R15 = call(R15, 0 args, 2 rets)
  0103  JMP       (jump)   -> 109
  0104  GETTABUP  R15 = _ENV[K18('table')]
  0105  GETTABLE  R15 = R15[K19('insert')]
  0106  MOVE      R16 = R0
  0107  MOVE      R17 = R0
  0108  CALL      R15 = call(R15, 0 args, 2 rets)
  0109  TFORCALL  tforcall R9
  0110  TFORLOOP  tforloop R11(sBx=-22)   -> 89
  0111  GETTABLE  R9 = R0[K21('m_config')]
  0112  SETTABLE  R9[K26('arrFirstSelectConfig')] = R7
  0113  GETTABLE  R9 = R0[K21('m_config')]
  0114  SETTABLE  R9[K27('arrCycleSelectConfig')] = R8
  0115  SELF      R8 = R0[K28('_CheckConfigValid')] (self)
  0116  MOVE      R9 = R0
  0117  CALL      R7 = call(R7, 0 args, 2 rets)
  0118  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 201-203 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetId'
    ;   locals: configA(0-10), configB(0-10)
    0000  SELF      R3 = R0[K0('GetId')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetId')] (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
; ---------- proto11 [_CheckConfigValid] ----------
  ; fn ?  line 228-305 np=2 va=0 ms=15 code=114 consts=33 upvals=3 protos=1
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='DurationInMinutes'
  ;   K[3]='EConfigParamType'
  ;   K[4]='Int'
  ;   K[5]='CooldownInMinutes'
  ;   K[6]='pairs'
  ;   K[7]='GetGeneralConfig'
  ;   K[8]=nil
  ;   K[9]='Log'
  ;   K[10]='Error'
  ;   K[11]='string'
  ;   K[12]='format'
  ;   K[13]='%s没有找到配置字段：<color=#FFA000>%s</color>，配置需要使用generalActivityConf配置字段%s，类型为%s！'
  ;   K[14]='_GetLogPrefix'
  ;   K[15]='LogTag'
  ;   K[16]='ConfigCheck'
  ;   K[17]='GetActivityDefinition'
  ;   K[18]='TotalStage'
  ;   K[19]='m_config'
  ;   K[20]='arrFirstConfig'
  ;   K[21]='%s配置表%s里，type=first，<color=#FFA000>id配置不完整</color>，活动配置必须是%d轮，当前只有%d轮！'
  ;   K[22]='ChestNonstopActivityModel'
  ;   K[23]='ConfigKey'
  ;   K[24]='arrCycleConfig'
  ;   K[25]='%s配置表%s里，type=cycle，<color=#FFA000>id配置不完整</color>，活动配置必须是%d轮，当前只有%d轮！'
  ;   K[26]='GM'
  ;   K[27]='ItemDataModel'
  ;   K[28]='GetItemScore'
  ;   K[29]='it_1_1_1'
  ;   K[30]='_CheckScoreConfigValid'
  ;   K[31]='arrFirstSelectConfig'
  ;   K[32]='arrCycleSelectConfig'
  ;   upvals: _ENV, GeneralActivityConfKey, ERoundType
  ;   locals: self(0-114), config(0-114), mapGeneralActivityConf(15-114), (for generator)(18-42), (for state)(18-42), (for control)(18-42), generalActivityConfKey(19-40), eConfigParamType(19-40), totalStage(45-114), minScore(96-114), CheckArrConfig(97-114)
  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  NEWTABLE  R2 = {} (0 items)
  0007  GETTABUP  R3 = GeneralActivityConfKey[K2('DurationInMinutes')]
  0008  GETTABUP  R4 = _ENV[K3('EConfigParamType')]
  0009  GETTABLE  R4 = R4[K4('Int')]
  0010  SETTABLE  R2[R3] = R4
  0011  GETTABUP  R3 = GeneralActivityConfKey[K5('CooldownInMinutes')]
  0012  GETTABUP  R4 = _ENV[K3('EConfigParamType')]
  0013  GETTABLE  R4 = R4[K4('Int')]
  0014  SETTABLE  R2[R3] = R4
  0015  GETTABUP  R3 = _ENV[K6('pairs')]
  0016  MOVE      R4 = R0
  0017  CALL      R3 = call(R3, 3 args, 1 rets)
  0018  JMP       (jump)   -> 40
  0019  SELF      R9 = R0[K7('GetGeneralConfig')] (self)
  0020  MOVE      R10 = R0
  0021  MOVE      R11 = R0
  0022  CALL      R8 = call(R8, 1 args, 3 rets)
  0023  EQ        if R0 eq K8(nil)   -> -126687
  0024  JMP       (jump)   -> 40
  0025  GETTABUP  R8 = _ENV[K9('Log')]
  0026  GETTABLE  R8 = R8[K10('Error')]
  0027  GETTABUP  R9 = _ENV[K11('string')]
  0028  GETTABLE  R9 = R9[K12('format')]
  0029  LOADK     R10 = K13 '%s没有找到配置字段：<color=#FFA000>%s</color>，配置需要使用generalActivityConf配置字段%s，类型为%s！'
  0030  SELF      R12 = R0[K14('_GetLogPrefix')] (self)
  0031  MOVE      R13 = R0
  0032  CALL      R11 = call(R11, 1 args, 2 rets)
  0033  MOVE      R12 = R0
  0034  MOVE      R13 = R0
  0035  MOVE      R14 = R0
  0036  CALL      R9 = call(R9, 1 args, 5 rets)
  0037  GETTABUP  R10 = _ENV[K15('LogTag')]
  0038  GETTABLE  R10 = R10[K16('ConfigCheck')]
  0039  CALL      R8 = call(R8, 0 args, 2 rets)
  0040  TFORCALL  tforcall R3
  0041  TFORLOOP  tforloop R5(sBx=-23)   -> 19
  0042  SELF      R4 = R0[K17('GetActivityDefinition')] (self)
  0043  CALL      R3 = call(R3, 1 args, 1 rets)
  0044  GETTABLE  R3 = R3[K18('TotalStage')]
  0045  GETTABLE  R4 = R0[K19('m_config')]
  0046  GETTABLE  R4 = R4[K20('arrFirstConfig')]
  0047  LEN       R4 = len R0
  0048  EQ        if R1 eq R3   -> -128971
  0049  JMP       (jump)   -> 68
  0050  GETTABUP  R4 = _ENV[K9('Log')]
  0051  GETTABLE  R4 = R4[K10('Error')]
  0052  GETTABUP  R5 = _ENV[K11('string')]
  0053  GETTABLE  R5 = R5[K12('format')]
  0054  LOADK     R6 = K21 '%s配置表%s里，type=first，<color=#FFA000>id配置不完整</color>，活动配置必须是%d轮，当前只有%d轮！'
  0055  SELF      R8 = R0[K14('_GetLogPrefix')] (self)
  0056  MOVE      R9 = R0
  0057  CALL      R7 = call(R7, 1 args, 2 rets)
  0058  GETTABUP  R8 = _ENV[K22('ChestNonstopActivityModel')]
  0059  GETTABLE  R8 = R8[K23('ConfigKey')]
  0060  MOVE      R9 = R0
  0061  GETTABLE  R10 = R0[K19('m_config')]
  0062  GETTABLE  R10 = R10[K20('arrFirstConfig')]
  0063  LEN       R10 = len R0
  0064  CALL      R5 = call(R5, 1 args, 5 rets)
  0065  GETTABUP  R6 = _ENV[K15('LogTag')]
  0066  GETTABLE  R6 = R6[K16('ConfigCheck')]
  0067  CALL      R4 = call(R4, 0 args, 2 rets)
  0068  GETTABLE  R4 = R0[K19('m_config')]
  0069  GETTABLE  R4 = R4[K24('arrCycleConfig')]
  0070  LEN       R4 = len R0
  0071  EQ        if R1 eq R3   -> -128948
  0072  JMP       (jump)   -> 91
  0073  GETTABUP  R4 = _ENV[K9('Log')]
  0074  GETTABLE  R4 = R4[K10('Error')]
  0075  GETTABUP  R5 = _ENV[K11('string')]
  0076  GETTABLE  R5 = R5[K12('format')]
  0077  LOADK     R6 = K25 '%s配置表%s里，type=cycle，<color=#FFA000>id配置不完整</color>，活动配置必须是%d轮，当前只有%d轮！'
  0078  SELF      R8 = R0[K14('_GetLogPrefix')] (self)
  0079  MOVE      R9 = R0
  0080  CALL      R7 = call(R7, 1 args, 2 rets)
  0081  GETTABUP  R8 = _ENV[K22('ChestNonstopActivityModel')]
  0082  GETTABLE  R8 = R8[K23('ConfigKey')]
  0083  MOVE      R9 = R0
  0084  GETTABLE  R10 = R0[K19('m_config')]
  0085  GETTABLE  R10 = R10[K24('arrCycleConfig')]
  0086  LEN       R10 = len R0
  0087  CALL      R5 = call(R5, 1 args, 5 rets)
  0088  GETTABUP  R6 = _ENV[K15('LogTag')]
  0089  GETTABLE  R6 = R6[K16('ConfigCheck')]
  0090  CALL      R4 = call(R4, 0 args, 2 rets)
  0091  GETTABUP  R4 = _ENV[K26('GM')]
  0092  GETTABLE  R4 = R4[K27('ItemDataModel')]
  0093  SELF      R5 = R4[K28('GetItemScore')] (self)
  0094  LOADK     R6 = K29 'it_1_1_1'
  0095  CALL      R4 = call(R4, 1 args, 2 rets)
  0096  CLOSURE   R5 = closure proto0
  0097  MOVE      R6 = R0
  0098  GETTABLE  R7 = R0[K19('m_config')]
  0099  GETTABLE  R7 = R7[K20('arrFirstConfig')]
  0100  CALL      R6 = call(R6, 0 args, 1 rets)
  0101  MOVE      R6 = R0
  0102  GETTABLE  R7 = R0[K19('m_config')]
  0103  GETTABLE  R7 = R7[K24('arrCycleConfig')]
  0104  CALL      R6 = call(R6, 0 args, 1 rets)
  0105  SELF      R7 = R0[K30('_CheckScoreConfigValid')] (self)
  0106  GETTABLE  R8 = R0[K19('m_config')]
  0107  GETTABLE  R8 = R8[K31('arrFirstSelectConfig')]
  0108  CALL      R6 = call(R6, 0 args, 2 rets)
  0109  SELF      R7 = R0[K30('_CheckScoreConfigValid')] (self)
  0110  GETTABLE  R8 = R0[K19('m_config')]
  0111  GETTABLE  R8 = R8[K32('arrCycleSelectConfig')]
  0112  CALL      R6 = call(R6, 0 args, 2 rets)
  0113  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 253-300 np=1 va=0 ms=24 code=228 consts=36 upvals=5 protos=0
    ;   K[0]='ipairs'
    ;   K[1]='GetId'
    ;   K[2]='GetType'
    ;   K[3]='Log'
    ;   K[4]='Error'
    ;   K[5]='string'
    ;   K[6]='format'
    ;   K[7]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>id配置错误</color>，这是第%d条配置，期望id=%d，当前id=%d'
    ;   K[8]='_GetLogPrefix'
    ;   K[9]='ChestNonstopActivityModel'
    ;   K[10]='ConfigKey'
    ;   K[11]='LogTag'
    ;   K[12]='ConfigCheck'
    ;   K[13]='Table'
    ;   K[14]='ListContain'
    ;   K[15]='GetValueList'
    ;   K[16]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>type配置错误</color>，type=%s，不合法，type必须是 { %s } 其中之一。'
    ;   K[17]='table'
    ;   K[18]='concat'
    ;   K[19]=', '
    ;   K[20]='GetTargetScore'
    ;   K[21]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>score配置错误</color>, 上一条配置的score=<color=#FFA000>%d</color>，本条配置score=<color=#FFA000>%d</color>，score必须递增，请检查！'
    ;   K[22]='EItemFillRewardType'
    ;   K[23]='GetRewardType'
    ;   K[24]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>reward_type配置错误</color>，reward_type=%s，不合法，reward_type必须是 { %s } 其中之一。'
    ;   K[25]='GetMaxRewardScore'
    ;   K[26]=nil
    ;   K[27]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>max_reward_score配置错误</color>，max_reward_score=%s，不合法，最大分数的配置必须大于等于%f（一个生菜的分数）。'
    ;   K[28]='GetChestDurationInSeconds'
    ;   K[29]=0
    ;   K[30]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>duration配置错误</color>，duration=%s，不合法，duration必须大于等于0，或者是空代表无限持续时间。'
    ;   K[31]='GetUICode'
    ;   K[32]='GetActivityDefinition'
    ;   K[33]='MapUICode2UIBoxId'
    ;   K[34]='%s配置表%s里，id=%d，type=%s，<color=#FFA000>uiCode配置错误</color>，uiCode=%s，不合法，uiCode必须是 { %s } 其中之一，或者是空使用默认值。'
    ;   K[35]='GetKeys'
    ;   upvals: _ENV, self, config, ERoundType, minScore
    ;   locals: arrConfig(0-228), lastScore(1-228), (for generator)(4-227), (for state)(4-227), (for control)(4-227), expectedId(5-225), oneConfig(6-225), id(8-225), type(10-225), score(70-225), duration(163-225), uiCode(187-225)
    0000  LOADNIL   R1..R1 = nil
    0001  GETTABUP  R2 = _ENV[K0('ipairs')]
    0002  MOVE      R3 = R0
    0003  CALL      R2 = call(R2, 3 args, 1 rets)
    0004  JMP       (jump)   -> 225
    0005  GETTABLE  R6 = R0[R5]
    0006  SELF      R8 = R6[K1('GetId')] (self)
    0007  CALL      R7 = call(R7, 1 args, 1 rets)
    0008  SELF      R9 = R6[K2('GetType')] (self)
    0009  CALL      R8 = call(R8, 1 args, 1 rets)
    0010  EQ        if R1 eq R7   -> -128493
    0011  JMP       (jump)   -> 32
    0012  GETTABUP  R9 = _ENV[K3('Log')]
    0013  GETTABLE  R9 = R9[K4('Error')]
    0014  GETTABUP  R10 = _ENV[K5('string')]
    0015  GETTABLE  R10 = R10[K6('format')]
    0016  LOADK     R11 = K7 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>id配置错误</color>，这是第%d条配置，期望id=%d，当前id=%d'
    0017  GETUPVAL  R12 = _ENV
    0018  SELF      R13 = R12[K8('_GetLogPrefix')] (self)
    0019  GETUPVAL  R14 = _ENV
    0020  CALL      R12 = call(R12, 1 args, 2 rets)
    0021  GETTABUP  R13 = _ENV[K9('ChestNonstopActivityModel')]
    0022  GETTABLE  R13 = R13[K10('ConfigKey')]
    0023  MOVE      R14 = R0
    0024  MOVE      R15 = R0
    0025  MOVE      R16 = R0
    0026  MOVE      R17 = R0
    0027  MOVE      R18 = R0
    0028  CALL      R10 = call(R10, 1 args, 8 rets)
    0029  GETTABUP  R11 = _ENV[K11('LogTag')]
    0030  GETTABLE  R11 = R11[K12('ConfigCheck')]
    0031  CALL      R9 = call(R9, 0 args, 2 rets)
    0032  GETTABUP  R9 = _ENV[K13('Table')]
    0033  GETTABLE  R9 = R9[K14('ListContain')]
    0034  GETTABUP  R10 = _ENV[K13('Table')]
    0035  GETTABLE  R10 = R10[K15('GetValueList')]
    0036  GETUPVAL  R11 = _ENV
    0037  CALL      R10 = call(R10, 1 args, 1 rets)
    0038  MOVE      R11 = R0
    0039  CALL      R9 = call(R9, 1 args, 2 rets)
    0040  TEST      if not R9 then   -> -131029
    0041  JMP       (jump)   -> 68
    0042  GETTABUP  R9 = _ENV[K3('Log')]
    0043  GETTABLE  R9 = R9[K4('Error')]
    0044  GETTABUP  R10 = _ENV[K5('string')]
    0045  GETTABLE  R10 = R10[K6('format')]
    0046  LOADK     R11 = K16 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>type配置错误</color>，type=%s，不合法，type必须是 { %s } 其中之一。'
    0047  GETUPVAL  R12 = _ENV
    0048  SELF      R13 = R12[K8('_GetLogPrefix')] (self)
    0049  GETUPVAL  R14 = _ENV
    0050  CALL      R12 = call(R12, 1 args, 2 rets)
    0051  GETTABUP  R13 = _ENV[K9('ChestNonstopActivityModel')]
    0052  GETTABLE  R13 = R13[K10('ConfigKey')]
    0053  MOVE      R14 = R0
    0054  MOVE      R15 = R0
    0055  MOVE      R16 = R0
    0056  GETTABUP  R17 = _ENV[K17('table')]
    0057  GETTABLE  R17 = R17[K18('concat')]
    0058  GETTABUP  R18 = _ENV[K13('Table')]
    0059  GETTABLE  R18 = R18[K15('GetValueList')]
    0060  GETUPVAL  R19 = _ENV
    0061  CALL      R18 = call(R18, 1 args, 1 rets)
    0062  LOADK     R19 = K19 ', '
    0063  CALL      R17 = call(R17, -1 args, 2 rets)
    0064  CALL      R10 = call(R10, 1 args, -1 rets)
    0065  GETTABUP  R11 = _ENV[K11('LogTag')]
    0066  GETTABLE  R11 = R11[K12('ConfigCheck')]
    0067  CALL      R9 = call(R9, 0 args, 2 rets)
    0068  SELF      R10 = R6[K20('GetTargetScore')] (self)
    0069  CALL      R9 = call(R9, 1 args, 1 rets)
    0070  TEST      if not R1 then   -> -131000
    0071  JMP       (jump)   -> 93
    0072  LE        if R0 le R1   -> -126389
    0073  JMP       (jump)   -> 93
    0074  GETTABUP  R10 = _ENV[K3('Log')]
    0075  GETTABLE  R10 = R10[K4('Error')]
    0076  GETTABUP  R11 = _ENV[K5('string')]
    0077  GETTABLE  R11 = R11[K6('format')]
    0078  LOADK     R12 = K21 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>score配置错误</color>, 上一条配置的score=<color=#FFA000>%d</color>，本条配置score=<color=#FFA000>%d</color>，score必须递增，请检查！'
    0079  GETUPVAL  R13 = _ENV
    0080  SELF      R14 = R13[K8('_GetLogPrefix')] (self)
    0081  GETUPVAL  R15 = _ENV
    0082  CALL      R13 = call(R13, 1 args, 2 rets)
    0083  GETTABUP  R14 = _ENV[K9('ChestNonstopActivityModel')]
    0084  GETTABLE  R14 = R14[K10('ConfigKey')]
    0085  MOVE      R15 = R0
    0086  MOVE      R16 = R0
    0087  MOVE      R17 = R0
    0088  MOVE      R18 = R0
    0089  CALL      R11 = call(R11, 1 args, 7 rets)
    0090  GETTABUP  R12 = _ENV[K11('LogTag')]
    0091  GETTABLE  R12 = R12[K12('ConfigCheck')]
    0092  CALL      R10 = call(R10, 0 args, 2 rets)
    0093  MOVE      R1 = R0
    0094  GETTABUP  R10 = _ENV[K13('Table')]
    0095  GETTABLE  R10 = R10[K14('ListContain')]
    0096  GETTABUP  R11 = _ENV[K13('Table')]
    0097  GETTABLE  R11 = R11[K15('GetValueList')]
    0098  GETTABUP  R12 = _ENV[K22('EItemFillRewardType')]
    0099  CALL      R11 = call(R11, 1 args, 1 rets)
    0100  SELF      R13 = R6[K23('GetRewardType')] (self)
    0101  CALL      R12 = call(R12, -1 args, 1 rets)
    0102  CALL      R10 = call(R10, 1 args, -1 rets)
    0103  TEST      if not R10 then   -> -130966
    0104  JMP       (jump)   -> 132
    0105  GETTABUP  R10 = _ENV[K3('Log')]
    0106  GETTABLE  R10 = R10[K4('Error')]
    0107  GETTABUP  R11 = _ENV[K5('string')]
    0108  GETTABLE  R11 = R11[K6('format')]
    0109  LOADK     R12 = K24 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>reward_type配置错误</color>，reward_type=%s，不合法，reward_type必须是 { %s } 其中之一。'
    0110  GETUPVAL  R13 = _ENV
    0111  SELF      R14 = R13[K8('_GetLogPrefix')] (self)
    0112  GETUPVAL  R15 = _ENV
    0113  CALL      R13 = call(R13, 1 args, 2 rets)
    0114  GETTABUP  R14 = _ENV[K9('ChestNonstopActivityModel')]
    0115  GETTABLE  R14 = R14[K10('ConfigKey')]
    0116  MOVE      R15 = R0
    0117  MOVE      R16 = R0
    0118  SELF      R18 = R6[K23('GetRewardType')] (self)
    0119  CALL      R17 = call(R17, 1 args, 1 rets)
    0120  GETTABUP  R18 = _ENV[K17('table')]
    0121  GETTABLE  R18 = R18[K18('concat')]
    0122  GETTABUP  R19 = _ENV[K13('Table')]
    0123  GETTABLE  R19 = R19[K15('GetValueList')]
    0124  GETTABUP  R20 = _ENV[K22('EItemFillRewardType')]
    0125  CALL      R19 = call(R19, 1 args, 1 rets)
    0126  LOADK     R20 = K19 ', '
    0127  CALL      R18 = call(R18, -1 args, 2 rets)
    0128  CALL      R11 = call(R11, 1 args, -1 rets)
    0129  GETTABUP  R12 = _ENV[K11('LogTag')]
    0130  GETTABLE  R12 = R12[K12('ConfigCheck')]
    0131  CALL      R10 = call(R10, 0 args, 2 rets)
    0132  SELF      R11 = R6[K25('GetMaxRewardScore')] (self)
    0133  CALL      R10 = call(R10, 1 args, 1 rets)
    0134  EQ        if R1 eq K26(nil)   -> -125534
    0135  JMP       (jump)   -> 161
    0136  SELF      R11 = R6[K25('GetMaxRewardScore')] (self)
    0137  CALL      R10 = call(R10, 1 args, 1 rets)
    0138  GETUPVAL  R11 = _ENV
    0139  LT        if R0 lt R11   -> -125800
    0140  JMP       (jump)   -> 161
    0141  GETTABUP  R10 = _ENV[K3('Log')]
    0142  GETTABLE  R10 = R10[K4('Error')]
    0143  GETTABUP  R11 = _ENV[K5('string')]
    0144  GETTABLE  R11 = R11[K6('format')]
    0145  LOADK     R12 = K27 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>max_reward_score配置错误</color>，max_reward_score=%s，不合法，最大分数的配置必须大于等于%f（一个生菜的分数）。'
    0146  GETUPVAL  R13 = _ENV
    0147  SELF      R14 = R13[K8('_GetLogPrefix')] (self)
    0148  GETUPVAL  R15 = _ENV
    0149  CALL      R13 = call(R13, 1 args, 2 rets)
    0150  GETTABUP  R14 = _ENV[K9('ChestNonstopActivityModel')]
    0151  GETTABLE  R14 = R14[K10('ConfigKey')]
    0152  MOVE      R15 = R0
    0153  MOVE      R16 = R0
    0154  SELF      R18 = R6[K25('GetMaxRewardScore')] (self)
    0155  CALL      R17 = call(R17, 1 args, 1 rets)
    0156  GETUPVAL  R18 = _ENV
    0157  CALL      R11 = call(R11, 1 args, 7 rets)
    0158  GETTABUP  R12 = _ENV[K11('LogTag')]
    0159  GETTABLE  R12 = R12[K12('ConfigCheck')]
    0160  CALL      R10 = call(R10, 0 args, 2 rets)
    0161  SELF      R11 = R6[K28('GetChestDurationInSeconds')] (self)
    0162  CALL      R10 = call(R10, 1 args, 1 rets)
    0163  EQ        if R1 eq K26(nil)   -> -125505
    0164  JMP       (jump)   -> 185
    0165  LE        if R0 le K29(0)   -> -125500
    0166  JMP       (jump)   -> 185
    0167  GETTABUP  R11 = _ENV[K3('Log')]
    0168  GETTABLE  R11 = R11[K4('Error')]
    0169  GETTABUP  R12 = _ENV[K5('string')]
    0170  GETTABLE  R12 = R12[K6('format')]
    0171  LOADK     R13 = K30 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>duration配置错误</color>，duration=%s，不合法，duration必须大于等于0，或者是空代表无限持续时间。'
    0172  GETUPVAL  R14 = _ENV
    0173  SELF      R15 = R14[K8('_GetLogPrefix')] (self)
    0174  GETUPVAL  R16 = _ENV
    0175  CALL      R14 = call(R14, 1 args, 2 rets)
    0176  GETTABUP  R15 = _ENV[K9('ChestNonstopActivityModel')]
    0177  GETTABLE  R15 = R15[K10('ConfigKey')]
    0178  MOVE      R16 = R0
    0179  MOVE      R17 = R0
    0180  MOVE      R18 = R0
    0181  CALL      R12 = call(R12, 1 args, 6 rets)
    0182  GETTABUP  R13 = _ENV[K11('LogTag')]
    0183  GETTABLE  R13 = R13[K12('ConfigCheck')]
    0184  CALL      R11 = call(R11, 0 args, 2 rets)
    0185  SELF      R12 = R6[K31('GetUICode')] (self)
    0186  CALL      R11 = call(R11, 1 args, 1 rets)
    0187  EQ        if R1 eq K26(nil)   -> -124969
    0188  JMP       (jump)   -> 225
    0189  GETUPVAL  R12 = _ENV
    0190  SELF      R13 = R12[K32('GetActivityDefinition')] (self)
    0191  CALL      R12 = call(R12, 1 args, 1 rets)
    0192  GETTABLE  R12 = R12[K33('MapUICode2UIBoxId')]
    0193  GETTABLE  R12 = R12[R11]
    0194  EQ        if R0 eq K26(nil)   -> -124450
    0195  JMP       (jump)   -> 225
    0196  GETTABUP  R12 = _ENV[K3('Log')]
    0197  GETTABLE  R12 = R12[K4('Error')]
    0198  GETTABUP  R13 = _ENV[K5('string')]
    0199  GETTABLE  R13 = R13[K6('format')]
    0200  LOADK     R14 = K34 '%s配置表%s里，id=%d，type=%s，<color=#FFA000>uiCode配置错误</color>，uiCode=%s，不合法，uiCode必须是 { %s } 其中之一，或者是空使用默认值。'
    0201  GETUPVAL  R15 = _ENV
    0202  SELF      R16 = R15[K8('_GetLogPrefix')] (self)
    0203  GETUPVAL  R17 = _ENV
    0204  CALL      R15 = call(R15, 1 args, 2 rets)
    0205  GETTABUP  R16 = _ENV[K9('ChestNonstopActivityModel')]
    0206  GETTABLE  R16 = R16[K10('ConfigKey')]
    0207  MOVE      R17 = R0
    0208  MOVE      R18 = R0
    0209  MOVE      R19 = R0
    0210  GETTABUP  R20 = _ENV[K17('table')]
    0211  GETTABLE  R20 = R20[K18('concat')]
    0212  GETTABUP  R21 = _ENV[K13('Table')]
    0213  GETTABLE  R21 = R21[K35('GetKeys')]
    0214  GETUPVAL  R22 = _ENV
    0215  SELF      R23 = R22[K32('GetActivityDefinition')] (self)
    0216  CALL      R22 = call(R22, 1 args, 1 rets)
    0217  GETTABLE  R22 = R22[K33('MapUICode2UIBoxId')]
    0218  CALL      R21 = call(R21, 1 args, 1 rets)
    0219  LOADK     R22 = K19 ', '
    0220  CALL      R20 = call(R20, -1 args, 2 rets)
    0221  CALL      R13 = call(R13, 1 args, -1 rets)
    0222  GETTABUP  R14 = _ENV[K11('LogTag')]
    0223  GETTABLE  R14 = R14[K12('ConfigCheck')]
    0224  CALL      R12 = call(R12, 0 args, 2 rets)
    0225  TFORCALL  tforcall R2
    0226  TFORLOOP  tforloop R4(sBx=-222)   -> 5
    0227  RETURN    return R0..R-1
; ---------- proto12 [_CheckScoreConfigValid] ----------
  ; fn ?  line 309-347 np=2 va=0 ms=20 code=71 consts=23 upvals=1 protos=2
  ;   K[0]=nil
  ;   K[1]='Table'
  ;   K[2]='ShallowCopy'
  ;   K[3]='table'
  ;   K[4]='sort'
  ;   K[5]='GM'
  ;   K[6]='ItemDataModel'
  ;   K[7]='GetItemScore'
  ;   K[8]='it_1_1_1'
  ;   K[9]='ipairs'
  ;   K[10]='Log'
  ;   K[11]='Error'
  ;   K[12]='string'
  ;   K[13]='format'
  ;   K[14]='%s分数配置出错, score_min=<color=#FFA000>%d</color>，score_max=<color=#FFA000>%d</color>，score_min的值大于score_max的值，请检查！'
  ;   K[15]='_GetLogPrefix'
  ;   K[16]='config'
  ;   K[17]='LogTag'
  ;   K[18]='ConfigCheck'
  ;   K[19]='math'
  ;   K[20]='abs'
  ;   K[21]=0.001
  ;   K[22]='%s分数配置出错, 上一条配置的score_max=<color=#FFA000>%d</color>，本条配置score_min=<color=#FFA000>%d</color>，score的总区间不连续，请检查！'
  ;   upvals: _ENV
  ;   locals: self(0-71), arrSelectConfig(0-71), tmpConfig(7-71), sortByScoreMin(8-71), getMinMaxFunc(14-71), scoreMin(15-71), scoreMax(15-71), lastMax(15-71), minScore(20-71), (for generator)(23-70), (for state)(23-70), (for control)(23-70), _(24-68), selectConfig(24-68)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  GETTABUP  R2 = _ENV[K1('Table')]
  0004  GETTABLE  R2 = R2[K2('ShallowCopy')]
  0005  MOVE      R3 = R0
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  CLOSURE   R3 = closure proto0
  0008  GETTABUP  R4 = _ENV[K3('table')]
  0009  GETTABLE  R4 = R4[K4('sort')]
  0010  MOVE      R5 = R0
  0011  MOVE      R6 = R0
  0012  CALL      R4 = call(R4, 0 args, 2 rets)
  0013  CLOSURE   R4 = closure proto1
  0014  LOADNIL   R5..R5 = nil
  0015  GETTABUP  R8 = _ENV[K5('GM')]
  0016  GETTABLE  R8 = R8[K6('ItemDataModel')]
  0017  SELF      R9 = R8[K7('GetItemScore')] (self)
  0018  LOADK     R10 = K8 'it_1_1_1'
  0019  CALL      R8 = call(R8, 1 args, 2 rets)
  0020  GETTABUP  R9 = _ENV[K9('ipairs')]
  0021  MOVE      R10 = R0
  0022  CALL      R9 = call(R9, 3 args, 1 rets)
  0023  JMP       (jump)   -> 68
  0024  MOVE      R14 = R0
  0025  MOVE      R15 = R0
  0026  CALL      R14 = call(R14, 2 args, 1 rets)
  0027  MOVE      R6 = R0
  0028  MOVE      R5 = R0
  0029  LT        if R0 lt R5   -> -127964
  0030  JMP       (jump)   -> 45
  0031  GETTABUP  R14 = _ENV[K10('Log')]
  0032  GETTABLE  R14 = R14[K11('Error')]
  0033  GETTABUP  R15 = _ENV[K12('string')]
  0034  GETTABLE  R15 = R15[K13('format')]
  0035  LOADK     R16 = K14 '%s分数配置出错, score_min=<color=#FFA000>%d</color>，score_max=<color=#FFA000>%d</color>，score_min的值大于score_max的值，请检查！'
  0036  SELF      R18 = R0[K15('_GetLogPrefix')] (self)
  0037  GETTABUP  R19 = _ENV[K16('config')]
  0038  CALL      R17 = call(R17, 1 args, 2 rets)
  0039  MOVE      R18 = R0
  0040  MOVE      R19 = R0
  0041  CALL      R15 = call(R15, 1 args, 4 rets)
  0042  GETTABUP  R16 = _ENV[K17('LogTag')]
  0043  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0044  CALL      R14 = call(R14, 0 args, 2 rets)
  0045  EQ        if R1 eq K0(nil)   -> -127185
  0046  JMP       (jump)   -> 67
  0047  GETTABUP  R14 = _ENV[K19('math')]
  0048  GETTABLE  R14 = R14[K20('abs')]
  0049  SUB       R15 = R5 sub R7
  0050  CALL      R14 = call(R14, 1 args, 1 rets)
  0051  LT        if R0 lt R14   -> 10819
  0052  JMP       (jump)   -> 67
  0053  GETTABUP  R14 = _ENV[K10('Log')]
  0054  GETTABLE  R14 = R14[K11('Error')]
  0055  GETTABUP  R15 = _ENV[K12('string')]
  0056  GETTABLE  R15 = R15[K13('format')]
  0057  LOADK     R16 = K22 '%s分数配置出错, 上一条配置的score_max=<color=#FFA000>%d</color>，本条配置score_min=<color=#FFA000>%d</color>，score的总区间不连续，请检查！'
  0058  SELF      R18 = R0[K15('_GetLogPrefix')] (self)
  0059  GETTABUP  R19 = _ENV[K16('config')]
  0060  CALL      R17 = call(R17, 1 args, 2 rets)
  0061  MOVE      R18 = R0
  0062  MOVE      R19 = R0
  0063  CALL      R15 = call(R15, 1 args, 4 rets)
  0064  GETTABUP  R16 = _ENV[K17('LogTag')]
  0065  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0066  CALL      R14 = call(R14, 0 args, 2 rets)
  0067  MOVE      R7 = R0
  0068  TFORCALL  tforcall R9
  0069  TFORLOOP  tforloop R11(sBx=-46)   -> 24
  0070  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 319-324 np=2 va=0 ms=5 code=18 consts=3 upvals=1 protos=0
    ;   K[0]='GetScoreMin'
    ;   K[1]='math'
    ;   K[2]='mininteger'
    ;   upvals: _ENV
    ;   locals: a(0-18), b(0-18), minA(6-18), minB(12-18)
    0000  SELF      R3 = R0[K0('GetScoreMin')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  TEST      if not R2 then   -> -131067
    0003  JMP       (jump)   -> 6
    0004  GETTABUP  R2 = _ENV[K1('math')]
    0005  GETTABLE  R2 = R2[K2('mininteger')]
    0006  SELF      R4 = R1[K0('GetScoreMin')] (self)
    0007  CALL      R3 = call(R3, 1 args, 1 rets)
    0008  TEST      if not R3 then   -> -131061
    0009  JMP       (jump)   -> 12
    0010  GETTABUP  R3 = _ENV[K1('math')]
    0011  GETTABLE  R3 = R3[K2('mininteger')]
    0012  LT        if R1 lt R3   -> -130031
    0013  JMP       (jump)   -> 15
    0014  LOADBOOL  R4 = false
    0015  LOADBOOL  R4 = true
    0016  RETURN    return R4..R3
    0017  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 329-331 np=1 va=0 ms=4 code=14 consts=5 upvals=1 protos=0
    ;   K[0]='GetScoreMin'
    ;   K[1]='math'
    ;   K[2]='mininteger'
    ;   K[3]='GetScoreMax'
    ;   K[4]='maxinteger'
    ;   upvals: _ENV
    ;   locals: config(0-14)
    0000  SELF      R2 = R0[K0('GetScoreMin')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131067
    0003  JMP       (jump)   -> 6
    0004  GETTABUP  R1 = _ENV[K1('math')]
    0005  GETTABLE  R1 = R1[K2('mininteger')]
    0006  SELF      R3 = R0[K3('GetScoreMax')] (self)
    0007  CALL      R2 = call(R2, 1 args, 1 rets)
    0008  TEST      if not R2 then   -> -131061
    0009  JMP       (jump)   -> 12
    0010  GETTABUP  R2 = _ENV[K1('math')]
    0011  GETTABLE  R2 = R2[K4('maxinteger')]
    0012  RETURN    return R1..R0
    0013  RETURN    return R0..R-1
; ---------- proto13 [GetDuration] ----------
  ; fn ?  line 356-358 np=1 va=0 ms=5 code=12 consts=5 upvals=3 protos=0
  ;   K[0]='GetGeneralConfig'
  ;   K[1]='DurationInMinutes'
  ;   K[2]='EConfigParamType'
  ;   K[3]='Int'
  ;   K[4]=0
  ;   upvals: GeneralActivityConfKey, _ENV, Minute
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('GetGeneralConfig')] (self)
  0001  GETTABUP  R3 = GeneralActivityConfKey[K1('DurationInMinutes')]
  0002  GETTABUP  R4 = _ENV[K2('EConfigParamType')]
  0003  GETTABLE  R4 = R4[K3('Int')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  GETUPVAL  R2 = GeneralActivityConfKey
  0009  MUL       R1 = R2 mul R1
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto14 [GetCooldown] ----------
  ; fn ?  line 360-362 np=1 va=0 ms=5 code=12 consts=5 upvals=3 protos=0
  ;   K[0]='GetGeneralConfig'
  ;   K[1]='CooldownInMinutes'
  ;   K[2]='EConfigParamType'
  ;   K[3]='Int'
  ;   K[4]=0
  ;   upvals: GeneralActivityConfKey, _ENV, Minute
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('GetGeneralConfig')] (self)
  0001  GETTABUP  R3 = GeneralActivityConfKey[K1('CooldownInMinutes')]
  0002  GETTABUP  R4 = _ENV[K2('EConfigParamType')]
  0003  GETTABLE  R4 = R4[K3('Int')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  GETUPVAL  R2 = GeneralActivityConfKey
  0009  MUL       R1 = R2 mul R1
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto15 [_GetCurrentArrConfig] ----------
  ; fn ?  line 365-371 np=1 va=0 ms=3 code=12 consts=4 upvals=0 protos=0
  ;   K[0]='IsCycleRound'
  ;   K[1]='m_config'
  ;   K[2]='arrCycleConfig'
  ;   K[3]='arrFirstConfig'
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('IsCycleRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  GETTABLE  R1 = R0[K1('m_config')]
  0005  GETTABLE  R1 = R1[K2('arrCycleConfig')]
  0006  RETURN    return R1..R0
  0007  JMP       (jump)   -> 11
  0008  GETTABLE  R1 = R0[K1('m_config')]
  0009  GETTABLE  R1 = R1[K3('arrFirstConfig')]
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto16 [GetCurrentConfig] ----------
  ; fn ?  line 374-376 np=2 va=0 ms=4 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetCurrentArrConfig'
  ;   locals: self(0-5), id(0-5)
  0000  SELF      R3 = R0[K0('_GetCurrentArrConfig')] (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
; ---------- proto17 [GetTargetScores] ----------
  ; fn ?  line 378-385 np=1 va=0 ms=12 code=17 consts=5 upvals=1 protos=0
  ;   K[0]='_GetCurrentArrConfig'
  ;   K[1]='ipairs'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='GetTargetScore'
  ;   upvals: _ENV
  ;   locals: self(0-17), configList(2-17), targetScores(3-17), (for generator)(6-15), (for state)(6-15), (for control)(6-15), i(7-13), config(7-13)
  0000  SELF      R2 = R0[K0('_GetCurrentArrConfig')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  NEWTABLE  R2 = {} (0 items)
  0003  GETTABUP  R3 = _ENV[K1('ipairs')]
  0004  MOVE      R4 = R0
  0005  CALL      R3 = call(R3, 3 args, 1 rets)
  0006  JMP       (jump)   -> 13
  0007  GETTABUP  R8 = _ENV[K2('table')]
  0008  GETTABLE  R8 = R8[K3('insert')]
  0009  MOVE      R9 = R0
  0010  SELF      R11 = R7[K4('GetTargetScore')] (self)
  0011  CALL      R10 = call(R10, -1 args, 1 rets)
  0012  CALL      R8 = call(R8, 0 args, -1 rets)
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-8)   -> 7
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto18 [GetUIBoxId] ----------
  ; fn ?  line 389-391 np=2 va=0 ms=6 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='GetCurrentConfig'
  ;   K[1]='GetUIBoxId'
  ;   K[2]='GetActivityDefinition'
  ;   locals: self(0-9), id(0-9)
  0000  SELF      R3 = R0[K0('GetCurrentConfig')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  SELF      R3 = R2[K1('GetUIBoxId')] (self)
  0004  SELF      R5 = R0[K2('GetActivityDefinition')] (self)
  0005  CALL      R4 = call(R4, -1 args, 1 rets)
  0006  TAILCALL  tailcall(R2, 0)
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto19 [GetMapUIBoxId] ----------
  ; fn ?  line 393-400 np=1 va=0 ms=9 code=14 consts=4 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='TotalStage'
  ;   K[3]='GetUIBoxId'
  ;   locals: self(0-14), mapUIBoxId(1-14), (for index)(6-12), (for limit)(6-12), (for step)(6-12), stage(7-11)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  LOADK     R2 = K0 1
  0002  SELF      R4 = R0[K1('GetActivityDefinition')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R3 = R3[K2('TotalStage')]
  0005  LOADK     R4 = K0 1
  0006  FORPREP   forprep R2(sBx=4)   -> 11
  0007  SELF      R7 = R0[K3('GetUIBoxId')] (self)
  0008  MOVE      R8 = R0
  0009  CALL      R6 = call(R6, 1 args, 2 rets)
  0010  SETTABLE  R1[R5] = R6
  0011  FORLOOP   forloop R2(sBx=-5)   -> 7
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
; ---------- proto20 [GetChestCustomerValidEndTime] ----------
  ; fn ?  line 402-408 np=1 va=0 ms=3 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='rTime'
  ;   K[2]='_IsExistConditionSatisfied'
  ;   locals: self(0-11), _(9-11), endTime(9-11)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  GETTABLE  R1 = R1[K1('rTime')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R1 = R0[K0('m_config')]
  0005  GETTABLE  R1 = R1[K1('rTime')]
  0006  RETURN    return R1..R0
  0007  SELF      R2 = R0[K2('_IsExistConditionSatisfied')] (self)
  0008  CALL      R1 = call(R1, 2 args, 1 rets)
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto21 [_DBTableGetValue] ----------
  ; fn ?  line 419-421 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
; ---------- proto22 [_DBTableGetNumber] ----------
  ; fn ?  line 425-428 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
; ---------- proto23 [_DBTableGetTable] ----------
  ; fn ?  line 432-434 np=2 va=0 ms=7 code=17 consts=6 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ShallowCopy'
  ;   K[2]='json'
  ;   K[3]='decode'
  ;   K[4]='_DBTableGetValue'
  ;   K[5]=''
  ;   upvals: _ENV
  ;   locals: self(0-17), key(0-17)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('ShallowCopy')]
  0002  GETTABUP  R3 = _ENV[K2('json')]
  0003  GETTABLE  R3 = R3[K3('decode')]
  0004  SELF      R5 = R0[K4('_DBTableGetValue')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, 1 args, 2 rets)
  0007  TEST      if not R4 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R4 = K5 ''
  0010  CALL      R3 = call(R3, -1 args, 1 rets)
  0011  CALL      R2 = call(R2, 1 args, -1 rets)
  0012  TEST      if not R2 then   -> -131057
  0013  JMP       (jump)   -> 15
  0014  NEWTABLE  R2 = {} (0 items)
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto24 [_DBTableSet] ----------
  ; fn ?  line 438-440 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
; ---------- proto25 [_DBTableSetTable] ----------
  ; fn ?  line 444-451 np=3 va=0 ms=8 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='_DBTableRemove'
  ;   K[3]='_DBTableSet'
  ;   K[4]='json'
  ;   K[5]='encode'
  ;   upvals: _ENV
  ;   locals: self(0-18), key(0-18), value(0-18)
  0000  GETTABUP  R3 = _ENV[K0('Table')]
  0001  GETTABLE  R3 = R3[K1('IsEmpty')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  TEST      if not R3 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R4 = R0[K2('_DBTableRemove')] (self)
  0007  MOVE      R5 = R0
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  JMP       (jump)   -> 17
  0010  SELF      R4 = R0[K3('_DBTableSet')] (self)
  0011  MOVE      R5 = R0
  0012  GETTABUP  R6 = _ENV[K4('json')]
  0013  GETTABLE  R6 = R6[K5('encode')]
  0014  MOVE      R7 = R0
  0015  CALL      R6 = call(R6, -1 args, 1 rets)
  0016  CALL      R3 = call(R3, 0 args, -1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto26 [_DBTableRemove] ----------
  ; fn ?  line 454-456 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
; ---------- proto27 [IsTriggerState] ----------
  ; fn ?  line 458-460 np=1 va=0 ms=4 code=10 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerState'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerState')]
  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
; ---------- proto28 [SetTriggerState] ----------
  ; fn ?  line 463-469 np=2 va=0 ms=6 code=11 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerState'
  ;   K[2]='_DBTableRemove'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-11), bTriggeredState(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('TriggerState')]
  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('TriggerState')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto29 [GetTriggerEndTime] ----------
  ; fn ?  line 471-473 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerEndTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto30 [SetTriggerEndTime] ----------
  ; fn ?  line 476-478 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerEndTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerEndTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto31 [IsCycleRound] ----------
  ; fn ?  line 480-482 np=1 va=0 ms=4 code=10 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='CycleRound'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('CycleRound')]
  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
; ---------- proto32 [SetCycleRound] ----------
  ; fn ?  line 485-491 np=2 va=0 ms=6 code=11 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='CycleRound'
  ;   K[2]='_DBTableRemove'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-11), bCycleRound(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('CycleRound')]
  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('CycleRound')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto33 [GetTriggerCooldownEndTime] ----------
  ; fn ?  line 493-495 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerCooldownEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerCooldownEndTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto34 [SetTriggerCooldownEndTime] ----------
  ; fn ?  line 498-500 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerCooldownEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerCooldownEndTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerCooldownEndTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto35 [GetScore] ----------
  ; fn ?  line 502-504 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='Score'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('Score')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto36 [SetScore] ----------
  ; fn ?  line 507-509 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='Score'
  ;   upvals: DBKey
  ;   locals: self(0-5), score(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('Score')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto37 [GetLastScoreInView] ----------
  ; fn ?  line 511-513 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='LastScoreInView'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('LastScoreInView')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto38 [SetLastScoreInView] ----------
  ; fn ?  line 516-518 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='LastScoreInView'
  ;   upvals: DBKey
  ;   locals: self(0-5), score(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('LastScoreInView')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto39 [GetClaimedBoxCount] ----------
  ; fn ?  line 520-522 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='ClaimedBoxCount'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ClaimedBoxCount')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto40 [SetClaimedBoxCount] ----------
  ; fn ?  line 525-527 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='ClaimedBoxCount'
  ;   upvals: DBKey
  ;   locals: self(0-5), count(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('ClaimedBoxCount')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto41 [_LoadChestCustomerData] ----------
  ; fn ?  line 529-531 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapChestCustomerData'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='ChestCustomerData'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('ChestCustomerData')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapChestCustomerData')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto42 [_SaveChestCustomerData] ----------
  ; fn ?  line 533-535 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='ChestCustomerData'
  ;   K[2]='m_mapChestCustomerData'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ChestCustomerData')]
  0002  GETTABLE  R4 = R0[K2('m_mapChestCustomerData')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto43 [GetChestCustomerData] ----------
  ; fn ?  line 538-540 np=2 va=0 ms=4 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='ChestNonstopActivityConfig'
  ;   K[1]='Create'
  ;   K[2]='m_mapChestCustomerData'
  ;   upvals: _ENV
  ;   locals: self(0-7), orderId(0-7)
  0000  GETTABUP  R2 = _ENV[K0('ChestNonstopActivityConfig')]
  0001  GETTABLE  R2 = R2[K1('Create')]
  0002  GETTABLE  R3 = R0[K2('m_mapChestCustomerData')]
  0003  GETTABLE  R3 = R3[R1]
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto44 [SetChestCustomerData] ----------
  ; fn ?  line 544-547 np=3 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapChestCustomerData'
  ;   K[1]='_SaveChestCustomerData'
  ;   locals: self(0-5), orderId(0-5), config(0-5)
  0000  GETTABLE  R3 = R0[K0('m_mapChestCustomerData')]
  0001  SETTABLE  R3[R1] = R2
  0002  SELF      R4 = R0[K1('_SaveChestCustomerData')] (self)
  0003  CALL      R3 = call(R3, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto45 [ClearChestCustomerData] ----------
  ; fn ?  line 549-552 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapChestCustomerData'
  ;   K[1]='_SaveChestCustomerData'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapChestCustomerData')] = R1
  0002  SELF      R2 = R0[K1('_SaveChestCustomerData')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto46 [_LoadOrderRoundData] ----------
  ; fn ?  line 554-556 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapOrderRoundData'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='OrderRoundData'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('OrderRoundData')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapOrderRoundData')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto47 [_SaveOrderRoundData] ----------
  ; fn ?  line 558-560 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='OrderRoundData'
  ;   K[2]='m_mapOrderRoundData'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('OrderRoundData')]
  0002  GETTABLE  R4 = R0[K2('m_mapOrderRoundData')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto48 [GetOrderRoundData] ----------
  ; fn ?  line 563-565 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapOrderRoundData'
  ;   locals: self(0-4), orderId(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapOrderRoundData')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto49 [SetOrderRoundData] ----------
  ; fn ?  line 569-572 np=3 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapOrderRoundData'
  ;   K[1]='_SaveOrderRoundData'
  ;   locals: self(0-5), orderId(0-5), roundBoxInfo(0-5)
  0000  GETTABLE  R3 = R0[K0('m_mapOrderRoundData')]
  0001  SETTABLE  R3[R1] = R2
  0002  SELF      R4 = R0[K1('_SaveOrderRoundData')] (self)
  0003  CALL      R3 = call(R3, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto50 [ClearOrderRoundData] ----------
  ; fn ?  line 574-577 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapOrderRoundData'
  ;   K[1]='_SaveOrderRoundData'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapOrderRoundData')] = R1
  0002  SELF      R2 = R0[K1('_SaveOrderRoundData')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto51 [GetRoundCount] ----------
  ; fn ?  line 579-581 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='RoundCount'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('RoundCount')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto52 [SetRoundCount] ----------
  ; fn ?  line 583-585 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='RoundCount'
  ;   upvals: DBKey
  ;   locals: self(0-5), roundCount(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('RoundCount')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto53 [_LoadTriggerFirstSelectConfig] ----------
  ; fn ?  line 587-592 np=1 va=0 ms=10 code=19 consts=8 upvals=2 protos=0
  ;   K[0]='m_arrFirstSelectConfig'
  ;   K[1]='ipairs'
  ;   K[2]='_DBTableGetTable'
  ;   K[3]='TriggerFirstSelectConfig'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='ChestNonstopActivitySelectConfig'
  ;   K[7]='Create'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-19), (for generator)(7-18), (for state)(7-18), (for control)(7-18), _(8-16), rawConfig(8-16)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrFirstSelectConfig')] = R1
  0002  GETTABUP  R1 = _ENV[K1('ipairs')]
  0003  SELF      R3 = R0[K2('_DBTableGetTable')] (self)
  0004  GETTABUP  R4 = DBKey[K3('TriggerFirstSelectConfig')]
  0005  CALL      R2 = call(R2, -1 args, 2 rets)
  0006  CALL      R1 = call(R1, 3 args, -1 rets)
  0007  JMP       (jump)   -> 16
  0008  GETTABUP  R6 = _ENV[K4('table')]
  0009  GETTABLE  R6 = R6[K5('insert')]
  0010  GETTABLE  R7 = R0[K0('m_arrFirstSelectConfig')]
  0011  GETTABUP  R8 = _ENV[K6('ChestNonstopActivitySelectConfig')]
  0012  GETTABLE  R8 = R8[K7('Create')]
  0013  MOVE      R9 = R0
  0014  CALL      R8 = call(R8, -1 args, 1 rets)
  0015  CALL      R6 = call(R6, 0 args, -1 rets)
  0016  TFORCALL  tforcall R1
  0017  TFORLOOP  tforloop R3(sBx=-10)   -> 8
  0018  RETURN    return R0..R-1
; ---------- proto54 [_SaveTriggerFirstSelectConfig] ----------
  ; fn ?  line 594-600 np=1 va=0 ms=10 code=17 consts=7 upvals=2 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrFirstSelectConfig'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='rawConfig'
  ;   K[5]='_DBTableSetTable'
  ;   K[6]='TriggerFirstSelectConfig'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-17), arrRawConfig(1-17), (for generator)(4-12), (for state)(4-12), (for control)(4-12), _(5-10), selectConfig(5-10)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_arrFirstSelectConfig')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 10
  0005  GETTABUP  R7 = _ENV[K2('table')]
  0006  GETTABLE  R7 = R7[K3('insert')]
  0007  MOVE      R8 = R0
  0008  GETTABLE  R9 = R6[K4('rawConfig')]
  0009  CALL      R7 = call(R7, 0 args, 2 rets)
  0010  TFORCALL  tforcall R2
  0011  TFORLOOP  tforloop R4(sBx=-7)   -> 5
  0012  SELF      R3 = R0[K5('_DBTableSetTable')] (self)
  0013  GETTABUP  R4 = DBKey[K6('TriggerFirstSelectConfig')]
  0014  MOVE      R5 = R0
  0015  CALL      R2 = call(R2, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto55 [GetTriggerFirstSelectConfig] ----------
  ; fn ?  line 602-604 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrFirstSelectConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrFirstSelectConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto56 [SetSavedTriggerFirstSelectConfig] ----------
  ; fn ?  line 607-610 np=2 va=0 ms=4 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrFirstSelectConfig'
  ;   K[1]='_SaveTriggerFirstSelectConfig'
  ;   locals: self(0-7), arrTriggerSelectConfig(0-7)
  0000  TESTSET   if R1 then R2   -> -130557
  0001  JMP       (jump)   -> 3
  0002  NEWTABLE  R2 = {} (0 items)
  0003  SETTABLE  R0[K0('m_arrFirstSelectConfig')] = R2
  0004  SELF      R3 = R0[K1('_SaveTriggerFirstSelectConfig')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto57 [_LoadTriggerCycleSelectConfig] ----------
  ; fn ?  line 612-617 np=1 va=0 ms=10 code=19 consts=8 upvals=2 protos=0
  ;   K[0]='m_arrCycleSelectConfig'
  ;   K[1]='ipairs'
  ;   K[2]='_DBTableGetTable'
  ;   K[3]='TriggerCycleSelectConfig'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='ChestNonstopActivitySelectConfig'
  ;   K[7]='Create'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-19), (for generator)(7-18), (for state)(7-18), (for control)(7-18), _(8-16), rawConfig(8-16)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrCycleSelectConfig')] = R1
  0002  GETTABUP  R1 = _ENV[K1('ipairs')]
  0003  SELF      R3 = R0[K2('_DBTableGetTable')] (self)
  0004  GETTABUP  R4 = DBKey[K3('TriggerCycleSelectConfig')]
  0005  CALL      R2 = call(R2, -1 args, 2 rets)
  0006  CALL      R1 = call(R1, 3 args, -1 rets)
  0007  JMP       (jump)   -> 16
  0008  GETTABUP  R6 = _ENV[K4('table')]
  0009  GETTABLE  R6 = R6[K5('insert')]
  0010  GETTABLE  R7 = R0[K0('m_arrCycleSelectConfig')]
  0011  GETTABUP  R8 = _ENV[K6('ChestNonstopActivitySelectConfig')]
  0012  GETTABLE  R8 = R8[K7('Create')]
  0013  MOVE      R9 = R0
  0014  CALL      R8 = call(R8, -1 args, 1 rets)
  0015  CALL      R6 = call(R6, 0 args, -1 rets)
  0016  TFORCALL  tforcall R1
  0017  TFORLOOP  tforloop R3(sBx=-10)   -> 8
  0018  RETURN    return R0..R-1
; ---------- proto58 [_SaveTriggerCycleSelectConfig] ----------
  ; fn ?  line 619-625 np=1 va=0 ms=10 code=17 consts=7 upvals=2 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrCycleSelectConfig'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='rawConfig'
  ;   K[5]='_DBTableSetTable'
  ;   K[6]='TriggerCycleSelectConfig'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-17), arrRawConfig(1-17), (for generator)(4-12), (for state)(4-12), (for control)(4-12), _(5-10), selectConfig(5-10)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_arrCycleSelectConfig')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 10
  0005  GETTABUP  R7 = _ENV[K2('table')]
  0006  GETTABLE  R7 = R7[K3('insert')]
  0007  MOVE      R8 = R0
  0008  GETTABLE  R9 = R6[K4('rawConfig')]
  0009  CALL      R7 = call(R7, 0 args, 2 rets)
  0010  TFORCALL  tforcall R2
  0011  TFORLOOP  tforloop R4(sBx=-7)   -> 5
  0012  SELF      R3 = R0[K5('_DBTableSetTable')] (self)
  0013  GETTABUP  R4 = DBKey[K6('TriggerCycleSelectConfig')]
  0014  MOVE      R5 = R0
  0015  CALL      R2 = call(R2, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto59 [GetTriggerCycleSelectConfig] ----------
  ; fn ?  line 627-629 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrCycleSelectConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrCycleSelectConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto60 [SetSavedTriggerCycleSelectConfig] ----------
  ; fn ?  line 632-635 np=2 va=0 ms=4 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrCycleSelectConfig'
  ;   K[1]='_SaveTriggerCycleSelectConfig'
  ;   locals: self(0-7), arrTriggerSelectConfig(0-7)
  0000  TESTSET   if R1 then R2   -> -130557
  0001  JMP       (jump)   -> 3
  0002  NEWTABLE  R2 = {} (0 items)
  0003  SETTABLE  R0[K0('m_arrCycleSelectConfig')] = R2
  0004  SELF      R3 = R0[K1('_SaveTriggerCycleSelectConfig')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto61 [_LoadChestCustomerEndTime] ----------
  ; fn ?  line 637-639 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapChestCustomerEndTime'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='ChestCustomerEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('ChestCustomerEndTime')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapChestCustomerEndTime')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto62 [_SaveChestCustomerEndTime] ----------
  ; fn ?  line 641-643 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='ChestCustomerEndTime'
  ;   K[2]='m_mapChestCustomerEndTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('ChestCustomerEndTime')]
  0002  GETTABLE  R4 = R0[K2('m_mapChestCustomerEndTime')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto63 [GetChestCustomerEndTime] ----------
  ; fn ?  line 646-648 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapChestCustomerEndTime'
  ;   locals: self(0-4), orderId(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapChestCustomerEndTime')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto64 [HasChestCustomerEndTime] ----------
  ; fn ?  line 651-653 np=2 va=0 ms=5 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='GetChestCustomerEndTime'
  ;   K[1]=nil
  ;   locals: self(0-9), orderId(0-9)
  0000  SELF      R3 = R0[K0('GetChestCustomerEndTime')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  EQ        if R0 eq K1(nil)   -> -129786
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R2 = false
  0006  LOADBOOL  R2 = true
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto65 [SetChestCustomerEndTime] ----------
  ; fn ?  line 657-660 np=3 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapChestCustomerEndTime'
  ;   K[1]='_SaveChestCustomerEndTime'
  ;   locals: self(0-5), orderId(0-5), endTime(0-5)
  0000  GETTABLE  R3 = R0[K0('m_mapChestCustomerEndTime')]
  0001  SETTABLE  R3[R1] = R2
  0002  SELF      R4 = R0[K1('_SaveChestCustomerEndTime')] (self)
  0003  CALL      R3 = call(R3, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto66 [SetWaitingNewRound] ----------
  ; fn ?  line 667-669 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
; ---------- proto67 [IsWaitingNewRound] ----------
  ; fn ?  line 671-673 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
; ---------- proto68 [SetHideTopRightEntry] ----------
  ; fn ?  line 676-678 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
; ---------- proto69 [IsHideTopRightEntry] ----------
  ; fn ?  line 680-682 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
; ---------- proto70 [SetAwardAnimationPlayed] ----------
  ; fn ?  line 684-687 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bAwardAnimationPlaying'
  ;   K[1]=nil
  ;   K[2]='_DispatchRefreshEntryEvent'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bAwardAnimationPlaying')] = K1(nil)
  0001  SELF      R2 = R0[K2('_DispatchRefreshEntryEvent')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto71 [IsAwardAnimationPlaying] ----------
  ; fn ?  line 689-691 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
; ---------- proto72 [SetSelectOrderAnimationPlayed] ----------
  ; fn ?  line 694-697 np=2 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapSelectOrderAnimationPlaying'
  ;   K[1]=nil
  ;   K[2]='_DispatchRefreshEntryEvent'
  ;   locals: self(0-5), orderId(0-5)
  0000  GETTABLE  R2 = R0[K0('m_mapSelectOrderAnimationPlaying')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  SELF      R3 = R0[K2('_DispatchRefreshEntryEvent')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto73 [IsSelectOrderAnimationPlaying] ----------
  ; fn ?  line 700-702 np=2 va=0 ms=3 code=10 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapSelectOrderAnimationPlaying'
  ;   K[1]=nil
  ;   locals: self(0-10), orderId(0-10)
  0000  GETTABLE  R2 = R0[K0('m_mapSelectOrderAnimationPlaying')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R2 = R0[K0('m_mapSelectOrderAnimationPlaying')]
  0004  GETTABLE  R2 = R2[R1]
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R2 = false
  0007  LOADBOOL  R2 = true
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto74 [GetLeftDuration] ----------
  ; fn ?  line 704-707 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]='GetTriggerEndTime'
  ;   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('GetTriggerEndTime')] (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
; ---------- proto75 [IsInDuration] ----------
  ; fn ?  line 709-711 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
; ---------- proto76 [IsInCooldown] ----------
  ; fn ?  line 713-716 np=1 va=0 ms=4 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameModel'
  ;   K[2]='GetServerTime'
  ;   K[3]='GetTriggerCooldownEndTime'
  ;   K[4]=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  SELF      R3 = R0[K3('GetTriggerCooldownEndTime')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  SUB       R2 = R1 sub R2
  0007  LT        if R1 lt R2   -> 2059
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R2 = false
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto77 [IsChestCustomerOrder] ----------
  ; fn ?  line 719-724 np=2 va=0 ms=4 code=14 consts=3 upvals=0 protos=0
  ;   K[0]='IsChestCustomerValid'
  ;   K[1]='m_mapChestCustomerData'
  ;   K[2]=nil
  ;   locals: self(0-14), orderId(0-14)
  0000  SELF      R3 = R0[K0('IsChestCustomerValid')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  GETTABLE  R2 = R0[K1('m_mapChestCustomerData')]
  0007  GETTABLE  R2 = R2[R1]
  0008  EQ        if R0 eq K2(nil)   -> -129780
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R2 = false
  0011  LOADBOOL  R2 = true
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto78 [HasBoxCanClaim] ----------
  ; fn ?  line 726-729 np=1 va=0 ms=5 code=19 consts=8 upvals=1 protos=0
  ;   K[0]='math'
  ;   K[1]='min'
  ;   K[2]='GetClaimedBoxCount'
  ;   K[3]=1
  ;   K[4]='GetMaxBoxCount'
  ;   K[5]='GetBoxState'
  ;   K[6]='EChestNonstopBoxState'
  ;   K[7]='CanClaim'
  ;   upvals: _ENV
  ;   locals: self(0-19), nextBoxId(8-19)
  0000  GETTABUP  R1 = _ENV[K0('math')]
  0001  GETTABLE  R1 = R1[K1('min')]
  0002  SELF      R3 = R0[K2('GetClaimedBoxCount')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  ADD       R2 = K3(1) add R2
  0005  SELF      R4 = R0[K4('GetMaxBoxCount')] (self)
  0006  CALL      R3 = call(R3, -1 args, 1 rets)
  0007  CALL      R1 = call(R1, 1 args, -1 rets)
  0008  SELF      R3 = R0[K5('GetBoxState')] (self)
  0009  MOVE      R4 = R0
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  GETTABUP  R3 = _ENV[K6('EChestNonstopBoxState')]
  0012  GETTABLE  R3 = R3[K7('CanClaim')]
  0013  EQ        if R1 eq R3   -> -130030
  0014  JMP       (jump)   -> 16
  0015  LOADBOOL  R2 = false
  0016  LOADBOOL  R2 = true
  0017  RETURN    return R2..R1
  0018  RETURN    return R0..R-1
; ---------- proto79 [GetMaxBoxCount] ----------
  ; fn ?  line 731-733 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetCurrentArrConfig'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_GetCurrentArrConfig')] (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
; ---------- proto80 [GetMaxScore] ----------
  ; fn ?  line 735-739 np=1 va=0 ms=4 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='GetMaxBoxCount'
  ;   K[1]='GetTargetScores'
  ;   locals: self(0-7), maxBoxCount(2-7), targetScores(4-7)
  0000  SELF      R2 = R0[K0('GetMaxBoxCount')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetTargetScores')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R3 = R2[R1]
  0005  RETURN    return R3..R2
  0006  RETURN    return R0..R-1
; ---------- proto81 [GetOrderRoundInfo] ----------
  ; fn ?  line 742-744 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='GetRoundCount'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('GetRoundCount')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto82 [_GetCurrentTriggerSelectConfig] ----------
  ; fn ?  line 747-753 np=1 va=0 ms=3 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='IsCycleRound'
  ;   K[1]='GetTriggerCycleSelectConfig'
  ;   K[2]='GetTriggerFirstSelectConfig'
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('IsCycleRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R2 = R0[K1('GetTriggerCycleSelectConfig')] (self)
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  JMP       (jump)   -> 11
  0008  SELF      R2 = R0[K2('GetTriggerFirstSelectConfig')] (self)
  0009  TAILCALL  tailcall(R1, 0)
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto83 [GetChestCustomerLeftDuration] ----------
  ; fn ?  line 756-759 np=2 va=0 ms=7 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='GameModel'
  ;   K[2]='GetServerTime'
  ;   K[3]='math'
  ;   K[4]='max'
  ;   K[5]='GetChestCustomerEndTime'
  ;   K[6]=0
  ;   upvals: _ENV
  ;   locals: self(0-14), orderId(0-14), serverTime(4-14)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('GameModel')]
  0002  SELF      R3 = R2[K2('GetServerTime')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABUP  R3 = _ENV[K3('math')]
  0005  GETTABLE  R3 = R3[K4('max')]
  0006  SELF      R5 = R0[K5('GetChestCustomerEndTime')] (self)
  0007  MOVE      R6 = R0
  0008  CALL      R4 = call(R4, 1 args, 2 rets)
  0009  SUB       R4 = R2 sub R4
  0010  LOADK     R5 = K6 0
  0011  TAILCALL  tailcall(R3, 0)
  0012  RETURN    return R3..R2
  0013  RETURN    return R0..R-1
; ---------- proto84 [IsChestCustomerInDuration] ----------
  ; fn ?  line 762-767 np=2 va=0 ms=5 code=17 consts=4 upvals=0 protos=0
  ;   K[0]='HasChestCustomerEndTime'
  ;   K[1]='GetChestCustomerLeftDuration'
  ;   K[2]=0
  ;   K[3]='IsChestCustomerValid'
  ;   locals: self(0-17), orderId(0-17)
  0000  SELF      R3 = R0[K0('HasChestCustomerEndTime')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 13
  0005  SELF      R3 = R0[K1('GetChestCustomerLeftDuration')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  LT        if R1 lt R2   -> 1036
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R2 = false
  0011  LOADBOOL  R2 = true
  0012  RETURN    return R2..R1
  0013  SELF      R3 = R0[K3('IsChestCustomerValid')] (self)
  0014  TAILCALL  tailcall(R2, 0)
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto85 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 773-775 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
; ---------- proto86 [_DispatchRefreshEntryEvent] ----------
  ; fn ?  line 777-779 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
; ---------- proto87 [_DispatchTriggerStateChangedEvent] ----------
  ; fn ?  line 781-783 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
; ---------- proto88 [_DispatchSimpleStartEvent] ----------
  ; fn ?  line 785-787 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]='SimpleStartEvent'
  ;   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('SimpleStartEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto89 [_DispatchProgressStateChangedEvent] ----------
  ; fn ?  line 789-793 np=2 va=0 ms=5 code=9 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='ProgressStateChangedEvent'
  ;   K[4]='tipTextKey'
  ;   upvals: _ENV
  ;   locals: self(0-9), tipTextKey(0-9)
  0000  GETTABUP  R2 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R2 = R2[K1('DispatchEvent')]
  0002  SELF      R4 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R3 = R3[K3('ProgressStateChangedEvent')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  SETTABLE  R4[K4('tipTextKey')] = R1
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto90 [_DispatchOrderAnimationLoadedEvent] ----------
  ; fn ?  line 796-800 np=2 va=0 ms=5 code=9 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='OrderAnimationLoadedEvent'
  ;   K[4]='orderCell'
  ;   upvals: _ENV
  ;   locals: self(0-9), orderCell(0-9)
  0000  GETTABUP  R2 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R2 = R2[K1('DispatchEvent')]
  0002  SELF      R4 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R3 = R3[K3('OrderAnimationLoadedEvent')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  SETTABLE  R4[K4('orderCell')] = R1
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto91 [_DispatchMainWindowClosedEvent] ----------
  ; fn ?  line 802-804 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]='MainWindowClosedEvent'
  ;   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('MainWindowClosedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto92 [_DispatchHelpWindowClosedEvent] ----------
  ; fn ?  line 806-808 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]='HelpWindowClosedEvent'
  ;   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('HelpWindowClosedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto93 [IsTriggered] ----------
  ; fn ?  line 814-816 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='IsTriggerState'
  ;   K[1]='IsInDuration'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('IsTriggerState')] (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('IsInDuration')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto94 [CanTrigger] ----------
  ; fn ?  line 818-843 np=1 va=0 ms=4 code=40 consts=9 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggerState'
  ;   K[2]='IsInDuration'
  ;   K[3]='IsInCooldown'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='GetDuration'
  ;   K[8]='GetEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-40)
  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('IsTriggerState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  SELF      R2 = R0[K2('IsInDuration')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R1 = true
  0017  RETURN    return R1..R0
  0018  SELF      R2 = R0[K3('IsInCooldown')] (self)
  0019  CALL      R1 = call(R1, 1 args, 1 rets)
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 24
  0022  LOADBOOL  R1 = false
  0023  RETURN    return R1..R0
  0024  GETTABUP  R1 = _ENV[K4('GM')]
  0025  GETTABLE  R1 = R1[K5('GameModel')]
  0026  SELF      R2 = R1[K6('GetServerTime')] (self)
  0027  CALL      R1 = call(R1, 1 args, 1 rets)
  0028  SELF      R3 = R0[K7('GetDuration')] (self)
  0029  CALL      R2 = call(R2, 1 args, 1 rets)
  0030  ADD       R1 = R2 add R1
  0031  SELF      R3 = R0[K8('GetEndTime')] (self)
  0032  CALL      R2 = call(R2, 1 args, 1 rets)
  0033  LT        if R0 lt R1   -> -130012
  0034  JMP       (jump)   -> 37
  0035  LOADBOOL  R1 = false
  0036  RETURN    return R1..R0
  0037  LOADBOOL  R1 = true
  0038  RETURN    return R1..R0
  0039  RETURN    return R0..R-1
; ---------- proto95 [TryTrigger] ----------
  ; fn ?  line 845-877 np=1 va=0 ms=8 code=96 consts=41 upvals=1 protos=0
  ;   K[0]='CanTrigger'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='SetTriggerState'
  ;   K[5]='IsInDuration'
  ;   K[6]='SetCycleRound'
  ;   K[7]='SetRoundCount'
  ;   K[8]='GetRoundCount'
  ;   K[9]=1
  ;   K[10]='SetWaitingNewRound'
  ;   K[11]='SetTriggerEndTime'
  ;   K[12]='GetDuration'
  ;   K[13]='SetTriggerCooldownEndTime'
  ;   K[14]='GetCooldown'
  ;   K[15]='SetSavedTriggerFirstSelectConfig'
  ;   K[16]='m_config'
  ;   K[17]='arrFirstSelectConfig'
  ;   K[18]='SetSavedTriggerCycleSelectConfig'
  ;   K[19]='arrCycleSelectConfig'
  ;   K[20]='LogActivity'
  ;   K[21]='EBIType'
  ;   K[22]='ActivityRankUp'
  ;   K[23]=0
  ;   K[24]='SetScore'
  ;   K[25]='SetLastScoreInView'
  ;   K[26]='SetClaimedBoxCount'
  ;   K[27]='Log'
  ;   K[28]='Info'
  ;   K[29]='string'
  ;   K[30]='format'
  ;   K[31]='[宝箱连连] 触发活动（%s）'
  ;   K[32]='IsCycleRound'
  ;   K[33]='循环轮'
  ;   K[34]='非循环轮'
  ;   K[35]='BIManager'
  ;   K[36]='LogAction'
  ;   K[37]='ChestNonstopStart'
  ;   K[38]='tostring'
  ;   K[39]='_DispatchRefreshEntryEvent'
  ;   K[40]='_DispatchTriggerStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-96), serverTime(9-96)
  0000  SELF      R2 = R0[K0('CanTrigger')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R1 = _ENV[K1('GM')]
  0006  GETTABLE  R1 = R1[K2('GameModel')]
  0007  SELF      R2 = R1[K3('GetServerTime')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  SELF      R3 = R0[K4('SetTriggerState')] (self)
  0010  LOADBOOL  R4 = true
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  SELF      R3 = R0[K5('IsInDuration')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  TEST      if not R2 then   -> -131056
  0015  JMP       (jump)   -> 28
  0016  SELF      R3 = R0[K6('SetCycleRound')] (self)
  0017  LOADBOOL  R4 = true
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  SELF      R3 = R0[K7('SetRoundCount')] (self)
  0020  SELF      R5 = R0[K8('GetRoundCount')] (self)
  0021  CALL      R4 = call(R4, 1 args, 1 rets)
  0022  ADD       R4 = K9(1) add R4
  0023  CALL      R2 = call(R2, 0 args, 2 rets)
  0024  SELF      R3 = R0[K10('SetWaitingNewRound')] (self)
  0025  LOADNIL   R4..R4 = nil
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  JMP       (jump)   -> 57
  0028  SELF      R3 = R0[K6('SetCycleRound')] (self)
  0029  LOADBOOL  R4 = false
  0030  CALL      R2 = call(R2, 0 args, 2 rets)
  0031  SELF      R3 = R0[K7('SetRoundCount')] (self)
  0032  LOADK     R4 = K9 1
  0033  CALL      R2 = call(R2, 0 args, 2 rets)
  0034  SELF      R3 = R0[K11('SetTriggerEndTime')] (self)
  0035  SELF      R5 = R0[K12('GetDuration')] (self)
  0036  CALL      R4 = call(R4, 1 args, 1 rets)
  0037  ADD       R4 = R4 add R1
  0038  CALL      R2 = call(R2, 0 args, 2 rets)
  0039  SELF      R3 = R0[K13('SetTriggerCooldownEndTime')] (self)
  0040  SELF      R5 = R0[K14('GetCooldown')] (self)
  0041  CALL      R4 = call(R4, 1 args, 1 rets)
  0042  ADD       R4 = R4 add R1
  0043  CALL      R2 = call(R2, 0 args, 2 rets)
  0044  SELF      R3 = R0[K15('SetSavedTriggerFirstSelectConfig')] (self)
  0045  GETTABLE  R4 = R0[K16('m_config')]
  0046  GETTABLE  R4 = R4[K17('arrFirstSelectConfig')]
  0047  CALL      R2 = call(R2, 0 args, 2 rets)
  0048  SELF      R3 = R0[K18('SetSavedTriggerCycleSelectConfig')] (self)
  0049  GETTABLE  R4 = R0[K16('m_config')]
  0050  GETTABLE  R4 = R4[K19('arrCycleSelectConfig')]
  0051  CALL      R2 = call(R2, 0 args, 2 rets)
  0052  SELF      R3 = R0[K20('LogActivity')] (self)
  0053  GETTABUP  R4 = _ENV[K21('EBIType')]
  0054  GETTABLE  R4 = R4[K22('ActivityRankUp')]
  0055  LOADK     R5 = K23 0
  0056  CALL      R2 = call(R2, 0 args, 3 rets)
  0057  SELF      R3 = R0[K24('SetScore')] (self)
  0058  LOADK     R4 = K23 0
  0059  CALL      R2 = call(R2, 0 args, 2 rets)
  0060  SELF      R3 = R0[K25('SetLastScoreInView')] (self)
  0061  LOADK     R4 = K23 0
  0062  CALL      R2 = call(R2, 0 args, 2 rets)
  0063  SELF      R3 = R0[K26('SetClaimedBoxCount')] (self)
  0064  LOADK     R4 = K23 0
  0065  CALL      R2 = call(R2, 0 args, 2 rets)
  0066  GETTABUP  R2 = _ENV[K27('Log')]
  0067  GETTABLE  R2 = R2[K28('Info')]
  0068  GETTABUP  R3 = _ENV[K29('string')]
  0069  GETTABLE  R3 = R3[K30('format')]
  0070  LOADK     R4 = K31 '[宝箱连连] 触发活动（%s）'
  0071  SELF      R6 = R0[K32('IsCycleRound')] (self)
  0072  CALL      R5 = call(R5, 1 args, 1 rets)
  0073  TEST      if not R5 then   -> -130997
  0074  JMP       (jump)   -> 78
  0075  LOADK     R5 = K33 '循环轮'
  0076  TEST      if not R5 then   -> -130993
  0077  JMP       (jump)   -> 79
  0078  LOADK     R5 = K34 '非循环轮'
  0079  CALL      R3 = call(R3, -1 args, 2 rets)
  0080  CALL      R2 = call(R2, 0 args, -1 rets)
  0081  GETTABUP  R2 = _ENV[K1('GM')]
  0082  GETTABLE  R2 = R2[K35('BIManager')]
  0083  SELF      R3 = R2[K36('LogAction')] (self)
  0084  GETTABUP  R4 = _ENV[K21('EBIType')]
  0085  GETTABLE  R4 = R4[K37('ChestNonstopStart')]
  0086  GETTABUP  R5 = _ENV[K38('tostring')]
  0087  SELF      R7 = R0[K8('GetRoundCount')] (self)
  0088  CALL      R6 = call(R6, -1 args, 1 rets)
  0089  CALL      R5 = call(R5, -1 args, -1 rets)
  0090  CALL      R2 = call(R2, 0 args, -1 rets)
  0091  SELF      R3 = R0[K39('_DispatchRefreshEntryEvent')] (self)
  0092  CALL      R2 = call(R2, 0 args, 1 rets)
  0093  SELF      R3 = R0[K40('_DispatchTriggerStateChangedEvent')] (self)
  0094  CALL      R2 = call(R2, 0 args, 1 rets)
  0095  RETURN    return R0..R-1
; ---------- proto96 [_OnCollectGold] ----------
  ; fn ?  line 883-899 np=2 va=0 ms=11 code=40 consts=14 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='GetLastScoreInView'
  ;   K[3]='GetScore'
  ;   K[4]='GetMaxScore'
  ;   K[5]='math'
  ;   K[6]='min'
  ;   K[7]='SetScore'
  ;   K[8]='GetTextKeyByScore'
  ;   K[9]='_DispatchProgressStateChangedEvent'
  ;   K[10]='_TryLogChestNonstopReachStage'
  ;   K[11]='LogActivity'
  ;   K[12]='EBIType'
  ;   K[13]='ActivityAddScore'
  ;   upvals: _ENV
  ;   locals: self(0-40), goldCount(0-40), lastScoreInView(11-40), lastScore(13-40), maxScore(15-40), curScore(20-40), tipTextKey(27-40)
  0000  SELF      R3 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R3 = R0[K1('IsTriggered')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SELF      R3 = R0[K2('GetLastScoreInView')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  SELF      R4 = R0[K3('GetScore')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  SELF      R5 = R0[K4('GetMaxScore')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  GETTABUP  R5 = _ENV[K5('math')]
  0016  GETTABLE  R5 = R5[K6('min')]
  0017  ADD       R6 = R1 add R3
  0018  MOVE      R7 = R0
  0019  CALL      R5 = call(R5, 1 args, 2 rets)
  0020  SELF      R7 = R0[K7('SetScore')] (self)
  0021  MOVE      R8 = R0
  0022  CALL      R6 = call(R6, 0 args, 2 rets)
  0023  SELF      R7 = R0[K8('GetTextKeyByScore')] (self)
  0024  MOVE      R8 = R0
  0025  MOVE      R9 = R0
  0026  CALL      R6 = call(R6, 1 args, 3 rets)
  0027  SELF      R8 = R0[K9('_DispatchProgressStateChangedEvent')] (self)
  0028  MOVE      R9 = R0
  0029  CALL      R7 = call(R7, 0 args, 2 rets)
  0030  SELF      R8 = R0[K10('_TryLogChestNonstopReachStage')] (self)
  0031  MOVE      R9 = R0
  0032  MOVE      R10 = R0
  0033  CALL      R7 = call(R7, 0 args, 3 rets)
  0034  SELF      R8 = R0[K11('LogActivity')] (self)
  0035  GETTABUP  R9 = _ENV[K12('EBIType')]
  0036  GETTABLE  R9 = R9[K13('ActivityAddScore')]
  0037  MOVE      R10 = R0
  0038  CALL      R7 = call(R7, 0 args, 3 rets)
  0039  RETURN    return R0..R-1
; ---------- proto97 [GetBoxIdForEntryView] ----------
  ; fn ?  line 902-906 np=1 va=0 ms=7 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='GetClaimedBoxCount'
  ;   K[1]=1
  ;   K[2]='math'
  ;   K[3]='min'
  ;   K[4]='GetMaxBoxCount'
  ;   upvals: _ENV
  ;   locals: self(0-11), claimedBoxCount(2-11), viewBoxId(3-11)
  0000  SELF      R2 = R0[K0('GetClaimedBoxCount')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  ADD       R2 = K1(1) add R1
  0003  GETTABUP  R3 = _ENV[K2('math')]
  0004  GETTABLE  R3 = R3[K3('min')]
  0005  MOVE      R4 = R0
  0006  SELF      R6 = R0[K4('GetMaxBoxCount')] (self)
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  TAILCALL  tailcall(R3, 0)
  0009  RETURN    return R3..R2
  0010  RETURN    return R0..R-1
; ---------- proto98 [GetTextKeyByScore] ----------
  ; fn ?  line 911-938 np=3 va=0 ms=12 code=46 consts=10 upvals=2 protos=0
  ;   K[0]='GetMaxBoxCount'
  ;   K[1]='GetMaxScore'
  ;   K[2]='chestnonstop_tip_4'
  ;   K[3]='GetProgressByScore'
  ;   K[4]='math'
  ;   K[5]='floor'
  ;   K[6]='First'
  ;   K[7]='Second'
  ;   K[8]='chestnonstop_tip_3'
  ;   K[9]='chestnonstop_tip_2'
  ;   upvals: _ENV, Threshold
  ;   locals: self(0-46), lastScore(0-46), curScore(0-46), maxProgress(2-46), maxScore(4-46), lastProgress(11-46), curProgress(14-46), lastStageIdx(18-46), curStageIdx(22-46), threshold1(28-46), threshold2(30-46)
  0000  SELF      R4 = R0[K0('GetMaxBoxCount')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  SELF      R5 = R0[K1('GetMaxScore')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  LE        if R0 le R2   -> -129016
  0005  JMP       (jump)   -> 8
  0006  LOADK     R5 = K2 'chestnonstop_tip_4'
  0007  RETURN    return R5..R4
  0008  SELF      R6 = R0[K3('GetProgressByScore')] (self)
  0009  MOVE      R7 = R0
  0010  CALL      R5 = call(R5, 1 args, 2 rets)
  0011  SELF      R7 = R0[K3('GetProgressByScore')] (self)
  0012  MOVE      R8 = R0
  0013  CALL      R6 = call(R6, 1 args, 2 rets)
  0014  GETTABUP  R7 = _ENV[K4('math')]
  0015  GETTABLE  R7 = R7[K5('floor')]
  0016  MOVE      R8 = R0
  0017  CALL      R7 = call(R7, 1 args, 1 rets)
  0018  GETTABUP  R8 = _ENV[K4('math')]
  0019  GETTABLE  R8 = R8[K5('floor')]
  0020  MOVE      R9 = R0
  0021  CALL      R8 = call(R8, 1 args, 1 rets)
  0022  LT        if R0 lt R8   -> -127456
  0023  JMP       (jump)   -> 26
  0024  LOADK     R9 = K2 'chestnonstop_tip_4'
  0025  RETURN    return R9..R8
  0026  GETTABUP  R9 = Threshold[K6('First')]
  0027  ADD       R9 = R9 add R8
  0028  GETTABUP  R10 = Threshold[K7('Second')]
  0029  ADD       R10 = R10 add R8
  0030  LT        if R0 lt R10   -> -128470
  0031  JMP       (jump)   -> 37
  0032  LE        if R0 le R6   -> -125912
  0033  JMP       (jump)   -> 37
  0034  LOADK     R11 = K8 'chestnonstop_tip_3'
  0035  RETURN    return R11..R10
  0036  JMP       (jump)   -> 43
  0037  LT        if R0 lt R9   -> -128464
  0038  JMP       (jump)   -> 43
  0039  LE        if R0 le R6   -> -126417
  0040  JMP       (jump)   -> 43
  0041  LOADK     R11 = K9 'chestnonstop_tip_2'
  0042  RETURN    return R11..R10
  0043  LOADNIL   R11..R11 = nil
  0044  RETURN    return R11..R10
  0045  RETURN    return R0..R-1
; ---------- proto99 [GetProgressByScore] ----------
  ; fn ?  line 941-968 np=2 va=0 ms=12 code=32 consts=3 upvals=1 protos=0
  ;   K[0]='GetTargetScores'
  ;   K[1]=0
  ;   K[2]='ipairs'
  ;   upvals: _ENV
  ;   locals: self(0-32), score(0-32), targetScores(2-32), prevScore(10-32), prevProgress(11-32), (for generator)(14-29), (for state)(14-29), (for control)(14-29), i(15-27), targetScore(15-27), ratio(23-25)
  0000  SELF      R3 = R0[K0('GetTargetScores')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  LEN       R3 = len R0
  0005  EQ        if R0 eq K1(0)   -> -129272
  0006  JMP       (jump)   -> 9
  0007  LOADK     R3 = K1 0
  0008  RETURN    return R3..R2
  0009  LOADK     R3 = K1 0
  0010  LOADK     R4 = K1 0
  0011  GETTABUP  R5 = _ENV[K2('ipairs')]
  0012  MOVE      R6 = R0
  0013  CALL      R5 = call(R5, 3 args, 1 rets)
  0014  JMP       (jump)   -> 27
  0015  LE        if R0 le R9   -> -130534
  0016  JMP       (jump)   -> 25
  0017  EQ        if R0 eq R3   -> -126442
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R4..R3
  0020  SUB       R10 = R3 sub R1
  0021  SUB       R11 = R3 sub R9
  0022  DIV       R10 = R11 div R10
  0023  ADD       R11 = R10 add R4
  0024  RETURN    return R11..R10
  0025  MOVE      R3 = R0
  0026  MOVE      R4 = R0
  0027  TFORCALL  tforcall R5
  0028  TFORLOOP  tforloop R7(sBx=-14)   -> 15
  0029  LEN       R5 = len R0
  0030  RETURN    return R5..R4
  0031  RETURN    return R0..R-1
; ---------- proto100 [TryClaimBox] ----------
  ; fn ?  line 970-1031 np=1 va=0 ms=20 code=132 consts=41 upvals=1 protos=0
  ;   K[0]='GetClaimedBoxCount'
  ;   K[1]=1
  ;   K[2]='GetMaxBoxCount'
  ;   K[3]='GetRoundCount'
  ;   K[4]='GetBoxState'
  ;   K[5]='EChestNonstopBoxState'
  ;   K[6]='CanClaim'
  ;   K[7]='TrySelectOrder'
  ;   K[8]=nil
  ;   K[9]='SetClaimedBoxCount'
  ;   K[10]='m_bAwardAnimationPlaying'
  ;   K[11]=true
  ;   K[12]='GetCurrentConfig'
  ;   K[13]='table'
  ;   K[14]='insert'
  ;   K[15]='curRound: '
  ;   K[16]='tostring'
  ;   K[17]='stage: '
  ;   K[18]='ui: '
  ;   K[19]='GetUIBoxId'
  ;   K[20]='GetActivityDefinition'
  ;   K[21]='orderId: '
  ;   K[22]='GetChestDurationInSeconds'
  ;   K[23]='time: '
  ;   K[24]='GM'
  ;   K[25]='BIManager'
  ;   K[26]='LogAction'
  ;   K[27]='EBIType'
  ;   K[28]='ChestNonstopClaimBox'
  ;   K[29]='concat'
  ;   K[30]=';'
  ;   K[31]='SetTriggerState'
  ;   K[32]='SetWaitingNewRound'
  ;   K[33]='_DispatchSimpleStartEvent'
  ;   K[34]='LogActivity'
  ;   K[35]='ActivityRankUp'
  ;   K[36]='Table'
  ;   K[37]='IsEmpty'
  ;   K[38]='m_mapSelectOrderAnimationPlaying'
  ;   K[39]='pairs'
  ;   K[40]='_DispatchRefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-132), boxId(3-132), maxBoxCount(5-132), roundCount(7-132), mapOrderId(8-132), (for index)(11-112), (for limit)(11-112), (for step)(11-112), id(12-111), orderId(22-111), config(32-111), biInfo(33-111), duration(74-111), (for generator)(123-128), (for state)(123-128), (for control)(123-128), _(124-126), orderId(124-126)
  0000  SELF      R2 = R0[K0('GetClaimedBoxCount')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  ADD       R1 = K1(1) add R1
  0003  SELF      R3 = R0[K2('GetMaxBoxCount')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  SELF      R4 = R0[K3('GetRoundCount')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  NEWTABLE  R4 = {} (0 items)
  0008  MOVE      R5 = R0
  0009  MOVE      R6 = R0
  0010  LOADK     R7 = K1 1
  0011  FORPREP   forprep R5(sBx=99)   -> 111
  0012  SELF      R10 = R0[K4('GetBoxState')] (self)
  0013  MOVE      R11 = R0
  0014  CALL      R9 = call(R9, 1 args, 2 rets)
  0015  GETTABUP  R10 = _ENV[K5('EChestNonstopBoxState')]
  0016  GETTABLE  R10 = R10[K6('CanClaim')]
  0017  EQ        if R0 eq R10   -> -126435
  0018  JMP       (jump)   -> 112
  0019  SELF      R10 = R0[K7('TrySelectOrder')] (self)
  0020  MOVE      R11 = R0
  0021  CALL      R9 = call(R9, 1 args, 2 rets)
  0022  EQ        if R1 eq K8(nil)   -> -126176
  0023  JMP       (jump)   -> 112
  0024  SETTABLE  R4[R8] = R9
  0025  SELF      R11 = R0[K9('SetClaimedBoxCount')] (self)
  0026  MOVE      R12 = R0
  0027  CALL      R10 = call(R10, 0 args, 2 rets)
  0028  SETTABLE  R0[K10('m_bAwardAnimationPlaying')] = K11(true)
  0029  SELF      R11 = R0[K12('GetCurrentConfig')] (self)
  0030  MOVE      R12 = R0
  0031  CALL      R10 = call(R10, 1 args, 2 rets)
  0032  NEWTABLE  R11 = {} (0 items)
  0033  GETTABUP  R12 = _ENV[K13('table')]
  0034  GETTABLE  R12 = R12[K14('insert')]
  0035  MOVE      R13 = R0
  0036  LOADK     R14 = K15 'curRound: '
  0037  GETTABUP  R15 = _ENV[K16('tostring')]
  0038  MOVE      R16 = R0
  0039  CALL      R15 = call(R15, 1 args, 1 rets)
  0040  CONCAT    R14 = concat(R14..R14)
  0041  CALL      R12 = call(R12, 0 args, 2 rets)
  0042  GETTABUP  R12 = _ENV[K13('table')]
  0043  GETTABLE  R12 = R12[K14('insert')]
  0044  MOVE      R13 = R0
  0045  LOADK     R14 = K17 'stage: '
  0046  GETTABUP  R15 = _ENV[K16('tostring')]
  0047  MOVE      R16 = R0
  0048  CALL      R15 = call(R15, 1 args, 1 rets)
  0049  CONCAT    R14 = concat(R14..R14)
  0050  CALL      R12 = call(R12, 0 args, 2 rets)
  0051  GETTABUP  R12 = _ENV[K13('table')]
  0052  GETTABLE  R12 = R12[K14('insert')]
  0053  MOVE      R13 = R0
  0054  LOADK     R14 = K18 'ui: '
  0055  GETTABUP  R15 = _ENV[K16('tostring')]
  0056  SELF      R17 = R10[K19('GetUIBoxId')] (self)
  0057  SELF      R19 = R0[K20('GetActivityDefinition')] (self)
  0058  CALL      R18 = call(R18, -1 args, 1 rets)
  0059  CALL      R16 = call(R16, -1 args, -1 rets)
  0060  CALL      R15 = call(R15, 1 args, -1 rets)
  0061  CONCAT    R14 = concat(R14..R14)
  0062  CALL      R12 = call(R12, 0 args, 2 rets)
  0063  GETTABUP  R12 = _ENV[K13('table')]
  0064  GETTABLE  R12 = R12[K14('insert')]
  0065  MOVE      R13 = R0
  0066  LOADK     R14 = K21 'orderId: '
  0067  GETTABUP  R15 = _ENV[K16('tostring')]
  0068  MOVE      R16 = R0
  0069  CALL      R15 = call(R15, 1 args, 1 rets)
  0070  CONCAT    R14 = concat(R14..R14)
  0071  CALL      R12 = call(R12, 0 args, 2 rets)
  0072  SELF      R13 = R10[K22('GetChestDurationInSeconds')] (self)
  0073  CALL      R12 = call(R12, 1 args, 1 rets)
  0074  EQ        if R1 eq K8(nil)   -> -124588
  0075  JMP       (jump)   -> 85
  0076  GETTABUP  R13 = _ENV[K13('table')]
  0077  GETTABLE  R13 = R13[K14('insert')]
  0078  MOVE      R14 = R0
  0079  LOADK     R15 = K23 'time: '
  0080  GETTABUP  R16 = _ENV[K16('tostring')]
  0081  MOVE      R17 = R0
  0082  CALL      R16 = call(R16, 1 args, 1 rets)
  0083  CONCAT    R15 = concat(R15..R15)
  0084  CALL      R13 = call(R13, 0 args, 2 rets)
  0085  GETTABUP  R13 = _ENV[K24('GM')]
  0086  GETTABLE  R13 = R13[K25('BIManager')]
  0087  SELF      R14 = R13[K26('LogAction')] (self)
  0088  GETTABUP  R15 = _ENV[K27('EBIType')]
  0089  GETTABLE  R15 = R15[K28('ChestNonstopClaimBox')]
  0090  GETTABUP  R16 = _ENV[K13('table')]
  0091  GETTABLE  R16 = R16[K29('concat')]
  0092  MOVE      R17 = R0
  0093  LOADK     R18 = K30 ';'
  0094  CALL      R16 = call(R16, -1 args, 2 rets)
  0095  CALL      R13 = call(R13, 0 args, -1 rets)
  0096  EQ        if R0 eq R2   -> -126876
  0097  JMP       (jump)   -> 111
  0098  SELF      R14 = R0[K31('SetTriggerState')] (self)
  0099  LOADBOOL  R15 = false
  0100  CALL      R13 = call(R13, 0 args, 2 rets)
  0101  SELF      R14 = R0[K32('SetWaitingNewRound')] (self)
  0102  LOADBOOL  R15 = true
  0103  CALL      R13 = call(R13, 0 args, 2 rets)
  0104  SELF      R14 = R0[K33('_DispatchSimpleStartEvent')] (self)
  0105  CALL      R13 = call(R13, 0 args, 1 rets)
  0106  SELF      R14 = R0[K34('LogActivity')] (self)
  0107  GETTABUP  R15 = _ENV[K27('EBIType')]
  0108  GETTABLE  R15 = R15[K35('ActivityRankUp')]
  0109  MOVE      R16 = R0
  0110  CALL      R13 = call(R13, 0 args, 3 rets)
  0111  FORLOOP   forloop R5(sBx=-100)   -> 12
  0112  GETTABUP  R5 = _ENV[K36('Table')]
  0113  GETTABLE  R5 = R5[K37('IsEmpty')]
  0114  MOVE      R6 = R0
  0115  CALL      R5 = call(R5, 1 args, 1 rets)
  0116  TEST      if not R5 then   -> -130953
  0117  JMP       (jump)   -> 130
  0118  NEWTABLE  R5 = {} (0 items)
  0119  SETTABLE  R0[K38('m_mapSelectOrderAnimationPlaying')] = R5
  0120  GETTABUP  R5 = _ENV[K39('pairs')]
  0121  MOVE      R6 = R0
  0122  CALL      R5 = call(R5, 3 args, 1 rets)
  0123  JMP       (jump)   -> 126
  0124  GETTABLE  R10 = R0[K38('m_mapSelectOrderAnimationPlaying')]
  0125  SETTABLE  R10[R9] = K11(true)
  0126  TFORCALL  tforcall R5
  0127  TFORLOOP  tforloop R7(sBx=-4)   -> 124
  0128  SELF      R6 = R0[K40('_DispatchRefreshEntryEvent')] (self)
  0129  CALL      R5 = call(R5, 0 args, 1 rets)
  0130  RETURN    return R4..R3
  0131  RETURN    return R0..R-1
; ---------- proto101 [GetBoxState] ----------
  ; fn ?  line 1035-1052 np=3 va=0 ms=7 code=31 consts=8 upvals=1 protos=0
  ;   K[0]='GetCurrentConfig'
  ;   K[1]='GetTargetScore'
  ;   K[2]='EChestNonstopBoxState'
  ;   K[3]='Locked'
  ;   K[4]='GetClaimedBoxCount'
  ;   K[5]='Claimed'
  ;   K[6]='GetScore'
  ;   K[7]='CanClaim'
  ;   upvals: _ENV
  ;   locals: self(0-31), boxId(0-31), score(0-31), targetScore(5-31), claimedCount(12-31), curScore(21-31)
  0000  SELF      R4 = R0[K0('GetCurrentConfig')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  SELF      R4 = R3[K1('GetTargetScore')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 10
  0007  GETTABUP  R4 = _ENV[K2('EChestNonstopBoxState')]
  0008  GETTABLE  R4 = R4[K3('Locked')]
  0009  RETURN    return R4..R3
  0010  SELF      R5 = R0[K4('GetClaimedBoxCount')] (self)
  0011  CALL      R4 = call(R4, 1 args, 1 rets)
  0012  LE        if R0 le R4   -> -130542
  0013  JMP       (jump)   -> 17
  0014  GETTABUP  R5 = _ENV[K2('EChestNonstopBoxState')]
  0015  GETTABLE  R5 = R5[K5('Claimed')]
  0016  RETURN    return R5..R4
  0017  TESTSET   if R1 then R5   -> -130028
  0018  JMP       (jump)   -> 21
  0019  SELF      R6 = R0[K6('GetScore')] (self)
  0020  CALL      R5 = call(R5, 1 args, 1 rets)
  0021  LE        if R0 le R5   -> -129508
  0022  JMP       (jump)   -> 27
  0023  GETTABUP  R6 = _ENV[K2('EChestNonstopBoxState')]
  0024  GETTABLE  R6 = R6[K7('CanClaim')]
  0025  RETURN    return R6..R5
  0026  JMP       (jump)   -> 30
  0027  GETTABUP  R6 = _ENV[K2('EChestNonstopBoxState')]
  0028  GETTABLE  R6 = R6[K3('Locked')]
  0029  RETURN    return R6..R5
  0030  RETURN    return R0..R-1
; ---------- proto102 [IsChestCustomerValid] ----------
  ; fn ?  line 1059-1061 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Released'
  ;   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('Released')]
  0004  EQ        if R0 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
; ---------- proto103 [GetBoardModel] ----------
  ; fn ?  line 1064-1066 np=1 va=0 ms=2 code=4 consts=2 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='MainBoardModel'
  ;   upvals: _ENV
  ;   locals: self(0-4)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('MainBoardModel')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto104 [_TryRemoveEmptyChestCustomerData] ----------
  ; fn ?  line 1069-1081 np=1 va=0 ms=12 code=30 consts=10 upvals=1 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetOrders'
  ;   K[2]='Table'
  ;   K[3]='GetKeys'
  ;   K[4]='m_mapChestCustomerData'
  ;   K[5]='ipairs'
  ;   K[6]=nil
  ;   K[7]='SetChestCustomerData'
  ;   K[8]='SetOrderRoundData'
  ;   K[9]='SetChestCustomerEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-30), orders(4-30), arrOrderId(8-30), (for generator)(11-29), (for state)(11-29), (for control)(11-29), _(12-27), orderId(12-27)
  0000  SELF      R2 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('GetOrders')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K2('Table')]
  0005  GETTABLE  R2 = R2[K3('GetKeys')]
  0006  GETTABLE  R3 = R0[K4('m_mapChestCustomerData')]
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K5('ipairs')]
  0009  MOVE      R4 = R0
  0010  CALL      R3 = call(R3, 3 args, 1 rets)
  0011  JMP       (jump)   -> 27
  0012  GETTABLE  R8 = R1[R7]
  0013  EQ        if R0 eq K6(nil)   -> -126699
  0014  JMP       (jump)   -> 27
  0015  SELF      R9 = R0[K7('SetChestCustomerData')] (self)
  0016  MOVE      R10 = R0
  0017  LOADNIL   R11..R11 = nil
  0018  CALL      R8 = call(R8, 0 args, 3 rets)
  0019  SELF      R9 = R0[K8('SetOrderRoundData')] (self)
  0020  MOVE      R10 = R0
  0021  LOADNIL   R11..R11 = nil
  0022  CALL      R8 = call(R8, 0 args, 3 rets)
  0023  SELF      R9 = R0[K9('SetChestCustomerEndTime')] (self)
  0024  MOVE      R10 = R0
  0025  LOADNIL   R11..R11 = nil
  0026  CALL      R8 = call(R8, 0 args, 3 rets)
  0027  TFORCALL  tforcall R3
  0028  TFORLOOP  tforloop R5(sBx=-17)   -> 12
  0029  RETURN    return R0..R-1
; ---------- proto105 [_GetSelectConfig] ----------
  ; fn ?  line 1086-1095 np=3 va=0 ms=13 code=25 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='GetScoreMin'
  ;   K[2]='GetScoreMax'
  ;   K[3]=nil
  ;   upvals: _ENV
  ;   locals: self(0-25), energyDiff(0-25), arrSelectConfig(0-25), min(1-25), max(1-25), (for generator)(4-22), (for state)(4-22), (for control)(4-22), _(5-20), selectConfig(5-20)
  0000  LOADNIL   R3..R3 = nil
  0001  GETTABUP  R5 = _ENV[K0('ipairs')]
  0002  MOVE      R6 = R0
  0003  CALL      R5 = call(R5, 3 args, 1 rets)
  0004  JMP       (jump)   -> 20
  0005  SELF      R11 = R9[K1('GetScoreMin')] (self)
  0006  CALL      R10 = call(R10, 1 args, 1 rets)
  0007  SELF      R12 = R9[K2('GetScoreMax')] (self)
  0008  CALL      R11 = call(R11, 1 args, 1 rets)
  0009  MOVE      R4 = R0
  0010  MOVE      R3 = R0
  0011  EQ        if R1 eq K3(nil)   -> -129264
  0012  JMP       (jump)   -> 15
  0013  LT        if R0 lt R1   -> -129520
  0014  JMP       (jump)   -> 20
  0015  EQ        if R1 eq K3(nil)   -> -128748
  0016  JMP       (jump)   -> 19
  0017  LE        if R0 le R4   -> -130537
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R9..R8
  0020  TFORCALL  tforcall R5
  0021  TFORLOOP  tforloop R7(sBx=-17)   -> 5
  0022  LOADNIL   R5..R5 = nil
  0023  RETURN    return R5..R4
  0024  RETURN    return R0..R-1
; ---------- proto106 [GetListOrderWeight] ----------
  ; fn ?  line 1098-1124 np=2 va=0 ms=17 code=42 consts=14 upvals=1 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetOrderModel'
  ;   K[2]='pairs'
  ;   K[3]='GetOrders'
  ;   K[4]='IsAvatarReplaced'
  ;   K[5]='GetOrderFillEnergyDiff'
  ;   K[6]='_GetSelectConfig'
  ;   K[7]=nil
  ;   K[8]='GetWeight'
  ;   K[9]=0
  ;   K[10]='table'
  ;   K[11]='insert'
  ;   K[12]='order'
  ;   K[13]='Weight'
  ;   upvals: _ENV
  ;   locals: self(0-42), arrSelectConfig(0-42), boardModel(2-42), orderModel(4-42), arrOrder(5-42), mapEnergyDiff(6-42), (for generator)(10-38), (for state)(10-38), (for control)(10-38), _(11-36), order(11-36), energyDiff(18-36), selectConfig(22-36), weight(26-36)
  0000  SELF      R3 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R2[K1('GetOrderModel')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  NEWTABLE  R4 = {} (0 items)
  0005  NEWTABLE  R5 = {} (0 items)
  0006  GETTABUP  R6 = _ENV[K2('pairs')]
  0007  SELF      R8 = R3[K3('GetOrders')] (self)
  0008  CALL      R7 = call(R7, -1 args, 1 rets)
  0009  CALL      R6 = call(R6, 3 args, -1 rets)
  0010  JMP       (jump)   -> 36
  0011  SELF      R12 = R10[K4('IsAvatarReplaced')] (self)
  0012  CALL      R11 = call(R11, 1 args, 1 rets)
  0013  TEST      if not R11 then   -> -131056
  0014  JMP       (jump)   -> 36
  0015  SELF      R12 = R2[K5('GetOrderFillEnergyDiff')] (self)
  0016  MOVE      R13 = R0
  0017  CALL      R11 = call(R11, 1 args, 2 rets)
  0018  SELF      R13 = R0[K6('_GetSelectConfig')] (self)
  0019  MOVE      R14 = R0
  0020  MOVE      R15 = R0
  0021  CALL      R12 = call(R12, 1 args, 3 rets)
  0022  EQ        if R1 eq K7(nil)   -> -124641
  0023  JMP       (jump)   -> 36
  0024  SELF      R14 = R12[K8('GetWeight')] (self)
  0025  CALL      R13 = call(R13, 1 args, 1 rets)
  0026  LT        if R0 lt R13   -> 4649
  0027  JMP       (jump)   -> 36
  0028  GETTABUP  R14 = _ENV[K10('table')]
  0029  GETTABLE  R14 = R14[K11('insert')]
  0030  MOVE      R15 = R0
  0031  NEWTABLE  R16 = {} (0 items)
  0032  SETTABLE  R16[K12('order')] = R10
  0033  SETTABLE  R16[K13('Weight')] = R13
  0034  CALL      R14 = call(R14, 0 args, 2 rets)
  0035  SETTABLE  R5[R10] = R11
  0036  TFORCALL  tforcall R6
  0037  TFORLOOP  tforloop R8(sBx=-27)   -> 11
  0038  MOVE      R6 = R0
  0039  MOVE      R7 = R0
  0040  RETURN    return R6..R5
  0041  RETURN    return R0..R-1
; ---------- proto107 [TrySelectOrder] ----------
  ; fn ?  line 1128-1202 np=2 va=0 ms=30 code=191 consts=52 upvals=1 protos=4
  ;   K[0]='Log'
  ;   K[1]='Info'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='[宝箱连连] 开始尝试附着订单，轮次：%s，id：%d'
  ;   K[5]='IsCycleRound'
  ;   K[6]='循环轮'
  ;   K[7]='非循环轮'
  ;   K[8]='_GetCurrentTriggerSelectConfig'
  ;   K[9]='Table'
  ;   K[10]='IsEmpty'
  ;   K[11]='[宝箱连连] 尝试根据配置附着订单'
  ;   K[12]='GetListOrderWeight'
  ;   K[13]='ListWeightSelectOne'
  ;   K[14]='order'
  ;   K[15]=0
  ;   K[16]='ipairs'
  ;   K[17]='Weight'
  ;   K[18]='GetBoardModel'
  ;   K[19]='GetOrdersSortedByEnergyDiff'
  ;   K[20]='table'
  ;   K[21]='insert'
  ;   K[22]='string'
  ;   K[23]='format'
  ;   K[24]='%s订单id：%s | 体力差额：%f | 权重：%d | 选中概率：%f%%'
  ;   K[25]='math'
  ;   K[26]='max'
  ;   K[27]=1
  ;   K[28]=100
  ;   K[29]='%s订单id：%s | 体力差额：%f | 权重：<color=#D32F2F>0</color>'
  ;   K[30]='GetOrderFillEnergyDiff'
  ;   K[31]='[宝箱连连] 根据配置%s\n%s'
  ;   K[32]='concat'
  ;   K[33]='\n'
  ;   K[34]=nil
  ;   K[35]='[宝箱连连] 尝试根据订单差额附着订单'
  ;   K[36]='GetNextEnergyDiffOrder'
  ;   K[37]='[宝箱连连] 根据订单差额%s'
  ;   K[38]='GetCurrentConfig'
  ;   K[39]='GetId'
  ;   K[40]='SetChestCustomerData'
  ;   K[41]='rawConfig'
  ;   K[42]='SetOrderRoundData'
  ;   K[43]='GetOrderRoundInfo'
  ;   K[44]='HasTimeLimit'
  ;   K[45]='SetChestCustomerEndTime'
  ;   K[46]='min'
  ;   K[47]='GM'
  ;   K[48]='GameModel'
  ;   K[49]='GetServerTime'
  ;   K[50]='GetChestDurationInSeconds'
  ;   K[51]='GetChestCustomerValidEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-191), id(0-191), filter(17-191), selectedOrder(18-191), getLogSelectedOrder(19-191), arrSelectConfig(21-191), arrOrder(34-131), mapEnergyDiff(34-131), randomOrder(44-45), arrLogString(46-131), mapWeight(47-131), totalWeight(48-131), (for generator)(51-59), (for state)(51-59), (for control)(51-59), _(52-57), orderInfo(52-57), getOrderIdWithColor(60-131), getSpecialOrderDesc(61-131), (for generator)(67-117), (for state)(67-117), (for control)(67-117), _(68-115), order(68-115), config(159-191), orderId(161-191)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Info')]
  0002  GETTABUP  R3 = _ENV[K2('string')]
  0003  GETTABLE  R3 = R3[K3('format')]
  0004  LOADK     R4 = K4 '[宝箱连连] 开始尝试附着订单，轮次：%s，id：%d'
  0005  SELF      R6 = R0[K5('IsCycleRound')] (self)
  0006  CALL      R5 = call(R5, 1 args, 1 rets)
  0007  TEST      if not R5 then   -> -131063
  0008  JMP       (jump)   -> 12
  0009  LOADK     R5 = K6 '循环轮'
  0010  TEST      if not R5 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  LOADK     R5 = K7 '非循环轮'
  0013  MOVE      R6 = R0
  0014  CALL      R3 = call(R3, -1 args, 3 rets)
  0015  CALL      R2 = call(R2, 0 args, -1 rets)
  0016  CLOSURE   R2 = closure proto0
  0017  LOADNIL   R3..R3 = nil
  0018  CLOSURE   R4 = closure proto1
  0019  SELF      R6 = R0[K8('_GetCurrentTriggerSelectConfig')] (self)
  0020  CALL      R5 = call(R5, 1 args, 1 rets)
  0021  GETTABUP  R6 = _ENV[K9('Table')]
  0022  GETTABLE  R6 = R6[K10('IsEmpty')]
  0023  MOVE      R7 = R0
  0024  CALL      R6 = call(R6, 1 args, 1 rets)
  0025  TEST      if not R6 then   -> -131044
  0026  JMP       (jump)   -> 131
  0027  GETTABUP  R6 = _ENV[K0('Log')]
  0028  GETTABLE  R6 = R6[K1('Info')]
  0029  LOADK     R7 = K11 '[宝箱连连] 尝试根据配置附着订单'
  0030  CALL      R6 = call(R6, 0 args, 1 rets)
  0031  SELF      R7 = R0[K12('GetListOrderWeight')] (self)
  0032  MOVE      R8 = R0
  0033  CALL      R6 = call(R6, 2 args, 2 rets)
  0034  GETTABUP  R8 = _ENV[K9('Table')]
  0035  GETTABLE  R8 = R8[K10('IsEmpty')]
  0036  MOVE      R9 = R0
  0037  CALL      R8 = call(R8, 1 args, 1 rets)
  0038  TEST      if not R8 then   -> -131031
  0039  JMP       (jump)   -> 45
  0040  GETTABUP  R8 = _ENV[K9('Table')]
  0041  GETTABLE  R8 = R8[K13('ListWeightSelectOne')]
  0042  MOVE      R9 = R0
  0043  CALL      R8 = call(R8, 1 args, 1 rets)
  0044  GETTABLE  R3 = R8[K14('order')]
  0045  NEWTABLE  R8 = {} (0 items)
  0046  NEWTABLE  R9 = {} (0 items)
  0047  LOADK     R10 = K15 0
  0048  GETTABUP  R11 = _ENV[K16('ipairs')]
  0049  MOVE      R12 = R0
  0050  CALL      R11 = call(R11, 3 args, 1 rets)
  0051  JMP       (jump)   -> 57
  0052  GETTABLE  R16 = R15[K17('Weight')]
  0053  ADD       R10 = R16 add R10
  0054  GETTABLE  R16 = R15[K14('order')]
  0055  GETTABLE  R17 = R15[K17('Weight')]
  0056  SETTABLE  R9[R16] = R17
  0057  TFORCALL  tforcall R11
  0058  TFORLOOP  tforloop R13(sBx=-7)   -> 52
  0059  CLOSURE   R11 = closure proto2
  0060  CLOSURE   R12 = closure proto3
  0061  GETTABUP  R13 = _ENV[K16('ipairs')]
  0062  SELF      R15 = R0[K18('GetBoardModel')] (self)
  0063  CALL      R14 = call(R14, 1 args, 1 rets)
  0064  SELF      R15 = R14[K19('GetOrdersSortedByEnergyDiff')] (self)
  0065  CALL      R14 = call(R14, -1 args, 1 rets)
  0066  CALL      R13 = call(R13, 3 args, -1 rets)
  0067  JMP       (jump)   -> 115
  0068  GETTABLE  R18 = R9[R17]
  0069  TEST      if not R18 then   -> -131001
  0070  JMP       (jump)   -> 96
  0071  GETTABUP  R18 = _ENV[K20('table')]
  0072  GETTABLE  R18 = R18[K21('insert')]
  0073  MOVE      R19 = R0
  0074  GETTABUP  R20 = _ENV[K22('string')]
  0075  GETTABLE  R20 = R20[K23('format')]
  0076  LOADK     R21 = K24 '%s订单id：%s | 体力差额：%f | 权重：%d | 选中概率：%f%%'
  0077  MOVE      R22 = R0
  0078  MOVE      R23 = R0
  0079  CALL      R22 = call(R22, 1 args, 1 rets)
  0080  MOVE      R23 = R0
  0081  MOVE      R24 = R0
  0082  CALL      R23 = call(R23, 1 args, 1 rets)
  0083  GETTABLE  R24 = R7[R17]
  0084  GETTABLE  R25 = R9[R17]
  0085  GETTABLE  R26 = R9[R17]
  0086  GETTABUP  R27 = _ENV[K25('math')]
  0087  GETTABLE  R27 = R27[K26('max')]
  0088  MOVE      R28 = R0
  0089  LOADK     R29 = K27 1
  0090  CALL      R27 = call(R27, 1 args, 2 rets)
  0091  DIV       R26 = R27 div R26
  0092  MUL       R26 = K28(100) mul R26
  0093  CALL      R20 = call(R20, -1 args, 6 rets)
  0094  CALL      R18 = call(R18, 0 args, -1 rets)
  0095  JMP       (jump)   -> 115
  0096  GETTABUP  R18 = _ENV[K20('table')]
  0097  GETTABLE  R18 = R18[K21('insert')]
  0098  MOVE      R19 = R0
  0099  GETTABUP  R20 = _ENV[K22('string')]
  0100  GETTABLE  R20 = R20[K23('format')]
  0101  LOADK     R21 = K29 '%s订单id：%s | 体力差额：%f | 权重：<color=#D32F2F>0</color>'
  0102  MOVE      R22 = R0
  0103  MOVE      R23 = R0
  0104  CALL      R22 = call(R22, 1 args, 1 rets)
  0105  MOVE      R23 = R0
  0106  MOVE      R24 = R0
  0107  CALL      R23 = call(R23, 1 args, 1 rets)
  0108  SELF      R25 = R0[K18('GetBoardModel')] (self)
  0109  CALL      R24 = call(R24, 1 args, 1 rets)
  0110  SELF      R25 = R24[K30('GetOrderFillEnergyDiff')] (self)
  0111  MOVE      R26 = R0
  0112  CALL      R24 = call(R24, -1 args, 2 rets)
  0113  CALL      R20 = call(R20, -1 args, -1 rets)
  0114  CALL      R18 = call(R18, 0 args, -1 rets)
  0115  TFORCALL  tforcall R13
  0116  TFORLOOP  tforloop R15(sBx=-49)   -> 68
  0117  GETTABUP  R13 = _ENV[K0('Log')]
  0118  GETTABLE  R13 = R13[K1('Info')]
  0119  GETTABUP  R14 = _ENV[K22('string')]
  0120  GETTABLE  R14 = R14[K23('format')]
  0121  LOADK     R15 = K31 '[宝箱连连] 根据配置%s\n%s'
  0122  MOVE      R16 = R0
  0123  CALL      R16 = call(R16, 1 args, 0 rets)
  0124  GETTABUP  R17 = _ENV[K20('table')]
  0125  GETTABLE  R17 = R17[K32('concat')]
  0126  MOVE      R18 = R0
  0127  LOADK     R19 = K33 '\n'
  0128  CALL      R17 = call(R17, -1 args, 2 rets)
  0129  CALL      R14 = call(R14, -1 args, -1 rets)
  0130  CALL      R13 = call(R13, 0 args, -1 rets)
  0131  EQ        if R0 eq K34(nil)   -> -129113
  0132  JMP       (jump)   -> 152
  0133  GETTABUP  R6 = _ENV[K0('Log')]
  0134  GETTABLE  R6 = R6[K1('Info')]
  0135  LOADK     R7 = K35 '[宝箱连连] 尝试根据订单差额附着订单'
  0136  CALL      R6 = call(R6, 0 args, 1 rets)
  0137  SELF      R7 = R0[K18('GetBoardModel')] (self)
  0138  CALL      R6 = call(R6, 1 args, 1 rets)
  0139  SELF      R7 = R6[K36('GetNextEnergyDiffOrder')] (self)
  0140  MOVE      R8 = R0
  0141  CALL      R6 = call(R6, 1 args, 2 rets)
  0142  MOVE      R3 = R0
  0143  GETTABUP  R6 = _ENV[K0('Log')]
  0144  GETTABLE  R6 = R6[K1('Info')]
  0145  GETTABUP  R7 = _ENV[K22('string')]
  0146  GETTABLE  R7 = R7[K23('format')]
  0147  LOADK     R8 = K37 '[宝箱连连] 根据订单差额%s'
  0148  MOVE      R9 = R0
  0149  CALL      R9 = call(R9, -1 args, 0 rets)
  0150  CALL      R7 = call(R7, -1 args, -1 rets)
  0151  CALL      R6 = call(R6, 0 args, -1 rets)
  0152  EQ        if R0 eq K34(nil)   -> -129092
  0153  JMP       (jump)   -> 156
  0154  LOADNIL   R6..R6 = nil
  0155  RETURN    return R6..R5
  0156  SELF      R7 = R0[K38('GetCurrentConfig')] (self)
  0157  MOVE      R8 = R0
  0158  CALL      R6 = call(R6, 1 args, 2 rets)
  0159  SELF      R8 = R3[K39('GetId')] (self)
  0160  CALL      R7 = call(R7, 1 args, 1 rets)
  0161  SELF      R9 = R0[K40('SetChestCustomerData')] (self)
  0162  MOVE      R10 = R0
  0163  GETTABLE  R11 = R6[K41('rawConfig')]
  0164  CALL      R8 = call(R8, 0 args, 3 rets)
  0165  SELF      R9 = R0[K42('SetOrderRoundData')] (self)
  0166  MOVE      R10 = R0
  0167  SELF      R12 = R0[K43('GetOrderRoundInfo')] (self)
  0168  CALL      R11 = call(R11, -1 args, 1 rets)
  0169  CALL      R8 = call(R8, 0 args, -1 rets)
  0170  SELF      R9 = R6[K44('HasTimeLimit')] (self)
  0171  CALL      R8 = call(R8, 1 args, 1 rets)
  0172  TEST      if not R8 then   -> -130898
  0173  JMP       (jump)   -> 189
  0174  SELF      R9 = R0[K45('SetChestCustomerEndTime')] (self)
  0175  MOVE      R10 = R0
  0176  GETTABUP  R11 = _ENV[K25('math')]
  0177  GETTABLE  R11 = R11[K46('min')]
  0178  GETTABUP  R12 = _ENV[K47('GM')]
  0179  GETTABLE  R12 = R12[K48('GameModel')]
  0180  SELF      R13 = R12[K49('GetServerTime')] (self)
  0181  CALL      R12 = call(R12, 1 args, 1 rets)
  0182  SELF      R14 = R6[K50('GetChestDurationInSeconds')] (self)
  0183  CALL      R13 = call(R13, 1 args, 1 rets)
  0184  ADD       R12 = R13 add R12
  0185  SELF      R14 = R0[K51('GetChestCustomerValidEndTime')] (self)
  0186  CALL      R13 = call(R13, -1 args, 1 rets)
  0187  CALL      R11 = call(R11, -1 args, -1 rets)
  0188  CALL      R8 = call(R8, 0 args, -1 rets)
  0189  RETURN    return R7..R6
  0190  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1132-1134 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=0
    ;   K[0]='IsAvatarReplaced'
    ;   locals: order(0-5)
    0000  SELF      R2 = R0[K0('IsAvatarReplaced')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  NOT       R1 = not R0
    0003  RETURN    return R1..R0
    0004  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 1137-1139 np=0 va=0 ms=5 code=22 consts=8 upvals=2 protos=0
    ;   K[0]='string'
    ;   K[1]='format'
    ;   K[2]='附着订单%s，当前选中订单：%s'
    ;   K[3]=nil
    ;   K[4]='<color=#388E3C>成功</color>'
    ;   K[5]='<color=#D32F2F>失败</color>'
    ;   K[6]='GetId'
    ;   K[7]='未选中'
    ;   upvals: _ENV, selectedOrder
    0000  GETTABUP  R0 = _ENV[K0('string')]
    0001  GETTABLE  R0 = R0[K1('format')]
    0002  LOADK     R1 = K2 '附着订单%s，当前选中订单：%s'
    0003  GETUPVAL  R2 = _ENV
    0004  EQ        if R1 eq K3(nil)   -> -129783
    0005  JMP       (jump)   -> 9
    0006  LOADK     R2 = K4 '<color=#388E3C>成功</color>'
    0007  TEST      if not R2 then   -> -131062
    0008  JMP       (jump)   -> 10
    0009  LOADK     R2 = K5 '<color=#D32F2F>失败</color>'
    0010  GETUPVAL  R3 = _ENV
    0011  EQ        if R1 eq K3(nil)   -> -129264
    0012  JMP       (jump)   -> 18
    0013  GETUPVAL  R3 = _ENV
    0014  SELF      R4 = R3[K6('GetId')] (self)
    0015  CALL      R3 = call(R3, 1 args, 1 rets)
    0016  TEST      if not R3 then   -> -131053
    0017  JMP       (jump)   -> 19
    0018  LOADK     R3 = K7 '未选中'
    0019  TAILCALL  tailcall(R0, 0)
    0020  RETURN    return R0..R-1
    0021  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 1160-1162 np=1 va=0 ms=5 code=15 consts=4 upvals=2 protos=0
    ;   K[0]='string'
    ;   K[1]='format'
    ;   K[2]='<color=#FFA000>%s</color>'
    ;   K[3]='GetId'
    ;   upvals: selectedOrder, _ENV
    ;   locals: order(0-15)
    0000  GETUPVAL  R1 = selectedOrder
    0001  EQ        if R0 eq R1   -> -131068
    0002  JMP       (jump)   -> 11
    0003  GETTABUP  R1 = _ENV[K0('string')]
    0004  GETTABLE  R1 = R1[K1('format')]
    0005  LOADK     R2 = K2 '<color=#FFA000>%s</color>'
    0006  SELF      R4 = R0[K3('GetId')] (self)
    0007  CALL      R3 = call(R3, -1 args, 1 rets)
    0008  CALL      R1 = call(R1, 1 args, -1 rets)
    0009  TEST      if not R1 then   -> -131060
    0010  JMP       (jump)   -> 13
    0011  SELF      R2 = R0[K3('GetId')] (self)
    0012  CALL      R1 = call(R1, 1 args, 1 rets)
    0013  RETURN    return R1..R0
    0014  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 1164-1172 np=1 va=0 ms=5 code=18 consts=6 upvals=1 protos=0
    ;   K[0]='IsChestCustomerOrder'
    ;   K[1]='GetId'
    ;   K[2]='[宝箱商人订单] '
    ;   K[3]='IsAvatarReplaced'
    ;   K[4]='[宝箱顾客订单] '
    ;   K[5]=''
    ;   upvals: self
    ;   locals: order(0-18)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('IsChestCustomerOrder')] (self)
    0002  SELF      R4 = R0[K1('GetId')] (self)
    0003  CALL      R3 = call(R3, -1 args, 1 rets)
    0004  CALL      R1 = call(R1, 1 args, -1 rets)
    0005  TEST      if not R1 then   -> -131065
    0006  JMP       (jump)   -> 9
    0007  LOADK     R1 = K2 '[宝箱商人订单] '
    0008  RETURN    return R1..R0
    0009  SELF      R2 = R0[K3('IsAvatarReplaced')] (self)
    0010  CALL      R1 = call(R1, 1 args, 1 rets)
    0011  TEST      if not R1 then   -> -131059
    0012  JMP       (jump)   -> 15
    0013  LOADK     R1 = K4 '[宝箱顾客订单] '
    0014  RETURN    return R1..R0
    0015  LOADK     R1 = K5 ''
    0016  RETURN    return R1..R0
    0017  RETURN    return R0..R-1
; ---------- proto108 [_OnOrderFinished] ----------
  ; fn ?  line 1204-1231 np=2 va=0 ms=15 code=121 consts=31 upvals=1 protos=0
  ;   K[0]='order'
  ;   K[1]='IsChestCustomerOrder'
  ;   K[2]='GetId'
  ;   K[3]='GetChestCustomerData'
  ;   K[4]='TryClaimChestCustomerReward'
  ;   K[5]='GetRewards'
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   K[8]='curRound: '
  ;   K[9]='tostring'
  ;   K[10]='GetOrderRoundData'
  ;   K[11]='stage: '
  ;   K[12]='ui: '
  ;   K[13]='GetUIBoxId'
  ;   K[14]='GetActivityDefinition'
  ;   K[15]='orderId: '
  ;   K[16]='orderRewards: '
  ;   K[17]='concat'
  ;   K[18]='ConfigUtil'
  ;   K[19]='GetArrFromCurrency'
  ;   K[20]=','
  ;   K[21]='itemRewards: '
  ;   K[22]='GM'
  ;   K[23]='BIManager'
  ;   K[24]='LogAction'
  ;   K[25]='EBIType'
  ;   K[26]='ChestNonstopCompleteOrder'
  ;   K[27]=';'
  ;   K[28]='SetChestCustomerData'
  ;   K[29]='SetOrderRoundData'
  ;   K[30]='SetChestCustomerEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-121), msg(0-121), order(7-121), config(17-120), arrItemCode(22-120), orderArrRewards(24-120), biInfo(25-120)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  GETTABLE  R2 = R1[K0('order')]
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R2 = R1[K0('order')]
  0007  SELF      R4 = R0[K1('IsChestCustomerOrder')] (self)
  0008  SELF      R6 = R2[K2('GetId')] (self)
  0009  CALL      R5 = call(R5, -1 args, 1 rets)
  0010  CALL      R3 = call(R3, 1 args, -1 rets)
  0011  TEST      if not R3 then   -> -131059
  0012  JMP       (jump)   -> 120
  0013  SELF      R4 = R0[K3('GetChestCustomerData')] (self)
  0014  SELF      R6 = R2[K2('GetId')] (self)
  0015  CALL      R5 = call(R5, -1 args, 1 rets)
  0016  CALL      R3 = call(R3, 1 args, -1 rets)
  0017  SELF      R5 = R0[K4('TryClaimChestCustomerReward')] (self)
  0018  SELF      R7 = R2[K2('GetId')] (self)
  0019  CALL      R6 = call(R6, 1 args, 1 rets)
  0020  MOVE      R7 = R0
  0021  CALL      R4 = call(R4, 1 args, 3 rets)
  0022  SELF      R6 = R2[K5('GetRewards')] (self)
  0023  CALL      R5 = call(R5, 1 args, 1 rets)
  0024  NEWTABLE  R6 = {} (0 items)
  0025  GETTABUP  R7 = _ENV[K6('table')]
  0026  GETTABLE  R7 = R7[K7('insert')]
  0027  MOVE      R8 = R0
  0028  LOADK     R9 = K8 'curRound: '
  0029  GETTABUP  R10 = _ENV[K9('tostring')]
  0030  SELF      R12 = R0[K10('GetOrderRoundData')] (self)
  0031  SELF      R14 = R2[K2('GetId')] (self)
  0032  CALL      R13 = call(R13, -1 args, 1 rets)
  0033  CALL      R11 = call(R11, -1 args, -1 rets)
  0034  CALL      R10 = call(R10, 1 args, -1 rets)
  0035  CONCAT    R9 = concat(R9..R9)
  0036  CALL      R7 = call(R7, 0 args, 2 rets)
  0037  GETTABUP  R7 = _ENV[K6('table')]
  0038  GETTABLE  R7 = R7[K7('insert')]
  0039  MOVE      R8 = R0
  0040  LOADK     R9 = K11 'stage: '
  0041  GETTABUP  R10 = _ENV[K9('tostring')]
  0042  SELF      R12 = R3[K2('GetId')] (self)
  0043  CALL      R11 = call(R11, -1 args, 1 rets)
  0044  CALL      R10 = call(R10, 1 args, -1 rets)
  0045  CONCAT    R9 = concat(R9..R9)
  0046  CALL      R7 = call(R7, 0 args, 2 rets)
  0047  GETTABUP  R7 = _ENV[K6('table')]
  0048  GETTABLE  R7 = R7[K7('insert')]
  0049  MOVE      R8 = R0
  0050  LOADK     R9 = K12 'ui: '
  0051  GETTABUP  R10 = _ENV[K9('tostring')]
  0052  SELF      R12 = R3[K13('GetUIBoxId')] (self)
  0053  SELF      R14 = R0[K14('GetActivityDefinition')] (self)
  0054  CALL      R13 = call(R13, -1 args, 1 rets)
  0055  CALL      R11 = call(R11, -1 args, -1 rets)
  0056  CALL      R10 = call(R10, 1 args, -1 rets)
  0057  CONCAT    R9 = concat(R9..R9)
  0058  CALL      R7 = call(R7, 0 args, 2 rets)
  0059  GETTABUP  R7 = _ENV[K6('table')]
  0060  GETTABLE  R7 = R7[K7('insert')]
  0061  MOVE      R8 = R0
  0062  LOADK     R9 = K15 'orderId: '
  0063  GETTABUP  R10 = _ENV[K9('tostring')]
  0064  SELF      R12 = R2[K2('GetId')] (self)
  0065  CALL      R11 = call(R11, -1 args, 1 rets)
  0066  CALL      R10 = call(R10, 1 args, -1 rets)
  0067  CONCAT    R9 = concat(R9..R9)
  0068  CALL      R7 = call(R7, 0 args, 2 rets)
  0069  GETTABUP  R7 = _ENV[K6('table')]
  0070  GETTABLE  R7 = R7[K7('insert')]
  0071  MOVE      R8 = R0
  0072  LOADK     R9 = K16 'orderRewards: '
  0073  GETTABUP  R10 = _ENV[K6('table')]
  0074  GETTABLE  R10 = R10[K17('concat')]
  0075  GETTABUP  R11 = _ENV[K18('ConfigUtil')]
  0076  GETTABLE  R11 = R11[K19('GetArrFromCurrency')]
  0077  MOVE      R12 = R0
  0078  CALL      R11 = call(R11, 1 args, 1 rets)
  0079  LOADK     R12 = K20 ','
  0080  CALL      R10 = call(R10, 1 args, 2 rets)
  0081  CONCAT    R9 = concat(R9..R9)
  0082  CALL      R7 = call(R7, 0 args, 2 rets)
  0083  GETTABUP  R7 = _ENV[K6('table')]
  0084  GETTABLE  R7 = R7[K7('insert')]
  0085  MOVE      R8 = R0
  0086  LOADK     R9 = K21 'itemRewards: '
  0087  GETTABUP  R10 = _ENV[K6('table')]
  0088  GETTABLE  R10 = R10[K17('concat')]
  0089  MOVE      R11 = R0
  0090  LOADK     R12 = K20 ','
  0091  CALL      R10 = call(R10, 1 args, 2 rets)
  0092  CONCAT    R9 = concat(R9..R9)
  0093  CALL      R7 = call(R7, 0 args, 2 rets)
  0094  GETTABUP  R7 = _ENV[K22('GM')]
  0095  GETTABLE  R7 = R7[K23('BIManager')]
  0096  SELF      R8 = R7[K24('LogAction')] (self)
  0097  GETTABUP  R9 = _ENV[K25('EBIType')]
  0098  GETTABLE  R9 = R9[K26('ChestNonstopCompleteOrder')]
  0099  GETTABUP  R10 = _ENV[K6('table')]
  0100  GETTABLE  R10 = R10[K17('concat')]
  0101  MOVE      R11 = R0
  0102  LOADK     R12 = K27 ';'
  0103  CALL      R10 = call(R10, -1 args, 2 rets)
  0104  CALL      R7 = call(R7, 0 args, -1 rets)
  0105  SELF      R8 = R0[K28('SetChestCustomerData')] (self)
  0106  SELF      R10 = R2[K2('GetId')] (self)
  0107  CALL      R9 = call(R9, 1 args, 1 rets)
  0108  LOADNIL   R10..R10 = nil
  0109  CALL      R7 = call(R7, 0 args, 3 rets)
  0110  SELF      R8 = R0[K29('SetOrderRoundData')] (self)
  0111  SELF      R10 = R2[K2('GetId')] (self)
  0112  CALL      R9 = call(R9, 1 args, 1 rets)
  0113  LOADNIL   R10..R10 = nil
  0114  CALL      R7 = call(R7, 0 args, 3 rets)
  0115  SELF      R8 = R0[K30('SetChestCustomerEndTime')] (self)
  0116  SELF      R10 = R2[K2('GetId')] (self)
  0117  CALL      R9 = call(R9, 1 args, 1 rets)
  0118  LOADNIL   R10..R10 = nil
  0119  CALL      R7 = call(R7, 0 args, 3 rets)
  0120  RETURN    return R0..R-1
; ---------- proto109 [TryClaimChestCustomerReward] ----------
  ; fn ?  line 1242-1287 np=3 va=0 ms=24 code=113 consts=35 upvals=4 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetRewardScore'
  ;   K[2]='GetRewardType'
  ;   K[3]='EItemFillRewardType'
  ;   K[4]='Green'
  ;   K[5]='ItemFillHelper'
  ;   K[6]='FillOrderItemWithGreen'
  ;   K[7]='GetMaxRewardScore'
  ;   K[8]='GetMinRewardNum'
  ;   K[9]='[宝箱连连] '
  ;   K[10]='FillOrderItemWithScore'
  ;   K[11]='EBIType'
  ;   K[12]='ChestNonstopOrderReward'
  ;   K[13]='pairs'
  ;   K[14]='FindEmptyPositionFromBottom2Top'
  ;   K[15]=nil
  ;   K[16]='GenerateItem'
  ;   K[17]='table'
  ;   K[18]='insert'
  ;   K[19]='GM'
  ;   K[20]='BIManager'
  ;   K[21]='LogAcquire'
  ;   K[22]=1
  ;   K[23]='EGameMode'
  ;   K[24]='Board'
  ;   K[25]='PROPERTY_TYPE'
  ;   K[26]='PROPERTY_COUNT'
  ;   K[27]='RewardApi'
  ;   K[28]='AcquireRewardsLogic'
  ;   K[29]='EPropertySource'
  ;   K[30]='Give'
  ;   K[31]='ERewardScene'
  ;   K[32]='Other'
  ;   K[33]='m_mapArrRewards'
  ;   K[34]='m_mapArrItemRewards'
  ;   upvals: _ENV, kScoreThreshold, kLevelMin, kLevelMax
  ;   locals: self(0-113), orderId(0-113), config(0-113), boardModel(2-113), rewardScore(4-113), rewardType(6-113), arrItemCode(7-113), arrRewards(43-113), arrItemRewards(44-113), eBIType(46-113), emptyPosition(47-113), newItem(47-113), (for generator)(50-88), (for state)(50-88), (for control)(50-88), _(51-86), itemCode(51-86)
  0000  SELF      R4 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  SELF      R5 = R2[K1('GetRewardScore')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  SELF      R6 = R2[K2('GetRewardType')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  LOADNIL   R6..R6 = nil
  0007  GETTABUP  R7 = _ENV[K3('EItemFillRewardType')]
  0008  GETTABLE  R7 = R7[K4('Green')]
  0009  EQ        if R0 eq R7   -> -128494
  0010  JMP       (jump)   -> 27
  0011  GETTABUP  R7 = _ENV[K5('ItemFillHelper')]
  0012  GETTABLE  R7 = R7[K6('FillOrderItemWithGreen')]
  0013  MOVE      R8 = R0
  0014  MOVE      R9 = R0
  0015  GETUPVAL  R10 = _ENV
  0016  SELF      R12 = R2[K7('GetMaxRewardScore')] (self)
  0017  CALL      R11 = call(R11, 1 args, 1 rets)
  0018  SELF      R13 = R2[K8('GetMinRewardNum')] (self)
  0019  CALL      R12 = call(R12, 1 args, 1 rets)
  0020  GETUPVAL  R13 = _ENV
  0021  GETUPVAL  R14 = _ENV
  0022  LOADNIL   R15..R15 = nil
  0023  LOADK     R16 = K9 '[宝箱连连] '
  0024  CALL      R7 = call(R7, 1 args, 9 rets)
  0025  MOVE      R6 = R0
  0026  JMP       (jump)   -> 42
  0027  GETTABUP  R7 = _ENV[K5('ItemFillHelper')]
  0028  GETTABLE  R7 = R7[K10('FillOrderItemWithScore')]
  0029  MOVE      R8 = R0
  0030  MOVE      R9 = R0
  0031  GETUPVAL  R10 = _ENV
  0032  SELF      R12 = R2[K7('GetMaxRewardScore')] (self)
  0033  CALL      R11 = call(R11, 1 args, 1 rets)
  0034  SELF      R13 = R2[K8('GetMinRewardNum')] (self)
  0035  CALL      R12 = call(R12, 1 args, 1 rets)
  0036  GETUPVAL  R13 = _ENV
  0037  GETUPVAL  R14 = _ENV
  0038  LOADNIL   R15..R15 = nil
  0039  LOADK     R16 = K9 '[宝箱连连] '
  0040  CALL      R7 = call(R7, 1 args, 9 rets)
  0041  MOVE      R6 = R0
  0042  NEWTABLE  R7 = {} (0 items)
  0043  NEWTABLE  R8 = {} (0 items)
  0044  GETTABUP  R9 = _ENV[K11('EBIType')]
  0045  GETTABLE  R9 = R9[K12('ChestNonstopOrderReward')]
  0046  LOADNIL   R10..R10 = nil
  0047  GETTABUP  R12 = _ENV[K13('pairs')]
  0048  MOVE      R13 = R0
  0049  CALL      R12 = call(R12, 3 args, 1 rets)
  0050  JMP       (jump)   -> 86
  0051  SELF      R18 = R3[K14('FindEmptyPositionFromBottom2Top')] (self)
  0052  CALL      R17 = call(R17, 1 args, 1 rets)
  0053  MOVE      R10 = R0
  0054  EQ        if R1 eq K15(nil)   -> -125625
  0055  JMP       (jump)   -> 77
  0056  SELF      R18 = R3[K16('GenerateItem')] (self)
  0057  MOVE      R19 = R0
  0058  MOVE      R20 = R0
  0059  CALL      R17 = call(R17, 1 args, 3 rets)
  0060  MOVE      R11 = R0
  0061  GETTABUP  R17 = _ENV[K17('table')]
  0062  GETTABLE  R17 = R17[K18('insert')]
  0063  MOVE      R18 = R0
  0064  MOVE      R19 = R0
  0065  CALL      R17 = call(R17, 0 args, 2 rets)
  0066  GETTABUP  R17 = _ENV[K19('GM')]
  0067  GETTABLE  R17 = R17[K20('BIManager')]
  0068  SELF      R18 = R17[K21('LogAcquire')] (self)
  0069  MOVE      R19 = R0
  0070  LOADK     R20 = K22 1
  0071  MOVE      R21 = R0
  0072  LOADBOOL  R22 = true
  0073  GETTABUP  R23 = _ENV[K23('EGameMode')]
  0074  GETTABLE  R23 = R23[K24('Board')]
  0075  CALL      R17 = call(R17, 0 args, 6 rets)
  0076  JMP       (jump)   -> 86
  0077  GETTABUP  R17 = _ENV[K17('table')]
  0078  GETTABLE  R17 = R17[K18('insert')]
  0079  MOVE      R18 = R0
  0080  NEWTABLE  R19 = {} (0 items)
  0081  GETTABUP  R20 = _ENV[K25('PROPERTY_TYPE')]
  0082  SETTABLE  R19[R20] = R16
  0083  GETTABUP  R20 = _ENV[K26('PROPERTY_COUNT')]
  0084  SETTABLE  R19[R20] = K22(1)
  0085  CALL      R17 = call(R17, 0 args, 2 rets)
  0086  TFORCALL  tforcall R12
  0087  TFORLOOP  tforloop R14(sBx=-37)   -> 51
  0088  GETTABUP  R12 = _ENV[K27('RewardApi')]
  0089  GETTABLE  R12 = R12[K28('AcquireRewardsLogic')]
  0090  MOVE      R13 = R0
  0091  GETTABUP  R14 = _ENV[K29('EPropertySource')]
  0092  GETTABLE  R14 = R14[K30('Give')]
  0093  MOVE      R15 = R0
  0094  GETTABUP  R16 = _ENV[K31('ERewardScene')]
  0095  GETTABLE  R16 = R16[K32('Other')]
  0096  CALL      R12 = call(R12, 0 args, 4 rets)
  0097  GETTABLE  R12 = R0[K33('m_mapArrRewards')]
  0098  TEST      if not R12 then   -> -130971
  0099  JMP       (jump)   -> 101
  0100  NEWTABLE  R12 = {} (0 items)
  0101  SETTABLE  R0[K33('m_mapArrRewards')] = R12
  0102  GETTABLE  R12 = R0[K34('m_mapArrItemRewards')]
  0103  TEST      if not R12 then   -> -130966
  0104  JMP       (jump)   -> 106
  0105  NEWTABLE  R12 = {} (0 items)
  0106  SETTABLE  R0[K34('m_mapArrItemRewards')] = R12
  0107  GETTABLE  R12 = R0[K33('m_mapArrRewards')]
  0108  SETTABLE  R12[R1] = R7
  0109  GETTABLE  R12 = R0[K34('m_mapArrItemRewards')]
  0110  SETTABLE  R12[R1] = R8
  0111  RETURN    return R6..R5
  0112  RETURN    return R0..R-1
; ---------- proto110 [GetAndClearRewardsForView] ----------
  ; fn ?  line 1290-1295 np=2 va=0 ms=6 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapArrRewards'
  ;   K[1]='m_mapArrItemRewards'
  ;   K[2]=nil
  ;   locals: self(0-12), orderId(0-12), arrRewards(4-12), arrItemRewards(4-12)
  0000  GETTABLE  R2 = R0[K0('m_mapArrRewards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABLE  R3 = R0[K1('m_mapArrItemRewards')]
  0003  GETTABLE  R3 = R3[R1]
  0004  GETTABLE  R4 = R0[K0('m_mapArrRewards')]
  0005  SETTABLE  R4[R1] = K2(nil)
  0006  GETTABLE  R4 = R0[K1('m_mapArrItemRewards')]
  0007  SETTABLE  R4[R1] = K2(nil)
  0008  MOVE      R4 = R0
  0009  MOVE      R5 = R0
  0010  RETURN    return R4..R3
  0011  RETURN    return R0..R-1
; ---------- proto111 [_OnChangeGameMode] ----------
  ; fn ?  line 1297-1307 np=1 va=0 ms=3 code=16 consts=7 upvals=1 protos=0
  ;   K[0]='IsChestCustomerValid'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Board'
  ;   K[6]='_TryRemoveEmptyChestCustomerData'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  SELF      R2 = R0[K0('IsChestCustomerValid')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R1 = _ENV[K1('GM')]
  0006  GETTABLE  R1 = R1[K2('SceneManager')]
  0007  SELF      R2 = R1[K3('GetGameMode')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABUP  R2 = _ENV[K4('EGameMode')]
  0010  GETTABLE  R2 = R2[K5('Board')]
  0011  EQ        if R0 eq R2   -> -130545
  0012  JMP       (jump)   -> 15
  0013  SELF      R2 = R0[K6('_TryRemoveEmptyChestCustomerData')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto112 [_OnBakeOutStateChanged] ----------
  ; fn ?  line 1309-1316 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='IsChestCustomerValid'
  ;   K[1]='_TryRemoveEmptyChestCustomerData'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('IsChestCustomerValid')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K1('_TryRemoveEmptyChestCustomerData')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto113 [_OnOrderCellAvatarLoaded] ----------
  ; fn ?  line 1318-1323 np=2 va=0 ms=7 code=11 consts=5 upvals=0 protos=0
  ;   K[0]='orderCell'
  ;   K[1]='avatarName'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='OrderCellAvatarName'
  ;   K[4]='_DispatchOrderAnimationLoadedEvent'
  ;   locals: self(0-11), msg(0-11), orderCell(2-11), avatarName(2-11)
  0000  GETTABLE  R2 = R1[K0('orderCell')]
  0001  GETTABLE  R3 = R1[K1('avatarName')]
  0002  SELF      R5 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  GETTABLE  R4 = R4[K3('OrderCellAvatarName')]
  0005  EQ        if R0 eq R4   -> -129525
  0006  JMP       (jump)   -> 10
  0007  SELF      R5 = R0[K4('_DispatchOrderAnimationLoadedEvent')] (self)
  0008  MOVE      R6 = R0
  0009  CALL      R4 = call(R4, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto114 [_OpenWindow] ----------
  ; fn ?  line 1330-1332 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
; ---------- proto115 [OpenMainWindow] ----------
  ; fn ?  line 1336-1338 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
; ---------- proto116 [OpenHelpWindow] ----------
  ; fn ?  line 1341-1343 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='HelpWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('HelpWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto117 [CanPopSimpleStart] ----------
  ; fn ?  line 1345-1347 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='CanTrigger'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('CanTrigger')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto118 [OnMainWindowClosed] ----------
  ; fn ?  line 1349-1351 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchMainWindowClosedEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchMainWindowClosedEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto119 [OnHelpWindowClosed] ----------
  ; fn ?  line 1353-1355 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchHelpWindowClosedEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchHelpWindowClosedEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto120 [_IsEntryVisible] ----------
  ; fn ?  line 1361-1363 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]='IsTriggered'
  ;   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('IsTriggered')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
; ---------- proto121 [GetMapEntryShowConfig] ----------
  ; fn ?  line 1366-1376 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]='ChestNonstop'
  ;   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('ChestNonstop')]
  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 1372-1374 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
; ---------- proto122 [OnEntryClicked] ----------
  ; fn ?  line 1379-1383 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
; ---------- proto123 [_IsChestCustomerOrderVisible] ----------
  ; fn ?  line 1386-1388 np=2 va=0 ms=6 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='IsChestCustomerOrder'
  ;   K[1]='GetId'
  ;   K[2]='IsChestCustomerInDuration'
  ;   locals: self(0-12), order(0-12)
  0000  SELF      R3 = R0[K0('IsChestCustomerOrder')] (self)
  0001  SELF      R5 = R1[K1('GetId')] (self)
  0002  CALL      R4 = call(R4, -1 args, 1 rets)
  0003  CALL      R2 = call(R2, 1 args, -1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R3 = R0[K2('IsChestCustomerInDuration')] (self)
  0007  SELF      R5 = R1[K1('GetId')] (self)
  0008  CALL      R4 = call(R4, -1 args, 1 rets)
  0009  CALL      R2 = call(R2, 1 args, -1 rets)
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto124 [GetOrderCellAvatarConfig] ----------
  ; fn ?  line 1391-1401 np=1 va=0 ms=5 code=14 consts=8 upvals=0 protos=1
  ;   K[0]='GetActivityDefinition'
  ;   K[1]='avatarName'
  ;   K[2]='OrderCellAvatarName'
  ;   K[3]='bNoMask'
  ;   K[4]=true
  ;   K[5]='checkFun'
  ;   K[6]='events'
  ;   K[7]='RefreshEntryEvent'
  ;   locals: self(0-14), activityDefinition(2-14)
  0000  SELF      R2 = R0[K0('GetActivityDefinition')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  NEWTABLE  R2 = {} (0 items)
  0003  GETTABLE  R3 = R1[K2('OrderCellAvatarName')]
  0004  SETTABLE  R2[K1('avatarName')] = R3
  0005  SETTABLE  R2[K3('bNoMask')] = K4(true)
  0006  CLOSURE   R3 = closure proto0
  0007  SETTABLE  R2[K5('checkFun')] = R3
  0008  NEWTABLE  R3 = {} (1 items)
  0009  GETTABLE  R4 = R1[K7('RefreshEntryEvent')]
  0010  SETLIST   setlist R3[B=1,C=1]
  0011  SETTABLE  R2[K6('events')] = R3
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 1396-1398 np=1 va=0 ms=5 code=14 consts=3 upvals=1 protos=0
    ;   K[0]='_IsChestCustomerOrderVisible'
    ;   K[1]='IsSelectOrderAnimationPlaying'
    ;   K[2]='GetId'
    ;   upvals: self
    ;   locals: order(0-14)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('_IsChestCustomerOrderVisible')] (self)
    0002  MOVE      R3 = R0
    0003  CALL      R1 = call(R1, 1 args, 2 rets)
    0004  TEST      if not R1 then   -> -131066
    0005  JMP       (jump)   -> 12
    0006  GETUPVAL  R1 = self
    0007  SELF      R2 = R1[K1('IsSelectOrderAnimationPlaying')] (self)
    0008  SELF      R4 = R0[K2('GetId')] (self)
    0009  CALL      R3 = call(R3, -1 args, 1 rets)
    0010  CALL      R1 = call(R1, 1 args, -1 rets)
    0011  NOT       R1 = not R0
    0012  RETURN    return R1..R0
    0013  RETURN    return R0..R-1
; ---------- proto125 [GetOrderCellStyleConfig] ----------
  ; fn ?  line 1404-1416 np=1 va=0 ms=5 code=22 consts=14 upvals=1 protos=1
  ;   K[0]='GetActivityDefinition'
  ;   K[1]='bottomRewardsBg'
  ;   K[2]='OrderCellBottomRewardsBgImageName'
  ;   K[3]='bottom'
  ;   K[4]='OrderCellBottomImageName'
  ;   K[5]='bottomRewardOutlineColor'
  ;   K[6]='UIUtil'
  ;   K[7]='ConvertHexColor2CSColor'
  ;   K[8]='OrderCellBottomRewardOutlineColor'
  ;   K[9]='backLightPrefabName'
  ;   K[10]='OrderCellBackLightPrefabName'
  ;   K[11]='checkFun'
  ;   K[12]='events'
  ;   K[13]='RefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-22), activityDefinition(2-22)
  0000  SELF      R2 = R0[K0('GetActivityDefinition')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  NEWTABLE  R2 = {} (0 items)
  0003  GETTABLE  R3 = R1[K2('OrderCellBottomRewardsBgImageName')]
  0004  SETTABLE  R2[K1('bottomRewardsBg')] = R3
  0005  GETTABLE  R3 = R1[K4('OrderCellBottomImageName')]
  0006  SETTABLE  R2[K3('bottom')] = R3
  0007  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0008  GETTABLE  R3 = R3[K7('ConvertHexColor2CSColor')]
  0009  GETTABLE  R4 = R1[K8('OrderCellBottomRewardOutlineColor')]
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  SETTABLE  R2[K5('bottomRewardOutlineColor')] = R3
  0012  GETTABLE  R3 = R1[K10('OrderCellBackLightPrefabName')]
  0013  SETTABLE  R2[K9('backLightPrefabName')] = R3
  0014  CLOSURE   R3 = closure proto0
  0015  SETTABLE  R2[K11('checkFun')] = R3
  0016  NEWTABLE  R3 = {} (1 items)
  0017  GETTABLE  R4 = R1[K13('RefreshEntryEvent')]
  0018  SETLIST   setlist R3[B=1,C=1]
  0019  SETTABLE  R2[K12('events')] = R3
  0020  RETURN    return R2..R1
  0021  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 1411-1413 np=1 va=0 ms=4 code=6 consts=1 upvals=1 protos=0
    ;   K[0]='_IsChestCustomerOrderVisible'
    ;   upvals: self
    ;   locals: order(0-6)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('_IsChestCustomerOrderVisible')] (self)
    0002  MOVE      R3 = R0
    0003  TAILCALL  tailcall(R1, 0)
    0004  RETURN    return R1..R0
    0005  RETURN    return R0..R-1
; ---------- proto126 [LogStarted] ----------
  ; fn ?  line 1423-1425 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='LogActivity'
  ;   K[1]='EBIType'
  ;   K[2]='ActivityStarted'
  ;   K[3]=''
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('LogActivity')] (self)
  0001  GETTABUP  R3 = _ENV[K1('EBIType')]
  0002  GETTABLE  R3 = R3[K2('ActivityStarted')]
  0003  LOADK     R4 = K3 ''
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto127 [_TryLogChestNonstopReachStage] ----------
  ; fn ?  line 1427-1442 np=3 va=0 ms=20 code=66 consts=21 upvals=1 protos=0
  ;   K[0]='GetProgressByScore'
  ;   K[1]='math'
  ;   K[2]='floor'
  ;   K[3]=1
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='curRound: '
  ;   K[7]='tostring'
  ;   K[8]='GetRoundCount'
  ;   K[9]='stage: '
  ;   K[10]='ui: '
  ;   K[11]='GetCurrentConfig'
  ;   K[12]='GetUIBoxId'
  ;   K[13]='GetActivityDefinition'
  ;   K[14]='GM'
  ;   K[15]='BIManager'
  ;   K[16]='LogAction'
  ;   K[17]='EBIType'
  ;   K[18]='ChestNonstopReachStage'
  ;   K[19]='concat'
  ;   K[20]=';'
  ;   upvals: _ENV
  ;   locals: self(0-66), lastScore(0-66), curScore(0-66), lastProgress(3-66), curProgress(6-66), lastStageIdx(10-66), curStageIdx(14-66), (for index)(17-65), (for limit)(17-65), (for step)(17-65), stage(18-64), biInfo(19-64)
  0000  SELF      R4 = R0[K0('GetProgressByScore')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  SELF      R5 = R0[K0('GetProgressByScore')] (self)
  0004  MOVE      R6 = R0
  0005  CALL      R4 = call(R4, 1 args, 2 rets)
  0006  GETTABUP  R5 = _ENV[K1('math')]
  0007  GETTABLE  R5 = R5[K2('floor')]
  0008  MOVE      R6 = R0
  0009  CALL      R5 = call(R5, 1 args, 1 rets)
  0010  GETTABUP  R6 = _ENV[K1('math')]
  0011  GETTABLE  R6 = R6[K2('floor')]
  0012  MOVE      R7 = R0
  0013  CALL      R6 = call(R6, 1 args, 1 rets)
  0014  ADD       R7 = K3(1) add R5
  0015  MOVE      R8 = R0
  0016  LOADK     R9 = K3 1
  0017  FORPREP   forprep R7(sBx=46)   -> 64
  0018  NEWTABLE  R11 = {} (0 items)
  0019  GETTABUP  R12 = _ENV[K4('table')]
  0020  GETTABLE  R12 = R12[K5('insert')]
  0021  MOVE      R13 = R0
  0022  LOADK     R14 = K6 'curRound: '
  0023  GETTABUP  R15 = _ENV[K7('tostring')]
  0024  SELF      R17 = R0[K8('GetRoundCount')] (self)
  0025  CALL      R16 = call(R16, -1 args, 1 rets)
  0026  CALL      R15 = call(R15, 1 args, -1 rets)
  0027  CONCAT    R14 = concat(R14..R14)
  0028  CALL      R12 = call(R12, 0 args, 2 rets)
  0029  GETTABUP  R12 = _ENV[K4('table')]
  0030  GETTABLE  R12 = R12[K5('insert')]
  0031  MOVE      R13 = R0
  0032  LOADK     R14 = K9 'stage: '
  0033  GETTABUP  R15 = _ENV[K7('tostring')]
  0034  MOVE      R16 = R0
  0035  CALL      R15 = call(R15, 1 args, 1 rets)
  0036  CONCAT    R14 = concat(R14..R14)
  0037  CALL      R12 = call(R12, 0 args, 2 rets)
  0038  GETTABUP  R12 = _ENV[K4('table')]
  0039  GETTABLE  R12 = R12[K5('insert')]
  0040  MOVE      R13 = R0
  0041  LOADK     R14 = K10 'ui: '
  0042  GETTABUP  R15 = _ENV[K7('tostring')]
  0043  SELF      R17 = R0[K11('GetCurrentConfig')] (self)
  0044  MOVE      R18 = R0
  0045  CALL      R16 = call(R16, 1 args, 2 rets)
  0046  SELF      R17 = R16[K12('GetUIBoxId')] (self)
  0047  SELF      R19 = R0[K13('GetActivityDefinition')] (self)
  0048  CALL      R18 = call(R18, -1 args, 1 rets)
  0049  CALL      R16 = call(R16, -1 args, -1 rets)
  0050  CALL      R15 = call(R15, 1 args, -1 rets)
  0051  CONCAT    R14 = concat(R14..R14)
  0052  CALL      R12 = call(R12, 0 args, 2 rets)
  0053  GETTABUP  R12 = _ENV[K14('GM')]
  0054  GETTABLE  R12 = R12[K15('BIManager')]
  0055  SELF      R13 = R12[K16('LogAction')] (self)
  0056  GETTABUP  R14 = _ENV[K17('EBIType')]
  0057  GETTABLE  R14 = R14[K18('ChestNonstopReachStage')]
  0058  GETTABUP  R15 = _ENV[K4('table')]
  0059  GETTABLE  R15 = R15[K19('concat')]
  0060  MOVE      R16 = R0
  0061  LOADK     R17 = K20 ';'
  0062  CALL      R15 = call(R15, -1 args, 2 rets)
  0063  CALL      R12 = call(R12, 0 args, -1 rets)
  0064  FORLOOP   forloop R7(sBx=-47)   -> 18
  0065  RETURN    return R0..R-1
