# Model_Shop_ShopItemDBManager_98.luac
; fn @ShopItemDBManager.lua  line 0-0 np=0 va=1 ms=5 code=42 consts=16 upvals=1 protos=11
;   K[0]='ShopItemDBManager'
;   K[1]='__index'
;   K[2]='itemCode'
;   K[3]='leftCount'
;   K[4]='costCount'
;   K[5]='Init'
;   K[6]='UpdateShopItemIdMap'
;   K[7]='HasShopItems'
;   K[8]='GetShopItemData'
;   K[9]='GetShopItemIds'
;   K[10]='IsItemInStock'
;   K[11]='GetShopItemDatas'
;   K[12]='RemoveShopItemDatas'
;   K[13]='AddShopItemDatas'
;   K[14]='CostLeftCount'
;   K[15]='GetData'
;   upvals: _ENV
;   locals: DBItemColumnItemCode(6-42), DBItemColumnLeftCount(7-42), DBItemColumnCostCount(8-42)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ShopItemDBManager')] = R0
0002  GETTABUP  R0 = _ENV[K0('ShopItemDBManager')]
0003  GETTABUP  R1 = _ENV[K0('ShopItemDBManager')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  LOADK     R0 = K2 'itemCode'
0006  LOADK     R1 = K3 'leftCount'
0007  LOADK     R2 = K4 'costCount'
0008  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0009  CLOSURE   R4 = closure proto0
0010  SETTABLE  R3[K5('Init')] = R4
0011  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0012  CLOSURE   R4 = closure proto1
0013  SETTABLE  R3[K6('UpdateShopItemIdMap')] = R4
0014  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0015  CLOSURE   R4 = closure proto2
0016  SETTABLE  R3[K7('HasShopItems')] = R4
0017  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0018  CLOSURE   R4 = closure proto3
0019  SETTABLE  R3[K8('GetShopItemData')] = R4
0020  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0021  CLOSURE   R4 = closure proto4
0022  SETTABLE  R3[K9('GetShopItemIds')] = R4
0023  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0024  CLOSURE   R4 = closure proto5
0025  SETTABLE  R3[K10('IsItemInStock')] = R4
0026  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0027  CLOSURE   R4 = closure proto6
0028  SETTABLE  R3[K11('GetShopItemDatas')] = R4
0029  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0030  CLOSURE   R4 = closure proto7
0031  SETTABLE  R3[K12('RemoveShopItemDatas')] = R4
0032  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0033  CLOSURE   R4 = closure proto8
0034  SETTABLE  R3[K13('AddShopItemDatas')] = R4
0035  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0036  CLOSURE   R4 = closure proto9
0037  SETTABLE  R3[K14('CostLeftCount')] = R4
0038  GETTABUP  R3 = _ENV[K0('ShopItemDBManager')]
0039  CLOSURE   R4 = closure proto10
0040  SETTABLE  R3[K15('GetData')] = R4
0041  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-13 np=1 va=0 ms=4 code=14 consts=10 upvals=1 protos=0
  ;   K[0]='m_itemDB'
  ;   K[1]='GM'
  ;   K[2]='DBTableManager'
  ;   K[3]='GetTable'
  ;   K[4]='EDBTableConfigs'
  ;   K[5]='ShopItem'
  ;   K[6]='m_idGenerator'
  ;   K[7]='DBIdGenerator'
  ;   K[8]='Create'
  ;   K[9]='UpdateShopItemIdMap'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K1('GM')]
  0001  GETTABLE  R1 = R1[K2('DBTableManager')]
  0002  SELF      R2 = R1[K3('GetTable')] (self)
  0003  GETTABUP  R3 = _ENV[K4('EDBTableConfigs')]
  0004  GETTABLE  R3 = R3[K5('ShopItem')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_itemDB')] = R1
  0007  GETTABUP  R1 = _ENV[K7('DBIdGenerator')]
  0008  GETTABLE  R1 = R1[K8('Create')]
  0009  CALL      R1 = call(R1, 1 args, 0 rets)
  0010  SETTABLE  R0[K6('m_idGenerator')] = R1
  0011  SELF      R2 = R0[K9('UpdateShopItemIdMap')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto1 [UpdateShopItemIdMap] ----------
  ; fn ?  line 15-40 np=1 va=0 ms=18 code=73 consts=17 upvals=3 protos=0
  ;   K[0]='m_mapShopItemIds'
  ;   K[1]='m_mapShopItemCode2Id'
  ;   K[2]='GameConfig'
  ;   K[3]='IsTestMode'
  ;   K[4]='m_itemDB'
  ;   K[5]='GetValues'
  ;   K[6]='pairs'
  ;   K[7]='shopType'
  ;   K[8]=nil
  ;   K[9]=1
  ;   K[10]='itemCodeStr'
  ;   K[11]='Log'
  ;   K[12]='Error'
  ;   K[13]='商店数据有重复棋子：'
  ;   K[14]=', '
  ;   K[15]='table'
  ;   K[16]='sort'
  ;   upvals: _ENV, DBItemColumnItemCode, DBItemColumnLeftCount
  ;   locals: self(0-73), isTestMode(7-73), itemDatas(10-73), (for generator)(13-62), (for state)(13-62), (for control)(13-62), id(14-60), data(14-60), shopType(15-60), itemCode(37-60), leftCount(39-60), (for generator)(65-72), (for state)(65-72), (for control)(65-72), _(66-70), arrIds(66-70)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_mapShopItemIds')] = R1
  0002  NEWTABLE  R1 = {} (0 items)
  0003  SETTABLE  R0[K1('m_mapShopItemCode2Id')] = R1
  0004  GETTABUP  R1 = _ENV[K2('GameConfig')]
  0005  GETTABLE  R1 = R1[K3('IsTestMode')]
  0006  CALL      R1 = call(R1, 1 args, 0 rets)
  0007  GETTABLE  R2 = R0[K4('m_itemDB')]
  0008  SELF      R3 = R2[K5('GetValues')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABUP  R3 = _ENV[K6('pairs')]
  0011  MOVE      R4 = R0
  0012  CALL      R3 = call(R3, 3 args, 1 rets)
  0013  JMP       (jump)   -> 60
  0014  GETTABLE  R8 = R7[K7('shopType')]
  0015  GETTABLE  R9 = R0[K0('m_mapShopItemIds')]
  0016  GETTABLE  R9 = R9[R8]
  0017  EQ        if R0 eq K8(nil)   -> -126181
  0018  JMP       (jump)   -> 25
  0019  GETTABLE  R9 = R0[K0('m_mapShopItemIds')]
  0020  NEWTABLE  R10 = {} (0 items)
  0021  SETTABLE  R9[R8] = R10
  0022  GETTABLE  R9 = R0[K1('m_mapShopItemCode2Id')]
  0023  NEWTABLE  R10 = {} (0 items)
  0024  SETTABLE  R9[R8] = R10
  0025  GETTABLE  R9 = R0[K0('m_mapShopItemIds')]
  0026  GETTABLE  R9 = R9[R8]
  0027  GETTABLE  R10 = R0[K0('m_mapShopItemIds')]
  0028  GETTABLE  R10 = R10[R8]
  0029  LEN       R10 = len R0
  0030  ADD       R10 = K9(1) add R10
  0031  SETTABLE  R9[R10] = R6
  0032  GETUPVAL  R9 = _ENV
  0033  GETTABLE  R9 = R7[R9]
  0034  TEST      if not R9 then   -> -131035
  0035  JMP       (jump)   -> 37
  0036  GETTABLE  R9 = R7[K10('itemCodeStr')]
  0037  GETUPVAL  R10 = _ENV
  0038  GETTABLE  R10 = R7[R10]
  0039  GETTABLE  R11 = R0[K1('m_mapShopItemCode2Id')]
  0040  GETTABLE  R11 = R11[R8]
  0041  GETTABLE  R11 = R11[R9]
  0042  TEST      if not R11 then   -> -131028
  0043  JMP       (jump)   -> 57
  0044  TEST      if not R1 then   -> -131026
  0045  JMP       (jump)   -> 57
  0046  GETTABUP  R11 = _ENV[K11('Log')]
  0047  GETTABLE  R11 = R11[K12('Error')]
  0048  LOADK     R12 = K13 '商店数据有重复棋子：'
  0049  MOVE      R13 = R0
  0050  LOADK     R14 = K14 ', '
  0051  MOVE      R15 = R0
  0052  LOADK     R16 = K14 ', '
  0053  MOVE      R17 = R0
  0054  CONCAT    R12 = concat(R12..R12)
  0055  CALL      R11 = call(R11, 0 args, 1 rets)
  0056  JMP       (jump)   -> 60
  0057  GETTABLE  R11 = R0[K1('m_mapShopItemCode2Id')]
  0058  GETTABLE  R11 = R11[R8]
  0059  SETTABLE  R11[R9] = R6
  0060  TFORCALL  tforcall R3
  0061  TFORLOOP  tforloop R5(sBx=-48)   -> 14
  0062  GETTABUP  R3 = _ENV[K6('pairs')]
  0063  GETTABLE  R4 = R0[K0('m_mapShopItemIds')]
  0064  CALL      R3 = call(R3, 3 args, 1 rets)
  0065  JMP       (jump)   -> 70
  0066  GETTABUP  R8 = _ENV[K15('table')]
  0067  GETTABLE  R8 = R8[K16('sort')]
  0068  MOVE      R9 = R0
  0069  CALL      R8 = call(R8, 0 args, 1 rets)
  0070  TFORCALL  tforcall R3
  0071  TFORLOOP  tforloop R5(sBx=-6)   -> 66
  0072  RETURN    return R0..R-1
; ---------- proto2 [HasShopItems] ----------
  ; fn ?  line 42-44 np=2 va=0 ms=3 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='m_mapShopItemIds'
  ;   K[1]=nil
  ;   K[2]=0
  ;   locals: self(0-13), shopType(0-13)
  0000  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R1 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 9
  0004  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0005  GETTABLE  R2 = R2[R1]
  0006  LEN       R2 = len R0
  0007  LT        if R1 lt R2   -> 1035
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R2 = false
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto3 [GetShopItemData] ----------
  ; fn ?  line 46-48 np=2 va=0 ms=4 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_itemDB'
  ;   K[1]='GetValues'
  ;   locals: self(0-6), itemId(0-6)
  0000  GETTABLE  R2 = R0[K0('m_itemDB')]
  0001  SELF      R3 = R2[K1('GetValues')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R2 = R2[R1]
  0004  RETURN    return R2..R1
  0005  RETURN    return R0..R-1
; ---------- proto4 [GetShopItemIds] ----------
  ; fn ?  line 50-52 np=2 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapShopItemIds'
  ;   locals: self(0-4), shopType(0-4)
  0000  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto5 [IsItemInStock] ----------
  ; fn ?  line 54-71 np=3 va=0 ms=9 code=28 consts=3 upvals=2 protos=0
  ;   K[0]='m_mapShopItemCode2Id'
  ;   K[1]='GetShopItemData'
  ;   K[2]=0
  ;   upvals: DBItemColumnLeftCount, DBItemColumnCostCount
  ;   locals: self(0-28), shopType(0-28), itemCode(0-28), mapShopItemCode2Id(2-28), itemId(5-28), shopData(12-28)
  0000  GETTABLE  R3 = R0[K0('m_mapShopItemCode2Id')]
  0001  GETTABLE  R3 = R3[R1]
  0002  TESTSET   if R0 then R4   -> -129532
  0003  JMP       (jump)   -> 5
  0004  GETTABLE  R4 = R3[R2]
  0005  TEST      if not R4 then   -> -131064
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R5 = false
  0008  RETURN    return R5..R4
  0009  SELF      R6 = R0[K1('GetShopItemData')] (self)
  0010  MOVE      R7 = R0
  0011  CALL      R5 = call(R5, 1 args, 2 rets)
  0012  TEST      if not R5 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R6 = false
  0015  RETURN    return R6..R5
  0016  GETUPVAL  R6 = DBItemColumnLeftCount
  0017  GETTABLE  R6 = R5[R6]
  0018  LE        if R0 le K2(0)   -> -127722
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R6 = false
  0021  RETURN    return R6..R5
  0022  LOADBOOL  R6 = true
  0023  MOVE      R7 = R0
  0024  GETUPVAL  R8 = DBItemColumnLeftCount
  0025  GETTABLE  R8 = R5[R8]
  0026  RETURN    return R6..R5
  0027  RETURN    return R0..R-1
; ---------- proto6 [GetShopItemDatas] ----------
  ; fn ?  line 73-84 np=2 va=0 ms=13 code=22 consts=5 upvals=1 protos=0
  ;   K[0]='GetShopItemIds'
  ;   K[1]=nil
  ;   K[2]='ipairs'
  ;   K[3]=1
  ;   K[4]='GetShopItemData'
  ;   upvals: _ENV
  ;   locals: self(0-22), shopType(0-22), itemIds(3-22), data(8-22), (for generator)(11-20), (for state)(11-20), (for control)(11-20), _(12-18), id(12-18)
  0000  SELF      R3 = R0[K0('GetShopItemIds')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  EQ        if R0 eq K1(nil)   -> -129786
  0004  JMP       (jump)   -> 7
  0005  LOADNIL   R3..R3 = nil
  0006  RETURN    return R3..R2
  0007  NEWTABLE  R3 = {} (0 items)
  0008  GETTABUP  R4 = _ENV[K2('ipairs')]
  0009  MOVE      R5 = R0
  0010  CALL      R4 = call(R4, 3 args, 1 rets)
  0011  JMP       (jump)   -> 18
  0012  LEN       R9 = len R0
  0013  ADD       R9 = K3(1) add R9
  0014  SELF      R11 = R0[K4('GetShopItemData')] (self)
  0015  MOVE      R12 = R0
  0016  CALL      R10 = call(R10, 1 args, 2 rets)
  0017  SETTABLE  R3[R9] = R10
  0018  TFORCALL  tforcall R4
  0019  TFORLOOP  tforloop R6(sBx=-8)   -> 12
  0020  RETURN    return R3..R2
  0021  RETURN    return R0..R-1
; ---------- proto7 [RemoveShopItemDatas] ----------
  ; fn ?  line 86-95 np=2 va=0 ms=10 code=24 consts=7 upvals=0 protos=0
  ;   K[0]='m_mapShopItemIds'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]=1
  ;   K[4]='m_itemDB'
  ;   K[5]='Remove'
  ;   K[6]='UpdateShopItemIdMap'
  ;   locals: self(0-24), shopType(0-24), arrRemove(12-24), (for index)(15-21), (for limit)(15-21), (for step)(15-21), i(16-20)
  0000  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R1 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 9
  0004  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0005  GETTABLE  R2 = R2[R1]
  0006  LEN       R2 = len R0
  0007  EQ        if R0 eq K2(0)   -> -129781
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R2 = R0[K0('m_mapShopItemIds')]
  0011  GETTABLE  R2 = R2[R1]
  0012  LOADK     R3 = K3 1
  0013  LEN       R4 = len R0
  0014  LOADK     R5 = K3 1
  0015  FORPREP   forprep R3(sBx=4)   -> 20
  0016  GETTABLE  R7 = R0[K4('m_itemDB')]
  0017  SELF      R8 = R7[K5('Remove')] (self)
  0018  GETTABLE  R9 = R2[R6]
  0019  CALL      R7 = call(R7, 0 args, 2 rets)
  0020  FORLOOP   forloop R3(sBx=-5)   -> 16
  0021  SELF      R4 = R0[K6('UpdateShopItemIdMap')] (self)
  0022  CALL      R3 = call(R3, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto8 [AddShopItemDatas] ----------
  ; fn ?  line 97-115 np=3 va=0 ms=15 code=35 consts=15 upvals=2 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_idGenerator'
  ;   K[2]='Generate'
  ;   K[3]='shopType'
  ;   K[4]='Table'
  ;   K[5]='ShallowCopy'
  ;   K[6]='redTag'
  ;   K[7]=nil
  ;   K[8]='purpleTag'
  ;   K[9]='GM'
  ;   K[10]='ItemDataModel'
  ;   K[11]='SetLocked'
  ;   K[12]='m_itemDB'
  ;   K[13]='BatchSet'
  ;   K[14]='UpdateShopItemIdMap'
  ;   upvals: _ENV, DBItemColumnItemCode
  ;   locals: self(0-35), shopType(0-35), arrItemDatas(0-35), mapAddDatas(1-35), id(2-35), storeData(2-35), (for generator)(5-28), (for state)(5-28), (for control)(5-28), _(6-26), itemData(6-26), itemCode(21-26)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  LOADNIL   R4..R4 = nil
  0002  GETTABUP  R6 = _ENV[K0('ipairs')]
  0003  MOVE      R7 = R0
  0004  CALL      R6 = call(R6, 3 args, 1 rets)
  0005  JMP       (jump)   -> 26
  0006  GETTABLE  R11 = R0[K1('m_idGenerator')]
  0007  SELF      R12 = R11[K2('Generate')] (self)
  0008  CALL      R11 = call(R11, 1 args, 1 rets)
  0009  MOVE      R4 = R0
  0010  SETTABLE  R10[K3('shopType')] = R1
  0011  GETTABUP  R11 = _ENV[K4('Table')]
  0012  GETTABLE  R11 = R11[K5('ShallowCopy')]
  0013  MOVE      R12 = R0
  0014  CALL      R11 = call(R11, 1 args, 1 rets)
  0015  MOVE      R5 = R0
  0016  SETTABLE  R5[K6('redTag')] = K7(nil)
  0017  SETTABLE  R5[K8('purpleTag')] = K7(nil)
  0018  SETTABLE  R3[R4] = R5
  0019  GETUPVAL  R11 = _ENV
  0020  GETTABLE  R11 = R10[R11]
  0021  GETTABUP  R12 = _ENV[K9('GM')]
  0022  GETTABLE  R12 = R12[K10('ItemDataModel')]
  0023  SELF      R13 = R12[K11('SetLocked')] (self)
  0024  MOVE      R14 = R0
  0025  CALL      R12 = call(R12, 0 args, 2 rets)
  0026  TFORCALL  tforcall R6
  0027  TFORLOOP  tforloop R8(sBx=-22)   -> 6
  0028  GETTABLE  R6 = R0[K12('m_itemDB')]
  0029  SELF      R7 = R6[K13('BatchSet')] (self)
  0030  MOVE      R8 = R0
  0031  CALL      R6 = call(R6, 0 args, 2 rets)
  0032  SELF      R7 = R0[K14('UpdateShopItemIdMap')] (self)
  0033  CALL      R6 = call(R6, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto9 [CostLeftCount] ----------
  ; fn ?  line 117-132 np=3 va=0 ms=12 code=46 consts=10 upvals=4 protos=0
  ;   K[0]='m_itemDB'
  ;   K[1]='GetValue'
  ;   K[2]=0
  ;   K[3]='Set'
  ;   K[4]=1
  ;   K[5]='EShopType'
  ;   K[6]='DailyDeals'
  ;   K[7]='GM'
  ;   K[8]='ShopDataModel'
  ;   K[9]='GetNextDailyDealsPrice'
  ;   upvals: DBItemColumnLeftCount, _ENV, DBItemColumnItemCode, DBItemColumnCostCount
  ;   locals: self(0-46), eShopType(0-46), itemId(0-46), leftCount(5-46), itemCode(24-41), currentPrice(29-41), nextPrice(35-41)
  0000  GETTABLE  R3 = R0[K0('m_itemDB')]
  0001  SELF      R4 = R3[K1('GetValue')] (self)
  0002  MOVE      R5 = R0
  0003  GETUPVAL  R6 = DBItemColumnLeftCount
  0004  CALL      R3 = call(R3, 1 args, 3 rets)
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 43
  0007  LT        if R0 lt R3   -> 1036
  0008  JMP       (jump)   -> 43
  0009  GETTABLE  R4 = R0[K0('m_itemDB')]
  0010  SELF      R5 = R4[K3('Set')] (self)
  0011  MOVE      R6 = R0
  0012  GETUPVAL  R7 = DBItemColumnLeftCount
  0013  SUB       R8 = K4(1) sub R3
  0014  CALL      R4 = call(R4, 0 args, 4 rets)
  0015  GETTABUP  R4 = _ENV[K5('EShopType')]
  0016  GETTABLE  R4 = R4[K6('DailyDeals')]
  0017  EQ        if R0 eq R4   -> -130537
  0018  JMP       (jump)   -> 41
  0019  GETTABLE  R4 = R0[K0('m_itemDB')]
  0020  SELF      R5 = R4[K1('GetValue')] (self)
  0021  MOVE      R6 = R0
  0022  GETUPVAL  R7 = DBItemColumnLeftCount
  0023  CALL      R4 = call(R4, 1 args, 3 rets)
  0024  GETTABLE  R5 = R0[K0('m_itemDB')]
  0025  SELF      R6 = R5[K1('GetValue')] (self)
  0026  MOVE      R7 = R0
  0027  GETUPVAL  R8 = DBItemColumnLeftCount
  0028  CALL      R5 = call(R5, 1 args, 3 rets)
  0029  GETTABUP  R6 = _ENV[K7('GM')]
  0030  GETTABLE  R6 = R6[K8('ShopDataModel')]
  0031  SELF      R7 = R6[K9('GetNextDailyDealsPrice')] (self)
  0032  MOVE      R8 = R0
  0033  MOVE      R9 = R0
  0034  CALL      R6 = call(R6, 1 args, 3 rets)
  0035  GETTABLE  R7 = R0[K0('m_itemDB')]
  0036  SELF      R8 = R7[K3('Set')] (self)
  0037  MOVE      R9 = R0
  0038  GETUPVAL  R10 = DBItemColumnLeftCount
  0039  MOVE      R11 = R0
  0040  CALL      R7 = call(R7, 0 args, 4 rets)
  0041  LOADBOOL  R4 = true
  0042  RETURN    return R4..R3
  0043  LOADBOOL  R4 = false
  0044  RETURN    return R4..R3
  0045  RETURN    return R0..R-1
; ---------- proto10 [GetData] ----------
  ; fn ?  line 134-136 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_itemDB'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_itemDB')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
