# CrashRace_View_CrashRacePkSlider_1076.luac
; fn @CrashRacePkSlider.lua  line 0-0 np=0 va=1 ms=2 code=30 consts=10 upvals=1 protos=8
;   K[0]='CrashRacePkSlider'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='UpdateContent'
;   K[5]='UpdatePlayerContent'
;   K[6]='UpdatePlayerContentByHpNum'
;   K[7]='UpdateOwnContent'
;   K[8]='PlayHitCompetitorAnim'
;   K[9]='PlayHitOwnAnim'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('CrashRacePkSlider')] = R0
0002  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0003  GETTABUP  R1 = _ENV[K0('CrashRacePkSlider')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('UpdateContent')] = R1
0014  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdatePlayerContent')] = R1
0017  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdatePlayerContentByHpNum')] = R1
0020  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdateOwnContent')] = R1
0023  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('PlayHitCompetitorAnim')] = R1
0026  GETTABUP  R0 = _ENV[K0('CrashRacePkSlider')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('PlayHitOwnAnim')] = R1
0029  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-12 np=2 va=0 ms=4 code=8 consts=6 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_sliderMaxWidth'
  ;   K[2]='m_ownSliderRect'
  ;   K[3]='sizeDelta'
  ;   K[4]='x'
  ;   K[5]='UpdateContent'
  ;   locals: self(0-8), model(0-8)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  GETTABLE  R2 = R0[K2('m_ownSliderRect')]
  0002  GETTABLE  R2 = R2[K3('sizeDelta')]
  0003  GETTABLE  R2 = R2[K4('x')]
  0004  SETTABLE  R0[K1('m_sliderMaxWidth')] = R2
  0005  SELF      R3 = R0[K5('UpdateContent')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 14-20 np=1 va=0 ms=3 code=12 consts=5 upvals=1 protos=0
  ;   K[0]='Scheduler'
  ;   K[1]='UnscheduleTarget'
  ;   K[2]='m_competitorSeq'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   upvals: _ENV
  ;   locals: self(0-12)
  0000  GETTABUP  R1 = _ENV[K0('Scheduler')]
  0001  GETTABLE  R1 = R1[K1('UnscheduleTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_competitorSeq')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_competitorSeq')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_competitorSeq')] = K3(nil)
  0011  RETURN    return R0..R-1
; ---------- proto2 [UpdateContent] ----------
  ; fn ?  line 22-25 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='UpdatePlayerContent'
  ;   K[1]='UpdateOwnContent'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('UpdatePlayerContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('UpdateOwnContent')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [UpdatePlayerContent] ----------
  ; fn ?  line 27-36 np=1 va=0 ms=5 code=17 consts=6 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='IsInRace'
  ;   K[3]='GetPlayerHpNum'
  ;   K[4]='UpdatePlayerContentByHpNum'
  ;   K[5]='m_curPlayerHpNum'
  ;   locals: self(0-17), playerHpNum(12-17)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K2('IsInRace')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABLE  R1 = R0[K0('m_model')]
  0010  SELF      R2 = R1[K3('GetPlayerHpNum')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  SELF      R3 = R0[K4('UpdatePlayerContentByHpNum')] (self)
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 0 args, 2 rets)
  0015  SETTABLE  R0[K5('m_curPlayerHpNum')] = R1
  0016  RETURN    return R0..R-1
; ---------- proto4 [UpdatePlayerContentByHpNum] ----------
  ; fn ?  line 38-48 np=2 va=0 ms=7 code=21 consts=10 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetTargetScore'
  ;   K[3]='m_playerHpNumText'
  ;   K[4]='text'
  ;   K[5]=0
  ;   K[6]='UIUtil'
  ;   K[7]='SetSizeDelta'
  ;   K[8]='m_playerSliderRect'
  ;   K[9]='m_sliderMaxWidth'
  ;   upvals: _ENV
  ;   locals: self(0-21), playerHpNum(0-21), maxHpNum(7-21)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R2 = R0[K0('m_model')]
  0005  SELF      R3 = R2[K2('GetTargetScore')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABLE  R3 = R0[K3('m_playerHpNumText')]
  0008  SETTABLE  R3[K4('text')] = R1
  0009  EQ        if R1 eq K1(nil)   -> -129780
  0010  JMP       (jump)   -> 20
  0011  LT        if R0 lt R2   -> 2575
  0012  JMP       (jump)   -> 20
  0013  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0014  GETTABLE  R3 = R3[K7('SetSizeDelta')]
  0015  GETTABLE  R4 = R0[K8('m_playerSliderRect')]
  0016  DIV       R5 = R2 div R1
  0017  GETTABLE  R6 = R0[K9('m_sliderMaxWidth')]
  0018  MUL       R5 = R6 mul R5
  0019  CALL      R3 = call(R3, 0 args, 2 rets)
  0020  RETURN    return R0..R-1
; ---------- proto5 [UpdateOwnContent] ----------
  ; fn ?  line 50-68 np=2 va=0 ms=8 code=54 consts=17 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='IsInRace'
  ;   K[3]='IsFailed'
  ;   K[4]='GetOwnHpNum'
  ;   K[5]='HasNetwork'
  ;   K[6]='GetLastOwnHpForEntry'
  ;   K[7]='GetTargetScoreByRound'
  ;   K[8]='GetTargetScore'
  ;   K[9]='m_ownHpNumText'
  ;   K[10]='text'
  ;   K[11]=0
  ;   K[12]='UIUtil'
  ;   K[13]='SetSizeDelta'
  ;   K[14]='m_ownSliderRect'
  ;   K[15]='m_sliderMaxWidth'
  ;   K[16]='m_curOwnHpNum'
  ;   upvals: _ENV
  ;   locals: self(0-54), round(0-54), ownHpNum(18-54), maxHpNum(39-54)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 13
  0003  GETTABLE  R2 = R0[K0('m_model')]
  0004  SELF      R3 = R2[K2('IsInRace')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 14
  0008  GETTABLE  R2 = R0[K0('m_model')]
  0009  SELF      R3 = R2[K3('IsFailed')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131058
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R2 = R0[K0('m_model')]
  0015  SELF      R3 = R2[K4('GetOwnHpNum')] (self)
  0016  MOVE      R4 = R0
  0017  CALL      R2 = call(R2, 1 args, 2 rets)
  0018  GETTABLE  R3 = R0[K0('m_model')]
  0019  SELF      R4 = R3[K5('HasNetwork')] (self)
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  TEST      if not R3 then   -> -131048
  0022  JMP       (jump)   -> 28
  0023  GETTABLE  R3 = R0[K0('m_model')]
  0024  SELF      R4 = R3[K6('GetLastOwnHpForEntry')] (self)
  0025  MOVE      R5 = R0
  0026  CALL      R3 = call(R3, 1 args, 2 rets)
  0027  MOVE      R2 = R0
  0028  EQ        if R1 eq K1(nil)   -> -130273
  0029  JMP       (jump)   -> 36
  0030  GETTABLE  R3 = R0[K0('m_model')]
  0031  SELF      R4 = R3[K7('GetTargetScoreByRound')] (self)
  0032  MOVE      R5 = R0
  0033  CALL      R3 = call(R3, 1 args, 2 rets)
  0034  TEST      if not R3 then   -> -131035
  0035  JMP       (jump)   -> 39
  0036  GETTABLE  R3 = R0[K0('m_model')]
  0037  SELF      R4 = R3[K8('GetTargetScore')] (self)
  0038  CALL      R3 = call(R3, 1 args, 1 rets)
  0039  GETTABLE  R4 = R0[K9('m_ownHpNumText')]
  0040  SETTABLE  R4[K10('text')] = R2
  0041  EQ        if R1 eq K1(nil)   -> -129236
  0042  JMP       (jump)   -> 52
  0043  LT        if R0 lt R3   -> 5680
  0044  JMP       (jump)   -> 52
  0045  GETTABUP  R4 = _ENV[K12('UIUtil')]
  0046  GETTABLE  R4 = R4[K13('SetSizeDelta')]
  0047  GETTABLE  R5 = R0[K14('m_ownSliderRect')]
  0048  DIV       R6 = R3 div R2
  0049  GETTABLE  R7 = R0[K15('m_sliderMaxWidth')]
  0050  MUL       R6 = R7 mul R6
  0051  CALL      R4 = call(R4, 0 args, 2 rets)
  0052  SETTABLE  R0[K16('m_curOwnHpNum')] = R2
  0053  RETURN    return R0..R-1
; ---------- proto6 [PlayHitCompetitorAnim] ----------
  ; fn ?  line 70-89 np=2 va=0 ms=9 code=32 consts=14 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetTargetScore'
  ;   K[2]='GetPlayerHpNum'
  ;   K[3]='m_curPlayerHpNum'
  ;   K[4]=nil
  ;   K[5]='m_damageText2'
  ;   K[6]='Init'
  ;   K[7]=1
  ;   K[8]='DOTween'
  ;   K[9]='Sequence'
  ;   K[10]='AppendInterval'
  ;   K[11]=0
  ;   K[12]='AppendCallback'
  ;   K[13]='m_competitorSeq'
  ;   upvals: _ENV
  ;   locals: self(0-32), delay(0-32), maxHpNum(3-32), playerHpNum(6-32), duration(19-32), seq(22-32)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('GetTargetScore')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R3 = R0[K0('m_model')]
  0004  SELF      R4 = R3[K2('GetPlayerHpNum')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  GETTABLE  R4 = R0[K3('m_curPlayerHpNum')]
  0007  EQ        if R1 eq K4(nil)   -> -128755
  0008  JMP       (jump)   -> 12
  0009  GETTABLE  R4 = R0[K3('m_curPlayerHpNum')]
  0010  EQ        if R0 eq R3   -> -129009
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  GETTABLE  R4 = R0[K5('m_damageText2')]
  0014  SELF      R5 = R4[K6('Init')] (self)
  0015  GETTABLE  R6 = R0[K3('m_curPlayerHpNum')]
  0016  SUB       R6 = R3 sub R6
  0017  CALL      R4 = call(R4, 0 args, 2 rets)
  0018  LOADK     R4 = K7 1
  0019  GETTABUP  R5 = _ENV[K8('DOTween')]
  0020  GETTABLE  R5 = R5[K9('Sequence')]
  0021  CALL      R5 = call(R5, 1 args, 0 rets)
  0022  SELF      R7 = R5[K10('AppendInterval')] (self)
  0023  TESTSET   if R1 then R8   -> -130534
  0024  JMP       (jump)   -> 26
  0025  LOADK     R8 = K11 0
  0026  CALL      R6 = call(R6, 0 args, 2 rets)
  0027  SELF      R7 = R5[K12('AppendCallback')] (self)
  0028  CLOSURE   R8 = closure proto0
  0029  CALL      R6 = call(R6, 0 args, 2 rets)
  0030  SETTABLE  R0[K13('m_competitorSeq')] = R5
  0031  RETURN    return R0..R-1
  ; ---------- proto0 [m_competitorSeq] ----------
    ; fn ?  line 84-87 np=0 va=0 ms=2 code=5 consts=3 upvals=1 protos=0
    ;   K[0]='UpdatePlayerContent'
    ;   K[1]='m_competitorSeq'
    ;   K[2]=nil
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('UpdatePlayerContent')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  SETTABUP  self[K1('m_competitorSeq')] = K2(nil)
    0004  RETURN    return R0..R-1
; ---------- proto7 [PlayHitOwnAnim] ----------
  ; fn ?  line 91-106 np=1 va=0 ms=7 code=28 consts=12 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='GetOwnHpNum'
  ;   K[2]='m_curOwnHpNum'
  ;   K[3]=nil
  ;   K[4]='m_ownAnimator'
  ;   K[5]='SetTrigger'
  ;   K[6]='hit'
  ;   K[7]='m_damageText'
  ;   K[8]='Init'
  ;   K[9]='GetCurrentRound'
  ;   K[10]='DelayExecuteFuncInView'
  ;   K[11]=0.3
  ;   upvals: _ENV
  ;   locals: self(0-28), ownHpNum(3-28), round(22-28)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetOwnHpNum')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_curOwnHpNum')]
  0004  EQ        if R1 eq K3(nil)   -> -129783
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R2 = R0[K2('m_curOwnHpNum')]
  0007  EQ        if R0 eq R2   -> -130549
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R2 = R0[K4('m_ownAnimator')]
  0011  SELF      R3 = R2[K5('SetTrigger')] (self)
  0012  LOADK     R4 = K6 'hit'
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  GETTABLE  R2 = R0[K7('m_damageText')]
  0015  SELF      R3 = R2[K8('Init')] (self)
  0016  GETTABLE  R4 = R0[K2('m_curOwnHpNum')]
  0017  SUB       R4 = R1 sub R4
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  GETTABLE  R2 = R0[K0('m_model')]
  0020  SELF      R3 = R2[K9('GetCurrentRound')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  GETTABUP  R3 = _ENV[K10('DelayExecuteFuncInView')]
  0023  CLOSURE   R4 = closure proto0
  0024  LOADK     R5 = K11 0.3
  0025  MOVE      R6 = R0
  0026  CALL      R3 = call(R3, 0 args, 3 rets)
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 103-105 np=0 va=0 ms=3 code=5 consts=1 upvals=2 protos=0
    ;   K[0]='UpdateOwnContent'
    ;   upvals: self, round
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('UpdateOwnContent')] (self)
    0002  GETUPVAL  R2 = self
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
