# CoinRaceActivity_View_CoinRaceBoardEntry_905.luac
; fn @CoinRaceBoardEntry.lua  line 0-0 np=0 va=1 ms=2 code=39 consts=13 upvals=1 protos=11
;   K[0]='CoinRaceBoardEntry'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='_AddListeners'
;   K[5]='OnDestroy'
;   K[6]='UpdatePerSecond'
;   K[7]='UpdateContent'
;   K[8]='_UpdateBasedOnRaceState'
;   K[9]='OnScoreChanged'
;   K[10]='OnBtnClicked'
;   K[11]='_OnGameModeChanged'
;   K[12]='GetIconArea'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('CoinRaceBoardEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0003  GETTABUP  R1 = _ENV[K0('CoinRaceBoardEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_AddListeners')] = R1
0014  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnDestroy')] = R1
0017  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdatePerSecond')] = R1
0020  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdateContent')] = R1
0023  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('_UpdateBasedOnRaceState')] = R1
0026  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('OnScoreChanged')] = R1
0029  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('OnBtnClicked')] = R1
0032  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('_OnGameModeChanged')] = R1
0035  GETTABUP  R0 = _ENV[K0('CoinRaceBoardEntry')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('GetIconArea')] = R1
0038  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 4-10 np=1 va=0 ms=3 code=9 consts=5 upvals=0 protos=0
  ;   K[0]='m_bAwaked'
  ;   K[1]=true
  ;   K[2]='m_bWaitAddListener'
  ;   K[3]='_AddListeners'
  ;   K[4]='UpdateContent'
  ;   locals: self(0-9)
  0000  SETTABLE  R0[K0('m_bAwaked')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_bWaitAddListener')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R2 = R0[K3('_AddListeners')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K4('UpdateContent')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 12-30 np=3 va=0 ms=7 code=35 consts=19 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_activityType'
  ;   K[2]='GetType'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='GetActivityDefinition'
  ;   K[5]='m_orderArea'
  ;   K[6]='m_lastUpdateTime'
  ;   K[7]=0
  ;   K[8]='m_iconArea'
  ;   K[9]='Init'
  ;   K[10]='SetInBoardView'
  ;   K[11]='_UpdateBasedOnRaceState'
  ;   K[12]='IsInRace'
  ;   K[13]='m_bAwaked'
  ;   K[14]='_AddListeners'
  ;   K[15]='m_bWaitAddListener'
  ;   K[16]=true
  ;   K[17]='UpdateContent'
  ;   K[18]='UpdatePerSecond'
  ;   locals: self(0-35), model(0-35), orderArea(0-35)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  GETTABLE  R3 = R0[K0('m_model')]
  0002  SELF      R4 = R3[K2('GetType')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  SETTABLE  R0[K1('m_activityType')] = R3
  0005  GETTABLE  R3 = R0[K0('m_model')]
  0006  SELF      R4 = R3[K4('GetActivityDefinition')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SETTABLE  R0[K3('m_activityDefinition')] = R3
  0009  SETTABLE  R0[K5('m_orderArea')] = R2
  0010  SETTABLE  R0[K6('m_lastUpdateTime')] = K7(0)
  0011  GETTABLE  R3 = R0[K8('m_iconArea')]
  0012  SELF      R4 = R3[K9('Init')] (self)
  0013  GETTABLE  R5 = R0[K1('m_activityType')]
  0014  CALL      R3 = call(R3, 0 args, 2 rets)
  0015  GETTABLE  R3 = R0[K8('m_iconArea')]
  0016  SELF      R4 = R3[K10('SetInBoardView')] (self)
  0017  CALL      R3 = call(R3, 0 args, 1 rets)
  0018  SELF      R4 = R0[K11('_UpdateBasedOnRaceState')] (self)
  0019  GETTABLE  R5 = R0[K0('m_model')]
  0020  SELF      R6 = R5[K12('IsInRace')] (self)
  0021  CALL      R5 = call(R5, -1 args, 1 rets)
  0022  CALL      R3 = call(R3, 0 args, -1 rets)
  0023  GETTABLE  R3 = R0[K13('m_bAwaked')]
  0024  TEST      if not R3 then   -> -131046
  0025  JMP       (jump)   -> 29
  0026  SELF      R4 = R0[K14('_AddListeners')] (self)
  0027  CALL      R3 = call(R3, 0 args, 1 rets)
  0028  JMP       (jump)   -> 30
  0029  SETTABLE  R0[K15('m_bWaitAddListener')] = K16(true)
  0030  SELF      R4 = R0[K17('UpdateContent')] (self)
  0031  CALL      R3 = call(R3, 0 args, 1 rets)
  0032  SELF      R4 = R0[K18('UpdatePerSecond')] (self)
  0033  CALL      R3 = call(R3, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto2 [_AddListeners] ----------
  ; fn ?  line 32-42 np=1 va=0 ms=6 code=42 consts=18 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='StateChangedEvent'
  ;   K[4]='UpdateContent'
  ;   K[5]='EEventType'
  ;   K[6]='ChangeGameModeFinished'
  ;   K[7]='ChangeGameMode'
  ;   K[8]='_OnGameModeChanged'
  ;   K[9]='AddHandlerAndRecordMap'
  ;   K[10]='m_model'
  ;   K[11]='event'
  ;   K[12]='RaceEventType'
  ;   K[13]='OpenMainWindow'
  ;   K[14]='obj'
  ;   K[15]='method'
  ;   K[16]='ScoreChanged'
  ;   K[17]='OnScoreChanged'
  ;   upvals: _ENV
  ;   locals: self(0-42)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R2 = R2[K3('StateChangedEvent')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K4('UpdateContent')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K1('AddListener')]
  0009  GETTABUP  R2 = _ENV[K5('EEventType')]
  0010  GETTABLE  R2 = R2[K6('ChangeGameModeFinished')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K4('UpdateContent')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K1('AddListener')]
  0016  GETTABUP  R2 = _ENV[K5('EEventType')]
  0017  GETTABLE  R2 = R2[K7('ChangeGameMode')]
  0018  MOVE      R3 = R0
  0019  GETTABLE  R4 = R0[K8('_OnGameModeChanged')]
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  GETTABUP  R1 = _ENV[K9('AddHandlerAndRecordMap')]
  0022  GETTABLE  R2 = R0[K10('m_model')]
  0023  GETTABLE  R2 = R2[K11('event')]
  0024  GETTABUP  R3 = _ENV[K12('RaceEventType')]
  0025  GETTABLE  R3 = R3[K13('OpenMainWindow')]
  0026  NEWTABLE  R4 = {} (0 items)
  0027  SETTABLE  R4[K14('obj')] = R0
  0028  GETTABLE  R5 = R0[K4('UpdateContent')]
  0029  SETTABLE  R4[K15('method')] = R5
  0030  CALL      R1 = call(R1, 0 args, 3 rets)
  0031  GETTABUP  R1 = _ENV[K9('AddHandlerAndRecordMap')]
  0032  GETTABLE  R2 = R0[K10('m_model')]
  0033  GETTABLE  R2 = R2[K11('event')]
  0034  GETTABUP  R3 = _ENV[K12('RaceEventType')]
  0035  GETTABLE  R3 = R3[K16('ScoreChanged')]
  0036  NEWTABLE  R4 = {} (0 items)
  0037  SETTABLE  R4[K14('obj')] = R0
  0038  GETTABLE  R5 = R0[K17('OnScoreChanged')]
  0039  SETTABLE  R4[K15('method')] = R5
  0040  CALL      R1 = call(R1, 0 args, 3 rets)
  0041  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 44-50 np=1 va=0 ms=4 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='m_model'
  ;   K[3]=nil
  ;   K[4]='RemoveAllHandlers'
  ;   K[5]='event'
  ;   K[6]='Scheduler'
  ;   K[7]='UnscheduleTarget'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  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  GETTABLE  R1 = R0[K2('m_model')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 12
  0007  GETTABUP  R1 = _ENV[K4('RemoveAllHandlers')]
  0008  GETTABLE  R2 = R0[K2('m_model')]
  0009  GETTABLE  R2 = R2[K5('event')]
  0010  MOVE      R3 = R0
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  GETTABUP  R1 = _ENV[K6('Scheduler')]
  0013  GETTABLE  R1 = R1[K7('UnscheduleTarget')]
  0014  MOVE      R2 = R0
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto4 [UpdatePerSecond] ----------
  ; fn ?  line 52-72 np=1 va=0 ms=9 code=47 consts=17 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetNextStateTime'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='m_countDownText'
  ;   K[7]='text'
  ;   K[8]='TimeUtil'
  ;   K[9]='ParseTimeDescription'
  ;   K[10]=2
  ;   K[11]='gameObject'
  ;   K[12]='activeSelf'
  ;   K[13]='SetActive'
  ;   K[14]='m_lastUpdateTime'
  ;   K[15]=120
  ;   K[16]='UpdateContent'
  ;   upvals: _ENV
  ;   locals: self(0-47), nextTime(7-47), delta(17-26), serTime(39-47)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_model')]
  0005  SELF      R2 = R1[K2('GetNextStateTime')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  EQ        if R1 eq K1(nil)   -> -130294
  0008  JMP       (jump)   -> 27
  0009  GETTABLE  R2 = R0[K0('m_model')]
  0010  SELF      R3 = R2[K2('GetNextStateTime')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  GETTABUP  R3 = _ENV[K3('GM')]
  0013  GETTABLE  R3 = R3[K4('GameModel')]
  0014  SELF      R4 = R3[K5('GetServerTime')] (self)
  0015  CALL      R3 = call(R3, 1 args, 1 rets)
  0016  SUB       R2 = R3 sub R2
  0017  GETTABLE  R3 = R0[K6('m_countDownText')]
  0018  GETTABUP  R4 = _ENV[K8('TimeUtil')]
  0019  GETTABLE  R4 = R4[K9('ParseTimeDescription')]
  0020  MOVE      R5 = R0
  0021  LOADK     R6 = K10 2
  0022  LOADBOOL  R7 = false
  0023  LOADBOOL  R8 = false
  0024  CALL      R4 = call(R4, 1 args, 4 rets)
  0025  SETTABLE  R3[K7('text')] = R4
  0026  JMP       (jump)   -> 35
  0027  GETTABLE  R2 = R0[K11('gameObject')]
  0028  GETTABLE  R2 = R2[K12('activeSelf')]
  0029  TEST      if not R2 then   -> -131041
  0030  JMP       (jump)   -> 35
  0031  GETTABLE  R2 = R0[K11('gameObject')]
  0032  SELF      R3 = R2[K13('SetActive')] (self)
  0033  LOADBOOL  R4 = false
  0034  CALL      R2 = call(R2, 0 args, 2 rets)
  0035  GETTABUP  R2 = _ENV[K3('GM')]
  0036  GETTABLE  R2 = R2[K4('GameModel')]
  0037  SELF      R3 = R2[K5('GetServerTime')] (self)
  0038  CALL      R2 = call(R2, 1 args, 1 rets)
  0039  GETTABLE  R3 = R0[K14('m_lastUpdateTime')]
  0040  SUB       R3 = R3 sub R2
  0041  LT        if R0 lt R3   -> 7726
  0042  JMP       (jump)   -> 46
  0043  SETTABLE  R0[K14('m_lastUpdateTime')] = R2
  0044  SELF      R4 = R0[K16('UpdateContent')] (self)
  0045  CALL      R3 = call(R3, 0 args, 1 rets)
  0046  RETURN    return R0..R-1
; ---------- proto5 [UpdateContent] ----------
  ; fn ?  line 74-104 np=1 va=0 ms=9 code=84 consts=24 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_bgEffectGo'
  ;   K[5]='HasNetwork'
  ;   K[6]='CanClaimReward'
  ;   K[7]='IsInRace'
  ;   K[8]='_UpdateBasedOnRaceState'
  ;   K[9]=1
  ;   K[10]='GetMyRank'
  ;   K[11]='m_rank'
  ;   K[12]=0
  ;   K[13]=5
  ;   K[14]='SpriteUtil'
  ;   K[15]='SetImage'
  ;   K[16]='m_iconImg'
  ;   K[17]='m_activityDefinition'
  ;   K[18]='CoinRaceBoardEntryRankImgPrefix'
  ;   K[19]='m_rankAnimator'
  ;   K[20]='SetTrigger'
  ;   K[21]='play'
  ;   K[22]='m_rankEffect'
  ;   K[23]='Play'
  ;   upvals: _ENV
  ;   locals: self(0-84), isInMatch(19-84), rank(36-83), bChanged(44-83), bRankUp(54-83)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0005  GETTABLE  R1 = R1[K3('SetActive')]
  0006  GETTABLE  R2 = R0[K4('m_bgEffectGo')]
  0007  GETTABLE  R3 = R0[K0('m_model')]
  0008  SELF      R4 = R3[K5('HasNetwork')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  TEST      if not R3 then   -> -131060
  0011  JMP       (jump)   -> 15
  0012  GETTABLE  R3 = R0[K0('m_model')]
  0013  SELF      R4 = R3[K6('CanClaimReward')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  GETTABLE  R1 = R0[K0('m_model')]
  0017  SELF      R2 = R1[K7('IsInRace')] (self)
  0018  CALL      R1 = call(R1, 1 args, 1 rets)
  0019  SELF      R3 = R0[K8('_UpdateBasedOnRaceState')] (self)
  0020  MOVE      R4 = R0
  0021  CALL      R2 = call(R2, 0 args, 2 rets)
  0022  GETTABLE  R2 = R0[K0('m_model')]
  0023  SELF      R3 = R2[K5('HasNetwork')] (self)
  0024  CALL      R2 = call(R2, 1 args, 1 rets)
  0025  TEST      if not R2 then   -> -131045
  0026  JMP       (jump)   -> 83
  0027  TEST      if not R1 then   -> -131042
  0028  JMP       (jump)   -> 32
  0029  LOADK     R2 = K9 1
  0030  TEST      if not R2 then   -> -131039
  0031  JMP       (jump)   -> 36
  0032  GETTABLE  R2 = R0[K0('m_model')]
  0033  SELF      R3 = R2[K10('GetMyRank')] (self)
  0034  LOADBOOL  R4 = true
  0035  CALL      R2 = call(R2, 1 args, 2 rets)
  0036  GETTABLE  R3 = R0[K11('m_rank')]
  0037  EQ        if R1 eq R2   -> -129495
  0038  JMP       (jump)   -> 42
  0039  GETTABLE  R3 = R0[K11('m_rank')]
  0040  EQ        if R0 eq K1(nil)   -> -129237
  0041  JMP       (jump)   -> 43
  0042  LOADBOOL  R3 = false
  0043  LOADBOOL  R3 = true
  0044  GETTABLE  R4 = R0[K11('m_rank')]
  0045  EQ        if R1 eq K1(nil)   -> -128720
  0046  JMP       (jump)   -> 52
  0047  GETTABLE  R4 = R0[K11('m_rank')]
  0048  LT        if R0 lt R4   -> -129994
  0049  JMP       (jump)   -> 52
  0050  MOVE      R4 = R0
  0051  JMP       (jump)   -> 54
  0052  LOADBOOL  R4 = false
  0053  LOADBOOL  R4 = true
  0054  GETTABLE  R5 = R0[K11('m_rank')]
  0055  EQ        if R1 eq R2   -> -128453
  0056  JMP       (jump)   -> 83
  0057  SETTABLE  R0[K11('m_rank')] = R2
  0058  GETTABLE  R5 = R0[K11('m_rank')]
  0059  LT        if R0 lt R5   -> 6210
  0060  JMP       (jump)   -> 72
  0061  GETTABLE  R5 = R0[K11('m_rank')]
  0062  LE        if R0 le K13(5)   -> -128179
  0063  JMP       (jump)   -> 72
  0064  GETTABUP  R5 = _ENV[K14('SpriteUtil')]
  0065  GETTABLE  R5 = R5[K15('SetImage')]
  0066  GETTABLE  R6 = R0[K16('m_iconImg')]
  0067  GETTABLE  R7 = R0[K17('m_activityDefinition')]
  0068  GETTABLE  R7 = R7[K18('CoinRaceBoardEntryRankImgPrefix')]
  0069  GETTABLE  R8 = R0[K11('m_rank')]
  0070  CONCAT    R7 = concat(R7..R7)
  0071  CALL      R5 = call(R5, 0 args, 2 rets)
  0072  TEST      if not R3 then   -> -130998
  0073  JMP       (jump)   -> 83
  0074  GETTABLE  R5 = R0[K19('m_rankAnimator')]
  0075  SELF      R6 = R5[K20('SetTrigger')] (self)
  0076  LOADK     R7 = K21 'play'
  0077  CALL      R5 = call(R5, 0 args, 2 rets)
  0078  TEST      if not R4 then   -> -130992
  0079  JMP       (jump)   -> 83
  0080  GETTABLE  R5 = R0[K22('m_rankEffect')]
  0081  SELF      R6 = R5[K23('Play')] (self)
  0082  CALL      R5 = call(R5, 0 args, 1 rets)
  0083  RETURN    return R0..R-1
; ---------- proto6 [_UpdateBasedOnRaceState] ----------
  ; fn ?  line 106-117 np=2 va=0 ms=6 code=24 consts=9 upvals=0 protos=0
  ;   K[0]='m_bShowMatchBtn'
  ;   K[1]=nil
  ;   K[2]='m_iconArea'
  ;   K[3]='gameObject'
  ;   K[4]='SetActive'
  ;   K[5]='m_exclamationGo'
  ;   K[6]='m_model'
  ;   K[7]='CanShowExclaimation'
  ;   K[8]='m_startMatchGo'
  ;   locals: self(0-24), isInMatch(0-24)
  0000  GETTABLE  R2 = R0[K0('m_bShowMatchBtn')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_bShowMatchBtn')]
  0004  EQ        if R0 eq R1   -> -130041
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABLE  R2 = R0[K2('m_iconArea')]
  0008  GETTABLE  R2 = R2[K3('gameObject')]
  0009  SELF      R3 = R2[K4('SetActive')] (self)
  0010  MOVE      R4 = R0
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  GETTABLE  R2 = R0[K5('m_exclamationGo')]
  0013  SELF      R3 = R2[K4('SetActive')] (self)
  0014  GETTABLE  R4 = R0[K6('m_model')]
  0015  SELF      R5 = R4[K7('CanShowExclaimation')] (self)
  0016  CALL      R4 = call(R4, -1 args, 1 rets)
  0017  CALL      R2 = call(R2, 0 args, -1 rets)
  0018  GETTABLE  R2 = R0[K8('m_startMatchGo')]
  0019  SELF      R3 = R2[K4('SetActive')] (self)
  0020  NOT       R4 = not R0
  0021  CALL      R2 = call(R2, 0 args, 2 rets)
  0022  SETTABLE  R0[K0('m_bShowMatchBtn')] = R1
  0023  RETURN    return R0..R-1
; ---------- proto7 [OnScoreChanged] ----------
  ; fn ?  line 119-121 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdateContent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdateContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto8 [OnBtnClicked] ----------
  ; fn ?  line 123-136 np=1 va=0 ms=8 code=40 consts=13 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Preparing'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='OpenView'
  ;   K[7]='m_activityDefinition'
  ;   K[8]='NoticeWindowPrefabName'
  ;   K[9]='m_activityType'
  ;   K[10]='Started'
  ;   K[11]='IsInRace'
  ;   K[12]='TryOpenMainWindow'
  ;   upvals: _ENV
  ;   locals: self(0-40), state(3-40)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetState')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0004  GETTABLE  R2 = R2[K3('Preparing')]
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 17
  0007  GETTABUP  R2 = _ENV[K4('GM')]
  0008  GETTABLE  R2 = R2[K5('UIManager')]
  0009  SELF      R3 = R2[K6('OpenView')] (self)
  0010  GETTABLE  R4 = R0[K7('m_activityDefinition')]
  0011  GETTABLE  R4 = R4[K8('NoticeWindowPrefabName')]
  0012  GETTABLE  R5 = R0[K9('m_activityType')]
  0013  LOADBOOL  R6 = false
  0014  LOADBOOL  R7 = false
  0015  CALL      R2 = call(R2, 0 args, 5 rets)
  0016  JMP       (jump)   -> 39
  0017  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0018  GETTABLE  R2 = R2[K10('Started')]
  0019  EQ        if R0 eq R2   -> -130537
  0020  JMP       (jump)   -> 39
  0021  GETTABLE  R2 = R0[K0('m_model')]
  0022  SELF      R3 = R2[K11('IsInRace')] (self)
  0023  CALL      R2 = call(R2, 1 args, 1 rets)
  0024  TEST      if not R2 then   -> -131046
  0025  JMP       (jump)   -> 30
  0026  GETTABLE  R2 = R0[K0('m_model')]
  0027  SELF      R3 = R2[K12('TryOpenMainWindow')] (self)
  0028  CALL      R2 = call(R2, 0 args, 1 rets)
  0029  JMP       (jump)   -> 39
  0030  GETTABUP  R2 = _ENV[K4('GM')]
  0031  GETTABLE  R2 = R2[K5('UIManager')]
  0032  SELF      R3 = R2[K6('OpenView')] (self)
  0033  GETTABLE  R4 = R0[K7('m_activityDefinition')]
  0034  GETTABLE  R4 = R4[K8('NoticeWindowPrefabName')]
  0035  GETTABLE  R5 = R0[K9('m_activityType')]
  0036  LOADBOOL  R6 = false
  0037  LOADBOOL  R7 = true
  0038  CALL      R2 = call(R2, 0 args, 5 rets)
  0039  RETURN    return R0..R-1
; ---------- proto9 [_OnGameModeChanged] ----------
  ; fn ?  line 138-153 np=1 va=0 ms=4 code=32 consts=13 upvals=1 protos=0
  ;   K[0]='UpdatePerSecond'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Main'
  ;   K[6]='m_model'
  ;   K[7]=nil
  ;   K[8]='IsInRace'
  ;   K[9]='GetMyScore'
  ;   K[10]='GetTargetScore'
  ;   K[11]=0
  ;   K[12]='m_avatar'
  ;   upvals: _ENV
  ;   locals: self(0-32), score(22-32), targetScore(25-32)
  0000  SELF      R2 = R0[K0('UpdatePerSecond')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('SceneManager')]
  0004  SELF      R2 = R1[K3('GetGameMode')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K4('EGameMode')]
  0007  GETTABLE  R2 = R2[K5('Main')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 18
  0010  GETTABLE  R1 = R0[K6('m_model')]
  0011  EQ        if R1 eq K7(nil)   -> -130284
  0012  JMP       (jump)   -> 18
  0013  GETTABLE  R1 = R0[K6('m_model')]
  0014  SELF      R2 = R1[K8('IsInRace')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  TEST      if not R1 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  RETURN    return R0..R-1
  0019  GETTABLE  R1 = R0[K6('m_model')]
  0020  SELF      R2 = R1[K9('GetMyScore')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  GETTABLE  R2 = R0[K6('m_model')]
  0023  SELF      R3 = R2[K10('GetTargetScore')] (self)
  0024  CALL      R2 = call(R2, 1 args, 1 rets)
  0025  EQ        if R1 eq K11(0)   -> -129754
  0026  JMP       (jump)   -> 30
  0027  GETTABLE  R3 = R0[K12('m_avatar')]
  0028  EQ        if R0 eq K7(nil)   -> -129243
  0029  JMP       (jump)   -> 31
  0030  RETURN    return R0..R-1
  0031  RETURN    return R0..R-1
; ---------- proto10 [GetIconArea] ----------
  ; fn ?  line 155-157 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
