# AlbumActivity_Model_AlbumBaseModel_1101.luac
; fn @AlbumBaseModel.lua  line 0-0 np=0 va=1 ms=5 code=337 consts=148 upvals=1 protos=92
;   K[0]='AlbumGoldCardStarBase'
;   K[1]=100
;   K[2]='AlbumStarType'
;   K[3]='star1'
;   K[4]=1
;   K[5]='star2'
;   K[6]=2
;   K[7]='star3'
;   K[8]=3
;   K[9]='star4'
;   K[10]=4
;   K[11]='star5'
;   K[12]=5
;   K[13]='gstar1'
;   K[14]='gstar2'
;   K[15]='gstar3'
;   K[16]='gstar4'
;   K[17]='gstar5'
;   K[18]='empty'
;   K[19]='AlbumStarTypePrefix'
;   K[20]='Normal'
;   K[21]='star'
;   K[22]='Gold'
;   K[23]='gstar'
;   K[24]='RedHintKey'
;   K[25]='redHintKey'
;   K[26]='NotNewCardStarPre'
;   K[27]='notNewCardStar'
;   K[28]='NotNewCardPackNum'
;   K[29]='notNewCardPack'
;   K[30]='AlreadyCycleCardKey'
;   K[31]='WindowCardTotalProgress'
;   K[32]='winCardTotalProgress'
;   K[33]='WindowSetProgressPrefix'
;   K[34]='winSetProgress_'
;   K[35]='AlbumRound'
;   K[36]='round'
;   K[37]='HasShowedEnding'
;   K[38]='hasShowedEnding'
;   K[39]='NewCardLuckLimitConfigKey'
;   K[40]='album_newcard_luck_limit'
;   K[41]='AlbumBaseModel'
;   K[42]='setmetatable'
;   K[43]='eSetRewardBIType'
;   K[44]='EBIType'
;   K[45]='AlbumSetRewards'
;   K[46]='eFinalRewardBIType'
;   K[47]='AlbumRewards'
;   K[48]='BaseActivityModel'
;   K[49]='__index'
;   K[50]='EventKey'
;   K[51]='RedRefresh'
;   K[52]='GetNewCard'
;   K[53]='AlbumStarBIName'
;   K[54]='album_star'
;   K[55]='Init'
;   K[56]='_DropData'
;   K[57]='GetResourceLabels'
;   K[58]='GetEvent'
;   K[59]='GetActivityDefinition'
;   K[60]='LoadDefaultConfig'
;   K[61]='_LoadOtherServerConfig'
;   K[62]='LoadCardLimitConfig'
;   K[63]='UpdateContent'
;   K[64]='CheckCardNumEnough'
;   K[65]='GetRound'
;   K[66]='SetRound'
;   K[67]='GetConfigRound'
;   K[68]='HasFinishedAllRound'
;   K[69]='HasCollectAllCard'
;   K[70]='CanEnterNextRound'
;   K[71]='EnterNextRound'
;   K[72]='ShowRedPoint'
;   K[73]='IsShowRedPointIcon'
;   K[74]='GetRedPointInfoBySetID'
;   K[75]='HideRedPoint'
;   K[76]='AlbumBaseModel'
;   K[77]='SaveRedData'
;   K[78]='_UpdateProgress'
;   K[79]='GetAlbumConfig'
;   K[80]='GetAlbumPack'
;   K[81]='GetCardSets'
;   K[82]='GetCardSetRewards'
;   K[83]='GetCardInfo'
;   K[84]='GetSetCollectProgress'
;   K[85]='GetAlbumCollectProgress'
;   K[86]='GetSetCompleteProgress'
;   K[87]='GetNewCardLuckLimitNum'
;   K[88]='GetCardCountByStar'
;   K[89]='GetNotNewCardStarCount'
;   K[90]='SetNotNewCardStarCount'
;   K[91]='GetCardCountNoRepeatByStar'
;   K[92]='AddNotNewCardStarCount'
;   K[93]='IsGoldCard'
;   K[94]='IsGoldSet'
;   K[95]='IsGoldStar'
;   K[96]='GetShowStar'
;   K[97]='GetCardCount'
;   K[98]='AcquireCard'
;   K[99]='AlbumBaseModel'
;   K[100]='RandomAcquireCard'
;   K[101]='FilterCardsByStar'
;   K[102]='RandomSelectUnFinishedStar'
;   K[103]='_OpenPack'
;   K[104]='GetStarNumber'
;   K[105]='GetGachaCardsByStar'
;   K[106]='GetNewGachaCard'
;   K[107]='CheckPityGachaCard'
;   K[108]='CanPositiveBuff'
;   K[109]='RemoveDuplicatesCards'
;   K[110]='GetUncollectedCardsByStarLevel'
;   K[111]='GetUncollectedLastCardInSet'
;   K[112]='RandomSelectStar'
;   K[113]='CompareCard'
;   K[114]='IsExistCard'
;   K[115]='IsExistCardSet'
;   K[116]='IsAllGoldCardUncollect'
;   K[117]='AddTestLog'
;   K[118]='GetCardPicId'
;   K[119]='GetCardSetPicId'
;   K[120]='GetCardName'
;   K[121]='GetCustomCardBackImgName'
;   K[122]='GetCustomCardFrontImgName'
;   K[123]='SaveCycleCardData'
;   K[124]='AddSurplusCard'
;   K[125]='UpdateSurplusCardData'
;   K[126]='GetSurplusCardStar'
;   K[127]='New'
;   K[128]='Compare'
;   K[129]='FindBestCombination'
;   K[130]='SelectCardsByComb'
;   K[131]='CheckWillRemoveCards'
;   K[132]='RemoveCards'
;   K[133]='GetWindowCardTotalProgress'
;   K[134]='SetWindowCardTotalProgress'
;   K[135]='GetWindowSetProgress'
;   K[136]='SetWindowSetProgress'
;   K[137]='SetHasShowedEnding'
;   K[138]='TryOpenSetRewardWindow'
;   K[139]='GetAcquiredRoundRewards'
;   K[140]='ResetAcquiredRoundRewards'
;   K[141]='SetNewCardId'
;   K[142]='GetNewCardId'
;   K[143]='SetAcquiredBadgeId'
;   K[144]='GetAcquiredBadgeId'
;   K[145]='TestCompleteNormalCard'
;   K[146]='GetAllCardsMap'
;   K[147]='GetAllSetsMap'
;   upvals: _ENV
;   locals: DBKey(37-337), ConfigKey(39-337), CombNode(271-337)
0000  SETTABUP  _ENV[K0('AlbumGoldCardStarBase')] = K1(100)
0001  NEWTABLE  R0 = {} (0 items)
0002  SETTABLE  R0[K3('star1')] = K4(1)
0003  SETTABLE  R0[K5('star2')] = K6(2)
0004  SETTABLE  R0[K7('star3')] = K8(3)
0005  SETTABLE  R0[K9('star4')] = K10(4)
0006  SETTABLE  R0[K11('star5')] = K12(5)
0007  GETTABUP  R1 = _ENV[K0('AlbumGoldCardStarBase')]
0008  ADD       R1 = K4(1) add R1
0009  SETTABLE  R0[K13('gstar1')] = R1
0010  GETTABUP  R1 = _ENV[K0('AlbumGoldCardStarBase')]
0011  ADD       R1 = K6(2) add R1
0012  SETTABLE  R0[K14('gstar2')] = R1
0013  GETTABUP  R1 = _ENV[K0('AlbumGoldCardStarBase')]
0014  ADD       R1 = K8(3) add R1
0015  SETTABLE  R0[K15('gstar3')] = R1
0016  GETTABUP  R1 = _ENV[K0('AlbumGoldCardStarBase')]
0017  ADD       R1 = K10(4) add R1
0018  SETTABLE  R0[K16('gstar4')] = R1
0019  GETTABUP  R1 = _ENV[K0('AlbumGoldCardStarBase')]
0020  ADD       R1 = K12(5) add R1
0021  SETTABLE  R0[K17('gstar5')] = R1
0022  SETTABLE  R0[K18('empty')] = K18('empty')
0023  SETTABUP  _ENV[K2('AlbumStarType')] = R0
0024  NEWTABLE  R0 = {} (0 items)
0025  SETTABLE  R0[K20('Normal')] = K21('star')
0026  SETTABLE  R0[K22('Gold')] = K23('gstar')
0027  SETTABUP  _ENV[K19('AlbumStarTypePrefix')] = R0
0028  NEWTABLE  R0 = {} (0 items)
0029  SETTABLE  R0[K24('RedHintKey')] = K25('redHintKey')
0030  SETTABLE  R0[K26('NotNewCardStarPre')] = K27('notNewCardStar')
0031  SETTABLE  R0[K28('NotNewCardPackNum')] = K29('notNewCardPack')
0032  SETTABLE  R0[K30('AlreadyCycleCardKey')] = K30('AlreadyCycleCardKey')
0033  SETTABLE  R0[K31('WindowCardTotalProgress')] = K32('winCardTotalProgress')
0034  SETTABLE  R0[K33('WindowSetProgressPrefix')] = K34('winSetProgress_')
0035  SETTABLE  R0[K35('AlbumRound')] = K36('round')
0036  SETTABLE  R0[K37('HasShowedEnding')] = K38('hasShowedEnding')
0037  NEWTABLE  R1 = {} (0 items)
0038  SETTABLE  R1[K39('NewCardLuckLimitConfigKey')] = K40('album_newcard_luck_limit')
0039  GETTABUP  R2 = _ENV[K42('setmetatable')]
0040  NEWTABLE  R3 = {} (0 items)
0041  GETTABUP  R4 = _ENV[K44('EBIType')]
0042  GETTABLE  R4 = R4[K45('AlbumSetRewards')]
0043  SETTABLE  R3[K43('eSetRewardBIType')] = R4
0044  GETTABUP  R4 = _ENV[K44('EBIType')]
0045  GETTABLE  R4 = R4[K47('AlbumRewards')]
0046  SETTABLE  R3[K46('eFinalRewardBIType')] = R4
0047  GETTABUP  R4 = _ENV[K48('BaseActivityModel')]
0048  CALL      R2 = call(R2, 1 args, 2 rets)
0049  SETTABUP  _ENV[K41('AlbumBaseModel')] = R2
0050  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0051  GETTABUP  R3 = _ENV[K41('AlbumBaseModel')]
0052  SETTABLE  R2[K49('__index')] = R3
0053  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0054  NEWTABLE  R3 = {} (0 items)
0055  SETTABLE  R3[K51('RedRefresh')] = K4(1)
0056  SETTABLE  R3[K52('GetNewCard')] = K6(2)
0057  SETTABLE  R2[K50('EventKey')] = R3
0058  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0059  SETTABLE  R2[K53('AlbumStarBIName')] = K54('album_star')
0060  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0061  CLOSURE   R3 = closure proto0
0062  SETTABLE  R2[K55('Init')] = R3
0063  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0064  CLOSURE   R3 = closure proto1
0065  SETTABLE  R2[K56('_DropData')] = R3
0066  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0067  CLOSURE   R3 = closure proto2
0068  SETTABLE  R2[K57('GetResourceLabels')] = R3
0069  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0070  CLOSURE   R3 = closure proto3
0071  SETTABLE  R2[K58('GetEvent')] = R3
0072  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0073  CLOSURE   R3 = closure proto4
0074  SETTABLE  R2[K59('GetActivityDefinition')] = R3
0075  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0076  CLOSURE   R3 = closure proto5
0077  SETTABLE  R2[K60('LoadDefaultConfig')] = R3
0078  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0079  CLOSURE   R3 = closure proto6
0080  SETTABLE  R2[K61('_LoadOtherServerConfig')] = R3
0081  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0082  CLOSURE   R3 = closure proto7
0083  SETTABLE  R2[K62('LoadCardLimitConfig')] = R3
0084  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0085  CLOSURE   R3 = closure proto8
0086  SETTABLE  R2[K63('UpdateContent')] = R3
0087  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0088  CLOSURE   R3 = closure proto9
0089  SETTABLE  R2[K64('CheckCardNumEnough')] = R3
0090  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0091  CLOSURE   R3 = closure proto10
0092  SETTABLE  R2[K65('GetRound')] = R3
0093  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0094  CLOSURE   R3 = closure proto11
0095  SETTABLE  R2[K66('SetRound')] = R3
0096  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0097  CLOSURE   R3 = closure proto12
0098  SETTABLE  R2[K67('GetConfigRound')] = R3
0099  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0100  CLOSURE   R3 = closure proto13
0101  SETTABLE  R2[K68('HasFinishedAllRound')] = R3
0102  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0103  CLOSURE   R3 = closure proto14
0104  SETTABLE  R2[K69('HasCollectAllCard')] = R3
0105  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0106  CLOSURE   R3 = closure proto15
0107  SETTABLE  R2[K70('CanEnterNextRound')] = R3
0108  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0109  CLOSURE   R3 = closure proto16
0110  SETTABLE  R2[K71('EnterNextRound')] = R3
0111  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0112  CLOSURE   R3 = closure proto17
0113  SETTABLE  R2[K72('ShowRedPoint')] = R3
0114  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0115  CLOSURE   R3 = closure proto18
0116  SETTABLE  R2[K73('IsShowRedPointIcon')] = R3
0117  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0118  CLOSURE   R3 = closure proto19
0119  SETTABLE  R2[K74('GetRedPointInfoBySetID')] = R3
0120  GETTABUP  R2 = _ENV[K41('AlbumBaseModel')]
0121  CLOSURE   R3 = closure proto20
0122  SETTABLE  R2[K75('HideRedPoint')] = R3
0123  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0124  CLOSURE   R3 = closure proto21
0125  SETTABLE  R2[K77('SaveRedData')] = R3
0126  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0127  CLOSURE   R3 = closure proto22
0128  SETTABLE  R2[K78('_UpdateProgress')] = R3
0129  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0130  CLOSURE   R3 = closure proto23
0131  SETTABLE  R2[K79('GetAlbumConfig')] = R3
0132  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0133  CLOSURE   R3 = closure proto24
0134  SETTABLE  R2[K80('GetAlbumPack')] = R3
0135  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0136  CLOSURE   R3 = closure proto25
0137  SETTABLE  R2[K81('GetCardSets')] = R3
0138  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0139  CLOSURE   R3 = closure proto26
0140  SETTABLE  R2[K82('GetCardSetRewards')] = R3
0141  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0142  CLOSURE   R3 = closure proto27
0143  SETTABLE  R2[K83('GetCardInfo')] = R3
0144  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0145  CLOSURE   R3 = closure proto28
0146  SETTABLE  R2[K84('GetSetCollectProgress')] = R3
0147  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0148  CLOSURE   R3 = closure proto29
0149  SETTABLE  R2[K85('GetAlbumCollectProgress')] = R3
0150  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0151  CLOSURE   R3 = closure proto30
0152  SETTABLE  R2[K86('GetSetCompleteProgress')] = R3
0153  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0154  CLOSURE   R3 = closure proto31
0155  SETTABLE  R2[K87('GetNewCardLuckLimitNum')] = R3
0156  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0157  CLOSURE   R3 = closure proto32
0158  SETTABLE  R2[K88('GetCardCountByStar')] = R3
0159  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0160  CLOSURE   R3 = closure proto33
0161  SETTABLE  R2[K89('GetNotNewCardStarCount')] = R3
0162  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0163  CLOSURE   R3 = closure proto34
0164  SETTABLE  R2[K90('SetNotNewCardStarCount')] = R3
0165  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0166  CLOSURE   R3 = closure proto35
0167  SETTABLE  R2[K91('GetCardCountNoRepeatByStar')] = R3
0168  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0169  CLOSURE   R3 = closure proto36
0170  SETTABLE  R2[K92('AddNotNewCardStarCount')] = R3
0171  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0172  CLOSURE   R3 = closure proto37
0173  SETTABLE  R2[K93('IsGoldCard')] = R3
0174  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0175  CLOSURE   R3 = closure proto38
0176  SETTABLE  R2[K94('IsGoldSet')] = R3
0177  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0178  CLOSURE   R3 = closure proto39
0179  SETTABLE  R2[K95('IsGoldStar')] = R3
0180  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0181  CLOSURE   R3 = closure proto40
0182  SETTABLE  R2[K96('GetShowStar')] = R3
0183  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0184  CLOSURE   R3 = closure proto41
0185  SETTABLE  R2[K97('GetCardCount')] = R3
0186  GETTABUP  R2 = _ENV[K76('AlbumBaseModel')]
0187  CLOSURE   R3 = closure proto42
0188  SETTABLE  R2[K98('AcquireCard')] = R3
0189  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0190  CLOSURE   R3 = closure proto43
0191  SETTABLE  R2[K100('RandomAcquireCard')] = R3
0192  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0193  CLOSURE   R3 = closure proto44
0194  SETTABLE  R2[K101('FilterCardsByStar')] = R3
0195  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0196  CLOSURE   R3 = closure proto45
0197  SETTABLE  R2[K102('RandomSelectUnFinishedStar')] = R3
0198  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0199  CLOSURE   R3 = closure proto46
0200  SETTABLE  R2[K103('_OpenPack')] = R3
0201  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0202  CLOSURE   R3 = closure proto47
0203  SETTABLE  R2[K104('GetStarNumber')] = R3
0204  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0205  CLOSURE   R3 = closure proto48
0206  SETTABLE  R2[K105('GetGachaCardsByStar')] = R3
0207  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0208  CLOSURE   R3 = closure proto49
0209  SETTABLE  R2[K106('GetNewGachaCard')] = R3
0210  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0211  CLOSURE   R3 = closure proto50
0212  SETTABLE  R2[K107('CheckPityGachaCard')] = R3
0213  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0214  CLOSURE   R3 = closure proto51
0215  SETTABLE  R2[K108('CanPositiveBuff')] = R3
0216  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0217  CLOSURE   R3 = closure proto52
0218  SETTABLE  R2[K109('RemoveDuplicatesCards')] = R3
0219  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0220  CLOSURE   R3 = closure proto53
0221  SETTABLE  R2[K110('GetUncollectedCardsByStarLevel')] = R3
0222  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0223  CLOSURE   R3 = closure proto54
0224  SETTABLE  R2[K111('GetUncollectedLastCardInSet')] = R3
0225  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0226  CLOSURE   R3 = closure proto55
0227  SETTABLE  R2[K112('RandomSelectStar')] = R3
0228  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0229  CLOSURE   R3 = closure proto56
0230  SETTABLE  R2[K113('CompareCard')] = R3
0231  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0232  CLOSURE   R3 = closure proto57
0233  SETTABLE  R2[K114('IsExistCard')] = R3
0234  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0235  CLOSURE   R3 = closure proto58
0236  SETTABLE  R2[K115('IsExistCardSet')] = R3
0237  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0238  CLOSURE   R3 = closure proto59
0239  SETTABLE  R2[K116('IsAllGoldCardUncollect')] = R3
0240  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0241  CLOSURE   R3 = closure proto60
0242  SETTABLE  R2[K117('AddTestLog')] = R3
0243  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0244  CLOSURE   R3 = closure proto61
0245  SETTABLE  R2[K118('GetCardPicId')] = R3
0246  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0247  CLOSURE   R3 = closure proto62
0248  SETTABLE  R2[K119('GetCardSetPicId')] = R3
0249  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0250  CLOSURE   R3 = closure proto63
0251  SETTABLE  R2[K120('GetCardName')] = R3
0252  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0253  CLOSURE   R3 = closure proto64
0254  SETTABLE  R2[K121('GetCustomCardBackImgName')] = R3
0255  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0256  CLOSURE   R3 = closure proto65
0257  SETTABLE  R2[K122('GetCustomCardFrontImgName')] = R3
0258  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0259  CLOSURE   R3 = closure proto66
0260  SETTABLE  R2[K123('SaveCycleCardData')] = R3
0261  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0262  CLOSURE   R3 = closure proto67
0263  SETTABLE  R2[K124('AddSurplusCard')] = R3
0264  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0265  CLOSURE   R3 = closure proto68
0266  SETTABLE  R2[K125('UpdateSurplusCardData')] = R3
0267  GETTABUP  R2 = _ENV[K99('AlbumBaseModel')]
0268  CLOSURE   R3 = closure proto69
0269  SETTABLE  R2[K126('GetSurplusCardStar')] = R3
0270  NEWTABLE  R2 = {} (0 items)
0271  SETTABLE  R2[K49('__index')] = R2
0272  CLOSURE   R3 = closure proto70
0273  SETTABLE  R2[K127('New')] = R3
0274  CLOSURE   R3 = closure proto71
0275  SETTABLE  R2[K128('Compare')] = R3
0276  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0277  CLOSURE   R4 = closure proto72
0278  SETTABLE  R3[K129('FindBestCombination')] = R4
0279  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0280  CLOSURE   R4 = closure proto73
0281  SETTABLE  R3[K130('SelectCardsByComb')] = R4
0282  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0283  CLOSURE   R4 = closure proto74
0284  SETTABLE  R3[K131('CheckWillRemoveCards')] = R4
0285  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0286  CLOSURE   R4 = closure proto75
0287  SETTABLE  R3[K132('RemoveCards')] = R4
0288  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0289  CLOSURE   R4 = closure proto76
0290  SETTABLE  R3[K133('GetWindowCardTotalProgress')] = R4
0291  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0292  CLOSURE   R4 = closure proto77
0293  SETTABLE  R3[K134('SetWindowCardTotalProgress')] = R4
0294  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0295  CLOSURE   R4 = closure proto78
0296  SETTABLE  R3[K135('GetWindowSetProgress')] = R4
0297  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0298  CLOSURE   R4 = closure proto79
0299  SETTABLE  R3[K136('SetWindowSetProgress')] = R4
0300  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0301  CLOSURE   R4 = closure proto80
0302  SETTABLE  R3[K37('HasShowedEnding')] = R4
0303  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0304  CLOSURE   R4 = closure proto81
0305  SETTABLE  R3[K137('SetHasShowedEnding')] = R4
0306  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0307  CLOSURE   R4 = closure proto82
0308  SETTABLE  R3[K138('TryOpenSetRewardWindow')] = R4
0309  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0310  CLOSURE   R4 = closure proto83
0311  SETTABLE  R3[K139('GetAcquiredRoundRewards')] = R4
0312  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0313  CLOSURE   R4 = closure proto84
0314  SETTABLE  R3[K140('ResetAcquiredRoundRewards')] = R4
0315  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0316  CLOSURE   R4 = closure proto85
0317  SETTABLE  R3[K141('SetNewCardId')] = R4
0318  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0319  CLOSURE   R4 = closure proto86
0320  SETTABLE  R3[K142('GetNewCardId')] = R4
0321  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0322  CLOSURE   R4 = closure proto87
0323  SETTABLE  R3[K143('SetAcquiredBadgeId')] = R4
0324  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0325  CLOSURE   R4 = closure proto88
0326  SETTABLE  R3[K144('GetAcquiredBadgeId')] = R4
0327  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0328  CLOSURE   R4 = closure proto89
0329  SETTABLE  R3[K145('TestCompleteNormalCard')] = R4
0330  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0331  CLOSURE   R4 = closure proto90
0332  SETTABLE  R3[K146('GetAllCardsMap')] = R4
0333  GETTABUP  R3 = _ENV[K99('AlbumBaseModel')]
0334  CLOSURE   R4 = closure proto91
0335  SETTABLE  R3[K147('GetAllSetsMap')] = R4
0336  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 100-103 np=1 va=1 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Init'
  ;   K[2]='LoadDefaultConfig'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  SELF      R2 = R0[K2('LoadDefaultConfig')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto1 [_DropData] ----------
  ; fn ?  line 105-111 np=1 va=0 ms=3 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_acquiredBadgeId'
  ;   K[3]=nil
  ;   K[4]='ResetAcquiredRoundRewards'
  ;   K[5]='LoadDefaultConfig'
  ;   K[6]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SETTABLE  R0[K2('m_acquiredBadgeId')] = K3(nil)
  0005  SELF      R2 = R0[K4('ResetAcquiredRoundRewards')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  SELF      R2 = R0[K5('LoadDefaultConfig')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  SELF      R2 = R0[K6('UpdateContent')] (self)
  0010  CALL      R1 = call(R1, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto2 [GetResourceLabels] ----------
  ; fn ?  line 113-115 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto3 [GetEvent] ----------
  ; fn ?  line 117-119 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='event'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('event')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [GetActivityDefinition] ----------
  ; fn ?  line 122-124 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [LoadDefaultConfig] ----------
  ; fn ?  line 127-142 np=1 va=0 ms=6 code=33 consts=11 upvals=2 protos=0
  ;   K[0]='m_redPointData'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='RedHintKey'
  ;   K[4]='DB_VALUE_KEY'
  ;   K[5]=nil
  ;   K[6]=''
  ;   K[7]='json'
  ;   K[8]='decode'
  ;   K[9]='m_alReadyrecyleCards'
  ;   K[10]='AlreadyCycleCardKey'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-33), strRedCache(7-33), strCycleCardsCache(23-33)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_redPointData')] = R1
  0002  GETTABLE  R1 = R0[K1('m_dbTable')]
  0003  SELF      R2 = R1[K2('GetValue')] (self)
  0004  GETTABUP  R3 = DBKey[K3('RedHintKey')]
  0005  GETTABUP  R4 = _ENV[K4('DB_VALUE_KEY')]
  0006  CALL      R1 = call(R1, 1 args, 3 rets)
  0007  EQ        if R1 eq K5(nil)   -> -130290
  0008  JMP       (jump)   -> 16
  0009  EQ        if R1 eq K6('')   -> -130287
  0010  JMP       (jump)   -> 16
  0011  GETTABUP  R2 = _ENV[K7('json')]
  0012  GETTABLE  R2 = R2[K8('decode')]
  0013  MOVE      R3 = R0
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  SETTABLE  R0[K0('m_redPointData')] = R2
  0016  NEWTABLE  R2 = {} (0 items)
  0017  SETTABLE  R0[K9('m_alReadyrecyleCards')] = R2
  0018  GETTABLE  R2 = R0[K1('m_dbTable')]
  0019  SELF      R3 = R2[K2('GetValue')] (self)
  0020  GETTABUP  R4 = DBKey[K10('AlreadyCycleCardKey')]
  0021  GETTABUP  R5 = _ENV[K4('DB_VALUE_KEY')]
  0022  CALL      R2 = call(R2, 1 args, 3 rets)
  0023  EQ        if R1 eq K5(nil)   -> -129762
  0024  JMP       (jump)   -> 32
  0025  EQ        if R1 eq K6('')   -> -129759
  0026  JMP       (jump)   -> 32
  0027  GETTABUP  R3 = _ENV[K7('json')]
  0028  GETTABLE  R3 = R3[K8('decode')]
  0029  MOVE      R4 = R0
  0030  CALL      R3 = call(R3, 1 args, 1 rets)
  0031  SETTABLE  R0[K9('m_alReadyrecyleCards')] = R3
  0032  RETURN    return R0..R-1
; ---------- proto6 [_LoadOtherServerConfig] ----------
  ; fn ?  line 144-190 np=2 va=0 ms=12 code=110 consts=31 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='album_card_config'
  ;   K[3]='m_mapAllCards'
  ;   K[4]='ipairs'
  ;   K[5]='cardId'
  ;   K[6]='GameConfig'
  ;   K[7]='IsTestMode'
  ;   K[8]='Log'
  ;   K[9]='Error'
  ;   K[10]='集卡未配置album_card_config表, 请检查!'
  ;   K[11]='ImageFileConfigName'
  ;   K[12]='pairs'
  ;   K[13]='picId'
  ;   K[14]='HasConfig'
  ;   K[15]='集卡配置 picId 对应图片不存在:'
  ;   K[16]='tostring'
  ;   K[17]='m_mapRound2Config'
  ;   K[18]='m_maxRound'
  ;   K[19]=1
  ;   K[20]='album_config'
  ;   K[21]='round'
  ;   K[22]='math'
  ;   K[23]='max'
  ;   K[24]='m_bCycleRound'
  ;   K[25]='cycle'
  ;   K[26]='m_mapCardSet'
  ;   K[27]='album_set_config'
  ;   K[28]='setId'
  ;   K[29]='LoadCardLimitConfig'
  ;   K[30]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-110), config(0-110), (for generator)(11-17), (for state)(11-17), (for control)(11-17), _(12-15), config(12-15), configName(33-55), (for generator)(36-55), (for state)(36-55), (for control)(36-55), cardId(37-53), cardConfig(37-53), arrConfig(59-110), round(60-110), (for generator)(63-78), (for state)(63-78), (for control)(63-78), _(64-76), config(64-76), cardInfo(95-110), (for generator)(98-104), (for state)(98-104), (for control)(98-104), _(99-102), v(99-102)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  GETTABLE  R3 = R1[K2('album_card_config')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 18
  0006  NEWTABLE  R2 = {} (0 items)
  0007  SETTABLE  R0[K3('m_mapAllCards')] = R2
  0008  GETTABUP  R2 = _ENV[K4('ipairs')]
  0009  GETTABLE  R3 = R1[K2('album_card_config')]
  0010  CALL      R2 = call(R2, 3 args, 1 rets)
  0011  JMP       (jump)   -> 15
  0012  GETTABLE  R7 = R0[K3('m_mapAllCards')]
  0013  GETTABLE  R8 = R6[K5('cardId')]
  0014  SETTABLE  R7[R8] = R6
  0015  TFORCALL  tforcall R2
  0016  TFORLOOP  tforloop R4(sBx=-5)   -> 12
  0017  JMP       (jump)   -> 27
  0018  GETTABUP  R2 = _ENV[K6('GameConfig')]
  0019  GETTABLE  R2 = R2[K7('IsTestMode')]
  0020  CALL      R2 = call(R2, 1 args, 0 rets)
  0021  TEST      if not R2 then   -> -131049
  0022  JMP       (jump)   -> 27
  0023  GETTABUP  R2 = _ENV[K8('Log')]
  0024  GETTABLE  R2 = R2[K9('Error')]
  0025  LOADK     R3 = K10 '集卡未配置album_card_config表, 请检查!'
  0026  CALL      R2 = call(R2, 0 args, 1 rets)
  0027  GETTABUP  R2 = _ENV[K6('GameConfig')]
  0028  GETTABLE  R2 = R2[K7('IsTestMode')]
  0029  CALL      R2 = call(R2, 1 args, 0 rets)
  0030  TEST      if not R2 then   -> -131040
  0031  JMP       (jump)   -> 55
  0032  GETTABUP  R2 = _ENV[K11('ImageFileConfigName')]
  0033  GETTABUP  R3 = _ENV[K12('pairs')]
  0034  GETTABLE  R4 = R0[K3('m_mapAllCards')]
  0035  CALL      R3 = call(R3, 3 args, 1 rets)
  0036  JMP       (jump)   -> 53
  0037  GETTABLE  R8 = R7[K13('picId')]
  0038  TEST      if not R8 then   -> -131032
  0039  JMP       (jump)   -> 53
  0040  GETTABLE  R8 = R2[K14('HasConfig')]
  0041  GETTABLE  R9 = R7[K13('picId')]
  0042  CALL      R8 = call(R8, 1 args, 1 rets)
  0043  TEST      if not R8 then   -> -131026
  0044  JMP       (jump)   -> 53
  0045  GETTABUP  R8 = _ENV[K8('Log')]
  0046  GETTABLE  R8 = R8[K9('Error')]
  0047  LOADK     R9 = K15 '集卡配置 picId 对应图片不存在:'
  0048  GETTABUP  R10 = _ENV[K16('tostring')]
  0049  GETTABLE  R11 = R7[K13('picId')]
  0050  CALL      R10 = call(R10, 1 args, 1 rets)
  0051  CONCAT    R9 = concat(R9..R9)
  0052  CALL      R8 = call(R8, 0 args, 1 rets)
  0053  TFORCALL  tforcall R3
  0054  TFORLOOP  tforloop R5(sBx=-18)   -> 37
  0055  NEWTABLE  R2 = {} (0 items)
  0056  SETTABLE  R0[K17('m_mapRound2Config')] = R2
  0057  SETTABLE  R0[K18('m_maxRound')] = K19(1)
  0058  GETTABLE  R2 = R1[K20('album_config')]
  0059  LOADNIL   R3..R3 = nil
  0060  GETTABUP  R4 = _ENV[K4('ipairs')]
  0061  MOVE      R5 = R0
  0062  CALL      R4 = call(R4, 3 args, 1 rets)
  0063  JMP       (jump)   -> 76
  0064  GETTABLE  R9 = R8[K21('round')]
  0065  TESTSET   if R1 then R3   -> -126396
  0066  JMP       (jump)   -> 68
  0067  LOADK     R3 = K19 1
  0068  GETTABLE  R9 = R0[K17('m_mapRound2Config')]
  0069  SETTABLE  R9[R3] = R8
  0070  GETTABUP  R9 = _ENV[K22('math')]
  0071  GETTABLE  R9 = R9[K23('max')]
  0072  GETTABLE  R10 = R0[K18('m_maxRound')]
  0073  MOVE      R11 = R0
  0074  CALL      R9 = call(R9, 1 args, 2 rets)
  0075  SETTABLE  R0[K18('m_maxRound')] = R9
  0076  TFORCALL  tforcall R4
  0077  TFORLOOP  tforloop R6(sBx=-14)   -> 64
  0078  GETTABLE  R4 = R0[K17('m_mapRound2Config')]
  0079  GETTABLE  R5 = R0[K18('m_maxRound')]
  0080  GETTABLE  R4 = R4[R5]
  0081  TEST      if not R4 then   -> -130989
  0082  JMP       (jump)   -> 91
  0083  GETTABLE  R4 = R0[K17('m_mapRound2Config')]
  0084  GETTABLE  R5 = R0[K18('m_maxRound')]
  0085  GETTABLE  R4 = R4[R5]
  0086  GETTABLE  R4 = R4[K25('cycle')]
  0087  EQ        if R1 eq K19(1)   -> -128660
  0088  JMP       (jump)   -> 90
  0089  LOADBOOL  R4 = false
  0090  LOADBOOL  R4 = true
  0091  SETTABLE  R0[K24('m_bCycleRound')] = R4
  0092  NEWTABLE  R4 = {} (0 items)
  0093  SETTABLE  R0[K26('m_mapCardSet')] = R4
  0094  LOADNIL   R4..R4 = nil
  0095  GETTABUP  R5 = _ENV[K4('ipairs')]
  0096  GETTABLE  R6 = R1[K27('album_set_config')]
  0097  CALL      R5 = call(R5, 3 args, 1 rets)
  0098  JMP       (jump)   -> 102
  0099  GETTABLE  R10 = R0[K26('m_mapCardSet')]
  0100  GETTABLE  R11 = R9[K28('setId')]
  0101  SETTABLE  R10[R11] = R9
  0102  TFORCALL  tforcall R5
  0103  TFORLOOP  tforloop R7(sBx=-5)   -> 99
  0104  SELF      R6 = R0[K29('LoadCardLimitConfig')] (self)
  0105  MOVE      R7 = R0
  0106  CALL      R5 = call(R5, 0 args, 2 rets)
  0107  SELF      R6 = R0[K30('UpdateContent')] (self)
  0108  CALL      R5 = call(R5, 0 args, 1 rets)
  0109  RETURN    return R0..R-1
; ---------- proto7 [LoadCardLimitConfig] ----------
  ; fn ?  line 192-229 np=2 va=0 ms=17 code=83 consts=18 upvals=2 protos=1
  ;   K[0]='m_mapCardLimit'
  ;   K[1]='NewCardLuckLimitConfigKey'
  ;   K[2]='ipairs'
  ;   K[3]='star'
  ;   K[4]='isGold'
  ;   K[5]='AlbumGoldCardStarBase'
  ;   K[6]=1
  ;   K[7]='Log'
  ;   K[8]='Assert'
  ;   K[9]='newCardMax'
  ;   K[10]='countMax'
  ;   K[11]='配置 newcard_luck_limit 错误'
  ;   K[12]=0
  ;   K[13]='pairs'
  ;   K[14]='table'
  ;   K[15]='sort'
  ;   K[16]='countMin'
  ;   K[17]='配置 newcard_luck_limit 区间错误'
  ;   upvals: ConfigKey, _ENV
  ;   locals: self(0-83), config(0-83), star(8-83), (for generator)(12-45), (for state)(12-45), (for control)(12-45), i(13-43), v(13-43), bCfg(46-83), val(47-83), (for generator)(50-77), (for state)(50-77), (for control)(50-77), k(51-75), v(51-75), (for generator)(60-75), (for state)(60-75), (for control)(60-75), i(61-73), d(61-73)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapCardLimit')] = R2
  0002  GETTABUP  R2 = ConfigKey[K1('NewCardLuckLimitConfigKey')]
  0003  GETTABLE  R2 = R1[R2]
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  LOADNIL   R2..R2 = nil
  0008  GETTABUP  R3 = _ENV[K2('ipairs')]
  0009  GETTABUP  R4 = ConfigKey[K1('NewCardLuckLimitConfigKey')]
  0010  GETTABLE  R4 = R1[R4]
  0011  CALL      R3 = call(R3, 3 args, 1 rets)
  0012  JMP       (jump)   -> 43
  0013  GETTABLE  R2 = R7[K3('star')]
  0014  GETTABLE  R8 = R7[K4('isGold')]
  0015  TEST      if not R8 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  GETTABUP  R8 = _ENV[K5('AlbumGoldCardStarBase')]
  0018  ADD       R2 = R8 add R2
  0019  GETTABLE  R8 = R0[K0('m_mapCardLimit')]
  0020  GETTABLE  R9 = R0[K0('m_mapCardLimit')]
  0021  GETTABLE  R9 = R9[R2]
  0022  TEST      if not R9 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  NEWTABLE  R9 = {} (0 items)
  0025  SETTABLE  R8[R2] = R9
  0026  GETTABLE  R8 = R0[K0('m_mapCardLimit')]
  0027  GETTABLE  R8 = R8[R2]
  0028  GETTABLE  R9 = R0[K0('m_mapCardLimit')]
  0029  GETTABLE  R9 = R9[R2]
  0030  LEN       R9 = len R0
  0031  ADD       R9 = K6(1) add R9
  0032  SETTABLE  R8[R9] = R7
  0033  GETTABUP  R8 = _ENV[K7('Log')]
  0034  GETTABLE  R8 = R8[K8('Assert')]
  0035  GETTABLE  R9 = R7[K9('newCardMax')]
  0036  GETTABLE  R10 = R7[K10('countMax')]
  0037  LE        if R1 le R10   -> -126415
  0038  JMP       (jump)   -> 40
  0039  LOADBOOL  R9 = false
  0040  LOADBOOL  R9 = true
  0041  LOADK     R10 = K11 '配置 newcard_luck_limit 错误'
  0042  CALL      R8 = call(R8, 0 args, 2 rets)
  0043  TFORCALL  tforcall R3
  0044  TFORLOOP  tforloop R5(sBx=-32)   -> 13
  0045  LOADBOOL  R3 = true
  0046  LOADK     R4 = K12 0
  0047  GETTABUP  R5 = _ENV[K13('pairs')]
  0048  GETTABLE  R6 = R0[K0('m_mapCardLimit')]
  0049  CALL      R5 = call(R5, 3 args, 1 rets)
  0050  JMP       (jump)   -> 75
  0051  GETTABUP  R10 = _ENV[K14('table')]
  0052  GETTABLE  R10 = R10[K15('sort')]
  0053  MOVE      R11 = R0
  0054  CLOSURE   R12 = closure proto0
  0055  CALL      R10 = call(R10, 0 args, 2 rets)
  0056  LOADK     R4 = K12 0
  0057  GETTABUP  R10 = _ENV[K2('ipairs')]
  0058  MOVE      R11 = R0
  0059  CALL      R10 = call(R10, 3 args, 1 rets)
  0060  JMP       (jump)   -> 73
  0061  GETTABLE  R15 = R14[K16('countMin')]
  0062  EQ        if R0 eq R4   -> -123324
  0063  JMP       (jump)   -> 71
  0064  GETTABLE  R15 = R14[K16('countMin')]
  0065  GETTABLE  R16 = R14[K10('countMax')]
  0066  LT        if R0 lt R16   -> -123308
  0067  JMP       (jump)   -> 71
  0068  GETTABLE  R15 = R14[K10('countMax')]
  0069  ADD       R4 = K6(1) add R15
  0070  JMP       (jump)   -> 73
  0071  LOADBOOL  R3 = false
  0072  JMP       (jump)   -> 75
  0073  TFORCALL  tforcall R10
  0074  TFORLOOP  tforloop R12(sBx=-14)   -> 61
  0075  TFORCALL  tforcall R5
  0076  TFORLOOP  tforloop R7(sBx=-26)   -> 51
  0077  GETTABUP  R5 = _ENV[K7('Log')]
  0078  GETTABLE  R5 = R5[K8('Assert')]
  0079  MOVE      R6 = R0
  0080  LOADK     R7 = K17 '配置 newcard_luck_limit 区间错误'
  0081  CALL      R5 = call(R5, 0 args, 2 rets)
  0082  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 214-216 np=2 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
    ;   K[0]='countMin'
    ;   locals: a(0-8), b(0-8)
    0000  GETTABLE  R2 = R0[K0('countMin')]
    0001  GETTABLE  R3 = R1[K0('countMin')]
    0002  LT        if R1 lt R3   -> -130041
    0003  JMP       (jump)   -> 5
    0004  LOADBOOL  R2 = false
    0005  LOADBOOL  R2 = true
    0006  RETURN    return R2..R1
    0007  RETURN    return R0..R-1
; ---------- proto8 [UpdateContent] ----------
  ; fn ?  line 231-322 np=1 va=0 ms=19 code=225 consts=45 upvals=1 protos=1
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapRound2Config'
  ;   K[3]='GetConfigRound'
  ;   K[4]=nil
  ;   K[5]='m_albumConfig'
  ;   K[6]='m_maxCardStar'
  ;   K[7]=0
  ;   K[8]='m_mapCards'
  ;   K[9]='m_mapCardByStar'
  ;   K[10]='setGroup'
  ;   K[11]='m_arrCardSet'
  ;   K[12]='m_mapCurRoundCardSet'
  ;   K[13]='ipairs'
  ;   K[14]='m_mapCardSet'
  ;   K[15]=1
  ;   K[16]='cardGroup'
  ;   K[17]='ShallowCopy'
  ;   K[18]='m_mapAllCards'
  ;   K[19]='setId'
  ;   K[20]='star'
  ;   K[21]='gold'
  ;   K[22]='AlbumGoldCardStarBase'
  ;   K[23]='cardId'
  ;   K[24]=true
  ;   K[25]='Log'
  ;   K[26]='Error'
  ;   K[27]='卡牌id不存在: '
  ;   K[28]='m_arrAllStar'
  ;   K[29]='GetKeys'
  ;   K[30]='table'
  ;   K[31]='sort'
  ;   K[32]='m_mapCacheStar'
  ;   K[33]='m_mapCacheNoRepeatStar'
  ;   K[34]='m_arrCacheNoCollect'
  ;   K[35]='pairs'
  ;   K[36]='GetCardCount'
  ;   K[37]='tostring'
  ;   K[38]='_UpdateProgress'
  ;   K[39]='LoadDefaultConfig'
  ;   K[40]='UpdateSurplusCardData'
  ;   K[41]='GameConfig'
  ;   K[42]='IsTestMode'
  ;   K[43]='picId'
  ;   K[44]='本届集卡 id/picId 有重复:'
  ;   upvals: _ENV
  ;   locals: self(0-225), arrSetId(25-225), mapStar(30-225), setConfig(31-225), cardInfo(31-225), (for generator)(34-107), (for state)(34-107), (for control)(34-107), _(35-105), setId(35-105), (for generator)(50-105), (for state)(50-105), (for control)(50-105), _(51-103), cardId(51-103), ct(128-225), (for generator)(131-185), (for state)(131-185), (for control)(131-185), k(132-183), v(132-183), mapUsedIds(197-224), id(198-224), (for generator)(201-224), (for state)(201-224), (for control)(201-224), cardId(202-222), cardConfig(202-222)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_mapRound2Config')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 12
  0006  GETTABLE  R1 = R0[K2('m_mapRound2Config')]
  0007  SELF      R3 = R0[K3('GetConfigRound')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  GETTABLE  R1 = R1[R2]
  0010  EQ        if R0 eq K4(nil)   -> -130288
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  GETTABLE  R1 = R0[K2('m_mapRound2Config')]
  0014  SELF      R3 = R0[K3('GetConfigRound')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  GETTABLE  R1 = R1[R2]
  0017  SETTABLE  R0[K5('m_albumConfig')] = R1
  0018  SETTABLE  R0[K6('m_maxCardStar')] = K7(0)
  0019  NEWTABLE  R1 = {} (0 items)
  0020  SETTABLE  R0[K8('m_mapCards')] = R1
  0021  NEWTABLE  R1 = {} (0 items)
  0022  SETTABLE  R0[K9('m_mapCardByStar')] = R1
  0023  GETTABLE  R1 = R0[K5('m_albumConfig')]
  0024  GETTABLE  R1 = R1[K10('setGroup')]
  0025  NEWTABLE  R2 = {} (0 items)
  0026  SETTABLE  R0[K11('m_arrCardSet')] = R2
  0027  NEWTABLE  R2 = {} (0 items)
  0028  SETTABLE  R0[K12('m_mapCurRoundCardSet')] = R2
  0029  NEWTABLE  R2 = {} (0 items)
  0030  LOADNIL   R3..R3 = nil
  0031  GETTABUP  R5 = _ENV[K13('ipairs')]
  0032  MOVE      R6 = R0
  0033  CALL      R5 = call(R5, 3 args, 1 rets)
  0034  JMP       (jump)   -> 105
  0035  GETTABLE  R10 = R0[K14('m_mapCardSet')]
  0036  GETTABLE  R3 = R10[R9]
  0037  GETTABLE  R10 = R0[K11('m_arrCardSet')]
  0038  GETTABLE  R11 = R0[K11('m_arrCardSet')]
  0039  LEN       R11 = len R0
  0040  ADD       R11 = K15(1) add R11
  0041  SETTABLE  R10[R11] = R3
  0042  GETTABLE  R10 = R0[K12('m_mapCurRoundCardSet')]
  0043  SETTABLE  R10[R9] = R3
  0044  GETTABUP  R10 = _ENV[K13('ipairs')]
  0045  GETTABLE  R11 = R3[K16('cardGroup')]
  0046  TEST      if not R11 then   -> -131023
  0047  JMP       (jump)   -> 49
  0048  NEWTABLE  R11 = {} (0 items)
  0049  CALL      R10 = call(R10, 3 args, 1 rets)
  0050  JMP       (jump)   -> 103
  0051  GETTABUP  R15 = _ENV[K0('Table')]
  0052  GETTABLE  R15 = R15[K17('ShallowCopy')]
  0053  GETTABLE  R16 = R0[K18('m_mapAllCards')]
  0054  GETTABLE  R16 = R16[R14]
  0055  CALL      R15 = call(R15, 1 args, 1 rets)
  0056  MOVE      R4 = R0
  0057  EQ        if R1 eq K4(nil)   -> -128705
  0058  JMP       (jump)   -> 97
  0059  SETTABLE  R4[K19('setId')] = R9
  0060  GETTABLE  R15 = R4[K20('star')]
  0061  GETTABLE  R16 = R0[K6('m_maxCardStar')]
  0062  LT        if R0 lt R15   -> -122801
  0063  JMP       (jump)   -> 66
  0064  GETTABLE  R15 = R4[K20('star')]
  0065  SETTABLE  R0[K6('m_maxCardStar')] = R15
  0066  GETTABLE  R15 = R4[K21('gold')]
  0067  EQ        if R0 eq K15(1)   -> -123052
  0068  JMP       (jump)   -> 73
  0069  GETTABLE  R15 = R4[K20('star')]
  0070  GETTABUP  R16 = _ENV[K22('AlbumGoldCardStarBase')]
  0071  ADD       R15 = R16 add R15
  0072  SETTABLE  R4[K20('star')] = R15
  0073  GETTABLE  R15 = R0[K8('m_mapCards')]
  0074  SETTABLE  R15[R14] = R4
  0075  GETTABLE  R15 = R0[K9('m_mapCardByStar')]
  0076  GETTABLE  R16 = R4[K20('star')]
  0077  GETTABLE  R17 = R0[K9('m_mapCardByStar')]
  0078  GETTABLE  R18 = R4[K20('star')]
  0079  GETTABLE  R17 = R17[R18]
  0080  TEST      if not R17 then   -> -130989
  0081  JMP       (jump)   -> 83
  0082  NEWTABLE  R17 = {} (0 items)
  0083  SETTABLE  R15[R16] = R17
  0084  GETTABLE  R15 = R0[K9('m_mapCardByStar')]
  0085  GETTABLE  R16 = R4[K20('star')]
  0086  GETTABLE  R15 = R15[R16]
  0087  GETTABLE  R16 = R0[K9('m_mapCardByStar')]
  0088  GETTABLE  R17 = R4[K20('star')]
  0089  GETTABLE  R16 = R16[R17]
  0090  LEN       R16 = len R0
  0091  ADD       R16 = K15(1) add R16
  0092  GETTABLE  R17 = R4[K23('cardId')]
  0093  SETTABLE  R15[R16] = R17
  0094  GETTABLE  R15 = R4[K20('star')]
  0095  SETTABLE  R2[R15] = K24(true)
  0096  JMP       (jump)   -> 103
  0097  GETTABUP  R15 = _ENV[K25('Log')]
  0098  GETTABLE  R15 = R15[K26('Error')]
  0099  LOADK     R16 = K27 '卡牌id不存在: '
  0100  MOVE      R17 = R0
  0101  CONCAT    R16 = concat(R16..R16)
  0102  CALL      R15 = call(R15, 0 args, 1 rets)
  0103  TFORCALL  tforcall R10
  0104  TFORLOOP  tforloop R12(sBx=-54)   -> 51
  0105  TFORCALL  tforcall R5
  0106  TFORLOOP  tforloop R7(sBx=-72)   -> 35
  0107  GETTABUP  R5 = _ENV[K0('Table')]
  0108  GETTABLE  R5 = R5[K29('GetKeys')]
  0109  MOVE      R6 = R0
  0110  CALL      R5 = call(R5, 1 args, 1 rets)
  0111  SETTABLE  R0[K28('m_arrAllStar')] = R5
  0112  GETTABUP  R5 = _ENV[K30('table')]
  0113  GETTABLE  R5 = R5[K31('sort')]
  0114  GETTABLE  R6 = R0[K28('m_arrAllStar')]
  0115  CALL      R5 = call(R5, 0 args, 1 rets)
  0116  GETTABUP  R5 = _ENV[K30('table')]
  0117  GETTABLE  R5 = R5[K31('sort')]
  0118  GETTABLE  R6 = R0[K11('m_arrCardSet')]
  0119  CLOSURE   R7 = closure proto0
  0120  CALL      R5 = call(R5, 0 args, 2 rets)
  0121  NEWTABLE  R5 = {} (0 items)
  0122  SETTABLE  R0[K32('m_mapCacheStar')] = R5
  0123  NEWTABLE  R5 = {} (0 items)
  0124  SETTABLE  R0[K33('m_mapCacheNoRepeatStar')] = R5
  0125  NEWTABLE  R5 = {} (0 items)
  0126  SETTABLE  R0[K34('m_arrCacheNoCollect')] = R5
  0127  LOADK     R5 = K7 0
  0128  GETTABUP  R6 = _ENV[K35('pairs')]
  0129  GETTABLE  R7 = R0[K8('m_mapCards')]
  0130  CALL      R6 = call(R6, 3 args, 1 rets)
  0131  JMP       (jump)   -> 183
  0132  SELF      R12 = R0[K36('GetCardCount')] (self)
  0133  MOVE      R13 = R0
  0134  CALL      R11 = call(R11, 1 args, 2 rets)
  0135  MOVE      R5 = R0
  0136  LT        if R0 lt R5   -> 3727
  0137  JMP       (jump)   -> 178
  0138  GETTABLE  R11 = R0[K32('m_mapCacheStar')]
  0139  GETTABLE  R12 = R10[K20('star')]
  0140  GETTABLE  R13 = R0[K32('m_mapCacheStar')]
  0141  GETTABLE  R14 = R10[K20('star')]
  0142  GETTABLE  R13 = R13[R14]
  0143  TEST      if not R13 then   -> -130926
  0144  JMP       (jump)   -> 146
  0145  LOADK     R13 = K7 0
  0146  SETTABLE  R11[R12] = R13
  0147  GETTABLE  R11 = R0[K32('m_mapCacheStar')]
  0148  GETTABLE  R12 = R10[K20('star')]
  0149  GETTABLE  R13 = R0[K32('m_mapCacheStar')]
  0150  GETTABLE  R14 = R10[K20('star')]
  0151  GETTABLE  R13 = R13[R14]
  0152  ADD       R13 = R5 add R13
  0153  SETTABLE  R11[R12] = R13
  0154  GETTABLE  R11 = R0[K33('m_mapCacheNoRepeatStar')]
  0155  GETTABUP  R12 = _ENV[K37('tostring')]
  0156  GETTABLE  R13 = R10[K20('star')]
  0157  CALL      R12 = call(R12, 1 args, 1 rets)
  0158  GETTABLE  R11 = R11[R12]
  0159  EQ        if R0 eq K4(nil)   -> -125019
  0160  JMP       (jump)   -> 166
  0161  GETTABLE  R11 = R0[K33('m_mapCacheNoRepeatStar')]
  0162  GETTABUP  R12 = _ENV[K37('tostring')]
  0163  GETTABLE  R13 = R10[K20('star')]
  0164  CALL      R12 = call(R12, 1 args, 1 rets)
  0165  SETTABLE  R11[R12] = K7(0)
  0166  GETTABLE  R11 = R0[K33('m_mapCacheNoRepeatStar')]
  0167  GETTABUP  R12 = _ENV[K37('tostring')]
  0168  GETTABLE  R13 = R10[K20('star')]
  0169  CALL      R12 = call(R12, 1 args, 1 rets)
  0170  GETTABLE  R13 = R0[K33('m_mapCacheNoRepeatStar')]
  0171  GETTABUP  R14 = _ENV[K37('tostring')]
  0172  GETTABLE  R15 = R10[K20('star')]
  0173  CALL      R14 = call(R14, 1 args, 1 rets)
  0174  GETTABLE  R13 = R13[R14]
  0175  ADD       R13 = K15(1) add R13
  0176  SETTABLE  R11[R12] = R13
  0177  JMP       (jump)   -> 183
  0178  GETTABLE  R11 = R0[K34('m_arrCacheNoCollect')]
  0179  GETTABLE  R12 = R0[K34('m_arrCacheNoCollect')]
  0180  LEN       R12 = len R0
  0181  ADD       R12 = K15(1) add R12
  0182  SETTABLE  R11[R12] = R9
  0183  TFORCALL  tforcall R6
  0184  TFORLOOP  tforloop R8(sBx=-53)   -> 132
  0185  SELF      R7 = R0[K38('_UpdateProgress')] (self)
  0186  CALL      R6 = call(R6, 0 args, 1 rets)
  0187  SELF      R7 = R0[K39('LoadDefaultConfig')] (self)
  0188  CALL      R6 = call(R6, 0 args, 1 rets)
  0189  SELF      R7 = R0[K40('UpdateSurplusCardData')] (self)
  0190  CALL      R6 = call(R6, 0 args, 1 rets)
  0191  GETTABUP  R6 = _ENV[K41('GameConfig')]
  0192  GETTABLE  R6 = R6[K42('IsTestMode')]
  0193  CALL      R6 = call(R6, 1 args, 0 rets)
  0194  TEST      if not R6 then   -> -130876
  0195  JMP       (jump)   -> 224
  0196  NEWTABLE  R6 = {} (0 items)
  0197  LOADNIL   R7..R7 = nil
  0198  GETTABUP  R8 = _ENV[K35('pairs')]
  0199  GETTABLE  R9 = R0[K8('m_mapCards')]
  0200  CALL      R8 = call(R8, 3 args, 1 rets)
  0201  JMP       (jump)   -> 222
  0202  GETTABLE  R13 = R12[K43('picId')]
  0203  TEST      if not R13 then   -> -130867
  0204  JMP       (jump)   -> 208
  0205  GETTABLE  R13 = R12[K43('picId')]
  0206  TESTSET   if R1 then R7   -> -124207
  0207  JMP       (jump)   -> 209
  0208  MOVE      R7 = R0
  0209  GETTABLE  R13 = R6[R7]
  0210  TEST      if not R13 then   -> -130860
  0211  JMP       (jump)   -> 221
  0212  GETTABUP  R13 = _ENV[K25('Log')]
  0213  GETTABLE  R13 = R13[K26('Error')]
  0214  LOADK     R14 = K44 '本届集卡 id/picId 有重复:'
  0215  GETTABUP  R15 = _ENV[K37('tostring')]
  0216  MOVE      R16 = R0
  0217  CALL      R15 = call(R15, 1 args, 1 rets)
  0218  CONCAT    R14 = concat(R14..R14)
  0219  CALL      R13 = call(R13, 0 args, 1 rets)
  0220  JMP       (jump)   -> 222
  0221  SETTABLE  R6[R7] = K24(true)
  0222  TFORCALL  tforcall R8
  0223  TFORLOOP  tforloop R10(sBx=-22)   -> 202
  0224  RETURN    return R0..R-1
  ; ---------- proto0 [m_mapCacheStar] ----------
    ; fn ?  line 280-282 np=2 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
    ;   K[0]='order'
    ;   locals: a(0-8), b(0-8)
    0000  GETTABLE  R2 = R0[K0('order')]
    0001  GETTABLE  R3 = R1[K0('order')]
    0002  LT        if R1 lt R3   -> -130041
    0003  JMP       (jump)   -> 5
    0004  LOADBOOL  R2 = false
    0005  LOADBOOL  R2 = true
    0006  RETURN    return R2..R1
    0007  RETURN    return R0..R-1
; ---------- proto9 [CheckCardNumEnough] ----------
  ; fn ?  line 324-333 np=2 va=0 ms=15 code=31 consts=10 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrAllStar'
  ;   K[2]='GetGachaCardsByStar'
  ;   K[3]='Log'
  ;   K[4]='Error'
  ;   K[5]='活动类型:'
  ;   K[6]='m_type'
  ;   K[7]='nil'
  ;   K[8]='; 此星级的卡牌数量不足'
  ;   K[9]='张请检查配置, 星级:'
  ;   upvals: _ENV
  ;   locals: self(0-31), maxSpreadNum(0-31), arrCards(1-31), (for generator)(4-30), (for state)(4-30), (for control)(4-30), _(5-28), star(5-28)
  0000  LOADNIL   R2..R2 = nil
  0001  GETTABUP  R3 = _ENV[K0('ipairs')]
  0002  GETTABLE  R4 = R0[K1('m_arrAllStar')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 28
  0005  SELF      R9 = R0[K2('GetGachaCardsByStar')] (self)
  0006  MOVE      R10 = R0
  0007  CALL      R8 = call(R8, 1 args, 2 rets)
  0008  TESTSET   if R1 then R2   -> -126965
  0009  JMP       (jump)   -> 12
  0010  NEWTABLE  R8 = {} (0 items)
  0011  MOVE      R2 = R0
  0012  LEN       R8 = len R0
  0013  LT        if R0 lt R1   -> -126960
  0014  JMP       (jump)   -> 28
  0015  GETTABUP  R8 = _ENV[K3('Log')]
  0016  GETTABLE  R8 = R8[K4('Error')]
  0017  LOADK     R9 = K5 '活动类型:'
  0018  GETTABLE  R10 = R0[K6('m_type')]
  0019  TEST      if not R10 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  LOADK     R10 = K7 'nil'
  0022  LOADK     R11 = K8 '; 此星级的卡牌数量不足'
  0023  MOVE      R12 = R0
  0024  LOADK     R13 = K9 '张请检查配置, 星级:'
  0025  MOVE      R14 = R0
  0026  CONCAT    R9 = concat(R9..R9)
  0027  CALL      R8 = call(R8, 0 args, 1 rets)
  0028  TFORCALL  tforcall R3
  0029  TFORLOOP  tforloop R5(sBx=-25)   -> 5
  0030  RETURN    return R0..R-1
; ---------- proto10 [GetRound] ----------
  ; fn ?  line 337-339 np=1 va=0 ms=5 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='AlbumRound'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=1
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('AlbumRound')]
  0003  GETTABUP  R4 = _ENV[K3('DB_VALUE_KEY')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto11 [SetRound] ----------
  ; fn ?  line 341-343 np=2 va=0 ms=7 code=7 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='AlbumRound'
  ;   K[3]='DB_VALUE_KEY'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-7), round(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('AlbumRound')]
  0003  GETTABUP  R5 = _ENV[K3('DB_VALUE_KEY')]
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto12 [GetConfigRound] ----------
  ; fn ?  line 345-348 np=1 va=0 ms=4 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='math'
  ;   K[1]='min'
  ;   K[2]='GetRound'
  ;   K[3]='m_maxRound'
  ;   K[4]=0
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('math')]
  0001  GETTABLE  R1 = R1[K1('min')]
  0002  SELF      R3 = R0[K2('GetRound')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R3 = R0[K3('m_maxRound')]
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R3 = K4 0
  0008  TAILCALL  tailcall(R1, 0)
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto13 [HasFinishedAllRound] ----------
  ; fn ?  line 350-356 np=1 va=0 ms=3 code=17 consts=4 upvals=0 protos=0
  ;   K[0]='m_bCycleRound'
  ;   K[1]='GetRound'
  ;   K[2]='m_maxRound'
  ;   K[3]='HasCollectAllCard'
  ;   locals: self(0-17)
  0000  GETTABLE  R1 = R0[K0('m_bCycleRound')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 5
  0003  LOADBOOL  R1 = false
  0004  RETURN    return R1..R0
  0005  SELF      R2 = R0[K1('GetRound')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABLE  R2 = R0[K2('m_maxRound')]
  0008  LE        if R0 le R1   -> -130037
  0009  JMP       (jump)   -> 13
  0010  SELF      R2 = R0[K3('HasCollectAllCard')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R1 = false
  0014  LOADBOOL  R1 = true
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
; ---------- proto14 [HasCollectAllCard] ----------
  ; fn ?  line 358-360 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_albumCurProgress'
  ;   K[1]='m_albumMaxProgress'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_albumCurProgress')]
  0001  GETTABLE  R2 = R0[K1('m_albumMaxProgress')]
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R1 = false
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto15 [CanEnterNextRound] ----------
  ; fn ?  line 363-365 np=1 va=0 ms=2 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3)
  0000  LOADBOOL  R1 = false
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto16 [EnterNextRound] ----------
  ; fn ?  line 367-369 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='[AlbumBaseModel] EnterNextRound是抽象接口, 需要切换的活动自行重写!'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 '[AlbumBaseModel] EnterNextRound是抽象接口, 需要切换的活动自行重写!'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto17 [ShowRedPoint] ----------
  ; fn ?  line 376-383 np=3 va=0 ms=5 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='m_redPointData'
  ;   K[1]=nil
  ;   K[2]=true
  ;   K[3]='SaveRedData'
  ;   locals: self(0-13), setID(0-13), cardId(0-13)
  0000  GETTABLE  R3 = R0[K0('m_redPointData')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129275
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R3 = R0[K0('m_redPointData')]
  0005  NEWTABLE  R4 = {} (0 items)
  0006  SETTABLE  R3[R1] = R4
  0007  GETTABLE  R3 = R0[K0('m_redPointData')]
  0008  GETTABLE  R3 = R3[R1]
  0009  SETTABLE  R3[R2] = K2(true)
  0010  SELF      R4 = R0[K3('SaveRedData')] (self)
  0011  CALL      R3 = call(R3, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto18 [IsShowRedPointIcon] ----------
  ; fn ?  line 385-387 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_redPointData'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_redPointData')]
  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
; ---------- proto19 [GetRedPointInfoBySetID] ----------
  ; fn ?  line 390-392 np=2 va=0 ms=3 code=7 consts=1 upvals=0 protos=0
  ;   K[0]='m_redPointData'
  ;   locals: self(0-7), setID(0-7)
  0000  GETTABLE  R2 = R0[K0('m_redPointData')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R2 = {} (0 items)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto20 [HideRedPoint] ----------
  ; fn ?  line 394-398 np=2 va=0 ms=5 code=11 consts=8 upvals=1 protos=0
  ;   K[0]='m_redPointData'
  ;   K[1]=nil
  ;   K[2]='SaveRedData'
  ;   K[3]='event'
  ;   K[4]='Call'
  ;   K[5]='AlbumBaseModel'
  ;   K[6]='EventKey'
  ;   K[7]='RedRefresh'
  ;   upvals: _ENV
  ;   locals: self(0-11), setID(0-11)
  0000  GETTABLE  R2 = R0[K0('m_redPointData')]
  0001  SETTABLE  R2[R1] = K1(nil)
  0002  SELF      R3 = R0[K2('SaveRedData')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  GETTABLE  R2 = R0[K3('event')]
  0005  SELF      R3 = R2[K4('Call')] (self)
  0006  GETTABUP  R4 = _ENV[K5('AlbumBaseModel')]
  0007  GETTABLE  R4 = R4[K6('EventKey')]
  0008  GETTABLE  R4 = R4[K7('RedRefresh')]
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto21 [SaveRedData] ----------
  ; fn ?  line 400-402 np=1 va=0 ms=7 code=10 consts=7 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='RedHintKey'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]='json'
  ;   K[5]='encode'
  ;   K[6]='m_redPointData'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('RedHintKey')]
  0003  GETTABUP  R4 = _ENV[K3('DB_VALUE_KEY')]
  0004  GETTABUP  R5 = _ENV[K4('json')]
  0005  GETTABLE  R5 = R5[K5('encode')]
  0006  GETTABLE  R6 = R0[K6('m_redPointData')]
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto22 [_UpdateProgress] ----------
  ; fn ?  line 409-430 np=1 va=0 ms=16 code=37 consts=11 upvals=1 protos=0
  ;   K[0]='m_albumCurProgress'
  ;   K[1]=0
  ;   K[2]='m_albumMaxProgress'
  ;   K[3]='m_mapProgressSets'
  ;   K[4]='ipairs'
  ;   K[5]='m_albumConfig'
  ;   K[6]='setGroup'
  ;   K[7]='m_mapCardSet'
  ;   K[8]='cardGroup'
  ;   K[9]='GetCardCount'
  ;   K[10]=1
  ;   upvals: _ENV
  ;   locals: self(0-37), arrSets(3-37), curSetProgress(4-37), (for generator)(10-36), (for state)(10-36), (for control)(10-36), i(11-34), setId(11-34), (for generator)(17-29), (for state)(17-29), (for control)(17-29), i(18-27), cardId(18-27)
  0000  SETTABLE  R0[K0('m_albumCurProgress')] = K1(0)
  0001  SETTABLE  R0[K2('m_albumMaxProgress')] = K1(0)
  0002  LOADNIL   R1..R1 = nil
  0003  LOADK     R2 = K1 0
  0004  NEWTABLE  R3 = {} (0 items)
  0005  SETTABLE  R0[K3('m_mapProgressSets')] = R3
  0006  GETTABUP  R3 = _ENV[K4('ipairs')]
  0007  GETTABLE  R4 = R0[K5('m_albumConfig')]
  0008  GETTABLE  R4 = R4[K6('setGroup')]
  0009  CALL      R3 = call(R3, 3 args, 1 rets)
  0010  JMP       (jump)   -> 34
  0011  GETTABLE  R8 = R0[K7('m_mapCardSet')]
  0012  GETTABLE  R1 = R8[R7]
  0013  LOADK     R2 = K1 0
  0014  GETTABUP  R8 = _ENV[K4('ipairs')]
  0015  GETTABLE  R9 = R1[K8('cardGroup')]
  0016  CALL      R8 = call(R8, 3 args, 1 rets)
  0017  JMP       (jump)   -> 27
  0018  SELF      R14 = R0[K9('GetCardCount')] (self)
  0019  MOVE      R15 = R0
  0020  CALL      R13 = call(R13, 1 args, 2 rets)
  0021  LT        if R0 lt R13   -> 548
  0022  JMP       (jump)   -> 24
  0023  ADD       R2 = K10(1) add R2
  0024  GETTABLE  R13 = R0[K2('m_albumMaxProgress')]
  0025  ADD       R13 = K10(1) add R13
  0026  SETTABLE  R0[K2('m_albumMaxProgress')] = R13
  0027  TFORCALL  tforcall R8
  0028  TFORLOOP  tforloop R10(sBx=-11)   -> 18
  0029  GETTABLE  R8 = R0[K3('m_mapProgressSets')]
  0030  SETTABLE  R8[R7] = R2
  0031  GETTABLE  R8 = R0[K0('m_albumCurProgress')]
  0032  ADD       R8 = R2 add R8
  0033  SETTABLE  R0[K0('m_albumCurProgress')] = R8
  0034  TFORCALL  tforcall R3
  0035  TFORLOOP  tforloop R5(sBx=-25)   -> 11
  0036  RETURN    return R0..R-1
; ---------- proto23 [GetAlbumConfig] ----------
  ; fn ?  line 433-435 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_albumConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_albumConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto24 [GetAlbumPack] ----------
  ; fn ?  line 438-440 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapCardPacks'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapCardPacks')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto25 [GetCardSets] ----------
  ; fn ?  line 442-444 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrCardSet'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrCardSet')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto26 [GetCardSetRewards] ----------
  ; fn ?  line 446-448 np=2 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapCardSet'
  ;   K[1]='reward'
  ;   locals: self(0-5), setId(0-5)
  0000  GETTABLE  R2 = R0[K0('m_mapCardSet')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABLE  R2 = R2[K1('reward')]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto27 [GetCardInfo] ----------
  ; fn ?  line 453-455 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapCards'
  ;   locals: self(0-4), cardId(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapCards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto28 [GetSetCollectProgress] ----------
  ; fn ?  line 460-462 np=2 va=0 ms=4 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapProgressSets'
  ;   K[1]='m_mapCardSet'
  ;   K[2]='cardGroup'
  ;   locals: self(0-8), setId(0-8)
  0000  GETTABLE  R2 = R0[K0('m_mapProgressSets')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABLE  R3 = R0[K1('m_mapCardSet')]
  0003  GETTABLE  R3 = R3[R1]
  0004  GETTABLE  R3 = R3[K2('cardGroup')]
  0005  LEN       R3 = len R0
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto29 [GetAlbumCollectProgress] ----------
  ; fn ?  line 466-468 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_albumCurProgress'
  ;   K[1]='m_albumMaxProgress'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_albumCurProgress')]
  0001  GETTABLE  R2 = R0[K1('m_albumMaxProgress')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto30 [GetSetCompleteProgress] ----------
  ; fn ?  line 471-479 np=1 va=0 ms=8 code=20 consts=8 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='pairs'
  ;   K[2]='m_mapProgressSets'
  ;   K[3]='m_mapCardSet'
  ;   K[4]='cardGroup'
  ;   K[5]=1
  ;   K[6]='m_albumConfig'
  ;   K[7]='setGroup'
  ;   upvals: _ENV
  ;   locals: self(0-20), curProgress(1-20), (for generator)(4-14), (for state)(4-14), (for control)(4-14), k(5-12), v(5-12)
  0000  LOADK     R1 = K0 0
  0001  GETTABUP  R2 = _ENV[K1('pairs')]
  0002  GETTABLE  R3 = R0[K2('m_mapProgressSets')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 12
  0005  GETTABLE  R7 = R0[K3('m_mapCardSet')]
  0006  GETTABLE  R7 = R7[R5]
  0007  GETTABLE  R7 = R7[K4('cardGroup')]
  0008  LEN       R7 = len R0
  0009  LE        if R0 le R6   -> -127471
  0010  JMP       (jump)   -> 12
  0011  ADD       R1 = K5(1) add R1
  0012  TFORCALL  tforcall R2
  0013  TFORLOOP  tforloop R4(sBx=-9)   -> 5
  0014  MOVE      R2 = R0
  0015  GETTABLE  R3 = R0[K6('m_albumConfig')]
  0016  GETTABLE  R3 = R3[K7('setGroup')]
  0017  LEN       R3 = len R0
  0018  RETURN    return R2..R1
  0019  RETURN    return R0..R-1
; ---------- proto31 [GetNewCardLuckLimitNum] ----------
  ; fn ?  line 483-501 np=2 va=0 ms=10 code=44 consts=16 upvals=1 protos=0
  ;   K[0]='next'
  ;   K[1]='m_mapCardLimit'
  ;   K[2]='math'
  ;   K[3]='maxinteger'
  ;   K[4]='GetCardCountByStar'
  ;   K[5]=1
  ;   K[6]=nil
  ;   K[7]='Log'
  ;   K[8]='Assert'
  ;   K[9]='没有逆向保底的配置'
  ;   K[10]=0
  ;   K[11]='ipairs'
  ;   K[12]='countMin'
  ;   K[13]='countMax'
  ;   K[14]='newCardMax'
  ;   K[15]='m_albumMaxProgress'
  ;   upvals: _ENV
  ;   locals: self(0-44), star(0-44), count(12-44), key(13-44), (for generator)(30-41), (for state)(30-41), (for control)(30-41), i(31-39), v(31-39)
  0000  GETTABUP  R2 = _ENV[K0('next')]
  0001  GETTABLE  R3 = R0[K1('m_mapCardLimit')]
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 8
  0005  GETTABUP  R2 = _ENV[K2('math')]
  0006  GETTABLE  R2 = R2[K3('maxinteger')]
  0007  RETURN    return R2..R1
  0008  SELF      R3 = R0[K4('GetCardCountByStar')] (self)
  0009  MOVE      R4 = R0
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  ADD       R2 = K5(1) add R2
  0012  MOVE      R3 = R0
  0013  GETTABLE  R4 = R0[K1('m_mapCardLimit')]
  0014  GETTABLE  R4 = R4[R3]
  0015  EQ        if R0 eq K6(nil)   -> -128745
  0016  JMP       (jump)   -> 26
  0017  GETTABUP  R4 = _ENV[K7('Log')]
  0018  GETTABLE  R4 = R4[K8('Assert')]
  0019  LOADBOOL  R5 = false
  0020  LOADK     R6 = K9 '没有逆向保底的配置'
  0021  MOVE      R7 = R0
  0022  CONCAT    R6 = concat(R6..R6)
  0023  CALL      R4 = call(R4, 0 args, 2 rets)
  0024  LOADK     R4 = K10 0
  0025  RETURN    return R4..R3
  0026  GETTABUP  R4 = _ENV[K11('ipairs')]
  0027  GETTABLE  R5 = R0[K1('m_mapCardLimit')]
  0028  GETTABLE  R5 = R5[R3]
  0029  CALL      R4 = call(R4, 3 args, 1 rets)
  0030  JMP       (jump)   -> 39
  0031  GETTABLE  R9 = R8[K12('countMin')]
  0032  LE        if R0 le R2   -> -126428
  0033  JMP       (jump)   -> 39
  0034  GETTABLE  R9 = R8[K13('countMax')]
  0035  LE        if R0 le R9   -> -130002
  0036  JMP       (jump)   -> 39
  0037  GETTABLE  R9 = R8[K14('newCardMax')]
  0038  RETURN    return R9..R8
  0039  TFORCALL  tforcall R4
  0040  TFORLOOP  tforloop R6(sBx=-10)   -> 31
  0041  GETTABLE  R4 = R0[K15('m_albumMaxProgress')]
  0042  RETURN    return R4..R3
  0043  RETURN    return R0..R-1
; ---------- proto32 [GetCardCountByStar] ----------
  ; fn ?  line 505-507 np=2 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapCacheStar'
  ;   K[1]=0
  ;   locals: self(0-7), star(0-7)
  0000  GETTABLE  R2 = R0[K0('m_mapCacheStar')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  LOADK     R2 = K1 0
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto33 [GetNotNewCardStarCount] ----------
  ; fn ?  line 511-513 np=2 va=0 ms=6 code=12 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='NotNewCardStarPre'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=0
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-12), star(0-12)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  GETTABUP  R4 = DBKey[K2('NotNewCardStarPre')]
  0003  MOVE      R5 = R0
  0004  CONCAT    R4 = concat(R4..R4)
  0005  GETTABUP  R5 = _ENV[K3('DB_VALUE_KEY')]
  0006  CALL      R2 = call(R2, 1 args, 3 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R2 = K4 0
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto34 [SetNotNewCardStarCount] ----------
  ; fn ?  line 518-520 np=3 va=0 ms=8 code=9 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='NotNewCardStarPre'
  ;   K[3]='DB_VALUE_KEY'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-9), star(0-9), count(0-9)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  GETTABUP  R5 = DBKey[K2('NotNewCardStarPre')]
  0003  MOVE      R6 = R0
  0004  CONCAT    R5 = concat(R5..R5)
  0005  GETTABUP  R6 = _ENV[K3('DB_VALUE_KEY')]
  0006  MOVE      R7 = R0
  0007  CALL      R3 = call(R3, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto35 [GetCardCountNoRepeatByStar] ----------
  ; fn ?  line 523-525 np=2 va=0 ms=5 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='m_mapCacheNoRepeatStar'
  ;   K[1]='tostring'
  ;   K[2]=0
  ;   upvals: _ENV
  ;   locals: self(0-10), star(0-10)
  0000  GETTABLE  R2 = R0[K0('m_mapCacheNoRepeatStar')]
  0001  GETTABUP  R3 = _ENV[K1('tostring')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[R3]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R2 = K2 0
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto36 [AddNotNewCardStarCount] ----------
  ; fn ?  line 528-531 np=2 va=0 ms=7 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='GetNotNewCardStarCount'
  ;   K[1]='SetNotNewCardStarCount'
  ;   K[2]=1
  ;   locals: self(0-8), star(0-8), count(3-8)
  0000  SELF      R3 = R0[K0('GetNotNewCardStarCount')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  SELF      R4 = R0[K1('SetNotNewCardStarCount')] (self)
  0004  MOVE      R5 = R0
  0005  ADD       R6 = K2(1) add R2
  0006  CALL      R3 = call(R3, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto37 [IsGoldCard] ----------
  ; fn ?  line 535-541 np=2 va=0 ms=3 code=15 consts=4 upvals=0 protos=0
  ;   K[0]='m_mapCards'
  ;   K[1]=nil
  ;   K[2]='gold'
  ;   K[3]=1
  ;   locals: self(0-15), cardId(0-15)
  0000  GETTABLE  R2 = R0[K0('m_mapCards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  GETTABLE  R2 = R0[K0('m_mapCards')]
  0007  GETTABLE  R2 = R2[R1]
  0008  GETTABLE  R2 = R2[K2('gold')]
  0009  EQ        if R1 eq K3(1)   -> -129778
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R2 = false
  0012  LOADBOOL  R2 = true
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto38 [IsGoldSet] ----------
  ; fn ?  line 544-552 np=2 va=0 ms=10 code=18 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_mapCardSet'
  ;   K[2]='cardGroup'
  ;   K[3]='IsGoldCard'
  ;   upvals: _ENV
  ;   locals: self(0-18), setID(0-18), (for generator)(5-15), (for state)(5-15), (for control)(5-15), i(6-13), cardId(6-13)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  GETTABLE  R3 = R0[K1('m_mapCardSet')]
  0002  GETTABLE  R3 = R3[R1]
  0003  GETTABLE  R3 = R3[K2('cardGroup')]
  0004  CALL      R2 = call(R2, 3 args, 1 rets)
  0005  JMP       (jump)   -> 13
  0006  SELF      R8 = R0[K3('IsGoldCard')] (self)
  0007  MOVE      R9 = R0
  0008  CALL      R7 = call(R7, 1 args, 2 rets)
  0009  TEST      if not R7 then   -> -131061
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R7 = true
  0012  RETURN    return R7..R6
  0013  TFORCALL  tforcall R2
  0014  TFORLOOP  tforloop R4(sBx=-9)   -> 6
  0015  LOADBOOL  R2 = false
  0016  RETURN    return R2..R1
  0017  RETURN    return R0..R-1
; ---------- proto39 [IsGoldStar] ----------
  ; fn ?  line 554-556 np=2 va=0 ms=5 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='StartWith'
  ;   K[2]='AlbumStarTypePrefix'
  ;   K[3]='Gold'
  ;   upvals: _ENV
  ;   locals: self(0-8), strStar(0-8)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('StartWith')]
  0002  MOVE      R3 = R0
  0003  GETTABUP  R4 = _ENV[K2('AlbumStarTypePrefix')]
  0004  GETTABLE  R4 = R4[K3('Gold')]
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto40 [GetShowStar] ----------
  ; fn ?  line 559-561 np=2 va=0 ms=3 code=4 consts=1 upvals=1 protos=0
  ;   K[0]='AlbumGoldCardStarBase'
  ;   upvals: _ENV
  ;   locals: self(0-4), star(0-4)
  0000  GETTABUP  R2 = _ENV[K0('AlbumGoldCardStarBase')]
  0001  MOD       R2 = R2 mod R1
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto41 [GetCardCount] ----------
  ; fn ?  line 566-574 np=3 va=0 ms=7 code=18 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DB_VALUE_KEY'
  ;   K[3]=0
  ;   K[4]='m_alReadyrecyleCards'
  ;   upvals: _ENV
  ;   locals: self(0-18), cardId(0-18), bIsReally(0-18), num(8-18), cycleNum(15-16)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('GetValue')] (self)
  0002  MOVE      R5 = R0
  0003  GETTABUP  R6 = _ENV[K2('DB_VALUE_KEY')]
  0004  CALL      R3 = call(R3, 1 args, 3 rets)
  0005  TEST      if not R3 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R3 = K3 0
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 16
  0010  GETTABLE  R4 = R0[K4('m_alReadyrecyleCards')]
  0011  GETTABLE  R4 = R4[R1]
  0012  TEST      if not R4 then   -> -131057
  0013  JMP       (jump)   -> 15
  0014  LOADK     R4 = K3 0
  0015  SUB       R3 = R4 sub R3
  0016  RETURN    return R3..R2
  0017  RETURN    return R0..R-1
; ---------- proto42 [AcquireCard] ----------
  ; fn ?  line 581-668 np=4 va=0 ms=22 code=277 consts=82 upvals=1 protos=0
  ;   K[0]='GetCardCount'
  ;   K[1]='m_dbTable'
  ;   K[2]='Set'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=1
  ;   K[5]='m_mapCards'
  ;   K[6]='star'
  ;   K[7]='EventDispatcher'
  ;   K[8]='DispatchEvent'
  ;   K[9]='EEventType'
  ;   K[10]='WeeklyActiveQuestProgressGain'
  ;   K[11]='type'
  ;   K[12]='WeeklyActiveQuestTaskType'
  ;   K[13]='CardGain'
  ;   K[14]='num'
  ;   K[15]='needwait'
  ;   K[16]=10
  ;   K[17]=4
  ;   K[18]='FourStarCard'
  ;   K[19]=5
  ;   K[20]='FiveStarCard'
  ;   K[21]='m_mapCacheStar'
  ;   K[22]=0
  ;   K[23]='bLimit'
  ;   K[24]='LimitAlbumDefinition'
  ;   K[25]='m_type'
  ;   K[26]=nil
  ;   K[27]='GM'
  ;   K[28]='BIManager'
  ;   K[29]='LogAcquire'
  ;   K[30]='GetShowStar'
  ;   K[31]='AddNotNewCardStarCount'
  ;   K[32]='AddSurplusCard'
  ;   K[33]='AlbumBaseModel'
  ;   K[34]='AlbumStarBIName'
  ;   K[35]='AlbumAcquireCard'
  ;   K[36]='showStar'
  ;   K[37]='needWait'
  ;   K[38]='m_albumCurProgress'
  ;   K[39]='GetCardInfo'
  ;   K[40]='m_mapProgressSets'
  ;   K[41]='setId'
  ;   K[42]='Table'
  ;   K[43]='ListRemove'
  ;   K[44]='m_arrCacheNoCollect'
  ;   K[45]='m_mapCacheNoRepeatStar'
  ;   K[46]='tostring'
  ;   K[47]='SetNotNewCardStarCount'
  ;   K[48]='ShowRedPoint'
  ;   K[49]='LogActivity'
  ;   K[50]='EBIType'
  ;   K[51]='ActivityAddScore'
  ;   K[52]='id:'
  ;   K[53]=',star:'
  ;   K[54]='GetSetCollectProgress'
  ;   K[55]='m_mapCardSet'
  ;   K[56]='reward'
  ;   K[57]='RewardApi'
  ;   K[58]='CryptRewards'
  ;   K[59]='AcquireRewardsLogic'
  ;   K[60]='EPropertySource'
  ;   K[61]='Give'
  ;   K[62]='eSetRewardBIType'
  ;   K[63]='ERewardScene'
  ;   K[64]='Other'
  ;   K[65]='EGameMode'
  ;   K[66]='Board'
  ;   K[67]='CacheItemType'
  ;   K[68]='Stack'
  ;   K[69]='GetSetCompleteProgress'
  ;   K[70]='GetRound'
  ;   K[71]='GetId'
  ;   K[72]='_'
  ;   K[73]='ActivityRankUp'
  ;   K[74]='m_albumMaxProgress'
  ;   K[75]='m_albumConfig'
  ;   K[76]='m_acquiredRoundRewards'
  ;   K[77]='eFinalRewardBIType'
  ;   K[78]='event'
  ;   K[79]='Call'
  ;   K[80]='EventKey'
  ;   K[81]='RedRefresh'
  ;   upvals: _ENV
  ;   locals: self(0-277), cardId(0-277), scene(0-277), needwait(0-277), count(3-277), star(12-277), extInfo(75-277), showStar(88-277), cardInfo(125-276), setId(178-276), bAlbum(179-276), curPro(182-276), maxPro(182-276), rewards(189-233), setPro(209-233), albumReward(240-259)
  0000  SELF      R5 = R0[K0('GetCardCount')] (self)
  0001  MOVE      R6 = R0
  0002  CALL      R4 = call(R4, 1 args, 2 rets)
  0003  GETTABLE  R5 = R0[K1('m_dbTable')]
  0004  SELF      R6 = R5[K2('Set')] (self)
  0005  MOVE      R7 = R0
  0006  GETTABUP  R8 = _ENV[K3('DB_VALUE_KEY')]
  0007  ADD       R9 = K4(1) add R4
  0008  CALL      R5 = call(R5, 0 args, 4 rets)
  0009  GETTABLE  R5 = R0[K5('m_mapCards')]
  0010  GETTABLE  R5 = R5[R1]
  0011  GETTABLE  R5 = R5[K6('star')]
  0012  GETTABUP  R6 = _ENV[K7('EventDispatcher')]
  0013  GETTABLE  R6 = R6[K8('DispatchEvent')]
  0014  GETTABUP  R7 = _ENV[K9('EEventType')]
  0015  GETTABLE  R7 = R7[K10('WeeklyActiveQuestProgressGain')]
  0016  NEWTABLE  R8 = {} (0 items)
  0017  GETTABUP  R9 = _ENV[K12('WeeklyActiveQuestTaskType')]
  0018  GETTABLE  R9 = R9[K13('CardGain')]
  0019  SETTABLE  R8[K11('type')] = R9
  0020  SETTABLE  R8[K14('num')] = K4(1)
  0021  SETTABLE  R8[K15('needwait')] = R3
  0022  CALL      R6 = call(R6, 0 args, 2 rets)
  0023  MOD       R6 = K16(10) mod R5
  0024  EQ        if R0 eq K17(4)   -> -127701
  0025  JMP       (jump)   -> 38
  0026  GETTABUP  R6 = _ENV[K7('EventDispatcher')]
  0027  GETTABLE  R6 = R6[K8('DispatchEvent')]
  0028  GETTABUP  R7 = _ENV[K9('EEventType')]
  0029  GETTABLE  R7 = R7[K10('WeeklyActiveQuestProgressGain')]
  0030  NEWTABLE  R8 = {} (0 items)
  0031  GETTABUP  R9 = _ENV[K12('WeeklyActiveQuestTaskType')]
  0032  GETTABLE  R9 = R9[K18('FourStarCard')]
  0033  SETTABLE  R8[K11('type')] = R9
  0034  SETTABLE  R8[K14('num')] = K4(1)
  0035  SETTABLE  R8[K15('needwait')] = R3
  0036  CALL      R6 = call(R6, 0 args, 2 rets)
  0037  JMP       (jump)   -> 52
  0038  MOD       R6 = K16(10) mod R5
  0039  EQ        if R0 eq K19(5)   -> -127684
  0040  JMP       (jump)   -> 52
  0041  GETTABUP  R6 = _ENV[K7('EventDispatcher')]
  0042  GETTABLE  R6 = R6[K8('DispatchEvent')]
  0043  GETTABUP  R7 = _ENV[K9('EEventType')]
  0044  GETTABLE  R7 = R7[K10('WeeklyActiveQuestProgressGain')]
  0045  NEWTABLE  R8 = {} (0 items)
  0046  GETTABUP  R9 = _ENV[K12('WeeklyActiveQuestTaskType')]
  0047  GETTABLE  R9 = R9[K20('FiveStarCard')]
  0048  SETTABLE  R8[K11('type')] = R9
  0049  SETTABLE  R8[K14('num')] = K4(1)
  0050  SETTABLE  R8[K15('needwait')] = R3
  0051  CALL      R6 = call(R6, 0 args, 2 rets)
  0052  GETTABLE  R6 = R0[K21('m_mapCacheStar')]
  0053  GETTABLE  R7 = R0[K21('m_mapCacheStar')]
  0054  GETTABLE  R7 = R7[R5]
  0055  TEST      if not R7 then   -> -131014
  0056  JMP       (jump)   -> 58
  0057  LOADK     R7 = K22 0
  0058  SETTABLE  R6[R5] = R7
  0059  GETTABLE  R6 = R0[K21('m_mapCacheStar')]
  0060  GETTABLE  R7 = R0[K21('m_mapCacheStar')]
  0061  GETTABLE  R7 = R7[R5]
  0062  ADD       R7 = K4(1) add R7
  0063  SETTABLE  R6[R5] = R7
  0064  NEWTABLE  R6 = {} (0 items)
  0065  GETTABUP  R7 = _ENV[K24('LimitAlbumDefinition')]
  0066  GETTABLE  R8 = R0[K25('m_type')]
  0067  GETTABLE  R7 = R7[R8]
  0068  EQ        if R1 eq K26(nil)   -> -127136
  0069  JMP       (jump)   -> 73
  0070  LOADK     R7 = K4 1
  0071  TEST      if not R7 then   -> -130998
  0072  JMP       (jump)   -> 74
  0073  LOADK     R7 = K22 0
  0074  SETTABLE  R6[K23('bLimit')] = R7
  0075  GETTABUP  R7 = _ENV[K27('GM')]
  0076  GETTABLE  R7 = R7[K28('BIManager')]
  0077  SELF      R8 = R7[K29('LogAcquire')] (self)
  0078  MOVE      R9 = R0
  0079  LOADK     R10 = K4 1
  0080  MOVE      R11 = R0
  0081  LOADBOOL  R12 = true
  0082  LOADNIL   R13..R13 = nil
  0083  MOVE      R14 = R0
  0084  CALL      R7 = call(R7, 0 args, 7 rets)
  0085  SELF      R8 = R0[K30('GetShowStar')] (self)
  0086  MOVE      R9 = R0
  0087  CALL      R7 = call(R7, 1 args, 2 rets)
  0088  LT        if R0 lt R4   -> 11358
  0089  JMP       (jump)   -> 119
  0090  SELF      R9 = R0[K31('AddNotNewCardStarCount')] (self)
  0091  MOVE      R10 = R0
  0092  CALL      R8 = call(R8, 0 args, 2 rets)
  0093  SELF      R9 = R0[K32('AddSurplusCard')] (self)
  0094  MOVE      R10 = R0
  0095  CALL      R8 = call(R8, 0 args, 2 rets)
  0096  GETTABUP  R8 = _ENV[K27('GM')]
  0097  GETTABLE  R8 = R8[K28('BIManager')]
  0098  SELF      R9 = R8[K29('LogAcquire')] (self)
  0099  GETTABUP  R10 = _ENV[K33('AlbumBaseModel')]
  0100  GETTABLE  R10 = R10[K34('AlbumStarBIName')]
  0101  MOVE      R11 = R0
  0102  MOVE      R12 = R0
  0103  LOADBOOL  R13 = true
  0104  LOADNIL   R14..R14 = nil
  0105  MOVE      R15 = R0
  0106  CALL      R8 = call(R8, 0 args, 7 rets)
  0107  GETTABUP  R8 = _ENV[K7('EventDispatcher')]
  0108  GETTABLE  R8 = R8[K8('DispatchEvent')]
  0109  GETTABUP  R9 = _ENV[K9('EEventType')]
  0110  GETTABLE  R9 = R9[K35('AlbumAcquireCard')]
  0111  NEWTABLE  R10 = {} (0 items)
  0112  SETTABLE  R10[K36('showStar')] = R7
  0113  SETTABLE  R10[K37('needWait')] = R3
  0114  CALL      R8 = call(R8, 0 args, 2 rets)
  0115  LOADNIL   R8..R8 = nil
  0116  LOADBOOL  R9 = false
  0117  RETURN    return R8..R7
  0118  JMP       (jump)   -> 276
  0119  GETTABLE  R8 = R0[K38('m_albumCurProgress')]
  0120  ADD       R8 = K4(1) add R8
  0121  SETTABLE  R0[K38('m_albumCurProgress')] = R8
  0122  SELF      R9 = R0[K39('GetCardInfo')] (self)
  0123  MOVE      R10 = R0
  0124  CALL      R8 = call(R8, 1 args, 2 rets)
  0125  GETTABLE  R9 = R0[K40('m_mapProgressSets')]
  0126  GETTABLE  R10 = R8[K41('setId')]
  0127  GETTABLE  R11 = R0[K40('m_mapProgressSets')]
  0128  GETTABLE  R12 = R8[K41('setId')]
  0129  GETTABLE  R11 = R11[R12]
  0130  ADD       R11 = K4(1) add R11
  0131  SETTABLE  R9[R10] = R11
  0132  GETTABUP  R9 = _ENV[K42('Table')]
  0133  GETTABLE  R9 = R9[K43('ListRemove')]
  0134  GETTABLE  R10 = R0[K44('m_arrCacheNoCollect')]
  0135  MOVE      R11 = R0
  0136  CALL      R9 = call(R9, 0 args, 2 rets)
  0137  GETTABLE  R9 = R0[K45('m_mapCacheNoRepeatStar')]
  0138  GETTABUP  R10 = _ENV[K46('tostring')]
  0139  MOVE      R11 = R0
  0140  CALL      R10 = call(R10, 1 args, 1 rets)
  0141  GETTABLE  R9 = R9[R10]
  0142  EQ        if R0 eq K26(nil)   -> -126038
  0143  JMP       (jump)   -> 149
  0144  GETTABLE  R9 = R0[K45('m_mapCacheNoRepeatStar')]
  0145  GETTABUP  R10 = _ENV[K46('tostring')]
  0146  MOVE      R11 = R0
  0147  CALL      R10 = call(R10, 1 args, 1 rets)
  0148  SETTABLE  R9[R10] = K22(0)
  0149  GETTABLE  R9 = R0[K45('m_mapCacheNoRepeatStar')]
  0150  GETTABUP  R10 = _ENV[K46('tostring')]
  0151  MOVE      R11 = R0
  0152  CALL      R10 = call(R10, 1 args, 1 rets)
  0153  GETTABLE  R11 = R0[K45('m_mapCacheNoRepeatStar')]
  0154  GETTABUP  R12 = _ENV[K46('tostring')]
  0155  MOVE      R13 = R0
  0156  CALL      R12 = call(R12, 1 args, 1 rets)
  0157  GETTABLE  R11 = R11[R12]
  0158  ADD       R11 = K4(1) add R11
  0159  SETTABLE  R9[R10] = R11
  0160  SELF      R10 = R0[K47('SetNotNewCardStarCount')] (self)
  0161  MOVE      R11 = R0
  0162  LOADK     R12 = K22 0
  0163  CALL      R9 = call(R9, 0 args, 3 rets)
  0164  SELF      R10 = R0[K48('ShowRedPoint')] (self)
  0165  GETTABLE  R11 = R8[K41('setId')]
  0166  MOVE      R12 = R0
  0167  CALL      R9 = call(R9, 0 args, 3 rets)
  0168  SELF      R10 = R0[K49('LogActivity')] (self)
  0169  GETTABUP  R11 = _ENV[K50('EBIType')]
  0170  GETTABLE  R11 = R11[K51('ActivityAddScore')]
  0171  LOADK     R12 = K52 'id:'
  0172  MOVE      R13 = R0
  0173  LOADK     R14 = K53 ',star:'
  0174  MOVE      R15 = R0
  0175  CONCAT    R12 = concat(R12..R12)
  0176  CALL      R9 = call(R9, 0 args, 3 rets)
  0177  LOADNIL   R9..R9 = nil
  0178  LOADBOOL  R10 = false
  0179  SELF      R12 = R0[K54('GetSetCollectProgress')] (self)
  0180  GETTABLE  R13 = R8[K41('setId')]
  0181  CALL      R11 = call(R11, 2 args, 2 rets)
  0182  EQ        if R0 eq R12   -> -125244
  0183  JMP       (jump)   -> 233
  0184  GETTABLE  R9 = R8[K41('setId')]
  0185  GETTABLE  R13 = R0[K55('m_mapCardSet')]
  0186  GETTABLE  R14 = R8[K41('setId')]
  0187  GETTABLE  R13 = R13[R14]
  0188  GETTABLE  R13 = R13[K56('reward')]
  0189  GETTABUP  R14 = _ENV[K57('RewardApi')]
  0190  GETTABLE  R14 = R14[K58('CryptRewards')]
  0191  MOVE      R15 = R0
  0192  LOADBOOL  R16 = true
  0193  CALL      R14 = call(R14, 0 args, 2 rets)
  0194  GETTABUP  R14 = _ENV[K57('RewardApi')]
  0195  GETTABLE  R14 = R14[K59('AcquireRewardsLogic')]
  0196  MOVE      R15 = R0
  0197  GETTABUP  R16 = _ENV[K60('EPropertySource')]
  0198  GETTABLE  R16 = R16[K61('Give')]
  0199  GETTABLE  R17 = R0[K62('eSetRewardBIType')]
  0200  GETTABUP  R18 = _ENV[K63('ERewardScene')]
  0201  GETTABLE  R18 = R18[K64('Other')]
  0202  GETTABUP  R19 = _ENV[K65('EGameMode')]
  0203  GETTABLE  R19 = R19[K66('Board')]
  0204  GETTABUP  R20 = _ENV[K67('CacheItemType')]
  0205  GETTABLE  R20 = R20[K68('Stack')]
  0206  CALL      R14 = call(R14, 0 args, 6 rets)
  0207  SELF      R15 = R0[K69('GetSetCompleteProgress')] (self)
  0208  CALL      R14 = call(R14, 1 args, 1 rets)
  0209  SELF      R16 = R0[K70('GetRound')] (self)
  0210  CALL      R15 = call(R15, 1 args, 1 rets)
  0211  LT        if R0 lt R15   -> 2276
  0212  JMP       (jump)   -> 228
  0213  GETTABUP  R15 = _ENV[K27('GM')]
  0214  GETTABLE  R15 = R15[K28('BIManager')]
  0215  SELF      R16 = R15[K49('LogActivity')] (self)
  0216  GETTABLE  R17 = R0[K25('m_type')]
  0217  SELF      R19 = R0[K71('GetId')] (self)
  0218  CALL      R18 = call(R18, 1 args, 1 rets)
  0219  LOADK     R19 = K72 '_'
  0220  SELF      R21 = R0[K70('GetRound')] (self)
  0221  CALL      R20 = call(R20, 1 args, 1 rets)
  0222  CONCAT    R18 = concat(R18..R18)
  0223  GETTABUP  R19 = _ENV[K50('EBIType')]
  0224  GETTABLE  R19 = R19[K73('ActivityRankUp')]
  0225  MOVE      R20 = R0
  0226  CALL      R15 = call(R15, 0 args, 5 rets)
  0227  JMP       (jump)   -> 233
  0228  SELF      R16 = R0[K49('LogActivity')] (self)
  0229  GETTABUP  R17 = _ENV[K50('EBIType')]
  0230  GETTABLE  R17 = R17[K73('ActivityRankUp')]
  0231  MOVE      R18 = R0
  0232  CALL      R15 = call(R15, 0 args, 3 rets)
  0233  GETTABLE  R13 = R0[K38('m_albumCurProgress')]
  0234  GETTABLE  R14 = R0[K74('m_albumMaxProgress')]
  0235  EQ        if R0 eq R14   -> -124165
  0236  JMP       (jump)   -> 259
  0237  LOADBOOL  R10 = true
  0238  GETTABLE  R13 = R0[K75('m_albumConfig')]
  0239  GETTABLE  R13 = R13[K56('reward')]
  0240  GETTABUP  R14 = _ENV[K57('RewardApi')]
  0241  GETTABLE  R14 = R14[K58('CryptRewards')]
  0242  MOVE      R15 = R0
  0243  LOADBOOL  R16 = true
  0244  CALL      R14 = call(R14, 0 args, 2 rets)
  0245  GETTABUP  R14 = _ENV[K57('RewardApi')]
  0246  GETTABLE  R14 = R14[K59('AcquireRewardsLogic')]
  0247  MOVE      R15 = R0
  0248  GETTABUP  R16 = _ENV[K60('EPropertySource')]
  0249  GETTABLE  R16 = R16[K61('Give')]
  0250  GETTABLE  R17 = R0[K77('eFinalRewardBIType')]
  0251  GETTABUP  R18 = _ENV[K63('ERewardScene')]
  0252  GETTABLE  R18 = R18[K64('Other')]
  0253  GETTABUP  R19 = _ENV[K65('EGameMode')]
  0254  GETTABLE  R19 = R19[K66('Board')]
  0255  GETTABUP  R20 = _ENV[K67('CacheItemType')]
  0256  GETTABLE  R20 = R20[K68('Stack')]
  0257  CALL      R14 = call(R14, 1 args, 6 rets)
  0258  SETTABLE  R0[K76('m_acquiredRoundRewards')] = R14
  0259  GETTABLE  R13 = R0[K78('event')]
  0260  SELF      R14 = R13[K79('Call')] (self)
  0261  GETTABUP  R15 = _ENV[K33('AlbumBaseModel')]
  0262  GETTABLE  R15 = R15[K80('EventKey')]
  0263  GETTABLE  R15 = R15[K81('RedRefresh')]
  0264  CALL      R13 = call(R13, 0 args, 2 rets)
  0265  GETTABUP  R13 = _ENV[K7('EventDispatcher')]
  0266  GETTABLE  R13 = R13[K8('DispatchEvent')]
  0267  GETTABUP  R14 = _ENV[K9('EEventType')]
  0268  GETTABLE  R14 = R14[K35('AlbumAcquireCard')]
  0269  NEWTABLE  R15 = {} (0 items)
  0270  SETTABLE  R15[K36('showStar')] = R7
  0271  SETTABLE  R15[K37('needWait')] = R3
  0272  CALL      R13 = call(R13, 0 args, 2 rets)
  0273  MOVE      R13 = R0
  0274  MOVE      R14 = R0
  0275  RETURN    return R13..R12
  0276  RETURN    return R0..R-1
; ---------- proto43 [RandomAcquireCard] ----------
  ; fn ?  line 670-697 np=6 va=0 ms=16 code=60 consts=22 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='GetCardInfo'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='Table'
  ;   K[5]='ListWeightSelectOne'
  ;   K[6]='weight'
  ;   K[7]='GetCardCount'
  ;   K[8]='cardId'
  ;   K[9]=0
  ;   K[10]='AcquireCard'
  ;   K[11]='EBIType'
  ;   K[12]='AlbumAcquirePackCard'
  ;   K[13]='GameConfig'
  ;   K[14]='IsTestMode'
  ;   K[15]=nil
  ;   K[16]='state'
  ;   K[17]='optionals'
  ;   K[18]='targetcard'
  ;   K[19]='i32Star'
  ;   K[20]='newCard'
  ;   K[21]='listGachaResult'
  ;   upvals: _ENV
  ;   locals: self(0-60), screenGachaCards(0-60), i32Star(0-60), testState(0-60), testLog(0-60), scene(0-60), selectRandom(1-60), (for generator)(4-15), (for state)(4-15), (for control)(4-15), _(5-13), eleCardType(5-13), cardConfig(8-13), strRandCard(20-60), bNewCard(27-60), finishSet(35-60), curbAllAlbum(35-60), eleGachaInfo(43-54)
  0000  NEWTABLE  R6 = {} (0 items)
  0001  GETTABUP  R7 = _ENV[K0('ipairs')]
  0002  MOVE      R8 = R0
  0003  CALL      R7 = call(R7, 3 args, 1 rets)
  0004  JMP       (jump)   -> 13
  0005  SELF      R13 = R0[K1('GetCardInfo')] (self)
  0006  MOVE      R14 = R0
  0007  CALL      R12 = call(R12, 1 args, 2 rets)
  0008  GETTABUP  R13 = _ENV[K2('table')]
  0009  GETTABLE  R13 = R13[K3('insert')]
  0010  MOVE      R14 = R0
  0011  MOVE      R15 = R0
  0012  CALL      R13 = call(R13, 0 args, 2 rets)
  0013  TFORCALL  tforcall R7
  0014  TFORLOOP  tforloop R9(sBx=-10)   -> 5
  0015  GETTABUP  R7 = _ENV[K4('Table')]
  0016  GETTABLE  R7 = R7[K5('ListWeightSelectOne')]
  0017  MOVE      R8 = R0
  0018  LOADK     R9 = K6 'weight'
  0019  CALL      R7 = call(R7, 1 args, 2 rets)
  0020  SELF      R9 = R0[K7('GetCardCount')] (self)
  0021  GETTABLE  R10 = R7[K8('cardId')]
  0022  CALL      R8 = call(R8, 1 args, 2 rets)
  0023  EQ        if R1 eq K9(0)   -> -126686
  0024  JMP       (jump)   -> 26
  0025  LOADBOOL  R8 = false
  0026  LOADBOOL  R8 = true
  0027  SELF      R10 = R0[K10('AcquireCard')] (self)
  0028  GETTABLE  R11 = R7[K8('cardId')]
  0029  TESTSET   if R1 then R12   -> -128480
  0030  JMP       (jump)   -> 33
  0031  GETTABUP  R12 = _ENV[K11('EBIType')]
  0032  GETTABLE  R12 = R12[K12('AlbumAcquirePackCard')]
  0033  LOADBOOL  R13 = true
  0034  CALL      R9 = call(R9, 2 args, 4 rets)
  0035  GETTABUP  R11 = _ENV[K13('GameConfig')]
  0036  GETTABLE  R11 = R11[K14('IsTestMode')]
  0037  CALL      R11 = call(R11, 1 args, 0 rets)
  0038  TEST      if not R11 then   -> -131032
  0039  JMP       (jump)   -> 54
  0040  EQ        if R1 eq K15(nil)   -> -128711
  0041  JMP       (jump)   -> 54
  0042  NEWTABLE  R11 = {} (0 items)
  0043  SETTABLE  R11[K16('state')] = R3
  0044  SETTABLE  R11[K17('optionals')] = R6
  0045  GETTABLE  R12 = R7[K8('cardId')]
  0046  SETTABLE  R11[K18('targetcard')] = R12
  0047  SETTABLE  R11[K19('i32Star')] = R2
  0048  SETTABLE  R11[K20('newCard')] = R8
  0049  GETTABUP  R12 = _ENV[K2('table')]
  0050  GETTABLE  R12 = R12[K3('insert')]
  0051  GETTABLE  R13 = R4[K21('listGachaResult')]
  0052  MOVE      R14 = R0
  0053  CALL      R12 = call(R12, 0 args, 2 rets)
  0054  GETTABLE  R11 = R7[K8('cardId')]
  0055  MOVE      R12 = R0
  0056  MOVE      R13 = R0
  0057  MOVE      R14 = R0
  0058  RETURN    return R11..R10
  0059  RETURN    return R0..R-1
; ---------- proto44 [FilterCardsByStar] ----------
  ; fn ?  line 708-796 np=7 va=0 ms=27 code=214 consts=41 upvals=2 protos=0
  ;   K[0]='pairs'
  ;   K[1]='PROPERTY_TYPE'
  ;   K[2]='PROPERTY_COUNT'
  ;   K[3]=1
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='AddTestLog'
  ;   K[7]='NewFixedStarNum'
  ;   K[8]='EAlbumSpreadType'
  ;   K[9]='PurpleNew'
  ;   K[10]='m_dbTable'
  ;   K[11]='GetValue'
  ;   K[12]='NotNewCardPackNum'
  ;   K[13]='DB_VALUE_KEY'
  ;   K[14]=0
  ;   K[15]=2
  ;   K[16]=0.33
  ;   K[17]=3
  ;   K[18]=0.66
  ;   K[19]='MathUtil'
  ;   K[20]='Random'
  ;   K[21]='GameConfig'
  ;   K[22]='IsTestMode'
  ;   K[23]='Log'
  ;   K[24]='Info'
  ;   K[25]='[AlbumPack] 紫色卡包开启，已经连续未开到新卡的次数: '
  ;   K[26]='; 当前出新卡的概率: '
  ;   K[27]='; 随机结果: '
  ;   K[28]=';'
  ;   K[29]='RandomSelectUnFinishedStar'
  ;   K[30]='Table'
  ;   K[31]='ListAppend'
  ;   K[32]='PurpleNewFixedStar'
  ;   K[33]='GoldRedNew'
  ;   K[34]='IsEmpty'
  ;   K[35]='RedNew'
  ;   K[36]='FixedStarNum'
  ;   K[37]='Error'
  ;   K[38]='卡包的spreadNum < fixedSpread + newFixedSpread的数量, 请检查配置'
  ;   K[39]='RandomSelectStar'
  ;   K[40]='resultNature'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-214), spreadNum(0-214), spreadWeight(0-214), fixedSpread(0-214), newFixedSpread(0-214), spreadType(0-214), testLog(0-214), newFixedSpreadStar(3-214), FixedSpreadStar(6-214), RandomSpreadStar(9-214), newListTarget(10-214), (for generator)(13-30), (for state)(13-30), (for control)(13-30), _(14-28), v(14-28), strStar(16-28), eleCount(18-28), (for index)(21-28), (for limit)(21-28), (for step)(21-28), i(22-27), redListTarget(36-214), notNewNum(48-100), chance(49-100), roll(68-100), res(90-100), res(110-126), res(135-140), listTarget(141-214), (for generator)(144-161), (for state)(144-161), (for control)(144-161), _(145-159), v(145-159), strStar(147-159), eleCount(149-159), (for index)(152-159), (for limit)(152-159), (for step)(152-159), i(153-158), remainRandomNum(172-214), listStar(188-214), resultNature(194-214)
  0000  TESTSET   if R1 then R7   -> -129021
  0001  JMP       (jump)   -> 3
  0002  NEWTABLE  R7 = {} (0 items)
  0003  TESTSET   if R1 then R8   -> -129530
  0004  JMP       (jump)   -> 6
  0005  NEWTABLE  R8 = {} (0 items)
  0006  TESTSET   if R1 then R9   -> -130039
  0007  JMP       (jump)   -> 9
  0008  NEWTABLE  R9 = {} (0 items)
  0009  NEWTABLE  R10 = {} (0 items)
  0010  GETTABUP  R11 = _ENV[K0('pairs')]
  0011  MOVE      R12 = R0
  0012  CALL      R11 = call(R11, 3 args, 1 rets)
  0013  JMP       (jump)   -> 28
  0014  GETTABUP  R16 = _ENV[K1('PROPERTY_TYPE')]
  0015  GETTABLE  R16 = R15[R16]
  0016  GETTABUP  R17 = _ENV[K2('PROPERTY_COUNT')]
  0017  GETTABLE  R17 = R15[R17]
  0018  LOADK     R18 = K3 1
  0019  MOVE      R19 = R0
  0020  LOADK     R20 = K3 1
  0021  FORPREP   forprep R18(sBx=5)   -> 27
  0022  GETTABUP  R22 = _ENV[K4('table')]
  0023  GETTABLE  R22 = R22[K5('insert')]
  0024  MOVE      R23 = R0
  0025  MOVE      R24 = R0
  0026  CALL      R22 = call(R22, 0 args, 2 rets)
  0027  FORLOOP   forloop R18(sBx=-6)   -> 22
  0028  TFORCALL  tforcall R11
  0029  TFORLOOP  tforloop R13(sBx=-16)   -> 14
  0030  SELF      R12 = R0[K6('AddTestLog')] (self)
  0031  MOVE      R13 = R0
  0032  LOADK     R14 = K7 'NewFixedStarNum'
  0033  MOVE      R15 = R0
  0034  CALL      R11 = call(R11, 0 args, 4 rets)
  0035  NEWTABLE  R11 = {} (0 items)
  0036  GETTABUP  R12 = _ENV[K8('EAlbumSpreadType')]
  0037  GETTABLE  R12 = R12[K9('PurpleNew')]
  0038  EQ        if R0 eq R12   -> -128460
  0039  JMP       (jump)   -> 101
  0040  GETTABLE  R12 = R0[K10('m_dbTable')]
  0041  SELF      R13 = R12[K11('GetValue')] (self)
  0042  GETTABUP  R14 = DBKey[K12('NotNewCardPackNum')]
  0043  GETTABUP  R15 = _ENV[K13('DB_VALUE_KEY')]
  0044  CALL      R12 = call(R12, 1 args, 3 rets)
  0045  TEST      if not R12 then   -> -131024
  0046  JMP       (jump)   -> 48
  0047  LOADK     R12 = K14 0
  0048  LOADK     R13 = K14 0
  0049  EQ        if R0 eq K15(2)   -> -124606
  0050  JMP       (jump)   -> 53
  0051  LOADK     R13 = K16 0.33
  0052  JMP       (jump)   -> 60
  0053  EQ        if R0 eq K17(3)   -> -124600
  0054  JMP       (jump)   -> 57
  0055  LOADK     R13 = K18 0.66
  0056  JMP       (jump)   -> 60
  0057  LT        if R0 lt R12   -> 8775
  0058  JMP       (jump)   -> 60
  0059  LOADK     R13 = K3 1
  0060  LT        if R0 lt R13   -> 7243
  0061  JMP       (jump)   -> 67
  0062  GETTABUP  R14 = _ENV[K19('MathUtil')]
  0063  GETTABLE  R14 = R14[K20('Random')]
  0064  CALL      R14 = call(R14, 1 args, 0 rets)
  0065  TEST      if not R14 then   -> -131004
  0066  JMP       (jump)   -> 68
  0067  LOADK     R14 = K3 1
  0068  GETTABUP  R15 = _ENV[K21('GameConfig')]
  0069  GETTABLE  R15 = R15[K22('IsTestMode')]
  0070  CALL      R15 = call(R15, 1 args, 0 rets)
  0071  TEST      if not R15 then   -> -130999
  0072  JMP       (jump)   -> 84
  0073  GETTABUP  R15 = _ENV[K23('Log')]
  0074  GETTABLE  R15 = R15[K24('Info')]
  0075  LOADK     R16 = K25 '[AlbumPack] 紫色卡包开启，已经连续未开到新卡的次数: '
  0076  MOVE      R17 = R0
  0077  LOADK     R18 = K26 '; 当前出新卡的概率: '
  0078  MOVE      R19 = R0
  0079  LOADK     R20 = K27 '; 随机结果: '
  0080  MOVE      R21 = R0
  0081  LOADK     R22 = K28 ';'
  0082  CONCAT    R16 = concat(R16..R16)
  0083  CALL      R15 = call(R15, 0 args, 1 rets)
  0084  LE        if R0 le R13   -> -123805
  0085  JMP       (jump)   -> 140
  0086  SELF      R16 = R0[K29('RandomSelectUnFinishedStar')] (self)
  0087  LOADK     R17 = K3 1
  0088  MOVE      R18 = R0
  0089  CALL      R15 = call(R15, 1 args, 3 rets)
  0090  GETTABUP  R16 = _ENV[K30('Table')]
  0091  GETTABLE  R16 = R16[K31('ListAppend')]
  0092  MOVE      R17 = R0
  0093  MOVE      R18 = R0
  0094  CALL      R16 = call(R16, 0 args, 2 rets)
  0095  SELF      R17 = R0[K6('AddTestLog')] (self)
  0096  MOVE      R18 = R0
  0097  LOADK     R19 = K32 'PurpleNewFixedStar'
  0098  GETTABLE  R20 = R15[K3(1)]
  0099  CALL      R16 = call(R16, 0 args, 4 rets)
  0100  JMP       (jump)   -> 140
  0101  GETTABUP  R12 = _ENV[K8('EAlbumSpreadType')]
  0102  GETTABLE  R12 = R12[K33('GoldRedNew')]
  0103  EQ        if R0 eq R12   -> -128395
  0104  JMP       (jump)   -> 127
  0105  SELF      R13 = R0[K29('RandomSelectUnFinishedStar')] (self)
  0106  LOADK     R14 = K3 1
  0107  MOVE      R15 = R0
  0108  LOADBOOL  R16 = true
  0109  CALL      R12 = call(R12, 1 args, 4 rets)
  0110  GETTABUP  R13 = _ENV[K30('Table')]
  0111  GETTABLE  R13 = R13[K34('IsEmpty')]
  0112  MOVE      R14 = R0
  0113  CALL      R13 = call(R13, 1 args, 1 rets)
  0114  TEST      if not R13 then   -> -130956
  0115  JMP       (jump)   -> 121
  0116  SELF      R14 = R0[K29('RandomSelectUnFinishedStar')] (self)
  0117  LOADK     R15 = K3 1
  0118  MOVE      R16 = R0
  0119  CALL      R13 = call(R13, 1 args, 3 rets)
  0120  MOVE      R12 = R0
  0121  GETTABUP  R13 = _ENV[K30('Table')]
  0122  GETTABLE  R13 = R13[K31('ListAppend')]
  0123  MOVE      R14 = R0
  0124  MOVE      R15 = R0
  0125  CALL      R13 = call(R13, 0 args, 2 rets)
  0126  JMP       (jump)   -> 140
  0127  GETTABUP  R12 = _ENV[K8('EAlbumSpreadType')]
  0128  GETTABLE  R12 = R12[K35('RedNew')]
  0129  EQ        if R0 eq R12   -> -128369
  0130  JMP       (jump)   -> 140
  0131  SELF      R13 = R0[K29('RandomSelectUnFinishedStar')] (self)
  0132  LOADK     R14 = K3 1
  0133  MOVE      R15 = R0
  0134  CALL      R12 = call(R12, 1 args, 3 rets)
  0135  GETTABUP  R13 = _ENV[K30('Table')]
  0136  GETTABLE  R13 = R13[K31('ListAppend')]
  0137  MOVE      R14 = R0
  0138  MOVE      R15 = R0
  0139  CALL      R13 = call(R13, 0 args, 2 rets)
  0140  NEWTABLE  R12 = {} (0 items)
  0141  GETTABUP  R13 = _ENV[K0('pairs')]
  0142  MOVE      R14 = R0
  0143  CALL      R13 = call(R13, 3 args, 1 rets)
  0144  JMP       (jump)   -> 159
  0145  GETTABUP  R18 = _ENV[K1('PROPERTY_TYPE')]
  0146  GETTABLE  R18 = R17[R18]
  0147  GETTABUP  R19 = _ENV[K2('PROPERTY_COUNT')]
  0148  GETTABLE  R19 = R17[R19]
  0149  LOADK     R20 = K3 1
  0150  MOVE      R21 = R0
  0151  LOADK     R22 = K3 1
  0152  FORPREP   forprep R20(sBx=5)   -> 158
  0153  GETTABUP  R24 = _ENV[K4('table')]
  0154  GETTABLE  R24 = R24[K5('insert')]
  0155  MOVE      R25 = R0
  0156  MOVE      R26 = R0
  0157  CALL      R24 = call(R24, 0 args, 2 rets)
  0158  FORLOOP   forloop R20(sBx=-6)   -> 153
  0159  TFORCALL  tforcall R13
  0160  TFORLOOP  tforloop R15(sBx=-16)   -> 145
  0161  SELF      R14 = R0[K6('AddTestLog')] (self)
  0162  MOVE      R15 = R0
  0163  LOADK     R16 = K36 'FixedStarNum'
  0164  MOVE      R17 = R0
  0165  CALL      R13 = call(R13, 0 args, 4 rets)
  0166  LEN       R13 = len R0
  0167  SUB       R13 = R13 sub R1
  0168  LEN       R14 = len R0
  0169  SUB       R13 = R14 sub R13
  0170  LEN       R14 = len R0
  0171  SUB       R13 = R14 sub R13
  0172  LE        if R0 le K14(0)   -> -123972
  0173  JMP       (jump)   -> 184
  0174  LT        if R0 lt K14(0)   -> -123970
  0175  JMP       (jump)   -> 180
  0176  GETTABUP  R14 = _ENV[K23('Log')]
  0177  GETTABLE  R14 = R14[K37('Error')]
  0178  LOADK     R15 = K38 '卡包的spreadNum < fixedSpread + newFixedSpread的数量, 请检查配置'
  0179  CALL      R14 = call(R14, 0 args, 1 rets)
  0180  MOVE      R14 = R0
  0181  MOVE      R15 = R0
  0182  MOVE      R16 = R0
  0183  RETURN    return R14..R13
  0184  SELF      R15 = R0[K39('RandomSelectStar')] (self)
  0185  MOVE      R16 = R0
  0186  MOVE      R17 = R0
  0187  CALL      R14 = call(R14, 1 args, 3 rets)
  0188  GETTABUP  R15 = _ENV[K30('Table')]
  0189  GETTABLE  R15 = R15[K31('ListAppend')]
  0190  MOVE      R16 = R0
  0191  MOVE      R17 = R0
  0192  CALL      R15 = call(R15, 0 args, 2 rets)
  0193  NEWTABLE  R15 = {} (0 items)
  0194  GETTABUP  R16 = _ENV[K30('Table')]
  0195  GETTABLE  R16 = R16[K31('ListAppend')]
  0196  MOVE      R17 = R0
  0197  MOVE      R18 = R0
  0198  CALL      R16 = call(R16, 0 args, 2 rets)
  0199  GETTABUP  R16 = _ENV[K30('Table')]
  0200  GETTABLE  R16 = R16[K31('ListAppend')]
  0201  MOVE      R17 = R0
  0202  MOVE      R18 = R0
  0203  CALL      R16 = call(R16, 0 args, 2 rets)
  0204  SELF      R17 = R0[K6('AddTestLog')] (self)
  0205  MOVE      R18 = R0
  0206  LOADK     R19 = K40 'resultNature'
  0207  MOVE      R20 = R0
  0208  CALL      R16 = call(R16, 0 args, 4 rets)
  0209  MOVE      R16 = R0
  0210  MOVE      R17 = R0
  0211  MOVE      R18 = R0
  0212  RETURN    return R16..R15
  0213  RETURN    return R0..R-1
; ---------- proto45 [RandomSelectUnFinishedStar] ----------
  ; fn ?  line 799-810 np=4 va=0 ms=14 code=36 consts=9 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='GetStarNumber'
  ;   K[2]='Item'
  ;   K[3]='GetUncollectedCardsByStarLevel'
  ;   K[4]=0
  ;   K[5]='IsGoldStar'
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   K[8]='RandomSelectStar'
  ;   upvals: _ENV
  ;   locals: self(0-36), num(0-36), arrSpreadConfig(0-36), bGold(0-36), arrConfig(1-36), star(2-36), (for generator)(5-30), (for state)(5-30), (for control)(5-30), _(6-28), ele(6-28)
  0000  NEWTABLE  R4 = {} (0 items)
  0001  LOADNIL   R5..R5 = nil
  0002  GETTABUP  R6 = _ENV[K0('ipairs')]
  0003  MOVE      R7 = R0
  0004  CALL      R6 = call(R6, 3 args, 1 rets)
  0005  JMP       (jump)   -> 28
  0006  SELF      R12 = R0[K1('GetStarNumber')] (self)
  0007  GETTABLE  R13 = R10[K2('Item')]
  0008  CALL      R11 = call(R11, 1 args, 2 rets)
  0009  MOVE      R5 = R0
  0010  SELF      R12 = R0[K3('GetUncollectedCardsByStarLevel')] (self)
  0011  MOVE      R13 = R0
  0012  CALL      R11 = call(R11, 1 args, 2 rets)
  0013  LEN       R11 = len R0
  0014  LT        if R0 lt R11   -> 2075
  0015  JMP       (jump)   -> 28
  0016  TEST      if not R3 then   -> -131054
  0017  JMP       (jump)   -> 23
  0018  SELF      R12 = R0[K5('IsGoldStar')] (self)
  0019  GETTABLE  R13 = R10[K2('Item')]
  0020  CALL      R11 = call(R11, 1 args, 2 rets)
  0021  TEST      if not R11 then   -> -131049
  0022  JMP       (jump)   -> 28
  0023  GETTABUP  R11 = _ENV[K6('table')]
  0024  GETTABLE  R11 = R11[K7('insert')]
  0025  MOVE      R12 = R0
  0026  MOVE      R13 = R0
  0027  CALL      R11 = call(R11, 0 args, 2 rets)
  0028  TFORCALL  tforcall R6
  0029  TFORLOOP  tforloop R8(sBx=-24)   -> 6
  0030  SELF      R7 = R0[K8('RandomSelectStar')] (self)
  0031  MOVE      R8 = R0
  0032  MOVE      R9 = R0
  0033  TAILCALL  tailcall(R6, 0)
  0034  RETURN    return R6..R5
  0035  RETURN    return R0..R-1
; ---------- proto46 [_OpenPack] ----------
  ; fn ?  line 813-949 np=9 va=0 ms=36 code=201 consts=39 upvals=2 protos=2
  ;   K[0]=nil
  ;   K[1]='FilterCardsByStar'
  ;   K[2]='ipairs'
  ;   K[3]='GetStarNumber'
  ;   K[4]='IsGoldStar'
  ;   K[5]='EAlbumSpreadType'
  ;   K[6]='RedNew'
  ;   K[7]='table'
  ;   K[8]='insert'
  ;   K[9]='GoldRedNew'
  ;   K[10]='Log'
  ;   K[11]='Error'
  ;   K[12]='[AlbumModel] redListTarget Error'
  ;   K[13]='GetGachaCardsByStar'
  ;   K[14]='GetNewGachaCard'
  ;   K[15]='Table'
  ;   K[16]='IsEmpty'
  ;   K[17]=3
  ;   K[18]='ListAppend'
  ;   K[19]='CheckPityGachaCard'
  ;   K[20]='RemoveDuplicatesCards'
  ;   K[21]=0
  ;   K[22]=10
  ;   K[23]='Assert'
  ;   K[24]='当前星级没有卡片'
  ;   K[25]='tostring'
  ;   K[26]='GM'
  ;   K[27]='BIManager'
  ;   K[28]='LogUseItem'
  ;   K[29]=1
  ;   K[30]='EBIType'
  ;   K[31]='AlbumOpenPack'
  ;   K[32]='GetType'
  ;   K[33]='PurpleNew'
  ;   K[34]='m_dbTable'
  ;   K[35]='GetValue'
  ;   K[36]='NotNewCardPackNum'
  ;   K[37]='DB_VALUE_KEY'
  ;   K[38]='Set'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-201), packId(0-201), spreadNum(0-201), spreadWeight(0-201), fixedSpread(0-201), newFixedSpread(0-201), spreadType(0-201), testLog(0-201), acquireCardScene(0-201), PackType(4-201), listTarget(12-201), newListTarget(12-201), redListTarget(12-201), GachCardFinishSet(13-201), bAllAlbum(14-201), GachaCard(15-201), AllGachaCard(16-201), mapNewCard(17-201), randomAcquireCardFunc(18-201), tryAcquireLastCardFunc(19-201), randomListTarget(20-201), (for generator)(23-63), (for state)(23-63), (for control)(23-63), _(24-61), strStar(24-61), i32Star(27-61), screenGachaCards(28-61), star(28-61), (for generator)(66-98), (for state)(66-98), (for control)(66-98), _(67-96), strStar(67-96), i32Star(70-96), canGachaCards(76-96), screenGachaCards(79-96), star(79-96), (for generator)(106-154), (for state)(106-154), (for control)(106-154), _(107-152), strStar(107-152), i32Star(110-152), canGachaCards(116-152), screenGachaCards(120-152), testState(120-152), ScreenTempCards(124-152), curNum(182-188)
  0000  EQ        if R0 eq K0(nil)   -> -129790
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  MOVE      R9 = R0
  0004  SELF      R11 = R0[K1('FilterCardsByStar')] (self)
  0005  MOVE      R12 = R0
  0006  MOVE      R13 = R0
  0007  MOVE      R14 = R0
  0008  MOVE      R15 = R0
  0009  MOVE      R16 = R0
  0010  MOVE      R17 = R0
  0011  CALL      R10 = call(R10, 3 args, 7 rets)
  0012  NEWTABLE  R13 = {} (0 items)
  0013  LOADBOOL  R14 = false
  0014  NEWTABLE  R15 = {} (0 items)
  0015  NEWTABLE  R16 = {} (0 items)
  0016  NEWTABLE  R17 = {} (0 items)
  0017  CLOSURE   R18 = closure proto0
  0018  CLOSURE   R19 = closure proto1
  0019  NEWTABLE  R20 = {} (0 items)
  0020  GETTABUP  R21 = _ENV[K2('ipairs')]
  0021  MOVE      R22 = R0
  0022  CALL      R21 = call(R21, 3 args, 1 rets)
  0023  JMP       (jump)   -> 61
  0024  SELF      R27 = R0[K3('GetStarNumber')] (self)
  0025  MOVE      R28 = R0
  0026  CALL      R26 = call(R26, 1 args, 2 rets)
  0027  LOADNIL   R27..R27 = nil
  0028  SELF      R30 = R0[K4('IsGoldStar')] (self)
  0029  MOVE      R31 = R0
  0030  CALL      R29 = call(R29, 1 args, 2 rets)
  0031  TEST      if not R29 then   -> -131039
  0032  JMP       (jump)   -> 57
  0033  GETTABUP  R29 = _ENV[K5('EAlbumSpreadType')]
  0034  GETTABLE  R29 = R29[K6('RedNew')]
  0035  EQ        if R0 eq R29   -> -127934
  0036  JMP       (jump)   -> 43
  0037  GETTABUP  R29 = _ENV[K7('table')]
  0038  GETTABLE  R29 = R29[K8('insert')]
  0039  MOVE      R30 = R0
  0040  MOVE      R31 = R0
  0041  CALL      R29 = call(R29, 0 args, 2 rets)
  0042  JMP       (jump)   -> 61
  0043  GETTABUP  R29 = _ENV[K5('EAlbumSpreadType')]
  0044  GETTABLE  R29 = R29[K9('GoldRedNew')]
  0045  EQ        if R0 eq R29   -> -127924
  0046  JMP       (jump)   -> 52
  0047  MOVE      R29 = R0
  0048  MOVE      R30 = R0
  0049  LOADBOOL  R31 = true
  0050  CALL      R29 = call(R29, 0 args, 2 rets)
  0051  JMP       (jump)   -> 61
  0052  GETTABUP  R29 = _ENV[K10('Log')]
  0053  GETTABLE  R29 = R29[K11('Error')]
  0054  LOADK     R30 = K12 '[AlbumModel] redListTarget Error'
  0055  CALL      R29 = call(R29, 0 args, 1 rets)
  0056  JMP       (jump)   -> 61
  0057  MOVE      R29 = R0
  0058  MOVE      R30 = R0
  0059  LOADBOOL  R31 = false
  0060  CALL      R29 = call(R29, 0 args, 2 rets)
  0061  TFORCALL  tforcall R21
  0062  TFORLOOP  tforloop R23(sBx=-39)   -> 24
  0063  GETTABUP  R21 = _ENV[K2('ipairs')]
  0064  MOVE      R22 = R0
  0065  CALL      R21 = call(R21, 3 args, 1 rets)
  0066  JMP       (jump)   -> 96
  0067  SELF      R27 = R0[K3('GetStarNumber')] (self)
  0068  MOVE      R28 = R0
  0069  CALL      R26 = call(R26, 1 args, 2 rets)
  0070  SELF      R28 = R0[K13('GetGachaCardsByStar')] (self)
  0071  MOVE      R29 = R0
  0072  CALL      R27 = call(R27, 1 args, 2 rets)
  0073  TEST      if not R27 then   -> -130996
  0074  JMP       (jump)   -> 76
  0075  NEWTABLE  R27 = {} (0 items)
  0076  SELF      R29 = R0[K14('GetNewGachaCard')] (self)
  0077  MOVE      R30 = R0
  0078  CALL      R28 = call(R28, 2 args, 2 rets)
  0079  GETTABUP  R30 = _ENV[K15('Table')]
  0080  GETTABLE  R30 = R30[K16('IsEmpty')]
  0081  MOVE      R31 = R0
  0082  CALL      R30 = call(R30, 1 args, 1 rets)
  0083  TEST      if not R30 then   -> -130987
  0084  JMP       (jump)   -> 91
  0085  GETTABUP  R30 = _ENV[K7('table')]
  0086  GETTABLE  R30 = R30[K8('insert')]
  0087  MOVE      R31 = R0
  0088  MOVE      R32 = R0
  0089  CALL      R30 = call(R30, 0 args, 2 rets)
  0090  JMP       (jump)   -> 96
  0091  MOVE      R30 = R0
  0092  MOVE      R31 = R0
  0093  MOVE      R32 = R0
  0094  LOADK     R33 = K17 3
  0095  CALL      R30 = call(R30, 0 args, 3 rets)
  0096  TFORCALL  tforcall R21
  0097  TFORLOOP  tforloop R23(sBx=-31)   -> 67
  0098  GETTABUP  R21 = _ENV[K15('Table')]
  0099  GETTABLE  R21 = R21[K18('ListAppend')]
  0100  MOVE      R22 = R0
  0101  MOVE      R23 = R0
  0102  CALL      R21 = call(R21, 0 args, 2 rets)
  0103  GETTABUP  R21 = _ENV[K2('ipairs')]
  0104  MOVE      R22 = R0
  0105  CALL      R21 = call(R21, 3 args, 1 rets)
  0106  JMP       (jump)   -> 152
  0107  SELF      R27 = R0[K3('GetStarNumber')] (self)
  0108  MOVE      R28 = R0
  0109  CALL      R26 = call(R26, 1 args, 2 rets)
  0110  SELF      R28 = R0[K13('GetGachaCardsByStar')] (self)
  0111  MOVE      R29 = R0
  0112  CALL      R27 = call(R27, 1 args, 2 rets)
  0113  TEST      if not R27 then   -> -130956
  0114  JMP       (jump)   -> 116
  0115  NEWTABLE  R27 = {} (0 items)
  0116  SELF      R29 = R0[K19('CheckPityGachaCard')] (self)
  0117  MOVE      R30 = R0
  0118  MOVE      R31 = R0
  0119  CALL      R28 = call(R28, 2 args, 3 rets)
  0120  SELF      R31 = R0[K20('RemoveDuplicatesCards')] (self)
  0121  MOVE      R32 = R0
  0122  MOVE      R33 = R0
  0123  CALL      R30 = call(R30, 1 args, 3 rets)
  0124  LEN       R31 = len R0
  0125  EQ        if R0 eq K21(0)   -> -114796
  0126  JMP       (jump)   -> 133
  0127  MUL       R29 = K22(10) mul R29
  0128  SELF      R32 = R0[K20('RemoveDuplicatesCards')] (self)
  0129  MOVE      R33 = R0
  0130  MOVE      R34 = R0
  0131  CALL      R31 = call(R31, 1 args, 3 rets)
  0132  MOVE      R30 = R0
  0133  MOVE      R28 = R0
  0134  LEN       R31 = len R0
  0135  EQ        if R0 eq K21(0)   -> -114786
  0136  JMP       (jump)   -> 147
  0137  GETTABUP  R31 = _ENV[K10('Log')]
  0138  GETTABLE  R31 = R31[K23('Assert')]
  0139  LOADBOOL  R32 = false
  0140  LOADK     R33 = K24 '当前星级没有卡片'
  0141  GETTABUP  R34 = _ENV[K25('tostring')]
  0142  MOVE      R35 = R0
  0143  CALL      R34 = call(R34, 1 args, 1 rets)
  0144  CONCAT    R33 = concat(R33..R33)
  0145  CALL      R31 = call(R31, 0 args, 2 rets)
  0146  JMP       (jump)   -> 152
  0147  MOVE      R31 = R0
  0148  MOVE      R32 = R0
  0149  MOVE      R33 = R0
  0150  MOVE      R34 = R0
  0151  CALL      R31 = call(R31, 0 args, 3 rets)
  0152  TFORCALL  tforcall R21
  0153  TFORLOOP  tforloop R23(sBx=-47)   -> 107
  0154  GETTABUP  R21 = _ENV[K26('GM')]
  0155  GETTABLE  R21 = R21[K27('BIManager')]
  0156  SELF      R22 = R21[K28('LogUseItem')] (self)
  0157  MOVE      R23 = R0
  0158  LOADK     R24 = K29 1
  0159  GETTABUP  R25 = _ENV[K30('EBIType')]
  0160  GETTABLE  R25 = R25[K31('AlbumOpenPack')]
  0161  SELF      R27 = R0[K32('GetType')] (self)
  0162  CALL      R26 = call(R26, -1 args, 1 rets)
  0163  CALL      R21 = call(R21, 0 args, -1 rets)
  0164  GETTABUP  R21 = _ENV[K5('EAlbumSpreadType')]
  0165  GETTABLE  R21 = R21[K33('PurpleNew')]
  0166  EQ        if R0 eq R21   -> -127811
  0167  JMP       (jump)   -> 195
  0168  GETTABUP  R21 = _ENV[K15('Table')]
  0169  GETTABLE  R21 = R21[K16('IsEmpty')]
  0170  MOVE      R22 = R0
  0171  CALL      R21 = call(R21, 1 args, 1 rets)
  0172  TEST      if not R21 then   -> -130898
  0173  JMP       (jump)   -> 189
  0174  GETTABLE  R21 = R0[K34('m_dbTable')]
  0175  SELF      R22 = R21[K35('GetValue')] (self)
  0176  GETTABUP  R23 = DBKey[K36('NotNewCardPackNum')]
  0177  GETTABUP  R24 = _ENV[K37('DB_VALUE_KEY')]
  0178  CALL      R21 = call(R21, 1 args, 3 rets)
  0179  TEST      if not R21 then   -> -130890
  0180  JMP       (jump)   -> 182
  0181  LOADK     R21 = K21 0
  0182  GETTABLE  R22 = R0[K34('m_dbTable')]
  0183  SELF      R23 = R22[K38('Set')] (self)
  0184  GETTABUP  R24 = DBKey[K36('NotNewCardPackNum')]
  0185  GETTABUP  R25 = _ENV[K37('DB_VALUE_KEY')]
  0186  ADD       R26 = K29(1) add R21
  0187  CALL      R22 = call(R22, 0 args, 4 rets)
  0188  JMP       (jump)   -> 195
  0189  GETTABLE  R21 = R0[K34('m_dbTable')]
  0190  SELF      R22 = R21[K38('Set')] (self)
  0191  GETTABUP  R23 = DBKey[K36('NotNewCardPackNum')]
  0192  GETTABUP  R24 = _ENV[K37('DB_VALUE_KEY')]
  0193  LOADK     R25 = K21 0
  0194  CALL      R21 = call(R21, 0 args, 4 rets)
  0195  MOVE      R21 = R0
  0196  MOVE      R22 = R0
  0197  MOVE      R23 = R0
  0198  MOVE      R24 = R0
  0199  RETURN    return R21..R20
  0200  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 836-855 np=3 va=0 ms=10 code=44 consts=5 upvals=9 protos=0
    ;   K[0]='RandomAcquireCard'
    ;   K[1]=true
    ;   K[2]=nil
    ;   K[3]='table'
    ;   K[4]='insert'
    ;   upvals: self, testLog, acquireCardScene, mapNewCard, _ENV, GachCardFinishSet, bAllAlbum, GachaCard, AllGachaCard
    ;   locals: screenGachaCards(0-44), i32Star(0-44), testState(0-44), cardId(8-44), bNewCard(8-44), curbAllAlbum(8-44), finishSet(8-44)
    0000  GETUPVAL  R3 = self
    0001  SELF      R4 = R3[K0('RandomAcquireCard')] (self)
    0002  MOVE      R5 = R0
    0003  MOVE      R6 = R0
    0004  MOVE      R7 = R0
    0005  GETUPVAL  R8 = self
    0006  GETUPVAL  R9 = self
    0007  CALL      R3 = call(R3, 4 args, 6 rets)
    0008  TEST      if not R4 then   -> -131062
    0009  JMP       (jump)   -> 11
    0010  SETTABUP  mapNewCard[R3] = K1(true)
    0011  EQ        if R1 eq K2(nil)   -> -127729
    0012  JMP       (jump)   -> 18
    0013  GETTABUP  R7 = _ENV[K3('table')]
    0014  GETTABLE  R7 = R7[K4('insert')]
    0015  GETUPVAL  R8 = self
    0016  MOVE      R9 = R0
    0017  CALL      R7 = call(R7, 0 args, 2 rets)
    0018  GETUPVAL  R7 = self
    0019  TEST      if not R7 then   -> -131050
    0020  JMP       (jump)   -> 22
    0021  MOVE      R7 = R0
    0022  SETUPVAL  GachaCard = R0
    0023  GETTABUP  R7 = _ENV[K3('table')]
    0024  GETTABLE  R7 = R7[K4('insert')]
    0025  GETUPVAL  R8 = self
    0026  MOVE      R9 = R0
    0027  CALL      R7 = call(R7, 0 args, 2 rets)
    0028  GETTABUP  R7 = _ENV[K3('table')]
    0029  GETTABLE  R7 = R7[K4('insert')]
    0030  GETUPVAL  R8 = self
    0031  MOVE      R9 = R0
    0032  CALL      R7 = call(R7, 0 args, 2 rets)
    0033  GETUPVAL  R7 = self
    0034  TEST      if not R7 then   -> -131035
    0035  JMP       (jump)   -> 37
    0036  MOVE      R7 = R0
    0037  SETUPVAL  GachaCard = R0
    0038  GETTABUP  R7 = _ENV[K3('table')]
    0039  GETTABLE  R7 = R7[K4('insert')]
    0040  GETUPVAL  R8 = self
    0041  MOVE      R9 = R0
    0042  CALL      R7 = call(R7, 0 args, 2 rets)
    0043  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 857-868 np=2 va=0 ms=10 code=43 consts=18 upvals=4 protos=0
    ;   K[0]='GetUncollectedLastCardInSet'
    ;   K[1]='MathUtil'
    ;   K[2]='Random'
    ;   K[3]='GameConfig'
    ;   K[4]='IsTestMode'
    ;   K[5]='Log'
    ;   K[6]='Info'
    ;   K[7]='[AlbumPack] 红色/金红色卡包尝试获取卡册的最后一张普通/金卡, 选到的卡牌id: '
    ;   K[8]='未选择到'
    ;   K[9]='; 随机数: '
    ;   K[10]=';'
    ;   K[11]=nil
    ;   K[12]=0.8
    ;   K[13]='m_mapCards'
    ;   K[14]='star'
    ;   K[15]=4
    ;   K[16]='table'
    ;   K[17]='insert'
    ;   upvals: self, _ENV, randomAcquireCardFunc, newListTarget
    ;   locals: strStar(0-43), bGold(0-43), cardId(4-43), roll(7-43)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('GetUncollectedLastCardInSet')] (self)
    0002  MOVE      R4 = R0
    0003  CALL      R2 = call(R2, 1 args, 2 rets)
    0004  GETTABUP  R3 = _ENV[K1('MathUtil')]
    0005  GETTABLE  R3 = R3[K2('Random')]
    0006  CALL      R3 = call(R3, 1 args, 0 rets)
    0007  GETTABUP  R4 = _ENV[K3('GameConfig')]
    0008  GETTABLE  R4 = R4[K4('IsTestMode')]
    0009  CALL      R4 = call(R4, 1 args, 0 rets)
    0010  TEST      if not R4 then   -> -131060
    0011  JMP       (jump)   -> 23
    0012  GETTABUP  R4 = _ENV[K5('Log')]
    0013  GETTABLE  R4 = R4[K6('Info')]
    0014  LOADK     R5 = K7 '[AlbumPack] 红色/金红色卡包尝试获取卡册的最后一张普通/金卡, 选到的卡牌id: '
    0015  TESTSET   if R1 then R6   -> -130030
    0016  JMP       (jump)   -> 18
    0017  LOADK     R6 = K8 '未选择到'
    0018  LOADK     R7 = K9 '; 随机数: '
    0019  MOVE      R8 = R0
    0020  LOADK     R9 = K10 ';'
    0021  CONCAT    R5 = concat(R5..R5)
    0022  CALL      R4 = call(R4, 0 args, 1 rets)
    0023  EQ        if R1 eq K11(nil)   -> -129756
    0024  JMP       (jump)   -> 37
    0025  LT        if R0 lt K12(0.8)   -> -129241
    0026  JMP       (jump)   -> 37
    0027  GETUPVAL  R4 = self
    0028  NEWTABLE  R5 = {} (1 items)
    0029  MOVE      R6 = R0
    0030  SETLIST   setlist R5[B=1,C=1]
    0031  GETTABUP  R6 = self[K13('m_mapCards')]
    0032  GETTABLE  R6 = R6[R2]
    0033  GETTABLE  R6 = R6[K14('star')]
    0034  LOADK     R7 = K15 4
    0035  CALL      R4 = call(R4, 0 args, 3 rets)
    0036  JMP       (jump)   -> 42
    0037  GETTABUP  R4 = _ENV[K16('table')]
    0038  GETTABLE  R4 = R4[K17('insert')]
    0039  GETUPVAL  R5 = self
    0040  MOVE      R6 = R0
    0041  CALL      R4 = call(R4, 0 args, 2 rets)
    0042  RETURN    return R0..R-1
; ---------- proto47 [GetStarNumber] ----------
  ; fn ?  line 952-954 np=2 va=0 ms=3 code=4 consts=1 upvals=1 protos=0
  ;   K[0]='AlbumStarType'
  ;   upvals: _ENV
  ;   locals: self(0-4), strStar(0-4)
  0000  GETTABUP  R2 = _ENV[K0('AlbumStarType')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto48 [GetGachaCardsByStar] ----------
  ; fn ?  line 957-959 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapCardByStar'
  ;   locals: self(0-4), star(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapCardByStar')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto49 [GetNewGachaCard] ----------
  ; fn ?  line 962-985 np=2 va=0 ms=15 code=53 consts=11 upvals=1 protos=0
  ;   K[0]='AlbumGoldCardStarBase'
  ;   K[1]=1
  ;   K[2]='GetGachaCardsByStar'
  ;   K[3]='ipairs'
  ;   K[4]='GetCardCount'
  ;   K[5]=0
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   K[8]='Table'
  ;   K[9]='IsEmpty'
  ;   K[10]=-1
  ;   upvals: _ENV
  ;   locals: self(0-53), i32Star(0-53), screenGachaCards(1-53), bGold(6-53), minStar(13-53), star(14-53), canGachaCards(22-48), (for generator)(25-38), (for state)(25-38), (for control)(25-38), _(26-36), card(26-36)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('AlbumGoldCardStarBase')]
  0002  LT        if R1 lt R1   -> -129531
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R3 = false
  0005  LOADBOOL  R3 = true
  0006  TEST      if not R3 then   -> -131064
  0007  JMP       (jump)   -> 12
  0008  GETTABUP  R4 = _ENV[K0('AlbumGoldCardStarBase')]
  0009  ADD       R4 = K1(1) add R4
  0010  TEST      if not R4 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  LOADK     R4 = K1 1
  0013  MOVE      R5 = R0
  0014  LE        if R0 le R5   -> -129003
  0015  JMP       (jump)   -> 49
  0016  SELF      R7 = R0[K2('GetGachaCardsByStar')] (self)
  0017  MOVE      R8 = R0
  0018  CALL      R6 = call(R6, 1 args, 2 rets)
  0019  TEST      if not R6 then   -> -131050
  0020  JMP       (jump)   -> 22
  0021  NEWTABLE  R6 = {} (0 items)
  0022  GETTABUP  R7 = _ENV[K3('ipairs')]
  0023  MOVE      R8 = R0
  0024  CALL      R7 = call(R7, 3 args, 1 rets)
  0025  JMP       (jump)   -> 36
  0026  SELF      R13 = R0[K4('GetCardCount')] (self)
  0027  MOVE      R14 = R0
  0028  CALL      R12 = call(R12, 1 args, 2 rets)
  0029  EQ        if R0 eq K5(0)   -> -124636
  0030  JMP       (jump)   -> 36
  0031  GETTABUP  R12 = _ENV[K6('table')]
  0032  GETTABLE  R12 = R12[K7('insert')]
  0033  MOVE      R13 = R0
  0034  MOVE      R14 = R0
  0035  CALL      R12 = call(R12, 0 args, 2 rets)
  0036  TFORCALL  tforcall R7
  0037  TFORLOOP  tforloop R9(sBx=-12)   -> 26
  0038  GETTABUP  R7 = _ENV[K8('Table')]
  0039  GETTABLE  R7 = R7[K9('IsEmpty')]
  0040  MOVE      R8 = R0
  0041  CALL      R7 = call(R7, 1 args, 1 rets)
  0042  TEST      if not R7 then   -> -131027
  0043  JMP       (jump)   -> 47
  0044  MOVE      R7 = R0
  0045  MOVE      R8 = R0
  0046  RETURN    return R7..R6
  0047  SUB       R5 = K1(1) sub R5
  0048  JMP       (jump)   -> 14
  0049  MOVE      R6 = R0
  0050  LOADK     R7 = K10 -1
  0051  RETURN    return R6..R5
  0052  RETURN    return R0..R-1
; ---------- proto50 [CheckPityGachaCard] ----------
  ; fn ?  line 988-1018 np=3 va=0 ms=15 code=57 consts=11 upvals=1 protos=0
  ;   K[0]='GetNewCardLuckLimitNum'
  ;   K[1]='GetCardCountNoRepeatByStar'
  ;   K[2]=0
  ;   K[3]='CanPositiveBuff'
  ;   K[4]='ipairs'
  ;   K[5]='GetCardCount'
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   K[8]=2
  ;   K[9]=1
  ;   K[10]=-1
  ;   upvals: _ENV
  ;   locals: self(0-57), i32Star(0-57), canGachaCards(0-57), screenGachaCards(1-57), limitNewNum(4-57), curNewNum(7-57), testState(8-57), (for generator)(16-29), (for state)(16-29), (for control)(16-29), _(17-27), card(17-27), (for generator)(36-49), (for state)(36-49), (for control)(36-49), _(37-47), card(37-47)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  SELF      R5 = R0[K0('GetNewCardLuckLimitNum')] (self)
  0002  MOVE      R6 = R0
  0003  CALL      R4 = call(R4, 1 args, 2 rets)
  0004  SELF      R6 = R0[K1('GetCardCountNoRepeatByStar')] (self)
  0005  MOVE      R7 = R0
  0006  CALL      R5 = call(R5, 1 args, 2 rets)
  0007  LOADK     R6 = K2 0
  0008  SELF      R8 = R0[K3('CanPositiveBuff')] (self)
  0009  MOVE      R9 = R0
  0010  CALL      R7 = call(R7, 1 args, 2 rets)
  0011  TEST      if not R7 then   -> -131059
  0012  JMP       (jump)   -> 31
  0013  GETTABUP  R7 = _ENV[K4('ipairs')]
  0014  MOVE      R8 = R0
  0015  CALL      R7 = call(R7, 3 args, 1 rets)
  0016  JMP       (jump)   -> 27
  0017  SELF      R13 = R0[K5('GetCardCount')] (self)
  0018  MOVE      R14 = R0
  0019  CALL      R12 = call(R12, 1 args, 2 rets)
  0020  EQ        if R0 eq K2(0)   -> -124648
  0021  JMP       (jump)   -> 27
  0022  GETTABUP  R12 = _ENV[K6('table')]
  0023  GETTABLE  R12 = R12[K7('insert')]
  0024  MOVE      R13 = R0
  0025  MOVE      R14 = R0
  0026  CALL      R12 = call(R12, 0 args, 2 rets)
  0027  TFORCALL  tforcall R7
  0028  TFORLOOP  tforloop R9(sBx=-12)   -> 17
  0029  LOADK     R6 = K8 2
  0030  JMP       (jump)   -> 53
  0031  LE        if R0 le R5   -> -128986
  0032  JMP       (jump)   -> 51
  0033  GETTABUP  R7 = _ENV[K4('ipairs')]
  0034  MOVE      R8 = R0
  0035  CALL      R7 = call(R7, 3 args, 1 rets)
  0036  JMP       (jump)   -> 47
  0037  SELF      R13 = R0[K5('GetCardCount')] (self)
  0038  MOVE      R14 = R0
  0039  CALL      R12 = call(R12, 1 args, 2 rets)
  0040  EQ        if R1 eq K2(0)   -> -124628
  0041  JMP       (jump)   -> 47
  0042  GETTABUP  R12 = _ENV[K6('table')]
  0043  GETTABLE  R12 = R12[K7('insert')]
  0044  MOVE      R13 = R0
  0045  MOVE      R14 = R0
  0046  CALL      R12 = call(R12, 0 args, 2 rets)
  0047  TFORCALL  tforcall R7
  0048  TFORLOOP  tforloop R9(sBx=-12)   -> 37
  0049  LOADK     R6 = K9 1
  0050  JMP       (jump)   -> 53
  0051  MOVE      R3 = R0
  0052  LOADK     R6 = K10 -1
  0053  MOVE      R7 = R0
  0054  MOVE      R8 = R0
  0055  RETURN    return R7..R6
  0056  RETURN    return R0..R-1
; ---------- proto51 [CanPositiveBuff] ----------
  ; fn ?  line 1021-1033 np=2 va=0 ms=13 code=25 consts=8 upvals=1 protos=0
  ;   K[0]='m_albumConfig'
  ;   K[1]='insure'
  ;   K[2]='pairs'
  ;   K[3]='GetStarNumber'
  ;   K[4]='PROPERTY_TYPE'
  ;   K[5]='PROPERTY_COUNT'
  ;   K[6]='GetNotNewCardStarCount'
  ;   K[7]=1
  ;   upvals: _ENV
  ;   locals: self(0-25), star(0-25), insures(2-25), (for generator)(5-24), (for state)(5-24), (for control)(5-24), _(6-22), eleInsure(6-22), curStar(10-22), limitNumber(14-22)
  0000  GETTABLE  R2 = R0[K0('m_albumConfig')]
  0001  GETTABLE  R2 = R2[K1('insure')]
  0002  GETTABUP  R3 = _ENV[K2('pairs')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, 3 args, 1 rets)
  0005  JMP       (jump)   -> 22
  0006  SELF      R9 = R0[K3('GetStarNumber')] (self)
  0007  GETTABUP  R10 = _ENV[K4('PROPERTY_TYPE')]
  0008  GETTABLE  R10 = R7[R10]
  0009  CALL      R8 = call(R8, 1 args, 2 rets)
  0010  EQ        if R0 eq R1   -> -126963
  0011  JMP       (jump)   -> 22
  0012  GETTABUP  R9 = _ENV[K5('PROPERTY_COUNT')]
  0013  GETTABLE  R9 = R7[R9]
  0014  SELF      R11 = R0[K6('GetNotNewCardStarCount')] (self)
  0015  MOVE      R12 = R0
  0016  CALL      R10 = call(R10, 1 args, 2 rets)
  0017  SUB       R11 = K7(1) sub R9
  0018  LE        if R0 le R10   -> -125410
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R10 = true
  0021  RETURN    return R10..R9
  0022  TFORCALL  tforcall R3
  0023  TFORLOOP  tforloop R5(sBx=-18)   -> 6
  0024  RETURN    return R0..R-1
; ---------- proto52 [RemoveDuplicatesCards] ----------
  ; fn ?  line 1037-1054 np=3 va=0 ms=16 code=27 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='pairs'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-27), collectedCards(0-27), curCards(0-27), target(1-27), (for generator)(4-25), (for state)(4-25), (for control)(4-25), index(5-23), screenCard(5-23), bFind(6-23), (for generator)(9-16), (for state)(9-16), (for control)(9-16), _(10-14), strCard(10-14)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K0('ipairs')]
  0002  MOVE      R5 = R0
  0003  CALL      R4 = call(R4, 3 args, 1 rets)
  0004  JMP       (jump)   -> 23
  0005  LOADBOOL  R9 = false
  0006  GETTABUP  R10 = _ENV[K1('pairs')]
  0007  MOVE      R11 = R0
  0008  CALL      R10 = call(R10, 3 args, 1 rets)
  0009  JMP       (jump)   -> 14
  0010  EQ        if R0 eq R14   -> -126950
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R9 = true
  0013  JMP       (jump)   -> 16
  0014  TFORCALL  tforcall R10
  0015  TFORLOOP  tforloop R12(sBx=-6)   -> 10
  0016  TEST      if not R9 then   -> -131053
  0017  JMP       (jump)   -> 23
  0018  GETTABUP  R10 = _ENV[K2('table')]
  0019  GETTABLE  R10 = R10[K3('insert')]
  0020  MOVE      R11 = R0
  0021  MOVE      R12 = R0
  0022  CALL      R10 = call(R10, 0 args, 2 rets)
  0023  TFORCALL  tforcall R4
  0024  TFORLOOP  tforloop R6(sBx=-20)   -> 5
  0025  RETURN    return R3..R2
  0026  RETURN    return R0..R-1
; ---------- proto53 [GetUncollectedCardsByStarLevel] ----------
  ; fn ?  line 1058-1069 np=2 va=0 ms=12 code=22 consts=6 upvals=1 protos=0
  ;   K[0]='GetGachaCardsByStar'
  ;   K[1]='ipairs'
  ;   K[2]='GetCardCount'
  ;   K[3]=0
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-22), i32Star(0-22), target(1-22), canGachaCards(4-22), (for generator)(7-20), (for state)(7-20), (for control)(7-20), _(8-18), card(8-18)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  SELF      R4 = R0[K0('GetGachaCardsByStar')] (self)
  0002  MOVE      R5 = R0
  0003  CALL      R3 = call(R3, 1 args, 2 rets)
  0004  GETTABUP  R4 = _ENV[K1('ipairs')]
  0005  MOVE      R5 = R0
  0006  CALL      R4 = call(R4, 3 args, 1 rets)
  0007  JMP       (jump)   -> 18
  0008  SELF      R10 = R0[K2('GetCardCount')] (self)
  0009  MOVE      R11 = R0
  0010  CALL      R9 = call(R9, 1 args, 2 rets)
  0011  EQ        if R0 eq K3(0)   -> -126192
  0012  JMP       (jump)   -> 18
  0013  GETTABUP  R9 = _ENV[K4('table')]
  0014  GETTABLE  R9 = R9[K5('insert')]
  0015  MOVE      R10 = R0
  0016  MOVE      R11 = R0
  0017  CALL      R9 = call(R9, 0 args, 2 rets)
  0018  TFORCALL  tforcall R4
  0019  TFORLOOP  tforloop R6(sBx=-12)   -> 8
  0020  RETURN    return R2..R1
  0021  RETURN    return R0..R-1
; ---------- proto54 [GetUncollectedLastCardInSet] ----------
  ; fn ?  line 1072-1086 np=2 va=0 ms=16 code=44 consts=10 upvals=1 protos=0
  ;   K[0]='m_arrCardSet'
  ;   K[1]='ipairs'
  ;   K[2]='m_mapCardSet'
  ;   K[3]='setId'
  ;   K[4]='cardGroup'
  ;   K[5]='m_mapProgressSets'
  ;   K[6]=1
  ;   K[7]='GetCardCount'
  ;   K[8]=0
  ;   K[9]='IsGoldCard'
  ;   upvals: _ENV
  ;   locals: self(0-44), bGold(0-44), arrSetConfig(4-44), (for generator)(7-41), (for state)(7-41), (for control)(7-41), _(8-39), setConfig(8-39), (for generator)(25-39), (for state)(25-39), (for control)(25-39), _(26-37), cardId(26-37)
  0000  GETTABLE  R2 = R0[K0('m_arrCardSet')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  NEWTABLE  R2 = {} (0 items)
  0004  GETTABUP  R3 = _ENV[K1('ipairs')]
  0005  GETTABLE  R4 = R0[K0('m_arrCardSet')]
  0006  CALL      R3 = call(R3, 3 args, 1 rets)
  0007  JMP       (jump)   -> 39
  0008  GETTABLE  R8 = R0[K2('m_mapCardSet')]
  0009  GETTABLE  R9 = R7[K3('setId')]
  0010  GETTABLE  R8 = R8[R9]
  0011  GETTABLE  R8 = R8[K4('cardGroup')]
  0012  LEN       R8 = len R0
  0013  GETTABLE  R9 = R0[K5('m_mapProgressSets')]
  0014  GETTABLE  R10 = R7[K3('setId')]
  0015  GETTABLE  R9 = R9[R10]
  0016  SUB       R8 = R9 sub R8
  0017  EQ        if R0 eq K6(1)   -> -126695
  0018  JMP       (jump)   -> 39
  0019  GETTABUP  R8 = _ENV[K1('ipairs')]
  0020  GETTABLE  R9 = R0[K2('m_mapCardSet')]
  0021  GETTABLE  R10 = R7[K3('setId')]
  0022  GETTABLE  R9 = R9[R10]
  0023  GETTABLE  R9 = R9[K4('cardGroup')]
  0024  CALL      R8 = call(R8, 3 args, 1 rets)
  0025  JMP       (jump)   -> 37
  0026  SELF      R14 = R0[K7('GetCardCount')] (self)
  0027  MOVE      R15 = R0
  0028  CALL      R13 = call(R13, 1 args, 2 rets)
  0029  EQ        if R0 eq K8(0)   -> -124121
  0030  JMP       (jump)   -> 37
  0031  SELF      R14 = R0[K9('IsGoldCard')] (self)
  0032  MOVE      R15 = R0
  0033  CALL      R13 = call(R13, 1 args, 2 rets)
  0034  EQ        if R0 eq R13   -> -130511
  0035  JMP       (jump)   -> 37
  0036  RETURN    return R12..R11
  0037  TFORCALL  tforcall R8
  0038  TFORLOOP  tforloop R10(sBx=-13)   -> 26
  0039  TFORCALL  tforcall R3
  0040  TFORLOOP  tforloop R5(sBx=-33)   -> 8
  0041  LOADNIL   R3..R3 = nil
  0042  RETURN    return R3..R2
  0043  RETURN    return R0..R-1
; ---------- proto55 [RandomSelectStar] ----------
  ; fn ?  line 1088-1110 np=3 va=0 ms=19 code=46 consts=13 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='pairs'
  ;   K[2]='Weight'
  ;   K[3]=1
  ;   K[4]='MathUtil'
  ;   K[5]='Random'
  ;   K[6]='ipairs'
  ;   K[7]='Item'
  ;   K[8]=nil
  ;   K[9]='AlbumStarType'
  ;   K[10]='empty'
  ;   K[11]='table'
  ;   K[12]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-46), num(0-46), arrSpreadConfig(0-46), listTarget(1-46), allWeight(2-46), (for generator)(5-10), (for state)(5-10), (for control)(5-10), _(6-8), ele(6-8), (for index)(13-44), (for limit)(13-44), (for step)(13-44), i(14-43), randNum(18-43), curWeight(19-43), (for generator)(22-43), (for state)(22-43), (for control)(22-43), _(23-41), ele(23-41)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  LOADK     R4 = K0 0
  0002  GETTABUP  R5 = _ENV[K1('pairs')]
  0003  MOVE      R6 = R0
  0004  CALL      R5 = call(R5, 3 args, 1 rets)
  0005  JMP       (jump)   -> 8
  0006  GETTABLE  R10 = R9[K2('Weight')]
  0007  ADD       R4 = R10 add R4
  0008  TFORCALL  tforcall R5
  0009  TFORLOOP  tforloop R7(sBx=-4)   -> 6
  0010  LOADK     R5 = K3 1
  0011  MOVE      R6 = R0
  0012  LOADK     R7 = K3 1
  0013  FORPREP   forprep R5(sBx=29)   -> 43
  0014  GETTABUP  R9 = _ENV[K4('MathUtil')]
  0015  GETTABLE  R9 = R9[K5('Random')]
  0016  CALL      R9 = call(R9, 1 args, 0 rets)
  0017  MUL       R9 = R4 mul R9
  0018  LOADK     R10 = K0 0
  0019  GETTABUP  R11 = _ENV[K6('ipairs')]
  0020  MOVE      R12 = R0
  0021  CALL      R11 = call(R11, 3 args, 1 rets)
  0022  JMP       (jump)   -> 41
  0023  GETTABLE  R16 = R15[K2('Weight')]
  0024  ADD       R10 = R16 add R10
  0025  LT        if R0 lt R10   -> -126427
  0026  JMP       (jump)   -> 41
  0027  GETTABLE  R16 = R15[K7('Item')]
  0028  EQ        if R1 eq K8(nil)   -> -122586
  0029  JMP       (jump)   -> 43
  0030  GETTABLE  R16 = R15[K7('Item')]
  0031  GETTABUP  R17 = _ENV[K9('AlbumStarType')]
  0032  GETTABLE  R17 = R17[K10('empty')]
  0033  EQ        if R1 eq R17   -> -122828
  0034  JMP       (jump)   -> 43
  0035  GETTABUP  R16 = _ENV[K11('table')]
  0036  GETTABLE  R16 = R16[K12('insert')]
  0037  MOVE      R17 = R0
  0038  GETTABLE  R18 = R15[K7('Item')]
  0039  CALL      R16 = call(R16, 0 args, 2 rets)
  0040  JMP       (jump)   -> 43
  0041  TFORCALL  tforcall R11
  0042  TFORLOOP  tforloop R13(sBx=-20)   -> 23
  0043  FORLOOP   forloop R5(sBx=-30)   -> 14
  0044  RETURN    return R3..R2
  0045  RETURN    return R0..R-1
; ---------- proto56 [CompareCard] ----------
  ; fn ?  line 1112-1124 np=4 va=0 ms=10 code=23 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapCards'
  ;   K[1]='star'
  ;   locals: self(0-23), card1(0-23), card2(0-23), mapNewCards(0-23), bNew1(4-23), bNew2(8-23), cardData1(13-23), cardData2(15-23)
  0000  GETTABLE  R4 = R3[R1]
  0001  TEST      if not R4 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R4 = false
  0004  GETTABLE  R5 = R3[R2]
  0005  TEST      if not R5 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R5 = false
  0008  EQ        if R1 eq R5   -> -129009
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R4..R3
  0011  GETTABLE  R6 = R0[K0('m_mapCards')]
  0012  GETTABLE  R6 = R6[R1]
  0013  GETTABLE  R7 = R0[K0('m_mapCards')]
  0014  GETTABLE  R7 = R7[R2]
  0015  GETTABLE  R8 = R6[K1('star')]
  0016  GETTABLE  R9 = R7[K1('star')]
  0017  LT        if R1 lt R8   -> -126437
  0018  JMP       (jump)   -> 20
  0019  LOADBOOL  R8 = false
  0020  LOADBOOL  R8 = true
  0021  RETURN    return R8..R7
  0022  RETURN    return R0..R-1
; ---------- proto57 [IsExistCard] ----------
  ; fn ?  line 1126-1128 np=2 va=0 ms=3 code=11 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapCards'
  ;   K[1]=nil
  ;   locals: self(0-11), cardId(0-11)
  0000  GETTABLE  R2 = R0[K0('m_mapCards')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_mapCards')]
  0004  GETTABLE  R2 = R2[R1]
  0005  EQ        if R0 eq K1(nil)   -> -129784
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R2 = false
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto58 [IsExistCardSet] ----------
  ; fn ?  line 1130-1132 np=2 va=0 ms=3 code=11 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapCurRoundCardSet'
  ;   K[1]=nil
  ;   locals: self(0-11), setId(0-11)
  0000  GETTABLE  R2 = R0[K0('m_mapCurRoundCardSet')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_mapCurRoundCardSet')]
  0004  GETTABLE  R2 = R2[R1]
  0005  EQ        if R0 eq K1(nil)   -> -129784
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R2 = false
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto59 [IsAllGoldCardUncollect] ----------
  ; fn ?  line 1135-1147 np=1 va=0 ms=9 code=24 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrCacheNoCollect'
  ;   K[3]='ipairs'
  ;   K[4]='IsGoldCard'
  ;   upvals: _ENV
  ;   locals: self(0-24), (for generator)(11-21), (for state)(11-21), (for control)(11-21), i(12-19), v(12-19)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrCacheNoCollect')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADBOOL  R1 = false
  0007  RETURN    return R1..R0
  0008  GETTABUP  R1 = _ENV[K3('ipairs')]
  0009  GETTABLE  R2 = R0[K2('m_arrCacheNoCollect')]
  0010  CALL      R1 = call(R1, 3 args, 1 rets)
  0011  JMP       (jump)   -> 19
  0012  SELF      R7 = R0[K4('IsGoldCard')] (self)
  0013  MOVE      R8 = R0
  0014  CALL      R6 = call(R6, 1 args, 2 rets)
  0015  TEST      if not R6 then   -> -131054
  0016  JMP       (jump)   -> 19
  0017  LOADBOOL  R6 = false
  0018  RETURN    return R6..R5
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-9)   -> 12
  0021  LOADBOOL  R1 = true
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto60 [AddTestLog] ----------
  ; fn ?  line 1149-1155 np=4 va=0 ms=5 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]=nil
  ;   upvals: _ENV
  ;   locals: self(0-10), testLog(0-10), strKey(0-10), strValue(0-10)
  0000  GETTABUP  R4 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R4 = R4[K1('IsTestMode')]
  0002  CALL      R4 = call(R4, 1 args, 0 rets)
  0003  TEST      if not R4 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  EQ        if R0 eq K2(nil)   -> -130295
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  SETTABLE  R1[R2] = R3
  0009  RETURN    return R0..R-1
; ---------- proto61 [GetCardPicId] ----------
  ; fn ?  line 1161-1168 np=2 va=0 ms=4 code=11 consts=2 upvals=0 protos=0
  ;   K[0]='m_mapAllCards'
  ;   K[1]='picId'
  ;   locals: self(0-11), cardId(0-11), cardConfig(2-11)
  0000  GETTABLE  R2 = R0[K0('m_mapAllCards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R1..R0
  0005  GETTABLE  R3 = R2[K1('picId')]
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  MOVE      R3 = R0
  0009  RETURN    return R3..R2
  0010  RETURN    return R0..R-1
; ---------- proto62 [GetCardSetPicId] ----------
  ; fn ?  line 1171-1191 np=2 va=0 ms=10 code=37 consts=11 upvals=1 protos=0
  ;   K[0]='m_mapCardSet'
  ;   K[1]=nil
  ;   K[2]='picId'
  ;   K[3]='cardGroup'
  ;   K[4]=1
  ;   K[5]='GetCardPicId'
  ;   K[6]='StringUtil'
  ;   K[7]='rFindChar'
  ;   K[8]='_'
  ;   K[9]='string'
  ;   K[10]='sub'
  ;   upvals: _ENV
  ;   locals: self(0-37), setId(0-37), setConfig(10-37), firstCardId(17-37), picId(20-37), index(27-34)
  0000  GETTABLE  R2 = R0[K0('m_mapCardSet')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_mapCardSet')]
  0004  GETTABLE  R2 = R2[R1]
  0005  EQ        if R0 eq K1(nil)   -> -129784
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R1..R0
  0008  GETTABLE  R2 = R0[K0('m_mapCardSet')]
  0009  GETTABLE  R2 = R2[R1]
  0010  GETTABLE  R3 = R2[K2('picId')]
  0011  EQ        if R1 eq K1(nil)   -> -129266
  0012  JMP       (jump)   -> 15
  0013  GETTABLE  R3 = R2[K2('picId')]
  0014  RETURN    return R3..R2
  0015  GETTABLE  R3 = R2[K3('cardGroup')]
  0016  GETTABLE  R3 = R3[K4(1)]
  0017  SELF      R5 = R0[K5('GetCardPicId')] (self)
  0018  MOVE      R6 = R0
  0019  CALL      R4 = call(R4, 1 args, 2 rets)
  0020  EQ        if R1 eq K1(nil)   -> -128745
  0021  JMP       (jump)   -> 35
  0022  GETTABUP  R5 = _ENV[K6('StringUtil')]
  0023  GETTABLE  R5 = R5[K7('rFindChar')]
  0024  MOVE      R6 = R0
  0025  LOADK     R7 = K8 '_'
  0026  CALL      R5 = call(R5, 1 args, 2 rets)
  0027  GETTABUP  R6 = _ENV[K9('string')]
  0028  GETTABLE  R6 = R6[K10('sub')]
  0029  MOVE      R7 = R0
  0030  LOADK     R8 = K4 1
  0031  SUB       R9 = K4(1) sub R5
  0032  TAILCALL  tailcall(R6, 0)
  0033  RETURN    return R6..R5
  0034  JMP       (jump)   -> 36
  0035  RETURN    return R1..R0
  0036  RETURN    return R0..R-1
; ---------- proto63 [GetCardName] ----------
  ; fn ?  line 1193-1201 np=2 va=0 ms=5 code=15 consts=3 upvals=0 protos=0
  ;   K[0]='GetCardPicId'
  ;   K[1]=nil
  ;   K[2]='_name'
  ;   locals: self(0-15), cardId(0-15), picId(3-15)
  0000  SELF      R3 = R0[K0('GetCardPicId')] (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)   -> 10
  0005  MOVE      R3 = R0
  0006  LOADK     R4 = K2 '_name'
  0007  CONCAT    R3 = concat(R3..R3)
  0008  RETURN    return R3..R2
  0009  JMP       (jump)   -> 14
  0010  MOVE      R3 = R0
  0011  LOADK     R4 = K2 '_name'
  0012  CONCAT    R3 = concat(R3..R3)
  0013  RETURN    return R3..R2
  0014  RETURN    return R0..R-1
; ---------- proto64 [GetCustomCardBackImgName] ----------
  ; fn ?  line 1203-1211 np=2 va=0 ms=6 code=29 consts=10 upvals=1 protos=0
  ;   K[0]='IsGoldCard'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='GoldCardBg2ImgName'
  ;   K[3]='GoldBackNameTextColor'
  ;   K[4]='UIUtil'
  ;   K[5]='ConvertHexColor2CSColor'
  ;   K[6]='CA5D28'
  ;   K[7]='CardBg2ImgName'
  ;   K[8]='BackNameTextColor'
  ;   K[9]='9B6A42'
  ;   upvals: _ENV
  ;   locals: self(0-29), cardId(0-29), bGold(3-29)
  0000  SELF      R3 = R0[K0('IsGoldCard')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 17
  0005  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0006  GETTABLE  R3 = R3[K2('GoldCardBg2ImgName')]
  0007  GETTABLE  R4 = R0[K1('m_activityDefinition')]
  0008  GETTABLE  R4 = R4[K3('GoldBackNameTextColor')]
  0009  TEST      if not R4 then   -> -131060
  0010  JMP       (jump)   -> 15
  0011  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0012  GETTABLE  R4 = R4[K5('ConvertHexColor2CSColor')]
  0013  LOADK     R5 = K6 'CA5D28'
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  RETURN    return R3..R2
  0016  JMP       (jump)   -> 28
  0017  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0018  GETTABLE  R3 = R3[K7('CardBg2ImgName')]
  0019  GETTABLE  R4 = R0[K1('m_activityDefinition')]
  0020  GETTABLE  R4 = R4[K8('BackNameTextColor')]
  0021  TEST      if not R4 then   -> -131048
  0022  JMP       (jump)   -> 27
  0023  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0024  GETTABLE  R4 = R4[K5('ConvertHexColor2CSColor')]
  0025  LOADK     R5 = K9 '9B6A42'
  0026  CALL      R4 = call(R4, 1 args, 1 rets)
  0027  RETURN    return R3..R2
  0028  RETURN    return R0..R-1
; ---------- proto65 [GetCustomCardFrontImgName] ----------
  ; fn ?  line 1213-1221 np=2 va=0 ms=5 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='IsGoldCard'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='GoldCardBg1ImgName'
  ;   K[3]='CardBg1ImgName'
  ;   locals: self(0-13), cardId(0-13), bGold(3-13)
  0000  SELF      R3 = R0[K0('IsGoldCard')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 9
  0005  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0006  GETTABLE  R3 = R3[K2('GoldCardBg1ImgName')]
  0007  RETURN    return R3..R2
  0008  JMP       (jump)   -> 12
  0009  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0010  GETTABLE  R3 = R3[K3('CardBg1ImgName')]
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto66 [SaveCycleCardData] ----------
  ; fn ?  line 1227-1229 np=1 va=0 ms=7 code=10 consts=7 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='AlreadyCycleCardKey'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]='json'
  ;   K[5]='encode'
  ;   K[6]='m_alReadyrecyleCards'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('AlreadyCycleCardKey')]
  0003  GETTABUP  R4 = _ENV[K3('DB_VALUE_KEY')]
  0004  GETTABUP  R5 = _ENV[K4('json')]
  0005  GETTABLE  R5 = R5[K5('encode')]
  0006  GETTABLE  R6 = R0[K6('m_alReadyrecyleCards')]
  0007  CALL      R5 = call(R5, -1 args, 1 rets)
  0008  CALL      R1 = call(R1, 0 args, -1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto67 [AddSurplusCard] ----------
  ; fn ?  line 1232-1244 np=2 va=0 ms=7 code=27 consts=13 upvals=1 protos=0
  ;   K[0]='m_mapCards'
  ;   K[1]=nil
  ;   K[2]='GetShowStar'
  ;   K[3]='star'
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   K[6]='m_surplusCardList'
  ;   K[7]='sort'
  ;   K[8]='GetEvent'
  ;   K[9]='Call'
  ;   K[10]='AlbumActivityModel'
  ;   K[11]='EventKey'
  ;   K[12]='CycleRefresh'
  ;   upvals: _ENV
  ;   locals: self(0-27), cardId(0-27), cardConfig(2-27), star(8-27)
  0000  GETTABLE  R2 = R0[K0('m_mapCards')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R4 = R0[K2('GetShowStar')] (self)
  0006  GETTABLE  R5 = R2[K3('star')]
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  GETTABUP  R4 = _ENV[K4('table')]
  0009  GETTABLE  R4 = R4[K5('insert')]
  0010  GETTABLE  R5 = R0[K6('m_surplusCardList')]
  0011  GETTABLE  R5 = R5[R3]
  0012  MOVE      R6 = R0
  0013  CALL      R4 = call(R4, 0 args, 2 rets)
  0014  GETTABUP  R4 = _ENV[K4('table')]
  0015  GETTABLE  R4 = R4[K7('sort')]
  0016  GETTABLE  R5 = R0[K6('m_surplusCardList')]
  0017  GETTABLE  R5 = R5[R3]
  0018  CALL      R4 = call(R4, 0 args, 1 rets)
  0019  SELF      R5 = R0[K8('GetEvent')] (self)
  0020  CALL      R4 = call(R4, 1 args, 1 rets)
  0021  SELF      R5 = R4[K9('Call')] (self)
  0022  GETTABUP  R6 = _ENV[K10('AlbumActivityModel')]
  0023  GETTABLE  R6 = R6[K11('EventKey')]
  0024  GETTABLE  R6 = R6[K12('CycleRefresh')]
  0025  CALL      R4 = call(R4, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto68 [UpdateSurplusCardData] ----------
  ; fn ?  line 1246-1266 np=1 va=0 ms=16 code=52 consts=12 upvals=1 protos=0
  ;   K[0]='m_surplusCardList'
  ;   K[1]=1
  ;   K[2]='m_maxCardStar'
  ;   K[3]='pairs'
  ;   K[4]='m_mapCards'
  ;   K[5]='GetCardCount'
  ;   K[6]='cardId'
  ;   K[7]='table'
  ;   K[8]='insert'
  ;   K[9]='GetShowStar'
  ;   K[10]='star'
  ;   K[11]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-52), (for index)(5-10), (for limit)(5-10), (for step)(5-10), i(6-9), (for generator)(13-41), (for state)(13-41), (for control)(13-41), _(14-39), cardInfo(14-39), num(25-39), (for index)(28-39), (for limit)(28-39), (for step)(28-39), i(29-38), (for index)(44-51), (for limit)(44-51), (for step)(44-51), i(45-50)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_surplusCardList')] = R1
  0002  LOADK     R1 = K1 1
  0003  GETTABLE  R2 = R0[K2('m_maxCardStar')]
  0004  LOADK     R3 = K1 1
  0005  FORPREP   forprep R1(sBx=3)   -> 9
  0006  GETTABLE  R5 = R0[K0('m_surplusCardList')]
  0007  NEWTABLE  R6 = {} (0 items)
  0008  SETTABLE  R5[R4] = R6
  0009  FORLOOP   forloop R1(sBx=-4)   -> 6
  0010  GETTABUP  R1 = _ENV[K3('pairs')]
  0011  GETTABLE  R2 = R0[K4('m_mapCards')]
  0012  CALL      R1 = call(R1, 3 args, 1 rets)
  0013  JMP       (jump)   -> 39
  0014  SELF      R7 = R0[K5('GetCardCount')] (self)
  0015  GETTABLE  R8 = R5[K6('cardId')]
  0016  LOADBOOL  R9 = true
  0017  CALL      R6 = call(R6, 1 args, 3 rets)
  0018  LT        if R0 lt R6   -> 538
  0019  JMP       (jump)   -> 39
  0020  SELF      R7 = R0[K5('GetCardCount')] (self)
  0021  GETTABLE  R8 = R5[K6('cardId')]
  0022  LOADBOOL  R9 = true
  0023  CALL      R6 = call(R6, 1 args, 3 rets)
  0024  SUB       R6 = K1(1) sub R6
  0025  LOADK     R7 = K1 1
  0026  MOVE      R8 = R0
  0027  LOADK     R9 = K1 1
  0028  FORPREP   forprep R7(sBx=9)   -> 38
  0029  GETTABUP  R11 = _ENV[K7('table')]
  0030  GETTABLE  R11 = R11[K8('insert')]
  0031  GETTABLE  R12 = R0[K0('m_surplusCardList')]
  0032  SELF      R14 = R0[K9('GetShowStar')] (self)
  0033  GETTABLE  R15 = R5[K10('star')]
  0034  CALL      R13 = call(R13, 1 args, 2 rets)
  0035  GETTABLE  R12 = R12[R13]
  0036  GETTABLE  R13 = R5[K6('cardId')]
  0037  CALL      R11 = call(R11, 0 args, 2 rets)
  0038  FORLOOP   forloop R7(sBx=-10)   -> 29
  0039  TFORCALL  tforcall R1
  0040  TFORLOOP  tforloop R3(sBx=-27)   -> 14
  0041  LOADK     R1 = K1 1
  0042  GETTABLE  R2 = R0[K2('m_maxCardStar')]
  0043  LOADK     R3 = K1 1
  0044  FORPREP   forprep R1(sBx=5)   -> 50
  0045  GETTABUP  R5 = _ENV[K7('table')]
  0046  GETTABLE  R5 = R5[K11('sort')]
  0047  GETTABLE  R6 = R0[K0('m_surplusCardList')]
  0048  GETTABLE  R6 = R6[R4]
  0049  CALL      R5 = call(R5, 0 args, 1 rets)
  0050  FORLOOP   forloop R1(sBx=-6)   -> 45
  0051  RETURN    return R0..R-1
; ---------- proto69 [GetSurplusCardStar] ----------
  ; fn ?  line 1268-1281 np=1 va=0 ms=8 code=18 consts=5 upvals=0 protos=0
  ;   K[0]=0
  ;   K[1]=1
  ;   K[2]='m_maxCardStar'
  ;   K[3]='m_surplusCardList'
  ;   K[4]=nil
  ;   locals: self(0-18), star(1-18), (for index)(4-16), (for limit)(4-16), (for step)(4-16), i(5-15), otherStar(6-15)
  0000  LOADK     R1 = K0 0
  0001  LOADK     R2 = K1 1
  0002  GETTABLE  R3 = R0[K2('m_maxCardStar')]
  0003  LOADK     R4 = K1 1
  0004  FORPREP   forprep R2(sBx=10)   -> 15
  0005  LOADK     R6 = K0 0
  0006  GETTABLE  R7 = R0[K3('m_surplusCardList')]
  0007  GETTABLE  R7 = R7[R5]
  0008  EQ        if R1 eq K4(nil)   -> -127218
  0009  JMP       (jump)   -> 13
  0010  GETTABLE  R7 = R0[K3('m_surplusCardList')]
  0011  GETTABLE  R7 = R7[R5]
  0012  LEN       R6 = len R0
  0013  MUL       R7 = R6 mul R5
  0014  ADD       R1 = R7 add R1
  0015  FORLOOP   forloop R2(sBx=-11)   -> 5
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
; ---------- proto70 [New] ----------
  ; fn ?  line 1287-1297 np=3 va=0 ms=10 code=27 consts=6 upvals=1 protos=0
  ;   K[0]='reached'
  ;   K[1]='count'
  ;   K[2]=1
  ;   K[3]=5
  ;   K[4]=0
  ;   K[5]='setmetatable'
  ;   upvals: _ENV
  ;   locals: self(0-27), reached(0-27), count(0-27), instance(9-27), (for index)(12-21), (for limit)(12-21), (for step)(12-21), i(13-20)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  TESTSET   if R1 then R4   -> -130556
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R4 = false
  0004  SETTABLE  R3[K0('reached')] = R4
  0005  TESTSET   if R1 then R4   -> -130040
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R4 = {} (0 items)
  0008  SETTABLE  R3[K1('count')] = R4
  0009  LOADK     R4 = K2 1
  0010  LOADK     R5 = K3 5
  0011  LOADK     R6 = K2 1
  0012  FORPREP   forprep R4(sBx=7)   -> 20
  0013  GETTABLE  R8 = R3[K1('count')]
  0014  GETTABLE  R9 = R3[K1('count')]
  0015  GETTABLE  R9 = R9[R7]
  0016  TEST      if not R9 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  LOADK     R9 = K4 0
  0019  SETTABLE  R8[R7] = R9
  0020  FORLOOP   forloop R4(sBx=-8)   -> 13
  0021  GETTABUP  R4 = _ENV[K5('setmetatable')]
  0022  MOVE      R5 = R0
  0023  MOVE      R6 = R0
  0024  CALL      R4 = call(R4, 0 args, 2 rets)
  0025  RETURN    return R3..R2
  0026  RETURN    return R0..R-1
; ---------- proto71 [Compare] ----------
  ; fn ?  line 1299-1315 np=2 va=0 ms=8 code=38 consts=4 upvals=0 protos=0
  ;   K[0]='reached'
  ;   K[1]=1
  ;   K[2]=5
  ;   K[3]='count'
  ;   locals: self(0-38), other(0-38), (for index)(18-35), (for limit)(18-35), (for step)(18-35), i(19-34)
  0000  GETTABLE  R2 = R0[K0('reached')]
  0001  GETTABLE  R3 = R1[K0('reached')]
  0002  EQ        if R1 eq R3   -> -130041
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R2 = R0[K0('reached')]
  0005  NOT       R2 = not R0
  0006  RETURN    return R2..R1
  0007  GETTABLE  R2 = R0[K0('reached')]
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 15
  0010  GETTABLE  R2 = R1[K0('reached')]
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R2 = false
  0014  RETURN    return R2..R1
  0015  LOADK     R2 = K1 1
  0016  LOADK     R3 = K2 5
  0017  LOADK     R4 = K1 1
  0018  FORPREP   forprep R2(sBx=15)   -> 34
  0019  GETTABLE  R6 = R0[K3('count')]
  0020  GETTABLE  R6 = R6[R5]
  0021  GETTABLE  R7 = R1[K3('count')]
  0022  GETTABLE  R7 = R7[R5]
  0023  EQ        if R1 eq R7   -> -127968
  0024  JMP       (jump)   -> 34
  0025  GETTABLE  R6 = R0[K3('count')]
  0026  GETTABLE  R6 = R6[R5]
  0027  GETTABLE  R7 = R1[K3('count')]
  0028  GETTABLE  R7 = R7[R5]
  0029  LT        if R1 lt R7   -> -127962
  0030  JMP       (jump)   -> 32
  0031  LOADBOOL  R6 = false
  0032  LOADBOOL  R6 = true
  0033  RETURN    return R6..R5
  0034  FORLOOP   forloop R2(sBx=-16)   -> 19
  0035  LOADBOOL  R2 = false
  0036  RETURN    return R2..R1
  0037  RETURN    return R0..R-1
; ---------- proto72 [FindBestCombination] ----------
  ; fn ?  line 1317-1379 np=2 va=0 ms=22 code=110 consts=19 upvals=2 protos=0
  ;   K[0]=4
  ;   K[1]='m_maxCardStar'
  ;   K[2]=0
  ;   K[3]=1
  ;   K[4]='New'
  ;   K[5]='m_surplusCardList'
  ;   K[6]='reached'
  ;   K[7]=true
  ;   K[8]='table'
  ;   K[9]='insert'
  ;   K[10]='value'
  ;   K[11]='type'
  ;   K[12]=2
  ;   K[13]='ipairs'
  ;   K[14]=-1
  ;   K[15]='Table'
  ;   K[16]='DeepCopy'
  ;   K[17]='count'
  ;   K[18]='Compare'
  ;   upvals: CombNode, _ENV
  ;   locals: self(0-110), needStar(0-110), maxNeedStar(1-110), maxCardStar(2-110), dp(3-110), (for index)(6-12), (for limit)(6-12), (for step)(6-12), i(7-11), cards_type_count(13-110), (for index)(16-22), (for limit)(16-22), (for step)(16-22), i(17-21), cards(25-110), (for index)(28-57), (for limit)(28-57), (for step)(28-57), i(29-56), count(30-56), offset(31-56), (for generator)(60-91), (for state)(60-91), (for control)(60-91), _(61-89), card(61-89), (for index)(64-89), (for limit)(64-89), (for step)(64-89), j(65-88), temp(71-88), ans(92-110)
  0000  ADD       R2 = K0(4) add R1
  0001  GETTABLE  R3 = R0[K1('m_maxCardStar')]
  0002  NEWTABLE  R4 = {} (0 items)
  0003  LOADK     R5 = K2 0
  0004  MOVE      R6 = R0
  0005  LOADK     R7 = K3 1
  0006  FORPREP   forprep R5(sBx=4)   -> 11
  0007  GETUPVAL  R9 = CombNode
  0008  SELF      R10 = R9[K4('New')] (self)
  0009  CALL      R9 = call(R9, 1 args, 1 rets)
  0010  SETTABLE  R4[R8] = R9
  0011  FORLOOP   forloop R5(sBx=-5)   -> 7
  0012  NEWTABLE  R5 = {} (0 items)
  0013  LOADK     R6 = K3 1
  0014  MOVE      R7 = R0
  0015  LOADK     R8 = K3 1
  0016  FORPREP   forprep R6(sBx=4)   -> 21
  0017  GETTABLE  R10 = R0[K5('m_surplusCardList')]
  0018  GETTABLE  R10 = R10[R9]
  0019  LEN       R10 = len R0
  0020  SETTABLE  R5[R9] = R10
  0021  FORLOOP   forloop R6(sBx=-5)   -> 17
  0022  GETTABLE  R6 = R4[K2(0)]
  0023  SETTABLE  R6[K6('reached')] = K7(true)
  0024  NEWTABLE  R6 = {} (0 items)
  0025  LOADK     R7 = K3 1
  0026  MOVE      R8 = R0
  0027  LOADK     R9 = K3 1
  0028  FORPREP   forprep R7(sBx=27)   -> 56
  0029  GETTABLE  R11 = R5[R10]
  0030  LOADK     R12 = K3 1
  0031  LT        if R0 lt R11   -> 1068
  0032  JMP       (jump)   -> 56
  0033  LE        if R0 le R11   -> -124882
  0034  JMP       (jump)   -> 45
  0035  GETTABUP  R13 = _ENV[K8('table')]
  0036  GETTABLE  R13 = R13[K9('insert')]
  0037  MOVE      R14 = R0
  0038  NEWTABLE  R15 = {} (0 items)
  0039  MUL       R16 = R12 mul R10
  0040  SETTABLE  R15[K10('value')] = R16
  0041  SETTABLE  R15[K11('type')] = R10
  0042  CALL      R13 = call(R13, 0 args, 2 rets)
  0043  SUB       R11 = R12 sub R11
  0044  JMP       (jump)   -> 54
  0045  GETTABUP  R13 = _ENV[K8('table')]
  0046  GETTABLE  R13 = R13[K9('insert')]
  0047  MOVE      R14 = R0
  0048  NEWTABLE  R15 = {} (0 items)
  0049  MUL       R16 = R11 mul R10
  0050  SETTABLE  R15[K10('value')] = R16
  0051  SETTABLE  R15[K11('type')] = R10
  0052  CALL      R13 = call(R13, 0 args, 2 rets)
  0053  LOADK     R11 = K2 0
  0054  MUL       R12 = K12(2) mul R12
  0055  JMP       (jump)   -> 31
  0056  FORLOOP   forloop R7(sBx=-28)   -> 29
  0057  GETTABUP  R7 = _ENV[K13('ipairs')]
  0058  MOVE      R8 = R0
  0059  CALL      R7 = call(R7, 3 args, 1 rets)
  0060  JMP       (jump)   -> 89
  0061  MOVE      R12 = R0
  0062  GETTABLE  R13 = R11[K10('value')]
  0063  LOADK     R14 = K14 -1
  0064  FORPREP   forprep R12(sBx=23)   -> 88
  0065  GETTABUP  R16 = _ENV[K15('Table')]
  0066  GETTABLE  R16 = R16[K16('DeepCopy')]
  0067  GETTABLE  R17 = R11[K10('value')]
  0068  SUB       R17 = R17 sub R15
  0069  GETTABLE  R17 = R4[R17]
  0070  CALL      R16 = call(R16, 1 args, 1 rets)
  0071  GETTABLE  R17 = R16[K17('count')]
  0072  GETTABLE  R18 = R11[K11('type')]
  0073  GETTABLE  R19 = R16[K17('count')]
  0074  GETTABLE  R20 = R11[K11('type')]
  0075  GETTABLE  R19 = R19[R20]
  0076  GETTABLE  R20 = R11[K10('value')]
  0077  GETTABLE  R21 = R11[K11('type')]
  0078  IDIV      R20 = R21 idiv R20
  0079  ADD       R19 = R20 add R19
  0080  SETTABLE  R17[R18] = R19
  0081  GETTABLE  R17 = R4[R15]
  0082  SELF      R18 = R17[K18('Compare')] (self)
  0083  MOVE      R19 = R0
  0084  CALL      R17 = call(R17, 1 args, 2 rets)
  0085  TEST      if not R17 then   -> -130985
  0086  JMP       (jump)   -> 88
  0087  SETTABLE  R4[R15] = R16
  0088  FORLOOP   forloop R12(sBx=-24)   -> 65
  0089  TFORCALL  tforcall R7
  0090  TFORLOOP  tforloop R9(sBx=-30)   -> 61
  0091  MOVE      R7 = R0
  0092  LE        if R0 le R2   -> -127392
  0093  JMP       (jump)   -> 100
  0094  GETTABLE  R8 = R4[R7]
  0095  GETTABLE  R8 = R8[K6('reached')]
  0096  TEST      if not R8 then   -> -130973
  0097  JMP       (jump)   -> 100
  0098  ADD       R7 = K3(1) add R7
  0099  JMP       (jump)   -> 92
  0100  LT        if R0 lt R7   -> -129939
  0101  JMP       (jump)   -> 105
  0102  NEWTABLE  R8 = {} (0 items)
  0103  LOADK     R9 = K2 0
  0104  RETURN    return R8..R7
  0105  GETTABLE  R8 = R4[R7]
  0106  GETTABLE  R8 = R8[K17('count')]
  0107  MOVE      R9 = R0
  0108  RETURN    return R8..R7
  0109  RETURN    return R0..R-1
; ---------- proto73 [SelectCardsByComb] ----------
  ; fn ?  line 1381-1389 np=2 va=0 ms=15 code=21 consts=5 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]=1
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='m_surplusCardList'
  ;   upvals: _ENV
  ;   locals: self(0-21), comb(0-21), selectCards(1-21), (for generator)(4-19), (for state)(4-19), (for control)(4-19), star(5-17), num(5-17), (for index)(8-17), (for limit)(8-17), (for step)(8-17), i(9-16)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  GETTABUP  R3 = _ENV[K0('ipairs')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 17
  0005  LOADK     R8 = K1 1
  0006  MOVE      R9 = R0
  0007  LOADK     R10 = K1 1
  0008  FORPREP   forprep R8(sBx=7)   -> 16
  0009  GETTABUP  R12 = _ENV[K2('table')]
  0010  GETTABLE  R12 = R12[K3('insert')]
  0011  MOVE      R13 = R0
  0012  GETTABLE  R14 = R0[K4('m_surplusCardList')]
  0013  GETTABLE  R14 = R14[R6]
  0014  GETTABLE  R14 = R14[R11]
  0015  CALL      R12 = call(R12, 0 args, 2 rets)
  0016  FORLOOP   forloop R8(sBx=-8)   -> 9
  0017  TFORCALL  tforcall R3
  0018  TFORLOOP  tforloop R5(sBx=-14)   -> 5
  0019  RETURN    return R2..R1
  0020  RETURN    return R0..R-1
; ---------- proto74 [CheckWillRemoveCards] ----------
  ; fn ?  line 1391-1409 np=2 va=0 ms=16 code=34 consts=7 upvals=1 protos=0
  ;   K[0]=1
  ;   K[1]='m_maxCardStar'
  ;   K[2]='m_surplusCardList'
  ;   K[3]=nil
  ;   K[4]=0
  ;   K[5]='table'
  ;   K[6]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-34), mapWillRemove(0-34), arrCards(1-34), (for index)(4-32), (for limit)(4-32), (for step)(4-32), star(5-31), curCardList(7-31), (for index)(10-31), (for limit)(10-31), (for step)(10-31), i(11-30), cardId(12-30)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  LOADK     R3 = K0 1
  0002  GETTABLE  R4 = R0[K1('m_maxCardStar')]
  0003  LOADK     R5 = K0 1
  0004  FORPREP   forprep R3(sBx=26)   -> 31
  0005  GETTABLE  R7 = R0[K2('m_surplusCardList')]
  0006  GETTABLE  R7 = R7[R6]
  0007  LOADK     R8 = K0 1
  0008  LEN       R9 = len R0
  0009  LOADK     R10 = K0 1
  0010  FORPREP   forprep R8(sBx=19)   -> 30
  0011  GETTABLE  R12 = R7[R11]
  0012  GETTABLE  R13 = R1[R12]
  0013  EQ        if R1 eq K3(nil)   -> -124142
  0014  JMP       (jump)   -> 30
  0015  GETTABLE  R13 = R1[R12]
  0016  LT        if R0 lt R13   -> 2079
  0017  JMP       (jump)   -> 30
  0018  GETTABLE  R13 = R1[R12]
  0019  SUB       R13 = K0(1) sub R13
  0020  SETTABLE  R1[R12] = R13
  0021  GETTABUP  R13 = _ENV[K5('table')]
  0022  GETTABLE  R13 = R13[K6('insert')]
  0023  MOVE      R14 = R0
  0024  MOVE      R15 = R0
  0025  CALL      R13 = call(R13, 0 args, 2 rets)
  0026  GETTABLE  R13 = R1[R12]
  0027  LE        if R0 le K4(0)   -> -124127
  0028  JMP       (jump)   -> 30
  0029  SETTABLE  R1[R12] = K3(nil)
  0030  FORLOOP   forloop R8(sBx=-20)   -> 11
  0031  FORLOOP   forloop R3(sBx=-27)   -> 5
  0032  RETURN    return R2..R1
  0033  RETURN    return R0..R-1
; ---------- proto75 [RemoveCards] ----------
  ; fn ?  line 1411-1418 np=2 va=0 ms=9 code=23 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_alReadyrecyleCards'
  ;   K[2]=0
  ;   K[3]=1
  ;   K[4]='UpdateSurplusCardData'
  ;   K[5]='SaveCycleCardData'
  ;   upvals: _ENV
  ;   locals: self(0-23), arrCards(0-23), (for generator)(3-18), (for state)(3-18), (for control)(3-18), _(4-16), cardId(4-16)
  0000  GETTABUP  R2 = _ENV[K0('ipairs')]
  0001  MOVE      R3 = R0
  0002  CALL      R2 = call(R2, 3 args, 1 rets)
  0003  JMP       (jump)   -> 16
  0004  GETTABLE  R7 = R0[K1('m_alReadyrecyleCards')]
  0005  GETTABLE  R8 = R0[K1('m_alReadyrecyleCards')]
  0006  GETTABLE  R8 = R8[R6]
  0007  TEST      if not R8 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R8 = K2 0
  0010  SETTABLE  R7[R6] = R8
  0011  GETTABLE  R7 = R0[K1('m_alReadyrecyleCards')]
  0012  GETTABLE  R8 = R0[K1('m_alReadyrecyleCards')]
  0013  GETTABLE  R8 = R8[R6]
  0014  ADD       R8 = K3(1) add R8
  0015  SETTABLE  R7[R6] = R8
  0016  TFORCALL  tforcall R2
  0017  TFORLOOP  tforloop R4(sBx=-14)   -> 4
  0018  SELF      R3 = R0[K4('UpdateSurplusCardData')] (self)
  0019  CALL      R2 = call(R2, 0 args, 1 rets)
  0020  SELF      R3 = R0[K5('SaveCycleCardData')] (self)
  0021  CALL      R2 = call(R2, 0 args, 1 rets)
  0022  RETURN    return R0..R-1
; ---------- proto76 [GetWindowCardTotalProgress] ----------
  ; fn ?  line 1425-1427 np=1 va=0 ms=5 code=10 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='WindowCardTotalProgress'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=0
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('WindowCardTotalProgress')]
  0003  GETTABUP  R4 = _ENV[K3('DB_VALUE_KEY')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto77 [SetWindowCardTotalProgress] ----------
  ; fn ?  line 1429-1431 np=2 va=0 ms=7 code=8 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='WindowCardTotalProgress'
  ;   K[3]='DB_VALUE_KEY'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-8), progress(0-8)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('WindowCardTotalProgress')]
  0003  GETTABUP  R5 = _ENV[K3('DB_VALUE_KEY')]
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto78 [GetWindowSetProgress] ----------
  ; fn ?  line 1433-1435 np=2 va=0 ms=6 code=12 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='WindowSetProgressPrefix'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=0
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-12), setId(0-12)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  GETTABUP  R4 = DBKey[K2('WindowSetProgressPrefix')]
  0003  MOVE      R5 = R0
  0004  CONCAT    R4 = concat(R4..R4)
  0005  GETTABUP  R5 = _ENV[K3('DB_VALUE_KEY')]
  0006  CALL      R2 = call(R2, 1 args, 3 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R2 = K4 0
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto79 [SetWindowSetProgress] ----------
  ; fn ?  line 1437-1439 np=3 va=0 ms=8 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='WindowSetProgressPrefix'
  ;   K[3]='DB_VALUE_KEY'
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-10), setId(0-10), progress(0-10)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  GETTABUP  R5 = DBKey[K2('WindowSetProgressPrefix')]
  0003  MOVE      R6 = R0
  0004  CONCAT    R5 = concat(R5..R5)
  0005  GETTABUP  R6 = _ENV[K3('DB_VALUE_KEY')]
  0006  MOVE      R7 = R0
  0007  TAILCALL  tailcall(R3, 0)
  0008  RETURN    return R3..R2
  0009  RETURN    return R0..R-1
; ---------- proto80 [HasShowedEnding] ----------
  ; fn ?  line 1441-1443 np=1 va=0 ms=5 code=11 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetInNumber'
  ;   K[2]='HasShowedEnding'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=1
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetInNumber')] (self)
  0002  GETTABUP  R3 = DBKey[K2('HasShowedEnding')]
  0003  GETTABUP  R4 = _ENV[K3('DB_VALUE_KEY')]
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R1 eq K4(1)   -> -130293
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto81 [SetHasShowedEnding] ----------
  ; fn ?  line 1445-1447 np=2 va=0 ms=7 code=13 consts=6 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='HasShowedEnding'
  ;   K[3]='DB_VALUE_KEY'
  ;   K[4]=1
  ;   K[5]=0
  ;   upvals: DBKey, _ENV
  ;   locals: self(0-13), hasShowed(0-13)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('HasShowedEnding')]
  0003  GETTABUP  R5 = _ENV[K3('DB_VALUE_KEY')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  LOADK     R6 = K4 1
  0007  TEST      if not R6 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R6 = K5 0
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto82 [TryOpenSetRewardWindow] ----------
  ; fn ?  line 1453-1459 np=3 va=0 ms=9 code=31 consts=13 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='IsExistCardSet'
  ;   K[3]=1
  ;   K[4]='GetState'
  ;   K[5]='ActivityState'
  ;   K[6]='Released'
  ;   K[7]='GM'
  ;   K[8]='UIManager'
  ;   K[9]='OpenView'
  ;   K[10]='m_activityDefinition'
  ;   K[11]='TakeSetRewardPrefabName'
  ;   K[12]='m_type'
  ;   upvals: _ENV
  ;   locals: self(0-31), listSetFinish(0-31), chainViewFunc(0-31)
  0000  GETTABUP  R3 = _ENV[K0('Table')]
  0001  GETTABLE  R3 = R3[K1('IsEmpty')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  TEST      if not R3 then   -> -131065
  0005  JMP       (jump)   -> 28
  0006  SELF      R4 = R0[K2('IsExistCardSet')] (self)
  0007  GETTABLE  R5 = R1[K3(1)]
  0008  CALL      R3 = call(R3, 1 args, 2 rets)
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 28
  0011  SELF      R4 = R0[K4('GetState')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  GETTABUP  R4 = _ENV[K5('ActivityState')]
  0014  GETTABLE  R4 = R4[K6('Released')]
  0015  EQ        if R1 eq R4   -> -129515
  0016  JMP       (jump)   -> 28
  0017  GETTABUP  R3 = _ENV[K7('GM')]
  0018  GETTABLE  R3 = R3[K8('UIManager')]
  0019  SELF      R4 = R3[K9('OpenView')] (self)
  0020  GETTABLE  R5 = R0[K10('m_activityDefinition')]
  0021  GETTABLE  R5 = R5[K11('TakeSetRewardPrefabName')]
  0022  GETTABLE  R6 = R0[K12('m_type')]
  0023  MOVE      R7 = R0
  0024  MOVE      R8 = R0
  0025  CALL      R3 = call(R3, 0 args, 5 rets)
  0026  LOADBOOL  R3 = true
  0027  RETURN    return R3..R2
  0028  LOADBOOL  R3 = false
  0029  RETURN    return R3..R2
  0030  RETURN    return R0..R-1
; ---------- proto83 [GetAcquiredRoundRewards] ----------
  ; fn ?  line 1461-1463 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_acquiredRoundRewards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_acquiredRoundRewards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto84 [ResetAcquiredRoundRewards] ----------
  ; fn ?  line 1465-1467 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_acquiredRoundRewards'
  ;   K[1]=nil
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_acquiredRoundRewards')] = K1(nil)
  0001  RETURN    return R0..R-1
; ---------- proto85 [SetNewCardId] ----------
  ; fn ?  line 1473-1475 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_newCardId'
  ;   locals: self(0-2), cardId(0-2)
  0000  SETTABLE  R0[K0('m_newCardId')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto86 [GetNewCardId] ----------
  ; fn ?  line 1477-1479 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_newCardId'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_newCardId')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto87 [SetAcquiredBadgeId] ----------
  ; fn ?  line 1481-1483 np=2 va=0 ms=2 code=2 consts=1 upvals=0 protos=0
  ;   K[0]='m_acquiredBadgeId'
  ;   locals: self(0-2), badgeId(0-2)
  0000  SETTABLE  R0[K0('m_acquiredBadgeId')] = R1
  0001  RETURN    return R0..R-1
; ---------- proto88 [GetAcquiredBadgeId] ----------
  ; fn ?  line 1485-1487 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_acquiredBadgeId'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_acquiredBadgeId')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto89 [TestCompleteNormalCard] ----------
  ; fn ?  line 1494-1508 np=1 va=0 ms=11 code=37 consts=16 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='pairs'
  ;   K[3]='m_mapCards'
  ;   K[4]='GetCardCount'
  ;   K[5]='cardId'
  ;   K[6]=1
  ;   K[7]='IsGoldCard'
  ;   K[8]='m_dbTable'
  ;   K[9]='Set'
  ;   K[10]='DB_VALUE_KEY'
  ;   K[11]='UpdateContent'
  ;   K[12]='GM'
  ;   K[13]='UIManager'
  ;   K[14]='ShowPrompt'
  ;   K[15]='普通卡已集齐'
  ;   upvals: _ENV
  ;   locals: self(0-37), (for generator)(9-29), (for state)(9-29), (for control)(9-29), cardId(10-27), cardInfo(10-27)
  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('pairs')]
  0007  GETTABLE  R2 = R0[K3('m_mapCards')]
  0008  CALL      R1 = call(R1, 3 args, 1 rets)
  0009  JMP       (jump)   -> 27
  0010  SELF      R7 = R0[K4('GetCardCount')] (self)
  0011  GETTABLE  R8 = R5[K5('cardId')]
  0012  LOADBOOL  R9 = true
  0013  CALL      R6 = call(R6, 1 args, 3 rets)
  0014  LT        if R0 lt K6(1)   -> -127722
  0015  JMP       (jump)   -> 27
  0016  SELF      R7 = R0[K7('IsGoldCard')] (self)
  0017  MOVE      R8 = R0
  0018  CALL      R6 = call(R6, 1 args, 2 rets)
  0019  TEST      if not R6 then   -> -131050
  0020  JMP       (jump)   -> 27
  0021  GETTABLE  R6 = R0[K8('m_dbTable')]
  0022  SELF      R7 = R6[K9('Set')] (self)
  0023  MOVE      R8 = R0
  0024  GETTABUP  R9 = _ENV[K10('DB_VALUE_KEY')]
  0025  LOADK     R10 = K6 1
  0026  CALL      R6 = call(R6, 0 args, 4 rets)
  0027  TFORCALL  tforcall R1
  0028  TFORLOOP  tforloop R3(sBx=-19)   -> 10
  0029  SELF      R2 = R0[K11('UpdateContent')] (self)
  0030  CALL      R1 = call(R1, 0 args, 1 rets)
  0031  GETTABUP  R1 = _ENV[K12('GM')]
  0032  GETTABLE  R1 = R1[K13('UIManager')]
  0033  SELF      R2 = R1[K14('ShowPrompt')] (self)
  0034  LOADK     R3 = K15 '普通卡已集齐'
  0035  CALL      R1 = call(R1, 0 args, 2 rets)
  0036  RETURN    return R0..R-1
; ---------- proto90 [GetAllCardsMap] ----------
  ; fn ?  line 1512-1514 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapAllCards'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapAllCards')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto91 [GetAllSetsMap] ----------
  ; fn ?  line 1517-1519 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapCardSet'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_mapCardSet')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
