# LineRaceActivity_Model_LineRacePlayerData_1960.luac
; fn @LineRacePlayerData.lua  line 0-0 np=0 va=1 ms=3 code=21 consts=9 upvals=1 protos=4
;   K[0]='LineRacePlayerData'
;   K[1]='setmetatable'
;   K[2]='RacePlayerData'
;   K[3]='__index'
;   K[4]='Create'
;   K[5]='LineRacePlayerData'
;   K[6]='ConvertScore'
;   K[7]='GetCurScore'
;   K[8]='GetDataScore'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('RacePlayerData')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('LineRacePlayerData')] = R0
0005  GETTABUP  R0 = _ENV[K0('LineRacePlayerData')]
0006  GETTABUP  R1 = _ENV[K0('LineRacePlayerData')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('LineRacePlayerData')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Create')] = R1
0011  GETTABUP  R0 = _ENV[K5('LineRacePlayerData')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K6('ConvertScore')] = R1
0014  GETTABUP  R0 = _ENV[K5('LineRacePlayerData')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K7('GetCurScore')] = R1
0017  GETTABUP  R0 = _ENV[K5('LineRacePlayerData')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K8('GetDataScore')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 5-9 np=5 va=0 ms=12 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='LineRacePlayerData'
  ;   K[2]='_Init'
  ;   upvals: _ENV
  ;   locals: model(0-12), tbData(0-12), targetScore(0-12), lastScore(0-12), lastRank(0-12), instance(4-12)
  0000  GETTABUP  R5 = _ENV[K0('setmetatable')]
  0001  MOVE      R6 = R0
  0002  GETTABUP  R7 = _ENV[K1('LineRacePlayerData')]
  0003  CALL      R5 = call(R5, 1 args, 2 rets)
  0004  SELF      R7 = R5[K2('_Init')] (self)
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  MOVE      R10 = R0
  0008  MOVE      R11 = R0
  0009  CALL      R6 = call(R6, 0 args, 5 rets)
  0010  RETURN    return R5..R4
  0011  RETURN    return R0..R-1
; ---------- proto1 [ConvertScore] ----------
  ; fn ?  line 12-13 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto2 [GetCurScore] ----------
  ; fn ?  line 15-26 np=2 va=0 ms=7 code=25 consts=7 upvals=0 protos=0
  ;   K[0]='IsMySelf'
  ;   K[1]='m_model'
  ;   K[2]='GetMyScore'
  ;   K[3]='GetMyTime'
  ;   K[4]=0
  ;   K[5]='GetCurrentScore'
  ;   K[6]='GetTrack'
  ;   locals: self(0-25), gapTime(0-25), model(5-15), score(21-25), time(21-25)
  0000  SELF      R3 = R0[K0('IsMySelf')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 15
  0004  GETTABLE  R2 = R0[K1('m_model')]
  0005  TEST      if not R2 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  SELF      R4 = R2[K2('GetMyScore')] (self)
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  SELF      R5 = R2[K3('GetMyTime')] (self)
  0010  CALL      R4 = call(R4, -1 args, 1 rets)
  0011  RETURN    return R3..R2
  0012  LOADK     R3 = K4 0
  0013  LOADK     R4 = K4 0
  0014  RETURN    return R3..R2
  0015  GETTABLE  R2 = R0[K1('m_model')]
  0016  SELF      R3 = R2[K5('GetCurrentScore')] (self)
  0017  MOVE      R4 = R0
  0018  SELF      R6 = R0[K6('GetTrack')] (self)
  0019  CALL      R5 = call(R5, -1 args, 1 rets)
  0020  CALL      R2 = call(R2, 2 args, -1 rets)
  0021  MOVE      R4 = R0
  0022  MOVE      R5 = R0
  0023  RETURN    return R4..R3
  0024  RETURN    return R0..R-1
; ---------- proto3 [GetDataScore] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='score'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('score')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
