# FundPack_Model_FundPackActivityModel_1438.luac
; fn @FundPackActivityModel.lua  line 0-0 np=0 va=1 ms=5 code=298 consts=116 upvals=1 protos=92
;   K[0]='FundPackActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='ConfigKey'
;   K[5]='fund_pack'
;   K[6]='TaskConfigKey'
;   K[7]='fund_pack_task'
;   K[8]='TicketKey'
;   K[9]='ticket'
;   K[10]='TaskProgress'
;   K[11]='progress'
;   K[12]='TaskClaimedReward'
;   K[13]='claimed'
;   K[14]='LastTaskCount'
;   K[15]='last_task'
;   K[16]='LastTaskProgress'
;   K[17]='last_progress'
;   K[18]='TriggerStartTime'
;   K[19]='s_time'
;   K[20]='Init'
;   K[21]='GetActivityDefinition'
;   K[22]='IsActivityOpen'
;   K[23]='_CalculateState'
;   K[24]='_DropData'
;   K[25]='_OnStateChanged'
;   K[26]='_SetActivityOpened'
;   K[27]='GetResourceLabels'
;   K[28]='_LoadOtherServerConfig'
;   K[29]='_LoadPackConfig'
;   K[30]='_LoadTaskConfig'
;   K[31]='_CheckPackConfigValid'
;   K[32]='FundPackActivityModel'
;   K[33]='_CheckTaskConfigValid'
;   K[34]='FundPackActivityModel'
;   K[35]='HasConfig'
;   K[36]='GetPackConfig'
;   K[37]='GetTaskConfigByType'
;   K[38]='DB_VALUE_KEY'
;   K[39]=1
;   K[40]='_DBTableGetValue'
;   K[41]='_DBTableGetNumber'
;   K[42]='_DBTableSet'
;   K[43]='_LoadDBTableData'
;   K[44]='HasTicket'
;   K[45]='SetHasTicket'
;   K[46]='_LoadTaskProgress'
;   K[47]='_SaveTaskProgress'
;   K[48]='GetTaskProgress'
;   K[49]='GetAllTaskProgress'
;   K[50]='_AddTaskProgress'
;   K[51]='_LoadTaskClaimedReward'
;   K[52]='_SaveTaskClaimedReward'
;   K[53]='GetTaskClaimedReward'
;   K[54]='_SetTaskClaimedReward'
;   K[55]='GetLastTaskCount'
;   K[56]='_SetLastTaskCount'
;   K[57]='_LoadLastTaskProgress'
;   K[58]='_SaveLastTaskProgress'
;   K[59]='GetLastTaskProgress'
;   K[60]='GetAllLastTaskProgress'
;   K[61]='GetTriggerStartTime'
;   K[62]='_SetTriggerStartTime'
;   K[63]='UpdateLastTaskCount'
;   K[64]='UpdateLastTaskProgress'
;   K[65]='_GetNextPopCount'
;   K[66]='IsMainWindowPoped'
;   K[67]='SetMainWindowPoped'
;   K[68]='IsEndWindowPoped'
;   K[69]='SetEndWindowPoped'
;   K[70]='RecordWindowDailyOpenTime'
;   K[71]='GetIAPType'
;   K[72]='GetLocalizedPrice'
;   K[73]='StartPurchase'
;   K[74]='RestoreIapRewards'
;   K[75]='_OnBuyTicketSuccess'
;   K[76]='AcquireVIP'
;   K[77]='GetTotalTaskCount'
;   K[78]='GetFinishedTaskCount'
;   K[79]='IsTaskCompleted'
;   K[80]='GetFinishedNotClaimedTaskCount'
;   K[81]='IsAllTaskCompleted'
;   K[82]='AddTaskScore'
;   K[83]='GetTotalRewardCount'
;   K[84]='AddTaskEventListeners'
;   K[85]='RemoveTaskEventListeners'
;   K[86]='_OnCollectGold'
;   K[87]='IsTaskClaimedReward'
;   K[88]='IsAllTaskClaimedReward'
;   K[89]='CanClaimAnyReward'
;   K[90]='CanClaimReward'
;   K[91]='TryClaimReward'
;   K[92]='CanClaimEndRewards'
;   K[93]='TryClaimEndRewards'
;   K[94]='OnEntryClicked'
;   K[95]='OpenMainWindow'
;   K[96]='OpenPurchaseWindow'
;   K[97]='OpenEndWindow'
;   K[98]='OpenRewardRecoverWindow'
;   K[99]='CanPopupMainWindowDaily'
;   K[100]='CanPopupMainWindow'
;   K[101]='OnCheckPopup'
;   K[102]='OnMainWindowPoped'
;   K[103]='_DispatchStateChangedEvent'
;   K[104]='_DispatchRefreshEntryEvent'
;   K[105]='_DispatchBuyTicketSuccessEvent'
;   K[106]='_DispatchTaskCompletedEvent'
;   K[107]='_DispatchAfterMainWindowOpenedEvent'
;   K[108]='_DispatchRewardClaimedEvent'
;   K[109]='_IsEntryVisible'
;   K[110]='GetMapEntryShowConfig'
;   K[111]='ShouldShowRedPoint'
;   K[112]='_LogActivityRankUp'
;   K[113]='_LogClickPurchaseButton'
;   K[114]='LogClickClaimButton'
;   K[115]='_LogActionTaskCompleted'
;   upvals: _ENV
;   locals: DBKey(19-298), DB_VALUE_KEY(68-298), TRUE_VALUE(69-298)
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('FundPackActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('FundPackActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('FundPackActivityModel')]
0009  SETTABLE  R0[K4('ConfigKey')] = K5('fund_pack')
0010  GETTABUP  R0 = _ENV[K0('FundPackActivityModel')]
0011  SETTABLE  R0[K6('TaskConfigKey')] = K7('fund_pack_task')
0012  NEWTABLE  R0 = {} (0 items)
0013  SETTABLE  R0[K8('TicketKey')] = K9('ticket')
0014  SETTABLE  R0[K10('TaskProgress')] = K11('progress')
0015  SETTABLE  R0[K12('TaskClaimedReward')] = K13('claimed')
0016  SETTABLE  R0[K14('LastTaskCount')] = K15('last_task')
0017  SETTABLE  R0[K16('LastTaskProgress')] = K17('last_progress')
0018  SETTABLE  R0[K18('TriggerStartTime')] = K19('s_time')
0019  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0020  CLOSURE   R2 = closure proto0
0021  SETTABLE  R1[K20('Init')] = R2
0022  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0023  CLOSURE   R2 = closure proto1
0024  SETTABLE  R1[K21('GetActivityDefinition')] = R2
0025  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0026  CLOSURE   R2 = closure proto2
0027  SETTABLE  R1[K22('IsActivityOpen')] = R2
0028  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0029  CLOSURE   R2 = closure proto3
0030  SETTABLE  R1[K23('_CalculateState')] = R2
0031  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0032  CLOSURE   R2 = closure proto4
0033  SETTABLE  R1[K24('_DropData')] = R2
0034  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0035  CLOSURE   R2 = closure proto5
0036  SETTABLE  R1[K25('_OnStateChanged')] = R2
0037  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0038  CLOSURE   R2 = closure proto6
0039  SETTABLE  R1[K26('_SetActivityOpened')] = R2
0040  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0041  CLOSURE   R2 = closure proto7
0042  SETTABLE  R1[K27('GetResourceLabels')] = R2
0043  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0044  CLOSURE   R2 = closure proto8
0045  SETTABLE  R1[K28('_LoadOtherServerConfig')] = R2
0046  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0047  CLOSURE   R2 = closure proto9
0048  SETTABLE  R1[K29('_LoadPackConfig')] = R2
0049  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0050  CLOSURE   R2 = closure proto10
0051  SETTABLE  R1[K30('_LoadTaskConfig')] = R2
0052  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
0053  CLOSURE   R2 = closure proto11
0054  SETTABLE  R1[K31('_CheckPackConfigValid')] = R2
0055  GETTABUP  R1 = _ENV[K32('FundPackActivityModel')]
0056  CLOSURE   R2 = closure proto12
0057  SETTABLE  R1[K33('_CheckTaskConfigValid')] = R2
0058  GETTABUP  R1 = _ENV[K34('FundPackActivityModel')]
0059  CLOSURE   R2 = closure proto13
0060  SETTABLE  R1[K35('HasConfig')] = R2
0061  GETTABUP  R1 = _ENV[K34('FundPackActivityModel')]
0062  CLOSURE   R2 = closure proto14
0063  SETTABLE  R1[K36('GetPackConfig')] = R2
0064  GETTABUP  R1 = _ENV[K34('FundPackActivityModel')]
0065  CLOSURE   R2 = closure proto15
0066  SETTABLE  R1[K37('GetTaskConfigByType')] = R2
0067  GETTABUP  R1 = _ENV[K38('DB_VALUE_KEY')]
0068  LOADK     R2 = K39 1
0069  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0070  CLOSURE   R4 = closure proto16
0071  SETTABLE  R3[K40('_DBTableGetValue')] = R4
0072  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0073  CLOSURE   R4 = closure proto17
0074  SETTABLE  R3[K41('_DBTableGetNumber')] = R4
0075  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0076  CLOSURE   R4 = closure proto18
0077  SETTABLE  R3[K42('_DBTableSet')] = R4
0078  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0079  CLOSURE   R4 = closure proto19
0080  SETTABLE  R3[K43('_LoadDBTableData')] = R4
0081  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0082  CLOSURE   R4 = closure proto20
0083  SETTABLE  R3[K44('HasTicket')] = R4
0084  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0085  CLOSURE   R4 = closure proto21
0086  SETTABLE  R3[K45('SetHasTicket')] = R4
0087  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0088  CLOSURE   R4 = closure proto22
0089  SETTABLE  R3[K46('_LoadTaskProgress')] = R4
0090  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0091  CLOSURE   R4 = closure proto23
0092  SETTABLE  R3[K47('_SaveTaskProgress')] = R4
0093  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0094  CLOSURE   R4 = closure proto24
0095  SETTABLE  R3[K48('GetTaskProgress')] = R4
0096  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0097  CLOSURE   R4 = closure proto25
0098  SETTABLE  R3[K49('GetAllTaskProgress')] = R4
0099  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0100  CLOSURE   R4 = closure proto26
0101  SETTABLE  R3[K50('_AddTaskProgress')] = R4
0102  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0103  CLOSURE   R4 = closure proto27
0104  SETTABLE  R3[K51('_LoadTaskClaimedReward')] = R4
0105  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0106  CLOSURE   R4 = closure proto28
0107  SETTABLE  R3[K52('_SaveTaskClaimedReward')] = R4
0108  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0109  CLOSURE   R4 = closure proto29
0110  SETTABLE  R3[K53('GetTaskClaimedReward')] = R4
0111  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0112  CLOSURE   R4 = closure proto30
0113  SETTABLE  R3[K54('_SetTaskClaimedReward')] = R4
0114  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0115  CLOSURE   R4 = closure proto31
0116  SETTABLE  R3[K55('GetLastTaskCount')] = R4
0117  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0118  CLOSURE   R4 = closure proto32
0119  SETTABLE  R3[K56('_SetLastTaskCount')] = R4
0120  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0121  CLOSURE   R4 = closure proto33
0122  SETTABLE  R3[K57('_LoadLastTaskProgress')] = R4
0123  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0124  CLOSURE   R4 = closure proto34
0125  SETTABLE  R3[K58('_SaveLastTaskProgress')] = R4
0126  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0127  CLOSURE   R4 = closure proto35
0128  SETTABLE  R3[K59('GetLastTaskProgress')] = R4
0129  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0130  CLOSURE   R4 = closure proto36
0131  SETTABLE  R3[K60('GetAllLastTaskProgress')] = R4
0132  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0133  CLOSURE   R4 = closure proto37
0134  SETTABLE  R3[K61('GetTriggerStartTime')] = R4
0135  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0136  CLOSURE   R4 = closure proto38
0137  SETTABLE  R3[K62('_SetTriggerStartTime')] = R4
0138  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0139  CLOSURE   R4 = closure proto39
0140  SETTABLE  R3[K63('UpdateLastTaskCount')] = R4
0141  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0142  CLOSURE   R4 = closure proto40
0143  SETTABLE  R3[K64('UpdateLastTaskProgress')] = R4
0144  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0145  CLOSURE   R4 = closure proto41
0146  SETTABLE  R3[K65('_GetNextPopCount')] = R4
0147  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0148  CLOSURE   R4 = closure proto42
0149  SETTABLE  R3[K66('IsMainWindowPoped')] = R4
0150  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0151  CLOSURE   R4 = closure proto43
0152  SETTABLE  R3[K67('SetMainWindowPoped')] = R4
0153  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0154  CLOSURE   R4 = closure proto44
0155  SETTABLE  R3[K68('IsEndWindowPoped')] = R4
0156  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0157  CLOSURE   R4 = closure proto45
0158  SETTABLE  R3[K69('SetEndWindowPoped')] = R4
0159  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0160  CLOSURE   R4 = closure proto46
0161  SETTABLE  R3[K70('RecordWindowDailyOpenTime')] = R4
0162  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0163  CLOSURE   R4 = closure proto47
0164  SETTABLE  R3[K71('GetIAPType')] = R4
0165  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0166  CLOSURE   R4 = closure proto48
0167  SETTABLE  R3[K72('GetLocalizedPrice')] = R4
0168  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0169  CLOSURE   R4 = closure proto49
0170  SETTABLE  R3[K73('StartPurchase')] = R4
0171  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0172  CLOSURE   R4 = closure proto50
0173  SETTABLE  R3[K74('RestoreIapRewards')] = R4
0174  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0175  CLOSURE   R4 = closure proto51
0176  SETTABLE  R3[K75('_OnBuyTicketSuccess')] = R4
0177  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0178  CLOSURE   R4 = closure proto52
0179  SETTABLE  R3[K76('AcquireVIP')] = R4
0180  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0181  CLOSURE   R4 = closure proto53
0182  SETTABLE  R3[K77('GetTotalTaskCount')] = R4
0183  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0184  CLOSURE   R4 = closure proto54
0185  SETTABLE  R3[K78('GetFinishedTaskCount')] = R4
0186  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0187  CLOSURE   R4 = closure proto55
0188  SETTABLE  R3[K79('IsTaskCompleted')] = R4
0189  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0190  CLOSURE   R4 = closure proto56
0191  SETTABLE  R3[K80('GetFinishedNotClaimedTaskCount')] = R4
0192  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0193  CLOSURE   R4 = closure proto57
0194  SETTABLE  R3[K81('IsAllTaskCompleted')] = R4
0195  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0196  CLOSURE   R4 = closure proto58
0197  SETTABLE  R3[K82('AddTaskScore')] = R4
0198  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0199  CLOSURE   R4 = closure proto59
0200  SETTABLE  R3[K83('GetTotalRewardCount')] = R4
0201  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0202  CLOSURE   R4 = closure proto60
0203  SETTABLE  R3[K84('AddTaskEventListeners')] = R4
0204  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0205  CLOSURE   R4 = closure proto61
0206  SETTABLE  R3[K85('RemoveTaskEventListeners')] = R4
0207  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0208  CLOSURE   R4 = closure proto62
0209  SETTABLE  R3[K86('_OnCollectGold')] = R4
0210  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0211  CLOSURE   R4 = closure proto63
0212  SETTABLE  R3[K87('IsTaskClaimedReward')] = R4
0213  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0214  CLOSURE   R4 = closure proto64
0215  SETTABLE  R3[K88('IsAllTaskClaimedReward')] = R4
0216  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0217  CLOSURE   R4 = closure proto65
0218  SETTABLE  R3[K89('CanClaimAnyReward')] = R4
0219  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0220  CLOSURE   R4 = closure proto66
0221  SETTABLE  R3[K90('CanClaimReward')] = R4
0222  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0223  CLOSURE   R4 = closure proto67
0224  SETTABLE  R3[K91('TryClaimReward')] = R4
0225  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0226  CLOSURE   R4 = closure proto68
0227  SETTABLE  R3[K92('CanClaimEndRewards')] = R4
0228  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0229  CLOSURE   R4 = closure proto69
0230  SETTABLE  R3[K93('TryClaimEndRewards')] = R4
0231  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0232  CLOSURE   R4 = closure proto70
0233  SETTABLE  R3[K94('OnEntryClicked')] = R4
0234  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0235  CLOSURE   R4 = closure proto71
0236  SETTABLE  R3[K95('OpenMainWindow')] = R4
0237  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0238  CLOSURE   R4 = closure proto72
0239  SETTABLE  R3[K96('OpenPurchaseWindow')] = R4
0240  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0241  CLOSURE   R4 = closure proto73
0242  SETTABLE  R3[K97('OpenEndWindow')] = R4
0243  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0244  CLOSURE   R4 = closure proto74
0245  SETTABLE  R3[K98('OpenRewardRecoverWindow')] = R4
0246  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0247  CLOSURE   R4 = closure proto75
0248  SETTABLE  R3[K99('CanPopupMainWindowDaily')] = R4
0249  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0250  CLOSURE   R4 = closure proto76
0251  SETTABLE  R3[K100('CanPopupMainWindow')] = R4
0252  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0253  CLOSURE   R4 = closure proto77
0254  SETTABLE  R3[K101('OnCheckPopup')] = R4
0255  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0256  CLOSURE   R4 = closure proto78
0257  SETTABLE  R3[K102('OnMainWindowPoped')] = R4
0258  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0259  CLOSURE   R4 = closure proto79
0260  SETTABLE  R3[K103('_DispatchStateChangedEvent')] = R4
0261  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0262  CLOSURE   R4 = closure proto80
0263  SETTABLE  R3[K104('_DispatchRefreshEntryEvent')] = R4
0264  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0265  CLOSURE   R4 = closure proto81
0266  SETTABLE  R3[K105('_DispatchBuyTicketSuccessEvent')] = R4
0267  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0268  CLOSURE   R4 = closure proto82
0269  SETTABLE  R3[K106('_DispatchTaskCompletedEvent')] = R4
0270  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0271  CLOSURE   R4 = closure proto83
0272  SETTABLE  R3[K107('_DispatchAfterMainWindowOpenedEvent')] = R4
0273  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0274  CLOSURE   R4 = closure proto84
0275  SETTABLE  R3[K108('_DispatchRewardClaimedEvent')] = R4
0276  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0277  CLOSURE   R4 = closure proto85
0278  SETTABLE  R3[K109('_IsEntryVisible')] = R4
0279  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0280  CLOSURE   R4 = closure proto86
0281  SETTABLE  R3[K110('GetMapEntryShowConfig')] = R4
0282  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0283  CLOSURE   R4 = closure proto87
0284  SETTABLE  R3[K111('ShouldShowRedPoint')] = R4
0285  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0286  CLOSURE   R4 = closure proto88
0287  SETTABLE  R3[K112('_LogActivityRankUp')] = R4
0288  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0289  CLOSURE   R4 = closure proto89
0290  SETTABLE  R3[K113('_LogClickPurchaseButton')] = R4
0291  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0292  CLOSURE   R4 = closure proto90
0293  SETTABLE  R3[K114('LogClickClaimButton')] = R4
0294  GETTABUP  R3 = _ENV[K34('FundPackActivityModel')]
0295  CLOSURE   R4 = closure proto91
0296  SETTABLE  R3[K115('_LogActionTaskCompleted')] = R4
0297  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 31-34 np=3 va=0 ms=7 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='FundPackActivityDefinition'
  ;   K[2]='BaseActivityModel'
  ;   K[3]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-10), activityType(0-10), virtualDBTable(0-10)
  0000  GETTABUP  R3 = _ENV[K1('FundPackActivityDefinition')]
  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  RETURN    return R0..R-1
; ---------- proto1 [GetActivityDefinition] ----------
  ; fn ?  line 36-38 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 [IsActivityOpen] ----------
  ; fn ?  line 43-45 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
; ---------- proto3 [_CalculateState] ----------
  ; fn ?  line 49-56 np=2 va=0 ms=6 code=22 consts=8 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_CalculateState'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='IsAllTaskClaimedReward'
  ;   K[5]='Ended'
  ;   K[6]='m_config'
  ;   K[7]='rTime'
  ;   upvals: _ENV
  ;   locals: self(0-22), bIgnoreCondition(0-22), state(5-22), nextStateTime(5-22)
  0000  GETTABUP  R2 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R2 = R2[K1('_CalculateState')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 2 args, 2 rets)
  0005  GETTABUP  R4 = _ENV[K2('ActivityState')]
  0006  GETTABLE  R4 = R4[K3('Started')]
  0007  EQ        if R0 eq R4   -> -130035
  0008  JMP       (jump)   -> 18
  0009  SELF      R5 = R0[K4('IsAllTaskClaimedReward')] (self)
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  TEST      if not R4 then   -> -131059
  0012  JMP       (jump)   -> 18
  0013  GETTABUP  R4 = _ENV[K2('ActivityState')]
  0014  GETTABLE  R4 = R4[K5('Ended')]
  0015  GETTABLE  R5 = R0[K6('m_config')]
  0016  GETTABLE  R5 = R5[K7('rTime')]
  0017  RETURN    return R4..R3
  0018  MOVE      R4 = R0
  0019  MOVE      R5 = R0
  0020  RETURN    return R4..R3
  0021  RETURN    return R0..R-1
; ---------- proto4 [_DropData] ----------
  ; fn ?  line 59-64 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_mapTaskProgress'
  ;   K[3]='m_mapTaskClaimedReward'
  ;   K[4]='m_mapLastTaskProgress'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  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_mapTaskProgress')] = R1
  0006  NEWTABLE  R1 = {} (0 items)
  0007  SETTABLE  R0[K3('m_mapTaskClaimedReward')] = R1
  0008  NEWTABLE  R1 = {} (0 items)
  0009  SETTABLE  R0[K4('m_mapLastTaskProgress')] = R1
  0010  RETURN    return R0..R-1
; ---------- proto5 [_OnStateChanged] ----------
  ; fn ?  line 67-78 np=1 va=0 ms=4 code=21 consts=9 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='AddTaskEventListeners'
  ;   K[6]='RemoveTaskEventListeners'
  ;   K[7]='_DispatchStateChangedEvent'
  ;   K[8]='_DispatchRefreshEntryEvent'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  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('GetState')] (self)
  0005  LOADBOOL  R3 = false
  0006  CALL      R1 = call(R1, 1 args, 2 rets)
  0007  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R2 = R2[K4('Started')]
  0009  EQ        if R0 eq R2   -> -130547
  0010  JMP       (jump)   -> 14
  0011  SELF      R2 = R0[K5('AddTaskEventListeners')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  JMP       (jump)   -> 16
  0014  SELF      R2 = R0[K6('RemoveTaskEventListeners')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  SELF      R2 = R0[K7('_DispatchStateChangedEvent')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  SELF      R2 = R0[K8('_DispatchRefreshEntryEvent')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  RETURN    return R0..R-1
; ---------- proto6 [_SetActivityOpened] ----------
  ; fn ?  line 81-86 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='HasActivityOpened'
  ;   K[1]='_SetTriggerStartTime'
  ;   K[2]='GM'
  ;   K[3]='GameModel'
  ;   K[4]='GetServerTime'
  ;   K[5]='BaseActivityModel'
  ;   K[6]='_SetActivityOpened'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  SELF      R2 = R0[K0('HasActivityOpened')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 10
  0004  SELF      R2 = R0[K1('_SetTriggerStartTime')] (self)
  0005  GETTABUP  R3 = _ENV[K2('GM')]
  0006  GETTABLE  R3 = R3[K3('GameModel')]
  0007  SELF      R4 = R3[K4('GetServerTime')] (self)
  0008  CALL      R3 = call(R3, -1 args, 1 rets)
  0009  CALL      R1 = call(R1, 0 args, -1 rets)
  0010  GETTABUP  R1 = _ENV[K5('BaseActivityModel')]
  0011  GETTABLE  R1 = R1[K6('_SetActivityOpened')]
  0012  MOVE      R2 = R0
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto7 [GetResourceLabels] ----------
  ; fn ?  line 89-91 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetActivityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetActivityDefinition')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto8 [_LoadOtherServerConfig] ----------
  ; fn ?  line 98-104 np=2 va=0 ms=5 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='_LoadPackConfig'
  ;   K[1]='_LoadTaskConfig'
  ;   K[2]='_LoadDBTableData'
  ;   locals: self(0-8), config(0-8)
  0000  SELF      R3 = R0[K0('_LoadPackConfig')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  SELF      R3 = R0[K1('_LoadTaskConfig')] (self)
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  SELF      R3 = R0[K2('_LoadDBTableData')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto9 [_LoadPackConfig] ----------
  ; fn ?  line 106-113 np=2 va=0 ms=8 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='FundPackActivityModel'
  ;   K[1]='ConfigKey'
  ;   K[2]='_CheckPackConfigValid'
  ;   K[3]='m_packConfig'
  ;   K[4]='FundPackActivityConfig'
  ;   K[5]='Create'
  ;   K[6]=1
  ;   upvals: _ENV
  ;   locals: self(0-13), config(0-13), configKey(2-13), arrPackConfig(3-13)
  0000  GETTABUP  R2 = _ENV[K0('FundPackActivityModel')]
  0001  GETTABLE  R2 = R2[K1('ConfigKey')]
  0002  GETTABLE  R3 = R1[R2]
  0003  SELF      R5 = R0[K2('_CheckPackConfigValid')] (self)
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  GETTABUP  R4 = _ENV[K4('FundPackActivityConfig')]
  0008  GETTABLE  R4 = R4[K5('Create')]
  0009  GETTABLE  R5 = R3[K6(1)]
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  SETTABLE  R0[K3('m_packConfig')] = R4
  0012  RETURN    return R0..R-1
; ---------- proto10 [_LoadTaskConfig] ----------
  ; fn ?  line 115-132 np=1 va=0 ms=13 code=43 consts=13 upvals=1 protos=0
  ;   K[0]='FundPackActivityModel'
  ;   K[1]='TaskConfigKey'
  ;   K[2]='Table'
  ;   K[3]='DeepCopy'
  ;   K[4]='m_packConfig'
  ;   K[5]='_CheckTaskConfigValid'
  ;   K[6]='m_mapTaskConfig'
  ;   K[7]='ipairs'
  ;   K[8]='FundPackActivityTaskConfig'
  ;   K[9]='Create'
  ;   K[10]='GetTaskType'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-43), taskConfigKey(2-43), arrTaskConfig(8-43), taskConfig(15-43), taskType(15-43), (for generator)(18-42), (for state)(18-42), (for control)(18-42), _(19-40), config(19-40)
  0000  GETTABUP  R1 = _ENV[K0('FundPackActivityModel')]
  0001  GETTABLE  R1 = R1[K1('TaskConfigKey')]
  0002  GETTABUP  R2 = _ENV[K2('Table')]
  0003  GETTABLE  R2 = R2[K3('DeepCopy')]
  0004  GETTABLE  R3 = R0[K4('m_packConfig')]
  0005  GETTABLE  R3 = R3[R1]
  0006  LOADBOOL  R4 = true
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  SELF      R4 = R0[K5('_CheckTaskConfigValid')] (self)
  0009  MOVE      R5 = R0
  0010  MOVE      R6 = R0
  0011  CALL      R3 = call(R3, 0 args, 3 rets)
  0012  NEWTABLE  R3 = {} (0 items)
  0013  SETTABLE  R0[K6('m_mapTaskConfig')] = R3
  0014  LOADNIL   R3..R3 = nil
  0015  GETTABUP  R5 = _ENV[K7('ipairs')]
  0016  MOVE      R6 = R0
  0017  CALL      R5 = call(R5, 3 args, 1 rets)
  0018  JMP       (jump)   -> 40
  0019  GETTABUP  R10 = _ENV[K8('FundPackActivityTaskConfig')]
  0020  GETTABLE  R10 = R10[K9('Create')]
  0021  MOVE      R11 = R0
  0022  CALL      R10 = call(R10, 1 args, 1 rets)
  0023  MOVE      R3 = R0
  0024  SELF      R11 = R3[K10('GetTaskType')] (self)
  0025  CALL      R10 = call(R10, 1 args, 1 rets)
  0026  MOVE      R4 = R0
  0027  GETTABLE  R10 = R0[K6('m_mapTaskConfig')]
  0028  GETTABLE  R11 = R0[K6('m_mapTaskConfig')]
  0029  GETTABLE  R11 = R11[R4]
  0030  TEST      if not R11 then   -> -131039
  0031  JMP       (jump)   -> 33
  0032  NEWTABLE  R11 = {} (0 items)
  0033  SETTABLE  R10[R4] = R11
  0034  GETTABUP  R10 = _ENV[K11('table')]
  0035  GETTABLE  R10 = R10[K12('insert')]
  0036  GETTABLE  R11 = R0[K6('m_mapTaskConfig')]
  0037  GETTABLE  R11 = R11[R4]
  0038  MOVE      R12 = R0
  0039  CALL      R10 = call(R10, 0 args, 2 rets)
  0040  TFORCALL  tforcall R5
  0041  TFORLOOP  tforloop R7(sBx=-23)   -> 19
  0042  RETURN    return R0..R-1
; ---------- proto11 [_CheckPackConfigValid] ----------
  ; fn ?  line 135-146 np=2 va=0 ms=11 code=48 consts=18 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='FundPackActivityModel'
  ;   K[3]='ConfigKey'
  ;   K[4]='Table'
  ;   K[5]='IsEmpty'
  ;   K[6]=0
  ;   K[7]='Log'
  ;   K[8]='Error'
  ;   K[9]='[进度基金] 活动id='
  ;   K[10]='tostring'
  ;   K[11]='GetId'
  ;   K[12]='，没有找到配置：'
  ;   K[13]='，配置需要使用dynamie_include关联表'
  ;   K[14]='！'
  ;   K[15]=1
  ;   K[16]='，dynamie_include关联表'
  ;   K[17]='多于一个，请检查配置是否重复，筛选条件是否正确！'
  ;   upvals: _ENV
  ;   locals: self(0-48), arrConfig(0-48), configKey(8-48)
  0000  GETTABUP  R2 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R2 = R2[K1('IsTestMode')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABUP  R2 = _ENV[K2('FundPackActivityModel')]
  0007  GETTABLE  R2 = R2[K3('ConfigKey')]
  0008  GETTABUP  R3 = _ENV[K4('Table')]
  0009  GETTABLE  R3 = R3[K5('IsEmpty')]
  0010  MOVE      R4 = R0
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  TEST      if not R3 then   -> -131057
  0013  JMP       (jump)   -> 17
  0014  LEN       R3 = len R0
  0015  LE        if R0 le K6(0)   -> -129257
  0016  JMP       (jump)   -> 32
  0017  GETTABUP  R3 = _ENV[K7('Log')]
  0018  GETTABLE  R3 = R3[K8('Error')]
  0019  LOADK     R4 = K9 '[进度基金] 活动id='
  0020  GETTABUP  R5 = _ENV[K10('tostring')]
  0021  SELF      R7 = R0[K11('GetId')] (self)
  0022  CALL      R6 = call(R6, -1 args, 1 rets)
  0023  CALL      R5 = call(R5, 1 args, -1 rets)
  0024  LOADK     R6 = K12 '，没有找到配置：'
  0025  MOVE      R7 = R0
  0026  LOADK     R8 = K13 '，配置需要使用dynamie_include关联表'
  0027  MOVE      R9 = R0
  0028  LOADK     R10 = K14 '！'
  0029  CONCAT    R4 = concat(R4..R4)
  0030  CALL      R3 = call(R3, 0 args, 1 rets)
  0031  JMP       (jump)   -> 47
  0032  LEN       R3 = len R0
  0033  LT        if R0 lt R3   -> 7718
  0034  JMP       (jump)   -> 47
  0035  GETTABUP  R3 = _ENV[K7('Log')]
  0036  GETTABLE  R3 = R3[K8('Error')]
  0037  LOADK     R4 = K9 '[进度基金] 活动id='
  0038  GETTABUP  R5 = _ENV[K10('tostring')]
  0039  SELF      R7 = R0[K11('GetId')] (self)
  0040  CALL      R6 = call(R6, -1 args, 1 rets)
  0041  CALL      R5 = call(R5, 1 args, -1 rets)
  0042  LOADK     R6 = K16 '，dynamie_include关联表'
  0043  MOVE      R7 = R0
  0044  LOADK     R8 = K17 '多于一个，请检查配置是否重复，筛选条件是否正确！'
  0045  CONCAT    R4 = concat(R4..R4)
  0046  CALL      R3 = call(R3, 0 args, 1 rets)
  0047  RETURN    return R0..R-1
; ---------- proto12 [_CheckTaskConfigValid] ----------
  ; fn ?  line 149-205 np=2 va=0 ms=27 code=181 consts=43 upvals=1 protos=1
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='ipairs'
  ;   K[3]='table'
  ;   K[4]='insert'
  ;   K[5]='FundPackActivityTaskConfig'
  ;   K[6]='Create'
  ;   K[7]='sort'
  ;   K[8]='FundPackActivityModel'
  ;   K[9]='ConfigKey'
  ;   K[10]='TaskConfigKey'
  ;   K[11]='Table'
  ;   K[12]='IsEmpty'
  ;   K[13]=0
  ;   K[14]='Log'
  ;   K[15]='Error'
  ;   K[16]='[进度基金] 活动id='
  ;   K[17]='tostring'
  ;   K[18]='GetId'
  ;   K[19]='，没有找到配置：'
  ;   K[20]='，配置需要在'
  ;   K[21]='表里使用include关联表'
  ;   K[22]='！'
  ;   K[23]='GetListValueMap'
  ;   K[24]='GetValueList'
  ;   K[25]='FundPackTaskType'
  ;   K[26]='，配置表'
  ;   K[27]='里，index='
  ;   K[28]='的配置'
  ;   K[29]='index错误，这是第'
  ;   K[30]='条配置，期望index='
  ;   K[31]='，当前index='
  ;   K[32]='GetTaskType'
  ;   K[33]='，task_type是未知类型，请检查！支持的任务类型：'
  ;   K[34]='concat'
  ;   K[35]='，当前task_type='
  ;   K[36]='与之前的任务类型不一致！当前仅支持单种任务类型的配置！task_type='
  ;   K[37]='，之前的task_type='
  ;   K[38]='GetTargetScore'
  ;   K[39]='，num不能小于0，请检查！当前num='
  ;   K[40]=nil
  ;   K[41]='需要目标进度比之前的要少！当前仅支持num按照index递增的方式配置！num='
  ;   K[42]='，之前的num='
  ;   upvals: _ENV
  ;   locals: self(0-181), arrConfig(0-181), arrTaskConfig(7-181), (for generator)(12-23), (for state)(12-23), (for control)(12-23), _(13-21), config(13-21), CompareByIndex(24-181), configKey(31-181), taskConfigKey(33-181), taskTypeMap(65-181), logPrefix(66-181), index(66-181), taskType(66-181), firstTaskType(66-181), targetScore(66-181), lastScore(66-181), (for generator)(69-180), (for state)(69-180), (for control)(69-180), expectedIndex(70-178), taskConfig(70-178)
  0000  GETTABUP  R2 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R2 = R2[K1('IsTestMode')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  NEWTABLE  R2 = {} (0 items)
  0007  GETTABUP  R3 = _ENV[K2('ipairs')]
  0008  TESTSET   if R1 then R4   -> -130549
  0009  JMP       (jump)   -> 11
  0010  NEWTABLE  R4 = {} (0 items)
  0011  CALL      R3 = call(R3, 3 args, 1 rets)
  0012  JMP       (jump)   -> 21
  0013  GETTABUP  R8 = _ENV[K3('table')]
  0014  GETTABLE  R8 = R8[K4('insert')]
  0015  MOVE      R9 = R0
  0016  GETTABUP  R10 = _ENV[K5('FundPackActivityTaskConfig')]
  0017  GETTABLE  R10 = R10[K6('Create')]
  0018  MOVE      R11 = R0
  0019  CALL      R10 = call(R10, -1 args, 1 rets)
  0020  CALL      R8 = call(R8, 0 args, -1 rets)
  0021  TFORCALL  tforcall R3
  0022  TFORLOOP  tforloop R5(sBx=-10)   -> 13
  0023  CLOSURE   R3 = closure proto0
  0024  GETTABUP  R4 = _ENV[K3('table')]
  0025  GETTABLE  R4 = R4[K7('sort')]
  0026  MOVE      R5 = R0
  0027  MOVE      R6 = R0
  0028  CALL      R4 = call(R4, 0 args, 2 rets)
  0029  GETTABUP  R4 = _ENV[K8('FundPackActivityModel')]
  0030  GETTABLE  R4 = R4[K9('ConfigKey')]
  0031  GETTABUP  R5 = _ENV[K8('FundPackActivityModel')]
  0032  GETTABLE  R5 = R5[K10('TaskConfigKey')]
  0033  GETTABUP  R6 = _ENV[K11('Table')]
  0034  GETTABLE  R6 = R6[K12('IsEmpty')]
  0035  MOVE      R7 = R0
  0036  CALL      R6 = call(R6, 1 args, 1 rets)
  0037  TEST      if not R6 then   -> -131032
  0038  JMP       (jump)   -> 42
  0039  LEN       R6 = len R0
  0040  LE        if R0 le K13(0)   -> -127689
  0041  JMP       (jump)   -> 58
  0042  GETTABUP  R6 = _ENV[K14('Log')]
  0043  GETTABLE  R6 = R6[K15('Error')]
  0044  LOADK     R7 = K16 '[进度基金] 活动id='
  0045  GETTABUP  R8 = _ENV[K17('tostring')]
  0046  SELF      R10 = R0[K18('GetId')] (self)
  0047  CALL      R9 = call(R9, -1 args, 1 rets)
  0048  CALL      R8 = call(R8, 1 args, -1 rets)
  0049  LOADK     R9 = K19 '，没有找到配置：'
  0050  MOVE      R10 = R0
  0051  LOADK     R11 = K20 '，配置需要在'
  0052  MOVE      R12 = R0
  0053  LOADK     R13 = K21 '表里使用include关联表'
  0054  MOVE      R14 = R0
  0055  LOADK     R15 = K22 '！'
  0056  CONCAT    R7 = concat(R7..R7)
  0057  CALL      R6 = call(R6, 0 args, 1 rets)
  0058  GETTABUP  R6 = _ENV[K11('Table')]
  0059  GETTABLE  R6 = R6[K23('GetListValueMap')]
  0060  GETTABUP  R7 = _ENV[K11('Table')]
  0061  GETTABLE  R7 = R7[K24('GetValueList')]
  0062  GETTABUP  R8 = _ENV[K25('FundPackTaskType')]
  0063  CALL      R7 = call(R7, -1 args, 1 rets)
  0064  CALL      R6 = call(R6, 1 args, -1 rets)
  0065  LOADNIL   R7..R7 = nil
  0066  GETTABUP  R13 = _ENV[K2('ipairs')]
  0067  MOVE      R14 = R0
  0068  CALL      R13 = call(R13, 3 args, 1 rets)
  0069  JMP       (jump)   -> 178
  0070  SELF      R19 = R17[K18('GetId')] (self)
  0071  CALL      R18 = call(R18, 1 args, 1 rets)
  0072  MOVE      R8 = R0
  0073  LOADK     R18 = K16 '[进度基金] 活动id='
  0074  GETTABUP  R19 = _ENV[K17('tostring')]
  0075  SELF      R21 = R0[K18('GetId')] (self)
  0076  CALL      R20 = call(R20, -1 args, 1 rets)
  0077  CALL      R19 = call(R19, 1 args, -1 rets)
  0078  LOADK     R20 = K26 '，配置表'
  0079  MOVE      R21 = R0
  0080  LOADK     R22 = K27 '里，index='
  0081  GETTABUP  R23 = _ENV[K17('tostring')]
  0082  MOVE      R24 = R0
  0083  CALL      R23 = call(R23, 1 args, 1 rets)
  0084  LOADK     R24 = K28 '的配置'
  0085  CONCAT    R7 = concat(R7..R18)
  0086  EQ        if R1 eq R8   -> -122784
  0087  JMP       (jump)   -> 105
  0088  GETTABUP  R18 = _ENV[K14('Log')]
  0089  GETTABLE  R18 = R18[K15('Error')]
  0090  MOVE      R19 = R0
  0091  LOADK     R20 = K29 'index错误，这是第'
  0092  GETTABUP  R21 = _ENV[K17('tostring')]
  0093  MOVE      R22 = R0
  0094  CALL      R21 = call(R21, 1 args, 1 rets)
  0095  LOADK     R22 = K30 '条配置，期望index='
  0096  GETTABUP  R23 = _ENV[K17('tostring')]
  0097  MOVE      R24 = R0
  0098  CALL      R23 = call(R23, 1 args, 1 rets)
  0099  LOADK     R24 = K31 '，当前index='
  0100  GETTABUP  R25 = _ENV[K17('tostring')]
  0101  MOVE      R26 = R0
  0102  CALL      R25 = call(R25, 1 args, 1 rets)
  0103  CONCAT    R19 = concat(R19..R19)
  0104  CALL      R18 = call(R18, 0 args, 1 rets)
  0105  SELF      R19 = R17[K32('GetTaskType')] (self)
  0106  CALL      R18 = call(R18, 1 args, 1 rets)
  0107  MOVE      R9 = R0
  0108  GETTABLE  R18 = R6[R9]
  0109  TEST      if not R18 then   -> -130960
  0110  JMP       (jump)   -> 128
  0111  GETTABUP  R18 = _ENV[K14('Log')]
  0112  GETTABLE  R18 = R18[K15('Error')]
  0113  MOVE      R19 = R0
  0114  LOADK     R20 = K33 '，task_type是未知类型，请检查！支持的任务类型：'
  0115  GETTABUP  R21 = _ENV[K3('table')]
  0116  GETTABLE  R21 = R21[K34('concat')]
  0117  GETTABUP  R22 = _ENV[K11('Table')]
  0118  GETTABLE  R22 = R22[K24('GetValueList')]
  0119  GETTABUP  R23 = _ENV[K25('FundPackTaskType')]
  0120  CALL      R22 = call(R22, -1 args, 1 rets)
  0121  CALL      R21 = call(R21, 1 args, -1 rets)
  0122  LOADK     R22 = K35 '，当前task_type='
  0123  GETTABUP  R23 = _ENV[K17('tostring')]
  0124  MOVE      R24 = R0
  0125  CALL      R23 = call(R23, 1 args, 1 rets)
  0126  CONCAT    R19 = concat(R19..R19)
  0127  CALL      R18 = call(R18, 0 args, 1 rets)
  0128  TEST      if not R10 then   -> -130941
  0129  JMP       (jump)   -> 131
  0130  MOVE      R10 = R0
  0131  EQ        if R1 eq R9   -> -125810
  0132  JMP       (jump)   -> 146
  0133  GETTABUP  R18 = _ENV[K14('Log')]
  0134  GETTABLE  R18 = R18[K15('Error')]
  0135  MOVE      R19 = R0
  0136  LOADK     R20 = K36 '与之前的任务类型不一致！当前仅支持单种任务类型的配置！task_type='
  0137  GETTABUP  R21 = _ENV[K17('tostring')]
  0138  MOVE      R22 = R0
  0139  CALL      R21 = call(R21, 1 args, 1 rets)
  0140  LOADK     R22 = K37 '，之前的task_type='
  0141  GETTABUP  R23 = _ENV[K17('tostring')]
  0142  MOVE      R24 = R0
  0143  CALL      R23 = call(R23, 1 args, 1 rets)
  0144  CONCAT    R19 = concat(R19..R19)
  0145  CALL      R18 = call(R18, 0 args, 1 rets)
  0146  SELF      R19 = R17[K38('GetTargetScore')] (self)
  0147  CALL      R18 = call(R18, 1 args, 1 rets)
  0148  MOVE      R11 = R0
  0149  LT        if R0 lt K13(0)   -> -125020
  0150  JMP       (jump)   -> 160
  0151  GETTABUP  R18 = _ENV[K14('Log')]
  0152  GETTABLE  R18 = R18[K15('Error')]
  0153  MOVE      R19 = R0
  0154  LOADK     R20 = K39 '，num不能小于0，请检查！当前num='
  0155  GETTABUP  R21 = _ENV[K17('tostring')]
  0156  MOVE      R22 = R0
  0157  CALL      R21 = call(R21, 1 args, 1 rets)
  0158  CONCAT    R19 = concat(R19..R19)
  0159  CALL      R18 = call(R18, 0 args, 1 rets)
  0160  EQ        if R1 eq K40(nil)   -> -124470
  0161  JMP       (jump)   -> 177
  0162  LT        if R0 lt R12   -> -125264
  0163  JMP       (jump)   -> 177
  0164  GETTABUP  R18 = _ENV[K14('Log')]
  0165  GETTABLE  R18 = R18[K15('Error')]
  0166  MOVE      R19 = R0
  0167  LOADK     R20 = K41 '需要目标进度比之前的要少！当前仅支持num按照index递增的方式配置！num='
  0168  GETTABUP  R21 = _ENV[K17('tostring')]
  0169  MOVE      R22 = R0
  0170  CALL      R21 = call(R21, 1 args, 1 rets)
  0171  LOADK     R22 = K42 '，之前的num='
  0172  GETTABUP  R23 = _ENV[K17('tostring')]
  0173  MOVE      R24 = R0
  0174  CALL      R23 = call(R23, 1 args, 1 rets)
  0175  CONCAT    R19 = concat(R19..R19)
  0176  CALL      R18 = call(R18, 0 args, 1 rets)
  0177  MOVE      R12 = R0
  0178  TFORCALL  tforcall R13
  0179  TFORLOOP  tforloop R15(sBx=-110)   -> 70
  0180  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 163-165 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetId'
    ;   locals: a(0-10), b(0-10)
    0000  SELF      R3 = R0[K0('GetId')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetId')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
; ---------- proto13 [HasConfig] ----------
  ; fn ?  line 208-210 np=1 va=0 ms=2 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R1 = false
  0004  LOADBOOL  R1 = true
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto14 [GetPackConfig] ----------
  ; fn ?  line 212-214 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_packConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_packConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto15 [GetTaskConfigByType] ----------
  ; fn ?  line 217-219 np=2 va=0 ms=3 code=7 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTaskConfig'
  ;   locals: self(0-7), taskType(0-7)
  0000  GETTABLE  R2 = R0[K0('m_mapTaskConfig')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R2 = {} (0 items)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto16 [_DBTableGetValue] ----------
  ; fn ?  line 230-232 np=2 va=0 ms=6 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  MOVE      R4 = R0
  0003  GETUPVAL  R5 = DB_VALUE_KEY
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto17 [_DBTableGetNumber] ----------
  ; fn ?  line 236-239 np=3 va=0 ms=7 code=13 consts=3 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='tonumber'
  ;   K[2]='_DBTableGetValue'
  ;   upvals: _ENV
  ;   locals: self(0-13), key(0-13), defaultValue(0-13)
  0000  TEST      if not R2 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  LOADK     R2 = K0 0
  0003  GETTABUP  R3 = _ENV[K1('tonumber')]
  0004  SELF      R5 = R0[K2('_DBTableGetValue')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, -1 args, 2 rets)
  0007  CALL      R3 = call(R3, 1 args, -1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  MOVE      R3 = R0
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto18 [_DBTableSet] ----------
  ; fn ?  line 243-245 np=3 va=0 ms=8 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   upvals: DB_VALUE_KEY
  ;   locals: self(0-7), key(0-7), value(0-7)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  MOVE      R5 = R0
  0003  GETUPVAL  R6 = DB_VALUE_KEY
  0004  MOVE      R7 = R0
  0005  CALL      R3 = call(R3, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto19 [_LoadDBTableData] ----------
  ; fn ?  line 248-252 np=1 va=0 ms=3 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='_LoadTaskProgress'
  ;   K[1]='_LoadTaskClaimedReward'
  ;   K[2]='_LoadLastTaskProgress'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('_LoadTaskProgress')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_LoadTaskClaimedReward')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_LoadLastTaskProgress')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto20 [HasTicket] ----------
  ; fn ?  line 254-256 np=1 va=0 ms=4 code=10 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TicketKey'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TicketKey')]
  0002  CALL      R1 = call(R1, 1 args, 2 rets)
  0003  GETUPVAL  R2 = DBKey
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto21 [SetHasTicket] ----------
  ; fn ?  line 258-260 np=1 va=0 ms=5 code=5 consts=2 upvals=2 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TicketKey'
  ;   upvals: DBKey, TRUE_VALUE
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TicketKey')]
  0002  GETUPVAL  R4 = DBKey
  0003  CALL      R1 = call(R1, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto22 [_LoadTaskProgress] ----------
  ; fn ?  line 262-268 np=1 va=0 ms=7 code=22 consts=10 upvals=2 protos=0
  ;   K[0]='m_mapTaskProgress'
  ;   K[1]='_DBTableGetValue'
  ;   K[2]='TaskProgress'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   K[7]='Replace'
  ;   K[8]='@'
  ;   K[9]=','
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-22), strData(5-22)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapTaskProgress')] = R1
  0002  SELF      R2 = R0[K1('_DBTableGetValue')] (self)
  0003  GETTABUP  R3 = DBKey[K2('TaskProgress')]
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  GETTABUP  R2 = _ENV[K3('StringUtil')]
  0006  GETTABLE  R2 = R2[K4('IsNilOrEmpty')]
  0007  MOVE      R3 = R0
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 21
  0011  GETTABUP  R2 = _ENV[K5('json')]
  0012  GETTABLE  R2 = R2[K6('decode')]
  0013  GETTABUP  R3 = _ENV[K3('StringUtil')]
  0014  GETTABLE  R3 = R3[K7('Replace')]
  0015  MOVE      R4 = R0
  0016  LOADK     R5 = K8 '@'
  0017  LOADK     R6 = K9 ','
  0018  CALL      R3 = call(R3, -1 args, 3 rets)
  0019  CALL      R2 = call(R2, 1 args, -1 rets)
  0020  SETTABLE  R0[K0('m_mapTaskProgress')] = R2
  0021  RETURN    return R0..R-1
; ---------- proto23 [_SaveTaskProgress] ----------
  ; fn ?  line 270-276 np=1 va=0 ms=8 code=24 consts=13 upvals=2 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapTaskProgress'
  ;   K[3]='m_dbTable'
  ;   K[4]='Remove'
  ;   K[5]='TaskProgress'
  ;   K[6]='_DBTableSet'
  ;   K[7]='StringUtil'
  ;   K[8]='Replace'
  ;   K[9]='json'
  ;   K[10]='encode'
  ;   K[11]=','
  ;   K[12]='@'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-24)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapTaskProgress')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R1 = R0[K3('m_dbTable')]
  0007  SELF      R2 = R1[K4('Remove')] (self)
  0008  GETTABUP  R3 = DBKey[K5('TaskProgress')]
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  JMP       (jump)   -> 23
  0011  SELF      R2 = R0[K6('_DBTableSet')] (self)
  0012  GETTABUP  R3 = DBKey[K5('TaskProgress')]
  0013  GETTABUP  R4 = _ENV[K7('StringUtil')]
  0014  GETTABLE  R4 = R4[K8('Replace')]
  0015  GETTABUP  R5 = _ENV[K9('json')]
  0016  GETTABLE  R5 = R5[K10('encode')]
  0017  GETTABLE  R6 = R0[K2('m_mapTaskProgress')]
  0018  CALL      R5 = call(R5, 1 args, 1 rets)
  0019  LOADK     R6 = K11 ','
  0020  LOADK     R7 = K12 '@'
  0021  CALL      R4 = call(R4, -1 args, 3 rets)
  0022  CALL      R1 = call(R1, 0 args, -1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto24 [GetTaskProgress] ----------
  ; fn ?  line 279-281 np=2 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapTaskProgress'
  ;   K[1]=0
  ;   locals: self(0-7), taskType(0-7)
  0000  GETTABLE  R2 = R0[K0('m_mapTaskProgress')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  LOADK     R2 = K1 0
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto25 [GetAllTaskProgress] ----------
  ; fn ?  line 283-285 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTaskProgress'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapTaskProgress')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto26 [_AddTaskProgress] ----------
  ; fn ?  line 289-292 np=3 va=0 ms=5 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapTaskProgress'
  ;   K[1]=0
  ;   K[2]='_SaveTaskProgress'
  ;   locals: self(0-11), taskType(0-11), delta(0-11)
  0000  GETTABLE  R3 = R0[K0('m_mapTaskProgress')]
  0001  GETTABLE  R4 = R0[K0('m_mapTaskProgress')]
  0002  GETTABLE  R4 = R4[R1]
  0003  TEST      if not R4 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  LOADK     R4 = K1 0
  0006  ADD       R4 = R2 add R4
  0007  SETTABLE  R3[R1] = R4
  0008  SELF      R4 = R0[K2('_SaveTaskProgress')] (self)
  0009  CALL      R3 = call(R3, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto27 [_LoadTaskClaimedReward] ----------
  ; fn ?  line 294-304 np=1 va=0 ms=9 code=29 consts=12 upvals=2 protos=0
  ;   K[0]='m_mapTaskClaimedReward'
  ;   K[1]='_DBTableGetValue'
  ;   K[2]='TaskClaimedReward'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   K[7]='Replace'
  ;   K[8]='@'
  ;   K[9]=','
  ;   K[10]='ipairs'
  ;   K[11]=true
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-29), strData(5-29), cacheTb(20-28), (for generator)(23-28), (for state)(23-28), (for control)(23-28), _(24-26), taskId(24-26)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapTaskClaimedReward')] = R1
  0002  SELF      R2 = R0[K1('_DBTableGetValue')] (self)
  0003  GETTABUP  R3 = DBKey[K2('TaskClaimedReward')]
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  GETTABUP  R2 = _ENV[K3('StringUtil')]
  0006  GETTABLE  R2 = R2[K4('IsNilOrEmpty')]
  0007  MOVE      R3 = R0
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 28
  0011  GETTABUP  R2 = _ENV[K5('json')]
  0012  GETTABLE  R2 = R2[K6('decode')]
  0013  GETTABUP  R3 = _ENV[K3('StringUtil')]
  0014  GETTABLE  R3 = R3[K7('Replace')]
  0015  MOVE      R4 = R0
  0016  LOADK     R5 = K8 '@'
  0017  LOADK     R6 = K9 ','
  0018  CALL      R3 = call(R3, -1 args, 3 rets)
  0019  CALL      R2 = call(R2, 1 args, -1 rets)
  0020  GETTABUP  R3 = _ENV[K10('ipairs')]
  0021  MOVE      R4 = R0
  0022  CALL      R3 = call(R3, 3 args, 1 rets)
  0023  JMP       (jump)   -> 26
  0024  GETTABLE  R8 = R0[K0('m_mapTaskClaimedReward')]
  0025  SETTABLE  R8[R7] = K11(true)
  0026  TFORCALL  tforcall R3
  0027  TFORLOOP  tforloop R5(sBx=-4)   -> 24
  0028  RETURN    return R0..R-1
; ---------- proto28 [_SaveTaskClaimedReward] ----------
  ; fn ?  line 306-316 np=1 va=0 ms=9 code=36 consts=16 upvals=2 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapTaskClaimedReward'
  ;   K[3]='m_dbTable'
  ;   K[4]='Remove'
  ;   K[5]='TaskClaimedReward'
  ;   K[6]='pairs'
  ;   K[7]='table'
  ;   K[8]='insert'
  ;   K[9]='_DBTableSet'
  ;   K[10]='StringUtil'
  ;   K[11]='Replace'
  ;   K[12]='json'
  ;   K[13]='encode'
  ;   K[14]=','
  ;   K[15]='@'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-36), cacheTb(12-35), (for generator)(15-23), (for state)(15-23), (for control)(15-23), taskId(16-21)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapTaskClaimedReward')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R1 = R0[K3('m_dbTable')]
  0007  SELF      R2 = R1[K4('Remove')] (self)
  0008  GETTABUP  R3 = DBKey[K5('TaskClaimedReward')]
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  JMP       (jump)   -> 35
  0011  NEWTABLE  R1 = {} (0 items)
  0012  GETTABUP  R2 = _ENV[K6('pairs')]
  0013  GETTABLE  R3 = R0[K2('m_mapTaskClaimedReward')]
  0014  CALL      R2 = call(R2, 3 args, 1 rets)
  0015  JMP       (jump)   -> 21
  0016  GETTABUP  R6 = _ENV[K7('table')]
  0017  GETTABLE  R6 = R6[K8('insert')]
  0018  MOVE      R7 = R0
  0019  MOVE      R8 = R0
  0020  CALL      R6 = call(R6, 0 args, 2 rets)
  0021  TFORCALL  tforcall R2
  0022  TFORLOOP  tforloop R4(sBx=-7)   -> 16
  0023  SELF      R3 = R0[K9('_DBTableSet')] (self)
  0024  GETTABUP  R4 = DBKey[K5('TaskClaimedReward')]
  0025  GETTABUP  R5 = _ENV[K10('StringUtil')]
  0026  GETTABLE  R5 = R5[K11('Replace')]
  0027  GETTABUP  R6 = _ENV[K12('json')]
  0028  GETTABLE  R6 = R6[K13('encode')]
  0029  MOVE      R7 = R0
  0030  CALL      R6 = call(R6, 1 args, 1 rets)
  0031  LOADK     R7 = K14 ','
  0032  LOADK     R8 = K15 '@'
  0033  CALL      R5 = call(R5, -1 args, 3 rets)
  0034  CALL      R2 = call(R2, 0 args, -1 rets)
  0035  RETURN    return R0..R-1
; ---------- proto29 [GetTaskClaimedReward] ----------
  ; fn ?  line 319-321 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapTaskClaimedReward'
  ;   locals: self(0-4), taskId(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapTaskClaimedReward')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto30 [_SetTaskClaimedReward] ----------
  ; fn ?  line 324-327 np=2 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapTaskClaimedReward'
  ;   K[1]=true
  ;   K[2]='_SaveTaskClaimedReward'
  ;   locals: self(0-5), taskId(0-5)
  0000  GETTABLE  R2 = R0[K0('m_mapTaskClaimedReward')]
  0001  SETTABLE  R2[R1] = K1(true)
  0002  SELF      R3 = R0[K2('_SaveTaskClaimedReward')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto31 [GetLastTaskCount] ----------
  ; fn ?  line 329-331 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='LastTaskCount'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('LastTaskCount')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto32 [_SetLastTaskCount] ----------
  ; fn ?  line 334-336 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='LastTaskCount'
  ;   upvals: DBKey
  ;   locals: self(0-5), lastTaskCount(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('LastTaskCount')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto33 [_LoadLastTaskProgress] ----------
  ; fn ?  line 338-344 np=1 va=0 ms=7 code=22 consts=10 upvals=2 protos=0
  ;   K[0]='m_mapLastTaskProgress'
  ;   K[1]='_DBTableGetValue'
  ;   K[2]='LastTaskProgress'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   K[7]='Replace'
  ;   K[8]='@'
  ;   K[9]=','
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-22), strData(5-22)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapLastTaskProgress')] = R1
  0002  SELF      R2 = R0[K1('_DBTableGetValue')] (self)
  0003  GETTABUP  R3 = DBKey[K2('LastTaskProgress')]
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  GETTABUP  R2 = _ENV[K3('StringUtil')]
  0006  GETTABLE  R2 = R2[K4('IsNilOrEmpty')]
  0007  MOVE      R3 = R0
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 21
  0011  GETTABUP  R2 = _ENV[K5('json')]
  0012  GETTABLE  R2 = R2[K6('decode')]
  0013  GETTABUP  R3 = _ENV[K3('StringUtil')]
  0014  GETTABLE  R3 = R3[K7('Replace')]
  0015  MOVE      R4 = R0
  0016  LOADK     R5 = K8 '@'
  0017  LOADK     R6 = K9 ','
  0018  CALL      R3 = call(R3, -1 args, 3 rets)
  0019  CALL      R2 = call(R2, 1 args, -1 rets)
  0020  SETTABLE  R0[K0('m_mapLastTaskProgress')] = R2
  0021  RETURN    return R0..R-1
; ---------- proto34 [_SaveLastTaskProgress] ----------
  ; fn ?  line 346-352 np=1 va=0 ms=8 code=24 consts=13 upvals=2 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapLastTaskProgress'
  ;   K[3]='m_dbTable'
  ;   K[4]='Remove'
  ;   K[5]='LastTaskProgress'
  ;   K[6]='_DBTableSet'
  ;   K[7]='StringUtil'
  ;   K[8]='Replace'
  ;   K[9]='json'
  ;   K[10]='encode'
  ;   K[11]=','
  ;   K[12]='@'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-24)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapLastTaskProgress')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R1 = R0[K3('m_dbTable')]
  0007  SELF      R2 = R1[K4('Remove')] (self)
  0008  GETTABUP  R3 = DBKey[K5('LastTaskProgress')]
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  JMP       (jump)   -> 23
  0011  SELF      R2 = R0[K6('_DBTableSet')] (self)
  0012  GETTABUP  R3 = DBKey[K5('LastTaskProgress')]
  0013  GETTABUP  R4 = _ENV[K7('StringUtil')]
  0014  GETTABLE  R4 = R4[K8('Replace')]
  0015  GETTABUP  R5 = _ENV[K9('json')]
  0016  GETTABLE  R5 = R5[K10('encode')]
  0017  GETTABLE  R6 = R0[K2('m_mapLastTaskProgress')]
  0018  CALL      R5 = call(R5, 1 args, 1 rets)
  0019  LOADK     R6 = K11 ','
  0020  LOADK     R7 = K12 '@'
  0021  CALL      R4 = call(R4, -1 args, 3 rets)
  0022  CALL      R1 = call(R1, 0 args, -1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto35 [GetLastTaskProgress] ----------
  ; fn ?  line 355-357 np=2 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapLastTaskProgress'
  ;   K[1]=0
  ;   locals: self(0-7), taskType(0-7)
  0000  GETTABLE  R2 = R0[K0('m_mapLastTaskProgress')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  LOADK     R2 = K1 0
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto36 [GetAllLastTaskProgress] ----------
  ; fn ?  line 359-361 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapLastTaskProgress'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapLastTaskProgress')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto37 [GetTriggerStartTime] ----------
  ; fn ?  line 363-365 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='TriggerStartTime'
  ;   upvals: DBKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_DBTableGetNumber')] (self)
  0001  GETTABUP  R3 = DBKey[K1('TriggerStartTime')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto38 [_SetTriggerStartTime] ----------
  ; fn ?  line 368-370 np=2 va=0 ms=6 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='TriggerStartTime'
  ;   upvals: DBKey
  ;   locals: self(0-5), triggerStartTime(0-5)
  0000  SELF      R3 = R0[K0('_DBTableSet')] (self)
  0001  GETTABUP  R4 = DBKey[K1('TriggerStartTime')]
  0002  MOVE      R5 = R0
  0003  CALL      R2 = call(R2, 0 args, 3 rets)
  0004  RETURN    return R0..R-1
; ---------- proto39 [UpdateLastTaskCount] ----------
  ; fn ?  line 376-378 np=1 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='_SetLastTaskCount'
  ;   K[1]='GetFinishedNotClaimedTaskCount'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_SetLastTaskCount')] (self)
  0001  SELF      R4 = R0[K1('GetFinishedNotClaimedTaskCount')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  CALL      R1 = call(R1, 0 args, -1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto40 [UpdateLastTaskProgress] ----------
  ; fn ?  line 380-383 np=1 va=0 ms=3 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_mapLastTaskProgress'
  ;   K[1]='Table'
  ;   K[2]='ShallowCopy'
  ;   K[3]='m_mapTaskProgress'
  ;   K[4]='_SaveLastTaskProgress'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K1('Table')]
  0001  GETTABLE  R1 = R1[K2('ShallowCopy')]
  0002  GETTABLE  R2 = R0[K3('m_mapTaskProgress')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SETTABLE  R0[K0('m_mapLastTaskProgress')] = R1
  0005  SELF      R2 = R0[K4('_SaveLastTaskProgress')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto41 [_GetNextPopCount] ----------
  ; fn ?  line 386-388 np=1 va=0 ms=5 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='UpperBound'
  ;   K[2]='GetPackConfig'
  ;   K[3]='GetPopCount'
  ;   K[4]='GetLastTaskCount'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('UpperBound')]
  0002  SELF      R3 = R0[K2('GetPackConfig')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R3 = R2[K3('GetPopCount')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  SELF      R4 = R0[K4('GetLastTaskCount')] (self)
  0007  CALL      R3 = call(R3, -1 args, 1 rets)
  0008  TAILCALL  tailcall(R1, 0)
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto42 [IsMainWindowPoped] ----------
  ; fn ?  line 391-393 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='HasWindowOpenedOnce'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('HasWindowOpenedOnce')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Started')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto43 [SetMainWindowPoped] ----------
  ; fn ?  line 396-398 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='SetWindowOpened'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('SetWindowOpened')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Started')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto44 [IsEndWindowPoped] ----------
  ; fn ?  line 401-403 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='HasWindowOpenedOnce'
  ;   K[1]='ActivityState'
  ;   K[2]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('HasWindowOpenedOnce')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Ended')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto45 [SetEndWindowPoped] ----------
  ; fn ?  line 406-408 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='SetWindowOpened'
  ;   K[1]='ActivityState'
  ;   K[2]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('SetWindowOpened')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Ended')]
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto46 [RecordWindowDailyOpenTime] ----------
  ; fn ?  line 411-413 np=1 va=0 ms=5 code=10 consts=7 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='SetInt'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='FundPackActivityDailyOpenTime'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R1 = R1[K1('SetInt')]
  0002  GETTABUP  R2 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R2 = R2[K3('FundPackActivityDailyOpenTime')]
  0004  GETTABUP  R3 = _ENV[K4('GM')]
  0005  GETTABLE  R3 = R3[K5('GameModel')]
  0006  SELF      R4 = R3[K6('GetServerTime')] (self)
  0007  CALL      R3 = call(R3, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto47 [GetIAPType] ----------
  ; fn ?  line 420-422 np=1 va=0 ms=3 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetPackConfig'
  ;   K[1]='GetIAPType'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('GetPackConfig')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('GetIAPType')] (self)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto48 [GetLocalizedPrice] ----------
  ; fn ?  line 425-427 np=1 va=0 ms=5 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='InAppPurchaseModel'
  ;   K[2]='GetLocalizedPrice'
  ;   K[3]='GetIAPType'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('InAppPurchaseModel')]
  0002  SELF      R2 = R1[K2('GetLocalizedPrice')] (self)
  0003  SELF      R4 = R0[K3('GetIAPType')] (self)
  0004  CALL      R3 = call(R3, -1 args, 1 rets)
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto49 [StartPurchase] ----------
  ; fn ?  line 430-443 np=1 va=0 ms=7 code=27 consts=13 upvals=1 protos=1
  ;   K[0]='_LogClickPurchaseButton'
  ;   K[1]='HasTicket'
  ;   K[2]='GameConfig'
  ;   K[3]='IsTestMode'
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='[进度基金] 已购买，但仍然尝试发起支付！'
  ;   K[7]='GM'
  ;   K[8]='InAppPurchaseModel'
  ;   K[9]='StartPurchase'
  ;   K[10]='GetIAPType'
  ;   K[11]='EBIType'
  ;   K[12]='ShopBuy'
  ;   upvals: _ENV
  ;   locals: self(0-27), purchaseCallback(17-27)
  0000  SELF      R2 = R0[K0('_LogClickPurchaseButton')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('HasTicket')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 16
  0006  GETTABUP  R1 = _ENV[K2('GameConfig')]
  0007  GETTABLE  R1 = R1[K3('IsTestMode')]
  0008  CALL      R1 = call(R1, 1 args, 0 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 15
  0011  GETTABUP  R1 = _ENV[K4('Log')]
  0012  GETTABLE  R1 = R1[K5('Error')]
  0013  LOADK     R2 = K6 '[进度基金] 已购买，但仍然尝试发起支付！'
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
  0016  CLOSURE   R1 = closure proto0
  0017  GETTABUP  R2 = _ENV[K7('GM')]
  0018  GETTABLE  R2 = R2[K8('InAppPurchaseModel')]
  0019  SELF      R3 = R2[K9('StartPurchase')] (self)
  0020  SELF      R5 = R0[K10('GetIAPType')] (self)
  0021  CALL      R4 = call(R4, 1 args, 1 rets)
  0022  MOVE      R5 = R0
  0023  GETTABUP  R6 = _ENV[K11('EBIType')]
  0024  GETTABLE  R6 = R6[K12('ShopBuy')]
  0025  CALL      R2 = call(R2, 0 args, 4 rets)
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 439-441 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='_OnBuyTicketSuccess'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_OnBuyTicketSuccess')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto50 [RestoreIapRewards] ----------
  ; fn ?  line 447-454 np=2 va=0 ms=4 code=15 consts=3 upvals=0 protos=0
  ;   K[0]='GetIAPType'
  ;   K[1]='HasTicket'
  ;   K[2]='_OnBuyTicketSuccess'
  ;   locals: self(0-15), eIAPType(0-15)
  0000  SELF      R3 = R0[K0('GetIAPType')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R0 eq R2   -> -130554
  0003  JMP       (jump)   -> 12
  0004  SELF      R3 = R0[K1('HasTicket')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 12
  0008  SELF      R3 = R0[K2('_OnBuyTicketSuccess')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  LOADBOOL  R2 = false
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto51 [_OnBuyTicketSuccess] ----------
  ; fn ?  line 457-460 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='SetHasTicket'
  ;   K[1]='_DispatchBuyTicketSuccessEvent'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('SetHasTicket')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_DispatchBuyTicketSuccessEvent')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto52 [AcquireVIP] ----------
  ; fn ?  line 462-468 np=1 va=0 ms=3 code=11 consts=2 upvals=0 protos=0
  ;   K[0]='HasTicket'
  ;   K[1]='_OnBuyTicketSuccess'
  ;   locals: self(0-11)
  0000  SELF      R2 = R0[K0('HasTicket')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('_OnBuyTicketSuccess')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto53 [GetTotalTaskCount] ----------
  ; fn ?  line 475-477 np=2 va=0 ms=5 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='GetTaskConfigByType'
  ;   locals: self(0-6), taskType(0-6)
  0000  SELF      R3 = R0[K0('GetTaskConfigByType')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  LEN       R2 = len R0
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto54 [GetFinishedTaskCount] ----------
  ; fn ?  line 481-489 np=2 va=0 ms=11 code=17 consts=5 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='GetTaskConfigByType'
  ;   K[3]='IsTaskCompleted'
  ;   K[4]=1
  ;   upvals: _ENV
  ;   locals: self(0-17), taskType(0-17), count(1-17), (for generator)(6-15), (for state)(6-15), (for control)(6-15), _(7-13), taskConfig(7-13)
  0000  LOADK     R2 = K0 0
  0001  GETTABUP  R3 = _ENV[K1('ipairs')]
  0002  SELF      R5 = R0[K2('GetTaskConfigByType')] (self)
  0003  MOVE      R6 = R0
  0004  CALL      R4 = call(R4, -1 args, 2 rets)
  0005  CALL      R3 = call(R3, 3 args, -1 rets)
  0006  JMP       (jump)   -> 13
  0007  SELF      R9 = R0[K3('IsTaskCompleted')] (self)
  0008  MOVE      R10 = R0
  0009  CALL      R8 = call(R8, 1 args, 2 rets)
  0010  TEST      if not R8 then   -> -131060
  0011  JMP       (jump)   -> 13
  0012  ADD       R2 = K4(1) add R2
  0013  TFORCALL  tforcall R3
  0014  TFORLOOP  tforloop R5(sBx=-8)   -> 7
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto55 [IsTaskCompleted] ----------
  ; fn ?  line 494-497 np=3 va=0 ms=7 code=15 consts=3 upvals=0 protos=0
  ;   K[0]='GetTaskProgress'
  ;   K[1]='GetTaskType'
  ;   K[2]='GetTargetScore'
  ;   locals: self(0-15), taskConfig(0-15), currentScore(0-15)
  0000  TEST      if not R2 then   -> -131069
  0001  JMP       (jump)   -> 7
  0002  SELF      R4 = R0[K0('GetTaskProgress')] (self)
  0003  SELF      R6 = R1[K1('GetTaskType')] (self)
  0004  CALL      R5 = call(R5, -1 args, 1 rets)
  0005  CALL      R3 = call(R3, 1 args, -1 rets)
  0006  MOVE      R2 = R0
  0007  SELF      R4 = R1[K2('GetTargetScore')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  LE        if R1 le R2   -> -129523
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R3 = false
  0012  LOADBOOL  R3 = true
  0013  RETURN    return R3..R2
  0014  RETURN    return R0..R-1
; ---------- proto56 [GetFinishedNotClaimedTaskCount] ----------
  ; fn ?  line 500-510 np=1 va=0 ms=15 code=28 consts=8 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='pairs'
  ;   K[2]='FundPackTaskType'
  ;   K[3]='ipairs'
  ;   K[4]='GetTaskConfigByType'
  ;   K[5]='IsTaskCompleted'
  ;   K[6]='IsTaskClaimedReward'
  ;   K[7]=1
  ;   upvals: _ENV
  ;   locals: self(0-28), count(1-28), (for generator)(4-26), (for state)(4-26), (for control)(4-26), _(5-24), taskType(5-24), (for generator)(10-24), (for state)(10-24), (for control)(10-24), _(11-22), taskConfig(11-22)
  0000  LOADK     R1 = K0 0
  0001  GETTABUP  R2 = _ENV[K1('pairs')]
  0002  GETTABUP  R3 = _ENV[K2('FundPackTaskType')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 24
  0005  GETTABUP  R7 = _ENV[K3('ipairs')]
  0006  SELF      R9 = R0[K4('GetTaskConfigByType')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, -1 args, 2 rets)
  0009  CALL      R7 = call(R7, 3 args, -1 rets)
  0010  JMP       (jump)   -> 22
  0011  SELF      R13 = R0[K5('IsTaskCompleted')] (self)
  0012  MOVE      R14 = R0
  0013  CALL      R12 = call(R12, 1 args, 2 rets)
  0014  TEST      if not R12 then   -> -131056
  0015  JMP       (jump)   -> 22
  0016  SELF      R13 = R0[K6('IsTaskClaimedReward')] (self)
  0017  MOVE      R14 = R0
  0018  CALL      R12 = call(R12, 1 args, 2 rets)
  0019  TEST      if not R12 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  ADD       R1 = K7(1) add R1
  0022  TFORCALL  tforcall R7
  0023  TFORLOOP  tforloop R9(sBx=-13)   -> 11
  0024  TFORCALL  tforcall R2
  0025  TFORLOOP  tforloop R4(sBx=-21)   -> 5
  0026  RETURN    return R1..R0
  0027  RETURN    return R0..R-1
; ---------- proto57 [IsAllTaskCompleted] ----------
  ; fn ?  line 513-520 np=1 va=0 ms=10 code=19 consts=4 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='GetFinishedTaskCount'
  ;   K[3]='GetTotalTaskCount'
  ;   upvals: _ENV
  ;   locals: self(0-19), (for generator)(3-16), (for state)(3-16), (for control)(3-16), _(4-14), taskType(4-14)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('FundPackTaskType')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 14
  0004  SELF      R7 = R0[K2('GetFinishedTaskCount')] (self)
  0005  MOVE      R8 = R0
  0006  CALL      R6 = call(R6, 1 args, 2 rets)
  0007  SELF      R8 = R0[K3('GetTotalTaskCount')] (self)
  0008  MOVE      R9 = R0
  0009  CALL      R7 = call(R7, 1 args, 2 rets)
  0010  LT        if R0 lt R7   -> -127981
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R6 = false
  0013  RETURN    return R6..R5
  0014  TFORCALL  tforcall R1
  0015  TFORLOOP  tforloop R3(sBx=-12)   -> 4
  0016  LOADBOOL  R1 = true
  0017  RETURN    return R1..R0
  0018  RETURN    return R0..R-1
; ---------- proto58 [AddTaskScore] ----------
  ; fn ?  line 525-571 np=3 va=0 ms=32 code=155 consts=41 upvals=1 protos=1
  ;   K[0]='IsNumber'
  ;   K[1]=0
  ;   K[2]='GameConfig'
  ;   K[3]='IsTestMode'
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='[进度基金] 任务进度错误，类型='
  ;   K[7]='tostring'
  ;   K[8]='，数量='
  ;   K[9]='GetFinishedTaskCount'
  ;   K[10]='GetTaskProgress'
  ;   K[11]='_AddTaskProgress'
  ;   K[12]='Table'
  ;   K[13]='ShallowCopy'
  ;   K[14]='GetTaskConfigByType'
  ;   K[15]='table'
  ;   K[16]='sort'
  ;   K[17]='UpperBound'
  ;   K[18]='FundPackActivityTaskConfig'
  ;   K[19]='GetTargetScore'
  ;   K[20]='全部完成'
  ;   K[21]='Info'
  ;   K[22]='[进度基金] 获取积分。'
  ;   K[23]='类型='
  ;   K[24]='；'
  ;   K[25]='上次展示进度='
  ;   K[26]='GetLastTaskProgress'
  ;   K[27]='，当前进度='
  ;   K[28]='，下个任务进度='
  ;   K[29]='上次展示可领奖任务='
  ;   K[30]='GetLastTaskCount'
  ;   K[31]='，当前可领奖任务='
  ;   K[32]='GetFinishedNotClaimedTaskCount'
  ;   K[33]='，下次弹窗任务数量='
  ;   K[34]='_GetNextPopCount'
  ;   K[35]='_DispatchTaskCompletedEvent'
  ;   K[36]=1
  ;   K[37]='_LogActivityRankUp'
  ;   K[38]='ipairs'
  ;   K[39]='IsTaskCompleted'
  ;   K[40]='_LogActionTaskCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-155), taskType(0-155), score(0-155), finishedTaskCountBefore(28-155), previousScore(31-155), finishedTaskCountAfter(38-155), taskConfig(49-120), SortByTargetScore(50-120), nextConfig(64-120), nextTargetScore(71-120), (for index)(127-132), (for limit)(127-132), (for step)(127-132), finishedTaskCount(128-131), (for generator)(137-154), (for state)(137-154), (for control)(137-154), _(138-152), taskConfig(138-152)
  0000  GETTABUP  R3 = _ENV[K0('IsNumber')]
  0001  MOVE      R4 = R0
  0002  CALL      R3 = call(R3, 1 args, 1 rets)
  0003  TEST      if not R3 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  LE        if R0 le K1(0)   -> -129784
  0006  JMP       (jump)   -> 25
  0007  GETTABUP  R3 = _ENV[K2('GameConfig')]
  0008  GETTABLE  R3 = R3[K3('IsTestMode')]
  0009  CALL      R3 = call(R3, 1 args, 0 rets)
  0010  TEST      if not R3 then   -> -131060
  0011  JMP       (jump)   -> 24
  0012  GETTABUP  R3 = _ENV[K4('Log')]
  0013  GETTABLE  R3 = R3[K5('Error')]
  0014  LOADK     R4 = K6 '[进度基金] 任务进度错误，类型='
  0015  GETTABUP  R5 = _ENV[K7('tostring')]
  0016  MOVE      R6 = R0
  0017  CALL      R5 = call(R5, 1 args, 1 rets)
  0018  LOADK     R6 = K8 '，数量='
  0019  GETTABUP  R7 = _ENV[K7('tostring')]
  0020  MOVE      R8 = R0
  0021  CALL      R7 = call(R7, 1 args, 1 rets)
  0022  CONCAT    R4 = concat(R4..R4)
  0023  CALL      R3 = call(R3, 0 args, 1 rets)
  0024  RETURN    return R0..R-1
  0025  SELF      R4 = R0[K9('GetFinishedTaskCount')] (self)
  0026  MOVE      R5 = R0
  0027  CALL      R3 = call(R3, 1 args, 2 rets)
  0028  SELF      R5 = R0[K10('GetTaskProgress')] (self)
  0029  MOVE      R6 = R0
  0030  CALL      R4 = call(R4, 1 args, 2 rets)
  0031  SELF      R6 = R0[K11('_AddTaskProgress')] (self)
  0032  MOVE      R7 = R0
  0033  MOVE      R8 = R0
  0034  CALL      R5 = call(R5, 0 args, 3 rets)
  0035  SELF      R6 = R0[K9('GetFinishedTaskCount')] (self)
  0036  MOVE      R7 = R0
  0037  CALL      R5 = call(R5, 1 args, 2 rets)
  0038  GETTABUP  R6 = _ENV[K2('GameConfig')]
  0039  GETTABLE  R6 = R6[K3('IsTestMode')]
  0040  CALL      R6 = call(R6, 1 args, 0 rets)
  0041  TEST      if not R6 then   -> -131029
  0042  JMP       (jump)   -> 120
  0043  GETTABUP  R6 = _ENV[K12('Table')]
  0044  GETTABLE  R6 = R6[K13('ShallowCopy')]
  0045  SELF      R8 = R0[K14('GetTaskConfigByType')] (self)
  0046  MOVE      R9 = R0
  0047  CALL      R7 = call(R7, -1 args, 2 rets)
  0048  CALL      R6 = call(R6, 1 args, -1 rets)
  0049  CLOSURE   R7 = closure proto0
  0050  GETTABUP  R8 = _ENV[K15('table')]
  0051  GETTABLE  R8 = R8[K16('sort')]
  0052  MOVE      R9 = R0
  0053  MOVE      R10 = R0
  0054  CALL      R8 = call(R8, 0 args, 2 rets)
  0055  GETTABUP  R8 = _ENV[K12('Table')]
  0056  GETTABLE  R8 = R8[K17('UpperBound')]
  0057  MOVE      R9 = R0
  0058  SELF      R11 = R0[K10('GetTaskProgress')] (self)
  0059  MOVE      R12 = R0
  0060  CALL      R10 = call(R10, 1 args, 2 rets)
  0061  GETTABUP  R11 = _ENV[K18('FundPackActivityTaskConfig')]
  0062  GETTABLE  R11 = R11[K19('GetTargetScore')]
  0063  CALL      R8 = call(R8, 1 args, 3 rets)
  0064  TEST      if not R8 then   -> -131006
  0065  JMP       (jump)   -> 70
  0066  SELF      R10 = R8[K19('GetTargetScore')] (self)
  0067  CALL      R9 = call(R9, 1 args, 1 rets)
  0068  TEST      if not R9 then   -> -131001
  0069  JMP       (jump)   -> 71
  0070  LOADK     R9 = K20 '全部完成'
  0071  GETTABUP  R10 = _ENV[K4('Log')]
  0072  GETTABLE  R10 = R10[K21('Info')]
  0073  LOADK     R11 = K22 '[进度基金] 获取积分。'
  0074  LOADK     R12 = K23 '类型='
  0075  GETTABUP  R13 = _ENV[K7('tostring')]
  0076  MOVE      R14 = R0
  0077  CALL      R13 = call(R13, 1 args, 1 rets)
  0078  LOADK     R14 = K8 '，数量='
  0079  GETTABUP  R15 = _ENV[K7('tostring')]
  0080  MOVE      R16 = R0
  0081  CALL      R15 = call(R15, 1 args, 1 rets)
  0082  LOADK     R16 = K24 '；'
  0083  LOADK     R17 = K25 '上次展示进度='
  0084  GETTABUP  R18 = _ENV[K7('tostring')]
  0085  SELF      R20 = R0[K26('GetLastTaskProgress')] (self)
  0086  MOVE      R21 = R0
  0087  CALL      R19 = call(R19, -1 args, 2 rets)
  0088  CALL      R18 = call(R18, 1 args, -1 rets)
  0089  LOADK     R19 = K27 '，当前进度='
  0090  GETTABUP  R20 = _ENV[K7('tostring')]
  0091  SELF      R22 = R0[K10('GetTaskProgress')] (self)
  0092  MOVE      R23 = R0
  0093  CALL      R21 = call(R21, -1 args, 2 rets)
  0094  CALL      R20 = call(R20, 1 args, -1 rets)
  0095  LOADK     R21 = K28 '，下个任务进度='
  0096  GETTABUP  R22 = _ENV[K7('tostring')]
  0097  MOVE      R23 = R0
  0098  CALL      R22 = call(R22, 1 args, 1 rets)
  0099  LOADK     R23 = K24 '；'
  0100  LOADK     R24 = K29 '上次展示可领奖任务='
  0101  GETTABUP  R25 = _ENV[K7('tostring')]
  0102  SELF      R27 = R0[K30('GetLastTaskCount')] (self)
  0103  CALL      R26 = call(R26, -1 args, 1 rets)
  0104  CALL      R25 = call(R25, 1 args, -1 rets)
  0105  LOADK     R26 = K31 '，当前可领奖任务='
  0106  GETTABUP  R27 = _ENV[K7('tostring')]
  0107  SELF      R29 = R0[K32('GetFinishedNotClaimedTaskCount')] (self)
  0108  CALL      R28 = call(R28, -1 args, 1 rets)
  0109  CALL      R27 = call(R27, 1 args, -1 rets)
  0110  LOADK     R28 = K33 '，下次弹窗任务数量='
  0111  GETTABUP  R29 = _ENV[K7('tostring')]
  0112  SELF      R31 = R0[K34('_GetNextPopCount')] (self)
  0113  CALL      R30 = call(R30, 1 args, 1 rets)
  0114  TEST      if not R30 then   -> -130955
  0115  JMP       (jump)   -> 117
  0116  LOADK     R30 = K20 '全部完成'
  0117  CALL      R29 = call(R29, 1 args, 1 rets)
  0118  CONCAT    R11 = concat(R11..R11)
  0119  CALL      R10 = call(R10, 0 args, 1 rets)
  0120  LT        if R0 lt R5   -> -129409
  0121  JMP       (jump)   -> 154
  0122  SELF      R7 = R0[K35('_DispatchTaskCompletedEvent')] (self)
  0123  CALL      R6 = call(R6, 0 args, 1 rets)
  0124  ADD       R6 = K36(1) add R3
  0125  MOVE      R7 = R0
  0126  LOADK     R8 = K36 1
  0127  FORPREP   forprep R6(sBx=3)   -> 131
  0128  SELF      R11 = R0[K37('_LogActivityRankUp')] (self)
  0129  MOVE      R12 = R0
  0130  CALL      R10 = call(R10, 0 args, 2 rets)
  0131  FORLOOP   forloop R6(sBx=-4)   -> 128
  0132  GETTABUP  R6 = _ENV[K38('ipairs')]
  0133  SELF      R8 = R0[K14('GetTaskConfigByType')] (self)
  0134  MOVE      R9 = R0
  0135  CALL      R7 = call(R7, -1 args, 2 rets)
  0136  CALL      R6 = call(R6, 3 args, -1 rets)
  0137  JMP       (jump)   -> 152
  0138  SELF      R12 = R0[K39('IsTaskCompleted')] (self)
  0139  MOVE      R13 = R0
  0140  CALL      R11 = call(R11, 1 args, 2 rets)
  0141  TEST      if not R11 then   -> -130929
  0142  JMP       (jump)   -> 152
  0143  SELF      R12 = R0[K39('IsTaskCompleted')] (self)
  0144  MOVE      R13 = R0
  0145  MOVE      R14 = R0
  0146  CALL      R11 = call(R11, 1 args, 3 rets)
  0147  TEST      if not R11 then   -> -130922
  0148  JMP       (jump)   -> 152
  0149  SELF      R12 = R0[K40('_LogActionTaskCompleted')] (self)
  0150  MOVE      R13 = R0
  0151  CALL      R11 = call(R11, 0 args, 2 rets)
  0152  TFORCALL  tforcall R6
  0153  TFORLOOP  tforloop R8(sBx=-16)   -> 138
  0154  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 543-545 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetTargetScore'
    ;   locals: configA(0-10), configB(0-10)
    0000  SELF      R3 = R0[K0('GetTargetScore')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetTargetScore')] (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
; ---------- proto59 [GetTotalRewardCount] ----------
  ; fn ?  line 574-588 np=2 va=0 ms=20 code=34 consts=8 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='pairs'
  ;   K[2]='FundPackTaskType'
  ;   K[3]='ipairs'
  ;   K[4]='GetTaskConfigByType'
  ;   K[5]='GetReward'
  ;   K[6]='PROPERTY_TYPE'
  ;   K[7]='PROPERTY_COUNT'
  ;   upvals: _ENV
  ;   locals: self(0-34), propertyType(0-34), count(1-34), arrReward(2-34), (for generator)(5-32), (for state)(5-32), (for control)(5-32), _(6-30), taskType(6-30), (for generator)(11-30), (for state)(11-30), (for control)(11-30), _(12-28), taskConfig(12-28), (for generator)(18-28), (for state)(18-28), (for control)(18-28), _(19-26), reward(19-26)
  0000  LOADK     R2 = K0 0
  0001  LOADNIL   R3..R3 = nil
  0002  GETTABUP  R4 = _ENV[K1('pairs')]
  0003  GETTABUP  R5 = _ENV[K2('FundPackTaskType')]
  0004  CALL      R4 = call(R4, 3 args, 1 rets)
  0005  JMP       (jump)   -> 30
  0006  GETTABUP  R9 = _ENV[K3('ipairs')]
  0007  SELF      R11 = R0[K4('GetTaskConfigByType')] (self)
  0008  MOVE      R12 = R0
  0009  CALL      R10 = call(R10, -1 args, 2 rets)
  0010  CALL      R9 = call(R9, 3 args, -1 rets)
  0011  JMP       (jump)   -> 28
  0012  SELF      R15 = R13[K5('GetReward')] (self)
  0013  CALL      R14 = call(R14, 1 args, 1 rets)
  0014  MOVE      R3 = R0
  0015  GETTABUP  R14 = _ENV[K3('ipairs')]
  0016  MOVE      R15 = R0
  0017  CALL      R14 = call(R14, 3 args, 1 rets)
  0018  JMP       (jump)   -> 26
  0019  GETTABUP  R19 = _ENV[K6('PROPERTY_TYPE')]
  0020  GETTABLE  R19 = R18[R19]
  0021  EQ        if R0 eq R1   -> -121320
  0022  JMP       (jump)   -> 26
  0023  GETTABUP  R19 = _ENV[K7('PROPERTY_COUNT')]
  0024  GETTABLE  R19 = R18[R19]
  0025  ADD       R2 = R19 add R2
  0026  TFORCALL  tforcall R14
  0027  TFORLOOP  tforloop R16(sBx=-9)   -> 19
  0028  TFORCALL  tforcall R9
  0029  TFORLOOP  tforloop R11(sBx=-18)   -> 12
  0030  TFORCALL  tforcall R4
  0031  TFORLOOP  tforloop R6(sBx=-26)   -> 6
  0032  RETURN    return R2..R1
  0033  RETURN    return R0..R-1
; ---------- proto60 [AddTaskEventListeners] ----------
  ; fn ?  line 594-601 np=1 va=0 ms=5 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_bAddTaskListener'
  ;   K[1]=true
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='CollectGold'
  ;   K[6]='_OnCollectGold'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_bAddTaskListener')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bAddTaskListener')] = K1(true)
  0005  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0006  GETTABLE  R1 = R1[K3('AddListener')]
  0007  GETTABUP  R2 = _ENV[K4('EEventType')]
  0008  GETTABLE  R2 = R2[K5('CollectGold')]
  0009  MOVE      R3 = R0
  0010  GETTABLE  R4 = R0[K6('_OnCollectGold')]
  0011  CALL      R1 = call(R1, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto61 [RemoveTaskEventListeners] ----------
  ; fn ?  line 603-607 np=1 va=0 ms=4 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='m_bAddTaskListener'
  ;   K[1]=false
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveListener'
  ;   K[4]='EEventType'
  ;   K[5]='CollectGold'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SETTABLE  R0[K0('m_bAddTaskListener')] = K1(false)
  0001  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0002  GETTABLE  R1 = R1[K3('RemoveListener')]
  0003  GETTABUP  R2 = _ENV[K4('EEventType')]
  0004  GETTABLE  R2 = R2[K5('CollectGold')]
  0005  MOVE      R3 = R0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto62 [_OnCollectGold] ----------
  ; fn ?  line 610-612 np=2 va=0 ms=6 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='AddTaskScore'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='GoldAcquire'
  ;   upvals: _ENV
  ;   locals: self(0-6), goldCount(0-6)
  0000  SELF      R3 = R0[K0('AddTaskScore')] (self)
  0001  GETTABUP  R4 = _ENV[K1('FundPackTaskType')]
  0002  GETTABLE  R4 = R4[K2('GoldAcquire')]
  0003  MOVE      R5 = R0
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto63 [IsTaskClaimedReward] ----------
  ; fn ?  line 620-622 np=2 va=0 ms=6 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetTaskClaimedReward'
  ;   K[1]='GetId'
  ;   locals: self(0-6), taskConfig(0-6)
  0000  SELF      R3 = R0[K0('GetTaskClaimedReward')] (self)
  0001  SELF      R5 = R1[K1('GetId')] (self)
  0002  CALL      R4 = call(R4, -1 args, 1 rets)
  0003  TAILCALL  tailcall(R2, 0)
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto64 [IsAllTaskClaimedReward] ----------
  ; fn ?  line 625-634 np=1 va=0 ms=14 code=24 consts=5 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='ipairs'
  ;   K[3]='GetTaskConfigByType'
  ;   K[4]='IsTaskClaimedReward'
  ;   upvals: _ENV
  ;   locals: self(0-24), (for generator)(3-21), (for state)(3-21), (for control)(3-21), _(4-19), taskType(4-19), (for generator)(9-19), (for state)(9-19), (for control)(9-19), _(10-17), taskConfig(10-17)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('FundPackTaskType')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 19
  0004  GETTABUP  R6 = _ENV[K2('ipairs')]
  0005  SELF      R8 = R0[K3('GetTaskConfigByType')] (self)
  0006  MOVE      R9 = R0
  0007  CALL      R7 = call(R7, -1 args, 2 rets)
  0008  CALL      R6 = call(R6, 3 args, -1 rets)
  0009  JMP       (jump)   -> 17
  0010  SELF      R12 = R0[K4('IsTaskClaimedReward')] (self)
  0011  MOVE      R13 = R0
  0012  CALL      R11 = call(R11, 1 args, 2 rets)
  0013  TEST      if not R11 then   -> -131056
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R11 = false
  0016  RETURN    return R11..R10
  0017  TFORCALL  tforcall R6
  0018  TFORLOOP  tforloop R8(sBx=-9)   -> 10
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-17)   -> 4
  0021  LOADBOOL  R1 = true
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto65 [CanClaimAnyReward] ----------
  ; fn ?  line 637-646 np=1 va=0 ms=14 code=24 consts=5 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='ipairs'
  ;   K[3]='GetTaskConfigByType'
  ;   K[4]='CanClaimReward'
  ;   upvals: _ENV
  ;   locals: self(0-24), (for generator)(3-21), (for state)(3-21), (for control)(3-21), _(4-19), taskType(4-19), (for generator)(9-19), (for state)(9-19), (for control)(9-19), _(10-17), taskConfig(10-17)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('FundPackTaskType')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 19
  0004  GETTABUP  R6 = _ENV[K2('ipairs')]
  0005  SELF      R8 = R0[K3('GetTaskConfigByType')] (self)
  0006  MOVE      R9 = R0
  0007  CALL      R7 = call(R7, -1 args, 2 rets)
  0008  CALL      R6 = call(R6, 3 args, -1 rets)
  0009  JMP       (jump)   -> 17
  0010  SELF      R12 = R0[K4('CanClaimReward')] (self)
  0011  MOVE      R13 = R0
  0012  CALL      R11 = call(R11, 1 args, 2 rets)
  0013  TEST      if not R11 then   -> -131057
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R11 = true
  0016  RETURN    return R11..R10
  0017  TFORCALL  tforcall R6
  0018  TFORLOOP  tforloop R8(sBx=-9)   -> 10
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-17)   -> 4
  0021  LOADBOOL  R1 = false
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto66 [CanClaimReward] ----------
  ; fn ?  line 650-667 np=2 va=0 ms=5 code=23 consts=3 upvals=0 protos=0
  ;   K[0]='HasTicket'
  ;   K[1]='IsTaskCompleted'
  ;   K[2]='IsTaskClaimedReward'
  ;   locals: self(0-23), taskConfig(0-23)
  0000  SELF      R3 = R0[K0('HasTicket')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  SELF      R3 = R0[K1('IsTaskCompleted')] (self)
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 1 args, 2 rets)
  0009  TEST      if not R2 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R2 = false
  0012  RETURN    return R2..R1
  0013  SELF      R3 = R0[K2('IsTaskClaimedReward')] (self)
  0014  MOVE      R4 = R0
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  TEST      if not R2 then   -> -131054
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R2 = false
  0019  RETURN    return R2..R1
  0020  LOADBOOL  R2 = true
  0021  RETURN    return R2..R1
  0022  RETURN    return R0..R-1
; ---------- proto67 [TryClaimReward] ----------
  ; fn ?  line 671-682 np=2 va=0 ms=9 code=37 consts=14 upvals=1 protos=0
  ;   K[0]='CanClaimReward'
  ;   K[1]='GetReward'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='RewardScene'
  ;   K[4]='RewardApi'
  ;   K[5]='FilterRewards'
  ;   K[6]='AcquireRewardsLogic'
  ;   K[7]='EPropertySource'
  ;   K[8]='Buy'
  ;   K[9]='EBIType'
  ;   K[10]='FundPackClaimReward'
  ;   K[11]='_SetTaskClaimedReward'
  ;   K[12]='GetId'
  ;   K[13]='_DispatchRewardClaimedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-37), taskConfig(0-37), reward(7-34), rewardScene(10-34)
  0000  SELF      R3 = R0[K0('CanClaimReward')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 34
  0005  SELF      R3 = R1[K1('GetReward')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SELF      R4 = R0[K2('GetActivityDefinition')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABLE  R3 = R3[K3('RewardScene')]
  0010  GETTABUP  R4 = _ENV[K4('RewardApi')]
  0011  GETTABLE  R4 = R4[K5('FilterRewards')]
  0012  MOVE      R5 = R0
  0013  MOVE      R6 = R0
  0014  CALL      R4 = call(R4, 1 args, 2 rets)
  0015  MOVE      R2 = R0
  0016  GETTABUP  R4 = _ENV[K4('RewardApi')]
  0017  GETTABLE  R4 = R4[K6('AcquireRewardsLogic')]
  0018  MOVE      R5 = R0
  0019  GETTABUP  R6 = _ENV[K7('EPropertySource')]
  0020  GETTABLE  R6 = R6[K8('Buy')]
  0021  GETTABUP  R7 = _ENV[K9('EBIType')]
  0022  GETTABLE  R7 = R7[K10('FundPackClaimReward')]
  0023  MOVE      R8 = R0
  0024  CALL      R4 = call(R4, 0 args, 4 rets)
  0025  SELF      R5 = R0[K11('_SetTaskClaimedReward')] (self)
  0026  SELF      R7 = R1[K12('GetId')] (self)
  0027  CALL      R6 = call(R6, -1 args, 1 rets)
  0028  CALL      R4 = call(R4, 0 args, -1 rets)
  0029  SELF      R5 = R0[K13('_DispatchRewardClaimedEvent')] (self)
  0030  CALL      R4 = call(R4, 0 args, 1 rets)
  0031  LOADBOOL  R4 = true
  0032  MOVE      R5 = R0
  0033  RETURN    return R4..R3
  0034  LOADBOOL  R2 = false
  0035  RETURN    return R2..R1
  0036  RETURN    return R0..R-1
; ---------- proto68 [CanClaimEndRewards] ----------
  ; fn ?  line 684-692 np=1 va=0 ms=14 code=22 consts=5 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='ipairs'
  ;   K[3]='GetTaskConfigByType'
  ;   K[4]='CanClaimReward'
  ;   upvals: _ENV
  ;   locals: self(0-22), (for generator)(3-21), (for state)(3-21), (for control)(3-21), _(4-19), taskType(4-19), (for generator)(9-19), (for state)(9-19), (for control)(9-19), _(10-17), taskConfig(10-17)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('FundPackTaskType')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 19
  0004  GETTABUP  R6 = _ENV[K2('ipairs')]
  0005  SELF      R8 = R0[K3('GetTaskConfigByType')] (self)
  0006  MOVE      R9 = R0
  0007  CALL      R7 = call(R7, -1 args, 2 rets)
  0008  CALL      R6 = call(R6, 3 args, -1 rets)
  0009  JMP       (jump)   -> 17
  0010  SELF      R12 = R0[K4('CanClaimReward')] (self)
  0011  MOVE      R13 = R0
  0012  CALL      R11 = call(R11, 1 args, 2 rets)
  0013  TEST      if not R11 then   -> -131057
  0014  JMP       (jump)   -> 17
  0015  LOADBOOL  R11 = true
  0016  RETURN    return R11..R10
  0017  TFORCALL  tforcall R6
  0018  TFORLOOP  tforloop R8(sBx=-9)   -> 10
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-17)   -> 4
  0021  RETURN    return R0..R-1
; ---------- proto69 [TryClaimEndRewards] ----------
  ; fn ?  line 694-705 np=1 va=0 ms=17 code=28 consts=7 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='ipairs'
  ;   K[3]='GetTaskConfigByType'
  ;   K[4]='TryClaimReward'
  ;   K[5]='RewardApi'
  ;   K[6]='MergeRewards'
  ;   upvals: _ENV
  ;   locals: self(0-28), arrRewards(1-28), (for generator)(4-26), (for state)(4-26), (for control)(4-26), _(5-24), taskType(5-24), (for generator)(10-24), (for state)(10-24), (for control)(10-24), _(11-22), taskConfig(11-22), bClaimed(14-22), rewards(14-22)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('FundPackTaskType')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 24
  0005  GETTABUP  R7 = _ENV[K2('ipairs')]
  0006  SELF      R9 = R0[K3('GetTaskConfigByType')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, -1 args, 2 rets)
  0009  CALL      R7 = call(R7, 3 args, -1 rets)
  0010  JMP       (jump)   -> 22
  0011  SELF      R13 = R0[K4('TryClaimReward')] (self)
  0012  MOVE      R14 = R0
  0013  CALL      R12 = call(R12, 2 args, 2 rets)
  0014  TEST      if not R12 then   -> -131056
  0015  JMP       (jump)   -> 22
  0016  GETTABUP  R14 = _ENV[K5('RewardApi')]
  0017  GETTABLE  R14 = R14[K6('MergeRewards')]
  0018  MOVE      R15 = R0
  0019  MOVE      R16 = R0
  0020  CALL      R14 = call(R14, 1 args, 2 rets)
  0021  MOVE      R1 = R0
  0022  TFORCALL  tforcall R7
  0023  TFORLOOP  tforloop R9(sBx=-13)   -> 11
  0024  TFORCALL  tforcall R2
  0025  TFORLOOP  tforloop R4(sBx=-21)   -> 5
  0026  RETURN    return R1..R0
  0027  RETURN    return R0..R-1
; ---------- proto70 [OnEntryClicked] ----------
  ; fn ?  line 712-716 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   K[1]='OpenMainWindow'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('IsActivityOpen')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('OpenMainWindow')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto71 [OpenMainWindow] ----------
  ; fn ?  line 719-721 np=2 va=0 ms=8 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='MainWindowPrefabName'
  ;   K[5]='GetType'
  ;   K[6]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-13), bAuto(0-13)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('OpenView')] (self)
  0003  SELF      R5 = R0[K3('GetActivityDefinition')] (self)
  0004  CALL      R4 = call(R4, 1 args, 1 rets)
  0005  GETTABLE  R4 = R4[K4('MainWindowPrefabName')]
  0006  SELF      R6 = R0[K5('GetType')] (self)
  0007  CALL      R5 = call(R5, 1 args, 1 rets)
  0008  SELF      R7 = R0[K6('GetId')] (self)
  0009  CALL      R6 = call(R6, 1 args, 1 rets)
  0010  MOVE      R7 = R0
  0011  CALL      R2 = call(R2, 0 args, 5 rets)
  0012  RETURN    return R0..R-1
; ---------- proto72 [OpenPurchaseWindow] ----------
  ; fn ?  line 724-726 np=1 va=0 ms=7 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='PurchaseWindowPrefabName'
  ;   K[5]='GetType'
  ;   K[6]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  SELF      R4 = R0[K3('GetActivityDefinition')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  GETTABLE  R3 = R3[K4('PurchaseWindowPrefabName')]
  0006  SELF      R5 = R0[K5('GetType')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  SELF      R6 = R0[K6('GetId')] (self)
  0009  CALL      R5 = call(R5, -1 args, 1 rets)
  0010  CALL      R1 = call(R1, 0 args, -1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto73 [OpenEndWindow] ----------
  ; fn ?  line 729-731 np=1 va=0 ms=7 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='EndWindowPrefabName'
  ;   K[5]='GetType'
  ;   K[6]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  SELF      R4 = R0[K3('GetActivityDefinition')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  GETTABLE  R3 = R3[K4('EndWindowPrefabName')]
  0006  SELF      R5 = R0[K5('GetType')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  SELF      R6 = R0[K6('GetId')] (self)
  0009  CALL      R5 = call(R5, -1 args, 1 rets)
  0010  CALL      R1 = call(R1, 0 args, -1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto74 [OpenRewardRecoverWindow] ----------
  ; fn ?  line 734-736 np=1 va=0 ms=7 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='RewardRecoverWindowPrefabName'
  ;   K[5]='GetType'
  ;   K[6]='GetId'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  SELF      R4 = R0[K3('GetActivityDefinition')] (self)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  GETTABLE  R3 = R3[K4('RewardRecoverWindowPrefabName')]
  0006  SELF      R5 = R0[K5('GetType')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  SELF      R6 = R0[K6('GetId')] (self)
  0009  CALL      R5 = call(R5, -1 args, 1 rets)
  0010  CALL      R1 = call(R1, 0 args, -1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto75 [CanPopupMainWindowDaily] ----------
  ; fn ?  line 739-741 np=1 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='IsAllTaskCompleted'
  ;   K[1]='IsAllTaskClaimedReward'
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('IsAllTaskCompleted')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K1('IsAllTaskClaimedReward')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  NOT       R1 = not R0
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto76 [CanPopupMainWindow] ----------
  ; fn ?  line 744-768 np=1 va=0 ms=7 code=45 consts=15 upvals=1 protos=0
  ;   K[0]='IsMainWindowPoped'
  ;   K[1]='GetLastTaskCount'
  ;   K[2]='GetFinishedNotClaimedTaskCount'
  ;   K[3]='_GetNextPopCount'
  ;   K[4]=nil
  ;   K[5]='CanPopupMainWindowDaily'
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='GetServerTime'
  ;   K[9]='PlayerPrefs'
  ;   K[10]='GetInt'
  ;   K[11]='EPlayerPrefKey'
  ;   K[12]='FundPackActivityDailyOpenTime'
  ;   K[13]=0
  ;   K[14]='Sec2Day'
  ;   upvals: _ENV
  ;   locals: self(0-45), lastCount(10-45), currentCount(10-45), nextPopCount(14-20), serverTime(28-42), openTime(34-42)
  0000  SELF      R2 = R0[K0('IsMainWindowPoped')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = true
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('GetLastTaskCount')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R0[K2('GetFinishedNotClaimedTaskCount')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  LT        if R0 lt R2   -> -130546
  0011  JMP       (jump)   -> 20
  0012  SELF      R4 = R0[K3('_GetNextPopCount')] (self)
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  EQ        if R1 eq K4(nil)   -> -129260
  0015  JMP       (jump)   -> 20
  0016  LE        if R0 le R2   -> -129516
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R4 = true
  0019  RETURN    return R4..R3
  0020  SELF      R4 = R0[K5('CanPopupMainWindowDaily')] (self)
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  TEST      if not R3 then   -> -131048
  0023  JMP       (jump)   -> 42
  0024  GETTABUP  R3 = _ENV[K6('GM')]
  0025  GETTABLE  R3 = R3[K7('GameModel')]
  0026  SELF      R4 = R3[K8('GetServerTime')] (self)
  0027  CALL      R3 = call(R3, 1 args, 1 rets)
  0028  GETTABUP  R4 = _ENV[K9('PlayerPrefs')]
  0029  GETTABLE  R4 = R4[K10('GetInt')]
  0030  GETTABUP  R5 = _ENV[K11('EPlayerPrefKey')]
  0031  GETTABLE  R5 = R5[K12('FundPackActivityDailyOpenTime')]
  0032  LOADK     R6 = K13 0
  0033  CALL      R4 = call(R4, 1 args, 2 rets)
  0034  GETTABUP  R5 = _ENV[K14('Sec2Day')]
  0035  IDIV      R5 = R5 idiv R3
  0036  GETTABUP  R6 = _ENV[K14('Sec2Day')]
  0037  IDIV      R6 = R6 idiv R4
  0038  LT        if R0 lt R5   -> -127955
  0039  JMP       (jump)   -> 42
  0040  LOADBOOL  R5 = true
  0041  RETURN    return R5..R4
  0042  LOADBOOL  R3 = false
  0043  RETURN    return R3..R2
  0044  RETURN    return R0..R-1
; ---------- proto77 [OnCheckPopup] ----------
  ; fn ?  line 772-790 np=2 va=0 ms=5 code=46 consts=12 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='CanPopupMainWindow'
  ;   K[4]='OpenMainWindow'
  ;   K[5]='Ended'
  ;   K[6]='IsMainWindowPoped'
  ;   K[7]='IsEndWindowPoped'
  ;   K[8]='HasTicket'
  ;   K[9]='CanClaimEndRewards'
  ;   K[10]='OpenRewardRecoverWindow'
  ;   K[11]='OpenEndWindow'
  ;   upvals: _ENV
  ;   locals: self(0-46), ePopupScene(0-46)
  0000  SELF      R3 = R0[K0('GetState')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R3 = R3[K2('Started')]
  0004  EQ        if R0 eq R3   -> -130039
  0005  JMP       (jump)   -> 16
  0006  SELF      R3 = R0[K3('CanPopupMainWindow')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 45
  0010  SELF      R3 = R0[K4('OpenMainWindow')] (self)
  0011  LOADBOOL  R4 = true
  0012  CALL      R2 = call(R2, 0 args, 2 rets)
  0013  LOADBOOL  R2 = true
  0014  RETURN    return R2..R1
  0015  JMP       (jump)   -> 45
  0016  SELF      R3 = R0[K0('GetState')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0019  GETTABLE  R3 = R3[K5('Ended')]
  0020  EQ        if R0 eq R3   -> -130023
  0021  JMP       (jump)   -> 45
  0022  SELF      R3 = R0[K6('IsMainWindowPoped')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  TEST      if not R2 then   -> -131046
  0025  JMP       (jump)   -> 45
  0026  SELF      R3 = R0[K7('IsEndWindowPoped')] (self)
  0027  CALL      R2 = call(R2, 1 args, 1 rets)
  0028  TEST      if not R2 then   -> -131041
  0029  JMP       (jump)   -> 45
  0030  SELF      R3 = R0[K8('HasTicket')] (self)
  0031  CALL      R2 = call(R2, 1 args, 1 rets)
  0032  TEST      if not R2 then   -> -131038
  0033  JMP       (jump)   -> 45
  0034  SELF      R3 = R0[K9('CanClaimEndRewards')] (self)
  0035  CALL      R2 = call(R2, 1 args, 1 rets)
  0036  TEST      if not R2 then   -> -131034
  0037  JMP       (jump)   -> 41
  0038  SELF      R3 = R0[K10('OpenRewardRecoverWindow')] (self)
  0039  CALL      R2 = call(R2, 0 args, 1 rets)
  0040  JMP       (jump)   -> 43
  0041  SELF      R3 = R0[K11('OpenEndWindow')] (self)
  0042  CALL      R2 = call(R2, 0 args, 1 rets)
  0043  LOADBOOL  R2 = true
  0044  RETURN    return R2..R1
  0045  RETURN    return R0..R-1
; ---------- proto78 [OnMainWindowPoped] ----------
  ; fn ?  line 793-802 np=1 va=0 ms=3 code=15 consts=6 upvals=0 protos=0
  ;   K[0]='SetMainWindowPoped'
  ;   K[1]='UpdateLastTaskCount'
  ;   K[2]='UpdateLastTaskProgress'
  ;   K[3]='CanPopupMainWindowDaily'
  ;   K[4]='RecordWindowDailyOpenTime'
  ;   K[5]='_DispatchAfterMainWindowOpenedEvent'
  ;   locals: self(0-15)
  0000  SELF      R2 = R0[K0('SetMainWindowPoped')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('UpdateLastTaskCount')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('UpdateLastTaskProgress')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('CanPopupMainWindowDaily')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  SELF      R2 = R0[K4('RecordWindowDailyOpenTime')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  SELF      R2 = R0[K5('_DispatchAfterMainWindowOpenedEvent')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto79 [_DispatchStateChangedEvent] ----------
  ; fn ?  line 808-810 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
; ---------- proto80 [_DispatchRefreshEntryEvent] ----------
  ; fn ?  line 812-814 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
; ---------- proto81 [_DispatchBuyTicketSuccessEvent] ----------
  ; fn ?  line 816-818 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]='BuyTicketSuccessEvent'
  ;   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('BuyTicketSuccessEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto82 [_DispatchTaskCompletedEvent] ----------
  ; fn ?  line 820-822 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]='TaskCompletedEvent'
  ;   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('TaskCompletedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto83 [_DispatchAfterMainWindowOpenedEvent] ----------
  ; fn ?  line 824-826 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]='AfterMainWindowOpenedEvent'
  ;   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('AfterMainWindowOpenedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto84 [_DispatchRewardClaimedEvent] ----------
  ; fn ?  line 828-830 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]='RewardClaimedEvent'
  ;   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('RewardClaimedEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto85 [_IsEntryVisible] ----------
  ; fn ?  line 836-841 np=1 va=0 ms=3 code=9 consts=1 upvals=0 protos=0
  ;   K[0]='IsActivityOpen'
  ;   locals: self(0-9)
  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  LOADBOOL  R1 = true
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto86 [GetMapEntryShowConfig] ----------
  ; fn ?  line 844-854 np=1 va=0 ms=4 code=20 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='GetActivityDefinition'
  ;   K[2]='RefreshEntryEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='Bundle'
  ;   K[6]='entryPrefabName'
  ;   K[7]='EntryPrefabName'
  ;   K[8]='hudKey'
  ;   K[9]='EntryButtonKey'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[K2('RefreshEntryEvent')]
  0004  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0005  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0006  GETTABLE  R2 = R2[K5('Bundle')]
  0007  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0008  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[K7('EntryPrefabName')]
  0011  SETTABLE  R1[K6('entryPrefabName')] = R2
  0012  SELF      R3 = R0[K1('GetActivityDefinition')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  GETTABLE  R2 = R2[K9('EntryButtonKey')]
  0015  SETTABLE  R1[K8('hudKey')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K10('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 850-852 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
; ---------- proto87 [ShouldShowRedPoint] ----------
  ; fn ?  line 857-865 np=1 va=0 ms=4 code=18 consts=4 upvals=0 protos=0
  ;   K[0]='HasTicket'
  ;   K[1]='CanClaimAnyReward'
  ;   K[2]='GetFinishedNotClaimedTaskCount'
  ;   K[3]='GetLastTaskCount'
  ;   locals: self(0-18)
  0000  SELF      R2 = R0[K0('HasTicket')] (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('CanClaimAnyReward')] (self)
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  JMP       (jump)   -> 17
  0008  SELF      R2 = R0[K2('GetFinishedNotClaimedTaskCount')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  SELF      R3 = R0[K3('GetLastTaskCount')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  LT        if R1 lt R1   -> -130033
  0013  JMP       (jump)   -> 15
  0014  LOADBOOL  R1 = false
  0015  LOADBOOL  R1 = true
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
; ---------- proto88 [_LogActivityRankUp] ----------
  ; fn ?  line 869-871 np=2 va=0 ms=6 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='LogActivity'
  ;   K[1]='EBIType'
  ;   K[2]='ActivityRankUp'
  ;   upvals: _ENV
  ;   locals: self(0-6), action(0-6)
  0000  SELF      R3 = R0[K0('LogActivity')] (self)
  0001  GETTABUP  R4 = _ENV[K1('EBIType')]
  0002  GETTABLE  R4 = R4[K2('ActivityRankUp')]
  0003  MOVE      R5 = R0
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto89 [_LogClickPurchaseButton] ----------
  ; fn ?  line 873-883 np=1 va=0 ms=17 code=40 consts=16 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='FundPackTaskType'
  ;   K[2]='ipairs'
  ;   K[3]='GetTaskConfigByType'
  ;   K[4]='IsTaskCompleted'
  ;   K[5]='table'
  ;   K[6]='insert'
  ;   K[7]='tostring'
  ;   K[8]='GetId'
  ;   K[9]='GM'
  ;   K[10]='BIManager'
  ;   K[11]='LogAction'
  ;   K[12]='EBIType'
  ;   K[13]='FundPackClickPurchaseButton'
  ;   K[14]='concat'
  ;   K[15]=','
  ;   upvals: _ENV
  ;   locals: self(0-40), strAction(1-40), (for generator)(4-28), (for state)(4-28), (for control)(4-28), _(5-26), taskType(5-26), (for generator)(10-26), (for state)(10-26), (for control)(10-26), _(11-24), taskConfig(11-24)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('FundPackTaskType')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 26
  0005  GETTABUP  R7 = _ENV[K2('ipairs')]
  0006  SELF      R9 = R0[K3('GetTaskConfigByType')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, -1 args, 2 rets)
  0009  CALL      R7 = call(R7, 3 args, -1 rets)
  0010  JMP       (jump)   -> 24
  0011  SELF      R13 = R0[K4('IsTaskCompleted')] (self)
  0012  MOVE      R14 = R0
  0013  CALL      R12 = call(R12, 1 args, 2 rets)
  0014  TEST      if not R12 then   -> -131056
  0015  JMP       (jump)   -> 24
  0016  GETTABUP  R12 = _ENV[K5('table')]
  0017  GETTABLE  R12 = R12[K6('insert')]
  0018  MOVE      R13 = R0
  0019  GETTABUP  R14 = _ENV[K7('tostring')]
  0020  SELF      R16 = R11[K8('GetId')] (self)
  0021  CALL      R15 = call(R15, -1 args, 1 rets)
  0022  CALL      R14 = call(R14, -1 args, -1 rets)
  0023  CALL      R12 = call(R12, 0 args, -1 rets)
  0024  TFORCALL  tforcall R7
  0025  TFORLOOP  tforloop R9(sBx=-15)   -> 11
  0026  TFORCALL  tforcall R2
  0027  TFORLOOP  tforloop R4(sBx=-23)   -> 5
  0028  GETTABUP  R2 = _ENV[K9('GM')]
  0029  GETTABLE  R2 = R2[K10('BIManager')]
  0030  SELF      R3 = R2[K11('LogAction')] (self)
  0031  GETTABUP  R4 = _ENV[K12('EBIType')]
  0032  GETTABLE  R4 = R4[K13('FundPackClickPurchaseButton')]
  0033  GETTABUP  R5 = _ENV[K5('table')]
  0034  GETTABLE  R5 = R5[K14('concat')]
  0035  MOVE      R6 = R0
  0036  LOADK     R7 = K15 ','
  0037  CALL      R5 = call(R5, -1 args, 2 rets)
  0038  CALL      R2 = call(R2, 0 args, -1 rets)
  0039  RETURN    return R0..R-1
; ---------- proto90 [LogClickClaimButton] ----------
  ; fn ?  line 886-891 np=2 va=0 ms=9 code=33 consts=14 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='id:'
  ;   K[3]='tostring'
  ;   K[4]='GetId'
  ;   K[5]='pay:'
  ;   K[6]='HasTicket'
  ;   K[7]='GM'
  ;   K[8]='BIManager'
  ;   K[9]='LogAction'
  ;   K[10]='EBIType'
  ;   K[11]='FundPackClickClaimButton'
  ;   K[12]='concat'
  ;   K[13]=';'
  ;   upvals: _ENV
  ;   locals: self(0-33), taskConfig(0-33), strAction(1-33)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('table')]
  0002  GETTABLE  R3 = R3[K1('insert')]
  0003  MOVE      R4 = R0
  0004  LOADK     R5 = K2 'id:'
  0005  GETTABUP  R6 = _ENV[K3('tostring')]
  0006  SELF      R8 = R1[K4('GetId')] (self)
  0007  CALL      R7 = call(R7, -1 args, 1 rets)
  0008  CALL      R6 = call(R6, 1 args, -1 rets)
  0009  CONCAT    R5 = concat(R5..R5)
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  GETTABUP  R3 = _ENV[K0('table')]
  0012  GETTABLE  R3 = R3[K1('insert')]
  0013  MOVE      R4 = R0
  0014  LOADK     R5 = K5 'pay:'
  0015  GETTABUP  R6 = _ENV[K3('tostring')]
  0016  SELF      R8 = R0[K6('HasTicket')] (self)
  0017  CALL      R7 = call(R7, -1 args, 1 rets)
  0018  CALL      R6 = call(R6, 1 args, -1 rets)
  0019  CONCAT    R5 = concat(R5..R5)
  0020  CALL      R3 = call(R3, 0 args, 2 rets)
  0021  GETTABUP  R3 = _ENV[K7('GM')]
  0022  GETTABLE  R3 = R3[K8('BIManager')]
  0023  SELF      R4 = R3[K9('LogAction')] (self)
  0024  GETTABUP  R5 = _ENV[K10('EBIType')]
  0025  GETTABLE  R5 = R5[K11('FundPackClickClaimButton')]
  0026  GETTABUP  R6 = _ENV[K0('table')]
  0027  GETTABLE  R6 = R6[K12('concat')]
  0028  MOVE      R7 = R0
  0029  LOADK     R8 = K13 ';'
  0030  CALL      R6 = call(R6, -1 args, 2 rets)
  0031  CALL      R3 = call(R3, 0 args, -1 rets)
  0032  RETURN    return R0..R-1
; ---------- proto91 [_LogActionTaskCompleted] ----------
  ; fn ?  line 894-901 np=2 va=0 ms=10 code=58 consts=21 upvals=1 protos=0
  ;   K[0]='table'
  ;   K[1]='insert'
  ;   K[2]='id:'
  ;   K[3]='tostring'
  ;   K[4]='GetId'
  ;   K[5]='cost:'
  ;   K[6]='GetTargetScore'
  ;   K[7]='reward:'
  ;   K[8]='concat'
  ;   K[9]='ConfigUtil'
  ;   K[10]='GetArrFromCurrency'
  ;   K[11]='GetReward'
  ;   K[12]=','
  ;   K[13]='pay:'
  ;   K[14]='HasTicket'
  ;   K[15]='GM'
  ;   K[16]='BIManager'
  ;   K[17]='LogAction'
  ;   K[18]='EBIType'
  ;   K[19]='FundPackFinishTask'
  ;   K[20]=';'
  ;   upvals: _ENV
  ;   locals: self(0-58), taskConfig(0-58), strAction(1-58)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('table')]
  0002  GETTABLE  R3 = R3[K1('insert')]
  0003  MOVE      R4 = R0
  0004  LOADK     R5 = K2 'id:'
  0005  GETTABUP  R6 = _ENV[K3('tostring')]
  0006  SELF      R8 = R1[K4('GetId')] (self)
  0007  CALL      R7 = call(R7, -1 args, 1 rets)
  0008  CALL      R6 = call(R6, 1 args, -1 rets)
  0009  CONCAT    R5 = concat(R5..R5)
  0010  CALL      R3 = call(R3, 0 args, 2 rets)
  0011  GETTABUP  R3 = _ENV[K0('table')]
  0012  GETTABLE  R3 = R3[K1('insert')]
  0013  MOVE      R4 = R0
  0014  LOADK     R5 = K5 'cost:'
  0015  GETTABUP  R6 = _ENV[K3('tostring')]
  0016  SELF      R8 = R1[K6('GetTargetScore')] (self)
  0017  CALL      R7 = call(R7, -1 args, 1 rets)
  0018  CALL      R6 = call(R6, 1 args, -1 rets)
  0019  CONCAT    R5 = concat(R5..R5)
  0020  CALL      R3 = call(R3, 0 args, 2 rets)
  0021  GETTABUP  R3 = _ENV[K0('table')]
  0022  GETTABLE  R3 = R3[K1('insert')]
  0023  MOVE      R4 = R0
  0024  LOADK     R5 = K7 'reward:'
  0025  GETTABUP  R6 = _ENV[K0('table')]
  0026  GETTABLE  R6 = R6[K8('concat')]
  0027  GETTABUP  R7 = _ENV[K9('ConfigUtil')]
  0028  GETTABLE  R7 = R7[K10('GetArrFromCurrency')]
  0029  SELF      R9 = R1[K11('GetReward')] (self)
  0030  CALL      R8 = call(R8, -1 args, 1 rets)
  0031  CALL      R7 = call(R7, 1 args, -1 rets)
  0032  LOADK     R8 = K12 ','
  0033  CALL      R6 = call(R6, 1 args, 2 rets)
  0034  CONCAT    R5 = concat(R5..R5)
  0035  CALL      R3 = call(R3, 0 args, 2 rets)
  0036  GETTABUP  R3 = _ENV[K0('table')]
  0037  GETTABLE  R3 = R3[K1('insert')]
  0038  MOVE      R4 = R0
  0039  LOADK     R5 = K13 'pay:'
  0040  GETTABUP  R6 = _ENV[K3('tostring')]
  0041  SELF      R8 = R0[K14('HasTicket')] (self)
  0042  CALL      R7 = call(R7, -1 args, 1 rets)
  0043  CALL      R6 = call(R6, 1 args, -1 rets)
  0044  CONCAT    R5 = concat(R5..R5)
  0045  CALL      R3 = call(R3, 0 args, 2 rets)
  0046  GETTABUP  R3 = _ENV[K15('GM')]
  0047  GETTABLE  R3 = R3[K16('BIManager')]
  0048  SELF      R4 = R3[K17('LogAction')] (self)
  0049  GETTABUP  R5 = _ENV[K18('EBIType')]
  0050  GETTABLE  R5 = R5[K19('FundPackFinishTask')]
  0051  GETTABUP  R6 = _ENV[K0('table')]
  0052  GETTABLE  R6 = R6[K8('concat')]
  0053  MOVE      R7 = R0
  0054  LOADK     R8 = K20 ';'
  0055  CALL      R6 = call(R6, -1 args, 2 rets)
  0056  CALL      R3 = call(R3, 0 args, -1 rets)
  0057  RETURN    return R0..R-1
