# PairRaceActivity_View_PairRaceActivityMainView_1846.luac
; fn @PairRaceActivityMainView.lua  line 0-0 np=0 va=1 ms=2 code=39 consts=13 upvals=1 protos=11
;   K[0]='PairRaceActivityMainView'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnDestroy'
;   K[4]='InitFinishReward'
;   K[5]='UpdateShowContent'
;   K[6]='GetHudButton'
;   K[7]='OnTokenClicked'
;   K[8]='UpdateFrontShow'
;   K[9]='UpdateFrontBgScale'
;   K[10]='UpdateFrontBgPosition'
;   K[11]='SetFrontBgPosition'
;   K[12]='UpdateFrontBgGo'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivityMainView')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivityMainView')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnDestroy')] = R1
0011  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('InitFinishReward')] = R1
0014  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('UpdateShowContent')] = R1
0017  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('GetHudButton')] = R1
0020  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('OnTokenClicked')] = R1
0023  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdateFrontShow')] = R1
0026  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('UpdateFrontBgScale')] = R1
0029  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('UpdateFrontBgPosition')] = R1
0032  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('SetFrontBgPosition')] = R1
0035  GETTABUP  R0 = _ENV[K0('PairRaceActivityMainView')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('UpdateFrontBgGo')] = R1
0038  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 10-17 np=5 va=0 ms=8 code=11 consts=7 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='m_mainWindow'
  ;   K[3]='m_id'
  ;   K[4]='m_tokenHudButton'
  ;   K[5]='Init'
  ;   K[6]='InitFinishReward'
  ;   locals: self(0-11), model(0-11), activityDefinition(0-11), mainWindow(0-11), id(0-11)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SETTABLE  R0[K1('m_activityDefinition')] = R2
  0002  SETTABLE  R0[K2('m_mainWindow')] = R3
  0003  SETTABLE  R0[K3('m_id')] = R4
  0004  GETTABLE  R5 = R0[K4('m_tokenHudButton')]
  0005  SELF      R6 = R5[K5('Init')] (self)
  0006  GETTABLE  R7 = R0[K0('m_model')]
  0007  CALL      R5 = call(R5, 0 args, 2 rets)
  0008  SELF      R6 = R0[K6('InitFinishReward')] (self)
  0009  CALL      R5 = call(R5, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 19-21 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [InitFinishReward] ----------
  ; fn ?  line 23-26 np=1 va=0 ms=6 code=10 consts=6 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetFinalRewards'
  ;   K[2]='m_finialRewardLuaTable'
  ;   K[3]='Init'
  ;   K[4]='ERewardScene'
  ;   K[5]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-10), finialRewards(3-10)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetFinalRewards')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K2('m_finialRewardLuaTable')]
  0004  SELF      R3 = R2[K3('Init')] (self)
  0005  MOVE      R4 = R0
  0006  GETTABUP  R5 = _ENV[K4('ERewardScene')]
  0007  GETTABLE  R5 = R5[K5('Other')]
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto3 [UpdateShowContent] ----------
  ; fn ?  line 28-30 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_tokenHudButton'
  ;   K[1]='UpdateTokenNumber'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_tokenHudButton')]
  0001  SELF      R2 = R1[K1('UpdateTokenNumber')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto4 [GetHudButton] ----------
  ; fn ?  line 32-34 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_tokenHudButton'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_tokenHudButton')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [OnTokenClicked] ----------
  ; fn ?  line 36-38 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_tokenTip'
  ;   K[1]='Show'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_tokenTip')]
  0001  SELF      R2 = R1[K1('Show')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto6 [UpdateFrontShow] ----------
  ; fn ?  line 40-42 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_frontGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), bshow(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_frontGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto7 [UpdateFrontBgScale] ----------
  ; fn ?  line 44-46 np=3 va=0 ms=7 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_frontBgImage'
  ;   K[1]='transform'
  ;   K[2]='DOScale'
  ;   locals: self(0-8), delay(0-8), Scale(0-8)
  0000  GETTABLE  R3 = R0[K0('m_frontBgImage')]
  0001  GETTABLE  R3 = R3[K1('transform')]
  0002  SELF      R4 = R3[K2('DOScale')] (self)
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto8 [UpdateFrontBgPosition] ----------
  ; fn ?  line 48-50 np=3 va=0 ms=7 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_frontBgImage'
  ;   K[1]='transform'
  ;   K[2]='DOLocalMoveY'
  ;   locals: self(0-8), delay(0-8), Position(0-8)
  0000  GETTABLE  R3 = R0[K0('m_frontBgImage')]
  0001  GETTABLE  R3 = R3[K1('transform')]
  0002  SELF      R4 = R3[K2('DOLocalMoveY')] (self)
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  TAILCALL  tailcall(R3, 0)
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto9 [SetFrontBgPosition] ----------
  ; fn ?  line 52-54 np=2 va=0 ms=5 code=6 consts=3 upvals=0 protos=0
  ;   K[0]='m_frontBgImage'
  ;   K[1]='transform'
  ;   K[2]='SetPosY'
  ;   locals: self(0-6), PositionY(0-6)
  0000  GETTABLE  R2 = R0[K0('m_frontBgImage')]
  0001  GETTABLE  R2 = R2[K1('transform')]
  0002  SELF      R3 = R2[K2('SetPosY')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto10 [UpdateFrontBgGo] ----------
  ; fn ?  line 56-58 np=2 va=0 ms=5 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_frontBgGo'
  ;   upvals: _ENV
  ;   locals: self(0-6), bshow(0-6)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetActive')]
  0002  GETTABLE  R3 = R0[K2('m_frontBgGo')]
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
