# UI_Window_Tutorial_TutorialBoardContainer_700.luac
; fn @TutorialBoardContainer.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='TutorialBoardContainer'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='Update'
;   K[5]='UpdatePerSecond'
;   K[6]='_PlayTutorialBoardAnimation'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('TutorialBoardContainer')] = R0
0002  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0003  GETTABUP  R1 = _ENV[K0('TutorialBoardContainer')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('Update')] = R1
0014  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdatePerSecond')] = R1
0017  GETTABUP  R0 = _ENV[K0('TutorialBoardContainer')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('_PlayTutorialBoardAnimation')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 4-16 np=3 va=0 ms=7 code=22 consts=13 upvals=1 protos=1
  ;   K[0]='m_tutorialBoardData'
  ;   K[1]='require'
  ;   K[2]='Model.TutorialBoard.'
  ;   K[3]='m_onAnimationCompleted'
  ;   K[4]='m_descriptionText'
  ;   K[5]='text'
  ;   K[6]='GM'
  ;   K[7]='GameTextModel'
  ;   K[8]='GetText'
  ;   K[9]='Description'
  ;   K[10]='m_coroutine'
  ;   K[11]='coroutine'
  ;   K[12]='create'
  ;   upvals: _ENV
  ;   locals: self(0-22), tutorialBoardName(0-22), onAnimationCompleted(0-22), func(16-22)
  0000  GETTABUP  R3 = _ENV[K1('require')]
  0001  LOADK     R4 = K2 'Model.TutorialBoard.'
  0002  MOVE      R5 = R0
  0003  CONCAT    R4 = concat(R4..R4)
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  SETTABLE  R0[K0('m_tutorialBoardData')] = R3
  0006  SETTABLE  R0[K3('m_onAnimationCompleted')] = R2
  0007  GETTABLE  R3 = R0[K4('m_descriptionText')]
  0008  GETTABUP  R4 = _ENV[K6('GM')]
  0009  GETTABLE  R4 = R4[K7('GameTextModel')]
  0010  SELF      R5 = R4[K8('GetText')] (self)
  0011  GETTABLE  R6 = R0[K0('m_tutorialBoardData')]
  0012  GETTABLE  R6 = R6[K9('Description')]
  0013  CALL      R4 = call(R4, 1 args, 2 rets)
  0014  SETTABLE  R3[K5('text')] = R4
  0015  CLOSURE   R3 = closure proto0
  0016  GETTABUP  R4 = _ENV[K11('coroutine')]
  0017  GETTABLE  R4 = R4[K12('create')]
  0018  MOVE      R5 = R0
  0019  CALL      R4 = call(R4, 1 args, 1 rets)
  0020  SETTABLE  R0[K10('m_coroutine')] = R4
  0021  RETURN    return R0..R-1
  ; ---------- proto0 [m_coroutine] ----------
    ; fn ?  line 10-14 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='_PlayTutorialBoardAnimation'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_PlayTutorialBoardAnimation')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  JMP       (jump)   -> 0
    0004  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 18-24 np=1 va=0 ms=3 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_tween'
  ;   K[1]=nil
  ;   K[2]='Kill'
  ;   K[3]='TutorialBoardHelper'
  ;   K[4]='End'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_tween')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_tween')]
  0004  SELF      R2 = R1[K2('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABUP  R1 = _ENV[K3('TutorialBoardHelper')]
  0007  GETTABLE  R1 = R1[K4('End')]
  0008  CALL      R1 = call(R1, 0 args, 0 rets)
  0009  RETURN    return R0..R-1
; ---------- proto2 [Update] ----------
  ; fn ?  line 26-43 np=1 va=0 ms=7 code=32 consts=9 upvals=1 protos=0
  ;   K[0]='m_coroutine'
  ;   K[1]=nil
  ;   K[2]='m_tween'
  ;   K[3]='IsActive'
  ;   K[4]='coroutine'
  ;   K[5]='resume'
  ;   K[6]='Log'
  ;   K[7]='Assert'
  ;   K[8]='引导棋盘执行错误：\n'
  ;   upvals: _ENV
  ;   locals: self(0-32), success(20-31), argument(20-31)
  0000  GETTABLE  R1 = R0[K0('m_coroutine')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K2('m_tween')]
  0005  EQ        if R1 eq K1(nil)   -> -130296
  0006  JMP       (jump)   -> 13
  0007  GETTABLE  R1 = R0[K2('m_tween')]
  0008  SELF      R2 = R1[K3('IsActive')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  SETTABLE  R0[K2('m_tween')] = K1(nil)
  0013  GETTABLE  R1 = R0[K2('m_tween')]
  0014  EQ        if R0 eq K1(nil)   -> -130287
  0015  JMP       (jump)   -> 31
  0016  GETTABUP  R1 = _ENV[K4('coroutine')]
  0017  GETTABLE  R1 = R1[K5('resume')]
  0018  GETTABLE  R2 = R0[K0('m_coroutine')]
  0019  CALL      R1 = call(R1, 2 args, 1 rets)
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 24
  0022  SETTABLE  R0[K2('m_tween')] = R2
  0023  JMP       (jump)   -> 31
  0024  GETTABUP  R3 = _ENV[K6('Log')]
  0025  GETTABLE  R3 = R3[K7('Assert')]
  0026  LOADBOOL  R4 = false
  0027  LOADK     R5 = K8 '引导棋盘执行错误：\n'
  0028  MOVE      R6 = R0
  0029  CONCAT    R5 = concat(R5..R5)
  0030  CALL      R3 = call(R3, 0 args, 2 rets)
  0031  RETURN    return R0..R-1
; ---------- proto3 [UpdatePerSecond] ----------
  ; fn ?  line 45-51 np=1 va=0 ms=2 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='m_coroutine'
  ;   K[1]=nil
  ;   K[2]='TutorialBoardHelper'
  ;   K[3]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_coroutine')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K2('TutorialBoardHelper')]
  0005  GETTABLE  R1 = R1[K3('UpdatePerSecond')]
  0006  CALL      R1 = call(R1, 0 args, 0 rets)
  0007  RETURN    return R0..R-1
; ---------- proto4 [_PlayTutorialBoardAnimation] ----------
  ; fn ?  line 53-67 np=1 va=0 ms=6 code=37 consts=15 upvals=1 protos=0
  ;   K[0]='TutorialBoardHelper'
  ;   K[1]='Start'
  ;   K[2]='m_tutorialBoardData'
  ;   K[3]='Init'
  ;   K[4]='Show'
  ;   K[5]='coroutine'
  ;   K[6]='yield'
  ;   K[7]='m_boardImage'
  ;   K[8]='DOFade'
  ;   K[9]=1
  ;   K[10]='Pass'
  ;   K[11]=0
  ;   K[12]='End'
  ;   K[13]='m_onAnimationCompleted'
  ;   K[14]=nil
  ;   upvals: _ENV
  ;   locals: self(0-37)
  0000  GETTABUP  R1 = _ENV[K0('TutorialBoardHelper')]
  0001  GETTABLE  R1 = R1[K1('Start')]
  0002  CALL      R1 = call(R1, 0 args, 0 rets)
  0003  GETTABLE  R1 = R0[K2('m_tutorialBoardData')]
  0004  GETTABLE  R1 = R1[K3('Init')]
  0005  CALL      R1 = call(R1, 0 args, 0 rets)
  0006  GETTABUP  R1 = _ENV[K0('TutorialBoardHelper')]
  0007  GETTABLE  R1 = R1[K4('Show')]
  0008  CALL      R1 = call(R1, 0 args, 0 rets)
  0009  GETTABUP  R1 = _ENV[K5('coroutine')]
  0010  GETTABLE  R1 = R1[K6('yield')]
  0011  GETTABLE  R2 = R0[K7('m_boardImage')]
  0012  SELF      R3 = R2[K8('DOFade')] (self)
  0013  LOADK     R4 = K9 1
  0014  LOADK     R5 = K9 1
  0015  CALL      R2 = call(R2, -1 args, 3 rets)
  0016  CALL      R1 = call(R1, 0 args, -1 rets)
  0017  GETTABLE  R1 = R0[K2('m_tutorialBoardData')]
  0018  GETTABLE  R1 = R1[K10('Pass')]
  0019  CALL      R1 = call(R1, 0 args, 0 rets)
  0020  GETTABUP  R1 = _ENV[K5('coroutine')]
  0021  GETTABLE  R1 = R1[K6('yield')]
  0022  GETTABLE  R2 = R0[K7('m_boardImage')]
  0023  SELF      R3 = R2[K8('DOFade')] (self)
  0024  LOADK     R4 = K11 0
  0025  LOADK     R5 = K9 1
  0026  CALL      R2 = call(R2, -1 args, 3 rets)
  0027  CALL      R1 = call(R1, 0 args, -1 rets)
  0028  GETTABUP  R1 = _ENV[K0('TutorialBoardHelper')]
  0029  GETTABLE  R1 = R1[K12('End')]
  0030  CALL      R1 = call(R1, 0 args, 0 rets)
  0031  GETTABLE  R1 = R0[K13('m_onAnimationCompleted')]
  0032  EQ        if R1 eq K14(nil)   -> -130256
  0033  JMP       (jump)   -> 36
  0034  GETTABLE  R1 = R0[K13('m_onAnimationCompleted')]
  0035  CALL      R1 = call(R1, 0 args, 0 rets)
  0036  RETURN    return R0..R-1
