# UI_UIFramework_BaseView_240.luac
; fn @BaseView.lua  line 0-0 np=0 va=1 ms=2 code=78 consts=38 upvals=1 protos=16
;   K[0]='EViewType'
;   K[1]='SceneView'
;   K[2]=1
;   K[3]='Window'
;   K[4]=2
;   K[5]='Tutorial'
;   K[6]=3
;   K[7]='Other'
;   K[8]=4
;   K[9]='EViewCloseType'
;   K[10]='Hide'
;   K[11]='Destroy'
;   K[12]='EViewCloseAnimType'
;   K[13]='None'
;   K[14]='Animator'
;   K[15]='BaseView'
;   K[16]='eViewType'
;   K[17]='eCloseType'
;   K[18]='eCloseAnimType'
;   K[19]='canCloseByAndroidBack'
;   K[20]=false
;   K[21]='__index'
;   K[22]='Awake'
;   K[23]='OnDestroy'
;   K[24]='BeforeOpenCheck'
;   K[25]='OnOpenView'
;   K[26]='Init'
;   K[27]='Close'
;   K[28]='OnCloseView'
;   K[29]='OnCloseFinish'
;   K[30]='OnBack'
;   K[31]='_OnBack'
;   K[32]='_Hide'
;   K[33]='Destroy'
;   K[34]='AddEventListener'
;   K[35]='RemoveEventListener'
;   K[36]='SetSortingOrder'
;   K[37]='GetSortingOrder'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('SceneView')] = K2(1)
0002  SETTABLE  R0[K3('Window')] = K4(2)
0003  SETTABLE  R0[K5('Tutorial')] = K6(3)
0004  SETTABLE  R0[K7('Other')] = K8(4)
0005  SETTABUP  _ENV[K0('EViewType')] = R0
0006  NEWTABLE  R0 = {} (0 items)
0007  SETTABLE  R0[K10('Hide')] = K2(1)
0008  SETTABLE  R0[K11('Destroy')] = K4(2)
0009  SETTABUP  _ENV[K9('EViewCloseType')] = R0
0010  NEWTABLE  R0 = {} (0 items)
0011  SETTABLE  R0[K13('None')] = K2(1)
0012  SETTABLE  R0[K14('Animator')] = K4(2)
0013  SETTABUP  _ENV[K12('EViewCloseAnimType')] = R0
0014  NEWTABLE  R0 = {} (0 items)
0015  GETTABUP  R1 = _ENV[K0('EViewType')]
0016  GETTABLE  R1 = R1[K1('SceneView')]
0017  SETTABLE  R0[K16('eViewType')] = R1
0018  GETTABUP  R1 = _ENV[K9('EViewCloseType')]
0019  GETTABLE  R1 = R1[K11('Destroy')]
0020  SETTABLE  R0[K17('eCloseType')] = R1
0021  GETTABUP  R1 = _ENV[K12('EViewCloseAnimType')]
0022  GETTABLE  R1 = R1[K13('None')]
0023  SETTABLE  R0[K18('eCloseAnimType')] = R1
0024  SETTABLE  R0[K19('canCloseByAndroidBack')] = K20(false)
0025  SETTABUP  _ENV[K15('BaseView')] = R0
0026  GETTABUP  R0 = _ENV[K15('BaseView')]
0027  GETTABUP  R1 = _ENV[K15('BaseView')]
0028  SETTABLE  R0[K21('__index')] = R1
0029  GETTABUP  R0 = _ENV[K15('BaseView')]
0030  CLOSURE   R1 = closure proto0
0031  SETTABLE  R0[K22('Awake')] = R1
0032  GETTABUP  R0 = _ENV[K15('BaseView')]
0033  CLOSURE   R1 = closure proto1
0034  SETTABLE  R0[K23('OnDestroy')] = R1
0035  GETTABUP  R0 = _ENV[K15('BaseView')]
0036  CLOSURE   R1 = closure proto2
0037  SETTABLE  R0[K24('BeforeOpenCheck')] = R1
0038  GETTABUP  R0 = _ENV[K15('BaseView')]
0039  CLOSURE   R1 = closure proto3
0040  SETTABLE  R0[K25('OnOpenView')] = R1
0041  GETTABUP  R0 = _ENV[K15('BaseView')]
0042  CLOSURE   R1 = closure proto4
0043  SETTABLE  R0[K26('Init')] = R1
0044  GETTABUP  R0 = _ENV[K15('BaseView')]
0045  CLOSURE   R1 = closure proto5
0046  SETTABLE  R0[K27('Close')] = R1
0047  GETTABUP  R0 = _ENV[K15('BaseView')]
0048  CLOSURE   R1 = closure proto6
0049  SETTABLE  R0[K28('OnCloseView')] = R1
0050  GETTABUP  R0 = _ENV[K15('BaseView')]
0051  CLOSURE   R1 = closure proto7
0052  SETTABLE  R0[K29('OnCloseFinish')] = R1
0053  GETTABUP  R0 = _ENV[K15('BaseView')]
0054  CLOSURE   R1 = closure proto8
0055  SETTABLE  R0[K30('OnBack')] = R1
0056  GETTABUP  R0 = _ENV[K15('BaseView')]
0057  CLOSURE   R1 = closure proto9
0058  SETTABLE  R0[K31('_OnBack')] = R1
0059  GETTABUP  R0 = _ENV[K15('BaseView')]
0060  CLOSURE   R1 = closure proto10
0061  SETTABLE  R0[K32('_Hide')] = R1
0062  GETTABUP  R0 = _ENV[K15('BaseView')]
0063  CLOSURE   R1 = closure proto11
0064  SETTABLE  R0[K33('Destroy')] = R1
0065  GETTABUP  R0 = _ENV[K15('BaseView')]
0066  CLOSURE   R1 = closure proto12
0067  SETTABLE  R0[K34('AddEventListener')] = R1
0068  GETTABUP  R0 = _ENV[K15('BaseView')]
0069  CLOSURE   R1 = closure proto13
0070  SETTABLE  R0[K35('RemoveEventListener')] = R1
0071  GETTABUP  R0 = _ENV[K15('BaseView')]
0072  CLOSURE   R1 = closure proto14
0073  SETTABLE  R0[K36('SetSortingOrder')] = R1
0074  GETTABUP  R0 = _ENV[K15('BaseView')]
0075  CLOSURE   R1 = closure proto15
0076  SETTABLE  R0[K37('GetSortingOrder')] = R1
0077  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 36-37 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 39-43 np=1 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='Scheduler'
  ;   K[1]='UnscheduleTarget'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('Scheduler')]
  0001  GETTABLE  R1 = R1[K1('UnscheduleTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto2 [BeforeOpenCheck] ----------
  ; fn ?  line 46-48 np=1 va=1 ms=2 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3)
  0000  LOADBOOL  R1 = true
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto3 [OnOpenView] ----------
  ; fn ?  line 51-55 np=1 va=1 ms=4 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='m_bClosed'
  ;   K[1]=false
  ;   K[2]='Init'
  ;   K[3]='AddEventListener'
  ;   locals: self(0-7)
  0000  SETTABLE  R0[K0('m_bClosed')] = K1(false)
  0001  SELF      R2 = R0[K2('Init')] (self)
  0002  VARARG    R3 = vararg(0)
  0003  CALL      R1 = call(R1, 0 args, -1 rets)
  0004  SELF      R2 = R0[K3('AddEventListener')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto4 [Init] ----------
  ; fn ?  line 57-58 np=1 va=1 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto5 [Close] ----------
  ; fn ?  line 62-67 np=1 va=0 ms=4 code=10 consts=4 upvals=1 protos=0
  ;   K[0]='m_bClosed'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='CloseView'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_bClosed')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('GM')]
  0005  GETTABLE  R1 = R1[K2('UIManager')]
  0006  SELF      R2 = R1[K3('CloseView')] (self)
  0007  MOVE      R3 = R0
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
; ---------- proto6 [OnCloseView] ----------
  ; fn ?  line 69-83 np=1 va=0 ms=8 code=27 consts=13 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='RemoveEventListener'
  ;   K[4]='m_mapComponents'
  ;   K[5]='pairs'
  ;   K[6]='OnClose'
  ;   K[7]='eCloseAnimType'
  ;   K[8]='EViewCloseAnimType'
  ;   K[9]='None'
  ;   K[10]='OnCloseFinish'
  ;   K[11]='m_bClosed'
  ;   K[12]=true
  ;   upvals: _ENV
  ;   locals: self(0-27), (for generator)(13-18), (for state)(13-18), (for control)(13-18), _(14-16), v(14-16)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('SetEventLock')] (self)
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  SELF      R2 = R0[K3('RemoveEventListener')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  GETTABLE  R1 = R0[K4('m_mapComponents')]
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 18
  0010  GETTABUP  R1 = _ENV[K5('pairs')]
  0011  GETTABLE  R2 = R0[K4('m_mapComponents')]
  0012  CALL      R1 = call(R1, 3 args, 1 rets)
  0013  JMP       (jump)   -> 16
  0014  SELF      R7 = R5[K6('OnClose')] (self)
  0015  CALL      R6 = call(R6, 0 args, 1 rets)
  0016  TFORCALL  tforcall R1
  0017  TFORLOOP  tforloop R3(sBx=-4)   -> 14
  0018  GETTABLE  R1 = R0[K7('eCloseAnimType')]
  0019  GETTABUP  R2 = _ENV[K8('EViewCloseAnimType')]
  0020  GETTABLE  R2 = R2[K9('None')]
  0021  EQ        if R0 eq R2   -> -130535
  0022  JMP       (jump)   -> 25
  0023  SELF      R2 = R0[K10('OnCloseFinish')] (self)
  0024  CALL      R1 = call(R1, 0 args, 1 rets)
  0025  SETTABLE  R0[K11('m_bClosed')] = K12(true)
  0026  RETURN    return R0..R-1
; ---------- proto7 [OnCloseFinish] ----------
  ; fn ?  line 86-96 np=1 va=0 ms=4 code=26 consts=9 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='eCloseType'
  ;   K[4]='EViewCloseType'
  ;   K[5]='Hide'
  ;   K[6]='_Hide'
  ;   K[7]='Destroy'
  ;   K[8]='OnViewCloseFinish'
  ;   upvals: _ENV
  ;   locals: self(0-26)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('SetEventLock')] (self)
  0003  LOADBOOL  R3 = false
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABLE  R1 = R0[K3('eCloseType')]
  0006  GETTABUP  R2 = _ENV[K4('EViewCloseType')]
  0007  GETTABLE  R2 = R2[K5('Hide')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 13
  0010  SELF      R2 = R0[K6('_Hide')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  JMP       (jump)   -> 20
  0013  GETTABLE  R1 = R0[K3('eCloseType')]
  0014  GETTABUP  R2 = _ENV[K4('EViewCloseType')]
  0015  GETTABLE  R2 = R2[K7('Destroy')]
  0016  EQ        if R0 eq R2   -> -130540
  0017  JMP       (jump)   -> 20
  0018  SELF      R2 = R0[K7('Destroy')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  GETTABUP  R1 = _ENV[K0('GM')]
  0021  GETTABLE  R1 = R1[K1('UIManager')]
  0022  SELF      R2 = R1[K8('OnViewCloseFinish')] (self)
  0023  MOVE      R3 = R0
  0024  CALL      R1 = call(R1, 0 args, 2 rets)
  0025  RETURN    return R0..R-1
; ---------- proto8 [OnBack] ----------
  ; fn ?  line 98-103 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='canCloseByAndroidBack'
  ;   K[1]='_OnBack'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('canCloseByAndroidBack')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SELF      R2 = R0[K1('_OnBack')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto9 [_OnBack] ----------
  ; fn ?  line 105-107 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
; ---------- proto10 [_Hide] ----------
  ; fn ?  line 109-111 np=1 va=0 ms=4 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='SetActive'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('gameObject')]
  0001  SELF      R2 = R1[K1('SetActive')] (self)
  0002  LOADBOOL  R3 = false
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto11 [Destroy] ----------
  ; fn ?  line 113-115 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='gameObject'
  ;   K[1]='RemoveSelf'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('gameObject')]
  0001  SELF      R2 = R1[K1('RemoveSelf')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto12 [AddEventListener] ----------
  ; fn ?  line 119-120 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto13 [RemoveEventListener] ----------
  ; fn ?  line 122-123 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto14 [SetSortingOrder] ----------
  ; fn ?  line 127-129 np=2 va=0 ms=3 code=3 consts=2 upvals=0 protos=0
  ;   K[0]='m_canvas'
  ;   K[1]='sortingOrder'
  ;   locals: self(0-3), order(0-3)
  0000  GETTABLE  R2 = R0[K0('m_canvas')]
  0001  SETTABLE  R2[K1('sortingOrder')] = R1
  0002  RETURN    return R0..R-1
; ---------- proto15 [GetSortingOrder] ----------
  ; fn ?  line 131-137 np=1 va=0 ms=3 code=14 consts=4 upvals=0 protos=0
  ;   K[0]='m_canvas'
  ;   K[1]='IsNull'
  ;   K[2]='sortingOrder'
  ;   K[3]=0
  ;   locals: self(0-14)
  0000  GETTABLE  R1 = R0[K0('m_canvas')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 11
  0003  GETTABLE  R1 = R0[K0('m_canvas')]
  0004  SELF      R2 = R1[K1('IsNull')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 11
  0008  GETTABLE  R1 = R0[K0('m_canvas')]
  0009  GETTABLE  R1 = R1[K2('sortingOrder')]
  0010  RETURN    return R1..R0
  0011  LOADK     R1 = K3 0
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
