# UI_Window_ItemDetail_ItemDetailNumTip_481.luac
; fn @ItemDetailNumTip.lua  line 0-0 np=0 va=1 ms=2 code=12 consts=4 upvals=1 protos=2
;   K[0]='ItemDetailNumTip'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnClicked'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ItemDetailNumTip')] = R0
0002  GETTABUP  R0 = _ENV[K0('ItemDetailNumTip')]
0003  GETTABUP  R1 = _ENV[K0('ItemDetailNumTip')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('ItemDetailNumTip')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('ItemDetailNumTip')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnClicked')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-11 np=4 va=0 ms=6 code=7 consts=5 upvals=0 protos=0
  ;   K[0]='m_boardView'
  ;   K[1]='m_itemsArray'
  ;   K[2]='m_callback'
  ;   K[3]='m_numText'
  ;   K[4]='text'
  ;   locals: self(0-7), boardView(0-7), itemsArray(0-7), callback(0-7)
  0000  SETTABLE  R0[K0('m_boardView')] = R1
  0001  SETTABLE  R0[K1('m_itemsArray')] = R2
  0002  SETTABLE  R0[K2('m_callback')] = R3
  0003  GETTABLE  R4 = R0[K3('m_numText')]
  0004  LEN       R5 = len R0
  0005  SETTABLE  R4[K4('text')] = R5
  0006  RETURN    return R0..R-1
; ---------- proto1 [OnClicked] ----------
  ; fn ?  line 13-26 np=1 va=0 ms=11 code=20 consts=7 upvals=1 protos=0
  ;   K[0]='m_callback'
  ;   K[1]='m_boardView'
  ;   K[2]='ipairs'
  ;   K[3]='m_itemsArray'
  ;   K[4]='GetItemView'
  ;   K[5]='PlayTapAnimation'
  ;   K[6]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-20), boardView(3-20), itemView(4-20), (for generator)(7-19), (for state)(7-19), (for control)(7-19), _(8-17), itemModel(8-17)
  0000  GETTABLE  R1 = R0[K0('m_callback')]
  0001  CALL      R1 = call(R1, 0 args, 0 rets)
  0002  GETTABLE  R1 = R0[K1('m_boardView')]
  0003  LOADNIL   R2..R2 = nil
  0004  GETTABUP  R3 = _ENV[K2('ipairs')]
  0005  GETTABLE  R4 = R0[K3('m_itemsArray')]
  0006  CALL      R3 = call(R3, 3 args, 1 rets)
  0007  JMP       (jump)   -> 17
  0008  SELF      R9 = R1[K4('GetItemView')] (self)
  0009  MOVE      R10 = R0
  0010  CALL      R8 = call(R8, 1 args, 2 rets)
  0011  MOVE      R2 = R0
  0012  TEST      if not R2 then   -> -131058
  0013  JMP       (jump)   -> 17
  0014  SELF      R9 = R2[K5('PlayTapAnimation')] (self)
  0015  LOADK     R10 = K6 0.2
  0016  CALL      R8 = call(R8, 0 args, 2 rets)
  0017  TFORCALL  tforcall R3
  0018  TFORLOOP  tforloop R5(sBx=-11)   -> 8
  0019  RETURN    return R0..R-1
