# UI_Layer_TimelineLayer_402.luac
; fn @TimelineLayer.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=10 upvals=1 protos=7
;   K[0]='TimelineLayer'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='TimelineLayer'
;   K[4]='ToggleEdgeMask'
;   K[5]='ShowColorTransition'
;   K[6]='HideColorTransition'
;   K[7]='PlayStartVideo'
;   K[8]='_OnVideoFinished'
;   K[9]='IsPlayingVideo'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('TimelineLayer')] = R0
0002  GETTABUP  R0 = _ENV[K0('TimelineLayer')]
0003  GETTABUP  R1 = _ENV[K0('TimelineLayer')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('TimelineLayer')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('ToggleEdgeMask')] = R1
0011  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('ShowColorTransition')] = R1
0014  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('HideColorTransition')] = R1
0017  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('PlayStartVideo')] = R1
0020  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('_OnVideoFinished')] = R1
0023  GETTABUP  R0 = _ENV[K3('TimelineLayer')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('IsPlayingVideo')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 6-10 np=1 va=0 ms=5 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='AddSingleton'
  ;   K[2]='TimelineLayer'
  ;   K[3]='m_topMaskTrans'
  ;   K[4]='SetSizeDeltaHeight'
  ;   K[5]=0
  ;   K[6]='m_btmMaskTrans'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  SELF      R2 = R1[K1('AddSingleton')] (self)
  0002  LOADK     R3 = K2 'TimelineLayer'
  0003  MOVE      R4 = R0
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  GETTABLE  R1 = R0[K3('m_topMaskTrans')]
  0006  SELF      R2 = R1[K4('SetSizeDeltaHeight')] (self)
  0007  LOADK     R3 = K5 0
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABLE  R1 = R0[K6('m_btmMaskTrans')]
  0010  SELF      R2 = R1[K4('SetSizeDeltaHeight')] (self)
  0011  LOADK     R3 = K5 0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
; ---------- proto1 [ToggleEdgeMask] ----------
  ; fn ?  line 12-33 np=3 va=0 ms=9 code=52 consts=18 upvals=1 protos=1
  ;   K[0]=0.5
  ;   K[1]='Vector2'
  ;   K[2]='m_topMaskTrans'
  ;   K[3]='sizeDelta'
  ;   K[4]='x'
  ;   K[5]=200
  ;   K[6]=0
  ;   K[7]='DOKill'
  ;   K[8]='DOSizeDelta'
  ;   K[9]='m_btmMaskTrans'
  ;   K[10]='m_edgeMaskTween'
  ;   K[11]='Complete'
  ;   K[12]=nil
  ;   K[13]='DOTween'
  ;   K[14]='Sequence'
  ;   K[15]='AppendCallback'
  ;   K[16]='SetDelay'
  ;   K[17]='m_edgeMaskTween'
  ;   upvals: _ENV
  ;   locals: self(0-52), isShow(0-52), callback(0-52), dt(1-52), sizeDelta(12-52), s(39-52)
  0000  LOADK     R3 = K0 0.5
  0001  GETTABUP  R4 = _ENV[K1('Vector2')]
  0002  GETTABLE  R5 = R0[K2('m_topMaskTrans')]
  0003  GETTABLE  R5 = R5[K3('sizeDelta')]
  0004  GETTABLE  R5 = R5[K4('x')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 10
  0007  LOADK     R6 = K5 200
  0008  TEST      if not R6 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R6 = K6 0
  0011  CALL      R4 = call(R4, 1 args, 2 rets)
  0012  GETTABLE  R5 = R0[K2('m_topMaskTrans')]
  0013  SELF      R6 = R5[K7('DOKill')] (self)
  0014  CALL      R5 = call(R5, 0 args, 1 rets)
  0015  GETTABLE  R5 = R0[K2('m_topMaskTrans')]
  0016  SELF      R6 = R5[K8('DOSizeDelta')] (self)
  0017  MOVE      R7 = R0
  0018  MOVE      R8 = R0
  0019  CALL      R5 = call(R5, 0 args, 3 rets)
  0020  GETTABLE  R5 = R0[K9('m_btmMaskTrans')]
  0021  SELF      R6 = R5[K7('DOKill')] (self)
  0022  CALL      R5 = call(R5, 0 args, 1 rets)
  0023  GETTABLE  R5 = R0[K9('m_btmMaskTrans')]
  0024  SELF      R6 = R5[K8('DOSizeDelta')] (self)
  0025  MOVE      R7 = R0
  0026  MOVE      R8 = R0
  0027  CALL      R5 = call(R5, 0 args, 3 rets)
  0028  GETTABLE  R5 = R0[K10('m_edgeMaskTween')]
  0029  TEST      if not R5 then   -> -131041
  0030  JMP       (jump)   -> 36
  0031  GETTABLE  R5 = R0[K10('m_edgeMaskTween')]
  0032  SELF      R6 = R5[K11('Complete')] (self)
  0033  LOADBOOL  R7 = true
  0034  CALL      R5 = call(R5, 0 args, 2 rets)
  0035  SETTABLE  R0[K10('m_edgeMaskTween')] = K12(nil)
  0036  GETTABUP  R5 = _ENV[K13('DOTween')]
  0037  GETTABLE  R5 = R5[K14('Sequence')]
  0038  CALL      R5 = call(R5, 1 args, 0 rets)
  0039  TEST      if not R2 then   -> -131031
  0040  JMP       (jump)   -> 44
  0041  SELF      R7 = R5[K15('AppendCallback')] (self)
  0042  MOVE      R8 = R0
  0043  CALL      R6 = call(R6, 0 args, 2 rets)
  0044  SELF      R7 = R5[K16('SetDelay')] (self)
  0045  MOVE      R8 = R0
  0046  CALL      R6 = call(R6, 1 args, 2 rets)
  0047  SELF      R7 = R6[K15('AppendCallback')] (self)
  0048  CLOSURE   R8 = closure proto0
  0049  CALL      R6 = call(R6, 0 args, 2 rets)
  0050  SETTABLE  R0[K17('m_edgeMaskTween')] = R5
  0051  RETURN    return R0..R-1
  ; ---------- proto0 [m_edgeMaskTween] ----------
    ; fn ?  line 29-31 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_edgeMaskTween'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_edgeMaskTween')] = K1(nil)
    0001  RETURN    return R0..R-1
; ---------- proto2 [ShowColorTransition] ----------
  ; fn ?  line 35-52 np=4 va=0 ms=11 code=29 consts=12 upvals=1 protos=1
  ;   K[0]='m_showColorTransTween'
  ;   K[1]='Kill'
  ;   K[2]='a'
  ;   K[3]='m_colorMaskImg'
  ;   K[4]='color'
  ;   K[5]='DOTween'
  ;   K[6]='Sequence'
  ;   K[7]='Append'
  ;   K[8]='DOFade'
  ;   K[9]=1
  ;   K[10]=0.5
  ;   K[11]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-29), color(0-29), callback(0-29), dt(0-29), s(15-29)
  0000  GETTABLE  R4 = R0[K0('m_showColorTransTween')]
  0001  TEST      if not R4 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R4 = R0[K0('m_showColorTransTween')]
  0004  SELF      R5 = R4[K1('Kill')] (self)
  0005  CALL      R4 = call(R4, 0 args, 1 rets)
  0006  GETTABLE  R4 = R0[K3('m_colorMaskImg')]
  0007  GETTABLE  R4 = R4[K4('color')]
  0008  GETTABLE  R4 = R4[K2('a')]
  0009  SETTABLE  R1[K2('a')] = R4
  0010  GETTABLE  R4 = R0[K3('m_colorMaskImg')]
  0011  SETTABLE  R4[K4('color')] = R1
  0012  GETTABUP  R4 = _ENV[K5('DOTween')]
  0013  GETTABLE  R4 = R4[K6('Sequence')]
  0014  CALL      R4 = call(R4, 1 args, 0 rets)
  0015  SELF      R6 = R4[K7('Append')] (self)
  0016  GETTABLE  R7 = R0[K3('m_colorMaskImg')]
  0017  SELF      R8 = R7[K8('DOFade')] (self)
  0018  LOADK     R9 = K9 1
  0019  TESTSET   if R1 then R10   -> -129514
  0020  JMP       (jump)   -> 22
  0021  LOADK     R10 = K10 0.5
  0022  CALL      R7 = call(R7, -1 args, 3 rets)
  0023  CALL      R5 = call(R5, 0 args, -1 rets)
  0024  SELF      R6 = R4[K11('AppendCallback')] (self)
  0025  CLOSURE   R7 = closure proto0
  0026  CALL      R5 = call(R5, 0 args, 2 rets)
  0027  SETTABLE  R0[K0('m_showColorTransTween')] = R4
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [m_showColorTransTween] ----------
    ; fn ?  line 44-49 np=0 va=0 ms=2 code=7 consts=2 upvals=2 protos=0
    ;   K[0]='m_showColorTransTween'
    ;   K[1]=nil
    ;   upvals: self, callback
    0000  SETTABUP  self[K0('m_showColorTransTween')] = K1(nil)
    0001  GETUPVAL  R0 = self
    0002  TEST      if not R0 then   -> -131068
    0003  JMP       (jump)   -> 6
    0004  GETUPVAL  R0 = self
    0005  CALL      R0 = call(R0, 0 args, 0 rets)
    0006  RETURN    return R0..R-1
; ---------- proto3 [HideColorTransition] ----------
  ; fn ?  line 54-68 np=3 va=0 ms=10 code=23 consts=10 upvals=1 protos=1
  ;   K[0]='m_hideColorTransTween'
  ;   K[1]='Kill'
  ;   K[2]='DOTween'
  ;   K[3]='Sequence'
  ;   K[4]='Append'
  ;   K[5]='m_colorMaskImg'
  ;   K[6]='DOFade'
  ;   K[7]=0
  ;   K[8]=0.5
  ;   K[9]='AppendCallback'
  ;   upvals: _ENV
  ;   locals: self(0-23), callback(0-23), dt(0-23), s(9-23)
  0000  GETTABLE  R3 = R0[K0('m_hideColorTransTween')]
  0001  TEST      if not R3 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R3 = R0[K0('m_hideColorTransTween')]
  0004  SELF      R4 = R3[K1('Kill')] (self)
  0005  CALL      R3 = call(R3, 0 args, 1 rets)
  0006  GETTABUP  R3 = _ENV[K2('DOTween')]
  0007  GETTABLE  R3 = R3[K3('Sequence')]
  0008  CALL      R3 = call(R3, 1 args, 0 rets)
  0009  SELF      R5 = R3[K4('Append')] (self)
  0010  GETTABLE  R6 = R0[K5('m_colorMaskImg')]
  0011  SELF      R7 = R6[K6('DOFade')] (self)
  0012  LOADK     R8 = K7 0
  0013  TESTSET   if R1 then R9   -> -130032
  0014  JMP       (jump)   -> 16
  0015  LOADK     R9 = K8 0.5
  0016  CALL      R6 = call(R6, -1 args, 3 rets)
  0017  CALL      R4 = call(R4, 0 args, -1 rets)
  0018  SELF      R5 = R3[K9('AppendCallback')] (self)
  0019  CLOSURE   R6 = closure proto0
  0020  CALL      R4 = call(R4, 0 args, 2 rets)
  0021  SETTABLE  R0[K0('m_hideColorTransTween')] = R3
  0022  RETURN    return R0..R-1
  ; ---------- proto0 [m_hideColorTransTween] ----------
    ; fn ?  line 61-66 np=0 va=0 ms=2 code=7 consts=2 upvals=2 protos=0
    ;   K[0]='m_hideColorTransTween'
    ;   K[1]=nil
    ;   upvals: self, callback
    0000  SETTABUP  self[K0('m_hideColorTransTween')] = K1(nil)
    0001  GETUPVAL  R0 = self
    0002  TEST      if not R0 then   -> -131068
    0003  JMP       (jump)   -> 6
    0004  GETUPVAL  R0 = self
    0005  CALL      R0 = call(R0, 0 args, 0 rets)
    0006  RETURN    return R0..R-1
; ---------- proto4 [PlayStartVideo] ----------
  ; fn ?  line 70-94 np=1 va=0 ms=6 code=51 consts=25 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='GameConfig'
  ;   K[4]='IsTestMode'
  ;   K[5]='PlayerPrefs'
  ;   K[6]='GetInt'
  ;   K[7]='EPlayerPrefKey'
  ;   K[8]='TestSkipStartVideo'
  ;   K[9]=0
  ;   K[10]=1
  ;   K[11]='_OnVideoFinished'
  ;   K[12]='ConfigModel'
  ;   K[13]='GetCGPath'
  ;   K[14]=nil
  ;   K[15]='File'
  ;   K[16]='Exists'
  ;   K[17]='m_colorMaskImg'
  ;   K[18]='color'
  ;   K[19]='CSColor'
  ;   K[20]='black'
  ;   K[21]='m_cgPlayer'
  ;   K[22]='gameObject'
  ;   K[23]='SetActive'
  ;   K[24]='Play'
  ;   upvals: _ENV
  ;   locals: self(0-51), url(25-51)
  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  GETTABUP  R1 = _ENV[K3('GameConfig')]
  0006  GETTABLE  R1 = R1[K4('IsTestMode')]
  0007  CALL      R1 = call(R1, 1 args, 0 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 21
  0010  GETTABUP  R1 = _ENV[K5('PlayerPrefs')]
  0011  GETTABLE  R1 = R1[K6('GetInt')]
  0012  GETTABUP  R2 = _ENV[K7('EPlayerPrefKey')]
  0013  GETTABLE  R2 = R2[K8('TestSkipStartVideo')]
  0014  LOADK     R3 = K9 0
  0015  CALL      R1 = call(R1, 1 args, 2 rets)
  0016  EQ        if R0 eq K10(1)   -> -130276
  0017  JMP       (jump)   -> 21
  0018  SELF      R2 = R0[K11('_OnVideoFinished')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  RETURN    return R0..R-1
  0021  GETTABUP  R1 = _ENV[K0('GM')]
  0022  GETTABLE  R1 = R1[K12('ConfigModel')]
  0023  SELF      R2 = R1[K13('GetCGPath')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  EQ        if R1 eq K14(nil)   -> -130263
  0026  JMP       (jump)   -> 33
  0027  GETTABUP  R2 = _ENV[K15('File')]
  0028  GETTABLE  R2 = R2[K16('Exists')]
  0029  MOVE      R3 = R0
  0030  CALL      R2 = call(R2, 1 args, 1 rets)
  0031  TEST      if not R2 then   -> -131038
  0032  JMP       (jump)   -> 36
  0033  SELF      R3 = R0[K11('_OnVideoFinished')] (self)
  0034  CALL      R2 = call(R2, 0 args, 1 rets)
  0035  RETURN    return R0..R-1
  0036  GETTABLE  R2 = R0[K17('m_colorMaskImg')]
  0037  GETTABUP  R3 = _ENV[K19('CSColor')]
  0038  GETTABLE  R3 = R3[K20('black')]
  0039  SETTABLE  R2[K18('color')] = R3
  0040  GETTABLE  R2 = R0[K21('m_cgPlayer')]
  0041  GETTABLE  R2 = R2[K22('gameObject')]
  0042  SELF      R3 = R2[K23('SetActive')] (self)
  0043  LOADBOOL  R4 = true
  0044  CALL      R2 = call(R2, 0 args, 2 rets)
  0045  GETTABLE  R2 = R0[K21('m_cgPlayer')]
  0046  SELF      R3 = R2[K24('Play')] (self)
  0047  MOVE      R4 = R0
  0048  CLOSURE   R5 = closure proto0
  0049  CALL      R2 = call(R2, 0 args, 3 rets)
  0050  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 88-93 np=2 va=0 ms=6 code=13 consts=6 upvals=2 protos=0
    ;   K[0]='_OnVideoFinished'
    ;   K[1]='GM'
    ;   K[2]='BIManager'
    ;   K[3]='LogErrorInfo'
    ;   K[4]='EBIType'
    ;   K[5]='PlayStartVideoError'
    ;   upvals: self, _ENV
    ;   locals: success(0-13), msg(0-13)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('_OnVideoFinished')] (self)
    0002  CALL      R2 = call(R2, 0 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 12
    0005  GETTABUP  R2 = _ENV[K1('GM')]
    0006  GETTABLE  R2 = R2[K2('BIManager')]
    0007  SELF      R3 = R2[K3('LogErrorInfo')] (self)
    0008  GETTABUP  R4 = _ENV[K4('EBIType')]
    0009  GETTABLE  R4 = R4[K5('PlayStartVideoError')]
    0010  MOVE      R5 = R0
    0011  CALL      R2 = call(R2, 0 args, 3 rets)
    0012  RETURN    return R0..R-1
; ---------- proto5 [_OnVideoFinished] ----------
  ; fn ?  line 96-101 np=1 va=0 ms=4 code=13 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   K[3]='EventDispatcher'
  ;   K[4]='DispatchEvent'
  ;   K[5]='EEventType'
  ;   K[6]='InitVideoFinished'
  ;   K[7]='HideColorTransition'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  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  GETTABUP  R1 = _ENV[K3('EventDispatcher')]
  0006  GETTABLE  R1 = R1[K4('DispatchEvent')]
  0007  GETTABUP  R2 = _ENV[K5('EEventType')]
  0008  GETTABLE  R2 = R2[K6('InitVideoFinished')]
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SELF      R2 = R0[K7('HideColorTransition')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto6 [IsPlayingVideo] ----------
  ; fn ?  line 103-105 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_cgPlayer'
  ;   K[1]='IsPlayingVideo'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_cgPlayer')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_cgPlayer')]
  0004  SELF      R2 = R1[K1('IsPlayingVideo')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
