# UI_Window_Story_StoryComponent_545.luac
; fn @StoryComponent.lua  line 0-0 np=0 va=1 ms=2 code=34 consts=15 upvals=1 protos=8
;   K[0]='StoryComponent'
;   K[1]='__index'
;   K[2]='EStoryComponentType'
;   K[3]='Left'
;   K[4]='left'
;   K[5]='Right'
;   K[6]='right'
;   K[7]='Init'
;   K[8]='SetInitState'
;   K[9]='OnDestroy'
;   K[10]='GetType'
;   K[11]='UpdateContent'
;   K[12]='Enter'
;   K[13]='Leave'
;   K[14]='TryKillSequence'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('StoryComponent')] = R0
0002  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0003  GETTABUP  R1 = _ENV[K0('StoryComponent')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K3('Left')] = K4('left')
0007  SETTABLE  R0[K5('Right')] = K6('right')
0008  SETTABUP  _ENV[K2('EStoryComponentType')] = R0
0009  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K7('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K8('SetInitState')] = R1
0015  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K9('OnDestroy')] = R1
0018  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K10('GetType')] = R1
0021  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K11('UpdateContent')] = R1
0024  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K12('Enter')] = R1
0027  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K13('Leave')] = R1
0030  GETTABUP  R0 = _ENV[K0('StoryComponent')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K14('TryKillSequence')] = R1
0033  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 10-12 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='SetInitState'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('SetInitState')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto1 [SetInitState] ----------
  ; fn ?  line 14-19 np=1 va=0 ms=4 code=13 consts=10 upvals=0 protos=0
  ;   K[0]='m_bgImg'
  ;   K[1]='transform'
  ;   K[2]='SetLocalScaleY'
  ;   K[3]=0
  ;   K[4]='m_avatarImg'
  ;   K[5]='SetLocalScaleXY'
  ;   K[6]=0.8
  ;   K[7]='m_canvasGroup'
  ;   K[8]='alpha'
  ;   K[9]=1
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_bgImg')]
  0001  GETTABLE  R1 = R1[K1('transform')]
  0002  SELF      R2 = R1[K2('SetLocalScaleY')] (self)
  0003  LOADK     R3 = K3 0
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABLE  R1 = R0[K4('m_avatarImg')]
  0006  GETTABLE  R1 = R1[K1('transform')]
  0007  SELF      R2 = R1[K5('SetLocalScaleXY')] (self)
  0008  LOADK     R3 = K6 0.8
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  GETTABLE  R1 = R0[K7('m_canvasGroup')]
  0011  SETTABLE  R1[K8('alpha')] = K9(1)
  0012  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 21-33 np=1 va=0 ms=3 code=17 consts=5 upvals=0 protos=0
  ;   K[0]='TryKillSequence'
  ;   K[1]='m_arrowTween'
  ;   K[2]='Kill'
  ;   K[3]=nil
  ;   K[4]='m_textTween'
  ;   locals: self(0-17)
  0000  SELF      R2 = R0[K0('TryKillSequence')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_arrowTween')]
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 9
  0005  GETTABLE  R1 = R0[K1('m_arrowTween')]
  0006  SELF      R2 = R1[K2('Kill')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SETTABLE  R0[K1('m_arrowTween')] = K3(nil)
  0009  GETTABLE  R1 = R0[K4('m_textTween')]
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 16
  0012  GETTABLE  R1 = R0[K4('m_textTween')]
  0013  SELF      R2 = R1[K2('Kill')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  SETTABLE  R0[K4('m_textTween')] = K3(nil)
  0016  RETURN    return R0..R-1
; ---------- proto3 [GetType] ----------
  ; fn ?  line 35-37 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_type'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_type')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [UpdateContent] ----------
  ; fn ?  line 39-58 np=2 va=0 ms=10 code=41 consts=20 upvals=1 protos=0
  ;   K[0]='m_stepData'
  ;   K[1]='speaker'
  ;   K[2]='SpriteUtil'
  ;   K[3]='SetImage'
  ;   K[4]='m_avatarImg'
  ;   K[5]='ImageFileConfigName'
  ;   K[6]='GetContentText'
  ;   K[7]='string'
  ;   K[8]='len'
  ;   K[9]='math'
  ;   K[10]='min'
  ;   K[11]=0.6
  ;   K[12]=280
  ;   K[13]='m_textTween'
  ;   K[14]='Kill'
  ;   K[15]=nil
  ;   K[16]='m_contentText'
  ;   K[17]='text'
  ;   K[18]=''
  ;   K[19]='DOText'
  ;   upvals: _ENV
  ;   locals: self(0-41), stepData(0-41), contentText(15-41), contentSize(19-41), dt(24-41)
  0000  SETTABLE  R0[K0('m_stepData')] = R1
  0001  GETTABLE  R2 = R1[K1('speaker')]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 12
  0004  GETTABUP  R2 = _ENV[K2('SpriteUtil')]
  0005  GETTABLE  R2 = R2[K3('SetImage')]
  0006  GETTABLE  R3 = R0[K4('m_avatarImg')]
  0007  GETTABUP  R4 = _ENV[K5('ImageFileConfigName')]
  0008  GETTABLE  R5 = R1[K1('speaker')]
  0009  GETTABLE  R4 = R4[R5]
  0010  LOADBOOL  R5 = true
  0011  CALL      R2 = call(R2, 0 args, 3 rets)
  0012  GETTABLE  R2 = R0[K0('m_stepData')]
  0013  SELF      R3 = R2[K6('GetContentText')] (self)
  0014  CALL      R2 = call(R2, 1 args, 1 rets)
  0015  GETTABUP  R3 = _ENV[K7('string')]
  0016  GETTABLE  R3 = R3[K8('len')]
  0017  MOVE      R4 = R0
  0018  CALL      R3 = call(R3, 1 args, 1 rets)
  0019  GETTABUP  R4 = _ENV[K9('math')]
  0020  GETTABLE  R4 = R4[K10('min')]
  0021  LOADK     R5 = K11 0.6
  0022  DIV       R6 = K12(280) div R3
  0023  CALL      R4 = call(R4, 1 args, 2 rets)
  0024  GETTABLE  R5 = R0[K13('m_textTween')]
  0025  TEST      if not R5 then   -> -131045
  0026  JMP       (jump)   -> 31
  0027  GETTABLE  R5 = R0[K13('m_textTween')]
  0028  SELF      R6 = R5[K14('Kill')] (self)
  0029  CALL      R5 = call(R5, 0 args, 1 rets)
  0030  SETTABLE  R0[K13('m_textTween')] = K15(nil)
  0031  GETTABLE  R5 = R0[K16('m_contentText')]
  0032  SETTABLE  R5[K17('text')] = K18('')
  0033  GETTABLE  R5 = R0[K16('m_contentText')]
  0034  SELF      R6 = R5[K19('DOText')] (self)
  0035  MOVE      R7 = R0
  0036  MOVE      R8 = R0
  0037  LOADBOOL  R9 = true
  0038  CALL      R5 = call(R5, 1 args, 4 rets)
  0039  SETTABLE  R0[K13('m_textTween')] = R5
  0040  RETURN    return R0..R-1
; ---------- proto5 [Enter] ----------
  ; fn ?  line 64-88 np=2 va=0 ms=9 code=61 consts=26 upvals=1 protos=1
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='m_stepData'
  ;   K[3]=nil
  ;   K[4]='剧情步骤数据缺失'
  ;   K[5]='TryKillSequence'
  ;   K[6]='m_canvasGroup'
  ;   K[7]='alpha'
  ;   K[8]=1
  ;   K[9]='DOTween'
  ;   K[10]='Sequence'
  ;   K[11]='Append'
  ;   K[12]='m_bgImg'
  ;   K[13]='transform'
  ;   K[14]='DOScaleY'
  ;   K[15]=0
  ;   K[16]='Join'
  ;   K[17]='m_avatarImg'
  ;   K[18]='DOScale'
  ;   K[19]=0.8
  ;   K[20]=0.4
  ;   K[21]='SetEase'
  ;   K[22]='Ease'
  ;   K[23]='OutBack'
  ;   K[24]='AppendCallback'
  ;   K[25]='m_sequence'
  ;   upvals: _ENV
  ;   locals: self(0-61), onFinish(0-61), sequence(16-61)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Assert')]
  0002  GETTABLE  R3 = R0[K2('m_stepData')]
  0003  EQ        if R0 eq K3(nil)   -> -129272
  0004  JMP       (jump)   -> 6
  0005  LOADBOOL  R3 = false
  0006  LOADBOOL  R3 = true
  0007  LOADK     R4 = K4 '剧情步骤数据缺失'
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  SELF      R3 = R0[K5('TryKillSequence')] (self)
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  GETTABLE  R2 = R0[K6('m_canvasGroup')]
  0012  SETTABLE  R2[K7('alpha')] = K8(1)
  0013  GETTABUP  R2 = _ENV[K9('DOTween')]
  0014  GETTABLE  R2 = R2[K10('Sequence')]
  0015  CALL      R2 = call(R2, 1 args, 0 rets)
  0016  SELF      R4 = R2[K11('Append')] (self)
  0017  GETTABLE  R5 = R0[K12('m_bgImg')]
  0018  GETTABLE  R5 = R5[K13('transform')]
  0019  SELF      R6 = R5[K14('DOScaleY')] (self)
  0020  LOADK     R7 = K15 0
  0021  LOADK     R8 = K15 0
  0022  CALL      R5 = call(R5, -1 args, 3 rets)
  0023  CALL      R3 = call(R3, 0 args, -1 rets)
  0024  SELF      R4 = R2[K16('Join')] (self)
  0025  GETTABLE  R5 = R0[K17('m_avatarImg')]
  0026  GETTABLE  R5 = R5[K13('transform')]
  0027  SELF      R6 = R5[K18('DOScale')] (self)
  0028  LOADK     R7 = K19 0.8
  0029  LOADK     R8 = K15 0
  0030  CALL      R5 = call(R5, -1 args, 3 rets)
  0031  CALL      R3 = call(R3, 0 args, -1 rets)
  0032  SELF      R4 = R2[K11('Append')] (self)
  0033  GETTABLE  R5 = R0[K12('m_bgImg')]
  0034  GETTABLE  R5 = R5[K13('transform')]
  0035  SELF      R6 = R5[K14('DOScaleY')] (self)
  0036  LOADK     R7 = K8 1
  0037  LOADK     R8 = K20 0.4
  0038  CALL      R5 = call(R5, 1 args, 3 rets)
  0039  SELF      R6 = R5[K21('SetEase')] (self)
  0040  GETTABUP  R7 = _ENV[K22('Ease')]
  0041  GETTABLE  R7 = R7[K23('OutBack')]
  0042  CALL      R5 = call(R5, -1 args, 2 rets)
  0043  CALL      R3 = call(R3, 0 args, -1 rets)
  0044  SELF      R4 = R2[K16('Join')] (self)
  0045  GETTABLE  R5 = R0[K17('m_avatarImg')]
  0046  GETTABLE  R5 = R5[K13('transform')]
  0047  SELF      R6 = R5[K18('DOScale')] (self)
  0048  LOADK     R7 = K8 1
  0049  LOADK     R8 = K20 0.4
  0050  CALL      R5 = call(R5, 1 args, 3 rets)
  0051  SELF      R6 = R5[K21('SetEase')] (self)
  0052  GETTABUP  R7 = _ENV[K22('Ease')]
  0053  GETTABLE  R7 = R7[K23('OutBack')]
  0054  CALL      R5 = call(R5, -1 args, 2 rets)
  0055  CALL      R3 = call(R3, 0 args, -1 rets)
  0056  SELF      R4 = R2[K24('AppendCallback')] (self)
  0057  CLOSURE   R5 = closure proto0
  0058  CALL      R3 = call(R3, 0 args, 2 rets)
  0059  SETTABLE  R0[K25('m_sequence')] = R2
  0060  RETURN    return R0..R-1
  ; ---------- proto0 [m_sequence] ----------
    ; fn ?  line 82-86 np=0 va=0 ms=2 code=6 consts=0 upvals=1 protos=0
    ;   upvals: onFinish
    0000  GETUPVAL  R0 = onFinish
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 5
    0003  GETUPVAL  R0 = onFinish
    0004  CALL      R0 = call(R0, 0 args, 0 rets)
    0005  RETURN    return R0..R-1
; ---------- proto6 [Leave] ----------
  ; fn ?  line 90-118 np=2 va=0 ms=9 code=31 consts=18 upvals=1 protos=1
  ;   K[0]='TryKillSequence'
  ;   K[1]='m_textTween'
  ;   K[2]='Complete'
  ;   K[3]=nil
  ;   K[4]='GM'
  ;   K[5]='AudioModel'
  ;   K[6]='PlayEffect'
  ;   K[7]='AudioFileConfigName'
  ;   K[8]='sfxDialoguePopout'
  ;   K[9]='DOTween'
  ;   K[10]='Sequence'
  ;   K[11]='Append'
  ;   K[12]='m_canvasGroup'
  ;   K[13]='DOFade'
  ;   K[14]=0
  ;   K[15]=0.2
  ;   K[16]='AppendCallback'
  ;   K[17]='m_sequence'
  ;   upvals: _ENV
  ;   locals: self(0-31), onFinish(0-31), sequence(19-31)
  0000  SELF      R3 = R0[K0('TryKillSequence')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_textTween')]
  0003  TEST      if not R2 then   -> -131067
  0004  JMP       (jump)   -> 10
  0005  GETTABLE  R2 = R0[K1('m_textTween')]
  0006  SELF      R3 = R2[K2('Complete')] (self)
  0007  LOADBOOL  R4 = true
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  SETTABLE  R0[K1('m_textTween')] = K3(nil)
  0010  GETTABUP  R2 = _ENV[K4('GM')]
  0011  GETTABLE  R2 = R2[K5('AudioModel')]
  0012  SELF      R3 = R2[K6('PlayEffect')] (self)
  0013  GETTABUP  R4 = _ENV[K7('AudioFileConfigName')]
  0014  GETTABLE  R4 = R4[K8('sfxDialoguePopout')]
  0015  CALL      R2 = call(R2, 0 args, 2 rets)
  0016  GETTABUP  R2 = _ENV[K9('DOTween')]
  0017  GETTABLE  R2 = R2[K10('Sequence')]
  0018  CALL      R2 = call(R2, 1 args, 0 rets)
  0019  SELF      R4 = R2[K11('Append')] (self)
  0020  GETTABLE  R5 = R0[K12('m_canvasGroup')]
  0021  SELF      R6 = R5[K13('DOFade')] (self)
  0022  LOADK     R7 = K14 0
  0023  LOADK     R8 = K15 0.2
  0024  CALL      R5 = call(R5, -1 args, 3 rets)
  0025  CALL      R3 = call(R3, 0 args, -1 rets)
  0026  SELF      R4 = R2[K16('AppendCallback')] (self)
  0027  CLOSURE   R5 = closure proto0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  SETTABLE  R0[K17('m_sequence')] = R2
  0030  RETURN    return R0..R-1
  ; ---------- proto0 [m_sequence] ----------
    ; fn ?  line 111-116 np=0 va=0 ms=2 code=8 consts=3 upvals=2 protos=0
    ;   K[0]='m_avatarImg'
    ;   K[1]='enabled'
    ;   K[2]=false
    ;   upvals: self, onFinish
    0000  GETTABUP  R0 = self[K0('m_avatarImg')]
    0001  SETTABLE  R0[K1('enabled')] = K2(false)
    0002  GETUPVAL  R0 = self
    0003  TEST      if not R0 then   -> -131067
    0004  JMP       (jump)   -> 7
    0005  GETUPVAL  R0 = self
    0006  CALL      R0 = call(R0, 0 args, 0 rets)
    0007  RETURN    return R0..R-1
; ---------- proto7 [TryKillSequence] ----------
  ; fn ?  line 120-125 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_sequence'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_sequence')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_sequence')]
  0004  SELF      R2 = R1[K1('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_sequence')] = K2(nil)
  0007  RETURN    return R0..R-1
