# UI_Window_Notification_NotificationTutorialWindow_642.luac
; fn @NotificationTutorialWindow.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=8 upvals=1 protos=4
;   K[0]='NotificationTutorialWindow'
;   K[1]='setmetatable'
;   K[2]='BaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='ApplicationWillEnterForeground'
;   K[6]='OnTurnOnButtonClicked'
;   K[7]='OnCloseBtnClick'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('NotificationTutorialWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('NotificationTutorialWindow')]
0006  GETTABUP  R1 = _ENV[K0('NotificationTutorialWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('NotificationTutorialWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('NotificationTutorialWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('ApplicationWillEnterForeground')] = R1
0014  GETTABUP  R0 = _ENV[K0('NotificationTutorialWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnTurnOnButtonClicked')] = R1
0017  GETTABUP  R0 = _ENV[K0('NotificationTutorialWindow')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('OnCloseBtnClick')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-8 np=1 va=0 ms=5 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='EEventType'
  ;   K[3]='ApplicationWillEnterForeground'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('ApplicationWillEnterForeground')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K3('ApplicationWillEnterForeground')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto1 [ApplicationWillEnterForeground] ----------
  ; fn ?  line 10-14 np=1 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='PlatformInterface'
  ;   K[1]='IsNotificationsEnabled'
  ;   K[2]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('PlatformInterface')]
  0001  GETTABLE  R1 = R1[K1('IsNotificationsEnabled')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 7
  0005  SELF      R2 = R0[K2('Close')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto2 [OnTurnOnButtonClicked] ----------
  ; fn ?  line 16-18 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='NotificationModel'
  ;   K[2]='TryOpenNotification'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('NotificationModel')]
  0002  SELF      R2 = R1[K2('TryOpenNotification')] (self)
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto3 [OnCloseBtnClick] ----------
  ; fn ?  line 20-22 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
