# UI_Window_Bundle_BundlePopupHelper_513.luac
; fn @BundlePopupHelper.lua  line 0-0 np=0 va=1 ms=4 code=53 consts=22 upvals=1 protos=12
;   K[0]='BundlePopupHelper'
;   K[1]='setmetatable'
;   K[2]='canPopScene'
;   K[3]='EPopupScene'
;   K[4]='Board'
;   K[5]=true
;   K[6]='Main'
;   K[7]='BasePopupHelper'
;   K[8]='__index'
;   K[9]='Create'
;   K[10]='BundlePopupHelper'
;   K[11]='Init'
;   K[12]='NeedCheckPopup'
;   K[13]='_AddWindowToPopupChain'
;   K[14]='_RemoveWindowFromPopupChain'
;   K[15]='_OnViewOpen'
;   K[16]='CheckPopup'
;   K[17]='IsViewInChain'
;   K[18]='IsViewExisting'
;   K[19]='RemoveWindowFromPopupChain'
;   K[20]='AddWindowToPopupChain'
;   K[21]='AddWindowToPopupChainWithoutRepeat'
;   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('Board')]
0005  SETTABLE  R2[R3] = K5(true)
0006  GETTABUP  R3 = _ENV[K3('EPopupScene')]
0007  GETTABLE  R3 = R3[K6('Main')]
0008  SETTABLE  R2[R3] = K5(true)
0009  SETTABLE  R1[K2('canPopScene')] = R2
0010  GETTABUP  R2 = _ENV[K7('BasePopupHelper')]
0011  CALL      R0 = call(R0, 1 args, 2 rets)
0012  SETTABUP  _ENV[K0('BundlePopupHelper')] = R0
0013  GETTABUP  R0 = _ENV[K0('BundlePopupHelper')]
0014  GETTABUP  R1 = _ENV[K0('BundlePopupHelper')]
0015  SETTABLE  R0[K8('__index')] = R1
0016  GETTABUP  R0 = _ENV[K0('BundlePopupHelper')]
0017  CLOSURE   R1 = closure proto0
0018  SETTABLE  R0[K9('Create')] = R1
0019  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0020  CLOSURE   R1 = closure proto1
0021  SETTABLE  R0[K11('Init')] = R1
0022  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0023  CLOSURE   R1 = closure proto2
0024  SETTABLE  R0[K12('NeedCheckPopup')] = R1
0025  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0026  CLOSURE   R1 = closure proto3
0027  SETTABLE  R0[K13('_AddWindowToPopupChain')] = R1
0028  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0029  CLOSURE   R1 = closure proto4
0030  SETTABLE  R0[K14('_RemoveWindowFromPopupChain')] = R1
0031  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0032  CLOSURE   R1 = closure proto5
0033  SETTABLE  R0[K15('_OnViewOpen')] = R1
0034  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0035  CLOSURE   R1 = closure proto6
0036  SETTABLE  R0[K16('CheckPopup')] = R1
0037  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0038  CLOSURE   R1 = closure proto7
0039  SETTABLE  R0[K17('IsViewInChain')] = R1
0040  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0041  CLOSURE   R1 = closure proto8
0042  SETTABLE  R0[K18('IsViewExisting')] = R1
0043  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0044  CLOSURE   R1 = closure proto9
0045  SETTABLE  R0[K19('RemoveWindowFromPopupChain')] = R1
0046  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0047  CLOSURE   R1 = closure proto10
0048  SETTABLE  R0[K20('AddWindowToPopupChain')] = R1
0049  GETTABUP  R0 = _ENV[K10('BundlePopupHelper')]
0050  CLOSURE   R1 = closure proto11
0051  SETTABLE  R0[K21('AddWindowToPopupChainWithoutRepeat')] = R1
0052  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]='BundlePopupHelper'
  ;   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('BundlePopupHelper')]
  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 [Init] ----------
  ; fn ?  line 17-23 np=1 va=0 ms=5 code=28 consts=12 upvals=1 protos=0
  ;   K[0]='BasePopupHelper'
  ;   K[1]='Init'
  ;   K[2]='m_waitingPopUpWindow'
  ;   K[3]='EventDispatcher'
  ;   K[4]='AddListener'
  ;   K[5]='EEventType'
  ;   K[6]='AddBundleWindowToPopupChain'
  ;   K[7]='_AddWindowToPopupChain'
  ;   K[8]='RemoveBundleWindowFromPopupChain'
  ;   K[9]='_RemoveWindowFromPopupChain'
  ;   K[10]='OpenView'
  ;   K[11]='_OnViewOpen'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  0000  GETTABUP  R1 = _ENV[K0('BasePopupHelper')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  NEWTABLE  R1 = {} (0 items)
  0005  SETTABLE  R0[K2('m_waitingPopUpWindow')] = R1
  0006  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0007  GETTABLE  R1 = R1[K4('AddListener')]
  0008  GETTABUP  R2 = _ENV[K5('EEventType')]
  0009  GETTABLE  R2 = R2[K6('AddBundleWindowToPopupChain')]
  0010  MOVE      R3 = R0
  0011  GETTABLE  R4 = R0[K7('_AddWindowToPopupChain')]
  0012  CALL      R1 = call(R1, 0 args, 3 rets)
  0013  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0014  GETTABLE  R1 = R1[K4('AddListener')]
  0015  GETTABUP  R2 = _ENV[K5('EEventType')]
  0016  GETTABLE  R2 = R2[K8('RemoveBundleWindowFromPopupChain')]
  0017  MOVE      R3 = R0
  0018  GETTABLE  R4 = R0[K9('_RemoveWindowFromPopupChain')]
  0019  CALL      R1 = call(R1, 0 args, 3 rets)
  0020  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0021  GETTABLE  R1 = R1[K4('AddListener')]
  0022  GETTABUP  R2 = _ENV[K5('EEventType')]
  0023  GETTABLE  R2 = R2[K10('OpenView')]
  0024  MOVE      R3 = R0
  0025  GETTABLE  R4 = R0[K11('_OnViewOpen')]
  0026  CALL      R1 = call(R1, 0 args, 3 rets)
  0027  RETURN    return R0..R-1
; ---------- proto2 [NeedCheckPopup] ----------
  ; fn ?  line 25-28 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_waitingPopUpWindow'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_waitingPopUpWindow')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  NOT       R1 = not R0
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto3 [_AddWindowToPopupChain] ----------
  ; fn ?  line 30-53 np=2 va=0 ms=10 code=45 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='notRepeat'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='IsViewExisting'
  ;   K[6]='name'
  ;   K[7]='ipairs'
  ;   K[8]='m_waitingPopUpWindow'
  ;   K[9]='table'
  ;   K[10]='insert'
  ;   upvals: _ENV
  ;   locals: self(0-45), msg(0-45), isRepeatWindow(17-38), (for generator)(20-31), (for state)(20-31), (for control)(20-31), k(21-29), v(21-29)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 44
  0006  GETTABLE  R2 = R1[K2('notRepeat')]
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 39
  0009  GETTABUP  R2 = _ENV[K3('GM')]
  0010  GETTABLE  R2 = R2[K4('UIManager')]
  0011  SELF      R3 = R2[K5('IsViewExisting')] (self)
  0012  GETTABLE  R4 = R1[K6('name')]
  0013  CALL      R2 = call(R2, 1 args, 2 rets)
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 44
  0016  LOADBOOL  R2 = false
  0017  GETTABUP  R3 = _ENV[K7('ipairs')]
  0018  GETTABLE  R4 = R0[K8('m_waitingPopUpWindow')]
  0019  CALL      R3 = call(R3, 3 args, 1 rets)
  0020  JMP       (jump)   -> 29
  0021  GETTABLE  R8 = R7[K6('name')]
  0022  GETTABLE  R9 = R1[K6('name')]
  0023  EQ        if R0 eq R9   -> -126942
  0024  JMP       (jump)   -> 29
  0025  GETTABLE  R8 = R0[K8('m_waitingPopUpWindow')]
  0026  SETTABLE  R8[R6] = R1
  0027  LOADBOOL  R2 = true
  0028  JMP       (jump)   -> 31
  0029  TFORCALL  tforcall R3
  0030  TFORLOOP  tforloop R5(sBx=-10)   -> 21
  0031  TEST      if not R2 then   -> -131038
  0032  JMP       (jump)   -> 44
  0033  GETTABUP  R3 = _ENV[K9('table')]
  0034  GETTABLE  R3 = R3[K10('insert')]
  0035  GETTABLE  R4 = R0[K8('m_waitingPopUpWindow')]
  0036  MOVE      R5 = R0
  0037  CALL      R3 = call(R3, 0 args, 2 rets)
  0038  JMP       (jump)   -> 44
  0039  GETTABUP  R2 = _ENV[K9('table')]
  0040  GETTABLE  R2 = R2[K10('insert')]
  0041  GETTABLE  R3 = R0[K8('m_waitingPopUpWindow')]
  0042  MOVE      R4 = R0
  0043  CALL      R2 = call(R2, 0 args, 2 rets)
  0044  RETURN    return R0..R-1
; ---------- proto4 [_RemoveWindowFromPopupChain] ----------
  ; fn ?  line 55-61 np=2 va=0 ms=9 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='m_waitingPopUpWindow'
  ;   K[1]=1
  ;   K[2]=-1
  ;   K[3]='name'
  ;   K[4]='table'
  ;   K[5]='remove'
  ;   upvals: _ENV
  ;   locals: self(0-18), msg(0-18), (for index)(4-17), (for limit)(4-17), (for step)(4-17), i(5-16)
  0000  GETTABLE  R2 = R0[K0('m_waitingPopUpWindow')]
  0001  LEN       R2 = len R0
  0002  LOADK     R3 = K1 1
  0003  LOADK     R4 = K2 -1
  0004  FORPREP   forprep R2(sBx=11)   -> 16
  0005  GETTABLE  R6 = R0[K0('m_waitingPopUpWindow')]
  0006  GETTABLE  R6 = R6[R5]
  0007  GETTABLE  R6 = R6[K3('name')]
  0008  GETTABLE  R7 = R1[K3('name')]
  0009  EQ        if R0 eq R7   -> -127982
  0010  JMP       (jump)   -> 16
  0011  GETTABUP  R6 = _ENV[K4('table')]
  0012  GETTABLE  R6 = R6[K5('remove')]
  0013  GETTABLE  R7 = R0[K0('m_waitingPopUpWindow')]
  0014  MOVE      R8 = R0
  0015  CALL      R6 = call(R6, 0 args, 2 rets)
  0016  FORLOOP   forloop R2(sBx=-12)   -> 5
  0017  RETURN    return R0..R-1
; ---------- proto5 [_OnViewOpen] ----------
  ; fn ?  line 67-77 np=2 va=0 ms=11 code=27 consts=6 upvals=1 protos=0
  ;   K[0]='name'
  ;   K[1]='ipairs'
  ;   K[2]='m_waitingPopUpWindow'
  ;   K[3]='notRepeat'
  ;   K[4]='table'
  ;   K[5]='remove'
  ;   upvals: _ENV
  ;   locals: self(0-27), msg(0-27), windowName(6-27), (for generator)(11-26), (for state)(11-26), (for control)(11-26), i(12-24), v(12-24)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  GETTABLE  R2 = R1[K0('name')]
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  LOADNIL   R2..R2 = nil
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 26
  0008  GETTABUP  R3 = _ENV[K1('ipairs')]
  0009  GETTABLE  R4 = R0[K2('m_waitingPopUpWindow')]
  0010  CALL      R3 = call(R3, 3 args, 1 rets)
  0011  JMP       (jump)   -> 24
  0012  GETTABLE  R8 = R7[K3('notRepeat')]
  0013  TEST      if not R8 then   -> -131057
  0014  JMP       (jump)   -> 24
  0015  GETTABLE  R8 = R7[K0('name')]
  0016  EQ        if R0 eq R2   -> -126956
  0017  JMP       (jump)   -> 24
  0018  GETTABUP  R8 = _ENV[K4('table')]
  0019  GETTABLE  R8 = R8[K5('remove')]
  0020  GETTABLE  R9 = R0[K2('m_waitingPopUpWindow')]
  0021  MOVE      R10 = R0
  0022  CALL      R8 = call(R8, 0 args, 2 rets)
  0023  JMP       (jump)   -> 26
  0024  TFORCALL  tforcall R3
  0025  TFORLOOP  tforloop R5(sBx=-14)   -> 12
  0026  RETURN    return R0..R-1
; ---------- proto6 [CheckPopup] ----------
  ; fn ?  line 79-90 np=1 va=0 ms=9 code=32 consts=12 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_waitingPopUpWindow'
  ;   K[3]='ipairs'
  ;   K[4]='popScene'
  ;   K[5]='GM'
  ;   K[6]='SceneManager'
  ;   K[7]='GetGameMode'
  ;   K[8]='table'
  ;   K[9]='remove'
  ;   K[10]='name'
  ;   K[11]='args'
  ;   upvals: _ENV
  ;   locals: self(0-32), (for generator)(9-31), (for state)(9-31), (for control)(9-31), i(10-29), v(10-29), toPopWindow(26-29)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_waitingPopUpWindow')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 31
  0006  GETTABUP  R1 = _ENV[K3('ipairs')]
  0007  GETTABLE  R2 = R0[K2('m_waitingPopUpWindow')]
  0008  CALL      R1 = call(R1, 3 args, 1 rets)
  0009  JMP       (jump)   -> 29
  0010  GETTABLE  R6 = R5[K4('popScene')]
  0011  TEST      if not R6 then   -> -131059
  0012  JMP       (jump)   -> 21
  0013  GETTABLE  R6 = R5[K4('popScene')]
  0014  GETTABUP  R7 = _ENV[K5('GM')]
  0015  GETTABLE  R7 = R7[K6('SceneManager')]
  0016  SELF      R8 = R7[K7('GetGameMode')] (self)
  0017  CALL      R7 = call(R7, 1 args, 1 rets)
  0018  EQ        if R1 eq R7   -> -127973
  0019  JMP       (jump)   -> 21
  0020  JMP       (jump)   -> 29
  0021  GETTABUP  R6 = _ENV[K8('table')]
  0022  GETTABLE  R6 = R6[K9('remove')]
  0023  GETTABLE  R7 = R0[K2('m_waitingPopUpWindow')]
  0024  MOVE      R8 = R0
  0025  CALL      R6 = call(R6, 1 args, 2 rets)
  0026  GETTABLE  R7 = R6[K10('name')]
  0027  GETTABLE  R8 = R6[K11('args')]
  0028  RETURN    return R7..R6
  0029  TFORCALL  tforcall R1
  0030  TFORLOOP  tforloop R3(sBx=-21)   -> 10
  0031  RETURN    return R0..R-1
; ---------- proto7 [IsViewInChain] ----------
  ; fn ?  line 92-102 np=2 va=0 ms=8 code=20 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_waitingPopUpWindow'
  ;   K[3]='ipairs'
  ;   K[4]='name'
  ;   upvals: _ENV
  ;   locals: self(0-20), viewName(0-20), (for generator)(9-17), (for state)(9-17), (for control)(9-17), i(10-15), v(10-15)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  GETTABLE  R3 = R0[K2('m_waitingPopUpWindow')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 17
  0006  GETTABUP  R2 = _ENV[K3('ipairs')]
  0007  GETTABLE  R3 = R0[K2('m_waitingPopUpWindow')]
  0008  CALL      R2 = call(R2, 3 args, 1 rets)
  0009  JMP       (jump)   -> 15
  0010  GETTABLE  R7 = R6[K4('name')]
  0011  EQ        if R0 eq R1   -> -127474
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R7 = true
  0014  RETURN    return R7..R6
  0015  TFORCALL  tforcall R2
  0016  TFORLOOP  tforloop R4(sBx=-7)   -> 10
  0017  LOADBOOL  R2 = false
  0018  RETURN    return R2..R1
  0019  RETURN    return R0..R-1
; ---------- proto8 [IsViewExisting] ----------
  ; fn ?  line 104-109 np=1 va=0 ms=7 code=26 consts=11 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='GetOpenedViewByName'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='BaseSceneView'
  ;   K[5]='GetPopupChain'
  ;   K[6]='GetHelper'
  ;   K[7]='EPopupHelper'
  ;   K[8]='Bundle'
  ;   K[9]=nil
  ;   K[10]='IsViewInChain'
  ;   upvals: _ENV
  ;   locals: viewName(0-26), baseSceneView(6-26), popupChain(10-26), bundlePopupHelper(16-26)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('GetOpenedViewByName')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('BaseSceneView')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  TESTSET   if R0 then R2   -> -130552
  0007  JMP       (jump)   -> 10
  0008  SELF      R3 = R1[K5('GetPopupChain')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TESTSET   if R0 then R3   -> -130036
  0011  JMP       (jump)   -> 16
  0012  SELF      R4 = R2[K6('GetHelper')] (self)
  0013  GETTABUP  R5 = _ENV[K7('EPopupHelper')]
  0014  GETTABLE  R5 = R5[K8('Bundle')]
  0015  CALL      R3 = call(R3, 1 args, 2 rets)
  0016  EQ        if R1 eq K9(nil)   -> -129253
  0017  JMP       (jump)   -> 22
  0018  SELF      R5 = R3[K10('IsViewInChain')] (self)
  0019  MOVE      R6 = R0
  0020  CALL      R4 = call(R4, 1 args, 2 rets)
  0021  JMP       (jump)   -> 24
  0022  LOADBOOL  R4 = false
  0023  LOADBOOL  R4 = true
  0024  RETURN    return R4..R3
  0025  RETURN    return R0..R-1
; ---------- proto9 [RemoveWindowFromPopupChain] ----------
  ; fn ?  line 111-113 np=1 va=0 ms=4 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='RemoveBundleWindowFromPopupChain'
  ;   K[4]='name'
  ;   upvals: _ENV
  ;   locals: windowName(0-8)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('RemoveBundleWindowFromPopupChain')]
  0004  NEWTABLE  R3 = {} (0 items)
  0005  SETTABLE  R3[K4('name')] = R0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto10 [AddWindowToPopupChain] ----------
  ; fn ?  line 119-121 np=1 va=1 ms=6 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='AddBundleWindowToPopupChain'
  ;   K[4]='name'
  ;   K[5]='args'
  ;   upvals: _ENV
  ;   locals: windowName(0-12)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('AddBundleWindowToPopupChain')]
  0004  NEWTABLE  R3 = {} (0 items)
  0005  SETTABLE  R3[K4('name')] = R0
  0006  NEWTABLE  R4 = {} (0 items)
  0007  VARARG    R5 = vararg(0)
  0008  SETLIST   setlist R4[B=1,C=0]
  0009  SETTABLE  R3[K5('args')] = R4
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  RETURN    return R0..R-1
; ---------- proto11 [AddWindowToPopupChainWithoutRepeat] ----------
  ; fn ?  line 126-128 np=1 va=1 ms=6 code=13 consts=8 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='AddBundleWindowToPopupChain'
  ;   K[4]='name'
  ;   K[5]='notRepeat'
  ;   K[6]=true
  ;   K[7]='args'
  ;   upvals: _ENV
  ;   locals: windowName(0-13)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('AddBundleWindowToPopupChain')]
  0004  NEWTABLE  R3 = {} (0 items)
  0005  SETTABLE  R3[K4('name')] = R0
  0006  SETTABLE  R3[K5('notRepeat')] = K6(true)
  0007  NEWTABLE  R4 = {} (0 items)
  0008  VARARG    R5 = vararg(0)
  0009  SETLIST   setlist R4[B=1,C=0]
  0010  SETTABLE  R3[K7('args')] = R4
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
