# CrashRace_Model_CrashRaceModel_1072.luac
; fn @CrashRaceModel.lua  line 0-0 np=0 va=1 ms=3 code=108 consts=45 upvals=1 protos=31
;   K[0]='CrashRaceModel'
;   K[1]='setmetatable'
;   K[2]='EntryOpName'
;   K[3]='BLCrashRaceEntry1'
;   K[4]='LogTag'
;   K[5]='CrashRacePlayer'
;   K[6]='IsExsitFail'
;   K[7]=true
;   K[8]='MinAddScoreTime'
;   K[9]=20
;   K[10]='PkRaceModel'
;   K[11]='__index'
;   K[12]='LastCompetitorDisplayScore'
;   K[13]='lastCompetitorDisplayScore'
;   K[14]='GetActivityDefinitionByType'
;   K[15]='GetBoardEntryShowConfig'
;   K[16]='GetMapEntryShowConfig'
;   K[17]='_OnCompetitionEntrySuccess'
;   K[18]='GetTargetScoreWhenMatch'
;   K[19]='GetLastCompetitorDisplayScore'
;   K[20]='SetLastCompetitorDisplayScore'
;   K[21]='_DispatchScoreUpdateEvent'
;   K[22]='_SetEntryOpName'
;   K[23]='_InitUpdateRobotTime'
;   K[24]='TryUpdateOwnHp'
;   K[25]='GetLastOwnHpForEntry'
;   K[26]='TryDisplayTopSlider'
;   K[27]='DisplayTopSlider'
;   K[28]='_CheckFail'
;   K[29]='_SetCurrentRoundFail'
;   K[30]='TryClaimReward'
;   K[31]='_LogActivityEnd'
;   K[32]='GetCurrentRoundReward'
;   K[33]='GetRewardByRound'
;   K[34]='OpenFailWindow'
;   K[35]='GetHpNumByScore'
;   K[36]='_GetScoreByHpNum'
;   K[37]='GetOwnHpNum'
;   K[38]='GetPlayerHpNum'
;   K[39]='GetLastOwnHpNum'
;   K[40]='GetLastPlayerHpNum'
;   K[41]='GetOrderFinishScrollBackDelay'
;   K[42]='TestSuccessRound'
;   K[43]='TestFailRound'
;   K[44]='TestCompleteToFinalRound'
;   upvals: _ENV
;   locals: CrashDBKey(14-108)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('EntryOpName')] = K3('BLCrashRaceEntry1')
0003  SETTABLE  R1[K4('LogTag')] = K5('CrashRacePlayer')
0004  SETTABLE  R1[K6('IsExsitFail')] = K7(true)
0005  SETTABLE  R1[K8('MinAddScoreTime')] = K9(20)
0006  GETTABUP  R2 = _ENV[K10('PkRaceModel')]
0007  CALL      R0 = call(R0, 1 args, 2 rets)
0008  SETTABUP  _ENV[K0('CrashRaceModel')] = R0
0009  GETTABUP  R0 = _ENV[K0('CrashRaceModel')]
0010  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0011  SETTABLE  R0[K11('__index')] = R1
0012  NEWTABLE  R0 = {} (0 items)
0013  SETTABLE  R0[K12('LastCompetitorDisplayScore')] = K13('lastCompetitorDisplayScore')
0014  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0015  CLOSURE   R2 = closure proto0
0016  SETTABLE  R1[K14('GetActivityDefinitionByType')] = R2
0017  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0018  CLOSURE   R2 = closure proto1
0019  SETTABLE  R1[K15('GetBoardEntryShowConfig')] = R2
0020  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0021  CLOSURE   R2 = closure proto2
0022  SETTABLE  R1[K16('GetMapEntryShowConfig')] = R2
0023  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0024  CLOSURE   R2 = closure proto3
0025  SETTABLE  R1[K17('_OnCompetitionEntrySuccess')] = R2
0026  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0027  CLOSURE   R2 = closure proto4
0028  SETTABLE  R1[K18('GetTargetScoreWhenMatch')] = R2
0029  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0030  CLOSURE   R2 = closure proto5
0031  SETTABLE  R1[K19('GetLastCompetitorDisplayScore')] = R2
0032  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0033  CLOSURE   R2 = closure proto6
0034  SETTABLE  R1[K20('SetLastCompetitorDisplayScore')] = R2
0035  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0036  CLOSURE   R2 = closure proto7
0037  SETTABLE  R1[K21('_DispatchScoreUpdateEvent')] = R2
0038  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0039  CLOSURE   R2 = closure proto8
0040  SETTABLE  R1[K22('_SetEntryOpName')] = R2
0041  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0042  CLOSURE   R2 = closure proto9
0043  SETTABLE  R1[K23('_InitUpdateRobotTime')] = R2
0044  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0045  CLOSURE   R2 = closure proto10
0046  SETTABLE  R1[K24('TryUpdateOwnHp')] = R2
0047  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0048  CLOSURE   R2 = closure proto11
0049  SETTABLE  R1[K25('GetLastOwnHpForEntry')] = R2
0050  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0051  CLOSURE   R2 = closure proto12
0052  SETTABLE  R1[K26('TryDisplayTopSlider')] = R2
0053  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0054  CLOSURE   R2 = closure proto13
0055  SETTABLE  R1[K27('DisplayTopSlider')] = R2
0056  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0057  CLOSURE   R2 = closure proto14
0058  SETTABLE  R1[K28('_CheckFail')] = R2
0059  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0060  CLOSURE   R2 = closure proto15
0061  SETTABLE  R1[K29('_SetCurrentRoundFail')] = R2
0062  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0063  CLOSURE   R2 = closure proto16
0064  SETTABLE  R1[K30('TryClaimReward')] = R2
0065  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0066  CLOSURE   R2 = closure proto17
0067  SETTABLE  R1[K31('_LogActivityEnd')] = R2
0068  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0069  CLOSURE   R2 = closure proto18
0070  SETTABLE  R1[K32('GetCurrentRoundReward')] = R2
0071  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0072  CLOSURE   R2 = closure proto19
0073  SETTABLE  R1[K33('GetRewardByRound')] = R2
0074  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0075  CLOSURE   R2 = closure proto20
0076  SETTABLE  R1[K34('OpenFailWindow')] = R2
0077  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0078  CLOSURE   R2 = closure proto21
0079  SETTABLE  R1[K35('GetHpNumByScore')] = R2
0080  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0081  CLOSURE   R2 = closure proto22
0082  SETTABLE  R1[K36('_GetScoreByHpNum')] = R2
0083  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0084  CLOSURE   R2 = closure proto23
0085  SETTABLE  R1[K37('GetOwnHpNum')] = R2
0086  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0087  CLOSURE   R2 = closure proto24
0088  SETTABLE  R1[K38('GetPlayerHpNum')] = R2
0089  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0090  CLOSURE   R2 = closure proto25
0091  SETTABLE  R1[K39('GetLastOwnHpNum')] = R2
0092  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0093  CLOSURE   R2 = closure proto26
0094  SETTABLE  R1[K40('GetLastPlayerHpNum')] = R2
0095  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0096  CLOSURE   R2 = closure proto27
0097  SETTABLE  R1[K41('GetOrderFinishScrollBackDelay')] = R2
0098  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0099  CLOSURE   R2 = closure proto28
0100  SETTABLE  R1[K42('TestSuccessRound')] = R2
0101  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0102  CLOSURE   R2 = closure proto29
0103  SETTABLE  R1[K43('TestFailRound')] = R2
0104  GETTABUP  R1 = _ENV[K0('CrashRaceModel')]
0105  CLOSURE   R2 = closure proto30
0106  SETTABLE  R1[K44('TestCompleteToFinalRound')] = R2
0107  RETURN    return R0..R-1
; ---------- proto0 [GetActivityDefinitionByType] ----------
  ; fn ?  line 20-22 np=2 va=0 ms=3 code=4 consts=1 upvals=1 protos=0
  ;   K[0]='CrashRaceDefinition'
  ;   upvals: _ENV
  ;   locals: self(0-4), activityType(0-4)
  0000  GETTABUP  R2 = _ENV[K0('CrashRaceDefinition')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto1 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 24-33 np=1 va=0 ms=3 code=14 consts=9 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='CrashRace'
  ;   K[6]='entryPrefabName'
  ;   K[7]='BoardEntryPrefabName'
  ;   K[8]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('CrashRace')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0008  GETTABLE  R2 = R2[K7('BoardEntryPrefabName')]
  0009  SETTABLE  R1[K6('entryPrefabName')] = R2
  0010  CLOSURE   R2 = closure proto0
  0011  SETTABLE  R1[K8('checkFun')] = R2
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 29-31 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='IsActivityOpen'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('IsActivityOpen')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto2 [GetMapEntryShowConfig] ----------
  ; fn ?  line 35-45 np=1 va=0 ms=3 code=17 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='CrashRace'
  ;   K[6]='entryPrefabName'
  ;   K[7]='EntryPrefabName'
  ;   K[8]='hudKey'
  ;   K[9]='EntryButtonKey'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('CrashRace')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0008  GETTABLE  R2 = R2[K7('EntryPrefabName')]
  0009  SETTABLE  R1[K6('entryPrefabName')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K9('EntryButtonKey')]
  0012  SETTABLE  R1[K8('hudKey')] = R2
  0013  CLOSURE   R2 = closure proto0
  0014  SETTABLE  R1[K10('checkFun')] = R2
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 41-43 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='IsActivityOpen'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('IsActivityOpen')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto3 [_OnCompetitionEntrySuccess] ----------
  ; fn ?  line 47-50 np=1 va=0 ms=4 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='BaseRaceActivityModel'
  ;   K[1]='_OnCompetitionEntrySuccess'
  ;   K[2]='SetLastCompetitorDisplayScore'
  ;   K[3]=0
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('BaseRaceActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_OnCompetitionEntrySuccess')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('SetLastCompetitorDisplayScore')] (self)
  0005  LOADK     R3 = K3 0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto4 [GetTargetScoreWhenMatch] ----------
  ; fn ?  line 53-59 np=1 va=0 ms=3 code=12 consts=5 upvals=0 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]=0
  ;   K[2]='m_config'
  ;   K[3]='roundConfigs'
  ;   K[4]='target'
  ;   locals: self(0-12), curRound(2-12)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(0)   -> -130299
  0003  JMP       (jump)   -> 6
  0004  LOADK     R2 = K1 0
  0005  RETURN    return R2..R1
  0006  GETTABLE  R2 = R0[K2('m_config')]
  0007  GETTABLE  R2 = R2[K3('roundConfigs')]
  0008  GETTABLE  R2 = R2[R1]
  0009  GETTABLE  R2 = R2[K4('target')]
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto5 [GetLastCompetitorDisplayScore] ----------
  ; fn ?  line 61-63 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetInNumber'
  ;   K[2]='LastCompetitorDisplayScore'
  ;   K[3]='value'
  ;   K[4]=0
  ;   upvals: CrashDBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetInNumber')] (self)
  0002  GETTABUP  R3 = CrashDBKey[K2('LastCompetitorDisplayScore')]
  0003  LOADK     R4 = K3 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto6 [SetLastCompetitorDisplayScore] ----------
  ; fn ?  line 65-67 np=2 va=0 ms=7 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastCompetitorDisplayScore'
  ;   K[3]='value'
  ;   upvals: CrashDBKey
  ;   locals: self(0-7), score(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = CrashDBKey[K2('LastCompetitorDisplayScore')]
  0003  LOADK     R5 = K3 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto7 [_DispatchScoreUpdateEvent] ----------
  ; fn ?  line 69-71 np=2 va=0 ms=5 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='CompetitorDisplayScoreUpdate'
  ;   upvals: _ENV
  ;   locals: self(0-7), msg(0-7)
  0000  GETTABUP  R2 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R2 = R2[K1('DispatchEvent')]
  0002  GETTABLE  R3 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R3 = R3[K3('CompetitorDisplayScoreUpdate')]
  0004  MOVE      R4 = R0
  0005  CALL      R2 = call(R2, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto8 [_SetEntryOpName] ----------
  ; fn ?  line 73-75 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='EntryOpName'
  ;   K[1]='BLCrashRaceEntry1'
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('EntryOpName')] = K1('BLCrashRaceEntry1')
  0001  RETURN    return R0..R-1
; ---------- proto9 [_InitUpdateRobotTime] ----------
  ; fn ?  line 78-81 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='BaseRaceActivityModel'
  ;   K[1]='_InitUpdateRobotTime'
  ;   K[2]='TryUpdateOwnHp'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('BaseRaceActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_InitUpdateRobotTime')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('TryUpdateOwnHp')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto10 [TryUpdateOwnHp] ----------
  ; fn ?  line 83-103 np=1 va=0 ms=8 code=50 consts=16 upvals=1 protos=0
  ;   K[0]='IsInRace'
  ;   K[1]='HasNetwork'
  ;   K[2]='GetMyScore'
  ;   K[3]='GetTargetScore'
  ;   K[4]='GetOwnHpNum'
  ;   K[5]=0
  ;   K[6]='GM'
  ;   K[7]='UIManager'
  ;   K[8]='IsViewOpen'
  ;   K[9]='m_activityDefinition'
  ;   K[10]='MainWindowPrefabName'
  ;   K[11]='GetLastOwnHpForEntry'
  ;   K[12]='_DispatchScoreUpdateEvent'
  ;   K[13]='SetLastCompetitorDisplayScore'
  ;   K[14]='_GetScoreByHpNum'
  ;   K[15]='TryDisplayTopSlider'
  ;   upvals: _ENV
  ;   locals: self(0-50), lastOwnHp(29-50), currOwnHp(31-50)
  0000  SELF      R2 = R0[K0('IsInRace')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 26
  0004  SELF      R2 = R0[K1('HasNetwork')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 26
  0008  SELF      R2 = R0[K2('GetMyScore')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  SELF      R3 = R0[K3('GetTargetScore')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  LE        if R1 le R1   -> -130033
  0013  JMP       (jump)   -> 26
  0014  SELF      R2 = R0[K4('GetOwnHpNum')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  LT        if R0 lt R1   -> 2579
  0017  JMP       (jump)   -> 27
  0018  GETTABUP  R1 = _ENV[K6('GM')]
  0019  GETTABLE  R1 = R1[K7('UIManager')]
  0020  SELF      R2 = R1[K8('IsViewOpen')] (self)
  0021  GETTABLE  R3 = R0[K9('m_activityDefinition')]
  0022  GETTABLE  R3 = R3[K10('MainWindowPrefabName')]
  0023  CALL      R1 = call(R1, 1 args, 2 rets)
  0024  TEST      if not R1 then   -> -131046
  0025  JMP       (jump)   -> 27
  0026  RETURN    return R0..R-1
  0027  SELF      R2 = R0[K11('GetLastOwnHpForEntry')] (self)
  0028  CALL      R1 = call(R1, 1 args, 1 rets)
  0029  SELF      R3 = R0[K4('GetOwnHpNum')] (self)
  0030  CALL      R2 = call(R2, 1 args, 1 rets)
  0031  EQ        if R0 eq R2   -> -130525
  0032  JMP       (jump)   -> 34
  0033  RETURN    return R0..R-1
  0034  SELF      R4 = R0[K12('_DispatchScoreUpdateEvent')] (self)
  0035  MOVE      R5 = R0
  0036  MOVE      R6 = R0
  0037  CALL      R3 = call(R3, 0 args, 3 rets)
  0038  SELF      R4 = R0[K13('SetLastCompetitorDisplayScore')] (self)
  0039  SELF      R6 = R0[K14('_GetScoreByHpNum')] (self)
  0040  MOVE      R7 = R0
  0041  CALL      R5 = call(R5, -1 args, 2 rets)
  0042  CALL      R3 = call(R3, 0 args, -1 rets)
  0043  LT        if R0 lt R2   -> 2607
  0044  JMP       (jump)   -> 49
  0045  SELF      R4 = R0[K15('TryDisplayTopSlider')] (self)
  0046  MOVE      R5 = R0
  0047  MOVE      R6 = R0
  0048  CALL      R3 = call(R3, 0 args, 3 rets)
  0049  RETURN    return R0..R-1
; ---------- proto11 [GetLastOwnHpForEntry] ----------
  ; fn ?  line 105-111 np=2 va=0 ms=6 code=13 consts=4 upvals=0 protos=0
  ;   K[0]='IsInRace'
  ;   K[1]=0
  ;   K[2]='GetHpNumByScore'
  ;   K[3]='GetLastCompetitorDisplayScore'
  ;   locals: self(0-13), round(0-13)
  0000  SELF      R3 = R0[K0('IsInRace')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADK     R2 = K1 0
  0005  RETURN    return R2..R1
  0006  SELF      R3 = R0[K2('GetHpNumByScore')] (self)
  0007  SELF      R5 = R0[K3('GetLastCompetitorDisplayScore')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  MOVE      R5 = R0
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto12 [TryDisplayTopSlider] ----------
  ; fn ?  line 113-123 np=3 va=0 ms=10 code=29 consts=6 upvals=0 protos=0
  ;   K[0]='GetTargetScore'
  ;   K[1]=0.3
  ;   K[2]='crashrace_attack_tip2'
  ;   K[3]='DisplayTopSlider'
  ;   K[4]=0.6
  ;   K[5]='crashrace_attack_tip1'
  ;   locals: self(0-29), lastOwnHp(0-29), currOwnHp(0-29), targetScore(2-29), textKey(3-29)
  0000  SELF      R4 = R0[K0('GetTargetScore')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  LOADNIL   R4..R4 = nil
  0003  MUL       R5 = K1(0.3) mul R3
  0004  LE        if R0 le R5   -> -130037
  0005  JMP       (jump)   -> 16
  0006  MUL       R5 = K1(0.3) mul R3
  0007  LT        if R0 lt R1   -> -128502
  0008  JMP       (jump)   -> 16
  0009  LOADK     R4 = K2 'crashrace_attack_tip2'
  0010  SELF      R6 = R0[K3('DisplayTopSlider')] (self)
  0011  MOVE      R7 = R0
  0012  MOVE      R8 = R0
  0013  MOVE      R9 = R0
  0014  CALL      R5 = call(R5, 0 args, 4 rets)
  0015  JMP       (jump)   -> 28
  0016  MUL       R5 = K4(0.6) mul R3
  0017  LE        if R0 le R5   -> -130024
  0018  JMP       (jump)   -> 28
  0019  MUL       R5 = K4(0.6) mul R3
  0020  LT        if R0 lt R1   -> -128489
  0021  JMP       (jump)   -> 28
  0022  LOADK     R4 = K5 'crashrace_attack_tip1'
  0023  SELF      R6 = R0[K3('DisplayTopSlider')] (self)
  0024  MOVE      R7 = R0
  0025  MOVE      R8 = R0
  0026  MOVE      R9 = R0
  0027  CALL      R5 = call(R5, 0 args, 4 rets)
  0028  RETURN    return R0..R-1
; ---------- proto13 [DisplayTopSlider] ----------
  ; fn ?  line 125-140 np=4 va=0 ms=8 code=8 consts=5 upvals=1 protos=1
  ;   K[0]='TopSliderManager'
  ;   K[1]='TrySlide'
  ;   K[2]='m_type'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='CrashRaceTopSlider'
  ;   upvals: _ENV
  ;   locals: self(0-8), textKey(0-8), lastOwnHp(0-8), currOwnHp(0-8)
  0000  GETTABUP  R4 = _ENV[K0('TopSliderManager')]
  0001  GETTABLE  R4 = R4[K1('TrySlide')]
  0002  GETTABLE  R5 = R0[K2('m_type')]
  0003  GETTABUP  R6 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R6 = R6[K4('CrashRaceTopSlider')]
  0005  CLOSURE   R7 = closure proto0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 126-139 np=1 va=0 ms=8 code=27 consts=10 upvals=5 protos=1
    ;   K[0]='GetState'
    ;   K[1]='ActivityState'
    ;   K[2]='Started'
    ;   K[3]='AddressableLoader'
    ;   K[4]='Destroy'
    ;   K[5]='m_type'
    ;   K[6]='GetLuaTable'
    ;   K[7]='Init'
    ;   K[8]='TopSliderManager'
    ;   K[9]='Appear'
    ;   upvals: self, _ENV, textKey, lastOwnHp, currOwnHp
    ;   locals: go(0-27), activityType(13-27)
    0000  GETUPVAL  R1 = self
    0001  SELF      R2 = R1[K0('GetState')] (self)
    0002  CALL      R1 = call(R1, 1 args, 1 rets)
    0003  GETTABUP  R2 = _ENV[K1('ActivityState')]
    0004  GETTABLE  R2 = R2[K2('Started')]
    0005  EQ        if R1 eq R2   -> -130551
    0006  JMP       (jump)   -> 12
    0007  GETTABUP  R1 = _ENV[K3('AddressableLoader')]
    0008  GETTABLE  R1 = R1[K4('Destroy')]
    0009  MOVE      R2 = R0
    0010  CALL      R1 = call(R1, 0 args, 1 rets)
    0011  RETURN    return R0..R-1
    0012  GETTABUP  R1 = self[K5('m_type')]
    0013  SELF      R3 = R0[K6('GetLuaTable')] (self)
    0014  CALL      R2 = call(R2, 1 args, 1 rets)
    0015  SELF      R3 = R2[K7('Init')] (self)
    0016  MOVE      R4 = R0
    0017  GETUPVAL  R5 = self
    0018  GETUPVAL  R6 = self
    0019  GETUPVAL  R7 = self
    0020  CALL      R2 = call(R2, 0 args, 5 rets)
    0021  GETTABUP  R2 = _ENV[K8('TopSliderManager')]
    0022  GETTABLE  R2 = R2[K9('Appear')]
    0023  MOVE      R3 = R0
    0024  CLOSURE   R4 = closure proto0
    0025  CALL      R2 = call(R2, 0 args, 2 rets)
    0026  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 134-138 np=0 va=0 ms=3 code=5 consts=2 upvals=2 protos=1
      ;   K[0]='DelayExecuteFunc'
      ;   K[1]=3.0
      ;   upvals: _ENV, go
      0000  GETTABUP  R0 = _ENV[K0('DelayExecuteFunc')]
      0001  CLOSURE   R1 = closure proto0
      0002  LOADK     R2 = K1 3.0
      0003  CALL      R0 = call(R0, 0 args, 2 rets)
      0004  RETURN    return R0..R-1
      ; ---------- proto0 [] ----------
        ; fn ?  line 135-137 np=0 va=0 ms=2 code=5 consts=2 upvals=2 protos=0
        ;   K[0]='TopSliderManager'
        ;   K[1]='Disappear'
        ;   upvals: _ENV, go
        0000  GETTABUP  R0 = _ENV[K0('TopSliderManager')]
        0001  GETTABLE  R0 = R0[K1('Disappear')]
        0002  GETUPVAL  R1 = _ENV
        0003  CALL      R0 = call(R0, 0 args, 1 rets)
        0004  RETURN    return R0..R-1
; ---------- proto14 [_CheckFail] ----------
  ; fn ?  line 142-154 np=1 va=0 ms=5 code=29 consts=14 upvals=1 protos=0
  ;   K[0]='PkRaceModel'
  ;   K[1]='_CheckFail'
  ;   K[2]='TryUpdateOwnHp'
  ;   K[3]='UpdatePlayerRank'
  ;   K[4]='GetMyRank'
  ;   K[5]=1
  ;   K[6]='m_arrPlayerData'
  ;   K[7]='GetCurScore'
  ;   K[8]='GetGapTime'
  ;   K[9]='GetTargetScore'
  ;   K[10]='Log'
  ;   K[11]='Info'
  ;   K[12]='[CrashRace] 失败了！对手完成了！'
  ;   K[13]='_SetCurrentRoundFail'
  ;   upvals: _ENV
  ;   locals: self(0-29)
  0000  GETTABUP  R1 = _ENV[K0('PkRaceModel')]
  0001  GETTABLE  R1 = R1[K1('_CheckFail')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('TryUpdateOwnHp')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('UpdatePlayerRank')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SELF      R2 = R0[K4('GetMyRank')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  LT        if R0 lt R1   -> 2573
  0011  JMP       (jump)   -> 28
  0012  GETTABLE  R1 = R0[K6('m_arrPlayerData')]
  0013  GETTABLE  R1 = R1[K5(1)]
  0014  SELF      R2 = R1[K7('GetCurScore')] (self)
  0015  SELF      R4 = R0[K8('GetGapTime')] (self)
  0016  CALL      R3 = call(R3, -1 args, 1 rets)
  0017  CALL      R1 = call(R1, 1 args, -1 rets)
  0018  SELF      R3 = R0[K9('GetTargetScore')] (self)
  0019  CALL      R2 = call(R2, 1 args, 1 rets)
  0020  LE        if R0 le R1   -> -130025
  0021  JMP       (jump)   -> 28
  0022  GETTABUP  R1 = _ENV[K10('Log')]
  0023  GETTABLE  R1 = R1[K11('Info')]
  0024  LOADK     R2 = K12 '[CrashRace] 失败了！对手完成了！'
  0025  CALL      R1 = call(R1, 0 args, 1 rets)
  0026  SELF      R2 = R0[K13('_SetCurrentRoundFail')] (self)
  0027  CALL      R1 = call(R1, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
; ---------- proto15 [_SetCurrentRoundFail] ----------
  ; fn ?  line 157-161 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='_LogActivityEnd'
  ;   K[1]='PkRaceModel'
  ;   K[2]='_SetCurrentRoundFail'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_LogActivityEnd')] (self)
  0001  LOADBOOL  R3 = false
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  GETTABUP  R1 = _ENV[K1('PkRaceModel')]
  0004  GETTABLE  R1 = R1[K2('_SetCurrentRoundFail')]
  0005  MOVE      R2 = R0
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto16 [TryClaimReward] ----------
  ; fn ?  line 165-171 np=1 va=0 ms=7 code=14 consts=3 upvals=1 protos=0
  ;   K[0]='PkRaceModel'
  ;   K[1]='TryClaimReward'
  ;   K[2]='_LogActivityEnd'
  ;   upvals: _ENV
  ;   locals: self(0-14), bSuccess(4-14), rewards(4-14), progressReward(4-14)
  0000  GETTABUP  R1 = _ENV[K0('PkRaceModel')]
  0001  GETTABLE  R1 = R1[K1('TryClaimReward')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 3 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  SELF      R5 = R0[K2('_LogActivityEnd')] (self)
  0007  LOADBOOL  R6 = true
  0008  CALL      R4 = call(R4, 0 args, 2 rets)
  0009  MOVE      R4 = R0
  0010  MOVE      R5 = R0
  0011  MOVE      R6 = R0
  0012  RETURN    return R4..R3
  0013  RETURN    return R0..R-1
; ---------- proto17 [_LogActivityEnd] ----------
  ; fn ?  line 173-182 np=2 va=0 ms=11 code=61 consts=20 upvals=1 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]='GetTargetScoreByRound'
  ;   K[2]='table'
  ;   K[3]='insert'
  ;   K[4]='round:'
  ;   K[5]='tostring'
  ;   K[6]='success:'
  ;   K[7]=1
  ;   K[8]=0
  ;   K[9]='ownScore:'
  ;   K[10]='GetMyScore'
  ;   K[11]='competitorScore:'
  ;   K[12]='GetCompetitorScore'
  ;   K[13]='GM'
  ;   K[14]='BIManager'
  ;   K[15]='LogAction'
  ;   K[16]='m_activityDefinition'
  ;   K[17]='RoundEndBIType'
  ;   K[18]='concat'
  ;   K[19]=';'
  ;   upvals: _ENV
  ;   locals: self(0-61), bSuccess(0-61), round(2-61), targetScore(5-61), biInfo(6-61)
  0000  SELF      R3 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  SELF      R4 = R0[K1('GetTargetScoreByRound')] (self)
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  NEWTABLE  R4 = {} (0 items)
  0006  GETTABUP  R5 = _ENV[K2('table')]
  0007  GETTABLE  R5 = R5[K3('insert')]
  0008  MOVE      R6 = R0
  0009  LOADK     R7 = K4 'round:'
  0010  GETTABUP  R8 = _ENV[K5('tostring')]
  0011  MOVE      R9 = R0
  0012  CALL      R8 = call(R8, 1 args, 1 rets)
  0013  CONCAT    R7 = concat(R7..R7)
  0014  CALL      R5 = call(R5, 0 args, 2 rets)
  0015  GETTABUP  R5 = _ENV[K2('table')]
  0016  GETTABLE  R5 = R5[K3('insert')]
  0017  MOVE      R6 = R0
  0018  LOADK     R7 = K6 'success:'
  0019  GETTABUP  R8 = _ENV[K5('tostring')]
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 25
  0022  LOADK     R9 = K7 1
  0023  TEST      if not R9 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  LOADK     R9 = K8 0
  0026  CALL      R8 = call(R8, 1 args, 1 rets)
  0027  CONCAT    R7 = concat(R7..R7)
  0028  CALL      R5 = call(R5, 0 args, 2 rets)
  0029  GETTABUP  R5 = _ENV[K2('table')]
  0030  GETTABLE  R5 = R5[K3('insert')]
  0031  MOVE      R6 = R0
  0032  LOADK     R7 = K9 'ownScore:'
  0033  GETTABUP  R8 = _ENV[K5('tostring')]
  0034  SELF      R10 = R0[K10('GetMyScore')] (self)
  0035  CALL      R9 = call(R9, -1 args, 1 rets)
  0036  CALL      R8 = call(R8, 1 args, -1 rets)
  0037  CONCAT    R7 = concat(R7..R7)
  0038  CALL      R5 = call(R5, 0 args, 2 rets)
  0039  GETTABUP  R5 = _ENV[K2('table')]
  0040  GETTABLE  R5 = R5[K3('insert')]
  0041  MOVE      R6 = R0
  0042  LOADK     R7 = K11 'competitorScore:'
  0043  GETTABUP  R8 = _ENV[K5('tostring')]
  0044  SELF      R10 = R0[K12('GetCompetitorScore')] (self)
  0045  CALL      R9 = call(R9, -1 args, 1 rets)
  0046  CALL      R8 = call(R8, 1 args, -1 rets)
  0047  CONCAT    R7 = concat(R7..R7)
  0048  CALL      R5 = call(R5, 0 args, 2 rets)
  0049  GETTABUP  R5 = _ENV[K13('GM')]
  0050  GETTABLE  R5 = R5[K14('BIManager')]
  0051  SELF      R6 = R5[K15('LogAction')] (self)
  0052  GETTABLE  R7 = R0[K16('m_activityDefinition')]
  0053  GETTABLE  R7 = R7[K17('RoundEndBIType')]
  0054  GETTABUP  R8 = _ENV[K2('table')]
  0055  GETTABLE  R8 = R8[K18('concat')]
  0056  MOVE      R9 = R0
  0057  LOADK     R10 = K19 ';'
  0058  CALL      R8 = call(R8, -1 args, 2 rets)
  0059  CALL      R5 = call(R5, 0 args, -1 rets)
  0060  RETURN    return R0..R-1
; ---------- proto18 [GetCurrentRoundReward] ----------
  ; fn ?  line 186-188 np=1 va=0 ms=5 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetRewardByRound'
  ;   K[1]='GetCurrentRound'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('GetRewardByRound')] (self)
  0001  SELF      R4 = R0[K1('GetCurrentRound')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto19 [GetRewardByRound] ----------
  ; fn ?  line 192-204 np=2 va=0 ms=5 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='roundConfigs'
  ;   K[2]='rankReward1'
  ;   locals: self(0-12), round(0-12), roundConfig(3-12), rewards(10-12)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  GETTABLE  R2 = R2[K1('roundConfigs')]
  0002  GETTABLE  R2 = R2[R1]
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 7
  0005  NEWTABLE  R3 = {} (0 items)
  0006  RETURN    return R3..R2
  0007  NEWTABLE  R3 = {} (1 items)
  0008  GETTABLE  R4 = R2[K2('rankReward1')]
  0009  SETLIST   setlist R3[B=1,C=1]
  0010  RETURN    return R3..R2
  0011  RETURN    return R0..R-1
; ---------- proto20 [OpenFailWindow] ----------
  ; fn ?  line 207-209 np=2 va=0 ms=7 code=9 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='NoticeWindowPrefabName'
  ;   K[5]='m_type'
  ;   upvals: _ENV
  ;   locals: self(0-9), bAuto(0-9)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('OpenView')] (self)
  0003  GETTABLE  R4 = R0[K3('m_activityDefinition')]
  0004  GETTABLE  R4 = R4[K4('NoticeWindowPrefabName')]
  0005  GETTABLE  R5 = R0[K5('m_type')]
  0006  MOVE      R6 = R0
  0007  CALL      R2 = call(R2, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto21 [GetHpNumByScore] ----------
  ; fn ?  line 212-215 np=3 va=0 ms=7 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='GetTargetScoreByRound'
  ;   K[1]='GetCurrentRound'
  ;   locals: self(0-9), score(0-9), round(0-9), tScore(6-9)
  0000  SELF      R4 = R0[K0('GetTargetScoreByRound')] (self)
  0001  TESTSET   if R1 then R5   -> -130044
  0002  JMP       (jump)   -> 5
  0003  SELF      R6 = R0[K1('GetCurrentRound')] (self)
  0004  CALL      R5 = call(R5, 1 args, 1 rets)
  0005  CALL      R3 = call(R3, 1 args, 2 rets)
  0006  SUB       R4 = R1 sub R3
  0007  RETURN    return R4..R3
  0008  RETURN    return R0..R-1
; ---------- proto22 [_GetScoreByHpNum] ----------
  ; fn ?  line 217-220 np=3 va=0 ms=7 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='GetTargetScoreByRound'
  ;   K[1]='GetCurrentRound'
  ;   locals: self(0-9), hp(0-9), round(0-9), tScore(6-9)
  0000  SELF      R4 = R0[K0('GetTargetScoreByRound')] (self)
  0001  TESTSET   if R1 then R5   -> -130044
  0002  JMP       (jump)   -> 5
  0003  SELF      R6 = R0[K1('GetCurrentRound')] (self)
  0004  CALL      R5 = call(R5, 1 args, 1 rets)
  0005  CALL      R3 = call(R3, 1 args, 2 rets)
  0006  SUB       R4 = R1 sub R3
  0007  RETURN    return R4..R3
  0008  RETURN    return R0..R-1
; ---------- proto23 [GetOwnHpNum] ----------
  ; fn ?  line 223-225 np=2 va=0 ms=6 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='GetHpNumByScore'
  ;   K[1]='GetCompetitorScore'
  ;   locals: self(0-7), round(0-7)
  0000  SELF      R3 = R0[K0('GetHpNumByScore')] (self)
  0001  SELF      R5 = R0[K1('GetCompetitorScore')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  MOVE      R5 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto24 [GetPlayerHpNum] ----------
  ; fn ?  line 228-230 np=2 va=0 ms=6 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='GetHpNumByScore'
  ;   K[1]='GetMyScore'
  ;   locals: self(0-7), round(0-7)
  0000  SELF      R3 = R0[K0('GetHpNumByScore')] (self)
  0001  SELF      R5 = R0[K1('GetMyScore')] (self)
  0002  CALL      R4 = call(R4, 1 args, 1 rets)
  0003  MOVE      R5 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto25 [GetLastOwnHpNum] ----------
  ; fn ?  line 233-239 np=2 va=0 ms=7 code=13 consts=5 upvals=0 protos=0
  ;   K[0]='GetOneCompetitorData'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='GetHpNumByScore'
  ;   K[4]='GetLastScore'
  ;   locals: self(0-13), round(0-13), playerData(2-13)
  0000  SELF      R3 = R0[K0('GetOneCompetitorData')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 6
  0004  LOADK     R3 = K2 0
  0005  RETURN    return R3..R2
  0006  SELF      R4 = R0[K3('GetHpNumByScore')] (self)
  0007  SELF      R6 = R2[K4('GetLastScore')] (self)
  0008  CALL      R5 = call(R5, 1 args, 1 rets)
  0009  MOVE      R6 = R0
  0010  TAILCALL  tailcall(R3, 0)
  0011  RETURN    return R3..R2
  0012  RETURN    return R0..R-1
; ---------- proto26 [GetLastPlayerHpNum] ----------
  ; fn ?  line 242-244 np=2 va=0 ms=7 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='GetHpNumByScore'
  ;   K[1]='GetLastScore'
  ;   K[2]='BaseRaceActivityModel'
  ;   K[3]='MY_USER_ID'
  ;   upvals: _ENV
  ;   locals: self(0-9), round(0-9)
  0000  SELF      R3 = R0[K0('GetHpNumByScore')] (self)
  0001  SELF      R5 = R0[K1('GetLastScore')] (self)
  0002  GETTABUP  R6 = _ENV[K2('BaseRaceActivityModel')]
  0003  GETTABLE  R6 = R6[K3('MY_USER_ID')]
  0004  CALL      R4 = call(R4, 1 args, 2 rets)
  0005  MOVE      R5 = R0
  0006  TAILCALL  tailcall(R2, 0)
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto27 [GetOrderFinishScrollBackDelay] ----------
  ; fn ?  line 246-256 np=1 va=0 ms=13 code=24 consts=7 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='CrashRaceDefinition'
  ;   K[2]='ipairs'
  ;   K[3]='PROPERTY_TYPE'
  ;   K[4]='ActivityTokenPropertyType'
  ;   K[5]=2
  ;   K[6]=0
  ;   upvals: _ENV
  ;   locals: arrRewards(0-24), (for generator)(3-21), (for state)(3-21), (for control)(3-21), _(4-19), definition(4-19), (for generator)(9-19), (for state)(9-19), (for control)(9-19), _(10-17), reward(10-17)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('CrashRaceDefinition')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 19
  0004  GETTABUP  R6 = _ENV[K2('ipairs')]
  0005  TESTSET   if not R1 then R7   -> -131064
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R7 = {} (0 items)
  0008  CALL      R6 = call(R6, 3 args, 1 rets)
  0009  JMP       (jump)   -> 17
  0010  GETTABUP  R11 = _ENV[K3('PROPERTY_TYPE')]
  0011  GETTABLE  R11 = R10[R11]
  0012  GETTABLE  R12 = R5[K4('ActivityTokenPropertyType')]
  0013  EQ        if R0 eq R12   -> -125413
  0014  JMP       (jump)   -> 17
  0015  LOADK     R11 = K5 2
  0016  RETURN    return R11..R10
  0017  TFORCALL  tforcall R6
  0018  TFORLOOP  tforloop R8(sBx=-9)   -> 10
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-17)   -> 4
  0021  LOADK     R1 = K6 0
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto28 [TestSuccessRound] ----------
  ; fn ?  line 261-267 np=1 va=0 ms=5 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='_AddMyScore'
  ;   K[3]='GetTargetScore'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('_AddMyScore')] (self)
  0007  SELF      R4 = R0[K3('GetTargetScore')] (self)
  0008  CALL      R3 = call(R3, -1 args, 1 rets)
  0009  CALL      R1 = call(R1, 0 args, -1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto29 [TestFailRound] ----------
  ; fn ?  line 270-279 np=1 va=0 ms=6 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetGapTime'
  ;   K[3]='GetOneCompetitorData'
  ;   K[4]='TestRobotSuccess'
  ;   K[5]='TryCheckFailImmediately'
  ;   upvals: _ENV
  ;   locals: self(0-16), curTime(8-16), competitorData(10-16)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetGapTime')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R0[K3('GetOneCompetitorData')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SELF      R4 = R2[K4('TestRobotSuccess')] (self)
  0011  MOVE      R5 = R0
  0012  CALL      R3 = call(R3, 0 args, 2 rets)
  0013  SELF      R4 = R0[K5('TryCheckFailImmediately')] (self)
  0014  CALL      R3 = call(R3, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto30 [TestCompleteToFinalRound] ----------
  ; fn ?  line 282-290 np=1 va=0 ms=5 code=15 consts=6 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='GetRoundCount'
  ;   K[3]=1
  ;   K[4]='SetCurrentRound'
  ;   K[5]='TestSuccessRound'
  ;   upvals: _ENV
  ;   locals: self(0-15), targetRound(9-15)
  0000  GETTABUP  R1 = _ENV[K0('GameConfig')]
  0001  GETTABLE  R1 = R1[K1('IsTestMode')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  SELF      R2 = R0[K2('GetRoundCount')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SUB       R1 = K3(1) sub R1
  0009  SELF      R3 = R0[K4('SetCurrentRound')] (self)
  0010  MOVE      R4 = R0
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  SELF      R3 = R0[K5('TestSuccessRound')] (self)
  0013  CALL      R2 = call(R2, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
