# UI_SubView_DecoratedTitle_359.luac
; fn @DecoratedTitle.lua  line 0-0 np=0 va=1 ms=3 code=10 consts=4 upvals=1 protos=1
;   K[0]='DecoratedTitle'
;   K[1]='__index'
;   K[2]=42
;   K[3]='Start'
;   upvals: _ENV
;   locals: gapWidth(6-10)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('DecoratedTitle')] = R0
0002  GETTABUP  R0 = _ENV[K0('DecoratedTitle')]
0003  GETTABUP  R1 = _ENV[K0('DecoratedTitle')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  LOADK     R0 = K2 42
0006  GETTABUP  R1 = _ENV[K0('DecoratedTitle')]
0007  CLOSURE   R2 = closure proto0
0008  SETTABLE  R1[K3('Start')] = R2
0009  RETURN    return R0..R-1
; ---------- proto0 [Start] ----------
  ; fn ?  line 6-16 np=1 va=0 ms=9 code=40 consts=13 upvals=2 protos=0
  ;   K[0]='m_rootRectTrans'
  ;   K[1]='sizeDelta'
  ;   K[2]='x'
  ;   K[3]='m_text'
  ;   K[4]='preferredWidth'
  ;   K[5]='m_leftRectTrans'
  ;   K[6]='m_rightRectTrans'
  ;   K[7]=2
  ;   K[8]='math'
  ;   K[9]='min'
  ;   K[10]='m_textRectTrans'
  ;   K[11]='Vector2'
  ;   K[12]='y'
  ;   upvals: gapWidth, _ENV
  ;   locals: self(0-40), totalWidth(3-40), textWidth(5-40), decorationWidth(15-40), maxTextWidth(16-40)
  0000  GETTABLE  R1 = R0[K0('m_rootRectTrans')]
  0001  GETTABLE  R1 = R1[K1('sizeDelta')]
  0002  GETTABLE  R1 = R1[K2('x')]
  0003  GETTABLE  R2 = R0[K3('m_text')]
  0004  GETTABLE  R2 = R2[K4('preferredWidth')]
  0005  GETTABLE  R3 = R0[K5('m_leftRectTrans')]
  0006  GETTABLE  R3 = R3[K1('sizeDelta')]
  0007  GETTABLE  R3 = R3[K2('x')]
  0008  GETTABLE  R4 = R0[K6('m_rightRectTrans')]
  0009  GETTABLE  R4 = R4[K1('sizeDelta')]
  0010  GETTABLE  R4 = R4[K2('x')]
  0011  ADD       R3 = R4 add R3
  0012  GETUPVAL  R4 = gapWidth
  0013  MUL       R4 = K7(2) mul R4
  0014  ADD       R3 = R4 add R3
  0015  SUB       R4 = R3 sub R1
  0016  GETTABUP  R5 = _ENV[K8('math')]
  0017  GETTABLE  R5 = R5[K9('min')]
  0018  MOVE      R6 = R0
  0019  MOVE      R7 = R0
  0020  CALL      R5 = call(R5, 1 args, 2 rets)
  0021  MOVE      R2 = R0
  0022  ADD       R1 = R3 add R2
  0023  GETTABLE  R5 = R0[K10('m_textRectTrans')]
  0024  GETTABUP  R6 = _ENV[K11('Vector2')]
  0025  MOVE      R7 = R0
  0026  GETTABLE  R8 = R0[K10('m_textRectTrans')]
  0027  GETTABLE  R8 = R8[K1('sizeDelta')]
  0028  GETTABLE  R8 = R8[K12('y')]
  0029  CALL      R6 = call(R6, 1 args, 2 rets)
  0030  SETTABLE  R5[K1('sizeDelta')] = R6
  0031  GETTABLE  R5 = R0[K0('m_rootRectTrans')]
  0032  GETTABUP  R6 = _ENV[K11('Vector2')]
  0033  MOVE      R7 = R0
  0034  GETTABLE  R8 = R0[K0('m_rootRectTrans')]
  0035  GETTABLE  R8 = R8[K1('sizeDelta')]
  0036  GETTABLE  R8 = R8[K12('y')]
  0037  CALL      R6 = call(R6, 1 args, 2 rets)
  0038  SETTABLE  R5[K1('sizeDelta')] = R6
  0039  RETURN    return R0..R-1
