# Model_Activity_ActivityQuest_ActivityQuestHelper_165.luac
; fn @ActivityQuestHelper.lua  line 0-0 np=0 va=1 ms=6 code=358 consts=141 upvals=1 protos=112
;   K[0]='ActivityQuestHelper'
;   K[1]='__index'
;   K[2]='LastScore'
;   K[3]='aqh_last_score_%s'
;   K[4]='CurrentScore'
;   K[5]='aqh_score_%s'
;   K[6]='RewardAcquired'
;   K[7]='aqh_acquired_%d_%d'
;   K[8]='PaidRewardAcquired'
;   K[9]='aqh_acquired_paid_%d_%d'
;   K[10]='StartScore'
;   K[11]='aqh_start_score_%d_%d'
;   K[12]='InheritProgress'
;   K[13]='aqh_inherit_%d_%d'
;   K[14]='QuestEntityCreated'
;   K[15]='aqh_created_%d_%d'
;   K[16]='ReplacedQuestType'
;   K[17]='aqh_replaced_qtype_%d_%d'
;   K[18]='ReplacedRatio'
;   K[19]='aqh_replaced_ratio_%d_%d'
;   K[20]='GroupCount'
;   K[21]='aqh_group_count_%d'
;   K[22]='GroupTargetScore'
;   K[23]='aqh_grp_target_%d_%s'
;   K[24]='QuestConfig'
;   K[25]='weeklyActiveQuestTask'
;   K[26]='Create'
;   K[27]='ActivityQuestHelper'
;   K[28]='_Init'
;   K[29]='_VerifyHelperParams'
;   K[30]='_AddEventListener'
;   K[31]='Destroy'
;   K[32]='DropData'
;   K[33]='GetModel'
;   K[34]='_GetLogPrefix'
;   K[35]='LoadConfig'
;   K[36]='_CheckConfig'
;   K[37]='_LoadConfigCycleStart'
;   K[38]='_LoadAllQuestType'
;   K[39]='GetAllQuestType'
;   K[40]='_LoadQuestEntity'
;   K[41]='IsQuestNeedInheritProgress'
;   K[42]='GetGroupConfigIndexWithCycle'
;   K[43]='GetGroupConfigIndexWithCycleByGroupCount'
;   K[44]='_GetCurrentQuestConfig'
;   K[45]='GetAllQuestConfig'
;   K[46]='_CheckQuestTypeParam'
;   K[47]='DB_VALUE_KEY'
;   K[48]=1
;   K[49]='_DBTableGetValue'
;   K[50]='_DBTableGetNumber'
;   K[51]='_DBTableSet'
;   K[52]='_DBTableRemove'
;   K[53]='_GetLastScoreKey'
;   K[54]='GetLastScore'
;   K[55]='SetLastScore'
;   K[56]='_GetCurrentScoreKey'
;   K[57]='GetCurrentScore'
;   K[58]='SetCurrentScore'
;   K[59]='_GetRewardAcquiredKey'
;   K[60]='IsRewardAcquired'
;   K[61]='SetRewardAcquired'
;   K[62]='_GetPaidRewardAcquiredKey'
;   K[63]='IsPaidRewardAcquired'
;   K[64]='SetPaidRewardAcquired'
;   K[65]='_GetStartScoreKey'
;   K[66]='GetStartScore'
;   K[67]='SetStartScore'
;   K[68]='_GetInheritProgressKey'
;   K[69]='IsInheritProgress'
;   K[70]='SetInheritProgress'
;   K[71]='_GetQuestCreatedKey'
;   K[72]='IsQuestCreated'
;   K[73]='SetQuestCreated'
;   K[74]='_GetGroupCountKey'
;   K[75]='GetGroupCount'
;   K[76]='SetGroupCount'
;   K[77]='_GetGroupTargetScoreKey'
;   K[78]='GetGroupTargetScore'
;   K[79]='SetGroupTargetScore'
;   K[80]='_GetReplacedQuestTypeKey'
;   K[81]='GetReplacedQuestType'
;   K[82]='SetReplacedQuestType'
;   K[83]='_GetReplacedRatioKey'
;   K[84]='GetReplacedRatio'
;   K[85]='SetReplacedRatio'
;   K[86]='UpdateLastDisplayedValues'
;   K[87]='_RemoveQuestData'
;   K[88]='GetAllTypeCurrentScore'
;   K[89]='IsQuestConditionSatisfied'
;   K[90]='_AddQuestConditionEventListener'
;   K[91]='_OnQuestConditionChanged'
;   K[92]='_CheckQuestCondition'
;   K[93]='_DispatchQuestConditionChangedEvent'
;   K[94]='_AddQuestAddScoreEventListener'
;   K[95]='_OnOrderFinished'
;   K[96]='_OnItemMerged'
;   K[97]='_OnAlbumOpenPack'
;   K[98]='_OnUIBoardGeneratedItem'
;   K[99]='_OnCollectGold'
;   K[100]='_OnAcquireAlbumCard'
;   K[101]='_OnPropertyAcquired'
;   K[102]='_OnPropertyConsumed'
;   K[103]='_OnSkipTimeSuccess'
;   K[104]='_OnIAPSuccess'
;   K[105]='_OnTakeOutDishItem'
;   K[106]='_OnFinishDay'
;   K[107]='_CreateQuestByGroup'
;   K[108]='_CreateQuest'
;   K[109]='_RemoveQuest'
;   K[110]='AddScore'
;   K[111]='GetCompletedQuest'
;   K[112]='_OnQuestCompleted'
;   K[113]='TryAcquireReward'
;   K[114]='CanAcquirePaidReward'
;   K[115]='TryAcquirePaidReward'
;   K[116]='_OnQuestRewardAcquired'
;   K[117]='TryAcquireAllReward'
;   K[118]='_OnRewardAcquired'
;   K[119]='_SortQuestByGroup'
;   K[120]='FilterQuests'
;   K[121]='GetAllValidQuests'
;   K[122]='GetAllValidOrCanAcquireQuests'
;   K[123]='GetAllValidOrCanAcquireOrAcquiredQuests'
;   K[124]='GetAllCanAcquireQuests'
;   K[125]='GetCanAcquireQuestCount'
;   K[126]='GetCanAcquireRewardCount'
;   K[127]='GetAllCompletedQuests'
;   K[128]='GetCompletedQuestCount'
;   K[129]='IsAllQuestAcquired'
;   K[130]='IsAllQuestCompleted'
;   K[131]='IsQuestLoaded'
;   K[132]='GetIconConfigForDisplay'
;   K[133]='GetDescTextForDisplay'
;   K[134]='GetHintTextForDisplay'
;   K[135]='_LogQuestUnlocked'
;   K[136]='_LogQuestAcquired'
;   K[137]='_LogQuestCompleted'
;   K[138]='_LogQuestAutoFinished'
;   K[139]='_LogQuestReplaced'
;   K[140]='TestCompleteAllQuest'
;   upvals: _ENV
;   locals: DBKey(17-358), ConfigKey(19-358), DB_VALUE_KEY(80-358), TRUE_VALUE(81-358)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ActivityQuestHelper')] = R0
0002  GETTABUP  R0 = _ENV[K0('ActivityQuestHelper')]
0003  GETTABUP  R1 = _ENV[K0('ActivityQuestHelper')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K2('LastScore')] = K3('aqh_last_score_%s')
0007  SETTABLE  R0[K4('CurrentScore')] = K5('aqh_score_%s')
0008  SETTABLE  R0[K6('RewardAcquired')] = K7('aqh_acquired_%d_%d')
0009  SETTABLE  R0[K8('PaidRewardAcquired')] = K9('aqh_acquired_paid_%d_%d')
0010  SETTABLE  R0[K10('StartScore')] = K11('aqh_start_score_%d_%d')
0011  SETTABLE  R0[K12('InheritProgress')] = K13('aqh_inherit_%d_%d')
0012  SETTABLE  R0[K14('QuestEntityCreated')] = K15('aqh_created_%d_%d')
0013  SETTABLE  R0[K16('ReplacedQuestType')] = K17('aqh_replaced_qtype_%d_%d')
0014  SETTABLE  R0[K18('ReplacedRatio')] = K19('aqh_replaced_ratio_%d_%d')
0015  SETTABLE  R0[K20('GroupCount')] = K21('aqh_group_count_%d')
0016  SETTABLE  R0[K22('GroupTargetScore')] = K23('aqh_grp_target_%d_%s')
0017  NEWTABLE  R1 = {} (0 items)
0018  SETTABLE  R1[K24('QuestConfig')] = K25('weeklyActiveQuestTask')
0019  GETTABUP  R2 = _ENV[K0('ActivityQuestHelper')]
0020  CLOSURE   R3 = closure proto0
0021  SETTABLE  R2[K26('Create')] = R3
0022  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0023  CLOSURE   R3 = closure proto1
0024  SETTABLE  R2[K28('_Init')] = R3
0025  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0026  CLOSURE   R3 = closure proto2
0027  SETTABLE  R2[K29('_VerifyHelperParams')] = R3
0028  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0029  CLOSURE   R3 = closure proto3
0030  SETTABLE  R2[K30('_AddEventListener')] = R3
0031  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0032  CLOSURE   R3 = closure proto4
0033  SETTABLE  R2[K31('Destroy')] = R3
0034  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0035  CLOSURE   R3 = closure proto5
0036  SETTABLE  R2[K32('DropData')] = R3
0037  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0038  CLOSURE   R3 = closure proto6
0039  SETTABLE  R2[K33('GetModel')] = R3
0040  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0041  CLOSURE   R3 = closure proto7
0042  SETTABLE  R2[K34('_GetLogPrefix')] = R3
0043  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0044  CLOSURE   R3 = closure proto8
0045  SETTABLE  R2[K35('LoadConfig')] = R3
0046  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0047  CLOSURE   R3 = closure proto9
0048  SETTABLE  R2[K36('_CheckConfig')] = R3
0049  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0050  CLOSURE   R3 = closure proto10
0051  SETTABLE  R2[K37('_LoadConfigCycleStart')] = R3
0052  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0053  CLOSURE   R3 = closure proto11
0054  SETTABLE  R2[K38('_LoadAllQuestType')] = R3
0055  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0056  CLOSURE   R3 = closure proto12
0057  SETTABLE  R2[K39('GetAllQuestType')] = R3
0058  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0059  CLOSURE   R3 = closure proto13
0060  SETTABLE  R2[K40('_LoadQuestEntity')] = R3
0061  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0062  CLOSURE   R3 = closure proto14
0063  SETTABLE  R2[K41('IsQuestNeedInheritProgress')] = R3
0064  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0065  CLOSURE   R3 = closure proto15
0066  SETTABLE  R2[K42('GetGroupConfigIndexWithCycle')] = R3
0067  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0068  CLOSURE   R3 = closure proto16
0069  SETTABLE  R2[K43('GetGroupConfigIndexWithCycleByGroupCount')] = R3
0070  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0071  CLOSURE   R3 = closure proto17
0072  SETTABLE  R2[K44('_GetCurrentQuestConfig')] = R3
0073  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0074  CLOSURE   R3 = closure proto18
0075  SETTABLE  R2[K45('GetAllQuestConfig')] = R3
0076  GETTABUP  R2 = _ENV[K27('ActivityQuestHelper')]
0077  CLOSURE   R3 = closure proto19
0078  SETTABLE  R2[K46('_CheckQuestTypeParam')] = R3
0079  GETTABUP  R2 = _ENV[K47('DB_VALUE_KEY')]
0080  LOADK     R3 = K48 1
0081  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0082  CLOSURE   R5 = closure proto20
0083  SETTABLE  R4[K49('_DBTableGetValue')] = R5
0084  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0085  CLOSURE   R5 = closure proto21
0086  SETTABLE  R4[K50('_DBTableGetNumber')] = R5
0087  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0088  CLOSURE   R5 = closure proto22
0089  SETTABLE  R4[K51('_DBTableSet')] = R5
0090  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0091  CLOSURE   R5 = closure proto23
0092  SETTABLE  R4[K52('_DBTableRemove')] = R5
0093  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0094  CLOSURE   R5 = closure proto24
0095  SETTABLE  R4[K53('_GetLastScoreKey')] = R5
0096  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0097  CLOSURE   R5 = closure proto25
0098  SETTABLE  R4[K54('GetLastScore')] = R5
0099  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0100  CLOSURE   R5 = closure proto26
0101  SETTABLE  R4[K55('SetLastScore')] = R5
0102  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0103  CLOSURE   R5 = closure proto27
0104  SETTABLE  R4[K56('_GetCurrentScoreKey')] = R5
0105  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0106  CLOSURE   R5 = closure proto28
0107  SETTABLE  R4[K57('GetCurrentScore')] = R5
0108  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0109  CLOSURE   R5 = closure proto29
0110  SETTABLE  R4[K58('SetCurrentScore')] = R5
0111  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0112  CLOSURE   R5 = closure proto30
0113  SETTABLE  R4[K59('_GetRewardAcquiredKey')] = R5
0114  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0115  CLOSURE   R5 = closure proto31
0116  SETTABLE  R4[K60('IsRewardAcquired')] = R5
0117  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0118  CLOSURE   R5 = closure proto32
0119  SETTABLE  R4[K61('SetRewardAcquired')] = R5
0120  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0121  CLOSURE   R5 = closure proto33
0122  SETTABLE  R4[K62('_GetPaidRewardAcquiredKey')] = R5
0123  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0124  CLOSURE   R5 = closure proto34
0125  SETTABLE  R4[K63('IsPaidRewardAcquired')] = R5
0126  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0127  CLOSURE   R5 = closure proto35
0128  SETTABLE  R4[K64('SetPaidRewardAcquired')] = R5
0129  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0130  CLOSURE   R5 = closure proto36
0131  SETTABLE  R4[K65('_GetStartScoreKey')] = R5
0132  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0133  CLOSURE   R5 = closure proto37
0134  SETTABLE  R4[K66('GetStartScore')] = R5
0135  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0136  CLOSURE   R5 = closure proto38
0137  SETTABLE  R4[K67('SetStartScore')] = R5
0138  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0139  CLOSURE   R5 = closure proto39
0140  SETTABLE  R4[K68('_GetInheritProgressKey')] = R5
0141  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0142  CLOSURE   R5 = closure proto40
0143  SETTABLE  R4[K69('IsInheritProgress')] = R5
0144  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0145  CLOSURE   R5 = closure proto41
0146  SETTABLE  R4[K70('SetInheritProgress')] = R5
0147  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0148  CLOSURE   R5 = closure proto42
0149  SETTABLE  R4[K71('_GetQuestCreatedKey')] = R5
0150  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0151  CLOSURE   R5 = closure proto43
0152  SETTABLE  R4[K72('IsQuestCreated')] = R5
0153  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0154  CLOSURE   R5 = closure proto44
0155  SETTABLE  R4[K73('SetQuestCreated')] = R5
0156  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0157  CLOSURE   R5 = closure proto45
0158  SETTABLE  R4[K74('_GetGroupCountKey')] = R5
0159  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0160  CLOSURE   R5 = closure proto46
0161  SETTABLE  R4[K75('GetGroupCount')] = R5
0162  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0163  CLOSURE   R5 = closure proto47
0164  SETTABLE  R4[K76('SetGroupCount')] = R5
0165  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0166  CLOSURE   R5 = closure proto48
0167  SETTABLE  R4[K77('_GetGroupTargetScoreKey')] = R5
0168  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0169  CLOSURE   R5 = closure proto49
0170  SETTABLE  R4[K78('GetGroupTargetScore')] = R5
0171  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0172  CLOSURE   R5 = closure proto50
0173  SETTABLE  R4[K79('SetGroupTargetScore')] = R5
0174  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0175  CLOSURE   R5 = closure proto51
0176  SETTABLE  R4[K80('_GetReplacedQuestTypeKey')] = R5
0177  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0178  CLOSURE   R5 = closure proto52
0179  SETTABLE  R4[K81('GetReplacedQuestType')] = R5
0180  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0181  CLOSURE   R5 = closure proto53
0182  SETTABLE  R4[K82('SetReplacedQuestType')] = R5
0183  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0184  CLOSURE   R5 = closure proto54
0185  SETTABLE  R4[K83('_GetReplacedRatioKey')] = R5
0186  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0187  CLOSURE   R5 = closure proto55
0188  SETTABLE  R4[K84('GetReplacedRatio')] = R5
0189  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0190  CLOSURE   R5 = closure proto56
0191  SETTABLE  R4[K85('SetReplacedRatio')] = R5
0192  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0193  CLOSURE   R5 = closure proto57
0194  SETTABLE  R4[K86('UpdateLastDisplayedValues')] = R5
0195  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0196  CLOSURE   R5 = closure proto58
0197  SETTABLE  R4[K87('_RemoveQuestData')] = R5
0198  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0199  CLOSURE   R5 = closure proto59
0200  SETTABLE  R4[K88('GetAllTypeCurrentScore')] = R5
0201  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0202  CLOSURE   R5 = closure proto60
0203  SETTABLE  R4[K89('IsQuestConditionSatisfied')] = R5
0204  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0205  CLOSURE   R5 = closure proto61
0206  SETTABLE  R4[K90('_AddQuestConditionEventListener')] = R5
0207  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0208  CLOSURE   R5 = closure proto62
0209  SETTABLE  R4[K91('_OnQuestConditionChanged')] = R5
0210  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0211  CLOSURE   R5 = closure proto63
0212  SETTABLE  R4[K92('_CheckQuestCondition')] = R5
0213  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0214  CLOSURE   R5 = closure proto64
0215  SETTABLE  R4[K93('_DispatchQuestConditionChangedEvent')] = R5
0216  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0217  CLOSURE   R5 = closure proto65
0218  SETTABLE  R4[K94('_AddQuestAddScoreEventListener')] = R5
0219  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0220  CLOSURE   R5 = closure proto66
0221  SETTABLE  R4[K95('_OnOrderFinished')] = R5
0222  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0223  CLOSURE   R5 = closure proto67
0224  SETTABLE  R4[K96('_OnItemMerged')] = R5
0225  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0226  CLOSURE   R5 = closure proto68
0227  SETTABLE  R4[K97('_OnAlbumOpenPack')] = R5
0228  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0229  CLOSURE   R5 = closure proto69
0230  SETTABLE  R4[K98('_OnUIBoardGeneratedItem')] = R5
0231  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0232  CLOSURE   R5 = closure proto70
0233  SETTABLE  R4[K99('_OnCollectGold')] = R5
0234  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0235  CLOSURE   R5 = closure proto71
0236  SETTABLE  R4[K100('_OnAcquireAlbumCard')] = R5
0237  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0238  CLOSURE   R5 = closure proto72
0239  SETTABLE  R4[K101('_OnPropertyAcquired')] = R5
0240  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0241  CLOSURE   R5 = closure proto73
0242  SETTABLE  R4[K102('_OnPropertyConsumed')] = R5
0243  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0244  CLOSURE   R5 = closure proto74
0245  SETTABLE  R4[K103('_OnSkipTimeSuccess')] = R5
0246  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0247  CLOSURE   R5 = closure proto75
0248  SETTABLE  R4[K104('_OnIAPSuccess')] = R5
0249  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0250  CLOSURE   R5 = closure proto76
0251  SETTABLE  R4[K105('_OnTakeOutDishItem')] = R5
0252  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0253  CLOSURE   R5 = closure proto77
0254  SETTABLE  R4[K106('_OnFinishDay')] = R5
0255  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0256  CLOSURE   R5 = closure proto78
0257  SETTABLE  R4[K107('_CreateQuestByGroup')] = R5
0258  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0259  CLOSURE   R5 = closure proto79
0260  SETTABLE  R4[K108('_CreateQuest')] = R5
0261  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0262  CLOSURE   R5 = closure proto80
0263  SETTABLE  R4[K109('_RemoveQuest')] = R5
0264  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0265  CLOSURE   R5 = closure proto81
0266  SETTABLE  R4[K110('AddScore')] = R5
0267  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0268  CLOSURE   R5 = closure proto82
0269  SETTABLE  R4[K111('GetCompletedQuest')] = R5
0270  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0271  CLOSURE   R5 = closure proto83
0272  SETTABLE  R4[K112('_OnQuestCompleted')] = R5
0273  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0274  CLOSURE   R5 = closure proto84
0275  SETTABLE  R4[K113('TryAcquireReward')] = R5
0276  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0277  CLOSURE   R5 = closure proto85
0278  SETTABLE  R4[K114('CanAcquirePaidReward')] = R5
0279  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0280  CLOSURE   R5 = closure proto86
0281  SETTABLE  R4[K115('TryAcquirePaidReward')] = R5
0282  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0283  CLOSURE   R5 = closure proto87
0284  SETTABLE  R4[K116('_OnQuestRewardAcquired')] = R5
0285  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0286  CLOSURE   R5 = closure proto88
0287  SETTABLE  R4[K117('TryAcquireAllReward')] = R5
0288  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0289  CLOSURE   R5 = closure proto89
0290  SETTABLE  R4[K118('_OnRewardAcquired')] = R5
0291  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0292  CLOSURE   R5 = closure proto90
0293  SETTABLE  R4[K119('_SortQuestByGroup')] = R5
0294  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0295  CLOSURE   R5 = closure proto91
0296  SETTABLE  R4[K120('FilterQuests')] = R5
0297  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0298  CLOSURE   R5 = closure proto92
0299  SETTABLE  R4[K121('GetAllValidQuests')] = R5
0300  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0301  CLOSURE   R5 = closure proto93
0302  SETTABLE  R4[K122('GetAllValidOrCanAcquireQuests')] = R5
0303  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0304  CLOSURE   R5 = closure proto94
0305  SETTABLE  R4[K123('GetAllValidOrCanAcquireOrAcquiredQuests')] = R5
0306  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0307  CLOSURE   R5 = closure proto95
0308  SETTABLE  R4[K124('GetAllCanAcquireQuests')] = R5
0309  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0310  CLOSURE   R5 = closure proto96
0311  SETTABLE  R4[K125('GetCanAcquireQuestCount')] = R5
0312  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0313  CLOSURE   R5 = closure proto97
0314  SETTABLE  R4[K126('GetCanAcquireRewardCount')] = R5
0315  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0316  CLOSURE   R5 = closure proto98
0317  SETTABLE  R4[K127('GetAllCompletedQuests')] = R5
0318  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0319  CLOSURE   R5 = closure proto99
0320  SETTABLE  R4[K128('GetCompletedQuestCount')] = R5
0321  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0322  CLOSURE   R5 = closure proto100
0323  SETTABLE  R4[K129('IsAllQuestAcquired')] = R5
0324  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0325  CLOSURE   R5 = closure proto101
0326  SETTABLE  R4[K130('IsAllQuestCompleted')] = R5
0327  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0328  CLOSURE   R5 = closure proto102
0329  SETTABLE  R4[K131('IsQuestLoaded')] = R5
0330  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0331  CLOSURE   R5 = closure proto103
0332  SETTABLE  R4[K132('GetIconConfigForDisplay')] = R5
0333  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0334  CLOSURE   R5 = closure proto104
0335  SETTABLE  R4[K133('GetDescTextForDisplay')] = R5
0336  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0337  CLOSURE   R5 = closure proto105
0338  SETTABLE  R4[K134('GetHintTextForDisplay')] = R5
0339  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0340  CLOSURE   R5 = closure proto106
0341  SETTABLE  R4[K135('_LogQuestUnlocked')] = R5
0342  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0343  CLOSURE   R5 = closure proto107
0344  SETTABLE  R4[K136('_LogQuestAcquired')] = R5
0345  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0346  CLOSURE   R5 = closure proto108
0347  SETTABLE  R4[K137('_LogQuestCompleted')] = R5
0348  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0349  CLOSURE   R5 = closure proto109
0350  SETTABLE  R4[K138('_LogQuestAutoFinished')] = R5
0351  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0352  CLOSURE   R5 = closure proto110
0353  SETTABLE  R4[K139('_LogQuestReplaced')] = R5
0354  GETTABUP  R4 = _ENV[K27('ActivityQuestHelper')]
0355  CLOSURE   R5 = closure proto111
0356  SETTABLE  R4[K140('TestCompleteAllQuest')] = R5
0357  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 73-78 np=3 va=0 ms=9 code=11 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='ActivityQuestHelper'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: model(0-11), virtualDBTable(0-11), params(0-11), instance(4-11)
  0000  GETTABUP  R3 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R4 = {} (0 items)
  0002  GETTABUP  R5 = _ENV[K1('ActivityQuestHelper')]
  0003  CALL      R3 = call(R3, 1 args, 2 rets)
  0004  SELF      R5 = R3[K2('_Init')] (self)
  0005  MOVE      R6 = R0
  0006  MOVE      R7 = R0
  0007  MOVE      R8 = R0
  0008  CALL      R4 = call(R4, 0 args, 4 rets)
  0009  RETURN    return R3..R2
  0010  RETURN    return R0..R-1
; ---------- proto1 [_Init] ----------
  ; fn ?  line 84-98 np=4 va=0 ms=6 code=27 consts=18 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_dbTable'
  ;   K[2]='m_eBIType'
  ;   K[3]='eBIType'
  ;   K[4]='m_ePaidBIType'
  ;   K[5]='ePaidBIType'
  ;   K[6]='m_eRewardScene'
  ;   K[7]='eRewardScene'
  ;   K[8]='m_eTaskUnlockBIType'
  ;   K[9]='eTaskUnlockBIType'
  ;   K[10]='m_eTaskFinishBIType'
  ;   K[11]='eTaskFinishBIType'
  ;   K[12]='m_eQuestValidHandleType'
  ;   K[13]='eQuestValidHandleType'
  ;   K[14]='EActivityQuestValidHandleType'
  ;   K[15]='None'
  ;   K[16]='_AddEventListener'
  ;   K[17]='_VerifyHelperParams'
  ;   upvals: _ENV
  ;   locals: self(0-27), model(0-27), virtualDBTable(0-27), params(0-27)
  0000  TEST      if not R3 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  NEWTABLE  R4 = {} (0 items)
  0003  MOVE      R3 = R0
  0004  SETTABLE  R0[K0('m_model')] = R1
  0005  SETTABLE  R0[K1('m_dbTable')] = R2
  0006  GETTABLE  R4 = R3[K3('eBIType')]
  0007  SETTABLE  R0[K2('m_eBIType')] = R4
  0008  GETTABLE  R4 = R3[K5('ePaidBIType')]
  0009  SETTABLE  R0[K4('m_ePaidBIType')] = R4
  0010  GETTABLE  R4 = R3[K7('eRewardScene')]
  0011  SETTABLE  R0[K6('m_eRewardScene')] = R4
  0012  GETTABLE  R4 = R3[K9('eTaskUnlockBIType')]
  0013  SETTABLE  R0[K8('m_eTaskUnlockBIType')] = R4
  0014  GETTABLE  R4 = R3[K11('eTaskFinishBIType')]
  0015  SETTABLE  R0[K10('m_eTaskFinishBIType')] = R4
  0016  GETTABLE  R4 = R3[K13('eQuestValidHandleType')]
  0017  TEST      if not R4 then   -> -131052
  0018  JMP       (jump)   -> 21
  0019  GETTABUP  R4 = _ENV[K14('EActivityQuestValidHandleType')]
  0020  GETTABLE  R4 = R4[K15('None')]
  0021  SETTABLE  R0[K12('m_eQuestValidHandleType')] = R4
  0022  SELF      R5 = R0[K16('_AddEventListener')] (self)
  0023  CALL      R4 = call(R4, 0 args, 1 rets)
  0024  SELF      R5 = R0[K17('_VerifyHelperParams')] (self)
  0025  CALL      R4 = call(R4, 0 args, 1 rets)
  0026  RETURN    return R0..R-1
; ---------- proto2 [_VerifyHelperParams] ----------
  ; fn ?  line 101-112 np=1 va=0 ms=3 code=21 consts=9 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='m_eBIType'
  ;   K[3]=nil
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='[活动任务] 缺少<color=#FFA000>eBIType</color>。请检查ActivityQuestHelper.Create。'
  ;   K[7]='m_eRewardScene'
  ;   K[8]='[活动任务] 缺少<color=#FFA000>eRewardScene</color>。请检查ActivityQuestHelper.Create。'
  ;   upvals: _ENV
  ;   locals: self(0-21)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R1 = R0[K2('m_eBIType')]
  0007  EQ        if R0 eq K3(nil)   -> -130292
  0008  JMP       (jump)   -> 13
  0009  GETTABUP  R1 = _ENV[K4('Log')]
  0010  GETTABLE  R1 = R1[K5('Error')]
  0011  LOADK     R2 = K6 '[活动任务] 缺少<color=#FFA000>eBIType</color>。请检查ActivityQuestHelper.Create。'
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  GETTABLE  R1 = R0[K7('m_eRewardScene')]
  0014  EQ        if R0 eq K3(nil)   -> -130285
  0015  JMP       (jump)   -> 20
  0016  GETTABUP  R1 = _ENV[K4('Log')]
  0017  GETTABLE  R1 = R1[K5('Error')]
  0018  LOADK     R2 = K8 '[活动任务] 缺少<color=#FFA000>eRewardScene</color>。请检查ActivityQuestHelper.Create。'
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  RETURN    return R0..R-1
; ---------- proto3 [_AddEventListener] ----------
  ; fn ?  line 115-118 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='_AddQuestAddScoreEventListener'
  ;   K[1]='_AddQuestConditionEventListener'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_AddQuestAddScoreEventListener')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_AddQuestConditionEventListener')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto4 [Destroy] ----------
  ; fn ?  line 121-123 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto5 [DropData] ----------
  ; fn ?  line 126-133 np=1 va=0 ms=3 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='HasConfig'
  ;   K[2]='_LoadQuestEntity'
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('HasConfig')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K2('_LoadQuestEntity')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto6 [GetModel] ----------
  ; fn ?  line 135-137 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto7 [_GetLogPrefix] ----------
  ; fn ?  line 139-142 np=2 va=0 ms=9 code=18 consts=7 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='[活动任务] 活动type=<color=#FFA000>'
  ;   K[2]='tostring'
  ;   K[3]='GetType'
  ;   K[4]='</color>，id='
  ;   K[5]='GetId'
  ;   K[6]='，'
  ;   upvals: _ENV
  ;   locals: self(0-18), id(0-18), model(2-18)
  0000  SELF      R3 = R0[K0('GetModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  LOADK     R3 = K1 '[活动任务] 活动type=<color=#FFA000>'
  0003  GETTABUP  R4 = _ENV[K2('tostring')]
  0004  SELF      R6 = R2[K3('GetType')] (self)
  0005  CALL      R5 = call(R5, -1 args, 1 rets)
  0006  CALL      R4 = call(R4, 1 args, -1 rets)
  0007  LOADK     R5 = K4 '</color>，id='
  0008  GETTABUP  R6 = _ENV[K2('tostring')]
  0009  TESTSET   if R1 then R7   -> -130548
  0010  JMP       (jump)   -> 13
  0011  SELF      R8 = R2[K5('GetId')] (self)
  0012  CALL      R7 = call(R7, 1 args, 1 rets)
  0013  CALL      R6 = call(R6, 1 args, 1 rets)
  0014  LOADK     R7 = K6 '，'
  0015  CONCAT    R3 = concat(R3..R3)
  0016  RETURN    return R3..R2
  0017  RETURN    return R0..R-1
; ---------- proto8 [LoadConfig] ----------
  ; fn ?  line 148-192 np=3 va=0 ms=16 code=97 consts=27 upvals=1 protos=1
  ;   K[0]='m_mapQuestType2ReplaceConfig'
  ;   K[1]='Table'
  ;   K[2]='IsEmpty'
  ;   K[3]='ipairs'
  ;   K[4]='task_type'
  ;   K[5]=nil
  ;   K[6]='Log'
  ;   K[7]='Error'
  ;   K[8]='任务替换配置有重复的任务类型，请检查!'
  ;   K[9]='Empty'
  ;   K[10]='m_mapQuestConfig'
  ;   K[11]='ActivityQuestConfig'
  ;   K[12]='Create'
  ;   K[13]='GetGroup'
  ;   K[14]='GameConfig'
  ;   K[15]='IsTestMode'
  ;   K[16]='_GetLogPrefix'
  ;   K[17]='任务表里面，group为空，请检查！'
  ;   K[18]=0
  ;   K[19]='table'
  ;   K[20]='insert'
  ;   K[21]='pairs'
  ;   K[22]='sort'
  ;   K[23]='_LoadConfigCycleStart'
  ;   K[24]='_LoadAllQuestType'
  ;   K[25]='_LoadQuestEntity'
  ;   K[26]='_CheckConfig'
  ;   upvals: _ENV
  ;   locals: self(0-97), arrQuestConfig(0-97), arrTaskReplaceConfig(0-97), (for generator)(11-27), (for state)(11-27), (for control)(11-27), _(12-25), config(12-25), arrQuestConfigRaw(31-97), questConfig(34-97), group(34-97), index(34-97), (for generator)(37-76), (for state)(37-76), (for control)(37-76), _(38-74), questConfigRaw(38-74), SortByIndex(77-97), (for generator)(80-88), (for state)(80-88), (for control)(80-88), _(81-86), arrQuestConfig(81-86)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapQuestType2ReplaceConfig')] = R3
  0002  GETTABUP  R3 = _ENV[K1('Table')]
  0003  GETTABLE  R3 = R3[K2('IsEmpty')]
  0004  MOVE      R4 = R0
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 27
  0008  GETTABUP  R3 = _ENV[K3('ipairs')]
  0009  MOVE      R4 = R0
  0010  CALL      R3 = call(R3, 3 args, 1 rets)
  0011  JMP       (jump)   -> 25
  0012  GETTABLE  R8 = R0[K0('m_mapQuestType2ReplaceConfig')]
  0013  GETTABLE  R9 = R7[K4('task_type')]
  0014  GETTABLE  R8 = R8[R9]
  0015  EQ        if R0 eq K5(nil)   -> -126698
  0016  JMP       (jump)   -> 21
  0017  GETTABLE  R8 = R0[K0('m_mapQuestType2ReplaceConfig')]
  0018  GETTABLE  R9 = R7[K4('task_type')]
  0019  SETTABLE  R8[R9] = R7
  0020  JMP       (jump)   -> 25
  0021  GETTABUP  R8 = _ENV[K6('Log')]
  0022  GETTABLE  R8 = R8[K7('Error')]
  0023  LOADK     R9 = K8 '任务替换配置有重复的任务类型，请检查!'
  0024  CALL      R8 = call(R8, 0 args, 1 rets)
  0025  TFORCALL  tforcall R3
  0026  TFORLOOP  tforloop R5(sBx=-15)   -> 12
  0027  TESTSET   if R1 then R3   -> -130530
  0028  JMP       (jump)   -> 31
  0029  GETTABUP  R3 = _ENV[K1('Table')]
  0030  GETTABLE  R3 = R3[K9('Empty')]
  0031  NEWTABLE  R4 = {} (0 items)
  0032  SETTABLE  R0[K10('m_mapQuestConfig')] = R4
  0033  LOADNIL   R4..R4 = nil
  0034  GETTABUP  R7 = _ENV[K3('ipairs')]
  0035  MOVE      R8 = R0
  0036  CALL      R7 = call(R7, 3 args, 1 rets)
  0037  JMP       (jump)   -> 74
  0038  GETTABUP  R12 = _ENV[K11('ActivityQuestConfig')]
  0039  GETTABLE  R12 = R12[K12('Create')]
  0040  MOVE      R13 = R0
  0041  CALL      R12 = call(R12, 1 args, 1 rets)
  0042  MOVE      R4 = R0
  0043  SELF      R13 = R4[K13('GetGroup')] (self)
  0044  CALL      R12 = call(R12, 1 args, 1 rets)
  0045  MOVE      R5 = R0
  0046  EQ        if R0 eq K5(nil)   -> -128203
  0047  JMP       (jump)   -> 61
  0048  GETTABUP  R12 = _ENV[K14('GameConfig')]
  0049  GETTABLE  R12 = R12[K15('IsTestMode')]
  0050  CALL      R12 = call(R12, 1 args, 0 rets)
  0051  TEST      if not R12 then   -> -131019
  0052  JMP       (jump)   -> 60
  0053  GETTABUP  R12 = _ENV[K6('Log')]
  0054  GETTABLE  R12 = R12[K7('Error')]
  0055  SELF      R14 = R0[K16('_GetLogPrefix')] (self)
  0056  CALL      R13 = call(R13, 1 args, 1 rets)
  0057  LOADK     R14 = K17 '任务表里面，group为空，请检查！'
  0058  CONCAT    R13 = concat(R13..R13)
  0059  CALL      R12 = call(R12, 0 args, 1 rets)
  0060  LOADK     R5 = K18 0
  0061  GETTABLE  R12 = R0[K10('m_mapQuestConfig')]
  0062  GETTABLE  R13 = R0[K10('m_mapQuestConfig')]
  0063  GETTABLE  R13 = R13[R5]
  0064  TEST      if not R13 then   -> -131005
  0065  JMP       (jump)   -> 67
  0066  NEWTABLE  R13 = {} (0 items)
  0067  SETTABLE  R12[R5] = R13
  0068  GETTABUP  R12 = _ENV[K19('table')]
  0069  GETTABLE  R12 = R12[K20('insert')]
  0070  GETTABLE  R13 = R0[K10('m_mapQuestConfig')]
  0071  GETTABLE  R13 = R13[R5]
  0072  MOVE      R14 = R0
  0073  CALL      R12 = call(R12, 0 args, 2 rets)
  0074  TFORCALL  tforcall R7
  0075  TFORLOOP  tforloop R9(sBx=-38)   -> 38
  0076  CLOSURE   R7 = closure proto0
  0077  GETTABUP  R8 = _ENV[K21('pairs')]
  0078  GETTABLE  R9 = R0[K10('m_mapQuestConfig')]
  0079  CALL      R8 = call(R8, 3 args, 1 rets)
  0080  JMP       (jump)   -> 86
  0081  GETTABUP  R13 = _ENV[K19('table')]
  0082  GETTABLE  R13 = R13[K22('sort')]
  0083  MOVE      R14 = R0
  0084  MOVE      R15 = R0
  0085  CALL      R13 = call(R13, 0 args, 2 rets)
  0086  TFORCALL  tforcall R8
  0087  TFORLOOP  tforloop R10(sBx=-7)   -> 81
  0088  SELF      R9 = R0[K23('_LoadConfigCycleStart')] (self)
  0089  CALL      R8 = call(R8, 0 args, 1 rets)
  0090  SELF      R9 = R0[K24('_LoadAllQuestType')] (self)
  0091  CALL      R8 = call(R8, 0 args, 1 rets)
  0092  SELF      R9 = R0[K25('_LoadQuestEntity')] (self)
  0093  CALL      R8 = call(R8, 0 args, 1 rets)
  0094  SELF      R9 = R0[K26('_CheckConfig')] (self)
  0095  CALL      R8 = call(R8, 0 args, 1 rets)
  0096  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 179-181 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetIndex'
    ;   locals: questConfigA(0-10), questConfigB(0-10)
    0000  SELF      R3 = R0[K0('GetIndex')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetIndex')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
; ---------- proto9 [_CheckConfig] ----------
  ; fn ?  line 195-279 np=1 va=0 ms=38 code=192 consts=40 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]=0
  ;   K[3]='_GetLogPrefix'
  ;   K[4]='任务表里面，'
  ;   K[5]='pairs'
  ;   K[6]='m_mapQuestConfig'
  ;   K[7]=1
  ;   K[8]='GetGroup'
  ;   K[9]='group='
  ;   K[10]='，'
  ;   K[11]='tostring'
  ;   K[12]='到'
  ;   K[13]='Log'
  ;   K[14]='Error'
  ;   K[15]='group不连续，缺少group='
  ;   K[16]='的配置，配置的group必须从1开始连续，请检查！'
  ;   K[17]='ipairs'
  ;   K[18]='GetIndex'
  ;   K[19]='index='
  ;   K[20]='index不连续，缺少index='
  ;   K[21]='的配置，配置的index必须从1开始连续，请检查！'
  ;   K[22]='IsCycleQuest'
  ;   K[23]='当前轮次为非循环轮次，但前序轮次存在循环，请检查cycle配置！'
  ;   K[24]='GetQuestType'
  ;   K[25]='ExtractActivityQuestType'
  ;   K[26]='Table'
  ;   K[27]='Contain'
  ;   K[28]='ActivityQuestType'
  ;   K[29]='存在未知的任务类型type='
  ;   K[30]='，请检查！'
  ;   K[31]='GetScore'
  ;   K[32]='task_num='
  ;   K[33]='，任务目标分数task_num必须大于0，请检查！'
  ;   K[34]='ActivityQuestCheckTargetScore'
  ;   K[35]='IsFunction'
  ;   K[36]='，此group当前累计目标分数='
  ;   K[37]='，任务目标分数有误：<color=#D32F2F>'
  ;   K[38]='</color>，请检查！'
  ;   K[39]='_CheckQuestTypeParam'
  ;   upvals: _ENV
  ;   locals: self(0-192), group(7-192), lastGroup(8-192), missingGroupString(9-192), index(9-192), lastIndex(9-192), missingIndexString(9-192), questType(9-192), extractedQuestType(9-192), mapTargetScore(9-192), funcCheckTargetScore(9-192), bTargetScoreValid(9-192), logTargetScore(9-192), bCycle(9-192), logPrefix(13-192), logPrefixGroup(14-192), logPrefixIndex(14-192), (for generator)(17-189), (for state)(17-189), (for control)(17-189), _(18-187), arrQuestConfig(18-187), (for generator)(60-187), (for state)(60-187), (for control)(60-187), _(61-185), questConfig(61-185), bTargetScoreValid(166-185), logTargetScore(166-185)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  LOADNIL   R1..R1 = nil
  0007  LOADK     R2 = K2 0
  0008  LOADNIL   R3..R3 = nil
  0009  SELF      R15 = R0[K3('_GetLogPrefix')] (self)
  0010  CALL      R14 = call(R14, 1 args, 1 rets)
  0011  LOADK     R15 = K4 '任务表里面，'
  0012  CONCAT    R14 = concat(R14..R14)
  0013  LOADNIL   R15..R15 = nil
  0014  GETTABUP  R17 = _ENV[K5('pairs')]
  0015  GETTABLE  R18 = R0[K6('m_mapQuestConfig')]
  0016  CALL      R17 = call(R17, 3 args, 1 rets)
  0017  JMP       (jump)   -> 187
  0018  GETTABLE  R22 = R21[K7(1)]
  0019  SELF      R23 = R22[K8('GetGroup')] (self)
  0020  CALL      R22 = call(R22, 1 args, 1 rets)
  0021  MOVE      R1 = R0
  0022  MOVE      R22 = R0
  0023  LOADK     R23 = K9 'group='
  0024  MOVE      R24 = R0
  0025  LOADK     R25 = K10 '，'
  0026  CONCAT    R15 = concat(R15..R22)
  0027  ADD       R22 = K7(1) add R2
  0028  EQ        if R1 eq R22   -> -130508
  0029  JMP       (jump)   -> 52
  0030  GETTABUP  R22 = _ENV[K11('tostring')]
  0031  ADD       R23 = K7(1) add R2
  0032  CALL      R22 = call(R22, 1 args, 1 rets)
  0033  MOVE      R3 = R0
  0034  SUB       R22 = K7(1) sub R1
  0035  ADD       R23 = K7(1) add R2
  0036  LT        if R0 lt R22   -> -119236
  0037  JMP       (jump)   -> 44
  0038  MOVE      R22 = R0
  0039  LOADK     R23 = K12 '到'
  0040  GETTABUP  R24 = _ENV[K11('tostring')]
  0041  SUB       R25 = K7(1) sub R1
  0042  CALL      R24 = call(R24, 1 args, 1 rets)
  0043  CONCAT    R3 = concat(R3..R22)
  0044  GETTABUP  R22 = _ENV[K13('Log')]
  0045  GETTABLE  R22 = R22[K14('Error')]
  0046  MOVE      R23 = R0
  0047  LOADK     R24 = K15 'group不连续，缺少group='
  0048  MOVE      R25 = R0
  0049  LOADK     R26 = K16 '的配置，配置的group必须从1开始连续，请检查！'
  0050  CONCAT    R23 = concat(R23..R23)
  0051  CALL      R22 = call(R22, 0 args, 1 rets)
  0052  MOVE      R2 = R0
  0053  LOADK     R5 = K2 0
  0054  LOADBOOL  R13 = false
  0055  NEWTABLE  R22 = {} (0 items)
  0056  MOVE      R9 = R0
  0057  GETTABUP  R22 = _ENV[K17('ipairs')]
  0058  MOVE      R23 = R0
  0059  CALL      R22 = call(R22, 3 args, 1 rets)
  0060  JMP       (jump)   -> 185
  0061  SELF      R28 = R26[K18('GetIndex')] (self)
  0062  CALL      R27 = call(R27, 1 args, 1 rets)
  0063  MOVE      R4 = R0
  0064  MOVE      R27 = R0
  0065  LOADK     R28 = K19 'index='
  0066  SELF      R30 = R26[K18('GetIndex')] (self)
  0067  CALL      R29 = call(R29, 1 args, 1 rets)
  0068  LOADK     R30 = K10 '，'
  0069  CONCAT    R16 = concat(R16..R27)
  0070  ADD       R27 = K7(1) add R5
  0071  EQ        if R1 eq R27   -> -128924
  0072  JMP       (jump)   -> 95
  0073  GETTABUP  R27 = _ENV[K11('tostring')]
  0074  ADD       R28 = K7(1) add R5
  0075  CALL      R27 = call(R27, 1 args, 1 rets)
  0076  MOVE      R6 = R0
  0077  SUB       R27 = K7(1) sub R4
  0078  ADD       R28 = K7(1) add R5
  0079  LT        if R0 lt R27   -> -116628
  0080  JMP       (jump)   -> 87
  0081  MOVE      R27 = R0
  0082  LOADK     R28 = K12 '到'
  0083  GETTABUP  R29 = _ENV[K11('tostring')]
  0084  SUB       R30 = K7(1) sub R4
  0085  CALL      R29 = call(R29, 1 args, 1 rets)
  0086  CONCAT    R6 = concat(R6..R27)
  0087  GETTABUP  R27 = _ENV[K13('Log')]
  0088  GETTABLE  R27 = R27[K14('Error')]
  0089  MOVE      R28 = R0
  0090  LOADK     R29 = K20 'index不连续，缺少index='
  0091  MOVE      R30 = R0
  0092  LOADK     R31 = K21 '的配置，配置的index必须从1开始连续，请检查！'
  0093  CONCAT    R28 = concat(R28..R28)
  0094  CALL      R27 = call(R27, 0 args, 1 rets)
  0095  MOVE      R5 = R0
  0096  SELF      R28 = R26[K22('IsCycleQuest')] (self)
  0097  CALL      R27 = call(R27, 1 args, 1 rets)
  0098  TEST      if not R27 then   -> -130972
  0099  JMP       (jump)   -> 102
  0100  LOADBOOL  R13 = true
  0101  JMP       (jump)   -> 110
  0102  TEST      if not R13 then   -> -130968
  0103  JMP       (jump)   -> 110
  0104  GETTABUP  R27 = _ENV[K13('Log')]
  0105  GETTABLE  R27 = R27[K14('Error')]
  0106  MOVE      R28 = R0
  0107  LOADK     R29 = K23 '当前轮次为非循环轮次，但前序轮次存在循环，请检查cycle配置！'
  0108  CONCAT    R28 = concat(R28..R28)
  0109  CALL      R27 = call(R27, 0 args, 1 rets)
  0110  SELF      R28 = R26[K24('GetQuestType')] (self)
  0111  CALL      R27 = call(R27, 1 args, 1 rets)
  0112  MOVE      R7 = R0
  0113  GETTABUP  R27 = _ENV[K25('ExtractActivityQuestType')]
  0114  MOVE      R28 = R0
  0115  CALL      R27 = call(R27, 1 args, 1 rets)
  0116  MOVE      R8 = R0
  0117  GETTABUP  R27 = _ENV[K26('Table')]
  0118  GETTABLE  R27 = R27[K27('Contain')]
  0119  GETTABUP  R28 = _ENV[K28('ActivityQuestType')]
  0120  MOVE      R29 = R0
  0121  CALL      R27 = call(R27, 1 args, 2 rets)
  0122  TEST      if not R27 then   -> -130947
  0123  JMP       (jump)   -> 134
  0124  GETTABUP  R27 = _ENV[K13('Log')]
  0125  GETTABLE  R27 = R27[K14('Error')]
  0126  MOVE      R28 = R0
  0127  LOADK     R29 = K29 '存在未知的任务类型type='
  0128  GETTABUP  R30 = _ENV[K11('tostring')]
  0129  MOVE      R31 = R0
  0130  CALL      R30 = call(R30, 1 args, 1 rets)
  0131  LOADK     R31 = K30 '，请检查！'
  0132  CONCAT    R28 = concat(R28..R28)
  0133  CALL      R27 = call(R27, 0 args, 1 rets)
  0134  SELF      R28 = R26[K31('GetScore')] (self)
  0135  CALL      R27 = call(R27, 1 args, 1 rets)
  0136  LE        if R0 le K2(0)   -> -116852
  0137  JMP       (jump)   -> 149
  0138  GETTABUP  R27 = _ENV[K13('Log')]
  0139  GETTABLE  R27 = R27[K14('Error')]
  0140  MOVE      R28 = R0
  0141  LOADK     R29 = K32 'task_num='
  0142  GETTABUP  R30 = _ENV[K11('tostring')]
  0143  SELF      R32 = R26[K31('GetScore')] (self)
  0144  CALL      R31 = call(R31, -1 args, 1 rets)
  0145  CALL      R30 = call(R30, 1 args, -1 rets)
  0146  LOADK     R31 = K33 '，任务目标分数task_num必须大于0，请检查！'
  0147  CONCAT    R28 = concat(R28..R28)
  0148  CALL      R27 = call(R27, 0 args, 1 rets)
  0149  GETTABLE  R27 = R9[R7]
  0150  TEST      if not R27 then   -> -130919
  0151  JMP       (jump)   -> 155
  0152  SELF      R28 = R26[K31('GetScore')] (self)
  0153  CALL      R27 = call(R27, 1 args, 1 rets)
  0154  ADD       R27 = R27 add K2(0)
  0155  SETTABLE  R9[R7] = R27
  0156  GETTABUP  R27 = _ENV[K34('ActivityQuestCheckTargetScore')]
  0157  GETTABLE  R10 = R27[R7]
  0158  GETTABUP  R27 = _ENV[K35('IsFunction')]
  0159  MOVE      R28 = R0
  0160  CALL      R27 = call(R27, 1 args, 1 rets)
  0161  TEST      if not R27 then   -> -130909
  0162  JMP       (jump)   -> 185
  0163  MOVE      R27 = R0
  0164  GETTABLE  R28 = R9[R7]
  0165  CALL      R27 = call(R27, 2 args, 1 rets)
  0166  TEST      if not R27 then   -> -130903
  0167  JMP       (jump)   -> 185
  0168  GETTABUP  R29 = _ENV[K13('Log')]
  0169  GETTABLE  R29 = R29[K14('Error')]
  0170  MOVE      R30 = R0
  0171  LOADK     R31 = K32 'task_num='
  0172  GETTABUP  R32 = _ENV[K11('tostring')]
  0173  SELF      R34 = R26[K31('GetScore')] (self)
  0174  CALL      R33 = call(R33, -1 args, 1 rets)
  0175  CALL      R32 = call(R32, 1 args, -1 rets)
  0176  LOADK     R33 = K36 '，此group当前累计目标分数='
  0177  GETTABUP  R34 = _ENV[K11('tostring')]
  0178  GETTABLE  R35 = R9[R7]
  0179  CALL      R34 = call(R34, 1 args, 1 rets)
  0180  LOADK     R35 = K37 '，任务目标分数有误：<color=#D32F2F>'
  0181  MOVE      R36 = R0
  0182  LOADK     R37 = K38 '</color>，请检查！'
  0183  CONCAT    R30 = concat(R30..R30)
  0184  CALL      R29 = call(R29, 0 args, 1 rets)
  0185  TFORCALL  tforcall R22
  0186  TFORLOOP  tforloop R24(sBx=-126)   -> 61
  0187  TFORCALL  tforcall R17
  0188  TFORLOOP  tforloop R19(sBx=-171)   -> 18
  0189  SELF      R18 = R0[K39('_CheckQuestTypeParam')] (self)
  0190  CALL      R17 = call(R17, 0 args, 1 rets)
  0191  RETURN    return R0..R-1
; ---------- proto10 [_LoadConfigCycleStart] ----------
  ; fn ?  line 282-301 np=1 va=0 ms=15 code=33 consts=5 upvals=1 protos=0
  ;   K[0]='m_mapQuestConfigCycleStart'
  ;   K[1]='pairs'
  ;   K[2]='m_mapQuestConfig'
  ;   K[3]='ipairs'
  ;   K[4]='IsCycleQuest'
  ;   upvals: _ENV
  ;   locals: self(0-33), bCycle(3-33), cycleStart(3-33), (for generator)(6-32), (for state)(6-32), (for control)(6-32), group(7-30), arrQuestConfig(7-30), (for generator)(12-28), (for state)(12-28), (for control)(12-28), index(13-26), questConfig(13-26)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapQuestConfigCycleStart')] = R1
  0002  LOADNIL   R1..R1 = nil
  0003  GETTABUP  R3 = _ENV[K1('pairs')]
  0004  GETTABLE  R4 = R0[K2('m_mapQuestConfig')]
  0005  CALL      R3 = call(R3, 3 args, 1 rets)
  0006  JMP       (jump)   -> 30
  0007  LOADBOOL  R1 = false
  0008  LOADNIL   R2..R2 = nil
  0009  GETTABUP  R8 = _ENV[K3('ipairs')]
  0010  MOVE      R9 = R0
  0011  CALL      R8 = call(R8, 3 args, 1 rets)
  0012  JMP       (jump)   -> 26
  0013  SELF      R14 = R12[K4('IsCycleQuest')] (self)
  0014  CALL      R13 = call(R13, 1 args, 1 rets)
  0015  TEST      if not R13 then   -> -131055
  0016  JMP       (jump)   -> 20
  0017  TEST      if not R1 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  MOVE      R2 = R0
  0020  SELF      R14 = R12[K4('IsCycleQuest')] (self)
  0021  CALL      R13 = call(R13, 1 args, 1 rets)
  0022  MOVE      R1 = R0
  0023  TEST      if not R1 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  LOADNIL   R2..R2 = nil
  0026  TFORCALL  tforcall R8
  0027  TFORLOOP  tforloop R10(sBx=-15)   -> 13
  0028  GETTABLE  R8 = R0[K0('m_mapQuestConfigCycleStart')]
  0029  SETTABLE  R8[R6] = R2
  0030  TFORCALL  tforcall R3
  0031  TFORLOOP  tforloop R5(sBx=-25)   -> 7
  0032  RETURN    return R0..R-1
; ---------- proto11 [_LoadAllQuestType] ----------
  ; fn ?  line 304-318 np=1 va=0 ms=14 code=34 consts=10 upvals=1 protos=0
  ;   K[0]='m_mapAllQuestType'
  ;   K[1]='pairs'
  ;   K[2]='m_mapQuestConfig'
  ;   K[3]='ipairs'
  ;   K[4]='GetQuestType'
  ;   K[5]=true
  ;   K[6]='Table'
  ;   K[7]='IsEmpty'
  ;   K[8]='m_mapQuestType2ReplaceConfig'
  ;   K[9]='new_type'
  ;   upvals: _ENV
  ;   locals: self(0-34), (for generator)(5-18), (for state)(5-18), (for control)(5-18), _(6-16), arrQuestConfig(6-16), (for generator)(9-16), (for state)(9-16), (for control)(9-16), _(10-14), questConfig(10-14), (for generator)(27-33), (for state)(27-33), (for control)(27-33), _(28-31), replaceConfig(28-31)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapAllQuestType')] = R1
  0002  GETTABUP  R1 = _ENV[K1('pairs')]
  0003  GETTABLE  R2 = R0[K2('m_mapQuestConfig')]
  0004  CALL      R1 = call(R1, 3 args, 1 rets)
  0005  JMP       (jump)   -> 16
  0006  GETTABUP  R6 = _ENV[K3('ipairs')]
  0007  MOVE      R7 = R0
  0008  CALL      R6 = call(R6, 3 args, 1 rets)
  0009  JMP       (jump)   -> 14
  0010  GETTABLE  R11 = R0[K0('m_mapAllQuestType')]
  0011  SELF      R13 = R10[K4('GetQuestType')] (self)
  0012  CALL      R12 = call(R12, 1 args, 1 rets)
  0013  SETTABLE  R11[R12] = K5(true)
  0014  TFORCALL  tforcall R6
  0015  TFORLOOP  tforloop R8(sBx=-6)   -> 10
  0016  TFORCALL  tforcall R1
  0017  TFORLOOP  tforloop R3(sBx=-12)   -> 6
  0018  GETTABUP  R1 = _ENV[K6('Table')]
  0019  GETTABLE  R1 = R1[K7('IsEmpty')]
  0020  GETTABLE  R2 = R0[K8('m_mapQuestType2ReplaceConfig')]
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  TEST      if not R1 then   -> -131047
  0023  JMP       (jump)   -> 33
  0024  GETTABUP  R1 = _ENV[K1('pairs')]
  0025  GETTABLE  R2 = R0[K8('m_mapQuestType2ReplaceConfig')]
  0026  CALL      R1 = call(R1, 3 args, 1 rets)
  0027  JMP       (jump)   -> 31
  0028  GETTABLE  R6 = R0[K0('m_mapAllQuestType')]
  0029  GETTABLE  R7 = R5[K9('new_type')]
  0030  SETTABLE  R6[R7] = K5(true)
  0031  TFORCALL  tforcall R1
  0032  TFORLOOP  tforloop R3(sBx=-5)   -> 28
  0033  RETURN    return R0..R-1
; ---------- proto12 [GetAllQuestType] ----------
  ; fn ?  line 320-322 np=1 va=0 ms=2 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapAllQuestType'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_mapAllQuestType')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  NEWTABLE  R1 = {} (0 items)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto13 [_LoadQuestEntity] ----------
  ; fn ?  line 325-332 np=1 va=0 ms=11 code=19 consts=5 upvals=1 protos=0
  ;   K[0]='m_mapQuestEntity'
  ;   K[1]='m_mapTypeQuestEntity'
  ;   K[2]='pairs'
  ;   K[3]='m_mapQuestConfig'
  ;   K[4]='_CreateQuestByGroup'
  ;   upvals: _ENV
  ;   locals: self(0-19), index(5-19), questConfig(5-19), questEntity(5-19), (for generator)(11-18), (for state)(11-18), (for control)(11-18), group(12-16)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapQuestEntity')] = R1
  0002  NEWTABLE  R1 = {} (0 items)
  0003  SETTABLE  R0[K1('m_mapTypeQuestEntity')] = R1
  0004  LOADNIL   R1..R1 = nil
  0005  GETTABUP  R4 = _ENV[K2('pairs')]
  0006  GETTABLE  R5 = R0[K3('m_mapQuestConfig')]
  0007  TEST      if not R5 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  NEWTABLE  R5 = {} (0 items)
  0010  CALL      R4 = call(R4, 3 args, 1 rets)
  0011  JMP       (jump)   -> 16
  0012  SELF      R9 = R0[K4('_CreateQuestByGroup')] (self)
  0013  MOVE      R10 = R0
  0014  CALL      R8 = call(R8, 1 args, 2 rets)
  0015  MOVE      R3 = R0
  0016  TFORCALL  tforcall R4
  0017  TFORLOOP  tforloop R6(sBx=-6)   -> 12
  0018  RETURN    return R0..R-1
; ---------- proto14 [IsQuestNeedInheritProgress] ----------
  ; fn ?  line 335-341 np=1 va=0 ms=3 code=14 consts=3 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='IsQuestNeedInheritProgress'
  ;   locals: self(0-14)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  GETTABLE  R1 = R1[K2('IsQuestNeedInheritProgress')]
  0005  EQ        if R0 eq K1(nil)   -> -130296
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R1 = false
  0008  RETURN    return R1..R0
  0009  GETTABLE  R1 = R0[K0('m_model')]
  0010  SELF      R2 = R1[K2('IsQuestNeedInheritProgress')] (self)
  0011  TAILCALL  tailcall(R1, 0)
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
; ---------- proto15 [GetGroupConfigIndexWithCycle] ----------
  ; fn ?  line 345-347 np=2 va=0 ms=8 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetGroupConfigIndexWithCycleByGroupCount'
  ;   K[1]='GetGroupCount'
  ;   locals: self(0-8), group(0-8)
  0000  SELF      R3 = R0[K0('GetGroupConfigIndexWithCycleByGroupCount')] (self)
  0001  MOVE      R4 = R0
  0002  SELF      R6 = R0[K1('GetGroupCount')] (self)
  0003  MOVE      R7 = R0
  0004  CALL      R5 = call(R5, -1 args, 2 rets)
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto16 [GetGroupConfigIndexWithCycleByGroupCount] ----------
  ; fn ?  line 352-368 np=3 va=0 ms=8 code=19 consts=4 upvals=0 protos=0
  ;   K[0]='m_mapQuestConfigCycleStart'
  ;   K[1]=nil
  ;   K[2]='m_mapQuestConfig'
  ;   K[3]=1
  ;   locals: self(0-19), group(0-19), groupCount(0-19), cycleStart(2-19), totalConfigCount(8-19), cycleCount(13-19), extraCount(14-19)
  0000  GETTABLE  R3 = R0[K0('m_mapQuestConfigCycleStart')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129275
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R2..R1
  0005  GETTABLE  R4 = R0[K2('m_mapQuestConfig')]
  0006  GETTABLE  R4 = R4[R1]
  0007  LEN       R4 = len R0
  0008  LE        if R0 le R4   -> -130034
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R2..R1
  0011  SUB       R5 = R3 sub R4
  0012  ADD       R5 = K3(1) add R5
  0013  SUB       R6 = R4 sub R2
  0014  SUB       R7 = K3(1) sub R6
  0015  MOD       R7 = R5 mod R7
  0016  ADD       R7 = R7 add R3
  0017  RETURN    return R7..R6
  0018  RETURN    return R0..R-1
; ---------- proto17 [_GetCurrentQuestConfig] ----------
  ; fn ?  line 372-377 np=2 va=0 ms=5 code=12 consts=2 upvals=0 protos=0
  ;   K[0]='GetGroupConfigIndexWithCycle'
  ;   K[1]='m_mapQuestConfig'
  ;   locals: self(0-12), group(0-12), index(3-12), arrQuestConfig(5-12)
  0000  SELF      R3 = R0[K0('GetGroupConfigIndexWithCycle')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABLE  R3 = R0[K1('m_mapQuestConfig')]
  0004  GETTABLE  R3 = R3[R1]
  0005  GETTABLE  R4 = R3[R2]
  0006  TEST      if not R4 then   -> -131063
  0007  JMP       (jump)   -> 10
  0008  LEN       R4 = len R0
  0009  GETTABLE  R4 = R3[R4]
  0010  RETURN    return R4..R3
  0011  RETURN    return R0..R-1
; ---------- proto18 [GetAllQuestConfig] ----------
  ; fn ?  line 380-382 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapQuestConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapQuestConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto19 [_CheckQuestTypeParam] ----------
  ; fn ?  line 384-413 np=1 va=0 ms=26 code=78 consts=24 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='m_mapQuestConfig'
  ;   K[5]='_GetLogPrefix'
  ;   K[6]='任务表里面，'
  ;   K[7]='pairs'
  ;   K[8]=1
  ;   K[9]='GetGroup'
  ;   K[10]='group='
  ;   K[11]='，'
  ;   K[12]='ipairs'
  ;   K[13]='GetIndex'
  ;   K[14]='index='
  ;   K[15]='ActivityQuestTypeParamCheck'
  ;   K[16]='GetQuestType'
  ;   K[17]='IsFunction'
  ;   K[18]='Log'
  ;   K[19]='Error'
  ;   K[20]='任务类型type='
  ;   K[21]='tostring'
  ;   K[22]='，任务类型参数有误：<color=#D32F2F>'
  ;   K[23]='</color>，请检查！'
  ;   upvals: _ENV
  ;   locals: self(0-78), group(14-78), index(14-78), funcTypeParamCheck(14-78), logPrefix(18-78), logPrefixGroup(19-78), logPrefixIndex(19-78), (for generator)(22-77), (for state)(22-77), (for control)(22-77), _(23-75), arrQuestConfig(23-75), (for generator)(35-75), (for state)(35-75), (for control)(35-75), _(36-73), questConfig(36-73), bParamValid(56-73), logString(56-73)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABUP  R1 = _ENV[K2('Table')]
  0007  GETTABLE  R1 = R1[K3('IsEmpty')]
  0008  GETTABLE  R2 = R0[K4('m_mapQuestConfig')]
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  LOADNIL   R1..R1 = nil
  0014  SELF      R5 = R0[K5('_GetLogPrefix')] (self)
  0015  CALL      R4 = call(R4, 1 args, 1 rets)
  0016  LOADK     R5 = K6 '任务表里面，'
  0017  CONCAT    R4 = concat(R4..R4)
  0018  LOADNIL   R5..R5 = nil
  0019  GETTABUP  R7 = _ENV[K7('pairs')]
  0020  GETTABLE  R8 = R0[K4('m_mapQuestConfig')]
  0021  CALL      R7 = call(R7, 3 args, 1 rets)
  0022  JMP       (jump)   -> 75
  0023  GETTABLE  R12 = R11[K8(1)]
  0024  SELF      R13 = R12[K9('GetGroup')] (self)
  0025  CALL      R12 = call(R12, 1 args, 1 rets)
  0026  MOVE      R1 = R0
  0027  MOVE      R12 = R0
  0028  LOADK     R13 = K10 'group='
  0029  MOVE      R14 = R0
  0030  LOADK     R15 = K11 '，'
  0031  CONCAT    R5 = concat(R5..R12)
  0032  GETTABUP  R12 = _ENV[K12('ipairs')]
  0033  MOVE      R13 = R0
  0034  CALL      R12 = call(R12, 3 args, 1 rets)
  0035  JMP       (jump)   -> 73
  0036  SELF      R18 = R16[K13('GetIndex')] (self)
  0037  CALL      R17 = call(R17, 1 args, 1 rets)
  0038  MOVE      R2 = R0
  0039  MOVE      R17 = R0
  0040  LOADK     R18 = K14 'index='
  0041  SELF      R20 = R16[K13('GetIndex')] (self)
  0042  CALL      R19 = call(R19, 1 args, 1 rets)
  0043  LOADK     R20 = K11 '，'
  0044  CONCAT    R6 = concat(R6..R17)
  0045  GETTABUP  R17 = _ENV[K15('ActivityQuestTypeParamCheck')]
  0046  SELF      R19 = R16[K16('GetQuestType')] (self)
  0047  CALL      R18 = call(R18, 1 args, 1 rets)
  0048  GETTABLE  R3 = R17[R18]
  0049  GETTABUP  R17 = _ENV[K17('IsFunction')]
  0050  MOVE      R18 = R0
  0051  CALL      R17 = call(R17, 1 args, 1 rets)
  0052  TEST      if not R17 then   -> -131018
  0053  JMP       (jump)   -> 73
  0054  MOVE      R17 = R0
  0055  CALL      R17 = call(R17, 2 args, 0 rets)
  0056  TEST      if not R17 then   -> -131013
  0057  JMP       (jump)   -> 73
  0058  GETTABUP  R19 = _ENV[K18('Log')]
  0059  GETTABLE  R19 = R19[K19('Error')]
  0060  MOVE      R20 = R0
  0061  LOADK     R21 = K20 '任务类型type='
  0062  GETTABUP  R22 = _ENV[K21('tostring')]
  0063  SELF      R24 = R16[K16('GetQuestType')] (self)
  0064  CALL      R23 = call(R23, -1 args, 1 rets)
  0065  CALL      R22 = call(R22, 1 args, -1 rets)
  0066  LOADK     R23 = K22 '，任务类型参数有误：<color=#D32F2F>'
  0067  GETTABUP  R24 = _ENV[K21('tostring')]
  0068  MOVE      R25 = R0
  0069  CALL      R24 = call(R24, 1 args, 1 rets)
  0070  LOADK     R25 = K23 '</color>，请检查！'
  0071  CONCAT    R20 = concat(R20..R20)
  0072  CALL      R19 = call(R19, 0 args, 1 rets)
  0073  TFORCALL  tforcall R12
  0074  TFORLOOP  tforloop R14(sBx=-39)   -> 36
  0075  TFORCALL  tforcall R7
  0076  TFORLOOP  tforloop R9(sBx=-54)   -> 23
  0077  RETURN    return R0..R-1
; ---------- proto20 [_DBTableGetValue] ----------
  ; fn ?  line 424-426 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
; ---------- proto21 [_DBTableGetNumber] ----------
  ; fn ?  line 430-433 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
; ---------- proto22 [_DBTableSet] ----------
  ; fn ?  line 437-439 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
; ---------- proto23 [_DBTableRemove] ----------
  ; fn ?  line 442-444 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   locals: self(0-5), key(0-5)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Remove')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto24 [_GetLastScoreKey] ----------
  ; fn ?  line 447-449 np=2 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='LastScore'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-7), type(0-7)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('LastScore')]
  0003  MOVE      R4 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto25 [GetLastScore] ----------
  ; fn ?  line 453-455 np=2 va=0 ms=7 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetLastScoreKey'
  ;   locals: self(0-7), type(0-7)
  0000  SELF      R3 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R5 = R0[K1('_GetLastScoreKey')] (self)
  0002  MOVE      R6 = R0
  0003  CALL      R4 = call(R4, -1 args, 2 rets)
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto26 [SetLastScore] ----------
  ; fn ?  line 460-462 np=3 va=0 ms=8 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetLastScoreKey'
  ;   locals: self(0-7), type(0-7), score(0-7)
  0000  SELF      R4 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R6 = R0[K1('_GetLastScoreKey')] (self)
  0002  MOVE      R7 = R0
  0003  CALL      R5 = call(R5, 1 args, 2 rets)
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto27 [_GetCurrentScoreKey] ----------
  ; fn ?  line 465-467 np=2 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='CurrentScore'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-7), type(0-7)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('CurrentScore')]
  0003  MOVE      R4 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto28 [GetCurrentScore] ----------
  ; fn ?  line 471-473 np=2 va=0 ms=7 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetCurrentScoreKey'
  ;   locals: self(0-7), type(0-7)
  0000  SELF      R3 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R5 = R0[K1('_GetCurrentScoreKey')] (self)
  0002  MOVE      R6 = R0
  0003  CALL      R4 = call(R4, -1 args, 2 rets)
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto29 [SetCurrentScore] ----------
  ; fn ?  line 478-480 np=3 va=0 ms=8 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetCurrentScoreKey'
  ;   locals: self(0-7), type(0-7), score(0-7)
  0000  SELF      R4 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R6 = R0[K1('_GetCurrentScoreKey')] (self)
  0002  MOVE      R7 = R0
  0003  CALL      R5 = call(R5, 1 args, 2 rets)
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto30 [_GetRewardAcquiredKey] ----------
  ; fn ?  line 484-486 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='RewardAcquired'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('RewardAcquired')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto31 [IsRewardAcquired] ----------
  ; fn ?  line 491-493 np=3 va=0 ms=9 code=13 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetRewardAcquiredKey'
  ;   upvals: TRUE_VALUE
  ;   locals: self(0-13), group(0-13), index(0-13)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetRewardAcquiredKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  CALL      R3 = call(R3, 1 args, -1 rets)
  0006  GETUPVAL  R4 = TRUE_VALUE
  0007  EQ        if R1 eq R4   -> -129523
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R3 = false
  0010  LOADBOOL  R3 = true
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto32 [SetRewardAcquired] ----------
  ; fn ?  line 499-505 np=4 va=0 ms=10 code=17 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableRemove'
  ;   K[1]='_GetRewardAcquiredKey'
  ;   K[2]='_DBTableSet'
  ;   upvals: TRUE_VALUE
  ;   locals: self(0-17), group(0-17), index(0-17), bRewardAcquired(0-17)
  0000  TEST      if not R3 then   -> -131069
  0001  JMP       (jump)   -> 9
  0002  SELF      R5 = R0[K0('_DBTableRemove')] (self)
  0003  SELF      R7 = R0[K1('_GetRewardAcquiredKey')] (self)
  0004  MOVE      R8 = R0
  0005  MOVE      R9 = R0
  0006  CALL      R6 = call(R6, -1 args, 3 rets)
  0007  CALL      R4 = call(R4, 0 args, -1 rets)
  0008  JMP       (jump)   -> 16
  0009  SELF      R5 = R0[K2('_DBTableSet')] (self)
  0010  SELF      R7 = R0[K1('_GetRewardAcquiredKey')] (self)
  0011  MOVE      R8 = R0
  0012  MOVE      R9 = R0
  0013  CALL      R6 = call(R6, 1 args, 3 rets)
  0014  GETUPVAL  R7 = TRUE_VALUE
  0015  CALL      R4 = call(R4, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto33 [_GetPaidRewardAcquiredKey] ----------
  ; fn ?  line 509-511 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='PaidRewardAcquired'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('PaidRewardAcquired')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto34 [IsPaidRewardAcquired] ----------
  ; fn ?  line 516-518 np=3 va=0 ms=9 code=13 consts=2 upvals=1 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetPaidRewardAcquiredKey'
  ;   upvals: TRUE_VALUE
  ;   locals: self(0-13), group(0-13), index(0-13)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetPaidRewardAcquiredKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  CALL      R3 = call(R3, 1 args, -1 rets)
  0006  GETUPVAL  R4 = TRUE_VALUE
  0007  EQ        if R1 eq R4   -> -129523
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R3 = false
  0010  LOADBOOL  R3 = true
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto35 [SetPaidRewardAcquired] ----------
  ; fn ?  line 524-530 np=4 va=0 ms=10 code=17 consts=3 upvals=1 protos=0
  ;   K[0]='_DBTableRemove'
  ;   K[1]='_GetPaidRewardAcquiredKey'
  ;   K[2]='_DBTableSet'
  ;   upvals: TRUE_VALUE
  ;   locals: self(0-17), group(0-17), index(0-17), bRewardAcquired(0-17)
  0000  TEST      if not R3 then   -> -131069
  0001  JMP       (jump)   -> 9
  0002  SELF      R5 = R0[K0('_DBTableRemove')] (self)
  0003  SELF      R7 = R0[K1('_GetPaidRewardAcquiredKey')] (self)
  0004  MOVE      R8 = R0
  0005  MOVE      R9 = R0
  0006  CALL      R6 = call(R6, -1 args, 3 rets)
  0007  CALL      R4 = call(R4, 0 args, -1 rets)
  0008  JMP       (jump)   -> 16
  0009  SELF      R5 = R0[K2('_DBTableSet')] (self)
  0010  SELF      R7 = R0[K1('_GetPaidRewardAcquiredKey')] (self)
  0011  MOVE      R8 = R0
  0012  MOVE      R9 = R0
  0013  CALL      R6 = call(R6, 1 args, 3 rets)
  0014  GETUPVAL  R7 = TRUE_VALUE
  0015  CALL      R4 = call(R4, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto36 [_GetStartScoreKey] ----------
  ; fn ?  line 534-536 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='StartScore'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('StartScore')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto37 [GetStartScore] ----------
  ; fn ?  line 541-543 np=3 va=0 ms=9 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetStartScoreKey'
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetStartScoreKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto38 [SetStartScore] ----------
  ; fn ?  line 549-555 np=4 va=0 ms=10 code=17 consts=4 upvals=0 protos=0
  ;   K[0]=0
  ;   K[1]='_DBTableRemove'
  ;   K[2]='_GetStartScoreKey'
  ;   K[3]='_DBTableSet'
  ;   locals: self(0-17), group(0-17), index(0-17), startScore(0-17)
  0000  EQ        if R0 eq K0(0)   -> -129278
  0001  JMP       (jump)   -> 9
  0002  SELF      R5 = R0[K1('_DBTableRemove')] (self)
  0003  SELF      R7 = R0[K2('_GetStartScoreKey')] (self)
  0004  MOVE      R8 = R0
  0005  MOVE      R9 = R0
  0006  CALL      R6 = call(R6, -1 args, 3 rets)
  0007  CALL      R4 = call(R4, 0 args, -1 rets)
  0008  JMP       (jump)   -> 16
  0009  SELF      R5 = R0[K3('_DBTableSet')] (self)
  0010  SELF      R7 = R0[K2('_GetStartScoreKey')] (self)
  0011  MOVE      R8 = R0
  0012  MOVE      R9 = R0
  0013  CALL      R6 = call(R6, 1 args, 3 rets)
  0014  MOVE      R7 = R0
  0015  CALL      R4 = call(R4, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto39 [_GetInheritProgressKey] ----------
  ; fn ?  line 559-561 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='InheritProgress'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('InheritProgress')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto40 [IsInheritProgress] ----------
  ; fn ?  line 566-568 np=3 va=0 ms=9 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetInheritProgressKey'
  ;   K[2]=1
  ;   locals: self(0-12), group(0-12), index(0-12)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetInheritProgressKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  CALL      R3 = call(R3, 1 args, -1 rets)
  0006  EQ        if R1 eq K2(1)   -> -129270
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R3 = false
  0009  LOADBOOL  R3 = true
  0010  RETURN    return R3..R2
  0011  RETURN    return R0..R-1
; ---------- proto41 [SetInheritProgress] ----------
  ; fn ?  line 574-576 np=4 va=0 ms=10 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetInheritProgressKey'
  ;   K[2]=1
  ;   K[3]=0
  ;   locals: self(0-13), group(0-13), index(0-13), bInherit(0-13)
  0000  SELF      R5 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R7 = R0[K1('_GetInheritProgressKey')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  CALL      R6 = call(R6, 1 args, 3 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  LOADK     R7 = K2 1
  0008  TEST      if not R7 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R7 = K3 0
  0011  CALL      R4 = call(R4, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto42 [_GetQuestCreatedKey] ----------
  ; fn ?  line 580-582 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='QuestEntityCreated'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('QuestEntityCreated')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto43 [IsQuestCreated] ----------
  ; fn ?  line 587-589 np=3 va=0 ms=9 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetQuestCreatedKey'
  ;   K[2]=0
  ;   K[3]=1
  ;   locals: self(0-13), group(0-13), index(0-13)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetQuestCreatedKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, 1 args, 3 rets)
  0005  LOADK     R6 = K2 0
  0006  CALL      R3 = call(R3, 1 args, 3 rets)
  0007  EQ        if R1 eq K3(1)   -> -129268
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R3 = false
  0010  LOADBOOL  R3 = true
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto44 [SetQuestCreated] ----------
  ; fn ?  line 595-597 np=4 va=0 ms=10 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetQuestCreatedKey'
  ;   K[2]=1
  ;   K[3]=0
  ;   locals: self(0-13), group(0-13), index(0-13), bCreated(0-13)
  0000  SELF      R5 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R7 = R0[K1('_GetQuestCreatedKey')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  CALL      R6 = call(R6, 1 args, 3 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  LOADK     R7 = K2 1
  0008  TEST      if not R7 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R7 = K3 0
  0011  CALL      R4 = call(R4, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto45 [_GetGroupCountKey] ----------
  ; fn ?  line 600-602 np=2 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='GroupCount'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-7), group(0-7)
  0000  GETTABUP  R2 = _ENV[K0('string')]
  0001  GETTABLE  R2 = R2[K1('format')]
  0002  GETTABUP  R3 = DBKey[K2('GroupCount')]
  0003  MOVE      R4 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto46 [GetGroupCount] ----------
  ; fn ?  line 606-608 np=2 va=0 ms=7 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetGroupCountKey'
  ;   K[2]=1
  ;   locals: self(0-8), group(0-8)
  0000  SELF      R3 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R5 = R0[K1('_GetGroupCountKey')] (self)
  0002  MOVE      R6 = R0
  0003  CALL      R4 = call(R4, 1 args, 2 rets)
  0004  LOADK     R5 = K2 1
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto47 [SetGroupCount] ----------
  ; fn ?  line 613-615 np=3 va=0 ms=8 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetGroupCountKey'
  ;   locals: self(0-7), group(0-7), count(0-7)
  0000  SELF      R4 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R6 = R0[K1('_GetGroupCountKey')] (self)
  0002  MOVE      R7 = R0
  0003  CALL      R5 = call(R5, 1 args, 2 rets)
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto48 [_GetGroupTargetScoreKey] ----------
  ; fn ?  line 619-621 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='GroupTargetScore'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), type(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('GroupTargetScore')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto49 [GetGroupTargetScore] ----------
  ; fn ?  line 626-628 np=3 va=0 ms=9 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetGroupTargetScoreKey'
  ;   locals: self(0-8), group(0-8), type(0-8)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetGroupTargetScoreKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto50 [SetGroupTargetScore] ----------
  ; fn ?  line 634-636 np=4 va=0 ms=10 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetGroupTargetScoreKey'
  ;   locals: self(0-8), group(0-8), type(0-8), targetScore(0-8)
  0000  SELF      R5 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R7 = R0[K1('_GetGroupTargetScoreKey')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  CALL      R6 = call(R6, 1 args, 3 rets)
  0005  MOVE      R7 = R0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto51 [_GetReplacedQuestTypeKey] ----------
  ; fn ?  line 638-640 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='ReplacedQuestType'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('ReplacedQuestType')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto52 [GetReplacedQuestType] ----------
  ; fn ?  line 642-644 np=3 va=0 ms=9 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableGetValue'
  ;   K[1]='_GetReplacedQuestTypeKey'
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  SELF      R4 = R0[K0('_DBTableGetValue')] (self)
  0001  SELF      R6 = R0[K1('_GetReplacedQuestTypeKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto53 [SetReplacedQuestType] ----------
  ; fn ?  line 646-648 np=4 va=0 ms=10 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetReplacedQuestTypeKey'
  ;   locals: self(0-8), group(0-8), index(0-8), questType(0-8)
  0000  SELF      R5 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R7 = R0[K1('_GetReplacedQuestTypeKey')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  CALL      R6 = call(R6, 1 args, 3 rets)
  0005  MOVE      R7 = R0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto54 [_GetReplacedRatioKey] ----------
  ; fn ?  line 650-652 np=3 va=0 ms=7 code=8 consts=3 upvals=2 protos=0
  ;   K[0]='string'
  ;   K[1]='format'
  ;   K[2]='ReplacedRatio'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-8), group(0-8), index(0-8)
  0000  GETTABUP  R3 = _ENV[K0('string')]
  0001  GETTABLE  R3 = R3[K1('format')]
  0002  GETTABUP  R4 = DBKey[K2('ReplacedRatio')]
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto55 [GetReplacedRatio] ----------
  ; fn ?  line 654-656 np=3 va=0 ms=9 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='_DBTableGetNumber'
  ;   K[1]='_GetReplacedRatioKey'
  ;   K[2]=1
  ;   locals: self(0-9), group(0-9), index(0-9)
  0000  SELF      R4 = R0[K0('_DBTableGetNumber')] (self)
  0001  SELF      R6 = R0[K1('_GetReplacedRatioKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, 1 args, 3 rets)
  0005  LOADK     R6 = K2 1
  0006  TAILCALL  tailcall(R3, 0)
  0007  RETURN    return R3..R2
  0008  RETURN    return R0..R-1
; ---------- proto56 [SetReplacedRatio] ----------
  ; fn ?  line 658-660 np=4 va=0 ms=10 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_DBTableSet'
  ;   K[1]='_GetReplacedRatioKey'
  ;   locals: self(0-8), group(0-8), index(0-8), ratio(0-8)
  0000  SELF      R5 = R0[K0('_DBTableSet')] (self)
  0001  SELF      R7 = R0[K1('_GetReplacedRatioKey')] (self)
  0002  MOVE      R8 = R0
  0003  MOVE      R9 = R0
  0004  CALL      R6 = call(R6, 1 args, 3 rets)
  0005  MOVE      R7 = R0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto57 [UpdateLastDisplayedValues] ----------
  ; fn ?  line 667-671 np=1 va=0 ms=11 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapAllQuestType'
  ;   K[2]='SetLastScore'
  ;   K[3]='GetCurrentScore'
  ;   upvals: _ENV
  ;   locals: self(0-13), (for generator)(3-12), (for state)(3-12), (for control)(3-12), questType(4-10)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABLE  R2 = R0[K1('m_mapAllQuestType')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 10
  0004  SELF      R6 = R0[K2('SetLastScore')] (self)
  0005  MOVE      R7 = R0
  0006  SELF      R9 = R0[K3('GetCurrentScore')] (self)
  0007  MOVE      R10 = R0
  0008  CALL      R8 = call(R8, -1 args, 2 rets)
  0009  CALL      R5 = call(R5, 0 args, -1 rets)
  0010  TFORCALL  tforcall R1
  0011  TFORLOOP  tforloop R3(sBx=-8)   -> 4
  0012  RETURN    return R0..R-1
; ---------- proto58 [_RemoveQuestData] ----------
  ; fn ?  line 676-683 np=3 va=0 ms=9 code=37 consts=7 upvals=0 protos=0
  ;   K[0]='_DBTableRemove'
  ;   K[1]='_GetRewardAcquiredKey'
  ;   K[2]='_GetStartScoreKey'
  ;   K[3]='_GetQuestCreatedKey'
  ;   K[4]='_GetPaidRewardAcquiredKey'
  ;   K[5]='_GetReplacedQuestTypeKey'
  ;   K[6]='_GetReplacedRatioKey'
  ;   locals: self(0-37), group(0-37), index(0-37)
  0000  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0001  SELF      R6 = R0[K1('_GetRewardAcquiredKey')] (self)
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  CALL      R5 = call(R5, -1 args, 3 rets)
  0005  CALL      R3 = call(R3, 0 args, -1 rets)
  0006  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0007  SELF      R6 = R0[K2('_GetStartScoreKey')] (self)
  0008  MOVE      R7 = R0
  0009  MOVE      R8 = R0
  0010  CALL      R5 = call(R5, -1 args, 3 rets)
  0011  CALL      R3 = call(R3, 0 args, -1 rets)
  0012  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0013  SELF      R6 = R0[K3('_GetQuestCreatedKey')] (self)
  0014  MOVE      R7 = R0
  0015  MOVE      R8 = R0
  0016  CALL      R5 = call(R5, -1 args, 3 rets)
  0017  CALL      R3 = call(R3, 0 args, -1 rets)
  0018  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0019  SELF      R6 = R0[K4('_GetPaidRewardAcquiredKey')] (self)
  0020  MOVE      R7 = R0
  0021  MOVE      R8 = R0
  0022  CALL      R5 = call(R5, -1 args, 3 rets)
  0023  CALL      R3 = call(R3, 0 args, -1 rets)
  0024  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0025  SELF      R6 = R0[K5('_GetReplacedQuestTypeKey')] (self)
  0026  MOVE      R7 = R0
  0027  MOVE      R8 = R0
  0028  CALL      R5 = call(R5, -1 args, 3 rets)
  0029  CALL      R3 = call(R3, 0 args, -1 rets)
  0030  SELF      R4 = R0[K0('_DBTableRemove')] (self)
  0031  SELF      R6 = R0[K6('_GetReplacedRatioKey')] (self)
  0032  MOVE      R7 = R0
  0033  MOVE      R8 = R0
  0034  CALL      R5 = call(R5, -1 args, 3 rets)
  0035  CALL      R3 = call(R3, 0 args, -1 rets)
  0036  RETURN    return R0..R-1
; ---------- proto59 [GetAllTypeCurrentScore] ----------
  ; fn ?  line 686-692 np=1 va=0 ms=9 code=13 consts=3 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapAllQuestType'
  ;   K[2]='GetCurrentScore'
  ;   upvals: _ENV
  ;   locals: self(0-13), mapCurrentScore(1-13), (for generator)(4-11), (for state)(4-11), (for control)(4-11), questType(5-9)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABLE  R3 = R0[K1('m_mapAllQuestType')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 9
  0005  SELF      R7 = R0[K2('GetCurrentScore')] (self)
  0006  MOVE      R8 = R0
  0007  CALL      R6 = call(R6, 1 args, 2 rets)
  0008  SETTABLE  R1[R5] = R6
  0009  TFORCALL  tforcall R2
  0010  TFORLOOP  tforloop R4(sBx=-6)   -> 5
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto60 [IsQuestConditionSatisfied] ----------
  ; fn ?  line 700-706 np=2 va=0 ms=5 code=16 consts=2 upvals=1 protos=0
  ;   K[0]='ActivityQuestTaskCondition'
  ;   K[1]='IsFunction'
  ;   upvals: _ENV
  ;   locals: self(0-16), type(0-16), funcCondition(2-16)
  0000  GETTABUP  R2 = _ENV[K0('ActivityQuestTaskCondition')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABUP  R3 = _ENV[K1('IsFunction')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 13
  0007  MOVE      R3 = R0
  0008  CALL      R3 = call(R3, 1 args, 0 rets)
  0009  TEST      if not R3 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R3 = false
  0012  RETURN    return R3..R2
  0013  LOADBOOL  R3 = true
  0014  RETURN    return R3..R2
  0015  RETURN    return R0..R-1
; ---------- proto61 [_AddQuestConditionEventListener] ----------
  ; fn ?  line 709-711 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='ActivityQuestAddConditionChangedListener'
  ;   K[1]='_OnQuestConditionChanged'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('ActivityQuestAddConditionChangedListener')]
  0001  MOVE      R2 = R0
  0002  GETTABLE  R3 = R0[K1('_OnQuestConditionChanged')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto62 [_OnQuestConditionChanged] ----------
  ; fn ?  line 714-734 np=1 va=0 ms=9 code=30 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapQuestEntity'
  ;   K[3]='GetModel'
  ;   K[4]='GetCalculatedState'
  ;   K[5]='ActivityState'
  ;   K[6]='Started'
  ;   K[7]='pairs'
  ;   K[8]='_CheckQuestCondition'
  ;   K[9]='_CheckQuestTypeParam'
  ;   K[10]='_DispatchQuestConditionChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-30), (for generator)(19-25), (for state)(19-25), (for control)(19-25), group(20-23), questEntity(20-23)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapQuestEntity')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('GetModel')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  SELF      R2 = R1[K4('GetCalculatedState')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  GETTABUP  R2 = _ENV[K5('ActivityState')]
  0012  GETTABLE  R2 = R2[K6('Started')]
  0013  EQ        if R1 eq R2   -> -130543
  0014  JMP       (jump)   -> 16
  0015  RETURN    return R0..R-1
  0016  GETTABUP  R1 = _ENV[K7('pairs')]
  0017  GETTABLE  R2 = R0[K2('m_mapQuestEntity')]
  0018  CALL      R1 = call(R1, 3 args, 1 rets)
  0019  JMP       (jump)   -> 23
  0020  SELF      R7 = R0[K8('_CheckQuestCondition')] (self)
  0021  MOVE      R8 = R0
  0022  CALL      R6 = call(R6, 0 args, 2 rets)
  0023  TFORCALL  tforcall R1
  0024  TFORLOOP  tforloop R3(sBx=-5)   -> 20
  0025  SELF      R2 = R0[K9('_CheckQuestTypeParam')] (self)
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  SELF      R2 = R0[K10('_DispatchQuestConditionChangedEvent')] (self)
  0028  CALL      R1 = call(R1, 0 args, 1 rets)
  0029  RETURN    return R0..R-1
; ---------- proto63 [_CheckQuestCondition] ----------
  ; fn ?  line 737-763 np=2 va=0 ms=9 code=67 consts=22 upvals=1 protos=0
  ;   K[0]='m_eQuestValidHandleType'
  ;   K[1]='EActivityQuestValidHandleType'
  ;   K[2]='Replace'
  ;   K[3]='IsCompleted'
  ;   K[4]='IsRewardAcquired'
  ;   K[5]='IsQuestConditionSatisfied'
  ;   K[6]='GetQuestType'
  ;   K[7]='IsInheritProgress'
  ;   K[8]='m_mapQuestType2ReplaceConfig'
  ;   K[9]=nil
  ;   K[10]='GetCurrentScore'
  ;   K[11]='new_type'
  ;   K[12]='SetStartScore'
  ;   K[13]='math'
  ;   K[14]='ceil'
  ;   K[15]='ratio'
  ;   K[16]=1
  ;   K[17]='SetReplacedQuestType'
  ;   K[18]='SetReplacedRatio'
  ;   K[19]='_LogQuestReplaced'
  ;   K[20]='AutoFinished'
  ;   K[21]='_LogQuestAutoFinished'
  ;   upvals: _ENV
  ;   locals: self(0-67), questEntity(0-67), replaceConfig(33-66), newTaskScore(38-60), oldTaskScore(40-60)
  0000  GETTABLE  R2 = R0[K0('m_eQuestValidHandleType')]
  0001  GETTABUP  R3 = _ENV[K1('EActivityQuestValidHandleType')]
  0002  GETTABLE  R3 = R3[K2('Replace')]
  0003  EQ        if R0 eq R3   -> -130040
  0004  JMP       (jump)   -> 66
  0005  SELF      R3 = R1[K3('IsCompleted')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 66
  0009  SELF      R3 = R1[K4('IsRewardAcquired')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 66
  0013  SELF      R3 = R0[K5('IsQuestConditionSatisfied')] (self)
  0014  SELF      R5 = R1[K6('GetQuestType')] (self)
  0015  CALL      R4 = call(R4, -1 args, 1 rets)
  0016  CALL      R2 = call(R2, 1 args, -1 rets)
  0017  TEST      if not R2 then   -> -131052
  0018  JMP       (jump)   -> 66
  0019  SELF      R3 = R1[K7('IsInheritProgress')] (self)
  0020  CALL      R2 = call(R2, 1 args, 1 rets)
  0021  TEST      if not R2 then   -> -131048
  0022  JMP       (jump)   -> 66
  0023  GETTABLE  R2 = R0[K8('m_mapQuestType2ReplaceConfig')]
  0024  TEST      if not R2 then   -> -131046
  0025  JMP       (jump)   -> 32
  0026  GETTABLE  R2 = R0[K8('m_mapQuestType2ReplaceConfig')]
  0027  SELF      R4 = R1[K6('GetQuestType')] (self)
  0028  CALL      R3 = call(R3, 1 args, 1 rets)
  0029  GETTABLE  R2 = R2[R3]
  0030  TEST      if not R2 then   -> -131039
  0031  JMP       (jump)   -> 33
  0032  LOADNIL   R2..R2 = nil
  0033  EQ        if R1 eq K9(nil)   -> -129748
  0034  JMP       (jump)   -> 61
  0035  SELF      R4 = R0[K10('GetCurrentScore')] (self)
  0036  GETTABLE  R5 = R2[K11('new_type')]
  0037  CALL      R3 = call(R3, 1 args, 2 rets)
  0038  SELF      R5 = R1[K10('GetCurrentScore')] (self)
  0039  CALL      R4 = call(R4, 1 args, 1 rets)
  0040  SELF      R6 = R1[K12('SetStartScore')] (self)
  0041  GETTABUP  R7 = _ENV[K13('math')]
  0042  GETTABLE  R7 = R7[K14('ceil')]
  0043  GETTABLE  R8 = R2[K15('ratio')]
  0044  TEST      if not R8 then   -> -131025
  0045  JMP       (jump)   -> 47
  0046  LOADK     R8 = K16 1
  0047  MUL       R8 = R8 mul R4
  0048  CALL      R7 = call(R7, 1 args, 1 rets)
  0049  SUB       R7 = R7 sub R3
  0050  CALL      R5 = call(R5, 0 args, 2 rets)
  0051  SELF      R6 = R1[K17('SetReplacedQuestType')] (self)
  0052  GETTABLE  R7 = R2[K11('new_type')]
  0053  CALL      R5 = call(R5, 0 args, 2 rets)
  0054  SELF      R6 = R1[K18('SetReplacedRatio')] (self)
  0055  GETTABLE  R7 = R2[K15('ratio')]
  0056  CALL      R5 = call(R5, 0 args, 2 rets)
  0057  SELF      R6 = R0[K19('_LogQuestReplaced')] (self)
  0058  MOVE      R7 = R0
  0059  CALL      R5 = call(R5, 0 args, 2 rets)
  0060  JMP       (jump)   -> 66
  0061  SELF      R4 = R1[K20('AutoFinished')] (self)
  0062  CALL      R3 = call(R3, 0 args, 1 rets)
  0063  SELF      R4 = R0[K21('_LogQuestAutoFinished')] (self)
  0064  MOVE      R5 = R0
  0065  CALL      R3 = call(R3, 0 args, 2 rets)
  0066  RETURN    return R0..R-1
; ---------- proto64 [_DispatchQuestConditionChangedEvent] ----------
  ; fn ?  line 765-771 np=1 va=0 ms=4 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='IsFunction'
  ;   K[2]='OnQuestConditionChanged'
  ;   upvals: _ENV
  ;   locals: self(0-10), model(2-10)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('IsFunction')]
  0003  GETTABLE  R3 = R1[K2('OnQuestConditionChanged')]
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  TEST      if not R2 then   -> -131065
  0006  JMP       (jump)   -> 9
  0007  SELF      R3 = R1[K2('OnQuestConditionChanged')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto65 [_AddQuestAddScoreEventListener] ----------
  ; fn ?  line 779-792 np=1 va=0 ms=5 code=85 consts=27 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='EEventType'
  ;   K[3]='OrderFinished'
  ;   K[4]='_OnOrderFinished'
  ;   K[5]='ItemMerged'
  ;   K[6]='_OnItemMerged'
  ;   K[7]='AlbumOpenPack'
  ;   K[8]='_OnAlbumOpenPack'
  ;   K[9]='UIBoardGeneratedItem'
  ;   K[10]='_OnUIBoardGeneratedItem'
  ;   K[11]='CollectGold'
  ;   K[12]='_OnCollectGold'
  ;   K[13]='AlbumAcquireCard'
  ;   K[14]='_OnAcquireAlbumCard'
  ;   K[15]='PropertyAcquired'
  ;   K[16]='_OnPropertyAcquired'
  ;   K[17]='PropertyConsumed'
  ;   K[18]='_OnPropertyConsumed'
  ;   K[19]='ItemCookSkipTimeSuccess'
  ;   K[20]='_OnSkipTimeSuccess'
  ;   K[21]='IAPSuccess'
  ;   K[22]='_OnIAPSuccess'
  ;   K[23]='TakeOutDishItem'
  ;   K[24]='_OnTakeOutDishItem'
  ;   K[25]='OnClaimedOrderGroupReward'
  ;   K[26]='_OnFinishDay'
  ;   upvals: _ENV
  ;   locals: self(0-85)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('OrderFinished')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K4('_OnOrderFinished')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K1('AddListener')]
  0009  GETTABUP  R2 = _ENV[K2('EEventType')]
  0010  GETTABLE  R2 = R2[K5('ItemMerged')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K6('_OnItemMerged')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K1('AddListener')]
  0016  GETTABUP  R2 = _ENV[K2('EEventType')]
  0017  GETTABLE  R2 = R2[K7('AlbumOpenPack')]
  0018  MOVE      R3 = R0
  0019  GETTABLE  R4 = R0[K8('_OnAlbumOpenPack')]
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0022  GETTABLE  R1 = R1[K1('AddListener')]
  0023  GETTABUP  R2 = _ENV[K2('EEventType')]
  0024  GETTABLE  R2 = R2[K9('UIBoardGeneratedItem')]
  0025  MOVE      R3 = R0
  0026  GETTABLE  R4 = R0[K10('_OnUIBoardGeneratedItem')]
  0027  CALL      R1 = call(R1, 0 args, 3 rets)
  0028  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0029  GETTABLE  R1 = R1[K1('AddListener')]
  0030  GETTABUP  R2 = _ENV[K2('EEventType')]
  0031  GETTABLE  R2 = R2[K11('CollectGold')]
  0032  MOVE      R3 = R0
  0033  GETTABLE  R4 = R0[K12('_OnCollectGold')]
  0034  CALL      R1 = call(R1, 0 args, 3 rets)
  0035  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0036  GETTABLE  R1 = R1[K1('AddListener')]
  0037  GETTABUP  R2 = _ENV[K2('EEventType')]
  0038  GETTABLE  R2 = R2[K13('AlbumAcquireCard')]
  0039  MOVE      R3 = R0
  0040  GETTABLE  R4 = R0[K14('_OnAcquireAlbumCard')]
  0041  CALL      R1 = call(R1, 0 args, 3 rets)
  0042  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0043  GETTABLE  R1 = R1[K1('AddListener')]
  0044  GETTABUP  R2 = _ENV[K2('EEventType')]
  0045  GETTABLE  R2 = R2[K15('PropertyAcquired')]
  0046  MOVE      R3 = R0
  0047  GETTABLE  R4 = R0[K16('_OnPropertyAcquired')]
  0048  CALL      R1 = call(R1, 0 args, 3 rets)
  0049  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0050  GETTABLE  R1 = R1[K1('AddListener')]
  0051  GETTABUP  R2 = _ENV[K2('EEventType')]
  0052  GETTABLE  R2 = R2[K17('PropertyConsumed')]
  0053  MOVE      R3 = R0
  0054  GETTABLE  R4 = R0[K18('_OnPropertyConsumed')]
  0055  CALL      R1 = call(R1, 0 args, 3 rets)
  0056  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0057  GETTABLE  R1 = R1[K1('AddListener')]
  0058  GETTABUP  R2 = _ENV[K2('EEventType')]
  0059  GETTABLE  R2 = R2[K19('ItemCookSkipTimeSuccess')]
  0060  MOVE      R3 = R0
  0061  GETTABLE  R4 = R0[K20('_OnSkipTimeSuccess')]
  0062  CALL      R1 = call(R1, 0 args, 3 rets)
  0063  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0064  GETTABLE  R1 = R1[K1('AddListener')]
  0065  GETTABUP  R2 = _ENV[K2('EEventType')]
  0066  GETTABLE  R2 = R2[K21('IAPSuccess')]
  0067  MOVE      R3 = R0
  0068  GETTABLE  R4 = R0[K22('_OnIAPSuccess')]
  0069  CALL      R1 = call(R1, 0 args, 3 rets)
  0070  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0071  GETTABLE  R1 = R1[K1('AddListener')]
  0072  GETTABUP  R2 = _ENV[K2('EEventType')]
  0073  GETTABLE  R2 = R2[K23('TakeOutDishItem')]
  0074  MOVE      R3 = R0
  0075  GETTABLE  R4 = R0[K24('_OnTakeOutDishItem')]
  0076  CALL      R1 = call(R1, 0 args, 3 rets)
  0077  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0078  GETTABLE  R1 = R1[K1('AddListener')]
  0079  GETTABUP  R2 = _ENV[K2('EEventType')]
  0080  GETTABLE  R2 = R2[K25('OnClaimedOrderGroupReward')]
  0081  MOVE      R3 = R0
  0082  GETTABLE  R4 = R0[K26('_OnFinishDay')]
  0083  CALL      R1 = call(R1, 0 args, 3 rets)
  0084  RETURN    return R0..R-1
; ---------- proto66 [_OnOrderFinished] ----------
  ; fn ?  line 795-797 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='OrderFinish'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('AddScore')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityQuestType')]
  0002  GETTABLE  R3 = R3[K2('OrderFinish')]
  0003  LOADK     R4 = K3 1
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto67 [_OnItemMerged] ----------
  ; fn ?  line 800-818 np=2 va=0 ms=13 code=57 consts=21 upvals=1 protos=0
  ;   K[0]='IsTable'
  ;   K[1]='GameMode'
  ;   K[2]='EGameMode'
  ;   K[3]='ExtraBoard'
  ;   K[4]='New'
  ;   K[5]='GetCode'
  ;   K[6]='GetBoardModel'
  ;   K[7]='GetActivityType'
  ;   K[8]='GM'
  ;   K[9]='ActivityManager'
  ;   K[10]='GetModel'
  ;   K[11]='IsMainLineItem'
  ;   K[12]='GetLevelByItemCode'
  ;   K[13]='string'
  ;   K[14]='format'
  ;   K[15]='ActivityQuestType'
  ;   K[16]='MergeUIBoardMainItem'
  ;   K[17]='AddScore'
  ;   K[18]=1
  ;   K[19]='Board'
  ;   K[20]='ItemMerge'
  ;   upvals: _ENV
  ;   locals: self(0-57), mergeMessage(0-57), itemModel(11-40), itemCode(13-40), boardModel(15-40), activityType(17-40), activityModel(22-40), level(30-40), questType(36-40)
  0000  GETTABUP  R2 = _ENV[K0('IsTable')]
  0001  MOVE      R3 = R0
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 41
  0005  GETTABLE  R2 = R1[K1('GameMode')]
  0006  GETTABUP  R3 = _ENV[K2('EGameMode')]
  0007  GETTABLE  R3 = R3[K3('ExtraBoard')]
  0008  EQ        if R0 eq R3   -> -130035
  0009  JMP       (jump)   -> 41
  0010  GETTABLE  R2 = R1[K4('New')]
  0011  SELF      R4 = R2[K5('GetCode')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  SELF      R5 = R2[K6('GetBoardModel')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  SELF      R6 = R4[K7('GetActivityType')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  GETTABUP  R6 = _ENV[K8('GM')]
  0018  GETTABLE  R6 = R6[K9('ActivityManager')]
  0019  SELF      R7 = R6[K10('GetModel')] (self)
  0020  MOVE      R8 = R0
  0021  CALL      R6 = call(R6, 1 args, 2 rets)
  0022  SELF      R8 = R6[K11('IsMainLineItem')] (self)
  0023  MOVE      R9 = R0
  0024  CALL      R7 = call(R7, 1 args, 2 rets)
  0025  TEST      if not R7 then   -> -131045
  0026  JMP       (jump)   -> 56
  0027  SELF      R8 = R6[K12('GetLevelByItemCode')] (self)
  0028  MOVE      R9 = R0
  0029  CALL      R7 = call(R7, 1 args, 2 rets)
  0030  GETTABUP  R8 = _ENV[K13('string')]
  0031  GETTABLE  R8 = R8[K14('format')]
  0032  GETTABUP  R9 = _ENV[K15('ActivityQuestType')]
  0033  GETTABLE  R9 = R9[K16('MergeUIBoardMainItem')]
  0034  MOVE      R10 = R0
  0035  CALL      R8 = call(R8, 1 args, 2 rets)
  0036  SELF      R10 = R0[K17('AddScore')] (self)
  0037  MOVE      R11 = R0
  0038  LOADK     R12 = K18 1
  0039  CALL      R9 = call(R9, 0 args, 3 rets)
  0040  JMP       (jump)   -> 56
  0041  GETTABUP  R2 = _ENV[K0('IsTable')]
  0042  MOVE      R3 = R0
  0043  CALL      R2 = call(R2, 1 args, 1 rets)
  0044  TEST      if not R2 then   -> -131026
  0045  JMP       (jump)   -> 56
  0046  GETTABLE  R2 = R1[K1('GameMode')]
  0047  GETTABUP  R3 = _ENV[K2('EGameMode')]
  0048  GETTABLE  R3 = R3[K19('Board')]
  0049  EQ        if R0 eq R3   -> -129994
  0050  JMP       (jump)   -> 56
  0051  SELF      R3 = R0[K17('AddScore')] (self)
  0052  GETTABUP  R4 = _ENV[K15('ActivityQuestType')]
  0053  GETTABLE  R4 = R4[K20('ItemMerge')]
  0054  LOADK     R5 = K18 1
  0055  CALL      R2 = call(R2, 0 args, 3 rets)
  0056  RETURN    return R0..R-1
; ---------- proto68 [_OnAlbumOpenPack] ----------
  ; fn ?  line 821-823 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='AlbumOpenPack'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('AddScore')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityQuestType')]
  0002  GETTABLE  R3 = R3[K2('AlbumOpenPack')]
  0003  LOADK     R4 = K3 1
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto69 [_OnUIBoardGeneratedItem] ----------
  ; fn ?  line 826-842 np=2 va=0 ms=11 code=35 consts=16 upvals=1 protos=0
  ;   K[0]='itemCode'
  ;   K[1]='GM'
  ;   K[2]='ItemDataModel'
  ;   K[3]='GetModelConfig'
  ;   K[4]=nil
  ;   K[5]='activityType'
  ;   K[6]='ActivityManager'
  ;   K[7]='GetModel'
  ;   K[8]='IsMainLineItem'
  ;   K[9]='GetLevelByItemCode'
  ;   K[10]='string'
  ;   K[11]='format'
  ;   K[12]='ActivityQuestType'
  ;   K[13]='UnlockUIBoardMainItem'
  ;   K[14]='AddScore'
  ;   K[15]=1
  ;   upvals: _ENV
  ;   locals: self(0-35), msg(0-35), itemCode(1-35), activityType(11-35), activityModel(16-35), level(24-34), questType(30-34)
  0000  GETTABLE  R2 = R1[K0('itemCode')]
  0001  GETTABUP  R3 = _ENV[K1('GM')]
  0002  GETTABLE  R3 = R3[K2('ItemDataModel')]
  0003  SELF      R4 = R3[K3('GetModelConfig')] (self)
  0004  MOVE      R5 = R0
  0005  LOADBOOL  R6 = true
  0006  CALL      R3 = call(R3, 1 args, 3 rets)
  0007  EQ        if R0 eq K4(nil)   -> -129267
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R3 = R1[K5('activityType')]
  0011  GETTABUP  R4 = _ENV[K1('GM')]
  0012  GETTABLE  R4 = R4[K6('ActivityManager')]
  0013  SELF      R5 = R4[K7('GetModel')] (self)
  0014  MOVE      R6 = R0
  0015  CALL      R4 = call(R4, 1 args, 2 rets)
  0016  SELF      R6 = R4[K8('IsMainLineItem')] (self)
  0017  MOVE      R7 = R0
  0018  CALL      R5 = call(R5, 1 args, 2 rets)
  0019  TEST      if not R5 then   -> -131051
  0020  JMP       (jump)   -> 34
  0021  SELF      R6 = R4[K9('GetLevelByItemCode')] (self)
  0022  MOVE      R7 = R0
  0023  CALL      R5 = call(R5, 1 args, 2 rets)
  0024  GETTABUP  R6 = _ENV[K10('string')]
  0025  GETTABLE  R6 = R6[K11('format')]
  0026  GETTABUP  R7 = _ENV[K12('ActivityQuestType')]
  0027  GETTABLE  R7 = R7[K13('UnlockUIBoardMainItem')]
  0028  MOVE      R8 = R0
  0029  CALL      R6 = call(R6, 1 args, 2 rets)
  0030  SELF      R8 = R0[K14('AddScore')] (self)
  0031  MOVE      R9 = R0
  0032  LOADK     R10 = K15 1
  0033  CALL      R7 = call(R7, 0 args, 3 rets)
  0034  RETURN    return R0..R-1
; ---------- proto70 [_OnCollectGold] ----------
  ; fn ?  line 845-850 np=2 va=0 ms=6 code=9 consts=4 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='AddScore'
  ;   K[2]='ActivityQuestType'
  ;   K[3]='GoldAcquire'
  ;   upvals: _ENV
  ;   locals: self(0-9), goldCount(0-9)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SELF      R3 = R0[K1('AddScore')] (self)
  0004  GETTABUP  R4 = _ENV[K2('ActivityQuestType')]
  0005  GETTABLE  R4 = R4[K3('GoldAcquire')]
  0006  MOVE      R5 = R0
  0007  CALL      R2 = call(R2, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
; ---------- proto71 [_OnAcquireAlbumCard] ----------
  ; fn ?  line 852-864 np=2 va=0 ms=6 code=30 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='AddScore'
  ;   K[3]='ActivityQuestType'
  ;   K[4]='CardGain'
  ;   K[5]=1
  ;   K[6]='showStar'
  ;   K[7]=4
  ;   K[8]='FourStarCard'
  ;   K[9]=5
  ;   K[10]='FiveStarCard'
  ;   upvals: _ENV
  ;   locals: self(0-30), msg(0-30)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R3 = R0[K2('AddScore')] (self)
  0008  GETTABUP  R4 = _ENV[K3('ActivityQuestType')]
  0009  GETTABLE  R4 = R4[K4('CardGain')]
  0010  LOADK     R5 = K5 1
  0011  CALL      R2 = call(R2, 0 args, 3 rets)
  0012  GETTABLE  R2 = R1[K6('showStar')]
  0013  EQ        if R0 eq K7(4)   -> -129770
  0014  JMP       (jump)   -> 21
  0015  SELF      R3 = R0[K2('AddScore')] (self)
  0016  GETTABUP  R4 = _ENV[K3('ActivityQuestType')]
  0017  GETTABLE  R4 = R4[K8('FourStarCard')]
  0018  LOADK     R5 = K5 1
  0019  CALL      R2 = call(R2, 0 args, 3 rets)
  0020  JMP       (jump)   -> 29
  0021  GETTABLE  R2 = R1[K6('showStar')]
  0022  EQ        if R0 eq K9(5)   -> -129759
  0023  JMP       (jump)   -> 29
  0024  SELF      R3 = R0[K2('AddScore')] (self)
  0025  GETTABUP  R4 = _ENV[K3('ActivityQuestType')]
  0026  GETTABLE  R4 = R4[K10('FiveStarCard')]
  0027  LOADK     R5 = K5 1
  0028  CALL      R2 = call(R2, 0 args, 3 rets)
  0029  RETURN    return R0..R-1
; ---------- proto72 [_OnPropertyAcquired] ----------
  ; fn ?  line 866-877 np=2 va=0 ms=13 code=29 consts=10 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='arrProperties'
  ;   K[2]='PROPERTY_TYPE'
  ;   K[3]='PROPERTY_COUNT'
  ;   K[4]=0
  ;   K[5]=nil
  ;   K[6]='EPropertyType'
  ;   K[7]='BPFaceToken'
  ;   K[8]='AddScore'
  ;   K[9]='ActivityQuestType'
  ;   upvals: _ENV
  ;   locals: self(0-29), message(0-29), num(1-29), propertyType(1-29), (for generator)(4-28), (for state)(4-28), (for control)(4-28), _(5-26), property(5-26)
  0000  LOADNIL   R2..R2 = nil
  0001  GETTABUP  R4 = _ENV[K0('ipairs')]
  0002  GETTABLE  R5 = R1[K1('arrProperties')]
  0003  CALL      R4 = call(R4, 3 args, 1 rets)
  0004  JMP       (jump)   -> 26
  0005  GETTABUP  R9 = _ENV[K2('PROPERTY_TYPE')]
  0006  GETTABLE  R3 = R8[R9]
  0007  GETTABUP  R9 = _ENV[K3('PROPERTY_COUNT')]
  0008  GETTABLE  R9 = R8[R9]
  0009  TESTSET   if R1 then R2   -> -126452
  0010  JMP       (jump)   -> 12
  0011  LOADK     R2 = K4 0
  0012  EQ        if R1 eq K5(nil)   -> -129261
  0013  JMP       (jump)   -> 26
  0014  LT        if R0 lt R2   -> 2066
  0015  JMP       (jump)   -> 26
  0016  GETTABUP  R9 = _ENV[K6('EPropertyType')]
  0017  GETTABLE  R9 = R9[K7('BPFaceToken')]
  0018  EQ        if R0 eq R9   -> -129507
  0019  JMP       (jump)   -> 26
  0020  SELF      R10 = R0[K8('AddScore')] (self)
  0021  GETTABUP  R11 = _ENV[K9('ActivityQuestType')]
  0022  GETTABLE  R11 = R11[K7('BPFaceToken')]
  0023  GETTABUP  R12 = _ENV[K3('PROPERTY_COUNT')]
  0024  GETTABLE  R12 = R8[R12]
  0025  CALL      R9 = call(R9, 0 args, 3 rets)
  0026  TFORCALL  tforcall R4
  0027  TFORLOOP  tforloop R6(sBx=-23)   -> 5
  0028  RETURN    return R0..R-1
; ---------- proto73 [_OnPropertyConsumed] ----------
  ; fn ?  line 879-891 np=2 va=0 ms=8 code=36 consts=12 upvals=1 protos=0
  ;   K[0]='property'
  ;   K[1]='PROPERTY_COUNT'
  ;   K[2]=nil
  ;   K[3]=0
  ;   K[4]='PROPERTY_TYPE'
  ;   K[5]='EPropertyType'
  ;   K[6]='SkipProp'
  ;   K[7]='AddScore'
  ;   K[8]='ActivityQuestType'
  ;   K[9]='UseSkipProp'
  ;   K[10]='Gem'
  ;   K[11]='GemConsume'
  ;   upvals: _ENV
  ;   locals: self(0-36), message(0-36), property(3-36), num(7-36)
  0000  TESTSET   if R0 then R2   -> -130558
  0001  JMP       (jump)   -> 3
  0002  GETTABLE  R2 = R1[K0('property')]
  0003  TESTSET   if R0 then R3   -> -130043
  0004  JMP       (jump)   -> 7
  0005  GETTABUP  R3 = _ENV[K1('PROPERTY_COUNT')]
  0006  GETTABLE  R3 = R2[R3]
  0007  EQ        if R1 eq K2(nil)   -> -129269
  0008  JMP       (jump)   -> 11
  0009  LE        if R0 le K3(0)   -> -129266
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R4 = _ENV[K4('PROPERTY_TYPE')]
  0013  GETTABLE  R4 = R2[R4]
  0014  GETTABUP  R5 = _ENV[K5('EPropertyType')]
  0015  GETTABLE  R5 = R5[K6('SkipProp')]
  0016  EQ        if R0 eq R5   -> -129001
  0017  JMP       (jump)   -> 24
  0018  SELF      R5 = R0[K7('AddScore')] (self)
  0019  GETTABUP  R6 = _ENV[K8('ActivityQuestType')]
  0020  GETTABLE  R6 = R6[K9('UseSkipProp')]
  0021  MOVE      R7 = R0
  0022  CALL      R4 = call(R4, 0 args, 3 rets)
  0023  JMP       (jump)   -> 35
  0024  GETTABUP  R4 = _ENV[K4('PROPERTY_TYPE')]
  0025  GETTABLE  R4 = R2[R4]
  0026  GETTABUP  R5 = _ENV[K5('EPropertyType')]
  0027  GETTABLE  R5 = R5[K10('Gem')]
  0028  EQ        if R0 eq R5   -> -128989
  0029  JMP       (jump)   -> 35
  0030  SELF      R5 = R0[K7('AddScore')] (self)
  0031  GETTABUP  R6 = _ENV[K8('ActivityQuestType')]
  0032  GETTABLE  R6 = R6[K11('GemConsume')]
  0033  MOVE      R7 = R0
  0034  CALL      R4 = call(R4, 0 args, 3 rets)
  0035  RETURN    return R0..R-1
; ---------- proto74 [_OnSkipTimeSuccess] ----------
  ; fn ?  line 893-898 np=2 va=0 ms=6 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='SkipPropTime'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-8), isFree(0-8)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 7
  0002  SELF      R3 = R0[K0('AddScore')] (self)
  0003  GETTABUP  R4 = _ENV[K1('ActivityQuestType')]
  0004  GETTABLE  R4 = R4[K2('SkipPropTime')]
  0005  LOADK     R5 = K3 1
  0006  CALL      R2 = call(R2, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto75 [_OnIAPSuccess] ----------
  ; fn ?  line 900-902 np=2 va=0 ms=6 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='Payment'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-6), iapType(0-6)
  0000  SELF      R3 = R0[K0('AddScore')] (self)
  0001  GETTABUP  R4 = _ENV[K1('ActivityQuestType')]
  0002  GETTABLE  R4 = R4[K2('Payment')]
  0003  LOADK     R5 = K3 1
  0004  CALL      R2 = call(R2, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto76 [_OnTakeOutDishItem] ----------
  ; fn ?  line 904-906 np=1 va=0 ms=5 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='TakeOutDish'
  ;   K[3]=1
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('AddScore')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityQuestType')]
  0002  GETTABLE  R3 = R3[K2('TakeOutDish')]
  0003  LOADK     R4 = K3 1
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto77 [_OnFinishDay] ----------
  ; fn ?  line 908-912 np=1 va=0 ms=5 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='AddScore'
  ;   K[1]='ActivityQuestType'
  ;   K[2]='FinishDay'
  ;   K[3]=1
  ;   K[4]='_OnQuestConditionChanged'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('AddScore')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityQuestType')]
  0002  GETTABLE  R3 = R3[K2('FinishDay')]
  0003  LOADK     R4 = K3 1
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  SELF      R2 = R0[K4('_OnQuestConditionChanged')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto78 [_CreateQuestByGroup] ----------
  ; fn ?  line 921-927 np=2 va=0 ms=6 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='_GetCurrentQuestConfig'
  ;   K[1]=nil
  ;   K[2]='_CreateQuest'
  ;   locals: self(0-10), group(0-10), questConfig(3-10), questEntity(8-9)
  0000  SELF      R3 = R0[K0('_GetCurrentQuestConfig')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  EQ        if R1 eq K1(nil)   -> -129786
  0004  JMP       (jump)   -> 9
  0005  SELF      R4 = R0[K2('_CreateQuest')] (self)
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  RETURN    return R3..R2
  0009  RETURN    return R0..R-1
; ---------- proto79 [_CreateQuest] ----------
  ; fn ?  line 931-961 np=2 va=0 ms=14 code=88 consts=27 upvals=1 protos=0
  ;   K[0]='ActivityQuestEntity'
  ;   K[1]='Create'
  ;   K[2]='GetGroup'
  ;   K[3]='GetIndex'
  ;   K[4]='GetQuestType'
  ;   K[5]='GameConfig'
  ;   K[6]='IsTestMode'
  ;   K[7]='m_mapQuestEntity'
  ;   K[8]=nil
  ;   K[9]='Log'
  ;   K[10]='Error'
  ;   K[11]='_GetLogPrefix'
  ;   K[12]='尝试创建任务 '
  ;   K[13]='tostring'
  ;   K[14]='-'
  ;   K[15]='，已存在相同group的任务，请检查！'
  ;   K[16]='IsQuestCreated'
  ;   K[17]='IsQuestNeedInheritProgress'
  ;   K[18]='SetInheritProgress'
  ;   K[19]='SetStartScore'
  ;   K[20]='GetGroupTargetScore'
  ;   K[21]='GetCurrentScore'
  ;   K[22]='SetQuestCreated'
  ;   K[23]='_LogQuestUnlocked'
  ;   K[24]='_CheckQuestCondition'
  ;   K[25]='m_mapTypeQuestEntity'
  ;   K[26]=true
  ;   upvals: _ENV
  ;   locals: self(0-88), config(0-88), questEntity(5-88), group(7-88), index(9-88), type(11-88), bInherit(44-71)
  0000  GETTABUP  R2 = _ENV[K0('ActivityQuestEntity')]
  0001  GETTABLE  R2 = R2[K1('Create')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R2[K2('GetGroup')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SELF      R5 = R2[K3('GetIndex')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  SELF      R6 = R2[K4('GetQuestType')] (self)
  0010  CALL      R5 = call(R5, 1 args, 1 rets)
  0011  GETTABUP  R6 = _ENV[K5('GameConfig')]
  0012  GETTABLE  R6 = R6[K6('IsTestMode')]
  0013  CALL      R6 = call(R6, 1 args, 0 rets)
  0014  TEST      if not R6 then   -> -131056
  0015  JMP       (jump)   -> 35
  0016  GETTABLE  R6 = R0[K7('m_mapQuestEntity')]
  0017  GETTABLE  R6 = R6[R3]
  0018  EQ        if R1 eq K8(nil)   -> -127716
  0019  JMP       (jump)   -> 35
  0020  GETTABUP  R6 = _ENV[K9('Log')]
  0021  GETTABLE  R6 = R6[K10('Error')]
  0022  SELF      R8 = R0[K11('_GetLogPrefix')] (self)
  0023  CALL      R7 = call(R7, 1 args, 1 rets)
  0024  LOADK     R8 = K12 '尝试创建任务 '
  0025  GETTABUP  R9 = _ENV[K13('tostring')]
  0026  MOVE      R10 = R0
  0027  CALL      R9 = call(R9, 1 args, 1 rets)
  0028  LOADK     R10 = K14 '-'
  0029  GETTABUP  R11 = _ENV[K13('tostring')]
  0030  MOVE      R12 = R0
  0031  CALL      R11 = call(R11, 1 args, 1 rets)
  0032  LOADK     R12 = K15 '，已存在相同group的任务，请检查！'
  0033  CONCAT    R7 = concat(R7..R7)
  0034  CALL      R6 = call(R6, 0 args, 1 rets)
  0035  SELF      R7 = R0[K16('IsQuestCreated')] (self)
  0036  MOVE      R8 = R0
  0037  MOVE      R9 = R0
  0038  CALL      R6 = call(R6, 1 args, 3 rets)
  0039  TEST      if not R6 then   -> -131030
  0040  JMP       (jump)   -> 71
  0041  SELF      R7 = R0[K17('IsQuestNeedInheritProgress')] (self)
  0042  MOVE      R8 = R0
  0043  CALL      R6 = call(R6, 1 args, 2 rets)
  0044  SELF      R8 = R2[K18('SetInheritProgress')] (self)
  0045  MOVE      R9 = R0
  0046  CALL      R7 = call(R7, 0 args, 2 rets)
  0047  TEST      if not R6 then   -> -131023
  0048  JMP       (jump)   -> 57
  0049  SELF      R8 = R2[K19('SetStartScore')] (self)
  0050  SELF      R10 = R0[K20('GetGroupTargetScore')] (self)
  0051  MOVE      R11 = R0
  0052  SELF      R13 = R2[K4('GetQuestType')] (self)
  0053  CALL      R12 = call(R12, -1 args, 1 rets)
  0054  CALL      R9 = call(R9, -1 args, -1 rets)
  0055  CALL      R7 = call(R7, 0 args, -1 rets)
  0056  JMP       (jump)   -> 63
  0057  SELF      R8 = R2[K19('SetStartScore')] (self)
  0058  SELF      R10 = R0[K21('GetCurrentScore')] (self)
  0059  SELF      R12 = R2[K4('GetQuestType')] (self)
  0060  CALL      R11 = call(R11, -1 args, 1 rets)
  0061  CALL      R9 = call(R9, -1 args, -1 rets)
  0062  CALL      R7 = call(R7, 0 args, -1 rets)
  0063  SELF      R8 = R0[K22('SetQuestCreated')] (self)
  0064  MOVE      R9 = R0
  0065  MOVE      R10 = R0
  0066  LOADBOOL  R11 = true
  0067  CALL      R7 = call(R7, 0 args, 4 rets)
  0068  SELF      R8 = R0[K23('_LogQuestUnlocked')] (self)
  0069  MOVE      R9 = R0
  0070  CALL      R7 = call(R7, 0 args, 2 rets)
  0071  SELF      R7 = R0[K24('_CheckQuestCondition')] (self)
  0072  MOVE      R8 = R0
  0073  CALL      R6 = call(R6, 0 args, 2 rets)
  0074  GETTABLE  R6 = R0[K7('m_mapQuestEntity')]
  0075  SETTABLE  R6[R3] = R2
  0076  GETTABLE  R6 = R0[K25('m_mapTypeQuestEntity')]
  0077  GETTABLE  R7 = R0[K25('m_mapTypeQuestEntity')]
  0078  GETTABLE  R7 = R7[R5]
  0079  TEST      if not R7 then   -> -130990
  0080  JMP       (jump)   -> 82
  0081  NEWTABLE  R7 = {} (0 items)
  0082  SETTABLE  R6[R5] = R7
  0083  GETTABLE  R6 = R0[K25('m_mapTypeQuestEntity')]
  0084  GETTABLE  R6 = R6[R5]
  0085  SETTABLE  R6[R2] = K26(true)
  0086  RETURN    return R2..R1
  0087  RETURN    return R0..R-1
; ---------- proto80 [_RemoveQuest] ----------
  ; fn ?  line 965-981 np=2 va=0 ms=14 code=53 consts=18 upvals=1 protos=0
  ;   K[0]='GetGroup'
  ;   K[1]='GetIndex'
  ;   K[2]='GetQuestType'
  ;   K[3]='_RemoveQuestData'
  ;   K[4]='GameConfig'
  ;   K[5]='IsTestMode'
  ;   K[6]='m_mapQuestEntity'
  ;   K[7]='Log'
  ;   K[8]='Error'
  ;   K[9]='_GetLogPrefix'
  ;   K[10]='尝试移除任务 '
  ;   K[11]='tostring'
  ;   K[12]='-'
  ;   K[13]='，但当前group的任务不一样，如果是空可能是重复移除，请检查！当前任务：'
  ;   K[14]=nil
  ;   K[15]='m_mapTypeQuestEntity'
  ;   K[16]='Table'
  ;   K[17]='IsEmpty'
  ;   upvals: _ENV
  ;   locals: self(0-53), questEntity(0-53), group(2-53), index(4-53), type(6-53)
  0000  SELF      R3 = R1[K0('GetGroup')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R1[K1('GetIndex')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  SELF      R5 = R1[K2('GetQuestType')] (self)
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  SELF      R6 = R0[K3('_RemoveQuestData')] (self)
  0007  MOVE      R7 = R0
  0008  MOVE      R8 = R0
  0009  CALL      R5 = call(R5, 0 args, 3 rets)
  0010  GETTABUP  R5 = _ENV[K4('GameConfig')]
  0011  GETTABLE  R5 = R5[K5('IsTestMode')]
  0012  CALL      R5 = call(R5, 1 args, 0 rets)
  0013  TEST      if not R5 then   -> -131057
  0014  JMP       (jump)   -> 38
  0015  GETTABLE  R5 = R0[K6('m_mapQuestEntity')]
  0016  GETTABLE  R5 = R5[R2]
  0017  EQ        if R1 eq R1   -> -128492
  0018  JMP       (jump)   -> 38
  0019  GETTABUP  R5 = _ENV[K7('Log')]
  0020  GETTABLE  R5 = R5[K8('Error')]
  0021  SELF      R7 = R0[K9('_GetLogPrefix')] (self)
  0022  CALL      R6 = call(R6, 1 args, 1 rets)
  0023  LOADK     R7 = K10 '尝试移除任务 '
  0024  GETTABUP  R8 = _ENV[K11('tostring')]
  0025  MOVE      R9 = R0
  0026  CALL      R8 = call(R8, 1 args, 1 rets)
  0027  LOADK     R9 = K12 '-'
  0028  GETTABUP  R10 = _ENV[K11('tostring')]
  0029  MOVE      R11 = R0
  0030  CALL      R10 = call(R10, 1 args, 1 rets)
  0031  LOADK     R11 = K13 '，但当前group的任务不一样，如果是空可能是重复移除，请检查！当前任务：'
  0032  GETTABUP  R12 = _ENV[K11('tostring')]
  0033  GETTABLE  R13 = R0[K6('m_mapQuestEntity')]
  0034  GETTABLE  R13 = R13[R2]
  0035  CALL      R12 = call(R12, 1 args, 1 rets)
  0036  CONCAT    R6 = concat(R6..R6)
  0037  CALL      R5 = call(R5, 0 args, 1 rets)
  0038  GETTABLE  R5 = R0[K6('m_mapQuestEntity')]
  0039  SETTABLE  R5[R2] = K14(nil)
  0040  GETTABLE  R5 = R0[K15('m_mapTypeQuestEntity')]
  0041  GETTABLE  R5 = R5[R4]
  0042  SETTABLE  R5[R1] = K14(nil)
  0043  GETTABUP  R5 = _ENV[K16('Table')]
  0044  GETTABLE  R5 = R5[K17('IsEmpty')]
  0045  GETTABLE  R6 = R0[K15('m_mapTypeQuestEntity')]
  0046  GETTABLE  R6 = R6[R4]
  0047  CALL      R5 = call(R5, 1 args, 1 rets)
  0048  TEST      if not R5 then   -> -131022
  0049  JMP       (jump)   -> 52
  0050  GETTABLE  R5 = R0[K15('m_mapTypeQuestEntity')]
  0051  SETTABLE  R5[R4] = K14(nil)
  0052  RETURN    return R0..R-1
; ---------- proto81 [AddScore] ----------
  ; fn ?  line 990-1030 np=3 va=0 ms=29 code=147 consts=44 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='IsFunction'
  ;   K[2]='CanAddScoreQuest'
  ;   K[3]='IsNumber'
  ;   K[4]=0
  ;   K[5]='GameConfig'
  ;   K[6]='IsTestMode'
  ;   K[7]='Log'
  ;   K[8]='Error'
  ;   K[9]='_GetLogPrefix'
  ;   K[10]='获取任务进度错误，类型='
  ;   K[11]='tostring'
  ;   K[12]='，数量='
  ;   K[13]='，请检查！'
  ;   K[14]='m_mapAllQuestType'
  ;   K[15]=nil
  ;   K[16]='GetCurrentScore'
  ;   K[17]='SetCurrentScore'
  ;   K[18]='m_mapTypeQuestEntity'
  ;   K[19]='pairs'
  ;   K[20]='table'
  ;   K[21]='insert'
  ;   K[22]='group='
  ;   K[23]='GetGroup'
  ;   K[24]='，index='
  ;   K[25]='GetIndex'
  ;   K[26]='，当前group任务次数='
  ;   K[27]='GetGroupCount'
  ;   K[28]='；'
  ;   K[29]='当前任务进度：'
  ;   K[30]='/'
  ;   K[31]='GetTargetScore'
  ;   K[32]='是否继承：'
  ;   K[33]='IsInheritProgress'
  ;   K[34]='Info'
  ;   K[35]='任务增加进度 type=<color=#FFA000>'
  ;   K[36]='</color>，score=<color=#FFA000>'
  ;   K[37]='</color>\n'
  ;   K[38]='concat'
  ;   K[39]='\n'
  ;   K[40]='GetCompletedQuest'
  ;   K[41]='Table'
  ;   K[42]='IsEmpty'
  ;   K[43]='_OnQuestCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-147), type(0-147), addScore(0-147), model(2-147), previousScore(51-147), arrQuestEntity(62-130), arrLogStr(65-130), (for generator)(68-110), (for state)(68-110), (for control)(68-110), questEntity(69-108), arrCompletedQuest(137-147)
  0000  SELF      R4 = R0[K0('GetModel')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  GETTABUP  R4 = _ENV[K1('IsFunction')]
  0003  GETTABLE  R5 = R3[K2('CanAddScoreQuest')]
  0004  CALL      R4 = call(R4, 1 args, 1 rets)
  0005  TEST      if not R4 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  SELF      R5 = R3[K2('CanAddScoreQuest')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  TEST      if not R4 then   -> -131060
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R4 = _ENV[K3('IsNumber')]
  0013  MOVE      R5 = R0
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  TEST      if not R4 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  LE        if R0 le K4(0)   -> -129769
  0018  JMP       (jump)   -> 40
  0019  GETTABUP  R4 = _ENV[K5('GameConfig')]
  0020  GETTABLE  R4 = R4[K6('IsTestMode')]
  0021  CALL      R4 = call(R4, 1 args, 0 rets)
  0022  TEST      if not R4 then   -> -131048
  0023  JMP       (jump)   -> 39
  0024  GETTABUP  R4 = _ENV[K7('Log')]
  0025  GETTABLE  R4 = R4[K8('Error')]
  0026  SELF      R6 = R0[K9('_GetLogPrefix')] (self)
  0027  CALL      R5 = call(R5, 1 args, 1 rets)
  0028  LOADK     R6 = K10 '获取任务进度错误，类型='
  0029  GETTABUP  R7 = _ENV[K11('tostring')]
  0030  MOVE      R8 = R0
  0031  CALL      R7 = call(R7, 1 args, 1 rets)
  0032  LOADK     R8 = K12 '，数量='
  0033  GETTABUP  R9 = _ENV[K11('tostring')]
  0034  MOVE      R10 = R0
  0035  CALL      R9 = call(R9, 1 args, 1 rets)
  0036  LOADK     R10 = K13 '，请检查！'
  0037  CONCAT    R5 = concat(R5..R5)
  0038  CALL      R4 = call(R4, 0 args, 1 rets)
  0039  RETURN    return R0..R-1
  0040  GETTABLE  R4 = R0[K14('m_mapAllQuestType')]
  0041  EQ        if R1 eq K15(nil)   -> -128710
  0042  JMP       (jump)   -> 47
  0043  GETTABLE  R4 = R0[K14('m_mapAllQuestType')]
  0044  GETTABLE  R4 = R4[R1]
  0045  EQ        if R0 eq K15(nil)   -> -128706
  0046  JMP       (jump)   -> 48
  0047  RETURN    return R0..R-1
  0048  SELF      R5 = R0[K16('GetCurrentScore')] (self)
  0049  MOVE      R6 = R0
  0050  CALL      R4 = call(R4, 1 args, 2 rets)
  0051  SELF      R6 = R0[K17('SetCurrentScore')] (self)
  0052  MOVE      R7 = R0
  0053  ADD       R8 = R2 add R4
  0054  CALL      R5 = call(R5, 0 args, 3 rets)
  0055  GETTABUP  R5 = _ENV[K5('GameConfig')]
  0056  GETTABLE  R5 = R5[K6('IsTestMode')]
  0057  CALL      R5 = call(R5, 1 args, 0 rets)
  0058  TEST      if not R5 then   -> -131012
  0059  JMP       (jump)   -> 130
  0060  GETTABLE  R5 = R0[K18('m_mapTypeQuestEntity')]
  0061  GETTABLE  R5 = R5[R1]
  0062  EQ        if R1 eq K15(nil)   -> -128177
  0063  JMP       (jump)   -> 130
  0064  NEWTABLE  R6 = {} (0 items)
  0065  GETTABUP  R7 = _ENV[K19('pairs')]
  0066  MOVE      R8 = R0
  0067  CALL      R7 = call(R7, 3 args, 1 rets)
  0068  JMP       (jump)   -> 108
  0069  GETTABUP  R11 = _ENV[K20('table')]
  0070  GETTABLE  R11 = R11[K21('insert')]
  0071  MOVE      R12 = R0
  0072  LOADK     R13 = K22 'group='
  0073  GETTABUP  R14 = _ENV[K11('tostring')]
  0074  SELF      R16 = R10[K23('GetGroup')] (self)
  0075  CALL      R15 = call(R15, -1 args, 1 rets)
  0076  CALL      R14 = call(R14, 1 args, -1 rets)
  0077  LOADK     R15 = K24 '，index='
  0078  GETTABUP  R16 = _ENV[K11('tostring')]
  0079  SELF      R18 = R10[K25('GetIndex')] (self)
  0080  CALL      R17 = call(R17, -1 args, 1 rets)
  0081  CALL      R16 = call(R16, 1 args, -1 rets)
  0082  LOADK     R17 = K26 '，当前group任务次数='
  0083  GETTABUP  R18 = _ENV[K11('tostring')]
  0084  SELF      R20 = R0[K27('GetGroupCount')] (self)
  0085  SELF      R22 = R10[K23('GetGroup')] (self)
  0086  CALL      R21 = call(R21, -1 args, 1 rets)
  0087  CALL      R19 = call(R19, -1 args, -1 rets)
  0088  CALL      R18 = call(R18, 1 args, -1 rets)
  0089  LOADK     R19 = K28 '；'
  0090  LOADK     R20 = K29 '当前任务进度：'
  0091  GETTABUP  R21 = _ENV[K11('tostring')]
  0092  SELF      R23 = R10[K16('GetCurrentScore')] (self)
  0093  CALL      R22 = call(R22, -1 args, 1 rets)
  0094  CALL      R21 = call(R21, 1 args, -1 rets)
  0095  LOADK     R22 = K30 '/'
  0096  GETTABUP  R23 = _ENV[K11('tostring')]
  0097  SELF      R25 = R10[K31('GetTargetScore')] (self)
  0098  CALL      R24 = call(R24, -1 args, 1 rets)
  0099  CALL      R23 = call(R23, 1 args, -1 rets)
  0100  LOADK     R24 = K28 '；'
  0101  LOADK     R25 = K32 '是否继承：'
  0102  GETTABUP  R26 = _ENV[K11('tostring')]
  0103  SELF      R28 = R10[K33('IsInheritProgress')] (self)
  0104  CALL      R27 = call(R27, -1 args, 1 rets)
  0105  CALL      R26 = call(R26, 1 args, -1 rets)
  0106  CONCAT    R13 = concat(R13..R13)
  0107  CALL      R11 = call(R11, 0 args, 2 rets)
  0108  TFORCALL  tforcall R7
  0109  TFORLOOP  tforloop R9(sBx=-41)   -> 69
  0110  GETTABUP  R7 = _ENV[K7('Log')]
  0111  GETTABLE  R7 = R7[K34('Info')]
  0112  SELF      R9 = R0[K9('_GetLogPrefix')] (self)
  0113  CALL      R8 = call(R8, 1 args, 1 rets)
  0114  LOADK     R9 = K35 '任务增加进度 type=<color=#FFA000>'
  0115  GETTABUP  R10 = _ENV[K11('tostring')]
  0116  MOVE      R11 = R0
  0117  CALL      R10 = call(R10, 1 args, 1 rets)
  0118  LOADK     R11 = K36 '</color>，score=<color=#FFA000>'
  0119  GETTABUP  R12 = _ENV[K11('tostring')]
  0120  MOVE      R13 = R0
  0121  CALL      R12 = call(R12, 1 args, 1 rets)
  0122  LOADK     R13 = K37 '</color>\n'
  0123  GETTABUP  R14 = _ENV[K20('table')]
  0124  GETTABLE  R14 = R14[K38('concat')]
  0125  MOVE      R15 = R0
  0126  LOADK     R16 = K39 '\n'
  0127  CALL      R14 = call(R14, 1 args, 2 rets)
  0128  CONCAT    R8 = concat(R8..R8)
  0129  CALL      R7 = call(R7, 0 args, 1 rets)
  0130  SELF      R6 = R0[K40('GetCompletedQuest')] (self)
  0131  MOVE      R7 = R0
  0132  MOVE      R8 = R0
  0133  SELF      R10 = R0[K16('GetCurrentScore')] (self)
  0134  MOVE      R11 = R0
  0135  CALL      R9 = call(R9, -1 args, 2 rets)
  0136  CALL      R5 = call(R5, 1 args, -1 rets)
  0137  GETTABUP  R6 = _ENV[K41('Table')]
  0138  GETTABLE  R6 = R6[K42('IsEmpty')]
  0139  MOVE      R7 = R0
  0140  CALL      R6 = call(R6, 1 args, 1 rets)
  0141  TEST      if not R6 then   -> -130928
  0142  JMP       (jump)   -> 146
  0143  SELF      R7 = R0[K43('_OnQuestCompleted')] (self)
  0144  MOVE      R8 = R0
  0145  CALL      R6 = call(R6, 0 args, 2 rets)
  0146  RETURN    return R0..R-1
; ---------- proto82 [GetCompletedQuest] ----------
  ; fn ?  line 1037-1049 np=4 va=0 ms=13 code=28 consts=6 upvals=1 protos=0
  ;   K[0]='m_mapTypeQuestEntity'
  ;   K[1]=nil
  ;   K[2]='pairs'
  ;   K[3]='IsCompletedByScore'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-28), type(0-28), previousScore(0-28), currentScore(0-28), arrCompletedQuest(1-28), arrQuestEntity(3-28), (for generator)(8-26), (for state)(8-26), (for control)(8-26), questEntity(9-24)
  0000  NEWTABLE  R4 = {} (0 items)
  0001  GETTABLE  R5 = R0[K0('m_mapTypeQuestEntity')]
  0002  GETTABLE  R5 = R5[R1]
  0003  EQ        if R1 eq K1(nil)   -> -128250
  0004  JMP       (jump)   -> 26
  0005  GETTABUP  R6 = _ENV[K2('pairs')]
  0006  MOVE      R7 = R0
  0007  CALL      R6 = call(R6, 3 args, 1 rets)
  0008  JMP       (jump)   -> 24
  0009  SELF      R11 = R9[K3('IsCompletedByScore')] (self)
  0010  MOVE      R12 = R0
  0011  CALL      R10 = call(R10, 1 args, 2 rets)
  0012  TEST      if not R10 then   -> -131057
  0013  JMP       (jump)   -> 24
  0014  SELF      R11 = R9[K3('IsCompletedByScore')] (self)
  0015  MOVE      R12 = R0
  0016  CALL      R10 = call(R10, 1 args, 2 rets)
  0017  TEST      if not R10 then   -> -131053
  0018  JMP       (jump)   -> 24
  0019  GETTABUP  R10 = _ENV[K4('table')]
  0020  GETTABLE  R10 = R10[K5('insert')]
  0021  MOVE      R11 = R0
  0022  MOVE      R12 = R0
  0023  CALL      R10 = call(R10, 0 args, 2 rets)
  0024  TFORCALL  tforcall R6
  0025  TFORLOOP  tforloop R8(sBx=-17)   -> 9
  0026  RETURN    return R4..R3
  0027  RETURN    return R0..R-1
; ---------- proto83 [_OnQuestCompleted] ----------
  ; fn ?  line 1053-1065 np=2 va=0 ms=11 code=26 consts=7 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='IsFunction'
  ;   K[2]='OnQuestCompleted'
  ;   K[3]='Table'
  ;   K[4]='IsEmpty'
  ;   K[5]='ipairs'
  ;   K[6]='_LogQuestCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-26), arrCompletedQuest(0-26), model(2-26), (for generator)(19-25), (for state)(19-25), (for control)(19-25), _(20-23), questEntity(20-23)
  0000  SELF      R3 = R0[K0('GetModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('IsFunction')]
  0003  GETTABLE  R4 = R2[K2('OnQuestCompleted')]
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  SELF      R4 = R2[K2('OnQuestCompleted')] (self)
  0008  MOVE      R5 = R0
  0009  CALL      R3 = call(R3, 0 args, 2 rets)
  0010  GETTABUP  R3 = _ENV[K3('Table')]
  0011  GETTABLE  R3 = R3[K4('IsEmpty')]
  0012  MOVE      R4 = R0
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  TEST      if not R3 then   -> -131055
  0015  JMP       (jump)   -> 25
  0016  GETTABUP  R3 = _ENV[K5('ipairs')]
  0017  MOVE      R4 = R0
  0018  CALL      R3 = call(R3, 3 args, 1 rets)
  0019  JMP       (jump)   -> 23
  0020  SELF      R9 = R0[K6('_LogQuestCompleted')] (self)
  0021  MOVE      R10 = R0
  0022  CALL      R8 = call(R8, 0 args, 2 rets)
  0023  TFORCALL  tforcall R3
  0024  TFORLOOP  tforloop R5(sBx=-5)   -> 20
  0025  RETURN    return R0..R-1
; ---------- proto84 [TryAcquireReward] ----------
  ; fn ?  line 1074-1094 np=2 va=0 ms=9 code=39 consts=14 upvals=1 protos=0
  ;   K[0]='CanAcquireReward'
  ;   K[1]='GetRewards'
  ;   K[2]='m_eBIType'
  ;   K[3]='IsFunction'
  ;   K[4]='m_model'
  ;   K[5]='GetAcquireQuestRewardBIType'
  ;   K[6]='RewardApi'
  ;   K[7]='AcquireRewardsLogic'
  ;   K[8]='EPropertySource'
  ;   K[9]='Give'
  ;   K[10]='m_eRewardScene'
  ;   K[11]='SetRewardAcquired'
  ;   K[12]='_OnQuestRewardAcquired'
  ;   K[13]='_OnRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-39), questEntity(0-39), rewards(7-39), biType(8-39)
  0000  SELF      R3 = R1[K0('CanAcquireReward')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R3 = R1[K1('GetRewards')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABLE  R3 = R0[K2('m_eBIType')]
  0008  GETTABUP  R4 = _ENV[K3('IsFunction')]
  0009  GETTABLE  R5 = R0[K4('m_model')]
  0010  GETTABLE  R5 = R5[K5('GetAcquireQuestRewardBIType')]
  0011  CALL      R4 = call(R4, 1 args, 1 rets)
  0012  TEST      if not R4 then   -> -131058
  0013  JMP       (jump)   -> 20
  0014  GETTABLE  R4 = R0[K4('m_model')]
  0015  SELF      R5 = R4[K5('GetAcquireQuestRewardBIType')] (self)
  0016  MOVE      R6 = R0
  0017  CALL      R4 = call(R4, 1 args, 2 rets)
  0018  TESTSET   if R1 then R3   -> -129003
  0019  JMP       (jump)   -> 20
  0020  GETTABUP  R4 = _ENV[K6('RewardApi')]
  0021  GETTABLE  R4 = R4[K7('AcquireRewardsLogic')]
  0022  MOVE      R5 = R0
  0023  GETTABUP  R6 = _ENV[K8('EPropertySource')]
  0024  GETTABLE  R6 = R6[K9('Give')]
  0025  MOVE      R7 = R0
  0026  GETTABLE  R8 = R0[K10('m_eRewardScene')]
  0027  CALL      R4 = call(R4, 1 args, 4 rets)
  0028  MOVE      R2 = R0
  0029  SELF      R5 = R1[K11('SetRewardAcquired')] (self)
  0030  LOADBOOL  R6 = true
  0031  CALL      R4 = call(R4, 0 args, 2 rets)
  0032  SELF      R5 = R0[K12('_OnQuestRewardAcquired')] (self)
  0033  MOVE      R6 = R0
  0034  CALL      R4 = call(R4, 0 args, 2 rets)
  0035  SELF      R5 = R0[K13('_OnRewardAcquired')] (self)
  0036  CALL      R4 = call(R4, 0 args, 1 rets)
  0037  RETURN    return R2..R1
  0038  RETURN    return R0..R-1
; ---------- proto85 [CanAcquirePaidReward] ----------
  ; fn ?  line 1097-1105 np=1 va=0 ms=4 code=17 consts=6 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='IsFunction'
  ;   K[2]='CanAcquirePaidReward'
  ;   K[3]='Log'
  ;   K[4]='Error'
  ;   K[5]='逻辑错误'
  ;   upvals: _ENV
  ;   locals: self(0-17), model(2-17)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('IsFunction')]
  0003  GETTABLE  R3 = R1[K2('CanAcquirePaidReward')]
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 13
  0007  GETTABUP  R2 = _ENV[K3('Log')]
  0008  GETTABLE  R2 = R2[K4('Error')]
  0009  LOADK     R3 = K5 '逻辑错误'
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  LOADBOOL  R2 = false
  0012  RETURN    return R2..R1
  0013  SELF      R3 = R1[K2('CanAcquirePaidReward')] (self)
  0014  TAILCALL  tailcall(R2, 0)
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto86 [TryAcquirePaidReward] ----------
  ; fn ?  line 1109-1129 np=2 va=0 ms=8 code=36 consts=12 upvals=1 protos=0
  ;   K[0]='CanAcquirePaidReward'
  ;   K[1]='GetPaidRewards'
  ;   K[2]='RewardApi'
  ;   K[3]='FilterRewards'
  ;   K[4]='m_eRewardScene'
  ;   K[5]='AcquireRewardsLogic'
  ;   K[6]='EPropertySource'
  ;   K[7]='Buy'
  ;   K[8]='m_ePaidBIType'
  ;   K[9]='SetPaidRewardAcquired'
  ;   K[10]='_OnQuestRewardAcquired'
  ;   K[11]='_OnRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-36), questEntity(0-36), rewards(12-36)
  0000  SELF      R3 = R1[K0('CanAcquirePaidReward')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R3 = R0[K0('CanAcquirePaidReward')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  SELF      R3 = R1[K1('GetPaidRewards')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  GETTABUP  R3 = _ENV[K2('RewardApi')]
  0013  GETTABLE  R3 = R3[K3('FilterRewards')]
  0014  MOVE      R4 = R0
  0015  GETTABLE  R5 = R0[K4('m_eRewardScene')]
  0016  CALL      R3 = call(R3, 1 args, 2 rets)
  0017  MOVE      R2 = R0
  0018  GETTABUP  R3 = _ENV[K2('RewardApi')]
  0019  GETTABLE  R3 = R3[K5('AcquireRewardsLogic')]
  0020  MOVE      R4 = R0
  0021  GETTABUP  R5 = _ENV[K6('EPropertySource')]
  0022  GETTABLE  R5 = R5[K7('Buy')]
  0023  GETTABLE  R6 = R0[K8('m_ePaidBIType')]
  0024  GETTABLE  R7 = R0[K4('m_eRewardScene')]
  0025  CALL      R3 = call(R3, 0 args, 4 rets)
  0026  SELF      R4 = R1[K9('SetPaidRewardAcquired')] (self)
  0027  LOADBOOL  R5 = true
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  SELF      R4 = R0[K10('_OnQuestRewardAcquired')] (self)
  0030  MOVE      R5 = R0
  0031  CALL      R3 = call(R3, 0 args, 2 rets)
  0032  SELF      R4 = R0[K11('_OnRewardAcquired')] (self)
  0033  CALL      R3 = call(R3, 0 args, 1 rets)
  0034  RETURN    return R2..R1
  0035  RETURN    return R0..R-1
; ---------- proto87 [_OnQuestRewardAcquired] ----------
  ; fn ?  line 1133-1172 np=2 va=0 ms=9 code=69 consts=20 upvals=0 protos=0
  ;   K[0]='IsRewardAcquired'
  ;   K[1]='HasPaidRewards'
  ;   K[2]='IsPaidRewardAcquired'
  ;   K[3]='GetGroup'
  ;   K[4]='SetGroupTargetScore'
  ;   K[5]='GetQuestType'
  ;   K[6]='GetTargetScore'
  ;   K[7]='SetGroupCount'
  ;   K[8]='GetGroupCount'
  ;   K[9]=1
  ;   K[10]='_LogQuestAcquired'
  ;   K[11]='_GetCurrentQuestConfig'
  ;   K[12]='GetIndex'
  ;   K[13]='IsCycleQuest'
  ;   K[14]='_RemoveQuest'
  ;   K[15]='_CreateQuestByGroup'
  ;   K[16]=nil
  ;   K[17]='IsCompleted'
  ;   K[18]='_OnQuestCompleted'
  ;   K[19]='_LogQuestUnlocked'
  ;   locals: self(0-69), questEntity(0-69), group(16-69), newQuestConfig(36-69), questEntity(53-69)
  0000  SELF      R3 = R1[K0('IsRewardAcquired')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R3 = R1[K1('HasPaidRewards')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 14
  0009  SELF      R3 = R1[K2('IsPaidRewardAcquired')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  SELF      R3 = R1[K3('GetGroup')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  SELF      R4 = R0[K4('SetGroupTargetScore')] (self)
  0017  MOVE      R5 = R0
  0018  SELF      R7 = R1[K5('GetQuestType')] (self)
  0019  CALL      R6 = call(R6, 1 args, 1 rets)
  0020  SELF      R8 = R1[K6('GetTargetScore')] (self)
  0021  CALL      R7 = call(R7, -1 args, 1 rets)
  0022  CALL      R3 = call(R3, 0 args, -1 rets)
  0023  SELF      R4 = R0[K7('SetGroupCount')] (self)
  0024  MOVE      R5 = R0
  0025  SELF      R7 = R0[K8('GetGroupCount')] (self)
  0026  MOVE      R8 = R0
  0027  CALL      R6 = call(R6, 1 args, 2 rets)
  0028  ADD       R6 = K9(1) add R6
  0029  CALL      R3 = call(R3, 0 args, 3 rets)
  0030  SELF      R4 = R0[K10('_LogQuestAcquired')] (self)
  0031  MOVE      R5 = R0
  0032  CALL      R3 = call(R3, 0 args, 2 rets)
  0033  SELF      R4 = R0[K11('_GetCurrentQuestConfig')] (self)
  0034  MOVE      R5 = R0
  0035  CALL      R3 = call(R3, 1 args, 2 rets)
  0036  SELF      R5 = R3[K12('GetIndex')] (self)
  0037  CALL      R4 = call(R4, 1 args, 1 rets)
  0038  SELF      R6 = R1[K12('GetIndex')] (self)
  0039  CALL      R5 = call(R5, 1 args, 1 rets)
  0040  EQ        if R0 eq R5   -> -128977
  0041  JMP       (jump)   -> 47
  0042  SELF      R5 = R3[K13('IsCycleQuest')] (self)
  0043  CALL      R4 = call(R4, 1 args, 1 rets)
  0044  TEST      if not R4 then   -> -131025
  0045  JMP       (jump)   -> 47
  0046  RETURN    return R0..R-1
  0047  SELF      R5 = R0[K14('_RemoveQuest')] (self)
  0048  MOVE      R6 = R0
  0049  CALL      R4 = call(R4, 0 args, 2 rets)
  0050  SELF      R5 = R0[K15('_CreateQuestByGroup')] (self)
  0051  MOVE      R6 = R0
  0052  CALL      R4 = call(R4, 1 args, 2 rets)
  0053  EQ        if R0 eq K16(nil)   -> -128697
  0054  JMP       (jump)   -> 56
  0055  RETURN    return R0..R-1
  0056  SELF      R6 = R4[K17('IsCompleted')] (self)
  0057  CALL      R5 = call(R5, 1 args, 1 rets)
  0058  TEST      if not R5 then   -> -131012
  0059  JMP       (jump)   -> 65
  0060  SELF      R6 = R0[K18('_OnQuestCompleted')] (self)
  0061  NEWTABLE  R7 = {} (1 items)
  0062  MOVE      R8 = R0
  0063  SETLIST   setlist R7[B=1,C=1]
  0064  CALL      R5 = call(R5, 0 args, 2 rets)
  0065  SELF      R6 = R0[K19('_LogQuestUnlocked')] (self)
  0066  MOVE      R7 = R0
  0067  CALL      R5 = call(R5, 0 args, 2 rets)
  0068  RETURN    return R0..R-1
; ---------- proto88 [TryAcquireAllReward] ----------
  ; fn ?  line 1176-1190 np=1 va=0 ms=13 code=34 consts=9 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='GetKeys'
  ;   K[2]='m_mapQuestEntity'
  ;   K[3]='ipairs'
  ;   K[4]=nil
  ;   K[5]='CanAcquireReward'
  ;   K[6]='ListAppend'
  ;   K[7]='TryAcquireReward'
  ;   K[8]='_OnRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-34), questEntity(1-34), rewards(2-34), arrGroup(6-34), (for generator)(9-30), (for state)(9-30), (for control)(9-30), group(10-28)
  0000  LOADNIL   R1..R1 = nil
  0001  NEWTABLE  R2 = {} (0 items)
  0002  GETTABUP  R3 = _ENV[K0('Table')]
  0003  GETTABLE  R3 = R3[K1('GetKeys')]
  0004  GETTABLE  R4 = R0[K2('m_mapQuestEntity')]
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  GETTABUP  R4 = _ENV[K3('ipairs')]
  0007  MOVE      R5 = R0
  0008  CALL      R4 = call(R4, 3 args, 1 rets)
  0009  JMP       (jump)   -> 28
  0010  GETTABLE  R8 = R0[K2('m_mapQuestEntity')]
  0011  GETTABLE  R1 = R8[R7]
  0012  EQ        if R1 eq K4(nil)   -> -130286
  0013  JMP       (jump)   -> 28
  0014  SELF      R9 = R1[K5('CanAcquireReward')] (self)
  0015  CALL      R8 = call(R8, 1 args, 1 rets)
  0016  TEST      if not R8 then   -> -131054
  0017  JMP       (jump)   -> 28
  0018  GETTABUP  R8 = _ENV[K0('Table')]
  0019  GETTABLE  R8 = R8[K6('ListAppend')]
  0020  MOVE      R9 = R0
  0021  SELF      R11 = R0[K7('TryAcquireReward')] (self)
  0022  MOVE      R12 = R0
  0023  CALL      R10 = call(R10, -1 args, 2 rets)
  0024  CALL      R8 = call(R8, 0 args, -1 rets)
  0025  GETTABLE  R8 = R0[K2('m_mapQuestEntity')]
  0026  GETTABLE  R1 = R8[R7]
  0027  JMP       (jump)   -> 12
  0028  TFORCALL  tforcall R4
  0029  TFORLOOP  tforloop R6(sBx=-20)   -> 10
  0030  SELF      R5 = R0[K8('_OnRewardAcquired')] (self)
  0031  CALL      R4 = call(R4, 0 args, 1 rets)
  0032  RETURN    return R2..R1
  0033  RETURN    return R0..R-1
; ---------- proto89 [_OnRewardAcquired] ----------
  ; fn ?  line 1193-1198 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='OnRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABUP  R1 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R2 = R0[K1('m_model')]
  0002  GETTABLE  R2 = R2[K2('OnRewardAcquired')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R1 = R0[K1('m_model')]
  0007  SELF      R2 = R1[K2('OnRewardAcquired')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto90 [_SortQuestByGroup] ----------
  ; fn ?  line 1206-1214 np=2 va=0 ms=6 code=8 consts=2 upvals=1 protos=1
  ;   K[0]='table'
  ;   K[1]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-8), arrQuestEntity(0-8), SortByGroup(1-8)
  0000  CLOSURE   R2 = closure proto0
  0001  GETTABUP  R3 = _ENV[K0('table')]
  0002  GETTABLE  R3 = R3[K1('sort')]
  0003  MOVE      R4 = R0
  0004  MOVE      R5 = R0
  0005  CALL      R3 = call(R3, 0 args, 2 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1209-1211 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetGroup'
    ;   locals: questEntityA(0-10), questEntityB(0-10)
    0000  SELF      R3 = R0[K0('GetGroup')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetGroup')] (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
; ---------- proto91 [FilterQuests] ----------
  ; fn ?  line 1218-1227 np=2 va=0 ms=11 code=24 consts=5 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapQuestEntity'
  ;   K[2]='IsFunction'
  ;   K[3]='table'
  ;   K[4]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-24), funcFilter(0-24), arrQuestEntity(1-24), (for generator)(4-22), (for state)(4-22), (for control)(4-22), group(5-20), questEntity(5-20)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('pairs')]
  0002  GETTABLE  R4 = R0[K1('m_mapQuestEntity')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 20
  0005  GETTABUP  R8 = _ENV[K2('IsFunction')]
  0006  MOVE      R9 = R0
  0007  CALL      R8 = call(R8, 1 args, 1 rets)
  0008  TEST      if not R8 then   -> -131062
  0009  JMP       (jump)   -> 20
  0010  MOVE      R8 = R0
  0011  MOVE      R9 = R0
  0012  CALL      R8 = call(R8, 1 args, 1 rets)
  0013  TEST      if not R8 then   -> -131057
  0014  JMP       (jump)   -> 20
  0015  GETTABUP  R8 = _ENV[K3('table')]
  0016  GETTABLE  R8 = R8[K4('insert')]
  0017  MOVE      R9 = R0
  0018  MOVE      R10 = R0
  0019  CALL      R8 = call(R8, 0 args, 2 rets)
  0020  TFORCALL  tforcall R3
  0021  TFORLOOP  tforloop R5(sBx=-17)   -> 5
  0022  RETURN    return R2..R1
  0023  RETURN    return R0..R-1
; ---------- proto92 [GetAllValidQuests] ----------
  ; fn ?  line 1230-1233 np=1 va=0 ms=5 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='FilterQuests'
  ;   K[1]='ActivityQuestEntity'
  ;   K[2]='IsQuestConditionSatisfied'
  ;   K[3]='_SortQuestByGroup'
  ;   upvals: _ENV
  ;   locals: self(0-9), arrQuestEntity(4-9)
  0000  SELF      R2 = R0[K0('FilterQuests')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityQuestEntity')]
  0002  GETTABLE  R3 = R3[K2('IsQuestConditionSatisfied')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  SELF      R3 = R0[K3('_SortQuestByGroup')] (self)
  0005  MOVE      R4 = R0
  0006  TAILCALL  tailcall(R2, 0)
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto93 [GetAllValidOrCanAcquireQuests] ----------
  ; fn ?  line 1236-1243 np=1 va=0 ms=6 code=9 consts=2 upvals=0 protos=1
  ;   K[0]='FilterQuests'
  ;   K[1]='_SortQuestByGroup'
  ;   locals: self(0-9), Filter(1-9), arrQuestEntity(4-9)
  0000  CLOSURE   R1 = closure proto0
  0001  SELF      R3 = R0[K0('FilterQuests')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  SELF      R4 = R0[K1('_SortQuestByGroup')] (self)
  0005  MOVE      R5 = R0
  0006  TAILCALL  tailcall(R3, 0)
  0007  RETURN    return R3..R2
  0008  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1238-1240 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
    ;   K[0]='IsQuestConditionSatisfied'
    ;   K[1]='CanAcquireReward'
    ;   locals: questEntity(0-8)
    0000  SELF      R2 = R0[K0('IsQuestConditionSatisfied')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131067
    0003  JMP       (jump)   -> 6
    0004  SELF      R2 = R0[K1('CanAcquireReward')] (self)
    0005  CALL      R1 = call(R1, 1 args, 1 rets)
    0006  RETURN    return R1..R0
    0007  RETURN    return R0..R-1
; ---------- proto94 [GetAllValidOrCanAcquireOrAcquiredQuests] ----------
  ; fn ?  line 1245-1251 np=1 va=0 ms=6 code=9 consts=2 upvals=0 protos=1
  ;   K[0]='FilterQuests'
  ;   K[1]='_SortQuestByGroup'
  ;   locals: self(0-9), Filter(1-9), arrQuestEntity(4-9)
  0000  CLOSURE   R1 = closure proto0
  0001  SELF      R3 = R0[K0('FilterQuests')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  SELF      R4 = R0[K1('_SortQuestByGroup')] (self)
  0005  MOVE      R5 = R0
  0006  TAILCALL  tailcall(R3, 0)
  0007  RETURN    return R3..R2
  0008  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1246-1248 np=1 va=0 ms=3 code=12 consts=3 upvals=0 protos=0
    ;   K[0]='IsQuestConditionSatisfied'
    ;   K[1]='CanAcquireReward'
    ;   K[2]='IsRewardAcquired'
    ;   locals: questEntity(0-12)
    0000  SELF      R2 = R0[K0('IsQuestConditionSatisfied')] (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('CanAcquireReward')] (self)
    0005  CALL      R1 = call(R1, 1 args, 1 rets)
    0006  TEST      if not R1 then   -> -131063
    0007  JMP       (jump)   -> 10
    0008  SELF      R2 = R0[K2('IsRewardAcquired')] (self)
    0009  CALL      R1 = call(R1, 1 args, 1 rets)
    0010  RETURN    return R1..R0
    0011  RETURN    return R0..R-1
; ---------- proto95 [GetAllCanAcquireQuests] ----------
  ; fn ?  line 1254-1269 np=2 va=0 ms=7 code=14 consts=3 upvals=0 protos=1
  ;   K[0]='CanAcquirePaidReward'
  ;   K[1]='FilterQuests'
  ;   K[2]='_SortQuestByGroup'
  ;   locals: self(0-14), includePaid(0-14), Filter(6-14), arrQuestEntity(9-14)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  SELF      R3 = R0[K0('CanAcquirePaidReward')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  MOVE      R1 = R0
  0005  CLOSURE   R2 = closure proto0
  0006  SELF      R4 = R0[K1('FilterQuests')] (self)
  0007  MOVE      R5 = R0
  0008  CALL      R3 = call(R3, 1 args, 2 rets)
  0009  SELF      R5 = R0[K2('_SortQuestByGroup')] (self)
  0010  MOVE      R6 = R0
  0011  TAILCALL  tailcall(R4, 0)
  0012  RETURN    return R4..R3
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1258-1266 np=1 va=0 ms=3 code=18 consts=2 upvals=1 protos=0
    ;   K[0]='CanAcquireReward'
    ;   K[1]='CanAcquirePaidReward'
    ;   upvals: includePaid
    ;   locals: questEntity(0-18)
    0000  SELF      R2 = R0[K0('CanAcquireReward')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131068
    0003  JMP       (jump)   -> 6
    0004  LOADBOOL  R1 = true
    0005  RETURN    return R1..R0
    0006  GETUPVAL  R1 = includePaid
    0007  TEST      if not R1 then   -> -131063
    0008  JMP       (jump)   -> 15
    0009  SELF      R2 = R0[K1('CanAcquirePaidReward')] (self)
    0010  CALL      R1 = call(R1, 1 args, 1 rets)
    0011  TEST      if not R1 then   -> -131059
    0012  JMP       (jump)   -> 15
    0013  LOADBOOL  R1 = true
    0014  RETURN    return R1..R0
    0015  LOADBOOL  R1 = false
    0016  RETURN    return R1..R0
    0017  RETURN    return R0..R-1
; ---------- proto96 [GetCanAcquireQuestCount] ----------
  ; fn ?  line 1272-1274 np=2 va=0 ms=5 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='GetAllCanAcquireQuests'
  ;   locals: self(0-6), includePaid(0-6)
  0000  SELF      R3 = R0[K0('GetAllCanAcquireQuests')] (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
; ---------- proto97 [GetCanAcquireRewardCount] ----------
  ; fn ?  line 1277-1291 np=2 va=0 ms=10 code=26 consts=6 upvals=1 protos=0
  ;   K[0]='CanAcquirePaidReward'
  ;   K[1]=0
  ;   K[2]='pairs'
  ;   K[3]='m_mapQuestEntity'
  ;   K[4]='CanAcquireReward'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-26), includePaid(0-26), count(6-26), (for generator)(9-24), (for state)(9-24), (for control)(9-24), group(10-22), questEntity(10-22)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  SELF      R3 = R0[K0('CanAcquirePaidReward')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  MOVE      R1 = R0
  0005  LOADK     R2 = K1 0
  0006  GETTABUP  R3 = _ENV[K2('pairs')]
  0007  GETTABLE  R4 = R0[K3('m_mapQuestEntity')]
  0008  CALL      R3 = call(R3, 3 args, 1 rets)
  0009  JMP       (jump)   -> 22
  0010  SELF      R9 = R7[K4('CanAcquireReward')] (self)
  0011  CALL      R8 = call(R8, 1 args, 1 rets)
  0012  TEST      if not R8 then   -> -131058
  0013  JMP       (jump)   -> 15
  0014  ADD       R2 = K5(1) add R2
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 22
  0017  SELF      R9 = R7[K0('CanAcquirePaidReward')] (self)
  0018  CALL      R8 = call(R8, 1 args, 1 rets)
  0019  TEST      if not R8 then   -> -131051
  0020  JMP       (jump)   -> 22
  0021  ADD       R2 = K5(1) add R2
  0022  TFORCALL  tforcall R3
  0023  TFORLOOP  tforloop R5(sBx=-14)   -> 10
  0024  RETURN    return R2..R1
  0025  RETURN    return R0..R-1
; ---------- proto98 [GetAllCompletedQuests] ----------
  ; fn ?  line 1294-1301 np=1 va=0 ms=6 code=9 consts=2 upvals=0 protos=1
  ;   K[0]='FilterQuests'
  ;   K[1]='_SortQuestByGroup'
  ;   locals: self(0-9), Filter(1-9), arrQuestEntity(4-9)
  0000  CLOSURE   R1 = closure proto0
  0001  SELF      R3 = R0[K0('FilterQuests')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  SELF      R4 = R0[K1('_SortQuestByGroup')] (self)
  0005  MOVE      R5 = R0
  0006  TAILCALL  tailcall(R3, 0)
  0007  RETURN    return R3..R2
  0008  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1296-1298 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
    ;   K[0]='IsCompleted'
    ;   locals: questEntity(0-4)
    0000  SELF      R2 = R0[K0('IsCompleted')] (self)
    0001  TAILCALL  tailcall(R1, 0)
    0002  RETURN    return R1..R0
    0003  RETURN    return R0..R-1
; ---------- proto99 [GetCompletedQuestCount] ----------
  ; fn ?  line 1304-1306 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='GetAllCompletedQuests'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetAllCompletedQuests')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LEN       R1 = len R0
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto100 [IsAllQuestAcquired] ----------
  ; fn ?  line 1309-1322 np=1 va=0 ms=8 code=31 consts=6 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapQuestEntity'
  ;   K[2]='IsCompleted'
  ;   K[3]='IsRewardAcquired'
  ;   K[4]='HasPaidRewards'
  ;   K[5]='IsPaidRewardAcquired'
  ;   upvals: _ENV
  ;   locals: self(0-31), (for generator)(3-28), (for state)(3-28), (for control)(3-28), group(4-26), questEntity(4-26)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABLE  R2 = R0[K1('m_mapQuestEntity')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 26
  0004  SELF      R7 = R5[K2('IsCompleted')] (self)
  0005  CALL      R6 = call(R6, 1 args, 1 rets)
  0006  TEST      if not R6 then   -> -131063
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R6 = false
  0009  RETURN    return R6..R5
  0010  SELF      R7 = R5[K3('IsRewardAcquired')] (self)
  0011  CALL      R6 = call(R6, 1 args, 1 rets)
  0012  TEST      if not R6 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R6 = false
  0015  RETURN    return R6..R5
  0016  SELF      R7 = R5[K4('HasPaidRewards')] (self)
  0017  CALL      R6 = call(R6, 1 args, 1 rets)
  0018  TEST      if not R6 then   -> -131052
  0019  JMP       (jump)   -> 26
  0020  SELF      R7 = R5[K5('IsPaidRewardAcquired')] (self)
  0021  CALL      R6 = call(R6, 1 args, 1 rets)
  0022  TEST      if not R6 then   -> -131047
  0023  JMP       (jump)   -> 26
  0024  LOADBOOL  R6 = false
  0025  RETURN    return R6..R5
  0026  TFORCALL  tforcall R1
  0027  TFORLOOP  tforloop R3(sBx=-24)   -> 4
  0028  LOADBOOL  R1 = true
  0029  RETURN    return R1..R0
  0030  RETURN    return R0..R-1
; ---------- proto101 [IsAllQuestCompleted] ----------
  ; fn ?  line 1325-1332 np=1 va=0 ms=8 code=15 consts=3 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapQuestEntity'
  ;   K[2]='IsCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-15), (for generator)(3-12), (for state)(3-12), (for control)(3-12), group(4-10), questEntity(4-10)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABLE  R2 = R0[K1('m_mapQuestEntity')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 10
  0004  SELF      R7 = R5[K2('IsCompleted')] (self)
  0005  CALL      R6 = call(R6, 1 args, 1 rets)
  0006  TEST      if not R6 then   -> -131063
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R6 = false
  0009  RETURN    return R6..R5
  0010  TFORCALL  tforcall R1
  0011  TFORLOOP  tforloop R3(sBx=-8)   -> 4
  0012  LOADBOOL  R1 = true
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto102 [IsQuestLoaded] ----------
  ; fn ?  line 1334-1336 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapQuestEntity'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapQuestEntity')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  NOT       R1 = not R0
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto103 [GetIconConfigForDisplay] ----------
  ; fn ?  line 1347-1354 np=2 va=0 ms=9 code=18 consts=3 upvals=1 protos=0
  ;   K[0]='ActivityQuestTaskIconFuncConfig'
  ;   K[1]='IsFunction'
  ;   K[2]=1
  ;   upvals: _ENV
  ;   locals: self(0-18), type(0-18), funcIconConfig(2-18), imageFileConfigName(9-13), scale(9-13), funcTipButton(9-13)
  0000  GETTABUP  R2 = _ENV[K0('ActivityQuestTaskIconFuncConfig')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABUP  R3 = _ENV[K1('IsFunction')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 13
  0007  MOVE      R3 = R0
  0008  CALL      R3 = call(R3, 3 args, 0 rets)
  0009  MOVE      R6 = R0
  0010  MOVE      R7 = R0
  0011  MOVE      R8 = R0
  0012  RETURN    return R6..R5
  0013  LOADNIL   R3..R3 = nil
  0014  LOADK     R4 = K2 1
  0015  LOADNIL   R5..R5 = nil
  0016  RETURN    return R3..R2
  0017  RETURN    return R0..R-1
; ---------- proto104 [GetDescTextForDisplay] ----------
  ; fn ?  line 1360-1373 np=3 va=0 ms=11 code=30 consts=10 upvals=1 protos=0
  ;   K[0]='ActivityQuestTaskDescTextKey'
  ;   K[1]='IsFunction'
  ;   K[2]='quest_'
  ;   K[3]='_single'
  ;   K[4]=1
  ;   K[5]='_multiple'
  ;   K[6]='tostring'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   upvals: _ENV
  ;   locals: self(0-30), type(0-30), targetScore(0-30), funcTextKey(2-30), textKey(3-30), prefix(12-30), suffix(13-30)
  0000  GETTABUP  R3 = _ENV[K0('ActivityQuestTaskDescTextKey')]
  0001  GETTABLE  R3 = R3[R1]
  0002  MOVE      R4 = R0
  0003  GETTABUP  R5 = _ENV[K1('IsFunction')]
  0004  MOVE      R6 = R0
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  TEST      if not R5 then   -> -131064
  0007  JMP       (jump)   -> 11
  0008  MOVE      R5 = R0
  0009  CALL      R5 = call(R5, 1 args, 0 rets)
  0010  MOVE      R4 = R0
  0011  LOADK     R5 = K2 'quest_'
  0012  LOADK     R6 = K3 '_single'
  0013  LT        if R0 lt R2   -> 2065
  0014  JMP       (jump)   -> 16
  0015  LOADK     R6 = K5 '_multiple'
  0016  MOVE      R7 = R0
  0017  GETTABUP  R8 = _ENV[K6('tostring')]
  0018  MOVE      R9 = R0
  0019  CALL      R8 = call(R8, 1 args, 1 rets)
  0020  MOVE      R9 = R0
  0021  CONCAT    R4 = concat(R4..R7)
  0022  GETTABUP  R7 = _ENV[K7('GM')]
  0023  GETTABLE  R7 = R7[K8('GameTextModel')]
  0024  SELF      R8 = R7[K9('GetText')] (self)
  0025  MOVE      R9 = R0
  0026  MOVE      R10 = R0
  0027  TAILCALL  tailcall(R7, 0)
  0028  RETURN    return R7..R6
  0029  RETURN    return R0..R-1
; ---------- proto105 [GetHintTextForDisplay] ----------
  ; fn ?  line 1378-1388 np=2 va=0 ms=9 code=26 consts=8 upvals=1 protos=0
  ;   K[0]='ActivityQuestTaskHintTextKey'
  ;   K[1]='IsFunction'
  ;   K[2]='quest_'
  ;   K[3]='_hint'
  ;   K[4]='tostring'
  ;   K[5]='GM'
  ;   K[6]='GameTextModel'
  ;   K[7]='GetText'
  ;   upvals: _ENV
  ;   locals: self(0-26), type(0-26), funcHintTextKey(2-26), textKey(3-26), prefix(12-26), suffix(13-26)
  0000  GETTABUP  R2 = _ENV[K0('ActivityQuestTaskHintTextKey')]
  0001  GETTABLE  R2 = R2[R1]
  0002  MOVE      R3 = R0
  0003  GETTABUP  R4 = _ENV[K1('IsFunction')]
  0004  MOVE      R5 = R0
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  TEST      if not R4 then   -> -131064
  0007  JMP       (jump)   -> 11
  0008  MOVE      R4 = R0
  0009  CALL      R4 = call(R4, 1 args, 0 rets)
  0010  MOVE      R3 = R0
  0011  LOADK     R4 = K2 'quest_'
  0012  LOADK     R5 = K3 '_hint'
  0013  MOVE      R6 = R0
  0014  GETTABUP  R7 = _ENV[K4('tostring')]
  0015  MOVE      R8 = R0
  0016  CALL      R7 = call(R7, 1 args, 1 rets)
  0017  MOVE      R8 = R0
  0018  CONCAT    R3 = concat(R3..R6)
  0019  GETTABUP  R6 = _ENV[K5('GM')]
  0020  GETTABLE  R6 = R6[K6('GameTextModel')]
  0021  SELF      R7 = R6[K7('GetText')] (self)
  0022  MOVE      R8 = R0
  0023  TAILCALL  tailcall(R6, 0)
  0024  RETURN    return R6..R5
  0025  RETURN    return R0..R-1
; ---------- proto106 [_LogQuestUnlocked] ----------
  ; fn ?  line 1394-1407 np=2 va=0 ms=9 code=27 consts=10 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='LogQuestUnlocked'
  ;   K[3]='m_eTaskUnlockBIType'
  ;   K[4]=nil
  ;   K[5]='GM'
  ;   K[6]='BIManager'
  ;   K[7]='LogAction'
  ;   K[8]='GetQuestType'
  ;   K[9]='GetConfigScore'
  ;   upvals: _ENV
  ;   locals: self(0-27), questEntity(0-27)
  0000  GETTABUP  R2 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R3 = R0[K1('m_model')]
  0002  GETTABLE  R3 = R3[K2('LogQuestUnlocked')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R2 = R0[K1('m_model')]
  0007  SELF      R3 = R2[K2('LogQuestUnlocked')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
  0011  GETTABLE  R2 = R0[K3('m_eTaskUnlockBIType')]
  0012  EQ        if R0 eq K4(nil)   -> -129774
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  GETTABUP  R2 = _ENV[K5('GM')]
  0016  GETTABLE  R2 = R2[K6('BIManager')]
  0017  SELF      R3 = R2[K7('LogAction')] (self)
  0018  GETTABLE  R4 = R0[K3('m_eTaskUnlockBIType')]
  0019  NEWTABLE  R5 = {} (0 items)
  0020  SELF      R7 = R1[K8('GetQuestType')] (self)
  0021  CALL      R6 = call(R6, 1 args, 1 rets)
  0022  SELF      R8 = R1[K9('GetConfigScore')] (self)
  0023  CALL      R7 = call(R7, 1 args, 1 rets)
  0024  SETTABLE  R5[R6] = R7
  0025  CALL      R2 = call(R2, 0 args, 3 rets)
  0026  RETURN    return R0..R-1
; ---------- proto107 [_LogQuestAcquired] ----------
  ; fn ?  line 1409-1429 np=2 va=0 ms=11 code=47 consts=16 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='LogQuestAcquired'
  ;   K[3]='m_eTaskFinishBIType'
  ;   K[4]=nil
  ;   K[5]='GetRewards'
  ;   K[6]='ipairs'
  ;   K[7]='PROPERTY_TYPE'
  ;   K[8]='PROPERTY_COUNT'
  ;   K[9]='GM'
  ;   K[10]='BIManager'
  ;   K[11]='LogAction'
  ;   K[12]='GetQuestType'
  ;   K[13]='GetConfigScore'
  ;   K[14]='rewards'
  ;   K[15]='TableToString'
  ;   upvals: _ENV
  ;   locals: self(0-47), questEntity(0-47), rewards(17-47), biRewards(18-47), (for generator)(21-29), (for state)(21-29), (for control)(21-29), _(22-27), rawReward(22-27)
  0000  GETTABUP  R2 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R3 = R0[K1('m_model')]
  0002  GETTABLE  R3 = R3[K2('LogQuestAcquired')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R2 = R0[K1('m_model')]
  0007  SELF      R3 = R2[K2('LogQuestAcquired')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
  0011  GETTABLE  R2 = R0[K3('m_eTaskFinishBIType')]
  0012  EQ        if R0 eq K4(nil)   -> -129774
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  SELF      R3 = R1[K5('GetRewards')] (self)
  0016  CALL      R2 = call(R2, 1 args, 1 rets)
  0017  NEWTABLE  R3 = {} (0 items)
  0018  GETTABUP  R4 = _ENV[K6('ipairs')]
  0019  MOVE      R5 = R0
  0020  CALL      R4 = call(R4, 3 args, 1 rets)
  0021  JMP       (jump)   -> 27
  0022  GETTABUP  R9 = _ENV[K7('PROPERTY_TYPE')]
  0023  GETTABLE  R9 = R8[R9]
  0024  GETTABUP  R10 = _ENV[K8('PROPERTY_COUNT')]
  0025  GETTABLE  R10 = R8[R10]
  0026  SETTABLE  R3[R9] = R10
  0027  TFORCALL  tforcall R4
  0028  TFORLOOP  tforloop R6(sBx=-7)   -> 22
  0029  GETTABUP  R4 = _ENV[K9('GM')]
  0030  GETTABLE  R4 = R4[K10('BIManager')]
  0031  SELF      R5 = R4[K11('LogAction')] (self)
  0032  GETTABLE  R6 = R0[K3('m_eTaskFinishBIType')]
  0033  NEWTABLE  R7 = {} (0 items)
  0034  SELF      R9 = R1[K12('GetQuestType')] (self)
  0035  CALL      R8 = call(R8, 1 args, 1 rets)
  0036  SELF      R10 = R1[K13('GetConfigScore')] (self)
  0037  CALL      R9 = call(R9, 1 args, 1 rets)
  0038  SETTABLE  R7[R8] = R9
  0039  GETTABUP  R8 = _ENV[K9('GM')]
  0040  GETTABLE  R8 = R8[K10('BIManager')]
  0041  SELF      R9 = R8[K15('TableToString')] (self)
  0042  MOVE      R10 = R0
  0043  CALL      R8 = call(R8, 1 args, 2 rets)
  0044  SETTABLE  R7[K14('rewards')] = R8
  0045  CALL      R4 = call(R4, 0 args, 3 rets)
  0046  RETURN    return R0..R-1
; ---------- proto108 [_LogQuestCompleted] ----------
  ; fn ?  line 1431-1436 np=2 va=0 ms=5 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='LogQuestCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-12), questEntity(0-12)
  0000  GETTABUP  R2 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R3 = R0[K1('m_model')]
  0002  GETTABLE  R3 = R3[K2('LogQuestCompleted')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R2 = R0[K1('m_model')]
  0007  SELF      R3 = R2[K2('LogQuestCompleted')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
  0011  RETURN    return R0..R-1
; ---------- proto109 [_LogQuestAutoFinished] ----------
  ; fn ?  line 1438-1443 np=2 va=0 ms=5 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='LogQuestAutoFinished'
  ;   upvals: _ENV
  ;   locals: self(0-12), questEntity(0-12)
  0000  GETTABUP  R2 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R3 = R0[K1('m_model')]
  0002  GETTABLE  R3 = R3[K2('LogQuestAutoFinished')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R2 = R0[K1('m_model')]
  0007  SELF      R3 = R2[K2('LogQuestAutoFinished')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
  0011  RETURN    return R0..R-1
; ---------- proto110 [_LogQuestReplaced] ----------
  ; fn ?  line 1445-1450 np=2 va=0 ms=5 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='IsFunction'
  ;   K[1]='m_model'
  ;   K[2]='LogQuestReplaced'
  ;   upvals: _ENV
  ;   locals: self(0-12), questEntity(0-12)
  0000  GETTABUP  R2 = _ENV[K0('IsFunction')]
  0001  GETTABLE  R3 = R0[K1('m_model')]
  0002  GETTABLE  R3 = R3[K2('LogQuestReplaced')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABLE  R2 = R0[K1('m_model')]
  0007  SELF      R3 = R2[K2('LogQuestReplaced')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
  0011  RETURN    return R0..R-1
; ---------- proto111 [TestCompleteAllQuest] ----------
  ; fn ?  line 1456-1463 np=1 va=0 ms=8 code=21 consts=7 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='m_mapQuestEntity'
  ;   K[5]='pairs'
  ;   K[6]='TestFinishQuest'
  ;   upvals: _ENV
  ;   locals: self(0-21), (for generator)(15-20), (for state)(15-20), (for control)(15-20), _(16-18), questEntity(16-18)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 11
  0005  GETTABUP  R1 = _ENV[K2('Table')]
  0006  GETTABLE  R1 = R1[K3('IsEmpty')]
  0007  GETTABLE  R2 = R0[K4('m_mapQuestEntity')]
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R1 = _ENV[K5('pairs')]
  0013  GETTABLE  R2 = R0[K4('m_mapQuestEntity')]
  0014  CALL      R1 = call(R1, 3 args, 1 rets)
  0015  JMP       (jump)   -> 18
  0016  SELF      R7 = R5[K6('TestFinishQuest')] (self)
  0017  CALL      R6 = call(R6, 0 args, 1 rets)
  0018  TFORCALL  tforcall R1
  0019  TFORLOOP  tforloop R3(sBx=-4)   -> 16
  0020  RETURN    return R0..R-1
