# RecipeCollectActivity_Model_RecipeCollectActivityModel_1877.luac
; fn @RecipeCollectActivityModel.lua  line 0-0 np=0 va=1 ms=3 code=334 consts=136 upvals=1 protos=103
;   K[0]='RecipeCollectActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='ConfigKey'
;   K[5]='recipeCollectConfig'
;   K[6]='TriggerState'
;   K[7]='tri'
;   K[8]='Closed'
;   K[9]='closed'
;   K[10]='TrayContent'
;   K[11]='content'
;   K[12]='Recipe2Day'
;   K[13]='r2d'
;   K[14]='Day2FirstTray'
;   K[15]='d2t'
;   K[16]='StageRewardClaimed'
;   K[17]='s_rwd'
;   K[18]='LastProgressScore'
;   K[19]='lps'
;   K[20]='FinalRewardClaimed'
;   K[21]='frc'
;   K[22]='CompleteWindowPoped'
;   K[23]='cwp'
;   K[24]='MainWindowAnimationPlayed'
;   K[25]='v_st'
;   K[26]='NewRecipeUnlock'
;   K[27]='v_unlock'
;   K[28]='MainWindowNewRecipe'
;   K[29]='v_new'
;   K[30]='LatestUnlockedContent'
;   K[31]='v_last'
;   K[32]='Init'
;   K[33]='GetActivityDefinition'
;   K[34]='_OnStateChanged'
;   K[35]='IsActivityOpen'
;   K[36]='GetResourceLabels'
;   K[37]='_LoadDBTableData'
;   K[38]='_DropData'
;   K[39]='_GetLogPrefix'
;   K[40]='_LoadOtherServerConfig'
;   K[41]='_CheckConfigValid'
;   K[42]='RecipeCollectActivityModel'
;   K[43]='GetTotalStage'
;   K[44]='GetStageConfig'
;   K[45]='GetTotalScore'
;   K[46]='GetFinalRewards'
;   K[47]='IsTriggerState'
;   K[48]='SetTriggerState'
;   K[49]='IsClosed'
;   K[50]='SetClosed'
;   K[51]='_LoadTrayContent'
;   K[52]='_SaveTrayContent'
;   K[53]='GetMapTrayContent'
;   K[54]='GetTrayContent'
;   K[55]='SetTrayContent'
;   K[56]='UpdateTrayContent'
;   K[57]='ClearTrayContent'
;   K[58]='_LoadRecipe2Day'
;   K[59]='_SaveRecipe2Day'
;   K[60]='GetDayFromRecipe'
;   K[61]='SetRecipe2Day'
;   K[62]='RemoveRecipe'
;   K[63]='ClearRecipe2Day'
;   K[64]='_LoadDay2FirstTray'
;   K[65]='_SaveDay2FirstTray'
;   K[66]='GetFirstTrayFromDay'
;   K[67]='SetDay2FirstTray'
;   K[68]='ClearDay2FirstTray'
;   K[69]='_LoadStageRewardClaimed'
;   K[70]='_SaveStageRewardClaimed'
;   K[71]='IsStageRewardClaimed'
;   K[72]='SetStageRewardClaimed'
;   K[73]='IsFinalRewardClaimed'
;   K[74]='SetFinalRewardClaimed'
;   K[75]='_LoadNewRecipeUnlock'
;   K[76]='_SaveNewRecipeUnlock'
;   K[77]='GetNewRecipeUnlock'
;   K[78]='GetAndRemoveNewRecipeUnlock'
;   K[79]='AddNewRecipeUnlock'
;   K[80]='_LoadMainWindowNewRecipe'
;   K[81]='_SaveMainWindowNewRecipe'
;   K[82]='AddMainWindowNewRecipe'
;   K[83]='ClearMainWindowNewRecipe'
;   K[84]='GetLatestUnlockedContent'
;   K[85]='SetLatestUnlockedContent'
;   K[86]='GetLastProgressScore'
;   K[87]='SetLastProgressScore'
;   K[88]='IsCompleteWindowPoped'
;   K[89]='SetCompleteWindowPoped'
;   K[90]='IsMainWindowAnimationPlayed'
;   K[91]='SetMainWindowAnimationPlayed'
;   K[92]='_ExtractTrayFromData'
;   K[93]='IsTrayOccupied'
;   K[94]='GetProgressScore'
;   K[95]='UpdateDay2FirstTray'
;   K[96]='IsNewRecipeUnlock'
;   K[97]='GetNewRecipeUnlockCount'
;   K[98]='IsMainWindowNewRecipe'
;   K[99]='_DispatchStateChangedEvent'
;   K[100]='_DispatchRefreshEntryEvent'
;   K[101]='_DispatchNewRecipeUnlockEvent'
;   K[102]='_DispatchMainWindowAnimationEndEvent'
;   K[103]='_DispatchMainWindowClosedEvent'
;   K[104]='_DispatchHelpWindowClosedEvent'
;   K[105]='IsTriggered'
;   K[106]='CanTrigger'
;   K[107]='TryTrigger'
;   K[108]='_GetNextTray'
;   K[109]='_GetRecipeData'
;   K[110]='_OnMainOrderCreated'
;   K[111]='_LogDay2Recipe'
;   K[112]='_OnItemUnlocked'
;   K[113]='IsStageFinished'
;   K[114]='CanClaimStageReward'
;   K[115]='ClaimStageReward'
;   K[116]='CanClaimFinalReward'
;   K[117]='TryClaimFinalReward'
;   K[118]='_OpenWindow'
;   K[119]='OpenMainWindow'
;   K[120]='OpenHelpWindow'
;   K[121]='OpenNewRecipeUnlockWindow'
;   K[122]='OpenStageRewardWindow'
;   K[123]='OpenFinalRewardWindow'
;   K[124]='OpenCompleteWindow'
;   K[125]='TryPopWindow'
;   K[126]='OnMainWindowAnimationEnd'
;   K[127]='OnMainWindowClosed'
;   K[128]='OnHelpWindowClosed'
;   K[129]='_IsEntryVisible'
;   K[130]='_IsDiscoveriesButtonEntryVisible'
;   K[131]='GetItemDishDetailWindowBottomLeftEntryConfig'
;   K[132]='GetDiscoveriesWindowBottomLeftEntryConfig'
;   K[133]='GetDiscoveriesButtonEntryConfig'
;   K[134]='_LogNewDish'
;   K[135]='_LogStart'
;   upvals: _ENV
;   locals: DBKey(24-334)
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('RecipeCollectActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityModel')]
0009  SETTABLE  R0[K4('ConfigKey')] = K5('recipeCollectConfig')
0010  NEWTABLE  R0 = {} (0 items)
0011  SETTABLE  R0[K6('TriggerState')] = K7('tri')
0012  SETTABLE  R0[K8('Closed')] = K9('closed')
0013  SETTABLE  R0[K10('TrayContent')] = K11('content')
0014  SETTABLE  R0[K12('Recipe2Day')] = K13('r2d')
0015  SETTABLE  R0[K14('Day2FirstTray')] = K15('d2t')
0016  SETTABLE  R0[K16('StageRewardClaimed')] = K17('s_rwd')
0017  SETTABLE  R0[K18('LastProgressScore')] = K19('lps')
0018  SETTABLE  R0[K20('FinalRewardClaimed')] = K21('frc')
0019  SETTABLE  R0[K22('CompleteWindowPoped')] = K23('cwp')
0020  SETTABLE  R0[K24('MainWindowAnimationPlayed')] = K25('v_st')
0021  SETTABLE  R0[K26('NewRecipeUnlock')] = K27('v_unlock')
0022  SETTABLE  R0[K28('MainWindowNewRecipe')] = K29('v_new')
0023  SETTABLE  R0[K30('LatestUnlockedContent')] = K31('v_last')
0024  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0025  CLOSURE   R2 = closure proto0
0026  SETTABLE  R1[K32('Init')] = R2
0027  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0028  CLOSURE   R2 = closure proto1
0029  SETTABLE  R1[K33('GetActivityDefinition')] = R2
0030  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0031  CLOSURE   R2 = closure proto2
0032  SETTABLE  R1[K34('_OnStateChanged')] = R2
0033  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0034  CLOSURE   R2 = closure proto3
0035  SETTABLE  R1[K35('IsActivityOpen')] = R2
0036  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0037  CLOSURE   R2 = closure proto4
0038  SETTABLE  R1[K36('GetResourceLabels')] = R2
0039  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0040  CLOSURE   R2 = closure proto5
0041  SETTABLE  R1[K37('_LoadDBTableData')] = R2
0042  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0043  CLOSURE   R2 = closure proto6
0044  SETTABLE  R1[K38('_DropData')] = R2
0045  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0046  CLOSURE   R2 = closure proto7
0047  SETTABLE  R1[K39('_GetLogPrefix')] = R2
0048  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0049  CLOSURE   R2 = closure proto8
0050  SETTABLE  R1[K40('_LoadOtherServerConfig')] = R2
0051  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityModel')]
0052  CLOSURE   R2 = closure proto9
0053  SETTABLE  R1[K41('_CheckConfigValid')] = R2
0054  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0055  CLOSURE   R2 = closure proto10
0056  SETTABLE  R1[K43('GetTotalStage')] = R2
0057  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0058  CLOSURE   R2 = closure proto11
0059  SETTABLE  R1[K44('GetStageConfig')] = R2
0060  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0061  CLOSURE   R2 = closure proto12
0062  SETTABLE  R1[K45('GetTotalScore')] = R2
0063  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0064  CLOSURE   R2 = closure proto13
0065  SETTABLE  R1[K46('GetFinalRewards')] = R2
0066  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0067  CLOSURE   R2 = closure proto14
0068  SETTABLE  R1[K47('IsTriggerState')] = R2
0069  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0070  CLOSURE   R2 = closure proto15
0071  SETTABLE  R1[K48('SetTriggerState')] = R2
0072  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0073  CLOSURE   R2 = closure proto16
0074  SETTABLE  R1[K49('IsClosed')] = R2
0075  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0076  CLOSURE   R2 = closure proto17
0077  SETTABLE  R1[K50('SetClosed')] = R2
0078  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0079  CLOSURE   R2 = closure proto18
0080  SETTABLE  R1[K51('_LoadTrayContent')] = R2
0081  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0082  CLOSURE   R2 = closure proto19
0083  SETTABLE  R1[K52('_SaveTrayContent')] = R2
0084  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0085  CLOSURE   R2 = closure proto20
0086  SETTABLE  R1[K53('GetMapTrayContent')] = R2
0087  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0088  CLOSURE   R2 = closure proto21
0089  SETTABLE  R1[K54('GetTrayContent')] = R2
0090  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0091  CLOSURE   R2 = closure proto22
0092  SETTABLE  R1[K55('SetTrayContent')] = R2
0093  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0094  CLOSURE   R2 = closure proto23
0095  SETTABLE  R1[K56('UpdateTrayContent')] = R2
0096  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0097  CLOSURE   R2 = closure proto24
0098  SETTABLE  R1[K57('ClearTrayContent')] = R2
0099  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0100  CLOSURE   R2 = closure proto25
0101  SETTABLE  R1[K58('_LoadRecipe2Day')] = R2
0102  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0103  CLOSURE   R2 = closure proto26
0104  SETTABLE  R1[K59('_SaveRecipe2Day')] = R2
0105  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0106  CLOSURE   R2 = closure proto27
0107  SETTABLE  R1[K60('GetDayFromRecipe')] = R2
0108  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0109  CLOSURE   R2 = closure proto28
0110  SETTABLE  R1[K61('SetRecipe2Day')] = R2
0111  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0112  CLOSURE   R2 = closure proto29
0113  SETTABLE  R1[K62('RemoveRecipe')] = R2
0114  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0115  CLOSURE   R2 = closure proto30
0116  SETTABLE  R1[K63('ClearRecipe2Day')] = R2
0117  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0118  CLOSURE   R2 = closure proto31
0119  SETTABLE  R1[K64('_LoadDay2FirstTray')] = R2
0120  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0121  CLOSURE   R2 = closure proto32
0122  SETTABLE  R1[K65('_SaveDay2FirstTray')] = R2
0123  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0124  CLOSURE   R2 = closure proto33
0125  SETTABLE  R1[K66('GetFirstTrayFromDay')] = R2
0126  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0127  CLOSURE   R2 = closure proto34
0128  SETTABLE  R1[K67('SetDay2FirstTray')] = R2
0129  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0130  CLOSURE   R2 = closure proto35
0131  SETTABLE  R1[K68('ClearDay2FirstTray')] = R2
0132  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0133  CLOSURE   R2 = closure proto36
0134  SETTABLE  R1[K69('_LoadStageRewardClaimed')] = R2
0135  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0136  CLOSURE   R2 = closure proto37
0137  SETTABLE  R1[K70('_SaveStageRewardClaimed')] = R2
0138  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0139  CLOSURE   R2 = closure proto38
0140  SETTABLE  R1[K71('IsStageRewardClaimed')] = R2
0141  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0142  CLOSURE   R2 = closure proto39
0143  SETTABLE  R1[K72('SetStageRewardClaimed')] = R2
0144  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0145  CLOSURE   R2 = closure proto40
0146  SETTABLE  R1[K73('IsFinalRewardClaimed')] = R2
0147  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0148  CLOSURE   R2 = closure proto41
0149  SETTABLE  R1[K74('SetFinalRewardClaimed')] = R2
0150  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0151  CLOSURE   R2 = closure proto42
0152  SETTABLE  R1[K75('_LoadNewRecipeUnlock')] = R2
0153  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0154  CLOSURE   R2 = closure proto43
0155  SETTABLE  R1[K76('_SaveNewRecipeUnlock')] = R2
0156  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0157  CLOSURE   R2 = closure proto44
0158  SETTABLE  R1[K77('GetNewRecipeUnlock')] = R2
0159  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0160  CLOSURE   R2 = closure proto45
0161  SETTABLE  R1[K78('GetAndRemoveNewRecipeUnlock')] = R2
0162  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0163  CLOSURE   R2 = closure proto46
0164  SETTABLE  R1[K79('AddNewRecipeUnlock')] = R2
0165  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0166  CLOSURE   R2 = closure proto47
0167  SETTABLE  R1[K80('_LoadMainWindowNewRecipe')] = R2
0168  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0169  CLOSURE   R2 = closure proto48
0170  SETTABLE  R1[K81('_SaveMainWindowNewRecipe')] = R2
0171  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0172  CLOSURE   R2 = closure proto49
0173  SETTABLE  R1[K82('AddMainWindowNewRecipe')] = R2
0174  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0175  CLOSURE   R2 = closure proto50
0176  SETTABLE  R1[K83('ClearMainWindowNewRecipe')] = R2
0177  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0178  CLOSURE   R2 = closure proto51
0179  SETTABLE  R1[K84('GetLatestUnlockedContent')] = R2
0180  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0181  CLOSURE   R2 = closure proto52
0182  SETTABLE  R1[K85('SetLatestUnlockedContent')] = R2
0183  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0184  CLOSURE   R2 = closure proto53
0185  SETTABLE  R1[K86('GetLastProgressScore')] = R2
0186  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0187  CLOSURE   R2 = closure proto54
0188  SETTABLE  R1[K87('SetLastProgressScore')] = R2
0189  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0190  CLOSURE   R2 = closure proto55
0191  SETTABLE  R1[K88('IsCompleteWindowPoped')] = R2
0192  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0193  CLOSURE   R2 = closure proto56
0194  SETTABLE  R1[K89('SetCompleteWindowPoped')] = R2
0195  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0196  CLOSURE   R2 = closure proto57
0197  SETTABLE  R1[K90('IsMainWindowAnimationPlayed')] = R2
0198  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0199  CLOSURE   R2 = closure proto58
0200  SETTABLE  R1[K91('SetMainWindowAnimationPlayed')] = R2
0201  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0202  CLOSURE   R2 = closure proto59
0203  SETTABLE  R1[K92('_ExtractTrayFromData')] = R2
0204  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0205  CLOSURE   R2 = closure proto60
0206  SETTABLE  R1[K93('IsTrayOccupied')] = R2
0207  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0208  CLOSURE   R2 = closure proto61
0209  SETTABLE  R1[K94('GetProgressScore')] = R2
0210  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0211  CLOSURE   R2 = closure proto62
0212  SETTABLE  R1[K95('UpdateDay2FirstTray')] = R2
0213  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0214  CLOSURE   R2 = closure proto63
0215  SETTABLE  R1[K96('IsNewRecipeUnlock')] = R2
0216  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0217  CLOSURE   R2 = closure proto64
0218  SETTABLE  R1[K97('GetNewRecipeUnlockCount')] = R2
0219  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0220  CLOSURE   R2 = closure proto65
0221  SETTABLE  R1[K98('IsMainWindowNewRecipe')] = R2
0222  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0223  CLOSURE   R2 = closure proto66
0224  SETTABLE  R1[K99('_DispatchStateChangedEvent')] = R2
0225  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0226  CLOSURE   R2 = closure proto67
0227  SETTABLE  R1[K100('_DispatchRefreshEntryEvent')] = R2
0228  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0229  CLOSURE   R2 = closure proto68
0230  SETTABLE  R1[K101('_DispatchNewRecipeUnlockEvent')] = R2
0231  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0232  CLOSURE   R2 = closure proto69
0233  SETTABLE  R1[K102('_DispatchMainWindowAnimationEndEvent')] = R2
0234  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0235  CLOSURE   R2 = closure proto70
0236  SETTABLE  R1[K103('_DispatchMainWindowClosedEvent')] = R2
0237  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0238  CLOSURE   R2 = closure proto71
0239  SETTABLE  R1[K104('_DispatchHelpWindowClosedEvent')] = R2
0240  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0241  CLOSURE   R2 = closure proto72
0242  SETTABLE  R1[K105('IsTriggered')] = R2
0243  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0244  CLOSURE   R2 = closure proto73
0245  SETTABLE  R1[K106('CanTrigger')] = R2
0246  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0247  CLOSURE   R2 = closure proto74
0248  SETTABLE  R1[K107('TryTrigger')] = R2
0249  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0250  CLOSURE   R2 = closure proto75
0251  SETTABLE  R1[K108('_GetNextTray')] = R2
0252  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0253  CLOSURE   R2 = closure proto76
0254  SETTABLE  R1[K109('_GetRecipeData')] = R2
0255  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0256  CLOSURE   R2 = closure proto77
0257  SETTABLE  R1[K110('_OnMainOrderCreated')] = R2
0258  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0259  CLOSURE   R2 = closure proto78
0260  SETTABLE  R1[K111('_LogDay2Recipe')] = R2
0261  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0262  CLOSURE   R2 = closure proto79
0263  SETTABLE  R1[K112('_OnItemUnlocked')] = R2
0264  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0265  CLOSURE   R2 = closure proto80
0266  SETTABLE  R1[K113('IsStageFinished')] = R2
0267  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0268  CLOSURE   R2 = closure proto81
0269  SETTABLE  R1[K114('CanClaimStageReward')] = R2
0270  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0271  CLOSURE   R2 = closure proto82
0272  SETTABLE  R1[K115('ClaimStageReward')] = R2
0273  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0274  CLOSURE   R2 = closure proto83
0275  SETTABLE  R1[K116('CanClaimFinalReward')] = R2
0276  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0277  CLOSURE   R2 = closure proto84
0278  SETTABLE  R1[K117('TryClaimFinalReward')] = R2
0279  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0280  CLOSURE   R2 = closure proto85
0281  SETTABLE  R1[K118('_OpenWindow')] = R2
0282  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0283  CLOSURE   R2 = closure proto86
0284  SETTABLE  R1[K119('OpenMainWindow')] = R2
0285  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0286  CLOSURE   R2 = closure proto87
0287  SETTABLE  R1[K120('OpenHelpWindow')] = R2
0288  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0289  CLOSURE   R2 = closure proto88
0290  SETTABLE  R1[K121('OpenNewRecipeUnlockWindow')] = R2
0291  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0292  CLOSURE   R2 = closure proto89
0293  SETTABLE  R1[K122('OpenStageRewardWindow')] = R2
0294  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0295  CLOSURE   R2 = closure proto90
0296  SETTABLE  R1[K123('OpenFinalRewardWindow')] = R2
0297  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0298  CLOSURE   R2 = closure proto91
0299  SETTABLE  R1[K124('OpenCompleteWindow')] = R2
0300  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0301  CLOSURE   R2 = closure proto92
0302  SETTABLE  R1[K125('TryPopWindow')] = R2
0303  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0304  CLOSURE   R2 = closure proto93
0305  SETTABLE  R1[K126('OnMainWindowAnimationEnd')] = R2
0306  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0307  CLOSURE   R2 = closure proto94
0308  SETTABLE  R1[K127('OnMainWindowClosed')] = R2
0309  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0310  CLOSURE   R2 = closure proto95
0311  SETTABLE  R1[K128('OnHelpWindowClosed')] = R2
0312  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0313  CLOSURE   R2 = closure proto96
0314  SETTABLE  R1[K129('_IsEntryVisible')] = R2
0315  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0316  CLOSURE   R2 = closure proto97
0317  SETTABLE  R1[K130('_IsDiscoveriesButtonEntryVisible')] = R2
0318  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0319  CLOSURE   R2 = closure proto98
0320  SETTABLE  R1[K131('GetItemDishDetailWindowBottomLeftEntryConfig')] = R2
0321  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0322  CLOSURE   R2 = closure proto99
0323  SETTABLE  R1[K132('GetDiscoveriesWindowBottomLeftEntryConfig')] = R2
0324  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0325  CLOSURE   R2 = closure proto100
0326  SETTABLE  R1[K133('GetDiscoveriesButtonEntryConfig')] = R2
0327  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0328  CLOSURE   R2 = closure proto101
0329  SETTABLE  R1[K134('_LogNewDish')] = R2
0330  GETTABUP  R1 = _ENV[K42('RecipeCollectActivityModel')]
0331  CLOSURE   R2 = closure proto102
0332  SETTABLE  R1[K135('_LogStart')] = R2
0333  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 37-45 np=3 va=0 ms=7 code=26 consts=12 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='RecipeCollectActivityDefinition'
  ;   K[2]='BaseActivityModel'
  ;   K[3]='Init'
  ;   K[4]='_LoadDBTableData'
  ;   K[5]='EventDispatcher'
  ;   K[6]='AddListener'
  ;   K[7]='EEventType'
  ;   K[8]='ItemUnlocked'
  ;   K[9]='_OnItemUnlocked'
  ;   K[10]='OnMainOrderCreated'
  ;   K[11]='_OnMainOrderCreated'
  ;   upvals: _ENV
  ;   locals: self(0-26), activityType(0-26), virtualDBTable(0-26)
  0000  GETTABUP  R3 = _ENV[K1('RecipeCollectActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R3
  0003  GETTABUP  R3 = _ENV[K2('BaseActivityModel')]
  0004  GETTABLE  R3 = R3[K3('Init')]
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  MOVE      R6 = R0
  0008  CALL      R3 = call(R3, 0 args, 3 rets)
  0009  SELF      R4 = R0[K4('_LoadDBTableData')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0012  GETTABLE  R3 = R3[K6('AddListener')]
  0013  GETTABUP  R4 = _ENV[K7('EEventType')]
  0014  GETTABLE  R4 = R4[K8('ItemUnlocked')]
  0015  MOVE      R5 = R0
  0016  GETTABLE  R6 = R0[K9('_OnItemUnlocked')]
  0017  CALL      R3 = call(R3, 0 args, 3 rets)
  0018  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0019  GETTABLE  R3 = R3[K6('AddListener')]
  0020  GETTABUP  R4 = _ENV[K7('EEventType')]
  0021  GETTABLE  R4 = R4[K10('OnMainOrderCreated')]
  0022  MOVE      R5 = R0
  0023  GETTABLE  R6 = R0[K11('_OnMainOrderCreated')]
  0024  CALL      R3 = call(R3, 0 args, 3 rets)
  0025  RETURN    return R0..R-1
; ---------- proto1 [GetActivityDefinition] ----------
  ; fn ?  line 48-50 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 53-58 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 61-63 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 67-69 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto5 [_LoadDBTableData] ----------
  ; fn ?  line 72-79 np=1 va=0 ms=3 code=13 consts=6 upvals=0 protos=0
  ;   K[0]='_LoadTrayContent'
  ;   K[1]='_LoadRecipe2Day'
  ;   K[2]='_LoadDay2FirstTray'
  ;   K[3]='_LoadStageRewardClaimed'
  ;   K[4]='_LoadNewRecipeUnlock'
  ;   K[5]='_LoadMainWindowNewRecipe'
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('_LoadTrayContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_LoadRecipe2Day')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_LoadDay2FirstTray')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('_LoadStageRewardClaimed')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SELF      R2 = R0[K4('_LoadNewRecipeUnlock')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SELF      R2 = R0[K5('_LoadMainWindowNewRecipe')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto6 [_DropData] ----------
  ; fn ?  line 82-90 np=1 va=0 ms=3 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_mapTrayContent'
  ;   K[3]='m_mapRecipe2Day'
  ;   K[4]='m_mapDay2FirstTray'
  ;   K[5]='m_mapStageRewardClaimed'
  ;   K[6]='m_arrNewRecipeUnlock'
  ;   K[7]='m_arrMainWindowNewRecipe'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  NEWTABLE  R1 = {} (0 items)
  0005  SETTABLE  R0[K2('m_mapTrayContent')] = R1
  0006  NEWTABLE  R1 = {} (0 items)
  0007  SETTABLE  R0[K3('m_mapRecipe2Day')] = R1
  0008  NEWTABLE  R1 = {} (0 items)
  0009  SETTABLE  R0[K4('m_mapDay2FirstTray')] = R1
  0010  NEWTABLE  R1 = {} (0 items)
  0011  SETTABLE  R0[K5('m_mapStageRewardClaimed')] = R1
  0012  NEWTABLE  R1 = {} (0 items)
  0013  SETTABLE  R0[K6('m_arrNewRecipeUnlock')] = R1
  0014  NEWTABLE  R1 = {} (0 items)
  0015  SETTABLE  R0[K7('m_arrMainWindowNewRecipe')] = R1
  0016  RETURN    return R0..R-1
; ---------- proto7 [_GetLogPrefix] ----------
  ; fn ?  line 96-98 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
; ---------- proto8 [_LoadOtherServerConfig] ----------
  ; fn ?  line 100-126 np=2 va=0 ms=13 code=66 consts=25 upvals=1 protos=1
  ;   K[0]='RecipeCollectActivityModel'
  ;   K[1]='ConfigKey'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]=0
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='%s没有找到配置：<color=#FFA000>%s</color>，配置需要使用include关联表%s！'
  ;   K[10]='_GetLogPrefix'
  ;   K[11]='LogTag'
  ;   K[12]='ConfigCheck'
  ;   K[13]='ipairs'
  ;   K[14]='RecipeCollectActivityConfig'
  ;   K[15]='Create'
  ;   K[16]='IsFinalRewardConfig'
  ;   K[17]='m_config'
  ;   K[18]='finalRewards'
  ;   K[19]='GetRewards'
  ;   K[20]='table'
  ;   K[21]='insert'
  ;   K[22]='sort'
  ;   K[23]='arrStageConfig'
  ;   K[24]='_CheckConfigValid'
  ;   upvals: _ENV
  ;   locals: self(0-66), config(0-66), arrStageConfig(1-66), arrRawConfig(4-66), (for generator)(33-54), (for state)(33-54), (for control)(33-54), _(34-52), rawConfig(34-52), config(38-52), sortByStage(55-66)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('RecipeCollectActivityModel')]
  0002  GETTABLE  R3 = R3[K1('ConfigKey')]
  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)   -> 30
  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('RecipeCollectActivityModel')]
  0022  GETTABLE  R8 = R8[K1('ConfigKey')]
  0023  GETTABUP  R9 = _ENV[K0('RecipeCollectActivityModel')]
  0024  GETTABLE  R9 = R9[K1('ConfigKey')]
  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  RETURN    return R0..R-1
  0030  GETTABUP  R4 = _ENV[K13('ipairs')]
  0031  MOVE      R5 = R0
  0032  CALL      R4 = call(R4, 3 args, 1 rets)
  0033  JMP       (jump)   -> 52
  0034  GETTABUP  R9 = _ENV[K14('RecipeCollectActivityConfig')]
  0035  GETTABLE  R9 = R9[K15('Create')]
  0036  MOVE      R10 = R0
  0037  CALL      R9 = call(R9, 1 args, 1 rets)
  0038  SELF      R11 = R9[K16('IsFinalRewardConfig')] (self)
  0039  CALL      R10 = call(R10, 1 args, 1 rets)
  0040  TEST      if not R10 then   -> -131030
  0041  JMP       (jump)   -> 47
  0042  GETTABLE  R10 = R0[K17('m_config')]
  0043  SELF      R12 = R9[K19('GetRewards')] (self)
  0044  CALL      R11 = call(R11, 1 args, 1 rets)
  0045  SETTABLE  R10[K18('finalRewards')] = R11
  0046  JMP       (jump)   -> 52
  0047  GETTABUP  R10 = _ENV[K20('table')]
  0048  GETTABLE  R10 = R10[K21('insert')]
  0049  MOVE      R11 = R0
  0050  MOVE      R12 = R0
  0051  CALL      R10 = call(R10, 0 args, 2 rets)
  0052  TFORCALL  tforcall R4
  0053  TFORLOOP  tforloop R6(sBx=-20)   -> 34
  0054  CLOSURE   R4 = closure proto0
  0055  GETTABUP  R5 = _ENV[K20('table')]
  0056  GETTABLE  R5 = R5[K22('sort')]
  0057  MOVE      R6 = R0
  0058  MOVE      R7 = R0
  0059  CALL      R5 = call(R5, 0 args, 2 rets)
  0060  GETTABLE  R5 = R0[K17('m_config')]
  0061  SETTABLE  R5[K23('arrStageConfig')] = R2
  0062  SELF      R6 = R0[K24('_CheckConfigValid')] (self)
  0063  MOVE      R7 = R0
  0064  CALL      R5 = call(R5, 0 args, 2 rets)
  0065  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 119-121 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetStage'
    ;   locals: configA(0-10), configB(0-10)
    0000  SELF      R3 = R0[K0('GetStage')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetStage')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
; ---------- proto9 [_CheckConfigValid] ----------
  ; fn ?  line 128-157 np=2 va=0 ms=17 code=99 consts=26 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='m_config'
  ;   K[5]='finalRewards'
  ;   K[6]='Log'
  ;   K[7]='Error'
  ;   K[8]='string'
  ;   K[9]='format'
  ;   K[10]='%s配置表%s里，<color=#FFA000>没有找到最终大奖配置</color>，最终大奖配置需要同时round=0和itemNum=0。'
  ;   K[11]='_GetLogPrefix'
  ;   K[12]='RecipeCollectActivityModel'
  ;   K[13]='ConfigKey'
  ;   K[14]='LogTag'
  ;   K[15]='ConfigCheck'
  ;   K[16]='GetTotalStage'
  ;   K[17]=1
  ;   K[18]='%s配置表%s里，round总数=%d<color=#FFA000>阶段总数不足</color>，阶段不能为空。'
  ;   K[19]='ipairs'
  ;   K[20]='arrStageConfig'
  ;   K[21]='GetStage'
  ;   K[22]='%s配置表%s里，round=%d，<color=#FFA000>round配置错误</color>，这是第%d条配置，期望round=%d，当前round=%d'
  ;   K[23]='GetTrayCount'
  ;   K[24]=5
  ;   K[25]='%s配置表%s里，round=%d，itemNum=%d，<color=#FFA000>itemNum配置错误</color>，itemNum必须>=1和<=5。'
  ;   upvals: _ENV
  ;   locals: self(0-99), config(0-99), (for generator)(51-98), (for state)(51-98), (for control)(51-98), expectedStage(52-96), stageConfig(52-96), stage(54-96), trayCount(76-96)
  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  GETTABUP  R2 = _ENV[K2('Table')]
  0007  GETTABLE  R2 = R2[K3('IsEmpty')]
  0008  GETTABLE  R3 = R0[K4('m_config')]
  0009  GETTABLE  R3 = R3[K5('finalRewards')]
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131059
  0012  JMP       (jump)   -> 27
  0013  GETTABUP  R2 = _ENV[K6('Log')]
  0014  GETTABLE  R2 = R2[K7('Error')]
  0015  GETTABUP  R3 = _ENV[K8('string')]
  0016  GETTABLE  R3 = R3[K9('format')]
  0017  LOADK     R4 = K10 '%s配置表%s里，<color=#FFA000>没有找到最终大奖配置</color>，最终大奖配置需要同时round=0和itemNum=0。'
  0018  SELF      R6 = R0[K11('_GetLogPrefix')] (self)
  0019  MOVE      R7 = R0
  0020  CALL      R5 = call(R5, 1 args, 2 rets)
  0021  GETTABUP  R6 = _ENV[K12('RecipeCollectActivityModel')]
  0022  GETTABLE  R6 = R6[K13('ConfigKey')]
  0023  CALL      R3 = call(R3, 1 args, 3 rets)
  0024  GETTABUP  R4 = _ENV[K14('LogTag')]
  0025  GETTABLE  R4 = R4[K15('ConfigCheck')]
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  SELF      R3 = R0[K16('GetTotalStage')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  LT        if R0 lt K17(1)   -> -129744
  0030  JMP       (jump)   -> 47
  0031  GETTABUP  R2 = _ENV[K6('Log')]
  0032  GETTABLE  R2 = R2[K7('Error')]
  0033  GETTABUP  R3 = _ENV[K8('string')]
  0034  GETTABLE  R3 = R3[K9('format')]
  0035  LOADK     R4 = K18 '%s配置表%s里，round总数=%d<color=#FFA000>阶段总数不足</color>，阶段不能为空。'
  0036  SELF      R6 = R0[K11('_GetLogPrefix')] (self)
  0037  MOVE      R7 = R0
  0038  CALL      R5 = call(R5, 1 args, 2 rets)
  0039  GETTABUP  R6 = _ENV[K12('RecipeCollectActivityModel')]
  0040  GETTABLE  R6 = R6[K13('ConfigKey')]
  0041  SELF      R8 = R0[K16('GetTotalStage')] (self)
  0042  CALL      R7 = call(R7, -1 args, 1 rets)
  0043  CALL      R3 = call(R3, 1 args, -1 rets)
  0044  GETTABUP  R4 = _ENV[K14('LogTag')]
  0045  GETTABLE  R4 = R4[K15('ConfigCheck')]
  0046  CALL      R2 = call(R2, 0 args, 2 rets)
  0047  GETTABUP  R2 = _ENV[K19('ipairs')]
  0048  GETTABLE  R3 = R0[K4('m_config')]
  0049  GETTABLE  R3 = R3[K20('arrStageConfig')]
  0050  CALL      R2 = call(R2, 3 args, 1 rets)
  0051  JMP       (jump)   -> 96
  0052  SELF      R8 = R6[K21('GetStage')] (self)
  0053  CALL      R7 = call(R7, 1 args, 1 rets)
  0054  EQ        if R1 eq R7   -> -128449
  0055  JMP       (jump)   -> 74
  0056  GETTABUP  R8 = _ENV[K6('Log')]
  0057  GETTABLE  R8 = R8[K7('Error')]
  0058  GETTABUP  R9 = _ENV[K8('string')]
  0059  GETTABLE  R9 = R9[K9('format')]
  0060  LOADK     R10 = K22 '%s配置表%s里，round=%d，<color=#FFA000>round配置错误</color>，这是第%d条配置，期望round=%d，当前round=%d'
  0061  SELF      R12 = R0[K11('_GetLogPrefix')] (self)
  0062  MOVE      R13 = R0
  0063  CALL      R11 = call(R11, 1 args, 2 rets)
  0064  GETTABUP  R12 = _ENV[K12('RecipeCollectActivityModel')]
  0065  GETTABLE  R12 = R12[K13('ConfigKey')]
  0066  MOVE      R13 = R0
  0067  MOVE      R14 = R0
  0068  MOVE      R15 = R0
  0069  MOVE      R16 = R0
  0070  CALL      R9 = call(R9, 1 args, 7 rets)
  0071  GETTABUP  R10 = _ENV[K14('LogTag')]
  0072  GETTABLE  R10 = R10[K15('ConfigCheck')]
  0073  CALL      R8 = call(R8, 0 args, 2 rets)
  0074  SELF      R9 = R6[K23('GetTrayCount')] (self)
  0075  CALL      R8 = call(R8, 1 args, 1 rets)
  0076  LT        if R1 lt K17(1)   -> -126625
  0077  JMP       (jump)   -> 80
  0078  LT        if R0 lt R8   -> 12376
  0079  JMP       (jump)   -> 96
  0080  GETTABUP  R9 = _ENV[K6('Log')]
  0081  GETTABLE  R9 = R9[K7('Error')]
  0082  GETTABUP  R10 = _ENV[K8('string')]
  0083  GETTABLE  R10 = R10[K9('format')]
  0084  LOADK     R11 = K25 '%s配置表%s里，round=%d，itemNum=%d，<color=#FFA000>itemNum配置错误</color>，itemNum必须>=1和<=5。'
  0085  SELF      R13 = R0[K11('_GetLogPrefix')] (self)
  0086  MOVE      R14 = R0
  0087  CALL      R12 = call(R12, 1 args, 2 rets)
  0088  GETTABUP  R13 = _ENV[K12('RecipeCollectActivityModel')]
  0089  GETTABLE  R13 = R13[K13('ConfigKey')]
  0090  MOVE      R14 = R0
  0091  MOVE      R15 = R0
  0092  CALL      R10 = call(R10, 1 args, 5 rets)
  0093  GETTABUP  R11 = _ENV[K14('LogTag')]
  0094  GETTABLE  R11 = R11[K15('ConfigCheck')]
  0095  CALL      R9 = call(R9, 0 args, 2 rets)
  0096  TFORCALL  tforcall R2
  0097  TFORLOOP  tforloop R4(sBx=-46)   -> 52
  0098  RETURN    return R0..R-1
; ---------- proto10 [GetTotalStage] ----------
  ; fn ?  line 163-165 np=1 va=0 ms=2 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='arrStageConfig'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  GETTABLE  R1 = R1[K1('arrStageConfig')]
  0002  LEN       R1 = len R0
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto11 [GetStageConfig] ----------
  ; fn ?  line 168-170 np=2 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='arrStageConfig'
  ;   locals: self(0-5), stage(0-5)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  GETTABLE  R2 = R2[K1('arrStageConfig')]
  0002  GETTABLE  R2 = R2[R1]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto12 [GetTotalScore] ----------
  ; fn ?  line 172-178 np=1 va=0 ms=9 code=15 consts=5 upvals=0 protos=0
  ;   K[0]=0
  ;   K[1]=1
  ;   K[2]='GetTotalStage'
  ;   K[3]='GetStageConfig'
  ;   K[4]='GetTrayCount'
  ;   locals: self(0-15), totalScore(1-15), (for index)(5-13), (for limit)(5-13), (for step)(5-13), stage(6-12)
  0000  LOADK     R1 = K0 0
  0001  LOADK     R2 = K1 1
  0002  SELF      R4 = R0[K2('GetTotalStage')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  LOADK     R4 = K1 1
  0005  FORPREP   forprep R2(sBx=6)   -> 12
  0006  SELF      R7 = R0[K3('GetStageConfig')] (self)
  0007  MOVE      R8 = R0
  0008  CALL      R6 = call(R6, 1 args, 2 rets)
  0009  SELF      R7 = R6[K4('GetTrayCount')] (self)
  0010  CALL      R6 = call(R6, 1 args, 1 rets)
  0011  ADD       R1 = R6 add R1
  0012  FORLOOP   forloop R2(sBx=-7)   -> 6
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto13 [GetFinalRewards] ----------
  ; fn ?  line 180-182 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='finalRewards'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  GETTABLE  R1 = R1[K1('finalRewards')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto14 [IsTriggerState] ----------
  ; fn ?  line 188-190 np=1 va=0 ms=4 code=10 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerState'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerState')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('TRUE_VALUE')]
  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
; ---------- proto15 [SetTriggerState] ----------
  ; fn ?  line 193-199 np=2 va=0 ms=6 code=11 consts=4 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerState'
  ;   K[2]='TRUE_VALUE'
  ;   K[3]='_DBTableRemove'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-11), bTriggeredState(0-11)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0003  GETTABUP  R4 = DBKey[K1('TriggerState')]
  0004  GETTABUP  R5 = _ENV[K2('TRUE_VALUE')]
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  JMP       (jump)   -> 10
  0007  SELF      R3 = R0[K3('_DBTableRemove')] (self)
  0008  GETTABUP  R4 = DBKey[K1('TriggerState')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto16 [IsClosed] ----------
  ; fn ?  line 201-203 np=1 va=0 ms=4 code=10 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='Closed'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('Closed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('TRUE_VALUE')]
  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
; ---------- proto17 [SetClosed] ----------
  ; fn ?  line 206-212 np=2 va=0 ms=6 code=11 consts=4 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='Closed'
  ;   K[2]='TRUE_VALUE'
  ;   K[3]='_DBTableRemove'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-11), bClosed(0-11)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 7
  0002  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0003  GETTABUP  R4 = DBKey[K1('Closed')]
  0004  GETTABUP  R5 = _ENV[K2('TRUE_VALUE')]
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  JMP       (jump)   -> 10
  0007  SELF      R3 = R0[K3('_DBTableRemove')] (self)
  0008  GETTABUP  R4 = DBKey[K1('Closed')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto18 [_LoadTrayContent] ----------
  ; fn ?  line 214-216 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='TrayContent'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('TrayContent')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapTrayContent')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto19 [_SaveTrayContent] ----------
  ; fn ?  line 218-220 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='TrayContent'
  ;   K[2]='m_mapTrayContent'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TrayContent')]
  0002  GETTABLE  R4 = R0[K2('m_mapTrayContent')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto20 [GetMapTrayContent] ----------
  ; fn ?  line 222-224 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapTrayContent')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto21 [GetTrayContent] ----------
  ; fn ?  line 229-231 np=3 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   locals: self(0-8), stage(0-8), tray(0-8)
  0000  GETTABLE  R3 = R0[K0('m_mapTrayContent')]
  0001  GETTABLE  R3 = R3[R1]
  0002  TEST      if not R3 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R3 = {} (0 items)
  0005  GETTABLE  R3 = R3[R2]
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto22 [SetTrayContent] ----------
  ; fn ?  line 234-237 np=2 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   K[1]='_SaveTrayContent'
  ;   locals: self(0-4), mapTrayContent(0-4)
  0000  SETTABLE  R0[K0('m_mapTrayContent')] = R1
  0001  SELF      R3 = R0[K1('_SaveTrayContent')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto23 [UpdateTrayContent] ----------
  ; fn ?  line 242-246 np=4 va=0 ms=6 code=13 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   K[1]='_SaveTrayContent'
  ;   locals: self(0-13), stage(0-13), tray(0-13), content(0-13)
  0000  GETTABLE  R4 = R0[K0('m_mapTrayContent')]
  0001  GETTABLE  R5 = R0[K0('m_mapTrayContent')]
  0002  GETTABLE  R5 = R5[R1]
  0003  TEST      if not R5 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  NEWTABLE  R5 = {} (0 items)
  0006  SETTABLE  R4[R1] = R5
  0007  GETTABLE  R4 = R0[K0('m_mapTrayContent')]
  0008  GETTABLE  R4 = R4[R1]
  0009  SETTABLE  R4[R2] = R3
  0010  SELF      R5 = R0[K1('_SaveTrayContent')] (self)
  0011  CALL      R4 = call(R4, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto24 [ClearTrayContent] ----------
  ; fn ?  line 248-251 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapTrayContent'
  ;   K[1]='_SaveTrayContent'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapTrayContent')] = R1
  0002  SELF      R2 = R0[K1('_SaveTrayContent')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto25 [_LoadRecipe2Day] ----------
  ; fn ?  line 253-255 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapRecipe2Day'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='Recipe2Day'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('Recipe2Day')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapRecipe2Day')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto26 [_SaveRecipe2Day] ----------
  ; fn ?  line 257-259 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='Recipe2Day'
  ;   K[2]='m_mapRecipe2Day'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('Recipe2Day')]
  0002  GETTABLE  R4 = R0[K2('m_mapRecipe2Day')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto27 [GetDayFromRecipe] ----------
  ; fn ?  line 263-265 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapRecipe2Day'
  ;   locals: self(0-4), dish(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapRecipe2Day')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto28 [SetRecipe2Day] ----------
  ; fn ?  line 268-271 np=2 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapRecipe2Day'
  ;   K[1]='_SaveRecipe2Day'
  ;   locals: self(0-4), mapRecipe2Day(0-4)
  0000  SETTABLE  R0[K0('m_mapRecipe2Day')] = R1
  0001  SELF      R3 = R0[K1('_SaveRecipe2Day')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto29 [RemoveRecipe] ----------
  ; fn ?  line 274-277 np=2 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapRecipe2Day'
  ;   K[1]=nil
  ;   K[2]='_SaveRecipe2Day'
  ;   locals: self(0-5), dish(0-5)
  0000  GETTABLE  R2 = R0[K0('m_mapRecipe2Day')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  SELF      R3 = R0[K2('_SaveRecipe2Day')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto30 [ClearRecipe2Day] ----------
  ; fn ?  line 279-282 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapRecipe2Day'
  ;   K[1]='_SaveRecipe2Day'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapRecipe2Day')] = R1
  0002  SELF      R2 = R0[K1('_SaveRecipe2Day')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto31 [_LoadDay2FirstTray] ----------
  ; fn ?  line 284-286 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapDay2FirstTray'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='Day2FirstTray'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('Day2FirstTray')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapDay2FirstTray')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto32 [_SaveDay2FirstTray] ----------
  ; fn ?  line 288-290 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='Day2FirstTray'
  ;   K[2]='m_mapDay2FirstTray'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('Day2FirstTray')]
  0002  GETTABLE  R4 = R0[K2('m_mapDay2FirstTray')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto33 [GetFirstTrayFromDay] ----------
  ; fn ?  line 295-297 np=2 va=0 ms=7 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='_ExtractTrayFromData'
  ;   K[1]='m_mapDay2FirstTray'
  ;   K[2]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-9), day(0-9)
  0000  SELF      R3 = R0[K0('_ExtractTrayFromData')] (self)
  0001  GETTABLE  R4 = R0[K1('m_mapDay2FirstTray')]
  0002  GETTABUP  R5 = _ENV[K2('tostring')]
  0003  MOVE      R6 = R0
  0004  CALL      R5 = call(R5, 1 args, 1 rets)
  0005  GETTABLE  R4 = R4[R5]
  0006  TAILCALL  tailcall(R2, 0)
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto34 [SetDay2FirstTray] ----------
  ; fn ?  line 300-303 np=2 va=0 ms=4 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapDay2FirstTray'
  ;   K[1]='_SaveDay2FirstTray'
  ;   locals: self(0-4), mapDay2FirstTray(0-4)
  0000  SETTABLE  R0[K0('m_mapDay2FirstTray')] = R1
  0001  SELF      R3 = R0[K1('_SaveDay2FirstTray')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto35 [ClearDay2FirstTray] ----------
  ; fn ?  line 305-308 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapDay2FirstTray'
  ;   K[1]='_SaveDay2FirstTray'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapDay2FirstTray')] = R1
  0002  SELF      R2 = R0[K1('_SaveDay2FirstTray')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto36 [_LoadStageRewardClaimed] ----------
  ; fn ?  line 310-312 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapStageRewardClaimed'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='StageRewardClaimed'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('StageRewardClaimed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_mapStageRewardClaimed')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto37 [_SaveStageRewardClaimed] ----------
  ; fn ?  line 314-316 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='StageRewardClaimed'
  ;   K[2]='m_mapStageRewardClaimed'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('StageRewardClaimed')]
  0002  GETTABLE  R4 = R0[K2('m_mapStageRewardClaimed')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto38 [IsStageRewardClaimed] ----------
  ; fn ?  line 319-321 np=2 va=0 ms=5 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapStageRewardClaimed'
  ;   K[1]='tostring'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: _ENV
  ;   locals: self(0-12), stage(0-12)
  0000  GETTABLE  R2 = R0[K0('m_mapStageRewardClaimed')]
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[R3]
  0005  GETTABUP  R3 = _ENV[K2('TRUE_VALUE')]
  0006  EQ        if R1 eq R3   -> -130037
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R2 = false
  0009  LOADBOOL  R2 = true
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto39 [SetStageRewardClaimed] ----------
  ; fn ?  line 324-327 np=2 va=0 ms=5 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='m_mapStageRewardClaimed'
  ;   K[1]='tostring'
  ;   K[2]='TRUE_VALUE'
  ;   K[3]='_SaveStageRewardClaimed'
  ;   upvals: _ENV
  ;   locals: self(0-9), stage(0-9)
  0000  GETTABLE  R2 = R0[K0('m_mapStageRewardClaimed')]
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABUP  R4 = _ENV[K2('TRUE_VALUE')]
  0005  SETTABLE  R2[R3] = R4
  0006  SELF      R3 = R0[K3('_SaveStageRewardClaimed')] (self)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto40 [IsFinalRewardClaimed] ----------
  ; fn ?  line 329-331 np=1 va=0 ms=4 code=10 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableGetValue'
  ;   K[1]='FinalRewardClaimed'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetValue')] (self)
  0001  GETTABUP  R3 = DBKey[K1('FinalRewardClaimed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('TRUE_VALUE')]
  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
; ---------- proto41 [SetFinalRewardClaimed] ----------
  ; fn ?  line 333-335 np=1 va=0 ms=5 code=5 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='FinalRewardClaimed'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R3 = DBKey[K1('FinalRewardClaimed')]
  0002  GETTABUP  R4 = _ENV[K2('TRUE_VALUE')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto42 [_LoadNewRecipeUnlock] ----------
  ; fn ?  line 337-339 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_arrNewRecipeUnlock'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='NewRecipeUnlock'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('NewRecipeUnlock')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_arrNewRecipeUnlock')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto43 [_SaveNewRecipeUnlock] ----------
  ; fn ?  line 341-343 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='NewRecipeUnlock'
  ;   K[2]='m_arrNewRecipeUnlock'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('NewRecipeUnlock')]
  0002  GETTABLE  R4 = R0[K2('m_arrNewRecipeUnlock')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto44 [GetNewRecipeUnlock] ----------
  ; fn ?  line 345-347 np=1 va=0 ms=4 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='_ExtractTrayFromData'
  ;   K[1]='m_arrNewRecipeUnlock'
  ;   K[2]=1
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('_ExtractTrayFromData')] (self)
  0001  GETTABLE  R3 = R0[K1('m_arrNewRecipeUnlock')]
  0002  GETTABLE  R3 = R3[K2(1)]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto45 [GetAndRemoveNewRecipeUnlock] ----------
  ; fn ?  line 349-357 np=1 va=0 ms=6 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='GetNewRecipeUnlock'
  ;   K[1]=nil
  ;   K[2]='table'
  ;   K[3]='remove'
  ;   K[4]='m_arrNewRecipeUnlock'
  ;   K[5]=1
  ;   K[6]='_SaveNewRecipeUnlock'
  ;   upvals: _ENV
  ;   locals: self(0-17), stage(2-17), tray(2-17)
  0000  SELF      R2 = R0[K0('GetNewRecipeUnlock')] (self)
  0001  CALL      R1 = call(R1, 2 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 6
  0004  LOADNIL   R3..R3 = nil
  0005  RETURN    return R3..R2
  0006  GETTABUP  R3 = _ENV[K2('table')]
  0007  GETTABLE  R3 = R3[K3('remove')]
  0008  GETTABLE  R4 = R0[K4('m_arrNewRecipeUnlock')]
  0009  LOADK     R5 = K5 1
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  SELF      R4 = R0[K6('_SaveNewRecipeUnlock')] (self)
  0012  CALL      R3 = call(R3, 0 args, 1 rets)
  0013  MOVE      R3 = R0
  0014  MOVE      R4 = R0
  0015  RETURN    return R3..R2
  0016  RETURN    return R0..R-1
; ---------- proto46 [AddNewRecipeUnlock] ----------
  ; fn ?  line 360-363 np=3 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='m_arrNewRecipeUnlock'
  ;   K[3]='_SaveNewRecipeUnlock'
  ;   upvals: _ENV
  ;   locals: self(0-11), stage(0-11), tray(0-11)
  0000  GETTABUP  R3 = _ENV[K0('table')]
  0001  GETTABLE  R3 = R3[K1('insert')]
  0002  GETTABLE  R4 = R0[K2('m_arrNewRecipeUnlock')]
  0003  NEWTABLE  R5 = {} (2 items)
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  SETLIST   setlist R5[B=1,C=2]
  0007  CALL      R3 = call(R3, 0 args, 2 rets)
  0008  SELF      R4 = R0[K3('_SaveNewRecipeUnlock')] (self)
  0009  CALL      R3 = call(R3, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto47 [_LoadMainWindowNewRecipe] ----------
  ; fn ?  line 365-367 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_arrMainWindowNewRecipe'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='MainWindowNewRecipe'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K1('_DBTableGetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K2('MainWindowNewRecipe')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_arrMainWindowNewRecipe')] = R1
  0004  RETURN    return R0..R-1
; ---------- proto48 [_SaveMainWindowNewRecipe] ----------
  ; fn ?  line 369-371 np=1 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='MainWindowNewRecipe'
  ;   K[2]='m_arrMainWindowNewRecipe'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R3 = DBKey[K1('MainWindowNewRecipe')]
  0002  GETTABLE  R4 = R0[K2('m_arrMainWindowNewRecipe')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto49 [AddMainWindowNewRecipe] ----------
  ; fn ?  line 374-377 np=3 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='m_arrMainWindowNewRecipe'
  ;   K[3]='_SaveMainWindowNewRecipe'
  ;   upvals: _ENV
  ;   locals: self(0-11), stage(0-11), tray(0-11)
  0000  GETTABUP  R3 = _ENV[K0('table')]
  0001  GETTABLE  R3 = R3[K1('insert')]
  0002  GETTABLE  R4 = R0[K2('m_arrMainWindowNewRecipe')]
  0003  NEWTABLE  R5 = {} (2 items)
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  SETLIST   setlist R5[B=1,C=2]
  0007  CALL      R3 = call(R3, 0 args, 2 rets)
  0008  SELF      R4 = R0[K3('_SaveMainWindowNewRecipe')] (self)
  0009  CALL      R3 = call(R3, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto50 [ClearMainWindowNewRecipe] ----------
  ; fn ?  line 379-382 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrMainWindowNewRecipe'
  ;   K[1]='_SaveMainWindowNewRecipe'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrMainWindowNewRecipe')] = R1
  0002  SELF      R2 = R0[K1('_SaveMainWindowNewRecipe')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto51 [GetLatestUnlockedContent] ----------
  ; fn ?  line 384-386 np=1 va=0 ms=6 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='_ExtractTrayFromData'
  ;   K[1]='_DBTableGetTable'
  ;   K[2]='LatestUnlockedContent'
  ;   upvals: DBKey
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('_ExtractTrayFromData')] (self)
  0001  SELF      R4 = R0[K1('_DBTableGetTable')] (self)
  0002  GETTABUP  R5 = DBKey[K2('LatestUnlockedContent')]
  0003  CALL      R3 = call(R3, -1 args, 2 rets)
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto52 [SetLatestUnlockedContent] ----------
  ; fn ?  line 389-391 np=3 va=0 ms=9 code=9 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSetTable'
  ;   K[1]='LatestUnlockedContent'
  ;   upvals: DBKey
  ;   locals: self(0-9), stage(0-9), tray(0-9)
  0000  SELF      R4 = R0[K0('_DBTableSetTable')] (self)
  0001  GETTABUP  R5 = DBKey[K1('LatestUnlockedContent')]
  0002  NEWTABLE  R6 = {} (2 items)
  0003  MOVE      R7 = R0
  0004  MOVE      R8 = R0
  0005  SETLIST   setlist R6[B=1,C=2]
  0006  TAILCALL  tailcall(R3, 0)
  0007  RETURN    return R3..R2
  0008  RETURN    return R0..R-1
; ---------- proto53 [GetLastProgressScore] ----------
  ; fn ?  line 393-395 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='LastProgressScore'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('LastProgressScore')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto54 [SetLastProgressScore] ----------
  ; fn ?  line 398-400 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='LastProgressScore'
  ;   upvals: DBKey
  ;   locals: self(0-5), progressScore(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('LastProgressScore')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto55 [IsCompleteWindowPoped] ----------
  ; fn ?  line 402-404 np=1 va=0 ms=4 code=10 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='CompleteWindowPoped'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('CompleteWindowPoped')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('TRUE_VALUE')]
  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
; ---------- proto56 [SetCompleteWindowPoped] ----------
  ; fn ?  line 406-408 np=1 va=0 ms=5 code=5 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='CompleteWindowPoped'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R3 = DBKey[K1('CompleteWindowPoped')]
  0002  GETTABUP  R4 = _ENV[K2('TRUE_VALUE')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto57 [IsMainWindowAnimationPlayed] ----------
  ; fn ?  line 410-412 np=1 va=0 ms=4 code=10 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='MainWindowAnimationPlayed'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('MainWindowAnimationPlayed')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('TRUE_VALUE')]
  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
; ---------- proto58 [SetMainWindowAnimationPlayed] ----------
  ; fn ?  line 414-416 np=1 va=0 ms=5 code=5 consts=3 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='MainWindowAnimationPlayed'
  ;   K[2]='TRUE_VALUE'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R3 = DBKey[K1('MainWindowAnimationPlayed')]
  0002  GETTABUP  R4 = _ENV[K2('TRUE_VALUE')]
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto59 [_ExtractTrayFromData] ----------
  ; fn ?  line 424-430 np=2 va=0 ms=6 code=13 consts=3 upvals=1 protos=0
  ;   K[0]='IsTable'
  ;   K[1]=1
  ;   K[2]=2
  ;   upvals: _ENV
  ;   locals: self(0-13), data(0-13), stage(9-13), tray(9-13)
  0000  GETTABUP  R2 = _ENV[K0('IsTable')]
  0001  MOVE      R3 = R0
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 7
  0005  LOADNIL   R2..R2 = nil
  0006  RETURN    return R2..R1
  0007  GETTABLE  R2 = R1[K1(1)]
  0008  GETTABLE  R3 = R1[K2(2)]
  0009  MOVE      R4 = R0
  0010  MOVE      R5 = R0
  0011  RETURN    return R4..R3
  0012  RETURN    return R0..R-1
; ---------- proto60 [IsTrayOccupied] ----------
  ; fn ?  line 435-437 np=3 va=0 ms=8 code=8 consts=2 upvals=1 protos=0
  ;   K[0]='IsString'
  ;   K[1]='GetTrayContent'
  ;   upvals: _ENV
  ;   locals: self(0-8), stage(0-8), tray(0-8)
  0000  GETTABUP  R3 = _ENV[K0('IsString')]
  0001  SELF      R5 = R0[K1('GetTrayContent')] (self)
  0002  MOVE      R6 = R0
  0003  MOVE      R7 = R0
  0004  CALL      R4 = call(R4, -1 args, 3 rets)
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto61 [GetProgressScore] ----------
  ; fn ?  line 439-449 np=1 va=0 ms=15 code=21 consts=5 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_mapTrayContent'
  ;   K[3]=1
  ;   K[4]='IsTrayOccupied'
  ;   upvals: _ENV
  ;   locals: self(0-21), progressScore(1-21), (for generator)(4-19), (for state)(4-19), (for control)(4-19), stage(5-17), trayContent(5-17), (for index)(8-17), (for limit)(8-17), (for step)(8-17), tray(9-16)
  0000  LOADK     R1 = K0 0
  0001  GETTABUP  R2 = _ENV[K1('ipairs')]
  0002  GETTABLE  R3 = R0[K2('m_mapTrayContent')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 17
  0005  LOADK     R7 = K3 1
  0006  LEN       R8 = len R0
  0007  LOADK     R9 = K3 1
  0008  FORPREP   forprep R7(sBx=7)   -> 16
  0009  SELF      R12 = R0[K4('IsTrayOccupied')] (self)
  0010  MOVE      R13 = R0
  0011  MOVE      R14 = R0
  0012  CALL      R11 = call(R11, 1 args, 3 rets)
  0013  TEST      if not R11 then   -> -131057
  0014  JMP       (jump)   -> 16
  0015  ADD       R1 = K3(1) add R1
  0016  FORLOOP   forloop R7(sBx=-8)   -> 9
  0017  TFORCALL  tforcall R2
  0018  TFORLOOP  tforloop R4(sBx=-14)   -> 5
  0019  RETURN    return R1..R0
  0020  RETURN    return R0..R-1
; ---------- proto62 [UpdateDay2FirstTray] ----------
  ; fn ?  line 453-471 np=2 va=0 ms=10 code=47 consts=9 upvals=1 protos=0
  ;   K[0]='m_mapDay2FirstTray'
  ;   K[1]='tostring'
  ;   K[2]='IsTable'
  ;   K[3]=nil
  ;   K[4]=1
  ;   K[5]=2
  ;   K[6]='IsTrayOccupied'
  ;   K[7]='_GetNextTray'
  ;   K[8]='_SaveDay2FirstTray'
  ;   upvals: _ENV
  ;   locals: self(0-47), day(0-47), data(5-47), stage(14-47), tray(14-47)
  0000  GETTABLE  R2 = R0[K0('m_mapDay2FirstTray')]
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[R3]
  0005  GETTABUP  R3 = _ENV[K2('IsTable')]
  0006  MOVE      R4 = R0
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  NOT       R3 = not R0
  0009  EQ        if R0 eq K3(nil)   -> -129266
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABLE  R3 = R2[K4(1)]
  0013  GETTABLE  R4 = R2[K5(2)]
  0014  SELF      R6 = R0[K6('IsTrayOccupied')] (self)
  0015  MOVE      R7 = R0
  0016  MOVE      R8 = R0
  0017  CALL      R5 = call(R5, 1 args, 3 rets)
  0018  TEST      if not R5 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R0..R-1
  0021  SELF      R6 = R0[K7('_GetNextTray')] (self)
  0022  MOVE      R7 = R0
  0023  MOVE      R8 = R0
  0024  CALL      R5 = call(R5, 2 args, 3 rets)
  0025  MOVE      R4 = R0
  0026  MOVE      R3 = R0
  0027  EQ        if R0 eq K3(nil)   -> -129248
  0028  JMP       (jump)   -> 35
  0029  GETTABLE  R5 = R0[K0('m_mapDay2FirstTray')]
  0030  GETTABUP  R6 = _ENV[K1('tostring')]
  0031  MOVE      R7 = R0
  0032  CALL      R6 = call(R6, 1 args, 1 rets)
  0033  SETTABLE  R5[R6] = K3(nil)
  0034  JMP       (jump)   -> 44
  0035  GETTABLE  R5 = R0[K0('m_mapDay2FirstTray')]
  0036  GETTABUP  R6 = _ENV[K1('tostring')]
  0037  MOVE      R7 = R0
  0038  CALL      R6 = call(R6, 1 args, 1 rets)
  0039  NEWTABLE  R7 = {} (2 items)
  0040  MOVE      R8 = R0
  0041  MOVE      R9 = R0
  0042  SETLIST   setlist R7[B=1,C=2]
  0043  SETTABLE  R5[R6] = R7
  0044  SELF      R6 = R0[K8('_SaveDay2FirstTray')] (self)
  0045  CALL      R5 = call(R5, 0 args, 1 rets)
  0046  RETURN    return R0..R-1
; ---------- proto63 [IsNewRecipeUnlock] ----------
  ; fn ?  line 475-483 np=3 va=0 ms=11 code=18 consts=3 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrNewRecipeUnlock'
  ;   K[2]='_ExtractTrayFromData'
  ;   upvals: _ENV
  ;   locals: self(0-18), stage(0-18), tray(0-18), (for generator)(3-15), (for state)(3-15), (for control)(3-15), _(4-13), data(4-13), newStage(7-13), newTray(7-13)
  0000  GETTABUP  R3 = _ENV[K0('ipairs')]
  0001  GETTABLE  R4 = R0[K1('m_arrNewRecipeUnlock')]
  0002  CALL      R3 = call(R3, 3 args, 1 rets)
  0003  JMP       (jump)   -> 13
  0004  SELF      R9 = R0[K2('_ExtractTrayFromData')] (self)
  0005  MOVE      R10 = R0
  0006  CALL      R8 = call(R8, 2 args, 2 rets)
  0007  EQ        if R0 eq R8   -> -130543
  0008  JMP       (jump)   -> 13
  0009  EQ        if R0 eq R9   -> -130028
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R10 = true
  0012  RETURN    return R10..R9
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-11)   -> 4
  0015  LOADBOOL  R3 = false
  0016  RETURN    return R3..R2
  0017  RETURN    return R0..R-1
; ---------- proto64 [GetNewRecipeUnlockCount] ----------
  ; fn ?  line 485-487 np=1 va=0 ms=2 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrNewRecipeUnlock'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_arrNewRecipeUnlock')]
  0001  LEN       R1 = len R0
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto65 [IsMainWindowNewRecipe] ----------
  ; fn ?  line 491-499 np=3 va=0 ms=11 code=18 consts=3 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrMainWindowNewRecipe'
  ;   K[2]='_ExtractTrayFromData'
  ;   upvals: _ENV
  ;   locals: self(0-18), stage(0-18), tray(0-18), (for generator)(3-15), (for state)(3-15), (for control)(3-15), _(4-13), data(4-13), newStage(7-13), newTray(7-13)
  0000  GETTABUP  R3 = _ENV[K0('ipairs')]
  0001  GETTABLE  R4 = R0[K1('m_arrMainWindowNewRecipe')]
  0002  CALL      R3 = call(R3, 3 args, 1 rets)
  0003  JMP       (jump)   -> 13
  0004  SELF      R9 = R0[K2('_ExtractTrayFromData')] (self)
  0005  MOVE      R10 = R0
  0006  CALL      R8 = call(R8, 2 args, 2 rets)
  0007  EQ        if R0 eq R8   -> -130543
  0008  JMP       (jump)   -> 13
  0009  EQ        if R0 eq R9   -> -130028
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R10 = true
  0012  RETURN    return R10..R9
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-11)   -> 4
  0015  LOADBOOL  R3 = false
  0016  RETURN    return R3..R2
  0017  RETURN    return R0..R-1
; ---------- proto66 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 505-507 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
; ---------- proto67 [_DispatchRefreshEntryEvent] ----------
  ; fn ?  line 509-511 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
; ---------- proto68 [_DispatchNewRecipeUnlockEvent] ----------
  ; fn ?  line 513-515 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]='NewRecipeUnlockEvent'
  ;   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('NewRecipeUnlockEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto69 [_DispatchMainWindowAnimationEndEvent] ----------
  ; fn ?  line 517-519 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]='MainWindowAnimationEndEvent'
  ;   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('MainWindowAnimationEndEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto70 [_DispatchMainWindowClosedEvent] ----------
  ; fn ?  line 521-523 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='MainWindowClosedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('MainWindowClosedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto71 [_DispatchHelpWindowClosedEvent] ----------
  ; fn ?  line 525-527 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='HelpWindowClosedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('HelpWindowClosedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto72 [IsTriggered] ----------
  ; fn ?  line 533-535 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='IsTriggerState'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('IsTriggerState')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto73 [CanTrigger] ----------
  ; fn ?  line 538-558 np=1 va=0 ms=4 code=35 consts=9 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggerState'
  ;   K[2]='IsClosed'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='ProtectTime'
  ;   K[8]='GetEndTime'
  ;   upvals: _ENV
  ;   locals: self(0-35)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('IsTriggerState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  SELF      R2 = R0[K2('IsClosed')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R1 = false
  0017  RETURN    return R1..R0
  0018  GETTABUP  R1 = _ENV[K3('GM')]
  0019  GETTABLE  R1 = R1[K4('GameModel')]
  0020  SELF      R2 = R1[K5('GetServerTime')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  SELF      R3 = R0[K6('GetActivityDefinition')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  GETTABLE  R2 = R2[K7('ProtectTime')]
  0025  ADD       R1 = R2 add R1
  0026  SELF      R3 = R0[K8('GetEndTime')] (self)
  0027  CALL      R2 = call(R2, 1 args, 1 rets)
  0028  LT        if R0 lt R1   -> -130017
  0029  JMP       (jump)   -> 32
  0030  LOADBOOL  R1 = false
  0031  RETURN    return R1..R0
  0032  LOADBOOL  R1 = true
  0033  RETURN    return R1..R0
  0034  RETURN    return R0..R-1
; ---------- proto74 [TryTrigger] ----------
  ; fn ?  line 560-584 np=1 va=0 ms=8 code=45 consts=15 upvals=1 protos=0
  ;   K[0]='CanTrigger'
  ;   K[1]='_GetRecipeData'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='MinExtraDishCount'
  ;   K[4]='Log'
  ;   K[5]='Info'
  ;   K[6]='[新菜收集活动] 触发活动失败：当前新菜数量不足。'
  ;   K[7]='[新菜收集活动] 触发活动。'
  ;   K[8]='SetTrayContent'
  ;   K[9]='SetRecipe2Day'
  ;   K[10]='SetDay2FirstTray'
  ;   K[11]='_LogDay2Recipe'
  ;   K[12]='SetTriggerState'
  ;   K[13]='_DispatchRefreshEntryEvent'
  ;   K[14]='_LogStart'
  ;   upvals: _ENV
  ;   locals: self(0-45), bExtraCountEnough(11-45), mapTrayContent(11-45), mapRecipe2Day(11-45), mapDay2FirstTray(11-45)
  0000  SELF      R2 = R0[K0('CanTrigger')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('_GetRecipeData')] (self)
  0007  SELF      R4 = R0[K2('GetActivityDefinition')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABLE  R3 = R3[K3('MinExtraDishCount')]
  0010  CALL      R1 = call(R1, 4 args, 2 rets)
  0011  TEST      if not R1 then   -> -131058
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R5 = _ENV[K4('Log')]
  0014  GETTABLE  R5 = R5[K5('Info')]
  0015  LOADK     R6 = K6 '[新菜收集活动] 触发活动失败：当前新菜数量不足。'
  0016  CALL      R5 = call(R5, 0 args, 1 rets)
  0017  LOADBOOL  R5 = false
  0018  RETURN    return R5..R4
  0019  GETTABUP  R5 = _ENV[K4('Log')]
  0020  GETTABLE  R5 = R5[K5('Info')]
  0021  LOADK     R6 = K7 '[新菜收集活动] 触发活动。'
  0022  CALL      R5 = call(R5, 0 args, 1 rets)
  0023  SELF      R6 = R0[K8('SetTrayContent')] (self)
  0024  MOVE      R7 = R0
  0025  CALL      R5 = call(R5, 0 args, 2 rets)
  0026  SELF      R6 = R0[K9('SetRecipe2Day')] (self)
  0027  MOVE      R7 = R0
  0028  CALL      R5 = call(R5, 0 args, 2 rets)
  0029  SELF      R6 = R0[K10('SetDay2FirstTray')] (self)
  0030  MOVE      R7 = R0
  0031  CALL      R5 = call(R5, 0 args, 2 rets)
  0032  SELF      R6 = R0[K11('_LogDay2Recipe')] (self)
  0033  MOVE      R7 = R0
  0034  CALL      R5 = call(R5, 0 args, 2 rets)
  0035  SELF      R6 = R0[K12('SetTriggerState')] (self)
  0036  LOADBOOL  R7 = true
  0037  CALL      R5 = call(R5, 0 args, 2 rets)
  0038  SELF      R6 = R0[K13('_DispatchRefreshEntryEvent')] (self)
  0039  CALL      R5 = call(R5, 0 args, 1 rets)
  0040  SELF      R6 = R0[K14('_LogStart')] (self)
  0041  CALL      R5 = call(R5, 0 args, 1 rets)
  0042  LOADBOOL  R5 = true
  0043  RETURN    return R5..R4
  0044  RETURN    return R0..R-1
; ---------- proto75 [_GetNextTray] ----------
  ; fn ?  line 591-602 np=3 va=0 ms=7 code=30 consts=6 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='m_config'
  ;   K[2]='arrStageConfig'
  ;   K[3]='itemNum'
  ;   K[4]='GetTotalStage'
  ;   K[5]='IsTrayOccupied'
  ;   locals: self(0-30), stage(0-30), tray(0-30)
  0000  ADD       R2 = K0(1) add R2
  0001  GETTABLE  R3 = R0[K1('m_config')]
  0002  GETTABLE  R3 = R3[K2('arrStageConfig')]
  0003  GETTABLE  R3 = R3[R1]
  0004  GETTABLE  R3 = R3[K3('itemNum')]
  0005  LT        if R0 lt R2   -> -129527
  0006  JMP       (jump)   -> 10
  0007  ADD       R3 = K0(1) add R1
  0008  LOADK     R2 = K0 1
  0009  MOVE      R1 = R0
  0010  SELF      R4 = R0[K4('GetTotalStage')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  LT        if R1 lt R1   -> -129521
  0013  JMP       (jump)   -> 20
  0014  SELF      R4 = R0[K5('IsTrayOccupied')] (self)
  0015  MOVE      R5 = R0
  0016  MOVE      R6 = R0
  0017  CALL      R3 = call(R3, 1 args, 3 rets)
  0018  TEST      if not R3 then   -> -131051
  0019  JMP       (jump)   -> 0
  0020  SELF      R4 = R0[K4('GetTotalStage')] (self)
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  LT        if R0 lt R1   -> -129511
  0023  JMP       (jump)   -> 26
  0024  LOADNIL   R3..R3 = nil
  0025  RETURN    return R3..R2
  0026  MOVE      R3 = R0
  0027  MOVE      R4 = R0
  0028  RETURN    return R3..R2
  0029  RETURN    return R0..R-1
; ---------- proto76 [_GetRecipeData] ----------
  ; fn ?  line 606-727 np=2 va=0 ms=30 code=114 consts=24 upvals=1 protos=3
  ;   K[0]='GetMapTrayContent'
  ;   K[1]='GetTotalStage'
  ;   K[2]=0
  ;   K[3]='_GetNextTray'
  ;   K[4]=1
  ;   K[5]=nil
  ;   K[6]='GM'
  ;   K[7]='MainBoardModel'
  ;   K[8]='GetOrderModel'
  ;   K[9]='GetCurOrderDay'
  ;   K[10]='ItemRandomHelper'
  ;   K[11]='GetCandidateOrdersByWave'
  ;   K[12]='GM'
  ;   K[13]='ipairs'
  ;   K[14]='GetRequirements'
  ;   K[15]='GetOrderGroupInfo'
  ;   K[16]='MainOrderDataModel'
  ;   K[17]='Create'
  ;   K[18]='LoadChapterConfig'
  ;   K[19]='GetOrderDayByOrderGroup'
  ;   K[20]='GetMaxOrderDayOfChapter'
  ;   K[21]='GetGroupedOrderConfig'
  ;   K[22]='MainOrderCreatorFixed'
  ;   K[23]='GetRequirement'
  ;   upvals: _ENV
  ;   locals: self(0-114), minExtraDishCount(0-114), mapTrayContent(2-114), mapRecipe2Day(3-114), mapDay2FirstTray(4-114), totalStage(6-114), bFull(7-114), bExtra(8-114), extraCount(9-114), stage(13-114), tray(13-114), orderModel(27-114), day(29-114), TryRecordOneNewRecipe(30-114), RecordNewRecipeByOrder(31-114), arrOrdersWave(37-114), (for generator)(40-53), (for state)(40-53), (for control)(40-53), _(41-51), arrOrder(41-51), (for generator)(44-51), (for state)(44-51), (for control)(44-51), _(45-49), order(45-49), chapterId(55-114), groupId(55-114), dataModel(58-114), TryLoadNextGroupConfig(62-114), arrOrderConfig(88-102), (for generator)(91-102), (for state)(91-102), (for control)(91-102), _(92-100), orderConfig(92-100), requirements(97-100), _(97-100)
  0000  SELF      R3 = R0[K0('GetMapTrayContent')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  NEWTABLE  R3 = {} (0 items)
  0003  NEWTABLE  R4 = {} (0 items)
  0004  SELF      R6 = R0[K1('GetTotalStage')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  LOADBOOL  R6 = false
  0007  LOADBOOL  R7 = false
  0008  LOADK     R8 = K2 0
  0009  SELF      R10 = R0[K3('_GetNextTray')] (self)
  0010  LOADK     R11 = K4 1
  0011  LOADK     R12 = K2 0
  0012  CALL      R9 = call(R9, 2 args, 3 rets)
  0013  EQ        if R0 eq K5(nil)   -> -126188
  0014  JMP       (jump)   -> 23
  0015  LT        if R1 lt R8   -> -130535
  0016  JMP       (jump)   -> 18
  0017  LOADBOOL  R11 = false
  0018  LOADBOOL  R11 = true
  0019  MOVE      R12 = R0
  0020  MOVE      R13 = R0
  0021  MOVE      R14 = R0
  0022  RETURN    return R11..R10
  0023  GETTABUP  R11 = _ENV[K6('GM')]
  0024  GETTABLE  R11 = R11[K7('MainBoardModel')]
  0025  SELF      R12 = R11[K8('GetOrderModel')] (self)
  0026  CALL      R11 = call(R11, 1 args, 1 rets)
  0027  SELF      R13 = R11[K9('GetCurOrderDay')] (self)
  0028  CALL      R12 = call(R12, 1 args, 1 rets)
  0029  CLOSURE   R13 = closure proto0
  0030  CLOSURE   R14 = closure proto1
  0031  GETTABUP  R15 = _ENV[K10('ItemRandomHelper')]
  0032  GETTABLE  R15 = R15[K11('GetCandidateOrdersByWave')]
  0033  GETTABUP  R16 = _ENV[K12('GM')]
  0034  GETTABLE  R16 = R16[K7('MainBoardModel')]
  0035  LOADBOOL  R17 = true
  0036  CALL      R15 = call(R15, 1 args, 2 rets)
  0037  GETTABUP  R16 = _ENV[K13('ipairs')]
  0038  MOVE      R17 = R0
  0039  CALL      R16 = call(R16, 3 args, 1 rets)
  0040  JMP       (jump)   -> 51
  0041  GETTABUP  R21 = _ENV[K13('ipairs')]
  0042  MOVE      R22 = R0
  0043  CALL      R21 = call(R21, 3 args, 1 rets)
  0044  JMP       (jump)   -> 49
  0045  MOVE      R26 = R0
  0046  SELF      R28 = R25[K14('GetRequirements')] (self)
  0047  CALL      R27 = call(R27, -1 args, 1 rets)
  0048  CALL      R26 = call(R26, 0 args, -1 rets)
  0049  TFORCALL  tforcall R21
  0050  TFORLOOP  tforloop R23(sBx=-6)   -> 45
  0051  TFORCALL  tforcall R16
  0052  TFORLOOP  tforloop R18(sBx=-12)   -> 41
  0053  SELF      R17 = R11[K15('GetOrderGroupInfo')] (self)
  0054  CALL      R16 = call(R16, 2 args, 1 rets)
  0055  GETTABUP  R18 = _ENV[K16('MainOrderDataModel')]
  0056  GETTABLE  R18 = R18[K17('Create')]
  0057  CALL      R18 = call(R18, 1 args, 0 rets)
  0058  SELF      R20 = R18[K18('LoadChapterConfig')] (self)
  0059  MOVE      R21 = R0
  0060  CALL      R19 = call(R19, 0 args, 2 rets)
  0061  CLOSURE   R19 = closure proto2
  0062  TEST      if not R6 then   -> -131008
  0063  JMP       (jump)   -> 66
  0064  LE        if R0 le R1   -> -126909
  0065  JMP       (jump)   -> 103
  0066  MOVE      R20 = R0
  0067  CALL      R20 = call(R20, 1 args, 0 rets)
  0068  TEST      if not R20 then   -> -131002
  0069  JMP       (jump)   -> 103
  0070  TEST      if not R6 then   -> -131000
  0071  JMP       (jump)   -> 73
  0072  LOADBOOL  R7 = true
  0073  GETTABUP  R20 = _ENV[K16('MainOrderDataModel')]
  0074  GETTABLE  R20 = R20[K19('GetOrderDayByOrderGroup')]
  0075  MOVE      R21 = R0
  0076  MOVE      R22 = R0
  0077  CALL      R20 = call(R20, 1 args, 2 rets)
  0078  MOVE      R12 = R0
  0079  GETTABUP  R20 = _ENV[K16('MainOrderDataModel')]
  0080  GETTABLE  R20 = R20[K20('GetMaxOrderDayOfChapter')]
  0081  MOVE      R21 = R0
  0082  CALL      R20 = call(R20, 1 args, 1 rets)
  0083  LT        if R1 lt R12   -> -120735
  0084  JMP       (jump)   -> 103
  0085  SELF      R21 = R18[K21('GetGroupedOrderConfig')] (self)
  0086  MOVE      R22 = R0
  0087  CALL      R20 = call(R20, 1 args, 2 rets)
  0088  GETTABUP  R21 = _ENV[K13('ipairs')]
  0089  MOVE      R22 = R0
  0090  CALL      R21 = call(R21, 3 args, 1 rets)
  0091  JMP       (jump)   -> 100
  0092  GETTABUP  R26 = _ENV[K22('MainOrderCreatorFixed')]
  0093  GETTABLE  R26 = R26[K23('GetRequirement')]
  0094  MOVE      R27 = R0
  0095  LOADNIL   R28..R28 = nil
  0096  CALL      R26 = call(R26, 2 args, 2 rets)
  0097  MOVE      R28 = R0
  0098  MOVE      R29 = R0
  0099  CALL      R28 = call(R28, 0 args, 1 rets)
  0100  TFORCALL  tforcall R21
  0101  TFORLOOP  tforloop R23(sBx=-10)   -> 92
  0102  JMP       (jump)   -> 62
  0103  TESTSET   if R0 then R20   -> -127895
  0104  JMP       (jump)   -> 109
  0105  LT        if R1 lt R8   -> -130445
  0106  JMP       (jump)   -> 108
  0107  LOADBOOL  R20 = false
  0108  LOADBOOL  R20 = true
  0109  MOVE      R21 = R0
  0110  MOVE      R22 = R0
  0111  MOVE      R23 = R0
  0112  RETURN    return R20..R19
  0113  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 630-657 np=1 va=0 ms=5 code=62 consts=7 upvals=11 protos=0
    ;   K[0]='GM'
    ;   K[1]='ItemDataModel'
    ;   K[2]='IsUnlocked'
    ;   K[3]=nil
    ;   K[4]=1
    ;   K[5]='tostring'
    ;   K[6]='_GetNextTray'
    ;   upvals: _ENV, mapRecipe2Day, bExtra, day, bFull, extraCount, mapTrayContent, stage, tray, mapDay2FirstTray, self
    ;   locals: dish(0-62)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('ItemDataModel')]
    0002  SELF      R2 = R1[K2('IsUnlocked')] (self)
    0003  MOVE      R3 = R0
    0004  CALL      R1 = call(R1, 1 args, 2 rets)
    0005  TEST      if not R1 then   -> -131064
    0006  JMP       (jump)   -> 10
    0007  GETTABUP  R1 = mapRecipe2Day[R0]
    0008  EQ        if R1 eq K3(nil)   -> -130291
    0009  JMP       (jump)   -> 11
    0010  RETURN    return R0..R-1
    0011  GETUPVAL  R1 = _ENV
    0012  TEST      if not R1 then   -> -131057
    0013  JMP       (jump)   -> 16
    0014  GETUPVAL  R1 = _ENV
    0015  SETTABUP  mapRecipe2Day[R0] = R1
    0016  GETUPVAL  R1 = _ENV
    0017  TEST      if not R1 then   -> -131053
    0018  JMP       (jump)   -> 23
    0019  GETUPVAL  R1 = _ENV
    0020  ADD       R1 = K4(1) add R1
    0021  SETUPVAL  mapRecipe2Day = R0
    0022  RETURN    return R0..R-1
    0023  GETUPVAL  R1 = _ENV
    0024  GETUPVAL  R2 = _ENV
    0025  GETTABUP  R2 = mapTrayContent[R2]
    0026  TEST      if not R2 then   -> -131043
    0027  JMP       (jump)   -> 29
    0028  NEWTABLE  R2 = {} (0 items)
    0029  SETTABUP  mapTrayContent[R1] = R2
    0030  GETUPVAL  R1 = _ENV
    0031  GETTABUP  R1 = mapTrayContent[R1]
    0032  GETUPVAL  R2 = _ENV
    0033  GETUPVAL  R3 = _ENV
    0034  SETTABLE  R1[R2] = R3
    0035  GETTABUP  R1 = _ENV[K5('tostring')]
    0036  GETUPVAL  R2 = _ENV
    0037  CALL      R1 = call(R1, 1 args, 1 rets)
    0038  GETTABUP  R1 = mapDay2FirstTray[R1]
    0039  EQ        if R0 eq K3(nil)   -> -130260
    0040  JMP       (jump)   -> 49
    0041  GETTABUP  R1 = _ENV[K5('tostring')]
    0042  GETUPVAL  R2 = _ENV
    0043  CALL      R1 = call(R1, 1 args, 1 rets)
    0044  NEWTABLE  R2 = {} (2 items)
    0045  GETUPVAL  R3 = _ENV
    0046  GETUPVAL  R4 = _ENV
    0047  SETLIST   setlist R2[B=1,C=2]
    0048  SETTABUP  mapDay2FirstTray[R1] = R2
    0049  GETUPVAL  R1 = _ENV
    0050  SELF      R2 = R1[K6('_GetNextTray')] (self)
    0051  GETUPVAL  R3 = _ENV
    0052  GETUPVAL  R4 = _ENV
    0053  CALL      R1 = call(R1, 2 args, 3 rets)
    0054  SETUPVAL  bExtra = R0
    0055  SETUPVAL  mapRecipe2Day = R0
    0056  GETUPVAL  R1 = _ENV
    0057  EQ        if R0 eq K3(nil)   -> -130242
    0058  JMP       (jump)   -> 61
    0059  LOADBOOL  R1 = true
    0060  SETUPVAL  mapRecipe2Day = R0
    0061  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 661-672 np=1 va=0 ms=15 code=31 consts=5 upvals=2 protos=0
    ;   K[0]='ipairs'
    ;   K[1]='GM'
    ;   K[2]='ItemDataModel'
    ;   K[3]='IsDishes'
    ;   K[4]='GetAllMaterials'
    ;   upvals: _ENV, TryRecordOneNewRecipe
    ;   locals: arrRequirement(0-31), (for generator)(3-30), (for state)(3-30), (for control)(3-30), _(4-28), requirement(4-28), _(16-28), arrDishMaterials(16-28), (for generator)(19-25), (for state)(19-25), (for control)(19-25), _(20-23), dish(20-23)
    0000  GETTABUP  R1 = _ENV[K0('ipairs')]
    0001  MOVE      R2 = R0
    0002  CALL      R1 = call(R1, 3 args, 1 rets)
    0003  JMP       (jump)   -> 28
    0004  GETTABUP  R6 = _ENV[K1('GM')]
    0005  GETTABLE  R6 = R6[K2('ItemDataModel')]
    0006  SELF      R7 = R6[K3('IsDishes')] (self)
    0007  MOVE      R8 = R0
    0008  CALL      R6 = call(R6, 1 args, 2 rets)
    0009  TEST      if not R6 then   -> -131061
    0010  JMP       (jump)   -> 28
    0011  GETTABUP  R6 = _ENV[K1('GM')]
    0012  GETTABLE  R6 = R6[K2('ItemDataModel')]
    0013  SELF      R7 = R6[K4('GetAllMaterials')] (self)
    0014  MOVE      R8 = R0
    0015  CALL      R6 = call(R6, 2 args, 2 rets)
    0016  GETTABUP  R8 = _ENV[K0('ipairs')]
    0017  MOVE      R9 = R0
    0018  CALL      R8 = call(R8, 3 args, 1 rets)
    0019  JMP       (jump)   -> 23
    0020  GETUPVAL  R13 = _ENV
    0021  MOVE      R14 = R0
    0022  CALL      R13 = call(R13, 0 args, 1 rets)
    0023  TFORCALL  tforcall R8
    0024  TFORLOOP  tforloop R10(sBx=-5)   -> 20
    0025  GETUPVAL  R8 = _ENV
    0026  MOVE      R9 = R0
    0027  CALL      R8 = call(R8, 0 args, 1 rets)
    0028  TFORCALL  tforcall R1
    0029  TFORLOOP  tforloop R3(sBx=-26)   -> 4
    0030  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 689-700 np=0 va=0 ms=3 code=32 consts=7 upvals=4 protos=0
    ;   K[0]=1
    ;   K[1]='GetGroupConfig'
    ;   K[2]=nil
    ;   K[3]='GM'
    ;   K[4]='ChapterDataModel'
    ;   K[5]='GetChapterCount'
    ;   K[6]='LoadChapterConfig'
    ;   upvals: groupId, dataModel, chapterId, _ENV
    0000  GETUPVAL  R0 = groupId
    0001  ADD       R0 = K0(1) add R0
    0002  SETUPVAL  groupId = R0
    0003  GETUPVAL  R0 = groupId
    0004  SELF      R1 = R0[K1('GetGroupConfig')] (self)
    0005  GETUPVAL  R2 = groupId
    0006  CALL      R0 = call(R0, 1 args, 2 rets)
    0007  EQ        if R1 eq K2(nil)   -> -130805
    0008  JMP       (jump)   -> 11
    0009  LOADBOOL  R0 = true
    0010  RETURN    return R0..R-1
    0011  GETUPVAL  R0 = groupId
    0012  ADD       R0 = K0(1) add R0
    0013  LOADK     R1 = K0 1
    0014  SETUPVAL  dataModel = R0
    0015  SETUPVAL  groupId = R0
    0016  GETUPVAL  R0 = groupId
    0017  GETTABUP  R1 = _ENV[K3('GM')]
    0018  GETTABLE  R1 = R1[K4('ChapterDataModel')]
    0019  SELF      R2 = R1[K5('GetChapterCount')] (self)
    0020  CALL      R1 = call(R1, 1 args, 1 rets)
    0021  LT        if R0 lt R0   -> -130537
    0022  JMP       (jump)   -> 25
    0023  LOADBOOL  R0 = false
    0024  RETURN    return R0..R-1
    0025  GETUPVAL  R0 = groupId
    0026  SELF      R1 = R0[K6('LoadChapterConfig')] (self)
    0027  GETUPVAL  R2 = groupId
    0028  CALL      R0 = call(R0, 0 args, 2 rets)
    0029  LOADBOOL  R0 = true
    0030  RETURN    return R0..R-1
    0031  RETURN    return R0..R-1
; ---------- proto77 [_OnMainOrderCreated] ----------
  ; fn ?  line 729-751 np=1 va=0 ms=8 code=40 consts=14 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='_GetRecipeData'
  ;   K[3]=-1
  ;   K[4]='Log'
  ;   K[5]='Info'
  ;   K[6]='[新菜收集活动] 切换订单组，当前新菜数量不足，活动强制关闭！'
  ;   K[7]='SetTriggerState'
  ;   K[8]='SetClosed'
  ;   K[9]='_DispatchRefreshEntryEvent'
  ;   K[10]='SetTrayContent'
  ;   K[11]='SetRecipe2Day'
  ;   K[12]='SetDay2FirstTray'
  ;   K[13]='_LogDay2Recipe'
  ;   upvals: _ENV
  ;   locals: self(0-40), bCountEnough(12-40), mapTrayContent(12-40), mapRecipe2Day(12-40), mapDay2FirstTray(12-40)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R2 = R0[K1('IsTriggered')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SELF      R2 = R0[K2('_GetRecipeData')] (self)
  0010  LOADK     R3 = K3 -1
  0011  CALL      R1 = call(R1, 4 args, 2 rets)
  0012  TEST      if not R1 then   -> -131057
  0013  JMP       (jump)   -> 27
  0014  GETTABUP  R5 = _ENV[K4('Log')]
  0015  GETTABLE  R5 = R5[K5('Info')]
  0016  LOADK     R6 = K6 '[新菜收集活动] 切换订单组，当前新菜数量不足，活动强制关闭！'
  0017  CALL      R5 = call(R5, 0 args, 1 rets)
  0018  SELF      R6 = R0[K7('SetTriggerState')] (self)
  0019  LOADBOOL  R7 = false
  0020  CALL      R5 = call(R5, 0 args, 2 rets)
  0021  SELF      R6 = R0[K8('SetClosed')] (self)
  0022  LOADBOOL  R7 = true
  0023  CALL      R5 = call(R5, 0 args, 2 rets)
  0024  SELF      R6 = R0[K9('_DispatchRefreshEntryEvent')] (self)
  0025  CALL      R5 = call(R5, 0 args, 1 rets)
  0026  RETURN    return R0..R-1
  0027  SELF      R6 = R0[K10('SetTrayContent')] (self)
  0028  MOVE      R7 = R0
  0029  CALL      R5 = call(R5, 0 args, 2 rets)
  0030  SELF      R6 = R0[K11('SetRecipe2Day')] (self)
  0031  MOVE      R7 = R0
  0032  CALL      R5 = call(R5, 0 args, 2 rets)
  0033  SELF      R6 = R0[K12('SetDay2FirstTray')] (self)
  0034  MOVE      R7 = R0
  0035  CALL      R5 = call(R5, 0 args, 2 rets)
  0036  SELF      R6 = R0[K13('_LogDay2Recipe')] (self)
  0037  MOVE      R7 = R0
  0038  CALL      R5 = call(R5, 0 args, 2 rets)
  0039  RETURN    return R0..R-1
; ---------- proto78 [_LogDay2Recipe] ----------
  ; fn ?  line 753-766 np=2 va=0 ms=18 code=59 consts=16 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='table'
  ;   K[2]='insert'
  ;   K[3]='Table'
  ;   K[4]='GetKeys'
  ;   K[5]='sort'
  ;   K[6]='ipairs'
  ;   K[7]='string'
  ;   K[8]='format'
  ;   K[9]='Day <color=#FFA000>%d</color>: %s'
  ;   K[10]='concat'
  ;   K[11]=', '
  ;   K[12]='Log'
  ;   K[13]='Info'
  ;   K[14]='[新菜收集活动] 当前新菜：\n%s'
  ;   K[15]='\n'
  ;   upvals: _ENV
  ;   locals: self(0-59), mapRecipe2Day(0-59), mapDay2Recipe(1-59), (for generator)(4-17), (for state)(4-17), (for control)(4-17), recipe(5-15), day(5-15), arrDay(21-59), arrLog(26-59), (for generator)(29-46), (for state)(29-46), (for control)(29-46), _(30-44), day(30-44)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('pairs')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 15
  0005  GETTABLE  R8 = R2[R7]
  0006  TEST      if not R8 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  NEWTABLE  R8 = {} (0 items)
  0009  SETTABLE  R2[R7] = R8
  0010  GETTABUP  R8 = _ENV[K1('table')]
  0011  GETTABLE  R8 = R8[K2('insert')]
  0012  GETTABLE  R9 = R2[R7]
  0013  MOVE      R10 = R0
  0014  CALL      R8 = call(R8, 0 args, 2 rets)
  0015  TFORCALL  tforcall R3
  0016  TFORLOOP  tforloop R5(sBx=-12)   -> 5
  0017  GETTABUP  R3 = _ENV[K3('Table')]
  0018  GETTABLE  R3 = R3[K4('GetKeys')]
  0019  MOVE      R4 = R0
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  GETTABUP  R4 = _ENV[K1('table')]
  0022  GETTABLE  R4 = R4[K5('sort')]
  0023  MOVE      R5 = R0
  0024  CALL      R4 = call(R4, 0 args, 1 rets)
  0025  NEWTABLE  R4 = {} (0 items)
  0026  GETTABUP  R5 = _ENV[K6('ipairs')]
  0027  MOVE      R6 = R0
  0028  CALL      R5 = call(R5, 3 args, 1 rets)
  0029  JMP       (jump)   -> 44
  0030  GETTABUP  R10 = _ENV[K1('table')]
  0031  GETTABLE  R10 = R10[K2('insert')]
  0032  MOVE      R11 = R0
  0033  GETTABUP  R12 = _ENV[K7('string')]
  0034  GETTABLE  R12 = R12[K8('format')]
  0035  LOADK     R13 = K9 'Day <color=#FFA000>%d</color>: %s'
  0036  MOVE      R14 = R0
  0037  GETTABUP  R15 = _ENV[K1('table')]
  0038  GETTABLE  R15 = R15[K10('concat')]
  0039  GETTABLE  R16 = R2[R9]
  0040  LOADK     R17 = K11 ', '
  0041  CALL      R15 = call(R15, -1 args, 2 rets)
  0042  CALL      R12 = call(R12, -1 args, -1 rets)
  0043  CALL      R10 = call(R10, 0 args, -1 rets)
  0044  TFORCALL  tforcall R5
  0045  TFORLOOP  tforloop R7(sBx=-16)   -> 30
  0046  GETTABUP  R5 = _ENV[K12('Log')]
  0047  GETTABLE  R5 = R5[K13('Info')]
  0048  GETTABUP  R6 = _ENV[K7('string')]
  0049  GETTABLE  R6 = R6[K8('format')]
  0050  LOADK     R7 = K14 '[新菜收集活动] 当前新菜：\n%s'
  0051  GETTABUP  R8 = _ENV[K1('table')]
  0052  GETTABLE  R8 = R8[K10('concat')]
  0053  MOVE      R9 = R0
  0054  LOADK     R10 = K15 '\n'
  0055  CALL      R8 = call(R8, -1 args, 2 rets)
  0056  CALL      R6 = call(R6, -1 args, -1 rets)
  0057  CALL      R5 = call(R5, 0 args, -1 rets)
  0058  RETURN    return R0..R-1
; ---------- proto79 [_OnItemUnlocked] ----------
  ; fn ?  line 774-830 np=2 va=0 ms=19 code=130 consts=41 upvals=1 protos=1
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='GetDayFromRecipe'
  ;   K[3]=nil
  ;   K[4]='GetFirstTrayFromDay'
  ;   K[5]='GetStageConfig'
  ;   K[6]='GetTrayCount'
  ;   K[7]=1
  ;   K[8]='GetTrayContent'
  ;   K[9]='table'
  ;   K[10]='insert'
  ;   K[11]='Table'
  ;   K[12]='IsEmpty'
  ;   K[13]='Log'
  ;   K[14]='Error'
  ;   K[15]='string'
  ;   K[16]='format'
  ;   K[17]='[新菜收集活动] 收集新菜%s无法放入，天数%d，当前天数%d，阶段%d，序号%d，当前位置菜品是%s。'
  ;   K[18]='GM'
  ;   K[19]='MainBoardModel'
  ;   K[20]='GetOrderModel'
  ;   K[21]='GetCurOrderDay'
  ;   K[22]='ListRandomSelectOne'
  ;   K[23]='UpdateTrayContent'
  ;   K[24]='RemoveRecipe'
  ;   K[25]='UpdateDay2FirstTray'
  ;   K[26]='_LogNewDish'
  ;   K[27]='IsStageRewardClaimed'
  ;   K[28]='IsStageFinished'
  ;   K[29]='LogActivity'
  ;   K[30]='EBIType'
  ;   K[31]='ActivityRankUp'
  ;   K[32]='AddNewRecipeUnlock'
  ;   K[33]='AddMainWindowNewRecipe'
  ;   K[34]='SetLatestUnlockedContent'
  ;   K[35]='_DispatchNewRecipeUnlockEvent'
  ;   K[36]='UIManager'
  ;   K[37]='SetEventLock'
  ;   K[38]='DelayExecuteFunc'
  ;   K[39]='EDurationDefine'
  ;   K[40]='ItemSpread'
  ;   upvals: _ENV
  ;   locals: self(0-130), itemCode(0-130), day(12-130), stage(18-130), firstTray(18-130), stageConfig(24-130), arrTray(25-130), (for index)(29-42), (for limit)(29-42), (for step)(29-42), tray(30-41), tray(74-130)
  0000  SELF      R3 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R3 = R0[K1('IsTriggered')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SELF      R3 = R0[K2('GetDayFromRecipe')] (self)
  0010  MOVE      R4 = R0
  0011  CALL      R2 = call(R2, 1 args, 2 rets)
  0012  EQ        if R0 eq K3(nil)   -> -129775
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  SELF      R4 = R0[K4('GetFirstTrayFromDay')] (self)
  0016  MOVE      R5 = R0
  0017  CALL      R3 = call(R3, 2 args, 2 rets)
  0018  EQ        if R0 eq K3(nil)   -> -129257
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R0..R-1
  0021  SELF      R6 = R0[K5('GetStageConfig')] (self)
  0022  MOVE      R7 = R0
  0023  CALL      R5 = call(R5, 1 args, 2 rets)
  0024  NEWTABLE  R6 = {} (0 items)
  0025  MOVE      R7 = R0
  0026  SELF      R9 = R5[K6('GetTrayCount')] (self)
  0027  CALL      R8 = call(R8, 1 args, 1 rets)
  0028  LOADK     R9 = K7 1
  0029  FORPREP   forprep R7(sBx=11)   -> 41
  0030  SELF      R12 = R0[K8('GetTrayContent')] (self)
  0031  MOVE      R13 = R0
  0032  MOVE      R14 = R0
  0033  CALL      R11 = call(R11, 1 args, 3 rets)
  0034  EQ        if R0 eq R2   -> -125402
  0035  JMP       (jump)   -> 41
  0036  GETTABUP  R11 = _ENV[K9('table')]
  0037  GETTABLE  R11 = R11[K10('insert')]
  0038  MOVE      R12 = R0
  0039  MOVE      R13 = R0
  0040  CALL      R11 = call(R11, 0 args, 2 rets)
  0041  FORLOOP   forloop R7(sBx=-12)   -> 30
  0042  GETTABUP  R7 = _ENV[K11('Table')]
  0043  GETTABLE  R7 = R7[K12('IsEmpty')]
  0044  MOVE      R8 = R0
  0045  CALL      R7 = call(R7, 1 args, 1 rets)
  0046  TEST      if not R7 then   -> -131024
  0047  JMP       (jump)   -> 70
  0048  GETTABUP  R7 = _ENV[K13('Log')]
  0049  GETTABLE  R7 = R7[K14('Error')]
  0050  GETTABUP  R8 = _ENV[K15('string')]
  0051  GETTABLE  R8 = R8[K16('format')]
  0052  LOADK     R9 = K17 '[新菜收集活动] 收集新菜%s无法放入，天数%d，当前天数%d，阶段%d，序号%d，当前位置菜品是%s。'
  0053  MOVE      R10 = R0
  0054  MOVE      R11 = R0
  0055  GETTABUP  R12 = _ENV[K18('GM')]
  0056  GETTABLE  R12 = R12[K19('MainBoardModel')]
  0057  SELF      R13 = R12[K20('GetOrderModel')] (self)
  0058  CALL      R12 = call(R12, 1 args, 1 rets)
  0059  SELF      R13 = R12[K21('GetCurOrderDay')] (self)
  0060  CALL      R12 = call(R12, 1 args, 1 rets)
  0061  MOVE      R13 = R0
  0062  MOVE      R14 = R0
  0063  SELF      R16 = R0[K8('GetTrayContent')] (self)
  0064  MOVE      R17 = R0
  0065  MOVE      R18 = R0
  0066  CALL      R15 = call(R15, -1 args, 3 rets)
  0067  CALL      R8 = call(R8, -1 args, -1 rets)
  0068  CALL      R7 = call(R7, 0 args, -1 rets)
  0069  RETURN    return R0..R-1
  0070  GETTABUP  R7 = _ENV[K11('Table')]
  0071  GETTABLE  R7 = R7[K22('ListRandomSelectOne')]
  0072  MOVE      R8 = R0
  0073  CALL      R7 = call(R7, 1 args, 1 rets)
  0074  SELF      R9 = R0[K23('UpdateTrayContent')] (self)
  0075  MOVE      R10 = R0
  0076  MOVE      R11 = R0
  0077  MOVE      R12 = R0
  0078  CALL      R8 = call(R8, 0 args, 4 rets)
  0079  SELF      R9 = R0[K24('RemoveRecipe')] (self)
  0080  MOVE      R10 = R0
  0081  CALL      R8 = call(R8, 0 args, 2 rets)
  0082  SELF      R9 = R0[K25('UpdateDay2FirstTray')] (self)
  0083  MOVE      R10 = R0
  0084  CALL      R8 = call(R8, 0 args, 2 rets)
  0085  SELF      R9 = R0[K26('_LogNewDish')] (self)
  0086  MOVE      R10 = R0
  0087  MOVE      R11 = R0
  0088  MOVE      R12 = R0
  0089  CALL      R8 = call(R8, 0 args, 4 rets)
  0090  SELF      R9 = R0[K27('IsStageRewardClaimed')] (self)
  0091  MOVE      R10 = R0
  0092  CALL      R8 = call(R8, 1 args, 2 rets)
  0093  TEST      if not R8 then   -> -130976
  0094  JMP       (jump)   -> 105
  0095  SELF      R9 = R0[K28('IsStageFinished')] (self)
  0096  MOVE      R10 = R0
  0097  CALL      R8 = call(R8, 1 args, 2 rets)
  0098  TEST      if not R8 then   -> -130972
  0099  JMP       (jump)   -> 105
  0100  SELF      R9 = R0[K29('LogActivity')] (self)
  0101  GETTABUP  R10 = _ENV[K30('EBIType')]
  0102  GETTABLE  R10 = R10[K31('ActivityRankUp')]
  0103  MOVE      R11 = R0
  0104  CALL      R8 = call(R8, 0 args, 3 rets)
  0105  SELF      R9 = R0[K32('AddNewRecipeUnlock')] (self)
  0106  MOVE      R10 = R0
  0107  MOVE      R11 = R0
  0108  CALL      R8 = call(R8, 0 args, 3 rets)
  0109  SELF      R9 = R0[K33('AddMainWindowNewRecipe')] (self)
  0110  MOVE      R10 = R0
  0111  MOVE      R11 = R0
  0112  CALL      R8 = call(R8, 0 args, 3 rets)
  0113  SELF      R9 = R0[K34('SetLatestUnlockedContent')] (self)
  0114  MOVE      R10 = R0
  0115  MOVE      R11 = R0
  0116  CALL      R8 = call(R8, 0 args, 3 rets)
  0117  SELF      R9 = R0[K35('_DispatchNewRecipeUnlockEvent')] (self)
  0118  CALL      R8 = call(R8, 0 args, 1 rets)
  0119  GETTABUP  R8 = _ENV[K18('GM')]
  0120  GETTABLE  R8 = R8[K36('UIManager')]
  0121  SELF      R9 = R8[K37('SetEventLock')] (self)
  0122  LOADBOOL  R10 = true
  0123  CALL      R8 = call(R8, 0 args, 2 rets)
  0124  GETTABUP  R8 = _ENV[K38('DelayExecuteFunc')]
  0125  CLOSURE   R9 = closure proto0
  0126  GETTABUP  R10 = _ENV[K39('EDurationDefine')]
  0127  GETTABLE  R10 = R10[K40('ItemSpread')]
  0128  CALL      R8 = call(R8, 0 args, 2 rets)
  0129  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 827-829 np=0 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
; ---------- proto80 [IsStageFinished] ----------
  ; fn ?  line 837-844 np=2 va=0 ms=10 code=20 consts=4 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='GetStageConfig'
  ;   K[2]='GetTrayCount'
  ;   K[3]='IsTrayOccupied'
  ;   locals: self(0-20), stage(0-20), (for index)(7-17), (for limit)(7-17), (for step)(7-17), tray(8-16)
  0000  LOADK     R2 = K0 1
  0001  SELF      R4 = R0[K1('GetStageConfig')] (self)
  0002  MOVE      R5 = R0
  0003  CALL      R3 = call(R3, 1 args, 2 rets)
  0004  SELF      R4 = R3[K2('GetTrayCount')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  LOADK     R4 = K0 1
  0007  FORPREP   forprep R2(sBx=8)   -> 16
  0008  SELF      R7 = R0[K3('IsTrayOccupied')] (self)
  0009  MOVE      R8 = R0
  0010  MOVE      R9 = R0
  0011  CALL      R6 = call(R6, 1 args, 3 rets)
  0012  TEST      if not R6 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R6 = false
  0015  RETURN    return R6..R5
  0016  FORLOOP   forloop R2(sBx=-9)   -> 8
  0017  LOADBOOL  R2 = true
  0018  RETURN    return R2..R1
  0019  RETURN    return R0..R-1
; ---------- proto81 [CanClaimStageReward] ----------
  ; fn ?  line 846-853 np=1 va=0 ms=8 code=20 consts=4 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='GetTotalStage'
  ;   K[2]='IsStageRewardClaimed'
  ;   K[3]='IsStageFinished'
  ;   locals: self(0-20), (for index)(4-17), (for limit)(4-17), (for step)(4-17), stage(5-16)
  0000  LOADK     R1 = K0 1
  0001  SELF      R3 = R0[K1('GetTotalStage')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  LOADK     R3 = K0 1
  0004  FORPREP   forprep R1(sBx=11)   -> 16
  0005  SELF      R6 = R0[K2('IsStageRewardClaimed')] (self)
  0006  MOVE      R7 = R0
  0007  CALL      R5 = call(R5, 1 args, 2 rets)
  0008  TEST      if not R5 then   -> -131061
  0009  JMP       (jump)   -> 16
  0010  SELF      R6 = R0[K3('IsStageFinished')] (self)
  0011  MOVE      R7 = R0
  0012  CALL      R5 = call(R5, 1 args, 2 rets)
  0013  TEST      if not R5 then   -> -131057
  0014  JMP       (jump)   -> 16
  0015  RETURN    return R4..R3
  0016  FORLOOP   forloop R1(sBx=-12)   -> 5
  0017  LOADNIL   R1..R1 = nil
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
; ---------- proto82 [ClaimStageReward] ----------
  ; fn ?  line 856-869 np=2 va=0 ms=7 code=31 consts=13 upvals=1 protos=0
  ;   K[0]='IsStageRewardClaimed'
  ;   K[1]='IsStageFinished'
  ;   K[2]='RewardApi'
  ;   K[3]='AcquireRewardsLogic'
  ;   K[4]='GetStageConfig'
  ;   K[5]='GetRewards'
  ;   K[6]='EPropertySource'
  ;   K[7]='Give'
  ;   K[8]='EBIType'
  ;   K[9]='RecipeCollectStageReward'
  ;   K[10]='ERewardScene'
  ;   K[11]='Other'
  ;   K[12]='SetStageRewardClaimed'
  ;   upvals: _ENV
  ;   locals: self(0-31), stage(0-31), rewards(26-31)
  0000  SELF      R3 = R0[K0('IsStageRewardClaimed')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R3 = R0[K1('IsStageFinished')] (self)
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 1 args, 2 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R2 = _ENV[K2('RewardApi')]
  0013  GETTABLE  R2 = R2[K3('AcquireRewardsLogic')]
  0014  SELF      R4 = R0[K4('GetStageConfig')] (self)
  0015  MOVE      R5 = R0
  0016  CALL      R3 = call(R3, 1 args, 2 rets)
  0017  SELF      R4 = R3[K5('GetRewards')] (self)
  0018  CALL      R3 = call(R3, 1 args, 1 rets)
  0019  GETTABUP  R4 = _ENV[K6('EPropertySource')]
  0020  GETTABLE  R4 = R4[K7('Give')]
  0021  GETTABUP  R5 = _ENV[K8('EBIType')]
  0022  GETTABLE  R5 = R5[K9('RecipeCollectStageReward')]
  0023  GETTABUP  R6 = _ENV[K10('ERewardScene')]
  0024  GETTABLE  R6 = R6[K11('Other')]
  0025  CALL      R2 = call(R2, 1 args, 4 rets)
  0026  SELF      R4 = R0[K12('SetStageRewardClaimed')] (self)
  0027  MOVE      R5 = R0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  RETURN    return R2..R1
  0030  RETURN    return R0..R-1
; ---------- proto83 [CanClaimFinalReward] ----------
  ; fn ?  line 871-876 np=1 va=0 ms=4 code=19 consts=4 upvals=0 protos=0
  ;   K[0]='GetProgressScore'
  ;   K[1]='GetTotalScore'
  ;   K[2]='IsFinalRewardClaimed'
  ;   K[3]='CanClaimStageReward'
  ;   locals: self(0-19)
  0000  SELF      R2 = R0[K0('GetProgressScore')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetTotalScore')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  LE        if R0 le R1   -> -130041
  0005  JMP       (jump)   -> 16
  0006  SELF      R2 = R0[K2('IsFinalRewardClaimed')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 16
  0010  SELF      R2 = R0[K3('CanClaimStageReward')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R1 = true
  0015  RETURN    return R1..R0
  0016  LOADBOOL  R1 = false
  0017  RETURN    return R1..R0
  0018  RETURN    return R0..R-1
; ---------- proto84 [TryClaimFinalReward] ----------
  ; fn ?  line 878-888 np=1 va=0 ms=6 code=22 consts=12 upvals=1 protos=0
  ;   K[0]='IsFinalRewardClaimed'
  ;   K[1]='RewardApi'
  ;   K[2]='AcquireRewardsLogic'
  ;   K[3]='GetFinalRewards'
  ;   K[4]='EPropertySource'
  ;   K[5]='Give'
  ;   K[6]='EBIType'
  ;   K[7]='RecipeCollectFinalReward'
  ;   K[8]='ERewardScene'
  ;   K[9]='Other'
  ;   K[10]='SetFinalRewardClaimed'
  ;   K[11]='_DispatchRefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-22), rewards(16-22)
  0000  SELF      R2 = R0[K0('IsFinalRewardClaimed')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R1 = _ENV[K1('RewardApi')]
  0006  GETTABLE  R1 = R1[K2('AcquireRewardsLogic')]
  0007  SELF      R3 = R0[K3('GetFinalRewards')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  GETTABUP  R3 = _ENV[K4('EPropertySource')]
  0010  GETTABLE  R3 = R3[K5('Give')]
  0011  GETTABUP  R4 = _ENV[K6('EBIType')]
  0012  GETTABLE  R4 = R4[K7('RecipeCollectFinalReward')]
  0013  GETTABUP  R5 = _ENV[K8('ERewardScene')]
  0014  GETTABLE  R5 = R5[K9('Other')]
  0015  CALL      R1 = call(R1, 1 args, 4 rets)
  0016  SELF      R3 = R0[K10('SetFinalRewardClaimed')] (self)
  0017  CALL      R2 = call(R2, 0 args, 1 rets)
  0018  SELF      R3 = R0[K11('_DispatchRefreshEntryEvent')] (self)
  0019  CALL      R2 = call(R2, 0 args, 1 rets)
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto85 [_OpenWindow] ----------
  ; fn ?  line 895-897 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
; ---------- proto86 [OpenMainWindow] ----------
  ; fn ?  line 902-904 np=3 va=0 ms=8 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='MainWindowPrefabName'
  ;   locals: self(0-8), bAuto(0-8), eUILoaderType(0-8)
  0000  SELF      R4 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R6 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R5 = call(R5, 1 args, 1 rets)
  0003  GETTABLE  R5 = R5[K2('MainWindowPrefabName')]
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  CALL      R3 = call(R3, 0 args, 4 rets)
  0007  RETURN    return R0..R-1
; ---------- proto87 [OpenHelpWindow] ----------
  ; fn ?  line 908-910 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='HelpWindowPrefabName'
  ;   locals: self(0-7), bAuto(0-7)
  0000  SELF      R3 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R5 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  GETTABLE  R4 = R4[K2('HelpWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto88 [OpenNewRecipeUnlockWindow] ----------
  ; fn ?  line 914-916 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='NewRecipeUnlockWindowPrefabName'
  ;   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('NewRecipeUnlockWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto89 [OpenStageRewardWindow] ----------
  ; fn ?  line 920-922 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='StageRewardWindowPrefabName'
  ;   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('StageRewardWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto90 [OpenFinalRewardWindow] ----------
  ; fn ?  line 927-929 np=3 va=0 ms=8 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='FinalRewardWindowPrefabName'
  ;   locals: self(0-8), bAuto(0-8), closeCallback(0-8)
  0000  SELF      R4 = R0[K0('_OpenWindow')] (self)
  0001  SELF      R6 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R5 = call(R5, 1 args, 1 rets)
  0003  GETTABLE  R5 = R5[K2('FinalRewardWindowPrefabName')]
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  CALL      R3 = call(R3, 0 args, 4 rets)
  0007  RETURN    return R0..R-1
; ---------- proto91 [OpenCompleteWindow] ----------
  ; fn ?  line 933-935 np=2 va=0 ms=6 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_OpenWindow'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='CompleteWindowPrefabName'
  ;   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('CompleteWindowPrefabName')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto92 [TryPopWindow] ----------
  ; fn ?  line 937-973 np=1 va=0 ms=5 code=111 consts=23 upvals=1 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='GM'
  ;   K[3]='SceneManager'
  ;   K[4]='GetGameMode'
  ;   K[5]='EGameMode'
  ;   K[6]='Board'
  ;   K[7]='GetNewRecipeUnlock'
  ;   K[8]='OpenNewRecipeUnlockWindow'
  ;   K[9]='CanClaimStageReward'
  ;   K[10]='OpenStageRewardWindow'
  ;   K[11]='CanClaimFinalReward'
  ;   K[12]='OpenMainWindow'
  ;   K[13]='IsFinalRewardClaimed'
  ;   K[14]='IsCompleteWindowPoped'
  ;   K[15]='OpenCompleteWindow'
  ;   K[16]='GetState'
  ;   K[17]='ActivityState'
  ;   K[18]='Ended'
  ;   K[19]='OpenFinalRewardWindow'
  ;   K[20]='IsClosed'
  ;   K[21]='HasWindowOpenedOnce'
  ;   K[22]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-111), bInBoard(18-63)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 64
  0004  SELF      R2 = R0[K1('IsTriggered')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 64
  0008  GETTABUP  R1 = _ENV[K2('GM')]
  0009  GETTABLE  R1 = R1[K3('SceneManager')]
  0010  SELF      R2 = R1[K4('GetGameMode')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABUP  R2 = _ENV[K5('EGameMode')]
  0013  GETTABLE  R2 = R2[K6('Board')]
  0014  EQ        if R1 eq R2   -> -130542
  0015  JMP       (jump)   -> 17
  0016  LOADBOOL  R1 = false
  0017  LOADBOOL  R1 = true
  0018  SELF      R3 = R0[K7('GetNewRecipeUnlock')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  TEST      if not R2 then   -> -131050
  0021  JMP       (jump)   -> 30
  0022  TEST      if not R1 then   -> -131048
  0023  JMP       (jump)   -> 30
  0024  SELF      R3 = R0[K8('OpenNewRecipeUnlockWindow')] (self)
  0025  LOADBOOL  R4 = true
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  LOADBOOL  R2 = true
  0028  RETURN    return R2..R1
  0029  JMP       (jump)   -> 108
  0030  SELF      R3 = R0[K9('CanClaimStageReward')] (self)
  0031  CALL      R2 = call(R2, 1 args, 1 rets)
  0032  TEST      if not R2 then   -> -131038
  0033  JMP       (jump)   -> 42
  0034  TEST      if not R1 then   -> -131036
  0035  JMP       (jump)   -> 42
  0036  SELF      R3 = R0[K10('OpenStageRewardWindow')] (self)
  0037  LOADBOOL  R4 = true
  0038  CALL      R2 = call(R2, 0 args, 2 rets)
  0039  LOADBOOL  R2 = true
  0040  RETURN    return R2..R1
  0041  JMP       (jump)   -> 108
  0042  SELF      R3 = R0[K11('CanClaimFinalReward')] (self)
  0043  CALL      R2 = call(R2, 1 args, 1 rets)
  0044  TEST      if not R2 then   -> -131026
  0045  JMP       (jump)   -> 51
  0046  SELF      R3 = R0[K12('OpenMainWindow')] (self)
  0047  CALL      R2 = call(R2, 0 args, 1 rets)
  0048  LOADBOOL  R2 = true
  0049  RETURN    return R2..R1
  0050  JMP       (jump)   -> 108
  0051  SELF      R3 = R0[K13('IsFinalRewardClaimed')] (self)
  0052  CALL      R2 = call(R2, 1 args, 1 rets)
  0053  TEST      if not R2 then   -> -131017
  0054  JMP       (jump)   -> 108
  0055  SELF      R3 = R0[K14('IsCompleteWindowPoped')] (self)
  0056  CALL      R2 = call(R2, 1 args, 1 rets)
  0057  TEST      if not R2 then   -> -131012
  0058  JMP       (jump)   -> 108
  0059  SELF      R3 = R0[K15('OpenCompleteWindow')] (self)
  0060  CALL      R2 = call(R2, 0 args, 1 rets)
  0061  LOADBOOL  R2 = true
  0062  RETURN    return R2..R1
  0063  JMP       (jump)   -> 108
  0064  SELF      R2 = R0[K16('GetState')] (self)
  0065  CALL      R1 = call(R1, 1 args, 1 rets)
  0066  GETTABUP  R2 = _ENV[K17('ActivityState')]
  0067  GETTABLE  R2 = R2[K18('Ended')]
  0068  EQ        if R0 eq R2   -> -130488
  0069  JMP       (jump)   -> 108
  0070  SELF      R2 = R0[K9('CanClaimStageReward')] (self)
  0071  CALL      R1 = call(R1, 1 args, 1 rets)
  0072  TEST      if not R1 then   -> -130998
  0073  JMP       (jump)   -> 80
  0074  SELF      R2 = R0[K10('OpenStageRewardWindow')] (self)
  0075  LOADBOOL  R3 = true
  0076  CALL      R1 = call(R1, 0 args, 2 rets)
  0077  LOADBOOL  R1 = true
  0078  RETURN    return R1..R0
  0079  JMP       (jump)   -> 108
  0080  SELF      R2 = R0[K11('CanClaimFinalReward')] (self)
  0081  CALL      R1 = call(R1, 1 args, 1 rets)
  0082  TEST      if not R1 then   -> -130988
  0083  JMP       (jump)   -> 90
  0084  SELF      R2 = R0[K19('OpenFinalRewardWindow')] (self)
  0085  LOADBOOL  R3 = true
  0086  CALL      R1 = call(R1, 0 args, 2 rets)
  0087  LOADBOOL  R1 = true
  0088  RETURN    return R1..R0
  0089  JMP       (jump)   -> 108
  0090  SELF      R2 = R0[K14('IsCompleteWindowPoped')] (self)
  0091  CALL      R1 = call(R1, 1 args, 1 rets)
  0092  TEST      if not R1 then   -> -130977
  0093  JMP       (jump)   -> 108
  0094  SELF      R2 = R0[K20('IsClosed')] (self)
  0095  CALL      R1 = call(R1, 1 args, 1 rets)
  0096  TEST      if not R1 then   -> -130973
  0097  JMP       (jump)   -> 108
  0098  SELF      R2 = R0[K21('HasWindowOpenedOnce')] (self)
  0099  GETTABUP  R3 = _ENV[K17('ActivityState')]
  0100  GETTABLE  R3 = R3[K22('Started')]
  0101  CALL      R1 = call(R1, 1 args, 2 rets)
  0102  TEST      if not R1 then   -> -130968
  0103  JMP       (jump)   -> 108
  0104  SELF      R2 = R0[K15('OpenCompleteWindow')] (self)
  0105  CALL      R1 = call(R1, 0 args, 1 rets)
  0106  LOADBOOL  R1 = true
  0107  RETURN    return R1..R0
  0108  LOADBOOL  R1 = false
  0109  RETURN    return R1..R0
  0110  RETURN    return R0..R-1
; ---------- proto93 [OnMainWindowAnimationEnd] ----------
  ; fn ?  line 975-977 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchMainWindowAnimationEndEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchMainWindowAnimationEndEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto94 [OnMainWindowClosed] ----------
  ; fn ?  line 979-981 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchMainWindowClosedEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchMainWindowClosedEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto95 [OnHelpWindowClosed] ----------
  ; fn ?  line 983-985 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_DispatchHelpWindowClosedEvent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_DispatchHelpWindowClosedEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto96 [_IsEntryVisible] ----------
  ; fn ?  line 991-994 np=1 va=0 ms=4 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='_IsDiscoveriesButtonEntryVisible'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='IsViewOpen'
  ;   K[4]='m_activityDefinition'
  ;   K[5]='MainWindowPrefabName'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('_IsDiscoveriesButtonEntryVisible')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 11
  0004  GETTABUP  R1 = _ENV[K1('GM')]
  0005  GETTABLE  R1 = R1[K2('UIManager')]
  0006  SELF      R2 = R1[K3('IsViewOpen')] (self)
  0007  GETTABLE  R3 = R0[K4('m_activityDefinition')]
  0008  GETTABLE  R3 = R3[K5('MainWindowPrefabName')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto97 [_IsDiscoveriesButtonEntryVisible] ----------
  ; fn ?  line 997-1001 np=1 va=0 ms=3 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='IsTriggered'
  ;   K[2]='IsFinalRewardClaimed'
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 11
  0004  SELF      R2 = R0[K1('IsTriggered')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 11
  0008  SELF      R2 = R0[K2('IsFinalRewardClaimed')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto98 [GetItemDishDetailWindowBottomLeftEntryConfig] ----------
  ; fn ?  line 1005-1014 np=1 va=0 ms=5 code=18 consts=10 upvals=1 protos=1
  ;   K[0]='entryPrefabName'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='EntryPrefabName'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='RecipeCollect'
  ;   K[6]='checkFun'
  ;   K[7]='events'
  ;   K[8]='RefreshEntryEvent'
  ;   K[9]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('EntryPrefabName')]
  0003  SETTABLE  R1[K0('entryPrefabName')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('RecipeCollect')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  CLOSURE   R2 = closure proto0
  0008  SETTABLE  R1[K6('checkFun')] = R2
  0009  NEWTABLE  R2 = {} (2 items)
  0010  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R3 = R3[K8('RefreshEntryEvent')]
  0012  GETTABLE  R4 = R0[K1('m_activityDefinition')]
  0013  GETTABLE  R4 = R4[K9('StateChangedEvent')]
  0014  SETLIST   setlist R2[B=1,C=2]
  0015  SETTABLE  R1[K7('events')] = R2
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 1009-1011 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto99 [GetDiscoveriesWindowBottomLeftEntryConfig] ----------
  ; fn ?  line 1018-1027 np=1 va=0 ms=5 code=18 consts=10 upvals=1 protos=1
  ;   K[0]='entryPrefabName'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='EntryPrefabName'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='RecipeCollect'
  ;   K[6]='checkFun'
  ;   K[7]='events'
  ;   K[8]='RefreshEntryEvent'
  ;   K[9]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('EntryPrefabName')]
  0003  SETTABLE  R1[K0('entryPrefabName')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('RecipeCollect')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  CLOSURE   R2 = closure proto0
  0008  SETTABLE  R1[K6('checkFun')] = R2
  0009  NEWTABLE  R2 = {} (2 items)
  0010  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R3 = R3[K8('RefreshEntryEvent')]
  0012  GETTABLE  R4 = R0[K1('m_activityDefinition')]
  0013  GETTABLE  R4 = R4[K9('StateChangedEvent')]
  0014  SETLIST   setlist R2[B=1,C=2]
  0015  SETTABLE  R1[K7('events')] = R2
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 1022-1024 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto100 [GetDiscoveriesButtonEntryConfig] ----------
  ; fn ?  line 1031-1040 np=1 va=0 ms=5 code=18 consts=10 upvals=1 protos=1
  ;   K[0]='entryPrefabName'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='DiscoveriesButtonEffectPrefabName'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='RecipeCollect'
  ;   K[6]='checkFun'
  ;   K[7]='events'
  ;   K[8]='RefreshEntryEvent'
  ;   K[9]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('DiscoveriesButtonEffectPrefabName')]
  0003  SETTABLE  R1[K0('entryPrefabName')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('RecipeCollect')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  CLOSURE   R2 = closure proto0
  0008  SETTABLE  R1[K6('checkFun')] = R2
  0009  NEWTABLE  R2 = {} (2 items)
  0010  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R3 = R3[K8('RefreshEntryEvent')]
  0012  GETTABLE  R4 = R0[K1('m_activityDefinition')]
  0013  GETTABLE  R4 = R4[K9('StateChangedEvent')]
  0014  SETLIST   setlist R2[B=1,C=2]
  0015  SETTABLE  R1[K7('events')] = R2
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 1035-1037 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_IsDiscoveriesButtonEntryVisible'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_IsDiscoveriesButtonEntryVisible')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto101 [_LogNewDish] ----------
  ; fn ?  line 1046-1052 np=4 va=0 ms=11 code=40 consts=14 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='itemCode:%s'
  ;   K[5]='stage:%d'
  ;   K[6]='tray:%d'
  ;   K[7]='GM'
  ;   K[8]='BIManager'
  ;   K[9]='LogAction'
  ;   K[10]='EBIType'
  ;   K[11]='RecipeCollectFinishNewDish'
  ;   K[12]='concat'
  ;   K[13]=';'
  ;   upvals: _ENV
  ;   locals: self(0-40), itemCode(0-40), stage(0-40), tray(0-40), strAction(1-40)
  0000  NEWTABLE  R4 = {} (0 items)
  0001  GETTABUP  R5 = _ENV[K0('table')]
  0002  GETTABLE  R5 = R5[K1('insert')]
  0003  MOVE      R6 = R0
  0004  GETTABUP  R7 = _ENV[K2('string')]
  0005  GETTABLE  R7 = R7[K3('format')]
  0006  LOADK     R8 = K4 'itemCode:%s'
  0007  MOVE      R9 = R0
  0008  CALL      R7 = call(R7, -1 args, 2 rets)
  0009  CALL      R5 = call(R5, 0 args, -1 rets)
  0010  GETTABUP  R5 = _ENV[K0('table')]
  0011  GETTABLE  R5 = R5[K1('insert')]
  0012  MOVE      R6 = R0
  0013  GETTABUP  R7 = _ENV[K2('string')]
  0014  GETTABLE  R7 = R7[K3('format')]
  0015  LOADK     R8 = K5 'stage:%d'
  0016  MOVE      R9 = R0
  0017  CALL      R7 = call(R7, -1 args, 2 rets)
  0018  CALL      R5 = call(R5, 0 args, -1 rets)
  0019  GETTABUP  R5 = _ENV[K0('table')]
  0020  GETTABLE  R5 = R5[K1('insert')]
  0021  MOVE      R6 = R0
  0022  GETTABUP  R7 = _ENV[K2('string')]
  0023  GETTABLE  R7 = R7[K3('format')]
  0024  LOADK     R8 = K6 'tray:%d'
  0025  MOVE      R9 = R0
  0026  CALL      R7 = call(R7, -1 args, 2 rets)
  0027  CALL      R5 = call(R5, 0 args, -1 rets)
  0028  GETTABUP  R5 = _ENV[K7('GM')]
  0029  GETTABLE  R5 = R5[K8('BIManager')]
  0030  SELF      R6 = R5[K9('LogAction')] (self)
  0031  GETTABUP  R7 = _ENV[K10('EBIType')]
  0032  GETTABLE  R7 = R7[K11('RecipeCollectFinishNewDish')]
  0033  GETTABUP  R8 = _ENV[K0('table')]
  0034  GETTABLE  R8 = R8[K12('concat')]
  0035  MOVE      R9 = R0
  0036  LOADK     R10 = K13 ';'
  0037  CALL      R8 = call(R8, -1 args, 2 rets)
  0038  CALL      R5 = call(R5, 0 args, -1 rets)
  0039  RETURN    return R0..R-1
; ---------- proto102 [_LogStart] ----------
  ; fn ?  line 1054-1058 np=1 va=0 ms=8 code=23 consts=13 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='string'
  ;   K[3]='format'
  ;   K[4]='endTime:%s'
  ;   K[5]='GetEndTime'
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogAction'
  ;   K[9]='EBIType'
  ;   K[10]='RecipeCollectStart'
  ;   K[11]='concat'
  ;   K[12]=';'
  ;   upvals: _ENV
  ;   locals: self(0-23), strAction(1-23)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('table')]
  0002  GETTABLE  R2 = R2[K1('insert')]
  0003  MOVE      R3 = R0
  0004  GETTABUP  R4 = _ENV[K2('string')]
  0005  GETTABLE  R4 = R4[K3('format')]
  0006  LOADK     R5 = K4 'endTime:%s'
  0007  SELF      R7 = R0[K5('GetEndTime')] (self)
  0008  CALL      R6 = call(R6, -1 args, 1 rets)
  0009  CALL      R4 = call(R4, -1 args, -1 rets)
  0010  CALL      R2 = call(R2, 0 args, -1 rets)
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('BIManager')]
  0013  SELF      R3 = R2[K8('LogAction')] (self)
  0014  GETTABUP  R4 = _ENV[K9('EBIType')]
  0015  GETTABLE  R4 = R4[K10('RecipeCollectStart')]
  0016  GETTABUP  R5 = _ENV[K0('table')]
  0017  GETTABLE  R5 = R5[K11('concat')]
  0018  MOVE      R6 = R0
  0019  LOADK     R7 = K12 ';'
  0020  CALL      R5 = call(R5, -1 args, 2 rets)
  0021  CALL      R2 = call(R2, 0 args, -1 rets)
  0022  RETURN    return R0..R-1
