# UI_SubView_TabView_TabButton_342.luac
; fn @TabButton.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='TabButton'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnButtonClicked'
;   K[4]='GetTabKey'
;   K[5]='SetHighlightActive'
;   K[6]='SetTipVisible'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('TabButton')] = R0
0002  GETTABUP  R0 = _ENV[K0('TabButton')]
0003  GETTABUP  R1 = _ENV[K0('TabButton')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('TabButton')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('TabButton')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnButtonClicked')] = R1
0011  GETTABUP  R0 = _ENV[K0('TabButton')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('GetTabKey')] = R1
0014  GETTABUP  R0 = _ENV[K0('TabButton')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('SetHighlightActive')] = R1
0017  GETTABUP  R0 = _ENV[K0('TabButton')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('SetTipVisible')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-7 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_tabView'
  ;   K[1]='SetTipVisible'
  ;   locals: self(0-5), tabView(0-5)
  0000  SETTABLE  R0[K0('m_tabView')] = R1
  0001  SELF      R3 = R0[K1('SetTipVisible')] (self)
  0002  LOADBOOL  R4 = false
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto1 [OnButtonClicked] ----------
  ; fn ?  line 9-11 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_tabView'
  ;   K[1]='OnTabButtonClicked'
  ;   K[2]='m_strKey'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_tabView')]
  0001  SELF      R2 = R1[K1('OnTabButtonClicked')] (self)
  0002  GETTABLE  R3 = R0[K2('m_strKey')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [GetTabKey] ----------
  ; fn ?  line 13-15 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_strKey'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_strKey')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [SetHighlightActive] ----------
  ; fn ?  line 17-20 np=2 va=0 ms=5 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_normalGo'
  ;   K[1]='SetActive'
  ;   K[2]='m_highlightGo'
  ;   locals: self(0-9), active(0-9)
  0000  GETTABLE  R2 = R0[K0('m_normalGo')]
  0001  SELF      R3 = R2[K1('SetActive')] (self)
  0002  NOT       R4 = not R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  GETTABLE  R2 = R0[K2('m_highlightGo')]
  0005  SELF      R3 = R2[K1('SetActive')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto4 [SetTipVisible] ----------
  ; fn ?  line 22-26 np=2 va=0 ms=5 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_tipGo'
  ;   K[1]=nil
  ;   K[2]='SetActive'
  ;   locals: self(0-8), tipVisible(0-8)
  0000  GETTABLE  R2 = R0[K0('m_tipGo')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_tipGo')]
  0004  SELF      R3 = R2[K2('SetActive')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
