# ChestCustomerActivity_Model_ChestCustomerActivityModel_1676.luac
; fn @ChestCustomerActivityModel.lua  line 0-0 np=0 va=1 ms=9 code=283 consts=116 upvals=1 protos=85
;   K[0]='ChestCustomerActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='TriggerOrderDay'
;   K[5]='t_day'
;   K[6]='TriggerOrder'
;   K[7]='t_order'
;   K[8]='TriggerEndTime'
;   K[9]='end_time'
;   K[10]='TriggerCooldownEndTime'
;   K[11]='cd'
;   K[12]='TriggerEnergyDiff'
;   K[13]='t_diff'
;   K[14]='SavedTriggerConfig'
;   K[15]='t_cfg'
;   K[16]='TriggerConfigKey'
;   K[17]='chestOrderCustomerConfig'
;   K[18]='CooldownInMinutes'
;   K[19]='cooldown'
;   K[20]='IsSpeedUpOpen'
;   K[21]='isSpeedUp'
;   K[22]='ScoreThreshold'
;   K[23]='scoreThreshold'
;   K[24]='DayReset'
;   K[25]='dayReset'
;   K[26]='Init'
;   K[27]='GetActivityDefinition'
;   K[28]='_OnStateChanged'
;   K[29]='IsActivityOpen'
;   K[30]='GetResourceLabels'
;   K[31]='GetActiveModel'
;   K[32]='_GetLogPrefix'
;   K[33]='_LoadOtherServerConfig'
;   K[34]='_CheckConfigValid'
;   K[35]='_CheckScoreConfigValid'
;   K[36]='_GetTriggerConfig'
;   K[37]='GetMaxDuration'
;   K[38]='GetDuration'
;   K[39]='GetRewardType'
;   K[40]=60
;   K[41]='GetCooldown'
;   K[42]='HasSpeedUpAbility'
;   K[43]='GetScoreThreshold'
;   K[44]='GetDayReset'
;   K[45]='DB_VALUE_KEY'
;   K[46]=1
;   K[47]='_DBTableGetValue'
;   K[48]='_DBTableGetNumber'
;   K[49]='_DBTableGetTable'
;   K[50]='_DBTableSet'
;   K[51]='_DBTableSetTable'
;   K[52]='_DBTableRemove'
;   K[53]='GetTriggerOrderDay'
;   K[54]='SetTriggerOrderDay'
;   K[55]='GetTriggerOrder'
;   K[56]='SetTriggerOrder'
;   K[57]='GetTriggerEndTime'
;   K[58]='SetTriggerEndTime'
;   K[59]='GetTriggerCooldownEndTime'
;   K[60]='SetTriggerCooldownEndTime'
;   K[61]='GetTriggerEnergyDiff'
;   K[62]='SetTriggerEnergyDiff'
;   K[63]='GetSavedTriggerConfig'
;   K[64]='SetSavedTriggerConfig'
;   K[65]='GetLeftDuration'
;   K[66]='IsInDuration'
;   K[67]='IsInCooldown'
;   K[68]='SetStartAnimationPlaying'
;   K[69]='IsStartAnimationPlaying'
;   K[70]='SetSkipOrderAnimation'
;   K[71]='IsSkipOrderAnimation'
;   K[72]='_DispatchStateChangedEvent'
;   K[73]='_DispatchRefreshEntryEvent'
;   K[74]='_DispatchTriggerStateChangedEvent'
;   K[75]='_DispatchAcquireRewardEvent'
;   K[76]='_DispatchOrderAnimationLoadedEvent'
;   K[77]='_DispatchStartAnimationEndEvent'
;   K[78]='_DispatchOrderAnimationClickedEvent'
;   K[79]='UpdatePerSecond'
;   K[80]='GetBoardModel'
;   K[81]='GetOrderModel'
;   K[82]='IsChestCustomerOrder'
;   K[83]='IsTriggered'
;   K[84]='GetListOrderWeight'
;   K[85]='_CanTriggerNecessary'
;   K[86]='CanTrigger'
;   K[87]='TryTrigger'
;   K[88]='UpdateOrderSorting'
;   K[89]='OnAnimationWindowEnd'
;   K[90]=1
;   K[91]=6
;   K[92]='TryClaimReward'
;   K[93]='CanPopRewardWindow'
;   K[94]='GetAndClearRewardsForView'
;   K[95]='_OnOrderGroupRefreshed'
;   K[96]='_OnOrderFinished'
;   K[97]='_IsUnfilledDishExcludeCooking'
;   K[98]='_SpeedUpItem'
;   K[99]='PlaySpeedUpItemAnimation'
;   K[100]='_OnItemCookStarted'
;   K[101]='TrySpeedUpOnTriggered'
;   K[102]='GetAndClearItemCook'
;   K[103]='_OpenWindow'
;   K[104]='OpenAnimationWindow'
;   K[105]='OpenRewardWindow'
;   K[106]='OnAnimationWindowFlyAnimationEndWhenNotValid'
;   K[107]='OnAnimationWindowFlyAnimationEnd'
;   K[108]='_IsEntryVisible'
;   K[109]='GetOrderCellAvatarConfig'
;   K[110]='GetOrderCellStyleConfig'
;   K[111]='OnOrderAnimationLoaded'
;   K[112]='OnOrderAnimationClicked'
;   K[113]='_LogStart'
;   K[114]='_LogFinish'
;   K[115]='_LogEnd'
;   upvals: _ENV
;   locals: DBKey(15-283), GeneralActivityConfKey(22-283), Minute(65-283), DB_VALUE_KEY(78-283), TRUE_VALUE(79-283), kLevelMin(209-283), kLevelMax(210-283)
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('ChestCustomerActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('ChestCustomerActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('ChestCustomerActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K4('TriggerOrderDay')] = K5('t_day')
0010  SETTABLE  R0[K6('TriggerOrder')] = K7('t_order')
0011  SETTABLE  R0[K8('TriggerEndTime')] = K9('end_time')
0012  SETTABLE  R0[K10('TriggerCooldownEndTime')] = K11('cd')
0013  SETTABLE  R0[K12('TriggerEnergyDiff')] = K13('t_diff')
0014  SETTABLE  R0[K14('SavedTriggerConfig')] = K15('t_cfg')
0015  GETTABUP  R1 = _ENV[K0('ChestCustomerActivityModel')]
0016  SETTABLE  R1[K16('TriggerConfigKey')] = K17('chestOrderCustomerConfig')
0017  NEWTABLE  R1 = {} (0 items)
0018  SETTABLE  R1[K18('CooldownInMinutes')] = K19('cooldown')
0019  SETTABLE  R1[K20('IsSpeedUpOpen')] = K21('isSpeedUp')
0020  SETTABLE  R1[K22('ScoreThreshold')] = K23('scoreThreshold')
0021  SETTABLE  R1[K24('DayReset')] = K25('dayReset')
0022  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0023  CLOSURE   R3 = closure proto0
0024  SETTABLE  R2[K26('Init')] = R3
0025  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0026  CLOSURE   R3 = closure proto1
0027  SETTABLE  R2[K27('GetActivityDefinition')] = R3
0028  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0029  CLOSURE   R3 = closure proto2
0030  SETTABLE  R2[K28('_OnStateChanged')] = R3
0031  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0032  CLOSURE   R3 = closure proto3
0033  SETTABLE  R2[K29('IsActivityOpen')] = R3
0034  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0035  CLOSURE   R3 = closure proto4
0036  SETTABLE  R2[K30('GetResourceLabels')] = R3
0037  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0038  CLOSURE   R3 = closure proto5
0039  SETTABLE  R2[K31('GetActiveModel')] = R3
0040  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0041  CLOSURE   R3 = closure proto6
0042  SETTABLE  R2[K32('_GetLogPrefix')] = R3
0043  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0044  CLOSURE   R3 = closure proto7
0045  SETTABLE  R2[K33('_LoadOtherServerConfig')] = R3
0046  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0047  CLOSURE   R3 = closure proto8
0048  SETTABLE  R2[K34('_CheckConfigValid')] = R3
0049  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0050  CLOSURE   R3 = closure proto9
0051  SETTABLE  R2[K35('_CheckScoreConfigValid')] = R3
0052  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0053  CLOSURE   R3 = closure proto10
0054  SETTABLE  R2[K36('_GetTriggerConfig')] = R3
0055  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0056  CLOSURE   R3 = closure proto11
0057  SETTABLE  R2[K37('GetMaxDuration')] = R3
0058  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0059  CLOSURE   R3 = closure proto12
0060  SETTABLE  R2[K38('GetDuration')] = R3
0061  GETTABUP  R2 = _ENV[K0('ChestCustomerActivityModel')]
0062  CLOSURE   R3 = closure proto13
0063  SETTABLE  R2[K39('GetRewardType')] = R3
0064  LOADK     R2 = K40 60
0065  GETTABUP  R3 = _ENV[K0('ChestCustomerActivityModel')]
0066  CLOSURE   R4 = closure proto14
0067  SETTABLE  R3[K41('GetCooldown')] = R4
0068  GETTABUP  R3 = _ENV[K0('ChestCustomerActivityModel')]
0069  CLOSURE   R4 = closure proto15
0070  SETTABLE  R3[K42('HasSpeedUpAbility')] = R4
0071  GETTABUP  R3 = _ENV[K0('ChestCustomerActivityModel')]
0072  CLOSURE   R4 = closure proto16
0073  SETTABLE  R3[K43('GetScoreThreshold')] = R4
0074  GETTABUP  R3 = _ENV[K0('ChestCustomerActivityModel')]
0075  CLOSURE   R4 = closure proto17
0076  SETTABLE  R3[K44('GetDayReset')] = R4
0077  GETTABUP  R3 = _ENV[K45('DB_VALUE_KEY')]
0078  LOADK     R4 = K46 1
0079  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0080  CLOSURE   R6 = closure proto18
0081  SETTABLE  R5[K47('_DBTableGetValue')] = R6
0082  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0083  CLOSURE   R6 = closure proto19
0084  SETTABLE  R5[K48('_DBTableGetNumber')] = R6
0085  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0086  CLOSURE   R6 = closure proto20
0087  SETTABLE  R5[K49('_DBTableGetTable')] = R6
0088  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0089  CLOSURE   R6 = closure proto21
0090  SETTABLE  R5[K50('_DBTableSet')] = R6
0091  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0092  CLOSURE   R6 = closure proto22
0093  SETTABLE  R5[K51('_DBTableSetTable')] = R6
0094  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0095  CLOSURE   R6 = closure proto23
0096  SETTABLE  R5[K52('_DBTableRemove')] = R6
0097  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0098  CLOSURE   R6 = closure proto24
0099  SETTABLE  R5[K53('GetTriggerOrderDay')] = R6
0100  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0101  CLOSURE   R6 = closure proto25
0102  SETTABLE  R5[K54('SetTriggerOrderDay')] = R6
0103  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0104  CLOSURE   R6 = closure proto26
0105  SETTABLE  R5[K55('GetTriggerOrder')] = R6
0106  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0107  CLOSURE   R6 = closure proto27
0108  SETTABLE  R5[K56('SetTriggerOrder')] = R6
0109  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0110  CLOSURE   R6 = closure proto28
0111  SETTABLE  R5[K57('GetTriggerEndTime')] = R6
0112  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0113  CLOSURE   R6 = closure proto29
0114  SETTABLE  R5[K58('SetTriggerEndTime')] = R6
0115  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0116  CLOSURE   R6 = closure proto30
0117  SETTABLE  R5[K59('GetTriggerCooldownEndTime')] = R6
0118  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0119  CLOSURE   R6 = closure proto31
0120  SETTABLE  R5[K60('SetTriggerCooldownEndTime')] = R6
0121  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0122  CLOSURE   R6 = closure proto32
0123  SETTABLE  R5[K61('GetTriggerEnergyDiff')] = R6
0124  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0125  CLOSURE   R6 = closure proto33
0126  SETTABLE  R5[K62('SetTriggerEnergyDiff')] = R6
0127  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0128  CLOSURE   R6 = closure proto34
0129  SETTABLE  R5[K63('GetSavedTriggerConfig')] = R6
0130  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0131  CLOSURE   R6 = closure proto35
0132  SETTABLE  R5[K64('SetSavedTriggerConfig')] = R6
0133  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0134  CLOSURE   R6 = closure proto36
0135  SETTABLE  R5[K65('GetLeftDuration')] = R6
0136  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0137  CLOSURE   R6 = closure proto37
0138  SETTABLE  R5[K66('IsInDuration')] = R6
0139  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0140  CLOSURE   R6 = closure proto38
0141  SETTABLE  R5[K67('IsInCooldown')] = R6
0142  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0143  CLOSURE   R6 = closure proto39
0144  SETTABLE  R5[K68('SetStartAnimationPlaying')] = R6
0145  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0146  CLOSURE   R6 = closure proto40
0147  SETTABLE  R5[K69('IsStartAnimationPlaying')] = R6
0148  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0149  CLOSURE   R6 = closure proto41
0150  SETTABLE  R5[K70('SetSkipOrderAnimation')] = R6
0151  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0152  CLOSURE   R6 = closure proto42
0153  SETTABLE  R5[K71('IsSkipOrderAnimation')] = R6
0154  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0155  CLOSURE   R6 = closure proto43
0156  SETTABLE  R5[K72('_DispatchStateChangedEvent')] = R6
0157  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0158  CLOSURE   R6 = closure proto44
0159  SETTABLE  R5[K73('_DispatchRefreshEntryEvent')] = R6
0160  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0161  CLOSURE   R6 = closure proto45
0162  SETTABLE  R5[K74('_DispatchTriggerStateChangedEvent')] = R6
0163  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0164  CLOSURE   R6 = closure proto46
0165  SETTABLE  R5[K75('_DispatchAcquireRewardEvent')] = R6
0166  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0167  CLOSURE   R6 = closure proto47
0168  SETTABLE  R5[K76('_DispatchOrderAnimationLoadedEvent')] = R6
0169  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0170  CLOSURE   R6 = closure proto48
0171  SETTABLE  R5[K77('_DispatchStartAnimationEndEvent')] = R6
0172  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0173  CLOSURE   R6 = closure proto49
0174  SETTABLE  R5[K78('_DispatchOrderAnimationClickedEvent')] = R6
0175  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0176  CLOSURE   R6 = closure proto50
0177  SETTABLE  R5[K79('UpdatePerSecond')] = R6
0178  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0179  CLOSURE   R6 = closure proto51
0180  SETTABLE  R5[K80('GetBoardModel')] = R6
0181  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0182  CLOSURE   R6 = closure proto52
0183  SETTABLE  R5[K81('GetOrderModel')] = R6
0184  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0185  CLOSURE   R6 = closure proto53
0186  SETTABLE  R5[K82('IsChestCustomerOrder')] = R6
0187  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0188  CLOSURE   R6 = closure proto54
0189  SETTABLE  R5[K83('IsTriggered')] = R6
0190  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0191  CLOSURE   R6 = closure proto55
0192  SETTABLE  R5[K84('GetListOrderWeight')] = R6
0193  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0194  CLOSURE   R6 = closure proto56
0195  SETTABLE  R5[K85('_CanTriggerNecessary')] = R6
0196  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0197  CLOSURE   R6 = closure proto57
0198  SETTABLE  R5[K86('CanTrigger')] = R6
0199  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0200  CLOSURE   R6 = closure proto58
0201  SETTABLE  R5[K87('TryTrigger')] = R6
0202  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0203  CLOSURE   R6 = closure proto59
0204  SETTABLE  R5[K88('UpdateOrderSorting')] = R6
0205  GETTABUP  R5 = _ENV[K0('ChestCustomerActivityModel')]
0206  CLOSURE   R6 = closure proto60
0207  SETTABLE  R5[K89('OnAnimationWindowEnd')] = R6
0208  LOADK     R5 = K90 1
0209  LOADK     R6 = K91 6
0210  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0211  CLOSURE   R8 = closure proto61
0212  SETTABLE  R7[K92('TryClaimReward')] = R8
0213  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0214  CLOSURE   R8 = closure proto62
0215  SETTABLE  R7[K93('CanPopRewardWindow')] = R8
0216  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0217  CLOSURE   R8 = closure proto63
0218  SETTABLE  R7[K94('GetAndClearRewardsForView')] = R8
0219  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0220  CLOSURE   R8 = closure proto64
0221  SETTABLE  R7[K95('_OnOrderGroupRefreshed')] = R8
0222  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0223  CLOSURE   R8 = closure proto65
0224  SETTABLE  R7[K96('_OnOrderFinished')] = R8
0225  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0226  CLOSURE   R8 = closure proto66
0227  SETTABLE  R7[K97('_IsUnfilledDishExcludeCooking')] = R8
0228  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0229  CLOSURE   R8 = closure proto67
0230  SETTABLE  R7[K98('_SpeedUpItem')] = R8
0231  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0232  CLOSURE   R8 = closure proto68
0233  SETTABLE  R7[K99('PlaySpeedUpItemAnimation')] = R8
0234  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0235  CLOSURE   R8 = closure proto69
0236  SETTABLE  R7[K100('_OnItemCookStarted')] = R8
0237  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0238  CLOSURE   R8 = closure proto70
0239  SETTABLE  R7[K101('TrySpeedUpOnTriggered')] = R8
0240  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0241  CLOSURE   R8 = closure proto71
0242  SETTABLE  R7[K102('GetAndClearItemCook')] = R8
0243  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0244  CLOSURE   R8 = closure proto72
0245  SETTABLE  R7[K103('_OpenWindow')] = R8
0246  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0247  CLOSURE   R8 = closure proto73
0248  SETTABLE  R7[K104('OpenAnimationWindow')] = R8
0249  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0250  CLOSURE   R8 = closure proto74
0251  SETTABLE  R7[K105('OpenRewardWindow')] = R8
0252  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0253  CLOSURE   R8 = closure proto75
0254  SETTABLE  R7[K106('OnAnimationWindowFlyAnimationEndWhenNotValid')] = R8
0255  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0256  CLOSURE   R8 = closure proto76
0257  SETTABLE  R7[K107('OnAnimationWindowFlyAnimationEnd')] = R8
0258  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0259  CLOSURE   R8 = closure proto77
0260  SETTABLE  R7[K108('_IsEntryVisible')] = R8
0261  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0262  CLOSURE   R8 = closure proto78
0263  SETTABLE  R7[K109('GetOrderCellAvatarConfig')] = R8
0264  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0265  CLOSURE   R8 = closure proto79
0266  SETTABLE  R7[K110('GetOrderCellStyleConfig')] = R8
0267  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0268  CLOSURE   R8 = closure proto80
0269  SETTABLE  R7[K111('OnOrderAnimationLoaded')] = R8
0270  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0271  CLOSURE   R8 = closure proto81
0272  SETTABLE  R7[K112('OnOrderAnimationClicked')] = R8
0273  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0274  CLOSURE   R8 = closure proto82
0275  SETTABLE  R7[K113('_LogStart')] = R8
0276  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0277  CLOSURE   R8 = closure proto83
0278  SETTABLE  R7[K114('_LogFinish')] = R8
0279  GETTABUP  R7 = _ENV[K0('ChestCustomerActivityModel')]
0280  CLOSURE   R8 = closure proto84
0281  SETTABLE  R7[K115('_LogEnd')] = R8
0282  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 36-44 np=3 va=0 ms=7 code=31 consts=13 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ChestCustomerActivityDefinition'
  ;   K[2]='BaseActivityModel'
  ;   K[3]='Init'
  ;   K[4]='EventDispatcher'
  ;   K[5]='AddListener'
  ;   K[6]='EEventType'
  ;   K[7]='OrderGroupRefreshed'
  ;   K[8]='_OnOrderGroupRefreshed'
  ;   K[9]='ItemCookStarted'
  ;   K[10]='_OnItemCookStarted'
  ;   K[11]='OrderFinished'
  ;   K[12]='_OnOrderFinished'
  ;   upvals: _ENV
  ;   locals: self(0-31), activityType(0-31), virtualDBTable(0-31)
  0000  GETTABUP  R3 = _ENV[K1('ChestCustomerActivityDefinition')]
  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  GETTABUP  R3 = _ENV[K4('EventDispatcher')]
  0010  GETTABLE  R3 = R3[K5('AddListener')]
  0011  GETTABUP  R4 = _ENV[K6('EEventType')]
  0012  GETTABLE  R4 = R4[K7('OrderGroupRefreshed')]
  0013  MOVE      R5 = R0
  0014  GETTABLE  R6 = R0[K8('_OnOrderGroupRefreshed')]
  0015  CALL      R3 = call(R3, 0 args, 3 rets)
  0016  GETTABUP  R3 = _ENV[K4('EventDispatcher')]
  0017  GETTABLE  R3 = R3[K5('AddListener')]
  0018  GETTABUP  R4 = _ENV[K6('EEventType')]
  0019  GETTABLE  R4 = R4[K9('ItemCookStarted')]
  0020  MOVE      R5 = R0
  0021  GETTABLE  R6 = R0[K10('_OnItemCookStarted')]
  0022  CALL      R3 = call(R3, 0 args, 3 rets)
  0023  GETTABUP  R3 = _ENV[K4('EventDispatcher')]
  0024  GETTABLE  R3 = R3[K5('AddListener')]
  0025  GETTABUP  R4 = _ENV[K6('EEventType')]
  0026  GETTABLE  R4 = R4[K11('OrderFinished')]
  0027  MOVE      R5 = R0
  0028  GETTABLE  R6 = R0[K12('_OnOrderFinished')]
  0029  CALL      R3 = call(R3, 0 args, 3 rets)
  0030  RETURN    return R0..R-1
; ---------- proto1 [GetActivityDefinition] ----------
  ; fn ?  line 47-49 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 52-57 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 60-62 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 [GetResourceLabels] ----------
  ; fn ?  line 65-67 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
; ---------- proto5 [GetActiveModel] ----------
  ; fn ?  line 70-72 np=0 va=0 ms=2 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='ActivityManager'
  ;   K[1]='GetOneActiveModel'
  ;   K[2]='ChestCustomerActivityDefinition'
  ;   upvals: _ENV
  0000  GETTABUP  R0 = _ENV[K0('ActivityManager')]
  0001  GETTABLE  R0 = R0[K1('GetOneActiveModel')]
  0002  GETTABUP  R1 = _ENV[K2('ChestCustomerActivityDefinition')]
  0003  TAILCALL  tailcall(R0, 0)
  0004  RETURN    return R0..R-1
  0005  RETURN    return R0..R-1
; ---------- proto6 [_GetLogPrefix] ----------
  ; fn ?  line 78-80 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
; ---------- proto7 [_LoadOtherServerConfig] ----------
  ; fn ?  line 82-99 np=2 va=0 ms=13 code=54 consts=21 upvals=1 protos=0
  ;   K[0]='ChestCustomerActivityModel'
  ;   K[1]='TriggerConfigKey'
  ;   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]='ChestCustomerActivityConfig'
  ;   K[15]='Create'
  ;   K[16]='table'
  ;   K[17]='insert'
  ;   K[18]='m_config'
  ;   K[19]='arrTriggerConfig'
  ;   K[20]='_CheckConfigValid'
  ;   upvals: _ENV
  ;   locals: self(0-54), config(0-54), arrTriggerConfig(1-54), arrRawConfig(4-54), triggerConfig(30-54), (for generator)(35-48), (for state)(35-48), (for control)(35-48), _(36-46), rawConfig(36-46)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('ChestCustomerActivityModel')]
  0002  GETTABLE  R3 = R3[K1('TriggerConfigKey')]
  0003  GETTABLE  R3 = R1[R3]
  0004  GETTABUP  R4 = _ENV[K2('Table')]
  0005  GETTABLE  R4 = R4[K3('IsEmpty')]
  0006  MOVE      R5 = R0
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  TEST      if not R4 then   -> -131061
  0009  JMP       (jump)   -> 13
  0010  LEN       R4 = len R0
  0011  LE        if R0 le K4(0)   -> -128751
  0012  JMP       (jump)   -> 29
  0013  GETTABUP  R4 = _ENV[K5('Log')]
  0014  GETTABLE  R4 = R4[K6('Error')]
  0015  GETTABUP  R5 = _ENV[K7('string')]
  0016  GETTABLE  R5 = R5[K8('format')]
  0017  LOADK     R6 = K9 '%s没有找到配置：<color=#FFA000>%s</color>，配置需要使用include关联表%s！'
  0018  SELF      R8 = R0[K10('_GetLogPrefix')] (self)
  0019  MOVE      R9 = R0
  0020  CALL      R7 = call(R7, 1 args, 2 rets)
  0021  GETTABUP  R8 = _ENV[K0('ChestCustomerActivityModel')]
  0022  GETTABLE  R8 = R8[K1('TriggerConfigKey')]
  0023  GETTABUP  R9 = _ENV[K0('ChestCustomerActivityModel')]
  0024  GETTABLE  R9 = R9[K1('TriggerConfigKey')]
  0025  CALL      R5 = call(R5, 1 args, 4 rets)
  0026  GETTABUP  R6 = _ENV[K11('LogTag')]
  0027  GETTABLE  R6 = R6[K12('ConfigCheck')]
  0028  CALL      R4 = call(R4, 0 args, 2 rets)
  0029  LOADNIL   R4..R4 = nil
  0030  GETTABUP  R5 = _ENV[K13('ipairs')]
  0031  TESTSET   if R1 then R6   -> -129502
  0032  JMP       (jump)   -> 34
  0033  NEWTABLE  R6 = {} (0 items)
  0034  CALL      R5 = call(R5, 3 args, 1 rets)
  0035  JMP       (jump)   -> 46
  0036  GETTABUP  R10 = _ENV[K14('ChestCustomerActivityConfig')]
  0037  GETTABLE  R10 = R10[K15('Create')]
  0038  MOVE      R11 = R0
  0039  CALL      R10 = call(R10, 1 args, 1 rets)
  0040  MOVE      R4 = R0
  0041  GETTABUP  R10 = _ENV[K16('table')]
  0042  GETTABLE  R10 = R10[K17('insert')]
  0043  MOVE      R11 = R0
  0044  MOVE      R12 = R0
  0045  CALL      R10 = call(R10, 0 args, 2 rets)
  0046  TFORCALL  tforcall R5
  0047  TFORLOOP  tforloop R7(sBx=-12)   -> 36
  0048  GETTABLE  R5 = R0[K18('m_config')]
  0049  SETTABLE  R5[K19('arrTriggerConfig')] = R2
  0050  SELF      R6 = R0[K20('_CheckConfigValid')] (self)
  0051  MOVE      R7 = R0
  0052  CALL      R5 = call(R5, 0 args, 2 rets)
  0053  RETURN    return R0..R-1
; ---------- proto8 [_CheckConfigValid] ----------
  ; fn ?  line 101-124 np=2 va=0 ms=15 code=75 consts=26 upvals=2 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='_CheckScoreConfigValid'
  ;   K[3]='CooldownInMinutes'
  ;   K[4]='EConfigParamType'
  ;   K[5]='Int'
  ;   K[6]='IsSpeedUpOpen'
  ;   K[7]='ScoreThreshold'
  ;   K[8]='Float'
  ;   K[9]='pairs'
  ;   K[10]='GetGeneralConfig'
  ;   K[11]=nil
  ;   K[12]='Log'
  ;   K[13]='Error'
  ;   K[14]='string'
  ;   K[15]='format'
  ;   K[16]='%s没有找到配置字段：<color=#FFA000>%s</color>，配置需要使用generalActivityConf配置字段%s，类型为%s！'
  ;   K[17]='_GetLogPrefix'
  ;   K[18]='LogTag'
  ;   K[19]='ConfigCheck'
  ;   K[20]='GM'
  ;   K[21]='ItemDataModel'
  ;   K[22]='GetItemScore'
  ;   K[23]='it_1_1_1'
  ;   K[24]='GetScoreThreshold'
  ;   K[25]='%s配置字段%s，阈值=%f，不合法，阈值的配置必须大于等于%f（一个生菜的分数）。'
  ;   upvals: _ENV, GeneralActivityConfKey
  ;   locals: self(0-75), config(0-75), mapGeneralActivityConf(22-75), (for generator)(25-49), (for state)(25-49), (for control)(25-49), generalActivityConfKey(26-47), eConfigParamType(26-47), minScore(54-75)
  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  SELF      R3 = R0[K2('_CheckScoreConfigValid')] (self)
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  NEWTABLE  R2 = {} (0 items)
  0010  GETTABUP  R3 = GeneralActivityConfKey[K3('CooldownInMinutes')]
  0011  GETTABUP  R4 = _ENV[K4('EConfigParamType')]
  0012  GETTABLE  R4 = R4[K5('Int')]
  0013  SETTABLE  R2[R3] = R4
  0014  GETTABUP  R3 = GeneralActivityConfKey[K6('IsSpeedUpOpen')]
  0015  GETTABUP  R4 = _ENV[K4('EConfigParamType')]
  0016  GETTABLE  R4 = R4[K5('Int')]
  0017  SETTABLE  R2[R3] = R4
  0018  GETTABUP  R3 = GeneralActivityConfKey[K7('ScoreThreshold')]
  0019  GETTABUP  R4 = _ENV[K4('EConfigParamType')]
  0020  GETTABLE  R4 = R4[K8('Float')]
  0021  SETTABLE  R2[R3] = R4
  0022  GETTABUP  R3 = _ENV[K9('pairs')]
  0023  MOVE      R4 = R0
  0024  CALL      R3 = call(R3, 3 args, 1 rets)
  0025  JMP       (jump)   -> 47
  0026  SELF      R9 = R0[K10('GetGeneralConfig')] (self)
  0027  MOVE      R10 = R0
  0028  MOVE      R11 = R0
  0029  CALL      R8 = call(R8, 1 args, 3 rets)
  0030  EQ        if R0 eq K11(nil)   -> -126677
  0031  JMP       (jump)   -> 47
  0032  GETTABUP  R8 = _ENV[K12('Log')]
  0033  GETTABLE  R8 = R8[K13('Error')]
  0034  GETTABUP  R9 = _ENV[K14('string')]
  0035  GETTABLE  R9 = R9[K15('format')]
  0036  LOADK     R10 = K16 '%s没有找到配置字段：<color=#FFA000>%s</color>，配置需要使用generalActivityConf配置字段%s，类型为%s！'
  0037  SELF      R12 = R0[K17('_GetLogPrefix')] (self)
  0038  MOVE      R13 = R0
  0039  CALL      R11 = call(R11, 1 args, 2 rets)
  0040  MOVE      R12 = R0
  0041  MOVE      R13 = R0
  0042  MOVE      R14 = R0
  0043  CALL      R9 = call(R9, 1 args, 5 rets)
  0044  GETTABUP  R10 = _ENV[K18('LogTag')]
  0045  GETTABLE  R10 = R10[K19('ConfigCheck')]
  0046  CALL      R8 = call(R8, 0 args, 2 rets)
  0047  TFORCALL  tforcall R3
  0048  TFORLOOP  tforloop R5(sBx=-23)   -> 26
  0049  GETTABUP  R3 = _ENV[K20('GM')]
  0050  GETTABLE  R3 = R3[K21('ItemDataModel')]
  0051  SELF      R4 = R3[K22('GetItemScore')] (self)
  0052  LOADK     R5 = K23 'it_1_1_1'
  0053  CALL      R3 = call(R3, 1 args, 2 rets)
  0054  SELF      R5 = R0[K24('GetScoreThreshold')] (self)
  0055  CALL      R4 = call(R4, 1 args, 1 rets)
  0056  LT        if R0 lt R3   -> -128963
  0057  JMP       (jump)   -> 74
  0058  GETTABUP  R4 = _ENV[K12('Log')]
  0059  GETTABLE  R4 = R4[K13('Error')]
  0060  GETTABUP  R5 = _ENV[K14('string')]
  0061  GETTABLE  R5 = R5[K15('format')]
  0062  LOADK     R6 = K25 '%s配置字段%s，阈值=%f，不合法，阈值的配置必须大于等于%f（一个生菜的分数）。'
  0063  SELF      R8 = R0[K17('_GetLogPrefix')] (self)
  0064  MOVE      R9 = R0
  0065  CALL      R7 = call(R7, 1 args, 2 rets)
  0066  GETTABUP  R8 = GeneralActivityConfKey[K7('ScoreThreshold')]
  0067  SELF      R10 = R0[K24('GetScoreThreshold')] (self)
  0068  CALL      R9 = call(R9, 1 args, 1 rets)
  0069  MOVE      R10 = R0
  0070  CALL      R5 = call(R5, 1 args, 5 rets)
  0071  GETTABUP  R6 = _ENV[K18('LogTag')]
  0072  GETTABLE  R6 = R6[K19('ConfigCheck')]
  0073  CALL      R4 = call(R4, 0 args, 2 rets)
  0074  RETURN    return R0..R-1
; ---------- proto9 [_CheckScoreConfigValid] ----------
  ; fn ?  line 126-166 np=2 va=0 ms=22 code=125 consts=33 upvals=1 protos=2
  ;   K[0]='Table'
  ;   K[1]='ShallowCopy'
  ;   K[2]='m_config'
  ;   K[3]='arrTriggerConfig'
  ;   K[4]='table'
  ;   K[5]='sort'
  ;   K[6]='GM'
  ;   K[7]='ItemDataModel'
  ;   K[8]='GetItemScore'
  ;   K[9]='it_1_1_1'
  ;   K[10]='ipairs'
  ;   K[11]='Log'
  ;   K[12]='Error'
  ;   K[13]='string'
  ;   K[14]='format'
  ;   K[15]='%s分数配置出错, score_min=<color=#FFA000>%d</color>，score_max=<color=#FFA000>%d</color>，score_min的值大于score_max的值，请检查！'
  ;   K[16]='_GetLogPrefix'
  ;   K[17]='LogTag'
  ;   K[18]='ConfigCheck'
  ;   K[19]=nil
  ;   K[20]='math'
  ;   K[21]='abs'
  ;   K[22]=0.001
  ;   K[23]='%s分数配置出错, 上一条配置的score_max=<color=#FFA000>%d</color>，本条配置score_min=<color=#FFA000>%d</color>，score的总区间不连续，请检查！'
  ;   K[24]='GetMaxRewardScore'
  ;   K[25]='%s分数配置出错，max_reward_score=%s，不合法，最大分数的配置必须大于等于%f（一个生菜的分数）。'
  ;   K[26]='ListContain'
  ;   K[27]='GetValueList'
  ;   K[28]='EItemFillRewardType'
  ;   K[29]='GetRewardType'
  ;   K[30]='%s奖励配置出错，reward_type=%s，不合法，reward_type必须是 { %s } 其中之一。'
  ;   K[31]='concat'
  ;   K[32]=', '
  ;   upvals: _ENV
  ;   locals: self(0-125), config(0-125), tmpConfig(5-125), sortByScoreMin(6-125), getMinMaxFunc(12-125), scoreMin(13-125), scoreMax(13-125), lastMax(13-125), minScore(18-125), (for generator)(21-124), (for state)(21-124), (for control)(21-124), _(22-122), triggerConfig(22-122)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('ShallowCopy')]
  0002  GETTABLE  R3 = R0[K2('m_config')]
  0003  GETTABLE  R3 = R3[K3('arrTriggerConfig')]
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  CLOSURE   R3 = closure proto0
  0006  GETTABUP  R4 = _ENV[K4('table')]
  0007  GETTABLE  R4 = R4[K5('sort')]
  0008  MOVE      R5 = R0
  0009  MOVE      R6 = R0
  0010  CALL      R4 = call(R4, 0 args, 2 rets)
  0011  CLOSURE   R4 = closure proto1
  0012  LOADNIL   R5..R5 = nil
  0013  GETTABUP  R8 = _ENV[K6('GM')]
  0014  GETTABLE  R8 = R8[K7('ItemDataModel')]
  0015  SELF      R9 = R8[K8('GetItemScore')] (self)
  0016  LOADK     R10 = K9 'it_1_1_1'
  0017  CALL      R8 = call(R8, 1 args, 2 rets)
  0018  GETTABUP  R9 = _ENV[K10('ipairs')]
  0019  MOVE      R10 = R0
  0020  CALL      R9 = call(R9, 3 args, 1 rets)
  0021  JMP       (jump)   -> 122
  0022  MOVE      R14 = R0
  0023  MOVE      R15 = R0
  0024  CALL      R14 = call(R14, 2 args, 1 rets)
  0025  MOVE      R6 = R0
  0026  MOVE      R5 = R0
  0027  LT        if R0 lt R5   -> -127966
  0028  JMP       (jump)   -> 43
  0029  GETTABUP  R14 = _ENV[K11('Log')]
  0030  GETTABLE  R14 = R14[K12('Error')]
  0031  GETTABUP  R15 = _ENV[K13('string')]
  0032  GETTABLE  R15 = R15[K14('format')]
  0033  LOADK     R16 = K15 '%s分数配置出错, score_min=<color=#FFA000>%d</color>，score_max=<color=#FFA000>%d</color>，score_min的值大于score_max的值，请检查！'
  0034  SELF      R18 = R0[K16('_GetLogPrefix')] (self)
  0035  MOVE      R19 = R0
  0036  CALL      R17 = call(R17, 1 args, 2 rets)
  0037  MOVE      R18 = R0
  0038  MOVE      R19 = R0
  0039  CALL      R15 = call(R15, 1 args, 4 rets)
  0040  GETTABUP  R16 = _ENV[K17('LogTag')]
  0041  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0042  CALL      R14 = call(R14, 0 args, 2 rets)
  0043  EQ        if R1 eq K19(nil)   -> -127168
  0044  JMP       (jump)   -> 65
  0045  GETTABUP  R14 = _ENV[K20('math')]
  0046  GETTABLE  R14 = R14[K21('abs')]
  0047  SUB       R15 = R5 sub R7
  0048  CALL      R14 = call(R14, 1 args, 1 rets)
  0049  LT        if R0 lt R14   -> 11329
  0050  JMP       (jump)   -> 65
  0051  GETTABUP  R14 = _ENV[K11('Log')]
  0052  GETTABLE  R14 = R14[K12('Error')]
  0053  GETTABUP  R15 = _ENV[K13('string')]
  0054  GETTABLE  R15 = R15[K14('format')]
  0055  LOADK     R16 = K23 '%s分数配置出错, 上一条配置的score_max=<color=#FFA000>%d</color>，本条配置score_min=<color=#FFA000>%d</color>，score的总区间不连续，请检查！'
  0056  SELF      R18 = R0[K16('_GetLogPrefix')] (self)
  0057  MOVE      R19 = R0
  0058  CALL      R17 = call(R17, 1 args, 2 rets)
  0059  MOVE      R18 = R0
  0060  MOVE      R19 = R0
  0061  CALL      R15 = call(R15, 1 args, 4 rets)
  0062  GETTABUP  R16 = _ENV[K17('LogTag')]
  0063  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0064  CALL      R14 = call(R14, 0 args, 2 rets)
  0065  SELF      R15 = R13[K24('GetMaxRewardScore')] (self)
  0066  CALL      R14 = call(R14, 1 args, 1 rets)
  0067  EQ        if R1 eq K19(nil)   -> -123560
  0068  JMP       (jump)   -> 88
  0069  SELF      R15 = R13[K24('GetMaxRewardScore')] (self)
  0070  CALL      R14 = call(R14, 1 args, 1 rets)
  0071  LT        if R0 lt R8   -> -123823
  0072  JMP       (jump)   -> 88
  0073  GETTABUP  R14 = _ENV[K11('Log')]
  0074  GETTABLE  R14 = R14[K12('Error')]
  0075  GETTABUP  R15 = _ENV[K13('string')]
  0076  GETTABLE  R15 = R15[K14('format')]
  0077  LOADK     R16 = K25 '%s分数配置出错，max_reward_score=%s，不合法，最大分数的配置必须大于等于%f（一个生菜的分数）。'
  0078  SELF      R18 = R0[K16('_GetLogPrefix')] (self)
  0079  MOVE      R19 = R0
  0080  CALL      R17 = call(R17, 1 args, 2 rets)
  0081  SELF      R19 = R13[K24('GetMaxRewardScore')] (self)
  0082  CALL      R18 = call(R18, 1 args, 1 rets)
  0083  MOVE      R19 = R0
  0084  CALL      R15 = call(R15, 1 args, 4 rets)
  0085  GETTABUP  R16 = _ENV[K17('LogTag')]
  0086  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0087  CALL      R14 = call(R14, 0 args, 2 rets)
  0088  GETTABUP  R14 = _ENV[K0('Table')]
  0089  GETTABLE  R14 = R14[K26('ListContain')]
  0090  GETTABUP  R15 = _ENV[K0('Table')]
  0091  GETTABLE  R15 = R15[K27('GetValueList')]
  0092  GETTABUP  R16 = _ENV[K28('EItemFillRewardType')]
  0093  CALL      R15 = call(R15, 1 args, 1 rets)
  0094  SELF      R17 = R13[K29('GetRewardType')] (self)
  0095  CALL      R16 = call(R16, -1 args, 1 rets)
  0096  CALL      R14 = call(R14, 1 args, -1 rets)
  0097  TEST      if not R14 then   -> -130972
  0098  JMP       (jump)   -> 121
  0099  GETTABUP  R14 = _ENV[K11('Log')]
  0100  GETTABLE  R14 = R14[K12('Error')]
  0101  GETTABUP  R15 = _ENV[K13('string')]
  0102  GETTABLE  R15 = R15[K14('format')]
  0103  LOADK     R16 = K30 '%s奖励配置出错，reward_type=%s，不合法，reward_type必须是 { %s } 其中之一。'
  0104  SELF      R18 = R0[K16('_GetLogPrefix')] (self)
  0105  MOVE      R19 = R0
  0106  CALL      R17 = call(R17, 1 args, 2 rets)
  0107  SELF      R19 = R13[K29('GetRewardType')] (self)
  0108  CALL      R18 = call(R18, 1 args, 1 rets)
  0109  GETTABUP  R19 = _ENV[K4('table')]
  0110  GETTABLE  R19 = R19[K31('concat')]
  0111  GETTABUP  R20 = _ENV[K0('Table')]
  0112  GETTABLE  R20 = R20[K27('GetValueList')]
  0113  GETTABUP  R21 = _ENV[K28('EItemFillRewardType')]
  0114  CALL      R20 = call(R20, 1 args, 1 rets)
  0115  LOADK     R21 = K32 ', '
  0116  CALL      R19 = call(R19, -1 args, 2 rets)
  0117  CALL      R15 = call(R15, 1 args, -1 rets)
  0118  GETTABUP  R16 = _ENV[K17('LogTag')]
  0119  GETTABLE  R16 = R16[K18('ConfigCheck')]
  0120  CALL      R14 = call(R14, 0 args, 2 rets)
  0121  MOVE      R7 = R0
  0122  TFORCALL  tforcall R9
  0123  TFORLOOP  tforloop R11(sBx=-102)   -> 22
  0124  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 132-137 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 142-144 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
; ---------- proto10 [_GetTriggerConfig] ----------
  ; fn ?  line 174-183 np=2 va=0 ms=12 code=26 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_config'
  ;   K[2]='arrTriggerConfig'
  ;   K[3]='GetScoreMin'
  ;   K[4]='GetScoreMax'
  ;   K[5]=nil
  ;   upvals: _ENV
  ;   locals: self(0-26), energyDiff(0-26), min(1-26), max(1-26), (for generator)(5-23), (for state)(5-23), (for control)(5-23), _(6-21), triggerConfig(6-21)
  0000  LOADNIL   R2..R2 = nil
  0001  GETTABUP  R4 = _ENV[K0('ipairs')]
  0002  GETTABLE  R5 = R0[K1('m_config')]
  0003  GETTABLE  R5 = R5[K2('arrTriggerConfig')]
  0004  CALL      R4 = call(R4, 3 args, 1 rets)
  0005  JMP       (jump)   -> 21
  0006  SELF      R10 = R8[K3('GetScoreMin')] (self)
  0007  CALL      R9 = call(R9, 1 args, 1 rets)
  0008  SELF      R11 = R8[K4('GetScoreMax')] (self)
  0009  CALL      R10 = call(R10, 1 args, 1 rets)
  0010  MOVE      R3 = R0
  0011  MOVE      R2 = R0
  0012  EQ        if R1 eq K5(nil)   -> -129773
  0013  JMP       (jump)   -> 16
  0014  LT        if R0 lt R1   -> -130031
  0015  JMP       (jump)   -> 21
  0016  EQ        if R1 eq K5(nil)   -> -129257
  0017  JMP       (jump)   -> 20
  0018  LE        if R0 le R3   -> -130537
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R8..R7
  0021  TFORCALL  tforcall R4
  0022  TFORLOOP  tforloop R6(sBx=-17)   -> 6
  0023  LOADNIL   R4..R4 = nil
  0024  RETURN    return R4..R3
  0025  RETURN    return R0..R-1
; ---------- proto11 [GetMaxDuration] ----------
  ; fn ?  line 186-194 np=1 va=0 ms=9 code=17 consts=5 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_config'
  ;   K[3]='arrTriggerConfig'
  ;   K[4]='GetDurationInSeconds'
  ;   upvals: _ENV
  ;   locals: self(0-17), maxDuration(1-17), (for generator)(5-15), (for state)(5-15), (for control)(5-15), _(6-13), triggerConfig(6-13)
  0000  LOADK     R1 = K0 0
  0001  GETTABUP  R2 = _ENV[K1('ipairs')]
  0002  GETTABLE  R3 = R0[K2('m_config')]
  0003  GETTABLE  R3 = R3[K3('arrTriggerConfig')]
  0004  CALL      R2 = call(R2, 3 args, 1 rets)
  0005  JMP       (jump)   -> 13
  0006  SELF      R8 = R6[K4('GetDurationInSeconds')] (self)
  0007  CALL      R7 = call(R7, 1 args, 1 rets)
  0008  LT        if R0 lt R7   -> -130543
  0009  JMP       (jump)   -> 13
  0010  SELF      R8 = R6[K4('GetDurationInSeconds')] (self)
  0011  CALL      R7 = call(R7, 1 args, 1 rets)
  0012  MOVE      R1 = R0
  0013  TFORCALL  tforcall R2
  0014  TFORLOOP  tforloop R4(sBx=-9)   -> 6
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
; ---------- proto12 [GetDuration] ----------
  ; fn ?  line 196-202 np=1 va=0 ms=5 code=12 consts=5 upvals=0 protos=0
  ;   K[0]='_GetTriggerConfig'
  ;   K[1]='GetTriggerEnergyDiff'
  ;   K[2]=nil
  ;   K[3]='GetDurationInSeconds'
  ;   K[4]=0
  ;   locals: self(0-12), triggerConfig(4-12)
  0000  SELF      R2 = R0[K0('_GetTriggerConfig')] (self)
  0001  SELF      R4 = R0[K1('GetTriggerEnergyDiff')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  CALL      R1 = call(R1, 1 args, -1 rets)
  0004  EQ        if R1 eq K2(nil)   -> -130296
  0005  JMP       (jump)   -> 9
  0006  SELF      R3 = R1[K3('GetDurationInSeconds')] (self)
  0007  TAILCALL  tailcall(R2, 0)
  0008  RETURN    return R2..R1
  0009  LOADK     R2 = K4 0
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto13 [GetRewardType] ----------
  ; fn ?  line 204-210 np=1 va=0 ms=5 code=12 consts=4 upvals=0 protos=0
  ;   K[0]='_GetTriggerConfig'
  ;   K[1]='GetTriggerEnergyDiff'
  ;   K[2]=nil
  ;   K[3]='GetRewardType'
  ;   locals: self(0-12), triggerConfig(4-12)
  0000  SELF      R2 = R0[K0('_GetTriggerConfig')] (self)
  0001  SELF      R4 = R0[K1('GetTriggerEnergyDiff')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  CALL      R1 = call(R1, 1 args, -1 rets)
  0004  EQ        if R1 eq K2(nil)   -> -130296
  0005  JMP       (jump)   -> 9
  0006  SELF      R3 = R1[K3('GetRewardType')] (self)
  0007  TAILCALL  tailcall(R2, 0)
  0008  RETURN    return R2..R1
  0009  LOADNIL   R2..R2 = nil
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto14 [GetCooldown] ----------
  ; fn ?  line 215-217 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 [HasSpeedUpAbility] ----------
  ; fn ?  line 220-222 np=1 va=0 ms=5 code=11 consts=5 upvals=2 protos=0
  ;   K[0]='GetGeneralConfig'
  ;   K[1]='IsSpeedUpOpen'
  ;   K[2]='EConfigParamType'
  ;   K[3]='Int'
  ;   K[4]=1
  ;   upvals: GeneralActivityConfKey, _ENV
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('GetGeneralConfig')] (self)
  0001  GETTABUP  R3 = GeneralActivityConfKey[K1('IsSpeedUpOpen')]
  0002  GETTABUP  R4 = _ENV[K2('EConfigParamType')]
  0003  GETTABLE  R4 = R4[K3('Int')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R1 eq K4(1)   -> -130293
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto16 [GetScoreThreshold] ----------
  ; fn ?  line 225-227 np=1 va=0 ms=5 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='GetGeneralConfig'
  ;   K[1]='ScoreThreshold'
  ;   K[2]='EConfigParamType'
  ;   K[3]='Float'
  ;   K[4]=0
  ;   upvals: GeneralActivityConfKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetGeneralConfig')] (self)
  0001  GETTABUP  R3 = GeneralActivityConfKey[K1('ScoreThreshold')]
  0002  GETTABUP  R4 = _ENV[K2('EConfigParamType')]
  0003  GETTABLE  R4 = R4[K3('Float')]
  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  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto17 [GetDayReset] ----------
  ; fn ?  line 230-232 np=1 va=0 ms=5 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='GetGeneralConfig'
  ;   K[1]='DayReset'
  ;   K[2]='EConfigParamType'
  ;   K[3]='Int'
  ;   K[4]=1
  ;   upvals: GeneralActivityConfKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetGeneralConfig')] (self)
  0001  GETTABUP  R3 = GeneralActivityConfKey[K1('DayReset')]
  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 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto18 [_DBTableGetValue] ----------
  ; fn ?  line 243-245 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
; ---------- proto19 [_DBTableGetNumber] ----------
  ; fn ?  line 249-252 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
; ---------- proto20 [_DBTableGetTable] ----------
  ; fn ?  line 256-258 np=2 va=0 ms=6 code=14 consts=4 upvals=1 protos=0
  ;   K[0]='json'
  ;   K[1]='decode'
  ;   K[2]='_DBTableGetValue'
  ;   K[3]=''
  ;   upvals: _ENV
  ;   locals: self(0-14), key(0-14)
  0000  GETTABUP  R2 = _ENV[K0('json')]
  0001  GETTABLE  R2 = R2[K1('decode')]
  0002  SELF      R4 = R0[K2('_DBTableGetValue')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R3 = K3 ''
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 12
  0011  NEWTABLE  R2 = {} (0 items)
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto21 [_DBTableSet] ----------
  ; fn ?  line 262-264 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
; ---------- proto22 [_DBTableSetTable] ----------
  ; fn ?  line 268-270 np=3 va=0 ms=8 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='json'
  ;   K[2]='encode'
  ;   upvals: _ENV
  ;   locals: self(0-8), key(0-8), value(0-8)
  0000  SELF      R4 = R0[K0('_DBTableSet')] (self)
  0001  MOVE      R5 = R0
  0002  GETTABUP  R6 = _ENV[K1('json')]
  0003  GETTABLE  R6 = R6[K2('encode')]
  0004  MOVE      R7 = R0
  0005  CALL      R6 = call(R6, -1 args, 1 rets)
  0006  CALL      R3 = call(R3, 0 args, -1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto23 [_DBTableRemove] ----------
  ; fn ?  line 273-275 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
; ---------- proto24 [GetTriggerOrderDay] ----------
  ; fn ?  line 277-279 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerOrderDay'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerOrderDay')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto25 [SetTriggerOrderDay] ----------
  ; fn ?  line 282-284 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerOrderDay'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerOrderDay(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerOrderDay')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto26 [GetTriggerOrder] ----------
  ; fn ?  line 286-288 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetValue'
  ;   K[1]='TriggerOrder'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetValue')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerOrder')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto27 [SetTriggerOrder] ----------
  ; fn ?  line 291-293 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerOrder'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerOrder(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerOrder')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto28 [GetTriggerEndTime] ----------
  ; fn ?  line 295-297 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
; ---------- proto29 [SetTriggerEndTime] ----------
  ; fn ?  line 300-302 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
; ---------- proto30 [GetTriggerCooldownEndTime] ----------
  ; fn ?  line 304-306 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
; ---------- proto31 [SetTriggerCooldownEndTime] ----------
  ; fn ?  line 309-311 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
; ---------- proto32 [GetTriggerEnergyDiff] ----------
  ; fn ?  line 313-315 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerEnergyDiff'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerEnergyDiff')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto33 [SetTriggerEnergyDiff] ----------
  ; fn ?  line 318-320 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerEnergyDiff'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerEnergyDiff(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerEnergyDiff')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto34 [GetSavedTriggerConfig] ----------
  ; fn ?  line 322-324 np=1 va=0 ms=5 code=8 consts=4 upvals=2 protos=0
  ;   K[0]='ChestCustomerActivityConfig'
  ;   K[1]='Create'
  ;   K[2]='_DBTableGetTable'
  ;   K[3]='SavedTriggerConfig'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('ChestCustomerActivityConfig')]
  0001  GETTABLE  R1 = R1[K1('Create')]
  0002  SELF      R3 = R0[K2('_DBTableGetTable')] (self)
  0003  GETTABUP  R4 = DBKey[K3('SavedTriggerConfig')]
  0004  CALL      R2 = call(R2, -1 args, 2 rets)
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto35 [SetSavedTriggerConfig] ----------
  ; fn ?  line 327-333 np=2 va=0 ms=6 code=11 consts=5 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='_DBTableRemove'
  ;   K[2]='SavedTriggerConfig'
  ;   K[3]='_DBTableSetTable'
  ;   K[4]='rawConfig'
  ;   upvals: DBKey
  ;   locals: self(0-11), triggerConfig(0-11)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 6
  0002  SELF      R3 = R0[K1('_DBTableRemove')] (self)
  0003  GETTABUP  R4 = DBKey[K2('SavedTriggerConfig')]
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  JMP       (jump)   -> 10
  0006  SELF      R3 = R0[K3('_DBTableSetTable')] (self)
  0007  GETTABUP  R4 = DBKey[K2('SavedTriggerConfig')]
  0008  GETTABLE  R5 = R1[K4('rawConfig')]
  0009  CALL      R2 = call(R2, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
; ---------- proto36 [GetLeftDuration] ----------
  ; fn ?  line 339-342 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
; ---------- proto37 [IsInDuration] ----------
  ; fn ?  line 344-346 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
; ---------- proto38 [IsInCooldown] ----------
  ; fn ?  line 348-351 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
; ---------- proto39 [SetStartAnimationPlaying] ----------
  ; fn ?  line 354-361 np=2 va=0 ms=4 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_bIsStartAnimationPlaying'
  ;   K[1]='m_startAnimationOrder'
  ;   K[2]='GetTriggerOrder'
  ;   K[3]=nil
  ;   locals: self(0-9), bIsStartAnimationPlaying(0-9)
  0000  SETTABLE  R0[K0('m_bIsStartAnimationPlaying')] = R1
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  SELF      R3 = R0[K2('GetTriggerOrder')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  SETTABLE  R0[K1('m_startAnimationOrder')] = R2
  0006  JMP       (jump)   -> 8
  0007  SETTABLE  R0[K1('m_startAnimationOrder')] = K3(nil)
  0008  RETURN    return R0..R-1
; ---------- proto40 [IsStartAnimationPlaying] ----------
  ; fn ?  line 363-365 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bIsStartAnimationPlaying'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bIsStartAnimationPlaying')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto41 [SetSkipOrderAnimation] ----------
  ; fn ?  line 368-370 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_bSkipOrderAnimation'
  ;   locals: self(0-2), bSkipOrderAnimation(0-2)
  0000  SETTABLE  R0[K0('m_bSkipOrderAnimation')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto42 [IsSkipOrderAnimation] ----------
  ; fn ?  line 372-374 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bSkipOrderAnimation'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bSkipOrderAnimation')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto43 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 380-382 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
; ---------- proto44 [_DispatchRefreshEntryEvent] ----------
  ; fn ?  line 384-386 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
; ---------- proto45 [_DispatchTriggerStateChangedEvent] ----------
  ; fn ?  line 388-390 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
; ---------- proto46 [_DispatchAcquireRewardEvent] ----------
  ; fn ?  line 392-394 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]='AcquireRewardEvent'
  ;   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('AcquireRewardEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto47 [_DispatchOrderAnimationLoadedEvent] ----------
  ; fn ?  line 397-401 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]='orderAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-9), orderAnimation(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('orderAnimation')] = R1
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto48 [_DispatchStartAnimationEndEvent] ----------
  ; fn ?  line 403-405 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]='StartAnimationEndEvent'
  ;   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('StartAnimationEndEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto49 [_DispatchOrderAnimationClickedEvent] ----------
  ; fn ?  line 408-412 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]='OrderAnimationClickedEvent'
  ;   K[4]='orderAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-9), orderAnimation(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('OrderAnimationClickedEvent')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  SETTABLE  R4[K4('orderAnimation')] = R1
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto50 [UpdatePerSecond] ----------
  ; fn ?  line 418-432 np=1 va=0 ms=3 code=28 consts=14 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='GetTriggerOrderDay'
  ;   K[3]=0
  ;   K[4]='IsInDuration'
  ;   K[5]='SetTriggerOrder'
  ;   K[6]='SetTriggerOrderDay'
  ;   K[7]='_LogEnd'
  ;   K[8]='_DispatchRefreshEntryEvent'
  ;   K[9]='_DispatchTriggerStateChangedEvent'
  ;   K[10]='EventDispatcher'
  ;   K[11]='DispatchEvent'
  ;   K[12]='EEventType'
  ;   K[13]='OrderStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  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('GetTriggerOrderDay')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  LT        if R0 lt R1   -> 1545
  0007  JMP       (jump)   -> 27
  0008  SELF      R2 = R0[K4('IsInDuration')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 27
  0012  SELF      R2 = R0[K5('SetTriggerOrder')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  SELF      R2 = R0[K6('SetTriggerOrderDay')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  SELF      R2 = R0[K7('_LogEnd')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  SELF      R2 = R0[K8('_DispatchRefreshEntryEvent')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  SELF      R2 = R0[K9('_DispatchTriggerStateChangedEvent')] (self)
  0021  CALL      R1 = call(R1, 0 args, 1 rets)
  0022  GETTABUP  R1 = _ENV[K10('EventDispatcher')]
  0023  GETTABLE  R1 = R1[K11('DispatchEvent')]
  0024  GETTABUP  R2 = _ENV[K12('EEventType')]
  0025  GETTABLE  R2 = R2[K13('OrderStateChanged')]
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto51 [GetBoardModel] ----------
  ; fn ?  line 439-441 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
; ---------- proto52 [GetOrderModel] ----------
  ; fn ?  line 444-446 np=1 va=0 ms=3 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetOrderModel'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('GetOrderModel')] (self)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto53 [IsChestCustomerOrder] ----------
  ; fn ?  line 448-457 np=1 va=0 ms=8 code=20 consts=6 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='ChestCustomerActivityDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='GetTriggerOrder'
  ;   upvals: _ENV
  ;   locals: orderId(0-20), (for generator)(3-17), (for state)(3-17), (for control)(3-17), activityType(4-15), activityModel(9-15)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('ChestCustomerActivityDefinition')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 15
  0004  GETTABUP  R5 = _ENV[K2('GM')]
  0005  GETTABLE  R5 = R5[K3('ActivityManager')]
  0006  SELF      R6 = R5[K4('GetModel')] (self)
  0007  MOVE      R7 = R0
  0008  CALL      R5 = call(R5, 1 args, 2 rets)
  0009  SELF      R7 = R5[K5('GetTriggerOrder')] (self)
  0010  CALL      R6 = call(R6, 1 args, 1 rets)
  0011  EQ        if R0 eq R0   -> -127987
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R6 = true
  0014  RETURN    return R6..R5
  0015  TFORCALL  tforcall R1
  0016  TFORLOOP  tforloop R3(sBx=-13)   -> 4
  0017  LOADBOOL  R1 = false
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
; ---------- proto54 [IsTriggered] ----------
  ; fn ?  line 463-465 np=1 va=0 ms=3 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='IsInDuration'
  ;   K[1]='GetTriggerOrderDay'
  ;   K[2]=0
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('IsInDuration')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 10
  0004  SELF      R2 = R0[K1('GetTriggerOrderDay')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  LT        if R1 lt R1   -> 1033
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto55 [GetListOrderWeight] ----------
  ; fn ?  line 467-495 np=1 va=0 ms=16 code=51 consts=17 upvals=1 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetOrderModel'
  ;   K[2]='pairs'
  ;   K[3]='GetOrders'
  ;   K[4]='GetType'
  ;   K[5]='OrderType'
  ;   K[6]='BakeOut'
  ;   K[7]='IsAvatarReplaced'
  ;   K[8]='GetOrderFillEnergyDiff'
  ;   K[9]='_GetTriggerConfig'
  ;   K[10]=nil
  ;   K[11]='GetWeight'
  ;   K[12]=0
  ;   K[13]='table'
  ;   K[14]='insert'
  ;   K[15]='order'
  ;   K[16]='Weight'
  ;   upvals: _ENV
  ;   locals: self(0-51), boardModel(2-51), orderModel(4-51), arrOrder(5-51), mapEnergyDiff(6-51), energyDiff(7-51), triggerConfig(7-51), weight(7-51), (for generator)(11-47), (for state)(11-47), (for control)(11-47), _(12-45), order(12-45)
  0000  SELF      R2 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetOrderModel')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  NEWTABLE  R3 = {} (0 items)
  0005  NEWTABLE  R4 = {} (0 items)
  0006  LOADNIL   R5..R5 = nil
  0007  GETTABUP  R8 = _ENV[K2('pairs')]
  0008  SELF      R10 = R2[K3('GetOrders')] (self)
  0009  CALL      R9 = call(R9, -1 args, 1 rets)
  0010  CALL      R8 = call(R8, 3 args, -1 rets)
  0011  JMP       (jump)   -> 45
  0012  SELF      R14 = R12[K4('GetType')] (self)
  0013  CALL      R13 = call(R13, 1 args, 1 rets)
  0014  GETTABUP  R14 = _ENV[K5('OrderType')]
  0015  GETTABLE  R14 = R14[K6('BakeOut')]
  0016  EQ        if R1 eq R14   -> -124384
  0017  JMP       (jump)   -> 45
  0018  SELF      R14 = R12[K7('IsAvatarReplaced')] (self)
  0019  CALL      R13 = call(R13, 1 args, 1 rets)
  0020  TEST      if not R13 then   -> -131049
  0021  JMP       (jump)   -> 45
  0022  SELF      R14 = R1[K8('GetOrderFillEnergyDiff')] (self)
  0023  MOVE      R15 = R0
  0024  CALL      R13 = call(R13, 1 args, 2 rets)
  0025  MOVE      R5 = R0
  0026  SELF      R14 = R0[K9('_GetTriggerConfig')] (self)
  0027  MOVE      R15 = R0
  0028  CALL      R13 = call(R13, 1 args, 2 rets)
  0029  MOVE      R6 = R0
  0030  EQ        if R1 eq K10(nil)   -> -127702
  0031  JMP       (jump)   -> 45
  0032  SELF      R14 = R6[K11('GetWeight')] (self)
  0033  CALL      R13 = call(R13, 1 args, 1 rets)
  0034  MOVE      R7 = R0
  0035  LT        if R0 lt R7   -> 6188
  0036  JMP       (jump)   -> 45
  0037  GETTABUP  R13 = _ENV[K13('table')]
  0038  GETTABLE  R13 = R13[K14('insert')]
  0039  MOVE      R14 = R0
  0040  NEWTABLE  R15 = {} (0 items)
  0041  SETTABLE  R15[K15('order')] = R12
  0042  SETTABLE  R15[K16('Weight')] = R7
  0043  CALL      R13 = call(R13, 0 args, 2 rets)
  0044  SETTABLE  R4[R12] = R5
  0045  TFORCALL  tforcall R8
  0046  TFORLOOP  tforloop R10(sBx=-35)   -> 12
  0047  MOVE      R8 = R0
  0048  MOVE      R9 = R0
  0049  RETURN    return R8..R7
  0050  RETURN    return R0..R-1
; ---------- proto56 [_CanTriggerNecessary] ----------
  ; fn ?  line 497-518 np=1 va=0 ms=4 code=42 consts=13 upvals=1 protos=0
  ;   K[0]='IsTriggered'
  ;   K[1]='IsInCooldown'
  ;   K[2]='GM'
  ;   K[3]='GameModel'
  ;   K[4]='GetServerTime'
  ;   K[5]='GetMaxDuration'
  ;   K[6]='GetEndTime'
  ;   K[7]='ActivityManager'
  ;   K[8]='GetModel'
  ;   K[9]='ActivityType'
  ;   K[10]='BakeOut'
  ;   K[11]=nil
  ;   K[12]='CanAcquireToken'
  ;   upvals: _ENV
  ;   locals: self(0-42), bakeOutModel(31-42)
  0000  SELF      R2 = R0[K0('IsTriggered')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('IsInCooldown')] (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  GETTABUP  R1 = _ENV[K2('GM')]
  0013  GETTABLE  R1 = R1[K3('GameModel')]
  0014  SELF      R2 = R1[K4('GetServerTime')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  SELF      R3 = R0[K5('GetMaxDuration')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  ADD       R1 = R2 add R1
  0019  SELF      R3 = R0[K6('GetEndTime')] (self)
  0020  CALL      R2 = call(R2, 1 args, 1 rets)
  0021  LT        if R0 lt R1   -> -130024
  0022  JMP       (jump)   -> 25
  0023  LOADBOOL  R1 = false
  0024  RETURN    return R1..R0
  0025  GETTABUP  R1 = _ENV[K2('GM')]
  0026  GETTABLE  R1 = R1[K7('ActivityManager')]
  0027  SELF      R2 = R1[K8('GetModel')] (self)
  0028  GETTABUP  R3 = _ENV[K9('ActivityType')]
  0029  GETTABLE  R3 = R3[K10('BakeOut')]
  0030  CALL      R1 = call(R1, 1 args, 2 rets)
  0031  EQ        if R1 eq K11(nil)   -> -130260
  0032  JMP       (jump)   -> 39
  0033  SELF      R3 = R1[K12('CanAcquireToken')] (self)
  0034  CALL      R2 = call(R2, 1 args, 1 rets)
  0035  TEST      if not R2 then   -> -131035
  0036  JMP       (jump)   -> 39
  0037  LOADBOOL  R2 = false
  0038  RETURN    return R2..R1
  0039  LOADBOOL  R2 = true
  0040  RETURN    return R2..R1
  0041  RETURN    return R0..R-1
; ---------- proto57 [CanTrigger] ----------
  ; fn ?  line 520-526 np=1 va=0 ms=3 code=15 consts=3 upvals=0 protos=0
  ;   K[0]='_CanTriggerNecessary'
  ;   K[1]='GetListOrderWeight'
  ;   K[2]=0
  ;   locals: self(0-15)
  0000  SELF      R2 = R0[K0('_CanTriggerNecessary')] (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('GetListOrderWeight')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  LEN       R1 = len R0
  0009  LT        if R1 lt R1   -> 1036
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R1 = false
  0012  LOADBOOL  R1 = true
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto58 [TryTrigger] ----------
  ; fn ?  line 528-591 np=1 va=0 ms=28 code=146 consts=48 upvals=1 protos=1
  ;   K[0]='_CanTriggerNecessary'
  ;   K[1]='GetListOrderWeight'
  ;   K[2]=0
  ;   K[3]='Table'
  ;   K[4]='ListWeightSelectOne'
  ;   K[5]='order'
  ;   K[6]='_GetTriggerConfig'
  ;   K[7]='GM'
  ;   K[8]='GameModel'
  ;   K[9]='GetServerTime'
  ;   K[10]='GameConfig'
  ;   K[11]='IsTestMode'
  ;   K[12]='ipairs'
  ;   K[13]='Weight'
  ;   K[14]='GetBoardModel'
  ;   K[15]='GetOrdersSortedByEnergyDiff'
  ;   K[16]='table'
  ;   K[17]='insert'
  ;   K[18]='string'
  ;   K[19]='format'
  ;   K[20]='订单id：%s | 体力差额：%f | 权重：%d | 选中概率：%f%%'
  ;   K[21]='math'
  ;   K[22]='max'
  ;   K[23]=1
  ;   K[24]=100
  ;   K[25]='订单id：%s | 体力差额：%f | 权重：<color=#D32F2F>0</color>'
  ;   K[26]='GetOrderFillEnergyDiff'
  ;   K[27]='Log'
  ;   K[28]='Info'
  ;   K[29]='[宝箱顾客] 触发活动，当前选中订单：%s\n%s'
  ;   K[30]='GetId'
  ;   K[31]='concat'
  ;   K[32]='\n'
  ;   K[33]='GetOrderModel'
  ;   K[34]='SetTriggerEnergyDiff'
  ;   K[35]='SetTriggerOrder'
  ;   K[36]='SetTriggerOrderDay'
  ;   K[37]='GetCurOrderDay'
  ;   K[38]='SetTriggerEndTime'
  ;   K[39]='GetDuration'
  ;   K[40]='SetTriggerCooldownEndTime'
  ;   K[41]='GetCooldown'
  ;   K[42]='SetSavedTriggerConfig'
  ;   K[43]='_LogStart'
  ;   K[44]='SetStartAnimationPlaying'
  ;   K[45]='TrySpeedUpOnTriggered'
  ;   K[46]='_DispatchRefreshEntryEvent'
  ;   K[47]='_DispatchTriggerStateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-146), arrOrder(7-146), mapEnergyDiff(7-146), randomOrder(15-146), targetOrder(16-146), energyDiff(17-146), triggerConfig(20-146), serverTime(24-146), arrLogString(30-108), mapWeight(31-108), totalWeight(32-108), (for generator)(35-43), (for state)(35-43), (for control)(35-43), _(36-41), orderInfo(36-41), getOrderIdWithColor(44-108), (for generator)(50-94), (for state)(50-94), (for control)(50-94), _(51-92), order(51-92), orderModel(110-146)
  0000  SELF      R2 = R0[K0('_CanTriggerNecessary')] (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('GetListOrderWeight')] (self)
  0006  CALL      R1 = call(R1, 2 args, 1 rets)
  0007  LEN       R3 = len R0
  0008  LE        if R0 le K2(0)   -> -129268
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  GETTABUP  R3 = _ENV[K3('Table')]
  0012  GETTABLE  R3 = R3[K4('ListWeightSelectOne')]
  0013  MOVE      R4 = R0
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  GETTABLE  R4 = R3[K5('order')]
  0016  GETTABLE  R5 = R2[R4]
  0017  SELF      R7 = R0[K6('_GetTriggerConfig')] (self)
  0018  MOVE      R8 = R0
  0019  CALL      R6 = call(R6, 1 args, 2 rets)
  0020  GETTABUP  R7 = _ENV[K7('GM')]
  0021  GETTABLE  R7 = R7[K8('GameModel')]
  0022  SELF      R8 = R7[K9('GetServerTime')] (self)
  0023  CALL      R7 = call(R7, 1 args, 1 rets)
  0024  GETTABUP  R8 = _ENV[K10('GameConfig')]
  0025  GETTABLE  R8 = R8[K11('IsTestMode')]
  0026  CALL      R8 = call(R8, 1 args, 0 rets)
  0027  TEST      if not R8 then   -> -131043
  0028  JMP       (jump)   -> 108
  0029  NEWTABLE  R8 = {} (0 items)
  0030  NEWTABLE  R9 = {} (0 items)
  0031  LOADK     R10 = K2 0
  0032  GETTABUP  R11 = _ENV[K12('ipairs')]
  0033  MOVE      R12 = R0
  0034  CALL      R11 = call(R11, 3 args, 1 rets)
  0035  JMP       (jump)   -> 41
  0036  GETTABLE  R16 = R15[K13('Weight')]
  0037  ADD       R10 = R16 add R10
  0038  GETTABLE  R16 = R15[K5('order')]
  0039  GETTABLE  R17 = R15[K13('Weight')]
  0040  SETTABLE  R9[R16] = R17
  0041  TFORCALL  tforcall R11
  0042  TFORLOOP  tforloop R13(sBx=-7)   -> 36
  0043  CLOSURE   R11 = closure proto0
  0044  GETTABUP  R12 = _ENV[K12('ipairs')]
  0045  SELF      R14 = R0[K14('GetBoardModel')] (self)
  0046  CALL      R13 = call(R13, 1 args, 1 rets)
  0047  SELF      R14 = R13[K15('GetOrdersSortedByEnergyDiff')] (self)
  0048  CALL      R13 = call(R13, -1 args, 1 rets)
  0049  CALL      R12 = call(R12, 3 args, -1 rets)
  0050  JMP       (jump)   -> 92
  0051  GETTABLE  R17 = R9[R16]
  0052  TEST      if not R17 then   -> -131018
  0053  JMP       (jump)   -> 76
  0054  GETTABUP  R17 = _ENV[K16('table')]
  0055  GETTABLE  R17 = R17[K17('insert')]
  0056  MOVE      R18 = R0
  0057  GETTABUP  R19 = _ENV[K18('string')]
  0058  GETTABLE  R19 = R19[K19('format')]
  0059  LOADK     R20 = K20 '订单id：%s | 体力差额：%f | 权重：%d | 选中概率：%f%%'
  0060  MOVE      R21 = R0
  0061  MOVE      R22 = R0
  0062  CALL      R21 = call(R21, 1 args, 1 rets)
  0063  GETTABLE  R22 = R2[R16]
  0064  GETTABLE  R23 = R9[R16]
  0065  GETTABLE  R24 = R9[R16]
  0066  GETTABUP  R25 = _ENV[K21('math')]
  0067  GETTABLE  R25 = R25[K22('max')]
  0068  MOVE      R26 = R0
  0069  LOADK     R27 = K23 1
  0070  CALL      R25 = call(R25, 1 args, 2 rets)
  0071  DIV       R24 = R25 div R24
  0072  MUL       R24 = K24(100) mul R24
  0073  CALL      R19 = call(R19, -1 args, 5 rets)
  0074  CALL      R17 = call(R17, 0 args, -1 rets)
  0075  JMP       (jump)   -> 92
  0076  GETTABUP  R17 = _ENV[K16('table')]
  0077  GETTABLE  R17 = R17[K17('insert')]
  0078  MOVE      R18 = R0
  0079  GETTABUP  R19 = _ENV[K18('string')]
  0080  GETTABLE  R19 = R19[K19('format')]
  0081  LOADK     R20 = K25 '订单id：%s | 体力差额：%f | 权重：<color=#D32F2F>0</color>'
  0082  MOVE      R21 = R0
  0083  MOVE      R22 = R0
  0084  CALL      R21 = call(R21, 1 args, 1 rets)
  0085  SELF      R23 = R0[K14('GetBoardModel')] (self)
  0086  CALL      R22 = call(R22, 1 args, 1 rets)
  0087  SELF      R23 = R22[K26('GetOrderFillEnergyDiff')] (self)
  0088  MOVE      R24 = R0
  0089  CALL      R22 = call(R22, -1 args, 2 rets)
  0090  CALL      R19 = call(R19, -1 args, -1 rets)
  0091  CALL      R17 = call(R17, 0 args, -1 rets)
  0092  TFORCALL  tforcall R12
  0093  TFORLOOP  tforloop R14(sBx=-43)   -> 51
  0094  GETTABUP  R12 = _ENV[K27('Log')]
  0095  GETTABLE  R12 = R12[K28('Info')]
  0096  GETTABUP  R13 = _ENV[K18('string')]
  0097  GETTABLE  R13 = R13[K19('format')]
  0098  LOADK     R14 = K29 '[宝箱顾客] 触发活动，当前选中订单：%s\n%s'
  0099  SELF      R16 = R4[K30('GetId')] (self)
  0100  CALL      R15 = call(R15, 1 args, 1 rets)
  0101  GETTABUP  R16 = _ENV[K16('table')]
  0102  GETTABLE  R16 = R16[K31('concat')]
  0103  MOVE      R17 = R0
  0104  LOADK     R18 = K32 '\n'
  0105  CALL      R16 = call(R16, -1 args, 2 rets)
  0106  CALL      R13 = call(R13, -1 args, -1 rets)
  0107  CALL      R12 = call(R12, 0 args, -1 rets)
  0108  SELF      R9 = R0[K33('GetOrderModel')] (self)
  0109  CALL      R8 = call(R8, 1 args, 1 rets)
  0110  SELF      R10 = R0[K34('SetTriggerEnergyDiff')] (self)
  0111  MOVE      R11 = R0
  0112  CALL      R9 = call(R9, 0 args, 2 rets)
  0113  SELF      R10 = R0[K35('SetTriggerOrder')] (self)
  0114  SELF      R12 = R4[K30('GetId')] (self)
  0115  CALL      R11 = call(R11, -1 args, 1 rets)
  0116  CALL      R9 = call(R9, 0 args, -1 rets)
  0117  SELF      R10 = R0[K36('SetTriggerOrderDay')] (self)
  0118  SELF      R12 = R8[K37('GetCurOrderDay')] (self)
  0119  CALL      R11 = call(R11, -1 args, 1 rets)
  0120  CALL      R9 = call(R9, 0 args, -1 rets)
  0121  SELF      R10 = R0[K38('SetTriggerEndTime')] (self)
  0122  SELF      R12 = R0[K39('GetDuration')] (self)
  0123  CALL      R11 = call(R11, 1 args, 1 rets)
  0124  ADD       R11 = R11 add R7
  0125  CALL      R9 = call(R9, 0 args, 2 rets)
  0126  SELF      R10 = R0[K40('SetTriggerCooldownEndTime')] (self)
  0127  SELF      R12 = R0[K41('GetCooldown')] (self)
  0128  CALL      R11 = call(R11, 1 args, 1 rets)
  0129  ADD       R11 = R11 add R7
  0130  CALL      R9 = call(R9, 0 args, 2 rets)
  0131  SELF      R10 = R0[K42('SetSavedTriggerConfig')] (self)
  0132  MOVE      R11 = R0
  0133  CALL      R9 = call(R9, 0 args, 2 rets)
  0134  SELF      R10 = R0[K43('_LogStart')] (self)
  0135  CALL      R9 = call(R9, 0 args, 1 rets)
  0136  SELF      R10 = R0[K44('SetStartAnimationPlaying')] (self)
  0137  LOADBOOL  R11 = true
  0138  CALL      R9 = call(R9, 0 args, 2 rets)
  0139  SELF      R10 = R0[K45('TrySpeedUpOnTriggered')] (self)
  0140  CALL      R9 = call(R9, 0 args, 1 rets)
  0141  SELF      R10 = R0[K46('_DispatchRefreshEntryEvent')] (self)
  0142  CALL      R9 = call(R9, 0 args, 1 rets)
  0143  SELF      R10 = R0[K47('_DispatchTriggerStateChangedEvent')] (self)
  0144  CALL      R9 = call(R9, 0 args, 1 rets)
  0145  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 555-557 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: targetOrder, _ENV
    ;   locals: order(0-15)
    0000  GETUPVAL  R1 = targetOrder
    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
; ---------- proto59 [UpdateOrderSorting] ----------
  ; fn ?  line 593-596 np=1 va=0 ms=3 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='OrderStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('OrderStateChanged')]
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto60 [OnAnimationWindowEnd] ----------
  ; fn ?  line 598-600 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchStartAnimationEndEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchStartAnimationEndEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto61 [TryClaimReward] ----------
  ; fn ?  line 611-657 np=1 va=0 ms=23 code=112 consts=40 upvals=3 protos=0
  ;   K[0]='GetBoardModel'
  ;   K[1]='GetSavedTriggerConfig'
  ;   K[2]='GetTriggerEnergyDiff'
  ;   K[3]='GetRewardPercentage'
  ;   K[4]=10000
  ;   K[5]='GetRewardType'
  ;   K[6]='EItemFillRewardType'
  ;   K[7]='Green'
  ;   K[8]='ItemFillHelper'
  ;   K[9]='FillOrderItemWithGreen'
  ;   K[10]='GetScoreThreshold'
  ;   K[11]='GetMaxRewardScore'
  ;   K[12]='GetMinRewardNum'
  ;   K[13]='[宝箱顾客] '
  ;   K[14]='FillOrderItemWithScore'
  ;   K[15]='EBIType'
  ;   K[16]='ChestCustomerAcquireReward'
  ;   K[17]='pairs'
  ;   K[18]='FindEmptyPositionFromBottom2Top'
  ;   K[19]=nil
  ;   K[20]='GenerateItem'
  ;   K[21]='table'
  ;   K[22]='insert'
  ;   K[23]='GM'
  ;   K[24]='BIManager'
  ;   K[25]='LogAcquire'
  ;   K[26]=1
  ;   K[27]='EGameMode'
  ;   K[28]='Board'
  ;   K[29]='PROPERTY_TYPE'
  ;   K[30]='PROPERTY_COUNT'
  ;   K[31]='RewardApi'
  ;   K[32]='AcquireRewardsLogic'
  ;   K[33]='EPropertySource'
  ;   K[34]='Give'
  ;   K[35]='ERewardScene'
  ;   K[36]='Other'
  ;   K[37]='m_arrRewards'
  ;   K[38]='m_arrItemRewards'
  ;   K[39]='_DispatchAcquireRewardEvent'
  ;   upvals: _ENV, kLevelMin, kLevelMax
  ;   locals: self(0-112), boardModel(2-112), triggerConfig(4-112), rewardScore(10-112), rewardType(12-112), arrItemCode(13-112), arrRewards(51-112), arrItemRewards(52-112), eBIType(54-112), emptyPosition(55-112), newItem(55-112), (for generator)(58-96), (for state)(58-96), (for control)(58-96), _(59-94), itemCode(59-94)
  0000  SELF      R2 = R0[K0('GetBoardModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetSavedTriggerConfig')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R4 = R0[K2('GetTriggerEnergyDiff')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  SELF      R5 = R2[K3('GetRewardPercentage')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  MUL       R3 = R4 mul R3
  0009  DIV       R3 = K4(10000) div R3
  0010  SELF      R5 = R2[K5('GetRewardType')] (self)
  0011  CALL      R4 = call(R4, 1 args, 1 rets)
  0012  LOADNIL   R5..R5 = nil
  0013  GETTABUP  R6 = _ENV[K6('EItemFillRewardType')]
  0014  GETTABLE  R6 = R6[K7('Green')]
  0015  EQ        if R0 eq R6   -> -129001
  0016  JMP       (jump)   -> 34
  0017  GETTABUP  R6 = _ENV[K8('ItemFillHelper')]
  0018  GETTABLE  R6 = R6[K9('FillOrderItemWithGreen')]
  0019  MOVE      R7 = R0
  0020  MOVE      R8 = R0
  0021  SELF      R10 = R0[K10('GetScoreThreshold')] (self)
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  SELF      R11 = R2[K11('GetMaxRewardScore')] (self)
  0024  CALL      R10 = call(R10, 1 args, 1 rets)
  0025  SELF      R12 = R2[K12('GetMinRewardNum')] (self)
  0026  CALL      R11 = call(R11, 1 args, 1 rets)
  0027  GETUPVAL  R12 = _ENV
  0028  GETUPVAL  R13 = _ENV
  0029  LOADNIL   R14..R14 = nil
  0030  LOADK     R15 = K13 '[宝箱顾客] '
  0031  CALL      R6 = call(R6, 1 args, 9 rets)
  0032  MOVE      R5 = R0
  0033  JMP       (jump)   -> 50
  0034  GETTABUP  R6 = _ENV[K8('ItemFillHelper')]
  0035  GETTABLE  R6 = R6[K14('FillOrderItemWithScore')]
  0036  MOVE      R7 = R0
  0037  MOVE      R8 = R0
  0038  SELF      R10 = R0[K10('GetScoreThreshold')] (self)
  0039  CALL      R9 = call(R9, 1 args, 1 rets)
  0040  SELF      R11 = R2[K11('GetMaxRewardScore')] (self)
  0041  CALL      R10 = call(R10, 1 args, 1 rets)
  0042  SELF      R12 = R2[K12('GetMinRewardNum')] (self)
  0043  CALL      R11 = call(R11, 1 args, 1 rets)
  0044  GETUPVAL  R12 = _ENV
  0045  GETUPVAL  R13 = _ENV
  0046  LOADNIL   R14..R14 = nil
  0047  LOADK     R15 = K13 '[宝箱顾客] '
  0048  CALL      R6 = call(R6, 1 args, 9 rets)
  0049  MOVE      R5 = R0
  0050  NEWTABLE  R6 = {} (0 items)
  0051  NEWTABLE  R7 = {} (0 items)
  0052  GETTABUP  R8 = _ENV[K15('EBIType')]
  0053  GETTABLE  R8 = R8[K16('ChestCustomerAcquireReward')]
  0054  LOADNIL   R9..R9 = nil
  0055  GETTABUP  R11 = _ENV[K17('pairs')]
  0056  MOVE      R12 = R0
  0057  CALL      R11 = call(R11, 3 args, 1 rets)
  0058  JMP       (jump)   -> 94
  0059  SELF      R17 = R1[K18('FindEmptyPositionFromBottom2Top')] (self)
  0060  CALL      R16 = call(R16, 1 args, 1 rets)
  0061  MOVE      R9 = R0
  0062  EQ        if R1 eq K19(nil)   -> -126125
  0063  JMP       (jump)   -> 85
  0064  SELF      R17 = R1[K20('GenerateItem')] (self)
  0065  MOVE      R18 = R0
  0066  MOVE      R19 = R0
  0067  CALL      R16 = call(R16, 1 args, 3 rets)
  0068  MOVE      R10 = R0
  0069  GETTABUP  R16 = _ENV[K21('table')]
  0070  GETTABLE  R16 = R16[K22('insert')]
  0071  MOVE      R17 = R0
  0072  MOVE      R18 = R0
  0073  CALL      R16 = call(R16, 0 args, 2 rets)
  0074  GETTABUP  R16 = _ENV[K23('GM')]
  0075  GETTABLE  R16 = R16[K24('BIManager')]
  0076  SELF      R17 = R16[K25('LogAcquire')] (self)
  0077  MOVE      R18 = R0
  0078  LOADK     R19 = K26 1
  0079  MOVE      R20 = R0
  0080  LOADBOOL  R21 = true
  0081  GETTABUP  R22 = _ENV[K27('EGameMode')]
  0082  GETTABLE  R22 = R22[K28('Board')]
  0083  CALL      R16 = call(R16, 0 args, 6 rets)
  0084  JMP       (jump)   -> 94
  0085  GETTABUP  R16 = _ENV[K21('table')]
  0086  GETTABLE  R16 = R16[K22('insert')]
  0087  MOVE      R17 = R0
  0088  NEWTABLE  R18 = {} (0 items)
  0089  GETTABUP  R19 = _ENV[K29('PROPERTY_TYPE')]
  0090  SETTABLE  R18[R19] = R15
  0091  GETTABUP  R19 = _ENV[K30('PROPERTY_COUNT')]
  0092  SETTABLE  R18[R19] = K26(1)
  0093  CALL      R16 = call(R16, 0 args, 2 rets)
  0094  TFORCALL  tforcall R11
  0095  TFORLOOP  tforloop R13(sBx=-37)   -> 59
  0096  GETTABUP  R11 = _ENV[K31('RewardApi')]
  0097  GETTABLE  R11 = R11[K32('AcquireRewardsLogic')]
  0098  MOVE      R12 = R0
  0099  GETTABUP  R13 = _ENV[K33('EPropertySource')]
  0100  GETTABLE  R13 = R13[K34('Give')]
  0101  MOVE      R14 = R0
  0102  GETTABUP  R15 = _ENV[K35('ERewardScene')]
  0103  GETTABLE  R15 = R15[K36('Other')]
  0104  CALL      R11 = call(R11, 0 args, 4 rets)
  0105  MOVE      R11 = R0
  0106  SETTABLE  R0[K38('m_arrItemRewards')] = R7
  0107  SETTABLE  R0[K37('m_arrRewards')] = R11
  0108  SELF      R12 = R0[K39('_DispatchAcquireRewardEvent')] (self)
  0109  CALL      R11 = call(R11, 0 args, 1 rets)
  0110  RETURN    return R5..R4
  0111  RETURN    return R0..R-1
; ---------- proto62 [CanPopRewardWindow] ----------
  ; fn ?  line 659-661 np=1 va=0 ms=3 code=16 consts=4 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrRewards'
  ;   K[3]='m_arrItemRewards'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrRewards')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 13
  0006  GETTABUP  R1 = _ENV[K0('Table')]
  0007  GETTABLE  R1 = R1[K1('IsEmpty')]
  0008  GETTABLE  R2 = R0[K3('m_arrItemRewards')]
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R1 = false
  0013  LOADBOOL  R1 = true
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
; ---------- proto63 [GetAndClearRewardsForView] ----------
  ; fn ?  line 663-668 np=1 va=0 ms=5 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_arrRewards'
  ;   K[1]='m_arrItemRewards'
  ;   K[2]=nil
  ;   locals: self(0-8), arrRewards(2-8), arrItemRewards(2-8)
  0000  GETTABLE  R1 = R0[K0('m_arrRewards')]
  0001  GETTABLE  R2 = R0[K1('m_arrItemRewards')]
  0002  SETTABLE  R0[K0('m_arrRewards')] = K2(nil)
  0003  SETTABLE  R0[K1('m_arrItemRewards')] = K2(nil)
  0004  MOVE      R3 = R0
  0005  MOVE      R4 = R0
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto64 [_OnOrderGroupRefreshed] ----------
  ; fn ?  line 670-675 np=1 va=0 ms=4 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='GetDayReset'
  ;   K[1]=0
  ;   K[2]='SetTriggerCooldownEndTime'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('GetDayReset')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(0)   -> -130299
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K2('SetTriggerCooldownEndTime')] (self)
  0005  LOADK     R3 = K1 0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto65 [_OnOrderFinished] ----------
  ; fn ?  line 677-694 np=2 va=0 ms=7 code=23 consts=7 upvals=0 protos=0
  ;   K[0]='order'
  ;   K[1]='GetTriggerOrder'
  ;   K[2]='GetId'
  ;   K[3]='TryClaimReward'
  ;   K[4]='_LogFinish'
  ;   K[5]='SetTriggerOrder'
  ;   K[6]='SetTriggerOrderDay'
  ;   locals: self(0-23), msg(0-23), order(7-23), arrItemCode(15-22)
  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('GetTriggerOrder')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  SELF      R5 = R2[K2('GetId')] (self)
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  EQ        if R0 eq R4   -> -129519
  0012  JMP       (jump)   -> 22
  0013  SELF      R4 = R0[K3('TryClaimReward')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  SELF      R5 = R0[K4('_LogFinish')] (self)
  0016  MOVE      R6 = R0
  0017  CALL      R4 = call(R4, 0 args, 2 rets)
  0018  SELF      R5 = R0[K5('SetTriggerOrder')] (self)
  0019  CALL      R4 = call(R4, 0 args, 1 rets)
  0020  SELF      R5 = R0[K6('SetTriggerOrderDay')] (self)
  0021  CALL      R4 = call(R4, 0 args, 1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto66 [_IsUnfilledDishExcludeCooking] ----------
  ; fn ?  line 703-770 np=3 va=0 ms=11 code=39 consts=11 upvals=1 protos=1
  ;   K[0]='HasSpeedUpAbility'
  ;   K[1]='IsTriggered'
  ;   K[2]='GetBoardModel'
  ;   K[3]='GetOrderModel'
  ;   K[4]='GetOrders'
  ;   K[5]='GetTriggerOrder'
  ;   K[6]=nil
  ;   K[7]='setmetatable'
  ;   K[8]='GetCodeCountMapInclueInCook'
  ;   K[9]='__index'
  ;   K[10]='GetUnfilledOrderRequirements'
  ;   upvals: _ENV
  ;   locals: self(0-39), dish(0-39), extraCodeCountMap(0-39), boardModel(14-39), orderModel(16-39), order(21-39), proxyBoardModel(32-39), unfilled(36-39)
  0000  SELF      R4 = R0[K0('HasSpeedUpAbility')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  TEST      if not R3 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R3 = false
  0005  RETURN    return R3..R2
  0006  SELF      R4 = R0[K1('IsTriggered')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R3 = false
  0011  RETURN    return R3..R2
  0012  SELF      R4 = R0[K2('GetBoardModel')] (self)
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  SELF      R5 = R0[K3('GetOrderModel')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  SELF      R6 = R4[K4('GetOrders')] (self)
  0017  CALL      R5 = call(R5, 1 args, 1 rets)
  0018  SELF      R7 = R0[K5('GetTriggerOrder')] (self)
  0019  CALL      R6 = call(R6, 1 args, 1 rets)
  0020  GETTABLE  R5 = R5[R6]
  0021  EQ        if R0 eq K6(nil)   -> -128227
  0022  JMP       (jump)   -> 25
  0023  LOADBOOL  R6 = false
  0024  RETURN    return R6..R5
  0025  GETTABUP  R6 = _ENV[K7('setmetatable')]
  0026  NEWTABLE  R7 = {} (0 items)
  0027  CLOSURE   R8 = closure proto0
  0028  SETTABLE  R7[K8('GetCodeCountMapInclueInCook')] = R8
  0029  NEWTABLE  R8 = {} (0 items)
  0030  SETTABLE  R8[K9('__index')] = R3
  0031  CALL      R6 = call(R6, 1 args, 2 rets)
  0032  SELF      R8 = R6[K10('GetUnfilledOrderRequirements')] (self)
  0033  LOADNIL   R9..R9 = nil
  0034  MOVE      R10 = R0
  0035  CALL      R7 = call(R7, 1 args, 3 rets)
  0036  GETTABLE  R8 = R7[R1]
  0037  RETURN    return R8..R7
  0038  RETURN    return R0..R-1
  ; ---------- proto0 [GetCodeCountMapInclueInCook] ----------
    ; fn ?  line 726-761 np=2 va=0 ms=14 code=84 consts=19 upvals=3 protos=0
    ;   K[0]='GetCodeCountMap'
    ;   K[1]='Table'
    ;   K[2]='IsEmpty'
    ;   K[3]='pairs'
    ;   K[4]=0
    ;   K[5]='GetAllItemCookCmp'
    ;   K[6]='ipairs'
    ;   K[7]='GetState'
    ;   K[8]='EItemCookState'
    ;   K[9]='Cooked'
    ;   K[10]='Cooking'
    ;   K[11]='IsSpeeding'
    ;   K[12]='GetRemainCookDuration'
    ;   K[13]='GetRecipe'
    ;   K[14]=1
    ;   K[15]='IsDisposable'
    ;   K[16]='GetItemModel'
    ;   K[17]='GetCode'
    ;   K[18]=nil
    ;   upvals: boardModel, _ENV, extraCodeCountMap
    ;   locals: self(0-84), excludeStore(0-84), codeCountMap(6-84), (for generator)(15-24), (for state)(15-24), (for control)(15-24), itemCode(16-22), count(16-22), cookState(25-84), cookCode(25-84), cookCmps(30-84), (for generator)(33-82), (for state)(33-82), (for control)(33-82), _(34-80), cookCmp(34-80), recipe(55-80)
    0000  GETUPVAL  R2 = boardModel
    0001  SELF      R3 = R2[K0('GetCodeCountMap')] (self)
    0002  LOADBOOL  R4 = true
    0003  LOADBOOL  R5 = false
    0004  NOT       R6 = not R0
    0005  CALL      R2 = call(R2, 1 args, 4 rets)
    0006  GETTABUP  R3 = _ENV[K1('Table')]
    0007  GETTABLE  R3 = R3[K2('IsEmpty')]
    0008  GETUPVAL  R4 = boardModel
    0009  CALL      R3 = call(R3, 1 args, 1 rets)
    0010  TEST      if not R3 then   -> -131059
    0011  JMP       (jump)   -> 24
    0012  GETTABUP  R3 = _ENV[K3('pairs')]
    0013  GETUPVAL  R4 = boardModel
    0014  CALL      R3 = call(R3, 3 args, 1 rets)
    0015  JMP       (jump)   -> 22
    0016  GETTABLE  R8 = R2[R6]
    0017  TEST      if not R8 then   -> -131052
    0018  JMP       (jump)   -> 20
    0019  LOADK     R8 = K4 0
    0020  ADD       R8 = R7 add R8
    0021  SETTABLE  R2[R6] = R8
    0022  TFORCALL  tforcall R3
    0023  TFORLOOP  tforloop R5(sBx=-8)   -> 16
    0024  LOADNIL   R3..R3 = nil
    0025  GETUPVAL  R5 = boardModel
    0026  SELF      R6 = R5[K5('GetAllItemCookCmp')] (self)
    0027  LOADBOOL  R7 = true
    0028  NOT       R8 = not R0
    0029  CALL      R5 = call(R5, 1 args, 3 rets)
    0030  GETTABUP  R6 = _ENV[K6('ipairs')]
    0031  MOVE      R7 = R0
    0032  CALL      R6 = call(R6, 3 args, 1 rets)
    0033  JMP       (jump)   -> 80
    0034  SELF      R12 = R10[K7('GetState')] (self)
    0035  CALL      R11 = call(R11, 1 args, 1 rets)
    0036  MOVE      R3 = R0
    0037  GETTABUP  R11 = _ENV[K8('EItemCookState')]
    0038  GETTABLE  R11 = R11[K9('Cooked')]
    0039  EQ        if R1 eq R11   -> -129484
    0040  JMP       (jump)   -> 53
    0041  GETTABUP  R11 = _ENV[K8('EItemCookState')]
    0042  GETTABLE  R11 = R11[K10('Cooking')]
    0043  EQ        if R0 eq R11   -> -129480
    0044  JMP       (jump)   -> 80
    0045  SELF      R12 = R10[K11('IsSpeeding')] (self)
    0046  CALL      R11 = call(R11, 1 args, 1 rets)
    0047  TEST      if not R11 then   -> -131023
    0048  JMP       (jump)   -> 80
    0049  SELF      R12 = R10[K12('GetRemainCookDuration')] (self)
    0050  CALL      R11 = call(R11, 1 args, 1 rets)
    0051  LE        if R0 le R11   -> 2112
    0052  JMP       (jump)   -> 80
    0053  SELF      R12 = R10[K13('GetRecipe')] (self)
    0054  CALL      R11 = call(R11, 1 args, 1 rets)
    0055  GETTABLE  R12 = R2[R11]
    0056  TEST      if not R12 then   -> -131013
    0057  JMP       (jump)   -> 59
    0058  LOADK     R12 = K4 0
    0059  ADD       R12 = K14(1) add R12
    0060  SETTABLE  R2[R11] = R12
    0061  SELF      R13 = R10[K15('IsDisposable')] (self)
    0062  CALL      R12 = call(R12, 1 args, 1 rets)
    0063  TEST      if not R12 then   -> -131007
    0064  JMP       (jump)   -> 80
    0065  SELF      R13 = R10[K16('GetItemModel')] (self)
    0066  CALL      R12 = call(R12, 1 args, 1 rets)
    0067  SELF      R13 = R12[K17('GetCode')] (self)
    0068  CALL      R12 = call(R12, 1 args, 1 rets)
    0069  MOVE      R4 = R0
    0070  GETTABLE  R12 = R2[R4]
    0071  TEST      if not R12 then   -> -130998
    0072  JMP       (jump)   -> 74
    0073  LOADK     R12 = K4 0
    0074  SUB       R12 = K14(1) sub R12
    0075  SETTABLE  R2[R4] = R12
    0076  GETTABLE  R12 = R2[R4]
    0077  LE        if R0 le K4(0)   -> -124589
    0078  JMP       (jump)   -> 80
    0079  SETTABLE  R2[R4] = K18(nil)
    0080  TFORCALL  tforcall R6
    0081  TFORLOOP  tforloop R8(sBx=-48)   -> 34
    0082  RETURN    return R2..R1
    0083  RETURN    return R0..R-1
; ---------- proto67 [_SpeedUpItem] ----------
  ; fn ?  line 773-775 np=2 va=0 ms=7 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='OnSpeedUp'
  ;   K[1]='EBIType'
  ;   K[2]='ChestCustomerAcquireReward'
  ;   upvals: _ENV
  ;   locals: self(0-7), itemCook(0-7)
  0000  SELF      R3 = R1[K0('OnSpeedUp')] (self)
  0001  LOADBOOL  R4 = true
  0002  GETTABUP  R5 = _ENV[K1('EBIType')]
  0003  GETTABLE  R5 = R5[K2('ChestCustomerAcquireReward')]
  0004  LOADBOOL  R6 = false
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto68 [PlaySpeedUpItemAnimation] ----------
  ; fn ?  line 778-780 np=2 va=0 ms=6 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='PlaySpeedUIAnim'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='SpeedUpAnimationPrefabName'
  ;   locals: self(0-6), itemCook(0-6)
  0000  SELF      R3 = R1[K0('PlaySpeedUIAnim')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('SpeedUpAnimationPrefabName')]
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto69 [_OnItemCookStarted] ----------
  ; fn ?  line 782-797 np=2 va=0 ms=8 code=22 consts=8 upvals=1 protos=0
  ;   K[0]='HasSpeedUpAbility'
  ;   K[1]='item'
  ;   K[2]='dish'
  ;   K[3]='_IsUnfilledDishExcludeCooking'
  ;   K[4]='GetComponent'
  ;   K[5]='ItemCook'
  ;   K[6]='_SpeedUpItem'
  ;   K[7]='PlaySpeedUpItemAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-22), msg(0-22), item(6-22), dish(7-22), itemCook(15-21)
  0000  SELF      R3 = R0[K0('HasSpeedUpAbility')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R2 = R1[K1('item')]
  0006  GETTABLE  R3 = R1[K2('dish')]
  0007  SELF      R5 = R0[K3('_IsUnfilledDishExcludeCooking')] (self)
  0008  MOVE      R6 = R0
  0009  CALL      R4 = call(R4, 1 args, 2 rets)
  0010  TEST      if not R4 then   -> -131060
  0011  JMP       (jump)   -> 21
  0012  SELF      R5 = R2[K4('GetComponent')] (self)
  0013  GETTABUP  R6 = _ENV[K5('ItemCook')]
  0014  CALL      R4 = call(R4, 1 args, 2 rets)
  0015  SELF      R6 = R0[K6('_SpeedUpItem')] (self)
  0016  MOVE      R7 = R0
  0017  CALL      R5 = call(R5, 0 args, 2 rets)
  0018  SELF      R6 = R0[K7('PlaySpeedUpItemAnimation')] (self)
  0019  MOVE      R7 = R0
  0020  CALL      R5 = call(R5, 0 args, 2 rets)
  0021  RETURN    return R0..R-1
; ---------- proto70 [TrySpeedUpOnTriggered] ----------
  ; fn ?  line 799-873 np=1 va=0 ms=23 code=126 consts=25 upvals=1 protos=1
  ;   K[0]='HasSpeedUpAbility'
  ;   K[1]='GetBoardModel'
  ;   K[2]='GetAllItemCookCmp'
  ;   K[3]='ipairs'
  ;   K[4]='GetRecipe'
  ;   K[5]='GM'
  ;   K[6]='ItemDataModel'
  ;   K[7]='IsDishes'
  ;   K[8]='GetState'
  ;   K[9]='EItemCookState'
  ;   K[10]='Cooking'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   K[13]=true
  ;   K[14]='pairs'
  ;   K[15]='GetAllMaterials'
  ;   K[16]='Table'
  ;   K[17]='TopologicalSort'
  ;   K[18]='sort'
  ;   K[19]='GetRecipe'
  ;   K[20]='_IsUnfilledDishExcludeCooking'
  ;   K[21]=0
  ;   K[22]=1
  ;   K[23]='_SpeedUpItem'
  ;   K[24]='m_arrItemCook'
  ;   upvals: _ENV
  ;   locals: self(0-126), dish(6-126), boardModel(8-126), arrCookComponent(12-126), arrCookingComponent(13-126), mapDish(14-126), (for generator)(17-43), (for state)(17-43), (for control)(17-43), _(18-41), itemCook(18-41), _(44-126), arrDishMaterials(44-126), graph(45-126), (for generator)(48-75), (for state)(48-75), (for control)(48-75), dish(49-73), (for generator)(62-73), (for state)(62-73), (for control)(62-73), _(63-71), dishMaterial(63-71), arrDishOrder(79-126), mapDishOrder(80-126), (for generator)(83-87), (for state)(83-87), (for control)(83-87), order(84-85), dish(84-85), sortByTopologicalThenCookingTime(88-126), extraCodeCountMap(94-126), arrItemCook(95-126), (for generator)(98-124), (for state)(98-124), (for control)(98-124), _(99-122), itemCook(99-122)
  0000  SELF      R2 = R0[K0('HasSpeedUpAbility')] (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  LOADNIL   R1..R1 = nil
  0006  SELF      R3 = R0[K1('GetBoardModel')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  SELF      R4 = R2[K2('GetAllItemCookCmp')] (self)
  0009  LOADBOOL  R5 = true
  0010  LOADBOOL  R6 = false
  0011  CALL      R3 = call(R3, 1 args, 3 rets)
  0012  NEWTABLE  R4 = {} (0 items)
  0013  NEWTABLE  R5 = {} (0 items)
  0014  GETTABUP  R6 = _ENV[K3('ipairs')]
  0015  MOVE      R7 = R0
  0016  CALL      R6 = call(R6, 3 args, 1 rets)
  0017  JMP       (jump)   -> 41
  0018  SELF      R12 = R10[K4('GetRecipe')] (self)
  0019  CALL      R11 = call(R11, 1 args, 1 rets)
  0020  MOVE      R1 = R0
  0021  GETTABUP  R11 = _ENV[K5('GM')]
  0022  GETTABLE  R11 = R11[K6('ItemDataModel')]
  0023  SELF      R12 = R11[K7('IsDishes')] (self)
  0024  MOVE      R13 = R0
  0025  LOADBOOL  R14 = true
  0026  CALL      R11 = call(R11, 1 args, 3 rets)
  0027  TEST      if not R11 then   -> -131043
  0028  JMP       (jump)   -> 41
  0029  SELF      R12 = R10[K8('GetState')] (self)
  0030  CALL      R11 = call(R11, 1 args, 1 rets)
  0031  GETTABUP  R12 = _ENV[K9('EItemCookState')]
  0032  GETTABLE  R12 = R12[K10('Cooking')]
  0033  EQ        if R0 eq R12   -> -125393
  0034  JMP       (jump)   -> 41
  0035  GETTABUP  R11 = _ENV[K11('table')]
  0036  GETTABLE  R11 = R11[K12('insert')]
  0037  MOVE      R12 = R0
  0038  MOVE      R13 = R0
  0039  CALL      R11 = call(R11, 0 args, 2 rets)
  0040  SETTABLE  R5[R1] = K13(true)
  0041  TFORCALL  tforcall R6
  0042  TFORLOOP  tforloop R8(sBx=-25)   -> 18
  0043  LOADNIL   R6..R6 = nil
  0044  NEWTABLE  R8 = {} (0 items)
  0045  GETTABUP  R9 = _ENV[K14('pairs')]
  0046  MOVE      R10 = R0
  0047  CALL      R9 = call(R9, 3 args, 1 rets)
  0048  JMP       (jump)   -> 73
  0049  NEWTABLE  R13 = {} (0 items)
  0050  SETTABLE  R8[R12] = R13
  0051  GETTABUP  R13 = _ENV[K5('GM')]
  0052  GETTABLE  R13 = R13[K6('ItemDataModel')]
  0053  SELF      R14 = R13[K15('GetAllMaterials')] (self)
  0054  MOVE      R15 = R0
  0055  LOADBOOL  R16 = false
  0056  CALL      R13 = call(R13, 2 args, 3 rets)
  0057  MOVE      R7 = R0
  0058  MOVE      R6 = R0
  0059  GETTABUP  R13 = _ENV[K3('ipairs')]
  0060  MOVE      R14 = R0
  0061  CALL      R13 = call(R13, 3 args, 1 rets)
  0062  JMP       (jump)   -> 71
  0063  GETTABLE  R18 = R5[R17]
  0064  TEST      if not R18 then   -> -131006
  0065  JMP       (jump)   -> 71
  0066  GETTABUP  R18 = _ENV[K11('table')]
  0067  GETTABLE  R18 = R18[K12('insert')]
  0068  GETTABLE  R19 = R8[R12]
  0069  MOVE      R20 = R0
  0070  CALL      R18 = call(R18, 0 args, 2 rets)
  0071  TFORCALL  tforcall R13
  0072  TFORLOOP  tforloop R15(sBx=-10)   -> 63
  0073  TFORCALL  tforcall R9
  0074  TFORLOOP  tforloop R11(sBx=-26)   -> 49
  0075  GETTABUP  R9 = _ENV[K16('Table')]
  0076  GETTABLE  R9 = R9[K17('TopologicalSort')]
  0077  MOVE      R10 = R0
  0078  CALL      R9 = call(R9, 1 args, 1 rets)
  0079  NEWTABLE  R10 = {} (0 items)
  0080  GETTABUP  R11 = _ENV[K3('ipairs')]
  0081  MOVE      R12 = R0
  0082  CALL      R11 = call(R11, 3 args, 1 rets)
  0083  JMP       (jump)   -> 85
  0084  SETTABLE  R10[R15] = R14
  0085  TFORCALL  tforcall R11
  0086  TFORLOOP  tforloop R13(sBx=-3)   -> 84
  0087  CLOSURE   R11 = closure proto0
  0088  GETTABUP  R12 = _ENV[K11('table')]
  0089  GETTABLE  R12 = R12[K18('sort')]
  0090  MOVE      R13 = R0
  0091  MOVE      R14 = R0
  0092  CALL      R12 = call(R12, 0 args, 2 rets)
  0093  NEWTABLE  R12 = {} (0 items)
  0094  NEWTABLE  R13 = {} (0 items)
  0095  GETTABUP  R14 = _ENV[K3('ipairs')]
  0096  MOVE      R15 = R0
  0097  CALL      R14 = call(R14, 3 args, 1 rets)
  0098  JMP       (jump)   -> 122
  0099  SELF      R20 = R18[K19('GetRecipe')] (self)
  0100  CALL      R19 = call(R19, 1 args, 1 rets)
  0101  MOVE      R1 = R0
  0102  SELF      R20 = R0[K20('_IsUnfilledDishExcludeCooking')] (self)
  0103  MOVE      R21 = R0
  0104  MOVE      R22 = R0
  0105  CALL      R19 = call(R19, 1 args, 3 rets)
  0106  TEST      if not R19 then   -> -130964
  0107  JMP       (jump)   -> 122
  0108  GETTABLE  R19 = R12[R1]
  0109  TEST      if not R19 then   -> -130960
  0110  JMP       (jump)   -> 112
  0111  LOADK     R19 = K21 0
  0112  ADD       R19 = K22(1) add R19
  0113  SETTABLE  R12[R1] = R19
  0114  SELF      R20 = R0[K23('_SpeedUpItem')] (self)
  0115  MOVE      R21 = R0
  0116  CALL      R19 = call(R19, 0 args, 2 rets)
  0117  GETTABUP  R19 = _ENV[K11('table')]
  0118  GETTABLE  R19 = R19[K12('insert')]
  0119  MOVE      R20 = R0
  0120  MOVE      R21 = R0
  0121  CALL      R19 = call(R19, 0 args, 2 rets)
  0122  TFORCALL  tforcall R14
  0123  TFORLOOP  tforloop R16(sBx=-25)   -> 99
  0124  SETTABLE  R0[K24('m_arrItemCook')] = R13
  0125  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 853-860 np=2 va=0 ms=7 code=23 consts=2 upvals=1 protos=0
    ;   K[0]='GetRecipe'
    ;   K[1]='GetRemainCookDuration'
    ;   upvals: mapDishOrder
    ;   locals: itemCookA(0-23), itemCookB(0-23), dishOrderA(3-23), dishOrderB(6-23)
    0000  SELF      R3 = R0[K0('GetRecipe')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  GETTABUP  R2 = mapDishOrder[R2]
    0003  SELF      R4 = R1[K0('GetRecipe')] (self)
    0004  CALL      R3 = call(R3, 1 args, 1 rets)
    0005  GETTABUP  R3 = mapDishOrder[R3]
    0006  EQ        if R0 eq R3   -> -130037
    0007  JMP       (jump)   -> 17
    0008  SELF      R5 = R0[K1('GetRemainCookDuration')] (self)
    0009  CALL      R4 = call(R4, 1 args, 1 rets)
    0010  SELF      R6 = R1[K1('GetRemainCookDuration')] (self)
    0011  CALL      R5 = call(R5, 1 args, 1 rets)
    0012  LT        if R1 lt R4   -> -128494
    0013  JMP       (jump)   -> 15
    0014  LOADBOOL  R4 = false
    0015  LOADBOOL  R4 = true
    0016  RETURN    return R4..R3
    0017  LT        if R1 lt R3   -> -130026
    0018  JMP       (jump)   -> 20
    0019  LOADBOOL  R4 = false
    0020  LOADBOOL  R4 = true
    0021  RETURN    return R4..R3
    0022  RETURN    return R0..R-1
; ---------- proto71 [GetAndClearItemCook] ----------
  ; fn ?  line 875-879 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrItemCook'
  ;   K[1]=nil
  ;   locals: self(0-4), arrItemCook(1-4)
  0000  GETTABLE  R1 = R0[K0('m_arrItemCook')]
  0001  SETTABLE  R0[K0('m_arrItemCook')] = K1(nil)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto72 [_OpenWindow] ----------
  ; fn ?  line 886-888 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
; ---------- proto73 [OpenAnimationWindow] ----------
  ; fn ?  line 892-894 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='AnimationWindowPrefabName'
  ;   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('AnimationWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto74 [OpenRewardWindow] ----------
  ; fn ?  line 898-900 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='RewardWindowPrefabName'
  ;   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('RewardWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto75 [OnAnimationWindowFlyAnimationEndWhenNotValid] ----------
  ; fn ?  line 902-905 np=1 va=0 ms=4 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='SetStartAnimationPlaying'
  ;   K[1]='_DispatchRefreshEntryEvent'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('SetStartAnimationPlaying')] (self)
  0001  LOADBOOL  R3 = false
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K1('_DispatchRefreshEntryEvent')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  RETURN    return R0..R-1
; ---------- proto76 [OnAnimationWindowFlyAnimationEnd] ----------
  ; fn ?  line 907-911 np=1 va=0 ms=4 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='SetStartAnimationPlaying'
  ;   K[1]='SetSkipOrderAnimation'
  ;   K[2]='_DispatchRefreshEntryEvent'
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('SetStartAnimationPlaying')] (self)
  0001  LOADBOOL  R3 = false
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K1('SetSkipOrderAnimation')] (self)
  0004  LOADBOOL  R3 = true
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  SELF      R2 = R0[K2('_DispatchRefreshEntryEvent')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto77 [_IsEntryVisible] ----------
  ; fn ?  line 917-919 np=2 va=0 ms=5 code=18 consts=4 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='GetTriggerOrder'
  ;   K[3]='GetId'
  ;   locals: self(0-18), order(0-18)
  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)   -> 16
  0004  SELF      R3 = R0[K1('IsTriggered')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 16
  0008  SELF      R3 = R0[K2('GetTriggerOrder')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SELF      R4 = R1[K3('GetId')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  EQ        if R1 eq R3   -> -130031
  0013  JMP       (jump)   -> 15
  0014  LOADBOOL  R2 = false
  0015  LOADBOOL  R2 = true
  0016  RETURN    return R2..R1
  0017  RETURN    return R0..R-1
; ---------- proto78 [GetOrderCellAvatarConfig] ----------
  ; fn ?  line 921-930 np=1 va=0 ms=5 code=16 consts=8 upvals=0 protos=1
  ;   K[0]='avatarName'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='OrderCellAvatarName'
  ;   K[3]='bNoMask'
  ;   K[4]=true
  ;   K[5]='checkFun'
  ;   K[6]='events'
  ;   K[7]='RefreshEntryEvent'
  ;   locals: self(0-16)
  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('OrderCellAvatarName')]
  0004  SETTABLE  R1[K0('avatarName')] = R2
  0005  SETTABLE  R1[K3('bNoMask')] = K4(true)
  0006  CLOSURE   R2 = closure proto0
  0007  SETTABLE  R1[K5('checkFun')] = R2
  0008  NEWTABLE  R2 = {} (1 items)
  0009  SELF      R4 = R0[K1('GetActivityDefinition')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  GETTABLE  R3 = R3[K7('RefreshEntryEvent')]
  0012  SETLIST   setlist R2[B=1,C=1]
  0013  SETTABLE  R1[K6('events')] = R2
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 925-927 np=1 va=0 ms=4 code=10 consts=2 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   K[1]='m_bIsStartAnimationPlaying'
    ;   upvals: self
    ;   locals: order(0-10)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('_IsEntryVisible')] (self)
    0002  MOVE      R3 = R0
    0003  CALL      R1 = call(R1, 1 args, 2 rets)
    0004  TEST      if not R1 then   -> -131066
    0005  JMP       (jump)   -> 8
    0006  GETTABUP  R1 = self[K1('m_bIsStartAnimationPlaying')]
    0007  NOT       R1 = not R0
    0008  RETURN    return R1..R0
    0009  RETURN    return R0..R-1
; ---------- proto79 [GetOrderCellStyleConfig] ----------
  ; fn ?  line 932-944 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 939-941 np=1 va=0 ms=4 code=17 consts=4 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   K[1]='GetId'
    ;   K[2]='m_startAnimationOrder'
    ;   K[3]='m_bIsStartAnimationPlaying'
    ;   upvals: self
    ;   locals: order(0-17)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('_IsEntryVisible')] (self)
    0002  MOVE      R3 = R0
    0003  CALL      R1 = call(R1, 1 args, 2 rets)
    0004  TEST      if not R1 then   -> -131065
    0005  JMP       (jump)   -> 15
    0006  SELF      R2 = R0[K1('GetId')] (self)
    0007  CALL      R1 = call(R1, 1 args, 1 rets)
    0008  GETTABUP  R2 = self[K2('m_startAnimationOrder')]
    0009  EQ        if R0 eq R2   -> -130547
    0010  JMP       (jump)   -> 13
    0011  GETTABUP  R1 = self[K3('m_bIsStartAnimationPlaying')]
    0012  JMP       (jump)   -> 15
    0013  LOADBOOL  R1 = false
    0014  LOADBOOL  R1 = true
    0015  RETURN    return R1..R0
    0016  RETURN    return R0..R-1
; ---------- proto80 [OnOrderAnimationLoaded] ----------
  ; fn ?  line 947-949 np=2 va=0 ms=5 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchOrderAnimationLoadedEvent'
  ;   locals: self(0-4), orderAnimation(0-4)
  0000  SELF      R3 = R0[K0('_DispatchOrderAnimationLoadedEvent')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto81 [OnOrderAnimationClicked] ----------
  ; fn ?  line 952-954 np=2 va=0 ms=5 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchOrderAnimationClickedEvent'
  ;   locals: self(0-4), orderAnimation(0-4)
  0000  SELF      R3 = R0[K0('_DispatchOrderAnimationClickedEvent')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto82 [_LogStart] ----------
  ; fn ?  line 960-972 np=1 va=0 ms=13 code=64 consts=22 upvals=1 protos=0
  ;   K[0]='GetTriggerOrder'
  ;   K[1]='GetOrderModel'
  ;   K[2]='GetOrders'
  ;   K[3]='GetRequirements'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='string'
  ;   K[7]='format'
  ;   K[8]='dish:%s'
  ;   K[9]='concat'
  ;   K[10]=','
  ;   K[11]='time:%d'
  ;   K[12]='GetDuration'
  ;   K[13]='orderId:%s'
  ;   K[14]='diff:%s'
  ;   K[15]='GetTriggerEnergyDiff'
  ;   K[16]='GM'
  ;   K[17]='BIManager'
  ;   K[18]='LogAction'
  ;   K[19]='EBIType'
  ;   K[20]='ChestCustomerStart'
  ;   K[21]=';'
  ;   upvals: _ENV
  ;   locals: self(0-64), orderId(2-64), orderModel(4-64), order(7-64), requirements(9-64), strAction(10-64)
  0000  SELF      R2 = R0[K0('GetTriggerOrder')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetOrderModel')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R4 = R2[K2('GetOrders')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  GETTABLE  R3 = R3[R1]
  0007  SELF      R5 = R3[K3('GetRequirements')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  NEWTABLE  R5 = {} (0 items)
  0010  GETTABUP  R6 = _ENV[K4('table')]
  0011  GETTABLE  R6 = R6[K5('insert')]
  0012  MOVE      R7 = R0
  0013  GETTABUP  R8 = _ENV[K6('string')]
  0014  GETTABLE  R8 = R8[K7('format')]
  0015  LOADK     R9 = K8 'dish:%s'
  0016  GETTABUP  R10 = _ENV[K4('table')]
  0017  GETTABLE  R10 = R10[K9('concat')]
  0018  MOVE      R11 = R0
  0019  LOADK     R12 = K10 ','
  0020  CALL      R10 = call(R10, -1 args, 2 rets)
  0021  CALL      R8 = call(R8, -1 args, -1 rets)
  0022  CALL      R6 = call(R6, 0 args, -1 rets)
  0023  GETTABUP  R6 = _ENV[K4('table')]
  0024  GETTABLE  R6 = R6[K5('insert')]
  0025  MOVE      R7 = R0
  0026  GETTABUP  R8 = _ENV[K6('string')]
  0027  GETTABLE  R8 = R8[K7('format')]
  0028  LOADK     R9 = K11 'time:%d'
  0029  SELF      R11 = R0[K12('GetDuration')] (self)
  0030  CALL      R10 = call(R10, -1 args, 1 rets)
  0031  CALL      R8 = call(R8, -1 args, -1 rets)
  0032  CALL      R6 = call(R6, 0 args, -1 rets)
  0033  GETTABUP  R6 = _ENV[K4('table')]
  0034  GETTABLE  R6 = R6[K5('insert')]
  0035  MOVE      R7 = R0
  0036  GETTABUP  R8 = _ENV[K6('string')]
  0037  GETTABLE  R8 = R8[K7('format')]
  0038  LOADK     R9 = K13 'orderId:%s'
  0039  MOVE      R10 = R0
  0040  CALL      R8 = call(R8, -1 args, 2 rets)
  0041  CALL      R6 = call(R6, 0 args, -1 rets)
  0042  GETTABUP  R6 = _ENV[K4('table')]
  0043  GETTABLE  R6 = R6[K5('insert')]
  0044  MOVE      R7 = R0
  0045  GETTABUP  R8 = _ENV[K6('string')]
  0046  GETTABLE  R8 = R8[K7('format')]
  0047  LOADK     R9 = K14 'diff:%s'
  0048  SELF      R11 = R0[K15('GetTriggerEnergyDiff')] (self)
  0049  CALL      R10 = call(R10, -1 args, 1 rets)
  0050  CALL      R8 = call(R8, -1 args, -1 rets)
  0051  CALL      R6 = call(R6, 0 args, -1 rets)
  0052  GETTABUP  R6 = _ENV[K16('GM')]
  0053  GETTABLE  R6 = R6[K17('BIManager')]
  0054  SELF      R7 = R6[K18('LogAction')] (self)
  0055  GETTABUP  R8 = _ENV[K19('EBIType')]
  0056  GETTABLE  R8 = R8[K20('ChestCustomerStart')]
  0057  GETTABUP  R9 = _ENV[K4('table')]
  0058  GETTABLE  R9 = R9[K9('concat')]
  0059  MOVE      R10 = R0
  0060  LOADK     R11 = K21 ';'
  0061  CALL      R9 = call(R9, -1 args, 2 rets)
  0062  CALL      R6 = call(R6, 0 args, -1 rets)
  0063  RETURN    return R0..R-1
; ---------- proto83 [_LogFinish] ----------
  ; fn ?  line 975-981 np=2 va=0 ms=11 code=37 consts=15 upvals=1 protos=0
  ;   K[0]='GetTriggerOrder'
  ;   K[1]='table'
  ;   K[2]='insert'
  ;   K[3]='string'
  ;   K[4]='format'
  ;   K[5]='rewards:%s'
  ;   K[6]='concat'
  ;   K[7]=','
  ;   K[8]='orderId:%s'
  ;   K[9]='GM'
  ;   K[10]='BIManager'
  ;   K[11]='LogAction'
  ;   K[12]='EBIType'
  ;   K[13]='ChestCustomerFinish'
  ;   K[14]=';'
  ;   upvals: _ENV
  ;   locals: self(0-37), arrItemCode(0-37), orderId(2-37), strAction(3-37)
  0000  SELF      R3 = R0[K0('GetTriggerOrder')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  NEWTABLE  R3 = {} (0 items)
  0003  GETTABUP  R4 = _ENV[K1('table')]
  0004  GETTABLE  R4 = R4[K2('insert')]
  0005  MOVE      R5 = R0
  0006  GETTABUP  R6 = _ENV[K3('string')]
  0007  GETTABLE  R6 = R6[K4('format')]
  0008  LOADK     R7 = K5 'rewards:%s'
  0009  GETTABUP  R8 = _ENV[K1('table')]
  0010  GETTABLE  R8 = R8[K6('concat')]
  0011  MOVE      R9 = R0
  0012  LOADK     R10 = K7 ','
  0013  CALL      R8 = call(R8, -1 args, 2 rets)
  0014  CALL      R6 = call(R6, -1 args, -1 rets)
  0015  CALL      R4 = call(R4, 0 args, -1 rets)
  0016  GETTABUP  R4 = _ENV[K1('table')]
  0017  GETTABLE  R4 = R4[K2('insert')]
  0018  MOVE      R5 = R0
  0019  GETTABUP  R6 = _ENV[K3('string')]
  0020  GETTABLE  R6 = R6[K4('format')]
  0021  LOADK     R7 = K8 'orderId:%s'
  0022  MOVE      R8 = R0
  0023  CALL      R6 = call(R6, -1 args, 2 rets)
  0024  CALL      R4 = call(R4, 0 args, -1 rets)
  0025  GETTABUP  R4 = _ENV[K9('GM')]
  0026  GETTABLE  R4 = R4[K10('BIManager')]
  0027  SELF      R5 = R4[K11('LogAction')] (self)
  0028  GETTABUP  R6 = _ENV[K12('EBIType')]
  0029  GETTABLE  R6 = R6[K13('ChestCustomerFinish')]
  0030  GETTABUP  R7 = _ENV[K1('table')]
  0031  GETTABLE  R7 = R7[K6('concat')]
  0032  MOVE      R8 = R0
  0033  LOADK     R9 = K14 ';'
  0034  CALL      R7 = call(R7, -1 args, 2 rets)
  0035  CALL      R4 = call(R4, 0 args, -1 rets)
  0036  RETURN    return R0..R-1
; ---------- proto84 [_LogEnd] ----------
  ; fn ?  line 983-987 np=1 va=0 ms=8 code=18 consts=10 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='reason:time'
  ;   K[3]='GM'
  ;   K[4]='BIManager'
  ;   K[5]='LogAction'
  ;   K[6]='EBIType'
  ;   K[7]='ChestCustomerFinish'
  ;   K[8]='concat'
  ;   K[9]=';'
  ;   upvals: _ENV
  ;   locals: self(0-18), strAction(1-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('table')]
  0002  GETTABLE  R2 = R2[K1('insert')]
  0003  MOVE      R3 = R0
  0004  LOADK     R4 = K2 'reason:time'
  0005  CALL      R2 = call(R2, 0 args, 2 rets)
  0006  GETTABUP  R2 = _ENV[K3('GM')]
  0007  GETTABLE  R2 = R2[K4('BIManager')]
  0008  SELF      R3 = R2[K5('LogAction')] (self)
  0009  GETTABUP  R4 = _ENV[K6('EBIType')]
  0010  GETTABLE  R4 = R4[K7('ChestCustomerFinish')]
  0011  GETTABUP  R5 = _ENV[K0('table')]
  0012  GETTABLE  R5 = R5[K8('concat')]
  0013  MOVE      R6 = R0
  0014  LOADK     R7 = K9 ';'
  0015  CALL      R5 = call(R5, -1 args, 2 rets)
  0016  CALL      R2 = call(R2, 0 args, -1 rets)
  0017  RETURN    return R0..R-1
