# PairRaceActivity_View_PairRaceActivityCellTip_1872.luac
; fn @PairRaceActivityCellTip.lua  line 0-0 np=0 va=1 ms=2 code=20 consts=5 upvals=1 protos=3
;   K[0]='PairRaceActivityTeamUpSuccessTip'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='PairRaceActivityCanClaimeRewardTip'
;   K[4]='ProgressAnim'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivityTeamUpSuccessTip')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivityTeamUpSuccessTip')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivityTeamUpSuccessTip')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivityTeamUpSuccessTip')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABUP  _ENV[K3('PairRaceActivityCanClaimeRewardTip')] = R0
0010  GETTABUP  R0 = _ENV[K3('PairRaceActivityCanClaimeRewardTip')]
0011  GETTABUP  R1 = _ENV[K3('PairRaceActivityCanClaimeRewardTip')]
0012  SETTABLE  R0[K1('__index')] = R1
0013  GETTABUP  R0 = _ENV[K3('PairRaceActivityCanClaimeRewardTip')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K2('Init')] = R1
0016  GETTABUP  R0 = _ENV[K3('PairRaceActivityCanClaimeRewardTip')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K4('ProgressAnim')] = R1
0019  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-9 np=3 va=0 ms=10 code=20 consts=13 upvals=1 protos=0
  ;   K[0]='m_userAvatar'
  ;   K[1]='SetAvatar'
  ;   K[2]='frame'
  ;   K[3]='icon'
  ;   K[4]='badgeId'
  ;   K[5]='frameId'
  ;   K[6]='SpriteUtil'
  ;   K[7]='SetImage'
  ;   K[8]='m_sculptureImg'
  ;   K[9]='ImageFileConfigName'
  ;   K[10]='pairRaceSculpture'
  ;   K[11]=1
  ;   K[12]='_0'
  ;   upvals: _ENV
  ;   locals: self(0-20), info(0-20), teamCount(0-20)
  0000  GETTABLE  R3 = R0[K0('m_userAvatar')]
  0001  SELF      R4 = R3[K1('SetAvatar')] (self)
  0002  GETTABLE  R5 = R1[K2('frame')]
  0003  GETTABLE  R6 = R1[K3('icon')]
  0004  GETTABLE  R7 = R1[K4('badgeId')]
  0005  GETTABLE  R8 = R1[K5('frameId')]
  0006  LOADBOOL  R9 = false
  0007  CALL      R3 = call(R3, 0 args, 6 rets)
  0008  GETTABUP  R3 = _ENV[K6('SpriteUtil')]
  0009  GETTABLE  R3 = R3[K7('SetImage')]
  0010  GETTABLE  R4 = R0[K8('m_sculptureImg')]
  0011  GETTABUP  R5 = _ENV[K9('ImageFileConfigName')]
  0012  LOADK     R6 = K10 'pairRaceSculpture'
  0013  ADD       R7 = K11(1) add R2
  0014  LOADK     R8 = K12 '_0'
  0015  CONCAT    R6 = concat(R6..R6)
  0016  GETTABLE  R5 = R5[R6]
  0017  LOADBOOL  R6 = true
  0018  CALL      R3 = call(R3, 0 args, 3 rets)
  0019  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 18-29 np=3 va=0 ms=10 code=41 consts=25 upvals=1 protos=0
  ;   K[0]='m_userAvatar'
  ;   K[1]='SetAvatar'
  ;   K[2]='frame'
  ;   K[3]='icon'
  ;   K[4]='badgeId'
  ;   K[5]='frameId'
  ;   K[6]='m_model'
  ;   K[7]='m_info'
  ;   K[8]='GetProgressRewardConfig'
  ;   K[9]='m_rewardCount'
  ;   K[10]='m_stateText'
  ;   K[11]='text'
  ;   K[12]='string'
  ;   K[13]='format'
  ;   K[14]='%d/%d'
  ;   K[15]='claimedRewardIndex'
  ;   K[16]='m_nextRewardIndex'
  ;   K[17]='GetRewardIndexByScore'
  ;   K[18]='myScore'
  ;   K[19]='mateScore'
  ;   K[20]='m_rewardCellLuaTable'
  ;   K[21]='Init'
  ;   K[22]='m_slider'
  ;   K[23]='value'
  ;   K[24]=0
  ;   upvals: _ENV
  ;   locals: self(0-41), info(0-41), model(0-41), rewards(13-41), _(13-41)
  0000  GETTABLE  R3 = R0[K0('m_userAvatar')]
  0001  SELF      R4 = R3[K1('SetAvatar')] (self)
  0002  GETTABLE  R5 = R1[K2('frame')]
  0003  GETTABLE  R6 = R1[K3('icon')]
  0004  GETTABLE  R7 = R1[K4('badgeId')]
  0005  GETTABLE  R8 = R1[K5('frameId')]
  0006  LOADBOOL  R9 = false
  0007  CALL      R3 = call(R3, 0 args, 6 rets)
  0008  SETTABLE  R0[K6('m_model')] = R2
  0009  SETTABLE  R0[K7('m_info')] = R1
  0010  GETTABLE  R3 = R0[K6('m_model')]
  0011  SELF      R4 = R3[K8('GetProgressRewardConfig')] (self)
  0012  CALL      R3 = call(R3, 2 args, 1 rets)
  0013  LEN       R5 = len R0
  0014  SETTABLE  R0[K9('m_rewardCount')] = R5
  0015  GETTABLE  R5 = R0[K10('m_stateText')]
  0016  GETTABUP  R6 = _ENV[K12('string')]
  0017  GETTABLE  R6 = R6[K13('format')]
  0018  LOADK     R7 = K14 '%d/%d'
  0019  GETTABLE  R8 = R1[K15('claimedRewardIndex')]
  0020  GETTABLE  R9 = R0[K9('m_rewardCount')]
  0021  CALL      R6 = call(R6, 1 args, 3 rets)
  0022  SETTABLE  R5[K11('text')] = R6
  0023  GETTABLE  R5 = R0[K6('m_model')]
  0024  SELF      R6 = R5[K17('GetRewardIndexByScore')] (self)
  0025  GETTABLE  R7 = R0[K7('m_info')]
  0026  GETTABLE  R7 = R7[K18('myScore')]
  0027  GETTABLE  R8 = R0[K7('m_info')]
  0028  GETTABLE  R8 = R8[K19('mateScore')]
  0029  ADD       R7 = R8 add R7
  0030  CALL      R5 = call(R5, 1 args, 2 rets)
  0031  SETTABLE  R0[K16('m_nextRewardIndex')] = R5
  0032  GETTABLE  R5 = R0[K20('m_rewardCellLuaTable')]
  0033  SELF      R6 = R5[K21('Init')] (self)
  0034  GETTABLE  R7 = R0[K16('m_nextRewardIndex')]
  0035  GETTABLE  R7 = R3[R7]
  0036  LOADBOOL  R8 = false
  0037  CALL      R5 = call(R5, 0 args, 3 rets)
  0038  GETTABLE  R5 = R0[K22('m_slider')]
  0039  SETTABLE  R5[K23('value')] = K24(0)
  0040  RETURN    return R0..R-1
; ---------- proto2 [ProgressAnim] ----------
  ; fn ?  line 32-40 np=2 va=0 ms=6 code=9 consts=5 upvals=1 protos=1
  ;   K[0]='m_slider'
  ;   K[1]='DOValue'
  ;   K[2]=1
  ;   K[3]=1.2
  ;   K[4]='OnComplete'
  ;   upvals: _ENV
  ;   locals: self(0-9), callback(0-9)
  0000  GETTABLE  R2 = R0[K0('m_slider')]
  0001  SELF      R3 = R2[K1('DOValue')] (self)
  0002  LOADK     R4 = K2 1
  0003  LOADK     R5 = K3 1.2
  0004  CALL      R2 = call(R2, 1 args, 3 rets)
  0005  SELF      R3 = R2[K4('OnComplete')] (self)
  0006  CLOSURE   R4 = closure proto0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 33-39 np=0 va=0 ms=5 code=18 consts=9 upvals=3 protos=0
    ;   K[0]='m_stateText'
    ;   K[1]='text'
    ;   K[2]='string'
    ;   K[3]='format'
    ;   K[4]='%d/%d'
    ;   K[5]='m_nextRewardIndex'
    ;   K[6]='m_rewardCount'
    ;   K[7]='m_rewardCellLuaTable'
    ;   K[8]='UpdateContent'
    ;   upvals: self, _ENV, callback
    0000  GETTABUP  R0 = self[K0('m_stateText')]
    0001  GETTABUP  R1 = _ENV[K2('string')]
    0002  GETTABLE  R1 = R1[K3('format')]
    0003  LOADK     R2 = K4 '%d/%d'
    0004  GETTABUP  R3 = self[K5('m_nextRewardIndex')]
    0005  GETTABUP  R4 = self[K6('m_rewardCount')]
    0006  CALL      R1 = call(R1, 1 args, 3 rets)
    0007  SETTABLE  R0[K1('text')] = R1
    0008  GETTABUP  R0 = self[K7('m_rewardCellLuaTable')]
    0009  SELF      R1 = R0[K8('UpdateContent')] (self)
    0010  LOADBOOL  R2 = true
    0011  CALL      R0 = call(R0, 0 args, 2 rets)
    0012  GETUPVAL  R0 = self
    0013  TEST      if not R0 then   -> -131057
    0014  JMP       (jump)   -> 17
    0015  GETUPVAL  R0 = self
    0016  CALL      R0 = call(R0, 0 args, 0 rets)
    0017  RETURN    return R0..R-1
