# DigActivity_Model_DigActivityModel_938.luac
; fn @DigActivityModel.lua  line 0-0 np=0 va=1 ms=3 code=160 consts=72 upvals=1 protos=46
;   K[0]='DigActivityModel'
;   K[1]='setmetatable'
;   K[2]='BaseActivityModel'
;   K[3]='__index'
;   K[4]='DigActivityEventType'
;   K[5]='StateChanged'
;   K[6]=1
;   K[7]='RoundKey'
;   K[8]='round'
;   K[9]='ScoreKey'
;   K[10]='score'
;   K[11]='LevelKey'
;   K[12]='level'
;   K[13]='DigPosStateKey'
;   K[14]='digPosState'
;   K[15]='HasAddToken'
;   K[16]='hasAddToken'
;   K[17]='Init'
;   K[18]='Destroy'
;   K[19]='GetResourceLabels'
;   K[20]='_CalculateState'
;   K[21]='_OnStateChanged'
;   K[22]='_DropData'
;   K[23]='_LoadFileConfig'
;   K[24]='_LoadOtherServerConfig'
;   K[25]='GetBoardEntryShowConfig'
;   K[26]='GetMapEntryShowConfig'
;   K[27]='IsActivityOpen'
;   K[28]='HasFinishedAllRound'
;   K[29]='HasFinishedCurRound'
;   K[30]='GetTotalRound'
;   K[31]='GetRound'
;   K[32]='DigActivityModel'
;   K[33]='EnterNextRound'
;   K[34]='DigActivityModel'
;   K[35]='CanAddScore'
;   K[36]='GetScore'
;   K[37]='DigActivityModel'
;   K[38]='AddScore'
;   K[39]='GetActivityTokenNumber'
;   K[40]='AcquireActivityToken'
;   K[41]='_AddScore'
;   K[42]='DigActivityModel'
;   K[43]='GetOrderExtraReward'
;   K[44]='CanAddOrderReward'
;   K[45]='ResetLackDigTokenTrigger'
;   K[46]='TryTriggerLackDigToken'
;   K[47]='OnLackDigToken'
;   K[48]='DigActivityModel'
;   K[49]='GetLevel'
;   K[50]='DigActivityModel'
;   K[51]='_RefreshNextLevel'
;   K[52]='DigActivityModel'
;   K[53]='_UpdateLevel'
;   K[54]='DigActivityModel'
;   K[55]='IsGridDig'
;   K[56]='SetDigPosStateMap'
;   K[57]='DigActivityModel'
;   K[58]='GetLevelConfig'
;   K[59]='GetCurLevelConfig'
;   K[60]='GetCurDigItemDataList'
;   K[61]='DigTargetGrid'
;   K[62]='LogGridState'
;   K[63]='GetCurRoundReward'
;   K[64]='GetAllRoundConfig'
;   K[65]='TryClaimReward'
;   K[66]='HasAcquiredItem'
;   K[67]='GetItemAcquiredProgress'
;   K[68]='IsValidGrid'
;   K[69]='GetOneItemForTutorial'
;   K[70]='IsDigActivityScoreType'
;   K[71]='GetButtonTarget'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseActivityModel')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('DigActivityModel')] = R0
0005  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0006  GETTABUP  R1 = _ENV[K0('DigActivityModel')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K5('StateChanged')] = K6(1)
0010  SETTABUP  _ENV[K4('DigActivityEventType')] = R0
0011  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0012  SETTABLE  R0[K7('RoundKey')] = K8('round')
0013  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0014  SETTABLE  R0[K9('ScoreKey')] = K10('score')
0015  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0016  SETTABLE  R0[K11('LevelKey')] = K12('level')
0017  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0018  SETTABLE  R0[K13('DigPosStateKey')] = K14('digPosState')
0019  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0020  SETTABLE  R0[K15('HasAddToken')] = K16('hasAddToken')
0021  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0022  CLOSURE   R1 = closure proto0
0023  SETTABLE  R0[K17('Init')] = R1
0024  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0025  CLOSURE   R1 = closure proto1
0026  SETTABLE  R0[K18('Destroy')] = R1
0027  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0028  CLOSURE   R1 = closure proto2
0029  SETTABLE  R0[K19('GetResourceLabels')] = R1
0030  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0031  CLOSURE   R1 = closure proto3
0032  SETTABLE  R0[K20('_CalculateState')] = R1
0033  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0034  CLOSURE   R1 = closure proto4
0035  SETTABLE  R0[K21('_OnStateChanged')] = R1
0036  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0037  CLOSURE   R1 = closure proto5
0038  SETTABLE  R0[K22('_DropData')] = R1
0039  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0040  CLOSURE   R1 = closure proto6
0041  SETTABLE  R0[K23('_LoadFileConfig')] = R1
0042  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0043  CLOSURE   R1 = closure proto7
0044  SETTABLE  R0[K24('_LoadOtherServerConfig')] = R1
0045  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0046  CLOSURE   R1 = closure proto8
0047  SETTABLE  R0[K25('GetBoardEntryShowConfig')] = R1
0048  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0049  CLOSURE   R1 = closure proto9
0050  SETTABLE  R0[K26('GetMapEntryShowConfig')] = R1
0051  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0052  CLOSURE   R1 = closure proto10
0053  SETTABLE  R0[K27('IsActivityOpen')] = R1
0054  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0055  CLOSURE   R1 = closure proto11
0056  SETTABLE  R0[K28('HasFinishedAllRound')] = R1
0057  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0058  CLOSURE   R1 = closure proto12
0059  SETTABLE  R0[K29('HasFinishedCurRound')] = R1
0060  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0061  CLOSURE   R1 = closure proto13
0062  SETTABLE  R0[K30('GetTotalRound')] = R1
0063  GETTABUP  R0 = _ENV[K0('DigActivityModel')]
0064  CLOSURE   R1 = closure proto14
0065  SETTABLE  R0[K31('GetRound')] = R1
0066  GETTABUP  R0 = _ENV[K32('DigActivityModel')]
0067  CLOSURE   R1 = closure proto15
0068  SETTABLE  R0[K33('EnterNextRound')] = R1
0069  GETTABUP  R0 = _ENV[K34('DigActivityModel')]
0070  CLOSURE   R1 = closure proto16
0071  SETTABLE  R0[K35('CanAddScore')] = R1
0072  GETTABUP  R0 = _ENV[K34('DigActivityModel')]
0073  CLOSURE   R1 = closure proto17
0074  SETTABLE  R0[K36('GetScore')] = R1
0075  GETTABUP  R0 = _ENV[K37('DigActivityModel')]
0076  CLOSURE   R1 = closure proto18
0077  SETTABLE  R0[K38('AddScore')] = R1
0078  GETTABUP  R0 = _ENV[K37('DigActivityModel')]
0079  CLOSURE   R1 = closure proto19
0080  SETTABLE  R0[K39('GetActivityTokenNumber')] = R1
0081  GETTABUP  R0 = _ENV[K37('DigActivityModel')]
0082  CLOSURE   R1 = closure proto20
0083  SETTABLE  R0[K40('AcquireActivityToken')] = R1
0084  GETTABUP  R0 = _ENV[K37('DigActivityModel')]
0085  CLOSURE   R1 = closure proto21
0086  SETTABLE  R0[K41('_AddScore')] = R1
0087  GETTABUP  R0 = _ENV[K42('DigActivityModel')]
0088  CLOSURE   R1 = closure proto22
0089  SETTABLE  R0[K43('GetOrderExtraReward')] = R1
0090  GETTABUP  R0 = _ENV[K42('DigActivityModel')]
0091  CLOSURE   R1 = closure proto23
0092  SETTABLE  R0[K44('CanAddOrderReward')] = R1
0093  GETTABUP  R0 = _ENV[K42('DigActivityModel')]
0094  CLOSURE   R1 = closure proto24
0095  SETTABLE  R0[K45('ResetLackDigTokenTrigger')] = R1
0096  GETTABUP  R0 = _ENV[K42('DigActivityModel')]
0097  CLOSURE   R1 = closure proto25
0098  SETTABLE  R0[K46('TryTriggerLackDigToken')] = R1
0099  GETTABUP  R0 = _ENV[K42('DigActivityModel')]
0100  CLOSURE   R1 = closure proto26
0101  SETTABLE  R0[K47('OnLackDigToken')] = R1
0102  GETTABUP  R0 = _ENV[K48('DigActivityModel')]
0103  CLOSURE   R1 = closure proto27
0104  SETTABLE  R0[K49('GetLevel')] = R1
0105  GETTABUP  R0 = _ENV[K50('DigActivityModel')]
0106  CLOSURE   R1 = closure proto28
0107  SETTABLE  R0[K51('_RefreshNextLevel')] = R1
0108  GETTABUP  R0 = _ENV[K52('DigActivityModel')]
0109  CLOSURE   R1 = closure proto29
0110  SETTABLE  R0[K53('_UpdateLevel')] = R1
0111  GETTABUP  R0 = _ENV[K54('DigActivityModel')]
0112  CLOSURE   R1 = closure proto30
0113  SETTABLE  R0[K55('IsGridDig')] = R1
0114  GETTABUP  R0 = _ENV[K54('DigActivityModel')]
0115  CLOSURE   R1 = closure proto31
0116  SETTABLE  R0[K56('SetDigPosStateMap')] = R1
0117  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0118  CLOSURE   R1 = closure proto32
0119  SETTABLE  R0[K58('GetLevelConfig')] = R1
0120  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0121  CLOSURE   R1 = closure proto33
0122  SETTABLE  R0[K59('GetCurLevelConfig')] = R1
0123  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0124  CLOSURE   R1 = closure proto34
0125  SETTABLE  R0[K60('GetCurDigItemDataList')] = R1
0126  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0127  CLOSURE   R1 = closure proto35
0128  SETTABLE  R0[K61('DigTargetGrid')] = R1
0129  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0130  CLOSURE   R1 = closure proto36
0131  SETTABLE  R0[K62('LogGridState')] = R1
0132  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0133  CLOSURE   R1 = closure proto37
0134  SETTABLE  R0[K63('GetCurRoundReward')] = R1
0135  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0136  CLOSURE   R1 = closure proto38
0137  SETTABLE  R0[K64('GetAllRoundConfig')] = R1
0138  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0139  CLOSURE   R1 = closure proto39
0140  SETTABLE  R0[K65('TryClaimReward')] = R1
0141  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0142  CLOSURE   R1 = closure proto40
0143  SETTABLE  R0[K66('HasAcquiredItem')] = R1
0144  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0145  CLOSURE   R1 = closure proto41
0146  SETTABLE  R0[K67('GetItemAcquiredProgress')] = R1
0147  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0148  CLOSURE   R1 = closure proto42
0149  SETTABLE  R0[K68('IsValidGrid')] = R1
0150  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0151  CLOSURE   R1 = closure proto43
0152  SETTABLE  R0[K69('GetOneItemForTutorial')] = R1
0153  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0154  CLOSURE   R1 = closure proto44
0155  SETTABLE  R0[K70('IsDigActivityScoreType')] = R1
0156  GETTABUP  R0 = _ENV[K57('DigActivityModel')]
0157  CLOSURE   R1 = closure proto45
0158  SETTABLE  R0[K71('GetButtonTarget')] = R1
0159  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 48-52 np=3 va=0 ms=7 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='DigActivityDefinition'
  ;   K[2]='m_tokenHelper'
  ;   K[3]='ActivityTokenHelper'
  ;   K[4]='Create'
  ;   K[5]='EFlyElementLabelStyle'
  ;   K[6]='Default'
  ;   K[7]='BaseActivityModel'
  ;   K[8]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-18), activityType(0-18), virtualDBTable(0-18)
  0000  GETTABUP  R3 = _ENV[K1('DigActivityDefinition')]
  0001  GETTABLE  R3 = R3[R1]
  0002  SETTABLE  R0[K0('m_activityDefinition')] = R3
  0003  GETTABUP  R3 = _ENV[K3('ActivityTokenHelper')]
  0004  GETTABLE  R3 = R3[K4('Create')]
  0005  MOVE      R4 = R0
  0006  MOVE      R5 = R0
  0007  GETTABUP  R6 = _ENV[K5('EFlyElementLabelStyle')]
  0008  GETTABLE  R6 = R6[K6('Default')]
  0009  CALL      R3 = call(R3, 1 args, 3 rets)
  0010  SETTABLE  R0[K2('m_tokenHelper')] = R3
  0011  GETTABUP  R3 = _ENV[K7('BaseActivityModel')]
  0012  GETTABLE  R3 = R3[K8('Init')]
  0013  MOVE      R4 = R0
  0014  MOVE      R5 = R0
  0015  MOVE      R6 = R0
  0016  CALL      R3 = call(R3, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto1 [Destroy] ----------
  ; fn ?  line 54-57 np=1 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='m_tokenHelper'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  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
; ---------- proto2 [GetResourceLabels] ----------
  ; fn ?  line 59-61 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='ResourceLabels'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('ResourceLabels')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto3 [_CalculateState] ----------
  ; fn ?  line 63-83 np=2 va=0 ms=7 code=71 consts=16 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]=nil
  ;   K[2]='_CanStartActivity'
  ;   K[3]='ActivityState'
  ;   K[4]='Released'
  ;   K[5]='GM'
  ;   K[6]='GameModel'
  ;   K[7]='GetServerTime'
  ;   K[8]='GetEndTime'
  ;   K[9]='_IsExistConditionSatisfied'
  ;   K[10]='sTime'
  ;   K[11]='Preparing'
  ;   K[12]='HasFinishedAllRound'
  ;   K[13]='Started'
  ;   K[14]='rTime'
  ;   K[15]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-71), bIgnoreCondition(0-71), serverTime(17-71), bExistSatisfied(18-71), totalEndTime(21-71)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  EQ        if R1 eq K1(nil)   -> -129788
  0002  JMP       (jump)   -> 9
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 13
  0005  SELF      R3 = R0[K2('_CanStartActivity')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 13
  0009  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0010  GETTABLE  R2 = R2[K4('Released')]
  0011  LOADNIL   R3..R3 = nil
  0012  RETURN    return R2..R1
  0013  GETTABUP  R2 = _ENV[K5('GM')]
  0014  GETTABLE  R2 = R2[K6('GameModel')]
  0015  SELF      R3 = R2[K7('GetServerTime')] (self)
  0016  CALL      R2 = call(R2, 1 args, 1 rets)
  0017  LOADBOOL  R3 = true
  0018  SELF      R5 = R0[K8('GetEndTime')] (self)
  0019  LOADBOOL  R6 = true
  0020  CALL      R4 = call(R4, 1 args, 2 rets)
  0021  TEST      if not R1 then   -> -131048
  0022  JMP       (jump)   -> 27
  0023  SELF      R6 = R0[K9('_IsExistConditionSatisfied')] (self)
  0024  CALL      R5 = call(R5, 2 args, 1 rets)
  0025  MOVE      R4 = R0
  0026  MOVE      R3 = R0
  0027  TEST      if not R3 then   -> -131043
  0028  JMP       (jump)   -> 39
  0029  GETTABLE  R5 = R0[K0('m_config')]
  0030  GETTABLE  R5 = R5[K10('sTime')]
  0031  LT        if R0 lt R5   -> -130010
  0032  JMP       (jump)   -> 39
  0033  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0034  GETTABLE  R5 = R5[K11('Preparing')]
  0035  GETTABLE  R6 = R0[K0('m_config')]
  0036  GETTABLE  R6 = R6[K10('sTime')]
  0037  RETURN    return R5..R4
  0038  JMP       (jump)   -> 70
  0039  TEST      if not R3 then   -> -131031
  0040  JMP       (jump)   -> 52
  0041  LT        if R0 lt R4   -> -130001
  0042  JMP       (jump)   -> 52
  0043  SELF      R6 = R0[K12('HasFinishedAllRound')] (self)
  0044  CALL      R5 = call(R5, 1 args, 1 rets)
  0045  TEST      if not R5 then   -> -131024
  0046  JMP       (jump)   -> 52
  0047  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0048  GETTABLE  R5 = R5[K13('Started')]
  0049  MOVE      R6 = R0
  0050  RETURN    return R5..R4
  0051  JMP       (jump)   -> 70
  0052  GETTABLE  R5 = R0[K0('m_config')]
  0053  GETTABLE  R5 = R5[K14('rTime')]
  0054  TEST      if not R5 then   -> -131016
  0055  JMP       (jump)   -> 66
  0056  GETTABLE  R5 = R0[K0('m_config')]
  0057  GETTABLE  R5 = R5[K14('rTime')]
  0058  LT        if R0 lt R5   -> -129983
  0059  JMP       (jump)   -> 66
  0060  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0061  GETTABLE  R5 = R5[K15('Ended')]
  0062  GETTABLE  R6 = R0[K0('m_config')]
  0063  GETTABLE  R6 = R6[K14('rTime')]
  0064  RETURN    return R5..R4
  0065  JMP       (jump)   -> 70
  0066  GETTABUP  R5 = _ENV[K3('ActivityState')]
  0067  GETTABLE  R5 = R5[K4('Released')]
  0068  LOADNIL   R6..R6 = nil
  0069  RETURN    return R5..R4
  0070  RETURN    return R0..R-1
; ---------- proto4 [_OnStateChanged] ----------
  ; fn ?  line 85-99 np=1 va=0 ms=4 code=33 consts=17 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='event'
  ;   K[3]='Call'
  ;   K[4]='DigActivityEventType'
  ;   K[5]='StateChanged'
  ;   K[6]='GetState'
  ;   K[7]='ActivityState'
  ;   K[8]='Released'
  ;   K[9]='_UpdateLevel'
  ;   K[10]='HasFinishedCurRound'
  ;   K[11]='HasFinishedAllRound'
  ;   K[12]='EnterNextRound'
  ;   K[13]='EventDispatcher'
  ;   K[14]='DispatchEvent'
  ;   K[15]='m_activityDefinition'
  ;   K[16]='StateChangedEvent'
  ;   upvals: _ENV
  ;   locals: self(0-33)
  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('event')]
  0005  SELF      R2 = R1[K3('Call')] (self)
  0006  GETTABUP  R3 = _ENV[K4('DigActivityEventType')]
  0007  GETTABLE  R3 = R3[K5('StateChanged')]
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  SELF      R2 = R0[K6('GetState')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  GETTABUP  R2 = _ENV[K7('ActivityState')]
  0012  GETTABLE  R2 = R2[K8('Released')]
  0013  EQ        if R1 eq R2   -> -130543
  0014  JMP       (jump)   -> 27
  0015  SELF      R2 = R0[K9('_UpdateLevel')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  SELF      R2 = R0[K10('HasFinishedCurRound')] (self)
  0018  CALL      R1 = call(R1, 1 args, 1 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 27
  0021  SELF      R2 = R0[K11('HasFinishedAllRound')] (self)
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  TEST      if not R1 then   -> -131046
  0024  JMP       (jump)   -> 27
  0025  SELF      R2 = R0[K12('EnterNextRound')] (self)
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  GETTABUP  R1 = _ENV[K13('EventDispatcher')]
  0028  GETTABLE  R1 = R1[K14('DispatchEvent')]
  0029  GETTABLE  R2 = R0[K15('m_activityDefinition')]
  0030  GETTABLE  R2 = R2[K16('StateChangedEvent')]
  0031  CALL      R1 = call(R1, 0 args, 1 rets)
  0032  RETURN    return R0..R-1
; ---------- proto5 [_DropData] ----------
  ; fn ?  line 102-106 np=1 va=0 ms=3 code=7 consts=6 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_mapDigPosState'
  ;   K[3]=nil
  ;   K[4]='m_bTriggerLackToken'
  ;   K[5]=false
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('BaseActivityModel')]
  0001  GETTABLE  R1 = R1[K1('_DropData')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SETTABLE  R0[K2('m_mapDigPosState')] = K3(nil)
  0005  SETTABLE  R0[K4('m_bTriggerLackToken')] = K5(false)
  0006  RETURN    return R0..R-1
; ---------- proto6 [_LoadFileConfig] ----------
  ; fn ?  line 109-151 np=1 va=0 ms=10 code=53 consts=15 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ConfigModel'
  ;   K[2]='GetLocalConfig'
  ;   K[3]='LocalConfigKey'
  ;   K[4]='DigItemConfig'
  ;   K[5]='m_mapId2ItemConfig'
  ;   K[6]='ipairs'
  ;   K[7]='imgKey'
  ;   K[8]='id'
  ;   K[9]='grooveRotate'
  ;   K[10]=0
  ;   K[11]='unlockedScale'
  ;   K[12]=1
  ;   K[13]='DigLevelsConfig'
  ;   K[14]='m_mapId2LevelConfig'
  ;   upvals: _ENV
  ;   locals: self(0-53), arrDigItemConfig(9-53), (for generator)(14-32), (for state)(14-32), (for control)(14-32), _(15-30), config(15-30), arrDigLevelConfig(41-53), (for generator)(46-52), (for state)(46-52), (for control)(46-52), _(47-50), config(47-50)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ConfigModel')]
  0002  SELF      R2 = R1[K2('GetLocalConfig')] (self)
  0003  GETTABUP  R3 = _ENV[K3('LocalConfigKey')]
  0004  GETTABLE  R3 = R3[K4('DigItemConfig')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  NEWTABLE  R1 = {} (0 items)
  0009  NEWTABLE  R2 = {} (0 items)
  0010  SETTABLE  R0[K5('m_mapId2ItemConfig')] = R2
  0011  GETTABUP  R2 = _ENV[K6('ipairs')]
  0012  MOVE      R3 = R0
  0013  CALL      R2 = call(R2, 3 args, 1 rets)
  0014  JMP       (jump)   -> 30
  0015  GETTABLE  R7 = R6[K8('id')]
  0016  SETTABLE  R6[K7('imgKey')] = R7
  0017  GETTABLE  R7 = R6[K9('grooveRotate')]
  0018  TEST      if not R7 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  LOADK     R7 = K10 0
  0021  SETTABLE  R6[K9('grooveRotate')] = R7
  0022  GETTABLE  R7 = R6[K11('unlockedScale')]
  0023  TEST      if not R7 then   -> -131046
  0024  JMP       (jump)   -> 26
  0025  LOADK     R7 = K12 1
  0026  SETTABLE  R6[K11('unlockedScale')] = R7
  0027  GETTABLE  R7 = R0[K5('m_mapId2ItemConfig')]
  0028  GETTABLE  R8 = R6[K8('id')]
  0029  SETTABLE  R7[R8] = R6
  0030  TFORCALL  tforcall R2
  0031  TFORLOOP  tforloop R4(sBx=-17)   -> 15
  0032  GETTABUP  R2 = _ENV[K0('GM')]
  0033  GETTABLE  R2 = R2[K1('ConfigModel')]
  0034  SELF      R3 = R2[K2('GetLocalConfig')] (self)
  0035  GETTABUP  R4 = _ENV[K3('LocalConfigKey')]
  0036  GETTABLE  R4 = R4[K13('DigLevelsConfig')]
  0037  CALL      R2 = call(R2, 1 args, 2 rets)
  0038  TEST      if not R2 then   -> -131031
  0039  JMP       (jump)   -> 41
  0040  NEWTABLE  R2 = {} (0 items)
  0041  NEWTABLE  R3 = {} (0 items)
  0042  SETTABLE  R0[K14('m_mapId2LevelConfig')] = R3
  0043  GETTABUP  R3 = _ENV[K6('ipairs')]
  0044  MOVE      R4 = R0
  0045  CALL      R3 = call(R3, 3 args, 1 rets)
  0046  JMP       (jump)   -> 50
  0047  GETTABLE  R8 = R0[K14('m_mapId2LevelConfig')]
  0048  GETTABLE  R9 = R7[K8('id')]
  0049  SETTABLE  R8[R9] = R7
  0050  TFORCALL  tforcall R3
  0051  TFORLOOP  tforloop R5(sBx=-5)   -> 47
  0052  RETURN    return R0..R-1
; ---------- proto7 [_LoadOtherServerConfig] ----------
  ; fn ?  line 153-192 np=2 va=0 ms=17 code=66 consts=24 upvals=1 protos=0
  ;   K[0]='_LoadFileConfig'
  ;   K[1]='m_tokenHelper'
  ;   K[2]='LoadConfig'
  ;   K[3]='m_roundConfig'
  ;   K[4]='m_totalRound'
  ;   K[5]=0
  ;   K[6]='ipairs'
  ;   K[7]='digLevelConfig'
  ;   K[8]='round'
  ;   K[9]=1
  ;   K[10]='math'
  ;   K[11]='max'
  ;   K[12]='Table'
  ;   K[13]='IsEmpty'
  ;   K[14]='pool'
  ;   K[15]='m_mapId2LevelConfig'
  ;   K[16]=nil
  ;   K[17]='Log'
  ;   K[18]='Error'
  ;   K[19]='[DigActivityModel] 关卡id不存在: '
  ;   K[20]='Assert'
  ;   K[21]='DigLevelConfig配置中的round配置不匹配, 请检查'
  ;   K[22]='m_arrScoreConfig'
  ;   K[23]='digScoreConfig'
  ;   upvals: _ENV
  ;   locals: self(0-66), config(0-66), maxRound(10-66), levelConfig(11-66), (for generator)(17-54), (for state)(17-54), (for control)(17-54), _(18-52), lConfig(18-52), (for generator)(39-52), (for state)(39-52), (for control)(39-52), _(40-50), levelId(40-50)
  0000  SELF      R3 = R0[K0('_LoadFileConfig')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  GETTABLE  R2 = R0[K1('m_tokenHelper')]
  0003  SELF      R3 = R2[K2('LoadConfig')] (self)
  0004  MOVE      R4 = R0
  0005  CALL      R2 = call(R2, 0 args, 2 rets)
  0006  NEWTABLE  R2 = {} (0 items)
  0007  SETTABLE  R0[K3('m_roundConfig')] = R2
  0008  SETTABLE  R0[K4('m_totalRound')] = K5(0)
  0009  LOADK     R2 = K5 0
  0010  LOADNIL   R3..R3 = nil
  0011  GETTABUP  R4 = _ENV[K6('ipairs')]
  0012  GETTABLE  R5 = R1[K7('digLevelConfig')]
  0013  TEST      if not R5 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  NEWTABLE  R5 = {} (0 items)
  0016  CALL      R4 = call(R4, 3 args, 1 rets)
  0017  JMP       (jump)   -> 52
  0018  GETTABLE  R9 = R0[K3('m_roundConfig')]
  0019  GETTABLE  R10 = R8[K8('round')]
  0020  SETTABLE  R9[R10] = R8
  0021  GETTABLE  R9 = R0[K4('m_totalRound')]
  0022  ADD       R9 = K9(1) add R9
  0023  SETTABLE  R0[K4('m_totalRound')] = R9
  0024  GETTABUP  R9 = _ENV[K10('math')]
  0025  GETTABLE  R9 = R9[K11('max')]
  0026  MOVE      R10 = R0
  0027  GETTABLE  R11 = R8[K8('round')]
  0028  CALL      R9 = call(R9, 1 args, 2 rets)
  0029  MOVE      R2 = R0
  0030  GETTABUP  R9 = _ENV[K12('Table')]
  0031  GETTABLE  R9 = R9[K13('IsEmpty')]
  0032  GETTABLE  R10 = R8[K14('pool')]
  0033  CALL      R9 = call(R9, 1 args, 1 rets)
  0034  TEST      if not R9 then   -> -131035
  0035  JMP       (jump)   -> 52
  0036  GETTABUP  R9 = _ENV[K6('ipairs')]
  0037  GETTABLE  R10 = R8[K14('pool')]
  0038  CALL      R9 = call(R9, 3 args, 1 rets)
  0039  JMP       (jump)   -> 50
  0040  GETTABLE  R14 = R0[K15('m_mapId2LevelConfig')]
  0041  GETTABLE  R14 = R14[R13]
  0042  EQ        if R0 eq K16(nil)   -> -123588
  0043  JMP       (jump)   -> 50
  0044  GETTABUP  R14 = _ENV[K17('Log')]
  0045  GETTABLE  R14 = R14[K18('Error')]
  0046  LOADK     R15 = K19 '[DigActivityModel] 关卡id不存在: '
  0047  MOVE      R16 = R0
  0048  CONCAT    R15 = concat(R15..R15)
  0049  CALL      R14 = call(R14, 0 args, 1 rets)
  0050  TFORCALL  tforcall R9
  0051  TFORLOOP  tforloop R11(sBx=-12)   -> 40
  0052  TFORCALL  tforcall R4
  0053  TFORLOOP  tforloop R6(sBx=-36)   -> 18
  0054  GETTABUP  R4 = _ENV[K17('Log')]
  0055  GETTABLE  R4 = R4[K20('Assert')]
  0056  GETTABLE  R5 = R0[K4('m_totalRound')]
  0057  EQ        if R1 eq R5   -> -129984
  0058  JMP       (jump)   -> 60
  0059  LOADBOOL  R5 = false
  0060  LOADBOOL  R5 = true
  0061  LOADK     R6 = K21 'DigLevelConfig配置中的round配置不匹配, 请检查'
  0062  CALL      R4 = call(R4, 0 args, 2 rets)
  0063  GETTABLE  R4 = R1[K23('digScoreConfig')]
  0064  SETTABLE  R0[K22('m_arrScoreConfig')] = R4
  0065  RETURN    return R0..R-1
; ---------- proto8 [GetBoardEntryShowConfig] ----------
  ; fn ?  line 195-205 np=1 va=0 ms=3 code=17 consts=9 upvals=0 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='entryPrefabName'
  ;   K[5]='BoardEntryPrefabName'
  ;   K[6]='extraListenEvent'
  ;   K[7]='DigItemStateChangedEvent'
  ;   K[8]='checkFun'
  ;   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[K3('eEntryRootKey')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0008  GETTABLE  R2 = R2[K5('BoardEntryPrefabName')]
  0009  SETTABLE  R1[K4('entryPrefabName')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K7('DigItemStateChangedEvent')]
  0012  SETTABLE  R1[K6('extraListenEvent')] = R2
  0013  CLOSURE   R2 = closure proto0
  0014  SETTABLE  R1[K8('checkFun')] = R2
  0015  RETURN    return R1..R0
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 201-203 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='CanAddScore'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CanAddScore')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto9 [GetMapEntryShowConfig] ----------
  ; fn ?  line 208-219 np=1 va=0 ms=3 code=20 consts=11 upvals=0 protos=1
  ;   K[0]='statusChangeEvent'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='StateChangedEvent'
  ;   K[3]='eEntryRootKey'
  ;   K[4]='entryPrefabName'
  ;   K[5]='EntryPrefabName'
  ;   K[6]='hudKey'
  ;   K[7]='EntryButtonKey'
  ;   K[8]='extraListenEvent'
  ;   K[9]='DigItemStateChangedEvent'
  ;   K[10]='checkFun'
  ;   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[K3('eEntryRootKey')]
  0006  SETTABLE  R1[K3('eEntryRootKey')] = R2
  0007  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0008  GETTABLE  R2 = R2[K5('EntryPrefabName')]
  0009  SETTABLE  R1[K4('entryPrefabName')] = R2
  0010  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0011  GETTABLE  R2 = R2[K7('EntryButtonKey')]
  0012  SETTABLE  R1[K6('hudKey')] = R2
  0013  GETTABLE  R2 = R0[K1('m_activityDefinition')]
  0014  GETTABLE  R2 = R2[K9('DigItemStateChangedEvent')]
  0015  SETTABLE  R1[K8('extraListenEvent')] = R2
  0016  CLOSURE   R2 = closure proto0
  0017  SETTABLE  R1[K10('checkFun')] = R2
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
  ; ---------- proto0 [checkFun] ----------
    ; fn ?  line 215-217 np=0 va=0 ms=2 code=5 consts=1 upvals=1 protos=0
    ;   K[0]='CanAddScore'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CanAddScore')] (self)
    0002  TAILCALL  tailcall(R0, 0)
    0003  RETURN    return R0..R-1
    0004  RETURN    return R0..R-1
; ---------- proto10 [IsActivityOpen] ----------
  ; fn ?  line 223-225 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='CanAddScore'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('CanAddScore')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto11 [HasFinishedAllRound] ----------
  ; fn ?  line 228-230 np=1 va=0 ms=4 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='GetRound'
  ;   K[1]='GetTotalRound'
  ;   K[2]='HasFinishedCurRound'
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('GetRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetTotalRound')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  EQ        if R0 eq R2   -> -130552
  0005  JMP       (jump)   -> 9
  0006  SELF      R2 = R0[K2('HasFinishedCurRound')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  JMP       (jump)   -> 11
  0009  LOADBOOL  R1 = false
  0010  LOADBOOL  R1 = true
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto12 [HasFinishedCurRound] ----------
  ; fn ?  line 233-236 np=1 va=0 ms=4 code=8 consts=1 upvals=0 protos=0
  ;   K[0]='GetItemAcquiredProgress'
  ;   locals: self(0-8), cur(2-8), total(2-8)
  0000  SELF      R2 = R0[K0('GetItemAcquiredProgress')] (self)
  0001  CALL      R1 = call(R1, 2 args, 1 rets)
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 5
  0004  LOADBOOL  R3 = false
  0005  LOADBOOL  R3 = true
  0006  RETURN    return R3..R2
  0007  RETURN    return R0..R-1
; ---------- proto13 [GetTotalRound] ----------
  ; fn ?  line 239-241 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_totalRound'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_totalRound')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto14 [GetRound] ----------
  ; fn ?  line 244-246 np=1 va=0 ms=5 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DigActivityModel'
  ;   K[3]='RoundKey'
  ;   K[4]='value'
  ;   K[5]=1
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R3 = R3[K3('RoundKey')]
  0004  LOADK     R4 = K4 'value'
  0005  CALL      R1 = call(R1, 1 args, 3 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  LOADK     R1 = K5 1
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto15 [EnterNextRound] ----------
  ; fn ?  line 249-258 np=1 va=0 ms=7 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='HasFinishedAllRound'
  ;   K[1]='m_dbTable'
  ;   K[2]='Set'
  ;   K[3]='DigActivityModel'
  ;   K[4]='RoundKey'
  ;   K[5]='value'
  ;   K[6]='GetRound'
  ;   K[7]=1
  ;   K[8]='_RefreshNextLevel'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  SELF      R2 = R0[K0('HasFinishedAllRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R1 = R0[K1('m_dbTable')]
  0006  SELF      R2 = R1[K2('Set')] (self)
  0007  GETTABUP  R3 = _ENV[K3('DigActivityModel')]
  0008  GETTABLE  R3 = R3[K4('RoundKey')]
  0009  LOADK     R4 = K5 'value'
  0010  SELF      R6 = R0[K6('GetRound')] (self)
  0011  CALL      R5 = call(R5, 1 args, 1 rets)
  0012  ADD       R5 = K7(1) add R5
  0013  CALL      R1 = call(R1, 0 args, 4 rets)
  0014  SELF      R2 = R0[K8('_RefreshNextLevel')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto16 [CanAddScore] ----------
  ; fn ?  line 265-271 np=1 va=0 ms=3 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='GetState'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='HasFinishedAllRound'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  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)   -> 8
  0006  LOADBOOL  R1 = false
  0007  RETURN    return R1..R0
  0008  SELF      R2 = R0[K3('HasFinishedAllRound')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto17 [GetScore] ----------
  ; fn ?  line 274-276 np=1 va=0 ms=5 code=11 consts=6 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DigActivityModel'
  ;   K[3]='ScoreKey'
  ;   K[4]='value'
  ;   K[5]=2
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R3 = R3[K3('ScoreKey')]
  0004  LOADK     R4 = K4 'value'
  0005  CALL      R1 = call(R1, 1 args, 3 rets)
  0006  TEST      if not R1 then   -> -131063
  0007  JMP       (jump)   -> 9
  0008  LOADK     R1 = K5 2
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto18 [AddScore] ----------
  ; fn ?  line 278-282 np=3 va=0 ms=7 code=9 consts=2 upvals=0 protos=0
  ;   K[0]='CanAddScore'
  ;   K[1]='_AddScore'
  ;   locals: self(0-9), delta(0-9), bUpdateScore(0-9)
  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)   -> 8
  0004  SELF      R4 = R0[K1('_AddScore')] (self)
  0005  MOVE      R5 = R0
  0006  MOVE      R6 = R0
  0007  CALL      R3 = call(R3, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
; ---------- proto19 [GetActivityTokenNumber] ----------
  ; fn ?  line 284-286 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='GetScore'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('GetScore')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto20 [AcquireActivityToken] ----------
  ; fn ?  line 289-291 np=2 va=0 ms=5 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='AddScore'
  ;   locals: self(0-4), count(0-4)
  0000  SELF      R3 = R0[K0('AddScore')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto21 [_AddScore] ----------
  ; fn ?  line 293-309 np=3 va=0 ms=9 code=64 consts=23 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='DigActivityModel'
  ;   K[3]='ScoreKey'
  ;   K[4]='value'
  ;   K[5]='GetScore'
  ;   K[6]=0
  ;   K[7]='GetValue'
  ;   K[8]='HasAddToken'
  ;   K[9]=1
  ;   K[10]='GM'
  ;   K[11]='BIManager'
  ;   K[12]='LogUseItem'
  ;   K[13]='m_activityDefinition'
  ;   K[14]='ActivityTokenPropertyType'
  ;   K[15]='UseScoreBIType'
  ;   K[16]='treasureDig'
  ;   K[17]='m_bTriggerLackToken'
  ;   K[18]=true
  ;   K[19]='EventDispatcher'
  ;   K[20]='DispatchEvent'
  ;   K[21]='ScoreChangedEvent'
  ;   K[22]='UpdateScore'
  ;   upvals: _ENV
  ;   locals: self(0-64), delta(0-64), bUpdateScore(0-64)
  0000  GETTABLE  R3 = R0[K0('m_dbTable')]
  0001  SELF      R4 = R3[K1('Set')] (self)
  0002  GETTABUP  R5 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R5 = R5[K3('ScoreKey')]
  0004  LOADK     R6 = K4 'value'
  0005  SELF      R8 = R0[K5('GetScore')] (self)
  0006  CALL      R7 = call(R7, 1 args, 1 rets)
  0007  ADD       R7 = R1 add R7
  0008  CALL      R3 = call(R3, 0 args, 4 rets)
  0009  LT        if R0 lt R1   -> 3084
  0010  JMP       (jump)   -> 27
  0011  GETTABLE  R3 = R0[K0('m_dbTable')]
  0012  SELF      R4 = R3[K7('GetValue')] (self)
  0013  GETTABUP  R5 = _ENV[K2('DigActivityModel')]
  0014  GETTABLE  R5 = R5[K8('HasAddToken')]
  0015  LOADK     R6 = K4 'value'
  0016  CALL      R3 = call(R3, 1 args, 3 rets)
  0017  EQ        if R1 eq K9(1)   -> -129252
  0018  JMP       (jump)   -> 50
  0019  GETTABLE  R3 = R0[K0('m_dbTable')]
  0020  SELF      R4 = R3[K1('Set')] (self)
  0021  GETTABUP  R5 = _ENV[K2('DigActivityModel')]
  0022  GETTABLE  R5 = R5[K8('HasAddToken')]
  0023  LOADK     R6 = K4 'value'
  0024  LOADK     R7 = K9 1
  0025  CALL      R3 = call(R3, 0 args, 4 rets)
  0026  JMP       (jump)   -> 50
  0027  GETTABUP  R3 = _ENV[K10('GM')]
  0028  GETTABLE  R3 = R3[K11('BIManager')]
  0029  SELF      R4 = R3[K12('LogUseItem')] (self)
  0030  GETTABLE  R5 = R0[K13('m_activityDefinition')]
  0031  GETTABLE  R5 = R5[K14('ActivityTokenPropertyType')]
  0032  UNM       R6 = unm R0
  0033  GETTABLE  R7 = R0[K13('m_activityDefinition')]
  0034  GETTABLE  R7 = R7[K15('UseScoreBIType')]
  0035  LOADK     R8 = K16 'treasureDig'
  0036  CALL      R3 = call(R3, 0 args, 5 rets)
  0037  SELF      R4 = R0[K5('GetScore')] (self)
  0038  CALL      R3 = call(R3, 1 args, 1 rets)
  0039  EQ        if R0 eq K6(0)   -> -129233
  0040  JMP       (jump)   -> 50
  0041  GETTABLE  R3 = R0[K0('m_dbTable')]
  0042  SELF      R4 = R3[K7('GetValue')] (self)
  0043  GETTABUP  R5 = _ENV[K2('DigActivityModel')]
  0044  GETTABLE  R5 = R5[K8('HasAddToken')]
  0045  LOADK     R6 = K4 'value'
  0046  CALL      R3 = call(R3, 1 args, 3 rets)
  0047  EQ        if R0 eq K9(1)   -> -129222
  0048  JMP       (jump)   -> 50
  0049  SETTABLE  R0[K17('m_bTriggerLackToken')] = K18(true)
  0050  GETTABUP  R3 = _ENV[K19('EventDispatcher')]
  0051  GETTABLE  R3 = R3[K20('DispatchEvent')]
  0052  GETTABLE  R4 = R0[K13('m_activityDefinition')]
  0053  GETTABLE  R4 = R4[K21('ScoreChangedEvent')]
  0054  NEWTABLE  R5 = {} (0 items)
  0055  LT        if R1 lt K6(0)   -> -130241
  0056  JMP       (jump)   -> 60
  0057  MOVE      R6 = R0
  0058  JMP       (jump)   -> 61
  0059  LOADBOOL  R6 = false
  0060  LOADBOOL  R6 = true
  0061  SETTABLE  R5[K22('UpdateScore')] = R6
  0062  CALL      R3 = call(R3, 0 args, 2 rets)
  0063  RETURN    return R0..R-1
; ---------- proto22 [GetOrderExtraReward] ----------
  ; fn ?  line 312-332 np=4 va=0 ms=12 code=50 consts=17 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='IsAcquireTypeValid'
  ;   K[2]='EActTokenAcquireType'
  ;   K[3]='FinishOrder'
  ;   K[4]='GetOrderExtraReward'
  ;   K[5]='Table'
  ;   K[6]='IsEmpty'
  ;   K[7]='m_arrScoreConfig'
  ;   K[8]=nil
  ;   K[9]='ipairs'
  ;   K[10]='coin_min'
  ;   K[11]='coin_max'
  ;   K[12]='PROPERTY_TYPE'
  ;   K[13]='m_activityDefinition'
  ;   K[14]='ActivityTokenPropertyType'
  ;   K[15]='PROPERTY_COUNT'
  ;   K[16]='num'
  ;   upvals: _ENV
  ;   locals: self(0-50), orderScore(0-50), coinNum(0-50), orderId(0-50), (for generator)(25-49), (for state)(25-49), (for control)(25-49), _(26-47), scoreConfig(26-47)
  0000  GETTABLE  R4 = R0[K0('m_tokenHelper')]
  0001  SELF      R5 = R4[K1('IsAcquireTypeValid')] (self)
  0002  GETTABUP  R6 = _ENV[K2('EActTokenAcquireType')]
  0003  GETTABLE  R6 = R6[K3('FinishOrder')]
  0004  CALL      R4 = call(R4, 1 args, 2 rets)
  0005  TEST      if not R4 then   -> -131065
  0006  JMP       (jump)   -> 13
  0007  GETTABLE  R4 = R0[K0('m_tokenHelper')]
  0008  SELF      R5 = R4[K4('GetOrderExtraReward')] (self)
  0009  MOVE      R6 = R0
  0010  MOVE      R7 = R0
  0011  TAILCALL  tailcall(R4, 0)
  0012  RETURN    return R4..R3
  0013  GETTABUP  R4 = _ENV[K5('Table')]
  0014  GETTABLE  R4 = R4[K6('IsEmpty')]
  0015  GETTABLE  R5 = R0[K7('m_arrScoreConfig')]
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  TEST      if not R4 then   -> -131052
  0018  JMP       (jump)   -> 21
  0019  EQ        if R0 eq K8(nil)   -> -129763
  0020  JMP       (jump)   -> 22
  0021  RETURN    return R0..R-1
  0022  GETTABUP  R4 = _ENV[K9('ipairs')]
  0023  GETTABLE  R5 = R0[K7('m_arrScoreConfig')]
  0024  CALL      R4 = call(R4, 3 args, 1 rets)
  0025  JMP       (jump)   -> 47
  0026  GETTABLE  R9 = R8[K10('coin_min')]
  0027  EQ        if R1 eq K8(nil)   -> -126171
  0028  JMP       (jump)   -> 32
  0029  GETTABLE  R9 = R8[K10('coin_min')]
  0030  LE        if R0 le R2   -> -126430
  0031  JMP       (jump)   -> 47
  0032  GETTABLE  R9 = R8[K11('coin_max')]
  0033  EQ        if R1 eq K8(nil)   -> -126165
  0034  JMP       (jump)   -> 38
  0035  GETTABLE  R9 = R8[K11('coin_max')]
  0036  LE        if R0 le R9   -> -130001
  0037  JMP       (jump)   -> 47
  0038  NEWTABLE  R9 = {} (0 items)
  0039  GETTABUP  R10 = _ENV[K12('PROPERTY_TYPE')]
  0040  GETTABLE  R11 = R0[K13('m_activityDefinition')]
  0041  GETTABLE  R11 = R11[K14('ActivityTokenPropertyType')]
  0042  SETTABLE  R9[R10] = R11
  0043  GETTABUP  R10 = _ENV[K15('PROPERTY_COUNT')]
  0044  GETTABLE  R11 = R8[K16('num')]
  0045  SETTABLE  R9[R10] = R11
  0046  RETURN    return R9..R8
  0047  TFORCALL  tforcall R4
  0048  TFORLOOP  tforloop R6(sBx=-23)   -> 26
  0049  RETURN    return R0..R-1
; ---------- proto23 [CanAddOrderReward] ----------
  ; fn ?  line 334-339 np=2 va=0 ms=5 code=16 consts=6 upvals=1 protos=0
  ;   K[0]='m_tokenHelper'
  ;   K[1]='IsAcquireTypeValid'
  ;   K[2]='EActTokenAcquireType'
  ;   K[3]='FinishOrder'
  ;   K[4]='CanAddOrderReward'
  ;   K[5]='CanAddScore'
  ;   upvals: _ENV
  ;   locals: self(0-16), orderType(0-16)
  0000  GETTABLE  R2 = R0[K0('m_tokenHelper')]
  0001  SELF      R3 = R2[K1('IsAcquireTypeValid')] (self)
  0002  GETTABUP  R4 = _ENV[K2('EActTokenAcquireType')]
  0003  GETTABLE  R4 = R4[K3('FinishOrder')]
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  TEST      if not R2 then   -> -131065
  0006  JMP       (jump)   -> 12
  0007  GETTABLE  R2 = R0[K0('m_tokenHelper')]
  0008  SELF      R3 = R2[K4('CanAddOrderReward')] (self)
  0009  MOVE      R4 = R0
  0010  TAILCALL  tailcall(R2, 0)
  0011  RETURN    return R2..R1
  0012  SELF      R3 = R0[K5('CanAddScore')] (self)
  0013  TAILCALL  tailcall(R2, 0)
  0014  RETURN    return R2..R1
  0015  RETURN    return R0..R-1
; ---------- proto24 [ResetLackDigTokenTrigger] ----------
  ; fn ?  line 341-343 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bTriggerLackToken'
  ;   K[1]=false
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bTriggerLackToken')] = K1(false)
  0001  RETURN    return R0..R-1
; ---------- proto25 [TryTriggerLackDigToken] ----------
  ; fn ?  line 345-350 np=1 va=0 ms=8 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_bTriggerLackToken'
  ;   K[1]=false
  ;   K[2]='GM'
  ;   K[3]='BundleManager'
  ;   K[4]='TryStartBundlePopupChain'
  ;   K[5]='EBundleTriggerType'
  ;   K[6]='LackDigToken'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_bTriggerLackToken')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  SETTABLE  R0[K0('m_bTriggerLackToken')] = K1(false)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('BundleManager')]
  0006  SELF      R2 = R1[K4('TryStartBundlePopupChain')] (self)
  0007  GETTABUP  R3 = _ENV[K5('EBundleTriggerType')]
  0008  GETTABLE  R3 = R3[K6('LackDigToken')]
  0009  LOADNIL   R4..R4 = nil
  0010  LOADBOOL  R7 = true
  0011  CALL      R1 = call(R1, 0 args, 6 rets)
  0012  RETURN    return R0..R-1
; ---------- proto26 [OnLackDigToken] ----------
  ; fn ?  line 352-357 np=1 va=0 ms=8 code=19 consts=13 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DigActivityModel'
  ;   K[3]='HasAddToken'
  ;   K[4]='value'
  ;   K[5]=1
  ;   K[6]='m_bTriggerLackToken'
  ;   K[7]=false
  ;   K[8]='GM'
  ;   K[9]='BundleManager'
  ;   K[10]='TryStartBundlePopupChain'
  ;   K[11]='EBundleTriggerType'
  ;   K[12]='LackDigToken'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R3 = R3[K3('HasAddToken')]
  0004  LOADK     R4 = K4 'value'
  0005  CALL      R1 = call(R1, 1 args, 3 rets)
  0006  EQ        if R0 eq K5(1)   -> -130291
  0007  JMP       (jump)   -> 18
  0008  SETTABLE  R0[K6('m_bTriggerLackToken')] = K7(false)
  0009  GETTABUP  R1 = _ENV[K8('GM')]
  0010  GETTABLE  R1 = R1[K9('BundleManager')]
  0011  SELF      R2 = R1[K10('TryStartBundlePopupChain')] (self)
  0012  GETTABUP  R3 = _ENV[K11('EBundleTriggerType')]
  0013  GETTABLE  R3 = R3[K12('LackDigToken')]
  0014  LOADNIL   R4..R4 = nil
  0015  LOADBOOL  R7 = true
  0016  TAILCALL  tailcall(R1, 0)
  0017  RETURN    return R1..R0
  0018  RETURN    return R0..R-1
; ---------- proto27 [GetLevel] ----------
  ; fn ?  line 364-366 np=1 va=0 ms=5 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='GetValue'
  ;   K[2]='DigActivityModel'
  ;   K[3]='LevelKey'
  ;   K[4]='value'
  ;   upvals: _ENV
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('GetValue')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R3 = R3[K3('LevelKey')]
  0004  LOADK     R4 = K4 'value'
  0005  TAILCALL  tailcall(R1, 0)
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto28 [_RefreshNextLevel] ----------
  ; fn ?  line 369-411 np=1 va=0 ms=13 code=88 consts=35 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_roundConfig'
  ;   K[3]='Log'
  ;   K[4]='Error'
  ;   K[5]='没有可用的关卡id, 请检查!'
  ;   K[6]='GetRound'
  ;   K[7]='pool'
  ;   K[8]='ListRandomSelectOne'
  ;   K[9]='GM'
  ;   K[10]='BIManager'
  ;   K[11]='LogAction'
  ;   K[12]='m_activityDefinition'
  ;   K[13]='RandomSelectLevelBIType'
  ;   K[14]='id'
  ;   K[15]='round'
  ;   K[16]='GetLevelConfig'
  ;   K[17]=nil
  ;   K[18]='m_mapDigPosState'
  ;   K[19]=1
  ;   K[20]='height'
  ;   K[21]='width'
  ;   K[22]=false
  ;   K[23]='m_dbTable'
  ;   K[24]='Set'
  ;   K[25]='DigActivityModel'
  ;   K[26]='LevelKey'
  ;   K[27]='value'
  ;   K[28]='SetDigPosStateMap'
  ;   K[29]='_UpdateLevel'
  ;   K[30]='EventDispatcher'
  ;   K[31]='DispatchEvent'
  ;   K[32]='DigItemStateChangedEvent'
  ;   K[33]='EEventType'
  ;   K[34]='RewardValidChanged'
  ;   upvals: _ENV
  ;   locals: self(0-88), levelId(13-88), levelPool(18-88), levelConfig(43-88), (for index)(51-64), (for limit)(51-64), (for step)(51-64), i(52-63), (for index)(58-63), (for limit)(58-63), (for step)(58-63), j(59-62)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_roundConfig')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 12
  0006  GETTABUP  R1 = _ENV[K3('Log')]
  0007  GETTABLE  R1 = R1[K4('Error')]
  0008  LOADK     R2 = K5 '没有可用的关卡id, 请检查!'
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  LOADBOOL  R1 = false
  0011  RETURN    return R1..R0
  0012  LOADNIL   R1..R1 = nil
  0013  GETTABLE  R2 = R0[K2('m_roundConfig')]
  0014  SELF      R4 = R0[K6('GetRound')] (self)
  0015  CALL      R3 = call(R3, 1 args, 1 rets)
  0016  GETTABLE  R2 = R2[R3]
  0017  GETTABLE  R2 = R2[K7('pool')]
  0018  GETTABUP  R3 = _ENV[K0('Table')]
  0019  GETTABLE  R3 = R3[K1('IsEmpty')]
  0020  MOVE      R4 = R0
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  TEST      if not R3 then   -> -131047
  0023  JMP       (jump)   -> 40
  0024  GETTABUP  R3 = _ENV[K0('Table')]
  0025  GETTABLE  R3 = R3[K8('ListRandomSelectOne')]
  0026  MOVE      R4 = R0
  0027  CALL      R3 = call(R3, 1 args, 1 rets)
  0028  MOVE      R1 = R0
  0029  GETTABUP  R3 = _ENV[K9('GM')]
  0030  GETTABLE  R3 = R3[K10('BIManager')]
  0031  SELF      R4 = R3[K11('LogAction')] (self)
  0032  GETTABLE  R5 = R0[K12('m_activityDefinition')]
  0033  GETTABLE  R5 = R5[K13('RandomSelectLevelBIType')]
  0034  NEWTABLE  R6 = {} (0 items)
  0035  SETTABLE  R6[K14('id')] = R1
  0036  SELF      R8 = R0[K6('GetRound')] (self)
  0037  CALL      R7 = call(R7, 1 args, 1 rets)
  0038  SETTABLE  R6[K15('round')] = R7
  0039  CALL      R3 = call(R3, 0 args, 3 rets)
  0040  SELF      R4 = R0[K16('GetLevelConfig')] (self)
  0041  MOVE      R5 = R0
  0042  CALL      R3 = call(R3, 1 args, 2 rets)
  0043  EQ        if R0 eq K17(nil)   -> -129218
  0044  JMP       (jump)   -> 46
  0045  RETURN    return R0..R-1
  0046  NEWTABLE  R4 = {} (0 items)
  0047  SETTABLE  R0[K18('m_mapDigPosState')] = R4
  0048  LOADK     R4 = K19 1
  0049  GETTABLE  R5 = R3[K20('height')]
  0050  LOADK     R6 = K19 1
  0051  FORPREP   forprep R4(sBx=11)   -> 63
  0052  GETTABLE  R8 = R0[K18('m_mapDigPosState')]
  0053  NEWTABLE  R9 = {} (0 items)
  0054  SETTABLE  R8[R7] = R9
  0055  LOADK     R8 = K19 1
  0056  GETTABLE  R9 = R3[K21('width')]
  0057  LOADK     R10 = K19 1
  0058  FORPREP   forprep R8(sBx=3)   -> 62
  0059  GETTABLE  R12 = R0[K18('m_mapDigPosState')]
  0060  GETTABLE  R12 = R12[R7]
  0061  SETTABLE  R12[R11] = K22(false)
  0062  FORLOOP   forloop R8(sBx=-4)   -> 59
  0063  FORLOOP   forloop R4(sBx=-12)   -> 52
  0064  GETTABLE  R4 = R0[K23('m_dbTable')]
  0065  SELF      R5 = R4[K24('Set')] (self)
  0066  GETTABUP  R6 = _ENV[K25('DigActivityModel')]
  0067  GETTABLE  R6 = R6[K26('LevelKey')]
  0068  LOADK     R7 = K27 'value'
  0069  MOVE      R8 = R0
  0070  CALL      R4 = call(R4, 0 args, 4 rets)
  0071  SELF      R5 = R0[K28('SetDigPosStateMap')] (self)
  0072  CALL      R4 = call(R4, 0 args, 1 rets)
  0073  SELF      R5 = R0[K29('_UpdateLevel')] (self)
  0074  CALL      R4 = call(R4, 0 args, 1 rets)
  0075  GETTABUP  R4 = _ENV[K30('EventDispatcher')]
  0076  GETTABLE  R4 = R4[K31('DispatchEvent')]
  0077  GETTABLE  R5 = R0[K12('m_activityDefinition')]
  0078  GETTABLE  R5 = R5[K32('DigItemStateChangedEvent')]
  0079  CALL      R4 = call(R4, 0 args, 1 rets)
  0080  GETTABUP  R4 = _ENV[K30('EventDispatcher')]
  0081  GETTABLE  R4 = R4[K31('DispatchEvent')]
  0082  GETTABUP  R5 = _ENV[K33('EEventType')]
  0083  GETTABLE  R5 = R5[K34('RewardValidChanged')]
  0084  CALL      R4 = call(R4, 0 args, 1 rets)
  0085  LOADBOOL  R4 = true
  0086  RETURN    return R4..R3
  0087  RETURN    return R0..R-1
; ---------- proto29 [_UpdateLevel] ----------
  ; fn ?  line 414-447 np=1 va=0 ms=14 code=83 consts=34 upvals=1 protos=0
  ;   K[0]='GetLevel'
  ;   K[1]=nil
  ;   K[2]='_RefreshNextLevel'
  ;   K[3]='GetCurLevelConfig'
  ;   K[4]='m_dbTable'
  ;   K[5]='GetValue'
  ;   K[6]='DigActivityModel'
  ;   K[7]='DigPosStateKey'
  ;   K[8]='value'
  ;   K[9]='m_mapDigPosState'
  ;   K[10]='StringUtil'
  ;   K[11]='IsNilOrEmpty'
  ;   K[12]='Replace'
  ;   K[13]='@'
  ;   K[14]=','
  ;   K[15]='json'
  ;   K[16]='decode'
  ;   K[17]='Table'
  ;   K[18]='DeepCopy'
  ;   K[19]='m_arrItemData'
  ;   K[20]='ipairs'
  ;   K[21]='treasures'
  ;   K[22]='m_mapId2ItemConfig'
  ;   K[23]='id'
  ;   K[24]='DigItemData'
  ;   K[25]='Create'
  ;   K[26]='pos'
  ;   K[27]='rotate'
  ;   K[28]='table'
  ;   K[29]='insert'
  ;   K[30]='Log'
  ;   K[31]='Error'
  ;   K[32]='[DigActivityModel] 不存在此物品的配置 id:'
  ;   K[33]=''
  ;   upvals: _ENV
  ;   locals: self(0-83), levelConfig(9-83), strData(18-83), tmpTable(40-46), digItem(49-83), itemConfig(49-83), (for generator)(52-82), (for state)(52-82), (for control)(52-82), _(53-80), config(53-80)
  0000  SELF      R2 = R0[K0('GetLevel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K2('_RefreshNextLevel')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K3('GetCurLevelConfig')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  EQ        if R0 eq K1(nil)   -> -130292
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABLE  R2 = R0[K4('m_dbTable')]
  0013  SELF      R3 = R2[K5('GetValue')] (self)
  0014  GETTABUP  R4 = _ENV[K6('DigActivityModel')]
  0015  GETTABLE  R4 = R4[K7('DigPosStateKey')]
  0016  LOADK     R5 = K8 'value'
  0017  CALL      R2 = call(R2, 1 args, 3 rets)
  0018  NEWTABLE  R3 = {} (0 items)
  0019  SETTABLE  R0[K9('m_mapDigPosState')] = R3
  0020  GETTABUP  R3 = _ENV[K10('StringUtil')]
  0021  GETTABLE  R3 = R3[K11('IsNilOrEmpty')]
  0022  MOVE      R4 = R0
  0023  CALL      R3 = call(R3, 1 args, 1 rets)
  0024  TEST      if not R3 then   -> -131045
  0025  JMP       (jump)   -> 46
  0026  GETTABUP  R3 = _ENV[K10('StringUtil')]
  0027  GETTABLE  R3 = R3[K12('Replace')]
  0028  MOVE      R4 = R0
  0029  LOADK     R5 = K13 '@'
  0030  LOADK     R6 = K14 ','
  0031  CALL      R3 = call(R3, 1 args, 3 rets)
  0032  MOVE      R2 = R0
  0033  GETTABUP  R3 = _ENV[K15('json')]
  0034  GETTABLE  R3 = R3[K16('decode')]
  0035  MOVE      R4 = R0
  0036  CALL      R3 = call(R3, 1 args, 1 rets)
  0037  TEST      if not R3 then   -> -131032
  0038  JMP       (jump)   -> 40
  0039  NEWTABLE  R3 = {} (0 items)
  0040  GETTABUP  R4 = _ENV[K17('Table')]
  0041  GETTABLE  R4 = R4[K18('DeepCopy')]
  0042  MOVE      R5 = R0
  0043  LOADBOOL  R6 = true
  0044  CALL      R4 = call(R4, 1 args, 2 rets)
  0045  SETTABLE  R0[K9('m_mapDigPosState')] = R4
  0046  NEWTABLE  R3 = {} (0 items)
  0047  SETTABLE  R0[K19('m_arrItemData')] = R3
  0048  LOADNIL   R3..R3 = nil
  0049  GETTABUP  R5 = _ENV[K20('ipairs')]
  0050  GETTABLE  R6 = R1[K21('treasures')]
  0051  CALL      R5 = call(R5, 3 args, 1 rets)
  0052  JMP       (jump)   -> 80
  0053  GETTABLE  R10 = R0[K22('m_mapId2ItemConfig')]
  0054  GETTABLE  R11 = R9[K23('id')]
  0055  GETTABLE  R4 = R10[R11]
  0056  EQ        if R1 eq K1(nil)   -> -128709
  0057  JMP       (jump)   -> 71
  0058  GETTABUP  R10 = _ENV[K24('DigItemData')]
  0059  GETTABLE  R10 = R10[K25('Create')]
  0060  MOVE      R11 = R0
  0061  GETTABLE  R12 = R9[K26('pos')]
  0062  GETTABLE  R13 = R9[K27('rotate')]
  0063  CALL      R10 = call(R10, 1 args, 3 rets)
  0064  MOVE      R3 = R0
  0065  GETTABUP  R10 = _ENV[K28('table')]
  0066  GETTABLE  R10 = R10[K29('insert')]
  0067  GETTABLE  R11 = R0[K19('m_arrItemData')]
  0068  MOVE      R12 = R0
  0069  CALL      R10 = call(R10, 0 args, 2 rets)
  0070  JMP       (jump)   -> 80
  0071  GETTABUP  R10 = _ENV[K30('Log')]
  0072  GETTABLE  R10 = R10[K31('Error')]
  0073  LOADK     R11 = K32 '[DigActivityModel] 不存在此物品的配置 id:'
  0074  GETTABLE  R12 = R9[K23('id')]
  0075  TEST      if not R12 then   -> -130994
  0076  JMP       (jump)   -> 78
  0077  LOADK     R12 = K33 ''
  0078  CONCAT    R11 = concat(R11..R11)
  0079  CALL      R10 = call(R10, 0 args, 1 rets)
  0080  TFORCALL  tforcall R5
  0081  TFORLOOP  tforloop R7(sBx=-29)   -> 53
  0082  RETURN    return R0..R-1
; ---------- proto30 [IsGridDig] ----------
  ; fn ?  line 450-452 np=3 va=0 ms=4 code=5 consts=1 upvals=0 protos=0
  ;   K[0]='m_mapDigPosState'
  ;   locals: self(0-5), x(0-5), y(0-5)
  0000  GETTABLE  R3 = R0[K0('m_mapDigPosState')]
  0001  GETTABLE  R3 = R3[R2]
  0002  GETTABLE  R3 = R3[R1]
  0003  RETURN    return R3..R2
  0004  RETURN    return R0..R-1
; ---------- proto31 [SetDigPosStateMap] ----------
  ; fn ?  line 454-456 np=1 va=0 ms=9 code=16 consts=12 upvals=1 protos=0
  ;   K[0]='m_dbTable'
  ;   K[1]='Set'
  ;   K[2]='DigActivityModel'
  ;   K[3]='DigPosStateKey'
  ;   K[4]='value'
  ;   K[5]='StringUtil'
  ;   K[6]='Replace'
  ;   K[7]='json'
  ;   K[8]='encode'
  ;   K[9]='m_mapDigPosState'
  ;   K[10]=','
  ;   K[11]='@'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  SELF      R2 = R1[K1('Set')] (self)
  0002  GETTABUP  R3 = _ENV[K2('DigActivityModel')]
  0003  GETTABLE  R3 = R3[K3('DigPosStateKey')]
  0004  LOADK     R4 = K4 'value'
  0005  GETTABUP  R5 = _ENV[K5('StringUtil')]
  0006  GETTABLE  R5 = R5[K6('Replace')]
  0007  GETTABUP  R6 = _ENV[K7('json')]
  0008  GETTABLE  R6 = R6[K8('encode')]
  0009  GETTABLE  R7 = R0[K9('m_mapDigPosState')]
  0010  CALL      R6 = call(R6, 1 args, 1 rets)
  0011  LOADK     R7 = K10 ','
  0012  LOADK     R8 = K11 '@'
  0013  CALL      R5 = call(R5, -1 args, 3 rets)
  0014  CALL      R1 = call(R1, 0 args, -1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto32 [GetLevelConfig] ----------
  ; fn ?  line 458-476 np=2 va=0 ms=6 code=37 consts=21 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_mapId2LevelConfig'
  ;   K[3]=nil
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='关卡配置不存在, 关卡id:'
  ;   K[7]=''
  ;   K[8]='width'
  ;   K[9]=4
  ;   K[10]='height'
  ;   K[11]='mapScale'
  ;   K[12]=1
  ;   K[13]='treasures'
  ;   K[14]='id'
  ;   K[15]='treasure1_1'
  ;   K[16]='pos'
  ;   K[17]='x'
  ;   K[18]='y'
  ;   K[19]='rotate'
  ;   K[20]=0
  ;   upvals: _ENV
  ;   locals: self(0-37), id(0-37)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  GETTABLE  R3 = R0[K2('m_mapId2LevelConfig')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 10
  0006  GETTABLE  R2 = R0[K2('m_mapId2LevelConfig')]
  0007  GETTABLE  R2 = R2[R1]
  0008  EQ        if R0 eq K3(nil)   -> -129779
  0009  JMP       (jump)   -> 33
  0010  GETTABUP  R2 = _ENV[K4('Log')]
  0011  GETTABLE  R2 = R2[K5('Error')]
  0012  LOADK     R3 = K6 '关卡配置不存在, 关卡id:'
  0013  TESTSET   if R1 then R4   -> -130544
  0014  JMP       (jump)   -> 16
  0015  LOADK     R4 = K7 ''
  0016  CONCAT    R3 = concat(R3..R3)
  0017  CALL      R2 = call(R2, 0 args, 1 rets)
  0018  NEWTABLE  R2 = {} (0 items)
  0019  SETTABLE  R2[K8('width')] = K9(4)
  0020  SETTABLE  R2[K10('height')] = K9(4)
  0021  SETTABLE  R2[K11('mapScale')] = K12(1)
  0022  NEWTABLE  R3 = {} (1 items)
  0023  NEWTABLE  R4 = {} (0 items)
  0024  SETTABLE  R4[K14('id')] = K15('treasure1_1')
  0025  NEWTABLE  R5 = {} (0 items)
  0026  SETTABLE  R5[K17('x')] = K12(1)
  0027  SETTABLE  R5[K18('y')] = K12(1)
  0028  SETTABLE  R4[K16('pos')] = R5
  0029  SETTABLE  R4[K19('rotate')] = K20(0)
  0030  SETLIST   setlist R3[B=1,C=1]
  0031  SETTABLE  R2[K13('treasures')] = R3
  0032  RETURN    return R2..R1
  0033  GETTABLE  R2 = R0[K2('m_mapId2LevelConfig')]
  0034  GETTABLE  R2 = R2[R1]
  0035  RETURN    return R2..R1
  0036  RETURN    return R0..R-1
; ---------- proto33 [GetCurLevelConfig] ----------
  ; fn ?  line 479-482 np=1 va=0 ms=5 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='GetLevel'
  ;   K[1]='GetLevelConfig'
  ;   locals: self(0-7), id(2-7)
  0000  SELF      R2 = R0[K0('GetLevel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R0[K1('GetLevelConfig')] (self)
  0003  MOVE      R4 = R0
  0004  TAILCALL  tailcall(R2, 0)
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto34 [GetCurDigItemDataList] ----------
  ; fn ?  line 486-488 np=1 va=0 ms=2 code=6 consts=1 upvals=0 protos=0
  ;   K[0]='m_arrItemData'
  ;   locals: self(0-6)
  0000  GETTABLE  R1 = R0[K0('m_arrItemData')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  NEWTABLE  R1 = {} (0 items)
  0004  RETURN    return R1..R0
  0005  RETURN    return R0..R-1
; ---------- proto35 [DigTargetGrid] ----------
  ; fn ?  line 492-524 np=2 va=0 ms=11 code=68 consts=25 upvals=1 protos=0
  ;   K[0]='m_mapDigPosState'
  ;   K[1]='y'
  ;   K[2]='x'
  ;   K[3]='HasFinishedCurRound'
  ;   K[4]='Log'
  ;   K[5]='Error'
  ;   K[6]='禁止重复挖掘，轮次通关后不可挖掘'
  ;   K[7]=true
  ;   K[8]='SetDigPosStateMap'
  ;   K[9]='_AddScore'
  ;   K[10]=-1
  ;   K[11]='ipairs'
  ;   K[12]='m_arrItemData'
  ;   K[13]='IsPosInOccupancyGrids'
  ;   K[14]='HasAcquiredItem'
  ;   K[15]='TryClaimReward'
  ;   K[16]=nil
  ;   K[17]='EventDispatcher'
  ;   K[18]='DispatchEvent'
  ;   K[19]='m_activityDefinition'
  ;   K[20]='DigItemStateChangedEvent'
  ;   K[21]='EEventType'
  ;   K[22]='RewardValidChanged'
  ;   K[23]='GridChangedEvent'
  ;   K[24]='LogGridState'
  ;   upvals: _ENV
  ;   locals: self(0-68), pos(0-68), digItemIndex(27-68), (for generator)(30-45), (for state)(30-45), (for control)(30-45), index(31-43), itemData(31-43)
  0000  GETTABLE  R2 = R0[K0('m_mapDigPosState')]
  0001  GETTABLE  R3 = R1[K1('y')]
  0002  GETTABLE  R2 = R2[R3]
  0003  GETTABLE  R3 = R1[K2('x')]
  0004  GETTABLE  R2 = R2[R3]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 11
  0007  SELF      R3 = R0[K3('HasFinishedCurRound')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  TEST      if not R2 then   -> -131061
  0010  JMP       (jump)   -> 16
  0011  GETTABUP  R2 = _ENV[K4('Log')]
  0012  GETTABLE  R2 = R2[K5('Error')]
  0013  LOADK     R3 = K6 '禁止重复挖掘，轮次通关后不可挖掘'
  0014  CALL      R2 = call(R2, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
  0016  GETTABLE  R2 = R0[K0('m_mapDigPosState')]
  0017  GETTABLE  R3 = R1[K1('y')]
  0018  GETTABLE  R2 = R2[R3]
  0019  GETTABLE  R3 = R1[K2('x')]
  0020  SETTABLE  R2[R3] = K7(true)
  0021  SELF      R3 = R0[K8('SetDigPosStateMap')] (self)
  0022  CALL      R2 = call(R2, 0 args, 1 rets)
  0023  SELF      R3 = R0[K9('_AddScore')] (self)
  0024  LOADK     R4 = K10 -1
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  LOADNIL   R2..R2 = nil
  0027  GETTABUP  R3 = _ENV[K11('ipairs')]
  0028  GETTABLE  R4 = R0[K12('m_arrItemData')]
  0029  CALL      R3 = call(R3, 3 args, 1 rets)
  0030  JMP       (jump)   -> 43
  0031  SELF      R9 = R7[K13('IsPosInOccupancyGrids')] (self)
  0032  MOVE      R10 = R0
  0033  CALL      R8 = call(R8, 1 args, 2 rets)
  0034  TEST      if not R8 then   -> -131036
  0035  JMP       (jump)   -> 43
  0036  SELF      R9 = R0[K14('HasAcquiredItem')] (self)
  0037  MOVE      R10 = R0
  0038  CALL      R8 = call(R8, 1 args, 2 rets)
  0039  TEST      if not R8 then   -> -131031
  0040  JMP       (jump)   -> 43
  0041  MOVE      R2 = R0
  0042  JMP       (jump)   -> 45
  0043  TFORCALL  tforcall R3
  0044  TFORLOOP  tforloop R5(sBx=-14)   -> 31
  0045  SELF      R4 = R0[K15('TryClaimReward')] (self)
  0046  CALL      R3 = call(R3, 0 args, 1 rets)
  0047  EQ        if R1 eq K16(nil)   -> -129727
  0048  JMP       (jump)   -> 59
  0049  GETTABUP  R3 = _ENV[K17('EventDispatcher')]
  0050  GETTABLE  R3 = R3[K18('DispatchEvent')]
  0051  GETTABLE  R4 = R0[K19('m_activityDefinition')]
  0052  GETTABLE  R4 = R4[K20('DigItemStateChangedEvent')]
  0053  CALL      R3 = call(R3, 0 args, 1 rets)
  0054  GETTABUP  R3 = _ENV[K17('EventDispatcher')]
  0055  GETTABLE  R3 = R3[K18('DispatchEvent')]
  0056  GETTABUP  R4 = _ENV[K21('EEventType')]
  0057  GETTABLE  R4 = R4[K22('RewardValidChanged')]
  0058  CALL      R3 = call(R3, 0 args, 1 rets)
  0059  GETTABUP  R3 = _ENV[K17('EventDispatcher')]
  0060  GETTABLE  R3 = R3[K18('DispatchEvent')]
  0061  GETTABLE  R4 = R0[K19('m_activityDefinition')]
  0062  GETTABLE  R4 = R4[K23('GridChangedEvent')]
  0063  CALL      R3 = call(R3, 0 args, 1 rets)
  0064  SELF      R4 = R0[K24('LogGridState')] (self)
  0065  CALL      R3 = call(R3, 0 args, 1 rets)
  0066  RETURN    return R2..R1
  0067  RETURN    return R0..R-1
; ---------- proto36 [LogGridState] ----------
  ; fn ?  line 527-567 np=1 va=0 ms=20 code=55 consts=19 upvals=1 protos=0
  ;   K[0]='GetCurLevelConfig'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]=1
  ;   K[4]='height'
  ;   K[5]='width'
  ;   K[6]='m_mapDigPosState'
  ;   K[7]='IsValidGrid'
  ;   K[8]='GM'
  ;   K[9]='BIManager'
  ;   K[10]='LogAction'
  ;   K[11]='m_activityDefinition'
  ;   K[12]='DigActionBIType'
  ;   K[13]='round'
  ;   K[14]='GetRound'
  ;   K[15]='total'
  ;   K[16]='available'
  ;   K[17]='dig'
  ;   K[18]='success'
  ;   upvals: _ENV
  ;   locals: self(0-55), levelConfig(2-55), total(6-55), validCount(7-55), digCount(8-55), digSuccessCount(9-55), bDig(10-55), bValid(10-55), (for index)(13-40), (for limit)(13-40), (for step)(13-40), i(14-39), (for index)(17-39), (for limit)(17-39), (for step)(17-39), j(18-38)
  0000  SELF      R2 = R0[K0('GetCurLevelConfig')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  EQ        if R0 eq K1(nil)   -> -130299
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  LOADK     R2 = K2 0
  0006  LOADK     R3 = K2 0
  0007  LOADK     R4 = K2 0
  0008  LOADK     R5 = K2 0
  0009  LOADNIL   R6..R6 = nil
  0010  LOADK     R8 = K3 1
  0011  GETTABLE  R9 = R1[K4('height')]
  0012  LOADK     R10 = K3 1
  0013  FORPREP   forprep R8(sBx=25)   -> 39
  0014  LOADK     R12 = K3 1
  0015  GETTABLE  R13 = R1[K5('width')]
  0016  LOADK     R14 = K3 1
  0017  FORPREP   forprep R12(sBx=20)   -> 38
  0018  GETTABLE  R16 = R0[K6('m_mapDigPosState')]
  0019  GETTABLE  R16 = R16[R11]
  0020  GETTABLE  R6 = R16[R15]
  0021  SELF      R17 = R0[K7('IsValidGrid')] (self)
  0022  MOVE      R18 = R0
  0023  MOVE      R19 = R0
  0024  CALL      R16 = call(R16, 1 args, 3 rets)
  0025  MOVE      R7 = R0
  0026  TEST      if not R6 then   -> -131044
  0027  JMP       (jump)   -> 29
  0028  ADD       R4 = K3(1) add R4
  0029  TEST      if not R7 then   -> -131041
  0030  JMP       (jump)   -> 32
  0031  ADD       R3 = K3(1) add R3
  0032  TEST      if not R6 then   -> -131038
  0033  JMP       (jump)   -> 37
  0034  TEST      if not R7 then   -> -131036
  0035  JMP       (jump)   -> 37
  0036  ADD       R5 = K3(1) add R5
  0037  ADD       R2 = K3(1) add R2
  0038  FORLOOP   forloop R12(sBx=-21)   -> 18
  0039  FORLOOP   forloop R8(sBx=-26)   -> 14
  0040  GETTABUP  R8 = _ENV[K8('GM')]
  0041  GETTABLE  R8 = R8[K9('BIManager')]
  0042  SELF      R9 = R8[K10('LogAction')] (self)
  0043  GETTABLE  R10 = R0[K11('m_activityDefinition')]
  0044  GETTABLE  R10 = R10[K12('DigActionBIType')]
  0045  NEWTABLE  R11 = {} (0 items)
  0046  SELF      R13 = R0[K14('GetRound')] (self)
  0047  CALL      R12 = call(R12, 1 args, 1 rets)
  0048  SETTABLE  R11[K13('round')] = R12
  0049  SETTABLE  R11[K15('total')] = R2
  0050  SETTABLE  R11[K16('available')] = R3
  0051  SETTABLE  R11[K17('dig')] = R4
  0052  SETTABLE  R11[K18('success')] = R5
  0053  CALL      R8 = call(R8, 0 args, 3 rets)
  0054  RETURN    return R0..R-1
; ---------- proto37 [GetCurRoundReward] ----------
  ; fn ?  line 569-573 np=1 va=0 ms=4 code=13 consts=5 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_roundConfig'
  ;   K[3]='GetRound'
  ;   K[4]='rewards'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_roundConfig')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 12
  0006  GETTABLE  R1 = R0[K2('m_roundConfig')]
  0007  SELF      R3 = R0[K3('GetRound')] (self)
  0008  CALL      R2 = call(R2, 1 args, 1 rets)
  0009  GETTABLE  R1 = R1[R2]
  0010  GETTABLE  R1 = R1[K4('rewards')]
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto38 [GetAllRoundConfig] ----------
  ; fn ?  line 575-577 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_roundConfig'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_roundConfig')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto39 [TryClaimReward] ----------
  ; fn ?  line 580-586 np=1 va=0 ms=8 code=31 consts=19 upvals=1 protos=0
  ;   K[0]='HasFinishedCurRound'
  ;   K[1]='LogActivity'
  ;   K[2]='EBIType'
  ;   K[3]='ActivityRankUp'
  ;   K[4]='GetRound'
  ;   K[5]='RewardApi'
  ;   K[6]='CryptRewards'
  ;   K[7]='GetCurRoundReward'
  ;   K[8]='AcquireRewardsLogic'
  ;   K[9]='EPropertySource'
  ;   K[10]='Give'
  ;   K[11]='m_activityDefinition'
  ;   K[12]='GetRewardsBIType'
  ;   K[13]='ERewardScene'
  ;   K[14]='Other'
  ;   K[15]='EGameMode'
  ;   K[16]='Board'
  ;   K[17]='CacheItemType'
  ;   K[18]='Stack'
  ;   upvals: _ENV
  ;   locals: self(0-31)
  0000  SELF      R2 = R0[K0('HasFinishedCurRound')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 30
  0004  SELF      R2 = R0[K1('LogActivity')] (self)
  0005  GETTABUP  R3 = _ENV[K2('EBIType')]
  0006  GETTABLE  R3 = R3[K3('ActivityRankUp')]
  0007  SELF      R5 = R0[K4('GetRound')] (self)
  0008  CALL      R4 = call(R4, -1 args, 1 rets)
  0009  CALL      R1 = call(R1, 0 args, -1 rets)
  0010  GETTABUP  R1 = _ENV[K5('RewardApi')]
  0011  GETTABLE  R1 = R1[K6('CryptRewards')]
  0012  SELF      R3 = R0[K7('GetCurRoundReward')] (self)
  0013  CALL      R2 = call(R2, -1 args, 1 rets)
  0014  CALL      R1 = call(R1, 0 args, -1 rets)
  0015  GETTABUP  R1 = _ENV[K5('RewardApi')]
  0016  GETTABLE  R1 = R1[K8('AcquireRewardsLogic')]
  0017  SELF      R3 = R0[K7('GetCurRoundReward')] (self)
  0018  CALL      R2 = call(R2, 1 args, 1 rets)
  0019  GETTABUP  R3 = _ENV[K9('EPropertySource')]
  0020  GETTABLE  R3 = R3[K10('Give')]
  0021  GETTABLE  R4 = R0[K11('m_activityDefinition')]
  0022  GETTABLE  R4 = R4[K12('GetRewardsBIType')]
  0023  GETTABUP  R5 = _ENV[K13('ERewardScene')]
  0024  GETTABLE  R5 = R5[K14('Other')]
  0025  GETTABUP  R6 = _ENV[K15('EGameMode')]
  0026  GETTABLE  R6 = R6[K16('Board')]
  0027  GETTABUP  R7 = _ENV[K17('CacheItemType')]
  0028  GETTABLE  R7 = R7[K18('Stack')]
  0029  CALL      R1 = call(R1, 0 args, 6 rets)
  0030  RETURN    return R0..R-1
; ---------- proto40 [HasAcquiredItem] ----------
  ; fn ?  line 589-597 np=2 va=0 ms=10 code=21 consts=6 upvals=1 protos=0
  ;   K[0]='m_arrItemData'
  ;   K[1]='ipairs'
  ;   K[2]='GetOccupancyGrids'
  ;   K[3]='m_mapDigPosState'
  ;   K[4]='y'
  ;   K[5]='x'
  ;   upvals: _ENV
  ;   locals: self(0-21), index(0-21), digItemData(2-21), (for generator)(6-18), (for state)(6-18), (for control)(6-18), _(7-16), pos(7-16)
  0000  GETTABLE  R2 = R0[K0('m_arrItemData')]
  0001  GETTABLE  R2 = R2[R1]
  0002  GETTABUP  R3 = _ENV[K1('ipairs')]
  0003  SELF      R5 = R2[K2('GetOccupancyGrids')] (self)
  0004  CALL      R4 = call(R4, -1 args, 1 rets)
  0005  CALL      R3 = call(R3, 3 args, -1 rets)
  0006  JMP       (jump)   -> 16
  0007  GETTABLE  R8 = R0[K3('m_mapDigPosState')]
  0008  GETTABLE  R9 = R7[K4('y')]
  0009  GETTABLE  R8 = R8[R9]
  0010  GETTABLE  R9 = R7[K5('x')]
  0011  GETTABLE  R8 = R8[R9]
  0012  TEST      if not R8 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R8 = false
  0015  RETURN    return R8..R7
  0016  TFORCALL  tforcall R3
  0017  TFORLOOP  tforloop R5(sBx=-11)   -> 7
  0018  LOADBOOL  R3 = true
  0019  RETURN    return R3..R2
  0020  RETURN    return R0..R-1
; ---------- proto41 [GetItemAcquiredProgress] ----------
  ; fn ?  line 601-613 np=1 va=0 ms=11 code=28 consts=7 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_arrItemData'
  ;   K[3]=0
  ;   K[4]='ipairs'
  ;   K[5]='HasAcquiredItem'
  ;   K[6]=1
  ;   upvals: _ENV
  ;   locals: self(0-28), totalProgress(11-28), curProgress(12-28), (for generator)(15-24), (for state)(15-24), (for control)(15-24), index(16-22), digItemData(16-22)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_arrItemData')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 9
  0006  LOADK     R1 = K3 0
  0007  LOADK     R2 = K3 0
  0008  RETURN    return R1..R0
  0009  GETTABLE  R1 = R0[K2('m_arrItemData')]
  0010  LEN       R1 = len R0
  0011  LOADK     R2 = K3 0
  0012  GETTABUP  R3 = _ENV[K4('ipairs')]
  0013  GETTABLE  R4 = R0[K2('m_arrItemData')]
  0014  CALL      R3 = call(R3, 3 args, 1 rets)
  0015  JMP       (jump)   -> 22
  0016  SELF      R9 = R0[K5('HasAcquiredItem')] (self)
  0017  MOVE      R10 = R0
  0018  CALL      R8 = call(R8, 1 args, 2 rets)
  0019  TEST      if not R8 then   -> -131051
  0020  JMP       (jump)   -> 22
  0021  ADD       R2 = K6(1) add R2
  0022  TFORCALL  tforcall R3
  0023  TFORLOOP  tforloop R5(sBx=-8)   -> 16
  0024  MOVE      R3 = R0
  0025  MOVE      R4 = R0
  0026  RETURN    return R3..R2
  0027  RETURN    return R0..R-1
; ---------- proto42 [IsValidGrid] ----------
  ; fn ?  line 617-626 np=4 va=0 ms=17 code=35 consts=6 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrItemData'
  ;   K[2]='GetOccupancyGrids'
  ;   K[3]='x'
  ;   K[4]='y'
  ;   K[5]='HasAcquiredItem'
  ;   upvals: _ENV
  ;   locals: self(0-35), x(0-35), y(0-35), bTreasureState(0-35), (for generator)(6-32), (for state)(6-32), (for control)(6-32), index(7-30), digItemData(7-30), (for generator)(11-30), (for state)(11-30), (for control)(11-30), _(12-28), pos(12-28)
  0000  GETTABUP  R4 = _ENV[K0('ipairs')]
  0001  GETTABLE  R5 = R0[K1('m_arrItemData')]
  0002  TEST      if not R5 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R5 = {} (0 items)
  0005  CALL      R4 = call(R4, 3 args, 1 rets)
  0006  JMP       (jump)   -> 30
  0007  GETTABUP  R9 = _ENV[K0('ipairs')]
  0008  SELF      R11 = R8[K2('GetOccupancyGrids')] (self)
  0009  CALL      R10 = call(R10, -1 args, 1 rets)
  0010  CALL      R9 = call(R9, 3 args, -1 rets)
  0011  JMP       (jump)   -> 28
  0012  GETTABLE  R14 = R13[K3('x')]
  0013  EQ        if R0 eq R14   -> -130531
  0014  JMP       (jump)   -> 28
  0015  GETTABLE  R14 = R13[K4('y')]
  0016  EQ        if R0 eq R14   -> -130016
  0017  JMP       (jump)   -> 28
  0018  TEST      if not R3 then   -> -131052
  0019  JMP       (jump)   -> 26
  0020  SELF      R15 = R0[K5('HasAcquiredItem')] (self)
  0021  MOVE      R16 = R0
  0022  CALL      R14 = call(R14, 1 args, 2 rets)
  0023  NOT       R14 = not R0
  0024  JMP       (jump)   -> 27
  0025  LOADBOOL  R14 = false
  0026  LOADBOOL  R14 = true
  0027  RETURN    return R14..R13
  0028  TFORCALL  tforcall R9
  0029  TFORLOOP  tforloop R11(sBx=-18)   -> 12
  0030  TFORCALL  tforcall R4
  0031  TFORLOOP  tforloop R6(sBx=-25)   -> 7
  0032  LOADBOOL  R4 = false
  0033  RETURN    return R4..R3
  0034  RETURN    return R0..R-1
; ---------- proto43 [GetOneItemForTutorial] ----------
  ; fn ?  line 629-635 np=1 va=0 ms=8 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='ipairs'
  ;   K[1]='m_arrItemData'
  ;   K[2]='GetGridCount'
  ;   K[3]=2
  ;   upvals: _ENV
  ;   locals: self(0-15), (for generator)(6-14), (for state)(6-14), (for control)(6-14), _(7-12), digItemData(7-12)
  0000  GETTABUP  R1 = _ENV[K0('ipairs')]
  0001  GETTABLE  R2 = R0[K1('m_arrItemData')]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  NEWTABLE  R2 = {} (0 items)
  0005  CALL      R1 = call(R1, 3 args, 1 rets)
  0006  JMP       (jump)   -> 12
  0007  SELF      R7 = R5[K2('GetGridCount')] (self)
  0008  CALL      R6 = call(R6, 1 args, 1 rets)
  0009  EQ        if R0 eq K3(2)   -> -127730
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R5..R4
  0012  TFORCALL  tforcall R1
  0013  TFORLOOP  tforloop R3(sBx=-7)   -> 7
  0014  RETURN    return R0..R-1
; ---------- proto44 [IsDigActivityScoreType] ----------
  ; fn ?  line 639-645 np=1 va=0 ms=7 code=12 consts=3 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='DigActivityDefinition'
  ;   K[2]='ActivityTokenPropertyType'
  ;   upvals: _ENV
  ;   locals: type(0-12), (for generator)(3-11), (for state)(3-11), (for control)(3-11), _(4-9), v(4-9)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('DigActivityDefinition')]
  0002  CALL      R1 = call(R1, 3 args, 1 rets)
  0003  JMP       (jump)   -> 9
  0004  GETTABLE  R6 = R5[K2('ActivityTokenPropertyType')]
  0005  EQ        if R0 eq R6   -> -131059
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R6 = true
  0008  RETURN    return R6..R5
  0009  TFORCALL  tforcall R1
  0010  TFORLOOP  tforloop R3(sBx=-7)   -> 4
  0011  RETURN    return R0..R-1
; ---------- proto45 [GetButtonTarget] ----------
  ; fn ?  line 647-668 np=1 va=0 ms=12 code=60 consts=20 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='DigActivityDefinition'
  ;   K[2]='ActivityTokenPropertyType'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='GetOpenedViewByName'
  ;   K[6]='MainWindowPrefabName'
  ;   K[7]=nil
  ;   K[8]='GetHudButton'
  ;   K[9]='SceneManager'
  ;   K[10]='GetGameMode'
  ;   K[11]='EGameMode'
  ;   K[12]='Board'
  ;   K[13]='MainBoardView'
  ;   K[14]='GetInstance'
  ;   K[15]='GetOrderArea'
  ;   K[16]='GetIconAreaByActivityType'
  ;   K[17]='Main'
  ;   K[18]='TutorialHelper'
  ;   K[19]='EntryButtonKey'
  ;   upvals: _ENV
  ;   locals: propertyType(0-60), mainWindow(1-60), (for generator)(4-57), (for state)(4-57), (for control)(4-57), activityType(5-55), activityDefinition(5-55), boardView(31-41), orderArea(35-41)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('DigActivityDefinition')]
  0003  CALL      R2 = call(R2, 3 args, 1 rets)
  0004  JMP       (jump)   -> 55
  0005  GETTABLE  R7 = R6[K2('ActivityTokenPropertyType')]
  0006  EQ        if R0 eq R7   -> -131057
  0007  JMP       (jump)   -> 55
  0008  GETTABUP  R7 = _ENV[K3('GM')]
  0009  GETTABLE  R7 = R7[K4('UIManager')]
  0010  SELF      R8 = R7[K5('GetOpenedViewByName')] (self)
  0011  GETTABLE  R9 = R6[K6('MainWindowPrefabName')]
  0012  CALL      R7 = call(R7, 1 args, 2 rets)
  0013  MOVE      R1 = R0
  0014  EQ        if R1 eq K7(nil)   -> -130281
  0015  JMP       (jump)   -> 20
  0016  SELF      R8 = R1[K8('GetHudButton')] (self)
  0017  TAILCALL  tailcall(R7, 0)
  0018  RETURN    return R7..R6
  0019  JMP       (jump)   -> 55
  0020  GETTABUP  R7 = _ENV[K3('GM')]
  0021  GETTABLE  R7 = R7[K9('SceneManager')]
  0022  SELF      R8 = R7[K10('GetGameMode')] (self)
  0023  CALL      R7 = call(R7, 1 args, 1 rets)
  0024  GETTABUP  R8 = _ENV[K11('EGameMode')]
  0025  GETTABLE  R8 = R8[K12('Board')]
  0026  EQ        if R0 eq R8   -> -127452
  0027  JMP       (jump)   -> 42
  0028  GETTABUP  R7 = _ENV[K13('MainBoardView')]
  0029  GETTABLE  R7 = R7[K14('GetInstance')]
  0030  CALL      R7 = call(R7, 1 args, 0 rets)
  0031  EQ        if R1 eq K7(nil)   -> -127192
  0032  JMP       (jump)   -> 55
  0033  SELF      R9 = R7[K15('GetOrderArea')] (self)
  0034  CALL      R8 = call(R8, 1 args, 1 rets)
  0035  EQ        if R1 eq K7(nil)   -> -126676
  0036  JMP       (jump)   -> 55
  0037  SELF      R10 = R8[K16('GetIconAreaByActivityType')] (self)
  0038  MOVE      R11 = R0
  0039  TAILCALL  tailcall(R9, 0)
  0040  RETURN    return R9..R8
  0041  JMP       (jump)   -> 55
  0042  GETTABUP  R7 = _ENV[K3('GM')]
  0043  GETTABLE  R7 = R7[K9('SceneManager')]
  0044  SELF      R8 = R7[K10('GetGameMode')] (self)
  0045  CALL      R7 = call(R7, 1 args, 1 rets)
  0046  GETTABUP  R8 = _ENV[K11('EGameMode')]
  0047  GETTABLE  R8 = R8[K17('Main')]
  0048  EQ        if R0 eq R8   -> -127430
  0049  JMP       (jump)   -> 55
  0050  GETTABUP  R7 = _ENV[K18('TutorialHelper')]
  0051  GETTABLE  R7 = R7[K8('GetHudButton')]
  0052  GETTABLE  R8 = R6[K19('EntryButtonKey')]
  0053  TAILCALL  tailcall(R7, 0)
  0054  RETURN    return R7..R6
  0055  TFORCALL  tforcall R2
  0056  TFORLOOP  tforloop R4(sBx=-52)   -> 5
  0057  LOADNIL   R2..R2 = nil
  0058  RETURN    return R2..R1
  0059  RETURN    return R0..R-1
