# UpgradeRace_View_UpgradeRaceActivityBoardEntry_1566.luac
; fn @UpgradeRaceActivityBoardEntry.lua  line 0-0 np=0 va=1 ms=2 code=48 consts=16 upvals=1 protos=14
;   K[0]='UpgradeRaceActivityBoardEntry'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='OnDestroy'
;   K[5]='_InitModelData'
;   K[6]='_TryAddListeners'
;   K[7]='GetModel'
;   K[8]='OnBtnClicked'
;   K[9]='GetIconArea'
;   K[10]='UpdatePerSecond'
;   K[11]='_OnChangeGameMode'
;   K[12]='_OnStateChanged'
;   K[13]='_OnMainWindowOpened'
;   K[14]='_UpdateView'
;   K[15]='_UpdateRedPoint'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('UpgradeRaceActivityBoardEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0003  GETTABUP  R1 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnDestroy')] = R1
0014  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('_InitModelData')] = R1
0017  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('_TryAddListeners')] = R1
0020  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('GetModel')] = R1
0023  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('OnBtnClicked')] = R1
0026  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('GetIconArea')] = R1
0029  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('UpdatePerSecond')] = R1
0032  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('_OnChangeGameMode')] = R1
0035  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('_OnStateChanged')] = R1
0038  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('_OnMainWindowOpened')] = R1
0041  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('_UpdateView')] = R1
0044  GETTABUP  R0 = _ENV[K0('UpgradeRaceActivityBoardEntry')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('_UpdateRedPoint')] = R1
0047  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 16-21 np=1 va=0 ms=4 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='_InitModelData'
  ;   K[1]='_TryAddListeners'
  ;   K[2]='UpdatePerSecond'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_InitModelData')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_TryAddListeners')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('UpdatePerSecond')] (self)
  0005  LOADBOOL  R3 = true
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 24-34 np=2 va=0 ms=6 code=17 consts=8 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_iconArea'
  ;   K[2]='Init'
  ;   K[3]='GetModel'
  ;   K[4]='SetInBoardView'
  ;   K[5]='_InitModelData'
  ;   K[6]='_TryAddListeners'
  ;   K[7]='UpdatePerSecond'
  ;   locals: self(0-17), model(0-17)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  GETTABLE  R2 = R0[K1('m_iconArea')]
  0002  SELF      R3 = R2[K2('Init')] (self)
  0003  SELF      R5 = R0[K3('GetModel')] (self)
  0004  CALL      R4 = call(R4, -1 args, 1 rets)
  0005  CALL      R2 = call(R2, 0 args, -1 rets)
  0006  GETTABLE  R2 = R0[K1('m_iconArea')]
  0007  SELF      R3 = R2[K4('SetInBoardView')] (self)
  0008  CALL      R2 = call(R2, 0 args, 1 rets)
  0009  SELF      R3 = R0[K5('_InitModelData')] (self)
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  SELF      R3 = R0[K6('_TryAddListeners')] (self)
  0012  CALL      R2 = call(R2, 0 args, 1 rets)
  0013  SELF      R3 = R0[K7('UpdatePerSecond')] (self)
  0014  LOADBOOL  R4 = true
  0015  CALL      R2 = call(R2, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 36-38 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
; ---------- proto3 [_InitModelData] ----------
  ; fn ?  line 40-43 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='m_lastUpdateRankTime'
  ;   K[2]=0
  ;   locals: self(0-4), model(2-4)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SETTABLE  R0[K1('m_lastUpdateRankTime')] = K2(0)
  0003  RETURN    return R0..R-1
; ---------- proto4 [_TryAddListeners] ----------
  ; fn ?  line 45-58 np=1 va=0 ms=8 code=40 consts=21 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='gameObject'
  ;   K[3]='activeInHierarchy'
  ;   K[4]='GetActivityDefinition'
  ;   K[5]='EventDispatcher'
  ;   K[6]='AddListener'
  ;   K[7]='EEventType'
  ;   K[8]='ChangeGameMode'
  ;   K[9]='_OnChangeGameMode'
  ;   K[10]='StateChangedEvent'
  ;   K[11]='_OnStateChanged'
  ;   K[12]='MainWindowOpenedEvent'
  ;   K[13]='_OnMainWindowOpened'
  ;   K[14]='AddHandlerAndRecordMap'
  ;   K[15]='event'
  ;   K[16]='RaceEventType'
  ;   K[17]='ScoreChanged'
  ;   K[18]='obj'
  ;   K[19]='method'
  ;   K[20]='_UpdateView'
  ;   upvals: _ENV
  ;   locals: self(0-40), model(2-40), activityDefinition(11-40)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R1 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 8
  0004  GETTABLE  R2 = R0[K2('gameObject')]
  0005  GETTABLE  R2 = R2[K3('activeInHierarchy')]
  0006  TEST      if not R2 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  SELF      R3 = R1[K4('GetActivityDefinition')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0012  GETTABLE  R3 = R3[K6('AddListener')]
  0013  GETTABUP  R4 = _ENV[K7('EEventType')]
  0014  GETTABLE  R4 = R4[K8('ChangeGameMode')]
  0015  MOVE      R5 = R0
  0016  GETTABLE  R6 = R0[K9('_OnChangeGameMode')]
  0017  CALL      R3 = call(R3, 0 args, 3 rets)
  0018  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0019  GETTABLE  R3 = R3[K6('AddListener')]
  0020  GETTABLE  R4 = R2[K10('StateChangedEvent')]
  0021  MOVE      R5 = R0
  0022  GETTABLE  R6 = R0[K11('_OnStateChanged')]
  0023  CALL      R3 = call(R3, 0 args, 3 rets)
  0024  GETTABUP  R3 = _ENV[K5('EventDispatcher')]
  0025  GETTABLE  R3 = R3[K6('AddListener')]
  0026  GETTABLE  R4 = R2[K12('MainWindowOpenedEvent')]
  0027  MOVE      R5 = R0
  0028  GETTABLE  R6 = R0[K13('_OnMainWindowOpened')]
  0029  CALL      R3 = call(R3, 0 args, 3 rets)
  0030  GETTABUP  R3 = _ENV[K14('AddHandlerAndRecordMap')]
  0031  GETTABLE  R4 = R1[K15('event')]
  0032  GETTABUP  R5 = _ENV[K16('RaceEventType')]
  0033  GETTABLE  R5 = R5[K17('ScoreChanged')]
  0034  NEWTABLE  R6 = {} (0 items)
  0035  SETTABLE  R6[K18('obj')] = R0
  0036  GETTABLE  R7 = R0[K20('_UpdateView')]
  0037  SETTABLE  R6[K19('method')] = R7
  0038  CALL      R3 = call(R3, 0 args, 3 rets)
  0039  RETURN    return R0..R-1
; ---------- proto5 [GetModel] ----------
  ; fn ?  line 60-62 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [OnBtnClicked] ----------
  ; fn ?  line 64-66 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='OnEntryClicked'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R2 = R1[K1('OnEntryClicked')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto7 [GetIconArea] ----------
  ; fn ?  line 68-70 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_iconArea'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_iconArea')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [UpdatePerSecond] ----------
  ; fn ?  line 73-93 np=2 va=0 ms=11 code=56 consts=21 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='GetNextStateTime'
  ;   K[3]='GetState'
  ;   K[4]='ActivityState'
  ;   K[5]='Ended'
  ;   K[6]='Released'
  ;   K[7]='m_countDownText'
  ;   K[8]='text'
  ;   K[9]='GM'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   K[12]='countdown_finished'
  ;   K[13]='GameModel'
  ;   K[14]='GetServerTime'
  ;   K[15]='TimeUtil'
  ;   K[16]='ParseTimeDescription'
  ;   K[17]=2
  ;   K[18]='m_lastUpdateRankTime'
  ;   K[19]=120
  ;   K[20]='_UpdateView'
  ;   upvals: _ENV
  ;   locals: self(0-56), bFromInit(0-56), model(2-56), nextStateTime(7-56), delta(34-43), serverTime(47-56)
  0000  SELF      R3 = R0[K0('GetModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R4 = R2[K2('GetNextStateTime')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SELF      R5 = R2[K3('GetState')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  GETTABUP  R5 = _ENV[K4('ActivityState')]
  0010  GETTABLE  R5 = R5[K5('Ended')]
  0011  EQ        if R1 eq R5   -> -129006
  0012  JMP       (jump)   -> 19
  0013  SELF      R5 = R2[K3('GetState')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  GETTABUP  R5 = _ENV[K4('ActivityState')]
  0016  GETTABLE  R5 = R5[K6('Released')]
  0017  EQ        if R0 eq R5   -> -129000
  0018  JMP       (jump)   -> 27
  0019  GETTABLE  R4 = R0[K7('m_countDownText')]
  0020  GETTABUP  R5 = _ENV[K9('GM')]
  0021  GETTABLE  R5 = R5[K10('GameTextModel')]
  0022  SELF      R6 = R5[K11('GetText')] (self)
  0023  LOADK     R7 = K12 'countdown_finished'
  0024  CALL      R5 = call(R5, 1 args, 2 rets)
  0025  SETTABLE  R4[K8('text')] = R5
  0026  JMP       (jump)   -> 43
  0027  EQ        if R1 eq K1(nil)   -> -129250
  0028  JMP       (jump)   -> 43
  0029  GETTABUP  R4 = _ENV[K9('GM')]
  0030  GETTABLE  R4 = R4[K13('GameModel')]
  0031  SELF      R5 = R4[K14('GetServerTime')] (self)
  0032  CALL      R4 = call(R4, 1 args, 1 rets)
  0033  SUB       R4 = R4 sub R3
  0034  GETTABLE  R5 = R0[K7('m_countDownText')]
  0035  GETTABUP  R6 = _ENV[K15('TimeUtil')]
  0036  GETTABLE  R6 = R6[K16('ParseTimeDescription')]
  0037  MOVE      R7 = R0
  0038  LOADK     R8 = K17 2
  0039  LOADBOOL  R9 = false
  0040  LOADBOOL  R10 = false
  0041  CALL      R6 = call(R6, 1 args, 4 rets)
  0042  SETTABLE  R5[K8('text')] = R6
  0043  GETTABUP  R4 = _ENV[K9('GM')]
  0044  GETTABLE  R4 = R4[K13('GameModel')]
  0045  SELF      R5 = R4[K14('GetServerTime')] (self)
  0046  CALL      R4 = call(R4, 1 args, 1 rets)
  0047  GETTABLE  R5 = R0[K18('m_lastUpdateRankTime')]
  0048  SUB       R5 = R5 sub R4
  0049  LT        if R0 lt R5   -> 9784
  0050  JMP       (jump)   -> 55
  0051  SETTABLE  R0[K18('m_lastUpdateRankTime')] = R4
  0052  SELF      R6 = R0[K20('_UpdateView')] (self)
  0053  NOT       R7 = not R0
  0054  CALL      R5 = call(R5, 0 args, 2 rets)
  0055  RETURN    return R0..R-1
; ---------- proto9 [_OnChangeGameMode] ----------
  ; fn ?  line 95-97 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdatePerSecond'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdatePerSecond')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto10 [_OnStateChanged] ----------
  ; fn ?  line 99-102 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='_UpdateView'
  ;   K[1]='_UpdateRedPoint'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_UpdateView')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_UpdateRedPoint')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto11 [_OnMainWindowOpened] ----------
  ; fn ?  line 104-107 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='_UpdateView'
  ;   K[1]='_UpdateRedPoint'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_UpdateView')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('_UpdateRedPoint')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto12 [_UpdateView] ----------
  ; fn ?  line 110-151 np=2 va=0 ms=13 code=87 consts=25 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='GetCurrentRoundForDisplay'
  ;   K[3]='GetRoundDefinitionIndexByRound'
  ;   K[4]=1
  ;   K[5]=3
  ;   K[6]='string'
  ;   K[7]='format'
  ;   K[8]='m_icon%dGo'
  ;   K[9]='UIUtil'
  ;   K[10]='IsEmptyComponent'
  ;   K[11]='SetActive'
  ;   K[12]='IsFailed'
  ;   K[13]='_UpdateRedPoint'
  ;   K[14]='m_iconArea'
  ;   K[15]='gameObject'
  ;   K[16]='IsInRace'
  ;   K[17]='m_startMatchGo'
  ;   K[18]='HasNetwork'
  ;   K[19]='GetMyRank'
  ;   K[20]=0
  ;   K[21]='m_rank'
  ;   K[22]='m_rankText'
  ;   K[23]='text'
  ;   K[24]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-87), bUpdatePerSecond(0-87), model(2-87), round(7-87), roundDefinitionIndex(10-87), field(11-87), (for index)(14-36), (for limit)(14-36), (for step)(14-36), index(15-35), rank(72-87)
  0000  SELF      R3 = R0[K0('GetModel')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R4 = R2[K2('GetCurrentRoundForDisplay')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SELF      R5 = R2[K3('GetRoundDefinitionIndexByRound')] (self)
  0008  MOVE      R6 = R0
  0009  CALL      R4 = call(R4, 1 args, 2 rets)
  0010  LOADNIL   R5..R5 = nil
  0011  LOADK     R6 = K4 1
  0012  LOADK     R7 = K5 3
  0013  LOADK     R8 = K4 1
  0014  FORPREP   forprep R6(sBx=20)   -> 35
  0015  GETTABUP  R10 = _ENV[K6('string')]
  0016  GETTABLE  R10 = R10[K7('format')]
  0017  LOADK     R11 = K8 'm_icon%dGo'
  0018  MOVE      R12 = R0
  0019  CALL      R10 = call(R10, 1 args, 2 rets)
  0020  MOVE      R5 = R0
  0021  GETTABUP  R10 = _ENV[K9('UIUtil')]
  0022  GETTABLE  R10 = R10[K10('IsEmptyComponent')]
  0023  GETTABLE  R11 = R0[R5]
  0024  CALL      R10 = call(R10, 1 args, 1 rets)
  0025  TEST      if not R10 then   -> -131044
  0026  JMP       (jump)   -> 35
  0027  GETTABUP  R10 = _ENV[K9('UIUtil')]
  0028  GETTABLE  R10 = R10[K11('SetActive')]
  0029  GETTABLE  R11 = R0[R5]
  0030  EQ        if R1 eq R9   -> -128983
  0031  JMP       (jump)   -> 33
  0032  LOADBOOL  R12 = false
  0033  LOADBOOL  R12 = true
  0034  CALL      R10 = call(R10, 0 args, 2 rets)
  0035  FORLOOP   forloop R6(sBx=-21)   -> 15
  0036  TEST      if not R1 then   -> -131034
  0037  JMP       (jump)   -> 43
  0038  SELF      R7 = R2[K12('IsFailed')] (self)
  0039  CALL      R6 = call(R6, 1 args, 1 rets)
  0040  TEST      if not R6 then   -> -131030
  0041  JMP       (jump)   -> 43
  0042  RETURN    return R0..R-1
  0043  SELF      R7 = R0[K13('_UpdateRedPoint')] (self)
  0044  CALL      R6 = call(R6, 0 args, 1 rets)
  0045  GETTABLE  R6 = R0[K14('m_iconArea')]
  0046  GETTABLE  R6 = R6[K15('gameObject')]
  0047  SELF      R7 = R6[K11('SetActive')] (self)
  0048  SELF      R9 = R2[K16('IsInRace')] (self)
  0049  CALL      R8 = call(R8, -1 args, 1 rets)
  0050  CALL      R6 = call(R6, 0 args, -1 rets)
  0051  GETTABLE  R6 = R0[K17('m_startMatchGo')]
  0052  SELF      R7 = R6[K11('SetActive')] (self)
  0053  SELF      R9 = R2[K16('IsInRace')] (self)
  0054  CALL      R8 = call(R8, 1 args, 1 rets)
  0055  NOT       R8 = not R0
  0056  CALL      R6 = call(R6, 0 args, 2 rets)
  0057  SELF      R7 = R2[K18('HasNetwork')] (self)
  0058  CALL      R6 = call(R6, 1 args, 1 rets)
  0059  TEST      if not R6 then   -> -131010
  0060  JMP       (jump)   -> 62
  0061  RETURN    return R0..R-1
  0062  SELF      R7 = R2[K16('IsInRace')] (self)
  0063  CALL      R6 = call(R6, 1 args, 1 rets)
  0064  TEST      if not R6 then   -> -131005
  0065  JMP       (jump)   -> 69
  0066  LOADK     R6 = K4 1
  0067  TEST      if not R6 then   -> -131002
  0068  JMP       (jump)   -> 72
  0069  SELF      R7 = R2[K19('GetMyRank')] (self)
  0070  LOADBOOL  R8 = true
  0071  CALL      R6 = call(R6, 1 args, 2 rets)
  0072  EQ        if R1 eq K1(nil)   -> -127669
  0073  JMP       (jump)   -> 79
  0074  EQ        if R1 eq K20(0)   -> -127648
  0075  JMP       (jump)   -> 79
  0076  GETTABLE  R7 = R0[K21('m_rank')]
  0077  EQ        if R0 eq R7   -> -127914
  0078  JMP       (jump)   -> 80
  0079  RETURN    return R0..R-1
  0080  GETTABLE  R7 = R0[K22('m_rankText')]
  0081  GETTABUP  R8 = _ENV[K24('tostring')]
  0082  MOVE      R9 = R0
  0083  CALL      R8 = call(R8, 1 args, 1 rets)
  0084  SETTABLE  R7[K23('text')] = R8
  0085  SETTABLE  R0[K21('m_rank')] = R6
  0086  RETURN    return R0..R-1
; ---------- proto13 [_UpdateRedPoint] ----------
  ; fn ?  line 153-160 np=1 va=0 ms=6 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]=nil
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_exclamationGo'
  ;   K[5]='CanShowExclaimation'
  ;   upvals: _ENV
  ;   locals: self(0-12), model(2-12)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0006  GETTABLE  R2 = R2[K3('SetActive')]
  0007  GETTABLE  R3 = R0[K4('m_exclamationGo')]
  0008  SELF      R5 = R1[K5('CanShowExclaimation')] (self)
  0009  CALL      R4 = call(R4, -1 args, 1 rets)
  0010  CALL      R2 = call(R2, 0 args, -1 rets)
  0011  RETURN    return R0..R-1
