# BakeOut_Model_BakeOutModel_847.luac
; fn @BakeOutModel.lua  line 0-0 np=0 va=1 ms=8 code=305 consts=146 upvals=1 protos=85
;   K[0]='BakeOutEventType'
;   K[1]='StateChanged'
;   K[2]=1
;   K[3]='EnList'
;   K[4]=2
;   K[5]='AcquireToken'
;   K[6]=3
;   K[7]='UpdateRank'
;   K[8]=4
;   K[9]='NeedOpenWindow'
;   K[10]=5
;   K[11]='ModeChanged'
;   K[12]=6
;   K[13]='RankReward'
;   K[14]='bakeout_rank_reward'
;   K[15]='CoinExchange'
;   K[16]='bakeout_rank_exchange'
;   K[17]='Misc'
;   K[18]='bakeout_rank_parameter'
;   K[19]='DelayTime'
;   K[20]='delayTime'
;   K[21]='UploadTime'
;   K[22]='uploadTime'
;   K[23]='NoRegisterTime'
;   K[24]='noRegisterTime'
;   K[25]='SettlementTime'
;   K[26]='settlementTime'
;   K[27]='MaxNumInGroup'
;   K[28]='maxNum'
;   K[29]='RetainTime'
;   K[30]='retainTime'
;   K[31]='Rank'
;   K[32]='rank'
;   K[33]='LastRank'
;   K[34]='lastRank'
;   K[35]='Token'
;   K[36]='token'
;   K[37]='enList'
;   K[38]='ExchangeTimes'
;   K[39]='exchangeTimes'
;   K[40]='CachedData'
;   K[41]='cachedData'
;   K[42]='CachedDataMD5'
;   K[43]='cachedDataMd5'
;   K[44]='DelayedGetRewardTime'
;   K[45]='delayedGetRewardTime'
;   K[46]='RewardAcquired'
;   K[47]='rewardAcquired'
;   K[48]='FinishActivity'
;   K[49]='LastIncremNum'
;   K[50]='GroupID'
;   K[51]='groupId'
;   K[52]='GroupId'
;   K[53]='bakeoutGroupId'
;   K[54]='bakeoutToken'
;   K[55]='bakeoutRank'
;   K[56]='value'
;   K[57]='BakeOutModel'
;   K[58]='setmetatable'
;   K[59]='BaseActivityModel'
;   K[60]='__index'
;   K[61]='Init'
;   K[62]='LateInit'
;   K[63]='Destroy'
;   K[64]='_LoadOtherServerConfig'
;   K[65]='GetBoardEntryShowConfig'
;   K[66]='GetMapEntryShowConfig'
;   K[67]='_OnStateChanged'
;   K[68]='FromHeartBeat'
;   K[69]='ToHeartBeat'
;   K[70]='IsSendingRankRequest'
;   K[71]='CanHeartBeat'
;   K[72]='OnMainTaskFinished'
;   K[73]='OnLoginFinished'
;   K[74]='OnChangeGameMode'
;   K[75]='_Reset'
;   K[76]='_ClearActivity'
;   K[77]='IsBakeOutModeOn'
;   K[78]='IsAllFinished'
;   K[79]='CanAcquireToken'
;   K[80]='CanAcquireReward'
;   K[81]='HasActivityFinished'
;   K[82]='SetRewardAcquired'
;   K[83]='HasAcquiredReward'
;   K[84]='SetLastIncremNum'
;   K[85]='GetLastIncremNum'
;   K[86]='OnCheckResourcesFinished'
;   K[87]='UpdatePerSecond'
;   K[88]='LoadServerConfig'
;   K[89]='_LoadConfig'
;   K[90]='_UpdateState'
;   K[91]='NeedCheckResource'
;   K[92]='_CalculateState'
;   K[93]='_GetSettlementFinishedTime'
;   K[94]='_GetUploadTokenFinishedTime'
;   K[95]='_GetRetainFinishedTime'
;   K[96]='OnReadyStart'
;   K[97]='_OnSettlement'
;   K[98]='OnActivityFinished'
;   K[99]='AcquireReward'
;   K[100]='TryUpdateHint'
;   K[101]='GetFinalRankInfos'
;   K[102]='_SetFinalRankInfos'
;   K[103]='_GetGroupId'
;   K[104]='_SetGroupId'
;   K[105]='_LoadMiscConfig'
;   K[106]='_GetMiscConfig'
;   K[107]='GetMaxNumInGroup'
;   K[108]='GetWaitingOpenWindowDatas'
;   K[109]='AddressableLabel'
;   K[110]='BakeOut'
;   K[111]='GetResourceLabels'
;   K[112]='IsEnlist'
;   K[113]='CanEnlist'
;   K[114]='OnEnlist'
;   K[115]='_GetEnlistTimeline'
;   K[116]='GetToken'
;   K[117]='_HeartBeatOnNextFrame'
;   K[118]='_GetAcquireTokenUploadDelay'
;   K[119]='_GetExchangeTimes'
;   K[120]='_AddExchangeTimes'
;   K[121]='GetExchangeCoinCostNum'
;   K[122]='GetExchangeTokenGainNum'
;   K[123]='CanExchangeCoin'
;   K[124]='ExchangeCoin2Token'
;   K[125]='_LoadCoinExchangeConfig'
;   K[126]='GetCurRank'
;   K[127]='GetDisplayCurRank'
;   K[128]='SetCurRank'
;   K[129]='UpdateCurRank'
;   K[130]='TryUpdateDisplayRank'
;   K[131]='UpdateLastRank'
;   K[132]='GetLastRank'
;   K[133]='_Try2UpdateDisplayRank'
;   K[134]='GetRankReward'
;   K[135]='GetMaxRankWithRankReward'
;   K[136]='_GetRankRewardDatas'
;   K[137]='_LoadRankRewardConfig'
;   K[138]='GetBakeOutRanks'
;   K[139]='GetOwnDataFromRanksData'
;   K[140]='_UpdateRankInfo'
;   K[141]='_SequenceRankDatas'
;   K[142]='_SortRankArr'
;   K[143]='_UpdateSelfProfile'
;   K[144]='SetExchangeCoinFree'
;   K[145]='GetButtonTarget'
;   upvals: _ENV
;   locals: BakeOutConfigKey(12-305), BakeOutMiscKey(19-305), DBKey(32-305), HeartBeatKey(36-305), DBColumnValue(37-305), bakeOutOnLabels(196-305)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('StateChanged')] = K2(1)
0002  SETTABLE  R0[K3('EnList')] = K4(2)
0003  SETTABLE  R0[K5('AcquireToken')] = K6(3)
0004  SETTABLE  R0[K7('UpdateRank')] = K8(4)
0005  SETTABLE  R0[K9('NeedOpenWindow')] = K10(5)
0006  SETTABLE  R0[K11('ModeChanged')] = K12(6)
0007  SETTABUP  _ENV[K0('BakeOutEventType')] = R0
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K13('RankReward')] = K14('bakeout_rank_reward')
0010  SETTABLE  R0[K15('CoinExchange')] = K16('bakeout_rank_exchange')
0011  SETTABLE  R0[K17('Misc')] = K18('bakeout_rank_parameter')
0012  NEWTABLE  R1 = {} (0 items)
0013  SETTABLE  R1[K19('DelayTime')] = K20('delayTime')
0014  SETTABLE  R1[K21('UploadTime')] = K22('uploadTime')
0015  SETTABLE  R1[K23('NoRegisterTime')] = K24('noRegisterTime')
0016  SETTABLE  R1[K25('SettlementTime')] = K26('settlementTime')
0017  SETTABLE  R1[K27('MaxNumInGroup')] = K28('maxNum')
0018  SETTABLE  R1[K29('RetainTime')] = K30('retainTime')
0019  NEWTABLE  R2 = {} (0 items)
0020  SETTABLE  R2[K31('Rank')] = K32('rank')
0021  SETTABLE  R2[K33('LastRank')] = K34('lastRank')
0022  SETTABLE  R2[K35('Token')] = K36('token')
0023  SETTABLE  R2[K3('EnList')] = K37('enList')
0024  SETTABLE  R2[K38('ExchangeTimes')] = K39('exchangeTimes')
0025  SETTABLE  R2[K40('CachedData')] = K41('cachedData')
0026  SETTABLE  R2[K42('CachedDataMD5')] = K43('cachedDataMd5')
0027  SETTABLE  R2[K44('DelayedGetRewardTime')] = K45('delayedGetRewardTime')
0028  SETTABLE  R2[K46('RewardAcquired')] = K47('rewardAcquired')
0029  SETTABLE  R2[K48('FinishActivity')] = K48('FinishActivity')
0030  SETTABLE  R2[K49('LastIncremNum')] = K49('LastIncremNum')
0031  SETTABLE  R2[K50('GroupID')] = K51('groupId')
0032  NEWTABLE  R3 = {} (0 items)
0033  SETTABLE  R3[K52('GroupId')] = K53('bakeoutGroupId')
0034  SETTABLE  R3[K35('Token')] = K54('bakeoutToken')
0035  SETTABLE  R3[K31('Rank')] = K55('bakeoutRank')
0036  LOADK     R4 = K56 'value'
0037  GETTABUP  R5 = _ENV[K58('setmetatable')]
0038  NEWTABLE  R6 = {} (0 items)
0039  GETTABUP  R7 = _ENV[K59('BaseActivityModel')]
0040  CALL      R5 = call(R5, 1 args, 2 rets)
0041  SETTABUP  _ENV[K57('BakeOutModel')] = R5
0042  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0043  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0044  SETTABLE  R5[K60('__index')] = R6
0045  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0046  CLOSURE   R6 = closure proto0
0047  SETTABLE  R5[K61('Init')] = R6
0048  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0049  CLOSURE   R6 = closure proto1
0050  SETTABLE  R5[K62('LateInit')] = R6
0051  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0052  CLOSURE   R6 = closure proto2
0053  SETTABLE  R5[K63('Destroy')] = R6
0054  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0055  CLOSURE   R6 = closure proto3
0056  SETTABLE  R5[K64('_LoadOtherServerConfig')] = R6
0057  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0058  CLOSURE   R6 = closure proto4
0059  SETTABLE  R5[K65('GetBoardEntryShowConfig')] = R6
0060  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0061  CLOSURE   R6 = closure proto5
0062  SETTABLE  R5[K66('GetMapEntryShowConfig')] = R6
0063  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0064  CLOSURE   R6 = closure proto6
0065  SETTABLE  R5[K67('_OnStateChanged')] = R6
0066  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0067  CLOSURE   R6 = closure proto7
0068  SETTABLE  R5[K68('FromHeartBeat')] = R6
0069  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0070  CLOSURE   R6 = closure proto8
0071  SETTABLE  R5[K69('ToHeartBeat')] = R6
0072  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0073  CLOSURE   R6 = closure proto9
0074  SETTABLE  R5[K70('IsSendingRankRequest')] = R6
0075  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0076  CLOSURE   R6 = closure proto10
0077  SETTABLE  R5[K71('CanHeartBeat')] = R6
0078  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0079  CLOSURE   R6 = closure proto11
0080  SETTABLE  R5[K72('OnMainTaskFinished')] = R6
0081  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0082  CLOSURE   R6 = closure proto12
0083  SETTABLE  R5[K73('OnLoginFinished')] = R6
0084  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0085  CLOSURE   R6 = closure proto13
0086  SETTABLE  R5[K74('OnChangeGameMode')] = R6
0087  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0088  CLOSURE   R6 = closure proto14
0089  SETTABLE  R5[K75('_Reset')] = R6
0090  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0091  CLOSURE   R6 = closure proto15
0092  SETTABLE  R5[K76('_ClearActivity')] = R6
0093  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0094  CLOSURE   R6 = closure proto16
0095  SETTABLE  R5[K77('IsBakeOutModeOn')] = R6
0096  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0097  CLOSURE   R6 = closure proto17
0098  SETTABLE  R5[K78('IsAllFinished')] = R6
0099  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0100  CLOSURE   R6 = closure proto18
0101  SETTABLE  R5[K79('CanAcquireToken')] = R6
0102  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0103  CLOSURE   R6 = closure proto19
0104  SETTABLE  R5[K80('CanAcquireReward')] = R6
0105  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0106  CLOSURE   R6 = closure proto20
0107  SETTABLE  R5[K48('FinishActivity')] = R6
0108  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0109  CLOSURE   R6 = closure proto21
0110  SETTABLE  R5[K81('HasActivityFinished')] = R6
0111  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0112  CLOSURE   R6 = closure proto22
0113  SETTABLE  R5[K82('SetRewardAcquired')] = R6
0114  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0115  CLOSURE   R6 = closure proto23
0116  SETTABLE  R5[K83('HasAcquiredReward')] = R6
0117  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0118  CLOSURE   R6 = closure proto24
0119  SETTABLE  R5[K84('SetLastIncremNum')] = R6
0120  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0121  CLOSURE   R6 = closure proto25
0122  SETTABLE  R5[K85('GetLastIncremNum')] = R6
0123  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0124  CLOSURE   R6 = closure proto26
0125  SETTABLE  R5[K86('OnCheckResourcesFinished')] = R6
0126  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0127  CLOSURE   R6 = closure proto27
0128  SETTABLE  R5[K87('UpdatePerSecond')] = R6
0129  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0130  CLOSURE   R6 = closure proto28
0131  SETTABLE  R5[K88('LoadServerConfig')] = R6
0132  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0133  CLOSURE   R6 = closure proto29
0134  SETTABLE  R5[K89('_LoadConfig')] = R6
0135  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0136  CLOSURE   R6 = closure proto30
0137  SETTABLE  R5[K90('_UpdateState')] = R6
0138  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0139  CLOSURE   R6 = closure proto31
0140  SETTABLE  R5[K91('NeedCheckResource')] = R6
0141  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0142  CLOSURE   R6 = closure proto32
0143  SETTABLE  R5[K92('_CalculateState')] = R6
0144  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0145  CLOSURE   R6 = closure proto33
0146  SETTABLE  R5[K93('_GetSettlementFinishedTime')] = R6
0147  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0148  CLOSURE   R6 = closure proto34
0149  SETTABLE  R5[K94('_GetUploadTokenFinishedTime')] = R6
0150  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0151  CLOSURE   R6 = closure proto35
0152  SETTABLE  R5[K95('_GetRetainFinishedTime')] = R6
0153  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0154  CLOSURE   R6 = closure proto36
0155  SETTABLE  R5[K96('OnReadyStart')] = R6
0156  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0157  CLOSURE   R6 = closure proto37
0158  SETTABLE  R5[K97('_OnSettlement')] = R6
0159  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0160  CLOSURE   R6 = closure proto38
0161  SETTABLE  R5[K98('OnActivityFinished')] = R6
0162  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0163  CLOSURE   R6 = closure proto39
0164  SETTABLE  R5[K99('AcquireReward')] = R6
0165  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0166  CLOSURE   R6 = closure proto40
0167  SETTABLE  R5[K100('TryUpdateHint')] = R6
0168  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0169  CLOSURE   R6 = closure proto41
0170  SETTABLE  R5[K101('GetFinalRankInfos')] = R6
0171  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0172  CLOSURE   R6 = closure proto42
0173  SETTABLE  R5[K102('_SetFinalRankInfos')] = R6
0174  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0175  CLOSURE   R6 = closure proto43
0176  SETTABLE  R5[K103('_GetGroupId')] = R6
0177  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0178  CLOSURE   R6 = closure proto44
0179  SETTABLE  R5[K104('_SetGroupId')] = R6
0180  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0181  CLOSURE   R6 = closure proto45
0182  SETTABLE  R5[K105('_LoadMiscConfig')] = R6
0183  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0184  CLOSURE   R6 = closure proto46
0185  SETTABLE  R5[K106('_GetMiscConfig')] = R6
0186  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0187  CLOSURE   R6 = closure proto47
0188  SETTABLE  R5[K107('GetMaxNumInGroup')] = R6
0189  GETTABUP  R5 = _ENV[K57('BakeOutModel')]
0190  CLOSURE   R6 = closure proto48
0191  SETTABLE  R5[K108('GetWaitingOpenWindowDatas')] = R6
0192  NEWTABLE  R5 = {} (1 items)
0193  GETTABUP  R6 = _ENV[K109('AddressableLabel')]
0194  GETTABLE  R6 = R6[K110('BakeOut')]
0195  SETLIST   setlist R5[B=1,C=1]
0196  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0197  CLOSURE   R7 = closure proto49
0198  SETTABLE  R6[K111('GetResourceLabels')] = R7
0199  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0200  CLOSURE   R7 = closure proto50
0201  SETTABLE  R6[K112('IsEnlist')] = R7
0202  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0203  CLOSURE   R7 = closure proto51
0204  SETTABLE  R6[K113('CanEnlist')] = R7
0205  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0206  CLOSURE   R7 = closure proto52
0207  SETTABLE  R6[K114('OnEnlist')] = R7
0208  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0209  CLOSURE   R7 = closure proto53
0210  SETTABLE  R6[K115('_GetEnlistTimeline')] = R7
0211  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0212  CLOSURE   R7 = closure proto54
0213  SETTABLE  R6[K116('GetToken')] = R7
0214  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0215  CLOSURE   R7 = closure proto55
0216  SETTABLE  R6[K5('AcquireToken')] = R7
0217  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0218  CLOSURE   R7 = closure proto56
0219  SETTABLE  R6[K117('_HeartBeatOnNextFrame')] = R7
0220  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0221  CLOSURE   R7 = closure proto57
0222  SETTABLE  R6[K118('_GetAcquireTokenUploadDelay')] = R7
0223  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0224  CLOSURE   R7 = closure proto58
0225  SETTABLE  R6[K119('_GetExchangeTimes')] = R7
0226  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0227  CLOSURE   R7 = closure proto59
0228  SETTABLE  R6[K120('_AddExchangeTimes')] = R7
0229  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0230  CLOSURE   R7 = closure proto60
0231  SETTABLE  R6[K121('GetExchangeCoinCostNum')] = R7
0232  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0233  CLOSURE   R7 = closure proto61
0234  SETTABLE  R6[K122('GetExchangeTokenGainNum')] = R7
0235  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0236  CLOSURE   R7 = closure proto62
0237  SETTABLE  R6[K123('CanExchangeCoin')] = R7
0238  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0239  CLOSURE   R7 = closure proto63
0240  SETTABLE  R6[K124('ExchangeCoin2Token')] = R7
0241  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0242  CLOSURE   R7 = closure proto64
0243  SETTABLE  R6[K125('_LoadCoinExchangeConfig')] = R7
0244  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0245  CLOSURE   R7 = closure proto65
0246  SETTABLE  R6[K126('GetCurRank')] = R7
0247  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0248  CLOSURE   R7 = closure proto66
0249  SETTABLE  R6[K127('GetDisplayCurRank')] = R7
0250  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0251  CLOSURE   R7 = closure proto67
0252  SETTABLE  R6[K128('SetCurRank')] = R7
0253  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0254  CLOSURE   R7 = closure proto68
0255  SETTABLE  R6[K129('UpdateCurRank')] = R7
0256  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0257  CLOSURE   R7 = closure proto69
0258  SETTABLE  R6[K130('TryUpdateDisplayRank')] = R7
0259  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0260  CLOSURE   R7 = closure proto70
0261  SETTABLE  R6[K131('UpdateLastRank')] = R7
0262  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0263  CLOSURE   R7 = closure proto71
0264  SETTABLE  R6[K132('GetLastRank')] = R7
0265  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0266  CLOSURE   R7 = closure proto72
0267  SETTABLE  R6[K133('_Try2UpdateDisplayRank')] = R7
0268  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0269  CLOSURE   R7 = closure proto73
0270  SETTABLE  R6[K134('GetRankReward')] = R7
0271  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0272  CLOSURE   R7 = closure proto74
0273  SETTABLE  R6[K135('GetMaxRankWithRankReward')] = R7
0274  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0275  CLOSURE   R7 = closure proto75
0276  SETTABLE  R6[K136('_GetRankRewardDatas')] = R7
0277  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0278  CLOSURE   R7 = closure proto76
0279  SETTABLE  R6[K137('_LoadRankRewardConfig')] = R7
0280  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0281  CLOSURE   R7 = closure proto77
0282  SETTABLE  R6[K138('GetBakeOutRanks')] = R7
0283  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0284  CLOSURE   R7 = closure proto78
0285  SETTABLE  R6[K139('GetOwnDataFromRanksData')] = R7
0286  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0287  CLOSURE   R7 = closure proto79
0288  SETTABLE  R6[K140('_UpdateRankInfo')] = R7
0289  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0290  CLOSURE   R7 = closure proto80
0291  SETTABLE  R6[K141('_SequenceRankDatas')] = R7
0292  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0293  CLOSURE   R7 = closure proto81
0294  SETTABLE  R6[K142('_SortRankArr')] = R7
0295  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0296  CLOSURE   R7 = closure proto82
0297  SETTABLE  R6[K143('_UpdateSelfProfile')] = R7
0298  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0299  CLOSURE   R7 = closure proto83
0300  SETTABLE  R6[K144('SetExchangeCoinFree')] = R7
0301  GETTABUP  R6 = _ENV[K57('BakeOutModel')]
0302  CLOSURE   R7 = closure proto84
0303  SETTABLE  R6[K145('GetButtonTarget')] = R7
0304  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 96-112 np=2 va=0 ms=7 code=65 consts=25 upvals=3 protos=0
  ;   K[0]='m_arrWaitingOpenWindow'
  ;   K[1]='_Reset'
  ;   K[2]='GetValue'
  ;   K[3]='CachedData'
  ;   K[4]=nil
  ;   K[5]='m_cachedConfig'
  ;   K[6]='json'
  ;   K[7]='decode'
  ;   K[8]='BaseActivityModel'
  ;   K[9]='Init'
  ;   K[10]='ActivityType'
  ;   K[11]='BakeOut'
  ;   K[12]='EventDispatcher'
  ;   K[13]='AddListener'
  ;   K[14]='EEventType'
  ;   K[15]='MainTaskFinished'
  ;   K[16]='OnMainTaskFinished'
  ;   K[17]='OnClaimedOrderGroupReward'
  ;   K[18]='LoginFinished'
  ;   K[19]='OnLoginFinished'
  ;   K[20]='ChangeGameMode'
  ;   K[21]='OnChangeGameMode'
  ;   K[22]='NewChapterUnlocked'
  ;   K[23]='UpdatePerSecond'
  ;   K[24]='NewReleasedOrderGroupUnlocked'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-65), virtualDBTable(0-65), cachedConfig(8-65)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrWaitingOpenWindow')] = R2
  0002  SELF      R3 = R0[K1('_Reset')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  SELF      R3 = R1[K2('GetValue')] (self)
  0005  GETTABUP  R4 = DBKey[K3('CachedData')]
  0006  GETUPVAL  R5 = DBKey
  0007  CALL      R2 = call(R2, 1 args, 3 rets)
  0008  EQ        if R1 eq K4(nil)   -> -129778
  0009  JMP       (jump)   -> 15
  0010  GETTABUP  R3 = _ENV[K6('json')]
  0011  GETTABLE  R3 = R3[K7('decode')]
  0012  MOVE      R4 = R0
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  SETTABLE  R0[K5('m_cachedConfig')] = R3
  0015  GETTABUP  R3 = _ENV[K8('BaseActivityModel')]
  0016  GETTABLE  R3 = R3[K9('Init')]
  0017  MOVE      R4 = R0
  0018  GETTABUP  R5 = _ENV[K10('ActivityType')]
  0019  GETTABLE  R5 = R5[K11('BakeOut')]
  0020  MOVE      R6 = R0
  0021  CALL      R3 = call(R3, 0 args, 3 rets)
  0022  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0023  GETTABLE  R3 = R3[K13('AddListener')]
  0024  GETTABUP  R4 = _ENV[K14('EEventType')]
  0025  GETTABLE  R4 = R4[K15('MainTaskFinished')]
  0026  MOVE      R5 = R0
  0027  GETTABLE  R6 = R0[K16('OnMainTaskFinished')]
  0028  CALL      R3 = call(R3, 0 args, 3 rets)
  0029  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0030  GETTABLE  R3 = R3[K13('AddListener')]
  0031  GETTABUP  R4 = _ENV[K14('EEventType')]
  0032  GETTABLE  R4 = R4[K17('OnClaimedOrderGroupReward')]
  0033  MOVE      R5 = R0
  0034  GETTABLE  R6 = R0[K16('OnMainTaskFinished')]
  0035  CALL      R3 = call(R3, 0 args, 3 rets)
  0036  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0037  GETTABLE  R3 = R3[K13('AddListener')]
  0038  GETTABUP  R4 = _ENV[K14('EEventType')]
  0039  GETTABLE  R4 = R4[K18('LoginFinished')]
  0040  MOVE      R5 = R0
  0041  GETTABLE  R6 = R0[K19('OnLoginFinished')]
  0042  CALL      R3 = call(R3, 0 args, 3 rets)
  0043  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0044  GETTABLE  R3 = R3[K13('AddListener')]
  0045  GETTABUP  R4 = _ENV[K14('EEventType')]
  0046  GETTABLE  R4 = R4[K20('ChangeGameMode')]
  0047  MOVE      R5 = R0
  0048  GETTABLE  R6 = R0[K21('OnChangeGameMode')]
  0049  CALL      R3 = call(R3, 0 args, 3 rets)
  0050  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0051  GETTABLE  R3 = R3[K13('AddListener')]
  0052  GETTABUP  R4 = _ENV[K14('EEventType')]
  0053  GETTABLE  R4 = R4[K22('NewChapterUnlocked')]
  0054  MOVE      R5 = R0
  0055  GETTABLE  R6 = R0[K23('UpdatePerSecond')]
  0056  CALL      R3 = call(R3, 0 args, 3 rets)
  0057  GETTABUP  R3 = _ENV[K12('EventDispatcher')]
  0058  GETTABLE  R3 = R3[K13('AddListener')]
  0059  GETTABUP  R4 = _ENV[K14('EEventType')]
  0060  GETTABLE  R4 = R4[K24('NewReleasedOrderGroupUnlocked')]
  0061  MOVE      R5 = R0
  0062  GETTABLE  R6 = R0[K23('UpdatePerSecond')]
  0063  CALL      R3 = call(R3, 0 args, 3 rets)
  0064  RETURN    return R0..R-1
; ---------- proto1 [LateInit] ----------
  ; fn ?  line 114-116 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bLateInit'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bLateInit')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto2 [Destroy] ----------
  ; fn ?  line 118-120 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [_LoadOtherServerConfig] ----------
  ; fn ?  line 123-127 np=2 va=0 ms=5 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='_LoadCoinExchangeConfig'
  ;   K[1]='CoinExchange'
  ;   K[2]='_LoadRankRewardConfig'
  ;   K[3]='RankReward'
  ;   K[4]='_LoadMiscConfig'
  ;   K[5]='Misc'
  ;   upvals: BakeOutConfigKey
  ;   locals: self(0-13), config(0-13)
  0000  SELF      R3 = R0[K0('_LoadCoinExchangeConfig')] (self)
  0001  GETTABUP  R4 = BakeOutConfigKey[K1('CoinExchange')]
  0002  GETTABLE  R4 = R1[R4]
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  SELF      R3 = R0[K2('_LoadRankRewardConfig')] (self)
  0005  GETTABUP  R4 = BakeOutConfigKey[K3('RankReward')]
  0006  GETTABLE  R4 = R1[R4]
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  SELF      R3 = R0[K4('_LoadMiscConfig')] (self)
  0009  GETTABUP  R4 = BakeOutConfigKey[K5('Misc')]
  0010  GETTABLE  R4 = R1[R4]
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
; ---------- proto4 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 130-139 np=1 va=0 ms=3 code=14 consts=10 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='EEventType'
  ;   K[2]='BakeOutModeChanged'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='EEntryRootKey'
  ;   K[5]='BakeOut'
  ;   K[6]='entryPrefabName'
  ;   K[7]='UIPrefabConfigName'
  ;   K[8]='BakeOutBubble'
  ;   K[9]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K1('EEventType')]
  0002  GETTABLE  R2 = R2[K2('BakeOutModeChanged')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABUP  R2 = _ENV[K4('EEntryRootKey')]
  0005  GETTABLE  R2 = R2[K5('BakeOut')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  GETTABUP  R2 = _ENV[K7('UIPrefabConfigName')]
  0008  GETTABLE  R2 = R2[K8('BakeOutBubble')]
  0009  SETTABLE  R1[K6('entryPrefabName')] = R2
  0010  CLOSURE   R2 = closure proto0
  0011  SETTABLE  R1[K9('checkFun')] = R2
  0012  RETURN    return R1..R0
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 135-137 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='IsBakeOutModeOn'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('IsBakeOutModeOn')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto5 [GetMapEntryShowConfig] ----------
  ; fn ?  line 141-151 np=1 va=0 ms=3 code=17 consts=12 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='EEventType'
  ;   K[2]='BakeOutModeChanged'
  ;   K[3]='hudKey'
  ;   K[4]='ESceneViewHudButtonKey'
  ;   K[5]='BakeOut'
  ;   K[6]='eEntryRootKey'
  ;   K[7]='EEntryRootKey'
  ;   K[8]='entryPrefabName'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='BakeOutEntry'
  ;   K[11]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABUP  R2 = _ENV[K1('EEventType')]
  0002  GETTABLE  R2 = R2[K2('BakeOutModeChanged')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABUP  R2 = _ENV[K4('ESceneViewHudButtonKey')]
  0005  GETTABLE  R2 = R2[K5('BakeOut')]
  0006  SETTABLE  R1[K3('hudKey')] = R2
  0007  GETTABUP  R2 = _ENV[K7('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K5('BakeOut')]
  0009  SETTABLE  R1[K6('eEntryRootKey')] = R2
  0010  GETTABUP  R2 = _ENV[K9('UIPrefabConfigName')]
  0011  GETTABLE  R2 = R2[K10('BakeOutEntry')]
  0012  SETTABLE  R1[K8('entryPrefabName')] = R2
  0013  CLOSURE   R2 = closure proto0
  0014  SETTABLE  R1[K11('checkFun')] = R2
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 147-149 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='IsBakeOutModeOn'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('IsBakeOutModeOn')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto6 [_OnStateChanged] ----------
  ; fn ?  line 153-168 np=1 va=0 ms=4 code=35 consts=18 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='m_bLateInit'
  ;   K[3]='IsStateReliable'
  ;   K[4]='CanAcquireToken'
  ;   K[5]='GM'
  ;   K[6]='MainBoardModel'
  ;   K[7]='GetOrderModel'
  ;   K[8]='RemoveBakeOutOrders'
  ;   K[9]='UpdatePerSecond'
  ;   K[10]='event'
  ;   K[11]='Call'
  ;   K[12]='BakeOutEventType'
  ;   K[13]='StateChanged'
  ;   K[14]='EventDispatcher'
  ;   K[15]='DispatchEvent'
  ;   K[16]='EEventType'
  ;   K[17]='BakeOutStateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-35), mainOrderModel(20-22)
  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  GETTABLE  R1 = R0[K2('m_bLateInit')]
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  SELF      R2 = R0[K3('IsStateReliable')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 22
  0012  SELF      R2 = R0[K4('CanAcquireToken')] (self)
  0013  CALL      R1 = call(R1, 1 args, 1 rets)
  0014  TEST      if not R1 then   -> -131055
  0015  JMP       (jump)   -> 22
  0016  GETTABUP  R1 = _ENV[K5('GM')]
  0017  GETTABLE  R1 = R1[K6('MainBoardModel')]
  0018  SELF      R2 = R1[K7('GetOrderModel')] (self)
  0019  CALL      R1 = call(R1, 1 args, 1 rets)
  0020  SELF      R3 = R1[K8('RemoveBakeOutOrders')] (self)
  0021  CALL      R2 = call(R2, 0 args, 1 rets)
  0022  SELF      R2 = R0[K9('UpdatePerSecond')] (self)
  0023  CALL      R1 = call(R1, 0 args, 1 rets)
  0024  GETTABLE  R1 = R0[K10('event')]
  0025  SELF      R2 = R1[K11('Call')] (self)
  0026  GETTABUP  R3 = _ENV[K12('BakeOutEventType')]
  0027  GETTABLE  R3 = R3[K13('StateChanged')]
  0028  CALL      R1 = call(R1, 0 args, 2 rets)
  0029  GETTABUP  R1 = _ENV[K14('EventDispatcher')]
  0030  GETTABLE  R1 = R1[K15('DispatchEvent')]
  0031  GETTABUP  R2 = _ENV[K16('EEventType')]
  0032  GETTABLE  R2 = R2[K17('BakeOutStateChanged')]
  0033  CALL      R1 = call(R1, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
; ---------- proto7 [FromHeartBeat] ----------
  ; fn ?  line 171-175 np=2 va=0 ms=6 code=14 consts=3 upvals=1 protos=0
  ;   K[0]='Rank'
  ;   K[1]=0
  ;   K[2]='UpdateCurRank'
  ;   upvals: HeartBeatKey
  ;   locals: self(0-14), tbData(0-14)
  0000  GETTABUP  R2 = HeartBeatKey[K0('Rank')]
  0001  GETTABLE  R2 = R1[R2]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 13
  0004  GETTABUP  R2 = HeartBeatKey[K0('Rank')]
  0005  GETTABLE  R2 = R1[R2]
  0006  LT        if R0 lt R2   -> 522
  0007  JMP       (jump)   -> 13
  0008  SELF      R3 = R0[K2('UpdateCurRank')] (self)
  0009  GETTABUP  R4 = HeartBeatKey[K0('Rank')]
  0010  GETTABLE  R4 = R1[R4]
  0011  LOADBOOL  R5 = true
  0012  CALL      R2 = call(R2, 0 args, 3 rets)
  0013  RETURN    return R0..R-1
; ---------- proto8 [ToHeartBeat] ----------
  ; fn ?  line 178-184 np=2 va=0 ms=5 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='CanHeartBeat'
  ;   K[1]='Token'
  ;   K[2]='GetToken'
  ;   K[3]=0
  ;   upvals: HeartBeatKey
  ;   locals: self(0-15), tbData(0-15)
  0000  SELF      R3 = R0[K0('CanHeartBeat')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 12
  0004  GETTABUP  R2 = HeartBeatKey[K1('Token')]
  0005  SELF      R4 = R0[K2('GetToken')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  TEST      if not R3 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R3 = K3 0
  0010  SETTABLE  R1[R2] = R3
  0011  JMP       (jump)   -> 14
  0012  GETTABUP  R2 = HeartBeatKey[K1('Token')]
  0013  SETTABLE  R1[R2] = K3(0)
  0014  RETURN    return R0..R-1
; ---------- proto9 [IsSendingRankRequest] ----------
  ; fn ?  line 187-189 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bIsSendingRequest'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bIsSendingRequest')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto10 [CanHeartBeat] ----------
  ; fn ?  line 192-198 np=1 va=0 ms=4 code=34 consts=10 upvals=1 protos=0
  ;   K[0]='IsBakeOutModeOn'
  ;   K[1]='IsEnlist'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='Ended'
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='GetServerTime'
  ;   K[9]='_GetUploadTokenFinishedTime'
  ;   upvals: _ENV
  ;   locals: self(0-34)
  0000  SELF      R2 = R0[K0('IsBakeOutModeOn')] (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('IsEnlist')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 32
  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 R1 eq R2   -> -130542
  0015  JMP       (jump)   -> 31
  0016  SELF      R2 = R0[K2('GetState')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0019  GETTABLE  R2 = R2[K5('Ended')]
  0020  EQ        if R0 eq R2   -> -130536
  0021  JMP       (jump)   -> 30
  0022  GETTABUP  R1 = _ENV[K6('GM')]
  0023  GETTABLE  R1 = R1[K7('GameModel')]
  0024  SELF      R2 = R1[K8('GetServerTime')] (self)
  0025  CALL      R1 = call(R1, 1 args, 1 rets)
  0026  SELF      R3 = R0[K9('_GetUploadTokenFinishedTime')] (self)
  0027  CALL      R2 = call(R2, 1 args, 1 rets)
  0028  LT        if R1 lt R2   -> -130528
  0029  JMP       (jump)   -> 31
  0030  LOADBOOL  R1 = false
  0031  LOADBOOL  R1 = true
  0032  RETURN    return R1..R0
  0033  RETURN    return R0..R-1
; ---------- proto11 [OnMainTaskFinished] ----------
  ; fn ?  line 200-207 np=1 va=0 ms=4 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='IsBakeOutModeOn'
  ;   K[1]='event'
  ;   K[2]='Call'
  ;   K[3]='BakeOutEventType'
  ;   K[4]='StateChanged'
  ;   K[5]='GM'
  ;   K[6]='HeartBeatManager'
  ;   K[7]='TrySchedule'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  SELF      R2 = R0[K0('IsBakeOutModeOn')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 13
  0004  GETTABLE  R1 = R0[K1('event')]
  0005  SELF      R2 = R1[K2('Call')] (self)
  0006  GETTABUP  R3 = _ENV[K3('BakeOutEventType')]
  0007  GETTABLE  R3 = R3[K4('StateChanged')]
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABUP  R1 = _ENV[K5('GM')]
  0010  GETTABLE  R1 = R1[K6('HeartBeatManager')]
  0011  SELF      R2 = R1[K7('TrySchedule')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto12 [OnLoginFinished] ----------
  ; fn ?  line 210-229 np=2 va=0 ms=8 code=50 consts=21 upvals=1 protos=0
  ;   K[0]='m_arrFinalRankInfos'
  ;   K[1]=nil
  ;   K[2]='bSuccess'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='IsEnlist'
  ;   K[7]='m_config'
  ;   K[8]='rTime'
  ;   K[9]='_GetRetainFinishedTime'
  ;   K[10]='_GetGroupId'
  ;   K[11]=''
  ;   K[12]='OnActivityFinished'
  ;   K[13]='HasAcquiredReward'
  ;   K[14]='BIManager'
  ;   K[15]='LogErrorInfo'
  ;   K[16]='EBIType'
  ;   K[17]='BakeOutGetRewardsError'
  ;   K[18]="can't get bakeout info after rTime at id "
  ;   K[19]='id'
  ;   K[20]='_ClearActivity'
  ;   upvals: _ENV
  ;   locals: self(0-50), msg(0-50), serverTime(10-49)
  0000  GETTABLE  R2 = R0[K0('m_arrFinalRankInfos')]
  0001  EQ        if R0 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 49
  0003  GETTABLE  R2 = R1[K2('bSuccess')]
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 49
  0006  GETTABUP  R2 = _ENV[K3('GM')]
  0007  GETTABLE  R2 = R2[K4('GameModel')]
  0008  SELF      R3 = R2[K5('GetServerTime')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SELF      R4 = R0[K6('IsEnlist')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  TEST      if not R3 then   -> -131058
  0013  JMP       (jump)   -> 49
  0014  GETTABLE  R3 = R0[K7('m_config')]
  0015  EQ        if R1 eq K1(nil)   -> -129262
  0016  JMP       (jump)   -> 49
  0017  GETTABLE  R3 = R0[K7('m_config')]
  0018  GETTABLE  R3 = R3[K8('rTime')]
  0019  LT        if R0 lt R2   -> -129513
  0020  JMP       (jump)   -> 49
  0021  SELF      R4 = R0[K9('_GetRetainFinishedTime')] (self)
  0022  CALL      R3 = call(R3, 1 args, 1 rets)
  0023  LE        if R0 le R3   -> -130020
  0024  JMP       (jump)   -> 32
  0025  SELF      R4 = R0[K10('_GetGroupId')] (self)
  0026  CALL      R3 = call(R3, 1 args, 1 rets)
  0027  EQ        if R1 eq K11('')   -> -129240
  0028  JMP       (jump)   -> 32
  0029  SELF      R4 = R0[K12('OnActivityFinished')] (self)
  0030  CALL      R3 = call(R3, 0 args, 1 rets)
  0031  JMP       (jump)   -> 49
  0032  SELF      R4 = R0[K13('HasAcquiredReward')] (self)
  0033  CALL      R3 = call(R3, 1 args, 1 rets)
  0034  TEST      if not R3 then   -> -131035
  0035  JMP       (jump)   -> 46
  0036  GETTABUP  R3 = _ENV[K3('GM')]
  0037  GETTABLE  R3 = R3[K14('BIManager')]
  0038  SELF      R4 = R3[K15('LogErrorInfo')] (self)
  0039  GETTABUP  R5 = _ENV[K16('EBIType')]
  0040  GETTABLE  R5 = R5[K17('BakeOutGetRewardsError')]
  0041  LOADK     R6 = K18 "can't get bakeout info after rTime at id "
  0042  GETTABLE  R7 = R0[K7('m_config')]
  0043  GETTABLE  R7 = R7[K19('id')]
  0044  CONCAT    R6 = concat(R6..R6)
  0045  CALL      R3 = call(R3, 0 args, 3 rets)
  0046  SELF      R4 = R0[K20('_ClearActivity')] (self)
  0047  LOADBOOL  R5 = true
  0048  CALL      R3 = call(R3, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
; ---------- proto13 [OnChangeGameMode] ----------
  ; fn ?  line 231-236 np=1 va=0 ms=3 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Board'
  ;   K[5]='CanHeartBeat'
  ;   K[6]='_HeartBeatOnNextFrame'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Board')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 14
  0008  SELF      R2 = R0[K5('CanHeartBeat')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  SELF      R2 = R0[K6('_HeartBeatOnNextFrame')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
; ---------- proto14 [_Reset] ----------
  ; fn ?  line 238-250 np=1 va=0 ms=2 code=13 consts=11 upvals=0 protos=0
  ;   K[0]='m_arrFinalRankInfos'
  ;   K[1]=nil
  ;   K[2]='m_cachedConfig'
  ;   K[3]='m_bIsSendingRequest'
  ;   K[4]='m_arrGetBakeOutRankCallback'
  ;   K[5]='m_config'
  ;   K[6]='m_bInActivityFinishedRequest'
  ;   K[7]='m_arrLastRankDatas'
  ;   K[8]='m_bExchangeCoinFree'
  ;   K[9]='m_bAddedResultWindowToChain'
  ;   K[10]='m_bActivityFinishRequested'
  ;   locals: self(0-13)
  0000  SETTABLE  R0[K0('m_arrFinalRankInfos')] = K1(nil)
  0001  SETTABLE  R0[K2('m_cachedConfig')] = K1(nil)
  0002  SETTABLE  R0[K3('m_bIsSendingRequest')] = K1(nil)
  0003  NEWTABLE  R1 = {} (0 items)
  0004  SETTABLE  R0[K4('m_arrGetBakeOutRankCallback')] = R1
  0005  SETTABLE  R0[K5('m_config')] = K1(nil)
  0006  SETTABLE  R0[K6('m_bInActivityFinishedRequest')] = K1(nil)
  0007  SETTABLE  R0[K3('m_bIsSendingRequest')] = K1(nil)
  0008  SETTABLE  R0[K7('m_arrLastRankDatas')] = K1(nil)
  0009  SETTABLE  R0[K8('m_bExchangeCoinFree')] = K1(nil)
  0010  SETTABLE  R0[K9('m_bAddedResultWindowToChain')] = K1(nil)
  0011  SETTABLE  R0[K10('m_bActivityFinishRequested')] = K1(nil)
  0012  RETURN    return R0..R-1
; ---------- proto15 [_ClearActivity] ----------
  ; fn ?  line 253-260 np=2 va=0 ms=5 code=14 consts=7 upvals=1 protos=0
  ;   K[0]='_Reset'
  ;   K[1]='_DropData'
  ;   K[2]='LoadServerConfig'
  ;   K[3]='event'
  ;   K[4]='Call'
  ;   K[5]='BakeOutEventType'
  ;   K[6]='StateChanged'
  ;   upvals: _ENV
  ;   locals: self(0-14), reloadConfig(0-14)
  0000  SELF      R3 = R0[K0('_Reset')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  SELF      R3 = R0[K1('_DropData')] (self)
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  SELF      R3 = R0[K2('LoadServerConfig')] (self)
  0007  CALL      R2 = call(R2, 0 args, 1 rets)
  0008  GETTABLE  R2 = R0[K3('event')]
  0009  SELF      R3 = R2[K4('Call')] (self)
  0010  GETTABUP  R4 = _ENV[K5('BakeOutEventType')]
  0011  GETTABLE  R4 = R4[K6('StateChanged')]
  0012  CALL      R2 = call(R2, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
; ---------- proto16 [IsBakeOutModeOn] ----------
  ; fn ?  line 264-289 np=1 va=0 ms=4 code=68 consts=17 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='m_bLateInit'
  ;   K[3]='HasActivityFinished'
  ;   K[4]='GetState'
  ;   K[5]='ActivityState'
  ;   K[6]='Preparing'
  ;   K[7]='IsStateReliable'
  ;   K[8]='IsEnlist'
  ;   K[9]='CanEnlist'
  ;   K[10]='Started'
  ;   K[11]='IsAllFinished'
  ;   K[12]='Released'
  ;   K[13]='GM'
  ;   K[14]='GameModel'
  ;   K[15]='GetServerTime'
  ;   K[16]='_GetRetainFinishedTime'
  ;   upvals: _ENV
  ;   locals: self(0-68)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 20
  0003  GETTABLE  R1 = R0[K2('m_bLateInit')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 20
  0006  SELF      R2 = R0[K3('HasActivityFinished')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 20
  0010  SELF      R2 = R0[K4('GetState')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  GETTABUP  R2 = _ENV[K5('ActivityState')]
  0013  GETTABLE  R2 = R2[K6('Preparing')]
  0014  EQ        if R1 eq R2   -> -130542
  0015  JMP       (jump)   -> 20
  0016  SELF      R2 = R0[K7('IsStateReliable')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131051
  0019  JMP       (jump)   -> 22
  0020  LOADBOOL  R1 = false
  0021  RETURN    return R1..R0
  0022  SELF      R2 = R0[K8('IsEnlist')] (self)
  0023  CALL      R1 = call(R1, 1 args, 1 rets)
  0024  TEST      if not R1 then   -> -131045
  0025  JMP       (jump)   -> 32
  0026  SELF      R2 = R0[K9('CanEnlist')] (self)
  0027  CALL      R1 = call(R1, 1 args, 1 rets)
  0028  TEST      if not R1 then   -> -131041
  0029  JMP       (jump)   -> 32
  0030  LOADBOOL  R1 = false
  0031  RETURN    return R1..R0
  0032  SELF      R2 = R0[K8('IsEnlist')] (self)
  0033  CALL      R1 = call(R1, 1 args, 1 rets)
  0034  TEST      if not R1 then   -> -131036
  0035  JMP       (jump)   -> 48
  0036  SELF      R2 = R0[K4('GetState')] (self)
  0037  CALL      R1 = call(R1, 1 args, 1 rets)
  0038  GETTABUP  R2 = _ENV[K5('ActivityState')]
  0039  GETTABLE  R2 = R2[K10('Started')]
  0040  EQ        if R0 eq R2   -> -130516
  0041  JMP       (jump)   -> 48
  0042  SELF      R2 = R0[K11('IsAllFinished')] (self)
  0043  CALL      R1 = call(R1, 1 args, 1 rets)
  0044  TEST      if not R1 then   -> -131025
  0045  JMP       (jump)   -> 48
  0046  LOADBOOL  R1 = false
  0047  RETURN    return R1..R0
  0048  SELF      R2 = R0[K4('GetState')] (self)
  0049  LOADBOOL  R3 = false
  0050  CALL      R1 = call(R1, 1 args, 2 rets)
  0051  GETTABUP  R2 = _ENV[K5('ActivityState')]
  0052  GETTABLE  R2 = R2[K12('Released')]
  0053  EQ        if R0 eq R2   -> -130503
  0054  JMP       (jump)   -> 65
  0055  GETTABUP  R1 = _ENV[K13('GM')]
  0056  GETTABLE  R1 = R1[K14('GameModel')]
  0057  SELF      R2 = R1[K15('GetServerTime')] (self)
  0058  CALL      R1 = call(R1, 1 args, 1 rets)
  0059  SELF      R3 = R0[K16('_GetRetainFinishedTime')] (self)
  0060  CALL      R2 = call(R2, 1 args, 1 rets)
  0061  LT        if R0 lt R1   -> -129984
  0062  JMP       (jump)   -> 65
  0063  LOADBOOL  R1 = false
  0064  RETURN    return R1..R0
  0065  LOADBOOL  R1 = true
  0066  RETURN    return R1..R0
  0067  RETURN    return R0..R-1
; ---------- proto17 [IsAllFinished] ----------
  ; fn ?  line 291-293 np=1 va=0 ms=3 code=15 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='MainBoardModel'
  ;   K[2]='GetOrderModel'
  ;   K[3]='IsAllCanUnlockGroupFinished'
  ;   K[4]='TaskManager'
  ;   K[5]='CanFinishOngoingTask'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('MainBoardModel')]
  0002  SELF      R2 = R1[K2('GetOrderModel')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  SELF      R2 = R1[K3('IsAllCanUnlockGroupFinished')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 13
  0008  GETTABUP  R1 = _ENV[K0('GM')]
  0009  GETTABLE  R1 = R1[K4('TaskManager')]
  0010  SELF      R2 = R1[K5('CanFinishOngoingTask')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  NOT       R1 = not R0
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto18 [CanAcquireToken] ----------
  ; fn ?  line 296-299 np=1 va=0 ms=4 code=22 consts=6 upvals=1 protos=0
  ;   K[0]='IsBakeOutModeOn'
  ;   K[1]='IsEnlist'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='CanEnlist'
  ;   upvals: _ENV
  ;   locals: self(0-22), modeOn(2-22)
  0000  SELF      R2 = R0[K0('IsBakeOutModeOn')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TESTSET   if R0 then R2   -> -130556
  0003  JMP       (jump)   -> 19
  0004  SELF      R3 = R0[K1('IsEnlist')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  TEST      if not R2 then   -> -131064
  0007  JMP       (jump)   -> 14
  0008  SELF      R3 = R0[K2('GetState')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABUP  R3 = _ENV[K3('ActivityState')]
  0011  GETTABLE  R3 = R3[K4('Started')]
  0012  EQ        if R1 eq R3   -> -130031
  0013  JMP       (jump)   -> 18
  0014  SELF      R3 = R0[K5('CanEnlist')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  JMP       (jump)   -> 19
  0017  LOADBOOL  R2 = false
  0018  LOADBOOL  R2 = true
  0019  MOVE      R3 = R0
  0020  RETURN    return R2..R1
  0021  RETURN    return R0..R-1
; ---------- proto19 [CanAcquireReward] ----------
  ; fn ?  line 302-304 np=1 va=0 ms=4 code=23 consts=8 upvals=1 protos=0
  ;   K[0]='IsEnlist'
  ;   K[1]='GetToken'
  ;   K[2]=0
  ;   K[3]='GetState'
  ;   K[4]='ActivityState'
  ;   K[5]='Released'
  ;   K[6]='GetFinalRankInfos'
  ;   K[7]=nil
  ;   upvals: _ENV
  ;   locals: self(0-23)
  0000  SELF      R2 = R0[K0('IsEnlist')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 21
  0004  SELF      R2 = R0[K1('GetToken')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  LT        if R0 lt R1   -> 1033
  0007  JMP       (jump)   -> 19
  0008  SELF      R2 = R0[K3('GetState')] (self)
  0009  LOADBOOL  R3 = false
  0010  CALL      R1 = call(R1, 1 args, 2 rets)
  0011  GETTABUP  R2 = _ENV[K4('ActivityState')]
  0012  GETTABLE  R2 = R2[K5('Released')]
  0013  EQ        if R0 eq R2   -> -130543
  0014  JMP       (jump)   -> 19
  0015  SELF      R2 = R0[K6('GetFinalRankInfos')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  EQ        if R0 eq K7(nil)   -> -130278
  0018  JMP       (jump)   -> 20
  0019  LOADBOOL  R1 = false
  0020  LOADBOOL  R1 = true
  0021  RETURN    return R1..R0
  0022  RETURN    return R0..R-1
; ---------- proto20 [FinishActivity] ----------
  ; fn ?  line 306-308 np=1 va=0 ms=6 code=7 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='FinishActivity'
  ;   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('FinishActivity')]
  0003  GETUPVAL  R4 = DBKey
  0004  LOADK     R5 = K3 1
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto21 [HasActivityFinished] ----------
  ; fn ?  line 310-312 np=1 va=0 ms=5 code=11 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='FinishActivity'
  ;   K[3]=1
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('FinishActivity')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R1 eq K3(1)   -> -130294
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto22 [SetRewardAcquired] ----------
  ; fn ?  line 314-316 np=1 va=0 ms=6 code=7 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='RewardAcquired'
  ;   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('RewardAcquired')]
  0003  GETUPVAL  R4 = DBKey
  0004  LOADK     R5 = K3 1
  0005  CALL      R1 = call(R1, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto23 [HasAcquiredReward] ----------
  ; fn ?  line 318-320 np=1 va=0 ms=5 code=11 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='RewardAcquired'
  ;   K[3]=1
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('RewardAcquired')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R1 eq K3(1)   -> -130294
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto24 [SetLastIncremNum] ----------
  ; fn ?  line 322-324 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastIncremNum'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), num(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('LastIncremNum')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto25 [GetLastIncremNum] ----------
  ; fn ?  line 326-328 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastIncremNum'
  ;   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('LastIncremNum')]
  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
; ---------- proto26 [OnCheckResourcesFinished] ----------
  ; fn ?  line 330-335 np=1 va=0 ms=5 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='CanAcquireToken'
  ;   K[1]='GetBakeOutRanks'
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('CanAcquireToken')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 8
  0004  SELF      R2 = R0[K1('GetBakeOutRanks')] (self)
  0005  LOADNIL   R3..R3 = nil
  0006  LOADBOOL  R4 = false
  0007  CALL      R1 = call(R1, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
; ---------- proto27 [UpdatePerSecond] ----------
  ; fn ?  line 337-367 np=1 va=0 ms=7 code=84 consts=35 upvals=1 protos=0
  ;   K[0]='m_bLateInit'
  ;   K[1]='GameConfig'
  ;   K[2]='IsTestMode'
  ;   K[3]='Log'
  ;   K[4]='Error'
  ;   K[5]='BakeOutModel:UpdatePerSecond before m_bLateInit !!!'
  ;   K[6]='_UpdateState'
  ;   K[7]='GetState'
  ;   K[8]='ActivityState'
  ;   K[9]='Released'
  ;   K[10]='GM'
  ;   K[11]='GameModel'
  ;   K[12]='GetServerTime'
  ;   K[13]='_GetRetainFinishedTime'
  ;   K[14]='GetFinalRankInfos'
  ;   K[15]='OnActivityFinished'
  ;   K[16]='CanAcquireToken'
  ;   K[17]='m_lastCanAcquireToken'
  ;   K[18]='IsStateReliable'
  ;   K[19]='MainBoardModel'
  ;   K[20]='GetOrderModel'
  ;   K[21]='RemoveBakeOutOrders'
  ;   K[22]='Info'
  ;   K[23]='BakeOut CanAcquireToken changed:'
  ;   K[24]='tostring'
  ;   K[25]='m_lastModeOn'
  ;   K[26]='event'
  ;   K[27]='Call'
  ;   K[28]='BakeOutEventType'
  ;   K[29]='ModeChanged'
  ;   K[30]='EventDispatcher'
  ;   K[31]='DispatchEvent'
  ;   K[32]='EEventType'
  ;   K[33]='BakeOutModeChanged'
  ;   K[34]='BakeOut ModeOn changed:'
  ;   upvals: _ENV
  ;   locals: self(0-84), canAcquireToken(37-84), curModeOn(37-84), mainOrderModel(50-52)
  0000  GETTABLE  R1 = R0[K0('m_bLateInit')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 12
  0003  GETTABUP  R1 = _ENV[K1('GameConfig')]
  0004  GETTABLE  R1 = R1[K2('IsTestMode')]
  0005  CALL      R1 = call(R1, 1 args, 0 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 12
  0008  GETTABUP  R1 = _ENV[K3('Log')]
  0009  GETTABLE  R1 = R1[K4('Error')]
  0010  LOADK     R2 = K5 'BakeOutModel:UpdatePerSecond before m_bLateInit !!!'
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  SELF      R2 = R0[K6('_UpdateState')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  SELF      R2 = R0[K7('GetState')] (self)
  0015  LOADBOOL  R3 = false
  0016  CALL      R1 = call(R1, 1 args, 2 rets)
  0017  GETTABUP  R2 = _ENV[K8('ActivityState')]
  0018  GETTABLE  R2 = R2[K9('Released')]
  0019  EQ        if R0 eq R2   -> -130537
  0020  JMP       (jump)   -> 35
  0021  GETTABUP  R1 = _ENV[K10('GM')]
  0022  GETTABLE  R1 = R1[K11('GameModel')]
  0023  SELF      R2 = R1[K12('GetServerTime')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  SELF      R3 = R0[K13('_GetRetainFinishedTime')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  LE        if R0 le R2   -> -130529
  0028  JMP       (jump)   -> 35
  0029  SELF      R2 = R0[K14('GetFinalRankInfos')] (self)
  0030  CALL      R1 = call(R1, 1 args, 1 rets)
  0031  TEST      if not R1 then   -> -131039
  0032  JMP       (jump)   -> 35
  0033  SELF      R2 = R0[K15('OnActivityFinished')] (self)
  0034  CALL      R1 = call(R1, 0 args, 1 rets)
  0035  SELF      R2 = R0[K16('CanAcquireToken')] (self)
  0036  CALL      R1 = call(R1, 2 args, 1 rets)
  0037  GETTABLE  R3 = R0[K17('m_lastCanAcquireToken')]
  0038  EQ        if R1 eq R1   -> -129495
  0039  JMP       (jump)   -> 61
  0040  TEST      if not R1 then   -> -131029
  0041  JMP       (jump)   -> 52
  0042  SELF      R4 = R0[K18('IsStateReliable')] (self)
  0043  CALL      R3 = call(R3, 1 args, 1 rets)
  0044  TEST      if not R3 then   -> -131026
  0045  JMP       (jump)   -> 52
  0046  GETTABUP  R3 = _ENV[K10('GM')]
  0047  GETTABLE  R3 = R3[K19('MainBoardModel')]
  0048  SELF      R4 = R3[K20('GetOrderModel')] (self)
  0049  CALL      R3 = call(R3, 1 args, 1 rets)
  0050  SELF      R5 = R3[K21('RemoveBakeOutOrders')] (self)
  0051  CALL      R4 = call(R4, 0 args, 1 rets)
  0052  SETTABLE  R0[K17('m_lastCanAcquireToken')] = R1
  0053  GETTABUP  R3 = _ENV[K3('Log')]
  0054  GETTABLE  R3 = R3[K22('Info')]
  0055  LOADK     R4 = K23 'BakeOut CanAcquireToken changed:'
  0056  GETTABUP  R5 = _ENV[K24('tostring')]
  0057  MOVE      R6 = R0
  0058  CALL      R5 = call(R5, 1 args, 1 rets)
  0059  CONCAT    R4 = concat(R4..R4)
  0060  CALL      R3 = call(R3, 0 args, 1 rets)
  0061  GETTABLE  R3 = R0[K25('m_lastModeOn')]
  0062  EQ        if R1 eq R2   -> -129470
  0063  JMP       (jump)   -> 83
  0064  GETTABLE  R3 = R0[K26('event')]
  0065  SELF      R4 = R3[K27('Call')] (self)
  0066  GETTABUP  R5 = _ENV[K28('BakeOutEventType')]
  0067  GETTABLE  R5 = R5[K29('ModeChanged')]
  0068  CALL      R3 = call(R3, 0 args, 2 rets)
  0069  GETTABUP  R3 = _ENV[K30('EventDispatcher')]
  0070  GETTABLE  R3 = R3[K31('DispatchEvent')]
  0071  GETTABUP  R4 = _ENV[K32('EEventType')]
  0072  GETTABLE  R4 = R4[K33('BakeOutModeChanged')]
  0073  CALL      R3 = call(R3, 0 args, 1 rets)
  0074  SETTABLE  R0[K25('m_lastModeOn')] = R2
  0075  GETTABUP  R3 = _ENV[K3('Log')]
  0076  GETTABLE  R3 = R3[K22('Info')]
  0077  LOADK     R4 = K34 'BakeOut ModeOn changed:'
  0078  GETTABUP  R5 = _ENV[K24('tostring')]
  0079  MOVE      R6 = R0
  0080  CALL      R5 = call(R5, 1 args, 1 rets)
  0081  CONCAT    R4 = concat(R4..R4)
  0082  CALL      R3 = call(R3, 0 args, 1 rets)
  0083  RETURN    return R0..R-1
; ---------- proto28 [LoadServerConfig] ----------
  ; fn ?  line 370-395 np=1 va=0 ms=5 code=37 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ConfigModel'
  ;   K[2]='GetServerConfig'
  ;   K[3]='m_type'
  ;   K[4]=nil
  ;   K[5]='m_cachedConfig'
  ;   K[6]='_LoadConfig'
  ;   K[7]='id'
  ;   upvals: _ENV
  ;   locals: self(0-37), config(5-37)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ConfigModel')]
  0002  SELF      R2 = R1[K2('GetServerConfig')] (self)
  0003  GETTABLE  R3 = R0[K3('m_type')]
  0004  CALL      R1 = call(R1, 1 args, 2 rets)
  0005  EQ        if R0 eq K4(nil)   -> -130293
  0006  JMP       (jump)   -> 17
  0007  GETTABLE  R2 = R0[K5('m_cachedConfig')]
  0008  EQ        if R1 eq K4(nil)   -> -129778
  0009  JMP       (jump)   -> 14
  0010  SELF      R3 = R0[K6('_LoadConfig')] (self)
  0011  GETTABLE  R4 = R0[K5('m_cachedConfig')]
  0012  CALL      R2 = call(R2, 0 args, 2 rets)
  0013  JMP       (jump)   -> 36
  0014  SELF      R3 = R0[K6('_LoadConfig')] (self)
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  JMP       (jump)   -> 36
  0017  GETTABLE  R2 = R0[K5('m_cachedConfig')]
  0018  EQ        if R0 eq K4(nil)   -> -129768
  0019  JMP       (jump)   -> 24
  0020  SELF      R3 = R0[K6('_LoadConfig')] (self)
  0021  MOVE      R4 = R0
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  JMP       (jump)   -> 36
  0024  GETTABLE  R2 = R1[K7('id')]
  0025  GETTABLE  R3 = R0[K5('m_cachedConfig')]
  0026  GETTABLE  R3 = R3[K7('id')]
  0027  EQ        if R1 eq R3   -> -130016
  0028  JMP       (jump)   -> 33
  0029  SELF      R3 = R0[K6('_LoadConfig')] (self)
  0030  GETTABLE  R4 = R0[K5('m_cachedConfig')]
  0031  CALL      R2 = call(R2, 0 args, 2 rets)
  0032  JMP       (jump)   -> 36
  0033  SELF      R3 = R0[K6('_LoadConfig')] (self)
  0034  MOVE      R4 = R0
  0035  CALL      R2 = call(R2, 0 args, 2 rets)
  0036  RETURN    return R0..R-1
; ---------- proto29 [_LoadConfig] ----------
  ; fn ?  line 397-432 np=2 va=0 ms=10 code=118 consts=36 upvals=5 protos=0
  ;   K[0]=nil
  ;   K[1]='m_config'
  ;   K[2]='m_cachedConfig'
  ;   K[3]='GM'
  ;   K[4]='ConfigModel'
  ;   K[5]='GetServerConfigMD5'
  ;   K[6]='ActivityType'
  ;   K[7]='BakeOut'
  ;   K[8]=''
  ;   K[9]='m_dbTable'
  ;   K[10]='GetValue'
  ;   K[11]='CachedDataMD5'
  ;   K[12]='Set'
  ;   K[13]='CachedData'
  ;   K[14]='json'
  ;   K[15]='encode'
  ;   K[16]='Misc'
  ;   K[17]=1
  ;   K[18]='DelayTime'
  ;   K[19]='DelayedGetRewardTime'
  ;   K[20]='MathUtil'
  ;   K[21]='Random'
  ;   K[22]='BIManager'
  ;   K[23]='LogAction'
  ;   K[24]='EBIType'
  ;   K[25]='BakeOutRandomDelayTime'
  ;   K[26]='cur'
  ;   K[27]='rand'
  ;   K[28]='id'
  ;   K[29]='sTime'
  ;   K[30]='eTime'
  ;   K[31]='rTime'
  ;   K[32]='_LoadOtherServerConfig'
  ;   K[33]='_CheckId'
  ;   K[34]='_UpdateState'
  ;   K[35]='_TryForceMuteDownloadResource'
  ;   upvals: _ENV, DBKey, DBColumnValue, BakeOutConfigKey, BakeOutMiscKey
  ;   locals: self(0-118), config(0-118), configMD5(13-94), curDelayTime(61-93), randomDelayTime(78-93)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 4
  0002  SETTABLE  R0[K1('m_config')] = K0(nil)
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R2 = R0[K2('m_cachedConfig')]
  0005  EQ        if R1 eq R1   -> -130040
  0006  JMP       (jump)   -> 94
  0007  GETTABUP  R2 = _ENV[K3('GM')]
  0008  GETTABLE  R2 = R2[K4('ConfigModel')]
  0009  SELF      R3 = R2[K5('GetServerConfigMD5')] (self)
  0010  GETTABUP  R4 = _ENV[K6('ActivityType')]
  0011  GETTABLE  R4 = R4[K7('BakeOut')]
  0012  CALL      R2 = call(R2, 1 args, 2 rets)
  0013  EQ        if R1 eq K8('')   -> -129769
  0014  JMP       (jump)   -> 94
  0015  GETTABLE  R3 = R0[K2('m_cachedConfig')]
  0016  EQ        if R1 eq K0(nil)   -> -129262
  0017  JMP       (jump)   -> 25
  0018  GETTABLE  R3 = R0[K9('m_dbTable')]
  0019  SELF      R4 = R3[K10('GetValue')] (self)
  0020  GETTABUP  R5 = DBKey[K11('CachedDataMD5')]
  0021  GETUPVAL  R6 = _ENV
  0022  CALL      R3 = call(R3, 1 args, 3 rets)
  0023  EQ        if R1 eq R2   -> -129509
  0024  JMP       (jump)   -> 94
  0025  GETTABLE  R3 = R0[K9('m_dbTable')]
  0026  SELF      R4 = R3[K12('Set')] (self)
  0027  GETTABUP  R5 = DBKey[K13('CachedData')]
  0028  GETUPVAL  R6 = _ENV
  0029  GETTABUP  R7 = _ENV[K14('json')]
  0030  GETTABLE  R7 = R7[K15('encode')]
  0031  MOVE      R8 = R0
  0032  CALL      R7 = call(R7, -1 args, 1 rets)
  0033  CALL      R3 = call(R3, 0 args, -1 rets)
  0034  GETTABLE  R3 = R0[K9('m_dbTable')]
  0035  SELF      R4 = R3[K12('Set')] (self)
  0036  GETTABUP  R5 = DBKey[K11('CachedDataMD5')]
  0037  GETUPVAL  R6 = _ENV
  0038  MOVE      R7 = R0
  0039  CALL      R3 = call(R3, 0 args, 4 rets)
  0040  GETTABLE  R3 = R0[K2('m_cachedConfig')]
  0041  EQ        if R1 eq K0(nil)   -> -129237
  0042  JMP       (jump)   -> 56
  0043  GETTABUP  R3 = BakeOutConfigKey[K16('Misc')]
  0044  GETTABLE  R3 = R1[R3]
  0045  GETTABLE  R3 = R3[K17(1)]
  0046  GETTABUP  R4 = BakeOutMiscKey[K18('DelayTime')]
  0047  GETTABLE  R3 = R3[R4]
  0048  GETTABLE  R4 = R0[K2('m_cachedConfig')]
  0049  GETTABUP  R5 = BakeOutConfigKey[K16('Misc')]
  0050  GETTABLE  R4 = R4[R5]
  0051  GETTABLE  R4 = R4[K17(1)]
  0052  GETTABUP  R5 = BakeOutMiscKey[K18('DelayTime')]
  0053  GETTABLE  R4 = R4[R5]
  0054  EQ        if R1 eq R4   -> -129476
  0055  JMP       (jump)   -> 93
  0056  GETTABLE  R3 = R0[K9('m_dbTable')]
  0057  SELF      R4 = R3[K10('GetValue')] (self)
  0058  GETTABUP  R5 = DBKey[K19('DelayedGetRewardTime')]
  0059  GETUPVAL  R6 = _ENV
  0060  CALL      R3 = call(R3, 1 args, 3 rets)
  0061  EQ        if R1 eq K0(nil)   -> -129217
  0062  JMP       (jump)   -> 70
  0063  GETTABUP  R4 = BakeOutConfigKey[K16('Misc')]
  0064  GETTABLE  R4 = R1[R4]
  0065  GETTABLE  R4 = R4[K17(1)]
  0066  GETTABUP  R5 = BakeOutMiscKey[K18('DelayTime')]
  0067  GETTABLE  R4 = R4[R5]
  0068  LT        if R0 lt R3   -> -128951
  0069  JMP       (jump)   -> 93
  0070  GETTABUP  R4 = _ENV[K20('MathUtil')]
  0071  GETTABLE  R4 = R4[K21('Random')]
  0072  GETTABUP  R5 = BakeOutConfigKey[K16('Misc')]
  0073  GETTABLE  R5 = R1[R5]
  0074  GETTABLE  R5 = R5[K17(1)]
  0075  GETTABUP  R6 = BakeOutMiscKey[K18('DelayTime')]
  0076  GETTABLE  R5 = R5[R6]
  0077  CALL      R4 = call(R4, 1 args, 1 rets)
  0078  GETTABLE  R5 = R0[K9('m_dbTable')]
  0079  SELF      R6 = R5[K12('Set')] (self)
  0080  GETTABUP  R7 = DBKey[K19('DelayedGetRewardTime')]
  0081  GETUPVAL  R8 = _ENV
  0082  MOVE      R9 = R0
  0083  CALL      R5 = call(R5, 0 args, 4 rets)
  0084  GETTABUP  R5 = _ENV[K3('GM')]
  0085  GETTABLE  R5 = R5[K22('BIManager')]
  0086  SELF      R6 = R5[K23('LogAction')] (self)
  0087  GETTABUP  R7 = _ENV[K24('EBIType')]
  0088  GETTABLE  R7 = R7[K25('BakeOutRandomDelayTime')]
  0089  NEWTABLE  R8 = {} (0 items)
  0090  SETTABLE  R8[K26('cur')] = R3
  0091  SETTABLE  R8[K27('rand')] = R4
  0092  CALL      R5 = call(R5, 0 args, 3 rets)
  0093  SETTABLE  R0[K2('m_cachedConfig')] = R1
  0094  NEWTABLE  R2 = {} (0 items)
  0095  SETTABLE  R0[K1('m_config')] = R2
  0096  GETTABLE  R2 = R0[K1('m_config')]
  0097  GETTABLE  R3 = R1[K28('id')]
  0098  SETTABLE  R2[K28('id')] = R3
  0099  GETTABLE  R2 = R0[K1('m_config')]
  0100  GETTABLE  R3 = R1[K29('sTime')]
  0101  SETTABLE  R2[K29('sTime')] = R3
  0102  GETTABLE  R2 = R0[K1('m_config')]
  0103  GETTABLE  R3 = R1[K30('eTime')]
  0104  SETTABLE  R2[K30('eTime')] = R3
  0105  GETTABLE  R2 = R0[K1('m_config')]
  0106  GETTABLE  R3 = R1[K31('rTime')]
  0107  SETTABLE  R2[K31('rTime')] = R3
  0108  SELF      R3 = R0[K32('_LoadOtherServerConfig')] (self)
  0109  MOVE      R4 = R0
  0110  CALL      R2 = call(R2, 0 args, 2 rets)
  0111  SELF      R3 = R0[K33('_CheckId')] (self)
  0112  CALL      R2 = call(R2, 0 args, 1 rets)
  0113  SELF      R3 = R0[K34('_UpdateState')] (self)
  0114  CALL      R2 = call(R2, 0 args, 1 rets)
  0115  SELF      R3 = R0[K35('_TryForceMuteDownloadResource')] (self)
  0116  CALL      R2 = call(R2, 0 args, 1 rets)
  0117  RETURN    return R0..R-1
; ---------- proto30 [_UpdateState] ----------
  ; fn ?  line 434-477 np=1 va=0 ms=6 code=157 consts=37 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_UpdateState'
  ;   K[2]='m_config'
  ;   K[3]=nil
  ;   K[4]='IsStateReliable'
  ;   K[5]='IsEnlist'
  ;   K[6]='GetToken'
  ;   K[7]=0
  ;   K[8]='GetState'
  ;   K[9]='ActivityState'
  ;   K[10]='Ended'
  ;   K[11]='HasWindowOpenedOnce'
  ;   K[12]='m_state'
  ;   K[13]='_OnSettlement'
  ;   K[14]='Released'
  ;   K[15]='GM'
  ;   K[16]='GameModel'
  ;   K[17]='GetServerTime'
  ;   K[18]='_GetRetainFinishedTime'
  ;   K[19]='ConfigModel'
  ;   K[20]='GetServerConfig'
  ;   K[21]='m_type'
  ;   K[22]='_ClearActivity'
  ;   K[23]='id'
  ;   K[24]='OnActivityFinished'
  ;   K[25]='Started'
  ;   K[26]='OnReadyStart'
  ;   K[27]='HasActivityFinished'
  ;   K[28]='SetRewardAcquired'
  ;   K[29]='FinishActivity'
  ;   K[30]='SceneManager'
  ;   K[31]='GetGameMode'
  ;   K[32]='EGameMode'
  ;   K[33]='Loading'
  ;   K[34]='SetWindowOpened'
  ;   K[35]='TryUpdateHint'
  ;   K[36]='rTime'
  ;   upvals: _ENV
  ;   locals: self(0-157), config(54-65), config(145-156)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_UpdateState')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_config')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 156
  0007  SELF      R2 = R0[K4('IsStateReliable')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 156
  0011  SELF      R2 = R0[K5('IsEnlist')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 76
  0015  SELF      R2 = R0[K6('GetToken')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  LT        if R0 lt R1   -> 3604
  0018  JMP       (jump)   -> 76
  0019  SELF      R2 = R0[K8('GetState')] (self)
  0020  LOADBOOL  R3 = false
  0021  CALL      R1 = call(R1, 1 args, 2 rets)
  0022  GETTABUP  R2 = _ENV[K9('ActivityState')]
  0023  GETTABLE  R2 = R2[K10('Ended')]
  0024  EQ        if R0 eq R2   -> -130532
  0025  JMP       (jump)   -> 34
  0026  SELF      R2 = R0[K11('HasWindowOpenedOnce')] (self)
  0027  GETTABLE  R3 = R0[K12('m_state')]
  0028  CALL      R1 = call(R1, 1 args, 2 rets)
  0029  TEST      if not R1 then   -> -131040
  0030  JMP       (jump)   -> 34
  0031  SELF      R2 = R0[K13('_OnSettlement')] (self)
  0032  CALL      R1 = call(R1, 0 args, 1 rets)
  0033  JMP       (jump)   -> 156
  0034  SELF      R2 = R0[K8('GetState')] (self)
  0035  LOADBOOL  R3 = false
  0036  CALL      R1 = call(R1, 1 args, 2 rets)
  0037  GETTABUP  R2 = _ENV[K9('ActivityState')]
  0038  GETTABLE  R2 = R2[K14('Released')]
  0039  EQ        if R0 eq R2   -> -130517
  0040  JMP       (jump)   -> 156
  0041  GETTABUP  R1 = _ENV[K15('GM')]
  0042  GETTABLE  R1 = R1[K16('GameModel')]
  0043  SELF      R2 = R1[K17('GetServerTime')] (self)
  0044  CALL      R1 = call(R1, 1 args, 1 rets)
  0045  SELF      R3 = R0[K18('_GetRetainFinishedTime')] (self)
  0046  CALL      R2 = call(R2, 1 args, 1 rets)
  0047  LT        if R0 lt R1   -> -129998
  0048  JMP       (jump)   -> 66
  0049  GETTABUP  R1 = _ENV[K15('GM')]
  0050  GETTABLE  R1 = R1[K19('ConfigModel')]
  0051  SELF      R2 = R1[K20('GetServerConfig')] (self)
  0052  GETTABLE  R3 = R0[K21('m_type')]
  0053  CALL      R1 = call(R1, 1 args, 2 rets)
  0054  SELF      R3 = R0[K22('_ClearActivity')] (self)
  0055  EQ        if R1 eq K3(nil)   -> -130244
  0056  JMP       (jump)   -> 62
  0057  GETTABLE  R4 = R1[K23('id')]
  0058  GETTABLE  R5 = R0[K2('m_config')]
  0059  GETTABLE  R5 = R5[K23('id')]
  0060  EQ        if R0 eq R5   -> -128957
  0061  JMP       (jump)   -> 63
  0062  LOADBOOL  R4 = false
  0063  LOADBOOL  R4 = true
  0064  CALL      R2 = call(R2, 0 args, 2 rets)
  0065  JMP       (jump)   -> 156
  0066  SELF      R2 = R0[K11('HasWindowOpenedOnce')] (self)
  0067  SELF      R4 = R0[K8('GetState')] (self)
  0068  LOADBOOL  R5 = false
  0069  CALL      R3 = call(R3, -1 args, 2 rets)
  0070  CALL      R1 = call(R1, 1 args, -1 rets)
  0071  TEST      if not R1 then   -> -130998
  0072  JMP       (jump)   -> 156
  0073  SELF      R2 = R0[K24('OnActivityFinished')] (self)
  0074  CALL      R1 = call(R1, 0 args, 1 rets)
  0075  JMP       (jump)   -> 156
  0076  SELF      R2 = R0[K8('GetState')] (self)
  0077  LOADBOOL  R3 = false
  0078  CALL      R1 = call(R1, 1 args, 2 rets)
  0079  GETTABUP  R2 = _ENV[K9('ActivityState')]
  0080  GETTABLE  R2 = R2[K25('Started')]
  0081  EQ        if R0 eq R2   -> -130475
  0082  JMP       (jump)   -> 91
  0083  SELF      R2 = R0[K11('HasWindowOpenedOnce')] (self)
  0084  GETTABLE  R3 = R0[K12('m_state')]
  0085  CALL      R1 = call(R1, 1 args, 2 rets)
  0086  TEST      if not R1 then   -> -130983
  0087  JMP       (jump)   -> 156
  0088  SELF      R2 = R0[K26('OnReadyStart')] (self)
  0089  CALL      R1 = call(R1, 0 args, 1 rets)
  0090  JMP       (jump)   -> 156
  0091  SELF      R2 = R0[K8('GetState')] (self)
  0092  LOADBOOL  R3 = false
  0093  CALL      R1 = call(R1, 1 args, 2 rets)
  0094  GETTABUP  R2 = _ENV[K9('ActivityState')]
  0095  GETTABLE  R2 = R2[K14('Released')]
  0096  EQ        if R1 eq R2   -> -130460
  0097  JMP       (jump)   -> 105
  0098  SELF      R2 = R0[K8('GetState')] (self)
  0099  LOADBOOL  R3 = false
  0100  CALL      R1 = call(R1, 1 args, 2 rets)
  0101  GETTABUP  R2 = _ENV[K9('ActivityState')]
  0102  GETTABLE  R2 = R2[K10('Ended')]
  0103  EQ        if R0 eq R2   -> -130453
  0104  JMP       (jump)   -> 156
  0105  SELF      R2 = R0[K27('HasActivityFinished')] (self)
  0106  CALL      R1 = call(R1, 1 args, 1 rets)
  0107  TEST      if not R1 then   -> -130962
  0108  JMP       (jump)   -> 132
  0109  SELF      R2 = R0[K28('SetRewardAcquired')] (self)
  0110  CALL      R1 = call(R1, 0 args, 1 rets)
  0111  SELF      R2 = R0[K29('FinishActivity')] (self)
  0112  CALL      R1 = call(R1, 0 args, 1 rets)
  0113  SELF      R2 = R0[K11('HasWindowOpenedOnce')] (self)
  0114  SELF      R4 = R0[K8('GetState')] (self)
  0115  LOADBOOL  R5 = false
  0116  CALL      R3 = call(R3, -1 args, 2 rets)
  0117  CALL      R1 = call(R1, 1 args, -1 rets)
  0118  TEST      if not R1 then   -> -130951
  0119  JMP       (jump)   -> 130
  0120  GETTABUP  R1 = _ENV[K15('GM')]
  0121  GETTABLE  R1 = R1[K30('SceneManager')]
  0122  SELF      R2 = R1[K31('GetGameMode')] (self)
  0123  CALL      R1 = call(R1, 1 args, 1 rets)
  0124  GETTABUP  R2 = _ENV[K32('EGameMode')]
  0125  GETTABLE  R2 = R2[K33('Loading')]
  0126  EQ        if R1 eq R2   -> -130430
  0127  JMP       (jump)   -> 130
  0128  SELF      R2 = R0[K34('SetWindowOpened')] (self)
  0129  CALL      R1 = call(R1, 0 args, 1 rets)
  0130  SELF      R2 = R0[K35('TryUpdateHint')] (self)
  0131  CALL      R1 = call(R1, 0 args, 1 rets)
  0132  GETTABUP  R1 = _ENV[K15('GM')]
  0133  GETTABLE  R1 = R1[K16('GameModel')]
  0134  SELF      R2 = R1[K17('GetServerTime')] (self)
  0135  CALL      R1 = call(R1, 1 args, 1 rets)
  0136  GETTABLE  R2 = R0[K2('m_config')]
  0137  GETTABLE  R2 = R2[K36('rTime')]
  0138  LT        if R0 lt R1   -> -129907
  0139  JMP       (jump)   -> 156
  0140  GETTABUP  R1 = _ENV[K15('GM')]
  0141  GETTABLE  R1 = R1[K19('ConfigModel')]
  0142  SELF      R2 = R1[K20('GetServerConfig')] (self)
  0143  GETTABLE  R3 = R0[K21('m_type')]
  0144  CALL      R1 = call(R1, 1 args, 2 rets)
  0145  SELF      R3 = R0[K22('_ClearActivity')] (self)
  0146  EQ        if R1 eq K3(nil)   -> -130153
  0147  JMP       (jump)   -> 153
  0148  GETTABLE  R4 = R1[K23('id')]
  0149  GETTABLE  R5 = R0[K2('m_config')]
  0150  GETTABLE  R5 = R5[K23('id')]
  0151  EQ        if R0 eq R5   -> -128866
  0152  JMP       (jump)   -> 154
  0153  LOADBOOL  R4 = false
  0154  LOADBOOL  R4 = true
  0155  CALL      R2 = call(R2, 0 args, 2 rets)
  0156  RETURN    return R0..R-1
; ---------- proto31 [NeedCheckResource] ----------
  ; fn ?  line 479-481 np=1 va=0 ms=3 code=17 consts=5 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='m_bLateInit'
  ;   K[3]='IsEnlist'
  ;   K[4]='CanEnlist'
  ;   locals: self(0-17)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 13
  0003  GETTABLE  R1 = R0[K2('m_bLateInit')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 15
  0006  SELF      R2 = R0[K3('IsEnlist')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 15
  0010  SELF      R2 = R0[K4('CanEnlist')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  JMP       (jump)   -> 15
  0013  LOADBOOL  R1 = false
  0014  LOADBOOL  R1 = true
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
; ---------- proto32 [_CalculateState] ----------
  ; fn ?  line 489-504 np=1 va=0 ms=5 code=46 consts=13 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='ActivityState'
  ;   K[3]='Released'
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='sTime'
  ;   K[8]='Preparing'
  ;   K[9]='eTime'
  ;   K[10]='Started'
  ;   K[11]='_GetSettlementFinishedTime'
  ;   K[12]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-46), serverTime(11-46)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABUP  R1 = _ENV[K2('ActivityState')]
  0004  GETTABLE  R1 = R1[K3('Released')]
  0005  LOADNIL   R2..R2 = nil
  0006  RETURN    return R1..R0
  0007  GETTABUP  R1 = _ENV[K4('GM')]
  0008  GETTABLE  R1 = R1[K5('GameModel')]
  0009  SELF      R2 = R1[K6('GetServerTime')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  GETTABLE  R2 = R0[K0('m_config')]
  0012  GETTABLE  R2 = R2[K7('sTime')]
  0013  LT        if R0 lt R2   -> -130543
  0014  JMP       (jump)   -> 21
  0015  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0016  GETTABLE  R2 = R2[K8('Preparing')]
  0017  GETTABLE  R3 = R0[K0('m_config')]
  0018  GETTABLE  R3 = R3[K7('sTime')]
  0019  RETURN    return R2..R1
  0020  JMP       (jump)   -> 45
  0021  GETTABLE  R2 = R0[K0('m_config')]
  0022  GETTABLE  R2 = R2[K9('eTime')]
  0023  LT        if R0 lt R2   -> -130533
  0024  JMP       (jump)   -> 31
  0025  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0026  GETTABLE  R2 = R2[K10('Started')]
  0027  GETTABLE  R3 = R0[K0('m_config')]
  0028  GETTABLE  R3 = R3[K9('eTime')]
  0029  RETURN    return R2..R1
  0030  JMP       (jump)   -> 45
  0031  SELF      R3 = R0[K11('_GetSettlementFinishedTime')] (self)
  0032  CALL      R2 = call(R2, 1 args, 1 rets)
  0033  LT        if R0 lt R2   -> -130523
  0034  JMP       (jump)   -> 41
  0035  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0036  GETTABLE  R2 = R2[K12('Ended')]
  0037  SELF      R4 = R0[K11('_GetSettlementFinishedTime')] (self)
  0038  CALL      R3 = call(R3, -1 args, 1 rets)
  0039  RETURN    return R2..R1
  0040  JMP       (jump)   -> 45
  0041  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0042  GETTABLE  R2 = R2[K3('Released')]
  0043  LOADNIL   R3..R3 = nil
  0044  RETURN    return R2..R1
  0045  RETURN    return R0..R-1
; ---------- proto33 [_GetSettlementFinishedTime] ----------
  ; fn ?  line 507-512 np=1 va=0 ms=8 code=31 consts=13 upvals=4 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='math'
  ;   K[4]='min'
  ;   K[5]='rTime'
  ;   K[6]='eTime'
  ;   K[7]='_GetMiscConfig'
  ;   K[8]='UploadTime'
  ;   K[9]='SettlementTime'
  ;   K[10]='m_dbTable'
  ;   K[11]='GetValue'
  ;   K[12]='DelayedGetRewardTime'
  ;   upvals: _ENV, BakeOutMiscKey, DBKey, DBColumnValue
  ;   locals: self(0-31)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADK     R1 = K2 0
  0004  RETURN    return R1..R0
  0005  GETTABUP  R1 = _ENV[K3('math')]
  0006  GETTABLE  R1 = R1[K4('min')]
  0007  GETTABLE  R2 = R0[K0('m_config')]
  0008  GETTABLE  R2 = R2[K5('rTime')]
  0009  GETTABLE  R3 = R0[K0('m_config')]
  0010  GETTABLE  R3 = R3[K6('eTime')]
  0011  SELF      R5 = R0[K7('_GetMiscConfig')] (self)
  0012  GETTABUP  R6 = BakeOutMiscKey[K8('UploadTime')]
  0013  CALL      R4 = call(R4, 1 args, 2 rets)
  0014  ADD       R3 = R4 add R3
  0015  SELF      R5 = R0[K7('_GetMiscConfig')] (self)
  0016  GETTABUP  R6 = BakeOutMiscKey[K9('SettlementTime')]
  0017  CALL      R4 = call(R4, 1 args, 2 rets)
  0018  ADD       R3 = R4 add R3
  0019  GETTABLE  R4 = R0[K10('m_dbTable')]
  0020  SELF      R5 = R4[K11('GetValue')] (self)
  0021  GETTABUP  R6 = DBKey[K12('DelayedGetRewardTime')]
  0022  GETUPVAL  R7 = _ENV
  0023  CALL      R4 = call(R4, 1 args, 3 rets)
  0024  TEST      if not R4 then   -> -131045
  0025  JMP       (jump)   -> 27
  0026  LOADK     R4 = K2 0
  0027  ADD       R3 = R4 add R3
  0028  TAILCALL  tailcall(R1, 0)
  0029  RETURN    return R1..R0
  0030  RETURN    return R0..R-1
; ---------- proto34 [_GetUploadTokenFinishedTime] ----------
  ; fn ?  line 515-517 np=1 va=0 ms=7 code=13 consts=7 upvals=2 protos=0
  ;   K[0]='math'
  ;   K[1]='min'
  ;   K[2]='m_config'
  ;   K[3]='rTime'
  ;   K[4]='eTime'
  ;   K[5]='_GetMiscConfig'
  ;   K[6]='UploadTime'
  ;   upvals: _ENV, BakeOutMiscKey
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('math')]
  0001  GETTABLE  R1 = R1[K1('min')]
  0002  GETTABLE  R2 = R0[K2('m_config')]
  0003  GETTABLE  R2 = R2[K3('rTime')]
  0004  GETTABLE  R3 = R0[K2('m_config')]
  0005  GETTABLE  R3 = R3[K4('eTime')]
  0006  SELF      R5 = R0[K5('_GetMiscConfig')] (self)
  0007  GETTABUP  R6 = BakeOutMiscKey[K6('UploadTime')]
  0008  CALL      R4 = call(R4, 1 args, 2 rets)
  0009  ADD       R3 = R4 add R3
  0010  TAILCALL  tailcall(R1, 0)
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto35 [_GetRetainFinishedTime] ----------
  ; fn ?  line 520-525 np=1 va=0 ms=5 code=13 consts=6 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='rTime'
  ;   K[4]='_GetMiscConfig'
  ;   K[5]='RetainTime'
  ;   upvals: BakeOutMiscKey
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADK     R1 = K2 0
  0004  RETURN    return R1..R0
  0005  GETTABLE  R1 = R0[K0('m_config')]
  0006  GETTABLE  R1 = R1[K3('rTime')]
  0007  SELF      R3 = R0[K4('_GetMiscConfig')] (self)
  0008  GETTABUP  R4 = BakeOutMiscKey[K5('RetainTime')]
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  ADD       R1 = R2 add R1
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto36 [OnReadyStart] ----------
  ; fn ?  line 528-538 np=1 va=0 ms=5 code=38 consts=16 upvals=1 protos=0
  ;   K[0]='IsEnlist'
  ;   K[1]='IsBakeOutModeOn'
  ;   K[2]='HasWindowOpenedOnce'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='GetState'
  ;   K[6]='SetWindowOpened'
  ;   K[7]='m_arrWaitingOpenWindow'
  ;   K[8]=1
  ;   K[9]='name'
  ;   K[10]='UIPrefabConfigName'
  ;   K[11]='BakeOutReadyWindow'
  ;   K[12]='event'
  ;   K[13]='Call'
  ;   K[14]='BakeOutEventType'
  ;   K[15]='NeedOpenWindow'
  ;   upvals: _ENV
  ;   locals: self(0-38)
  0000  SELF      R2 = R0[K0('IsEnlist')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 14
  0004  SELF      R2 = R0[K1('IsBakeOutModeOn')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  TEST      if not R1 then   -> -131064
  0007  JMP       (jump)   -> 14
  0008  SELF      R2 = R0[K2('HasWindowOpenedOnce')] (self)
  0009  GETTABUP  R3 = _ENV[K3('ActivityState')]
  0010  GETTABLE  R3 = R3[K4('Started')]
  0011  CALL      R1 = call(R1, 1 args, 2 rets)
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 15
  0014  RETURN    return R0..R-1
  0015  SELF      R2 = R0[K5('GetState')] (self)
  0016  CALL      R1 = call(R1, 1 args, 1 rets)
  0017  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0018  GETTABLE  R2 = R2[K4('Started')]
  0019  EQ        if R0 eq R2   -> -130537
  0020  JMP       (jump)   -> 23
  0021  SELF      R2 = R0[K6('SetWindowOpened')] (self)
  0022  CALL      R1 = call(R1, 0 args, 1 rets)
  0023  GETTABLE  R1 = R0[K7('m_arrWaitingOpenWindow')]
  0024  GETTABLE  R2 = R0[K7('m_arrWaitingOpenWindow')]
  0025  LEN       R2 = len R0
  0026  ADD       R2 = K8(1) add R2
  0027  NEWTABLE  R3 = {} (0 items)
  0028  GETTABUP  R4 = _ENV[K10('UIPrefabConfigName')]
  0029  GETTABLE  R4 = R4[K11('BakeOutReadyWindow')]
  0030  SETTABLE  R3[K9('name')] = R4
  0031  SETTABLE  R1[R2] = R3
  0032  GETTABLE  R1 = R0[K12('event')]
  0033  SELF      R2 = R1[K13('Call')] (self)
  0034  GETTABUP  R3 = _ENV[K14('BakeOutEventType')]
  0035  GETTABLE  R3 = R3[K15('NeedOpenWindow')]
  0036  CALL      R1 = call(R1, 0 args, 2 rets)
  0037  RETURN    return R0..R-1
; ---------- proto37 [_OnSettlement] ----------
  ; fn ?  line 541-577 np=1 va=0 ms=5 code=72 consts=30 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Loading'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='m_config'
  ;   K[8]='eTime'
  ;   K[9]=30
  ;   K[10]='DelayExecuteFunc'
  ;   K[11]='GM'
  ;   K[12]='UserModel'
  ;   K[13]='GetUserId'
  ;   K[14]='GameModel'
  ;   K[15]='Login'
  ;   K[16]='CanHeartBeat'
  ;   K[17]='GetBakeOutRanks'
  ;   K[18]='Main'
  ;   K[19]='SetWindowOpened'
  ;   K[20]='event'
  ;   K[21]='Call'
  ;   K[22]='BakeOutEventType'
  ;   K[23]='StateChanged'
  ;   K[24]='m_arrWaitingOpenWindow'
  ;   K[25]=1
  ;   K[26]='name'
  ;   K[27]='UIPrefabConfigName'
  ;   K[28]='BakeOutInSettlementWindow'
  ;   K[29]='NeedOpenWindow'
  ;   upvals: _ENV
  ;   locals: self(0-72)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Loading')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R1 = _ENV[K0('GM')]
  0010  GETTABLE  R1 = R1[K5('GameModel')]
  0011  SELF      R2 = R1[K6('GetServerTime')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  GETTABLE  R2 = R0[K7('m_config')]
  0014  GETTABLE  R2 = R2[K8('eTime')]
  0015  ADD       R2 = K9(30) add R2
  0016  LE        if R0 le R2   -> -130540
  0017  JMP       (jump)   -> 27
  0018  GETTABUP  R1 = _ENV[K10('DelayExecuteFunc')]
  0019  CLOSURE   R2 = closure proto0
  0020  GETTABUP  R3 = _ENV[K11('GM')]
  0021  GETTABLE  R3 = R3[K12('UserModel')]
  0022  SELF      R4 = R3[K13('GetUserId')] (self)
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  MOD       R3 = K9(30) mod R3
  0025  CALL      R1 = call(R1, 0 args, 2 rets)
  0026  JMP       (jump)   -> 39
  0027  GETTABUP  R1 = _ENV[K11('GM')]
  0028  GETTABLE  R1 = R1[K14('GameModel')]
  0029  SELF      R2 = R1[K15('Login')] (self)
  0030  CALL      R1 = call(R1, 0 args, 1 rets)
  0031  SELF      R2 = R0[K16('CanHeartBeat')] (self)
  0032  CALL      R1 = call(R1, 1 args, 1 rets)
  0033  TEST      if not R1 then   -> -131037
  0034  JMP       (jump)   -> 39
  0035  SELF      R2 = R0[K17('GetBakeOutRanks')] (self)
  0036  LOADNIL   R3..R3 = nil
  0037  LOADBOOL  R4 = false
  0038  CALL      R1 = call(R1, 0 args, 3 rets)
  0039  GETTABUP  R1 = _ENV[K11('GM')]
  0040  GETTABLE  R1 = R1[K1('SceneManager')]
  0041  SELF      R2 = R1[K2('GetGameMode')] (self)
  0042  CALL      R1 = call(R1, 1 args, 1 rets)
  0043  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0044  GETTABLE  R2 = R2[K18('Main')]
  0045  EQ        if R0 eq R2   -> -130511
  0046  JMP       (jump)   -> 50
  0047  SELF      R2 = R0[K19('SetWindowOpened')] (self)
  0048  CALL      R1 = call(R1, 0 args, 1 rets)
  0049  RETURN    return R0..R-1
  0050  GETTABLE  R1 = R0[K20('event')]
  0051  SELF      R2 = R1[K21('Call')] (self)
  0052  GETTABUP  R3 = _ENV[K22('BakeOutEventType')]
  0053  GETTABLE  R3 = R3[K23('StateChanged')]
  0054  CALL      R1 = call(R1, 0 args, 2 rets)
  0055  SELF      R2 = R0[K19('SetWindowOpened')] (self)
  0056  CALL      R1 = call(R1, 0 args, 1 rets)
  0057  GETTABLE  R1 = R0[K24('m_arrWaitingOpenWindow')]
  0058  GETTABLE  R2 = R0[K24('m_arrWaitingOpenWindow')]
  0059  LEN       R2 = len R0
  0060  ADD       R2 = K25(1) add R2
  0061  NEWTABLE  R3 = {} (0 items)
  0062  GETTABUP  R4 = _ENV[K27('UIPrefabConfigName')]
  0063  GETTABLE  R4 = R4[K28('BakeOutInSettlementWindow')]
  0064  SETTABLE  R3[K26('name')] = R4
  0065  SETTABLE  R1[R2] = R3
  0066  GETTABLE  R1 = R0[K20('event')]
  0067  SELF      R2 = R1[K21('Call')] (self)
  0068  GETTABUP  R3 = _ENV[K22('BakeOutEventType')]
  0069  GETTABLE  R3 = R3[K29('NeedOpenWindow')]
  0070  CALL      R1 = call(R1, 0 args, 2 rets)
  0071  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 548-556 np=0 va=0 ms=4 code=23 consts=8 upvals=2 protos=0
    ;   K[0]='GetState'
    ;   K[1]='ActivityState'
    ;   K[2]='Ended'
    ;   K[3]='GM'
    ;   K[4]='GameModel'
    ;   K[5]='Login'
    ;   K[6]='CanHeartBeat'
    ;   K[7]='GetBakeOutRanks'
    ;   upvals: self, _ENV
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('GetState')] (self)
    0002  LOADBOOL  R2 = false
    0003  CALL      R0 = call(R0, 1 args, 2 rets)
    0004  GETTABUP  R1 = _ENV[K1('ActivityState')]
    0005  GETTABLE  R1 = R1[K2('Ended')]
    0006  EQ        if R0 eq R1   -> -131063
    0007  JMP       (jump)   -> 22
    0008  GETTABUP  R0 = _ENV[K3('GM')]
    0009  GETTABLE  R0 = R0[K4('GameModel')]
    0010  SELF      R1 = R0[K5('Login')] (self)
    0011  CALL      R0 = call(R0, 0 args, 1 rets)
    0012  GETUPVAL  R0 = self
    0013  SELF      R1 = R0[K6('CanHeartBeat')] (self)
    0014  CALL      R0 = call(R0, 1 args, 1 rets)
    0015  TEST      if not R0 then   -> -131055
    0016  JMP       (jump)   -> 22
    0017  GETUPVAL  R0 = self
    0018  SELF      R1 = R0[K7('GetBakeOutRanks')] (self)
    0019  LOADNIL   R2..R2 = nil
    0020  LOADBOOL  R3 = false
    0021  CALL      R0 = call(R0, 0 args, 3 rets)
    0022  RETURN    return R0..R-1
; ---------- proto38 [OnActivityFinished] ----------
  ; fn ?  line 580-638 np=2 va=0 ms=6 code=83 consts=36 upvals=1 protos=1
  ;   K[0]='m_bInActivityFinishedRequest'
  ;   K[1]='GM'
  ;   K[2]='SceneManager'
  ;   K[3]='GetGameMode'
  ;   K[4]='EGameMode'
  ;   K[5]='Loading'
  ;   K[6]='m_arrFinalRankInfos'
  ;   K[7]=nil
  ;   K[8]='HasWindowOpenedOnce'
  ;   K[9]='m_state'
  ;   K[10]='m_bAddedResultWindowToChain'
  ;   K[11]=true
  ;   K[12]='m_arrWaitingOpenWindow'
  ;   K[13]=1
  ;   K[14]='name'
  ;   K[15]='UIPrefabConfigName'
  ;   K[16]='BakeOutResultWindow'
  ;   K[17]='Main'
  ;   K[18]='event'
  ;   K[19]='Call'
  ;   K[20]='BakeOutEventType'
  ;   K[21]='NeedOpenWindow'
  ;   K[22]='m_bActivityFinishRequested'
  ;   K[23]='NetTimeStamp'
  ;   K[24]='Create'
  ;   K[25]='EBIType'
  ;   K[26]='NetworkCheckAction'
  ;   K[27]='StartBakeOut'
  ;   K[28]='BIManager'
  ;   K[29]='LogNet'
  ;   K[30]='UIManager'
  ;   K[31]='ShowTestPrompt'
  ;   K[32]='bakeout 发送结算请求'
  ;   K[33]='RedisMessage'
  ;   K[34]='QueryBakeOutRank'
  ;   K[35]='_GetGroupId'
  ;   upvals: _ENV
  ;   locals: self(0-83), userClick(0-83), startTime(63-83)
  0000  GETTABLE  R2 = R0[K0('m_bInActivityFinishedRequest')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R2 = _ENV[K1('GM')]
  0005  GETTABLE  R2 = R2[K2('SceneManager')]
  0006  SELF      R3 = R2[K3('GetGameMode')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  GETTABUP  R3 = _ENV[K4('EGameMode')]
  0009  GETTABLE  R3 = R3[K5('Loading')]
  0010  EQ        if R0 eq R3   -> -130033
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  GETTABLE  R2 = R0[K6('m_arrFinalRankInfos')]
  0014  EQ        if R1 eq K7(nil)   -> -129769
  0015  JMP       (jump)   -> 50
  0016  SELF      R3 = R0[K8('HasWindowOpenedOnce')] (self)
  0017  GETTABLE  R4 = R0[K9('m_state')]
  0018  CALL      R2 = call(R2, 1 args, 2 rets)
  0019  TEST      if not R2 then   -> -131050
  0020  JMP       (jump)   -> 49
  0021  GETTABLE  R2 = R0[K10('m_bAddedResultWindowToChain')]
  0022  EQ        if R1 eq K11(true)   -> -129757
  0023  JMP       (jump)   -> 49
  0024  SETTABLE  R0[K10('m_bAddedResultWindowToChain')] = K11(true)
  0025  GETTABLE  R2 = R0[K12('m_arrWaitingOpenWindow')]
  0026  GETTABLE  R3 = R0[K12('m_arrWaitingOpenWindow')]
  0027  LEN       R3 = len R0
  0028  ADD       R3 = K13(1) add R3
  0029  NEWTABLE  R4 = {} (0 items)
  0030  GETTABUP  R5 = _ENV[K15('UIPrefabConfigName')]
  0031  GETTABLE  R5 = R5[K16('BakeOutResultWindow')]
  0032  SETTABLE  R4[K14('name')] = R5
  0033  SETTABLE  R2[R3] = R4
  0034  GETTABUP  R2 = _ENV[K1('GM')]
  0035  GETTABLE  R2 = R2[K2('SceneManager')]
  0036  SELF      R3 = R2[K3('GetGameMode')] (self)
  0037  CALL      R2 = call(R2, 1 args, 1 rets)
  0038  GETTABUP  R3 = _ENV[K4('EGameMode')]
  0039  GETTABLE  R3 = R3[K17('Main')]
  0040  EQ        if R1 eq R3   -> -130003
  0041  JMP       (jump)   -> 44
  0042  TEST      if not R1 then   -> -131028
  0043  JMP       (jump)   -> 49
  0044  GETTABLE  R2 = R0[K18('event')]
  0045  SELF      R3 = R2[K19('Call')] (self)
  0046  GETTABUP  R4 = _ENV[K20('BakeOutEventType')]
  0047  GETTABLE  R4 = R4[K21('NeedOpenWindow')]
  0048  CALL      R2 = call(R2, 0 args, 2 rets)
  0049  RETURN    return R0..R-1
  0050  TEST      if not R1 then   -> -131019
  0051  JMP       (jump)   -> 56
  0052  GETTABLE  R2 = R0[K22('m_bActivityFinishRequested')]
  0053  TEST      if not R2 then   -> -131017
  0054  JMP       (jump)   -> 56
  0055  RETURN    return R0..R-1
  0056  SETTABLE  R0[K22('m_bActivityFinishRequested')] = K11(true)
  0057  GETTABUP  R2 = _ENV[K23('NetTimeStamp')]
  0058  GETTABLE  R2 = R2[K24('Create')]
  0059  GETTABUP  R3 = _ENV[K25('EBIType')]
  0060  GETTABLE  R3 = R3[K26('NetworkCheckAction')]
  0061  GETTABLE  R3 = R3[K27('StartBakeOut')]
  0062  CALL      R2 = call(R2, 1 args, 1 rets)
  0063  GETTABUP  R3 = _ENV[K1('GM')]
  0064  GETTABLE  R3 = R3[K28('BIManager')]
  0065  SELF      R4 = R3[K29('LogNet')] (self)
  0066  GETTABUP  R5 = _ENV[K25('EBIType')]
  0067  GETTABLE  R5 = R5[K26('NetworkCheckAction')]
  0068  GETTABLE  R5 = R5[K27('StartBakeOut')]
  0069  CALL      R3 = call(R3, 0 args, 2 rets)
  0070  SETTABLE  R0[K0('m_bInActivityFinishedRequest')] = K11(true)
  0071  GETTABUP  R3 = _ENV[K1('GM')]
  0072  GETTABLE  R3 = R3[K30('UIManager')]
  0073  SELF      R4 = R3[K31('ShowTestPrompt')] (self)
  0074  LOADK     R5 = K32 'bakeout 发送结算请求'
  0075  CALL      R3 = call(R3, 0 args, 2 rets)
  0076  GETTABUP  R3 = _ENV[K33('RedisMessage')]
  0077  GETTABLE  R3 = R3[K34('QueryBakeOutRank')]
  0078  SELF      R5 = R0[K35('_GetGroupId')] (self)
  0079  CALL      R4 = call(R4, 1 args, 1 rets)
  0080  CLOSURE   R5 = closure proto0
  0081  CALL      R3 = call(R3, 0 args, 2 rets)
  0082  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 615-637 np=3 va=0 ms=13 code=69 consts=24 upvals=4 protos=0
    ;   K[0]='m_bInActivityFinishedRequest'
    ;   K[1]=false
    ;   K[2]='EndAndGetDur'
    ;   K[3]='rcode'
    ;   K[4]=0
    ;   K[5]='ranks'
    ;   K[6]='_SetFinalRankInfos'
    ;   K[7]='OnActivityFinished'
    ;   K[8]='GM'
    ;   K[9]='BIManager'
    ;   K[10]='LogNet'
    ;   K[11]='EBIType'
    ;   K[12]='NetworkCheckAction'
    ;   K[13]='BakeOutSuccess'
    ;   K[14]='BakeOutFailed'
    ;   K[15]='UIManager'
    ;   K[16]='OpenView'
    ;   K[17]='UIPrefabConfigName'
    ;   K[18]='GeneralMsgWindow'
    ;   K[19]='GameTextModel'
    ;   K[20]='GetText'
    ;   K[21]='bakeout_offline_title'
    ;   K[22]='bakeout_offline_tip'
    ;   K[23]='bakeout_offline_button'
    ;   upvals: self, startTime, userClick, _ENV
    ;   locals: bSuccess(0-69), tbResp(0-69), reqCtx(0-69), timeInterval(4-69)
    0000  SETTABUP  self[K0('m_bInActivityFinishedRequest')] = K1(false)
    0001  GETUPVAL  R3 = self
    0002  SELF      R4 = R3[K2('EndAndGetDur')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  TEST      if not R0 then   -> -131066
    0005  JMP       (jump)   -> 32
    0006  GETTABLE  R4 = R1[K3('rcode')]
    0007  EQ        if R0 eq K4(0)   -> -128755
    0008  JMP       (jump)   -> 32
    0009  GETTABLE  R4 = R1[K5('ranks')]
    0010  LEN       R4 = len R0
    0011  LT        if R0 lt R4   -> 2065
    0012  JMP       (jump)   -> 32
    0013  GETUPVAL  R4 = self
    0014  SELF      R5 = R4[K6('_SetFinalRankInfos')] (self)
    0015  GETTABLE  R6 = R1[K5('ranks')]
    0016  CALL      R4 = call(R4, 0 args, 2 rets)
    0017  GETUPVAL  R4 = self
    0018  SELF      R5 = R4[K7('OnActivityFinished')] (self)
    0019  GETUPVAL  R6 = self
    0020  CALL      R4 = call(R4, 0 args, 2 rets)
    0021  GETTABUP  R4 = _ENV[K8('GM')]
    0022  GETTABLE  R4 = R4[K9('BIManager')]
    0023  SELF      R5 = R4[K10('LogNet')] (self)
    0024  GETTABUP  R6 = _ENV[K11('EBIType')]
    0025  GETTABLE  R6 = R6[K12('NetworkCheckAction')]
    0026  GETTABLE  R6 = R6[K13('BakeOutSuccess')]
    0027  LOADNIL   R7..R7 = nil
    0028  MOVE      R8 = R0
    0029  MOVE      R9 = R0
    0030  CALL      R4 = call(R4, 0 args, 5 rets)
    0031  JMP       (jump)   -> 68
    0032  GETTABUP  R4 = _ENV[K8('GM')]
    0033  GETTABLE  R4 = R4[K9('BIManager')]
    0034  SELF      R5 = R4[K10('LogNet')] (self)
    0035  GETTABUP  R6 = _ENV[K11('EBIType')]
    0036  GETTABLE  R6 = R6[K12('NetworkCheckAction')]
    0037  GETTABLE  R6 = R6[K14('BakeOutFailed')]
    0038  LOADNIL   R7..R7 = nil
    0039  MOVE      R8 = R0
    0040  MOVE      R9 = R0
    0041  CALL      R4 = call(R4, 0 args, 5 rets)
    0042  GETUPVAL  R4 = self
    0043  TEST      if not R4 then   -> -131027
    0044  JMP       (jump)   -> 68
    0045  GETTABUP  R4 = _ENV[K8('GM')]
    0046  GETTABLE  R4 = R4[K15('UIManager')]
    0047  SELF      R5 = R4[K16('OpenView')] (self)
    0048  GETTABUP  R6 = _ENV[K17('UIPrefabConfigName')]
    0049  GETTABLE  R6 = R6[K18('GeneralMsgWindow')]
    0050  GETTABUP  R7 = _ENV[K8('GM')]
    0051  GETTABLE  R7 = R7[K19('GameTextModel')]
    0052  SELF      R8 = R7[K20('GetText')] (self)
    0053  LOADK     R9 = K21 'bakeout_offline_title'
    0054  CALL      R7 = call(R7, 1 args, 2 rets)
    0055  GETTABUP  R8 = _ENV[K8('GM')]
    0056  GETTABLE  R8 = R8[K19('GameTextModel')]
    0057  SELF      R9 = R8[K20('GetText')] (self)
    0058  LOADK     R10 = K22 'bakeout_offline_tip'
    0059  CALL      R8 = call(R8, 1 args, 2 rets)
    0060  GETTABUP  R9 = _ENV[K8('GM')]
    0061  GETTABLE  R9 = R9[K19('GameTextModel')]
    0062  SELF      R10 = R9[K20('GetText')] (self)
    0063  LOADK     R11 = K23 'bakeout_offline_button'
    0064  CALL      R9 = call(R9, 1 args, 2 rets)
    0065  LOADNIL   R10..R10 = nil
    0066  LOADBOOL  R12 = true
    0067  CALL      R4 = call(R4, 0 args, 8 rets)
    0068  RETURN    return R0..R-1
; ---------- proto39 [AcquireReward] ----------
  ; fn ?  line 642-706 np=2 va=0 ms=11 code=90 consts=40 upvals=1 protos=1
  ;   K[0]='CanAcquireReward'
  ;   K[1]=nil
  ;   K[2]='GetCurRank'
  ;   K[3]='GetRankReward'
  ;   K[4]='rewards'
  ;   K[5]='Log'
  ;   K[6]='Error'
  ;   K[7]='Bakeout rank:'
  ;   K[8]='tostring'
  ;   K[9]=' 没有配置奖励'
  ;   K[10]='PROPERTY_TYPE'
  ;   K[11]='EPropertyType'
  ;   K[12]='Gem'
  ;   K[13]='PROPERTY_COUNT'
  ;   K[14]=1
  ;   K[15]='PROPERTY_CRYPT'
  ;   K[16]='Crypt'
  ;   K[17]='CryptCurrency'
  ;   K[18]='HasAcquiredReward'
  ;   K[19]='RewardApi'
  ;   K[20]='AcquireRewardsLogic'
  ;   K[21]='EPropertySource'
  ;   K[22]='Give'
  ;   K[23]='EBIType'
  ;   K[24]='BakeOutGetRewards'
  ;   K[25]='ERewardScene'
  ;   K[26]='Other'
  ;   K[27]='EGameMode'
  ;   K[28]='Board'
  ;   K[29]='CacheItemType'
  ;   K[30]='Stack'
  ;   K[31]='SetRewardAcquired'
  ;   K[32]='GM'
  ;   K[33]='DBTableManager'
  ;   K[34]='SaveAllWhenLateUpdate'
  ;   K[35]='UIManager'
  ;   K[36]='ShowMask'
  ;   K[37]='SyncModel'
  ;   K[38]='UploadData'
  ;   K[39]=nil
  ;   upvals: _ENV
  ;   locals: self(0-90), callback(0-90), rank(11-90), rewards(14-90)
  0000  SELF      R3 = R0[K0('CanAcquireReward')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 9
  0004  EQ        if R1 eq K1(nil)   -> -130297
  0005  JMP       (jump)   -> 8
  0006  MOVE      R2 = R0
  0007  CALL      R2 = call(R2, 0 args, 0 rets)
  0008  RETURN    return R0..R-1
  0009  SELF      R3 = R0[K2('GetCurRank')] (self)
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  SELF      R4 = R0[K3('GetRankReward')] (self)
  0012  MOVE      R5 = R0
  0013  CALL      R3 = call(R3, 1 args, 2 rets)
  0014  TEST      if not R3 then   -> -131056
  0015  JMP       (jump)   -> 19
  0016  GETTABLE  R4 = R3[K4('rewards')]
  0017  EQ        if R0 eq K1(nil)   -> -128748
  0018  JMP       (jump)   -> 46
  0019  GETTABUP  R4 = _ENV[K5('Log')]
  0020  GETTABLE  R4 = R4[K6('Error')]
  0021  LOADK     R5 = K7 'Bakeout rank:'
  0022  GETTABUP  R6 = _ENV[K8('tostring')]
  0023  MOVE      R7 = R0
  0024  CALL      R6 = call(R6, 1 args, 1 rets)
  0025  LOADK     R7 = K9 ' 没有配置奖励'
  0026  CONCAT    R5 = concat(R5..R5)
  0027  CALL      R4 = call(R4, 0 args, 1 rets)
  0028  NEWTABLE  R4 = {} (0 items)
  0029  MOVE      R3 = R0
  0030  NEWTABLE  R4 = {} (1 items)
  0031  NEWTABLE  R5 = {} (0 items)
  0032  GETTABUP  R6 = _ENV[K10('PROPERTY_TYPE')]
  0033  GETTABUP  R7 = _ENV[K11('EPropertyType')]
  0034  GETTABLE  R7 = R7[K12('Gem')]
  0035  SETTABLE  R5[R6] = R7
  0036  GETTABUP  R6 = _ENV[K13('PROPERTY_COUNT')]
  0037  SETTABLE  R5[R6] = K14(1)
  0038  GETTABUP  R6 = _ENV[K15('PROPERTY_CRYPT')]
  0039  GETTABUP  R7 = _ENV[K16('Crypt')]
  0040  GETTABLE  R7 = R7[K17('CryptCurrency')]
  0041  LOADK     R8 = K14 1
  0042  CALL      R7 = call(R7, 1 args, 1 rets)
  0043  SETTABLE  R5[R6] = R7
  0044  SETLIST   setlist R4[B=1,C=1]
  0045  SETTABLE  R3[K4('rewards')] = R4
  0046  EQ        if R1 eq K1(nil)   -> -129231
  0047  JMP       (jump)   -> 85
  0048  GETTABLE  R4 = R3[K4('rewards')]
  0049  EQ        if R1 eq K1(nil)   -> -128716
  0050  JMP       (jump)   -> 85
  0051  SELF      R5 = R0[K18('HasAcquiredReward')] (self)
  0052  CALL      R4 = call(R4, 1 args, 1 rets)
  0053  TEST      if not R4 then   -> -131016
  0054  JMP       (jump)   -> 71
  0055  GETTABUP  R4 = _ENV[K19('RewardApi')]
  0056  GETTABLE  R4 = R4[K20('AcquireRewardsLogic')]
  0057  GETTABLE  R5 = R3[K4('rewards')]
  0058  GETTABUP  R6 = _ENV[K21('EPropertySource')]
  0059  GETTABLE  R6 = R6[K22('Give')]
  0060  GETTABUP  R7 = _ENV[K23('EBIType')]
  0061  GETTABLE  R7 = R7[K24('BakeOutGetRewards')]
  0062  GETTABUP  R8 = _ENV[K25('ERewardScene')]
  0063  GETTABLE  R8 = R8[K26('Other')]
  0064  GETTABUP  R9 = _ENV[K27('EGameMode')]
  0065  GETTABLE  R9 = R9[K28('Board')]
  0066  GETTABUP  R10 = _ENV[K29('CacheItemType')]
  0067  GETTABLE  R10 = R10[K30('Stack')]
  0068  CALL      R4 = call(R4, 0 args, 6 rets)
  0069  SELF      R5 = R0[K31('SetRewardAcquired')] (self)
  0070  CALL      R4 = call(R4, 0 args, 1 rets)
  0071  GETTABUP  R4 = _ENV[K32('GM')]
  0072  GETTABLE  R4 = R4[K33('DBTableManager')]
  0073  SELF      R5 = R4[K34('SaveAllWhenLateUpdate')] (self)
  0074  CALL      R4 = call(R4, 0 args, 1 rets)
  0075  GETTABUP  R4 = _ENV[K32('GM')]
  0076  GETTABLE  R4 = R4[K35('UIManager')]
  0077  SELF      R5 = R4[K36('ShowMask')] (self)
  0078  CALL      R4 = call(R4, 0 args, 1 rets)
  0079  GETTABUP  R4 = _ENV[K32('GM')]
  0080  GETTABLE  R4 = R4[K37('SyncModel')]
  0081  SELF      R5 = R4[K38('UploadData')] (self)
  0082  CLOSURE   R6 = closure proto0
  0083  CALL      R4 = call(R4, 0 args, 2 rets)
  0084  JMP       (jump)   -> 89
  0085  EQ        if R1 eq K39(nil)   -> -130178
  0086  JMP       (jump)   -> 89
  0087  MOVE      R4 = R0
  0088  CALL      R4 = call(R4, 0 args, 0 rets)
  0089  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 672-700 np=1 va=0 ms=10 code=68 consts=23 upvals=4 protos=1
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='HideMask'
    ;   K[3]='GetFinalRankInfos'
    ;   K[4]='OpenViewWhenIdle'
    ;   K[5]='UIPrefabConfigName'
    ;   K[6]='BakeOutTopThreeWindow'
    ;   K[7]='GetId'
    ;   K[8]='FinishActivity'
    ;   K[9]='_ClearActivity'
    ;   K[10]='OpenView'
    ;   K[11]='AnimatedRewardWindow'
    ;   K[12]='rewards'
    ;   K[13]='rewards_window_title_normal'
    ;   K[14]='ERewardScene'
    ;   K[15]='Other'
    ;   K[16]='GeneralMsgWindow'
    ;   K[17]='GameTextModel'
    ;   K[18]='GetText'
    ;   K[19]='bakeout_offline_title'
    ;   K[20]='bakeout_collectfail_tip'
    ;   K[21]='bakeout_offline_button'
    ;   K[22]=nil
    ;   upvals: _ENV, self, rewards, callback
    ;   locals: bSuccess(0-68), finalRewards(9-37)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('HideMask')] (self)
    0003  CALL      R1 = call(R1, 0 args, 1 rets)
    0004  TEST      if not R0 then   -> -131066
    0005  JMP       (jump)   -> 38
    0006  GETUPVAL  R1 = _ENV
    0007  SELF      R2 = R1[K3('GetFinalRankInfos')] (self)
    0008  CALL      R1 = call(R1, 1 args, 1 rets)
    0009  GETTABUP  R2 = _ENV[K0('GM')]
    0010  GETTABLE  R2 = R2[K1('UIManager')]
    0011  SELF      R3 = R2[K4('OpenViewWhenIdle')] (self)
    0012  GETTABUP  R4 = _ENV[K5('UIPrefabConfigName')]
    0013  GETTABLE  R4 = R4[K6('BakeOutTopThreeWindow')]
    0014  MOVE      R5 = R0
    0015  GETUPVAL  R6 = _ENV
    0016  SELF      R7 = R6[K7('GetId')] (self)
    0017  CALL      R6 = call(R6, -1 args, 1 rets)
    0018  CALL      R2 = call(R2, 0 args, -1 rets)
    0019  GETUPVAL  R2 = _ENV
    0020  SELF      R3 = R2[K8('FinishActivity')] (self)
    0021  CALL      R2 = call(R2, 0 args, 1 rets)
    0022  GETUPVAL  R2 = _ENV
    0023  SELF      R3 = R2[K9('_ClearActivity')] (self)
    0024  LOADBOOL  R4 = true
    0025  CALL      R2 = call(R2, 0 args, 2 rets)
    0026  GETTABUP  R2 = _ENV[K0('GM')]
    0027  GETTABLE  R2 = R2[K1('UIManager')]
    0028  SELF      R3 = R2[K10('OpenView')] (self)
    0029  GETTABUP  R4 = _ENV[K5('UIPrefabConfigName')]
    0030  GETTABLE  R4 = R4[K11('AnimatedRewardWindow')]
    0031  GETTABUP  R5 = rewards[K12('rewards')]
    0032  LOADK     R6 = K13 'rewards_window_title_normal'
    0033  LOADBOOL  R7 = true
    0034  GETTABUP  R8 = _ENV[K14('ERewardScene')]
    0035  GETTABLE  R8 = R8[K15('Other')]
    0036  CALL      R2 = call(R2, 0 args, 6 rets)
    0037  JMP       (jump)   -> 62
    0038  GETTABUP  R1 = _ENV[K0('GM')]
    0039  GETTABLE  R1 = R1[K1('UIManager')]
    0040  SELF      R2 = R1[K10('OpenView')] (self)
    0041  GETTABUP  R3 = _ENV[K5('UIPrefabConfigName')]
    0042  GETTABLE  R3 = R3[K16('GeneralMsgWindow')]
    0043  GETTABUP  R4 = _ENV[K0('GM')]
    0044  GETTABLE  R4 = R4[K17('GameTextModel')]
    0045  SELF      R5 = R4[K18('GetText')] (self)
    0046  LOADK     R6 = K19 'bakeout_offline_title'
    0047  CALL      R4 = call(R4, 1 args, 2 rets)
    0048  GETTABUP  R5 = _ENV[K0('GM')]
    0049  GETTABLE  R5 = R5[K17('GameTextModel')]
    0050  SELF      R6 = R5[K18('GetText')] (self)
    0051  LOADK     R7 = K20 'bakeout_collectfail_tip'
    0052  CALL      R5 = call(R5, 1 args, 2 rets)
    0053  GETTABUP  R6 = _ENV[K0('GM')]
    0054  GETTABLE  R6 = R6[K17('GameTextModel')]
    0055  SELF      R7 = R6[K18('GetText')] (self)
    0056  LOADK     R8 = K21 'bakeout_offline_button'
    0057  CALL      R6 = call(R6, 1 args, 2 rets)
    0058  CLOSURE   R7 = closure proto0
    0059  LOADNIL   R8..R8 = nil
    0060  LOADBOOL  R9 = true
    0061  CALL      R1 = call(R1, 0 args, 8 rets)
    0062  GETUPVAL  R1 = _ENV
    0063  EQ        if R1 eq K22(nil)   -> -130217
    0064  JMP       (jump)   -> 67
    0065  GETUPVAL  R1 = _ENV
    0066  CALL      R1 = call(R1, 0 args, 0 rets)
    0067  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 690-692 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
      ;   K[0]='AcquireReward'
      ;   upvals: self
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('AcquireReward')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  RETURN    return R0..R-1
; ---------- proto40 [TryUpdateHint] ----------
  ; fn ?  line 709-734 np=1 va=0 ms=5 code=49 consts=16 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Loading'
  ;   K[5]='ConfigModel'
  ;   K[6]='GetServerConfig'
  ;   K[7]='m_type'
  ;   K[8]=nil
  ;   K[9]='m_config'
  ;   K[10]='id'
  ;   K[11]='IsAllFinished'
  ;   K[12]='UpdateHintModel'
  ;   K[13]='NeedOpenWindow'
  ;   K[14]='SetHasPopupWindow'
  ;   K[15]='OpenUpdateHintWindow'
  ;   upvals: _ENV
  ;   locals: self(0-49), config(14-49)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Loading')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 9
  0008  RETURN    return R0..R-1
  0009  GETTABUP  R1 = _ENV[K0('GM')]
  0010  GETTABLE  R1 = R1[K5('ConfigModel')]
  0011  SELF      R2 = R1[K6('GetServerConfig')] (self)
  0012  GETTABLE  R3 = R0[K7('m_type')]
  0013  CALL      R1 = call(R1, 1 args, 2 rets)
  0014  EQ        if R1 eq K8(nil)   -> -130280
  0015  JMP       (jump)   -> 25
  0016  GETTABLE  R2 = R0[K9('m_config')]
  0017  TEST      if not R2 then   -> -131053
  0018  JMP       (jump)   -> 25
  0019  GETTABLE  R2 = R1[K10('id')]
  0020  GETTABLE  R3 = R0[K9('m_config')]
  0021  GETTABLE  R3 = R3[K10('id')]
  0022  EQ        if R1 eq R3   -> -130021
  0023  JMP       (jump)   -> 25
  0024  RETURN    return R0..R-1
  0025  SELF      R3 = R0[K11('IsAllFinished')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  TEST      if not R2 then   -> -131042
  0028  JMP       (jump)   -> 30
  0029  RETURN    return R0..R-1
  0030  GETTABUP  R2 = _ENV[K0('GM')]
  0031  GETTABLE  R2 = R2[K12('UpdateHintModel')]
  0032  SELF      R3 = R2[K13('NeedOpenWindow')] (self)
  0033  LOADBOOL  R4 = true
  0034  CALL      R2 = call(R2, 1 args, 2 rets)
  0035  TEST      if not R2 then   -> -131034
  0036  JMP       (jump)   -> 38
  0037  RETURN    return R0..R-1
  0038  GETTABUP  R2 = _ENV[K0('GM')]
  0039  GETTABLE  R2 = R2[K12('UpdateHintModel')]
  0040  SELF      R3 = R2[K14('SetHasPopupWindow')] (self)
  0041  LOADBOOL  R4 = false
  0042  CALL      R2 = call(R2, 0 args, 2 rets)
  0043  GETTABUP  R2 = _ENV[K0('GM')]
  0044  GETTABLE  R2 = R2[K12('UpdateHintModel')]
  0045  SELF      R3 = R2[K15('OpenUpdateHintWindow')] (self)
  0046  LOADBOOL  R4 = true
  0047  CALL      R2 = call(R2, 0 args, 2 rets)
  0048  RETURN    return R0..R-1
; ---------- proto41 [GetFinalRankInfos] ----------
  ; fn ?  line 737-739 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrFinalRankInfos'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrFinalRankInfos')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto42 [_SetFinalRankInfos] ----------
  ; fn ?  line 742-749 np=2 va=0 ms=6 code=13 consts=6 upvals=0 protos=0
  ;   K[0]='m_arrFinalRankInfos'
  ;   K[1]='_SequenceRankDatas'
  ;   K[2]='GetOwnDataFromRanksData'
  ;   K[3]=nil
  ;   K[4]='UpdateCurRank'
  ;   K[5]='rank'
  ;   locals: self(0-13), arrRankInfos(0-13), rankData(7-13)
  0000  SETTABLE  R0[K0('m_arrFinalRankInfos')] = R1
  0001  SELF      R3 = R0[K1('_SequenceRankDatas')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  SELF      R3 = R0[K2('GetOwnDataFromRanksData')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 1 args, 2 rets)
  0007  EQ        if R1 eq K3(nil)   -> -129780
  0008  JMP       (jump)   -> 12
  0009  SELF      R4 = R0[K4('UpdateCurRank')] (self)
  0010  GETTABLE  R5 = R2[K5('rank')]
  0011  CALL      R3 = call(R3, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
; ---------- proto43 [_GetGroupId] ----------
  ; fn ?  line 751-753 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='GroupID'
  ;   K[3]=''
  ;   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('GroupID')]
  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 ''
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto44 [_SetGroupId] ----------
  ; fn ?  line 756-758 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='GroupID'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), groupId(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('GroupID')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto45 [_LoadMiscConfig] ----------
  ; fn ?  line 761-766 np=2 va=0 ms=6 code=18 consts=11 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='GM'
  ;   K[2]='BIManager'
  ;   K[3]='LogErrorInfo'
  ;   K[4]='EBIType'
  ;   K[5]='BakeOutConfigError'
  ;   K[6]='empty config in parameters'
  ;   K[7]='m_miscConfig'
  ;   K[8]=1
  ;   K[9]='Table'
  ;   K[10]='Empty'
  ;   upvals: _ENV
  ;   locals: self(0-18), config(0-18)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 9
  0002  GETTABUP  R2 = _ENV[K1('GM')]
  0003  GETTABLE  R2 = R2[K2('BIManager')]
  0004  SELF      R3 = R2[K3('LogErrorInfo')] (self)
  0005  GETTABUP  R4 = _ENV[K4('EBIType')]
  0006  GETTABLE  R4 = R4[K5('BakeOutConfigError')]
  0007  LOADK     R5 = K6 'empty config in parameters'
  0008  CALL      R2 = call(R2, 0 args, 3 rets)
  0009  TEST      if not R1 then   -> -131061
  0010  JMP       (jump)   -> 14
  0011  GETTABLE  R2 = R1[K8(1)]
  0012  TEST      if not R2 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  GETTABUP  R2 = _ENV[K9('Table')]
  0015  GETTABLE  R2 = R2[K10('Empty')]
  0016  SETTABLE  R0[K7('m_miscConfig')] = R2
  0017  RETURN    return R0..R-1
; ---------- proto46 [_GetMiscConfig] ----------
  ; fn ?  line 769-771 np=2 va=0 ms=3 code=10 consts=2 upvals=0 protos=0
  ;   K[0]='m_miscConfig'
  ;   K[1]=0
  ;   locals: self(0-10), miscConfigKey(0-10)
  0000  GETTABLE  R2 = R0[K0('m_miscConfig')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_miscConfig')]
  0004  GETTABLE  R2 = R2[R1]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R2 = K1 0
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto47 [GetMaxNumInGroup] ----------
  ; fn ?  line 774-776 np=1 va=0 ms=4 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='_GetMiscConfig'
  ;   K[1]='MaxNumInGroup'
  ;   upvals: BakeOutMiscKey
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_GetMiscConfig')] (self)
  0001  GETTABUP  R3 = BakeOutMiscKey[K1('MaxNumInGroup')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto48 [GetWaitingOpenWindowDatas] ----------
  ; fn ?  line 778-780 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrWaitingOpenWindow'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrWaitingOpenWindow')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto49 [GetResourceLabels] ----------
  ; fn ?  line 784-786 np=1 va=0 ms=2 code=3 consts=0 upvals=1 protos=0
  ;   upvals: bakeOutOnLabels
  ;   locals: self(0-3)
  0000  GETUPVAL  R1 = bakeOutOnLabels
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto50 [IsEnlist] ----------
  ; fn ?  line 790-792 np=1 va=0 ms=5 code=11 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='EnList'
  ;   K[3]=1
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('EnList')]
  0003  GETUPVAL  R4 = DBKey
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  EQ        if R1 eq K3(1)   -> -130294
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto51 [CanEnlist] ----------
  ; fn ?  line 796-800 np=1 va=0 ms=5 code=28 consts=10 upvals=2 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='GM'
  ;   K[3]='GameModel'
  ;   K[4]='GetServerTime'
  ;   K[5]='_GetMiscConfig'
  ;   K[6]='NoRegisterTime'
  ;   K[7]='eTime'
  ;   K[8]=0
  ;   K[9]='IsAllFinished'
  ;   upvals: _ENV, BakeOutMiscKey
  ;   locals: self(0-28)
  0000  GETTABLE  R1 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 24
  0003  GETTABUP  R1 = _ENV[K2('GM')]
  0004  GETTABLE  R1 = R1[K3('GameModel')]
  0005  SELF      R2 = R1[K4('GetServerTime')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  SELF      R3 = R0[K5('_GetMiscConfig')] (self)
  0008  GETTABUP  R4 = BakeOutMiscKey[K6('NoRegisterTime')]
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  ADD       R1 = R2 add R1
  0011  GETTABLE  R2 = R0[K0('m_config')]
  0012  TEST      if not R2 then   -> -131058
  0013  JMP       (jump)   -> 18
  0014  GETTABLE  R2 = R0[K0('m_config')]
  0015  GETTABLE  R2 = R2[K7('eTime')]
  0016  TEST      if not R2 then   -> -131053
  0017  JMP       (jump)   -> 19
  0018  LOADK     R2 = K8 0
  0019  LT        if R0 lt R2   -> -130537
  0020  JMP       (jump)   -> 24
  0021  SELF      R2 = R0[K9('IsAllFinished')] (self)
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  JMP       (jump)   -> 26
  0024  LOADBOOL  R1 = false
  0025  LOADBOOL  R1 = true
  0026  RETURN    return R1..R0
  0027  RETURN    return R0..R-1
; ---------- proto52 [OnEnlist] ----------
  ; fn ?  line 803-852 np=2 va=0 ms=6 code=17 consts=3 upvals=3 protos=1
  ;   K[0]='IsEnlist'
  ;   K[1]='CanEnlist'
  ;   K[2]='GetBakeOutRanks'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-17), fromReadyWindow(0-17)
  0000  SELF      R3 = R0[K0('IsEnlist')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R2 = false
  0005  RETURN    return R2..R1
  0006  SELF      R3 = R0[K1('CanEnlist')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R2 = false
  0011  RETURN    return R2..R1
  0012  SELF      R3 = R0[K2('GetBakeOutRanks')] (self)
  0013  CLOSURE   R4 = closure proto0
  0014  LOADBOOL  R5 = true
  0015  CALL      R2 = call(R2, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 812-851 np=2 va=0 ms=11 code=116 consts=39 upvals=5 protos=2
    ;   K[0]='rcode'
    ;   K[1]=0
    ;   K[2]='m_dbTable'
    ;   K[3]='Set'
    ;   K[4]='EnList'
    ;   K[5]=1
    ;   K[6]='event'
    ;   K[7]='Call'
    ;   K[8]='BakeOutEventType'
    ;   K[9]='GM'
    ;   K[10]='SceneManager'
    ;   K[11]='GetGameMode'
    ;   K[12]='EGameMode'
    ;   K[13]='Board'
    ;   K[14]='ChangeGameMode'
    ;   K[15]='Main'
    ;   K[16]='TimelineManager'
    ;   K[17]='IsPlayingTimeline'
    ;   K[18]='PlayTimeline'
    ;   K[19]='_GetEnlistTimeline'
    ;   K[20]='GM'
    ;   K[21]='UIManager'
    ;   K[22]='OpenView'
    ;   K[23]='UIPrefabConfigName'
    ;   K[24]='BakeOutMainWindow'
    ;   K[25]='HeartBeatManager'
    ;   K[26]='TrySchedule'
    ;   K[27]='GameConfig'
    ;   K[28]='IsTestMode'
    ;   K[29]='ShowTestPrompt'
    ;   K[30]='Enlist error '
    ;   K[31]='rcode '
    ;   K[32]='tostring'
    ;   K[33]='GeneralMsgWindow'
    ;   K[34]='GameTextModel'
    ;   K[35]='GetText'
    ;   K[36]='bakeout_offline_title'
    ;   K[37]='bakeout_offline_tip'
    ;   K[38]='bakeout_offline_button'
    ;   upvals: self, DBKey, DBColumnValue, _ENV, fromReadyWindow
    ;   locals: bSuccess(0-116), tbResp(0-116)
    0000  TEST      if not R0 then   -> -131070
    0001  JMP       (jump)   -> 70
    0002  GETTABLE  R2 = R1[K0('rcode')]
    0003  EQ        if R0 eq K1(0)   -> -129786
    0004  JMP       (jump)   -> 70
    0005  GETTABUP  R2 = self[K2('m_dbTable')]
    0006  SELF      R3 = R2[K3('Set')] (self)
    0007  GETTABUP  R4 = DBKey[K4('EnList')]
    0008  GETUPVAL  R5 = self
    0009  LOADK     R6 = K5 1
    0010  CALL      R2 = call(R2, 0 args, 4 rets)
    0011  GETTABUP  R2 = self[K6('event')]
    0012  SELF      R3 = R2[K7('Call')] (self)
    0013  GETTABUP  R4 = _ENV[K8('BakeOutEventType')]
    0014  GETTABLE  R4 = R4[K4('EnList')]
    0015  CALL      R2 = call(R2, 0 args, 2 rets)
    0016  GETUPVAL  R2 = self
    0017  TEST      if not R2 then   -> -131053
    0018  JMP       (jump)   -> 57
    0019  GETTABUP  R2 = _ENV[K9('GM')]
    0020  GETTABLE  R2 = R2[K10('SceneManager')]
    0021  SELF      R3 = R2[K11('GetGameMode')] (self)
    0022  CALL      R2 = call(R2, 1 args, 1 rets)
    0023  GETTABUP  R3 = _ENV[K12('EGameMode')]
    0024  GETTABLE  R3 = R3[K13('Board')]
    0025  EQ        if R0 eq R3   -> -130018
    0026  JMP       (jump)   -> 33
    0027  GETTABUP  R2 = _ENV[K9('GM')]
    0028  GETTABLE  R2 = R2[K10('SceneManager')]
    0029  SELF      R3 = R2[K14('ChangeGameMode')] (self)
    0030  GETTABUP  R4 = _ENV[K12('EGameMode')]
    0031  GETTABLE  R4 = R4[K15('Main')]
    0032  CALL      R2 = call(R2, 0 args, 2 rets)
    0033  GETTABUP  R2 = _ENV[K9('GM')]
    0034  GETTABLE  R2 = R2[K10('SceneManager')]
    0035  SELF      R3 = R2[K11('GetGameMode')] (self)
    0036  CALL      R2 = call(R2, 1 args, 1 rets)
    0037  GETTABUP  R3 = _ENV[K12('EGameMode')]
    0038  GETTABLE  R3 = R3[K15('Main')]
    0039  EQ        if R0 eq R3   -> -130004
    0040  JMP       (jump)   -> 65
    0041  GETTABUP  R2 = _ENV[K9('GM')]
    0042  GETTABLE  R2 = R2[K16('TimelineManager')]
    0043  SELF      R3 = R2[K17('IsPlayingTimeline')] (self)
    0044  CALL      R2 = call(R2, 1 args, 1 rets)
    0045  TEST      if not R2 then   -> -131024
    0046  JMP       (jump)   -> 65
    0047  GETTABUP  R2 = _ENV[K9('GM')]
    0048  GETTABLE  R2 = R2[K16('TimelineManager')]
    0049  SELF      R3 = R2[K18('PlayTimeline')] (self)
    0050  GETUPVAL  R4 = self
    0051  SELF      R5 = R4[K19('_GetEnlistTimeline')] (self)
    0052  CALL      R4 = call(R4, 1 args, 1 rets)
    0053  LOADNIL   R5..R5 = nil
    0054  CLOSURE   R6 = closure proto0
    0055  CALL      R2 = call(R2, 0 args, 4 rets)
    0056  JMP       (jump)   -> 65
    0057  GETTABUP  R2 = _ENV[K20('GM')]
    0058  GETTABLE  R2 = R2[K21('UIManager')]
    0059  SELF      R3 = R2[K22('OpenView')] (self)
    0060  GETTABUP  R4 = _ENV[K23('UIPrefabConfigName')]
    0061  GETTABLE  R4 = R4[K24('BakeOutMainWindow')]
    0062  LOADNIL   R5..R5 = nil
    0063  LOADBOOL  R6 = true
    0064  CALL      R2 = call(R2, 0 args, 4 rets)
    0065  GETTABUP  R2 = _ENV[K20('GM')]
    0066  GETTABLE  R2 = R2[K25('HeartBeatManager')]
    0067  SELF      R3 = R2[K26('TrySchedule')] (self)
    0068  CALL      R2 = call(R2, 0 args, 1 rets)
    0069  JMP       (jump)   -> 115
    0070  GETTABUP  R2 = _ENV[K27('GameConfig')]
    0071  GETTABLE  R2 = R2[K28('IsTestMode')]
    0072  CALL      R2 = call(R2, 1 args, 0 rets)
    0073  TEST      if not R2 then   -> -130997
    0074  JMP       (jump)   -> 91
    0075  GETTABUP  R2 = _ENV[K20('GM')]
    0076  GETTABLE  R2 = R2[K21('UIManager')]
    0077  SELF      R3 = R2[K29('ShowTestPrompt')] (self)
    0078  LOADK     R4 = K30 'Enlist error '
    0079  TEST      if not R0 then   -> -130991
    0080  JMP       (jump)   -> 88
    0081  LOADK     R5 = K31 'rcode '
    0082  GETTABUP  R6 = _ENV[K32('tostring')]
    0083  GETTABLE  R7 = R1[K0('rcode')]
    0084  CALL      R6 = call(R6, 1 args, 1 rets)
    0085  CONCAT    R5 = concat(R5..R5)
    0086  TEST      if not R5 then   -> -130983
    0087  JMP       (jump)   -> 89
    0088  MOVE      R5 = R0
    0089  CONCAT    R4 = concat(R4..R4)
    0090  CALL      R2 = call(R2, 0 args, 2 rets)
    0091  GETTABUP  R2 = _ENV[K20('GM')]
    0092  GETTABLE  R2 = R2[K21('UIManager')]
    0093  SELF      R3 = R2[K22('OpenView')] (self)
    0094  GETTABUP  R4 = _ENV[K23('UIPrefabConfigName')]
    0095  GETTABLE  R4 = R4[K33('GeneralMsgWindow')]
    0096  GETTABUP  R5 = _ENV[K20('GM')]
    0097  GETTABLE  R5 = R5[K34('GameTextModel')]
    0098  SELF      R6 = R5[K35('GetText')] (self)
    0099  LOADK     R7 = K36 'bakeout_offline_title'
    0100  CALL      R5 = call(R5, 1 args, 2 rets)
    0101  GETTABUP  R6 = _ENV[K20('GM')]
    0102  GETTABLE  R6 = R6[K34('GameTextModel')]
    0103  SELF      R7 = R6[K35('GetText')] (self)
    0104  LOADK     R8 = K37 'bakeout_offline_tip'
    0105  CALL      R6 = call(R6, 1 args, 2 rets)
    0106  GETTABUP  R7 = _ENV[K20('GM')]
    0107  GETTABLE  R7 = R7[K34('GameTextModel')]
    0108  SELF      R8 = R7[K35('GetText')] (self)
    0109  LOADK     R9 = K38 'bakeout_offline_button'
    0110  CALL      R7 = call(R7, 1 args, 2 rets)
    0111  CLOSURE   R8 = closure proto1
    0112  LOADNIL   R9..R9 = nil
    0113  LOADBOOL  R10 = true
    0114  CALL      R2 = call(R2, 0 args, 8 rets)
    0115  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 824-826 np=0 va=0 ms=3 code=7 consts=5 upvals=1 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='OpenView'
      ;   K[3]='UIPrefabConfigName'
      ;   K[4]='BakeOutMainWindow'
      ;   upvals: _ENV
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('OpenView')] (self)
      0003  GETTABUP  R2 = _ENV[K3('UIPrefabConfigName')]
      0004  GETTABLE  R2 = R2[K4('BakeOutMainWindow')]
      0005  CALL      R0 = call(R0, 0 args, 2 rets)
      0006  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 843-845 np=0 va=0 ms=3 code=5 consts=1 upvals=2 protos=0
      ;   K[0]='OnEnlist'
      ;   upvals: self, fromReadyWindow
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('OnEnlist')] (self)
      0002  GETUPVAL  R2 = self
      0003  CALL      R0 = call(R0, 0 args, 2 rets)
      0004  RETURN    return R0..R-1
; ---------- proto53 [_GetEnlistTimeline] ----------
  ; fn ?  line 854-856 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='bakeout_intro'
  ;   locals: self(0-3)
  0000  LOADK     R1 = K0 'bakeout_intro'
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto54 [GetToken] ----------
  ; fn ?  line 862-864 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='Token'
  ;   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('Token')]
  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 [AcquireToken] ----------
  ; fn ?  line 866-880 np=2 va=0 ms=8 code=33 consts=18 upvals=3 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='Token'
  ;   K[3]='GetToken'
  ;   K[4]='Scheduler'
  ;   K[5]='Unschedule'
  ;   K[6]='_HeartBeatOnNextFrame'
  ;   K[7]='DelayExecuteFunc'
  ;   K[8]='_GetAcquireTokenUploadDelay'
  ;   K[9]='_Try2UpdateDisplayRank'
  ;   K[10]='event'
  ;   K[11]='Call'
  ;   K[12]='BakeOutEventType'
  ;   K[13]='AcquireToken'
  ;   K[14]='EventDispatcher'
  ;   K[15]='DispatchEvent'
  ;   K[16]='EEventType'
  ;   K[17]='CollectGold'
  ;   upvals: DBKey, DBColumnValue, _ENV
  ;   locals: self(0-33), tokenNum(0-33)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('Token')]
  0003  GETUPVAL  R5 = DBKey
  0004  SELF      R7 = R0[K3('GetToken')] (self)
  0005  CALL      R6 = call(R6, 1 args, 1 rets)
  0006  ADD       R6 = R1 add R6
  0007  CALL      R2 = call(R2, 0 args, 4 rets)
  0008  GETTABUP  R2 = _ENV[K4('Scheduler')]
  0009  GETTABLE  R2 = R2[K5('Unschedule')]
  0010  GETTABLE  R3 = R0[K6('_HeartBeatOnNextFrame')]
  0011  MOVE      R4 = R0
  0012  CALL      R2 = call(R2, 0 args, 2 rets)
  0013  GETTABUP  R2 = _ENV[K7('DelayExecuteFunc')]
  0014  GETTABLE  R3 = R0[K6('_HeartBeatOnNextFrame')]
  0015  SELF      R5 = R0[K8('_GetAcquireTokenUploadDelay')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  MOVE      R5 = R0
  0018  CALL      R2 = call(R2, 0 args, 3 rets)
  0019  SELF      R3 = R0[K9('_Try2UpdateDisplayRank')] (self)
  0020  CALL      R2 = call(R2, 0 args, 1 rets)
  0021  GETTABLE  R2 = R0[K10('event')]
  0022  SELF      R3 = R2[K11('Call')] (self)
  0023  GETTABUP  R4 = _ENV[K12('BakeOutEventType')]
  0024  GETTABLE  R4 = R4[K13('AcquireToken')]
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  GETTABUP  R2 = _ENV[K14('EventDispatcher')]
  0027  GETTABLE  R2 = R2[K15('DispatchEvent')]
  0028  GETTABUP  R3 = _ENV[K16('EEventType')]
  0029  GETTABLE  R3 = R3[K17('CollectGold')]
  0030  MOVE      R4 = R0
  0031  CALL      R2 = call(R2, 0 args, 2 rets)
  0032  RETURN    return R0..R-1
; ---------- proto56 [_HeartBeatOnNextFrame] ----------
  ; fn ?  line 882-884 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='HeartBeatManager'
  ;   K[2]='HeartBeatOnNextFrame'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('HeartBeatManager')]
  0002  SELF      R2 = R1[K2('HeartBeatOnNextFrame')] (self)
  0003  LOADBOOL  R3 = false
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto57 [_GetAcquireTokenUploadDelay] ----------
  ; fn ?  line 886-889 np=1 va=0 ms=7 code=12 consts=8 upvals=2 protos=0
  ;   K[0]='BaseSceneBoardView'
  ;   K[1]='finishOrderRemoveItemDt'
  ;   K[2]='math'
  ;   K[3]='min'
  ;   K[4]=1.8
  ;   K[5]='_GetMiscConfig'
  ;   K[6]='UploadTime'
  ;   K[7]=2
  ;   upvals: _ENV, BakeOutMiscKey
  ;   locals: self(0-12), removeItemDt(2-12)
  0000  GETTABUP  R1 = _ENV[K0('BaseSceneBoardView')]
  0001  GETTABLE  R1 = R1[K1('finishOrderRemoveItemDt')]
  0002  GETTABUP  R2 = _ENV[K2('math')]
  0003  GETTABLE  R2 = R2[K3('min')]
  0004  ADD       R3 = K4(1.8) add R1
  0005  SELF      R5 = R0[K5('_GetMiscConfig')] (self)
  0006  GETTABUP  R6 = BakeOutMiscKey[K6('UploadTime')]
  0007  CALL      R4 = call(R4, 1 args, 2 rets)
  0008  DIV       R4 = K7(2) div R4
  0009  TAILCALL  tailcall(R2, 0)
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto58 [_GetExchangeTimes] ----------
  ; fn ?  line 891-893 np=1 va=0 ms=5 code=10 consts=4 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='ExchangeTimes'
  ;   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('ExchangeTimes')]
  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
; ---------- proto59 [_AddExchangeTimes] ----------
  ; fn ?  line 895-897 np=1 va=0 ms=7 code=9 consts=5 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='ExchangeTimes'
  ;   K[3]='_GetExchangeTimes'
  ;   K[4]=1
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = DBKey[K2('ExchangeTimes')]
  0003  GETUPVAL  R4 = DBKey
  0004  SELF      R6 = R0[K3('_GetExchangeTimes')] (self)
  0005  CALL      R5 = call(R5, 1 args, 1 rets)
  0006  ADD       R5 = K4(1) add R5
  0007  CALL      R1 = call(R1, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto60 [GetExchangeCoinCostNum] ----------
  ; fn ?  line 899-901 np=1 va=0 ms=5 code=18 consts=7 upvals=1 protos=0
  ;   K[0]='m_bExchangeCoinFree'
  ;   K[1]=0
  ;   K[2]='m_arrCoinExchangeCost'
  ;   K[3]='math'
  ;   K[4]='min'
  ;   K[5]='_GetExchangeTimes'
  ;   K[6]=1
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABLE  R1 = R0[K0('m_bExchangeCoinFree')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  LOADK     R1 = K1 0
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 16
  0006  GETTABLE  R1 = R0[K2('m_arrCoinExchangeCost')]
  0007  GETTABUP  R2 = _ENV[K3('math')]
  0008  GETTABLE  R2 = R2[K4('min')]
  0009  SELF      R4 = R0[K5('_GetExchangeTimes')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  ADD       R3 = K6(1) add R3
  0012  GETTABLE  R4 = R0[K2('m_arrCoinExchangeCost')]
  0013  LEN       R4 = len R0
  0014  CALL      R2 = call(R2, 1 args, 2 rets)
  0015  GETTABLE  R1 = R1[R2]
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
; ---------- proto61 [GetExchangeTokenGainNum] ----------
  ; fn ?  line 903-905 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]=10
  ;   locals: self(0-3)
  0000  LOADK     R1 = K0 10
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto62 [CanExchangeCoin] ----------
  ; fn ?  line 907-909 np=1 va=0 ms=4 code=18 consts=7 upvals=1 protos=0
  ;   K[0]='IsBakeOutModeOn'
  ;   K[1]='GM'
  ;   K[2]='PropertyDataManager'
  ;   K[3]='GetPropertyNum'
  ;   K[4]='EPropertyType'
  ;   K[5]='Gold'
  ;   K[6]='GetExchangeCoinCostNum'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  SELF      R2 = R0[K0('IsBakeOutModeOn')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 16
  0004  GETTABUP  R1 = _ENV[K1('GM')]
  0005  GETTABLE  R1 = R1[K2('PropertyDataManager')]
  0006  SELF      R2 = R1[K3('GetPropertyNum')] (self)
  0007  GETTABUP  R3 = _ENV[K4('EPropertyType')]
  0008  GETTABLE  R3 = R3[K5('Gold')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  SELF      R3 = R0[K6('GetExchangeCoinCostNum')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  LE        if R1 le R1   -> -130033
  0013  JMP       (jump)   -> 15
  0014  LOADBOOL  R1 = false
  0015  LOADBOOL  R1 = true
  0016  RETURN    return R1..R0
  0017  RETURN    return R0..R-1
; ---------- proto63 [ExchangeCoin2Token] ----------
  ; fn ?  line 912-935 np=1 va=0 ms=10 code=71 consts=35 upvals=1 protos=0
  ;   K[0]='CanExchangeCoin'
  ;   K[1]='GetExchangeCoinCostNum'
  ;   K[2]='GM'
  ;   K[3]='PropertyDataManager'
  ;   K[4]='Consume'
  ;   K[5]='EPropertyType'
  ;   K[6]='Gold'
  ;   K[7]='EBIType'
  ;   K[8]='BakeOutExchangeCoin'
  ;   K[9]='bakeOutExchange'
  ;   K[10]='TaskManager'
  ;   K[11]='GetCleanGoldCount'
  ;   K[12]='ConsumeTaskCleanGold'
  ;   K[13]='math'
  ;   K[14]='min'
  ;   K[15]='GetExchangeTokenGainNum'
  ;   K[16]='RewardApi'
  ;   K[17]='AcquireRewardsLogic'
  ;   K[18]='PROPERTY_TYPE'
  ;   K[19]='BakeOutToken'
  ;   K[20]='PROPERTY_COUNT'
  ;   K[21]='PROPERTY_CRYPT'
  ;   K[22]='Crypt'
  ;   K[23]='CryptCurrency'
  ;   K[24]='EPropertySource'
  ;   K[25]='Give'
  ;   K[26]='ERewardScene'
  ;   K[27]='Other'
  ;   K[28]='m_bExchangeCoinFree'
  ;   K[29]='_AddExchangeTimes'
  ;   K[30]=false
  ;   K[31]='EventDispatcher'
  ;   K[32]='DispatchEvent'
  ;   K[33]='EEventType'
  ;   K[34]='BakeOutCoinExchanged'
  ;   upvals: _ENV
  ;   locals: self(0-71), coinCost(8-71), leftCleanCoin(22-71), count(33-71)
  0000  SELF      R2 = R0[K0('CanExchangeCoin')] (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('GetExchangeCoinCostNum')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K2('GM')]
  0009  GETTABLE  R2 = R2[K3('PropertyDataManager')]
  0010  SELF      R3 = R2[K4('Consume')] (self)
  0011  GETTABUP  R4 = _ENV[K5('EPropertyType')]
  0012  GETTABLE  R4 = R4[K6('Gold')]
  0013  MOVE      R5 = R0
  0014  GETTABUP  R6 = _ENV[K7('EBIType')]
  0015  GETTABLE  R6 = R6[K8('BakeOutExchangeCoin')]
  0016  LOADK     R7 = K9 'bakeOutExchange'
  0017  CALL      R2 = call(R2, 0 args, 5 rets)
  0018  GETTABUP  R2 = _ENV[K2('GM')]
  0019  GETTABLE  R2 = R2[K10('TaskManager')]
  0020  SELF      R3 = R2[K11('GetCleanGoldCount')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  GETTABUP  R3 = _ENV[K2('GM')]
  0023  GETTABLE  R3 = R3[K10('TaskManager')]
  0024  SELF      R4 = R3[K12('ConsumeTaskCleanGold')] (self)
  0025  GETTABUP  R5 = _ENV[K13('math')]
  0026  GETTABLE  R5 = R5[K14('min')]
  0027  MOVE      R6 = R0
  0028  MOVE      R7 = R0
  0029  CALL      R5 = call(R5, -1 args, 2 rets)
  0030  CALL      R3 = call(R3, 0 args, -1 rets)
  0031  SELF      R4 = R0[K15('GetExchangeTokenGainNum')] (self)
  0032  CALL      R3 = call(R3, 1 args, 1 rets)
  0033  GETTABUP  R4 = _ENV[K16('RewardApi')]
  0034  GETTABLE  R4 = R4[K17('AcquireRewardsLogic')]
  0035  NEWTABLE  R5 = {} (1 items)
  0036  NEWTABLE  R6 = {} (0 items)
  0037  GETTABUP  R7 = _ENV[K18('PROPERTY_TYPE')]
  0038  GETTABUP  R8 = _ENV[K5('EPropertyType')]
  0039  GETTABLE  R8 = R8[K19('BakeOutToken')]
  0040  SETTABLE  R6[R7] = R8
  0041  GETTABUP  R7 = _ENV[K20('PROPERTY_COUNT')]
  0042  SETTABLE  R6[R7] = R3
  0043  GETTABUP  R7 = _ENV[K21('PROPERTY_CRYPT')]
  0044  GETTABUP  R8 = _ENV[K22('Crypt')]
  0045  GETTABLE  R8 = R8[K23('CryptCurrency')]
  0046  MOVE      R9 = R0
  0047  CALL      R8 = call(R8, 1 args, 1 rets)
  0048  SETTABLE  R6[R7] = R8
  0049  SETLIST   setlist R5[B=1,C=1]
  0050  GETTABUP  R6 = _ENV[K24('EPropertySource')]
  0051  GETTABLE  R6 = R6[K25('Give')]
  0052  GETTABUP  R7 = _ENV[K7('EBIType')]
  0053  GETTABLE  R7 = R7[K8('BakeOutExchangeCoin')]
  0054  GETTABUP  R8 = _ENV[K26('ERewardScene')]
  0055  GETTABLE  R8 = R8[K27('Other')]
  0056  CALL      R4 = call(R4, 0 args, 4 rets)
  0057  GETTABLE  R4 = R0[K28('m_bExchangeCoinFree')]
  0058  TEST      if not R4 then   -> -131011
  0059  JMP       (jump)   -> 62
  0060  SELF      R5 = R0[K29('_AddExchangeTimes')] (self)
  0061  CALL      R4 = call(R4, 0 args, 1 rets)
  0062  SETTABLE  R0[K28('m_bExchangeCoinFree')] = K30(false)
  0063  GETTABUP  R4 = _ENV[K31('EventDispatcher')]
  0064  GETTABLE  R4 = R4[K32('DispatchEvent')]
  0065  GETTABUP  R5 = _ENV[K33('EEventType')]
  0066  GETTABLE  R5 = R5[K34('BakeOutCoinExchanged')]
  0067  CALL      R4 = call(R4, 0 args, 1 rets)
  0068  LOADBOOL  R4 = true
  0069  RETURN    return R4..R3
  0070  RETURN    return R0..R-1
; ---------- proto64 [_LoadCoinExchangeConfig] ----------
  ; fn ?  line 937-947 np=2 va=0 ms=10 code=27 consts=13 upvals=1 protos=0
  ;   K[0]='m_arrCoinExchangeCost'
  ;   K[1]=nil
  ;   K[2]='GM'
  ;   K[3]='BIManager'
  ;   K[4]='LogErrorInfo'
  ;   K[5]='EBIType'
  ;   K[6]='BakeOutConfigError'
  ;   K[7]='empty config in coin exchange'
  ;   K[8]=1
  ;   K[9]='GetExchangeTokenGainNum'
  ;   K[10]='ipairs'
  ;   K[11]='time'
  ;   K[12]='cost'
  ;   upvals: _ENV
  ;   locals: self(0-27), config(0-27), (for generator)(19-26), (for state)(19-26), (for control)(19-26), _(20-24), data(20-24)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrCoinExchangeCost')] = R2
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 16
  0004  GETTABUP  R2 = _ENV[K2('GM')]
  0005  GETTABLE  R2 = R2[K3('BIManager')]
  0006  SELF      R3 = R2[K4('LogErrorInfo')] (self)
  0007  GETTABUP  R4 = _ENV[K5('EBIType')]
  0008  GETTABLE  R4 = R4[K6('BakeOutConfigError')]
  0009  LOADK     R5 = K7 'empty config in coin exchange'
  0010  CALL      R2 = call(R2, 0 args, 3 rets)
  0011  GETTABLE  R2 = R0[K0('m_arrCoinExchangeCost')]
  0012  SELF      R4 = R0[K9('GetExchangeTokenGainNum')] (self)
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  SETTABLE  R2[K8(1)] = R3
  0015  RETURN    return R0..R-1
  0016  GETTABUP  R2 = _ENV[K10('ipairs')]
  0017  MOVE      R3 = R0
  0018  CALL      R2 = call(R2, 3 args, 1 rets)
  0019  JMP       (jump)   -> 24
  0020  GETTABLE  R7 = R0[K0('m_arrCoinExchangeCost')]
  0021  GETTABLE  R8 = R6[K11('time')]
  0022  GETTABLE  R9 = R6[K12('cost')]
  0023  SETTABLE  R7[R8] = R9
  0024  TFORCALL  tforcall R2
  0025  TFORLOOP  tforloop R4(sBx=-6)   -> 20
  0026  RETURN    return R0..R-1
; ---------- proto65 [GetCurRank] ----------
  ; fn ?  line 951-953 np=1 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='Rank'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('Rank')]
  0003  GETUPVAL  R4 = DBKey
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto66 [GetDisplayCurRank] ----------
  ; fn ?  line 955-957 np=1 va=0 ms=3 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_displayCurRank'
  ;   K[1]='GetCurRank'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_displayCurRank')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 5
  0003  SELF      R2 = R0[K1('GetCurRank')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto67 [SetCurRank] ----------
  ; fn ?  line 959-961 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='Rank'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), rank(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('Rank')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto68 [UpdateCurRank] ----------
  ; fn ?  line 963-967 np=3 va=0 ms=7 code=11 consts=7 upvals=1 protos=0
  ;   K[0]='SetCurRank'
  ;   K[1]='m_displayCurRank'
  ;   K[2]=nil
  ;   K[3]='event'
  ;   K[4]='Call'
  ;   K[5]='BakeOutEventType'
  ;   K[6]='UpdateRank'
  ;   upvals: _ENV
  ;   locals: self(0-11), curRank(0-11), animated(0-11)
  0000  SELF      R4 = R0[K0('SetCurRank')] (self)
  0001  MOVE      R5 = R0
  0002  CALL      R3 = call(R3, 0 args, 2 rets)
  0003  SETTABLE  R0[K1('m_displayCurRank')] = K2(nil)
  0004  GETTABLE  R3 = R0[K3('event')]
  0005  SELF      R4 = R3[K4('Call')] (self)
  0006  GETTABUP  R5 = _ENV[K5('BakeOutEventType')]
  0007  GETTABLE  R5 = R5[K6('UpdateRank')]
  0008  MOVE      R6 = R0
  0009  CALL      R3 = call(R3, 0 args, 3 rets)
  0010  RETURN    return R0..R-1
; ---------- proto69 [TryUpdateDisplayRank] ----------
  ; fn ?  line 969-973 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_displayCurRank'
  ;   K[1]='event'
  ;   K[2]='Call'
  ;   K[3]='BakeOutEventType'
  ;   K[4]='UpdateRank'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_displayCurRank')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 9
  0003  GETTABLE  R1 = R0[K1('event')]
  0004  SELF      R2 = R1[K2('Call')] (self)
  0005  GETTABUP  R3 = _ENV[K3('BakeOutEventType')]
  0006  GETTABLE  R3 = R3[K4('UpdateRank')]
  0007  LOADBOOL  R4 = true
  0008  CALL      R1 = call(R1, 0 args, 3 rets)
  0009  RETURN    return R0..R-1
; ---------- proto70 [UpdateLastRank] ----------
  ; fn ?  line 975-977 np=2 va=0 ms=7 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastRank'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7), lastRank(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('LastRank')]
  0003  GETUPVAL  R5 = DBKey
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto71 [GetLastRank] ----------
  ; fn ?  line 979-981 np=1 va=0 ms=5 code=7 consts=3 upvals=2 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastRank'
  ;   upvals: DBKey, DBColumnValue
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('LastRank')]
  0003  GETUPVAL  R4 = DBKey
  0004  TAILCALL  tailcall(R1, 0)
  0005  RETURN    return R1..R0
  0006  RETURN    return R0..R-1
; ---------- proto72 [_Try2UpdateDisplayRank] ----------
  ; fn ?  line 983-1004 np=1 va=0 ms=7 code=37 consts=10 upvals=1 protos=0
  ;   K[0]='m_arrLastRankDatas'
  ;   K[1]=nil
  ;   K[2]='m_displayCurRank'
  ;   K[3]='GetOwnDataFromRanksData'
  ;   K[4]='rank'
  ;   K[5]='GetToken'
  ;   K[6]=1
  ;   K[7]='score'
  ;   K[8]='math'
  ;   K[9]='max'
  ;   upvals: _ENV
  ;   locals: self(0-37), ownCellData(8-37), curToken(16-37), index(20-36)
  0000  GETTABLE  R1 = R0[K0('m_arrLastRankDatas')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  SETTABLE  R0[K2('m_displayCurRank')] = K1(nil)
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K3('GetOwnDataFromRanksData')] (self)
  0006  GETTABLE  R3 = R0[K0('m_arrLastRankDatas')]
  0007  CALL      R1 = call(R1, 1 args, 2 rets)
  0008  EQ        if R0 eq K1(nil)   -> -130293
  0009  JMP       (jump)   -> 12
  0010  SETTABLE  R0[K2('m_displayCurRank')] = K1(nil)
  0011  RETURN    return R0..R-1
  0012  GETTABLE  R2 = R1[K4('rank')]
  0013  SETTABLE  R0[K2('m_displayCurRank')] = R2
  0014  SELF      R3 = R0[K5('GetToken')] (self)
  0015  CALL      R2 = call(R2, 1 args, 1 rets)
  0016  GETTABLE  R3 = R1[K4('rank')]
  0017  LT        if R0 lt R3   -> 3094
  0018  JMP       (jump)   -> 36
  0019  GETTABLE  R3 = R1[K4('rank')]
  0020  LT        if R0 lt R3   -> 3097
  0021  JMP       (jump)   -> 30
  0022  GETTABLE  R4 = R0[K0('m_arrLastRankDatas')]
  0023  SUB       R5 = K6(1) sub R3
  0024  GETTABLE  R4 = R4[R5]
  0025  GETTABLE  R4 = R4[K7('score')]
  0026  LE        if R0 le R2   -> -128994
  0027  JMP       (jump)   -> 30
  0028  SUB       R3 = K6(1) sub R3
  0029  JMP       (jump)   -> 20
  0030  GETTABUP  R4 = _ENV[K8('math')]
  0031  GETTABLE  R4 = R4[K9('max')]
  0032  LOADK     R5 = K6 1
  0033  MOVE      R6 = R0
  0034  CALL      R4 = call(R4, 1 args, 2 rets)
  0035  SETTABLE  R0[K2('m_displayCurRank')] = R4
  0036  RETURN    return R0..R-1
; ---------- proto73 [GetRankReward] ----------
  ; fn ?  line 1006-1008 np=2 va=0 ms=4 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetRankRewardDatas'
  ;   locals: self(0-5), rank(0-5)
  0000  SELF      R3 = R0[K0('_GetRankRewardDatas')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  GETTABLE  R2 = R2[R1]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto74 [GetMaxRankWithRankReward] ----------
  ; fn ?  line 1010-1012 np=1 va=0 ms=3 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='_GetRankRewardDatas'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('_GetRankRewardDatas')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  LEN       R1 = len R0
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto75 [_GetRankRewardDatas] ----------
  ; fn ?  line 1014-1016 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrRankReward'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrRankReward')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto76 [_LoadRankRewardConfig] ----------
  ; fn ?  line 1018-1044 np=2 va=0 ms=14 code=51 consts=19 upvals=1 protos=0
  ;   K[0]='m_arrRankReward'
  ;   K[1]=nil
  ;   K[2]='GM'
  ;   K[3]='BIManager'
  ;   K[4]='LogErrorInfo'
  ;   K[5]='EBIType'
  ;   K[6]='BakeOutConfigError'
  ;   K[7]='empty config in rank reward'
  ;   K[8]='ipairs'
  ;   K[9]='rewards'
  ;   K[10]='IsString'
  ;   K[11]=1
  ;   K[12]='ConfigUtil'
  ;   K[13]='GetCurrencyFromArrStr'
  ;   K[14]='RewardApi'
  ;   K[15]='CryptRewards'
  ;   K[16]='rewardsRank'
  ;   K[17]='start_rank'
  ;   K[18]='end_rank'
  ;   upvals: _ENV
  ;   locals: self(0-51), config(0-51), rankReward(13-51), (for generator)(16-50), (for state)(16-50), (for control)(16-50), _(17-48), data(17-48), arrRewards(18-48), (for index)(44-48), (for limit)(44-48), (for step)(44-48), i(45-47)
  0000  NEWTABLE  R2 = {} (0 items)
  0001  SETTABLE  R0[K0('m_arrRankReward')] = R2
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 12
  0004  GETTABUP  R2 = _ENV[K2('GM')]
  0005  GETTABLE  R2 = R2[K3('BIManager')]
  0006  SELF      R3 = R2[K4('LogErrorInfo')] (self)
  0007  GETTABUP  R4 = _ENV[K5('EBIType')]
  0008  GETTABLE  R4 = R4[K6('BakeOutConfigError')]
  0009  LOADK     R5 = K7 'empty config in rank reward'
  0010  CALL      R2 = call(R2, 0 args, 3 rets)
  0011  RETURN    return R0..R-1
  0012  LOADNIL   R2..R2 = nil
  0013  GETTABUP  R3 = _ENV[K8('ipairs')]
  0014  MOVE      R4 = R0
  0015  CALL      R3 = call(R3, 3 args, 1 rets)
  0016  JMP       (jump)   -> 48
  0017  GETTABLE  R8 = R7[K9('rewards')]
  0018  TEST      if not R8 then   -> -131052
  0019  JMP       (jump)   -> 31
  0020  GETTABUP  R9 = _ENV[K10('IsString')]
  0021  GETTABLE  R10 = R8[K11(1)]
  0022  CALL      R9 = call(R9, 1 args, 1 rets)
  0023  TEST      if not R9 then   -> -131047
  0024  JMP       (jump)   -> 31
  0025  GETTABUP  R9 = _ENV[K12('ConfigUtil')]
  0026  GETTABLE  R9 = R9[K13('GetCurrencyFromArrStr')]
  0027  GETTABLE  R10 = R7[K9('rewards')]
  0028  CALL      R9 = call(R9, 1 args, 1 rets)
  0029  MOVE      R8 = R0
  0030  JMP       (jump)   -> 36
  0031  GETTABUP  R9 = _ENV[K14('RewardApi')]
  0032  GETTABLE  R9 = R9[K15('CryptRewards')]
  0033  MOVE      R10 = R0
  0034  LOADBOOL  R11 = true
  0035  CALL      R9 = call(R9, 0 args, 2 rets)
  0036  NEWTABLE  R9 = {} (0 items)
  0037  SETTABLE  R9[K9('rewards')] = R8
  0038  GETTABLE  R10 = R7[K17('start_rank')]
  0039  SETTABLE  R9[K16('rewardsRank')] = R10
  0040  MOVE      R2 = R0
  0041  GETTABLE  R9 = R7[K17('start_rank')]
  0042  GETTABLE  R10 = R7[K18('end_rank')]
  0043  LOADK     R11 = K11 1
  0044  FORPREP   forprep R9(sBx=2)   -> 47
  0045  GETTABLE  R13 = R0[K0('m_arrRankReward')]
  0046  SETTABLE  R13[R12] = R2
  0047  FORLOOP   forloop R9(sBx=-3)   -> 45
  0048  TFORCALL  tforcall R3
  0049  TFORLOOP  tforloop R5(sBx=-33)   -> 17
  0050  RETURN    return R0..R-1
; ---------- proto77 [GetBakeOutRanks] ----------
  ; fn ?  line 1051-1095 np=3 va=0 ms=11 code=89 consts=41 upvals=3 protos=1
  ;   K[0]='m_arrGetBakeOutRankCallback'
  ;   K[1]=nil
  ;   K[2]='IsSendingRankRequest'
  ;   K[3]=1
  ;   K[4]='m_getBakeOutRankStartTime'
  ;   K[5]='NetTimeStamp'
  ;   K[6]='Create'
  ;   K[7]='EBIType'
  ;   K[8]='NetworkCheckAction'
  ;   K[9]='StartBakeOut'
  ;   K[10]='GM'
  ;   K[11]='BIManager'
  ;   K[12]='LogNet'
  ;   K[13]='m_getBakeOutRankcallbackFunc'
  ;   K[14]='m_bIsSendingRequest'
  ;   K[15]=true
  ;   K[16]='LogAction'
  ;   K[17]='EBIType'
  ;   K[18]='BakeOutGetBakeOutRanks'
  ;   K[19]='st'
  ;   K[20]='m_config'
  ;   K[21]='sTime'
  ;   K[22]='et'
  ;   K[23]='eTime'
  ;   K[24]='rt'
  ;   K[25]='_GetSettlementFinishedTime'
  ;   K[26]='dt'
  ;   K[27]='m_dbTable'
  ;   K[28]='GetValue'
  ;   K[29]='DelayedGetRewardTime'
  ;   K[30]='ct'
  ;   K[31]='GameModel'
  ;   K[32]='GetServerTime'
  ;   K[33]='RedisMessage'
  ;   K[34]='GetBakeOutRank'
  ;   K[35]='m_type'
  ;   K[36]='GetId'
  ;   K[37]='GetToken'
  ;   K[38]='UIManager'
  ;   K[39]='ShowTestPrompt'
  ;   K[40]='发送排行榜请求'
  ;   upvals: _ENV, DBKey, DBColumnValue
  ;   locals: self(0-89), callback(0-89), bShowMask(0-89)
  0000  GETTABLE  R3 = R0[K0('m_arrGetBakeOutRankCallback')]
  0001  EQ        if R0 eq K1(nil)   -> -129276
  0002  JMP       (jump)   -> 5
  0003  NEWTABLE  R3 = {} (0 items)
  0004  SETTABLE  R0[K0('m_arrGetBakeOutRankCallback')] = R3
  0005  SELF      R4 = R0[K2('IsSendingRankRequest')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  TEST      if not R3 then   -> -131063
  0008  JMP       (jump)   -> 15
  0009  GETTABLE  R3 = R0[K0('m_arrGetBakeOutRankCallback')]
  0010  GETTABLE  R4 = R0[K0('m_arrGetBakeOutRankCallback')]
  0011  LEN       R4 = len R0
  0012  ADD       R4 = K3(1) add R4
  0013  SETTABLE  R3[R4] = R1
  0014  RETURN    return R0..R-1
  0015  GETTABUP  R3 = _ENV[K5('NetTimeStamp')]
  0016  GETTABLE  R3 = R3[K6('Create')]
  0017  GETTABUP  R4 = _ENV[K7('EBIType')]
  0018  GETTABLE  R4 = R4[K8('NetworkCheckAction')]
  0019  GETTABLE  R4 = R4[K9('StartBakeOut')]
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  SETTABLE  R0[K4('m_getBakeOutRankStartTime')] = R3
  0022  GETTABUP  R3 = _ENV[K10('GM')]
  0023  GETTABLE  R3 = R3[K11('BIManager')]
  0024  SELF      R4 = R3[K12('LogNet')] (self)
  0025  GETTABUP  R5 = _ENV[K7('EBIType')]
  0026  GETTABLE  R5 = R5[K8('NetworkCheckAction')]
  0027  GETTABLE  R5 = R5[K9('StartBakeOut')]
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  GETTABLE  R3 = R0[K0('m_arrGetBakeOutRankCallback')]
  0030  GETTABLE  R4 = R0[K0('m_arrGetBakeOutRankCallback')]
  0031  LEN       R4 = len R0
  0032  ADD       R4 = K3(1) add R4
  0033  SETTABLE  R3[R4] = R1
  0034  GETTABLE  R3 = R0[K13('m_getBakeOutRankcallbackFunc')]
  0035  EQ        if R0 eq K1(nil)   -> -129242
  0036  JMP       (jump)   -> 39
  0037  CLOSURE   R3 = closure proto0
  0038  SETTABLE  R0[K13('m_getBakeOutRankcallbackFunc')] = R3
  0039  SETTABLE  R0[K14('m_bIsSendingRequest')] = K15(true)
  0040  GETTABUP  R3 = _ENV[K10('GM')]
  0041  GETTABLE  R3 = R3[K11('BIManager')]
  0042  SELF      R4 = R3[K16('LogAction')] (self)
  0043  GETTABUP  R5 = _ENV[K17('EBIType')]
  0044  GETTABLE  R5 = R5[K18('BakeOutGetBakeOutRanks')]
  0045  NEWTABLE  R6 = {} (0 items)
  0046  GETTABLE  R7 = R0[K20('m_config')]
  0047  TEST      if not R7 then   -> -131023
  0048  JMP       (jump)   -> 51
  0049  GETTABLE  R7 = R0[K20('m_config')]
  0050  GETTABLE  R7 = R7[K21('sTime')]
  0051  SETTABLE  R6[K19('st')] = R7
  0052  GETTABLE  R7 = R0[K20('m_config')]
  0053  TEST      if not R7 then   -> -131017
  0054  JMP       (jump)   -> 57
  0055  GETTABLE  R7 = R0[K20('m_config')]
  0056  GETTABLE  R7 = R7[K23('eTime')]
  0057  SETTABLE  R6[K22('et')] = R7
  0058  SELF      R8 = R0[K25('_GetSettlementFinishedTime')] (self)
  0059  CALL      R7 = call(R7, 1 args, 1 rets)
  0060  SETTABLE  R6[K24('rt')] = R7
  0061  GETTABLE  R7 = R0[K27('m_dbTable')]
  0062  SELF      R8 = R7[K28('GetValue')] (self)
  0063  GETTABUP  R9 = DBKey[K29('DelayedGetRewardTime')]
  0064  GETUPVAL  R10 = _ENV
  0065  CALL      R7 = call(R7, 1 args, 3 rets)
  0066  SETTABLE  R6[K26('dt')] = R7
  0067  GETTABUP  R7 = _ENV[K10('GM')]
  0068  GETTABLE  R7 = R7[K31('GameModel')]
  0069  SELF      R8 = R7[K32('GetServerTime')] (self)
  0070  CALL      R7 = call(R7, 1 args, 1 rets)
  0071  SETTABLE  R6[K30('ct')] = R7
  0072  CALL      R3 = call(R3, 0 args, 3 rets)
  0073  GETTABUP  R3 = _ENV[K33('RedisMessage')]
  0074  GETTABLE  R3 = R3[K34('GetBakeOutRank')]
  0075  GETTABLE  R4 = R0[K35('m_type')]
  0076  SELF      R6 = R0[K36('GetId')] (self)
  0077  CALL      R5 = call(R5, 1 args, 1 rets)
  0078  SELF      R7 = R0[K37('GetToken')] (self)
  0079  CALL      R6 = call(R6, 1 args, 1 rets)
  0080  GETTABLE  R7 = R0[K13('m_getBakeOutRankcallbackFunc')]
  0081  MOVE      R8 = R0
  0082  CALL      R3 = call(R3, 0 args, 5 rets)
  0083  GETTABUP  R3 = _ENV[K10('GM')]
  0084  GETTABLE  R3 = R3[K38('UIManager')]
  0085  SELF      R4 = R3[K39('ShowTestPrompt')] (self)
  0086  LOADK     R5 = K40 '发送排行榜请求'
  0087  CALL      R3 = call(R3, 0 args, 2 rets)
  0088  RETURN    return R0..R-1
  ; ---------- proto0 [m_getBakeOutRankcallbackFunc] ----------
    ; fn ?  line 1065-1082 np=3 va=0 ms=11 code=57 consts=22 upvals=2 protos=0
    ;   K[0]='m_bIsSendingRequest'
    ;   K[1]=false
    ;   K[2]='m_getBakeOutRankStartTime'
    ;   K[3]='EndAndGetDur'
    ;   K[4]='rcode'
    ;   K[5]=0
    ;   K[6]='_UpdateRankInfo'
    ;   K[7]='_SequenceRankDatas'
    ;   K[8]='ranks'
    ;   K[9]='m_arrLastRankDatas'
    ;   K[10]='GM'
    ;   K[11]='BIManager'
    ;   K[12]='LogNet'
    ;   K[13]='EBIType'
    ;   K[14]='NetworkCheckAction'
    ;   K[15]='BakeOutSuccess'
    ;   K[16]='BakeOutFailed'
    ;   K[17]='m_arrGetBakeOutRankCallback'
    ;   K[18]=1
    ;   K[19]=-1
    ;   K[20]='table'
    ;   K[21]='remove'
    ;   upvals: self, _ENV
    ;   locals: bSuccess(0-57), tbResp(0-57), reqCtx(0-57), timeInterval(4-57), (for index)(44-56), (for limit)(44-56), (for step)(44-56), i(45-55)
    0000  SETTABUP  self[K0('m_bIsSendingRequest')] = K1(false)
    0001  GETTABUP  R3 = self[K2('m_getBakeOutRankStartTime')]
    0002  SELF      R4 = R3[K3('EndAndGetDur')] (self)
    0003  CALL      R3 = call(R3, 1 args, 1 rets)
    0004  TEST      if not R0 then   -> -131066
    0005  JMP       (jump)   -> 30
    0006  GETTABLE  R4 = R1[K4('rcode')]
    0007  EQ        if R0 eq K5(0)   -> -128754
    0008  JMP       (jump)   -> 30
    0009  GETUPVAL  R4 = self
    0010  SELF      R5 = R4[K6('_UpdateRankInfo')] (self)
    0011  MOVE      R6 = R0
    0012  CALL      R4 = call(R4, 0 args, 2 rets)
    0013  GETUPVAL  R4 = self
    0014  SELF      R5 = R4[K7('_SequenceRankDatas')] (self)
    0015  GETTABLE  R6 = R1[K8('ranks')]
    0016  CALL      R4 = call(R4, 0 args, 2 rets)
    0017  GETTABLE  R4 = R1[K8('ranks')]
    0018  SETTABUP  self[K9('m_arrLastRankDatas')] = R4
    0019  GETTABUP  R4 = _ENV[K10('GM')]
    0020  GETTABLE  R4 = R4[K11('BIManager')]
    0021  SELF      R5 = R4[K12('LogNet')] (self)
    0022  GETTABUP  R6 = _ENV[K13('EBIType')]
    0023  GETTABLE  R6 = R6[K14('NetworkCheckAction')]
    0024  GETTABLE  R6 = R6[K15('BakeOutSuccess')]
    0025  LOADNIL   R7..R7 = nil
    0026  MOVE      R8 = R0
    0027  MOVE      R9 = R0
    0028  CALL      R4 = call(R4, 0 args, 5 rets)
    0029  JMP       (jump)   -> 40
    0030  GETTABUP  R4 = _ENV[K10('GM')]
    0031  GETTABLE  R4 = R4[K11('BIManager')]
    0032  SELF      R5 = R4[K12('LogNet')] (self)
    0033  GETTABUP  R6 = _ENV[K13('EBIType')]
    0034  GETTABLE  R6 = R6[K14('NetworkCheckAction')]
    0035  GETTABLE  R6 = R6[K16('BakeOutFailed')]
    0036  LOADNIL   R7..R7 = nil
    0037  MOVE      R8 = R0
    0038  MOVE      R9 = R0
    0039  CALL      R4 = call(R4, 0 args, 5 rets)
    0040  GETTABUP  R4 = self[K17('m_arrGetBakeOutRankCallback')]
    0041  LEN       R4 = len R0
    0042  LOADK     R5 = K18 1
    0043  LOADK     R6 = K19 -1
    0044  FORPREP   forprep R4(sBx=10)   -> 55
    0045  GETTABUP  R8 = self[K17('m_arrGetBakeOutRankCallback')]
    0046  GETTABLE  R8 = R8[R7]
    0047  MOVE      R9 = R0
    0048  MOVE      R10 = R0
    0049  CALL      R8 = call(R8, 0 args, 2 rets)
    0050  GETTABUP  R8 = _ENV[K20('table')]
    0051  GETTABLE  R8 = R8[K21('remove')]
    0052  GETTABUP  R9 = self[K17('m_arrGetBakeOutRankCallback')]
    0053  MOVE      R10 = R0
    0054  CALL      R8 = call(R8, 0 args, 2 rets)
    0055  FORLOOP   forloop R4(sBx=-11)   -> 45
    0056  RETURN    return R0..R-1
; ---------- proto78 [GetOwnDataFromRanksData] ----------
  ; fn ?  line 1100-1108 np=2 va=0 ms=9 code=19 consts=5 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UserModel'
  ;   K[2]='GetUserId'
  ;   K[3]=1
  ;   K[4]='userid'
  ;   upvals: _ENV
  ;   locals: self(0-19), arrRanks(0-19), userid(4-19), (for index)(7-16), (for limit)(7-16), (for step)(7-16), i(8-15)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UserModel')]
  0002  SELF      R3 = R2[K2('GetUserId')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  LOADK     R3 = K3 1
  0005  LEN       R4 = len R0
  0006  LOADK     R5 = K3 1
  0007  FORPREP   forprep R3(sBx=7)   -> 15
  0008  GETTABLE  R7 = R1[R6]
  0009  GETTABLE  R7 = R7[K4('userid')]
  0010  EQ        if R0 eq R2   -> -127474
  0011  JMP       (jump)   -> 15
  0012  GETTABLE  R7 = R1[R6]
  0013  MOVE      R8 = R0
  0014  RETURN    return R7..R6
  0015  FORLOOP   forloop R3(sBx=-8)   -> 8
  0016  LOADNIL   R3..R3 = nil
  0017  RETURN    return R3..R2
  0018  RETURN    return R0..R-1
; ---------- proto79 [_UpdateRankInfo] ----------
  ; fn ?  line 1110-1117 np=2 va=0 ms=7 code=16 consts=10 upvals=1 protos=0
  ;   K[0]='_SetGroupId'
  ;   K[1]='group_id'
  ;   K[2]='GM'
  ;   K[3]='UserModel'
  ;   K[4]='GetUserId'
  ;   K[5]='GetOwnDataFromRanksData'
  ;   K[6]='ranks'
  ;   K[7]=nil
  ;   K[8]='UpdateCurRank'
  ;   K[9]='rank'
  ;   upvals: _ENV
  ;   locals: self(0-16), tbResp(0-16), userId(7-16), rankData(10-16)
  0000  SELF      R3 = R0[K0('_SetGroupId')] (self)
  0001  GETTABLE  R4 = R1[K1('group_id')]
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  GETTABUP  R2 = _ENV[K2('GM')]
  0004  GETTABLE  R2 = R2[K3('UserModel')]
  0005  SELF      R3 = R2[K4('GetUserId')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SELF      R4 = R0[K5('GetOwnDataFromRanksData')] (self)
  0008  GETTABLE  R5 = R1[K6('ranks')]
  0009  CALL      R3 = call(R3, 1 args, 2 rets)
  0010  EQ        if R1 eq K7(nil)   -> -129261
  0011  JMP       (jump)   -> 15
  0012  SELF      R5 = R0[K8('UpdateCurRank')] (self)
  0013  GETTABLE  R6 = R3[K9('rank')]
  0014  CALL      R4 = call(R4, 0 args, 2 rets)
  0015  RETURN    return R0..R-1
; ---------- proto80 [_SequenceRankDatas] ----------
  ; fn ?  line 1119-1122 np=2 va=0 ms=7 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='_SortRankArr'
  ;   K[1]='_UpdateSelfProfile'
  ;   K[2]='GetOwnDataFromRanksData'
  ;   locals: self(0-9), arrRanks(0-9)
  0000  SELF      R3 = R0[K0('_SortRankArr')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  SELF      R3 = R0[K1('_UpdateSelfProfile')] (self)
  0004  SELF      R5 = R0[K2('GetOwnDataFromRanksData')] (self)
  0005  MOVE      R6 = R0
  0006  CALL      R4 = call(R4, -1 args, 2 rets)
  0007  CALL      R2 = call(R2, 0 args, -1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto81 [_SortRankArr] ----------
  ; fn ?  line 1124-1141 np=2 va=0 ms=6 code=10 consts=5 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UserModel'
  ;   K[2]='GetUserId'
  ;   K[3]='table'
  ;   K[4]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-10), arrRanks(0-10), userid(4-10)
  0000  GETTABUP  R2 = _ENV[K0('GM')]
  0001  GETTABLE  R2 = R2[K1('UserModel')]
  0002  SELF      R3 = R2[K2('GetUserId')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABUP  R3 = _ENV[K3('table')]
  0005  GETTABLE  R3 = R3[K4('sort')]
  0006  MOVE      R4 = R0
  0007  CLOSURE   R5 = closure proto0
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 1126-1140 np=2 va=0 ms=4 code=53 consts=2 upvals=1 protos=0
    ;   K[0]='rank'
    ;   K[1]='userid'
    ;   upvals: userid
    ;   locals: rankInfoA(0-53), rankInfoB(0-53)
    0000  GETTABLE  R2 = R0[K0('rank')]
    0001  GETTABLE  R3 = R1[K0('rank')]
    0002  EQ        if R0 eq R3   -> -130041
    0003  JMP       (jump)   -> 45
    0004  GETTABLE  R2 = R0[K1('userid')]
    0005  GETUPVAL  R3 = userid
    0006  EQ        if R1 eq R3   -> -130037
    0007  JMP       (jump)   -> 20
    0008  GETTABLE  R2 = R1[K1('userid')]
    0009  GETUPVAL  R3 = userid
    0010  EQ        if R1 eq R3   -> -130033
    0011  JMP       (jump)   -> 20
    0012  GETTABLE  R2 = R0[K1('userid')]
    0013  GETTABLE  R3 = R1[K1('userid')]
    0014  LT        if R1 lt R3   -> -130029
    0015  JMP       (jump)   -> 17
    0016  LOADBOOL  R2 = false
    0017  LOADBOOL  R2 = true
    0018  RETURN    return R2..R1
    0019  JMP       (jump)   -> 52
    0020  GETTABLE  R2 = R0[K1('userid')]
    0021  GETUPVAL  R3 = userid
    0022  EQ        if R0 eq R3   -> -130021
    0023  JMP       (jump)   -> 31
    0024  GETTABLE  R2 = R1[K1('userid')]
    0025  GETUPVAL  R3 = userid
    0026  EQ        if R1 eq R3   -> -130017
    0027  JMP       (jump)   -> 31
    0028  LOADBOOL  R2 = true
    0029  RETURN    return R2..R1
    0030  JMP       (jump)   -> 52
    0031  GETTABLE  R2 = R0[K1('userid')]
    0032  GETUPVAL  R3 = userid
    0033  EQ        if R1 eq R3   -> -130010
    0034  JMP       (jump)   -> 42
    0035  GETTABLE  R2 = R1[K1('userid')]
    0036  GETUPVAL  R3 = userid
    0037  EQ        if R0 eq R3   -> -130006
    0038  JMP       (jump)   -> 42
    0039  LOADBOOL  R2 = false
    0040  RETURN    return R2..R1
    0041  JMP       (jump)   -> 52
    0042  LOADBOOL  R2 = false
    0043  RETURN    return R2..R1
    0044  JMP       (jump)   -> 52
    0045  GETTABLE  R2 = R0[K0('rank')]
    0046  GETTABLE  R3 = R1[K0('rank')]
    0047  LT        if R1 lt R3   -> -129996
    0048  JMP       (jump)   -> 50
    0049  LOADBOOL  R2 = false
    0050  LOADBOOL  R2 = true
    0051  RETURN    return R2..R1
    0052  RETURN    return R0..R-1
; ---------- proto82 [_UpdateSelfProfile] ----------
  ; fn ?  line 1143-1150 np=2 va=0 ms=5 code=42 consts=13 upvals=1 protos=0
  ;   K[0]='userid'
  ;   K[1]='GM'
  ;   K[2]='UserModel'
  ;   K[3]='GetUserId'
  ;   K[4]='name'
  ;   K[5]='UserProfileModel'
  ;   K[6]='GetName'
  ;   K[7]='icon'
  ;   K[8]='GetAvatar'
  ;   K[9]='badge'
  ;   K[10]='GetBadge'
  ;   K[11]='icon_frame'
  ;   K[12]='GetFrame'
  ;   upvals: _ENV
  ;   locals: self(0-42), myRankData(0-42)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 41
  0002  GETTABLE  R2 = R1[K0('userid')]
  0003  GETTABUP  R3 = _ENV[K1('GM')]
  0004  GETTABLE  R3 = R3[K2('UserModel')]
  0005  SELF      R4 = R3[K3('GetUserId')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  EQ        if R0 eq R3   -> -130036
  0008  JMP       (jump)   -> 41
  0009  GETTABUP  R2 = _ENV[K1('GM')]
  0010  GETTABLE  R2 = R2[K5('UserProfileModel')]
  0011  SELF      R3 = R2[K6('GetName')] (self)
  0012  CALL      R2 = call(R2, 1 args, 1 rets)
  0013  TEST      if not R2 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  GETTABLE  R2 = R1[K4('name')]
  0016  SETTABLE  R1[K4('name')] = R2
  0017  GETTABUP  R2 = _ENV[K1('GM')]
  0018  GETTABLE  R2 = R2[K5('UserProfileModel')]
  0019  SELF      R3 = R2[K8('GetAvatar')] (self)
  0020  CALL      R2 = call(R2, 1 args, 1 rets)
  0021  TEST      if not R2 then   -> -131048
  0022  JMP       (jump)   -> 24
  0023  GETTABLE  R2 = R1[K7('icon')]
  0024  SETTABLE  R1[K7('icon')] = R2
  0025  GETTABUP  R2 = _ENV[K1('GM')]
  0026  GETTABLE  R2 = R2[K5('UserProfileModel')]
  0027  SELF      R3 = R2[K10('GetBadge')] (self)
  0028  CALL      R2 = call(R2, 1 args, 1 rets)
  0029  TEST      if not R2 then   -> -131040
  0030  JMP       (jump)   -> 32
  0031  GETTABLE  R2 = R1[K9('badge')]
  0032  SETTABLE  R1[K9('badge')] = R2
  0033  GETTABUP  R2 = _ENV[K1('GM')]
  0034  GETTABLE  R2 = R2[K5('UserProfileModel')]
  0035  SELF      R3 = R2[K12('GetFrame')] (self)
  0036  CALL      R2 = call(R2, 1 args, 1 rets)
  0037  TEST      if not R2 then   -> -131032
  0038  JMP       (jump)   -> 40
  0039  GETTABLE  R2 = R1[K11('icon_frame')]
  0040  SETTABLE  R1[K11('icon_frame')] = R2
  0041  RETURN    return R0..R-1
; ---------- proto83 [SetExchangeCoinFree] ----------
  ; fn ?  line 1154-1156 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bExchangeCoinFree'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bExchangeCoinFree')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto84 [GetButtonTarget] ----------
  ; fn ?  line 1160-1173 np=0 va=0 ms=5 code=40 consts=16 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Board'
  ;   K[5]='MainBoardView'
  ;   K[6]='GetInstance'
  ;   K[7]=nil
  ;   K[8]='GetOrderArea'
  ;   K[9]='GetIconAreaByActivityType'
  ;   K[10]='ActivityType'
  ;   K[11]='BakeOut'
  ;   K[12]='Main'
  ;   K[13]='TutorialHelper'
  ;   K[14]='GetHudButton'
  ;   K[15]='ESceneViewHudButtonKey'
  ;   upvals: _ENV
  ;   locals: boardView(11-22), orderArea(15-22)
  0000  GETTABUP  R0 = _ENV[K0('GM')]
  0001  GETTABLE  R0 = R0[K1('SceneManager')]
  0002  SELF      R1 = R0[K2('GetGameMode')] (self)
  0003  CALL      R0 = call(R0, 1 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R1 = R1[K4('Board')]
  0006  EQ        if R0 eq R1   -> -131063
  0007  JMP       (jump)   -> 23
  0008  GETTABUP  R0 = _ENV[K5('MainBoardView')]
  0009  GETTABLE  R0 = R0[K6('GetInstance')]
  0010  CALL      R0 = call(R0, 1 args, 0 rets)
  0011  EQ        if R1 eq K7(nil)   -> -130796
  0012  JMP       (jump)   -> 37
  0013  SELF      R2 = R0[K8('GetOrderArea')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  EQ        if R1 eq K7(nil)   -> -130280
  0016  JMP       (jump)   -> 37
  0017  SELF      R3 = R1[K9('GetIconAreaByActivityType')] (self)
  0018  GETTABUP  R4 = _ENV[K10('ActivityType')]
  0019  GETTABLE  R4 = R4[K11('BakeOut')]
  0020  TAILCALL  tailcall(R2, 0)
  0021  RETURN    return R2..R1
  0022  JMP       (jump)   -> 37
  0023  GETTABUP  R0 = _ENV[K0('GM')]
  0024  GETTABLE  R0 = R0[K1('SceneManager')]
  0025  SELF      R1 = R0[K2('GetGameMode')] (self)
  0026  CALL      R0 = call(R0, 1 args, 1 rets)
  0027  GETTABUP  R1 = _ENV[K3('EGameMode')]
  0028  GETTABLE  R1 = R1[K12('Main')]
  0029  EQ        if R0 eq R1   -> -131040
  0030  JMP       (jump)   -> 37
  0031  GETTABUP  R0 = _ENV[K13('TutorialHelper')]
  0032  GETTABLE  R0 = R0[K14('GetHudButton')]
  0033  GETTABUP  R1 = _ENV[K15('ESceneViewHudButtonKey')]
  0034  GETTABLE  R1 = R1[K11('BakeOut')]
  0035  TAILCALL  tailcall(R0, 0)
  0036  RETURN    return R0..R-1
  0037  LOADNIL   R0..R0 = nil
  0038  RETURN    return R0..R-1
  0039  RETURN    return R0..R-1
