# CoinRaceActivity_Model_BaseRaceActivityModel_883.luac
; fn @BaseRaceActivityModel.lua  line 0-0 np=0 va=1 ms=6 code=317 consts=149 upvals=1 protos=91
;   K[0]='Round'
;   K[1]='round'
;   K[2]='PlayerDatas'
;   K[3]='playerDatas'
;   K[4]='MyScore'
;   K[5]='myScore'
;   K[6]='EntryTime'
;   K[7]='entryTime'
;   K[8]='CompeleteTime'
;   K[9]='compeleteTime'
;   K[10]='ReceiveRewardState'
;   K[11]='receiveRewardState'
;   K[12]='RoundRanks'
;   K[13]='roundRanks'
;   K[14]='LastScore'
;   K[15]='lastScore'
;   K[16]='LastRank'
;   K[17]='lastRank'
;   K[18]='Settled'
;   K[19]='settled'
;   K[20]='Failed'
;   K[21]='failed'
;   K[22]='NeedPopFailWindow'
;   K[23]='fail_pop'
;   K[24]='RaceEventType'
;   K[25]='StateChanged'
;   K[26]=1
;   K[27]='OpenMainWindow'
;   K[28]=2
;   K[29]='ScoreChanged'
;   K[30]=3
;   K[31]='RaceActivityLogBIType'
;   K[32]='Order'
;   K[33]='order'
;   K[34]='Day'
;   K[35]='day'
;   K[36]='value'
;   K[37]='BaseRaceActivityModel'
;   K[38]='setmetatable'
;   K[39]='FixedPlayerNumber'
;   K[40]=4
;   K[41]='EntryGapTime'
;   K[42]=3600
;   K[43]='EntryOpName'
;   K[44]=''
;   K[45]='ShowEntryMask'
;   K[46]=true
;   K[47]='BIRound'
;   K[48]='BIStartRound'
;   K[49]='IsExsitFail'
;   K[50]=false
;   K[51]='BaseActivityModel'
;   K[52]='__index'
;   K[53]='MY_USER_ID'
;   K[54]='kMaxRandomStartDelay'
;   K[55]=30
;   K[56]='GetActivityDefinitionByType'
;   K[57]='GetCurrentRoundReward'
;   K[58]='GetResourceLabels'
;   K[59]='Init'
;   K[60]='GetActivityDefinition'
;   K[61]='_LoadPlayerData'
;   K[62]='CreatePlayerData'
;   K[63]='_DropData'
;   K[64]='_CalculateState'
;   K[65]='_OnStateChanged'
;   K[66]='_LoadOtherServerConfig'
;   K[67]='BaseRaceActivityModel'
;   K[68]='CheckConfigValid'
;   K[69]='TryCompetitionEntry'
;   K[70]='_OnCompetitionEntryCallback'
;   K[71]='_TestShowEntryResultPrompt'
;   K[72]='_OnCompetitionEntrySuccess'
;   K[73]='_GetRobotPlayerNumber'
;   K[74]='_CreateRobotPlayers'
;   K[75]='_InitUpdateRobotTime'
;   K[76]='HasNetwork'
;   K[77]='TryOpenMainWindow'
;   K[78]='IsActivityOpen'
;   K[79]='IsInRace'
;   K[80]='IsDeadline'
;   K[81]='GetEntryGapTime'
;   K[82]='HasFinishedAllRounds'
;   K[83]='UpdatePlayerRank'
;   K[84]='_PlayerRankSortFunc'
;   K[85]='UpdateLastScore'
;   K[86]='UpdateLastRank'
;   K[87]='GetMyRank'
;   K[88]='GetMyLastRank'
;   K[89]='CanClaimReward'
;   K[90]='_CheckClaimRewardCondition'
;   K[91]='TryClaimReward'
;   K[92]='GetAllPlayerData'
;   K[93]='GetRoundCount'
;   K[94]='GetTargetScore'
;   K[95]='GetCurrentRoundForDisplay'
;   K[96]='GetTargetScoreByRound'
;   K[97]='_IsEndRound'
;   K[98]='GetMyScore'
;   K[99]='GetMyTime'
;   K[100]='_GetAllRoundRanks'
;   K[101]='GetRoundRanks'
;   K[102]='_SaveRoundRank'
;   K[103]='CanAddScore'
;   K[104]='GetScoreRatio'
;   K[105]='_AddMyScore'
;   K[106]='GetCurrentRound'
;   K[107]='SetCurrentRound'
;   K[108]='GetCurrentRoundInRoman'
;   K[109]='GetNextRoundInRoman'
;   K[110]='_SetEntryTime'
;   K[111]='_GetEntryTime'
;   K[112]='_HasReceivedReward'
;   K[113]='_SetReceiveReward'
;   K[114]='ResetCurrentRound'
;   K[115]='_DispatchFailEvent'
;   K[116]='_SetCurrentRoundFail'
;   K[117]='_SaveOppoPlayer'
;   K[118]='_DoSettle'
;   K[119]='_IsSettled'
;   K[120]='IsMySelf'
;   K[121]='BaseRaceActivityModel'
;   K[122]='_AddMySelf'
;   K[123]='_CreateMySelfData'
;   K[124]='BaseRaceActivityModel'
;   K[125]='GetGapTime'
;   K[126]='_SaveLastScore'
;   K[127]='GetLastScore'
;   K[128]='_RemoveLastScore'
;   K[129]='GetLastRank'
;   K[130]='_SaveLastRank'
;   K[131]='_RemoveLastRank'
;   K[132]='IsFailed'
;   K[133]='SetFailed'
;   K[134]='RemoveFailed'
;   K[135]='SetNeedPopFailWindow'
;   K[136]='RemoveNeedPopFailWindow'
;   K[137]='CanSkipEndWindowOnLongAway'
;   K[138]='UpdatePerSecond'
;   K[139]='_CanCheckFail'
;   K[140]='_NeedCheckFail'
;   K[141]='_CheckFail'
;   K[142]='TryCheckFail'
;   K[143]='TryCheckFailImmediately'
;   K[144]='UpdateScoreProgress'
;   K[145]='OpenMainWindowEventCall'
;   K[146]='OnNetError'
;   K[147]='CanShowExclaimation'
;   K[148]='_LogRaceCompletedBI'
;   upvals: _ENV
;   locals: DBKey(13-317), DBColumnValue(23-317), TRUE_VALUE(24-317)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K0('Round')] = K1('round')
0002  SETTABLE  R0[K2('PlayerDatas')] = K3('playerDatas')
0003  SETTABLE  R0[K4('MyScore')] = K5('myScore')
0004  SETTABLE  R0[K6('EntryTime')] = K7('entryTime')
0005  SETTABLE  R0[K8('CompeleteTime')] = K9('compeleteTime')
0006  SETTABLE  R0[K10('ReceiveRewardState')] = K11('receiveRewardState')
0007  SETTABLE  R0[K12('RoundRanks')] = K13('roundRanks')
0008  SETTABLE  R0[K14('LastScore')] = K15('lastScore')
0009  SETTABLE  R0[K16('LastRank')] = K17('lastRank')
0010  SETTABLE  R0[K18('Settled')] = K19('settled')
0011  SETTABLE  R0[K20('Failed')] = K21('failed')
0012  SETTABLE  R0[K22('NeedPopFailWindow')] = K23('fail_pop')
0013  NEWTABLE  R1 = {} (0 items)
0014  SETTABLE  R1[K25('StateChanged')] = K26(1)
0015  SETTABLE  R1[K27('OpenMainWindow')] = K28(2)
0016  SETTABLE  R1[K29('ScoreChanged')] = K30(3)
0017  SETTABUP  _ENV[K24('RaceEventType')] = R1
0018  NEWTABLE  R1 = {} (0 items)
0019  SETTABLE  R1[K32('Order')] = K33('order')
0020  SETTABLE  R1[K34('Day')] = K35('day')
0021  SETTABUP  _ENV[K31('RaceActivityLogBIType')] = R1
0022  LOADK     R1 = K36 'value'
0023  LOADK     R2 = K26 1
0024  GETTABUP  R3 = _ENV[K38('setmetatable')]
0025  NEWTABLE  R4 = {} (0 items)
0026  SETTABLE  R4[K39('FixedPlayerNumber')] = K40(4)
0027  SETTABLE  R4[K41('EntryGapTime')] = K42(3600)
0028  SETTABLE  R4[K43('EntryOpName')] = K44('')
0029  SETTABLE  R4[K45('ShowEntryMask')] = K46(true)
0030  SETTABLE  R4[K47('BIRound')] = K46(true)
0031  SETTABLE  R4[K48('BIStartRound')] = K46(true)
0032  SETTABLE  R4[K49('IsExsitFail')] = K50(false)
0033  GETTABUP  R5 = _ENV[K51('BaseActivityModel')]
0034  CALL      R3 = call(R3, 1 args, 2 rets)
0035  SETTABUP  _ENV[K37('BaseRaceActivityModel')] = R3
0036  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0037  GETTABUP  R4 = _ENV[K37('BaseRaceActivityModel')]
0038  SETTABLE  R3[K52('__index')] = R4
0039  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0040  SETTABLE  R3[K53('MY_USER_ID')] = K26(1)
0041  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0042  SETTABLE  R3[K54('kMaxRandomStartDelay')] = K55(30)
0043  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0044  CLOSURE   R4 = closure proto0
0045  SETTABLE  R3[K56('GetActivityDefinitionByType')] = R4
0046  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0047  CLOSURE   R4 = closure proto1
0048  SETTABLE  R3[K57('GetCurrentRoundReward')] = R4
0049  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0050  CLOSURE   R4 = closure proto2
0051  SETTABLE  R3[K58('GetResourceLabels')] = R4
0052  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0053  CLOSURE   R4 = closure proto3
0054  SETTABLE  R3[K59('Init')] = R4
0055  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0056  CLOSURE   R4 = closure proto4
0057  SETTABLE  R3[K60('GetActivityDefinition')] = R4
0058  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0059  CLOSURE   R4 = closure proto5
0060  SETTABLE  R3[K61('_LoadPlayerData')] = R4
0061  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0062  CLOSURE   R4 = closure proto6
0063  SETTABLE  R3[K62('CreatePlayerData')] = R4
0064  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0065  CLOSURE   R4 = closure proto7
0066  SETTABLE  R3[K63('_DropData')] = R4
0067  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0068  CLOSURE   R4 = closure proto8
0069  SETTABLE  R3[K64('_CalculateState')] = R4
0070  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0071  CLOSURE   R4 = closure proto9
0072  SETTABLE  R3[K65('_OnStateChanged')] = R4
0073  GETTABUP  R3 = _ENV[K37('BaseRaceActivityModel')]
0074  CLOSURE   R4 = closure proto10
0075  SETTABLE  R3[K66('_LoadOtherServerConfig')] = R4
0076  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0077  CLOSURE   R4 = closure proto11
0078  SETTABLE  R3[K68('CheckConfigValid')] = R4
0079  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0080  CLOSURE   R4 = closure proto12
0081  SETTABLE  R3[K69('TryCompetitionEntry')] = R4
0082  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0083  CLOSURE   R4 = closure proto13
0084  SETTABLE  R3[K70('_OnCompetitionEntryCallback')] = R4
0085  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0086  CLOSURE   R4 = closure proto14
0087  SETTABLE  R3[K71('_TestShowEntryResultPrompt')] = R4
0088  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0089  CLOSURE   R4 = closure proto15
0090  SETTABLE  R3[K72('_OnCompetitionEntrySuccess')] = R4
0091  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0092  CLOSURE   R4 = closure proto16
0093  SETTABLE  R3[K73('_GetRobotPlayerNumber')] = R4
0094  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0095  CLOSURE   R4 = closure proto17
0096  SETTABLE  R3[K74('_CreateRobotPlayers')] = R4
0097  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0098  CLOSURE   R4 = closure proto18
0099  SETTABLE  R3[K75('_InitUpdateRobotTime')] = R4
0100  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0101  CLOSURE   R4 = closure proto19
0102  SETTABLE  R3[K76('HasNetwork')] = R4
0103  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0104  CLOSURE   R4 = closure proto20
0105  SETTABLE  R3[K77('TryOpenMainWindow')] = R4
0106  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0107  CLOSURE   R4 = closure proto21
0108  SETTABLE  R3[K78('IsActivityOpen')] = R4
0109  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0110  CLOSURE   R4 = closure proto22
0111  SETTABLE  R3[K79('IsInRace')] = R4
0112  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0113  CLOSURE   R4 = closure proto23
0114  SETTABLE  R3[K80('IsDeadline')] = R4
0115  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0116  CLOSURE   R4 = closure proto24
0117  SETTABLE  R3[K81('GetEntryGapTime')] = R4
0118  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0119  CLOSURE   R4 = closure proto25
0120  SETTABLE  R3[K82('HasFinishedAllRounds')] = R4
0121  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0122  CLOSURE   R4 = closure proto26
0123  SETTABLE  R3[K83('UpdatePlayerRank')] = R4
0124  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0125  CLOSURE   R4 = closure proto27
0126  SETTABLE  R3[K84('_PlayerRankSortFunc')] = R4
0127  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0128  CLOSURE   R4 = closure proto28
0129  SETTABLE  R3[K85('UpdateLastScore')] = R4
0130  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0131  CLOSURE   R4 = closure proto29
0132  SETTABLE  R3[K86('UpdateLastRank')] = R4
0133  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0134  CLOSURE   R4 = closure proto30
0135  SETTABLE  R3[K87('GetMyRank')] = R4
0136  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0137  CLOSURE   R4 = closure proto31
0138  SETTABLE  R3[K88('GetMyLastRank')] = R4
0139  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0140  CLOSURE   R4 = closure proto32
0141  SETTABLE  R3[K89('CanClaimReward')] = R4
0142  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0143  CLOSURE   R4 = closure proto33
0144  SETTABLE  R3[K90('_CheckClaimRewardCondition')] = R4
0145  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0146  CLOSURE   R4 = closure proto34
0147  SETTABLE  R3[K91('TryClaimReward')] = R4
0148  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0149  CLOSURE   R4 = closure proto35
0150  SETTABLE  R3[K92('GetAllPlayerData')] = R4
0151  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0152  CLOSURE   R4 = closure proto36
0153  SETTABLE  R3[K93('GetRoundCount')] = R4
0154  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0155  CLOSURE   R4 = closure proto37
0156  SETTABLE  R3[K94('GetTargetScore')] = R4
0157  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0158  CLOSURE   R4 = closure proto38
0159  SETTABLE  R3[K95('GetCurrentRoundForDisplay')] = R4
0160  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0161  CLOSURE   R4 = closure proto39
0162  SETTABLE  R3[K96('GetTargetScoreByRound')] = R4
0163  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0164  CLOSURE   R4 = closure proto40
0165  SETTABLE  R3[K97('_IsEndRound')] = R4
0166  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0167  CLOSURE   R4 = closure proto41
0168  SETTABLE  R3[K98('GetMyScore')] = R4
0169  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0170  CLOSURE   R4 = closure proto42
0171  SETTABLE  R3[K99('GetMyTime')] = R4
0172  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0173  CLOSURE   R4 = closure proto43
0174  SETTABLE  R3[K100('_GetAllRoundRanks')] = R4
0175  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0176  CLOSURE   R4 = closure proto44
0177  SETTABLE  R3[K101('GetRoundRanks')] = R4
0178  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0179  CLOSURE   R4 = closure proto45
0180  SETTABLE  R3[K102('_SaveRoundRank')] = R4
0181  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0182  CLOSURE   R4 = closure proto46
0183  SETTABLE  R3[K103('CanAddScore')] = R4
0184  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0185  CLOSURE   R4 = closure proto47
0186  SETTABLE  R3[K104('GetScoreRatio')] = R4
0187  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0188  CLOSURE   R4 = closure proto48
0189  SETTABLE  R3[K105('_AddMyScore')] = R4
0190  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0191  CLOSURE   R4 = closure proto49
0192  SETTABLE  R3[K106('GetCurrentRound')] = R4
0193  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0194  CLOSURE   R4 = closure proto50
0195  SETTABLE  R3[K107('SetCurrentRound')] = R4
0196  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0197  CLOSURE   R4 = closure proto51
0198  SETTABLE  R3[K108('GetCurrentRoundInRoman')] = R4
0199  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0200  CLOSURE   R4 = closure proto52
0201  SETTABLE  R3[K109('GetNextRoundInRoman')] = R4
0202  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0203  CLOSURE   R4 = closure proto53
0204  SETTABLE  R3[K110('_SetEntryTime')] = R4
0205  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0206  CLOSURE   R4 = closure proto54
0207  SETTABLE  R3[K111('_GetEntryTime')] = R4
0208  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0209  CLOSURE   R4 = closure proto55
0210  SETTABLE  R3[K112('_HasReceivedReward')] = R4
0211  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0212  CLOSURE   R4 = closure proto56
0213  SETTABLE  R3[K113('_SetReceiveReward')] = R4
0214  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0215  CLOSURE   R4 = closure proto57
0216  SETTABLE  R3[K114('ResetCurrentRound')] = R4
0217  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0218  CLOSURE   R4 = closure proto58
0219  SETTABLE  R3[K115('_DispatchFailEvent')] = R4
0220  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0221  CLOSURE   R4 = closure proto59
0222  SETTABLE  R3[K116('_SetCurrentRoundFail')] = R4
0223  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0224  CLOSURE   R4 = closure proto60
0225  SETTABLE  R3[K117('_SaveOppoPlayer')] = R4
0226  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0227  CLOSURE   R4 = closure proto61
0228  SETTABLE  R3[K118('_DoSettle')] = R4
0229  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0230  CLOSURE   R4 = closure proto62
0231  SETTABLE  R3[K119('_IsSettled')] = R4
0232  GETTABUP  R3 = _ENV[K67('BaseRaceActivityModel')]
0233  CLOSURE   R4 = closure proto63
0234  SETTABLE  R3[K120('IsMySelf')] = R4
0235  GETTABUP  R3 = _ENV[K121('BaseRaceActivityModel')]
0236  CLOSURE   R4 = closure proto64
0237  SETTABLE  R3[K122('_AddMySelf')] = R4
0238  GETTABUP  R3 = _ENV[K121('BaseRaceActivityModel')]
0239  CLOSURE   R4 = closure proto65
0240  SETTABLE  R3[K123('_CreateMySelfData')] = R4
0241  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0242  CLOSURE   R4 = closure proto66
0243  SETTABLE  R3[K125('GetGapTime')] = R4
0244  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0245  CLOSURE   R4 = closure proto67
0246  SETTABLE  R3[K126('_SaveLastScore')] = R4
0247  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0248  CLOSURE   R4 = closure proto68
0249  SETTABLE  R3[K127('GetLastScore')] = R4
0250  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0251  CLOSURE   R4 = closure proto69
0252  SETTABLE  R3[K128('_RemoveLastScore')] = R4
0253  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0254  CLOSURE   R4 = closure proto70
0255  SETTABLE  R3[K129('GetLastRank')] = R4
0256  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0257  CLOSURE   R4 = closure proto71
0258  SETTABLE  R3[K130('_SaveLastRank')] = R4
0259  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0260  CLOSURE   R4 = closure proto72
0261  SETTABLE  R3[K131('_RemoveLastRank')] = R4
0262  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0263  CLOSURE   R4 = closure proto73
0264  SETTABLE  R3[K132('IsFailed')] = R4
0265  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0266  CLOSURE   R4 = closure proto74
0267  SETTABLE  R3[K133('SetFailed')] = R4
0268  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0269  CLOSURE   R4 = closure proto75
0270  SETTABLE  R3[K134('RemoveFailed')] = R4
0271  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0272  CLOSURE   R4 = closure proto76
0273  SETTABLE  R3[K22('NeedPopFailWindow')] = R4
0274  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0275  CLOSURE   R4 = closure proto77
0276  SETTABLE  R3[K135('SetNeedPopFailWindow')] = R4
0277  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0278  CLOSURE   R4 = closure proto78
0279  SETTABLE  R3[K136('RemoveNeedPopFailWindow')] = R4
0280  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0281  CLOSURE   R4 = closure proto79
0282  SETTABLE  R3[K137('CanSkipEndWindowOnLongAway')] = R4
0283  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0284  CLOSURE   R4 = closure proto80
0285  SETTABLE  R3[K138('UpdatePerSecond')] = R4
0286  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0287  CLOSURE   R4 = closure proto81
0288  SETTABLE  R3[K139('_CanCheckFail')] = R4
0289  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0290  CLOSURE   R4 = closure proto82
0291  SETTABLE  R3[K140('_NeedCheckFail')] = R4
0292  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0293  CLOSURE   R4 = closure proto83
0294  SETTABLE  R3[K141('_CheckFail')] = R4
0295  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0296  CLOSURE   R4 = closure proto84
0297  SETTABLE  R3[K142('TryCheckFail')] = R4
0298  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0299  CLOSURE   R4 = closure proto85
0300  SETTABLE  R3[K143('TryCheckFailImmediately')] = R4
0301  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0302  CLOSURE   R4 = closure proto86
0303  SETTABLE  R3[K144('UpdateScoreProgress')] = R4
0304  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0305  CLOSURE   R4 = closure proto87
0306  SETTABLE  R3[K145('OpenMainWindowEventCall')] = R4
0307  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0308  CLOSURE   R4 = closure proto88
0309  SETTABLE  R3[K146('OnNetError')] = R4
0310  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0311  CLOSURE   R4 = closure proto89
0312  SETTABLE  R3[K147('CanShowExclaimation')] = R4
0313  GETTABUP  R3 = _ENV[K124('BaseRaceActivityModel')]
0314  CLOSURE   R4 = closure proto90
0315  SETTABLE  R3[K148('_LogRaceCompletedBI')] = R4
0316  RETURN    return R0..R-1
; ---------- proto0 [GetActivityDefinitionByType] ----------
  ; fn ?  line 86-88 np=2 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetActivityDefinition() 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5), activityType(0-5)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Error')]
  0002  LOADK     R3 = K2 'GetActivityDefinition() 是抽象接口'
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto1 [GetCurrentRoundReward] ----------
  ; fn ?  line 91-93 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetCurrentRoundReward() 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 'GetCurrentRoundReward() 是抽象接口'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [GetResourceLabels] ----------
  ; fn ?  line 98-100 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto3 [Init] ----------
  ; fn ?  line 102-107 np=3 va=0 ms=7 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='GetActivityDefinitionByType'
  ;   K[2]='BaseActivityModel'
  ;   K[3]='Init'
  ;   K[4]='_LoadPlayerData'
  ;   upvals: _ENV
  ;   locals: self(0-13), activityType(0-13), virtualDBTable(0-13)
  0000  SELF      R4 = R0[K1('GetActivityDefinitionByType')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 1 args, 2 rets)
  0003  SETTABLE  R0[K0('m_activityDefinition')] = R3
  0004  GETTABUP  R3 = _ENV[K2('BaseActivityModel')]
  0005  GETTABLE  R3 = R3[K3('Init')]
  0006  MOVE      R4 = R0
  0007  MOVE      R5 = R0
  0008  MOVE      R6 = R0
  0009  CALL      R3 = call(R3, 0 args, 3 rets)
  0010  SELF      R4 = R0[K4('_LoadPlayerData')] (self)
  0011  CALL      R3 = call(R3, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto4 [GetActivityDefinition] ----------
  ; fn ?  line 109-111 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto5 [_LoadPlayerData] ----------
  ; fn ?  line 113-130 np=1 va=0 ms=19 code=48 consts=18 upvals=3 protos=0
  ;   K[0]='m_arrPlayerData'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='PlayerDatas'
  ;   K[4]=nil
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   K[7]='GetTargetScore'
  ;   K[8]='ipairs'
  ;   K[9]='GetLastScore'
  ;   K[10]='id'
  ;   K[11]='GetLastRank'
  ;   K[12]=1
  ;   K[13]='CreatePlayerData'
  ;   K[14]='_AddMySelf'
  ;   K[15]='IsExsitFail'
  ;   K[16]='_InitUpdateRobotTime'
  ;   K[17]='TryCheckFailImmediately'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-48), players(7-48), arr(13-40), targetScore(15-40), (for generator)(18-38), (for state)(18-38), (for control)(18-38), index(19-36), value(19-36), lastScore(22-36), lastRank(25-36)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrPlayerData')] = R1
  0002  GETTABLE  R1 = R0[K1('m_dbTable')]
  0003  SELF      R2 = R1[K2('GetValue')] (self)
  0004  GETTABUP  R3 = DBKey[K3('PlayerDatas')]
  0005  GETUPVAL  R4 = DBKey
  0006  CALL      R1 = call(R1, 1 args, 3 rets)
  0007  EQ        if R1 eq K4(nil)   -> -130291
  0008  JMP       (jump)   -> 40
  0009  GETTABUP  R2 = _ENV[K5('json')]
  0010  GETTABLE  R2 = R2[K6('decode')]
  0011  MOVE      R3 = R0
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  SELF      R4 = R0[K7('GetTargetScore')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  GETTABUP  R4 = _ENV[K8('ipairs')]
  0016  MOVE      R5 = R0
  0017  CALL      R4 = call(R4, 3 args, 1 rets)
  0018  JMP       (jump)   -> 36
  0019  SELF      R10 = R0[K9('GetLastScore')] (self)
  0020  GETTABLE  R11 = R8[K10('id')]
  0021  CALL      R9 = call(R9, 1 args, 2 rets)
  0022  SELF      R11 = R0[K11('GetLastRank')] (self)
  0023  GETTABLE  R12 = R8[K10('id')]
  0024  CALL      R10 = call(R10, 1 args, 2 rets)
  0025  GETTABLE  R11 = R0[K0('m_arrPlayerData')]
  0026  GETTABLE  R12 = R0[K0('m_arrPlayerData')]
  0027  LEN       R12 = len R0
  0028  ADD       R12 = K12(1) add R12
  0029  SELF      R14 = R0[K13('CreatePlayerData')] (self)
  0030  MOVE      R15 = R0
  0031  MOVE      R16 = R0
  0032  MOVE      R17 = R0
  0033  MOVE      R18 = R0
  0034  CALL      R13 = call(R13, 1 args, 5 rets)
  0035  SETTABLE  R11[R12] = R13
  0036  TFORCALL  tforcall R4
  0037  TFORLOOP  tforloop R6(sBx=-19)   -> 19
  0038  SELF      R5 = R0[K14('_AddMySelf')] (self)
  0039  CALL      R4 = call(R4, 0 args, 1 rets)
  0040  GETTABLE  R2 = R0[K15('IsExsitFail')]
  0041  TEST      if not R2 then   -> -131029
  0042  JMP       (jump)   -> 47
  0043  SELF      R3 = R0[K16('_InitUpdateRobotTime')] (self)
  0044  CALL      R2 = call(R2, 0 args, 1 rets)
  0045  SELF      R3 = R0[K17('TryCheckFailImmediately')] (self)
  0046  CALL      R2 = call(R2, 0 args, 1 rets)
  0047  RETURN    return R0..R-1
; ---------- proto6 [CreatePlayerData] ----------
  ; fn ?  line 132-134 np=5 va=0 ms=11 code=10 consts=2 upvals=1 protos=0
  ;   K[0]='RacePlayerData'
  ;   K[1]='Create'
  ;   upvals: _ENV
  ;   locals: self(0-10), value(0-10), targetScore(0-10), lastScore(0-10), lastRank(0-10)
  0000  GETTABUP  R5 = _ENV[K0('RacePlayerData')]
  0001  GETTABLE  R5 = R5[K1('Create')]
  0002  MOVE      R6 = R0
  0003  MOVE      R7 = R0
  0004  MOVE      R8 = R0
  0005  MOVE      R9 = R0
  0006  MOVE      R10 = R0
  0007  TAILCALL  tailcall(R5, 0)
  0008  RETURN    return R5..R4
  0009  RETURN    return R0..R-1
; ---------- proto7 [_DropData] ----------
  ; fn ?  line 136-140 np=1 va=0 ms=3 code=7 consts=6 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_bSettled'
  ;   K[3]=false
  ;   K[4]='m_mapAllRoundRanks'
  ;   K[5]=nil
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SETTABLE  R0[K2('m_bSettled')] = K3(false)
  0005  SETTABLE  R0[K4('m_mapAllRoundRanks')] = K5(nil)
  0006  RETURN    return R0..R-1
; ---------- proto8 [_CalculateState] ----------
  ; fn ?  line 146-182 np=2 va=0 ms=8 code=114 consts=24 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='_CanStartActivity'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='GetEndTime'
  ;   K[9]='_IsExistConditionSatisfied'
  ;   K[10]='sTime'
  ;   K[11]='Preparing'
  ;   K[12]='_IsSettled'
  ;   K[13]='Ended'
  ;   K[14]='rTime'
  ;   K[15]='HasFinishedAllRounds'
  ;   K[16]='IsInRace'
  ;   K[17]='IsDeadline'
  ;   K[18]='HasWindowOpenedOnce'
  ;   K[19]='Started'
  ;   K[20]='UIManager'
  ;   K[21]='allWindowClosed'
  ;   K[22]='isMaskVisible'
  ;   K[23]=-1
  ;   upvals: _ENV
  ;   locals: self(0-114), bIgnoreCondition(0-114), serverTime(17-114), bExistSatisfied(18-114), totalEndTime(21-114)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 9
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 13
  0005  SELF      R3 = R0[K2('_CanStartActivity')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 13
  0009  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0010  GETTABLE  R2 = R2[K4('Released')]
  0011  LOADNIL   R3..R3 = nil
  0012  RETURN    return R2..R1
  0013  GETTABUP  R2 = _ENV[K5('GM')]
  0014  GETTABLE  R2 = R2[K6('GameModel')]
  0015  SELF      R3 = R2[K7('GetServerTime')] (self)
  0016  CALL      R2 = call(R2, 1 args, 1 rets)
  0017  LOADBOOL  R3 = true
  0018  SELF      R5 = R0[K8('GetEndTime')] (self)
  0019  LOADBOOL  R6 = true
  0020  CALL      R4 = call(R4, 1 args, 2 rets)
  0021  TEST      if not R1 then   -> -131048
  0022  JMP       (jump)   -> 27
  0023  SELF      R6 = R0[K9('_IsExistConditionSatisfied')] (self)
  0024  CALL      R5 = call(R5, 2 args, 1 rets)
  0025  MOVE      R4 = R0
  0026  MOVE      R3 = R0
  0027  TEST      if not R3 then   -> -131043
  0028  JMP       (jump)   -> 39
  0029  GETTABLE  R5 = R0[K0('m_config')]
  0030  GETTABLE  R5 = R5[K10('sTime')]
  0031  LT        if R0 lt R5   -> -130010
  0032  JMP       (jump)   -> 39
  0033  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0034  GETTABLE  R5 = R5[K11('Preparing')]
  0035  GETTABLE  R6 = R0[K0('m_config')]
  0036  GETTABLE  R6 = R6[K10('sTime')]
  0037  RETURN    return R5..R4
  0038  JMP       (jump)   -> 113
  0039  TEST      if not R3 then   -> -131031
  0040  JMP       (jump)   -> 95
  0041  LT        if R0 lt R4   -> -130001
  0042  JMP       (jump)   -> 95
  0043  SELF      R6 = R0[K12('_IsSettled')] (self)
  0044  CALL      R5 = call(R5, 1 args, 1 rets)
  0045  TEST      if not R5 then   -> -131025
  0046  JMP       (jump)   -> 52
  0047  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0048  GETTABLE  R5 = R5[K13('Ended')]
  0049  GETTABLE  R6 = R0[K0('m_config')]
  0050  GETTABLE  R6 = R6[K14('rTime')]
  0051  RETURN    return R5..R4
  0052  SELF      R6 = R0[K15('HasFinishedAllRounds')] (self)
  0053  CALL      R5 = call(R5, 1 args, 1 rets)
  0054  TEST      if not R5 then   -> -131016
  0055  JMP       (jump)   -> 61
  0056  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0057  GETTABLE  R5 = R5[K13('Ended')]
  0058  GETTABLE  R6 = R0[K0('m_config')]
  0059  GETTABLE  R6 = R6[K14('rTime')]
  0060  RETURN    return R5..R4
  0061  SELF      R6 = R0[K16('IsInRace')] (self)
  0062  CALL      R5 = call(R5, 1 args, 1 rets)
  0063  TEST      if not R5 then   -> -131006
  0064  JMP       (jump)   -> 90
  0065  SELF      R6 = R0[K17('IsDeadline')] (self)
  0066  CALL      R5 = call(R5, 1 args, 1 rets)
  0067  TEST      if not R5 then   -> -131003
  0068  JMP       (jump)   -> 90
  0069  SELF      R6 = R0[K18('HasWindowOpenedOnce')] (self)
  0070  GETTABUP  R7 = _ENV[K3('ActivityState')]
  0071  GETTABLE  R7 = R7[K19('Started')]
  0072  CALL      R5 = call(R5, 1 args, 2 rets)
  0073  TEST      if not R5 then   -> -130997
  0074  JMP       (jump)   -> 85
  0075  GETTABUP  R5 = _ENV[K5('GM')]
  0076  GETTABLE  R5 = R5[K20('UIManager')]
  0077  GETTABLE  R5 = R5[K21('allWindowClosed')]
  0078  TEST      if not R5 then   -> -130992
  0079  JMP       (jump)   -> 90
  0080  GETTABUP  R5 = _ENV[K5('GM')]
  0081  GETTABLE  R5 = R5[K20('UIManager')]
  0082  GETTABLE  R5 = R5[K22('isMaskVisible')]
  0083  TEST      if not R5 then   -> -130986
  0084  JMP       (jump)   -> 90
  0085  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0086  GETTABLE  R5 = R5[K13('Ended')]
  0087  GETTABLE  R6 = R0[K0('m_config')]
  0088  GETTABLE  R6 = R6[K14('rTime')]
  0089  RETURN    return R5..R4
  0090  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0091  GETTABLE  R5 = R5[K19('Started')]
  0092  MOVE      R6 = R0
  0093  RETURN    return R5..R4
  0094  JMP       (jump)   -> 113
  0095  GETTABLE  R5 = R0[K0('m_config')]
  0096  GETTABLE  R5 = R5[K14('rTime')]
  0097  TEST      if not R5 then   -> -130973
  0098  JMP       (jump)   -> 109
  0099  GETTABLE  R5 = R0[K0('m_config')]
  0100  GETTABLE  R5 = R5[K14('rTime')]
  0101  LT        if R0 lt R5   -> -129940
  0102  JMP       (jump)   -> 109
  0103  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0104  GETTABLE  R5 = R5[K13('Ended')]
  0105  GETTABLE  R6 = R0[K0('m_config')]
  0106  GETTABLE  R6 = R6[K14('rTime')]
  0107  RETURN    return R5..R4
  0108  JMP       (jump)   -> 113
  0109  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0110  GETTABLE  R5 = R5[K4('Released')]
  0111  LOADK     R6 = K23 -1
  0112  RETURN    return R5..R4
  0113  RETURN    return R0..R-1
; ---------- proto9 [_OnStateChanged] ----------
  ; fn ?  line 184-193 np=1 va=0 ms=4 code=27 consts=15 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='EventDispatcher'
  ;   K[3]='DispatchEvent'
  ;   K[4]='m_activityDefinition'
  ;   K[5]='StateChangedEvent'
  ;   K[6]='event'
  ;   K[7]='Call'
  ;   K[8]='RaceEventType'
  ;   K[9]='StateChanged'
  ;   K[10]='GetState'
  ;   K[11]='ActivityState'
  ;   K[12]='Ended'
  ;   K[13]='_IsSettled'
  ;   K[14]='_DoSettle'
  ;   upvals: _ENV
  ;   locals: self(0-27)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_OnStateChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('DispatchEvent')]
  0006  GETTABLE  R2 = R0[K4('m_activityDefinition')]
  0007  GETTABLE  R2 = R2[K5('StateChangedEvent')]
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  GETTABLE  R1 = R0[K6('event')]
  0010  SELF      R2 = R1[K7('Call')] (self)
  0011  GETTABUP  R3 = _ENV[K8('RaceEventType')]
  0012  GETTABLE  R3 = R3[K9('StateChanged')]
  0013  CALL      R1 = call(R1, 0 args, 2 rets)
  0014  SELF      R2 = R0[K10('GetState')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  GETTABUP  R2 = _ENV[K11('ActivityState')]
  0017  GETTABLE  R2 = R2[K12('Ended')]
  0018  EQ        if R0 eq R2   -> -130538
  0019  JMP       (jump)   -> 26
  0020  SELF      R2 = R0[K13('_IsSettled')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  TEST      if not R1 then   -> -131047
  0023  JMP       (jump)   -> 26
  0024  SELF      R2 = R0[K14('_DoSettle')] (self)
  0025  CALL      R1 = call(R1, 0 args, 1 rets)
  0026  RETURN    return R0..R-1
; ---------- proto10 [_LoadOtherServerConfig] ----------
  ; fn ?  line 195-202 np=2 va=0 ms=6 code=22 consts=13 upvals=1 protos=0
  ;   K[0]='PlayerPrefs'
  ;   K[1]='GetInt'
  ;   K[2]='EPlayerPrefKey'
  ;   K[3]='TestIgnoreRaceRandomStartDelay'
  ;   K[4]=0
  ;   K[5]=1
  ;   K[6]='GM'
  ;   K[7]='UserModel'
  ;   K[8]='GetUserId'
  ;   K[9]='m_config'
  ;   K[10]='sTime'
  ;   K[11]='BaseRaceActivityModel'
  ;   K[12]='kMaxRandomStartDelay'
  ;   upvals: _ENV
  ;   locals: self(0-22), config(0-22), userId(13-22)
  0000  GETTABUP  R2 = _ENV[K0('PlayerPrefs')]
  0001  GETTABLE  R2 = R2[K1('GetInt')]
  0002  GETTABUP  R3 = _ENV[K2('EPlayerPrefKey')]
  0003  GETTABLE  R3 = R3[K3('TestIgnoreRaceRandomStartDelay')]
  0004  LOADK     R4 = K4 0
  0005  CALL      R2 = call(R2, 1 args, 2 rets)
  0006  EQ        if R0 eq K5(1)   -> -129779
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R2 = _ENV[K6('GM')]
  0010  GETTABLE  R2 = R2[K7('UserModel')]
  0011  SELF      R3 = R2[K8('GetUserId')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  GETTABLE  R3 = R0[K9('m_config')]
  0014  GETTABLE  R4 = R0[K9('m_config')]
  0015  GETTABLE  R4 = R4[K10('sTime')]
  0016  GETTABUP  R5 = _ENV[K11('BaseRaceActivityModel')]
  0017  GETTABLE  R5 = R5[K12('kMaxRandomStartDelay')]
  0018  MOD       R5 = R5 mod R2
  0019  ADD       R4 = R5 add R4
  0020  SETTABLE  R3[K10('sTime')] = R4
  0021  RETURN    return R0..R-1
; ---------- proto11 [CheckConfigValid] ----------
  ; fn ?  line 204-233 np=1 va=0 ms=15 code=58 consts=17 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]='ipairs'
  ;   K[3]='m_config'
  ;   K[4]='roundConfigs'
  ;   K[5]=0
  ;   K[6]='playerNum'
  ;   K[7]='Log'
  ;   K[8]='Error'
  ;   K[9]='playerNum 为空！'
  ;   K[10]='group_num'
  ;   K[11]='group_type'
  ;   K[12]=true
  ;   K[13]='FixedPlayerNumber'
  ;   K[14]='playerNum 假人数量不符要求！'
  ;   K[15]='playerNumWeight'
  ;   K[16]='playerNumWeight 含有不存在的 groupType！'
  ;   upvals: _ENV
  ;   locals: self(0-58), (for generator)(10-57), (for state)(10-57), (for control)(10-57), _(11-55), roundConfig(11-55), total(12-55), mapGroupType(13-55), (for generator)(24-31), (for state)(24-31), (for control)(24-31), _(25-29), playerNumConfig(25-29), (for generator)(44-55), (for state)(44-55), (for control)(44-55), _(45-53), weightConfig(45-53)
  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  GETTABUP  R1 = _ENV[K2('ipairs')]
  0007  GETTABLE  R2 = R0[K3('m_config')]
  0008  GETTABLE  R2 = R2[K4('roundConfigs')]
  0009  CALL      R1 = call(R1, 3 args, 1 rets)
  0010  JMP       (jump)   -> 55
  0011  LOADK     R6 = K5 0
  0012  NEWTABLE  R7 = {} (0 items)
  0013  GETTABLE  R8 = R5[K6('playerNum')]
  0014  TEST      if not R8 then   -> -131055
  0015  JMP       (jump)   -> 21
  0016  GETTABUP  R8 = _ENV[K7('Log')]
  0017  GETTABLE  R8 = R8[K8('Error')]
  0018  LOADK     R9 = K9 'playerNum 为空！'
  0019  CALL      R8 = call(R8, 0 args, 1 rets)
  0020  JMP       (jump)   -> 38
  0021  GETTABUP  R8 = _ENV[K2('ipairs')]
  0022  GETTABLE  R9 = R5[K6('playerNum')]
  0023  CALL      R8 = call(R8, 3 args, 1 rets)
  0024  JMP       (jump)   -> 29
  0025  GETTABLE  R13 = R12[K10('group_num')]
  0026  ADD       R6 = R13 add R6
  0027  GETTABLE  R13 = R12[K11('group_type')]
  0028  SETTABLE  R7[R13] = K12(true)
  0029  TFORCALL  tforcall R8
  0030  TFORLOOP  tforloop R10(sBx=-6)   -> 25
  0031  GETTABLE  R8 = R0[K13('FixedPlayerNumber')]
  0032  EQ        if R1 eq R8   -> -127958
  0033  JMP       (jump)   -> 38
  0034  GETTABUP  R8 = _ENV[K7('Log')]
  0035  GETTABLE  R8 = R8[K8('Error')]
  0036  LOADK     R9 = K14 'playerNum 假人数量不符要求！'
  0037  CALL      R8 = call(R8, 0 args, 1 rets)
  0038  GETTABLE  R8 = R5[K15('playerNumWeight')]
  0039  TEST      if not R8 then   -> -131031
  0040  JMP       (jump)   -> 55
  0041  GETTABUP  R8 = _ENV[K2('ipairs')]
  0042  GETTABLE  R9 = R5[K15('playerNumWeight')]
  0043  CALL      R8 = call(R8, 3 args, 1 rets)
  0044  JMP       (jump)   -> 53
  0045  GETTABLE  R13 = R12[K11('group_type')]
  0046  GETTABLE  R13 = R7[R13]
  0047  TEST      if not R13 then   -> -131022
  0048  JMP       (jump)   -> 53
  0049  GETTABUP  R13 = _ENV[K7('Log')]
  0050  GETTABLE  R13 = R13[K8('Error')]
  0051  LOADK     R14 = K16 'playerNumWeight 含有不存在的 groupType！'
  0052  CALL      R13 = call(R13, 0 args, 1 rets)
  0053  TFORCALL  tforcall R8
  0054  TFORLOOP  tforloop R10(sBx=-10)   -> 45
  0055  TFORCALL  tforcall R1
  0056  TFORLOOP  tforloop R3(sBx=-46)   -> 11
  0057  RETURN    return R0..R-1
; ---------- proto12 [TryCompetitionEntry] ----------
  ; fn ?  line 237-300 np=3 va=0 ms=30 code=135 consts=39 upvals=1 protos=1
  ;   K[0]='GetCurrentRound'
  ;   K[1]='NetTimeStamp'
  ;   K[2]='Create'
  ;   K[3]='EBIType'
  ;   K[4]='NetworkCheckAction'
  ;   K[5]='StartRaceEntry'
  ;   K[6]='GM'
  ;   K[7]='BIManager'
  ;   K[8]='LogNet'
  ;   K[9]='GetId'
  ;   K[10]='m_config'
  ;   K[11]=nil
  ;   K[12]='roundConfigs'
  ;   K[13]=1
  ;   K[14]='playerNum'
  ;   K[15]='playerNumWeight'
  ;   K[16]='ipairs'
  ;   K[17]='group_type'
  ;   K[18]=0
  ;   K[19]='group_num'
  ;   K[20]='Table'
  ;   K[21]='ListWeightSelectN'
  ;   K[22]='weight'
  ;   K[23]='_'
  ;   K[24]='child_type'
  ;   K[25]='GameConfig'
  ;   K[26]='IsTestMode'
  ;   K[27]='['
  ;   K[28]='m_type'
  ;   K[29]=']'
  ;   K[30]='发送报名请求'
  ;   K[31]='UIManager'
  ;   K[32]='ShowTestPrompt'
  ;   K[33]='Log'
  ;   K[34]='Info'
  ;   K[35]='ApiMessage'
  ;   K[36]='RaceActivityEntry'
  ;   K[37]='EntryOpName'
  ;   K[38]='ShowEntryMask'
  ;   upvals: _ENV
  ;   locals: self(0-135), successCallback(0-135), failCallback(0-135), round(2-135), startTime(8-135), id(17-135), callback(18-135), arrNumConfig(37-135), arrWeightConfig(45-135), mapGroupWeight(46-135), (for generator)(49-63), (for state)(49-63), (for control)(49-63), _(50-61), weightConfig(50-61), groupType(51-61), arrPlayerNum(64-135), totalNum(65-135), (for generator)(68-106), (for state)(68-106), (for control)(68-106), _(69-104), numConfig(69-104), groupNum(70-104), arrGroupWeight(73-104), arrWeightConfig(88-104), (for generator)(91-104), (for state)(91-104), (for control)(91-104), _(92-102), weightConfig(92-102), string(116-125)
  0000  SELF      R4 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  GETTABUP  R4 = _ENV[K1('NetTimeStamp')]
  0003  GETTABLE  R4 = R4[K2('Create')]
  0004  GETTABUP  R5 = _ENV[K3('EBIType')]
  0005  GETTABLE  R5 = R5[K4('NetworkCheckAction')]
  0006  GETTABLE  R5 = R5[K5('StartRaceEntry')]
  0007  CALL      R4 = call(R4, 1 args, 1 rets)
  0008  GETTABUP  R5 = _ENV[K6('GM')]
  0009  GETTABLE  R5 = R5[K7('BIManager')]
  0010  SELF      R6 = R5[K8('LogNet')] (self)
  0011  GETTABUP  R7 = _ENV[K3('EBIType')]
  0012  GETTABLE  R7 = R7[K4('NetworkCheckAction')]
  0013  GETTABLE  R7 = R7[K5('StartRaceEntry')]
  0014  CALL      R5 = call(R5, 0 args, 2 rets)
  0015  SELF      R6 = R0[K9('GetId')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  CLOSURE   R6 = closure proto0
  0018  GETTABLE  R7 = R0[K10('m_config')]
  0019  EQ        if R1 eq K11(nil)   -> -127200
  0020  JMP       (jump)   -> 31
  0021  GETTABLE  R7 = R0[K10('m_config')]
  0022  GETTABLE  R7 = R7[K12('roundConfigs')]
  0023  EQ        if R1 eq K11(nil)   -> -127196
  0024  JMP       (jump)   -> 31
  0025  GETTABLE  R7 = R0[K10('m_config')]
  0026  GETTABLE  R7 = R7[K12('roundConfigs')]
  0027  ADD       R8 = K13(1) add R3
  0028  GETTABLE  R7 = R7[R8]
  0029  EQ        if R0 eq K11(nil)   -> -127190
  0030  JMP       (jump)   -> 32
  0031  RETURN    return R0..R-1
  0032  GETTABLE  R7 = R0[K10('m_config')]
  0033  GETTABLE  R7 = R7[K12('roundConfigs')]
  0034  ADD       R8 = K13(1) add R3
  0035  GETTABLE  R7 = R7[R8]
  0036  GETTABLE  R7 = R7[K14('playerNum')]
  0037  GETTABLE  R8 = R0[K10('m_config')]
  0038  GETTABLE  R8 = R8[K12('roundConfigs')]
  0039  ADD       R9 = K13(1) add R3
  0040  GETTABLE  R8 = R8[R9]
  0041  GETTABLE  R8 = R8[K15('playerNumWeight')]
  0042  TEST      if not R8 then   -> -131027
  0043  JMP       (jump)   -> 45
  0044  NEWTABLE  R8 = {} (0 items)
  0045  NEWTABLE  R9 = {} (0 items)
  0046  GETTABUP  R10 = _ENV[K16('ipairs')]
  0047  MOVE      R11 = R0
  0048  CALL      R10 = call(R10, 3 args, 1 rets)
  0049  JMP       (jump)   -> 61
  0050  GETTABLE  R15 = R14[K17('group_type')]
  0051  GETTABLE  R16 = R9[R15]
  0052  TEST      if not R16 then   -> -131017
  0053  JMP       (jump)   -> 56
  0054  NEWTABLE  R16 = {} (0 items)
  0055  SETTABLE  R9[R15] = R16
  0056  GETTABLE  R16 = R9[R15]
  0057  GETTABLE  R17 = R9[R15]
  0058  LEN       R17 = len R0
  0059  ADD       R17 = K13(1) add R17
  0060  SETTABLE  R16[R17] = R14
  0061  TFORCALL  tforcall R10
  0062  TFORLOOP  tforloop R12(sBx=-13)   -> 50
  0063  NEWTABLE  R10 = {} (0 items)
  0064  LOADK     R11 = K18 0
  0065  GETTABUP  R12 = _ENV[K16('ipairs')]
  0066  MOVE      R13 = R0
  0067  CALL      R12 = call(R12, 3 args, 1 rets)
  0068  JMP       (jump)   -> 104
  0069  GETTABLE  R17 = R16[K19('group_num')]
  0070  ADD       R11 = R17 add R11
  0071  GETTABLE  R18 = R16[K17('group_type')]
  0072  GETTABLE  R18 = R9[R18]
  0073  TEST      if not R18 then   -> -130996
  0074  JMP       (jump)   -> 79
  0075  LEN       R19 = len R0
  0076  ADD       R19 = K13(1) add R19
  0077  SETTABLE  R10[R19] = R16
  0078  JMP       (jump)   -> 104
  0079  GETTABUP  R19 = _ENV[K20('Table')]
  0080  GETTABLE  R19 = R19[K21('ListWeightSelectN')]
  0081  MOVE      R20 = R0
  0082  LOADK     R21 = K22 'weight'
  0083  MOVE      R22 = R0
  0084  CALL      R19 = call(R19, 1 args, 3 rets)
  0085  TEST      if not R19 then   -> -130984
  0086  JMP       (jump)   -> 88
  0087  NEWTABLE  R19 = {} (0 items)
  0088  GETTABUP  R20 = _ENV[K16('ipairs')]
  0089  MOVE      R21 = R0
  0090  CALL      R20 = call(R20, 3 args, 1 rets)
  0091  JMP       (jump)   -> 102
  0092  LEN       R25 = len R0
  0093  ADD       R25 = K13(1) add R25
  0094  NEWTABLE  R26 = {} (0 items)
  0095  SETTABLE  R26[K19('group_num')] = K13(1)
  0096  GETTABLE  R27 = R24[K17('group_type')]
  0097  LOADK     R28 = K23 '_'
  0098  GETTABLE  R29 = R24[K24('child_type')]
  0099  CONCAT    R27 = concat(R27..R27)
  0100  SETTABLE  R26[K17('group_type')] = R27
  0101  SETTABLE  R10[R25] = R26
  0102  TFORCALL  tforcall R20
  0103  TFORLOOP  tforloop R22(sBx=-12)   -> 92
  0104  TFORCALL  tforcall R12
  0105  TFORLOOP  tforloop R14(sBx=-37)   -> 69
  0106  GETTABUP  R12 = _ENV[K25('GameConfig')]
  0107  GETTABLE  R12 = R12[K26('IsTestMode')]
  0108  CALL      R12 = call(R12, 1 args, 0 rets)
  0109  TEST      if not R12 then   -> -130961
  0110  JMP       (jump)   -> 125
  0111  LOADK     R12 = K27 '['
  0112  GETTABLE  R13 = R0[K28('m_type')]
  0113  LOADK     R14 = K29 ']'
  0114  LOADK     R15 = K30 '发送报名请求'
  0115  CONCAT    R12 = concat(R12..R12)
  0116  GETTABUP  R13 = _ENV[K6('GM')]
  0117  GETTABLE  R13 = R13[K31('UIManager')]
  0118  SELF      R14 = R13[K32('ShowTestPrompt')] (self)
  0119  MOVE      R15 = R0
  0120  CALL      R13 = call(R13, 0 args, 2 rets)
  0121  GETTABUP  R13 = _ENV[K33('Log')]
  0122  GETTABLE  R13 = R13[K34('Info')]
  0123  MOVE      R14 = R0
  0124  CALL      R13 = call(R13, 0 args, 1 rets)
  0125  GETTABUP  R12 = _ENV[K35('ApiMessage')]
  0126  GETTABLE  R12 = R12[K36('RaceActivityEntry')]
  0127  GETTABLE  R13 = R0[K37('EntryOpName')]
  0128  ADD       R14 = K13(1) add R3
  0129  MOVE      R15 = R0
  0130  MOVE      R16 = R0
  0131  MOVE      R17 = R0
  0132  GETTABLE  R18 = R0[K38('ShowEntryMask')]
  0133  CALL      R12 = call(R12, 0 args, 6 rets)
  0134  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 244-253 np=3 va=0 ms=12 code=30 consts=6 upvals=7 protos=0
    ;   K[0]='GetState'
    ;   K[1]='ActivityState'
    ;   K[2]='Started'
    ;   K[3]='GetId'
    ;   K[4]=nil
    ;   K[5]='_OnCompetitionEntryCallback'
    ;   upvals: self, _ENV, id, failCallback, round, startTime, successCallback
    ;   locals: bSuccess(0-30), tbResp(0-30), reqCtx(0-30)
    0000  GETUPVAL  R3 = self
    0001  SELF      R4 = R3[K0('GetState')] (self)
    0002  CALL      R3 = call(R3, 1 args, 1 rets)
    0003  GETTABUP  R4 = _ENV[K1('ActivityState')]
    0004  GETTABLE  R4 = R4[K2('Started')]
    0005  EQ        if R0 eq R4   -> -129525
    0006  JMP       (jump)   -> 13
    0007  GETUPVAL  R3 = self
    0008  GETUPVAL  R4 = self
    0009  SELF      R5 = R4[K3('GetId')] (self)
    0010  CALL      R4 = call(R4, 1 args, 1 rets)
    0011  EQ        if R1 eq R4   -> -129519
    0012  JMP       (jump)   -> 19
    0013  GETUPVAL  R3 = self
    0014  EQ        if R1 eq K4(nil)   -> -129260
    0015  JMP       (jump)   -> 18
    0016  GETUPVAL  R3 = self
    0017  CALL      R3 = call(R3, 0 args, 0 rets)
    0018  RETURN    return R0..R-1
    0019  GETUPVAL  R3 = self
    0020  SELF      R4 = R3[K5('_OnCompetitionEntryCallback')] (self)
    0021  GETUPVAL  R5 = self
    0022  MOVE      R6 = R0
    0023  MOVE      R7 = R0
    0024  MOVE      R8 = R0
    0025  GETUPVAL  R9 = self
    0026  GETUPVAL  R10 = self
    0027  GETUPVAL  R11 = self
    0028  CALL      R3 = call(R3, 0 args, 8 rets)
    0029  RETURN    return R0..R-1
; ---------- proto13 [_OnCompetitionEntryCallback] ----------
  ; fn ?  line 309-380 np=9 va=0 ms=16 code=159 consts=59 upvals=2 protos=1
  ;   K[0]='EndAndGetDur'
  ;   K[1]='rcode'
  ;   K[2]=0
  ;   K[3]='_TestShowEntryResultPrompt'
  ;   K[4]='Log'
  ;   K[5]='Assert'
  ;   K[6]='robots'
  ;   K[7]='_GetRobotPlayerNumber'
  ;   K[8]='player data number error!'
  ;   K[9]='_SetEntryTime'
  ;   K[10]='GM'
  ;   K[11]='GameModel'
  ;   K[12]='GetServerTime'
  ;   K[13]='SetCurrentRound'
  ;   K[14]='math'
  ;   K[15]='min'
  ;   K[16]=1
  ;   K[17]='GetRoundCount'
  ;   K[18]='m_dbTable'
  ;   K[19]='Remove'
  ;   K[20]='MyScore'
  ;   K[21]='ReceiveRewardState'
  ;   K[22]='_RemoveLastScore'
  ;   K[23]='_RemoveLastRank'
  ;   K[24]='_CreateRobotPlayers'
  ;   K[25]='IsExsitFail'
  ;   K[26]='RemoveFailed'
  ;   K[27]='_InitUpdateRobotTime'
  ;   K[28]='_SaveOppoPlayer'
  ;   K[29]='_AddMySelf'
  ;   K[30]='_OnCompetitionEntrySuccess'
  ;   K[31]='SyncModel'
  ;   K[32]='CheckUpload'
  ;   K[33]=nil
  ;   K[34]='UIManager'
  ;   K[35]='OpenView'
  ;   K[36]='m_activityDefinition'
  ;   K[37]='MainWindowPrefabName'
  ;   K[38]='m_type'
  ;   K[39]='EventDispatcher'
  ;   K[40]='DispatchEvent'
  ;   K[41]='StateChangedEvent'
  ;   K[42]='isEnterCompetition'
  ;   K[43]=true
  ;   K[44]='EntrySuccessEvent'
  ;   K[45]='StringUtil'
  ;   K[46]='IsNilOrEmpty'
  ;   K[47]='SignupBIType'
  ;   K[48]='LogActivity'
  ;   K[49]='GetCurrentRound'
  ;   K[50]='BIStartRound'
  ;   K[51]='EBIType'
  ;   K[52]='ActivityRankUp'
  ;   K[53]='BIManager'
  ;   K[54]='LogNet'
  ;   K[55]='NetworkCheckAction'
  ;   K[56]='RaceEntrySuccess'
  ;   K[57]='OnNetError'
  ;   K[58]='RaceEntryFailed'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-159), lastRound(0-159), bSuccess(0-159), tbResp(0-159), reqCtx(0-159), startTime(0-159), successCallback(0-159), failCallback(0-159), args(0-159), timeinterval(2-159)
  0000  SELF      R10 = R5[K0('EndAndGetDur')] (self)
  0001  CALL      R9 = call(R9, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 138
  0004  GETTABLE  R10 = R3[K1('rcode')]
  0005  EQ        if R0 eq K2(0)   -> -125687
  0006  JMP       (jump)   -> 138
  0007  SELF      R11 = R0[K3('_TestShowEntryResultPrompt')] (self)
  0008  LOADBOOL  R12 = true
  0009  CALL      R10 = call(R10, 0 args, 2 rets)
  0010  GETTABUP  R10 = _ENV[K4('Log')]
  0011  GETTABLE  R10 = R10[K5('Assert')]
  0012  GETTABLE  R11 = R3[K6('robots')]
  0013  LEN       R11 = len R0
  0014  SELF      R13 = R0[K7('_GetRobotPlayerNumber')] (self)
  0015  CALL      R12 = call(R12, 1 args, 1 rets)
  0016  EQ        if R1 eq R12   -> -125410
  0017  JMP       (jump)   -> 19
  0018  LOADBOOL  R11 = false
  0019  LOADBOOL  R11 = true
  0020  LOADK     R12 = K8 'player data number error!'
  0021  CALL      R10 = call(R10, 0 args, 2 rets)
  0022  GETTABLE  R10 = R3[K6('robots')]
  0023  LEN       R10 = len R0
  0024  SELF      R12 = R0[K7('_GetRobotPlayerNumber')] (self)
  0025  CALL      R11 = call(R11, 1 args, 1 rets)
  0026  EQ        if R1 eq R11   -> -125913
  0027  JMP       (jump)   -> 29
  0028  RETURN    return R0..R-1
  0029  SELF      R11 = R0[K9('_SetEntryTime')] (self)
  0030  GETTABUP  R12 = _ENV[K10('GM')]
  0031  GETTABLE  R12 = R12[K11('GameModel')]
  0032  SELF      R13 = R12[K12('GetServerTime')] (self)
  0033  CALL      R12 = call(R12, -1 args, 1 rets)
  0034  CALL      R10 = call(R10, 0 args, -1 rets)
  0035  SELF      R11 = R0[K13('SetCurrentRound')] (self)
  0036  GETTABUP  R12 = _ENV[K14('math')]
  0037  GETTABLE  R12 = R12[K15('min')]
  0038  ADD       R13 = K16(1) add R1
  0039  SELF      R15 = R0[K17('GetRoundCount')] (self)
  0040  CALL      R14 = call(R14, -1 args, 1 rets)
  0041  CALL      R12 = call(R12, -1 args, -1 rets)
  0042  CALL      R10 = call(R10, 0 args, -1 rets)
  0043  GETTABLE  R10 = R0[K18('m_dbTable')]
  0044  SELF      R11 = R10[K19('Remove')] (self)
  0045  GETTABUP  R12 = DBKey[K20('MyScore')]
  0046  CALL      R10 = call(R10, 0 args, 2 rets)
  0047  GETTABLE  R10 = R0[K18('m_dbTable')]
  0048  SELF      R11 = R10[K19('Remove')] (self)
  0049  GETTABUP  R12 = DBKey[K21('ReceiveRewardState')]
  0050  CALL      R10 = call(R10, 0 args, 2 rets)
  0051  SELF      R11 = R0[K22('_RemoveLastScore')] (self)
  0052  CALL      R10 = call(R10, 0 args, 1 rets)
  0053  SELF      R11 = R0[K23('_RemoveLastRank')] (self)
  0054  CALL      R10 = call(R10, 0 args, 1 rets)
  0055  SELF      R11 = R0[K24('_CreateRobotPlayers')] (self)
  0056  GETTABLE  R12 = R3[K6('robots')]
  0057  CALL      R10 = call(R10, 0 args, 2 rets)
  0058  GETTABLE  R10 = R0[K25('IsExsitFail')]
  0059  TEST      if not R10 then   -> -131011
  0060  JMP       (jump)   -> 65
  0061  SELF      R11 = R0[K26('RemoveFailed')] (self)
  0062  CALL      R10 = call(R10, 0 args, 1 rets)
  0063  SELF      R11 = R0[K27('_InitUpdateRobotTime')] (self)
  0064  CALL      R10 = call(R10, 0 args, 1 rets)
  0065  SELF      R11 = R0[K28('_SaveOppoPlayer')] (self)
  0066  CALL      R10 = call(R10, 0 args, 1 rets)
  0067  SELF      R11 = R0[K29('_AddMySelf')] (self)
  0068  CALL      R10 = call(R10, 0 args, 1 rets)
  0069  SELF      R11 = R0[K30('_OnCompetitionEntrySuccess')] (self)
  0070  CALL      R10 = call(R10, 0 args, 1 rets)
  0071  GETTABUP  R10 = _ENV[K10('GM')]
  0072  GETTABLE  R10 = R10[K31('SyncModel')]
  0073  SELF      R11 = R10[K32('CheckUpload')] (self)
  0074  LOADBOOL  R12 = false
  0075  CALL      R10 = call(R10, 0 args, 2 rets)
  0076  EQ        if R1 eq K33(nil)   -> -127633
  0077  JMP       (jump)   -> 81
  0078  MOVE      R10 = R0
  0079  CALL      R10 = call(R10, 0 args, 0 rets)
  0080  JMP       (jump)   -> 90
  0081  GETTABUP  R10 = _ENV[K10('GM')]
  0082  GETTABLE  R10 = R10[K34('UIManager')]
  0083  SELF      R11 = R10[K35('OpenView')] (self)
  0084  GETTABLE  R12 = R0[K36('m_activityDefinition')]
  0085  GETTABLE  R12 = R12[K37('MainWindowPrefabName')]
  0086  GETTABLE  R13 = R0[K38('m_type')]
  0087  LOADBOOL  R14 = true
  0088  LOADBOOL  R15 = true
  0089  CALL      R10 = call(R10, 0 args, 5 rets)
  0090  GETTABUP  R10 = _ENV[K39('EventDispatcher')]
  0091  GETTABLE  R10 = R10[K40('DispatchEvent')]
  0092  GETTABLE  R11 = R0[K36('m_activityDefinition')]
  0093  GETTABLE  R11 = R11[K41('StateChangedEvent')]
  0094  NEWTABLE  R12 = {} (0 items)
  0095  SETTABLE  R12[K42('isEnterCompetition')] = K43(true)
  0096  CALL      R10 = call(R10, 0 args, 2 rets)
  0097  GETTABLE  R10 = R0[K36('m_activityDefinition')]
  0098  GETTABLE  R10 = R10[K44('EntrySuccessEvent')]
  0099  TEST      if not R10 then   -> -130971
  0100  JMP       (jump)   -> 106
  0101  GETTABUP  R10 = _ENV[K39('EventDispatcher')]
  0102  GETTABLE  R10 = R10[K40('DispatchEvent')]
  0103  GETTABLE  R11 = R0[K36('m_activityDefinition')]
  0104  GETTABLE  R11 = R11[K44('EntrySuccessEvent')]
  0105  CALL      R10 = call(R10, 0 args, 1 rets)
  0106  GETTABUP  R10 = _ENV[K45('StringUtil')]
  0107  GETTABLE  R10 = R10[K46('IsNilOrEmpty')]
  0108  GETTABLE  R11 = R0[K36('m_activityDefinition')]
  0109  GETTABLE  R11 = R11[K47('SignupBIType')]
  0110  CALL      R10 = call(R10, 1 args, 1 rets)
  0111  TEST      if not R10 then   -> -130958
  0112  JMP       (jump)   -> 119
  0113  SELF      R11 = R0[K48('LogActivity')] (self)
  0114  GETTABLE  R12 = R0[K36('m_activityDefinition')]
  0115  GETTABLE  R12 = R12[K47('SignupBIType')]
  0116  SELF      R14 = R0[K49('GetCurrentRound')] (self)
  0117  CALL      R13 = call(R13, -1 args, 1 rets)
  0118  CALL      R10 = call(R10, 0 args, -1 rets)
  0119  GETTABLE  R10 = R0[K50('BIStartRound')]
  0120  TEST      if not R10 then   -> -130950
  0121  JMP       (jump)   -> 127
  0122  SELF      R11 = R0[K48('LogActivity')] (self)
  0123  GETTABUP  R12 = _ENV[K51('EBIType')]
  0124  GETTABLE  R12 = R12[K52('ActivityRankUp')]
  0125  LOADK     R13 = K2 0
  0126  CALL      R10 = call(R10, 0 args, 3 rets)
  0127  GETTABUP  R10 = _ENV[K10('GM')]
  0128  GETTABLE  R10 = R10[K53('BIManager')]
  0129  SELF      R11 = R10[K54('LogNet')] (self)
  0130  GETTABUP  R12 = _ENV[K51('EBIType')]
  0131  GETTABLE  R12 = R12[K55('NetworkCheckAction')]
  0132  GETTABLE  R12 = R12[K56('RaceEntrySuccess')]
  0133  LOADNIL   R13..R13 = nil
  0134  MOVE      R14 = R0
  0135  MOVE      R15 = R0
  0136  CALL      R10 = call(R10, 0 args, 5 rets)
  0137  JMP       (jump)   -> 158
  0138  SELF      R11 = R0[K3('_TestShowEntryResultPrompt')] (self)
  0139  LOADBOOL  R12 = false
  0140  CALL      R10 = call(R10, 0 args, 2 rets)
  0141  SELF      R11 = R0[K57('OnNetError')] (self)
  0142  CLOSURE   R12 = closure proto0
  0143  CALL      R10 = call(R10, 0 args, 2 rets)
  0144  GETTABUP  R10 = _ENV[K10('GM')]
  0145  GETTABLE  R10 = R10[K53('BIManager')]
  0146  SELF      R11 = R10[K54('LogNet')] (self)
  0147  GETTABUP  R12 = _ENV[K51('EBIType')]
  0148  GETTABLE  R12 = R12[K55('NetworkCheckAction')]
  0149  GETTABLE  R12 = R12[K58('RaceEntryFailed')]
  0150  MOVE      R13 = R0
  0151  MOVE      R14 = R0
  0152  MOVE      R15 = R0
  0153  CALL      R10 = call(R10, 0 args, 5 rets)
  0154  EQ        if R1 eq K33(nil)   -> -127043
  0155  JMP       (jump)   -> 158
  0156  MOVE      R10 = R0
  0157  CALL      R10 = call(R10, 0 args, 0 rets)
  0158  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 367-373 np=0 va=0 ms=5 code=15 consts=7 upvals=3 protos=0
    ;   K[0]='ShowEntryMask'
    ;   K[1]=true
    ;   K[2]='TryCompetitionEntry'
    ;   K[3]='table'
    ;   K[4]='unpack'
    ;   K[5]='Table'
    ;   K[6]='Empty'
    ;   upvals: self, _ENV, args
    ;   locals: recordVal(1-15)
    0000  GETTABUP  R0 = self[K0('ShowEntryMask')]
    0001  SETTABUP  self[K0('ShowEntryMask')] = K1(true)
    0002  GETUPVAL  R1 = self
    0003  SELF      R2 = R1[K2('TryCompetitionEntry')] (self)
    0004  GETTABUP  R3 = _ENV[K3('table')]
    0005  GETTABLE  R3 = R3[K4('unpack')]
    0006  GETUPVAL  R4 = self
    0007  TEST      if not R4 then   -> -131062
    0008  JMP       (jump)   -> 11
    0009  GETTABUP  R4 = _ENV[K5('Table')]
    0010  GETTABLE  R4 = R4[K6('Empty')]
    0011  CALL      R3 = call(R3, -1 args, 1 rets)
    0012  CALL      R1 = call(R1, 0 args, -1 rets)
    0013  SETTABUP  self[K0('ShowEntryMask')] = R0
    0014  RETURN    return R0..R-1
; ---------- proto14 [_TestShowEntryResultPrompt] ----------
  ; fn ?  line 383-394 np=2 va=0 ms=7 code=29 consts=13 upvals=1 protos=0
  ;   K[0]='GameConfig'
  ;   K[1]='IsTestMode'
  ;   K[2]=true
  ;   K[3]='['
  ;   K[4]='m_type'
  ;   K[5]=']'
  ;   K[6]='返回成功报名请求'
  ;   K[7]='返回失败报名请求'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='ShowTestPrompt'
  ;   K[11]='Log'
  ;   K[12]='Info'
  ;   upvals: _ENV
  ;   locals: self(0-29), isEntrySuccess(0-29), string(1-29)
  0000  LOADNIL   R2..R2 = nil
  0001  GETTABUP  R3 = _ENV[K0('GameConfig')]
  0002  GETTABLE  R3 = R3[K1('IsTestMode')]
  0003  CALL      R3 = call(R3, 1 args, 0 rets)
  0004  TEST      if not R3 then   -> -131066
  0005  JMP       (jump)   -> 28
  0006  EQ        if R0 eq K2(true)   -> -130294
  0007  JMP       (jump)   -> 14
  0008  LOADK     R3 = K3 '['
  0009  GETTABLE  R4 = R0[K4('m_type')]
  0010  LOADK     R5 = K5 ']'
  0011  LOADK     R6 = K6 '返回成功报名请求'
  0012  CONCAT    R2 = concat(R2..R3)
  0013  JMP       (jump)   -> 19
  0014  LOADK     R3 = K3 '['
  0015  GETTABLE  R4 = R0[K4('m_type')]
  0016  LOADK     R5 = K5 ']'
  0017  LOADK     R6 = K7 '返回失败报名请求'
  0018  CONCAT    R2 = concat(R2..R3)
  0019  GETTABUP  R3 = _ENV[K8('GM')]
  0020  GETTABLE  R3 = R3[K9('UIManager')]
  0021  SELF      R4 = R3[K10('ShowTestPrompt')] (self)
  0022  MOVE      R5 = R0
  0023  CALL      R3 = call(R3, 0 args, 2 rets)
  0024  GETTABUP  R3 = _ENV[K11('Log')]
  0025  GETTABLE  R3 = R3[K12('Info')]
  0026  MOVE      R4 = R0
  0027  CALL      R3 = call(R3, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
; ---------- proto15 [_OnCompetitionEntrySuccess] ----------
  ; fn ?  line 397-398 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto16 [_GetRobotPlayerNumber] ----------
  ; fn ?  line 402-404 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='FixedPlayerNumber'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('FixedPlayerNumber')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto17 [_CreateRobotPlayers] ----------
  ; fn ?  line 408-419 np=2 va=0 ms=15 code=24 consts=6 upvals=1 protos=0
  ;   K[0]='GetTargetScore'
  ;   K[1]='m_arrPlayerData'
  ;   K[2]='ipairs'
  ;   K[3]='CreatePlayerData'
  ;   K[4]=0
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-24), robots(0-24), targetScore(2-24), playerData(3-24), score(6-24), (for generator)(9-23), (for state)(9-23), (for control)(9-23), index(10-21), value(10-21)
  0000  SELF      R3 = R0[K0('GetTargetScore')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  LOADNIL   R3..R3 = nil
  0003  NEWTABLE  R4 = {} (0 items)
  0004  SETTABLE  R0[K1('m_arrPlayerData')] = R4
  0005  LOADNIL   R4..R4 = nil
  0006  GETTABUP  R5 = _ENV[K2('ipairs')]
  0007  MOVE      R6 = R0
  0008  CALL      R5 = call(R5, 3 args, 1 rets)
  0009  JMP       (jump)   -> 21
  0010  SELF      R11 = R0[K3('CreatePlayerData')] (self)
  0011  MOVE      R12 = R0
  0012  MOVE      R13 = R0
  0013  LOADK     R14 = K4 0
  0014  CALL      R10 = call(R10, 1 args, 4 rets)
  0015  MOVE      R3 = R0
  0016  GETTABLE  R10 = R0[K1('m_arrPlayerData')]
  0017  GETTABLE  R11 = R0[K1('m_arrPlayerData')]
  0018  LEN       R11 = len R0
  0019  ADD       R11 = K5(1) add R11
  0020  SETTABLE  R10[R11] = R3
  0021  TFORCALL  tforcall R5
  0022  TFORLOOP  tforloop R7(sBx=-13)   -> 10
  0023  RETURN    return R0..R-1
; ---------- proto18 [_InitUpdateRobotTime] ----------
  ; fn ?  line 422-453 np=1 va=0 ms=21 code=112 consts=38 upvals=1 protos=0
  ;   K[0]='m_bHasCheckFail'
  ;   K[1]=false
  ;   K[2]='m_arrUpdateRobotTime'
  ;   K[3]='m_arrUpdateRobotScore'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='ipairs'
  ;   K[8]='m_arrPlayerData'
  ;   K[9]='IsMySelf'
  ;   K[10]='score'
  ;   K[11]='_GetEntryTime'
  ;   K[12]='seconds'
  ;   K[13]='table'
  ;   K[14]='insert'
  ;   K[15]='  假人'
  ;   K[16]='GetUserName'
  ;   K[17]='  分数变为:'
  ;   K[18]='tostring'
  ;   K[19]='sort'
  ;   K[20]='GameConfig'
  ;   K[21]='IsTestMode'
  ;   K[22]='TimeUtil'
  ;   K[23]='ToDate'
  ;   K[24]='ETimeFormat'
  ;   K[25]='UTCYMDHMS'
  ;   K[26]=':'
  ;   K[27]='concat'
  ;   K[28]=','
  ;   K[29]='Table'
  ;   K[30]='IsEmpty'
  ;   K[31]='Log'
  ;   K[32]='Info'
  ;   K[33]='['
  ;   K[34]='m_type'
  ;   K[35]=']'
  ;   K[36]=' 假人刷新时间和分数为：\n'
  ;   K[37]='\n'
  ;   upvals: _ENV
  ;   locals: self(0-112), updateTime(6-112), updateScore(6-112), serverTime(10-112), (for generator)(13-58), (for state)(13-58), (for control)(13-58), _(14-56), playerData(14-56), (for generator)(21-56), (for state)(21-56), (for control)(21-56), _(22-54), scoreData(22-54), logStr(68-111), (for generator)(71-92), (for state)(71-92), (for control)(71-92), i(72-90), updateRobotTime(72-90)
  0000  SETTABLE  R0[K0('m_bHasCheckFail')] = K1(false)
  0001  NEWTABLE  R1 = {} (0 items)
  0002  SETTABLE  R0[K2('m_arrUpdateRobotTime')] = R1
  0003  NEWTABLE  R1 = {} (0 items)
  0004  SETTABLE  R0[K3('m_arrUpdateRobotScore')] = R1
  0005  LOADNIL   R1..R1 = nil
  0006  GETTABUP  R3 = _ENV[K4('GM')]
  0007  GETTABLE  R3 = R3[K5('GameModel')]
  0008  SELF      R4 = R3[K6('GetServerTime')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  GETTABUP  R4 = _ENV[K7('ipairs')]
  0011  GETTABLE  R5 = R0[K8('m_arrPlayerData')]
  0012  CALL      R4 = call(R4, 3 args, 1 rets)
  0013  JMP       (jump)   -> 56
  0014  SELF      R10 = R8[K9('IsMySelf')] (self)
  0015  CALL      R9 = call(R9, 1 args, 1 rets)
  0016  TEST      if not R9 then   -> -131053
  0017  JMP       (jump)   -> 56
  0018  GETTABUP  R9 = _ENV[K7('ipairs')]
  0019  GETTABLE  R10 = R8[K10('score')]
  0020  CALL      R9 = call(R9, 3 args, 1 rets)
  0021  JMP       (jump)   -> 54
  0022  SELF      R15 = R0[K11('_GetEntryTime')] (self)
  0023  CALL      R14 = call(R14, 1 args, 1 rets)
  0024  GETTABLE  R15 = R13[K12('seconds')]
  0025  ADD       R1 = R15 add R14
  0026  GETTABLE  R2 = R13[K10('score')]
  0027  LT        if R0 lt R1   -> -129506
  0028  JMP       (jump)   -> 54
  0029  GETTABLE  R14 = R0[K3('m_arrUpdateRobotScore')]
  0030  GETTABLE  R14 = R14[R1]
  0031  TEST      if not R14 then   -> -131038
  0032  JMP       (jump)   -> 41
  0033  GETTABLE  R14 = R0[K3('m_arrUpdateRobotScore')]
  0034  NEWTABLE  R15 = {} (0 items)
  0035  SETTABLE  R14[R1] = R15
  0036  GETTABUP  R14 = _ENV[K13('table')]
  0037  GETTABLE  R14 = R14[K14('insert')]
  0038  GETTABLE  R15 = R0[K2('m_arrUpdateRobotTime')]
  0039  MOVE      R16 = R0
  0040  CALL      R14 = call(R14, 0 args, 2 rets)
  0041  GETTABUP  R14 = _ENV[K13('table')]
  0042  GETTABLE  R14 = R14[K14('insert')]
  0043  GETTABLE  R15 = R0[K3('m_arrUpdateRobotScore')]
  0044  GETTABLE  R15 = R15[R1]
  0045  LOADK     R16 = K15 '  假人'
  0046  SELF      R18 = R8[K16('GetUserName')] (self)
  0047  CALL      R17 = call(R17, 1 args, 1 rets)
  0048  LOADK     R18 = K17 '  分数变为:'
  0049  GETTABUP  R19 = _ENV[K18('tostring')]
  0050  MOVE      R20 = R0
  0051  CALL      R19 = call(R19, 1 args, 1 rets)
  0052  CONCAT    R16 = concat(R16..R16)
  0053  CALL      R14 = call(R14, 0 args, 2 rets)
  0054  TFORCALL  tforcall R9
  0055  TFORLOOP  tforloop R11(sBx=-34)   -> 22
  0056  TFORCALL  tforcall R4
  0057  TFORLOOP  tforloop R6(sBx=-44)   -> 14
  0058  GETTABUP  R4 = _ENV[K13('table')]
  0059  GETTABLE  R4 = R4[K19('sort')]
  0060  GETTABLE  R5 = R0[K2('m_arrUpdateRobotTime')]
  0061  CALL      R4 = call(R4, 0 args, 1 rets)
  0062  GETTABUP  R4 = _ENV[K20('GameConfig')]
  0063  GETTABLE  R4 = R4[K21('IsTestMode')]
  0064  CALL      R4 = call(R4, 1 args, 0 rets)
  0065  TEST      if not R4 then   -> -131005
  0066  JMP       (jump)   -> 111
  0067  NEWTABLE  R4 = {} (0 items)
  0068  GETTABUP  R5 = _ENV[K7('ipairs')]
  0069  GETTABLE  R6 = R0[K2('m_arrUpdateRobotTime')]
  0070  CALL      R5 = call(R5, 3 args, 1 rets)
  0071  JMP       (jump)   -> 90
  0072  GETTABUP  R10 = _ENV[K13('table')]
  0073  GETTABLE  R10 = R10[K14('insert')]
  0074  MOVE      R11 = R0
  0075  GETTABUP  R12 = _ENV[K22('TimeUtil')]
  0076  GETTABLE  R12 = R12[K23('ToDate')]
  0077  MOVE      R13 = R0
  0078  GETTABUP  R14 = _ENV[K24('ETimeFormat')]
  0079  GETTABLE  R14 = R14[K25('UTCYMDHMS')]
  0080  CALL      R12 = call(R12, 1 args, 2 rets)
  0081  LOADK     R13 = K26 ':'
  0082  GETTABUP  R14 = _ENV[K13('table')]
  0083  GETTABLE  R14 = R14[K27('concat')]
  0084  GETTABLE  R15 = R0[K3('m_arrUpdateRobotScore')]
  0085  GETTABLE  R15 = R15[R9]
  0086  LOADK     R16 = K28 ','
  0087  CALL      R14 = call(R14, 1 args, 2 rets)
  0088  CONCAT    R12 = concat(R12..R12)
  0089  CALL      R10 = call(R10, 0 args, 2 rets)
  0090  TFORCALL  tforcall R5
  0091  TFORLOOP  tforloop R7(sBx=-20)   -> 72
  0092  GETTABUP  R5 = _ENV[K29('Table')]
  0093  GETTABLE  R5 = R5[K30('IsEmpty')]
  0094  MOVE      R6 = R0
  0095  CALL      R5 = call(R5, 1 args, 1 rets)
  0096  TEST      if not R5 then   -> -130973
  0097  JMP       (jump)   -> 111
  0098  GETTABUP  R5 = _ENV[K31('Log')]
  0099  GETTABLE  R5 = R5[K32('Info')]
  0100  LOADK     R6 = K33 '['
  0101  GETTABLE  R7 = R0[K34('m_type')]
  0102  LOADK     R8 = K35 ']'
  0103  LOADK     R9 = K36 ' 假人刷新时间和分数为：\n'
  0104  GETTABUP  R10 = _ENV[K13('table')]
  0105  GETTABLE  R10 = R10[K27('concat')]
  0106  MOVE      R11 = R0
  0107  LOADK     R12 = K37 '\n'
  0108  CALL      R10 = call(R10, 1 args, 2 rets)
  0109  CONCAT    R6 = concat(R6..R6)
  0110  CALL      R5 = call(R5, 0 args, 1 rets)
  0111  RETURN    return R0..R-1
; ---------- proto19 [HasNetwork] ----------
  ; fn ?  line 455-457 np=1 va=0 ms=2 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='PlatformInterface'
  ;   K[1]='HasNetwork'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('PlatformInterface')]
  0001  GETTABLE  R1 = R1[K1('HasNetwork')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto20 [TryOpenMainWindow] ----------
  ; fn ?  line 460-470 np=1 va=0 ms=5 code=16 consts=8 upvals=1 protos=1
  ;   K[0]='HasNetwork'
  ;   K[1]='OnNetError'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='OpenView'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='MainWindowPrefabName'
  ;   K[7]='m_type'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  SELF      R2 = R0[K0('HasNetwork')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 8
  0004  SELF      R2 = R0[K1('OnNetError')] (self)
  0005  CLOSURE   R3 = closure proto0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
  0008  GETTABUP  R1 = _ENV[K2('GM')]
  0009  GETTABLE  R1 = R1[K3('UIManager')]
  0010  SELF      R2 = R1[K4('OpenView')] (self)
  0011  GETTABLE  R3 = R0[K5('m_activityDefinition')]
  0012  GETTABLE  R3 = R3[K6('MainWindowPrefabName')]
  0013  GETTABLE  R4 = R0[K7('m_type')]
  0014  CALL      R1 = call(R1, 0 args, 3 rets)
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 463-465 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='TryOpenMainWindow'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('TryOpenMainWindow')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto21 [IsActivityOpen] ----------
  ; fn ?  line 474-486 np=1 va=0 ms=3 code=31 consts=7 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Preparing'
  ;   K[3]='Started'
  ;   K[4]='HasFinishedAllRounds'
  ;   K[5]='IsInRace'
  ;   K[6]='IsDeadline'
  ;   upvals: _ENV
  ;   locals: self(0-31)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Preparing')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 12
  0006  SELF      R2 = R0[K0('GetState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0009  GETTABLE  R2 = R2[K3('Started')]
  0010  EQ        if R0 eq R2   -> -130546
  0011  JMP       (jump)   -> 16
  0012  SELF      R2 = R0[K4('HasFinishedAllRounds')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R1 = false
  0017  RETURN    return R1..R0
  0018  SELF      R2 = R0[K5('IsInRace')] (self)
  0019  CALL      R1 = call(R1, 1 args, 1 rets)
  0020  TEST      if not R1 then   -> -131049
  0021  JMP       (jump)   -> 28
  0022  SELF      R2 = R0[K6('IsDeadline')] (self)
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  TEST      if not R1 then   -> -131046
  0025  JMP       (jump)   -> 28
  0026  LOADBOOL  R1 = false
  0027  RETURN    return R1..R0
  0028  LOADBOOL  R1 = true
  0029  RETURN    return R1..R0
  0030  RETURN    return R0..R-1
; ---------- proto22 [IsInRace] ----------
  ; fn ?  line 489-495 np=1 va=0 ms=4 code=17 consts=4 upvals=0 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]=0
  ;   K[2]='GetRoundCount'
  ;   K[3]='_HasReceivedReward'
  ;   locals: self(0-17), round(2-17)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LT        if R0 lt R1   -> 517
  0003  JMP       (jump)   -> 14
  0004  SELF      R3 = R0[K2('GetRoundCount')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  LE        if R0 le R2   -> -130550
  0007  JMP       (jump)   -> 14
  0008  SELF      R3 = R0[K3('_HasReceivedReward')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 14
  0012  LOADBOOL  R2 = true
  0013  RETURN    return R2..R1
  0014  LOADBOOL  R2 = false
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto23 [IsDeadline] ----------
  ; fn ?  line 498-501 np=1 va=0 ms=4 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='GetEndTime'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='GetEntryGapTime'
  ;   upvals: _ENV
  ;   locals: self(0-15), surplusTime(7-15)
  0000  SELF      R2 = R0[K0('GetEndTime')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('GM')]
  0003  GETTABLE  R2 = R2[K2('GameModel')]
  0004  SELF      R3 = R2[K3('GetServerTime')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  SUB       R1 = R2 sub R1
  0007  SELF      R3 = R0[K4('GetEntryGapTime')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  LT        if R1 lt R2   -> -130547
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R2 = false
  0012  LOADBOOL  R2 = true
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto24 [GetEntryGapTime] ----------
  ; fn ?  line 505-507 np=1 va=0 ms=2 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='EntryGapTime'
  ;   K[1]=0
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('EntryGapTime')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  LOADK     R1 = K1 0
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto25 [HasFinishedAllRounds] ----------
  ; fn ?  line 511-513 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='_IsEndRound'
  ;   K[1]='_HasReceivedReward'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('_IsEndRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('_HasReceivedReward')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto26 [UpdatePlayerRank] ----------
  ; fn ?  line 516-536 np=1 va=0 ms=13 code=41 consts=13 upvals=1 protos=1
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]='_GetEntryTime'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='ipairs'
  ;   K[8]='UpdateContent'
  ;   K[9]='GetTargetScore'
  ;   K[10]='table'
  ;   K[11]='sort'
  ;   K[12]='SetRank'
  ;   upvals: _ENV
  ;   locals: self(0-41), entryTime(9-41), gapTime(14-41), isAllZero(15-41), (for generator)(18-24), (for state)(18-24), (for control)(18-24), index(19-22), value(19-22), targetScore(26-41), (for generator)(34-40), (for state)(34-40), (for control)(34-40), index(35-38), value(35-38)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('_GetEntryTime')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABUP  R2 = _ENV[K4('GM')]
  0010  GETTABLE  R2 = R2[K5('GameModel')]
  0011  SELF      R3 = R2[K6('GetServerTime')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  SUB       R2 = R1 sub R2
  0014  LOADBOOL  R3 = true
  0015  GETTABUP  R4 = _ENV[K7('ipairs')]
  0016  GETTABLE  R5 = R0[K2('m_arrPlayerData')]
  0017  CALL      R4 = call(R4, 3 args, 1 rets)
  0018  JMP       (jump)   -> 22
  0019  SELF      R10 = R8[K8('UpdateContent')] (self)
  0020  MOVE      R11 = R0
  0021  CALL      R9 = call(R9, 0 args, 2 rets)
  0022  TFORCALL  tforcall R4
  0023  TFORLOOP  tforloop R6(sBx=-5)   -> 19
  0024  SELF      R5 = R0[K9('GetTargetScore')] (self)
  0025  CALL      R4 = call(R4, 1 args, 1 rets)
  0026  GETTABUP  R5 = _ENV[K10('table')]
  0027  GETTABLE  R5 = R5[K11('sort')]
  0028  GETTABLE  R6 = R0[K2('m_arrPlayerData')]
  0029  CLOSURE   R7 = closure proto0
  0030  CALL      R5 = call(R5, 0 args, 2 rets)
  0031  GETTABUP  R5 = _ENV[K7('ipairs')]
  0032  GETTABLE  R6 = R0[K2('m_arrPlayerData')]
  0033  CALL      R5 = call(R5, 3 args, 1 rets)
  0034  JMP       (jump)   -> 38
  0035  SELF      R11 = R9[K12('SetRank')] (self)
  0036  MOVE      R12 = R0
  0037  CALL      R10 = call(R10, 0 args, 2 rets)
  0038  TFORCALL  tforcall R5
  0039  TFORLOOP  tforloop R7(sBx=-5)   -> 35
  0040  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 529-531 np=2 va=0 ms=6 code=7 consts=1 upvals=1 protos=0
    ;   K[0]='_PlayerRankSortFunc'
    ;   upvals: self
    ;   locals: a(0-7), b(0-7)
    0000  GETUPVAL  R2 = self
    0001  SELF      R3 = R2[K0('_PlayerRankSortFunc')] (self)
    0002  MOVE      R4 = R0
    0003  MOVE      R5 = R0
    0004  TAILCALL  tailcall(R2, 0)
    0005  RETURN    return R2..R1
    0006  RETURN    return R0..R-1
; ---------- proto27 [_PlayerRankSortFunc] ----------
  ; fn ?  line 538-578 np=3 va=0 ms=9 code=90 consts=5 upvals=0 protos=0
  ;   K[0]='m_curScore'
  ;   K[1]='targetScore'
  ;   K[2]='IsMySelf'
  ;   K[3]='m_curTime'
  ;   K[4]='GetUserId'
  ;   locals: self(0-90), a(0-90), b(0-90), bEnd(17-90), isAPlayer(19-90), isBPlayer(21-90)
  0000  GETTABLE  R3 = R1[K0('m_curScore')]
  0001  GETTABLE  R4 = R2[K0('m_curScore')]
  0002  EQ        if R1 eq R4   -> -129528
  0003  JMP       (jump)   -> 11
  0004  GETTABLE  R3 = R1[K0('m_curScore')]
  0005  GETTABLE  R4 = R2[K0('m_curScore')]
  0006  LT        if R1 lt R3   -> -129013
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R3 = false
  0009  LOADBOOL  R3 = true
  0010  RETURN    return R3..R2
  0011  GETTABLE  R3 = R1[K0('m_curScore')]
  0012  GETTABLE  R4 = R1[K1('targetScore')]
  0013  EQ        if R1 eq R4   -> -129517
  0014  JMP       (jump)   -> 16
  0015  LOADBOOL  R3 = false
  0016  LOADBOOL  R3 = true
  0017  SELF      R5 = R1[K2('IsMySelf')] (self)
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  SELF      R6 = R2[K2('IsMySelf')] (self)
  0020  CALL      R5 = call(R5, 1 args, 1 rets)
  0021  TEST      if not R3 then   -> -131049
  0022  JMP       (jump)   -> 56
  0023  GETTABLE  R6 = R1[K3('m_curTime')]
  0024  GETTABLE  R7 = R2[K3('m_curTime')]
  0025  EQ        if R1 eq R7   -> -127966
  0026  JMP       (jump)   -> 34
  0027  GETTABLE  R6 = R1[K3('m_curTime')]
  0028  GETTABLE  R7 = R2[K3('m_curTime')]
  0029  LT        if R1 lt R7   -> -127962
  0030  JMP       (jump)   -> 32
  0031  LOADBOOL  R6 = false
  0032  LOADBOOL  R6 = true
  0033  RETURN    return R6..R5
  0034  TEST      if not R4 then   -> -131036
  0035  JMP       (jump)   -> 41
  0036  TEST      if not R5 then   -> -131033
  0037  JMP       (jump)   -> 41
  0038  LOADBOOL  R6 = true
  0039  RETURN    return R6..R5
  0040  JMP       (jump)   -> 47
  0041  TEST      if not R4 then   -> -131028
  0042  JMP       (jump)   -> 47
  0043  TEST      if not R5 then   -> -131027
  0044  JMP       (jump)   -> 47
  0045  LOADBOOL  R6 = false
  0046  RETURN    return R6..R5
  0047  SELF      R7 = R1[K4('GetUserId')] (self)
  0048  CALL      R6 = call(R6, 1 args, 1 rets)
  0049  SELF      R8 = R2[K4('GetUserId')] (self)
  0050  CALL      R7 = call(R7, 1 args, 1 rets)
  0051  LT        if R1 lt R6   -> -127429
  0052  JMP       (jump)   -> 54
  0053  LOADBOOL  R6 = false
  0054  LOADBOOL  R6 = true
  0055  RETURN    return R6..R5
  0056  TEST      if not R4 then   -> -131014
  0057  JMP       (jump)   -> 63
  0058  TEST      if not R5 then   -> -131011
  0059  JMP       (jump)   -> 63
  0060  LOADBOOL  R6 = true
  0061  RETURN    return R6..R5
  0062  JMP       (jump)   -> 69
  0063  TEST      if not R4 then   -> -131006
  0064  JMP       (jump)   -> 69
  0065  TEST      if not R5 then   -> -131005
  0066  JMP       (jump)   -> 69
  0067  LOADBOOL  R6 = false
  0068  RETURN    return R6..R5
  0069  GETTABLE  R6 = R1[K3('m_curTime')]
  0070  GETTABLE  R7 = R2[K3('m_curTime')]
  0071  EQ        if R1 eq R7   -> -127920
  0072  JMP       (jump)   -> 80
  0073  GETTABLE  R6 = R1[K3('m_curTime')]
  0074  GETTABLE  R7 = R2[K3('m_curTime')]
  0075  LT        if R1 lt R7   -> -127916
  0076  JMP       (jump)   -> 78
  0077  LOADBOOL  R6 = false
  0078  LOADBOOL  R6 = true
  0079  RETURN    return R6..R5
  0080  SELF      R7 = R1[K4('GetUserId')] (self)
  0081  CALL      R6 = call(R6, 1 args, 1 rets)
  0082  SELF      R8 = R2[K4('GetUserId')] (self)
  0083  CALL      R7 = call(R7, 1 args, 1 rets)
  0084  LT        if R1 lt R6   -> -127396
  0085  JMP       (jump)   -> 87
  0086  LOADBOOL  R6 = false
  0087  LOADBOOL  R6 = true
  0088  RETURN    return R6..R5
  0089  RETURN    return R0..R-1
; ---------- proto28 [UpdateLastScore] ----------
  ; fn ?  line 580-589 np=1 va=0 ms=8 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]='ipairs'
  ;   K[4]='UpdateLastScore'
  ;   K[5]='_SaveLastScore'
  ;   upvals: _ENV
  ;   locals: self(0-18), (for generator)(10-15), (for state)(10-15), (for control)(10-15), index(11-13), value(11-13)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R1 = _ENV[K3('ipairs')]
  0008  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0009  CALL      R1 = call(R1, 3 args, 1 rets)
  0010  JMP       (jump)   -> 13
  0011  SELF      R7 = R5[K4('UpdateLastScore')] (self)
  0012  CALL      R6 = call(R6, 0 args, 1 rets)
  0013  TFORCALL  tforcall R1
  0014  TFORLOOP  tforloop R3(sBx=-4)   -> 11
  0015  SELF      R2 = R0[K5('_SaveLastScore')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto29 [UpdateLastRank] ----------
  ; fn ?  line 591-600 np=1 va=0 ms=8 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]='ipairs'
  ;   K[4]='UpdateLastRank'
  ;   K[5]='_SaveLastRank'
  ;   upvals: _ENV
  ;   locals: self(0-18), (for generator)(10-15), (for state)(10-15), (for control)(10-15), index(11-13), value(11-13)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R1 = _ENV[K3('ipairs')]
  0008  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0009  CALL      R1 = call(R1, 3 args, 1 rets)
  0010  JMP       (jump)   -> 13
  0011  SELF      R7 = R5[K4('UpdateLastRank')] (self)
  0012  CALL      R6 = call(R6, 0 args, 1 rets)
  0013  TFORCALL  tforcall R1
  0014  TFORLOOP  tforloop R3(sBx=-4)   -> 11
  0015  SELF      R2 = R0[K5('_SaveLastRank')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto30 [GetMyRank] ----------
  ; fn ?  line 603-617 np=2 va=0 ms=8 code=30 consts=8 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]=0
  ;   K[4]='UpdatePlayerRank'
  ;   K[5]=1
  ;   K[6]='IsMySelf'
  ;   K[7]='GetRank'
  ;   upvals: _ENV
  ;   locals: self(0-30), needToUpdate(0-30), (for index)(16-29), (for limit)(16-29), (for step)(16-29), i(17-28)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  GETTABLE  R3 = R0[K2('m_arrPlayerData')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADK     R2 = K3 0
  0007  RETURN    return R2..R1
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  SELF      R3 = R0[K4('UpdatePlayerRank')] (self)
  0011  CALL      R2 = call(R2, 0 args, 1 rets)
  0012  LOADK     R2 = K5 1
  0013  GETTABLE  R3 = R0[K2('m_arrPlayerData')]
  0014  LEN       R3 = len R0
  0015  LOADK     R4 = K5 1
  0016  FORPREP   forprep R2(sBx=11)   -> 28
  0017  GETTABLE  R6 = R0[K2('m_arrPlayerData')]
  0018  GETTABLE  R6 = R6[R5]
  0019  SELF      R7 = R6[K6('IsMySelf')] (self)
  0020  CALL      R6 = call(R6, 1 args, 1 rets)
  0021  TEST      if not R6 then   -> -131049
  0022  JMP       (jump)   -> 28
  0023  GETTABLE  R6 = R0[K2('m_arrPlayerData')]
  0024  GETTABLE  R6 = R6[R5]
  0025  SELF      R7 = R6[K7('GetRank')] (self)
  0026  TAILCALL  tailcall(R6, 0)
  0027  RETURN    return R6..R5
  0028  FORLOOP   forloop R2(sBx=-12)   -> 17
  0029  RETURN    return R0..R-1
; ---------- proto31 [GetMyLastRank] ----------
  ; fn ?  line 620-630 np=1 va=0 ms=7 code=26 consts=7 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]=0
  ;   K[4]=1
  ;   K[5]='IsMySelf'
  ;   K[6]='GetLastRank'
  ;   upvals: _ENV
  ;   locals: self(0-26), (for index)(12-25), (for limit)(12-25), (for step)(12-25), i(13-24)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADK     R1 = K3 0
  0007  RETURN    return R1..R0
  0008  LOADK     R1 = K4 1
  0009  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0010  LEN       R2 = len R0
  0011  LOADK     R3 = K4 1
  0012  FORPREP   forprep R1(sBx=11)   -> 24
  0013  GETTABLE  R5 = R0[K2('m_arrPlayerData')]
  0014  GETTABLE  R5 = R5[R4]
  0015  SELF      R6 = R5[K5('IsMySelf')] (self)
  0016  CALL      R5 = call(R5, 1 args, 1 rets)
  0017  TEST      if not R5 then   -> -131053
  0018  JMP       (jump)   -> 24
  0019  GETTABLE  R5 = R0[K2('m_arrPlayerData')]
  0020  GETTABLE  R5 = R5[R4]
  0021  SELF      R6 = R5[K6('GetLastRank')] (self)
  0022  TAILCALL  tailcall(R5, 0)
  0023  RETURN    return R5..R4
  0024  FORLOOP   forloop R1(sBx=-12)   -> 13
  0025  RETURN    return R0..R-1
; ---------- proto32 [CanClaimReward] ----------
  ; fn ?  line 633-652 np=1 va=0 ms=3 code=26 consts=5 upvals=0 protos=0
  ;   K[0]='_HasReceivedReward'
  ;   K[1]='_CheckClaimRewardCondition'
  ;   K[2]='IsExsitFail'
  ;   K[3]='TryCheckFailImmediately'
  ;   K[4]='IsFailed'
  ;   locals: self(0-26)
  0000  SELF      R2 = R0[K0('_HasReceivedReward')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('_CheckClaimRewardCondition')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  GETTABLE  R1 = R0[K2('IsExsitFail')]
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 23
  0015  SELF      R2 = R0[K3('TryCheckFailImmediately')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  SELF      R2 = R0[K4('IsFailed')] (self)
  0018  CALL      R1 = call(R1, 1 args, 1 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 23
  0021  LOADBOOL  R1 = false
  0022  RETURN    return R1..R0
  0023  LOADBOOL  R1 = true
  0024  RETURN    return R1..R0
  0025  RETURN    return R0..R-1
; ---------- proto33 [_CheckClaimRewardCondition] ----------
  ; fn ?  line 655-667 np=1 va=0 ms=4 code=15 consts=3 upvals=0 protos=0
  ;   K[0]='GetTargetScore'
  ;   K[1]=0
  ;   K[2]='GetMyScore'
  ;   locals: self(0-15), targetScore(2-15)
  0000  SELF      R2 = R0[K0('GetTargetScore')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LE        if R0 le K1(0)   -> -130299
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  SELF      R3 = R0[K2('GetMyScore')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  LT        if R0 lt R1   -> -130037
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R2 = false
  0011  RETURN    return R2..R1
  0012  LOADBOOL  R2 = true
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto34 [TryClaimReward] ----------
  ; fn ?  line 672-691 np=1 va=0 ms=10 code=52 consts=25 upvals=1 protos=0
  ;   K[0]='CanClaimReward'
  ;   K[1]='GetMyRank'
  ;   K[2]='GetCurrentRoundReward'
  ;   K[3]='_SetReceiveReward'
  ;   K[4]='UpdateScoreProgress'
  ;   K[5]='Table'
  ;   K[6]='IsEmpty'
  ;   K[7]='RewardApi'
  ;   K[8]='CryptRewards'
  ;   K[9]='AcquireRewardsLogic'
  ;   K[10]='EPropertySource'
  ;   K[11]='Give'
  ;   K[12]='m_activityDefinition'
  ;   K[13]='RewardBIType'
  ;   K[14]='ERewardScene'
  ;   K[15]='Other'
  ;   K[16]='EGameMode'
  ;   K[17]='Board'
  ;   K[18]='CacheItemType'
  ;   K[19]='Stack'
  ;   K[20]='BIRound'
  ;   K[21]='LogActivity'
  ;   K[22]='EBIType'
  ;   K[23]='ActivityRankUp'
  ;   K[24]='GetCurrentRound'
  ;   upvals: _ENV
  ;   locals: self(0-52), rank(8-52), rewards(11-52)
  0000  SELF      R2 = R0[K0('CanClaimReward')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('GetMyRank')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R0[K2('GetCurrentRoundReward')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABLE  R2 = R2[R1]
  0011  SELF      R4 = R0[K3('_SetReceiveReward')] (self)
  0012  CALL      R3 = call(R3, 0 args, 1 rets)
  0013  SELF      R4 = R0[K4('UpdateScoreProgress')] (self)
  0014  CALL      R3 = call(R3, 0 args, 1 rets)
  0015  GETTABUP  R3 = _ENV[K5('Table')]
  0016  GETTABLE  R3 = R3[K6('IsEmpty')]
  0017  MOVE      R4 = R0
  0018  CALL      R3 = call(R3, 1 args, 1 rets)
  0019  TEST      if not R3 then   -> -131050
  0020  JMP       (jump)   -> 39
  0021  GETTABUP  R3 = _ENV[K7('RewardApi')]
  0022  GETTABLE  R3 = R3[K8('CryptRewards')]
  0023  MOVE      R4 = R0
  0024  CALL      R3 = call(R3, 0 args, 1 rets)
  0025  GETTABUP  R3 = _ENV[K7('RewardApi')]
  0026  GETTABLE  R3 = R3[K9('AcquireRewardsLogic')]
  0027  MOVE      R4 = R0
  0028  GETTABUP  R5 = _ENV[K10('EPropertySource')]
  0029  GETTABLE  R5 = R5[K11('Give')]
  0030  GETTABLE  R6 = R0[K12('m_activityDefinition')]
  0031  GETTABLE  R6 = R6[K13('RewardBIType')]
  0032  GETTABUP  R7 = _ENV[K14('ERewardScene')]
  0033  GETTABLE  R7 = R7[K15('Other')]
  0034  GETTABUP  R8 = _ENV[K16('EGameMode')]
  0035  GETTABLE  R8 = R8[K17('Board')]
  0036  GETTABUP  R9 = _ENV[K18('CacheItemType')]
  0037  GETTABLE  R9 = R9[K19('Stack')]
  0038  CALL      R3 = call(R3, 0 args, 6 rets)
  0039  GETTABLE  R3 = R0[K20('BIRound')]
  0040  TEST      if not R3 then   -> -131030
  0041  JMP       (jump)   -> 48
  0042  SELF      R4 = R0[K21('LogActivity')] (self)
  0043  GETTABUP  R5 = _ENV[K22('EBIType')]
  0044  GETTABLE  R5 = R5[K23('ActivityRankUp')]
  0045  SELF      R7 = R0[K24('GetCurrentRound')] (self)
  0046  CALL      R6 = call(R6, -1 args, 1 rets)
  0047  CALL      R3 = call(R3, 0 args, -1 rets)
  0048  LOADBOOL  R3 = true
  0049  MOVE      R4 = R0
  0050  RETURN    return R3..R2
  0051  RETURN    return R0..R-1
; ---------- proto35 [GetAllPlayerData] ----------
  ; fn ?  line 694-696 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrPlayerData'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrPlayerData')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto36 [GetRoundCount] ----------
  ; fn ?  line 699-704 np=1 va=0 ms=2 code=14 consts=4 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='roundConfigs'
  ;   K[3]=0
  ;   locals: self(0-14)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_config')]
  0004  GETTABLE  R1 = R1[K2('roundConfigs')]
  0005  EQ        if R0 eq K1(nil)   -> -130296
  0006  JMP       (jump)   -> 9
  0007  LOADK     R1 = K3 0
  0008  RETURN    return R1..R0
  0009  GETTABLE  R1 = R0[K0('m_config')]
  0010  GETTABLE  R1 = R1[K2('roundConfigs')]
  0011  LEN       R1 = len R0
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
; ---------- proto37 [GetTargetScore] ----------
  ; fn ?  line 707-713 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
; ---------- proto38 [GetCurrentRoundForDisplay] ----------
  ; fn ?  line 717-723 np=1 va=0 ms=6 code=23 consts=8 upvals=1 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]=0
  ;   K[2]='IsFailed'
  ;   K[3]='_HasReceivedReward'
  ;   K[4]='math'
  ;   K[5]='min'
  ;   K[6]=1
  ;   K[7]='GetRoundCount'
  ;   upvals: _ENV
  ;   locals: self(0-23), round(2-23)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K0('GetCurrentRound')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  LE        if R1 le K1(0)   -> -129785
  0005  JMP       (jump)   -> 14
  0006  SELF      R3 = R0[K2('IsFailed')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 14
  0010  SELF      R3 = R0[K3('_HasReceivedReward')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  TEST      if not R2 then   -> -131058
  0013  JMP       (jump)   -> 21
  0014  GETTABUP  R2 = _ENV[K4('math')]
  0015  GETTABLE  R2 = R2[K5('min')]
  0016  ADD       R3 = K6(1) add R1
  0017  SELF      R5 = R0[K7('GetRoundCount')] (self)
  0018  CALL      R4 = call(R4, -1 args, 1 rets)
  0019  CALL      R2 = call(R2, 1 args, -1 rets)
  0020  MOVE      R1 = R0
  0021  RETURN    return R1..R0
  0022  RETURN    return R0..R-1
; ---------- proto39 [GetTargetScoreByRound] ----------
  ; fn ?  line 728-734 np=2 va=0 ms=4 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='roundConfigs'
  ;   K[2]=0
  ;   K[3]='target'
  ;   locals: self(0-10), round(0-10), roundConfig(3-10)
  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  LOADK     R3 = K2 0
  0006  RETURN    return R3..R2
  0007  GETTABLE  R3 = R2[K3('target')]
  0008  RETURN    return R3..R2
  0009  RETURN    return R0..R-1
; ---------- proto40 [_IsEndRound] ----------
  ; fn ?  line 736-740 np=1 va=0 ms=4 code=17 consts=4 upvals=0 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]='GetRoundCount'
  ;   K[2]='m_config'
  ;   K[3]='roundConfigs'
  ;   locals: self(0-17), round(2-17), roundCount(4-17)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetRoundCount')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R3 = R0[K2('m_config')]
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 15
  0007  GETTABLE  R3 = R0[K2('m_config')]
  0008  GETTABLE  R3 = R3[K3('roundConfigs')]
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 15
  0011  EQ        if R1 eq R2   -> -130545
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R3 = false
  0014  LOADBOOL  R3 = true
  0015  RETURN    return R3..R2
  0016  RETURN    return R0..R-1
; ---------- proto41 [GetMyScore] ----------
  ; fn ?  line 742-744 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='MyScore'
  ;   K[3]='score'
  ;   K[4]=0
  ;   upvals: DBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('MyScore')]
  0003  LOADK     R4 = K3 'score'
  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
; ---------- proto42 [GetMyTime] ----------
  ; fn ?  line 746-748 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='MyScore'
  ;   K[3]='time'
  ;   K[4]=0
  ;   upvals: DBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('MyScore')]
  0003  LOADK     R4 = K3 'time'
  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
; ---------- proto43 [_GetAllRoundRanks] ----------
  ; fn ?  line 751-761 np=1 va=0 ms=5 code=25 consts=8 upvals=3 protos=0
  ;   K[0]='m_mapAllRoundRanks'
  ;   K[1]='m_dbTable'
  ;   K[2]='GetValue'
  ;   K[3]='RoundRanks'
  ;   K[4]='Table'
  ;   K[5]='DeepCopy'
  ;   K[6]='json'
  ;   K[7]='decode'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-25), ranks(8-22)
  0000  GETTABLE  R1 = R0[K0('m_mapAllRoundRanks')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 22
  0003  GETTABLE  R1 = R0[K1('m_dbTable')]
  0004  SELF      R2 = R1[K2('GetValue')] (self)
  0005  GETTABUP  R3 = DBKey[K3('RoundRanks')]
  0006  GETUPVAL  R4 = DBKey
  0007  CALL      R1 = call(R1, 1 args, 3 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 13
  0010  NEWTABLE  R2 = {} (0 items)
  0011  SETTABLE  R0[K0('m_mapAllRoundRanks')] = R2
  0012  JMP       (jump)   -> 22
  0013  GETTABUP  R2 = _ENV[K4('Table')]
  0014  GETTABLE  R2 = R2[K5('DeepCopy')]
  0015  GETTABUP  R3 = _ENV[K6('json')]
  0016  GETTABLE  R3 = R3[K7('decode')]
  0017  MOVE      R4 = R0
  0018  CALL      R3 = call(R3, 1 args, 1 rets)
  0019  LOADBOOL  R4 = true
  0020  CALL      R2 = call(R2, 1 args, 2 rets)
  0021  SETTABLE  R0[K0('m_mapAllRoundRanks')] = R2
  0022  GETTABLE  R1 = R0[K0('m_mapAllRoundRanks')]
  0023  RETURN    return R1..R0
  0024  RETURN    return R0..R-1
; ---------- proto44 [GetRoundRanks] ----------
  ; fn ?  line 764-766 np=2 va=0 ms=5 code=8 consts=2 upvals=1 protos=0
  ;   K[0]='_GetAllRoundRanks'
  ;   K[1]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-8), round(0-8)
  0000  SELF      R3 = R0[K0('_GetAllRoundRanks')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABUP  R3 = _ENV[K1('tostring')]
  0003  MOVE      R4 = R0
  0004  CALL      R3 = call(R3, 1 args, 1 rets)
  0005  GETTABLE  R2 = R2[R3]
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto45 [_SaveRoundRank] ----------
  ; fn ?  line 768-772 np=3 va=0 ms=9 code=18 consts=8 upvals=3 protos=0
  ;   K[0]='m_mapAllRoundRanks'
  ;   K[1]='_GetAllRoundRanks'
  ;   K[2]='tostring'
  ;   K[3]='m_dbTable'
  ;   K[4]='Set'
  ;   K[5]='RoundRanks'
  ;   K[6]='json'
  ;   K[7]='encode'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-18), round(0-18), rank(0-18)
  0000  SELF      R4 = R0[K1('_GetAllRoundRanks')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  SETTABLE  R0[K0('m_mapAllRoundRanks')] = R3
  0003  GETTABLE  R3 = R0[K0('m_mapAllRoundRanks')]
  0004  GETTABUP  R4 = _ENV[K2('tostring')]
  0005  MOVE      R5 = R0
  0006  CALL      R4 = call(R4, 1 args, 1 rets)
  0007  SETTABLE  R3[R4] = R2
  0008  GETTABLE  R3 = R0[K3('m_dbTable')]
  0009  SELF      R4 = R3[K4('Set')] (self)
  0010  GETTABUP  R5 = DBKey[K5('RoundRanks')]
  0011  GETUPVAL  R6 = _ENV
  0012  GETTABUP  R7 = _ENV[K6('json')]
  0013  GETTABLE  R7 = R7[K7('encode')]
  0014  GETTABLE  R8 = R0[K0('m_mapAllRoundRanks')]
  0015  CALL      R7 = call(R7, -1 args, 1 rets)
  0016  CALL      R3 = call(R3, 0 args, -1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto46 [CanAddScore] ----------
  ; fn ?  line 774-786 np=1 va=0 ms=4 code=23 consts=6 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='IsInRace'
  ;   K[4]='GetMyScore'
  ;   K[5]='GetTargetScore'
  ;   upvals: _ENV
  ;   locals: self(0-23), myScore(14-23), targetScore(16-23)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 10
  0006  SELF      R2 = R0[K3('IsInRace')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  SELF      R2 = R0[K4('GetMyScore')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  SELF      R3 = R0[K5('GetTargetScore')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  LE        if R0 le R1   -> -130029
  0017  JMP       (jump)   -> 20
  0018  LOADBOOL  R3 = false
  0019  RETURN    return R3..R2
  0020  LOADBOOL  R3 = true
  0021  RETURN    return R3..R2
  0022  RETURN    return R0..R-1
; ---------- proto47 [GetScoreRatio] ----------
  ; fn ?  line 789-791 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]=1
  ;   locals: self(0-3)
  0000  LOADK     R1 = K0 1
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto48 [_AddMyScore] ----------
  ; fn ?  line 793-834 np=3 va=0 ms=19 code=94 consts=45 upvals=2 protos=0
  ;   K[0]='CanAddScore'
  ;   K[1]='GetMyScore'
  ;   K[2]='GetTargetScore'
  ;   K[3]='math'
  ;   K[4]='min'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='_GetEntryTime'
  ;   K[9]='MyScore'
  ;   K[10]='time'
  ;   K[11]='score'
  ;   K[12]='m_dbTable'
  ;   K[13]='BatchSet'
  ;   K[14]='_SaveRoundRank'
  ;   K[15]='GetCurrentRound'
  ;   K[16]='GetMyRank'
  ;   K[17]='_LogRaceCompletedBI'
  ;   K[18]='EventDispatcher'
  ;   K[19]='DispatchEvent'
  ;   K[20]='EEventType'
  ;   K[21]='RewardValidChanged'
  ;   K[22]='ActivityRaceCompleted'
  ;   K[23]='UpdateScoreProgress'
  ;   K[24]='round'
  ;   K[25]='type'
  ;   K[26]='starttime'
  ;   K[27]='LogActivity'
  ;   K[28]='EBIType'
  ;   K[29]='ActivityAddScore'
  ;   K[30]='BIManager'
  ;   K[31]='TableToString'
  ;   K[32]='GameConfig'
  ;   K[33]='IsTestMode'
  ;   K[34]='Log'
  ;   K[35]='Info'
  ;   K[36]='['
  ;   K[37]='m_type'
  ;   K[38]=']'
  ;   K[39]='玩家获取积分，分数: '
  ;   K[40]='; 时间:'
  ;   K[41]='TimeUtil'
  ;   K[42]='ToDate'
  ;   K[43]='ETimeFormat'
  ;   K[44]='UTCYMDHMS'
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-94), score(0-94), fromStr(0-94), myScore(7-94), targetScore(9-94), serTime(19-94), entryTime(21-94), data(28-94), tb(63-94)
  0000  SELF      R4 = R0[K0('CanAddScore')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  TEST      if not R3 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R4 = R0[K1('GetMyScore')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SELF      R5 = R0[K2('GetTargetScore')] (self)
  0008  CALL      R4 = call(R4, 1 args, 1 rets)
  0009  GETTABUP  R5 = _ENV[K3('math')]
  0010  GETTABLE  R5 = R5[K4('min')]
  0011  MOVE      R6 = R0
  0012  ADD       R7 = R1 add R3
  0013  CALL      R5 = call(R5, 1 args, 2 rets)
  0014  MOVE      R3 = R0
  0015  GETTABUP  R5 = _ENV[K5('GM')]
  0016  GETTABLE  R5 = R5[K6('GameModel')]
  0017  SELF      R6 = R5[K7('GetServerTime')] (self)
  0018  CALL      R5 = call(R5, 1 args, 1 rets)
  0019  SELF      R7 = R0[K8('_GetEntryTime')] (self)
  0020  CALL      R6 = call(R6, 1 args, 1 rets)
  0021  NEWTABLE  R7 = {} (0 items)
  0022  GETTABUP  R8 = DBKey[K9('MyScore')]
  0023  NEWTABLE  R9 = {} (0 items)
  0024  SUB       R10 = R6 sub R5
  0025  SETTABLE  R9[K10('time')] = R10
  0026  SETTABLE  R9[K11('score')] = R3
  0027  SETTABLE  R7[R8] = R9
  0028  GETTABLE  R8 = R0[K12('m_dbTable')]
  0029  SELF      R9 = R8[K13('BatchSet')] (self)
  0030  MOVE      R10 = R0
  0031  CALL      R8 = call(R8, 0 args, 2 rets)
  0032  LE        if R0 le R3   -> -128987
  0033  JMP       (jump)   -> 53
  0034  SELF      R9 = R0[K14('_SaveRoundRank')] (self)
  0035  SELF      R11 = R0[K15('GetCurrentRound')] (self)
  0036  CALL      R10 = call(R10, 1 args, 1 rets)
  0037  SELF      R12 = R0[K16('GetMyRank')] (self)
  0038  LOADBOOL  R13 = true
  0039  CALL      R11 = call(R11, -1 args, 2 rets)
  0040  CALL      R8 = call(R8, 0 args, -1 rets)
  0041  SELF      R9 = R0[K17('_LogRaceCompletedBI')] (self)
  0042  CALL      R8 = call(R8, 0 args, 1 rets)
  0043  GETTABUP  R8 = _ENV[K18('EventDispatcher')]
  0044  GETTABLE  R8 = R8[K19('DispatchEvent')]
  0045  GETTABUP  R9 = _ENV[K20('EEventType')]
  0046  GETTABLE  R9 = R9[K21('RewardValidChanged')]
  0047  CALL      R8 = call(R8, 0 args, 1 rets)
  0048  GETTABUP  R8 = _ENV[K18('EventDispatcher')]
  0049  GETTABLE  R8 = R8[K19('DispatchEvent')]
  0050  GETTABUP  R9 = _ENV[K20('EEventType')]
  0051  GETTABLE  R9 = R9[K22('ActivityRaceCompleted')]
  0052  CALL      R8 = call(R8, 0 args, 1 rets)
  0053  SELF      R9 = R0[K23('UpdateScoreProgress')] (self)
  0054  LOADBOOL  R10 = true
  0055  CALL      R8 = call(R8, 0 args, 2 rets)
  0056  NEWTABLE  R8 = {} (0 items)
  0057  SETTABLE  R8[K11('score')] = R1
  0058  SELF      R10 = R0[K15('GetCurrentRound')] (self)
  0059  CALL      R9 = call(R9, 1 args, 1 rets)
  0060  SETTABLE  R8[K24('round')] = R9
  0061  SETTABLE  R8[K25('type')] = R2
  0062  SETTABLE  R8[K26('starttime')] = R6
  0063  SELF      R10 = R0[K27('LogActivity')] (self)
  0064  GETTABUP  R11 = _ENV[K28('EBIType')]
  0065  GETTABLE  R11 = R11[K29('ActivityAddScore')]
  0066  GETTABUP  R12 = _ENV[K5('GM')]
  0067  GETTABLE  R12 = R12[K30('BIManager')]
  0068  SELF      R13 = R12[K31('TableToString')] (self)
  0069  MOVE      R14 = R0
  0070  CALL      R12 = call(R12, -1 args, 2 rets)
  0071  CALL      R9 = call(R9, 0 args, -1 rets)
  0072  GETTABUP  R9 = _ENV[K32('GameConfig')]
  0073  GETTABLE  R9 = R9[K33('IsTestMode')]
  0074  CALL      R9 = call(R9, 1 args, 0 rets)
  0075  TEST      if not R9 then   -> -130995
  0076  JMP       (jump)   -> 93
  0077  GETTABUP  R9 = _ENV[K34('Log')]
  0078  GETTABLE  R9 = R9[K35('Info')]
  0079  LOADK     R10 = K36 '['
  0080  GETTABLE  R11 = R0[K37('m_type')]
  0081  LOADK     R12 = K38 ']'
  0082  LOADK     R13 = K39 '玩家获取积分，分数: '
  0083  MOVE      R14 = R0
  0084  LOADK     R15 = K40 '; 时间:'
  0085  GETTABUP  R16 = _ENV[K41('TimeUtil')]
  0086  GETTABLE  R16 = R16[K42('ToDate')]
  0087  MOVE      R17 = R0
  0088  GETTABUP  R18 = _ENV[K43('ETimeFormat')]
  0089  GETTABLE  R18 = R18[K44('UTCYMDHMS')]
  0090  CALL      R16 = call(R16, 1 args, 2 rets)
  0091  CONCAT    R10 = concat(R10..R10)
  0092  CALL      R9 = call(R9, 0 args, 1 rets)
  0093  RETURN    return R0..R-1
; ---------- proto49 [GetCurrentRound] ----------
  ; fn ?  line 837-839 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='Round'
  ;   K[3]=0
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('Round')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto50 [SetCurrentRound] ----------
  ; fn ?  line 841-843 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='Round'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), round(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('Round')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto51 [GetCurrentRoundInRoman] ----------
  ; fn ?  line 846-849 np=1 va=0 ms=4 code=7 consts=2 upvals=1 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]='GetNumberInRoman'
  ;   upvals: _ENV
  ;   locals: self(0-7), round(2-7)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('GetNumberInRoman')]
  0003  MOVE      R3 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto52 [GetNextRoundInRoman] ----------
  ; fn ?  line 852-855 np=1 va=0 ms=4 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='GetCurrentRound'
  ;   K[1]=1
  ;   K[2]='GetNumberInRoman'
  ;   upvals: _ENV
  ;   locals: self(0-8), round(3-8)
  0000  SELF      R2 = R0[K0('GetCurrentRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  ADD       R1 = K1(1) add R1
  0003  GETTABUP  R2 = _ENV[K2('GetNumberInRoman')]
  0004  MOVE      R3 = R0
  0005  TAILCALL  tailcall(R2, 0)
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto53 [_SetEntryTime] ----------
  ; fn ?  line 857-859 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='EntryTime'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), time(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('EntryTime')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto54 [_GetEntryTime] ----------
  ; fn ?  line 861-863 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='EntryTime'
  ;   K[3]=0
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('EntryTime')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto55 [_HasReceivedReward] ----------
  ; fn ?  line 865-868 np=1 va=0 ms=5 code=14 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='ReceiveRewardState'
  ;   K[3]=0
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-14), state(8-14)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ReceiveRewardState')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K3 0
  0008  EQ        if R0 eq K3(0)   -> -130291
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R2 = false
  0011  LOADBOOL  R2 = true
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
; ---------- proto56 [_SetReceiveReward] ----------
  ; fn ?  line 870-872 np=1 va=0 ms=6 code=7 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ReceiveRewardState'
  ;   K[3]=1
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ReceiveRewardState')]
  0003  GETUPVAL  R4 = DBKey
  0004  LOADK     R5 = K3 1
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto57 [ResetCurrentRound] ----------
  ; fn ?  line 875-878 np=1 va=0 ms=6 code=9 consts=5 upvals=2 protos=0
  ;   K[0]='_SetReceiveReward'
  ;   K[1]='m_dbTable'
  ;   K[2]='Set'
  ;   K[3]='Round'
  ;   K[4]=0
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('_SetReceiveReward')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_dbTable')]
  0003  SELF      R2 = R1[K2('Set')] (self)
  0004  GETTABUP  R3 = DBKey[K3('Round')]
  0005  GETUPVAL  R4 = DBKey
  0006  LOADK     R5 = K4 0
  0007  CALL      R1 = call(R1, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto58 [_DispatchFailEvent] ----------
  ; fn ?  line 880-882 np=1 va=0 ms=4 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='FailEvent'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  SELF      R3 = R0[K2('GetActivityDefinition')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R2 = R2[K3('FailEvent')]
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto59 [_SetCurrentRoundFail] ----------
  ; fn ?  line 885-896 np=1 va=0 ms=6 code=41 consts=23 upvals=1 protos=0
  ;   K[0]='IsExsitFail'
  ;   K[1]='_SetReceiveReward'
  ;   K[2]='SetCurrentRound'
  ;   K[3]='math'
  ;   K[4]='max'
  ;   K[5]='GetCurrentRound'
  ;   K[6]=1
  ;   K[7]=0
  ;   K[8]='SetFailed'
  ;   K[9]='SetNeedPopFailWindow'
  ;   K[10]='_DispatchFailEvent'
  ;   K[11]='EventDispatcher'
  ;   K[12]='DispatchEvent'
  ;   K[13]='EEventType'
  ;   K[14]='RewardValidChanged'
  ;   K[15]='GameConfig'
  ;   K[16]='IsTestMode'
  ;   K[17]='Log'
  ;   K[18]='Error'
  ;   K[19]='['
  ;   K[20]='tostring'
  ;   K[21]='m_type'
  ;   K[22]=']该活动不存在失败，但执行了_SetCurrentRoundFail()！'
  ;   upvals: _ENV
  ;   locals: self(0-41)
  0000  GETTABLE  R1 = R0[K0('IsExsitFail')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 26
  0003  SELF      R2 = R0[K1('_SetReceiveReward')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  SELF      R2 = R0[K2('SetCurrentRound')] (self)
  0006  GETTABUP  R3 = _ENV[K3('math')]
  0007  GETTABLE  R3 = R3[K4('max')]
  0008  SELF      R5 = R0[K5('GetCurrentRound')] (self)
  0009  CALL      R4 = call(R4, 1 args, 1 rets)
  0010  SUB       R4 = K6(1) sub R4
  0011  LOADK     R5 = K7 0
  0012  CALL      R3 = call(R3, -1 args, 2 rets)
  0013  CALL      R1 = call(R1, 0 args, -1 rets)
  0014  SELF      R2 = R0[K8('SetFailed')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  SELF      R2 = R0[K9('SetNeedPopFailWindow')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  SELF      R2 = R0[K10('_DispatchFailEvent')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  GETTABUP  R1 = _ENV[K11('EventDispatcher')]
  0021  GETTABLE  R1 = R1[K12('DispatchEvent')]
  0022  GETTABUP  R2 = _ENV[K13('EEventType')]
  0023  GETTABLE  R2 = R2[K14('RewardValidChanged')]
  0024  CALL      R1 = call(R1, 0 args, 1 rets)
  0025  JMP       (jump)   -> 40
  0026  GETTABUP  R1 = _ENV[K15('GameConfig')]
  0027  GETTABLE  R1 = R1[K16('IsTestMode')]
  0028  CALL      R1 = call(R1, 1 args, 0 rets)
  0029  TEST      if not R1 then   -> -131041
  0030  JMP       (jump)   -> 40
  0031  GETTABUP  R1 = _ENV[K17('Log')]
  0032  GETTABLE  R1 = R1[K18('Error')]
  0033  LOADK     R2 = K19 '['
  0034  GETTABUP  R3 = _ENV[K20('tostring')]
  0035  GETTABLE  R4 = R0[K21('m_type')]
  0036  CALL      R3 = call(R3, 1 args, 1 rets)
  0037  LOADK     R4 = K22 ']该活动不存在失败，但执行了_SetCurrentRoundFail()！'
  0038  CONCAT    R2 = concat(R2..R2)
  0039  CALL      R1 = call(R1, 0 args, 1 rets)
  0040  RETURN    return R0..R-1
; ---------- proto60 [_SaveOppoPlayer] ----------
  ; fn ?  line 899-907 np=1 va=0 ms=10 code=30 consts=12 upvals=3 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrPlayerData'
  ;   K[2]='GetUserId'
  ;   K[3]='GM'
  ;   K[4]='UserModel'
  ;   K[5]=1
  ;   K[6]='GetData'
  ;   K[7]='m_dbTable'
  ;   K[8]='Set'
  ;   K[9]='PlayerDatas'
  ;   K[10]='json'
  ;   K[11]='encode'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-30), arr(1-30), (for generator)(4-20), (for state)(4-20), (for control)(4-20), index(5-18), value(5-18)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K0('ipairs')]
  0002  GETTABLE  R3 = R0[K1('m_arrPlayerData')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 18
  0005  SELF      R8 = R6[K2('GetUserId')] (self)
  0006  CALL      R7 = call(R7, 1 args, 1 rets)
  0007  GETTABUP  R8 = _ENV[K3('GM')]
  0008  GETTABLE  R8 = R8[K4('UserModel')]
  0009  SELF      R9 = R8[K2('GetUserId')] (self)
  0010  CALL      R8 = call(R8, 1 args, 1 rets)
  0011  EQ        if R1 eq R8   -> -127467
  0012  JMP       (jump)   -> 18
  0013  LEN       R7 = len R0
  0014  ADD       R7 = K5(1) add R7
  0015  SELF      R9 = R6[K6('GetData')] (self)
  0016  CALL      R8 = call(R8, 1 args, 1 rets)
  0017  SETTABLE  R1[R7] = R8
  0018  TFORCALL  tforcall R2
  0019  TFORLOOP  tforloop R4(sBx=-15)   -> 5
  0020  GETTABLE  R2 = R0[K7('m_dbTable')]
  0021  SELF      R3 = R2[K8('Set')] (self)
  0022  GETTABUP  R4 = DBKey[K9('PlayerDatas')]
  0023  GETUPVAL  R5 = _ENV
  0024  GETTABUP  R6 = _ENV[K10('json')]
  0025  GETTABLE  R6 = R6[K11('encode')]
  0026  MOVE      R7 = R0
  0027  CALL      R6 = call(R6, -1 args, 1 rets)
  0028  CALL      R2 = call(R2, 0 args, -1 rets)
  0029  RETURN    return R0..R-1
; ---------- proto61 [_DoSettle] ----------
  ; fn ?  line 909-913 np=1 va=0 ms=6 code=15 consts=10 upvals=2 protos=0
  ;   K[0]='Log'
  ;   K[1]='Assert'
  ;   K[2]='_IsSettled'
  ;   K[3]='should only settle once.'
  ;   K[4]='m_dbTable'
  ;   K[5]='Set'
  ;   K[6]='Settled'
  ;   K[7]='value'
  ;   K[8]='m_bSettled'
  ;   K[9]=true
  ;   upvals: _ENV, DBKey
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Assert')]
  0002  SELF      R3 = R0[K2('_IsSettled')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  NOT       R2 = not R0
  0005  LOADK     R3 = K3 'should only settle once.'
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  GETTABLE  R1 = R0[K4('m_dbTable')]
  0008  SELF      R2 = R1[K5('Set')] (self)
  0009  GETTABUP  R3 = DBKey[K6('Settled')]
  0010  LOADK     R4 = K7 'value'
  0011  LOADBOOL  R5 = true
  0012  CALL      R1 = call(R1, 0 args, 4 rets)
  0013  SETTABLE  R0[K8('m_bSettled')] = K9(true)
  0014  RETURN    return R0..R-1
; ---------- proto62 [_IsSettled] ----------
  ; fn ?  line 915-920 np=1 va=0 ms=5 code=15 consts=6 upvals=1 protos=0
  ;   K[0]='m_bSettled'
  ;   K[1]=nil
  ;   K[2]='m_dbTable'
  ;   K[3]='GetValue'
  ;   K[4]='Settled'
  ;   K[5]='value'
  ;   upvals: DBKey
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_bSettled')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K2('m_dbTable')]
  0004  SELF      R2 = R1[K3('GetValue')] (self)
  0005  GETTABUP  R3 = DBKey[K4('Settled')]
  0006  LOADK     R4 = K5 'value'
  0007  CALL      R1 = call(R1, 1 args, 3 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R1 = false
  0011  SETTABLE  R0[K0('m_bSettled')] = R1
  0012  GETTABLE  R1 = R0[K0('m_bSettled')]
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto63 [IsMySelf] ----------
  ; fn ?  line 922-924 np=2 va=0 ms=3 code=8 consts=2 upvals=1 protos=0
  ;   K[0]='BaseRaceActivityModel'
  ;   K[1]='MY_USER_ID'
  ;   upvals: _ENV
  ;   locals: self(0-8), userId(0-8)
  0000  GETTABUP  R2 = _ENV[K0('BaseRaceActivityModel')]
  0001  GETTABLE  R2 = R2[K1('MY_USER_ID')]
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R2 = false
  0005  LOADBOOL  R2 = true
  0006  RETURN    return R2..R1
  0007  RETURN    return R0..R-1
; ---------- proto64 [_AddMySelf] ----------
  ; fn ?  line 926-930 np=1 va=0 ms=4 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='m_arrPlayerData'
  ;   K[1]='_CreateMySelfData'
  ;   K[2]=1
  ;   locals: self(0-13), data(7-13)
  0000  GETTABLE  R1 = R0[K0('m_arrPlayerData')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  NEWTABLE  R1 = {} (0 items)
  0004  SETTABLE  R0[K0('m_arrPlayerData')] = R1
  0005  SELF      R2 = R0[K1('_CreateMySelfData')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABLE  R2 = R0[K0('m_arrPlayerData')]
  0008  GETTABLE  R3 = R0[K0('m_arrPlayerData')]
  0009  LEN       R3 = len R0
  0010  ADD       R3 = K2(1) add R3
  0011  SETTABLE  R2[R3] = R1
  0012  RETURN    return R0..R-1
; ---------- proto65 [_CreateMySelfData] ----------
  ; fn ?  line 932-945 np=1 va=0 ms=9 code=30 consts=17 upvals=1 protos=0
  ;   K[0]='CreatePlayerData'
  ;   K[1]='id'
  ;   K[2]='BaseRaceActivityModel'
  ;   K[3]='MY_USER_ID'
  ;   K[4]='name'
  ;   K[5]='GM'
  ;   K[6]='GameTextModel'
  ;   K[7]='GetText'
  ;   K[8]='coin_race_main_you'
  ;   K[9]='icon'
  ;   K[10]='UserProfileModel'
  ;   K[11]='GetAvatar'
  ;   K[12]='type'
  ;   K[13]=0
  ;   K[14]='GetTargetScore'
  ;   K[15]='GetLastScore'
  ;   K[16]='GetLastRank'
  ;   upvals: _ENV
  ;   locals: self(0-30), data(28-30)
  0000  SELF      R2 = R0[K0('CreatePlayerData')] (self)
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K2('BaseRaceActivityModel')]
  0003  GETTABLE  R4 = R4[K3('MY_USER_ID')]
  0004  SETTABLE  R3[K1('id')] = R4
  0005  GETTABUP  R4 = _ENV[K5('GM')]
  0006  GETTABLE  R4 = R4[K6('GameTextModel')]
  0007  SELF      R5 = R4[K7('GetText')] (self)
  0008  LOADK     R6 = K8 'coin_race_main_you'
  0009  CALL      R4 = call(R4, 1 args, 2 rets)
  0010  SETTABLE  R3[K4('name')] = R4
  0011  GETTABUP  R4 = _ENV[K5('GM')]
  0012  GETTABLE  R4 = R4[K10('UserProfileModel')]
  0013  SELF      R5 = R4[K11('GetAvatar')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  SETTABLE  R3[K9('icon')] = R4
  0016  SETTABLE  R3[K12('type')] = K13(0)
  0017  SELF      R5 = R0[K14('GetTargetScore')] (self)
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  SELF      R6 = R0[K15('GetLastScore')] (self)
  0020  GETTABUP  R7 = _ENV[K2('BaseRaceActivityModel')]
  0021  GETTABLE  R7 = R7[K3('MY_USER_ID')]
  0022  CALL      R5 = call(R5, 1 args, 2 rets)
  0023  SELF      R7 = R0[K16('GetLastRank')] (self)
  0024  GETTABUP  R8 = _ENV[K2('BaseRaceActivityModel')]
  0025  GETTABLE  R8 = R8[K3('MY_USER_ID')]
  0026  CALL      R6 = call(R6, -1 args, 2 rets)
  0027  CALL      R1 = call(R1, 1 args, -1 rets)
  0028  RETURN    return R1..R0
  0029  RETURN    return R0..R-1
; ---------- proto66 [GetGapTime] ----------
  ; fn ?  line 948-951 np=1 va=0 ms=4 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='_GetEntryTime'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   upvals: _ENV
  ;   locals: self(0-9), entryTime(2-9)
  0000  SELF      R2 = R0[K0('_GetEntryTime')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('GM')]
  0003  GETTABLE  R2 = R2[K2('GameModel')]
  0004  SELF      R3 = R2[K3('GetServerTime')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  SUB       R2 = R1 sub R2
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto67 [_SaveLastScore] ----------
  ; fn ?  line 953-966 np=1 va=0 ms=10 code=38 consts=16 upvals=3 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]='_RemoveLastScore'
  ;   K[4]='round'
  ;   K[5]='GetCurrentRound'
  ;   K[6]='ipairs'
  ;   K[7]='tostring'
  ;   K[8]='GetUserId'
  ;   K[9]='lastScore'
  ;   K[10]=0
  ;   K[11]='m_dbTable'
  ;   K[12]='Set'
  ;   K[13]='LastScore'
  ;   K[14]='json'
  ;   K[15]='encode'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-38), saveTb(10-38), (for generator)(16-28), (for state)(16-28), (for control)(16-28), idx(17-26), value(17-26)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K3('_RemoveLastScore')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
  0009  NEWTABLE  R1 = {} (0 items)
  0010  SELF      R3 = R0[K5('GetCurrentRound')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  SETTABLE  R1[K4('round')] = R2
  0013  GETTABUP  R2 = _ENV[K6('ipairs')]
  0014  GETTABLE  R3 = R0[K2('m_arrPlayerData')]
  0015  CALL      R2 = call(R2, 3 args, 1 rets)
  0016  JMP       (jump)   -> 26
  0017  GETTABUP  R7 = _ENV[K7('tostring')]
  0018  SELF      R9 = R6[K8('GetUserId')] (self)
  0019  CALL      R8 = call(R8, -1 args, 1 rets)
  0020  CALL      R7 = call(R7, 1 args, -1 rets)
  0021  GETTABLE  R8 = R6[K9('lastScore')]
  0022  TEST      if not R8 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  LOADK     R8 = K10 0
  0025  SETTABLE  R1[R7] = R8
  0026  TFORCALL  tforcall R2
  0027  TFORLOOP  tforloop R4(sBx=-11)   -> 17
  0028  GETTABLE  R2 = R0[K11('m_dbTable')]
  0029  SELF      R3 = R2[K12('Set')] (self)
  0030  GETTABUP  R4 = DBKey[K13('LastScore')]
  0031  GETUPVAL  R5 = _ENV
  0032  GETTABUP  R6 = _ENV[K14('json')]
  0033  GETTABLE  R6 = R6[K15('encode')]
  0034  MOVE      R7 = R0
  0035  CALL      R6 = call(R6, -1 args, 1 rets)
  0036  CALL      R2 = call(R2, 0 args, -1 rets)
  0037  RETURN    return R0..R-1
; ---------- proto68 [GetLastScore] ----------
  ; fn ?  line 970-983 np=2 va=0 ms=7 code=35 consts=12 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastScore'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]=0
  ;   K[6]='json'
  ;   K[7]='decode'
  ;   K[8]='round'
  ;   K[9]='GetCurrentRound'
  ;   K[10]='_SaveLastScore'
  ;   K[11]='tostring'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-35), userId(0-35), str(5-35), lastScoreMap(17-35)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  GETTABUP  R4 = DBKey[K2('LastScore')]
  0003  GETUPVAL  R5 = DBKey
  0004  CALL      R2 = call(R2, 1 args, 3 rets)
  0005  GETTABUP  R3 = _ENV[K3('StringUtil')]
  0006  GETTABLE  R3 = R3[K4('IsNilOrEmpty')]
  0007  MOVE      R4 = R0
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 13
  0011  LOADK     R3 = K5 0
  0012  RETURN    return R3..R2
  0013  GETTABUP  R3 = _ENV[K6('json')]
  0014  GETTABLE  R3 = R3[K7('decode')]
  0015  MOVE      R4 = R0
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  GETTABLE  R4 = R3[K8('round')]
  0018  SELF      R6 = R0[K9('GetCurrentRound')] (self)
  0019  CALL      R5 = call(R5, 1 args, 1 rets)
  0020  EQ        if R1 eq R5   -> -128997
  0021  JMP       (jump)   -> 26
  0022  SELF      R5 = R0[K10('_SaveLastScore')] (self)
  0023  CALL      R4 = call(R4, 0 args, 1 rets)
  0024  LOADK     R4 = K5 0
  0025  RETURN    return R4..R3
  0026  GETTABUP  R4 = _ENV[K11('tostring')]
  0027  MOVE      R5 = R0
  0028  CALL      R4 = call(R4, 1 args, 1 rets)
  0029  GETTABLE  R4 = R3[R4]
  0030  TEST      if not R4 then   -> -131039
  0031  JMP       (jump)   -> 33
  0032  LOADK     R4 = K5 0
  0033  RETURN    return R4..R3
  0034  RETURN    return R0..R-1
; ---------- proto69 [_RemoveLastScore] ----------
  ; fn ?  line 986-988 np=1 va=0 ms=5 code=6 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   K[2]='LastScore'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Remove')] (self)
  0002  GETTABUP  R3 = DBKey[K2('LastScore')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto70 [GetLastRank] ----------
  ; fn ?  line 992-1005 np=2 va=0 ms=7 code=30 consts=11 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastRank'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]='json'
  ;   K[6]='decode'
  ;   K[7]='round'
  ;   K[8]='GetCurrentRound'
  ;   K[9]='_SaveLastRank'
  ;   K[10]='tostring'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-30), userId(0-30), str(5-30), lastScoreMap(16-30)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('GetValue')] (self)
  0002  GETTABUP  R4 = DBKey[K2('LastRank')]
  0003  GETUPVAL  R5 = DBKey
  0004  CALL      R2 = call(R2, 1 args, 3 rets)
  0005  GETTABUP  R3 = _ENV[K3('StringUtil')]
  0006  GETTABLE  R3 = R3[K4('IsNilOrEmpty')]
  0007  MOVE      R4 = R0
  0008  CALL      R3 = call(R3, 1 args, 1 rets)
  0009  TEST      if not R3 then   -> -131061
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R3 = _ENV[K5('json')]
  0013  GETTABLE  R3 = R3[K6('decode')]
  0014  MOVE      R4 = R0
  0015  CALL      R3 = call(R3, 1 args, 1 rets)
  0016  GETTABLE  R4 = R3[K7('round')]
  0017  SELF      R6 = R0[K8('GetCurrentRound')] (self)
  0018  CALL      R5 = call(R5, 1 args, 1 rets)
  0019  EQ        if R1 eq R5   -> -128998
  0020  JMP       (jump)   -> 24
  0021  SELF      R5 = R0[K9('_SaveLastRank')] (self)
  0022  CALL      R4 = call(R4, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
  0024  GETTABUP  R4 = _ENV[K10('tostring')]
  0025  MOVE      R5 = R0
  0026  CALL      R4 = call(R4, 1 args, 1 rets)
  0027  GETTABLE  R4 = R3[R4]
  0028  RETURN    return R4..R3
  0029  RETURN    return R0..R-1
; ---------- proto71 [_SaveLastRank] ----------
  ; fn ?  line 1007-1020 np=1 va=0 ms=10 code=36 consts=15 upvals=3 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrPlayerData'
  ;   K[3]='_RemoveLastRank'
  ;   K[4]='round'
  ;   K[5]='GetCurrentRound'
  ;   K[6]='ipairs'
  ;   K[7]='tostring'
  ;   K[8]='GetUserId'
  ;   K[9]='GetLastRank'
  ;   K[10]='m_dbTable'
  ;   K[11]='Set'
  ;   K[12]='LastRank'
  ;   K[13]='json'
  ;   K[14]='encode'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-36), saveTb(10-36), (for generator)(16-26), (for state)(16-26), (for control)(16-26), idx(17-24), value(17-24)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrPlayerData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K3('_RemoveLastRank')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
  0009  NEWTABLE  R1 = {} (0 items)
  0010  SELF      R3 = R0[K5('GetCurrentRound')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  SETTABLE  R1[K4('round')] = R2
  0013  GETTABUP  R2 = _ENV[K6('ipairs')]
  0014  GETTABLE  R3 = R0[K2('m_arrPlayerData')]
  0015  CALL      R2 = call(R2, 3 args, 1 rets)
  0016  JMP       (jump)   -> 24
  0017  GETTABUP  R7 = _ENV[K7('tostring')]
  0018  SELF      R9 = R6[K8('GetUserId')] (self)
  0019  CALL      R8 = call(R8, -1 args, 1 rets)
  0020  CALL      R7 = call(R7, 1 args, -1 rets)
  0021  SELF      R9 = R6[K9('GetLastRank')] (self)
  0022  CALL      R8 = call(R8, 1 args, 1 rets)
  0023  SETTABLE  R1[R7] = R8
  0024  TFORCALL  tforcall R2
  0025  TFORLOOP  tforloop R4(sBx=-9)   -> 17
  0026  GETTABLE  R2 = R0[K10('m_dbTable')]
  0027  SELF      R3 = R2[K11('Set')] (self)
  0028  GETTABUP  R4 = DBKey[K12('LastRank')]
  0029  GETUPVAL  R5 = _ENV
  0030  GETTABUP  R6 = _ENV[K13('json')]
  0031  GETTABLE  R6 = R6[K14('encode')]
  0032  MOVE      R7 = R0
  0033  CALL      R6 = call(R6, -1 args, 1 rets)
  0034  CALL      R2 = call(R2, 0 args, -1 rets)
  0035  RETURN    return R0..R-1
; ---------- proto72 [_RemoveLastRank] ----------
  ; fn ?  line 1022-1024 np=1 va=0 ms=5 code=6 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   K[2]='LastRank'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Remove')] (self)
  0002  GETTABUP  R3 = DBKey[K2('LastRank')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto73 [IsFailed] ----------
  ; fn ?  line 1027-1029 np=1 va=0 ms=5 code=12 consts=3 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetInNumber'
  ;   K[2]='Failed'
  ;   upvals: DBKey, DBColumnValue, TRUE_VALUE
  ;   locals: self(0-12)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetInNumber')] (self)
  0002  GETTABUP  R3 = DBKey[K2('Failed')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  GETUPVAL  R2 = DBKey
  0006  EQ        if R1 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto74 [SetFailed] ----------
  ; fn ?  line 1032-1034 np=1 va=0 ms=6 code=7 consts=3 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='Failed'
  ;   upvals: DBKey, DBColumnValue, TRUE_VALUE
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('Failed')]
  0003  GETUPVAL  R4 = DBKey
  0004  GETUPVAL  R5 = DBKey
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto75 [RemoveFailed] ----------
  ; fn ?  line 1037-1039 np=1 va=0 ms=5 code=6 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   K[2]='Failed'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Remove')] (self)
  0002  GETTABUP  R3 = DBKey[K2('Failed')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto76 [NeedPopFailWindow] ----------
  ; fn ?  line 1042-1044 np=1 va=0 ms=5 code=12 consts=3 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetInNumber'
  ;   K[2]='NeedPopFailWindow'
  ;   upvals: DBKey, DBColumnValue, TRUE_VALUE
  ;   locals: self(0-12)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetInNumber')] (self)
  0002  GETTABUP  R3 = DBKey[K2('NeedPopFailWindow')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  GETUPVAL  R2 = DBKey
  0006  EQ        if R1 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  LOADBOOL  R1 = false
  0009  LOADBOOL  R1 = true
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto77 [SetNeedPopFailWindow] ----------
  ; fn ?  line 1047-1049 np=1 va=0 ms=6 code=7 consts=3 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='NeedPopFailWindow'
  ;   upvals: DBKey, DBColumnValue, TRUE_VALUE
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('NeedPopFailWindow')]
  0003  GETUPVAL  R4 = DBKey
  0004  GETUPVAL  R5 = DBKey
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto78 [RemoveNeedPopFailWindow] ----------
  ; fn ?  line 1052-1054 np=1 va=0 ms=5 code=6 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Remove'
  ;   K[2]='NeedPopFailWindow'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Remove')] (self)
  0002  GETTABUP  R3 = DBKey[K2('NeedPopFailWindow')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto79 [CanSkipEndWindowOnLongAway] ----------
  ; fn ?  line 1058-1060 np=1 va=0 ms=3 code=11 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='CanSkipEndWindowOnLongAway'
  ;   K[2]='CanClaimReward'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('CanSkipEndWindowOnLongAway')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K2('CanClaimReward')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  NOT       R1 = not R0
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto80 [UpdatePerSecond] ----------
  ; fn ?  line 1062-1072 np=1 va=0 ms=3 code=24 consts=10 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='TryCheckFail'
  ;   K[3]='IsInRace'
  ;   K[4]='HasNetwork'
  ;   K[5]='_CheckClaimRewardCondition'
  ;   K[6]='EventDispatcher'
  ;   K[7]='DispatchEvent'
  ;   K[8]='EEventType'
  ;   K[9]='ActivityRaceCompleted'
  ;   upvals: _ENV
  ;   locals: self(0-24)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('UpdatePerSecond')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('TryCheckFail')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SELF      R2 = R0[K3('IsInRace')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 23
  0010  SELF      R2 = R0[K4('HasNetwork')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 23
  0014  SELF      R2 = R0[K5('_CheckClaimRewardCondition')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  TEST      if not R1 then   -> -131054
  0017  JMP       (jump)   -> 23
  0018  GETTABUP  R1 = _ENV[K6('EventDispatcher')]
  0019  GETTABLE  R1 = R1[K7('DispatchEvent')]
  0020  GETTABUP  R2 = _ENV[K8('EEventType')]
  0021  GETTABLE  R2 = R2[K9('ActivityRaceCompleted')]
  0022  CALL      R1 = call(R1, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
; ---------- proto81 [_CanCheckFail] ----------
  ; fn ?  line 1075-1081 np=1 va=0 ms=3 code=16 consts=3 upvals=0 protos=0
  ;   K[0]='IsExsitFail'
  ;   K[1]='IsInRace'
  ;   K[2]='HasNetwork'
  ;   locals: self(0-16)
  0000  GETTABLE  R1 = R0[K0('IsExsitFail')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 11
  0003  SELF      R2 = R0[K1('IsInRace')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  SELF      R2 = R0[K2('HasNetwork')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131060
  0010  JMP       (jump)   -> 13
  0011  LOADBOOL  R1 = false
  0012  RETURN    return R1..R0
  0013  LOADBOOL  R1 = true
  0014  RETURN    return R1..R0
  0015  RETURN    return R0..R-1
; ---------- proto82 [_NeedCheckFail] ----------
  ; fn ?  line 1085-1107 np=1 va=0 ms=5 code=40 consts=12 upvals=1 protos=0
  ;   K[0]='_CanCheckFail'
  ;   K[1]='GM'
  ;   K[2]='GameModel'
  ;   K[3]='GetServerTime'
  ;   K[4]='Table'
  ;   K[5]='IsEmpty'
  ;   K[6]='m_arrUpdateRobotTime'
  ;   K[7]=1
  ;   K[8]='m_bHasCheckFail'
  ;   K[9]=0
  ;   K[10]='table'
  ;   K[11]='remove'
  ;   upvals: _ENV
  ;   locals: self(0-40), serverTime(10-40)
  0000  SELF      R2 = R0[K0('_CanCheckFail')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  GETTABUP  R1 = _ENV[K1('GM')]
  0007  GETTABLE  R1 = R1[K2('GameModel')]
  0008  SELF      R2 = R1[K3('GetServerTime')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  GETTABUP  R2 = _ENV[K4('Table')]
  0011  GETTABLE  R2 = R2[K5('IsEmpty')]
  0012  GETTABLE  R3 = R0[K6('m_arrUpdateRobotTime')]
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 20
  0016  GETTABLE  R2 = R0[K6('m_arrUpdateRobotTime')]
  0017  GETTABLE  R2 = R2[K7(1)]
  0018  LT        if R0 lt R2   -> -130538
  0019  JMP       (jump)   -> 23
  0020  GETTABLE  R2 = R0[K8('m_bHasCheckFail')]
  0021  NOT       R2 = not R0
  0022  RETURN    return R2..R1
  0023  GETTABLE  R2 = R0[K6('m_arrUpdateRobotTime')]
  0024  LEN       R2 = len R0
  0025  LT        if R0 lt R2   -> 4637
  0026  JMP       (jump)   -> 37
  0027  GETTABLE  R2 = R0[K6('m_arrUpdateRobotTime')]
  0028  GETTABLE  R2 = R2[K7(1)]
  0029  LE        if R0 le R1   -> -130016
  0030  JMP       (jump)   -> 37
  0031  GETTABUP  R2 = _ENV[K10('table')]
  0032  GETTABLE  R2 = R2[K11('remove')]
  0033  GETTABLE  R3 = R0[K6('m_arrUpdateRobotTime')]
  0034  LOADK     R4 = K7 1
  0035  CALL      R2 = call(R2, 0 args, 2 rets)
  0036  JMP       (jump)   -> 23
  0037  LOADBOOL  R2 = true
  0038  RETURN    return R2..R1
  0039  RETURN    return R0..R-1
; ---------- proto83 [_CheckFail] ----------
  ; fn ?  line 1110-1112 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bHasCheckFail'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bHasCheckFail')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto84 [TryCheckFail] ----------
  ; fn ?  line 1115-1119 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_NeedCheckFail'
  ;   K[1]='_CheckFail'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('_NeedCheckFail')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('_CheckFail')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto85 [TryCheckFailImmediately] ----------
  ; fn ?  line 1122-1126 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='_CanCheckFail'
  ;   K[1]='_CheckFail'
  ;   locals: self(0-7)
  0000  SELF      R2 = R0[K0('_CanCheckFail')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('_CheckFail')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto86 [UpdateScoreProgress] ----------
  ; fn ?  line 1128-1130 np=2 va=0 ms=6 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='event'
  ;   K[1]='Call'
  ;   K[2]='RaceEventType'
  ;   K[3]='ScoreChanged'
  ;   upvals: _ENV
  ;   locals: self(0-7), bChanged(0-7)
  0000  GETTABLE  R2 = R0[K0('event')]
  0001  SELF      R3 = R2[K1('Call')] (self)
  0002  GETTABUP  R4 = _ENV[K2('RaceEventType')]
  0003  GETTABLE  R4 = R4[K3('ScoreChanged')]
  0004  MOVE      R5 = R0
  0005  CALL      R2 = call(R2, 0 args, 3 rets)
  0006  RETURN    return R0..R-1
; ---------- proto87 [OpenMainWindowEventCall] ----------
  ; fn ?  line 1132-1134 np=1 va=0 ms=4 code=6 consts=4 upvals=1 protos=0
  ;   K[0]='event'
  ;   K[1]='Call'
  ;   K[2]='RaceEventType'
  ;   K[3]='OpenMainWindow'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('event')]
  0001  SELF      R2 = R1[K1('Call')] (self)
  0002  GETTABUP  R3 = _ENV[K2('RaceEventType')]
  0003  GETTABLE  R3 = R3[K3('OpenMainWindow')]
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto88 [OnNetError] ----------
  ; fn ?  line 1136-1143 np=2 va=0 ms=11 code=13 consts=9 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='TwoButtonWindow'
  ;   K[5]='bad_network_window_title'
  ;   K[6]='network_error_desc'
  ;   K[7]='common_button_cancel'
  ;   K[8]='bad_network_window_retry'
  ;   upvals: _ENV
  ;   locals: self(0-13), retry(0-13)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UIManager')]
  0002  SELF      R3 = R2[K2('OpenView')] (self)
  0003  GETTABUP  R4 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R4 = R4[K4('TwoButtonWindow')]
  0005  LOADK     R5 = K5 'bad_network_window_title'
  0006  LOADK     R6 = K6 'network_error_desc'
  0007  LOADK     R7 = K7 'common_button_cancel'
  0008  LOADK     R8 = K8 'bad_network_window_retry'
  0009  LOADNIL   R9..R9 = nil
  0010  CLOSURE   R10 = closure proto0
  0011  CALL      R2 = call(R2, 0 args, 8 rets)
  0012  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1137-1142 np=1 va=0 ms=3 code=8 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: retry
    ;   locals: window(0-8)
    0000  SELF      R2 = R0[K0('Close')] (self)
    0001  CALL      R1 = call(R1, 0 args, 1 rets)
    0002  GETUPVAL  R1 = retry
    0003  TEST      if not R1 then   -> -131067
    0004  JMP       (jump)   -> 7
    0005  GETUPVAL  R1 = retry
    0006  CALL      R1 = call(R1, 0 args, 0 rets)
    0007  RETURN    return R0..R-1
; ---------- proto89 [CanShowExclaimation] ----------
  ; fn ?  line 1145-1157 np=1 va=0 ms=3 code=25 consts=6 upvals=1 protos=0
  ;   K[0]='CanClaimReward'
  ;   K[1]='IsActivityOpen'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='IsInRace'
  ;   upvals: _ENV
  ;   locals: self(0-25)
  0000  SELF      R2 = R0[K0('CanClaimReward')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = true
  0005  RETURN    return R1..R0
  0006  SELF      R2 = R0[K1('IsActivityOpen')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 22
  0010  SELF      R2 = R0[K2('GetState')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0013  GETTABLE  R2 = R2[K4('Started')]
  0014  EQ        if R0 eq R2   -> -130542
  0015  JMP       (jump)   -> 22
  0016  SELF      R2 = R0[K5('IsInRace')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131051
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R1 = true
  0021  RETURN    return R1..R0
  0022  LOADBOOL  R1 = false
  0023  RETURN    return R1..R0
  0024  RETURN    return R0..R-1
; ---------- proto90 [_LogRaceCompletedBI] ----------
  ; fn ?  line 1159-1183 np=1 va=0 ms=13 code=65 consts=25 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='RankBIType'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='_GetEntryTime'
  ;   K[8]=1
  ;   K[9]='m_arrPlayerData'
  ;   K[10]='id'
  ;   K[11]='GetUserId'
  ;   K[12]='score'
  ;   K[13]='GetCurScore'
  ;   K[14]='rank'
  ;   K[15]='GetRank'
  ;   K[16]='round'
  ;   K[17]='GetCurrentRound'
  ;   K[18]='rankTime'
  ;   K[19]='startTime'
  ;   K[20]='isMySelf'
  ;   K[21]='IsMySelf'
  ;   K[22]='tag'
  ;   K[23]='BIManager'
  ;   K[24]='LogAction'
  ;   upvals: _ENV
  ;   locals: self(0-65), serTime(12-65), entryTime(14-65), biInfo(15-65), tbPlayer(16-65), (for index)(20-57), (for limit)(20-57), (for step)(20-57), i(21-56)
  0000  GETTABUP  R1 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R1 = R1[K1('IsNilOrEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R2 = R2[K3('RankBIType')]
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  GETTABUP  R1 = _ENV[K4('GM')]
  0009  GETTABLE  R1 = R1[K5('GameModel')]
  0010  SELF      R2 = R1[K6('GetServerTime')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  SELF      R3 = R0[K7('_GetEntryTime')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  NEWTABLE  R3 = {} (0 items)
  0015  LOADNIL   R4..R4 = nil
  0016  LOADK     R5 = K8 1
  0017  GETTABLE  R6 = R0[K9('m_arrPlayerData')]
  0018  LEN       R6 = len R0
  0019  LOADK     R7 = K8 1
  0020  FORPREP   forprep R5(sBx=35)   -> 56
  0021  NEWTABLE  R9 = {} (0 items)
  0022  GETTABLE  R10 = R0[K9('m_arrPlayerData')]
  0023  GETTABLE  R10 = R10[R8]
  0024  SELF      R11 = R10[K11('GetUserId')] (self)
  0025  CALL      R10 = call(R10, 1 args, 1 rets)
  0026  SETTABLE  R9[K10('id')] = R10
  0027  GETTABLE  R10 = R0[K9('m_arrPlayerData')]
  0028  GETTABLE  R10 = R10[R8]
  0029  SELF      R11 = R10[K13('GetCurScore')] (self)
  0030  SUB       R12 = R2 sub R1
  0031  CALL      R10 = call(R10, 1 args, 2 rets)
  0032  SETTABLE  R9[K12('score')] = R10
  0033  GETTABLE  R10 = R0[K9('m_arrPlayerData')]
  0034  GETTABLE  R10 = R10[R8]
  0035  SELF      R11 = R10[K15('GetRank')] (self)
  0036  CALL      R10 = call(R10, 1 args, 1 rets)
  0037  SETTABLE  R9[K14('rank')] = R10
  0038  SELF      R11 = R0[K17('GetCurrentRound')] (self)
  0039  CALL      R10 = call(R10, 1 args, 1 rets)
  0040  SETTABLE  R9[K16('round')] = R10
  0041  SETTABLE  R9[K18('rankTime')] = R1
  0042  SETTABLE  R9[K19('startTime')] = R2
  0043  GETTABLE  R10 = R0[K9('m_arrPlayerData')]
  0044  GETTABLE  R10 = R10[R8]
  0045  SELF      R11 = R10[K21('IsMySelf')] (self)
  0046  CALL      R10 = call(R10, 1 args, 1 rets)
  0047  SETTABLE  R9[K20('isMySelf')] = R10
  0048  GETTABLE  R10 = R0[K9('m_arrPlayerData')]
  0049  GETTABLE  R10 = R10[R8]
  0050  GETTABLE  R10 = R10[K22('tag')]
  0051  SETTABLE  R9[K22('tag')] = R10
  0052  MOVE      R4 = R0
  0053  LEN       R9 = len R0
  0054  ADD       R9 = K8(1) add R9
  0055  SETTABLE  R3[R9] = R4
  0056  FORLOOP   forloop R5(sBx=-36)   -> 21
  0057  GETTABUP  R5 = _ENV[K4('GM')]
  0058  GETTABLE  R5 = R5[K23('BIManager')]
  0059  SELF      R6 = R5[K24('LogAction')] (self)
  0060  GETTABLE  R7 = R0[K2('m_activityDefinition')]
  0061  GETTABLE  R7 = R7[K3('RankBIType')]
  0062  MOVE      R8 = R0
  0063  CALL      R5 = call(R5, 0 args, 3 rets)
  0064  RETURN    return R0..R-1
