# LineRaceActivity_View_LineRaceActivityStoreCell_1973.luac
; fn @LineRaceActivityStoreCell.lua  line 0-0 np=0 va=1 ms=2 code=45 consts=15 upvals=1 protos=13
;   K[0]='LineRaceActivityStoreCell'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='UpdateUserInfo'
;   K[4]='UpdateShowBoard'
;   K[5]='UpdateShowReward'
;   K[6]='OnRewardClick'
;   K[7]='UpdateScore'
;   K[8]='GetCurScore'
;   K[9]='PlayWinEffect'
;   K[10]='PlayGetSocreAnimation'
;   K[11]='PlayShowRewardBox'
;   K[12]='PlayShowRewardBoxImmediately'
;   K[13]='PlayShowAvatarAnimation'
;   K[14]='PlayHintEffect'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('LineRaceActivityStoreCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0003  GETTABUP  R1 = _ENV[K0('LineRaceActivityStoreCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('UpdateUserInfo')] = R1
0011  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('UpdateShowBoard')] = R1
0014  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdateShowReward')] = R1
0017  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnRewardClick')] = R1
0020  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdateScore')] = R1
0023  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('GetCurScore')] = R1
0026  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('PlayWinEffect')] = R1
0029  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('PlayGetSocreAnimation')] = R1
0032  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('PlayShowRewardBox')] = R1
0035  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('PlayShowRewardBoxImmediately')] = R1
0038  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('PlayShowAvatarAnimation')] = R1
0041  GETTABUP  R0 = _ENV[K0('LineRaceActivityStoreCell')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('PlayHintEffect')] = R1
0044  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 17-21 np=8 va=0 ms=15 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='UpdateUserInfo'
  ;   K[1]='m_mainWindow'
  ;   K[2]='m_rewards'
  ;   locals: self(0-10), userName(0-10), icon(0-10), badge(0-10), frame(0-10), bIsMySelf(0-10), mainWindow(0-10), rewards(0-10)
  0000  SELF      R9 = R0[K0('UpdateUserInfo')] (self)
  0001  MOVE      R10 = R0
  0002  MOVE      R11 = R0
  0003  MOVE      R12 = R0
  0004  MOVE      R13 = R0
  0005  MOVE      R14 = R0
  0006  CALL      R8 = call(R8, 0 args, 6 rets)
  0007  SETTABLE  R0[K1('m_mainWindow')] = R6
  0008  SETTABLE  R0[K2('m_rewards')] = R7
  0009  RETURN    return R0..R-1
; ---------- proto1 [UpdateUserInfo] ----------
  ; fn ?  line 23-27 np=6 va=0 ms=14 code=19 consts=8 upvals=1 protos=0
  ;   K[0]='m_nameText'
  ;   K[1]='text'
  ;   K[2]='ImageFileConfigName'
  ;   K[3]='head_frame_linerace'
  ;   K[4]='EAvatarFrame'
  ;   K[5]='Normal'
  ;   K[6]='m_userAvatar'
  ;   K[7]='SetAvatar'
  ;   upvals: _ENV
  ;   locals: self(0-19), userName(0-19), icon(0-19), badge(0-19), frame(0-19), bIsMySelf(0-19), curFrame(10-19)
  0000  GETTABLE  R6 = R0[K0('m_nameText')]
  0001  SETTABLE  R6[K1('text')] = R1
  0002  TEST      if not R5 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  GETTABUP  R6 = _ENV[K2('ImageFileConfigName')]
  0005  GETTABLE  R6 = R6[K3('head_frame_linerace')]
  0006  TEST      if not R6 then   -> -131063
  0007  JMP       (jump)   -> 10
  0008  GETTABUP  R6 = _ENV[K4('EAvatarFrame')]
  0009  GETTABLE  R6 = R6[K5('Normal')]
  0010  GETTABLE  R7 = R0[K6('m_userAvatar')]
  0011  SELF      R8 = R7[K7('SetAvatar')] (self)
  0012  MOVE      R9 = R0
  0013  MOVE      R10 = R0
  0014  MOVE      R11 = R0
  0015  MOVE      R12 = R0
  0016  MOVE      R13 = R0
  0017  CALL      R7 = call(R7, 0 args, 6 rets)
  0018  RETURN    return R0..R-1
; ---------- proto2 [UpdateShowBoard] ----------
  ; fn ?  line 29-32 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_boardGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), visible(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_boardGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto3 [UpdateShowReward] ----------
  ; fn ?  line 34-36 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_rewardGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), visible(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_rewardGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto4 [OnRewardClick] ----------
  ; fn ?  line 39-41 np=1 va=0 ms=5 code=7 consts=5 upvals=0 protos=0
  ;   K[0]='m_mainWindow'
  ;   K[1]='ShowTip'
  ;   K[2]='m_rewardTipRootRect'
  ;   K[3]='position'
  ;   K[4]='m_rewards'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_mainWindow')]
  0001  SELF      R2 = R1[K1('ShowTip')] (self)
  0002  GETTABLE  R3 = R0[K2('m_rewardTipRootRect')]
  0003  GETTABLE  R3 = R3[K3('position')]
  0004  GETTABLE  R4 = R0[K4('m_rewards')]
  0005  CALL      R1 = call(R1, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [UpdateScore] ----------
  ; fn ?  line 43-45 np=2 va=0 ms=4 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='m_scoreText'
  ;   K[1]='text'
  ;   K[2]='0'
  ;   locals: self(0-6), score(0-6)
  0000  GETTABLE  R2 = R0[K0('m_scoreText')]
  0001  TESTSET   if R1 then R3   -> -130556
  0002  JMP       (jump)   -> 4
  0003  LOADK     R3 = K2 '0'
  0004  SETTABLE  R2[K1('text')] = R3
  0005  RETURN    return R0..R-1
; ---------- proto6 [GetCurScore] ----------
  ; fn ?  line 47-49 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_scoreText'
  ;   K[1]='text'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_scoreText')]
  0001  GETTABLE  R1 = R1[K1('text')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto7 [PlayWinEffect] ----------
  ; fn ?  line 51-57 np=2 va=0 ms=4 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='m_selfWinEffect'
  ;   K[1]='Play'
  ;   K[2]='m_botWinEffect'
  ;   locals: self(0-10), bIsMySelf(0-10)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 6
  0002  GETTABLE  R2 = R0[K0('m_selfWinEffect')]
  0003  SELF      R3 = R2[K1('Play')] (self)
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R2 = R0[K2('m_botWinEffect')]
  0007  SELF      R3 = R2[K1('Play')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto8 [PlayGetSocreAnimation] ----------
  ; fn ?  line 59-61 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_storeCellAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='PlayScore'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_storeCellAnimator')]
  0001  SELF      R2 = R1[K1('SetTrigger')] (self)
  0002  LOADK     R3 = K2 'PlayScore'
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto9 [PlayShowRewardBox] ----------
  ; fn ?  line 63-65 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_storeCellAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='Exchange'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_storeCellAnimator')]
  0001  SELF      R2 = R1[K1('SetTrigger')] (self)
  0002  LOADK     R3 = K2 'Exchange'
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto10 [PlayShowRewardBoxImmediately] ----------
  ; fn ?  line 67-69 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_storeCellAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='Box'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_storeCellAnimator')]
  0001  SELF      R2 = R1[K1('SetTrigger')] (self)
  0002  LOADK     R3 = K2 'Box'
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto11 [PlayShowAvatarAnimation] ----------
  ; fn ?  line 71-73 np=1 va=0 ms=4 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_storeCellAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='PlayAvatar'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_storeCellAnimator')]
  0001  SELF      R2 = R1[K1('SetTrigger')] (self)
  0002  LOADK     R3 = K2 'PlayAvatar'
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto12 [PlayHintEffect] ----------
  ; fn ?  line 75-77 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_hintEffect'
  ;   K[1]='Play'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_hintEffect')]
  0001  SELF      R2 = R1[K1('Play')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
