# UI_Window_Notice_NoticeButton_672.luac
; fn @NoticeButton.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=8 upvals=1 protos=4
;   K[0]='NoticeButton'
;   K[1]='setmetatable'
;   K[2]='HudGeneralButton'
;   K[3]='__index'
;   K[4]='Awake'
;   K[5]='UpdatePerSecond'
;   K[6]='_UpdateExclamation'
;   K[7]='OnClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('HudGeneralButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('NoticeButton')] = R0
0005  GETTABUP  R0 = _ENV[K0('NoticeButton')]
0006  GETTABUP  R1 = _ENV[K0('NoticeButton')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('NoticeButton')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Awake')] = R1
0011  GETTABUP  R0 = _ENV[K0('NoticeButton')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('UpdatePerSecond')] = R1
0014  GETTABUP  R0 = _ENV[K0('NoticeButton')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('_UpdateExclamation')] = R1
0017  GETTABUP  R0 = _ENV[K0('NoticeButton')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnClicked')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 5-10 np=1 va=0 ms=5 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='HudGeneralButton'
  ;   K[1]='Awake'
  ;   K[2]='UpdatePerSecond'
  ;   K[3]='EventDispatcher'
  ;   K[4]='AddListener'
  ;   K[5]='EEventType'
  ;   K[6]='UpdateNotice'
  ;   K[7]='_UpdateExclamation'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('HudGeneralButton')]
  0001  GETTABLE  R1 = R1[K1('Awake')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('UpdatePerSecond')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0007  GETTABLE  R1 = R1[K4('AddListener')]
  0008  GETTABUP  R2 = _ENV[K5('EEventType')]
  0009  GETTABLE  R2 = R2[K6('UpdateNotice')]
  0010  MOVE      R3 = R0
  0011  GETTABLE  R4 = R0[K7('_UpdateExclamation')]
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto1 [UpdatePerSecond] ----------
  ; fn ?  line 12-14 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_UpdateExclamation'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_UpdateExclamation')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto2 [_UpdateExclamation] ----------
  ; fn ?  line 16-19 np=1 va=0 ms=5 code=9 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='NoticeModel'
  ;   K[2]='HasUnreadSystemNotice'
  ;   K[3]='m_exclamationGo'
  ;   K[4]='SetActive'
  ;   upvals: _ENV
  ;   locals: self(0-9), hasUnreadNotice(4-9)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('NoticeModel')]
  0002  SELF      R2 = R1[K2('HasUnreadSystemNotice')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABLE  R2 = R0[K3('m_exclamationGo')]
  0005  SELF      R3 = R2[K4('SetActive')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto3 [OnClicked] ----------
  ; fn ?  line 21-25 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='NoticeModel'
  ;   K[2]='CheckNewNotice'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('NoticeModel')]
  0002  SELF      R2 = R1[K2('CheckNewNotice')] (self)
  0003  CLOSURE   R3 = closure proto0
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 22-24 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='OpenView'
    ;   K[3]='UIPrefabConfigName'
    ;   K[4]='NoticeWindow'
    ;   upvals: _ENV
    ;   locals: success(0-7)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('OpenView')] (self)
    0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
    0004  GETTABLE  R3 = R3[K4('NoticeWindow')]
    0005  CALL      R1 = call(R1, 0 args, 2 rets)
    0006  RETURN    return R0..R-1
