# UI_UIFramework_TutorialPopupHelper_253.luac
; fn @TutorialPopupHelper.lua  line 0-0 np=0 va=1 ms=4 code=28 consts=16 upvals=1 protos=3
;   K[0]='TutorialPopupHelper'
;   K[1]='setmetatable'
;   K[2]='canPopScene'
;   K[3]='EPopupScene'
;   K[4]='Main'
;   K[5]=true
;   K[6]='Board'
;   K[7]='allowPopWhenHasFlying'
;   K[8]='canIgnorePopup'
;   K[9]=false
;   K[10]='BasePopupHelper'
;   K[11]='__index'
;   K[12]='Create'
;   K[13]='TutorialPopupHelper'
;   K[14]='NeedCheckPopup'
;   K[15]='CheckPopup'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  NEWTABLE  R2 = {} (0 items)
0003  GETTABUP  R3 = _ENV[K3('EPopupScene')]
0004  GETTABLE  R3 = R3[K4('Main')]
0005  SETTABLE  R2[R3] = K5(true)
0006  GETTABUP  R3 = _ENV[K3('EPopupScene')]
0007  GETTABLE  R3 = R3[K6('Board')]
0008  SETTABLE  R2[R3] = K5(true)
0009  SETTABLE  R1[K2('canPopScene')] = R2
0010  SETTABLE  R1[K7('allowPopWhenHasFlying')] = K5(true)
0011  SETTABLE  R1[K8('canIgnorePopup')] = K9(false)
0012  GETTABUP  R2 = _ENV[K10('BasePopupHelper')]
0013  CALL      R0 = call(R0, 1 args, 2 rets)
0014  SETTABUP  _ENV[K0('TutorialPopupHelper')] = R0
0015  GETTABUP  R0 = _ENV[K0('TutorialPopupHelper')]
0016  GETTABUP  R1 = _ENV[K0('TutorialPopupHelper')]
0017  SETTABLE  R0[K11('__index')] = R1
0018  GETTABUP  R0 = _ENV[K0('TutorialPopupHelper')]
0019  CLOSURE   R1 = closure proto0
0020  SETTABLE  R0[K12('Create')] = R1
0021  GETTABUP  R0 = _ENV[K13('TutorialPopupHelper')]
0022  CLOSURE   R1 = closure proto1
0023  SETTABLE  R0[K14('NeedCheckPopup')] = R1
0024  GETTABUP  R0 = _ENV[K13('TutorialPopupHelper')]
0025  CLOSURE   R1 = closure proto2
0026  SETTABLE  R0[K15('CheckPopup')] = R1
0027  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 11-15 np=0 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='TutorialPopupHelper'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: helper(4-8)
  0000  GETTABUP  R0 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R1 = {} (0 items)
  0002  GETTABUP  R2 = _ENV[K1('TutorialPopupHelper')]
  0003  CALL      R0 = call(R0, 1 args, 2 rets)
  0004  SELF      R2 = R0[K2('Init')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
  0007  RETURN    return R0..R-1
; ---------- proto1 [NeedCheckPopup] ----------
  ; fn ?  line 17-19 np=1 va=0 ms=3 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='TutorialModel'
  ;   K[2]='ShouldAutoPopup'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('TutorialModel')]
  0002  SELF      R2 = R1[K2('ShouldAutoPopup')] (self)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto2 [CheckPopup] ----------
  ; fn ?  line 21-25 np=1 va=0 ms=3 code=12 consts=4 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='TutorialModel'
  ;   K[2]='ShouldAutoPopup'
  ;   K[3]='TryAutoPopup'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('TutorialModel')]
  0002  SELF      R2 = R1[K2('ShouldAutoPopup')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  GETTABUP  R1 = _ENV[K0('GM')]
  0007  GETTABLE  R1 = R1[K1('TutorialModel')]
  0008  SELF      R2 = R1[K3('TryAutoPopup')] (self)
  0009  TAILCALL  tailcall(R1, 0)
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
