# MultiRank_Model_MultiRankModel_1195.luac
; fn @MultiRankModel.lua  line 0-0 np=0 va=1 ms=8 code=166 consts=64 upvals=1 protos=39
;   K[0]='CurrentMultipleIndex'
;   K[1]='curMultipleIndex'
;   K[2]='CurrentMultipleEndTime'
;   K[3]='curMultipleEndTime'
;   K[4]='LastMultipleIndex'
;   K[5]='lastMultipleIndex'
;   K[6]='MultipleIndex2ArtIndex'
;   K[7]=1
;   K[8]=2
;   K[9]=3
;   K[10]=5
;   K[11]=4
;   K[12]='MultiRankModel'
;   K[13]='setmetatable'
;   K[14]='RequestFullRankDataApiFuncName'
;   K[15]='GetMultiRank'
;   K[16]='QueryFinalRankDataApiFuncName'
;   K[17]='QueryMultiRank'
;   K[18]='HeartBeatReqTokenKey'
;   K[19]='multiToken'
;   K[20]='HeartBeatRespRankKey'
;   K[21]='multiRank'
;   K[22]='RankActivityModel'
;   K[23]='__index'
;   K[24]='_GetDefinition'
;   K[25]='_EnlistGetFullRankRequestCallback'
;   K[26]='_SettlementGetFullRankRequestCallback'
;   K[27]='GetActiveModel'
;   K[28]='Init'
;   K[29]='Destroy'
;   K[30]='_OnStateChanged'
;   K[31]='AddEventListeners'
;   K[32]='RemoveEventListeners'
;   K[33]='GetBoardEntryShowConfig'
;   K[34]='GetMapEntryShowConfig'
;   K[35]='_LoadOtherServerConfig'
;   K[36]='CanAddScore'
;   K[37]='AcquireActivityToken'
;   K[38]='GetOrderFinishScrollBackDelay'
;   K[39]='GetOrderBIInfo'
;   K[40]='MultiRankModel'
;   K[41]='UpdatePerSecond'
;   K[42]='GetOrderExtraReward'
;   K[43]='AddMultiple'
;   K[44]='ResetMultiple'
;   K[45]='GetAllMultiples'
;   K[46]='GetCurrentMultiple'
;   K[47]='GetCurrentMultipleIndex'
;   K[48]='SetCurrentMultipleIndex'
;   K[49]='GetCurrentMultipleEndTime'
;   K[50]='SetCurrentMultipleEndTime'
;   K[51]='SetLastMultipleIndex'
;   K[52]='GetLastMultipleIndex'
;   K[53]='TryAcquireProgressRewards'
;   K[54]='GetLevelByScore'
;   K[55]='GetLevel'
;   K[56]='GetMaxLevel'
;   K[57]='GetMaxScore'
;   K[58]='GetLevelRewards'
;   K[59]='GetLevelRewardBoxImg'
;   K[60]='GetLevelRequire'
;   K[61]='GetProgressInfoByScore'
;   K[62]='GetCanAcquiredRewardCount'
;   K[63]='TryShowMainWindow'
;   upvals: _ENV
;   locals: DBKey(4-166)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K0('CurrentMultipleIndex')] = K1('curMultipleIndex')
0002  SETTABLE  R0[K2('CurrentMultipleEndTime')] = K3('curMultipleEndTime')
0003  SETTABLE  R0[K4('LastMultipleIndex')] = K5('lastMultipleIndex')
0004  NEWTABLE  R1 = {} (0 items)
0005  NEWTABLE  R2 = {} (1 items)
0006  LOADK     R3 = K7 1
0007  SETLIST   setlist R2[B=1,C=1]
0008  SETTABLE  R1[K7(1)] = R2
0009  NEWTABLE  R2 = {} (2 items)
0010  LOADK     R3 = K7 1
0011  LOADK     R4 = K9 3
0012  SETLIST   setlist R2[B=1,C=2]
0013  SETTABLE  R1[K8(2)] = R2
0014  NEWTABLE  R2 = {} (3 items)
0015  LOADK     R3 = K7 1
0016  LOADK     R4 = K9 3
0017  LOADK     R5 = K10 5
0018  SETLIST   setlist R2[B=1,C=3]
0019  SETTABLE  R1[K9(3)] = R2
0020  NEWTABLE  R2 = {} (4 items)
0021  LOADK     R3 = K7 1
0022  LOADK     R4 = K9 3
0023  LOADK     R5 = K11 4
0024  LOADK     R6 = K10 5
0025  SETLIST   setlist R2[B=1,C=4]
0026  SETTABLE  R1[K11(4)] = R2
0027  NEWTABLE  R2 = {} (5 items)
0028  LOADK     R3 = K7 1
0029  LOADK     R4 = K8 2
0030  LOADK     R5 = K9 3
0031  LOADK     R6 = K11 4
0032  LOADK     R7 = K10 5
0033  SETLIST   setlist R2[B=1,C=5]
0034  SETTABLE  R1[K10(5)] = R2
0035  SETTABUP  _ENV[K6('MultipleIndex2ArtIndex')] = R1
0036  GETTABUP  R1 = _ENV[K13('setmetatable')]
0037  NEWTABLE  R2 = {} (0 items)
0038  SETTABLE  R2[K14('RequestFullRankDataApiFuncName')] = K15('GetMultiRank')
0039  SETTABLE  R2[K16('QueryFinalRankDataApiFuncName')] = K17('QueryMultiRank')
0040  SETTABLE  R2[K18('HeartBeatReqTokenKey')] = K19('multiToken')
0041  SETTABLE  R2[K20('HeartBeatRespRankKey')] = K21('multiRank')
0042  GETTABUP  R3 = _ENV[K22('RankActivityModel')]
0043  CALL      R1 = call(R1, 1 args, 2 rets)
0044  SETTABUP  _ENV[K12('MultiRankModel')] = R1
0045  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0046  GETTABUP  R2 = _ENV[K12('MultiRankModel')]
0047  SETTABLE  R1[K23('__index')] = R2
0048  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0049  CLOSURE   R2 = closure proto0
0050  SETTABLE  R1[K24('_GetDefinition')] = R2
0051  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0052  CLOSURE   R2 = closure proto1
0053  SETTABLE  R1[K25('_EnlistGetFullRankRequestCallback')] = R2
0054  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0055  CLOSURE   R2 = closure proto2
0056  SETTABLE  R1[K26('_SettlementGetFullRankRequestCallback')] = R2
0057  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0058  CLOSURE   R2 = closure proto3
0059  SETTABLE  R1[K27('GetActiveModel')] = R2
0060  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0061  CLOSURE   R2 = closure proto4
0062  SETTABLE  R1[K28('Init')] = R2
0063  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0064  CLOSURE   R2 = closure proto5
0065  SETTABLE  R1[K29('Destroy')] = R2
0066  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0067  CLOSURE   R2 = closure proto6
0068  SETTABLE  R1[K30('_OnStateChanged')] = R2
0069  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0070  CLOSURE   R2 = closure proto7
0071  SETTABLE  R1[K31('AddEventListeners')] = R2
0072  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0073  CLOSURE   R2 = closure proto8
0074  SETTABLE  R1[K32('RemoveEventListeners')] = R2
0075  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0076  CLOSURE   R2 = closure proto9
0077  SETTABLE  R1[K33('GetBoardEntryShowConfig')] = R2
0078  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0079  CLOSURE   R2 = closure proto10
0080  SETTABLE  R1[K34('GetMapEntryShowConfig')] = R2
0081  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0082  CLOSURE   R2 = closure proto11
0083  SETTABLE  R1[K35('_LoadOtherServerConfig')] = R2
0084  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0085  CLOSURE   R2 = closure proto12
0086  SETTABLE  R1[K36('CanAddScore')] = R2
0087  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0088  CLOSURE   R2 = closure proto13
0089  SETTABLE  R1[K37('AcquireActivityToken')] = R2
0090  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0091  CLOSURE   R2 = closure proto14
0092  SETTABLE  R1[K38('GetOrderFinishScrollBackDelay')] = R2
0093  GETTABUP  R1 = _ENV[K12('MultiRankModel')]
0094  CLOSURE   R2 = closure proto15
0095  SETTABLE  R1[K39('GetOrderBIInfo')] = R2
0096  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0097  CLOSURE   R2 = closure proto16
0098  SETTABLE  R1[K41('UpdatePerSecond')] = R2
0099  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0100  CLOSURE   R2 = closure proto17
0101  SETTABLE  R1[K42('GetOrderExtraReward')] = R2
0102  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0103  CLOSURE   R2 = closure proto18
0104  SETTABLE  R1[K43('AddMultiple')] = R2
0105  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0106  CLOSURE   R2 = closure proto19
0107  SETTABLE  R1[K44('ResetMultiple')] = R2
0108  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0109  CLOSURE   R2 = closure proto20
0110  SETTABLE  R1[K45('GetAllMultiples')] = R2
0111  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0112  CLOSURE   R2 = closure proto21
0113  SETTABLE  R1[K46('GetCurrentMultiple')] = R2
0114  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0115  CLOSURE   R2 = closure proto22
0116  SETTABLE  R1[K47('GetCurrentMultipleIndex')] = R2
0117  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0118  CLOSURE   R2 = closure proto23
0119  SETTABLE  R1[K48('SetCurrentMultipleIndex')] = R2
0120  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0121  CLOSURE   R2 = closure proto24
0122  SETTABLE  R1[K49('GetCurrentMultipleEndTime')] = R2
0123  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0124  CLOSURE   R2 = closure proto25
0125  SETTABLE  R1[K50('SetCurrentMultipleEndTime')] = R2
0126  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0127  CLOSURE   R2 = closure proto26
0128  SETTABLE  R1[K51('SetLastMultipleIndex')] = R2
0129  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0130  CLOSURE   R2 = closure proto27
0131  SETTABLE  R1[K52('GetLastMultipleIndex')] = R2
0132  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0133  CLOSURE   R2 = closure proto28
0134  SETTABLE  R1[K53('TryAcquireProgressRewards')] = R2
0135  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0136  CLOSURE   R2 = closure proto29
0137  SETTABLE  R1[K54('GetLevelByScore')] = R2
0138  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0139  CLOSURE   R2 = closure proto30
0140  SETTABLE  R1[K55('GetLevel')] = R2
0141  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0142  CLOSURE   R2 = closure proto31
0143  SETTABLE  R1[K56('GetMaxLevel')] = R2
0144  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0145  CLOSURE   R2 = closure proto32
0146  SETTABLE  R1[K57('GetMaxScore')] = R2
0147  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0148  CLOSURE   R2 = closure proto33
0149  SETTABLE  R1[K58('GetLevelRewards')] = R2
0150  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0151  CLOSURE   R2 = closure proto34
0152  SETTABLE  R1[K59('GetLevelRewardBoxImg')] = R2
0153  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0154  CLOSURE   R2 = closure proto35
0155  SETTABLE  R1[K60('GetLevelRequire')] = R2
0156  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0157  CLOSURE   R2 = closure proto36
0158  SETTABLE  R1[K61('GetProgressInfoByScore')] = R2
0159  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0160  CLOSURE   R2 = closure proto37
0161  SETTABLE  R1[K62('GetCanAcquiredRewardCount')] = R2
0162  GETTABUP  R1 = _ENV[K40('MultiRankModel')]
0163  CLOSURE   R2 = closure proto38
0164  SETTABLE  R1[K63('TryShowMainWindow')] = R2
0165  RETURN    return R0..R-1
; ---------- proto0 [_GetDefinition] ----------
  ; fn ?  line 30-32 np=2 va=0 ms=3 code=4 consts=1 upvals=1 protos=0
  ;   K[0]='MultiRankDefinition'
  ;   upvals: _ENV
  ;   locals: self(0-4), activityType(0-4)
  0000  GETTABUP  R2 = _ENV[K0('MultiRankDefinition')]
  0001  GETTABLE  R2 = R2[R1]
  0002  RETURN    return R2..R1
  0003  RETURN    return R0..R-1
; ---------- proto1 [_EnlistGetFullRankRequestCallback] ----------
  ; fn ?  line 34-35 np=2 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), success(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto2 [_SettlementGetFullRankRequestCallback] ----------
  ; fn ?  line 37-38 np=2 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1), success(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto3 [GetActiveModel] ----------
  ; fn ?  line 40-50 np=0 va=0 ms=9 code=25 consts=9 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='MultiRankDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]=nil
  ;   K[6]='GetState'
  ;   K[7]='ActivityState'
  ;   K[8]='Started'
  ;   upvals: _ENV
  ;   locals: model(1-25), (for generator)(4-22), (for state)(4-22), (for control)(4-22), actType(5-20), _(5-20)
  0000  LOADNIL   R0..R0 = nil
  0001  GETTABUP  R1 = _ENV[K0('pairs')]
  0002  GETTABUP  R2 = _ENV[K1('MultiRankDefinition')]
  0003  CALL      R1 = call(R1, 3 args, 1 rets)
  0004  JMP       (jump)   -> 20
  0005  GETTABUP  R6 = _ENV[K2('GM')]
  0006  GETTABLE  R6 = R6[K3('ActivityManager')]
  0007  SELF      R7 = R6[K4('GetModel')] (self)
  0008  MOVE      R8 = R0
  0009  CALL      R6 = call(R6, 1 args, 2 rets)
  0010  MOVE      R0 = R0
  0011  EQ        if R1 eq K5(nil)   -> -130798
  0012  JMP       (jump)   -> 20
  0013  SELF      R7 = R0[K6('GetState')] (self)
  0014  CALL      R6 = call(R6, 1 args, 1 rets)
  0015  GETTABUP  R7 = _ENV[K7('ActivityState')]
  0016  GETTABLE  R7 = R7[K8('Started')]
  0017  EQ        if R0 eq R7   -> -127974
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R0..R-1
  0020  TFORCALL  tforcall R1
  0021  TFORLOOP  tforloop R3(sBx=-17)   -> 5
  0022  LOADNIL   R1..R1 = nil
  0023  RETURN    return R1..R0
  0024  RETURN    return R0..R-1
; ---------- proto4 [Init] ----------
  ; fn ?  line 52-55 np=3 va=0 ms=7 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='ActivityTokenHelper'
  ;   K[2]='Create'
  ;   K[3]='RankActivityModel'
  ;   K[4]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-13), activityType(0-13), dbTable(0-13)
  0000  GETTABUP  R3 = _ENV[K1('ActivityTokenHelper')]
  0001  GETTABLE  R3 = R3[K2('Create')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  CALL      R3 = call(R3, 1 args, 2 rets)
  0005  SETTABLE  R0[K0('m_tokenHelper')] = R3
  0006  GETTABUP  R3 = _ENV[K3('RankActivityModel')]
  0007  GETTABLE  R3 = R3[K4('Init')]
  0008  MOVE      R4 = R0
  0009  MOVE      R5 = R0
  0010  MOVE      R6 = R0
  0011  CALL      R3 = call(R3, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto5 [Destroy] ----------
  ; fn ?  line 57-60 np=1 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='RankActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='m_tokenHelper'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('RankActivityModel')]
  0001  GETTABLE  R1 = R1[K1('Destroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_tokenHelper')]
  0005  SELF      R2 = R1[K1('Destroy')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto6 [_OnStateChanged] ----------
  ; fn ?  line 62-70 np=1 va=0 ms=4 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='RankActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='AddEventListeners'
  ;   K[6]='RemoveEventListeners'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('RankActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_OnStateChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('GetState')] (self)
  0005  LOADBOOL  R3 = false
  0006  CALL      R1 = call(R1, 1 args, 2 rets)
  0007  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R2 = R2[K4('Started')]
  0009  EQ        if R0 eq R2   -> -130547
  0010  JMP       (jump)   -> 14
  0011  SELF      R2 = R0[K5('AddEventListeners')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  JMP       (jump)   -> 16
  0014  SELF      R2 = R0[K6('RemoveEventListeners')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto7 [AddEventListeners] ----------
  ; fn ?  line 72-79 np=1 va=0 ms=5 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_bAddListener'
  ;   K[1]=true
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='OrderFinished'
  ;   K[6]='AddMultiple'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_bAddListener')]
  0001  EQ        if R0 eq K1(true)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bAddListener')] = K1(true)
  0005  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0006  GETTABLE  R1 = R1[K3('AddListener')]
  0007  GETTABUP  R2 = _ENV[K4('EEventType')]
  0008  GETTABLE  R2 = R2[K5('OrderFinished')]
  0009  MOVE      R3 = R0
  0010  GETTABLE  R4 = R0[K6('AddMultiple')]
  0011  CALL      R1 = call(R1, 0 args, 3 rets)
  0012  RETURN    return R0..R-1
; ---------- proto8 [RemoveEventListeners] ----------
  ; fn ?  line 81-85 np=1 va=0 ms=4 code=8 consts=6 upvals=1 protos=0
  ;   K[0]='m_bAddListener'
  ;   K[1]=false
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveListener'
  ;   K[4]='EEventType'
  ;   K[5]='OrderFinished'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  SETTABLE  R0[K0('m_bAddListener')] = K1(false)
  0001  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0002  GETTABLE  R1 = R1[K3('RemoveListener')]
  0003  GETTABUP  R2 = _ENV[K4('EEventType')]
  0004  GETTABLE  R2 = R2[K5('OrderFinished')]
  0005  MOVE      R3 = R0
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto9 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 88-98 np=1 va=0 ms=3 code=17 consts=11 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='extraListenEvent'
  ;   K[4]='FinishSettlementEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='MultiRank'
  ;   K[8]='entryPrefabName'
  ;   K[9]='BoardEntryPrefabName'
  ;   K[10]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0005  GETTABLE  R2 = R2[K4('FinishSettlementEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('MultiRank')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K9('BoardEntryPrefabName')]
  0012  SETTABLE  R1[K8('entryPrefabName')] = R2
  0013  CLOSURE   R2 = closure proto0
  0014  SETTABLE  R1[K10('checkFun')] = R2
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 94-96 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='CheckOpen'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CheckOpen')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto10 [GetMapEntryShowConfig] ----------
  ; fn ?  line 101-112 np=1 va=0 ms=3 code=20 consts=13 upvals=1 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='extraListenEvent'
  ;   K[4]='FinishSettlementEvent'
  ;   K[5]='eEntryRootKey'
  ;   K[6]='EEntryRootKey'
  ;   K[7]='MultiRank'
  ;   K[8]='entryPrefabName'
  ;   K[9]='EntryPrefabName'
  ;   K[10]='hudKey'
  ;   K[11]='EntryButtonKey'
  ;   K[12]='checkFun'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  NEWTABLE  R1 = {} (0 items)
  0001  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R2 = R2[K2('StateChangedEvent')]
  0003  SETTABLE  R1[K0('statusChangeEvent')] = R2
  0004  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0005  GETTABLE  R2 = R2[K4('FinishSettlementEvent')]
  0006  SETTABLE  R1[K3('extraListenEvent')] = R2
  0007  GETTABUP  R2 = _ENV[K6('EEntryRootKey')]
  0008  GETTABLE  R2 = R2[K7('MultiRank')]
  0009  SETTABLE  R1[K5('eEntryRootKey')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K9('EntryPrefabName')]
  0012  SETTABLE  R1[K8('entryPrefabName')] = R2
  0013  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0014  GETTABLE  R2 = R2[K11('EntryButtonKey')]
  0015  SETTABLE  R1[K10('hudKey')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K12('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 108-110 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='CheckOpen'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CheckOpen')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto11 [_LoadOtherServerConfig] ----------
  ; fn ?  line 114-140 np=2 va=0 ms=14 code=69 consts=29 upvals=1 protos=0
  ;   K[0]='RankActivityModel'
  ;   K[1]='_LoadOtherServerConfig'
  ;   K[2]='m_tokenHelper'
  ;   K[3]='LoadConfig'
  ;   K[4]='multi_rank'
  ;   K[5]=1
  ;   K[6]='m_multiDuration'
  ;   K[7]='duration'
  ;   K[8]=1800
  ;   K[9]='m_arrMultiple'
  ;   K[10]='multiple'
  ;   K[11]='m_maxMultiple'
  ;   K[12]='progressRewards'
  ;   K[13]='Table'
  ;   K[14]='Empty'
  ;   K[15]='m_allLevelConfigs'
  ;   K[16]=0
  ;   K[17]='ipairs'
  ;   K[18]='score'
  ;   K[19]='Score'
  ;   K[20]='TotalScore'
  ;   K[21]='Level'
  ;   K[22]='level'
  ;   K[23]='Rewards'
  ;   K[24]='rewards'
  ;   K[25]='UICode'
  ;   K[26]='uiCode'
  ;   K[27]='RewardApi'
  ;   K[28]='CryptRewards'
  ;   upvals: _ENV
  ;   locals: self(0-69), config(0-69), multiConfig(17-69), rewardCfg(39-69), totalScore(42-69), (for generator)(45-68), (for state)(45-68), (for control)(45-68), _(46-66), lConfig(46-66), levelConfigItem(49-66)
  0000  GETTABUP  R2 = _ENV[K0('RankActivityModel')]
  0001  GETTABLE  R2 = R2[K1('_LoadOtherServerConfig')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  GETTABLE  R2 = R0[K2('m_tokenHelper')]
  0006  SELF      R3 = R2[K3('LoadConfig')] (self)
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  GETTABLE  R2 = R1[K4('multi_rank')]
  0010  TEST      if not R2 then   -> -131060
  0011  JMP       (jump)   -> 16
  0012  GETTABLE  R2 = R1[K4('multi_rank')]
  0013  GETTABLE  R2 = R2[K5(1)]
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  NEWTABLE  R2 = {} (0 items)
  0017  GETTABLE  R3 = R2[K7('duration')]
  0018  TEST      if not R3 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  LOADK     R3 = K8 1800
  0021  SETTABLE  R0[K6('m_multiDuration')] = R3
  0022  GETTABLE  R3 = R2[K10('multiple')]
  0023  TEST      if not R3 then   -> -131046
  0024  JMP       (jump)   -> 28
  0025  NEWTABLE  R3 = {} (1 items)
  0026  LOADK     R4 = K5 1
  0027  SETLIST   setlist R3[B=1,C=1]
  0028  SETTABLE  R0[K9('m_arrMultiple')] = R3
  0029  GETTABLE  R3 = R0[K9('m_arrMultiple')]
  0030  GETTABLE  R4 = R0[K9('m_arrMultiple')]
  0031  LEN       R4 = len R0
  0032  GETTABLE  R3 = R3[R4]
  0033  SETTABLE  R0[K11('m_maxMultiple')] = R3
  0034  GETTABLE  R3 = R1[K12('progressRewards')]
  0035  TEST      if not R3 then   -> -131034
  0036  JMP       (jump)   -> 39
  0037  GETTABUP  R3 = _ENV[K13('Table')]
  0038  GETTABLE  R3 = R3[K14('Empty')]
  0039  NEWTABLE  R4 = {} (0 items)
  0040  SETTABLE  R0[K15('m_allLevelConfigs')] = R4
  0041  LOADK     R4 = K16 0
  0042  GETTABUP  R5 = _ENV[K17('ipairs')]
  0043  MOVE      R6 = R0
  0044  CALL      R5 = call(R5, 3 args, 1 rets)
  0045  JMP       (jump)   -> 66
  0046  GETTABLE  R10 = R9[K18('score')]
  0047  ADD       R4 = R10 add R4
  0048  NEWTABLE  R10 = {} (0 items)
  0049  GETTABLE  R11 = R9[K18('score')]
  0050  SETTABLE  R10[K19('Score')] = R11
  0051  SETTABLE  R10[K20('TotalScore')] = R4
  0052  GETTABLE  R11 = R9[K22('level')]
  0053  SETTABLE  R10[K21('Level')] = R11
  0054  GETTABLE  R11 = R9[K24('rewards')]
  0055  SETTABLE  R10[K23('Rewards')] = R11
  0056  GETTABLE  R11 = R9[K26('uiCode')]
  0057  SETTABLE  R10[K25('UICode')] = R11
  0058  GETTABUP  R11 = _ENV[K27('RewardApi')]
  0059  GETTABLE  R11 = R11[K28('CryptRewards')]
  0060  GETTABLE  R12 = R10[K23('Rewards')]
  0061  LOADBOOL  R13 = true
  0062  CALL      R11 = call(R11, 0 args, 2 rets)
  0063  GETTABLE  R11 = R0[K15('m_allLevelConfigs')]
  0064  GETTABLE  R12 = R9[K22('level')]
  0065  SETTABLE  R11[R12] = R10
  0066  TFORCALL  tforcall R5
  0067  TFORLOOP  tforloop R7(sBx=-22)   -> 46
  0068  RETURN    return R0..R-1
; ---------- proto12 [CanAddScore] ----------
  ; fn ?  line 142-144 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  LOADBOOL  R1 = false
  0007  LOADBOOL  R1 = true
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto13 [AcquireActivityToken] ----------
  ; fn ?  line 146-161 np=3 va=0 ms=8 code=28 consts=10 upvals=1 protos=1
  ;   K[0]='CanAddScore'
  ;   K[1]=0
  ;   K[2]=1
  ;   K[3]='_AddToken'
  ;   K[4]='EventDispatcher'
  ;   K[5]='DispatchEvent'
  ;   K[6]='EEventType'
  ;   K[7]='MultiRankScoreChanged'
  ;   K[8]='GetCanAcquiredRewardCount'
  ;   K[9]='RequestFullRankData'
  ;   upvals: _ENV
  ;   locals: self(0-28), num(0-28), multiple(0-28)
  0000  SELF      R4 = R0[K0('CanAddScore')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  TEST      if not R3 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LE        if R0 le K1(0)   -> -130297
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  LOADK     R2 = K2 1
  0010  SELF      R4 = R0[K3('_AddToken')] (self)
  0011  MUL       R5 = R2 mul R1
  0012  CALL      R3 = call(R3, 0 args, 2 rets)
  0013  GETTABUP  R3 = _ENV[K4('EventDispatcher')]
  0014  GETTABLE  R3 = R3[K5('DispatchEvent')]
  0015  GETTABUP  R4 = _ENV[K6('EEventType')]
  0016  GETTABLE  R4 = R4[K7('MultiRankScoreChanged')]
  0017  CALL      R3 = call(R3, 0 args, 1 rets)
  0018  SELF      R4 = R0[K8('GetCanAcquiredRewardCount')] (self)
  0019  CALL      R3 = call(R3, 1 args, 1 rets)
  0020  LT        if R0 lt R3   -> 537
  0021  JMP       (jump)   -> 27
  0022  SELF      R4 = R0[K9('RequestFullRankData')] (self)
  0023  CLOSURE   R5 = closure proto0
  0024  LOADBOOL  R6 = false
  0025  LOADBOOL  R7 = true
  0026  CALL      R3 = call(R3, 0 args, 4 rets)
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 159-159 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
; ---------- proto14 [GetOrderFinishScrollBackDelay] ----------
  ; fn ?  line 163-176 np=2 va=0 ms=9 code=34 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]=0
  ;   K[3]='ipairs'
  ;   K[4]='PROPERTY_TYPE'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='ActivityTokenPropertyType'
  ;   K[7]='PROPERTY_MULTIPLE'
  ;   K[8]=nil
  ;   K[9]='m_maxMultiple'
  ;   K[10]=1.5
  ;   upvals: _ENV
  ;   locals: self(0-34), arrRewards(0-34), (for generator)(11-31), (for state)(11-31), (for control)(11-31), _(12-29), reward(12-29)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADK     R2 = K2 0
  0007  RETURN    return R2..R1
  0008  GETTABUP  R2 = _ENV[K3('ipairs')]
  0009  MOVE      R3 = R0
  0010  CALL      R2 = call(R2, 3 args, 1 rets)
  0011  JMP       (jump)   -> 29
  0012  GETTABUP  R7 = _ENV[K4('PROPERTY_TYPE')]
  0013  GETTABLE  R7 = R6[R7]
  0014  GETTABLE  R8 = R0[K5('m_activityDefinition')]
  0015  GETTABLE  R8 = R8[K6('ActivityTokenPropertyType')]
  0016  EQ        if R0 eq R8   -> -127462
  0017  JMP       (jump)   -> 29
  0018  GETTABUP  R7 = _ENV[K7('PROPERTY_MULTIPLE')]
  0019  GETTABLE  R7 = R6[R7]
  0020  EQ        if R1 eq K8(nil)   -> -127202
  0021  JMP       (jump)   -> 29
  0022  GETTABUP  R7 = _ENV[K7('PROPERTY_MULTIPLE')]
  0023  GETTABLE  R7 = R6[R7]
  0024  GETTABLE  R8 = R0[K9('m_maxMultiple')]
  0025  LT        if R0 lt R8   -> -127453
  0026  JMP       (jump)   -> 29
  0027  LOADK     R7 = K10 1.5
  0028  RETURN    return R7..R6
  0029  TFORCALL  tforcall R2
  0030  TFORLOOP  tforloop R4(sBx=-19)   -> 12
  0031  LOADK     R2 = K2 0
  0032  RETURN    return R2..R1
  0033  RETURN    return R0..R-1
; ---------- proto15 [GetOrderBIInfo] ----------
  ; fn ?  line 178-191 np=1 va=0 ms=10 code=35 consts=11 upvals=1 protos=0
  ;   K[0]='MultiRankModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]=nil
  ;   K[5]='GetActivityDefinition'
  ;   K[6]='ipairs'
  ;   K[7]='PROPERTY_TYPE'
  ;   K[8]='ActivityTokenPropertyType'
  ;   K[9]='PROPERTY_MULTIPLE'
  ;   K[10]='PROPERTY_COUNT'
  ;   upvals: _ENV
  ;   locals: arrRewards(0-35), activeModel(3-35), definition(14-35), (for generator)(17-34), (for state)(17-34), (for control)(17-34), _(18-32), reward(18-32)
  0000  GETTABUP  R1 = _ENV[K0('MultiRankModel')]
  0001  GETTABLE  R1 = R1[K1('GetActiveModel')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  GETTABUP  R2 = _ENV[K2('Table')]
  0004  GETTABLE  R2 = R2[K3('IsEmpty')]
  0005  MOVE      R3 = R0
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 11
  0009  EQ        if R0 eq K4(nil)   -> -130289
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  SELF      R3 = R1[K5('GetActivityDefinition')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  GETTABUP  R3 = _ENV[K6('ipairs')]
  0015  MOVE      R4 = R0
  0016  CALL      R3 = call(R3, 3 args, 1 rets)
  0017  JMP       (jump)   -> 32
  0018  GETTABUP  R8 = _ENV[K7('PROPERTY_TYPE')]
  0019  GETTABLE  R8 = R7[R8]
  0020  GETTABLE  R9 = R2[K8('ActivityTokenPropertyType')]
  0021  EQ        if R0 eq R9   -> -126944
  0022  JMP       (jump)   -> 32
  0023  GETTABUP  R8 = _ENV[K9('PROPERTY_MULTIPLE')]
  0024  GETTABLE  R8 = R7[R8]
  0025  EQ        if R1 eq K4(nil)   -> -126689
  0026  JMP       (jump)   -> 32
  0027  GETTABUP  R8 = _ENV[K10('PROPERTY_COUNT')]
  0028  GETTABLE  R8 = R7[R8]
  0029  GETTABUP  R9 = _ENV[K9('PROPERTY_MULTIPLE')]
  0030  GETTABLE  R9 = R7[R9]
  0031  RETURN    return R8..R7
  0032  TFORCALL  tforcall R3
  0033  TFORLOOP  tforloop R5(sBx=-16)   -> 18
  0034  RETURN    return R0..R-1
; ---------- proto16 [UpdatePerSecond] ----------
  ; fn ?  line 193-200 np=1 va=0 ms=4 code=19 consts=9 upvals=1 protos=0
  ;   K[0]='RankActivityModel'
  ;   K[1]='UpdatePerSecond'
  ;   K[2]='GetCurrentMultipleIndex'
  ;   K[3]=1
  ;   K[4]='GM'
  ;   K[5]='GameModel'
  ;   K[6]='GetServerTime'
  ;   K[7]='GetCurrentMultipleEndTime'
  ;   K[8]='ResetMultiple'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABUP  R1 = _ENV[K0('RankActivityModel')]
  0001  GETTABLE  R1 = R1[K1('UpdatePerSecond')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('GetCurrentMultipleIndex')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  LT        if R0 lt R1   -> 1545
  0007  JMP       (jump)   -> 18
  0008  GETTABUP  R1 = _ENV[K4('GM')]
  0009  GETTABLE  R1 = R1[K5('GameModel')]
  0010  SELF      R2 = R1[K6('GetServerTime')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  SELF      R3 = R0[K7('GetCurrentMultipleEndTime')] (self)
  0013  CALL      R2 = call(R2, 1 args, 1 rets)
  0014  LT        if R0 lt R1   -> -130031
  0015  JMP       (jump)   -> 18
  0016  SELF      R2 = R0[K8('ResetMultiple')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto17 [GetOrderExtraReward] ----------
  ; fn ?  line 202-207 np=4 va=0 ms=8 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='GetOrderExtraReward'
  ;   K[2]='PROPERTY_MULTIPLE'
  ;   K[3]='GetCurrentMultiple'
  ;   upvals: _ENV
  ;   locals: self(0-11), orderScore(0-11), coinNum(0-11), orderId(0-11), reward(5-11)
  0000  GETTABLE  R4 = R0[K0('m_tokenHelper')]
  0001  SELF      R5 = R4[K1('GetOrderExtraReward')] (self)
  0002  MOVE      R6 = R0
  0003  MOVE      R7 = R0
  0004  CALL      R4 = call(R4, 1 args, 3 rets)
  0005  GETTABUP  R5 = _ENV[K2('PROPERTY_MULTIPLE')]
  0006  SELF      R7 = R0[K3('GetCurrentMultiple')] (self)
  0007  CALL      R6 = call(R6, 1 args, 1 rets)
  0008  SETTABLE  R4[R5] = R6
  0009  RETURN    return R4..R3
  0010  RETURN    return R0..R-1
; ---------- proto18 [AddMultiple] ----------
  ; fn ?  line 209-224 np=1 va=0 ms=8 code=48 consts=26 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='GetCurrentMultipleIndex'
  ;   K[4]='SetCurrentMultipleIndex'
  ;   K[5]='math'
  ;   K[6]='min'
  ;   K[7]=1
  ;   K[8]='m_arrMultiple'
  ;   K[9]='SetCurrentMultipleEndTime'
  ;   K[10]='GM'
  ;   K[11]='GameModel'
  ;   K[12]='GetServerTime'
  ;   K[13]='m_multiDuration'
  ;   K[14]='GetEndTime'
  ;   K[15]='EventDispatcher'
  ;   K[16]='DispatchEvent'
  ;   K[17]='EEventType'
  ;   K[18]='OrderRewardChanged'
  ;   K[19]='BIManager'
  ;   K[20]='LogAction'
  ;   K[21]='EBIType'
  ;   K[22]='MultiRankAddMultiple'
  ;   K[23]='multi'
  ;   K[24]='GetCurrentMultiple'
  ;   K[25]='duration'
  ;   upvals: _ENV
  ;   locals: self(0-48), curIndex(9-48)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Started')]
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('GetCurrentMultipleIndex')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  SELF      R3 = R0[K4('SetCurrentMultipleIndex')] (self)
  0010  GETTABUP  R4 = _ENV[K5('math')]
  0011  GETTABLE  R4 = R4[K6('min')]
  0012  ADD       R5 = K7(1) add R1
  0013  GETTABLE  R6 = R0[K8('m_arrMultiple')]
  0014  LEN       R6 = len R0
  0015  CALL      R4 = call(R4, -1 args, 2 rets)
  0016  CALL      R2 = call(R2, 0 args, -1 rets)
  0017  SELF      R3 = R0[K9('SetCurrentMultipleEndTime')] (self)
  0018  GETTABUP  R4 = _ENV[K5('math')]
  0019  GETTABLE  R4 = R4[K6('min')]
  0020  GETTABUP  R5 = _ENV[K10('GM')]
  0021  GETTABLE  R5 = R5[K11('GameModel')]
  0022  SELF      R6 = R5[K12('GetServerTime')] (self)
  0023  CALL      R5 = call(R5, 1 args, 1 rets)
  0024  GETTABLE  R6 = R0[K13('m_multiDuration')]
  0025  ADD       R5 = R6 add R5
  0026  SELF      R7 = R0[K14('GetEndTime')] (self)
  0027  CALL      R6 = call(R6, -1 args, 1 rets)
  0028  CALL      R4 = call(R4, -1 args, -1 rets)
  0029  CALL      R2 = call(R2, 0 args, -1 rets)
  0030  GETTABUP  R2 = _ENV[K15('EventDispatcher')]
  0031  GETTABLE  R2 = R2[K16('DispatchEvent')]
  0032  GETTABUP  R3 = _ENV[K17('EEventType')]
  0033  GETTABLE  R3 = R3[K18('OrderRewardChanged')]
  0034  CALL      R2 = call(R2, 0 args, 1 rets)
  0035  GETTABUP  R2 = _ENV[K10('GM')]
  0036  GETTABLE  R2 = R2[K19('BIManager')]
  0037  SELF      R3 = R2[K20('LogAction')] (self)
  0038  GETTABUP  R4 = _ENV[K21('EBIType')]
  0039  GETTABLE  R4 = R4[K22('MultiRankAddMultiple')]
  0040  NEWTABLE  R5 = {} (0 items)
  0041  SELF      R7 = R0[K24('GetCurrentMultiple')] (self)
  0042  CALL      R6 = call(R6, 1 args, 1 rets)
  0043  SETTABLE  R5[K23('multi')] = R6
  0044  GETTABLE  R6 = R0[K13('m_multiDuration')]
  0045  SETTABLE  R5[K25('duration')] = R6
  0046  CALL      R2 = call(R2, 0 args, 3 rets)
  0047  RETURN    return R0..R-1
; ---------- proto19 [ResetMultiple] ----------
  ; fn ?  line 226-233 np=1 va=0 ms=4 code=20 consts=10 upvals=1 protos=0
  ;   K[0]='SetCurrentMultipleIndex'
  ;   K[1]=1
  ;   K[2]='SetCurrentMultipleEndTime'
  ;   K[3]=0
  ;   K[4]='SetLastMultipleIndex'
  ;   K[5]='EventDispatcher'
  ;   K[6]='DispatchEvent'
  ;   K[7]='EEventType'
  ;   K[8]='MultiRankMultipleChanged'
  ;   K[9]='RewardValidChanged'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  SELF      R2 = R0[K0('SetCurrentMultipleIndex')] (self)
  0001  LOADK     R3 = K1 1
  0002  CALL      R1 = call(R1, 0 args, 2 rets)
  0003  SELF      R2 = R0[K2('SetCurrentMultipleEndTime')] (self)
  0004  LOADK     R3 = K3 0
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  SELF      R2 = R0[K4('SetLastMultipleIndex')] (self)
  0007  LOADK     R3 = K1 1
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABUP  R1 = _ENV[K5('EventDispatcher')]
  0010  GETTABLE  R1 = R1[K6('DispatchEvent')]
  0011  GETTABUP  R2 = _ENV[K7('EEventType')]
  0012  GETTABLE  R2 = R2[K8('MultiRankMultipleChanged')]
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  GETTABUP  R1 = _ENV[K5('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K6('DispatchEvent')]
  0016  GETTABUP  R2 = _ENV[K7('EEventType')]
  0017  GETTABLE  R2 = R2[K9('RewardValidChanged')]
  0018  CALL      R1 = call(R1, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
; ---------- proto20 [GetAllMultiples] ----------
  ; fn ?  line 235-237 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrMultiple'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_arrMultiple')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto21 [GetCurrentMultiple] ----------
  ; fn ?  line 239-241 np=1 va=0 ms=4 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrMultiple'
  ;   K[1]='GetCurrentMultipleIndex'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_arrMultiple')]
  0001  SELF      R3 = R0[K1('GetCurrentMultipleIndex')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABLE  R1 = R1[R2]
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto22 [GetCurrentMultipleIndex] ----------
  ; fn ?  line 243-245 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='CurrentMultipleIndex'
  ;   K[3]='value'
  ;   K[4]=1
  ;   upvals: DBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('CurrentMultipleIndex')]
  0003  LOADK     R4 = K3 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto23 [SetCurrentMultipleIndex] ----------
  ; fn ?  line 247-252 np=2 va=0 ms=7 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='m_arrMultiple'
  ;   K[1]=nil
  ;   K[2]='m_dbTable'
  ;   K[3]='Set'
  ;   K[4]='CurrentMultipleIndex'
  ;   K[5]='value'
  ;   upvals: DBKey
  ;   locals: self(0-12), index(0-12)
  0000  GETTABLE  R2 = R0[K0('m_arrMultiple')]
  0001  GETTABLE  R2 = R2[R1]
  0002  EQ        if R0 eq K1(nil)   -> -129787
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R2 = R0[K2('m_dbTable')]
  0006  SELF      R3 = R2[K3('Set')] (self)
  0007  GETTABUP  R4 = DBKey[K4('CurrentMultipleIndex')]
  0008  LOADK     R5 = K5 'value'
  0009  MOVE      R6 = R0
  0010  CALL      R2 = call(R2, 0 args, 4 rets)
  0011  RETURN    return R0..R-1
; ---------- proto24 [GetCurrentMultipleEndTime] ----------
  ; fn ?  line 254-256 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='CurrentMultipleEndTime'
  ;   K[3]='value'
  ;   K[4]=0
  ;   upvals: DBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('CurrentMultipleEndTime')]
  0003  LOADK     R4 = K3 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto25 [SetCurrentMultipleEndTime] ----------
  ; fn ?  line 258-260 np=2 va=0 ms=7 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='CurrentMultipleEndTime'
  ;   K[3]='value'
  ;   upvals: DBKey
  ;   locals: self(0-7), eTime(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('CurrentMultipleEndTime')]
  0003  LOADK     R5 = K3 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto26 [SetLastMultipleIndex] ----------
  ; fn ?  line 262-264 np=2 va=0 ms=7 code=7 consts=4 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='LastMultipleIndex'
  ;   K[3]='value'
  ;   upvals: DBKey
  ;   locals: self(0-7), index(0-7)
  0000  GETTABLE  R2 = R0[K0('m_dbTable')]
  0001  SELF      R3 = R2[K1('Set')] (self)
  0002  GETTABUP  R4 = DBKey[K2('LastMultipleIndex')]
  0003  LOADK     R5 = K3 'value'
  0004  MOVE      R6 = R0
  0005  CALL      R2 = call(R2, 0 args, 4 rets)
  0006  RETURN    return R0..R-1
; ---------- proto27 [GetLastMultipleIndex] ----------
  ; fn ?  line 266-268 np=1 va=0 ms=5 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='LastMultipleIndex'
  ;   K[3]='value'
  ;   K[4]=1
  ;   upvals: DBKey
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = DBKey[K2('LastMultipleIndex')]
  0003  LOADK     R4 = K3 'value'
  0004  CALL      R1 = call(R1, 1 args, 3 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K4 1
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto28 [TryAcquireProgressRewards] ----------
  ; fn ?  line 271-296 np=1 va=0 ms=13 code=63 consts=29 upvals=1 protos=0
  ;   K[0]='GetLastScore'
  ;   K[1]='GetLevelByScore'
  ;   K[2]='GetUserScore'
  ;   K[3]=1
  ;   K[4]='m_allLevelConfigs'
  ;   K[5]='TotalScore'
  ;   K[6]='Table'
  ;   K[7]='ListAppend'
  ;   K[8]='Rewards'
  ;   K[9]='LogActivity'
  ;   K[10]='EBIType'
  ;   K[11]='ActivityRankUp'
  ;   K[12]='IsEmpty'
  ;   K[13]='RewardApi'
  ;   K[14]='AcquireRewardsLogic'
  ;   K[15]='EPropertySource'
  ;   K[16]='Give'
  ;   K[17]='MultiRankProgressRewards'
  ;   K[18]='ERewardScene'
  ;   K[19]='Other'
  ;   K[20]='EGameMode'
  ;   K[21]='Board'
  ;   K[22]='CacheItemType'
  ;   K[23]='Stack'
  ;   K[24]='SetLastScore'
  ;   K[25]='EventDispatcher'
  ;   K[26]='DispatchEvent'
  ;   K[27]='EEventType'
  ;   K[28]='MultiRankScoreChanged'
  ;   upvals: _ENV
  ;   locals: self(0-63), lastScore(2-63), lastLevel(5-63), score(7-63), acquiredRewards(8-63), (for index)(12-33), (for limit)(12-33), (for step)(12-33), i(13-32)
  0000  SELF      R2 = R0[K0('GetLastScore')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetLevelByScore')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K2('GetUserScore')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  NEWTABLE  R4 = {} (0 items)
  0008  ADD       R5 = K3(1) add R2
  0009  GETTABLE  R6 = R0[K4('m_allLevelConfigs')]
  0010  LEN       R6 = len R0
  0011  LOADK     R7 = K3 1
  0012  FORPREP   forprep R5(sBx=19)   -> 32
  0013  GETTABLE  R9 = R0[K4('m_allLevelConfigs')]
  0014  GETTABLE  R9 = R9[R8]
  0015  GETTABLE  R9 = R9[K5('TotalScore')]
  0016  LE        if R0 le R3   -> -126443
  0017  JMP       (jump)   -> 33
  0018  GETTABUP  R9 = _ENV[K6('Table')]
  0019  GETTABLE  R9 = R9[K7('ListAppend')]
  0020  MOVE      R10 = R0
  0021  GETTABLE  R11 = R0[K4('m_allLevelConfigs')]
  0022  GETTABLE  R11 = R11[R8]
  0023  GETTABLE  R11 = R11[K8('Rewards')]
  0024  CALL      R9 = call(R9, 0 args, 2 rets)
  0025  SELF      R10 = R0[K9('LogActivity')] (self)
  0026  GETTABUP  R11 = _ENV[K10('EBIType')]
  0027  GETTABLE  R11 = R11[K11('ActivityRankUp')]
  0028  MOVE      R12 = R0
  0029  CALL      R9 = call(R9, 0 args, 3 rets)
  0030  JMP       (jump)   -> 32
  0031  JMP       (jump)   -> 33
  0032  FORLOOP   forloop R5(sBx=-20)   -> 13
  0033  GETTABUP  R5 = _ENV[K6('Table')]
  0034  GETTABLE  R5 = R5[K12('IsEmpty')]
  0035  MOVE      R6 = R0
  0036  CALL      R5 = call(R5, 1 args, 1 rets)
  0037  TEST      if not R5 then   -> -131032
  0038  JMP       (jump)   -> 53
  0039  GETTABUP  R5 = _ENV[K13('RewardApi')]
  0040  GETTABLE  R5 = R5[K14('AcquireRewardsLogic')]
  0041  MOVE      R6 = R0
  0042  GETTABUP  R7 = _ENV[K15('EPropertySource')]
  0043  GETTABLE  R7 = R7[K16('Give')]
  0044  GETTABUP  R8 = _ENV[K10('EBIType')]
  0045  GETTABLE  R8 = R8[K17('MultiRankProgressRewards')]
  0046  GETTABUP  R9 = _ENV[K18('ERewardScene')]
  0047  GETTABLE  R9 = R9[K19('Other')]
  0048  GETTABUP  R10 = _ENV[K20('EGameMode')]
  0049  GETTABLE  R10 = R10[K21('Board')]
  0050  GETTABUP  R11 = _ENV[K22('CacheItemType')]
  0051  GETTABLE  R11 = R11[K23('Stack')]
  0052  CALL      R5 = call(R5, 0 args, 6 rets)
  0053  SELF      R6 = R0[K24('SetLastScore')] (self)
  0054  MOVE      R7 = R0
  0055  CALL      R5 = call(R5, 0 args, 2 rets)
  0056  GETTABUP  R5 = _ENV[K25('EventDispatcher')]
  0057  GETTABLE  R5 = R5[K26('DispatchEvent')]
  0058  GETTABUP  R6 = _ENV[K27('EEventType')]
  0059  GETTABLE  R6 = R6[K28('MultiRankScoreChanged')]
  0060  CALL      R5 = call(R5, 0 args, 1 rets)
  0061  RETURN    return R4..R3
  0062  RETURN    return R0..R-1
; ---------- proto29 [GetLevelByScore] ----------
  ; fn ?  line 298-306 np=2 va=0 ms=9 code=13 consts=4 upvals=1 protos=0
  ;   K[0]=0
  ;   K[1]='ipairs'
  ;   K[2]='m_allLevelConfigs'
  ;   K[3]='TotalScore'
  ;   upvals: _ENV
  ;   locals: self(0-13), score(0-13), maxLevel(1-13), (for generator)(4-11), (for state)(4-11), (for control)(4-11), level(5-9), config(5-9)
  0000  LOADK     R2 = K0 0
  0001  GETTABUP  R3 = _ENV[K1('ipairs')]
  0002  GETTABLE  R4 = R0[K2('m_allLevelConfigs')]
  0003  CALL      R3 = call(R3, 3 args, 1 rets)
  0004  JMP       (jump)   -> 9
  0005  GETTABLE  R8 = R7[K3('TotalScore')]
  0006  LE        if R0 le R1   -> -126967
  0007  JMP       (jump)   -> 9
  0008  MOVE      R2 = R0
  0009  TFORCALL  tforcall R3
  0010  TFORLOOP  tforloop R5(sBx=-6)   -> 5
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto30 [GetLevel] ----------
  ; fn ?  line 308-310 np=1 va=0 ms=5 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='GetLevelByScore'
  ;   K[1]='GetUserScore'
  ;   locals: self(0-6)
  0000  SELF      R2 = R0[K0('GetLevelByScore')] (self)
  0001  SELF      R4 = R0[K1('GetUserScore')] (self)
  0002  CALL      R3 = call(R3, -1 args, 1 rets)
  0003  TAILCALL  tailcall(R1, 0)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto31 [GetMaxLevel] ----------
  ; fn ?  line 312-314 np=1 va=0 ms=2 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_allLevelConfigs')]
  0001  LEN       R1 = len R0
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto32 [GetMaxScore] ----------
  ; fn ?  line 316-321 np=1 va=0 ms=3 code=15 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_allLevelConfigs'
  ;   K[3]=0
  ;   K[4]='TotalScore'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_allLevelConfigs')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  LOADK     R1 = K3 0
  0007  RETURN    return R1..R0
  0008  GETTABLE  R1 = R0[K2('m_allLevelConfigs')]
  0009  GETTABLE  R2 = R0[K2('m_allLevelConfigs')]
  0010  LEN       R2 = len R0
  0011  GETTABLE  R1 = R1[R2]
  0012  GETTABLE  R1 = R1[K4('TotalScore')]
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto33 [GetLevelRewards] ----------
  ; fn ?  line 323-325 np=2 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   K[1]='Rewards'
  ;   locals: self(0-5), level(0-5)
  0000  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABLE  R2 = R2[K1('Rewards')]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto34 [GetLevelRewardBoxImg] ----------
  ; fn ?  line 327-329 np=2 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   K[1]='UICode'
  ;   K[2]='ImageFileConfigName'
  ;   K[3]='dig_chest_1'
  ;   upvals: _ENV
  ;   locals: self(0-9), level(0-9)
  0000  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABLE  R2 = R2[K1('UICode')]
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 7
  0005  GETTABUP  R2 = _ENV[K2('ImageFileConfigName')]
  0006  GETTABLE  R2 = R2[K3('dig_chest_1')]
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto35 [GetLevelRequire] ----------
  ; fn ?  line 331-333 np=2 va=0 ms=3 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='m_allLevelConfigs'
  ;   K[1]='Score'
  ;   locals: self(0-9), level(0-9)
  0000  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0001  GETTABLE  R2 = R2[R1]
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R2 = R0[K0('m_allLevelConfigs')]
  0005  GETTABLE  R2 = R2[R1]
  0006  GETTABLE  R2 = R2[K1('Score')]
  0007  RETURN    return R2..R1
  0008  RETURN    return R0..R-1
; ---------- proto36 [GetProgressInfoByScore] ----------
  ; fn ?  line 335-339 np=2 va=0 ms=9 code=27 consts=8 upvals=1 protos=0
  ;   K[0]='GetLevelByScore'
  ;   K[1]='m_allLevelConfigs'
  ;   K[2]='TotalScore'
  ;   K[3]=0
  ;   K[4]='math'
  ;   K[5]='min'
  ;   K[6]=1
  ;   K[7]='Score'
  ;   upvals: _ENV
  ;   locals: self(0-27), score(0-27), level(3-27), curScore(14-27)
  0000  SELF      R3 = R0[K0('GetLevelByScore')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 1 args, 2 rets)
  0003  GETTABLE  R3 = R0[K1('m_allLevelConfigs')]
  0004  GETTABLE  R3 = R3[R2]
  0005  TEST      if not R3 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  GETTABLE  R3 = R0[K1('m_allLevelConfigs')]
  0008  GETTABLE  R3 = R3[R2]
  0009  GETTABLE  R3 = R3[K2('TotalScore')]
  0010  TEST      if not R3 then   -> -131059
  0011  JMP       (jump)   -> 13
  0012  LOADK     R3 = K3 0
  0013  SUB       R3 = R3 sub R1
  0014  MOVE      R4 = R0
  0015  GETTABLE  R5 = R0[K1('m_allLevelConfigs')]
  0016  GETTABUP  R6 = _ENV[K4('math')]
  0017  GETTABLE  R6 = R6[K5('min')]
  0018  ADD       R7 = K6(1) add R2
  0019  GETTABLE  R8 = R0[K1('m_allLevelConfigs')]
  0020  LEN       R8 = len R0
  0021  CALL      R6 = call(R6, 1 args, 2 rets)
  0022  GETTABLE  R5 = R5[R6]
  0023  GETTABLE  R5 = R5[K7('Score')]
  0024  MOVE      R6 = R0
  0025  RETURN    return R4..R3
  0026  RETURN    return R0..R-1
; ---------- proto37 [GetCanAcquiredRewardCount] ----------
  ; fn ?  line 341-356 np=1 va=0 ms=10 code=24 consts=7 upvals=0 protos=0
  ;   K[0]='GetLastScore'
  ;   K[1]='GetLevelByScore'
  ;   K[2]='GetUserScore'
  ;   K[3]=0
  ;   K[4]=1
  ;   K[5]='m_allLevelConfigs'
  ;   K[6]='TotalScore'
  ;   locals: self(0-24), lastScore(2-24), lastLevel(5-24), score(7-24), rewardNum(8-24), (for index)(12-22), (for limit)(12-22), (for step)(12-22), i(13-21)
  0000  SELF      R2 = R0[K0('GetLastScore')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetLevelByScore')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  SELF      R4 = R0[K2('GetUserScore')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  LOADK     R4 = K3 0
  0008  ADD       R5 = K4(1) add R2
  0009  GETTABLE  R6 = R0[K5('m_allLevelConfigs')]
  0010  LEN       R6 = len R0
  0011  LOADK     R7 = K4 1
  0012  FORPREP   forprep R5(sBx=8)   -> 21
  0013  GETTABLE  R9 = R0[K5('m_allLevelConfigs')]
  0014  GETTABLE  R9 = R9[R8]
  0015  GETTABLE  R9 = R9[K6('TotalScore')]
  0016  LE        if R0 le R3   -> -126443
  0017  JMP       (jump)   -> 22
  0018  ADD       R4 = K4(1) add R4
  0019  JMP       (jump)   -> 21
  0020  JMP       (jump)   -> 22
  0021  FORLOOP   forloop R5(sBx=-9)   -> 13
  0022  RETURN    return R4..R3
  0023  RETURN    return R0..R-1
; ---------- proto38 [TryShowMainWindow] ----------
  ; fn ?  line 359-388 np=1 va=0 ms=8 code=57 consts=23 upvals=1 protos=2
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Ended'
  ;   K[3]='IsInGroup'
  ;   K[4]='GetSettlementState'
  ;   K[5]='RankSettlementState'
  ;   K[6]='Finished'
  ;   K[7]='RequestFullRankData'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='OpenView'
  ;   K[11]='m_activityDefinition'
  ;   K[12]='MainWindowPrefabName'
  ;   K[13]='GetType'
  ;   K[14]='Started'
  ;   K[15]='GetUserScore'
  ;   K[16]='GetGroupMinTokenNumber'
  ;   K[17]='GM'
  ;   K[18]='UIManager'
  ;   K[19]='OpenView'
  ;   K[20]='m_activityDefinition'
  ;   K[21]='StartWindowPrefabName'
  ;   K[22]='GetType'
  ;   upvals: _ENV
  ;   locals: self(0-57), state(2-57)
  0000  SELF      R2 = R0[K0('GetState')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0003  GETTABLE  R2 = R2[K2('Ended')]
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 32
  0006  SELF      R3 = R0[K3('IsInGroup')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 32
  0010  SELF      R3 = R0[K4('GetSettlementState')] (self)
  0011  CALL      R2 = call(R2, 1 args, 1 rets)
  0012  GETTABUP  R3 = _ENV[K5('RankSettlementState')]
  0013  GETTABLE  R3 = R3[K6('Finished')]
  0014  EQ        if R0 eq R3   -> -130029
  0015  JMP       (jump)   -> 21
  0016  SELF      R3 = R0[K7('RequestFullRankData')] (self)
  0017  CLOSURE   R4 = closure proto0
  0018  LOADBOOL  R5 = true
  0019  CALL      R2 = call(R2, 0 args, 3 rets)
  0020  JMP       (jump)   -> 56
  0021  GETTABUP  R2 = _ENV[K8('GM')]
  0022  GETTABLE  R2 = R2[K9('UIManager')]
  0023  SELF      R3 = R2[K10('OpenView')] (self)
  0024  GETTABLE  R4 = R0[K11('m_activityDefinition')]
  0025  GETTABLE  R4 = R4[K12('MainWindowPrefabName')]
  0026  SELF      R6 = R0[K13('GetType')] (self)
  0027  CALL      R5 = call(R5, 1 args, 1 rets)
  0028  LOADBOOL  R6 = true
  0029  LOADBOOL  R7 = true
  0030  CALL      R2 = call(R2, 0 args, 5 rets)
  0031  JMP       (jump)   -> 56
  0032  GETTABUP  R2 = _ENV[K1('ActivityState')]
  0033  GETTABLE  R2 = R2[K14('Started')]
  0034  EQ        if R0 eq R2   -> -130522
  0035  JMP       (jump)   -> 56
  0036  SELF      R3 = R0[K15('GetUserScore')] (self)
  0037  CALL      R2 = call(R2, 1 args, 1 rets)
  0038  SELF      R4 = R0[K16('GetGroupMinTokenNumber')] (self)
  0039  CALL      R3 = call(R3, 1 args, 1 rets)
  0040  LE        if R0 le R2   -> -129492
  0041  JMP       (jump)   -> 47
  0042  SELF      R3 = R0[K7('RequestFullRankData')] (self)
  0043  CLOSURE   R4 = closure proto1
  0044  LOADBOOL  R5 = true
  0045  CALL      R2 = call(R2, 0 args, 3 rets)
  0046  JMP       (jump)   -> 56
  0047  GETTABUP  R2 = _ENV[K17('GM')]
  0048  GETTABLE  R2 = R2[K18('UIManager')]
  0049  SELF      R3 = R2[K19('OpenView')] (self)
  0050  GETTABLE  R4 = R0[K20('m_activityDefinition')]
  0051  GETTABLE  R4 = R4[K21('StartWindowPrefabName')]
  0052  SELF      R6 = R0[K22('GetType')] (self)
  0053  CALL      R5 = call(R5, 1 args, 1 rets)
  0054  LOADBOOL  R6 = true
  0055  CALL      R2 = call(R2, 0 args, 4 rets)
  0056  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 364-371 np=1 va=0 ms=8 code=27 consts=10 upvals=2 protos=0
    ;   K[0]='GetFullRankData'
    ;   K[1]='IsFinal'
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='OpenView'
    ;   K[5]='m_activityDefinition'
    ;   K[6]='MainWindowPrefabName'
    ;   K[7]='GetType'
    ;   K[8]='ShowPromptWithKey'
    ;   K[9]='bakeout_offline_tip'
    ;   upvals: self, _ENV
    ;   locals: Success(0-27)
    0000  TEST      if not R0 then   -> -131070
    0001  JMP       (jump)   -> 21
    0002  GETUPVAL  R1 = self
    0003  SELF      R2 = R1[K0('GetFullRankData')] (self)
    0004  CALL      R1 = call(R1, 1 args, 1 rets)
    0005  GETTABLE  R1 = R1[K1('IsFinal')]
    0006  TEST      if not R1 then   -> -131064
    0007  JMP       (jump)   -> 21
    0008  GETTABUP  R1 = _ENV[K2('GM')]
    0009  GETTABLE  R1 = R1[K3('UIManager')]
    0010  SELF      R2 = R1[K4('OpenView')] (self)
    0011  GETTABUP  R3 = self[K5('m_activityDefinition')]
    0012  GETTABLE  R3 = R3[K6('MainWindowPrefabName')]
    0013  GETUPVAL  R4 = self
    0014  SELF      R5 = R4[K7('GetType')] (self)
    0015  CALL      R4 = call(R4, 1 args, 1 rets)
    0016  LOADBOOL  R5 = true
    0017  LOADBOOL  R6 = false
    0018  LOADBOOL  R7 = true
    0019  CALL      R1 = call(R1, 0 args, 6 rets)
    0020  JMP       (jump)   -> 26
    0021  GETTABUP  R1 = _ENV[K2('GM')]
    0022  GETTABLE  R1 = R1[K3('UIManager')]
    0023  SELF      R2 = R1[K8('ShowPromptWithKey')] (self)
    0024  LOADK     R3 = K9 'bakeout_offline_tip'
    0025  CALL      R1 = call(R1, 0 args, 2 rets)
    0026  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 377-383 np=1 va=0 ms=6 code=19 consts=8 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='OpenView'
    ;   K[3]='m_activityDefinition'
    ;   K[4]='MainWindowPrefabName'
    ;   K[5]='GetType'
    ;   K[6]='ShowPromptWithKey'
    ;   K[7]='bakeout_offline_tip'
    ;   upvals: _ENV, self
    ;   locals: Success(0-19)
    0000  TEST      if not R0 then   -> -131070
    0001  JMP       (jump)   -> 13
    0002  GETTABUP  R1 = _ENV[K0('GM')]
    0003  GETTABLE  R1 = R1[K1('UIManager')]
    0004  SELF      R2 = R1[K2('OpenView')] (self)
    0005  GETTABUP  R3 = self[K3('m_activityDefinition')]
    0006  GETTABLE  R3 = R3[K4('MainWindowPrefabName')]
    0007  GETUPVAL  R4 = _ENV
    0008  SELF      R5 = R4[K5('GetType')] (self)
    0009  CALL      R4 = call(R4, 1 args, 1 rets)
    0010  LOADBOOL  R5 = true
    0011  CALL      R1 = call(R1, 0 args, 4 rets)
    0012  JMP       (jump)   -> 18
    0013  GETTABUP  R1 = _ENV[K0('GM')]
    0014  GETTABLE  R1 = R1[K1('UIManager')]
    0015  SELF      R2 = R1[K6('ShowPromptWithKey')] (self)
    0016  LOADK     R3 = K7 'bakeout_offline_tip'
    0017  CALL      R1 = call(R1, 0 args, 2 rets)
    0018  RETURN    return R0..R-1
