# UI_Window_ItemDetail_ItemDetailPlaceTip_479.luac
; fn @ItemDetailPlaceTip.lua  line 0-0 np=0 va=1 ms=2 code=9 consts=3 upvals=1 protos=1
;   K[0]='ItemDetailPlaceTip'
;   K[1]='__index'
;   K[2]='Init'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ItemDetailPlaceTip')] = R0
0002  GETTABUP  R0 = _ENV[K0('ItemDetailPlaceTip')]
0003  GETTABUP  R1 = _ENV[K0('ItemDetailPlaceTip')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ItemDetailPlaceTip')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-12 np=3 va=0 ms=8 code=22 consts=11 upvals=1 protos=0
  ;   K[0]='EItemPlaceType'
  ;   K[1]='Inventory'
  ;   K[2]='ImageFileConfigName'
  ;   K[3]='game_icon_cabinet'
  ;   K[4]='GM'
  ;   K[5]='ItemDataModel'
  ;   K[6]='GetSpriteName'
  ;   K[7]='GetType'
  ;   K[8]='SpriteUtil'
  ;   K[9]='SetImage'
  ;   K[10]='m_iconImg'
  ;   upvals: _ENV
  ;   locals: self(0-22), ePlaceType(0-22), itemModel(0-22), img(1-22)
  0000  LOADNIL   R3..R3 = nil
  0001  GETTABUP  R4 = _ENV[K0('EItemPlaceType')]
  0002  GETTABLE  R4 = R4[K1('Inventory')]
  0003  EQ        if R0 eq R4   -> -130551
  0004  JMP       (jump)   -> 8
  0005  GETTABUP  R4 = _ENV[K2('ImageFileConfigName')]
  0006  GETTABLE  R3 = R4[K3('game_icon_cabinet')]
  0007  JMP       (jump)   -> 15
  0008  GETTABUP  R4 = _ENV[K4('GM')]
  0009  GETTABLE  R4 = R4[K5('ItemDataModel')]
  0010  SELF      R5 = R4[K6('GetSpriteName')] (self)
  0011  SELF      R7 = R2[K7('GetType')] (self)
  0012  CALL      R6 = call(R6, -1 args, 1 rets)
  0013  CALL      R4 = call(R4, 1 args, -1 rets)
  0014  MOVE      R3 = R0
  0015  GETTABUP  R4 = _ENV[K8('SpriteUtil')]
  0016  GETTABLE  R4 = R4[K9('SetImage')]
  0017  GETTABLE  R5 = R0[K10('m_iconImg')]
  0018  MOVE      R6 = R0
  0019  LOADBOOL  R7 = false
  0020  CALL      R4 = call(R4, 0 args, 3 rets)
  0021  RETURN    return R0..R-1
