# UI_Window_OrderGroup_OrderDayPopupHelper_726.luac
; fn @OrderDayPopupHelper.lua  line 0-0 np=0 va=1 ms=4 code=36 consts=18 upvals=1 protos=6
;   K[0]='OrderDayPopupHelper'
;   K[1]='setmetatable'
;   K[2]='canPopScene'
;   K[3]='EPopupScene'
;   K[4]='Board'
;   K[5]=true
;   K[6]='Main'
;   K[7]='canIgnorePopup'
;   K[8]=false
;   K[9]='BasePopupHelper'
;   K[10]='__index'
;   K[11]='Create'
;   K[12]='OrderDayPopupHelper'
;   K[13]='Init'
;   K[14]='OnDestroy'
;   K[15]='_UpdateState'
;   K[16]='NeedCheckPopup'
;   K[17]='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  GETTABUP  R3 = _ENV[K3('EPopupScene')]
0007  GETTABLE  R3 = R3[K6('Main')]
0008  SETTABLE  R2[R3] = K5(true)
0009  SETTABLE  R1[K2('canPopScene')] = R2
0010  SETTABLE  R1[K7('canIgnorePopup')] = K8(false)
0011  GETTABUP  R2 = _ENV[K9('BasePopupHelper')]
0012  CALL      R0 = call(R0, 1 args, 2 rets)
0013  SETTABUP  _ENV[K0('OrderDayPopupHelper')] = R0
0014  GETTABUP  R0 = _ENV[K0('OrderDayPopupHelper')]
0015  GETTABUP  R1 = _ENV[K0('OrderDayPopupHelper')]
0016  SETTABLE  R0[K10('__index')] = R1
0017  GETTABUP  R0 = _ENV[K0('OrderDayPopupHelper')]
0018  CLOSURE   R1 = closure proto0
0019  SETTABLE  R0[K11('Create')] = R1
0020  GETTABUP  R0 = _ENV[K12('OrderDayPopupHelper')]
0021  CLOSURE   R1 = closure proto1
0022  SETTABLE  R0[K13('Init')] = R1
0023  GETTABUP  R0 = _ENV[K12('OrderDayPopupHelper')]
0024  CLOSURE   R1 = closure proto2
0025  SETTABLE  R0[K14('OnDestroy')] = R1
0026  GETTABUP  R0 = _ENV[K12('OrderDayPopupHelper')]
0027  CLOSURE   R1 = closure proto3
0028  SETTABLE  R0[K15('_UpdateState')] = R1
0029  GETTABUP  R0 = _ENV[K12('OrderDayPopupHelper')]
0030  CLOSURE   R1 = closure proto4
0031  SETTABLE  R0[K16('NeedCheckPopup')] = R1
0032  GETTABUP  R0 = _ENV[K12('OrderDayPopupHelper')]
0033  CLOSURE   R1 = closure proto5
0034  SETTABLE  R0[K17('CheckPopup')] = R1
0035  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 10-14 np=0 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='OrderDayPopupHelper'
  ;   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('OrderDayPopupHelper')]
  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 16-20 np=1 va=0 ms=5 code=12 consts=7 upvals=1 protos=0
  ;   K[0]='BasePopupHelper'
  ;   K[1]='Init'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='NewReleasedOrderGroupUnlocked'
  ;   K[6]='_UpdateState'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  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('NewReleasedOrderGroupUnlocked')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K6('_UpdateState')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 22-24 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [_UpdateState] ----------
  ; fn ?  line 26-28 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_canPopDayWindow'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_canPopDayWindow')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto4 [NeedCheckPopup] ----------
  ; fn ?  line 30-32 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_canPopDayWindow'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_canPopDayWindow')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [CheckPopup] ----------
  ; fn ?  line 34-39 np=1 va=0 ms=4 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_canPopDayWindow'
  ;   K[1]=false
  ;   K[2]='UIPrefabConfigName'
  ;   K[3]='OrderDayWindow'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_canPopDayWindow')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 10
  0003  SETTABLE  R0[K0('m_canPopDayWindow')] = K1(false)
  0004  GETTABUP  R1 = _ENV[K2('UIPrefabConfigName')]
  0005  GETTABLE  R1 = R1[K3('OrderDayWindow')]
  0006  NEWTABLE  R2 = {} (1 items)
  0007  LOADBOOL  R3 = true
  0008  SETLIST   setlist R2[B=1,C=1]
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
