# UI_Window_OrderGroup_FlambeTimePopupHelper_739.luac
; fn @FlambeTimePopupHelper.lua  line 0-0 np=0 va=1 ms=4 code=33 consts=17 upvals=1 protos=6
;   K[0]='FlambeTimePopupHelper'
;   K[1]='setmetatable'
;   K[2]='canPopScene'
;   K[3]='EPopupScene'
;   K[4]='Board'
;   K[5]=true
;   K[6]='canIgnorePopup'
;   K[7]=false
;   K[8]='BasePopupHelper'
;   K[9]='__index'
;   K[10]='Create'
;   K[11]='FlambeTimePopupHelper'
;   K[12]='Init'
;   K[13]='NeedCheckPopup'
;   K[14]='_OnFlambeTimeStartPopup'
;   K[15]='_OnFlambeEndBonusPopup'
;   K[16]='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('Board')]
0005  SETTABLE  R2[R3] = K5(true)
0006  SETTABLE  R1[K2('canPopScene')] = R2
0007  SETTABLE  R1[K6('canIgnorePopup')] = K7(false)
0008  GETTABUP  R2 = _ENV[K8('BasePopupHelper')]
0009  CALL      R0 = call(R0, 1 args, 2 rets)
0010  SETTABUP  _ENV[K0('FlambeTimePopupHelper')] = R0
0011  GETTABUP  R0 = _ENV[K0('FlambeTimePopupHelper')]
0012  GETTABUP  R1 = _ENV[K0('FlambeTimePopupHelper')]
0013  SETTABLE  R0[K9('__index')] = R1
0014  GETTABUP  R0 = _ENV[K0('FlambeTimePopupHelper')]
0015  CLOSURE   R1 = closure proto0
0016  SETTABLE  R0[K10('Create')] = R1
0017  GETTABUP  R0 = _ENV[K11('FlambeTimePopupHelper')]
0018  CLOSURE   R1 = closure proto1
0019  SETTABLE  R0[K12('Init')] = R1
0020  GETTABUP  R0 = _ENV[K11('FlambeTimePopupHelper')]
0021  CLOSURE   R1 = closure proto2
0022  SETTABLE  R0[K13('NeedCheckPopup')] = R1
0023  GETTABUP  R0 = _ENV[K11('FlambeTimePopupHelper')]
0024  CLOSURE   R1 = closure proto3
0025  SETTABLE  R0[K14('_OnFlambeTimeStartPopup')] = R1
0026  GETTABUP  R0 = _ENV[K11('FlambeTimePopupHelper')]
0027  CLOSURE   R1 = closure proto4
0028  SETTABLE  R0[K15('_OnFlambeEndBonusPopup')] = R1
0029  GETTABUP  R0 = _ENV[K11('FlambeTimePopupHelper')]
0030  CLOSURE   R1 = closure proto5
0031  SETTABLE  R0[K16('CheckPopup')] = R1
0032  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 9-13 np=0 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='FlambeTimePopupHelper'
  ;   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('FlambeTimePopupHelper')]
  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 15-19 np=1 va=0 ms=5 code=19 consts=9 upvals=1 protos=0
  ;   K[0]='BasePopupHelper'
  ;   K[1]='Init'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='FlambeTimeStartPopup'
  ;   K[6]='_OnFlambeTimeStartPopup'
  ;   K[7]='FlambeEndBonusPopup'
  ;   K[8]='_OnFlambeEndBonusPopup'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  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  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('AddListener')]
  0006  GETTABUP  R2 = _ENV[K4('EEventType')]
  0007  GETTABLE  R2 = R2[K5('FlambeTimeStartPopup')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K6('_OnFlambeTimeStartPopup')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0012  GETTABLE  R1 = R1[K3('AddListener')]
  0013  GETTABUP  R2 = _ENV[K4('EEventType')]
  0014  GETTABLE  R2 = R2[K7('FlambeEndBonusPopup')]
  0015  MOVE      R3 = R0
  0016  GETTABLE  R4 = R0[K8('_OnFlambeEndBonusPopup')]
  0017  CALL      R1 = call(R1, 0 args, 3 rets)
  0018  RETURN    return R0..R-1
; ---------- proto2 [NeedCheckPopup] ----------
  ; fn ?  line 21-23 np=1 va=0 ms=2 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_bCanPopStart'
  ;   K[1]='m_bCanPopEndBonus'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_bCanPopStart')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  GETTABLE  R1 = R0[K1('m_bCanPopEndBonus')]
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto3 [_OnFlambeTimeStartPopup] ----------
  ; fn ?  line 25-29 np=2 va=0 ms=5 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='FlambeTimeModel'
  ;   K[2]='SetHasPendingStartWindow'
  ;   K[3]='m_bCanPopStart'
  ;   K[4]=true
  ;   K[5]='m_params'
  ;   upvals: _ENV
  ;   locals: self(0-8), params(0-8)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('FlambeTimeModel')]
  0002  SELF      R3 = R2[K2('SetHasPendingStartWindow')] (self)
  0003  LOADBOOL  R4 = true
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  SETTABLE  R0[K3('m_bCanPopStart')] = K4(true)
  0006  SETTABLE  R0[K5('m_params')] = R1
  0007  RETURN    return R0..R-1
; ---------- proto4 [_OnFlambeEndBonusPopup] ----------
  ; fn ?  line 31-33 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bCanPopEndBonus'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bCanPopEndBonus')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto5 [CheckPopup] ----------
  ; fn ?  line 35-50 np=1 va=0 ms=6 code=39 consts=12 upvals=1 protos=0
  ;   K[0]='m_bCanPopStart'
  ;   K[1]=nil
  ;   K[2]='GM'
  ;   K[3]='FlambeTimeModel'
  ;   K[4]='SetHasPendingStartWindow'
  ;   K[5]='m_params'
  ;   K[6]='table'
  ;   K[7]='insert'
  ;   K[8]=1
  ;   K[9]='FlambeBaseWindow'
  ;   K[10]='GetWinName'
  ;   K[11]='m_bCanPopEndBonus'
  ;   upvals: _ENV
  ;   locals: self(0-39), params(13-26), winName(23-26), winName(33-38)
  0000  GETTABLE  R1 = R0[K0('m_bCanPopStart')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 26
  0003  SETTABLE  R0[K0('m_bCanPopStart')] = K1(nil)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('FlambeTimeModel')]
  0006  SELF      R2 = R1[K4('SetHasPendingStartWindow')] (self)
  0007  LOADBOOL  R3 = false
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABLE  R1 = R0[K5('m_params')]
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  NEWTABLE  R1 = {} (0 items)
  0013  SETTABLE  R0[K5('m_params')] = K1(nil)
  0014  GETTABUP  R2 = _ENV[K6('table')]
  0015  GETTABLE  R2 = R2[K7('insert')]
  0016  MOVE      R3 = R0
  0017  LOADK     R4 = K8 1
  0018  LOADBOOL  R5 = true
  0019  CALL      R2 = call(R2, 0 args, 3 rets)
  0020  GETTABUP  R2 = _ENV[K9('FlambeBaseWindow')]
  0021  GETTABLE  R2 = R2[K10('GetWinName')]
  0022  CALL      R2 = call(R2, 1 args, 0 rets)
  0023  MOVE      R3 = R0
  0024  MOVE      R4 = R0
  0025  RETURN    return R3..R2
  0026  GETTABLE  R1 = R0[K11('m_bCanPopEndBonus')]
  0027  TEST      if not R1 then   -> -131043
  0028  JMP       (jump)   -> 38
  0029  SETTABLE  R0[K11('m_bCanPopEndBonus')] = K1(nil)
  0030  GETTABUP  R1 = _ENV[K9('FlambeBaseWindow')]
  0031  GETTABLE  R1 = R1[K10('GetWinName')]
  0032  CALL      R1 = call(R1, 1 args, 0 rets)
  0033  MOVE      R2 = R0
  0034  NEWTABLE  R3 = {} (1 items)
  0035  LOADBOOL  R4 = false
  0036  SETLIST   setlist R3[B=1,C=1]
  0037  RETURN    return R2..R1
  0038  RETURN    return R0..R-1
