# Model_Bundle_BundleActivityBaseModel_123.luac
; fn @BundleActivityBaseModel.lua  line 0-0 np=0 va=1 ms=3 code=164 consts=57 upvals=1 protos=51
;   K[0]='BundleActivityBaseModel'
;   K[1]='setmetatable'
;   K[2]='DataGroupClass'
;   K[3]='BundleServerConfigDataGroup'
;   K[4]='BundleBaseModel'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='_LoadGroupVirtualDBTable'
;   K[8]='_LoadServerConfig'
;   K[9]='LateInit'
;   K[10]='ClearExpiredDBDatas'
;   K[11]='UpdatePerSecond'
;   K[12]='UpdateBundleState'
;   K[13]='_CalculateBundleState'
;   K[14]='GetBundleState'
;   K[15]='OnBundleStateChanged'
;   K[16]='GetActiveGroupDatas'
;   K[17]='GetAllGroupDatas'
;   K[18]='GetBundleConfigData'
;   K[19]='GetMapEntryShowConfig'
;   K[20]='CanShowMapEntry'
;   K[21]='GetActivityEntryShowConfig'
;   K[22]='CanShowActivityEntry'
;   K[23]='CanShowEntry'
;   K[24]='_TryRefreshLocalConfigs'
;   K[25]='_LoadLocalConfigs'
;   K[26]='OnPurchaseFinished'
;   K[27]='_OnPurchaseFinished'
;   K[28]='_RecordBuyNumData'
;   K[29]='_FinishAndEnterBuyCD'
;   K[30]='TryTriggerBundle'
;   K[31]='_IsGroupDataActive'
;   K[32]='_IsGroupDataEligible'
;   K[33]='IsGroupDataActive'
;   K[34]='_TryTriggerBundle'
;   K[35]='_OnTriggerBundleSuccess'
;   K[36]='RefreshBundleWindowPopupTime'
;   K[37]='_CanTriggerBundleWindow'
;   K[38]='OpenBundleView'
;   K[39]='GetShowBuyLimitNum'
;   K[40]='GetRestDuration'
;   K[41]='GetBundleTriggerStartTime'
;   K[42]='GetBundleTriggerEndTime'
;   K[43]='_GetTriggerDailyNum'
;   K[44]='_SetTriggerDailyNum'
;   K[45]='TryRefreshTriggerDailyNum'
;   K[46]='_ResetAllTriggerDailyNum'
;   K[47]='GetTargetPopOrderConfig'
;   K[48]='GetAllPopOrderConfig'
;   K[49]='_GetLocalConfigs'
;   K[50]='_RemoveLocalConfig'
;   K[51]='_AddLocalConfig'
;   K[52]='_HasLocalConfig'
;   K[53]='_GetBundleDBData'
;   K[54]='_SetBundleDBData'
;   K[55]='_RemoveBundleDBData'
;   K[56]='_DropBundleDBData'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('BundleServerConfigDataGroup')]
0003  SETTABLE  R1[K2('DataGroupClass')] = R2
0004  GETTABUP  R2 = _ENV[K4('BundleBaseModel')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('BundleActivityBaseModel')] = R0
0007  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0008  GETTABUP  R1 = _ENV[K0('BundleActivityBaseModel')]
0009  SETTABLE  R0[K5('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K6('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K7('_LoadGroupVirtualDBTable')] = R1
0016  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K8('_LoadServerConfig')] = R1
0019  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K9('LateInit')] = R1
0022  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K10('ClearExpiredDBDatas')] = R1
0025  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K11('UpdatePerSecond')] = R1
0028  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0029  CLOSURE   R1 = closure proto6
0030  SETTABLE  R0[K12('UpdateBundleState')] = R1
0031  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0032  CLOSURE   R1 = closure proto7
0033  SETTABLE  R0[K13('_CalculateBundleState')] = R1
0034  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0035  CLOSURE   R1 = closure proto8
0036  SETTABLE  R0[K14('GetBundleState')] = R1
0037  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0038  CLOSURE   R1 = closure proto9
0039  SETTABLE  R0[K15('OnBundleStateChanged')] = R1
0040  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0041  CLOSURE   R1 = closure proto10
0042  SETTABLE  R0[K16('GetActiveGroupDatas')] = R1
0043  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0044  CLOSURE   R1 = closure proto11
0045  SETTABLE  R0[K17('GetAllGroupDatas')] = R1
0046  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0047  CLOSURE   R1 = closure proto12
0048  SETTABLE  R0[K18('GetBundleConfigData')] = R1
0049  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0050  CLOSURE   R1 = closure proto13
0051  SETTABLE  R0[K19('GetMapEntryShowConfig')] = R1
0052  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0053  CLOSURE   R1 = closure proto14
0054  SETTABLE  R0[K20('CanShowMapEntry')] = R1
0055  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0056  CLOSURE   R1 = closure proto15
0057  SETTABLE  R0[K21('GetActivityEntryShowConfig')] = R1
0058  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0059  CLOSURE   R1 = closure proto16
0060  SETTABLE  R0[K22('CanShowActivityEntry')] = R1
0061  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0062  CLOSURE   R1 = closure proto17
0063  SETTABLE  R0[K23('CanShowEntry')] = R1
0064  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0065  CLOSURE   R1 = closure proto18
0066  SETTABLE  R0[K24('_TryRefreshLocalConfigs')] = R1
0067  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0068  CLOSURE   R1 = closure proto19
0069  SETTABLE  R0[K25('_LoadLocalConfigs')] = R1
0070  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0071  CLOSURE   R1 = closure proto20
0072  SETTABLE  R0[K26('OnPurchaseFinished')] = R1
0073  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0074  CLOSURE   R1 = closure proto21
0075  SETTABLE  R0[K27('_OnPurchaseFinished')] = R1
0076  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0077  CLOSURE   R1 = closure proto22
0078  SETTABLE  R0[K28('_RecordBuyNumData')] = R1
0079  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0080  CLOSURE   R1 = closure proto23
0081  SETTABLE  R0[K29('_FinishAndEnterBuyCD')] = R1
0082  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0083  CLOSURE   R1 = closure proto24
0084  SETTABLE  R0[K30('TryTriggerBundle')] = R1
0085  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0086  CLOSURE   R1 = closure proto25
0087  SETTABLE  R0[K31('_IsGroupDataActive')] = R1
0088  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0089  CLOSURE   R1 = closure proto26
0090  SETTABLE  R0[K32('_IsGroupDataEligible')] = R1
0091  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0092  CLOSURE   R1 = closure proto27
0093  SETTABLE  R0[K33('IsGroupDataActive')] = R1
0094  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0095  CLOSURE   R1 = closure proto28
0096  SETTABLE  R0[K34('_TryTriggerBundle')] = R1
0097  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0098  CLOSURE   R1 = closure proto29
0099  SETTABLE  R0[K35('_OnTriggerBundleSuccess')] = R1
0100  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0101  CLOSURE   R1 = closure proto30
0102  SETTABLE  R0[K36('RefreshBundleWindowPopupTime')] = R1
0103  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0104  CLOSURE   R1 = closure proto31
0105  SETTABLE  R0[K37('_CanTriggerBundleWindow')] = R1
0106  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0107  CLOSURE   R1 = closure proto32
0108  SETTABLE  R0[K38('OpenBundleView')] = R1
0109  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0110  CLOSURE   R1 = closure proto33
0111  SETTABLE  R0[K39('GetShowBuyLimitNum')] = R1
0112  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0113  CLOSURE   R1 = closure proto34
0114  SETTABLE  R0[K40('GetRestDuration')] = R1
0115  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0116  CLOSURE   R1 = closure proto35
0117  SETTABLE  R0[K41('GetBundleTriggerStartTime')] = R1
0118  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0119  CLOSURE   R1 = closure proto36
0120  SETTABLE  R0[K42('GetBundleTriggerEndTime')] = R1
0121  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0122  CLOSURE   R1 = closure proto37
0123  SETTABLE  R0[K43('_GetTriggerDailyNum')] = R1
0124  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0125  CLOSURE   R1 = closure proto38
0126  SETTABLE  R0[K44('_SetTriggerDailyNum')] = R1
0127  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0128  CLOSURE   R1 = closure proto39
0129  SETTABLE  R0[K45('TryRefreshTriggerDailyNum')] = R1
0130  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0131  CLOSURE   R1 = closure proto40
0132  SETTABLE  R0[K46('_ResetAllTriggerDailyNum')] = R1
0133  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0134  CLOSURE   R1 = closure proto41
0135  SETTABLE  R0[K47('GetTargetPopOrderConfig')] = R1
0136  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0137  CLOSURE   R1 = closure proto42
0138  SETTABLE  R0[K48('GetAllPopOrderConfig')] = R1
0139  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0140  CLOSURE   R1 = closure proto43
0141  SETTABLE  R0[K49('_GetLocalConfigs')] = R1
0142  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0143  CLOSURE   R1 = closure proto44
0144  SETTABLE  R0[K50('_RemoveLocalConfig')] = R1
0145  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0146  CLOSURE   R1 = closure proto45
0147  SETTABLE  R0[K51('_AddLocalConfig')] = R1
0148  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0149  CLOSURE   R1 = closure proto46
0150  SETTABLE  R0[K52('_HasLocalConfig')] = R1
0151  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0152  CLOSURE   R1 = closure proto47
0153  SETTABLE  R0[K53('_GetBundleDBData')] = R1
0154  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0155  CLOSURE   R1 = closure proto48
0156  SETTABLE  R0[K54('_SetBundleDBData')] = R1
0157  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0158  CLOSURE   R1 = closure proto49
0159  SETTABLE  R0[K55('_RemoveBundleDBData')] = R1
0160  GETTABUP  R0 = _ENV[K0('BundleActivityBaseModel')]
0161  CLOSURE   R1 = closure proto50
0162  SETTABLE  R0[K56('_DropBundleDBData')] = R1
0163  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 19-25 np=3 va=0 ms=7 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='BundleBaseModel'
  ;   K[1]='Init'
  ;   K[2]='_LoadGroupVirtualDBTable'
  ;   K[3]='_LoadLocalConfigs'
  ;   K[4]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-13), bundleType(0-13), virtualDBTable(0-13)
  0000  GETTABUP  R3 = _ENV[K0('BundleBaseModel')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  SELF      R4 = R0[K2('_LoadGroupVirtualDBTable')] (self)
  0007  CALL      R3 = call(R3, 0 args, 1 rets)
  0008  SELF      R4 = R0[K3('_LoadLocalConfigs')] (self)
  0009  CALL      R3 = call(R3, 0 args, 1 rets)
  0010  SELF      R4 = R0[K4('UpdatePerSecond')] (self)
  0011  CALL      R3 = call(R3, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto1 [_LoadGroupVirtualDBTable] ----------
  ; fn ?  line 27-32 np=1 va=0 ms=10 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='m_mapGroupId2DBTable'
  ;   K[1]='pairs'
  ;   K[2]='m_dbTable'
  ;   K[3]='GetValues'
  ;   K[4]='VirtualDBTable'
  ;   K[5]='Create'
  ;   upvals: _ENV
  ;   locals: self(0-18), (for generator)(7-17), (for state)(7-17), (for control)(7-17), groupId(8-15), _(8-15)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapGroupId2DBTable')] = R1
  0002  GETTABUP  R1 = _ENV[K1('pairs')]
  0003  GETTABLE  R2 = R0[K2('m_dbTable')]
  0004  SELF      R3 = R2[K3('GetValues')] (self)
  0005  CALL      R2 = call(R2, -1 args, 1 rets)
  0006  CALL      R1 = call(R1, 3 args, -1 rets)
  0007  JMP       (jump)   -> 15
  0008  GETTABLE  R6 = R0[K0('m_mapGroupId2DBTable')]
  0009  GETTABUP  R7 = _ENV[K4('VirtualDBTable')]
  0010  GETTABLE  R7 = R7[K5('Create')]
  0011  GETTABLE  R8 = R0[K2('m_dbTable')]
  0012  MOVE      R9 = R0
  0013  CALL      R7 = call(R7, 1 args, 2 rets)
  0014  SETTABLE  R6[R4] = R7
  0015  TFORCALL  tforcall R1
  0016  TFORLOOP  tforloop R3(sBx=-9)   -> 8
  0017  RETURN    return R0..R-1
; ---------- proto2 [_LoadServerConfig] ----------
  ; fn ?  line 34-37 np=2 va=0 ms=3 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='m_arrConfigs'
  ;   K[1]='Table'
  ;   K[2]='Empty'
  ;   K[3]='m_bShouldRefreshLocalConfig'
  ;   K[4]=true
  ;   upvals: _ENV
  ;   locals: self(0-7), arrConfigs(0-7)
  0000  TESTSET   if R1 then R2   -> -130557
  0001  JMP       (jump)   -> 4
  0002  GETTABUP  R2 = _ENV[K1('Table')]
  0003  GETTABLE  R2 = R2[K2('Empty')]
  0004  SETTABLE  R0[K0('m_arrConfigs')] = R2
  0005  SETTABLE  R0[K3('m_bShouldRefreshLocalConfig')] = K4(true)
  0006  RETURN    return R0..R-1
; ---------- proto3 [LateInit] ----------
  ; fn ?  line 39-42 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='BundleBaseModel'
  ;   K[1]='LateInit'
  ;   K[2]='ClearExpiredDBDatas'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('BundleBaseModel')]
  0001  GETTABLE  R1 = R1[K1('LateInit')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('ClearExpiredDBDatas')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto4 [ClearExpiredDBDatas] ----------
  ; fn ?  line 45-70 np=1 va=0 ms=11 code=28 consts=6 upvals=1 protos=1
  ;   K[0]='pairs'
  ;   K[1]='m_mapGroupId2DBTable'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='ipairs'
  ;   K[5]='_DropBundleDBData'
  ;   upvals: _ENV
  ;   locals: self(0-28), checkValidFunc(1-28), arrRemovedId(2-28), (for generator)(5-18), (for state)(5-18), (for control)(5-18), groupId(6-16), _(6-16), (for generator)(21-27), (for state)(21-27), (for control)(21-27), _(22-25), groupId(22-25)
  0000  CLOSURE   R1 = closure proto0
  0001  NEWTABLE  R2 = {} (0 items)
  0002  GETTABUP  R3 = _ENV[K0('pairs')]
  0003  GETTABLE  R4 = R0[K1('m_mapGroupId2DBTable')]
  0004  CALL      R3 = call(R3, 3 args, 1 rets)
  0005  JMP       (jump)   -> 16
  0006  MOVE      R8 = R0
  0007  MOVE      R9 = R0
  0008  CALL      R8 = call(R8, 1 args, 1 rets)
  0009  TEST      if not R8 then   -> -131060
  0010  JMP       (jump)   -> 16
  0011  GETTABUP  R8 = _ENV[K2('table')]
  0012  GETTABLE  R8 = R8[K3('insert')]
  0013  MOVE      R9 = R0
  0014  MOVE      R10 = R0
  0015  CALL      R8 = call(R8, 0 args, 2 rets)
  0016  TFORCALL  tforcall R3
  0017  TFORLOOP  tforloop R5(sBx=-12)   -> 6
  0018  GETTABUP  R3 = _ENV[K4('ipairs')]
  0019  MOVE      R4 = R0
  0020  CALL      R3 = call(R3, 3 args, 1 rets)
  0021  JMP       (jump)   -> 25
  0022  SELF      R9 = R0[K5('_DropBundleDBData')] (self)
  0023  MOVE      R10 = R0
  0024  CALL      R8 = call(R8, 0 args, 2 rets)
  0025  TFORCALL  tforcall R3
  0026  TFORLOOP  tforloop R5(sBx=-5)   -> 22
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 46-57 np=1 va=0 ms=7 code=25 consts=4 upvals=2 protos=0
    ;   K[0]='ipairs'
    ;   K[1]='m_arrConfigs'
    ;   K[2]='groupId'
    ;   K[3]='_HasLocalConfig'
    ;   upvals: _ENV, self
    ;   locals: groupId(0-25), (for generator)(6-14), (for state)(6-14), (for control)(6-14), _(7-12), serverConfig(7-12)
    0000  GETTABUP  R1 = _ENV[K0('ipairs')]
    0001  GETTABUP  R2 = self[K1('m_arrConfigs')]
    0002  TEST      if not R2 then   -> -131067
    0003  JMP       (jump)   -> 5
    0004  NEWTABLE  R2 = {} (0 items)
    0005  CALL      R1 = call(R1, 3 args, 1 rets)
    0006  JMP       (jump)   -> 12
    0007  GETTABLE  R6 = R5[K2('groupId')]
    0008  EQ        if R0 eq R6   -> -131056
    0009  JMP       (jump)   -> 12
    0010  LOADBOOL  R6 = true
    0011  RETURN    return R6..R5
    0012  TFORCALL  tforcall R1
    0013  TFORLOOP  tforloop R3(sBx=-7)   -> 7
    0014  GETUPVAL  R1 = _ENV
    0015  SELF      R2 = R1[K3('_HasLocalConfig')] (self)
    0016  MOVE      R3 = R0
    0017  CALL      R1 = call(R1, 1 args, 2 rets)
    0018  TEST      if not R1 then   -> -131052
    0019  JMP       (jump)   -> 22
    0020  LOADBOOL  R1 = true
    0021  RETURN    return R1..R0
    0022  LOADBOOL  R1 = false
    0023  RETURN    return R1..R0
    0024  RETURN    return R0..R-1
; ---------- proto5 [UpdatePerSecond] ----------
  ; fn ?  line 72-79 np=1 va=0 ms=9 code=20 consts=7 upvals=1 protos=0
  ;   K[0]='BundleBaseModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='m_dataGroups'
  ;   K[5]='ipairs'
  ;   K[6]='UpdateBundleState'
  ;   upvals: _ENV
  ;   locals: self(0-20), (for generator)(13-19), (for state)(13-19), (for control)(13-19), _(14-17), dataGroup(14-17)
  0000  GETTABUP  R1 = _ENV[K0('BundleBaseModel')]
  0001  GETTABLE  R1 = R1[K1('UpdatePerSecond')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('Table')]
  0005  GETTABLE  R1 = R1[K3('IsEmpty')]
  0006  GETTABLE  R2 = R0[K4('m_dataGroups')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 19
  0010  GETTABUP  R1 = _ENV[K5('ipairs')]
  0011  GETTABLE  R2 = R0[K4('m_dataGroups')]
  0012  CALL      R1 = call(R1, 3 args, 1 rets)
  0013  JMP       (jump)   -> 17
  0014  SELF      R7 = R0[K6('UpdateBundleState')] (self)
  0015  MOVE      R8 = R0
  0016  CALL      R6 = call(R6, 0 args, 2 rets)
  0017  TFORCALL  tforcall R1
  0018  TFORLOOP  tforloop R3(sBx=-5)   -> 14
  0019  RETURN    return R0..R-1
; ---------- proto6 [UpdateBundleState] ----------
  ; fn ?  line 81-88 np=3 va=0 ms=9 code=20 consts=4 upvals=0 protos=0
  ;   K[0]='_CalculateBundleState'
  ;   K[1]='GetGroupId'
  ;   K[2]='m_state'
  ;   K[3]='OnBundleStateChanged'
  ;   locals: self(0-20), dataGroup(0-20), bTrigger(0-20), state(3-20), groupId(5-20)
  0000  SELF      R4 = R0[K0('_CalculateBundleState')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  SELF      R5 = R1[K1('GetGroupId')] (self)
  0004  CALL      R4 = call(R4, 1 args, 1 rets)
  0005  LOADK     R5 = K2 'm_state'
  0006  MOVE      R6 = R0
  0007  CONCAT    R5 = concat(R5..R5)
  0008  GETTABLE  R5 = R0[R5]
  0009  EQ        if R1 eq R3   -> -128498
  0010  JMP       (jump)   -> 19
  0011  LOADK     R5 = K2 'm_state'
  0012  MOVE      R6 = R0
  0013  CONCAT    R5 = concat(R5..R5)
  0014  SETTABLE  R0[R5] = R3
  0015  SELF      R6 = R0[K3('OnBundleStateChanged')] (self)
  0016  MOVE      R7 = R0
  0017  MOVE      R8 = R0
  0018  CALL      R5 = call(R5, 0 args, 3 rets)
  0019  RETURN    return R0..R-1
; ---------- proto7 [_CalculateBundleState] ----------
  ; fn ?  line 90-95 np=3 va=0 ms=6 code=17 consts=6 upvals=1 protos=0
  ;   K[0]='GetRestDuration'
  ;   K[1]=0
  ;   K[2]='_IsGroupDataActive'
  ;   K[3]='EBundleState'
  ;   K[4]='Opening'
  ;   K[5]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-17), dataGroup(0-17), bTrigger(0-17)
  0000  SELF      R4 = R0[K0('GetRestDuration')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  LE        if R0 le R3   -> 520
  0004  JMP       (jump)   -> 13
  0005  SELF      R4 = R0[K2('_IsGroupDataActive')] (self)
  0006  MOVE      R5 = R0
  0007  CALL      R3 = call(R3, 1 args, 2 rets)
  0008  TEST      if not R3 then   -> -131062
  0009  JMP       (jump)   -> 13
  0010  GETTABUP  R3 = _ENV[K3('EBundleState')]
  0011  GETTABLE  R3 = R3[K4('Opening')]
  0012  RETURN    return R3..R2
  0013  GETTABUP  R3 = _ENV[K3('EBundleState')]
  0014  GETTABLE  R3 = R3[K5('Close')]
  0015  RETURN    return R3..R2
  0016  RETURN    return R0..R-1
; ---------- proto8 [GetBundleState] ----------
  ; fn ?  line 97-100 np=2 va=0 ms=5 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='m_state'
  ;   locals: self(0-8), dataGroup(0-8), groupId(2-8)
  0000  SELF      R3 = R1[K0('GetGroupId')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  LOADK     R3 = K1 'm_state'
  0003  MOVE      R4 = R0
  0004  CONCAT    R3 = concat(R3..R3)
  0005  GETTABLE  R3 = R0[R3]
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto9 [OnBundleStateChanged] ----------
  ; fn ?  line 102-119 np=3 va=0 ms=13 code=50 consts=30 upvals=1 protos=0
  ;   K[0]='m_bShouldRefreshLocalConfig'
  ;   K[1]=true
  ;   K[2]='EventDispatcher'
  ;   K[3]='DispatchEvent'
  ;   K[4]='EEventType'
  ;   K[5]='BundleDataRefreshed'
  ;   K[6]='dataGroup'
  ;   K[7]='bundleType'
  ;   K[8]='m_bundleType'
  ;   K[9]='GetBundleState'
  ;   K[10]='EBundleState'
  ;   K[11]='Opening'
  ;   K[12]='GetGroupId'
  ;   K[13]='GM'
  ;   K[14]='BIManager'
  ;   K[15]='LogAction'
  ;   K[16]='EBIType'
  ;   K[17]='BundleTriggerSuccess'
  ;   K[18]='id'
  ;   K[19]='GetId'
  ;   K[20]='eTime'
  ;   K[21]='GetBundleTriggerEndTime'
  ;   K[22]='showNum'
  ;   K[23]='tonumber'
  ;   K[24]='_GetBundleDBData'
  ;   K[25]='EBundleDBKey'
  ;   K[26]='DailyShowNum'
  ;   K[27]=0
  ;   K[28]='ui'
  ;   K[29]='GetBundleUIType'
  ;   upvals: _ENV
  ;   locals: self(0-50), dataGroup(0-50), bTrigger(0-50), groupId(21-49)
  0000  SETTABLE  R0[K0('m_bShouldRefreshLocalConfig')] = K1(true)
  0001  GETTABUP  R3 = _ENV[K2('EventDispatcher')]
  0002  GETTABLE  R3 = R3[K3('DispatchEvent')]
  0003  GETTABUP  R4 = _ENV[K4('EEventType')]
  0004  GETTABLE  R4 = R4[K5('BundleDataRefreshed')]
  0005  NEWTABLE  R5 = {} (0 items)
  0006  SETTABLE  R5[K6('dataGroup')] = R1
  0007  GETTABLE  R6 = R0[K8('m_bundleType')]
  0008  SETTABLE  R5[K7('bundleType')] = R6
  0009  CALL      R3 = call(R3, 0 args, 2 rets)
  0010  TEST      if not R2 then   -> -131060
  0011  JMP       (jump)   -> 49
  0012  SELF      R4 = R0[K9('GetBundleState')] (self)
  0013  MOVE      R5 = R0
  0014  CALL      R3 = call(R3, 1 args, 2 rets)
  0015  GETTABUP  R4 = _ENV[K10('EBundleState')]
  0016  GETTABLE  R4 = R4[K11('Opening')]
  0017  EQ        if R0 eq R4   -> -129513
  0018  JMP       (jump)   -> 49
  0019  SELF      R4 = R1[K12('GetGroupId')] (self)
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  GETTABUP  R4 = _ENV[K13('GM')]
  0022  GETTABLE  R4 = R4[K14('BIManager')]
  0023  SELF      R5 = R4[K15('LogAction')] (self)
  0024  GETTABUP  R6 = _ENV[K16('EBIType')]
  0025  GETTABLE  R6 = R6[K17('BundleTriggerSuccess')]
  0026  NEWTABLE  R7 = {} (0 items)
  0027  SELF      R9 = R1[K19('GetId')] (self)
  0028  CALL      R8 = call(R8, 1 args, 1 rets)
  0029  SETTABLE  R7[K18('id')] = R8
  0030  SELF      R9 = R0[K21('GetBundleTriggerEndTime')] (self)
  0031  MOVE      R10 = R0
  0032  CALL      R8 = call(R8, 1 args, 2 rets)
  0033  SETTABLE  R7[K20('eTime')] = R8
  0034  GETTABUP  R8 = _ENV[K23('tonumber')]
  0035  SELF      R10 = R0[K24('_GetBundleDBData')] (self)
  0036  MOVE      R11 = R0
  0037  GETTABUP  R12 = _ENV[K25('EBundleDBKey')]
  0038  GETTABLE  R12 = R12[K26('DailyShowNum')]
  0039  CALL      R9 = call(R9, -1 args, 3 rets)
  0040  CALL      R8 = call(R8, 1 args, -1 rets)
  0041  TEST      if not R8 then   -> -131028
  0042  JMP       (jump)   -> 44
  0043  LOADK     R8 = K27 0
  0044  SETTABLE  R7[K22('showNum')] = R8
  0045  SELF      R9 = R1[K29('GetBundleUIType')] (self)
  0046  CALL      R8 = call(R8, 1 args, 1 rets)
  0047  SETTABLE  R7[K28('ui')] = R8
  0048  CALL      R4 = call(R4, 0 args, 3 rets)
  0049  RETURN    return R0..R-1
; ---------- proto10 [GetActiveGroupDatas] ----------
  ; fn ?  line 122-131 np=1 va=0 ms=10 code=22 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_dataGroups'
  ;   K[2]='GetBundleState'
  ;   K[3]='EBundleState'
  ;   K[4]='Opening'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-22), arrGroupDatas(1-22), (for generator)(7-20), (for state)(7-20), (for control)(7-20), _(8-18), dataGroup(8-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_dataGroups')]
  0003  TEST      if not R3 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  NEWTABLE  R3 = {} (0 items)
  0006  CALL      R2 = call(R2, 3 args, 1 rets)
  0007  JMP       (jump)   -> 18
  0008  SELF      R8 = R0[K2('GetBundleState')] (self)
  0009  MOVE      R9 = R0
  0010  CALL      R7 = call(R7, 1 args, 2 rets)
  0011  GETTABUP  R8 = _ENV[K3('EBundleState')]
  0012  GETTABLE  R8 = R8[K4('Opening')]
  0013  EQ        if R0 eq R8   -> -127465
  0014  JMP       (jump)   -> 18
  0015  LEN       R7 = len R0
  0016  ADD       R7 = K5(1) add R7
  0017  SETTABLE  R1[R7] = R6
  0018  TFORCALL  tforcall R2
  0019  TFORLOOP  tforloop R4(sBx=-12)   -> 8
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto11 [GetAllGroupDatas] ----------
  ; fn ?  line 133-135 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_dataGroups'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_dataGroups')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto12 [GetBundleConfigData] ----------
  ; fn ?  line 138-148 np=2 va=0 ms=16 code=26 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_dataGroups'
  ;   K[2]='GetBundleIds'
  ;   K[3]='GetConfigData'
  ;   K[4]=nil
  ;   K[5]='GetPurchaseId'
  ;   upvals: _ENV
  ;   locals: self(0-26), eIAPType(0-26), configData(1-26), (for generator)(4-25), (for state)(4-25), (for control)(4-25), _(5-23), dataGroup(5-23), (for generator)(9-23), (for state)(9-23), (for control)(9-23), _(10-21), bundleId(10-21)
  0000  LOADNIL   R2..R2 = nil
  0001  GETTABUP  R3 = _ENV[K0('ipairs')]
  0002  GETTABLE  R4 = R0[K1('m_dataGroups')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 23
  0005  GETTABUP  R8 = _ENV[K0('ipairs')]
  0006  SELF      R10 = R7[K2('GetBundleIds')] (self)
  0007  CALL      R9 = call(R9, -1 args, 1 rets)
  0008  CALL      R8 = call(R8, 3 args, -1 rets)
  0009  JMP       (jump)   -> 21
  0010  SELF      R14 = R7[K3('GetConfigData')] (self)
  0011  MOVE      R15 = R0
  0012  CALL      R13 = call(R13, 1 args, 2 rets)
  0013  MOVE      R2 = R0
  0014  EQ        if R1 eq K4(nil)   -> -129772
  0015  JMP       (jump)   -> 21
  0016  SELF      R14 = R2[K5('GetPurchaseId')] (self)
  0017  CALL      R13 = call(R13, 1 args, 1 rets)
  0018  EQ        if R0 eq R1   -> -124395
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R2..R1
  0021  TFORCALL  tforcall R8
  0022  TFORLOOP  tforloop R10(sBx=-13)   -> 10
  0023  TFORCALL  tforcall R3
  0024  TFORLOOP  tforloop R5(sBx=-20)   -> 5
  0025  RETURN    return R0..R-1
; ---------- proto13 [GetMapEntryShowConfig] ----------
  ; fn ?  line 153-160 np=1 va=0 ms=3 code=7 consts=3 upvals=0 protos=1
  ;   K[0]='hudKey'
  ;   K[1]='m_bundleType'
  ;   K[2]='checkFun'
  ;   locals: self(0-7)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_bundleType')]
  0002  SETTABLE  R1[K0('hudKey')] = R2
  0003  CLOSURE   R2 = closure proto0
  0004  SETTABLE  R1[K2('checkFun')] = R2
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 156-158 np=1 va=0 ms=4 code=6 consts=1 upvals=1 protos=0
    ;   K[0]='CanShowMapEntry'
    ;   upvals: self
    ;   locals: dataGroup(0-6)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('CanShowMapEntry')] (self)
    0002  MOVE      R3 = R0
    0003  TAILCALL  tailcall(R1, 0)
    0004  RETURN    return R1..R0
    0005  RETURN    return R0..R-1
; ---------- proto14 [CanShowMapEntry] ----------
  ; fn ?  line 162-185 np=2 va=0 ms=10 code=50 consts=16 upvals=1 protos=0
  ;   K[0]='GetBundleState'
  ;   K[1]='EBundleState'
  ;   K[2]='Opening'
  ;   K[3]='CanShowEntry'
  ;   K[4]='GetLastDuration'
  ;   K[5]=0
  ;   K[6]='BundleUIType'
  ;   K[7]='GetBundleUIType'
  ;   K[8]=nil
  ;   K[9]='Table'
  ;   K[10]='IsEmpty'
  ;   K[11]='entryInfo'
  ;   K[12]='ipairs'
  ;   K[13]='scene'
  ;   K[14]='EBundleEntryScene'
  ;   K[15]='Main'
  ;   upvals: _ENV
  ;   locals: self(0-50), dataGroup(0-50), uiDefinition(24-50), (for generator)(35-45), (for state)(35-45), (for control)(35-45), _(36-43), info(36-43)
  0000  SELF      R3 = R0[K0('GetBundleState')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABUP  R3 = _ENV[K1('EBundleState')]
  0004  GETTABLE  R3 = R3[K2('Opening')]
  0005  EQ        if R0 eq R3   -> -130038
  0006  JMP       (jump)   -> 12
  0007  SELF      R3 = R0[K3('CanShowEntry')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R2 = false
  0013  RETURN    return R2..R1
  0014  SELF      R3 = R1[K4('GetLastDuration')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  EQ        if R0 eq K5(0)   -> -129769
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R2 = false
  0019  RETURN    return R2..R1
  0020  GETTABUP  R2 = _ENV[K6('BundleUIType')]
  0021  SELF      R4 = R1[K7('GetBundleUIType')] (self)
  0022  CALL      R3 = call(R3, 1 args, 1 rets)
  0023  GETTABLE  R2 = R2[R3]
  0024  EQ        if R1 eq K8(nil)   -> -129758
  0025  JMP       (jump)   -> 47
  0026  GETTABUP  R3 = _ENV[K9('Table')]
  0027  GETTABLE  R3 = R3[K10('IsEmpty')]
  0028  GETTABLE  R4 = R2[K11('entryInfo')]
  0029  CALL      R3 = call(R3, 1 args, 1 rets)
  0030  TEST      if not R3 then   -> -131039
  0031  JMP       (jump)   -> 47
  0032  GETTABUP  R3 = _ENV[K12('ipairs')]
  0033  GETTABLE  R4 = R2[K11('entryInfo')]
  0034  CALL      R3 = call(R3, 3 args, 1 rets)
  0035  JMP       (jump)   -> 43
  0036  GETTABLE  R8 = R7[K13('scene')]
  0037  GETTABUP  R9 = _ENV[K14('EBundleEntryScene')]
  0038  GETTABLE  R9 = R9[K15('Main')]
  0039  EQ        if R0 eq R9   -> -126926
  0040  JMP       (jump)   -> 43
  0041  LOADBOOL  R8 = true
  0042  RETURN    return R8..R7
  0043  TFORCALL  tforcall R3
  0044  TFORLOOP  tforloop R5(sBx=-9)   -> 36
  0045  LOADBOOL  R3 = false
  0046  RETURN    return R3..R2
  0047  LOADBOOL  R3 = true
  0048  RETURN    return R3..R2
  0049  RETURN    return R0..R-1
; ---------- proto15 [GetActivityEntryShowConfig] ----------
  ; fn ?  line 188-194 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=1
  ;   K[0]='checkFun'
  ;   locals: self(0-5)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  CLOSURE   R2 = closure proto0
  0002  SETTABLE  R1[K0('checkFun')] = R2
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 190-192 np=2 va=0 ms=6 code=7 consts=1 upvals=1 protos=0
    ;   K[0]='CanShowActivityEntry'
    ;   upvals: self
    ;   locals: dataGroup(0-7), activityType(0-7)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('CanShowActivityEntry')] (self)
    0002  MOVE      R4 = R0
    0003  MOVE      R5 = R0
    0004  TAILCALL  tailcall(R2, 0)
    0005  RETURN    return R2..R1
    0006  RETURN    return R0..R-1
; ---------- proto16 [CanShowActivityEntry] ----------
  ; fn ?  line 196-211 np=3 va=0 ms=11 code=45 consts=15 upvals=1 protos=0
  ;   K[0]='GetBundleState'
  ;   K[1]='EBundleState'
  ;   K[2]='Opening'
  ;   K[3]='CanShowEntry'
  ;   K[4]='BundleUIType'
  ;   K[5]='GetBundleUIType'
  ;   K[6]=nil
  ;   K[7]='Table'
  ;   K[8]='IsEmpty'
  ;   K[9]='entryInfo'
  ;   K[10]='ipairs'
  ;   K[11]='scene'
  ;   K[12]='EBundleEntryScene'
  ;   K[13]='Activity'
  ;   K[14]='activity'
  ;   upvals: _ENV
  ;   locals: self(0-45), dataGroup(0-45), activityType(0-45), uiDefinition(18-45), (for generator)(29-42), (for state)(29-42), (for control)(29-42), _(30-40), info(30-40)
  0000  SELF      R4 = R0[K0('GetBundleState')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  GETTABUP  R4 = _ENV[K1('EBundleState')]
  0004  GETTABLE  R4 = R4[K2('Opening')]
  0005  EQ        if R0 eq R4   -> -129525
  0006  JMP       (jump)   -> 12
  0007  SELF      R4 = R0[K3('CanShowEntry')] (self)
  0008  MOVE      R5 = R0
  0009  CALL      R3 = call(R3, 1 args, 2 rets)
  0010  TEST      if not R3 then   -> -131059
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R3 = false
  0013  RETURN    return R3..R2
  0014  GETTABUP  R3 = _ENV[K4('BundleUIType')]
  0015  SELF      R5 = R1[K5('GetBundleUIType')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  GETTABLE  R3 = R3[R4]
  0018  EQ        if R1 eq K6(nil)   -> -129254
  0019  JMP       (jump)   -> 42
  0020  GETTABUP  R4 = _ENV[K7('Table')]
  0021  GETTABLE  R4 = R4[K8('IsEmpty')]
  0022  GETTABLE  R5 = R3[K9('entryInfo')]
  0023  CALL      R4 = call(R4, 1 args, 1 rets)
  0024  TEST      if not R4 then   -> -131045
  0025  JMP       (jump)   -> 42
  0026  GETTABUP  R4 = _ENV[K10('ipairs')]
  0027  GETTABLE  R5 = R3[K9('entryInfo')]
  0028  CALL      R4 = call(R4, 3 args, 1 rets)
  0029  JMP       (jump)   -> 40
  0030  GETTABLE  R9 = R8[K11('scene')]
  0031  GETTABUP  R10 = _ENV[K12('EBundleEntryScene')]
  0032  GETTABLE  R10 = R10[K13('Activity')]
  0033  EQ        if R0 eq R10   -> -126419
  0034  JMP       (jump)   -> 40
  0035  GETTABLE  R9 = R8[K14('activity')]
  0036  EQ        if R0 eq R2   -> -126424
  0037  JMP       (jump)   -> 40
  0038  LOADBOOL  R9 = true
  0039  RETURN    return R9..R8
  0040  TFORCALL  tforcall R4
  0041  TFORLOOP  tforloop R6(sBx=-12)   -> 30
  0042  LOADBOOL  R4 = false
  0043  RETURN    return R4..R3
  0044  RETURN    return R0..R-1
; ---------- proto17 [CanShowEntry] ----------
  ; fn ?  line 214-216 np=2 va=0 ms=3 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3), dataGroup(0-3)
  0000  LOADBOOL  R2 = true
  0001  RETURN    return R2..R1
  0002  RETURN    return R0..R-1
; ---------- proto18 [_TryRefreshLocalConfigs] ----------
  ; fn ?  line 223-260 np=1 va=0 ms=10 code=56 consts=22 upvals=1 protos=0
  ;   K[0]='m_bShouldRefreshLocalConfig'
  ;   K[1]='GM'
  ;   K[2]='CheckResourcesStageFinished'
  ;   K[3]='GameConfig'
  ;   K[4]='IsTestMode'
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='[Bundle] 不能在GM.CheckResourcesStageFinished之前调用RefreshLocalConfigs接口, 防止数据被误删'
  ;   K[8]='UpdatePerSecond'
  ;   K[9]='ipairs'
  ;   K[10]='m_dataGroups'
  ;   K[11]='GetBundleState'
  ;   K[12]='EBundleState'
  ;   K[13]='Opening'
  ;   K[14]='_RemoveLocalConfig'
  ;   K[15]='GetGroupId'
  ;   K[16]='m_arrConfigs'
  ;   K[17]='_HasLocalConfig'
  ;   K[18]='groupId'
  ;   K[19]='_AddLocalConfig'
  ;   K[20]='_LoadLocalConfigs'
  ;   K[21]=false
  ;   upvals: _ENV
  ;   locals: self(0-56), (for generator)(23-37), (for state)(23-37), (for control)(23-37), _(24-35), dataGroup(24-35), (for generator)(40-52), (for state)(40-52), (for control)(40-52), _(41-50), serverConfig(41-50)
  0000  GETTABLE  R1 = R0[K0('m_bShouldRefreshLocalConfig')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('GM')]
  0005  GETTABLE  R1 = R1[K2('CheckResourcesStageFinished')]
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 18
  0008  GETTABUP  R1 = _ENV[K3('GameConfig')]
  0009  GETTABLE  R1 = R1[K4('IsTestMode')]
  0010  CALL      R1 = call(R1, 1 args, 0 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 17
  0013  GETTABUP  R1 = _ENV[K5('Log')]
  0014  GETTABLE  R1 = R1[K6('Error')]
  0015  LOADK     R2 = K7 '[Bundle] 不能在GM.CheckResourcesStageFinished之前调用RefreshLocalConfigs接口, 防止数据被误删'
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
  0018  SELF      R2 = R0[K8('UpdatePerSecond')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  GETTABUP  R1 = _ENV[K9('ipairs')]
  0021  GETTABLE  R2 = R0[K10('m_dataGroups')]
  0022  CALL      R1 = call(R1, 3 args, 1 rets)
  0023  JMP       (jump)   -> 35
  0024  SELF      R7 = R0[K11('GetBundleState')] (self)
  0025  MOVE      R8 = R0
  0026  CALL      R6 = call(R6, 1 args, 2 rets)
  0027  GETTABUP  R7 = _ENV[K12('EBundleState')]
  0028  GETTABLE  R7 = R7[K13('Opening')]
  0029  EQ        if R1 eq R7   -> -127962
  0030  JMP       (jump)   -> 35
  0031  SELF      R7 = R0[K14('_RemoveLocalConfig')] (self)
  0032  SELF      R9 = R5[K15('GetGroupId')] (self)
  0033  CALL      R8 = call(R8, -1 args, 1 rets)
  0034  CALL      R6 = call(R6, 0 args, -1 rets)
  0035  TFORCALL  tforcall R1
  0036  TFORLOOP  tforloop R3(sBx=-13)   -> 24
  0037  GETTABUP  R1 = _ENV[K9('ipairs')]
  0038  GETTABLE  R2 = R0[K16('m_arrConfigs')]
  0039  CALL      R1 = call(R1, 3 args, 1 rets)
  0040  JMP       (jump)   -> 50
  0041  SELF      R7 = R0[K17('_HasLocalConfig')] (self)
  0042  GETTABLE  R8 = R5[K18('groupId')]
  0043  CALL      R6 = call(R6, 1 args, 2 rets)
  0044  TEST      if not R6 then   -> -131025
  0045  JMP       (jump)   -> 50
  0046  SELF      R7 = R0[K19('_AddLocalConfig')] (self)
  0047  GETTABLE  R8 = R5[K18('groupId')]
  0048  MOVE      R9 = R0
  0049  CALL      R6 = call(R6, 0 args, 3 rets)
  0050  TFORCALL  tforcall R1
  0051  TFORLOOP  tforloop R3(sBx=-11)   -> 41
  0052  SELF      R2 = R0[K20('_LoadLocalConfigs')] (self)
  0053  CALL      R1 = call(R1, 0 args, 1 rets)
  0054  SETTABLE  R0[K0('m_bShouldRefreshLocalConfig')] = K21(false)
  0055  RETURN    return R0..R-1
; ---------- proto19 [_LoadLocalConfigs] ----------
  ; fn ?  line 263-282 np=1 va=0 ms=10 code=36 consts=14 upvals=1 protos=1
  ;   K[0]='DataGroupClass'
  ;   K[1]=nil
  ;   K[2]='Log'
  ;   K[3]='Error'
  ;   K[4]='[BundleDataGroupsBaseModel:_LoadLocalConfigs] 没有定义DataGroupClass, bundleType='
  ;   K[5]='m_bundleType'
  ;   K[6]='_GetLocalConfigs'
  ;   K[7]='m_dataGroups'
  ;   K[8]='pairs'
  ;   K[9]='Create'
  ;   K[10]=1
  ;   K[11]='table'
  ;   K[12]='sort'
  ;   K[13]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-36), mapId2Config(11-36), (for generator)(16-28), (for state)(16-28), (for control)(16-28), _(17-26), config(17-26), dataGroup(21-26)
  0000  GETTABLE  R1 = R0[K0('DataGroupClass')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 9
  0003  GETTABUP  R1 = _ENV[K2('Log')]
  0004  GETTABLE  R1 = R1[K3('Error')]
  0005  LOADK     R2 = K4 '[BundleDataGroupsBaseModel:_LoadLocalConfigs] 没有定义DataGroupClass, bundleType='
  0006  GETTABLE  R3 = R0[K5('m_bundleType')]
  0007  CONCAT    R2 = concat(R2..R2)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  SELF      R2 = R0[K6('_GetLocalConfigs')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  NEWTABLE  R2 = {} (0 items)
  0012  SETTABLE  R0[K7('m_dataGroups')] = R2
  0013  GETTABUP  R2 = _ENV[K8('pairs')]
  0014  MOVE      R3 = R0
  0015  CALL      R2 = call(R2, 3 args, 1 rets)
  0016  JMP       (jump)   -> 26
  0017  GETTABLE  R7 = R0[K0('DataGroupClass')]
  0018  GETTABLE  R7 = R7[K9('Create')]
  0019  MOVE      R8 = R0
  0020  CALL      R7 = call(R7, 1 args, 1 rets)
  0021  GETTABLE  R8 = R0[K7('m_dataGroups')]
  0022  GETTABLE  R9 = R0[K7('m_dataGroups')]
  0023  LEN       R9 = len R0
  0024  ADD       R9 = K10(1) add R9
  0025  SETTABLE  R8[R9] = R7
  0026  TFORCALL  tforcall R2
  0027  TFORLOOP  tforloop R4(sBx=-11)   -> 17
  0028  GETTABUP  R2 = _ENV[K11('table')]
  0029  GETTABLE  R2 = R2[K12('sort')]
  0030  GETTABLE  R3 = R0[K7('m_dataGroups')]
  0031  CLOSURE   R4 = closure proto0
  0032  CALL      R2 = call(R2, 0 args, 2 rets)
  0033  SELF      R3 = R0[K13('UpdatePerSecond')] (self)
  0034  CALL      R2 = call(R2, 0 args, 1 rets)
  0035  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 276-278 np=2 va=0 ms=5 code=10 consts=1 upvals=0 protos=0
    ;   K[0]='GetPopOrder'
    ;   locals: a(0-10), b(0-10)
    0000  SELF      R3 = R0[K0('GetPopOrder')] (self)
    0001  CALL      R2 = call(R2, 1 args, 1 rets)
    0002  SELF      R4 = R1[K0('GetPopOrder')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  LT        if R1 lt R3   -> -130039
    0005  JMP       (jump)   -> 7
    0006  LOADBOOL  R2 = false
    0007  LOADBOOL  R2 = true
    0008  RETURN    return R2..R1
    0009  RETURN    return R0..R-1
; ---------- proto20 [OnPurchaseFinished] ----------
  ; fn ?  line 292-302 np=3 va=0 ms=12 code=24 consts=7 upvals=1 protos=0
  ;   K[0]='BundleBaseModel'
  ;   K[1]='OnPurchaseFinished'
  ;   K[2]='ipairs'
  ;   K[3]='m_dataGroups'
  ;   K[4]='GetGroupId'
  ;   K[5]='_OnPurchaseFinished'
  ;   K[6]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-24), groupId(0-24), bundleId(0-24), (for generator)(9-21), (for state)(9-21), (for control)(9-21), _(10-19), dataGroup(10-19)
  0000  GETTABUP  R3 = _ENV[K0('BundleBaseModel')]
  0001  GETTABLE  R3 = R3[K1('OnPurchaseFinished')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABUP  R3 = _ENV[K2('ipairs')]
  0007  GETTABLE  R4 = R0[K3('m_dataGroups')]
  0008  CALL      R3 = call(R3, 3 args, 1 rets)
  0009  JMP       (jump)   -> 19
  0010  SELF      R9 = R7[K4('GetGroupId')] (self)
  0011  CALL      R8 = call(R8, 1 args, 1 rets)
  0012  EQ        if R0 eq R1   -> -126961
  0013  JMP       (jump)   -> 19
  0014  SELF      R9 = R0[K5('_OnPurchaseFinished')] (self)
  0015  MOVE      R10 = R0
  0016  MOVE      R11 = R0
  0017  CALL      R8 = call(R8, 0 args, 3 rets)
  0018  JMP       (jump)   -> 21
  0019  TFORCALL  tforcall R3
  0020  TFORLOOP  tforloop R5(sBx=-11)   -> 10
  0021  SELF      R4 = R0[K6('UpdatePerSecond')] (self)
  0022  CALL      R3 = call(R3, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto21 [_OnPurchaseFinished] ----------
  ; fn ?  line 305-308 np=3 va=0 ms=6 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_RecordBuyNumData'
  ;   K[1]='_FinishAndEnterBuyCD'
  ;   locals: self(0-7), dataGroup(0-7), bundleId(0-7)
  0000  SELF      R4 = R0[K0('_RecordBuyNumData')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 0 args, 2 rets)
  0003  SELF      R4 = R0[K1('_FinishAndEnterBuyCD')] (self)
  0004  MOVE      R5 = R0
  0005  CALL      R3 = call(R3, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto22 [_RecordBuyNumData] ----------
  ; fn ?  line 311-336 np=2 va=0 ms=15 code=87 consts=24 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerDay'
  ;   K[4]='tonumber'
  ;   K[5]='_GetBundleDBData'
  ;   K[6]='EBundleDBKey'
  ;   K[7]='LastBuyDay'
  ;   K[8]=0
  ;   K[9]='_RemoveBundleDBData'
  ;   K[10]='DailyBuyNum'
  ;   K[11]='_SetBundleDBData'
  ;   K[12]='tostring'
  ;   K[13]=1
  ;   K[14]='GetMaxBuyNum'
  ;   K[15]='MaxBuyNum'
  ;   K[16]='BIManager'
  ;   K[17]='LogProject'
  ;   K[18]='EBIProjectType'
  ;   K[19]='BundlePurchaseSuccess'
  ;   K[20]='id'
  ;   K[21]='GetId'
  ;   K[22]='dailyBuyNum'
  ;   K[23]='maxBuyNum'
  ;   upvals: _ENV
  ;   locals: self(0-87), dataGroup(0-87), groupId(2-87), curDay(6-87), lastBuyDay(16-87), dailyBuyNum(41-87), newDailyBuyNum(42-87), newMaxNum(51-87), maxNum(65-74)
  0000  SELF      R3 = R1[K0('GetGroupId')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('GM')]
  0003  GETTABLE  R3 = R3[K2('GameModel')]
  0004  SELF      R4 = R3[K3('GetServerDay')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  GETTABUP  R4 = _ENV[K4('tonumber')]
  0007  SELF      R6 = R0[K5('_GetBundleDBData')] (self)
  0008  MOVE      R7 = R0
  0009  GETTABUP  R8 = _ENV[K6('EBundleDBKey')]
  0010  GETTABLE  R8 = R8[K7('LastBuyDay')]
  0011  CALL      R5 = call(R5, -1 args, 3 rets)
  0012  CALL      R4 = call(R4, 1 args, -1 rets)
  0013  TEST      if not R4 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  LOADK     R4 = K8 0
  0016  EQ        if R1 eq R3   -> -129003
  0017  JMP       (jump)   -> 31
  0018  SELF      R6 = R0[K9('_RemoveBundleDBData')] (self)
  0019  MOVE      R7 = R0
  0020  GETTABUP  R8 = _ENV[K6('EBundleDBKey')]
  0021  GETTABLE  R8 = R8[K10('DailyBuyNum')]
  0022  CALL      R5 = call(R5, 0 args, 3 rets)
  0023  SELF      R6 = R0[K11('_SetBundleDBData')] (self)
  0024  MOVE      R7 = R0
  0025  GETTABUP  R8 = _ENV[K6('EBundleDBKey')]
  0026  GETTABLE  R8 = R8[K7('LastBuyDay')]
  0027  GETTABUP  R9 = _ENV[K12('tostring')]
  0028  MOVE      R10 = R0
  0029  CALL      R9 = call(R9, -1 args, 1 rets)
  0030  CALL      R5 = call(R5, 0 args, -1 rets)
  0031  GETTABUP  R5 = _ENV[K4('tonumber')]
  0032  SELF      R7 = R0[K5('_GetBundleDBData')] (self)
  0033  MOVE      R8 = R0
  0034  GETTABUP  R9 = _ENV[K6('EBundleDBKey')]
  0035  GETTABLE  R9 = R9[K10('DailyBuyNum')]
  0036  CALL      R6 = call(R6, -1 args, 3 rets)
  0037  CALL      R5 = call(R5, 1 args, -1 rets)
  0038  TEST      if not R5 then   -> -131031
  0039  JMP       (jump)   -> 41
  0040  LOADK     R5 = K8 0
  0041  ADD       R6 = K13(1) add R5
  0042  SELF      R8 = R0[K11('_SetBundleDBData')] (self)
  0043  MOVE      R9 = R0
  0044  GETTABUP  R10 = _ENV[K6('EBundleDBKey')]
  0045  GETTABLE  R10 = R10[K10('DailyBuyNum')]
  0046  GETTABUP  R11 = _ENV[K12('tostring')]
  0047  MOVE      R12 = R0
  0048  CALL      R11 = call(R11, -1 args, 1 rets)
  0049  CALL      R7 = call(R7, 0 args, -1 rets)
  0050  LOADK     R7 = K8 0
  0051  SELF      R9 = R1[K14('GetMaxBuyNum')] (self)
  0052  CALL      R8 = call(R8, 1 args, 1 rets)
  0053  TEST      if not R8 then   -> -131017
  0054  JMP       (jump)   -> 74
  0055  GETTABUP  R8 = _ENV[K4('tonumber')]
  0056  SELF      R10 = R0[K5('_GetBundleDBData')] (self)
  0057  MOVE      R11 = R0
  0058  GETTABUP  R12 = _ENV[K6('EBundleDBKey')]
  0059  GETTABLE  R12 = R12[K15('MaxBuyNum')]
  0060  CALL      R9 = call(R9, -1 args, 3 rets)
  0061  CALL      R8 = call(R8, 1 args, -1 rets)
  0062  TEST      if not R8 then   -> -131007
  0063  JMP       (jump)   -> 65
  0064  LOADK     R8 = K8 0
  0065  ADD       R7 = K13(1) add R8
  0066  SELF      R10 = R0[K11('_SetBundleDBData')] (self)
  0067  MOVE      R11 = R0
  0068  GETTABUP  R12 = _ENV[K6('EBundleDBKey')]
  0069  GETTABLE  R12 = R12[K15('MaxBuyNum')]
  0070  GETTABUP  R13 = _ENV[K12('tostring')]
  0071  MOVE      R14 = R0
  0072  CALL      R13 = call(R13, -1 args, 1 rets)
  0073  CALL      R9 = call(R9, 0 args, -1 rets)
  0074  GETTABUP  R8 = _ENV[K1('GM')]
  0075  GETTABLE  R8 = R8[K16('BIManager')]
  0076  SELF      R9 = R8[K17('LogProject')] (self)
  0077  GETTABUP  R10 = _ENV[K18('EBIProjectType')]
  0078  GETTABLE  R10 = R10[K19('BundlePurchaseSuccess')]
  0079  NEWTABLE  R11 = {} (0 items)
  0080  SELF      R13 = R1[K21('GetId')] (self)
  0081  CALL      R12 = call(R12, 1 args, 1 rets)
  0082  SETTABLE  R11[K20('id')] = R12
  0083  SETTABLE  R11[K22('dailyBuyNum')] = R6
  0084  SETTABLE  R11[K23('maxBuyNum')] = R7
  0085  CALL      R8 = call(R8, 0 args, 3 rets)
  0086  RETURN    return R0..R-1
; ---------- proto23 [_FinishAndEnterBuyCD] ----------
  ; fn ?  line 339-344 np=2 va=0 ms=11 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='_SetBundleDBData'
  ;   K[5]='EBundleDBKey'
  ;   K[6]='TriggerTime'
  ;   K[7]='tostring'
  ;   K[8]='GetLastDuration'
  ;   upvals: _ENV
  ;   locals: self(0-17), dataGroup(0-17), groupId(2-17), curTime(6-17)
  0000  SELF      R3 = R1[K0('GetGroupId')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('GM')]
  0003  GETTABLE  R3 = R3[K2('GameModel')]
  0004  SELF      R4 = R3[K3('GetServerTime')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  SELF      R5 = R0[K4('_SetBundleDBData')] (self)
  0007  MOVE      R6 = R0
  0008  GETTABUP  R7 = _ENV[K5('EBundleDBKey')]
  0009  GETTABLE  R7 = R7[K6('TriggerTime')]
  0010  GETTABUP  R8 = _ENV[K7('tostring')]
  0011  SELF      R10 = R1[K8('GetLastDuration')] (self)
  0012  CALL      R9 = call(R9, 1 args, 1 rets)
  0013  SUB       R9 = R9 sub R3
  0014  CALL      R8 = call(R8, -1 args, 1 rets)
  0015  CALL      R4 = call(R4, 0 args, -1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto24 [TryTriggerBundle] ----------
  ; fn ?  line 351-362 np=5 va=0 ms=17 code=25 consts=4 upvals=1 protos=0
  ;   K[0]='_TryRefreshLocalConfigs'
  ;   K[1]='ipairs'
  ;   K[2]='m_dataGroups'
  ;   K[3]='_TryTriggerBundle'
  ;   upvals: _ENV
  ;   locals: self(0-25), eTriggerType(0-25), triggerArg(0-25), bOpenImmediately(0-25), delay(0-25), (for generator)(5-22), (for state)(5-22), (for control)(5-22), _(6-20), dataGroup(6-20), bTriggerd(13-20), viewName(13-20)
  0000  SELF      R6 = R0[K0('_TryRefreshLocalConfigs')] (self)
  0001  CALL      R5 = call(R5, 0 args, 1 rets)
  0002  GETTABUP  R5 = _ENV[K1('ipairs')]
  0003  GETTABLE  R6 = R0[K2('m_dataGroups')]
  0004  CALL      R5 = call(R5, 3 args, 1 rets)
  0005  JMP       (jump)   -> 20
  0006  SELF      R11 = R0[K3('_TryTriggerBundle')] (self)
  0007  MOVE      R12 = R0
  0008  MOVE      R13 = R0
  0009  MOVE      R14 = R0
  0010  MOVE      R15 = R0
  0011  MOVE      R16 = R0
  0012  CALL      R10 = call(R10, 2 args, 6 rets)
  0013  TEST      if not R10 then   -> -131057
  0014  JMP       (jump)   -> 20
  0015  TEST      if not R11 then   -> -131055
  0016  JMP       (jump)   -> 20
  0017  LOADBOOL  R12 = true
  0018  MOVE      R13 = R0
  0019  RETURN    return R12..R11
  0020  TFORCALL  tforcall R5
  0021  TFORLOOP  tforloop R7(sBx=-16)   -> 6
  0022  LOADBOOL  R5 = false
  0023  RETURN    return R5..R4
  0024  RETURN    return R0..R-1
; ---------- proto25 [_IsGroupDataActive] ----------
  ; fn ?  line 365-415 np=2 va=0 ms=13 code=103 consts=12 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='GetConditionData'
  ;   K[2]='IsGroupDataActive'
  ;   K[3]='albumStar'
  ;   K[4]='AlbumStarType'
  ;   K[5]='ipairs'
  ;   K[6]='m_dataGroups'
  ;   K[7]='albumfixedCard'
  ;   K[8]='GetBundleState'
  ;   K[9]='EBundleState'
  ;   K[10]='Opening'
  ;   K[11]='_IsGroupDataEligible'
  ;   upvals: _ENV
  ;   locals: self(0-103), dataGroup(0-103), bundleConditionData(6-103), curStar(22-48), oneBundleConditionData(23-48), (for generator)(26-48), (for state)(26-48), (for control)(26-48), _(27-46), oneDataGroup(27-46), curStar(63-98), oneBundleConditionData(64-98), (for generator)(67-98), (for state)(67-98), (for control)(67-98), _(68-96), oneDataGroup(68-96)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 4
  0002  LOADBOOL  R2 = false
  0003  RETURN    return R2..R1
  0004  SELF      R3 = R1[K1('GetConditionData')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 14
  0008  SELF      R4 = R2[K2('IsGroupDataActive')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  TEST      if not R3 then   -> -131059
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R3 = false
  0013  RETURN    return R3..R2
  0014  EQ        if R1 eq K0(nil)   -> -129776
  0015  JMP       (jump)   -> 48
  0016  GETTABLE  R3 = R2[K3('albumStar')]
  0017  EQ        if R1 eq K0(nil)   -> -129261
  0018  JMP       (jump)   -> 48
  0019  GETTABUP  R3 = _ENV[K4('AlbumStarType')]
  0020  GETTABLE  R4 = R2[K3('albumStar')]
  0021  GETTABLE  R3 = R3[R4]
  0022  LOADNIL   R4..R4 = nil
  0023  GETTABUP  R5 = _ENV[K5('ipairs')]
  0024  GETTABLE  R6 = R0[K6('m_dataGroups')]
  0025  CALL      R5 = call(R5, 3 args, 1 rets)
  0026  JMP       (jump)   -> 46
  0027  SELF      R11 = R9[K1('GetConditionData')] (self)
  0028  CALL      R10 = call(R10, 1 args, 1 rets)
  0029  MOVE      R4 = R0
  0030  TEST      if not R4 then   -> -131040
  0031  JMP       (jump)   -> 46
  0032  GETTABLE  R10 = R4[K3('albumStar')]
  0033  TEST      if not R10 then   -> -131037
  0034  JMP       (jump)   -> 46
  0035  GETTABUP  R10 = _ENV[K4('AlbumStarType')]
  0036  GETTABLE  R11 = R4[K3('albumStar')]
  0037  GETTABLE  R10 = R10[R11]
  0038  LT        if R0 lt R3   -> -125909
  0039  JMP       (jump)   -> 46
  0040  SELF      R11 = R4[K2('IsGroupDataActive')] (self)
  0041  CALL      R10 = call(R10, 1 args, 1 rets)
  0042  TEST      if not R10 then   -> -131028
  0043  JMP       (jump)   -> 46
  0044  LOADBOOL  R10 = false
  0045  RETURN    return R10..R9
  0046  TFORCALL  tforcall R5
  0047  TFORLOOP  tforloop R7(sBx=-21)   -> 27
  0048  EQ        if R1 eq K0(nil)   -> -129742
  0049  JMP       (jump)   -> 98
  0050  GETTABLE  R3 = R2[K7('albumfixedCard')]
  0051  EQ        if R1 eq K0(nil)   -> -129227
  0052  JMP       (jump)   -> 98
  0053  SELF      R4 = R0[K8('GetBundleState')] (self)
  0054  MOVE      R5 = R0
  0055  CALL      R3 = call(R3, 1 args, 2 rets)
  0056  GETTABUP  R4 = _ENV[K9('EBundleState')]
  0057  GETTABLE  R4 = R4[K10('Opening')]
  0058  EQ        if R1 eq R4   -> -129472
  0059  JMP       (jump)   -> 98
  0060  GETTABUP  R3 = _ENV[K4('AlbumStarType')]
  0061  GETTABLE  R4 = R2[K7('albumfixedCard')]
  0062  GETTABLE  R3 = R3[R4]
  0063  LOADNIL   R4..R4 = nil
  0064  GETTABUP  R5 = _ENV[K5('ipairs')]
  0065  GETTABLE  R6 = R0[K6('m_dataGroups')]
  0066  CALL      R5 = call(R5, 3 args, 1 rets)
  0067  JMP       (jump)   -> 96
  0068  SELF      R11 = R9[K1('GetConditionData')] (self)
  0069  CALL      R10 = call(R10, 1 args, 1 rets)
  0070  MOVE      R4 = R0
  0071  EQ        if R1 eq K0(nil)   -> -128695
  0072  JMP       (jump)   -> 96
  0073  GETTABLE  R10 = R4[K7('albumfixedCard')]
  0074  EQ        if R1 eq K0(nil)   -> -125620
  0075  JMP       (jump)   -> 96
  0076  GETTABUP  R10 = _ENV[K4('AlbumStarType')]
  0077  GETTABLE  R11 = R4[K7('albumfixedCard')]
  0078  GETTABLE  R10 = R10[R11]
  0079  LT        if R0 lt R10   -> -129445
  0080  JMP       (jump)   -> 87
  0081  SELF      R11 = R4[K2('IsGroupDataActive')] (self)
  0082  CALL      R10 = call(R10, 1 args, 1 rets)
  0083  TEST      if not R10 then   -> -130987
  0084  JMP       (jump)   -> 87
  0085  LOADBOOL  R10 = false
  0086  RETURN    return R10..R9
  0087  SELF      R11 = R0[K8('GetBundleState')] (self)
  0088  MOVE      R12 = R0
  0089  CALL      R10 = call(R10, 1 args, 2 rets)
  0090  GETTABUP  R11 = _ENV[K9('EBundleState')]
  0091  GETTABLE  R11 = R11[K10('Opening')]
  0092  EQ        if R0 eq R11   -> -125847
  0093  JMP       (jump)   -> 96
  0094  LOADBOOL  R10 = false
  0095  RETURN    return R10..R9
  0096  TFORCALL  tforcall R5
  0097  TFORLOOP  tforloop R7(sBx=-30)   -> 68
  0098  SELF      R4 = R0[K11('_IsGroupDataEligible')] (self)
  0099  MOVE      R5 = R0
  0100  TAILCALL  tailcall(R3, 0)
  0101  RETURN    return R3..R2
  0102  RETURN    return R0..R-1
; ---------- proto26 [_IsGroupDataEligible] ----------
  ; fn ?  line 417-471 np=2 va=0 ms=20 code=143 consts=24 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='GetBundleEndTime'
  ;   K[5]=nil
  ;   K[6]='tonumber'
  ;   K[7]='_GetBundleDBData'
  ;   K[8]='EBundleDBKey'
  ;   K[9]='TriggerTime'
  ;   K[10]=0
  ;   K[11]='GetWeekConfig'
  ;   K[12]='GetLastDuration'
  ;   K[13]='TimeUtil'
  ;   K[14]='ToDayofWeek'
  ;   K[15]='Table'
  ;   K[16]='ListContain'
  ;   K[17]='MaxBuyNum'
  ;   K[18]='GetMaxBuyNum'
  ;   K[19]='GetBuyCD'
  ;   K[20]='GetDailyBuyNum'
  ;   K[21]='GetServerDay'
  ;   K[22]='LastBuyDay'
  ;   K[23]='DailyBuyNum'
  ;   upvals: _ENV
  ;   locals: self(0-143), dataGroup(0-143), groupId(2-143), curTime(6-143), triggertime(26-143), weekConfig(28-143), curWeekDay(42-51), groupId(53-143), curTime(57-143), triggertime(67-143), curBuyNum(77-143), maxBuyNum(79-143), buyCD(87-143), maxDailyBuyNum(104-143), curDay(112-143), lastBuyDay(122-143), dailyCurBuyNum(132-143)
  0000  SELF      R3 = R1[K0('GetGroupId')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('GM')]
  0003  GETTABLE  R3 = R3[K2('GameModel')]
  0004  SELF      R4 = R3[K3('GetServerTime')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  SELF      R5 = R1[K4('GetBundleEndTime')] (self)
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  EQ        if R1 eq K5(nil)   -> -128753
  0009  JMP       (jump)   -> 16
  0010  SELF      R5 = R1[K4('GetBundleEndTime')] (self)
  0011  CALL      R4 = call(R4, 1 args, 1 rets)
  0012  LT        if R0 lt R3   -> -129007
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R4 = false
  0015  RETURN    return R4..R3
  0016  GETTABUP  R4 = _ENV[K6('tonumber')]
  0017  SELF      R6 = R0[K7('_GetBundleDBData')] (self)
  0018  MOVE      R7 = R0
  0019  GETTABUP  R8 = _ENV[K8('EBundleDBKey')]
  0020  GETTABLE  R8 = R8[K9('TriggerTime')]
  0021  CALL      R5 = call(R5, -1 args, 3 rets)
  0022  CALL      R4 = call(R4, 1 args, -1 rets)
  0023  TEST      if not R4 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  LOADK     R4 = K10 0
  0026  SELF      R6 = R1[K11('GetWeekConfig')] (self)
  0027  CALL      R5 = call(R5, 1 args, 1 rets)
  0028  SELF      R7 = R1[K12('GetLastDuration')] (self)
  0029  CALL      R6 = call(R6, 1 args, 1 rets)
  0030  ADD       R6 = R6 add R4
  0031  LT        if R0 lt R3   -> -127964
  0032  JMP       (jump)   -> 51
  0033  EQ        if R1 eq K5(nil)   -> -128216
  0034  JMP       (jump)   -> 51
  0035  GETTABUP  R6 = _ENV[K13('TimeUtil')]
  0036  GETTABLE  R6 = R6[K14('ToDayofWeek')]
  0037  GETTABUP  R7 = _ENV[K1('GM')]
  0038  GETTABLE  R7 = R7[K2('GameModel')]
  0039  SELF      R8 = R7[K3('GetServerTime')] (self)
  0040  CALL      R7 = call(R7, -1 args, 1 rets)
  0041  CALL      R6 = call(R6, 1 args, -1 rets)
  0042  GETTABUP  R7 = _ENV[K15('Table')]
  0043  GETTABLE  R7 = R7[K16('ListContain')]
  0044  MOVE      R8 = R0
  0045  MOVE      R9 = R0
  0046  CALL      R7 = call(R7, 1 args, 2 rets)
  0047  TEST      if not R7 then   -> -131022
  0048  JMP       (jump)   -> 51
  0049  LOADBOOL  R7 = false
  0050  RETURN    return R7..R6
  0051  SELF      R7 = R1[K0('GetGroupId')] (self)
  0052  CALL      R6 = call(R6, 1 args, 1 rets)
  0053  GETTABUP  R7 = _ENV[K1('GM')]
  0054  GETTABLE  R7 = R7[K2('GameModel')]
  0055  SELF      R8 = R7[K3('GetServerTime')] (self)
  0056  CALL      R7 = call(R7, 1 args, 1 rets)
  0057  GETTABUP  R8 = _ENV[K6('tonumber')]
  0058  SELF      R10 = R0[K7('_GetBundleDBData')] (self)
  0059  MOVE      R11 = R0
  0060  GETTABUP  R12 = _ENV[K8('EBundleDBKey')]
  0061  GETTABLE  R12 = R12[K9('TriggerTime')]
  0062  CALL      R9 = call(R9, -1 args, 3 rets)
  0063  CALL      R8 = call(R8, 1 args, -1 rets)
  0064  TEST      if not R8 then   -> -131005
  0065  JMP       (jump)   -> 67
  0066  LOADK     R8 = K10 0
  0067  GETTABUP  R9 = _ENV[K6('tonumber')]
  0068  SELF      R11 = R0[K7('_GetBundleDBData')] (self)
  0069  MOVE      R12 = R0
  0070  GETTABUP  R13 = _ENV[K8('EBundleDBKey')]
  0071  GETTABLE  R13 = R13[K17('MaxBuyNum')]
  0072  CALL      R10 = call(R10, -1 args, 3 rets)
  0073  CALL      R9 = call(R9, 1 args, -1 rets)
  0074  TEST      if not R9 then   -> -130995
  0075  JMP       (jump)   -> 77
  0076  LOADK     R9 = K10 0
  0077  SELF      R11 = R1[K18('GetMaxBuyNum')] (self)
  0078  CALL      R10 = call(R10, 1 args, 1 rets)
  0079  EQ        if R1 eq K5(nil)   -> -125610
  0080  JMP       (jump)   -> 85
  0081  LE        if R0 le R9   -> -125860
  0082  JMP       (jump)   -> 85
  0083  LOADBOOL  R11 = false
  0084  RETURN    return R11..R10
  0085  SELF      R12 = R1[K19('GetBuyCD')] (self)
  0086  CALL      R11 = call(R11, 1 args, 1 rets)
  0087  EQ        if R1 eq K5(nil)   -> -125090
  0088  JMP       (jump)   -> 102
  0089  SELF      R13 = R1[K12('GetLastDuration')] (self)
  0090  CALL      R12 = call(R12, 1 args, 1 rets)
  0091  ADD       R12 = R12 add R8
  0092  LE        if R0 le R7   -> -124827
  0093  JMP       (jump)   -> 102
  0094  SELF      R13 = R1[K12('GetLastDuration')] (self)
  0095  CALL      R12 = call(R12, 1 args, 1 rets)
  0096  ADD       R12 = R12 add R8
  0097  ADD       R12 = R11 add R12
  0098  LT        if R0 lt R12   -> -127376
  0099  JMP       (jump)   -> 102
  0100  LOADBOOL  R12 = false
  0101  RETURN    return R12..R11
  0102  SELF      R13 = R1[K20('GetDailyBuyNum')] (self)
  0103  CALL      R12 = call(R12, 1 args, 1 rets)
  0104  EQ        if R0 eq K10(0)   -> -124556
  0105  JMP       (jump)   -> 108
  0106  LOADBOOL  R13 = false
  0107  RETURN    return R13..R12
  0108  GETTABUP  R13 = _ENV[K1('GM')]
  0109  GETTABLE  R13 = R13[K2('GameModel')]
  0110  SELF      R14 = R13[K21('GetServerDay')] (self)
  0111  CALL      R13 = call(R13, 1 args, 1 rets)
  0112  GETTABUP  R14 = _ENV[K6('tonumber')]
  0113  SELF      R16 = R0[K7('_GetBundleDBData')] (self)
  0114  MOVE      R17 = R0
  0115  GETTABUP  R18 = _ENV[K8('EBundleDBKey')]
  0116  GETTABLE  R18 = R18[K22('LastBuyDay')]
  0117  CALL      R15 = call(R15, -1 args, 3 rets)
  0118  CALL      R14 = call(R14, 1 args, -1 rets)
  0119  TEST      if not R14 then   -> -130950
  0120  JMP       (jump)   -> 122
  0121  LOADK     R14 = K10 0
  0122  GETTABUP  R15 = _ENV[K6('tonumber')]
  0123  SELF      R17 = R0[K7('_GetBundleDBData')] (self)
  0124  MOVE      R18 = R0
  0125  GETTABUP  R19 = _ENV[K8('EBundleDBKey')]
  0126  GETTABLE  R19 = R19[K23('DailyBuyNum')]
  0127  CALL      R16 = call(R16, -1 args, 3 rets)
  0128  CALL      R15 = call(R15, 1 args, -1 rets)
  0129  TEST      if not R15 then   -> -130940
  0130  JMP       (jump)   -> 132
  0131  LOADK     R15 = K10 0
  0132  EQ        if R0 eq R13   -> -123757
  0133  JMP       (jump)   -> 140
  0134  EQ        if R1 eq K5(nil)   -> -124531
  0135  JMP       (jump)   -> 140
  0136  LE        if R0 le R15   -> -124775
  0137  JMP       (jump)   -> 140
  0138  LOADBOOL  R16 = false
  0139  RETURN    return R16..R15
  0140  LOADBOOL  R16 = true
  0141  RETURN    return R16..R15
  0142  RETURN    return R0..R-1
; ---------- proto27 [IsGroupDataActive] ----------
  ; fn ?  line 473-475 np=2 va=0 ms=5 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_IsGroupDataActive'
  ;   locals: self(0-5), dataGroup(0-5)
  0000  SELF      R3 = R0[K0('_IsGroupDataActive')] (self)
  0001  MOVE      R4 = R0
  0002  TAILCALL  tailcall(R2, 0)
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto28 [_TryTriggerBundle] ----------
  ; fn ?  line 478-500 np=6 va=0 ms=13 code=50 consts=6 upvals=0 protos=0
  ;   K[0]=nil
  ;   K[1]='CanTrigger'
  ;   K[2]='_IsGroupDataActive'
  ;   K[3]='_OnTriggerBundleSuccess'
  ;   K[4]='_CanTriggerBundleWindow'
  ;   K[5]='OpenBundleView'
  ;   locals: self(0-50), dataGroup(0-50), eTriggerType(0-50), triggerArg(0-50), bOpenImmediately(0-50), delay(0-50), viewName(42-45)
  0000  EQ        if R1 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 9
  0002  SELF      R7 = R1[K1('CanTrigger')] (self)
  0003  MOVE      R8 = R0
  0004  MOVE      R9 = R0
  0005  MOVE      R10 = R0
  0006  CALL      R6 = call(R6, 1 args, 4 rets)
  0007  TEST      if not R6 then   -> -131062
  0008  JMP       (jump)   -> 11
  0009  LOADBOOL  R6 = false
  0010  RETURN    return R6..R5
  0011  EQ        if R0 eq K0(nil)   -> -128755
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R4 = true
  0014  SELF      R7 = R0[K2('_IsGroupDataActive')] (self)
  0015  MOVE      R8 = R0
  0016  CALL      R6 = call(R6, 1 args, 2 rets)
  0017  TEST      if not R6 then   -> -131053
  0018  JMP       (jump)   -> 47
  0019  SELF      R7 = R0[K3('_OnTriggerBundleSuccess')] (self)
  0020  MOVE      R8 = R0
  0021  LOADBOOL  R9 = false
  0022  MOVE      R10 = R0
  0023  CALL      R6 = call(R6, 0 args, 4 rets)
  0024  SELF      R7 = R0[K4('_CanTriggerBundleWindow')] (self)
  0025  MOVE      R8 = R0
  0026  MOVE      R9 = R0
  0027  CALL      R6 = call(R6, 1 args, 3 rets)
  0028  TEST      if not R6 then   -> -131042
  0029  JMP       (jump)   -> 45
  0030  SELF      R7 = R0[K3('_OnTriggerBundleSuccess')] (self)
  0031  MOVE      R8 = R0
  0032  LOADBOOL  R9 = true
  0033  MOVE      R10 = R0
  0034  CALL      R6 = call(R6, 0 args, 4 rets)
  0035  SELF      R7 = R0[K5('OpenBundleView')] (self)
  0036  MOVE      R8 = R0
  0037  MOVE      R9 = R0
  0038  LOADBOOL  R10 = false
  0039  MOVE      R11 = R0
  0040  MOVE      R12 = R0
  0041  CALL      R6 = call(R6, 1 args, 6 rets)
  0042  LOADBOOL  R7 = true
  0043  MOVE      R8 = R0
  0044  RETURN    return R7..R6
  0045  LOADBOOL  R6 = true
  0046  RETURN    return R6..R5
  0047  LOADBOOL  R6 = false
  0048  RETURN    return R6..R5
  0049  RETURN    return R0..R-1
; ---------- proto29 [_OnTriggerBundleSuccess] ----------
  ; fn ?  line 502-539 np=4 va=0 ms=17 code=141 consts=27 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerDay'
  ;   K[4]='GetServerTime'
  ;   K[5]='tonumber'
  ;   K[6]='_GetBundleDBData'
  ;   K[7]='EBundleDBKey'
  ;   K[8]='TriggerTime'
  ;   K[9]=0
  ;   K[10]='GetLastDuration'
  ;   K[11]='_SetBundleDBData'
  ;   K[12]='tostring'
  ;   K[13]=86400
  ;   K[14]='LastShowDay'
  ;   K[15]='DailyShowNum'
  ;   K[16]='1'
  ;   K[17]='0'
  ;   K[18]='GetDailyShowNum'
  ;   K[19]=1
  ;   K[20]=nil
  ;   K[21]='_SetTriggerDailyNum'
  ;   K[22]='_GetTriggerDailyNum'
  ;   K[23]='LastPopTime'
  ;   K[24]='LastBuyDay'
  ;   K[25]='_RemoveBundleDBData'
  ;   K[26]='UpdateBundleState'
  ;   upvals: _ENV
  ;   locals: self(0-141), dataGroup(0-141), bFromWindow(0-141), eTriggerType(0-141), groupId(2-141), curDay(6-141), curTime(10-141), triggerTime(20-141), triggerDay(35-141), lastShowDay(45-141), dailyShowNum(85-93), lastBuyDay(129-141)
  0000  SELF      R5 = R1[K0('GetGroupId')] (self)
  0001  CALL      R4 = call(R4, 1 args, 1 rets)
  0002  GETTABUP  R5 = _ENV[K1('GM')]
  0003  GETTABLE  R5 = R5[K2('GameModel')]
  0004  SELF      R6 = R5[K3('GetServerDay')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  GETTABUP  R6 = _ENV[K1('GM')]
  0007  GETTABLE  R6 = R6[K2('GameModel')]
  0008  SELF      R7 = R6[K4('GetServerTime')] (self)
  0009  CALL      R6 = call(R6, 1 args, 1 rets)
  0010  GETTABUP  R7 = _ENV[K5('tonumber')]
  0011  SELF      R9 = R0[K6('_GetBundleDBData')] (self)
  0012  MOVE      R10 = R0
  0013  GETTABUP  R11 = _ENV[K7('EBundleDBKey')]
  0014  GETTABLE  R11 = R11[K8('TriggerTime')]
  0015  CALL      R8 = call(R8, -1 args, 3 rets)
  0016  CALL      R7 = call(R7, 1 args, -1 rets)
  0017  TEST      if not R7 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  LOADK     R7 = K9 0
  0020  SELF      R9 = R1[K10('GetLastDuration')] (self)
  0021  CALL      R8 = call(R8, 1 args, 1 rets)
  0022  ADD       R8 = R8 add R7
  0023  LT        if R0 lt R6   -> -126945
  0024  JMP       (jump)   -> 34
  0025  SELF      R9 = R0[K11('_SetBundleDBData')] (self)
  0026  MOVE      R10 = R0
  0027  GETTABUP  R11 = _ENV[K7('EBundleDBKey')]
  0028  GETTABLE  R11 = R11[K8('TriggerTime')]
  0029  GETTABUP  R12 = _ENV[K12('tostring')]
  0030  MOVE      R13 = R0
  0031  CALL      R12 = call(R12, -1 args, 1 rets)
  0032  CALL      R8 = call(R8, 0 args, -1 rets)
  0033  MOVE      R7 = R0
  0034  IDIV      R8 = K13(86400) idiv R7
  0035  GETTABUP  R9 = _ENV[K5('tonumber')]
  0036  SELF      R11 = R0[K6('_GetBundleDBData')] (self)
  0037  MOVE      R12 = R0
  0038  GETTABUP  R13 = _ENV[K7('EBundleDBKey')]
  0039  GETTABLE  R13 = R13[K14('LastShowDay')]
  0040  CALL      R10 = call(R10, -1 args, 3 rets)
  0041  CALL      R9 = call(R9, 1 args, -1 rets)
  0042  TEST      if not R9 then   -> -131027
  0043  JMP       (jump)   -> 45
  0044  LOADK     R9 = K9 0
  0045  TEST      if not R2 then   -> -131024
  0046  JMP       (jump)   -> 49
  0047  LT        if R0 lt R8   -> -126407
  0048  JMP       (jump)   -> 119
  0049  EQ        if R1 eq R5   -> -126408
  0050  JMP       (jump)   -> 71
  0051  SELF      R11 = R0[K11('_SetBundleDBData')] (self)
  0052  MOVE      R12 = R0
  0053  GETTABUP  R13 = _ENV[K7('EBundleDBKey')]
  0054  GETTABLE  R13 = R13[K14('LastShowDay')]
  0055  GETTABUP  R14 = _ENV[K12('tostring')]
  0056  MOVE      R15 = R0
  0057  CALL      R14 = call(R14, -1 args, 1 rets)
  0058  CALL      R10 = call(R10, 0 args, -1 rets)
  0059  SELF      R11 = R0[K11('_SetBundleDBData')] (self)
  0060  MOVE      R12 = R0
  0061  GETTABUP  R13 = _ENV[K7('EBundleDBKey')]
  0062  GETTABLE  R13 = R13[K15('DailyShowNum')]
  0063  TEST      if not R2 then   -> -131007
  0064  JMP       (jump)   -> 68
  0065  LOADK     R14 = K16 '1'
  0066  TEST      if not R14 then   -> -131003
  0067  JMP       (jump)   -> 69
  0068  LOADK     R14 = K17 '0'
  0069  CALL      R10 = call(R10, 0 args, 4 rets)
  0070  JMP       (jump)   -> 93
  0071  SELF      R11 = R1[K18('GetDailyShowNum')] (self)
  0072  CALL      R10 = call(R10, 1 args, 1 rets)
  0073  TEST      if not R10 then   -> -130997
  0074  JMP       (jump)   -> 93
  0075  GETTABUP  R10 = _ENV[K5('tonumber')]
  0076  SELF      R12 = R0[K6('_GetBundleDBData')] (self)
  0077  MOVE      R13 = R0
  0078  GETTABUP  R14 = _ENV[K7('EBundleDBKey')]
  0079  GETTABLE  R14 = R14[K15('DailyShowNum')]
  0080  CALL      R11 = call(R11, -1 args, 3 rets)
  0081  CALL      R10 = call(R10, 1 args, -1 rets)
  0082  TEST      if not R10 then   -> -130987
  0083  JMP       (jump)   -> 85
  0084  LOADK     R10 = K9 0
  0085  SELF      R12 = R0[K11('_SetBundleDBData')] (self)
  0086  MOVE      R13 = R0
  0087  GETTABUP  R14 = _ENV[K7('EBundleDBKey')]
  0088  GETTABLE  R14 = R14[K15('DailyShowNum')]
  0089  GETTABUP  R15 = _ENV[K12('tostring')]
  0090  ADD       R16 = K19(1) add R10
  0091  CALL      R15 = call(R15, -1 args, 1 rets)
  0092  CALL      R11 = call(R11, 0 args, -1 rets)
  0093  EQ        if R1 eq K20(nil)   -> -129165
  0094  JMP       (jump)   -> 109
  0095  TEST      if not R2 then   -> -130975
  0096  JMP       (jump)   -> 109
  0097  SELF      R11 = R0[K21('_SetTriggerDailyNum')] (self)
  0098  SELF      R13 = R0[K22('_GetTriggerDailyNum')] (self)
  0099  MOVE      R14 = R0
  0100  SELF      R16 = R1[K0('GetGroupId')] (self)
  0101  CALL      R15 = call(R15, 1 args, 1 rets)
  0102  LOADBOOL  R16 = true
  0103  CALL      R12 = call(R12, 1 args, 4 rets)
  0104  ADD       R12 = K19(1) add R12
  0105  MOVE      R13 = R0
  0106  SELF      R15 = R1[K0('GetGroupId')] (self)
  0107  CALL      R14 = call(R14, -1 args, 1 rets)
  0108  CALL      R10 = call(R10, 0 args, -1 rets)
  0109  TEST      if not R2 then   -> -130961
  0110  JMP       (jump)   -> 119
  0111  SELF      R11 = R0[K11('_SetBundleDBData')] (self)
  0112  MOVE      R12 = R0
  0113  GETTABUP  R13 = _ENV[K7('EBundleDBKey')]
  0114  GETTABLE  R13 = R13[K23('LastPopTime')]
  0115  GETTABUP  R14 = _ENV[K12('tostring')]
  0116  MOVE      R15 = R0
  0117  CALL      R14 = call(R14, -1 args, 1 rets)
  0118  CALL      R10 = call(R10, 0 args, -1 rets)
  0119  GETTABUP  R10 = _ENV[K5('tonumber')]
  0120  SELF      R12 = R0[K6('_GetBundleDBData')] (self)
  0121  MOVE      R13 = R0
  0122  GETTABUP  R14 = _ENV[K7('EBundleDBKey')]
  0123  GETTABLE  R14 = R14[K24('LastBuyDay')]
  0124  CALL      R11 = call(R11, -1 args, 3 rets)
  0125  CALL      R10 = call(R10, 1 args, -1 rets)
  0126  TEST      if not R10 then   -> -130943
  0127  JMP       (jump)   -> 129
  0128  LOADK     R10 = K9 0
  0129  EQ        if R1 eq R5   -> -125816
  0130  JMP       (jump)   -> 136
  0131  SELF      R12 = R0[K25('_RemoveBundleDBData')] (self)
  0132  MOVE      R13 = R0
  0133  GETTABUP  R14 = _ENV[K7('EBundleDBKey')]
  0134  GETTABLE  R14 = R14[K24('LastBuyDay')]
  0135  CALL      R11 = call(R11, 0 args, 3 rets)
  0136  SELF      R12 = R0[K26('UpdateBundleState')] (self)
  0137  MOVE      R13 = R0
  0138  LOADBOOL  R14 = true
  0139  CALL      R11 = call(R11, 0 args, 3 rets)
  0140  RETURN    return R0..R-1
; ---------- proto30 [RefreshBundleWindowPopupTime] ----------
  ; fn ?  line 542-545 np=2 va=0 ms=10 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='_SetBundleDBData'
  ;   K[2]='EBundleDBKey'
  ;   K[3]='LastPopTime'
  ;   K[4]='tostring'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: self(0-14), dataGroup(0-14), groupId(2-14)
  0000  SELF      R3 = R1[K0('GetGroupId')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R0[K1('_SetBundleDBData')] (self)
  0003  MOVE      R5 = R0
  0004  GETTABUP  R6 = _ENV[K2('EBundleDBKey')]
  0005  GETTABLE  R6 = R6[K3('LastPopTime')]
  0006  GETTABUP  R7 = _ENV[K4('tostring')]
  0007  GETTABUP  R8 = _ENV[K5('GM')]
  0008  GETTABLE  R8 = R8[K6('GameModel')]
  0009  SELF      R9 = R8[K7('GetServerTime')] (self)
  0010  CALL      R8 = call(R8, -1 args, 1 rets)
  0011  CALL      R7 = call(R7, -1 args, -1 rets)
  0012  CALL      R3 = call(R3, 0 args, -1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto31 [_CanTriggerBundleWindow] ----------
  ; fn ?  line 547-586 np=3 va=0 ms=16 code=112 consts=23 upvals=1 protos=0
  ;   K[0]='GetGroupId'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='GetPopCD'
  ;   K[5]='tonumber'
  ;   K[6]='_GetBundleDBData'
  ;   K[7]='EBundleDBKey'
  ;   K[8]='LastPopTime'
  ;   K[9]=0
  ;   K[10]='GetServerDay'
  ;   K[11]='LastShowDay'
  ;   K[12]='DailyShowNum'
  ;   K[13]='GetDailyShowNum'
  ;   K[14]='CanPopup'
  ;   K[15]='_GetTriggerDailyNum'
  ;   K[16]='GetBundleUIType'
  ;   K[17]=nil
  ;   K[18]='BundleUIType'
  ;   K[19]='window'
  ;   K[20]='UIManager'
  ;   K[21]='IsViewExisting'
  ;   K[22]='BundlePopupHelper'
  ;   upvals: _ENV
  ;   locals: self(0-112), dataGroup(0-112), eTriggerType(0-112), groupId(2-112), curTime(6-112), lastPopTime(20-27), curDay(31-112), lastShowDay(41-112), dailyShowNum(55-112), bundleUIType(80-112), window(92-112)
  0000  SELF      R4 = R1[K0('GetGroupId')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  GETTABUP  R4 = _ENV[K1('GM')]
  0003  GETTABLE  R4 = R4[K2('GameModel')]
  0004  SELF      R5 = R4[K3('GetServerTime')] (self)
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  SELF      R6 = R1[K4('GetPopCD')] (self)
  0007  CALL      R5 = call(R5, 1 args, 1 rets)
  0008  TEST      if not R5 then   -> -131062
  0009  JMP       (jump)   -> 27
  0010  GETTABUP  R5 = _ENV[K5('tonumber')]
  0011  SELF      R7 = R0[K6('_GetBundleDBData')] (self)
  0012  MOVE      R8 = R0
  0013  GETTABUP  R9 = _ENV[K7('EBundleDBKey')]
  0014  GETTABLE  R9 = R9[K8('LastPopTime')]
  0015  CALL      R6 = call(R6, -1 args, 3 rets)
  0016  CALL      R5 = call(R5, 1 args, -1 rets)
  0017  TEST      if not R5 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  LOADK     R5 = K9 0
  0020  SELF      R7 = R1[K4('GetPopCD')] (self)
  0021  CALL      R6 = call(R6, 1 args, 1 rets)
  0022  ADD       R6 = R6 add R5
  0023  LT        if R0 lt R6   -> -128993
  0024  JMP       (jump)   -> 27
  0025  LOADBOOL  R6 = false
  0026  RETURN    return R6..R5
  0027  GETTABUP  R5 = _ENV[K1('GM')]
  0028  GETTABLE  R5 = R5[K2('GameModel')]
  0029  SELF      R6 = R5[K10('GetServerDay')] (self)
  0030  CALL      R5 = call(R5, 1 args, 1 rets)
  0031  GETTABUP  R6 = _ENV[K5('tonumber')]
  0032  SELF      R8 = R0[K6('_GetBundleDBData')] (self)
  0033  MOVE      R9 = R0
  0034  GETTABUP  R10 = _ENV[K7('EBundleDBKey')]
  0035  GETTABLE  R10 = R10[K11('LastShowDay')]
  0036  CALL      R7 = call(R7, -1 args, 3 rets)
  0037  CALL      R6 = call(R6, 1 args, -1 rets)
  0038  TEST      if not R6 then   -> -131031
  0039  JMP       (jump)   -> 41
  0040  LOADK     R6 = K9 0
  0041  EQ        if R1 eq R5   -> -127952
  0042  JMP       (jump)   -> 45
  0043  LOADBOOL  R7 = true
  0044  RETURN    return R7..R6
  0045  GETTABUP  R7 = _ENV[K5('tonumber')]
  0046  SELF      R9 = R0[K6('_GetBundleDBData')] (self)
  0047  MOVE      R10 = R0
  0048  GETTABUP  R11 = _ENV[K7('EBundleDBKey')]
  0049  GETTABLE  R11 = R11[K12('DailyShowNum')]
  0050  CALL      R8 = call(R8, -1 args, 3 rets)
  0051  CALL      R7 = call(R7, 1 args, -1 rets)
  0052  TEST      if not R7 then   -> -131017
  0053  JMP       (jump)   -> 55
  0054  LOADK     R7 = K9 0
  0055  SELF      R9 = R1[K13('GetDailyShowNum')] (self)
  0056  CALL      R8 = call(R8, 1 args, 1 rets)
  0057  TEST      if not R8 then   -> -131013
  0058  JMP       (jump)   -> 65
  0059  SELF      R9 = R1[K13('GetDailyShowNum')] (self)
  0060  CALL      R8 = call(R8, 1 args, 1 rets)
  0061  LE        if R0 le R7   -> -126906
  0062  JMP       (jump)   -> 65
  0063  LOADBOOL  R8 = false
  0064  RETURN    return R8..R7
  0065  SELF      R9 = R1[K14('CanPopup')] (self)
  0066  MOVE      R10 = R0
  0067  SELF      R12 = R0[K15('_GetTriggerDailyNum')] (self)
  0068  MOVE      R13 = R0
  0069  SELF      R15 = R1[K0('GetGroupId')] (self)
  0070  CALL      R14 = call(R14, 1 args, 1 rets)
  0071  LOADBOOL  R15 = true
  0072  CALL      R11 = call(R11, -1 args, 4 rets)
  0073  CALL      R8 = call(R8, 1 args, -1 rets)
  0074  TEST      if not R8 then   -> -130995
  0075  JMP       (jump)   -> 78
  0076  LOADBOOL  R8 = false
  0077  RETURN    return R8..R7
  0078  SELF      R9 = R1[K16('GetBundleUIType')] (self)
  0079  CALL      R8 = call(R8, 1 args, 1 rets)
  0080  EQ        if R1 eq K17(nil)   -> -126621
  0081  JMP       (jump)   -> 91
  0082  GETTABUP  R9 = _ENV[K18('BundleUIType')]
  0083  GETTABLE  R9 = R9[R8]
  0084  EQ        if R1 eq K17(nil)   -> -126105
  0085  JMP       (jump)   -> 91
  0086  GETTABUP  R9 = _ENV[K18('BundleUIType')]
  0087  GETTABLE  R9 = R9[R8]
  0088  GETTABLE  R9 = R9[K19('window')]
  0089  TEST      if not R9 then   -> -130980
  0090  JMP       (jump)   -> 92
  0091  LOADNIL   R9..R9 = nil
  0092  EQ        if R1 eq K17(nil)   -> -126097
  0093  JMP       (jump)   -> 109
  0094  GETTABUP  R10 = _ENV[K1('GM')]
  0095  GETTABLE  R10 = R10[K20('UIManager')]
  0096  SELF      R11 = R10[K21('IsViewExisting')] (self)
  0097  MOVE      R12 = R0
  0098  CALL      R10 = call(R10, 1 args, 2 rets)
  0099  TEST      if not R10 then   -> -130970
  0100  JMP       (jump)   -> 107
  0101  GETTABUP  R10 = _ENV[K22('BundlePopupHelper')]
  0102  GETTABLE  R10 = R10[K21('IsViewExisting')]
  0103  MOVE      R11 = R0
  0104  CALL      R10 = call(R10, 1 args, 1 rets)
  0105  TEST      if not R10 then   -> -130965
  0106  JMP       (jump)   -> 109
  0107  LOADBOOL  R10 = false
  0108  RETURN    return R10..R9
  0109  LOADBOOL  R10 = true
  0110  RETURN    return R10..R9
  0111  RETURN    return R0..R-1
; ---------- proto32 [OpenBundleView] ----------
  ; fn ?  line 588-620 np=6 va=0 ms=11 code=49 consts=17 upvals=1 protos=2
  ;   K[0]='GetBundleUIType'
  ;   K[1]='BundleUIType'
  ;   K[2]='window'
  ;   K[3]='GameConfig'
  ;   K[4]='IsTestMode'
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='BundleActivityModel:OpenBundleView no bundleUIType for '
  ;   K[8]='GetGroupId'
  ;   K[9]=nil
  ;   K[10]=0
  ;   K[11]='GM'
  ;   K[12]='UIManager'
  ;   K[13]='SetEventLock'
  ;   K[14]='DelayExecuteFunc'
  ;   K[15]='BundleUIType'
  ;   K[16]='window'
  ;   upvals: _ENV
  ;   locals: self(0-49), dataGroup(0-49), bOpenImmediately(0-49), bUserClick(0-49), triggerType(0-49), delay(0-49), bundleUIType(2-49), openFunc(28-49)
  0000  SELF      R7 = R1[K0('GetBundleUIType')] (self)
  0001  CALL      R6 = call(R6, 1 args, 1 rets)
  0002  TEST      if not R6 then   -> -131068
  0003  JMP       (jump)   -> 13
  0004  GETTABUP  R7 = _ENV[K1('BundleUIType')]
  0005  GETTABLE  R7 = R7[R6]
  0006  TEST      if not R7 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R7 = _ENV[K1('BundleUIType')]
  0009  GETTABLE  R7 = R7[R6]
  0010  GETTABLE  R7 = R7[K2('window')]
  0011  TEST      if not R7 then   -> -131058
  0012  JMP       (jump)   -> 27
  0013  GETTABUP  R7 = _ENV[K3('GameConfig')]
  0014  GETTABLE  R7 = R7[K4('IsTestMode')]
  0015  CALL      R7 = call(R7, 1 args, 0 rets)
  0016  TEST      if not R7 then   -> -131054
  0017  JMP       (jump)   -> 25
  0018  GETTABUP  R7 = _ENV[K5('Log')]
  0019  GETTABLE  R7 = R7[K6('Error')]
  0020  LOADK     R8 = K7 'BundleActivityModel:OpenBundleView no bundleUIType for '
  0021  SELF      R10 = R1[K8('GetGroupId')] (self)
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  CONCAT    R8 = concat(R8..R8)
  0024  CALL      R7 = call(R7, 0 args, 1 rets)
  0025  LOADNIL   R7..R7 = nil
  0026  RETURN    return R7..R6
  0027  CLOSURE   R7 = closure proto0
  0028  EQ        if R1 eq K9(nil)   -> -128217
  0029  JMP       (jump)   -> 42
  0030  LT        if R0 lt R5   -> 5157
  0031  JMP       (jump)   -> 42
  0032  GETTABUP  R8 = _ENV[K11('GM')]
  0033  GETTABLE  R8 = R8[K12('UIManager')]
  0034  SELF      R9 = R8[K13('SetEventLock')] (self)
  0035  LOADBOOL  R10 = true
  0036  CALL      R8 = call(R8, 0 args, 2 rets)
  0037  GETTABUP  R8 = _ENV[K14('DelayExecuteFunc')]
  0038  CLOSURE   R9 = closure proto1
  0039  MOVE      R10 = R0
  0040  CALL      R8 = call(R8, 0 args, 2 rets)
  0041  JMP       (jump)   -> 44
  0042  MOVE      R8 = R0
  0043  CALL      R8 = call(R8, 0 args, 0 rets)
  0044  GETTABUP  R8 = _ENV[K15('BundleUIType')]
  0045  GETTABLE  R8 = R8[R6]
  0046  GETTABLE  R8 = R8[K16('window')]
  0047  RETURN    return R8..R7
  0048  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 597-603 np=0 va=0 ms=7 code=28 consts=8 upvals=7 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='OpenView'
    ;   K[3]='BundleUIType'
    ;   K[4]='window'
    ;   K[5]='m_bundleType'
    ;   K[6]='BundlePopupHelper'
    ;   K[7]='AddWindowToPopupChainWithoutRepeat'
    ;   upvals: bOpenImmediately, _ENV, bundleUIType, self, dataGroup, bUserClick, triggerType
    0000  GETUPVAL  R0 = bOpenImmediately
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 16
    0003  GETTABUP  R0 = _ENV[K0('GM')]
    0004  GETTABLE  R0 = R0[K1('UIManager')]
    0005  SELF      R1 = R0[K2('OpenView')] (self)
    0006  GETTABUP  R2 = _ENV[K3('BundleUIType')]
    0007  GETUPVAL  R3 = bOpenImmediately
    0008  GETTABLE  R2 = R2[R3]
    0009  GETTABLE  R2 = R2[K4('window')]
    0010  GETTABUP  R3 = self[K5('m_bundleType')]
    0011  GETUPVAL  R4 = bOpenImmediately
    0012  GETUPVAL  R5 = bOpenImmediately
    0013  GETUPVAL  R6 = bOpenImmediately
    0014  CALL      R0 = call(R0, 0 args, 6 rets)
    0015  JMP       (jump)   -> 27
    0016  GETTABUP  R0 = _ENV[K6('BundlePopupHelper')]
    0017  GETTABLE  R0 = R0[K7('AddWindowToPopupChainWithoutRepeat')]
    0018  GETTABUP  R1 = _ENV[K3('BundleUIType')]
    0019  GETUPVAL  R2 = bOpenImmediately
    0020  GETTABLE  R1 = R1[R2]
    0021  GETTABLE  R1 = R1[K4('window')]
    0022  GETTABUP  R2 = self[K5('m_bundleType')]
    0023  GETUPVAL  R3 = bOpenImmediately
    0024  GETUPVAL  R4 = bOpenImmediately
    0025  GETUPVAL  R5 = bOpenImmediately
    0026  CALL      R0 = call(R0, 0 args, 5 rets)
    0027  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 607-613 np=0 va=0 ms=3 code=16 consts=6 upvals=4 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='GetBundleState'
    ;   K[4]='EBundleState'
    ;   K[5]='Opening'
    ;   upvals: _ENV, self, dataGroup, openFunc
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETUPVAL  R0 = _ENV
    0006  SELF      R1 = R0[K3('GetBundleState')] (self)
    0007  GETUPVAL  R2 = _ENV
    0008  CALL      R0 = call(R0, 1 args, 2 rets)
    0009  GETTABUP  R1 = _ENV[K4('EBundleState')]
    0010  GETTABLE  R1 = R1[K5('Opening')]
    0011  EQ        if R0 eq R1   -> -131058
    0012  JMP       (jump)   -> 15
    0013  GETUPVAL  R0 = _ENV
    0014  CALL      R0 = call(R0, 0 args, 0 rets)
    0015  RETURN    return R0..R-1
; ---------- proto33 [GetShowBuyLimitNum] ----------
  ; fn ?  line 622-650 np=2 va=0 ms=15 code=65 consts=15 upvals=1 protos=0
  ;   K[0]='GetDailyBuyNum'
  ;   K[1]='GetMaxBuyNum'
  ;   K[2]='GetGroupId'
  ;   K[3]='tonumber'
  ;   K[4]='_GetBundleDBData'
  ;   K[5]='EBundleDBKey'
  ;   K[6]='MaxBuyNum'
  ;   K[7]=0
  ;   K[8]='GM'
  ;   K[9]='GameModel'
  ;   K[10]='GetServerDay'
  ;   K[11]='LastBuyDay'
  ;   K[12]='DailyBuyNum'
  ;   K[13]='math'
  ;   K[14]='min'
  ;   upvals: _ENV
  ;   locals: self(0-65), dataGroup(0-65), dailyLimit(2-65), maxNum(4-65), groupId(6-65), boughtNum(7-65), limitNum(7-65), maxBoughtNum(17-65), curDay(23-58), lastBuyDay(33-58)
  0000  SELF      R3 = R1[K0('GetDailyBuyNum')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R1[K1('GetMaxBuyNum')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  SELF      R5 = R1[K2('GetGroupId')] (self)
  0005  CALL      R4 = call(R4, 1 args, 1 rets)
  0006  LOADNIL   R5..R5 = nil
  0007  GETTABUP  R7 = _ENV[K3('tonumber')]
  0008  SELF      R9 = R0[K4('_GetBundleDBData')] (self)
  0009  MOVE      R10 = R0
  0010  GETTABUP  R11 = _ENV[K5('EBundleDBKey')]
  0011  GETTABLE  R11 = R11[K6('MaxBuyNum')]
  0012  CALL      R8 = call(R8, -1 args, 3 rets)
  0013  CALL      R7 = call(R7, 1 args, -1 rets)
  0014  TEST      if not R7 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  LOADK     R7 = K7 0
  0017  TEST      if not R2 then   -> -131053
  0018  JMP       (jump)   -> 59
  0019  GETTABUP  R8 = _ENV[K8('GM')]
  0020  GETTABLE  R8 = R8[K9('GameModel')]
  0021  SELF      R9 = R8[K10('GetServerDay')] (self)
  0022  CALL      R8 = call(R8, 1 args, 1 rets)
  0023  GETTABUP  R9 = _ENV[K3('tonumber')]
  0024  SELF      R11 = R0[K4('_GetBundleDBData')] (self)
  0025  MOVE      R12 = R0
  0026  GETTABUP  R13 = _ENV[K5('EBundleDBKey')]
  0027  GETTABLE  R13 = R13[K11('LastBuyDay')]
  0028  CALL      R10 = call(R10, -1 args, 3 rets)
  0029  CALL      R9 = call(R9, 1 args, -1 rets)
  0030  TEST      if not R9 then   -> -131039
  0031  JMP       (jump)   -> 33
  0032  LOADK     R9 = K7 0
  0033  EQ        if R1 eq R8   -> -126421
  0034  JMP       (jump)   -> 37
  0035  LOADK     R5 = K7 0
  0036  JMP       (jump)   -> 47
  0037  GETTABUP  R10 = _ENV[K3('tonumber')]
  0038  SELF      R12 = R0[K4('_GetBundleDBData')] (self)
  0039  MOVE      R13 = R0
  0040  GETTABUP  R14 = _ENV[K5('EBundleDBKey')]
  0041  GETTABLE  R14 = R14[K12('DailyBuyNum')]
  0042  CALL      R11 = call(R11, -1 args, 3 rets)
  0043  CALL      R10 = call(R10, 1 args, -1 rets)
  0044  TESTSET   if R1 then R5   -> -125905
  0045  JMP       (jump)   -> 47
  0046  LOADK     R5 = K7 0
  0047  TEST      if not R3 then   -> -131022
  0048  JMP       (jump)   -> 51
  0049  MOVE      R6 = R0
  0050  JMP       (jump)   -> 61
  0051  GETTABUP  R10 = _ENV[K13('math')]
  0052  GETTABLE  R10 = R10[K14('min')]
  0053  MOVE      R11 = R0
  0054  SUB       R12 = R7 sub R3
  0055  ADD       R12 = R5 add R12
  0056  CALL      R10 = call(R10, 1 args, 2 rets)
  0057  MOVE      R6 = R0
  0058  JMP       (jump)   -> 61
  0059  MOVE      R5 = R0
  0060  MOVE      R6 = R0
  0061  MOVE      R8 = R0
  0062  MOVE      R9 = R0
  0063  RETURN    return R8..R7
  0064  RETURN    return R0..R-1
; ---------- proto34 [GetRestDuration] ----------
  ; fn ?  line 652-656 np=2 va=0 ms=5 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='GetBundleTriggerEndTime'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: self(0-10), dataGroup(0-10), triggerEndTime(3-10), restDuration(8-10)
  0000  SELF      R3 = R0[K0('GetBundleTriggerEndTime')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABUP  R3 = _ENV[K1('GM')]
  0004  GETTABLE  R3 = R3[K2('GameModel')]
  0005  SELF      R4 = R3[K3('GetServerTime')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SUB       R3 = R3 sub R2
  0008  RETURN    return R3..R2
  0009  RETURN    return R0..R-1
; ---------- proto35 [GetBundleTriggerStartTime] ----------
  ; fn ?  line 658-660 np=2 va=0 ms=7 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='_GetBundleDBData'
  ;   K[2]='GetGroupId'
  ;   K[3]='EBundleDBKey'
  ;   K[4]='TriggerTime'
  ;   K[5]=0
  ;   upvals: _ENV
  ;   locals: self(0-13), dataGroup(0-13)
  0000  GETTABUP  R2 = _ENV[K0('tonumber')]
  0001  SELF      R4 = R0[K1('_GetBundleDBData')] (self)
  0002  SELF      R6 = R1[K2('GetGroupId')] (self)
  0003  CALL      R5 = call(R5, 1 args, 1 rets)
  0004  GETTABUP  R6 = _ENV[K3('EBundleDBKey')]
  0005  GETTABLE  R6 = R6[K4('TriggerTime')]
  0006  CALL      R3 = call(R3, -1 args, 3 rets)
  0007  CALL      R2 = call(R2, 1 args, -1 rets)
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R2 = K5 0
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto36 [GetBundleTriggerEndTime] ----------
  ; fn ?  line 663-673 np=2 va=0 ms=10 code=32 consts=9 upvals=1 protos=0
  ;   K[0]='GetConditionData'
  ;   K[1]='GetBundleTriggerStartTime'
  ;   K[2]='GetBundleEndTime'
  ;   K[3]='math'
  ;   K[4]='maxinteger'
  ;   K[5]=nil
  ;   K[6]='GetRecentActivityEndTime'
  ;   K[7]='min'
  ;   K[8]='GetLastDuration'
  ;   upvals: _ENV
  ;   locals: self(0-32), dataGroup(0-32), bundleConditionData(2-32), triggertime(5-32), bundleEndTime(11-32), activityEndTime(13-32)
  0000  SELF      R3 = R1[K0('GetConditionData')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R0[K1('GetBundleTriggerStartTime')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  SELF      R5 = R1[K2('GetBundleEndTime')] (self)
  0006  CALL      R4 = call(R4, 1 args, 1 rets)
  0007  TEST      if not R4 then   -> -131062
  0008  JMP       (jump)   -> 11
  0009  GETTABUP  R4 = _ENV[K3('math')]
  0010  GETTABLE  R4 = R4[K4('maxinteger')]
  0011  GETTABUP  R5 = _ENV[K3('math')]
  0012  GETTABLE  R5 = R5[K4('maxinteger')]
  0013  EQ        if R1 eq K5(nil)   -> -129772
  0014  JMP       (jump)   -> 22
  0015  SELF      R7 = R2[K6('GetRecentActivityEndTime')] (self)
  0016  CALL      R6 = call(R6, 1 args, 1 rets)
  0017  EQ        if R1 eq K5(nil)   -> -127720
  0018  JMP       (jump)   -> 22
  0019  SELF      R7 = R2[K6('GetRecentActivityEndTime')] (self)
  0020  CALL      R6 = call(R6, 1 args, 1 rets)
  0021  MOVE      R5 = R0
  0022  GETTABUP  R6 = _ENV[K3('math')]
  0023  GETTABLE  R6 = R6[K7('min')]
  0024  SELF      R8 = R1[K8('GetLastDuration')] (self)
  0025  CALL      R7 = call(R7, 1 args, 1 rets)
  0026  ADD       R7 = R7 add R3
  0027  MOVE      R8 = R0
  0028  MOVE      R9 = R0
  0029  TAILCALL  tailcall(R6, 0)
  0030  RETURN    return R6..R5
  0031  RETURN    return R0..R-1
; ---------- proto37 [_GetTriggerDailyNum] ----------
  ; fn ?  line 676-682 np=4 va=0 ms=10 code=22 consts=8 upvals=1 protos=0
  ;   K[0]='TryRefreshTriggerDailyNum'
  ;   K[1]='StringUtil'
  ;   K[2]='Format'
  ;   K[3]='EBundleDBKey'
  ;   K[4]='TriggerDailyShowNum'
  ;   K[5]='tonumber'
  ;   K[6]='_GetBundleDBData'
  ;   K[7]=0
  ;   upvals: _ENV
  ;   locals: self(0-22), eTriggerType(0-22), groupId(0-22), bRefresh(0-22), dbKey(11-22)
  0000  TEST      if not R3 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  SELF      R5 = R0[K0('TryRefreshTriggerDailyNum')] (self)
  0003  MOVE      R6 = R0
  0004  CALL      R4 = call(R4, 0 args, 2 rets)
  0005  GETTABUP  R4 = _ENV[K1('StringUtil')]
  0006  GETTABLE  R4 = R4[K2('Format')]
  0007  GETTABUP  R5 = _ENV[K3('EBundleDBKey')]
  0008  GETTABLE  R5 = R5[K4('TriggerDailyShowNum')]
  0009  MOVE      R6 = R0
  0010  CALL      R4 = call(R4, 1 args, 2 rets)
  0011  GETTABUP  R5 = _ENV[K5('tonumber')]
  0012  SELF      R7 = R0[K6('_GetBundleDBData')] (self)
  0013  MOVE      R8 = R0
  0014  MOVE      R9 = R0
  0015  CALL      R6 = call(R6, -1 args, 3 rets)
  0016  CALL      R5 = call(R5, 1 args, -1 rets)
  0017  TEST      if not R5 then   -> -131052
  0018  JMP       (jump)   -> 20
  0019  LOADK     R5 = K7 0
  0020  RETURN    return R5..R4
  0021  RETURN    return R0..R-1
; ---------- proto38 [_SetTriggerDailyNum] ----------
  ; fn ?  line 685-688 np=4 va=0 ms=10 code=12 consts=5 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='Format'
  ;   K[2]='EBundleDBKey'
  ;   K[3]='TriggerDailyShowNum'
  ;   K[4]='_SetBundleDBData'
  ;   upvals: _ENV
  ;   locals: self(0-12), num(0-12), eTriggerType(0-12), groupId(0-12), dbKey(6-12)
  0000  GETTABUP  R4 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R4 = R4[K1('Format')]
  0002  GETTABUP  R5 = _ENV[K2('EBundleDBKey')]
  0003  GETTABLE  R5 = R5[K3('TriggerDailyShowNum')]
  0004  MOVE      R6 = R0
  0005  CALL      R4 = call(R4, 1 args, 2 rets)
  0006  SELF      R6 = R0[K4('_SetBundleDBData')] (self)
  0007  MOVE      R7 = R0
  0008  MOVE      R8 = R0
  0009  MOVE      R9 = R0
  0010  CALL      R5 = call(R5, 0 args, 4 rets)
  0011  RETURN    return R0..R-1
; ---------- proto39 [TryRefreshTriggerDailyNum] ----------
  ; fn ?  line 690-697 np=2 va=0 ms=10 code=28 consts=11 upvals=1 protos=0
  ;   K[0]='tonumber'
  ;   K[1]='_GetBundleDBData'
  ;   K[2]='EBundleDBKey'
  ;   K[3]='TriggerLastShowDay'
  ;   K[4]=0
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerDay'
  ;   K[8]='_ResetAllTriggerDailyNum'
  ;   K[9]='_SetBundleDBData'
  ;   K[10]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-28), groupId(0-28), lastDay(10-28), curDay(14-28)
  0000  GETTABUP  R2 = _ENV[K0('tonumber')]
  0001  SELF      R4 = R0[K1('_GetBundleDBData')] (self)
  0002  MOVE      R5 = R0
  0003  GETTABUP  R6 = _ENV[K2('EBundleDBKey')]
  0004  GETTABLE  R6 = R6[K3('TriggerLastShowDay')]
  0005  CALL      R3 = call(R3, -1 args, 3 rets)
  0006  CALL      R2 = call(R2, 1 args, -1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R2 = K4 0
  0010  GETTABUP  R3 = _ENV[K5('GM')]
  0011  GETTABLE  R3 = R3[K6('GameModel')]
  0012  SELF      R4 = R3[K7('GetServerDay')] (self)
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  LT        if R0 lt R3   -> -130029
  0015  JMP       (jump)   -> 27
  0016  SELF      R5 = R0[K8('_ResetAllTriggerDailyNum')] (self)
  0017  MOVE      R6 = R0
  0018  CALL      R4 = call(R4, 0 args, 2 rets)
  0019  SELF      R5 = R0[K9('_SetBundleDBData')] (self)
  0020  MOVE      R6 = R0
  0021  GETTABUP  R7 = _ENV[K2('EBundleDBKey')]
  0022  GETTABLE  R7 = R7[K3('TriggerLastShowDay')]
  0023  GETTABUP  R8 = _ENV[K10('tostring')]
  0024  MOVE      R9 = R0
  0025  CALL      R8 = call(R8, -1 args, 1 rets)
  0026  CALL      R4 = call(R4, 0 args, -1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto40 [_ResetAllTriggerDailyNum] ----------
  ; fn ?  line 699-705 np=2 va=0 ms=12 code=18 consts=5 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='EBundleTriggerType'
  ;   K[2]='_GetTriggerDailyNum'
  ;   K[3]=0
  ;   K[4]='_SetTriggerDailyNum'
  ;   upvals: _ENV
  ;   locals: self(0-18), groupId(0-18), (for generator)(3-17), (for state)(3-17), (for control)(3-17), _(4-15), triggerType(4-15)
  0000  GETTABUP  R2 = _ENV[K0('pairs')]
  0001  GETTABUP  R3 = _ENV[K1('EBundleTriggerType')]
  0002  CALL      R2 = call(R2, 3 args, 1 rets)
  0003  JMP       (jump)   -> 15
  0004  SELF      R8 = R0[K2('_GetTriggerDailyNum')] (self)
  0005  MOVE      R9 = R0
  0006  MOVE      R10 = R0
  0007  CALL      R7 = call(R7, 1 args, 3 rets)
  0008  EQ        if R1 eq K3(0)   -> -127219
  0009  JMP       (jump)   -> 15
  0010  SELF      R8 = R0[K4('_SetTriggerDailyNum')] (self)
  0011  LOADK     R9 = K3 0
  0012  MOVE      R10 = R0
  0013  MOVE      R11 = R0
  0014  CALL      R7 = call(R7, 0 args, 4 rets)
  0015  TFORCALL  tforcall R2
  0016  TFORLOOP  tforloop R4(sBx=-13)   -> 4
  0017  RETURN    return R0..R-1
; ---------- proto41 [GetTargetPopOrderConfig] ----------
  ; fn ?  line 708-717 np=2 va=0 ms=11 code=20 consts=5 upvals=1 protos=0
  ;   K[0]='_TryRefreshLocalConfigs'
  ;   K[1]='ipairs'
  ;   K[2]='m_dataGroups'
  ;   K[3]='GetPopOrderConfig'
  ;   K[4]=nil
  ;   upvals: _ENV
  ;   locals: self(0-20), triggerType(0-20), popOrderInfo(3-20), (for generator)(9-19), (for state)(9-19), (for control)(9-19), _(10-17), dataGroup(10-17)
  0000  SELF      R3 = R0[K0('_TryRefreshLocalConfigs')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  LOADNIL   R2..R2 = nil
  0003  GETTABUP  R3 = _ENV[K1('ipairs')]
  0004  GETTABLE  R4 = R0[K2('m_dataGroups')]
  0005  TEST      if not R4 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R4 = {} (0 items)
  0008  CALL      R3 = call(R3, 3 args, 1 rets)
  0009  JMP       (jump)   -> 17
  0010  SELF      R9 = R7[K3('GetPopOrderConfig')] (self)
  0011  MOVE      R10 = R0
  0012  CALL      R8 = call(R8, 1 args, 2 rets)
  0013  MOVE      R2 = R0
  0014  EQ        if R1 eq K4(nil)   -> -129772
  0015  JMP       (jump)   -> 17
  0016  RETURN    return R2..R1
  0017  TFORCALL  tforcall R3
  0018  TFORLOOP  tforloop R5(sBx=-9)   -> 10
  0019  RETURN    return R0..R-1
; ---------- proto42 [GetAllPopOrderConfig] ----------
  ; fn ?  line 720-730 np=2 va=0 ms=12 code=24 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_dataGroups'
  ;   K[2]='GetPopOrderConfig'
  ;   K[3]=nil
  ;   K[4]='table'
  ;   K[5]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-24), eTriggerType(0-24), result(1-24), popOrderInfo(2-24), (for generator)(8-22), (for state)(8-22), (for control)(8-22), _(9-20), dataGroup(9-20)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  LOADNIL   R3..R3 = nil
  0002  GETTABUP  R4 = _ENV[K0('ipairs')]
  0003  GETTABLE  R5 = R0[K1('m_dataGroups')]
  0004  TEST      if not R5 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  NEWTABLE  R5 = {} (0 items)
  0007  CALL      R4 = call(R4, 3 args, 1 rets)
  0008  JMP       (jump)   -> 20
  0009  SELF      R10 = R8[K2('GetPopOrderConfig')] (self)
  0010  MOVE      R11 = R0
  0011  CALL      R9 = call(R9, 1 args, 2 rets)
  0012  MOVE      R3 = R0
  0013  EQ        if R1 eq K3(nil)   -> -129262
  0014  JMP       (jump)   -> 20
  0015  GETTABUP  R9 = _ENV[K4('table')]
  0016  GETTABLE  R9 = R9[K5('insert')]
  0017  MOVE      R10 = R0
  0018  MOVE      R11 = R0
  0019  CALL      R9 = call(R9, 0 args, 2 rets)
  0020  TFORCALL  tforcall R4
  0021  TFORLOOP  tforloop R6(sBx=-13)   -> 9
  0022  RETURN    return R2..R1
  0023  RETURN    return R0..R-1
; ---------- proto43 [_GetLocalConfigs] ----------
  ; fn ?  line 742-752 np=1 va=0 ms=13 code=32 consts=13 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='m_mapGroupId2DBTable'
  ;   K[2]='GetValue'
  ;   K[3]='EBundleDBKey'
  ;   K[4]='LockedConfig'
  ;   K[5]='BundleColumnValue'
  ;   K[6]='StringUtil'
  ;   K[7]='IsNilOrEmpty'
  ;   K[8]='json'
  ;   K[9]='decode'
  ;   K[10]='Replace'
  ;   K[11]='@'
  ;   K[12]=','
  ;   upvals: _ENV
  ;   locals: self(0-32), mapId2Config(1-32), strConfig(2-32), (for generator)(5-30), (for state)(5-30), (for control)(5-30), groupId(6-28), dbTable(6-28)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  LOADNIL   R2..R2 = nil
  0002  GETTABUP  R3 = _ENV[K0('pairs')]
  0003  GETTABLE  R4 = R0[K1('m_mapGroupId2DBTable')]
  0004  CALL      R3 = call(R3, 3 args, 1 rets)
  0005  JMP       (jump)   -> 28
  0006  SELF      R9 = R7[K2('GetValue')] (self)
  0007  GETTABUP  R10 = _ENV[K3('EBundleDBKey')]
  0008  GETTABLE  R10 = R10[K4('LockedConfig')]
  0009  GETTABUP  R11 = _ENV[K5('BundleColumnValue')]
  0010  CALL      R8 = call(R8, 1 args, 3 rets)
  0011  MOVE      R2 = R0
  0012  GETTABUP  R8 = _ENV[K6('StringUtil')]
  0013  GETTABLE  R8 = R8[K7('IsNilOrEmpty')]
  0014  MOVE      R9 = R0
  0015  CALL      R8 = call(R8, 1 args, 1 rets)
  0016  TEST      if not R8 then   -> -131053
  0017  JMP       (jump)   -> 28
  0018  GETTABUP  R8 = _ENV[K8('json')]
  0019  GETTABLE  R8 = R8[K9('decode')]
  0020  GETTABUP  R9 = _ENV[K6('StringUtil')]
  0021  GETTABLE  R9 = R9[K10('Replace')]
  0022  MOVE      R10 = R0
  0023  LOADK     R11 = K11 '@'
  0024  LOADK     R12 = K12 ','
  0025  CALL      R9 = call(R9, -1 args, 3 rets)
  0026  CALL      R8 = call(R8, 1 args, -1 rets)
  0027  SETTABLE  R1[R6] = R8
  0028  TFORCALL  tforcall R3
  0029  TFORLOOP  tforloop R5(sBx=-24)   -> 6
  0030  RETURN    return R1..R0
  0031  RETURN    return R0..R-1
; ---------- proto44 [_RemoveLocalConfig] ----------
  ; fn ?  line 755-760 np=2 va=0 ms=7 code=23 consts=12 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='Log'
  ;   K[3]='Info'
  ;   K[4]='[BundleActivityBaseModel] _RemoveLocalConfig  '
  ;   K[5]='tostring'
  ;   K[6]='\n'
  ;   K[7]='debug'
  ;   K[8]='traceback'
  ;   K[9]='_RemoveBundleDBData'
  ;   K[10]='EBundleDBKey'
  ;   K[11]='LockedConfig'
  ;   upvals: _ENV
  ;   locals: self(0-23), groupId(0-23)
  0000  GETTABUP  R2 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R2 = R2[K1('IsTestMode')]
  0002  CALL      R2 = call(R2, 1 args, 0 rets)
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 17
  0005  GETTABUP  R2 = _ENV[K2('Log')]
  0006  GETTABLE  R2 = R2[K3('Info')]
  0007  LOADK     R3 = K4 '[BundleActivityBaseModel] _RemoveLocalConfig  '
  0008  GETTABUP  R4 = _ENV[K5('tostring')]
  0009  MOVE      R5 = R0
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  LOADK     R5 = K6 '\n'
  0012  GETTABUP  R6 = _ENV[K7('debug')]
  0013  GETTABLE  R6 = R6[K8('traceback')]
  0014  CALL      R6 = call(R6, 1 args, 0 rets)
  0015  CONCAT    R3 = concat(R3..R3)
  0016  CALL      R2 = call(R2, 0 args, 1 rets)
  0017  SELF      R3 = R0[K9('_RemoveBundleDBData')] (self)
  0018  MOVE      R4 = R0
  0019  GETTABUP  R5 = _ENV[K10('EBundleDBKey')]
  0020  GETTABLE  R5 = R5[K11('LockedConfig')]
  0021  CALL      R2 = call(R2, 0 args, 3 rets)
  0022  RETURN    return R0..R-1
; ---------- proto45 [_AddLocalConfig] ----------
  ; fn ?  line 762-764 np=3 va=0 ms=11 code=15 consts=9 upvals=1 protos=0
  ;   K[0]='_SetBundleDBData'
  ;   K[1]='EBundleDBKey'
  ;   K[2]='LockedConfig'
  ;   K[3]='StringUtil'
  ;   K[4]='Replace'
  ;   K[5]='json'
  ;   K[6]='encode'
  ;   K[7]=','
  ;   K[8]='@'
  ;   upvals: _ENV
  ;   locals: self(0-15), groupId(0-15), config(0-15)
  0000  SELF      R4 = R0[K0('_SetBundleDBData')] (self)
  0001  MOVE      R5 = R0
  0002  GETTABUP  R6 = _ENV[K1('EBundleDBKey')]
  0003  GETTABLE  R6 = R6[K2('LockedConfig')]
  0004  GETTABUP  R7 = _ENV[K3('StringUtil')]
  0005  GETTABLE  R7 = R7[K4('Replace')]
  0006  GETTABUP  R8 = _ENV[K5('json')]
  0007  GETTABLE  R8 = R8[K6('encode')]
  0008  MOVE      R9 = R0
  0009  CALL      R8 = call(R8, 1 args, 1 rets)
  0010  LOADK     R9 = K7 ','
  0011  LOADK     R10 = K8 '@'
  0012  CALL      R7 = call(R7, -1 args, 3 rets)
  0013  CALL      R3 = call(R3, 0 args, -1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto46 [_HasLocalConfig] ----------
  ; fn ?  line 766-768 np=2 va=0 ms=6 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='_GetBundleDBData'
  ;   K[1]='EBundleDBKey'
  ;   K[2]='LockedConfig'
  ;   K[3]=nil
  ;   upvals: _ENV
  ;   locals: self(0-11), groupId(0-11)
  0000  SELF      R3 = R0[K0('_GetBundleDBData')] (self)
  0001  MOVE      R4 = R0
  0002  GETTABUP  R5 = _ENV[K1('EBundleDBKey')]
  0003  GETTABLE  R5 = R5[K2('LockedConfig')]
  0004  CALL      R2 = call(R2, 1 args, 3 rets)
  0005  EQ        if R0 eq K3(nil)   -> -129782
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R2 = false
  0008  LOADBOOL  R2 = true
  0009  RETURN    return R2..R1
  0010  RETURN    return R0..R-1
; ---------- proto47 [_GetBundleDBData] ----------
  ; fn ?  line 776-785 np=3 va=0 ms=8 code=12 consts=4 upvals=1 protos=0
  ;   K[0]='m_mapGroupId2DBTable'
  ;   K[1]=nil
  ;   K[2]='GetValue'
  ;   K[3]='BundleColumnValue'
  ;   upvals: _ENV
  ;   locals: self(0-12), groupId(0-12), dbKey(0-12), dbTable(2-12)
  0000  GETTABLE  R3 = R0[K0('m_mapGroupId2DBTable')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129275
  0003  JMP       (jump)   -> 6
  0004  LOADNIL   R4..R4 = nil
  0005  RETURN    return R4..R3
  0006  SELF      R5 = R3[K2('GetValue')] (self)
  0007  MOVE      R6 = R0
  0008  GETTABUP  R7 = _ENV[K3('BundleColumnValue')]
  0009  TAILCALL  tailcall(R4, 0)
  0010  RETURN    return R4..R3
  0011  RETURN    return R0..R-1
; ---------- proto48 [_SetBundleDBData] ----------
  ; fn ?  line 787-797 np=4 va=0 ms=10 code=18 consts=7 upvals=1 protos=0
  ;   K[0]='m_mapGroupId2DBTable'
  ;   K[1]=nil
  ;   K[2]='VirtualDBTable'
  ;   K[3]='Create'
  ;   K[4]='m_dbTable'
  ;   K[5]='Set'
  ;   K[6]='BundleColumnValue'
  ;   upvals: _ENV
  ;   locals: self(0-18), groupId(0-18), dbKey(0-18), value(0-18), dbTable(2-18)
  0000  GETTABLE  R4 = R0[K0('m_mapGroupId2DBTable')]
  0001  GETTABLE  R4 = R4[R1]
  0002  EQ        if R0 eq K1(nil)   -> -128763
  0003  JMP       (jump)   -> 12
  0004  GETTABUP  R5 = _ENV[K2('VirtualDBTable')]
  0005  GETTABLE  R5 = R5[K3('Create')]
  0006  GETTABLE  R6 = R0[K4('m_dbTable')]
  0007  MOVE      R7 = R0
  0008  CALL      R5 = call(R5, 1 args, 2 rets)
  0009  MOVE      R4 = R0
  0010  GETTABLE  R5 = R0[K0('m_mapGroupId2DBTable')]
  0011  SETTABLE  R5[R1] = R4
  0012  SELF      R6 = R4[K5('Set')] (self)
  0013  MOVE      R7 = R0
  0014  GETTABUP  R8 = _ENV[K6('BundleColumnValue')]
  0015  MOVE      R9 = R0
  0016  CALL      R5 = call(R5, 0 args, 4 rets)
  0017  RETURN    return R0..R-1
; ---------- proto49 [_RemoveBundleDBData] ----------
  ; fn ?  line 799-805 np=3 va=0 ms=7 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapGroupId2DBTable'
  ;   K[1]=nil
  ;   K[2]='Remove'
  ;   locals: self(0-8), groupId(0-8), dbKey(0-8), dbTable(2-8)
  0000  GETTABLE  R3 = R0[K0('m_mapGroupId2DBTable')]
  0001  GETTABLE  R3 = R3[R1]
  0002  EQ        if R1 eq K1(nil)   -> -129275
  0003  JMP       (jump)   -> 7
  0004  SELF      R5 = R3[K2('Remove')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto50 [_DropBundleDBData] ----------
  ; fn ?  line 807-814 np=2 va=0 ms=5 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapGroupId2DBTable'
  ;   K[1]=nil
  ;   K[2]='Drop'
  ;   locals: self(0-9), groupId(0-9), dbTable(2-9)
  0000  GETTABLE  R2 = R0[K0('m_mapGroupId2DBTable')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R1 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 8
  0004  SELF      R4 = R2[K2('Drop')] (self)
  0005  CALL      R3 = call(R3, 0 args, 1 rets)
  0006  GETTABLE  R3 = R0[K0('m_mapGroupId2DBTable')]
  0007  SETTABLE  R3[R1] = K1(nil)
  0008  RETURN    return R0..R-1
