# UI_Window_GoPlayWindow_446.luac
; fn @GoPlayWindow.lua  line 0-0 np=0 va=1 ms=4 code=23 consts=12 upvals=1 protos=2
;   K[0]='GoPlayWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='Dark'
;   K[5]='hideHudAnchorType'
;   K[6]='EHudAnchorType'
;   K[7]='All'
;   K[8]='BaseWindow'
;   K[9]='__index'
;   K[10]='Init'
;   K[11]='OnGoBtnClick'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('Dark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  NEWTABLE  R2 = {} (1 items)
0006  GETTABUP  R3 = _ENV[K6('EHudAnchorType')]
0007  GETTABLE  R3 = R3[K7('All')]
0008  SETLIST   setlist R2[B=1,C=1]
0009  SETTABLE  R1[K5('hideHudAnchorType')] = R2
0010  GETTABUP  R2 = _ENV[K8('BaseWindow')]
0011  CALL      R0 = call(R0, 1 args, 2 rets)
0012  SETTABUP  _ENV[K0('GoPlayWindow')] = R0
0013  GETTABUP  R0 = _ENV[K0('GoPlayWindow')]
0014  GETTABUP  R1 = _ENV[K0('GoPlayWindow')]
0015  SETTABLE  R0[K9('__index')] = R1
0016  GETTABUP  R0 = _ENV[K0('GoPlayWindow')]
0017  CLOSURE   R1 = closure proto0
0018  SETTABLE  R0[K10('Init')] = R1
0019  GETTABUP  R0 = _ENV[K0('GoPlayWindow')]
0020  CLOSURE   R1 = closure proto1
0021  SETTABLE  R0[K11('OnGoBtnClick')] = R1
0022  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 9-19 np=1 va=0 ms=6 code=27 consts=14 upvals=1 protos=1
  ;   K[0]='BaseWindow'
  ;   K[1]='Init'
  ;   K[2]='ScreenFitter'
  ;   K[3]='GetSceneViewSizeOffset'
  ;   K[4]='m_closeGo'
  ;   K[5]='transform'
  ;   K[6]='SetLocalPosY'
  ;   K[7]='localPosition'
  ;   K[8]='y'
  ;   K[9]='x'
  ;   K[10]='IsAutoRun'
  ;   K[11]='DOVirtual'
  ;   K[12]='DelayedCall'
  ;   K[13]=0.2
  ;   upvals: _ENV
  ;   locals: self(0-27), adjustSizeOffset(7-27)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('ScreenFitter')]
  0005  GETTABLE  R1 = R1[K3('GetSceneViewSizeOffset')]
  0006  CALL      R1 = call(R1, 1 args, 0 rets)
  0007  GETTABLE  R2 = R0[K4('m_closeGo')]
  0008  GETTABLE  R2 = R2[K5('transform')]
  0009  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0010  GETTABLE  R4 = R0[K4('m_closeGo')]
  0011  GETTABLE  R4 = R4[K5('transform')]
  0012  GETTABLE  R4 = R4[K7('localPosition')]
  0013  GETTABLE  R4 = R4[K8('y')]
  0014  GETTABLE  R5 = R1[K9('x')]
  0015  SUB       R4 = R5 sub R4
  0016  CALL      R2 = call(R2, 0 args, 2 rets)
  0017  GETTABUP  R2 = _ENV[K10('IsAutoRun')]
  0018  CALL      R2 = call(R2, 1 args, 0 rets)
  0019  TEST      if not R2 then   -> -131051
  0020  JMP       (jump)   -> 26
  0021  GETTABUP  R2 = _ENV[K11('DOVirtual')]
  0022  GETTABLE  R2 = R2[K12('DelayedCall')]
  0023  LOADK     R3 = K13 0.2
  0024  CLOSURE   R4 = closure proto0
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 17-17 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='OnGoBtnClick'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('OnGoBtnClick')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto1 [OnGoBtnClick] ----------
  ; fn ?  line 21-37 np=1 va=0 ms=4 code=35 consts=14 upvals=1 protos=0
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Main'
  ;   K[6]='ChapterManager'
  ;   K[7]='curActiveChapterName'
  ;   K[8]='TaskManager'
  ;   K[9]='GetOngoingChapterName'
  ;   K[10]='TimelineManager'
  ;   K[11]='IsPlayingTimeline'
  ;   K[12]='ChangeGameMode'
  ;   K[13]='Board'
  ;   upvals: _ENV
  ;   locals: self(0-35)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('SceneManager')]
  0004  SELF      R2 = R1[K3('GetGameMode')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K4('EGameMode')]
  0007  GETTABLE  R2 = R2[K5('Main')]
  0008  EQ        if R1 eq R2   -> -130548
  0009  JMP       (jump)   -> 11
  0010  RETURN    return R0..R-1
  0011  GETTABUP  R1 = _ENV[K1('GM')]
  0012  GETTABLE  R1 = R1[K6('ChapterManager')]
  0013  GETTABLE  R1 = R1[K7('curActiveChapterName')]
  0014  GETTABUP  R2 = _ENV[K1('GM')]
  0015  GETTABLE  R2 = R2[K8('TaskManager')]
  0016  SELF      R3 = R2[K9('GetOngoingChapterName')] (self)
  0017  CALL      R2 = call(R2, 1 args, 1 rets)
  0018  EQ        if R1 eq R2   -> -130538
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R0..R-1
  0021  GETTABUP  R1 = _ENV[K1('GM')]
  0022  GETTABLE  R1 = R1[K10('TimelineManager')]
  0023  SELF      R2 = R1[K11('IsPlayingTimeline')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  TEST      if not R1 then   -> -131045
  0026  JMP       (jump)   -> 28
  0027  RETURN    return R0..R-1
  0028  GETTABUP  R1 = _ENV[K1('GM')]
  0029  GETTABLE  R1 = R1[K2('SceneManager')]
  0030  SELF      R2 = R1[K12('ChangeGameMode')] (self)
  0031  GETTABUP  R3 = _ENV[K4('EGameMode')]
  0032  GETTABLE  R3 = R3[K13('Board')]
  0033  CALL      R1 = call(R1, 0 args, 2 rets)
  0034  RETURN    return R0..R-1
