# UI_UIFramework_BaseWindow_241.luac
; fn @BaseWindow.lua  line 0-0 np=0 va=1 ms=4 code=104 consts=61 upvals=1 protos=16
;   K[0]='BaseWindow'
;   K[1]='setmetatable'
;   K[2]='eViewType'
;   K[3]='EViewType'
;   K[4]='Window'
;   K[5]='eCloseType'
;   K[6]='EViewCloseType'
;   K[7]='Destroy'
;   K[8]='eCloseAnimType'
;   K[9]='EViewCloseAnimType'
;   K[10]='Animator'
;   K[11]='canCloseByAndroidBack'
;   K[12]=true
;   K[13]='canClickWindowMask'
;   K[14]=false
;   K[15]='canCloseByChangeGameMode'
;   K[16]='showWindowMask'
;   K[17]='showWindowMaskAnimDuration'
;   K[18]=0.16666666666666666
;   K[19]='disableWindowMaskOnOpenView'
;   K[20]=nil
;   K[21]='windowMaskAlpha'
;   K[22]='EWindowMaskAlpha'
;   K[23]='Default'
;   K[24]='hideHudAnchorType'
;   K[25]='disableEffectWhenCloseView'
;   K[26]='disableSpriteRendererWhenCloseView'
;   K[27]='showAnimationName'
;   K[28]='Show'
;   K[29]='closeAnimationName'
;   K[30]='Hide'
;   K[31]='bEnableMultiTouch'
;   K[32]='BaseView'
;   K[33]='__index'
;   K[34]=2
;   K[35]='OnOpenView'
;   K[36]='ShowWindowOnLoadFinished'
;   K[37]='OnCloseView'
;   K[38]='OnCloseBtnClick'
;   K[39]='PlayCloseBtnClickEffect'
;   K[40]='OnWindowMaskClicked'
;   K[41]='_OnBack'
;   K[42]='CloseAndOpenNext'
;   K[43]='LogWindowAction'
;   K[44]='ResizeByWidth'
;   K[45]='DisableWindowMaskTouchTemporarily'
;   K[46]='SetCloseBtnActive'
;   K[47]='UpdateSceneViewHud'
;   K[48]='OnGameModeChangeInBaseWindow'
;   K[49]='GetContentRect'
;   K[50]='EasyCloseBaseWindow'
;   K[51]='canClickWindowMask'
;   K[52]=true
;   K[53]='TransparentBaseWindow'
;   K[54]='canCloseByAndroidBack'
;   K[55]=false
;   K[56]=0
;   K[57]='eCloseAnimType'
;   K[58]='EViewCloseAnimType'
;   K[59]='None'
;   K[60]='_OnSkipClick'
;   upvals: _ENV
;   locals: TEMP_DISABLE_WINDOW_MASK_DURATION_DEFAULT(33-104)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EViewType')]
0003  GETTABLE  R2 = R2[K4('Window')]
0004  SETTABLE  R1[K2('eViewType')] = R2
0005  GETTABUP  R2 = _ENV[K6('EViewCloseType')]
0006  GETTABLE  R2 = R2[K7('Destroy')]
0007  SETTABLE  R1[K5('eCloseType')] = R2
0008  GETTABUP  R2 = _ENV[K9('EViewCloseAnimType')]
0009  GETTABLE  R2 = R2[K10('Animator')]
0010  SETTABLE  R1[K8('eCloseAnimType')] = R2
0011  SETTABLE  R1[K11('canCloseByAndroidBack')] = K12(true)
0012  SETTABLE  R1[K13('canClickWindowMask')] = K14(false)
0013  SETTABLE  R1[K15('canCloseByChangeGameMode')] = K12(true)
0014  SETTABLE  R1[K16('showWindowMask')] = K12(true)
0015  SETTABLE  R1[K17('showWindowMaskAnimDuration')] = K18(0.16666666666666666)
0016  SETTABLE  R1[K19('disableWindowMaskOnOpenView')] = K20(nil)
0017  GETTABUP  R2 = _ENV[K22('EWindowMaskAlpha')]
0018  GETTABLE  R2 = R2[K23('Default')]
0019  SETTABLE  R1[K21('windowMaskAlpha')] = R2
0020  SETTABLE  R1[K24('hideHudAnchorType')] = K20(nil)
0021  SETTABLE  R1[K25('disableEffectWhenCloseView')] = K14(false)
0022  SETTABLE  R1[K26('disableSpriteRendererWhenCloseView')] = K14(false)
0023  SETTABLE  R1[K27('showAnimationName')] = K28('Show')
0024  SETTABLE  R1[K29('closeAnimationName')] = K30('Hide')
0025  SETTABLE  R1[K31('bEnableMultiTouch')] = K14(false)
0026  GETTABUP  R2 = _ENV[K32('BaseView')]
0027  CALL      R0 = call(R0, 1 args, 2 rets)
0028  SETTABUP  _ENV[K0('BaseWindow')] = R0
0029  GETTABUP  R0 = _ENV[K0('BaseWindow')]
0030  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0031  SETTABLE  R0[K33('__index')] = R1
0032  LOADK     R0 = K34 2
0033  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0034  CLOSURE   R2 = closure proto0
0035  SETTABLE  R1[K35('OnOpenView')] = R2
0036  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0037  CLOSURE   R2 = closure proto1
0038  SETTABLE  R1[K36('ShowWindowOnLoadFinished')] = R2
0039  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0040  CLOSURE   R2 = closure proto2
0041  SETTABLE  R1[K37('OnCloseView')] = R2
0042  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0043  CLOSURE   R2 = closure proto3
0044  SETTABLE  R1[K38('OnCloseBtnClick')] = R2
0045  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0046  CLOSURE   R2 = closure proto4
0047  SETTABLE  R1[K39('PlayCloseBtnClickEffect')] = R2
0048  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0049  CLOSURE   R2 = closure proto5
0050  SETTABLE  R1[K40('OnWindowMaskClicked')] = R2
0051  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0052  CLOSURE   R2 = closure proto6
0053  SETTABLE  R1[K41('_OnBack')] = R2
0054  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0055  CLOSURE   R2 = closure proto7
0056  SETTABLE  R1[K42('CloseAndOpenNext')] = R2
0057  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0058  CLOSURE   R2 = closure proto8
0059  SETTABLE  R1[K43('LogWindowAction')] = R2
0060  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0061  CLOSURE   R2 = closure proto9
0062  SETTABLE  R1[K44('ResizeByWidth')] = R2
0063  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0064  CLOSURE   R2 = closure proto10
0065  SETTABLE  R1[K45('DisableWindowMaskTouchTemporarily')] = R2
0066  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0067  CLOSURE   R2 = closure proto11
0068  SETTABLE  R1[K46('SetCloseBtnActive')] = R2
0069  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0070  CLOSURE   R2 = closure proto12
0071  SETTABLE  R1[K47('UpdateSceneViewHud')] = R2
0072  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0073  CLOSURE   R2 = closure proto13
0074  SETTABLE  R1[K48('OnGameModeChangeInBaseWindow')] = R2
0075  GETTABUP  R1 = _ENV[K0('BaseWindow')]
0076  CLOSURE   R2 = closure proto14
0077  SETTABLE  R1[K49('GetContentRect')] = R2
0078  GETTABUP  R1 = _ENV[K1('setmetatable')]
0079  NEWTABLE  R2 = {} (0 items)
0080  SETTABLE  R2[K51('canClickWindowMask')] = K52(true)
0081  GETTABUP  R3 = _ENV[K0('BaseWindow')]
0082  CALL      R1 = call(R1, 1 args, 2 rets)
0083  SETTABUP  _ENV[K50('EasyCloseBaseWindow')] = R1
0084  GETTABUP  R1 = _ENV[K50('EasyCloseBaseWindow')]
0085  GETTABUP  R2 = _ENV[K50('EasyCloseBaseWindow')]
0086  SETTABLE  R1[K33('__index')] = R2
0087  GETTABUP  R1 = _ENV[K1('setmetatable')]
0088  NEWTABLE  R2 = {} (0 items)
0089  SETTABLE  R2[K54('canCloseByAndroidBack')] = K55(false)
0090  SETTABLE  R2[K21('windowMaskAlpha')] = K56(0)
0091  GETTABUP  R3 = _ENV[K58('EViewCloseAnimType')]
0092  GETTABLE  R3 = R3[K59('None')]
0093  SETTABLE  R2[K57('eCloseAnimType')] = R3
0094  GETTABUP  R3 = _ENV[K0('BaseWindow')]
0095  CALL      R1 = call(R1, 1 args, 2 rets)
0096  SETTABUP  _ENV[K53('TransparentBaseWindow')] = R1
0097  GETTABUP  R1 = _ENV[K53('TransparentBaseWindow')]
0098  GETTABUP  R2 = _ENV[K53('TransparentBaseWindow')]
0099  SETTABLE  R1[K33('__index')] = R2
0100  GETTABUP  R1 = _ENV[K53('TransparentBaseWindow')]
0101  CLOSURE   R2 = closure proto15
0102  SETTABLE  R1[K60('_OnSkipClick')] = R2
0103  RETURN    return R0..R-1
; ---------- proto0 [OnOpenView] ----------
  ; fn ?  line 35-48 np=1 va=1 ms=5 code=30 consts=15 upvals=1 protos=0
  ;   K[0]='BaseView'
  ;   K[1]='OnOpenView'
  ;   K[2]='m_needHideUI'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='GetOpenedViewCountByType'
  ;   K[6]='EViewType'
  ;   K[7]='Window'
  ;   K[8]=1
  ;   K[9]='hideHudAnchorType'
  ;   K[10]=nil
  ;   K[11]='UpdateSceneViewHud'
  ;   K[12]='ShowWindowOnLoadFinished'
  ;   K[13]='m_bCanBeCloseByChangeGameMode'
  ;   K[14]=true
  ;   upvals: _ENV
  ;   locals: self(0-30)
  0000  GETTABUP  R1 = _ENV[K0('BaseView')]
  0001  GETTABLE  R1 = R1[K1('OnOpenView')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABUP  R1 = _ENV[K3('GM')]
  0006  GETTABLE  R1 = R1[K4('UIManager')]
  0007  SELF      R2 = R1[K5('GetOpenedViewCountByType')] (self)
  0008  GETTABUP  R3 = _ENV[K6('EViewType')]
  0009  GETTABLE  R3 = R3[K7('Window')]
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  EQ        if R0 eq K8(1)   -> -130283
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R1 = R0[K9('hideHudAnchorType')]
  0014  EQ        if R0 eq K10(nil)   -> -130278
  0015  JMP       (jump)   -> 17
  0016  LOADBOOL  R1 = false
  0017  LOADBOOL  R1 = true
  0018  SETTABLE  R0[K2('m_needHideUI')] = R1
  0019  GETTABLE  R1 = R0[K2('m_needHideUI')]
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 26
  0022  SELF      R2 = R0[K11('UpdateSceneViewHud')] (self)
  0023  LOADBOOL  R3 = false
  0024  GETTABLE  R4 = R0[K9('hideHudAnchorType')]
  0025  CALL      R1 = call(R1, 0 args, 3 rets)
  0026  SELF      R2 = R0[K12('ShowWindowOnLoadFinished')] (self)
  0027  CALL      R1 = call(R1, 0 args, 1 rets)
  0028  SETTABLE  R0[K13('m_bCanBeCloseByChangeGameMode')] = K14(true)
  0029  RETURN    return R0..R-1
; ---------- proto1 [ShowWindowOnLoadFinished] ----------
  ; fn ?  line 50-62 np=1 va=0 ms=4 code=25 consts=11 upvals=1 protos=0
  ;   K[0]='m_winAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='showAnimationName'
  ;   K[3]='m_strOpenWindowEffectName'
  ;   K[4]=''
  ;   K[5]='GM'
  ;   K[6]='AudioModel'
  ;   K[7]='PlayEffect'
  ;   K[8]='disableWindowMaskOnOpenView'
  ;   K[9]=nil
  ;   K[10]='DisableWindowMaskTouchTemporarily'
  ;   upvals: _ENV
  ;   locals: self(0-25)
  0000  GETTABLE  R1 = R0[K0('m_winAnimator')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_winAnimator')]
  0004  SELF      R2 = R1[K1('SetTrigger')] (self)
  0005  GETTABLE  R3 = R0[K2('showAnimationName')]
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  GETTABLE  R1 = R0[K3('m_strOpenWindowEffectName')]
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 18
  0010  GETTABLE  R1 = R0[K3('m_strOpenWindowEffectName')]
  0011  EQ        if R1 eq K4('')   -> -130287
  0012  JMP       (jump)   -> 18
  0013  GETTABUP  R1 = _ENV[K5('GM')]
  0014  GETTABLE  R1 = R1[K6('AudioModel')]
  0015  SELF      R2 = R1[K7('PlayEffect')] (self)
  0016  GETTABLE  R3 = R0[K3('m_strOpenWindowEffectName')]
  0017  CALL      R1 = call(R1, 0 args, 2 rets)
  0018  GETTABLE  R1 = R0[K8('disableWindowMaskOnOpenView')]
  0019  EQ        if R1 eq K9(nil)   -> -130274
  0020  JMP       (jump)   -> 24
  0021  SELF      R2 = R0[K10('DisableWindowMaskTouchTemporarily')] (self)
  0022  GETTABLE  R3 = R0[K8('disableWindowMaskOnOpenView')]
  0023  CALL      R1 = call(R1, 0 args, 2 rets)
  0024  RETURN    return R0..R-1
; ---------- proto2 [OnCloseView] ----------
  ; fn ?  line 64-96 np=1 va=0 ms=9 code=85 consts=31 upvals=1 protos=0
  ;   K[0]='eCloseAnimType'
  ;   K[1]='EViewCloseAnimType'
  ;   K[2]='Animator'
  ;   K[3]='m_winAnimator'
  ;   K[4]='SetTrigger'
  ;   K[5]='closeAnimationName'
  ;   K[6]='None'
  ;   K[7]='m_strCloseWindowEffectName'
  ;   K[8]='string'
  ;   K[9]='len'
  ;   K[10]=0
  ;   K[11]='GM'
  ;   K[12]='AudioModel'
  ;   K[13]='PlayEffect'
  ;   K[14]='m_needHideUI'
  ;   K[15]='UpdateSceneViewHud'
  ;   K[16]='hideHudAnchorType'
  ;   K[17]='disableEffectWhenCloseView'
  ;   K[18]='gameObject'
  ;   K[19]='GetComponentsInChildren'
  ;   K[20]='typeof'
  ;   K[21]='ParticleSystem'
  ;   K[22]='Length'
  ;   K[23]=1
  ;   K[24]='SetActive'
  ;   K[25]='disableSpriteRendererWhenCloseView'
  ;   K[26]='SpriteRenderer'
  ;   K[27]='m_bCanBeCloseByChangeGameMode'
  ;   K[28]=false
  ;   K[29]='BaseView'
  ;   K[30]='OnCloseView'
  ;   upvals: _ENV
  ;   locals: self(0-85), particles(47-58), (for index)(51-58), (for limit)(51-58), (for step)(51-58), i(52-57), spriteRenderers(68-79), (for index)(72-79), (for limit)(72-79), (for step)(72-79), i(73-78)
  0000  GETTABLE  R1 = R0[K0('eCloseAnimType')]
  0001  GETTABUP  R2 = _ENV[K1('EViewCloseAnimType')]
  0002  GETTABLE  R2 = R2[K2('Animator')]
  0003  EQ        if R0 eq R2   -> -130553
  0004  JMP       (jump)   -> 13
  0005  GETTABLE  R1 = R0[K3('m_winAnimator')]
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R1 = R0[K3('m_winAnimator')]
  0009  SELF      R2 = R1[K4('SetTrigger')] (self)
  0010  GETTABLE  R3 = R0[K5('closeAnimationName')]
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  JMP       (jump)   -> 16
  0013  GETTABUP  R1 = _ENV[K1('EViewCloseAnimType')]
  0014  GETTABLE  R1 = R1[K6('None')]
  0015  SETTABLE  R0[K0('eCloseAnimType')] = R1
  0016  GETTABLE  R1 = R0[K7('m_strCloseWindowEffectName')]
  0017  TEST      if not R1 then   -> -131053
  0018  JMP       (jump)   -> 30
  0019  GETTABUP  R1 = _ENV[K8('string')]
  0020  GETTABLE  R1 = R1[K9('len')]
  0021  GETTABLE  R2 = R0[K7('m_strCloseWindowEffectName')]
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  LT        if R0 lt R1   -> 5146
  0024  JMP       (jump)   -> 30
  0025  GETTABUP  R1 = _ENV[K11('GM')]
  0026  GETTABLE  R1 = R1[K12('AudioModel')]
  0027  SELF      R2 = R1[K13('PlayEffect')] (self)
  0028  GETTABLE  R3 = R0[K7('m_strCloseWindowEffectName')]
  0029  CALL      R1 = call(R1, 0 args, 2 rets)
  0030  GETTABLE  R1 = R0[K14('m_needHideUI')]
  0031  TEST      if not R1 then   -> -131039
  0032  JMP       (jump)   -> 37
  0033  SELF      R2 = R0[K15('UpdateSceneViewHud')] (self)
  0034  LOADBOOL  R3 = true
  0035  GETTABLE  R4 = R0[K16('hideHudAnchorType')]
  0036  CALL      R1 = call(R1, 0 args, 3 rets)
  0037  GETTABLE  R1 = R0[K17('disableEffectWhenCloseView')]
  0038  TEST      if not R1 then   -> -131032
  0039  JMP       (jump)   -> 58
  0040  GETTABLE  R1 = R0[K18('gameObject')]
  0041  SELF      R2 = R1[K19('GetComponentsInChildren')] (self)
  0042  GETTABUP  R3 = _ENV[K20('typeof')]
  0043  GETTABUP  R4 = _ENV[K21('ParticleSystem')]
  0044  CALL      R3 = call(R3, 1 args, 1 rets)
  0045  LOADBOOL  R4 = true
  0046  CALL      R1 = call(R1, 1 args, 3 rets)
  0047  LOADK     R2 = K10 0
  0048  GETTABLE  R3 = R1[K22('Length')]
  0049  SUB       R3 = K23(1) sub R3
  0050  LOADK     R4 = K23 1
  0051  FORPREP   forprep R2(sBx=5)   -> 57
  0052  GETTABLE  R6 = R1[R5]
  0053  GETTABLE  R6 = R6[K18('gameObject')]
  0054  SELF      R7 = R6[K24('SetActive')] (self)
  0055  LOADBOOL  R8 = false
  0056  CALL      R6 = call(R6, 0 args, 2 rets)
  0057  FORLOOP   forloop R2(sBx=-6)   -> 52
  0058  GETTABLE  R1 = R0[K25('disableSpriteRendererWhenCloseView')]
  0059  TEST      if not R1 then   -> -131011
  0060  JMP       (jump)   -> 79
  0061  GETTABLE  R1 = R0[K18('gameObject')]
  0062  SELF      R2 = R1[K19('GetComponentsInChildren')] (self)
  0063  GETTABUP  R3 = _ENV[K20('typeof')]
  0064  GETTABUP  R4 = _ENV[K26('SpriteRenderer')]
  0065  CALL      R3 = call(R3, 1 args, 1 rets)
  0066  LOADBOOL  R4 = true
  0067  CALL      R1 = call(R1, 1 args, 3 rets)
  0068  LOADK     R2 = K10 0
  0069  GETTABLE  R3 = R1[K22('Length')]
  0070  SUB       R3 = K23(1) sub R3
  0071  LOADK     R4 = K23 1
  0072  FORPREP   forprep R2(sBx=5)   -> 78
  0073  GETTABLE  R6 = R1[R5]
  0074  GETTABLE  R6 = R6[K18('gameObject')]
  0075  SELF      R7 = R6[K24('SetActive')] (self)
  0076  LOADBOOL  R8 = false
  0077  CALL      R6 = call(R6, 0 args, 2 rets)
  0078  FORLOOP   forloop R2(sBx=-6)   -> 73
  0079  SETTABLE  R0[K27('m_bCanBeCloseByChangeGameMode')] = K28(false)
  0080  GETTABUP  R1 = _ENV[K29('BaseView')]
  0081  GETTABLE  R1 = R1[K30('OnCloseView')]
  0082  MOVE      R2 = R0
  0083  CALL      R1 = call(R1, 0 args, 1 rets)
  0084  RETURN    return R0..R-1
; ---------- proto3 [OnCloseBtnClick] ----------
  ; fn ?  line 99-101 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
; ---------- proto4 [PlayCloseBtnClickEffect] ----------
  ; fn ?  line 103-105 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='AudioModel'
  ;   K[2]='PlayEffect'
  ;   K[3]='AudioFileConfigName'
  ;   K[4]='SfxButtonClick'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('AudioModel')]
  0002  SELF      R2 = R1[K2('PlayEffect')] (self)
  0003  GETTABUP  R3 = _ENV[K3('AudioFileConfigName')]
  0004  GETTABLE  R3 = R3[K4('SfxButtonClick')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [OnWindowMaskClicked] ----------
  ; fn ?  line 107-109 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='OnCloseBtnClick'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('OnCloseBtnClick')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto6 [_OnBack] ----------
  ; fn ?  line 112-114 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='OnCloseBtnClick'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('OnCloseBtnClick')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto7 [CloseAndOpenNext] ----------
  ; fn ?  line 116-119 np=2 va=1 ms=6 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='OpenViewWhenIdle'
  ;   upvals: _ENV
  ;   locals: self(0-9), nextWindow(0-9)
  0000  SELF      R3 = R0[K0('Close')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('GM')]
  0003  GETTABLE  R2 = R2[K2('UIManager')]
  0004  SELF      R3 = R2[K3('OpenViewWhenIdle')] (self)
  0005  MOVE      R4 = R0
  0006  VARARG    R5 = vararg(0)
  0007  CALL      R2 = call(R2, 0 args, -1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto8 [LogWindowAction] ----------
  ; fn ?  line 121-123 np=4 va=0 ms=10 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='BIManager'
  ;   K[2]='LogUI'
  ;   K[3]='name'
  ;   upvals: _ENV
  ;   locals: self(0-9), eActionType(0-9), refer(0-9), ext(0-9)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('BIManager')]
  0002  SELF      R5 = R4[K2('LogUI')] (self)
  0003  GETTABLE  R6 = R0[K3('name')]
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  CALL      R4 = call(R4, 0 args, 5 rets)
  0008  RETURN    return R0..R-1
; ---------- proto9 [ResizeByWidth] ----------
  ; fn ?  line 126-132 np=2 va=0 ms=6 code=20 consts=11 upvals=1 protos=0
  ;   K[0]='Screen'
  ;   K[1]='height'
  ;   K[2]='width'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='GetCanvasSize'
  ;   K[6]='y'
  ;   K[7]='m_contentRect'
  ;   K[8]='parent'
  ;   K[9]='localScale'
  ;   K[10]='V3One'
  ;   upvals: _ENV
  ;   locals: self(0-20), fContentWidth(0-20), fRate1(5-20), fRate2(11-20)
  0000  GETTABUP  R2 = _ENV[K0('Screen')]
  0001  GETTABLE  R2 = R2[K1('height')]
  0002  GETTABUP  R3 = _ENV[K0('Screen')]
  0003  GETTABLE  R3 = R3[K2('width')]
  0004  DIV       R2 = R3 div R2
  0005  GETTABUP  R3 = _ENV[K3('GM')]
  0006  GETTABLE  R3 = R3[K4('UIManager')]
  0007  SELF      R4 = R3[K5('GetCanvasSize')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  GETTABLE  R3 = R3[K6('y')]
  0010  DIV       R3 = R1 div R3
  0011  LT        if R0 lt R2   -> -129521
  0012  JMP       (jump)   -> 19
  0013  GETTABLE  R4 = R0[K7('m_contentRect')]
  0014  GETTABLE  R4 = R4[K8('parent')]
  0015  GETTABUP  R5 = _ENV[K10('V3One')]
  0016  MUL       R5 = R3 mul R5
  0017  DIV       R5 = R2 div R5
  0018  SETTABLE  R4[K9('localScale')] = R5
  0019  RETURN    return R0..R-1
; ---------- proto10 [DisableWindowMaskTouchTemporarily] ----------
  ; fn ?  line 135-148 np=2 va=0 ms=8 code=21 consts=7 upvals=2 protos=1
  ;   K[0]='canCloseByAndroidBack'
  ;   K[1]='canClickWindowMask'
  ;   K[2]=false
  ;   K[3]='DelayExecuteFuncInView'
  ;   K[4]='Log'
  ;   K[5]='Warning'
  ;   K[6]="BaseWindow:has temporarily disabled window mask already or disable mask with window that can't close by mask."
  ;   upvals: _ENV, TEMP_DISABLE_WINDOW_MASK_DURATION_DEFAULT
  ;   locals: self(0-21), dt(0-21), canCloseByAndroidBack(1-21), canClickWindowMask(2-21)
  0000  GETTABLE  R2 = R0[K0('canCloseByAndroidBack')]
  0001  GETTABLE  R3 = R0[K1('canClickWindowMask')]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  TEST      if not R3 then   -> -131066
  0005  JMP       (jump)   -> 16
  0006  SETTABLE  R0[K0('canCloseByAndroidBack')] = K2(false)
  0007  SETTABLE  R0[K1('canClickWindowMask')] = K2(false)
  0008  GETTABUP  R4 = _ENV[K3('DelayExecuteFuncInView')]
  0009  CLOSURE   R5 = closure proto0
  0010  TESTSET   if R1 then R6   -> -130547
  0011  JMP       (jump)   -> 13
  0012  GETUPVAL  R6 = _ENV
  0013  MOVE      R7 = R0
  0014  CALL      R4 = call(R4, 0 args, 3 rets)
  0015  JMP       (jump)   -> 20
  0016  GETTABUP  R4 = _ENV[K4('Log')]
  0017  GETTABLE  R4 = R4[K5('Warning')]
  0018  LOADK     R5 = K6 "BaseWindow:has temporarily disabled window mask already or disable mask with window that can't close by mask."
  0019  CALL      R4 = call(R4, 0 args, 1 rets)
  0020  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 141-144 np=0 va=0 ms=2 code=5 consts=2 upvals=3 protos=0
    ;   K[0]='canCloseByAndroidBack'
    ;   K[1]='canClickWindowMask'
    ;   upvals: self, canCloseByAndroidBack, canClickWindowMask
    0000  GETUPVAL  R0 = self
    0001  SETTABUP  self[K0('canCloseByAndroidBack')] = R0
    0002  GETUPVAL  R0 = self
    0003  SETTABUP  self[K1('canClickWindowMask')] = R0
    0004  RETURN    return R0..R-1
; ---------- proto11 [SetCloseBtnActive] ----------
  ; fn ?  line 150-152 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_closeBtnGo'
  ;   K[1]='SetActive'
  ;   locals: self(0-5), active(0-5)
  0000  GETTABLE  R2 = R0[K0('m_closeBtnGo')]
  0001  SELF      R3 = R2[K1('SetActive')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto12 [UpdateSceneViewHud] ----------
  ; fn ?  line 154-160 np=4 va=0 ms=7 code=10 consts=7 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='UpdateSceneViewHud'
  ;   K[4]='Show'
  ;   K[5]='AnchorTypes'
  ;   K[6]='IgnoreAnim'
  ;   upvals: _ENV
  ;   locals: self(0-10), show(0-10), arrAnchorType(0-10), ignoreAnim(0-10)
  0000  GETTABUP  R4 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R4 = R4[K1('DispatchEvent')]
  0002  GETTABUP  R5 = _ENV[K2('EEventType')]
  0003  GETTABLE  R5 = R5[K3('UpdateSceneViewHud')]
  0004  NEWTABLE  R6 = {} (0 items)
  0005  SETTABLE  R6[K4('Show')] = R1
  0006  SETTABLE  R6[K5('AnchorTypes')] = R2
  0007  SETTABLE  R6[K6('IgnoreAnim')] = R3
  0008  CALL      R4 = call(R4, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
; ---------- proto13 [OnGameModeChangeInBaseWindow] ----------
  ; fn ?  line 162-176 np=1 va=0 ms=7 code=28 consts=14 upvals=1 protos=0
  ;   K[0]='m_bCanBeCloseByChangeGameMode'
  ;   K[1]='canCloseByChangeGameMode'
  ;   K[2]='eCloseAnimType'
  ;   K[3]='EViewCloseAnimType'
  ;   K[4]='None'
  ;   K[5]='Close'
  ;   K[6]='GameConfig'
  ;   K[7]='IsTestMode'
  ;   K[8]='Log'
  ;   K[9]='Info'
  ;   K[10]='[BaseWindow]['
  ;   K[11]='name'
  ;   K[12]='] close by change mode? '
  ;   K[13]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  0000  GETTABLE  R1 = R0[K0('m_bCanBeCloseByChangeGameMode')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K1('canCloseByChangeGameMode')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R1 = _ENV[K3('EViewCloseAnimType')]
  0008  GETTABLE  R1 = R1[K4('None')]
  0009  SETTABLE  R0[K2('eCloseAnimType')] = R1
  0010  SELF      R2 = R0[K5('Close')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABUP  R1 = _ENV[K6('GameConfig')]
  0013  GETTABLE  R1 = R1[K7('IsTestMode')]
  0014  CALL      R1 = call(R1, 1 args, 0 rets)
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 27
  0017  GETTABUP  R1 = _ENV[K8('Log')]
  0018  GETTABLE  R1 = R1[K9('Info')]
  0019  LOADK     R2 = K10 '[BaseWindow]['
  0020  GETTABLE  R3 = R0[K11('name')]
  0021  LOADK     R4 = K12 '] close by change mode? '
  0022  GETTABUP  R5 = _ENV[K13('tostring')]
  0023  GETTABLE  R6 = R0[K1('canCloseByChangeGameMode')]
  0024  CALL      R5 = call(R5, 1 args, 1 rets)
  0025  CONCAT    R2 = concat(R2..R2)
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto14 [GetContentRect] ----------
  ; fn ?  line 179-181 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_contentRect'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_contentRect')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto15 [_OnSkipClick] ----------
  ; fn ?  line 202-204 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
