# UI_Window_Shop_ShopContainerCreator_491.luac
; fn @ShopContainerCreator.lua  line 0-0 np=0 va=1 ms=2 code=9 consts=3 upvals=1 protos=1
;   K[0]='ShopContainerCreator'
;   K[1]='__index'
;   K[2]='CreateContainer'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ShopContainerCreator')] = R0
0002  GETTABUP  R0 = _ENV[K0('ShopContainerCreator')]
0003  GETTABUP  R1 = _ENV[K0('ShopContainerCreator')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ShopContainerCreator')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('CreateContainer')] = R1
0008  RETURN    return R0..R-1
; ---------- proto0 [CreateContainer] ----------
  ; fn ?  line 4-20 np=2 va=0 ms=7 code=54 consts=20 upvals=1 protos=0
  ;   K[0]='m_transform'
  ;   K[1]=nil
  ;   K[2]='transform'
  ;   K[3]='m_'
  ;   K[4]='GameObject'
  ;   K[5]='Instantiate'
  ;   K[6]='GetLuaTable'
  ;   K[7]='sizeDelta'
  ;   K[8]='Vector2'
  ;   K[9]='rect'
  ;   K[10]='width'
  ;   K[11]='y'
  ;   K[12]='m_tailTrans'
  ;   K[13]='SetAsLastSibling'
  ;   K[14]='GameConfig'
  ;   K[15]='IsTestMode'
  ;   K[16]='Log'
  ;   K[17]='Error'
  ;   K[18]='[ShopContainerCreator] no prefab for type: '
  ;   K[19]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-54), type(0-54), go(21-38)
  0000  GETTABLE  R2 = R0[K0('m_transform')]
  0001  EQ        if R0 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 5
  0003  GETTABLE  R2 = R0[K2('transform')]
  0004  SETTABLE  R0[K0('m_transform')] = R2
  0005  LOADK     R2 = K3 'm_'
  0006  MOVE      R3 = R0
  0007  CONCAT    R2 = concat(R2..R2)
  0008  GETTABLE  R2 = R0[R2]
  0009  EQ        if R1 eq K1(nil)   -> -129780
  0010  JMP       (jump)   -> 38
  0011  GETTABUP  R2 = _ENV[K4('GameObject')]
  0012  GETTABLE  R2 = R2[K5('Instantiate')]
  0013  LOADK     R3 = K3 'm_'
  0014  MOVE      R4 = R0
  0015  CONCAT    R3 = concat(R3..R3)
  0016  GETTABLE  R3 = R0[R3]
  0017  GETTABLE  R4 = R0[K0('m_transform')]
  0018  CALL      R2 = call(R2, 1 args, 2 rets)
  0019  SELF      R3 = R2[K6('GetLuaTable')] (self)
  0020  CALL      R2 = call(R2, 1 args, 1 rets)
  0021  GETTABLE  R3 = R2[K2('transform')]
  0022  GETTABUP  R4 = _ENV[K8('Vector2')]
  0023  GETTABLE  R5 = R0[K0('m_transform')]
  0024  GETTABLE  R5 = R5[K9('rect')]
  0025  GETTABLE  R5 = R5[K10('width')]
  0026  GETTABLE  R6 = R2[K2('transform')]
  0027  GETTABLE  R6 = R6[K7('sizeDelta')]
  0028  GETTABLE  R6 = R6[K11('y')]
  0029  CALL      R4 = call(R4, 1 args, 2 rets)
  0030  SETTABLE  R3[K7('sizeDelta')] = R4
  0031  GETTABLE  R3 = R0[K12('m_tailTrans')]
  0032  TEST      if not R3 then   -> -131038
  0033  JMP       (jump)   -> 37
  0034  GETTABLE  R3 = R0[K12('m_tailTrans')]
  0035  SELF      R4 = R3[K13('SetAsLastSibling')] (self)
  0036  CALL      R3 = call(R3, 0 args, 1 rets)
  0037  RETURN    return R2..R1
  0038  GETTABUP  R2 = _ENV[K14('GameConfig')]
  0039  GETTABLE  R2 = R2[K15('IsTestMode')]
  0040  CALL      R2 = call(R2, 1 args, 0 rets)
  0041  TEST      if not R2 then   -> -131029
  0042  JMP       (jump)   -> 51
  0043  GETTABUP  R2 = _ENV[K16('Log')]
  0044  GETTABLE  R2 = R2[K17('Error')]
  0045  LOADK     R3 = K18 '[ShopContainerCreator] no prefab for type: '
  0046  GETTABUP  R4 = _ENV[K19('tostring')]
  0047  MOVE      R5 = R0
  0048  CALL      R4 = call(R4, 1 args, 1 rets)
  0049  CONCAT    R3 = concat(R3..R3)
  0050  CALL      R2 = call(R2, 0 args, 1 rets)
  0051  LOADNIL   R2..R2 = nil
  0052  RETURN    return R2..R1
  0053  RETURN    return R0..R-1
