# PairRaceActivity_View_PairRaceActivitySculpture_1861.luac
; fn @PairRaceActivitySculpture.lua  line 0-0 np=0 va=1 ms=2 code=27 consts=9 upvals=1 protos=7
;   K[0]='PairRaceActivitySculpture'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='UpdateShow'
;   K[5]='UpdateCurState'
;   K[6]='UpdateSculptureState'
;   K[7]='StartWaterFall'
;   K[8]='UpdateWaterGo'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivitySculpture')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivitySculpture')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('UpdateShow')] = R1
0014  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdateCurState')] = R1
0017  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdateSculptureState')] = R1
0020  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('StartWaterFall')] = R1
0023  GETTABUP  R0 = _ENV[K0('PairRaceActivitySculpture')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdateWaterGo')] = R1
0026  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 12-18 np=4 va=0 ms=8 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='m_bStart'
  ;   K[1]=false
  ;   K[2]='m_model'
  ;   K[3]='UpdateCurState'
  ;   locals: self(0-7), groupId(0-7), index(0-7), model(0-7)
  0000  SETTABLE  R0[K0('m_bStart')] = K1(false)
  0001  SETTABLE  R0[K2('m_model')] = R3
  0002  SELF      R5 = R0[K3('UpdateCurState')] (self)
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  CALL      R4 = call(R4, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 20-25 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_updateSeq'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_updateSeq')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_updateSeq')]
  0004  SELF      R2 = R1[K1('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_updateSeq')] = K2(nil)
  0007  RETURN    return R0..R-1
; ---------- proto2 [UpdateShow] ----------
  ; fn ?  line 27-29 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_sculptureGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), bShowSculpture(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_sculptureGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto3 [UpdateCurState] ----------
  ; fn ?  line 31-33 np=3 va=0 ms=10 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='SpriteUtil'
  ;   K[1]='SetImage'
  ;   K[2]='m_sculptureImg'
  ;   K[3]='ImageFileConfigName'
  ;   K[4]='pairRaceSculpture'
  ;   K[5]='_'
  ;   upvals: _ENV
  ;   locals: self(0-13), groupId(0-13), index(0-13)
  0000  GETTABUP  R3 = _ENV[K0('SpriteUtil')]
  0001  GETTABLE  R3 = R3[K1('SetImage')]
  0002  GETTABLE  R4 = R0[K2('m_sculptureImg')]
  0003  GETTABUP  R5 = _ENV[K3('ImageFileConfigName')]
  0004  LOADK     R6 = K4 'pairRaceSculpture'
  0005  MOVE      R7 = R0
  0006  LOADK     R8 = K5 '_'
  0007  MOVE      R9 = R0
  0008  CONCAT    R6 = concat(R6..R6)
  0009  GETTABLE  R5 = R5[R6]
  0010  LOADBOOL  R6 = true
  0011  CALL      R3 = call(R3, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto4 [UpdateSculptureState] ----------
  ; fn ?  line 35-54 np=3 va=0 ms=9 code=46 consts=20 upvals=1 protos=2
  ;   K[0]='m_hammerAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='Show'
  ;   K[3]='m_updateSeq'
  ;   K[4]='DOTween'
  ;   K[5]='Sequence'
  ;   K[6]='m_smokeEffect'
  ;   K[7]='Play'
  ;   K[8]='Append'
  ;   K[9]='m_sculptureCanvasGroup'
  ;   K[10]='DOFade'
  ;   K[11]=0.5
  ;   K[12]=1
  ;   K[13]='AppendCallback'
  ;   K[14]='AppendInterval'
  ;   K[15]='GM'
  ;   K[16]='AudioModel'
  ;   K[17]='PlayEffect'
  ;   K[18]='AudioFileConfigName'
  ;   K[19]='PairworkStonecarving'
  ;   upvals: _ENV
  ;   locals: self(0-46), groupId(0-46), index(0-46)
  0000  GETTABLE  R3 = R0[K0('m_hammerAnimator')]
  0001  SELF      R4 = R3[K1('SetTrigger')] (self)
  0002  LOADK     R5 = K2 'Show'
  0003  CALL      R3 = call(R3, 0 args, 2 rets)
  0004  GETTABUP  R3 = _ENV[K4('DOTween')]
  0005  GETTABLE  R3 = R3[K5('Sequence')]
  0006  CALL      R3 = call(R3, 1 args, 0 rets)
  0007  SETTABLE  R0[K3('m_updateSeq')] = R3
  0008  GETTABLE  R3 = R0[K6('m_smokeEffect')]
  0009  SELF      R4 = R3[K7('Play')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  GETTABLE  R3 = R0[K3('m_updateSeq')]
  0012  SELF      R4 = R3[K8('Append')] (self)
  0013  GETTABLE  R5 = R0[K9('m_sculptureCanvasGroup')]
  0014  SELF      R6 = R5[K10('DOFade')] (self)
  0015  LOADK     R7 = K11 0.5
  0016  LOADK     R8 = K12 1
  0017  CALL      R5 = call(R5, -1 args, 3 rets)
  0018  CALL      R3 = call(R3, 0 args, -1 rets)
  0019  GETTABLE  R3 = R0[K3('m_updateSeq')]
  0020  SELF      R4 = R3[K13('AppendCallback')] (self)
  0021  CLOSURE   R5 = closure proto0
  0022  CALL      R3 = call(R3, 0 args, 2 rets)
  0023  GETTABLE  R3 = R0[K3('m_updateSeq')]
  0024  SELF      R4 = R3[K8('Append')] (self)
  0025  GETTABLE  R5 = R0[K9('m_sculptureCanvasGroup')]
  0026  SELF      R6 = R5[K10('DOFade')] (self)
  0027  LOADK     R7 = K12 1
  0028  LOADK     R8 = K12 1
  0029  CALL      R5 = call(R5, -1 args, 3 rets)
  0030  CALL      R3 = call(R3, 0 args, -1 rets)
  0031  GETTABLE  R3 = R0[K3('m_updateSeq')]
  0032  SELF      R4 = R3[K14('AppendInterval')] (self)
  0033  LOADK     R5 = K11 0.5
  0034  CALL      R3 = call(R3, 0 args, 2 rets)
  0035  GETTABLE  R3 = R0[K3('m_updateSeq')]
  0036  SELF      R4 = R3[K13('AppendCallback')] (self)
  0037  CLOSURE   R5 = closure proto1
  0038  CALL      R3 = call(R3, 0 args, 2 rets)
  0039  GETTABUP  R3 = _ENV[K15('GM')]
  0040  GETTABLE  R3 = R3[K16('AudioModel')]
  0041  SELF      R4 = R3[K17('PlayEffect')] (self)
  0042  GETTABUP  R5 = _ENV[K18('AudioFileConfigName')]
  0043  GETTABLE  R5 = R5[K19('PairworkStonecarving')]
  0044  CALL      R3 = call(R3, 0 args, 2 rets)
  0045  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 40-44 np=0 va=0 ms=4 code=11 consts=3 upvals=3 protos=0
    ;   K[0]='gameObject'
    ;   K[1]='IsNull'
    ;   K[2]='UpdateCurState'
    ;   upvals: self, groupId, index
    0000  GETTABUP  R0 = self[K0('gameObject')]
    0001  SELF      R1 = R0[K1('IsNull')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 10
    0005  GETUPVAL  R0 = self
    0006  SELF      R1 = R0[K2('UpdateCurState')] (self)
    0007  GETUPVAL  R2 = self
    0008  GETUPVAL  R3 = self
    0009  CALL      R0 = call(R0, 0 args, 3 rets)
    0010  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 47-51 np=0 va=0 ms=3 code=10 consts=4 upvals=2 protos=0
    ;   K[0]='m_model'
    ;   K[1]='GetProcessCount'
    ;   K[2]='m_finishEffect'
    ;   K[3]='Play'
    ;   upvals: index, self
    0000  GETUPVAL  R0 = index
    0001  GETTABUP  R1 = self[K0('m_model')]
    0002  SELF      R2 = R1[K1('GetProcessCount')] (self)
    0003  CALL      R1 = call(R1, 1 args, 1 rets)
    0004  EQ        if R0 eq R1   -> -131065
    0005  JMP       (jump)   -> 9
    0006  GETTABUP  R0 = self[K2('m_finishEffect')]
    0007  SELF      R1 = R0[K3('Play')] (self)
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  RETURN    return R0..R-1
; ---------- proto5 [StartWaterFall] ----------
  ; fn ?  line 57-60 np=1 va=0 ms=4 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='UpdateWaterGo'
  ;   K[1]='m_waterEffect'
  ;   K[2]='Play'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('UpdateWaterGo')] (self)
  0001  LOADBOOL  R3 = true
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  GETTABLE  R1 = R0[K1('m_waterEffect')]
  0004  SELF      R2 = R1[K2('Play')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto6 [UpdateWaterGo] ----------
  ; fn ?  line 62-64 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_waterGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), bShowWater(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_waterGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
