# ExtraBoardActivity_Model_UIBoardActivityModel_988.luac
; fn @UIBoardActivityModel.lua  line 0-0 np=0 va=1 ms=3 code=188 consts=79 upvals=1 protos=57
;   K[0]='UIBoardActivityModel'
;   K[1]='setmetatable'
;   K[2]='BoardModelClass'
;   K[3]=nil
;   K[4]='BoardConfigName'
;   K[5]=''
;   K[6]='FogConfigName'
;   K[7]='CommonItemPrefix'
;   K[8]='CommonTokenType'
;   K[9]='FixedHorizontalTiles'
;   K[10]=-1
;   K[11]='FixedVerticalTiles'
;   K[12]='BaseActivityModel'
;   K[13]='__index'
;   K[14]='GetActivityDefinitionByType'
;   K[15]='GetMainLineItemCode'
;   K[16]='LogBookItemUnlocked'
;   K[17]='IsMaxLevel'
;   K[18]='GetRareItemChainId'
;   K[19]='GetBoardViewPrefabName'
;   K[20]='Init'
;   K[21]='GetActivityDefinition'
;   K[22]='GetResourceLabels'
;   K[23]='IsActivityOpen'
;   K[24]='_OnStateChanged'
;   K[25]='Destroy'
;   K[26]='_DropData'
;   K[27]='_MakeTokenType'
;   K[28]='_LoadOtherServerConfig'
;   K[29]='GetAllUIBoardActivityDefinition'
;   K[30]='GetActiveModel'
;   K[31]='UIBoardActivityModel'
;   K[32]='CanAddScore'
;   K[33]='GetActivityDBTable'
;   K[34]='_LoadActivityBoardModel'
;   K[35]='GetBoardModel'
;   K[36]='GetInitCodeMap'
;   K[37]='GetInitBoardInfo'
;   K[38]='GetEndRewards'
;   K[39]='GetMergeLength'
;   K[40]='GetItemTypeByIndex'
;   K[41]='GetLevelByItemCode'
;   K[42]='GetItemCodeByLevel'
;   K[43]='IsSelfItem'
;   K[44]='GetTokenPropertyType'
;   K[45]='IsSelfToken'
;   K[46]='IsCommonToken'
;   K[47]='IsCommonItem'
;   K[48]='IsMainLineItem'
;   K[49]='GetReplacedUIBoardItem'
;   K[50]='GetReplacedUIBoardToken'
;   K[51]='IsUIBoardActivityType'
;   K[52]='UIBoardActivityModel'
;   K[53]='IsUIBoardActivityItem'
;   K[54]='UIBoardActivityModel'
;   K[55]='IsUIBoardActivityToken'
;   K[56]='UIBoardActivityModel'
;   K[57]='IsUIBoardCommonItem'
;   K[58]='UIBoardActivityModel'
;   K[59]='IsUIBoardCommonToken'
;   K[60]='UIBoardActivityModel'
;   K[61]='IsUIBoardMainLineItem'
;   K[62]='GetRealBoardItemCode'
;   K[63]='UIBoardActivityModel'
;   K[64]='GetRealBoardToken'
;   K[65]='UIBoardActivityModel'
;   K[66]='GetCacheCount'
;   K[67]='GetPaperBoxSprite'
;   K[68]='GetPaperBoxDisappearPrefabName'
;   K[69]='GetCobwebSprite'
;   K[70]='GetCobwebSpineViewPrefabName'
;   K[71]='GetActivePaperBoxSprite'
;   K[72]='GetActivePaperBoxDisappearPrefabName'
;   K[73]='GetActiveCobwebSprite'
;   K[74]='GetActiveCobwebSpineViewPrefabName'
;   K[75]='CanPopEndWindow'
;   K[76]='CanShowBookArrow'
;   K[77]='IsLackExtraBoardItem'
;   K[78]='CheckLackExtraBoardItem'
;   upvals: _ENV
;   locals: AllUIBoardActivityDefinition(61-188)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('BoardModelClass')] = K3(nil)
0003  SETTABLE  R1[K4('BoardConfigName')] = K5('')
0004  SETTABLE  R1[K6('FogConfigName')] = K5('')
0005  SETTABLE  R1[K7('CommonItemPrefix')] = K5('')
0006  SETTABLE  R1[K8('CommonTokenType')] = K5('')
0007  SETTABLE  R1[K9('FixedHorizontalTiles')] = K10(-1)
0008  SETTABLE  R1[K11('FixedVerticalTiles')] = K10(-1)
0009  GETTABUP  R2 = _ENV[K12('BaseActivityModel')]
0010  CALL      R0 = call(R0, 1 args, 2 rets)
0011  SETTABUP  _ENV[K0('UIBoardActivityModel')] = R0
0012  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0013  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0014  SETTABLE  R0[K13('__index')] = R1
0015  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0016  CLOSURE   R1 = closure proto0
0017  SETTABLE  R0[K14('GetActivityDefinitionByType')] = R1
0018  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0019  CLOSURE   R1 = closure proto1
0020  SETTABLE  R0[K15('GetMainLineItemCode')] = R1
0021  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0022  CLOSURE   R1 = closure proto2
0023  SETTABLE  R0[K16('LogBookItemUnlocked')] = R1
0024  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0025  CLOSURE   R1 = closure proto3
0026  SETTABLE  R0[K17('IsMaxLevel')] = R1
0027  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0028  CLOSURE   R1 = closure proto4
0029  SETTABLE  R0[K18('GetRareItemChainId')] = R1
0030  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0031  CLOSURE   R1 = closure proto5
0032  SETTABLE  R0[K19('GetBoardViewPrefabName')] = R1
0033  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0034  CLOSURE   R1 = closure proto6
0035  SETTABLE  R0[K20('Init')] = R1
0036  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0037  CLOSURE   R1 = closure proto7
0038  SETTABLE  R0[K21('GetActivityDefinition')] = R1
0039  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0040  CLOSURE   R1 = closure proto8
0041  SETTABLE  R0[K22('GetResourceLabels')] = R1
0042  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0043  CLOSURE   R1 = closure proto9
0044  SETTABLE  R0[K23('IsActivityOpen')] = R1
0045  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0046  CLOSURE   R1 = closure proto10
0047  SETTABLE  R0[K24('_OnStateChanged')] = R1
0048  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0049  CLOSURE   R1 = closure proto11
0050  SETTABLE  R0[K25('Destroy')] = R1
0051  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0052  CLOSURE   R1 = closure proto12
0053  SETTABLE  R0[K26('_DropData')] = R1
0054  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0055  CLOSURE   R1 = closure proto13
0056  SETTABLE  R0[K27('_MakeTokenType')] = R1
0057  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
0058  CLOSURE   R1 = closure proto14
0059  SETTABLE  R0[K28('_LoadOtherServerConfig')] = R1
0060  LOADNIL   R0..R0 = nil
0061  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0062  CLOSURE   R2 = closure proto15
0063  SETTABLE  R1[K29('GetAllUIBoardActivityDefinition')] = R2
0064  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0065  CLOSURE   R2 = closure proto16
0066  SETTABLE  R1[K30('GetActiveModel')] = R2
0067  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0068  CLOSURE   R2 = closure proto17
0069  SETTABLE  R1[K32('CanAddScore')] = R2
0070  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0071  CLOSURE   R2 = closure proto18
0072  SETTABLE  R1[K33('GetActivityDBTable')] = R2
0073  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0074  CLOSURE   R2 = closure proto19
0075  SETTABLE  R1[K34('_LoadActivityBoardModel')] = R2
0076  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0077  CLOSURE   R2 = closure proto20
0078  SETTABLE  R1[K35('GetBoardModel')] = R2
0079  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0080  CLOSURE   R2 = closure proto21
0081  SETTABLE  R1[K36('GetInitCodeMap')] = R2
0082  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0083  CLOSURE   R2 = closure proto22
0084  SETTABLE  R1[K37('GetInitBoardInfo')] = R2
0085  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0086  CLOSURE   R2 = closure proto23
0087  SETTABLE  R1[K38('GetEndRewards')] = R2
0088  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0089  CLOSURE   R2 = closure proto24
0090  SETTABLE  R1[K39('GetMergeLength')] = R2
0091  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0092  CLOSURE   R2 = closure proto25
0093  SETTABLE  R1[K40('GetItemTypeByIndex')] = R2
0094  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0095  CLOSURE   R2 = closure proto26
0096  SETTABLE  R1[K41('GetLevelByItemCode')] = R2
0097  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0098  CLOSURE   R2 = closure proto27
0099  SETTABLE  R1[K42('GetItemCodeByLevel')] = R2
0100  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0101  CLOSURE   R2 = closure proto28
0102  SETTABLE  R1[K43('IsSelfItem')] = R2
0103  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0104  CLOSURE   R2 = closure proto29
0105  SETTABLE  R1[K44('GetTokenPropertyType')] = R2
0106  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0107  CLOSURE   R2 = closure proto30
0108  SETTABLE  R1[K45('IsSelfToken')] = R2
0109  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0110  CLOSURE   R2 = closure proto31
0111  SETTABLE  R1[K46('IsCommonToken')] = R2
0112  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0113  CLOSURE   R2 = closure proto32
0114  SETTABLE  R1[K47('IsCommonItem')] = R2
0115  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0116  CLOSURE   R2 = closure proto33
0117  SETTABLE  R1[K48('IsMainLineItem')] = R2
0118  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0119  CLOSURE   R2 = closure proto34
0120  SETTABLE  R1[K49('GetReplacedUIBoardItem')] = R2
0121  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0122  CLOSURE   R2 = closure proto35
0123  SETTABLE  R1[K50('GetReplacedUIBoardToken')] = R2
0124  GETTABUP  R1 = _ENV[K31('UIBoardActivityModel')]
0125  CLOSURE   R2 = closure proto36
0126  SETTABLE  R1[K51('IsUIBoardActivityType')] = R2
0127  GETTABUP  R1 = _ENV[K52('UIBoardActivityModel')]
0128  CLOSURE   R2 = closure proto37
0129  SETTABLE  R1[K53('IsUIBoardActivityItem')] = R2
0130  GETTABUP  R1 = _ENV[K54('UIBoardActivityModel')]
0131  CLOSURE   R2 = closure proto38
0132  SETTABLE  R1[K55('IsUIBoardActivityToken')] = R2
0133  GETTABUP  R1 = _ENV[K56('UIBoardActivityModel')]
0134  CLOSURE   R2 = closure proto39
0135  SETTABLE  R1[K57('IsUIBoardCommonItem')] = R2
0136  GETTABUP  R1 = _ENV[K58('UIBoardActivityModel')]
0137  CLOSURE   R2 = closure proto40
0138  SETTABLE  R1[K59('IsUIBoardCommonToken')] = R2
0139  GETTABUP  R1 = _ENV[K60('UIBoardActivityModel')]
0140  CLOSURE   R2 = closure proto41
0141  SETTABLE  R1[K61('IsUIBoardMainLineItem')] = R2
0142  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0143  CLOSURE   R2 = closure proto42
0144  SETTABLE  R1[K62('GetRealBoardItemCode')] = R2
0145  GETTABUP  R1 = _ENV[K63('UIBoardActivityModel')]
0146  CLOSURE   R2 = closure proto43
0147  SETTABLE  R1[K64('GetRealBoardToken')] = R2
0148  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0149  CLOSURE   R2 = closure proto44
0150  SETTABLE  R1[K66('GetCacheCount')] = R2
0151  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0152  CLOSURE   R2 = closure proto45
0153  SETTABLE  R1[K67('GetPaperBoxSprite')] = R2
0154  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0155  CLOSURE   R2 = closure proto46
0156  SETTABLE  R1[K68('GetPaperBoxDisappearPrefabName')] = R2
0157  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0158  CLOSURE   R2 = closure proto47
0159  SETTABLE  R1[K69('GetCobwebSprite')] = R2
0160  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0161  CLOSURE   R2 = closure proto48
0162  SETTABLE  R1[K70('GetCobwebSpineViewPrefabName')] = R2
0163  GETTABUP  R1 = _ENV[K65('UIBoardActivityModel')]
0164  CLOSURE   R2 = closure proto49
0165  SETTABLE  R1[K71('GetActivePaperBoxSprite')] = R2
0166  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0167  CLOSURE   R2 = closure proto50
0168  SETTABLE  R1[K72('GetActivePaperBoxDisappearPrefabName')] = R2
0169  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0170  CLOSURE   R2 = closure proto51
0171  SETTABLE  R1[K73('GetActiveCobwebSprite')] = R2
0172  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0173  CLOSURE   R2 = closure proto52
0174  SETTABLE  R1[K74('GetActiveCobwebSpineViewPrefabName')] = R2
0175  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0176  CLOSURE   R2 = closure proto53
0177  SETTABLE  R1[K75('CanPopEndWindow')] = R2
0178  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0179  CLOSURE   R2 = closure proto54
0180  SETTABLE  R1[K76('CanShowBookArrow')] = R2
0181  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0182  CLOSURE   R2 = closure proto55
0183  SETTABLE  R1[K77('IsLackExtraBoardItem')] = R2
0184  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
0185  CLOSURE   R2 = closure proto56
0186  SETTABLE  R1[K78('CheckLackExtraBoardItem')] = R2
0187  RETURN    return R0..R-1
; ---------- proto0 [GetActivityDefinitionByType] ----------
  ; fn ?  line 20-22 np=2 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetActivityDefinition() 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5), activityType(0-5)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Error')]
  0002  LOADK     R3 = K2 'GetActivityDefinition() 是抽象接口'
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto1 [GetMainLineItemCode] ----------
  ; fn ?  line 25-27 np=3 va=0 ms=5 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetMainLineItemCode 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5), prefix(0-5), level(0-5)
  0000  GETTABUP  R3 = _ENV[K0('Log')]
  0001  GETTABLE  R3 = R3[K1('Error')]
  0002  LOADK     R4 = K2 'GetMainLineItemCode 是抽象接口'
  0003  CALL      R3 = call(R3, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [LogBookItemUnlocked] ----------
  ; fn ?  line 30-32 np=2 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='LogBookItemUnlocked 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5), itemCode(0-5)
  0000  GETTABUP  R2 = _ENV[K0('Log')]
  0001  GETTABLE  R2 = R2[K1('Error')]
  0002  LOADK     R3 = K2 'LogBookItemUnlocked 是抽象接口'
  0003  CALL      R2 = call(R2, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto3 [IsMaxLevel] ----------
  ; fn ?  line 35-37 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='IsMaxLevel 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 'IsMaxLevel 是抽象接口'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto4 [GetRareItemChainId] ----------
  ; fn ?  line 40-42 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetRareItemChainId 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 'GetRareItemChainId 是抽象接口'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto5 [GetBoardViewPrefabName] ----------
  ; fn ?  line 44-46 np=1 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='Log'
  ;   K[1]='Error'
  ;   K[2]='GetBoardViewPrefabName 是抽象接口'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('Log')]
  0001  GETTABLE  R1 = R1[K1('Error')]
  0002  LOADK     R2 = K2 'GetBoardViewPrefabName 是抽象接口'
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto6 [Init] ----------
  ; fn ?  line 49-59 np=7 va=0 ms=11 code=23 consts=13 upvals=1 protos=0
  ;   K[0]='m_itemDataTable'
  ;   K[1]='m_itemLayerDataTable'
  ;   K[2]='m_itemCacheDataTable'
  ;   K[3]='m_boardDataTable'
  ;   K[4]='m_activityDefinition'
  ;   K[5]='GetActivityDefinitionByType'
  ;   K[6]='m_tokenHelper'
  ;   K[7]='ActivityTokenHelper'
  ;   K[8]='Create'
  ;   K[9]='EFlyElementLabelStyle'
  ;   K[10]='Default'
  ;   K[11]='BaseActivityModel'
  ;   K[12]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-23), activityType(0-23), activityDataTable(0-23), itemDataTable(0-23), itemLayerDataTable(0-23), itemCacheDataTable(0-23), boardDataTable(0-23)
  0000  SETTABLE  R0[K0('m_itemDataTable')] = R3
  0001  SETTABLE  R0[K1('m_itemLayerDataTable')] = R4
  0002  SETTABLE  R0[K2('m_itemCacheDataTable')] = R5
  0003  SETTABLE  R0[K3('m_boardDataTable')] = R6
  0004  SELF      R8 = R0[K5('GetActivityDefinitionByType')] (self)
  0005  MOVE      R9 = R0
  0006  CALL      R7 = call(R7, 1 args, 2 rets)
  0007  SETTABLE  R0[K4('m_activityDefinition')] = R7
  0008  GETTABUP  R7 = _ENV[K7('ActivityTokenHelper')]
  0009  GETTABLE  R7 = R7[K8('Create')]
  0010  MOVE      R8 = R0
  0011  MOVE      R9 = R0
  0012  GETTABUP  R10 = _ENV[K9('EFlyElementLabelStyle')]
  0013  GETTABLE  R10 = R10[K10('Default')]
  0014  CALL      R7 = call(R7, 1 args, 3 rets)
  0015  SETTABLE  R0[K6('m_tokenHelper')] = R7
  0016  GETTABUP  R7 = _ENV[K11('BaseActivityModel')]
  0017  GETTABLE  R7 = R7[K12('Init')]
  0018  MOVE      R8 = R0
  0019  MOVE      R9 = R0
  0020  MOVE      R10 = R0
  0021  CALL      R7 = call(R7, 0 args, 3 rets)
  0022  RETURN    return R0..R-1
; ---------- proto7 [GetActivityDefinition] ----------
  ; fn ?  line 61-63 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [GetResourceLabels] ----------
  ; fn ?  line 65-67 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
; ---------- proto9 [IsActivityOpen] ----------
  ; fn ?  line 69-71 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
; ---------- proto10 [_OnStateChanged] ----------
  ; fn ?  line 73-81 np=1 va=0 ms=5 code=20 consts=9 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_OnStateChanged'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='GM'
  ;   K[6]='ModeViewController'
  ;   K[7]=nil
  ;   K[8]='ReleaseExtraBoardActivityBoardView'
  ;   upvals: _ENV
  ;   locals: self(0-20), state(6-20)
  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  SELF      R2 = R0[K2('GetState')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0007  GETTABLE  R2 = R2[K4('Started')]
  0008  EQ        if R1 eq R2   -> -130548
  0009  JMP       (jump)   -> 19
  0010  GETTABUP  R2 = _ENV[K5('GM')]
  0011  GETTABLE  R2 = R2[K6('ModeViewController')]
  0012  EQ        if R1 eq K7(nil)   -> -129771
  0013  JMP       (jump)   -> 19
  0014  GETTABUP  R2 = _ENV[K5('GM')]
  0015  GETTABLE  R2 = R2[K6('ModeViewController')]
  0016  SELF      R3 = R2[K8('ReleaseExtraBoardActivityBoardView')] (self)
  0017  LOADBOOL  R4 = true
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto11 [Destroy] ----------
  ; fn ?  line 83-91 np=1 va=0 ms=3 code=17 consts=5 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='Destroy'
  ;   K[2]='m_boardModel'
  ;   K[3]=nil
  ;   K[4]='m_tokenHelper'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  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_boardModel')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R1 = R0[K2('m_boardModel')]
  0008  SELF      R2 = R1[K1('Destroy')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  GETTABLE  R1 = R0[K4('m_tokenHelper')]
  0011  EQ        if R1 eq K3(nil)   -> -130288
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R1 = R0[K4('m_tokenHelper')]
  0014  SELF      R2 = R1[K1('Destroy')] (self)
  0015  CALL      R1 = call(R1, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
; ---------- proto12 [_DropData] ----------
  ; fn ?  line 93-105 np=1 va=0 ms=3 code=28 consts=11 upvals=1 protos=0
  ;   K[0]='BaseActivityModel'
  ;   K[1]='_DropData'
  ;   K[2]='m_boardModel'
  ;   K[3]=nil
  ;   K[4]='Destroy'
  ;   K[5]='DropData'
  ;   K[6]='m_itemDataTable'
  ;   K[7]='Drop'
  ;   K[8]='m_itemLayerDataTable'
  ;   K[9]='m_itemCacheDataTable'
  ;   K[10]='m_boardDataTable'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  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  GETTABLE  R1 = R0[K2('m_boardModel')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 15
  0007  GETTABLE  R1 = R0[K2('m_boardModel')]
  0008  SELF      R2 = R1[K4('Destroy')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  GETTABLE  R1 = R0[K2('m_boardModel')]
  0011  SELF      R2 = R1[K5('DropData')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  SETTABLE  R0[K2('m_boardModel')] = K3(nil)
  0014  JMP       (jump)   -> 27
  0015  GETTABLE  R1 = R0[K6('m_itemDataTable')]
  0016  SELF      R2 = R1[K7('Drop')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  GETTABLE  R1 = R0[K8('m_itemLayerDataTable')]
  0019  SELF      R2 = R1[K7('Drop')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  GETTABLE  R1 = R0[K9('m_itemCacheDataTable')]
  0022  SELF      R2 = R1[K7('Drop')] (self)
  0023  CALL      R1 = call(R1, 0 args, 1 rets)
  0024  GETTABLE  R1 = R0[K10('m_boardDataTable')]
  0025  SELF      R2 = R1[K7('Drop')] (self)
  0026  CALL      R1 = call(R1, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto13 [_MakeTokenType] ----------
  ; fn ?  line 107-122 np=1 va=0 ms=10 code=48 consts=17 upvals=1 protos=0
  ;   K[0]='CommonTokenType'
  ;   K[1]='GetType'
  ;   K[2]='StringUtil'
  ;   K[3]='IsNilOrEmpty'
  ;   K[4]='Log'
  ;   K[5]='Warning'
  ;   K[6]='StringUtil.MakePrefix commonTokenType is nil or empty'
  ;   K[7]=''
  ;   K[8]='Split'
  ;   K[9]='_'
  ;   K[10]=1
  ;   K[11]=0
  ;   K[12]='IsDigit'
  ;   K[13]='string'
  ;   K[14]='sub'
  ;   K[15]='m_tokenType'
  ;   K[16]='_token'
  ;   upvals: _ENV
  ;   locals: self(0-48), commonTokenType(1-48), activityType(3-48), head(21-48), i(22-48), tail(42-48)
  0000  GETTABLE  R1 = R0[K0('CommonTokenType')]
  0001  SELF      R3 = R0[K1('GetType')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  GETTABUP  R3 = _ENV[K2('StringUtil')]
  0004  GETTABLE  R3 = R3[K3('IsNilOrEmpty')]
  0005  MOVE      R4 = R0
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  TEST      if not R3 then   -> -131063
  0008  JMP       (jump)   -> 15
  0009  GETTABUP  R3 = _ENV[K4('Log')]
  0010  GETTABLE  R3 = R3[K5('Warning')]
  0011  LOADK     R4 = K6 'StringUtil.MakePrefix commonTokenType is nil or empty'
  0012  CALL      R3 = call(R3, 0 args, 1 rets)
  0013  LOADK     R3 = K7 ''
  0014  RETURN    return R3..R2
  0015  GETTABUP  R3 = _ENV[K2('StringUtil')]
  0016  GETTABLE  R3 = R3[K8('Split')]
  0017  MOVE      R4 = R0
  0018  LOADK     R5 = K9 '_'
  0019  CALL      R3 = call(R3, 1 args, 2 rets)
  0020  GETTABLE  R3 = R3[K10(1)]
  0021  LEN       R4 = len R0
  0022  LT        if R0 lt R4   -> 5660
  0023  JMP       (jump)   -> 37
  0024  GETTABUP  R5 = _ENV[K2('StringUtil')]
  0025  GETTABLE  R5 = R5[K12('IsDigit')]
  0026  GETTABUP  R6 = _ENV[K13('string')]
  0027  GETTABLE  R6 = R6[K14('sub')]
  0028  MOVE      R7 = R0
  0029  MOVE      R8 = R0
  0030  MOVE      R9 = R0
  0031  CALL      R6 = call(R6, -1 args, 3 rets)
  0032  CALL      R5 = call(R5, 1 args, -1 rets)
  0033  TEST      if not R5 then   -> -131037
  0034  JMP       (jump)   -> 37
  0035  SUB       R4 = K10(1) sub R4
  0036  JMP       (jump)   -> 22
  0037  GETTABUP  R5 = _ENV[K13('string')]
  0038  GETTABLE  R5 = R5[K14('sub')]
  0039  MOVE      R6 = R0
  0040  ADD       R7 = K10(1) add R4
  0041  CALL      R5 = call(R5, 1 args, 2 rets)
  0042  MOVE      R6 = R0
  0043  MOVE      R7 = R0
  0044  LOADK     R8 = K16 '_token'
  0045  CONCAT    R6 = concat(R6..R6)
  0046  SETTABLE  R0[K15('m_tokenType')] = R6
  0047  RETURN    return R0..R-1
; ---------- proto14 [_LoadOtherServerConfig] ----------
  ; fn ?  line 124-195 np=2 va=0 ms=19 code=125 consts=43 upvals=1 protos=1
  ;   K[0]='extraBoardConfig'
  ;   K[1]=1
  ;   K[2]='m_itemPrefix'
  ;   K[3]='itemPrefix'
  ;   K[4]='m_maxLevel'
  ;   K[5]='maxLevel'
  ;   K[6]='m_boardName'
  ;   K[7]='board'
  ;   K[8]='m_fogName'
  ;   K[9]='fog'
  ;   K[10]='m_strPaperBoxExtraRewardKey'
  ;   K[11]='extraReward'
  ;   K[12]='m_tokenHelper'
  ;   K[13]=nil
  ;   K[14]='LoadConfig'
  ;   K[15]='m_bookConfig'
  ;   K[16]='extraboard_guidebook'
  ;   K[17]='m_config'
  ;   K[18]='arrMergeLine'
  ;   K[19]='GetMainLineItemCode'
  ;   K[20]='GameConfig'
  ;   K[21]='IsTestMode'
  ;   K[22]='string'
  ;   K[23]='sub'
  ;   K[24]='CommonItemPrefix'
  ;   K[25]=-2
  ;   K[26]='^'
  ;   K[27]='(%d+)'
  ;   K[28]='tonumber'
  ;   K[29]='match'
  ;   K[30]='GetRareItemChainId'
  ;   K[31]='GM'
  ;   K[32]='ItemDataModel'
  ;   K[33]='GetChainMaxLevel'
  ;   K[34]=nil
  ;   K[35]='Log'
  ;   K[36]='Error'
  ;   K[37]='后台配置的前缀不存在对应的棋子配置, 请检查, 棋子前缀: '
  ;   K[38]='nil'
  ;   K[39]='; 活动id: '
  ;   K[40]='id'
  ;   K[41]='ItemUtility'
  ;   K[42]='GetItemType'
  ;   upvals: _ENV
  ;   locals: self(0-125), config(0-125), serverConfig(8-125), itemType(31-125), (for index)(34-44), (for limit)(34-44), (for step)(34-44), i(35-43), prefix(55-124), matchStr(59-124), num(66-124), checkPrefix(69-124), checkImgFunc(70-124), itemCode(71-124), (for index)(74-84), (for limit)(74-84), (for step)(74-84), i(75-83), rareChainId(86-124), maxLevel(91-124), (for index)(112-123), (for limit)(112-123), (for step)(112-123), i(113-122)
  0000  GETTABLE  R2 = R1[K0('extraBoardConfig')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R1[K0('extraBoardConfig')]
  0004  GETTABLE  R2 = R2[K1(1)]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  NEWTABLE  R2 = {} (0 items)
  0008  GETTABLE  R3 = R2[K3('itemPrefix')]
  0009  SETTABLE  R0[K2('m_itemPrefix')] = R3
  0010  GETTABLE  R3 = R2[K5('maxLevel')]
  0011  SETTABLE  R0[K4('m_maxLevel')] = R3
  0012  GETTABLE  R3 = R2[K7('board')]
  0013  SETTABLE  R0[K6('m_boardName')] = R3
  0014  GETTABLE  R3 = R2[K9('fog')]
  0015  SETTABLE  R0[K8('m_fogName')] = R3
  0016  GETTABLE  R3 = R2[K11('extraReward')]
  0017  SETTABLE  R0[K10('m_strPaperBoxExtraRewardKey')] = R3
  0018  GETTABLE  R3 = R0[K12('m_tokenHelper')]
  0019  EQ        if R1 eq K13(nil)   -> -129246
  0020  JMP       (jump)   -> 25
  0021  GETTABLE  R3 = R0[K12('m_tokenHelper')]
  0022  SELF      R4 = R3[K14('LoadConfig')] (self)
  0023  MOVE      R5 = R0
  0024  CALL      R3 = call(R3, 0 args, 2 rets)
  0025  GETTABLE  R3 = R1[K16('extraboard_guidebook')]
  0026  SETTABLE  R0[K15('m_bookConfig')] = R3
  0027  GETTABLE  R3 = R0[K17('m_config')]
  0028  NEWTABLE  R4 = {} (0 items)
  0029  SETTABLE  R3[K18('arrMergeLine')] = R4
  0030  LOADNIL   R3..R3 = nil
  0031  LOADK     R4 = K1 1
  0032  GETTABLE  R5 = R0[K4('m_maxLevel')]
  0033  LOADK     R6 = K1 1
  0034  FORPREP   forprep R4(sBx=8)   -> 43
  0035  SELF      R9 = R0[K19('GetMainLineItemCode')] (self)
  0036  GETTABLE  R10 = R0[K2('m_itemPrefix')]
  0037  MOVE      R11 = R0
  0038  CALL      R8 = call(R8, 1 args, 3 rets)
  0039  MOVE      R3 = R0
  0040  GETTABLE  R8 = R0[K17('m_config')]
  0041  GETTABLE  R8 = R8[K18('arrMergeLine')]
  0042  SETTABLE  R8[R7] = R3
  0043  FORLOOP   forloop R4(sBx=-9)   -> 35
  0044  GETTABUP  R4 = _ENV[K20('GameConfig')]
  0045  GETTABLE  R4 = R4[K21('IsTestMode')]
  0046  CALL      R4 = call(R4, 1 args, 0 rets)
  0047  TEST      if not R4 then   -> -131023
  0048  JMP       (jump)   -> 124
  0049  GETTABUP  R4 = _ENV[K22('string')]
  0050  GETTABLE  R4 = R4[K23('sub')]
  0051  GETTABLE  R5 = R0[K24('CommonItemPrefix')]
  0052  LOADK     R6 = K1 1
  0053  LOADK     R7 = K25 -2
  0054  CALL      R4 = call(R4, 1 args, 3 rets)
  0055  LOADK     R5 = K26 '^'
  0056  MOVE      R6 = R0
  0057  LOADK     R7 = K27 '(%d+)'
  0058  CONCAT    R5 = concat(R5..R5)
  0059  GETTABUP  R6 = _ENV[K28('tonumber')]
  0060  GETTABUP  R7 = _ENV[K22('string')]
  0061  GETTABLE  R7 = R7[K29('match')]
  0062  GETTABLE  R8 = R0[K2('m_itemPrefix')]
  0063  MOVE      R9 = R0
  0064  CALL      R7 = call(R7, -1 args, 2 rets)
  0065  CALL      R6 = call(R6, 1 args, -1 rets)
  0066  MOVE      R7 = R0
  0067  MOVE      R8 = R0
  0068  CONCAT    R7 = concat(R7..R7)
  0069  CLOSURE   R8 = closure proto0
  0070  LOADNIL   R9..R9 = nil
  0071  LOADK     R10 = K1 1
  0072  GETTABLE  R11 = R0[K4('m_maxLevel')]
  0073  LOADK     R12 = K1 1
  0074  FORPREP   forprep R10(sBx=8)   -> 83
  0075  SELF      R15 = R0[K19('GetMainLineItemCode')] (self)
  0076  GETTABLE  R16 = R0[K2('m_itemPrefix')]
  0077  MOVE      R17 = R0
  0078  CALL      R14 = call(R14, 1 args, 3 rets)
  0079  MOVE      R9 = R0
  0080  MOVE      R14 = R0
  0081  MOVE      R15 = R0
  0082  CALL      R14 = call(R14, 0 args, 1 rets)
  0083  FORLOOP   forloop R10(sBx=-9)   -> 75
  0084  SELF      R11 = R0[K30('GetRareItemChainId')] (self)
  0085  CALL      R10 = call(R10, 1 args, 1 rets)
  0086  GETTABUP  R11 = _ENV[K31('GM')]
  0087  GETTABLE  R11 = R11[K32('ItemDataModel')]
  0088  SELF      R12 = R11[K33('GetChainMaxLevel')] (self)
  0089  MOVE      R13 = R0
  0090  CALL      R11 = call(R11, 1 args, 2 rets)
  0091  EQ        if R0 eq K34(nil)   -> -125057
  0092  JMP       (jump)   -> 109
  0093  GETTABUP  R12 = _ENV[K35('Log')]
  0094  GETTABLE  R12 = R12[K36('Error')]
  0095  LOADK     R13 = K37 '后台配置的前缀不存在对应的棋子配置, 请检查, 棋子前缀: '
  0096  TESTSET   if R1 then R14   -> -125853
  0097  JMP       (jump)   -> 99
  0098  LOADK     R14 = K38 'nil'
  0099  LOADK     R15 = K39 '; 活动id: '
  0100  TEST      if not R1 then   -> -130970
  0101  JMP       (jump)   -> 105
  0102  GETTABLE  R16 = R1[K40('id')]
  0103  TEST      if not R16 then   -> -130966
  0104  JMP       (jump)   -> 106
  0105  LOADK     R16 = K38 'nil'
  0106  CONCAT    R13 = concat(R13..R13)
  0107  CALL      R12 = call(R12, 0 args, 1 rets)
  0108  RETURN    return R0..R-1
  0109  LOADK     R12 = K1 1
  0110  MOVE      R13 = R0
  0111  LOADK     R14 = K1 1
  0112  FORPREP   forprep R12(sBx=9)   -> 122
  0113  GETTABUP  R16 = _ENV[K41('ItemUtility')]
  0114  GETTABLE  R16 = R16[K42('GetItemType')]
  0115  MOVE      R17 = R0
  0116  MOVE      R18 = R0
  0117  CALL      R16 = call(R16, 1 args, 2 rets)
  0118  MOVE      R9 = R0
  0119  MOVE      R16 = R0
  0120  MOVE      R17 = R0
  0121  CALL      R16 = call(R16, 0 args, 1 rets)
  0122  FORLOOP   forloop R12(sBx=-10)   -> 113
  0123  JMP       (jump)   -> 124
  0124  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 166-175 np=1 va=0 ms=5 code=34 consts=11 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='ItemDataModel'
    ;   K[2]='GetModelConfig'
    ;   K[3]=nil
    ;   K[4]='Log'
    ;   K[5]='Error'
    ;   K[6]='棋子配置不存在, 请检查: '
    ;   K[7]='GetSpriteName'
    ;   K[8]='StringUtil'
    ;   K[9]='StartWith'
    ;   K[10]='棋子名称和棋子图片的前缀不一致, 可能未将资源放进Bundle内, 请检查:'
    ;   upvals: _ENV, checkPrefix
    ;   locals: itemCode(0-34), imgName(20-34)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('ItemDataModel')]
    0002  SELF      R2 = R1[K2('GetModelConfig')] (self)
    0003  MOVE      R3 = R0
    0004  LOADBOOL  R4 = true
    0005  CALL      R1 = call(R1, 1 args, 3 rets)
    0006  EQ        if R0 eq K3(nil)   -> -130293
    0007  JMP       (jump)   -> 15
    0008  GETTABUP  R1 = _ENV[K4('Log')]
    0009  GETTABLE  R1 = R1[K5('Error')]
    0010  LOADK     R2 = K6 '棋子配置不存在, 请检查: '
    0011  MOVE      R3 = R0
    0012  CONCAT    R2 = concat(R2..R2)
    0013  CALL      R1 = call(R1, 0 args, 1 rets)
    0014  RETURN    return R0..R-1
    0015  GETTABUP  R1 = _ENV[K0('GM')]
    0016  GETTABLE  R1 = R1[K1('ItemDataModel')]
    0017  SELF      R2 = R1[K7('GetSpriteName')] (self)
    0018  MOVE      R3 = R0
    0019  CALL      R1 = call(R1, 1 args, 2 rets)
    0020  GETTABUP  R2 = _ENV[K8('StringUtil')]
    0021  GETTABLE  R2 = R2[K9('StartWith')]
    0022  MOVE      R3 = R0
    0023  GETUPVAL  R4 = _ENV
    0024  CALL      R2 = call(R2, 1 args, 2 rets)
    0025  TEST      if not R2 then   -> -131044
    0026  JMP       (jump)   -> 33
    0027  GETTABUP  R2 = _ENV[K4('Log')]
    0028  GETTABLE  R2 = R2[K5('Error')]
    0029  LOADK     R3 = K10 '棋子名称和棋子图片的前缀不一致, 可能未将资源放进Bundle内, 请检查:'
    0030  MOVE      R4 = R0
    0031  CONCAT    R3 = concat(R3..R3)
    0032  CALL      R2 = call(R2, 0 args, 1 rets)
    0033  RETURN    return R0..R-1
; ---------- proto15 [GetAllUIBoardActivityDefinition] ----------
  ; fn ?  line 199-211 np=0 va=0 ms=6 code=22 consts=4 upvals=2 protos=0
  ;   K[0]=nil
  ;   K[1]='pairs'
  ;   K[2]='ExtraBoardActivityDefinition'
  ;   K[3]='AdventureBoardDefinition'
  ;   upvals: AllUIBoardActivityDefinition, _ENV
  ;   locals: (for generator)(8-12), (for state)(8-12), (for control)(8-12), k(9-10), v(9-10), (for generator)(15-19), (for state)(15-19), (for control)(15-19), k(16-17), v(16-17)
  0000  GETUPVAL  R0 = AllUIBoardActivityDefinition
  0001  EQ        if R0 eq K0(nil)   -> -130813
  0002  JMP       (jump)   -> 19
  0003  NEWTABLE  R0 = {} (0 items)
  0004  SETUPVAL  AllUIBoardActivityDefinition = R0
  0005  GETTABUP  R0 = _ENV[K1('pairs')]
  0006  GETTABUP  R1 = _ENV[K2('ExtraBoardActivityDefinition')]
  0007  CALL      R0 = call(R0, 3 args, 1 rets)
  0008  JMP       (jump)   -> 10
  0009  SETTABUP  AllUIBoardActivityDefinition[R3] = R4
  0010  TFORCALL  tforcall R0
  0011  TFORLOOP  tforloop R2(sBx=-3)   -> 9
  0012  GETTABUP  R0 = _ENV[K1('pairs')]
  0013  GETTABUP  R1 = _ENV[K3('AdventureBoardDefinition')]
  0014  CALL      R0 = call(R0, 3 args, 1 rets)
  0015  JMP       (jump)   -> 17
  0016  SETTABUP  AllUIBoardActivityDefinition[R3] = R4
  0017  TFORCALL  tforcall R0
  0018  TFORLOOP  tforloop R2(sBx=-3)   -> 16
  0019  GETUPVAL  R0 = AllUIBoardActivityDefinition
  0020  RETURN    return R0..R-1
  0021  RETURN    return R0..R-1
; ---------- proto16 [GetActiveModel] ----------
  ; fn ?  line 214-219 np=1 va=0 ms=4 code=12 consts=5 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='ActivityManager'
  ;   K[2]='GetOneActiveModel'
  ;   K[3]='UIBoardActivityModel'
  ;   K[4]='GetAllUIBoardActivityDefinition'
  ;   upvals: _ENV
  ;   locals: bCheckResource(0-12)
  0000  EQ        if R0 eq K0(nil)   -> -130814
  0001  JMP       (jump)   -> 3
  0002  LOADBOOL  R0 = true
  0003  GETTABUP  R1 = _ENV[K1('ActivityManager')]
  0004  GETTABLE  R1 = R1[K2('GetOneActiveModel')]
  0005  GETTABUP  R2 = _ENV[K3('UIBoardActivityModel')]
  0006  GETTABLE  R2 = R2[K4('GetAllUIBoardActivityDefinition')]
  0007  CALL      R2 = call(R2, 1 args, 0 rets)
  0008  MOVE      R3 = R0
  0009  TAILCALL  tailcall(R1, 0)
  0010  RETURN    return R1..R0
  0011  RETURN    return R0..R-1
; ---------- proto17 [CanAddScore] ----------
  ; fn ?  line 221-223 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
; ---------- proto18 [GetActivityDBTable] ----------
  ; fn ?  line 226-228 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_dbTable'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_dbTable')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto19 [_LoadActivityBoardModel] ----------
  ; fn ?  line 231-249 np=1 va=0 ms=8 code=30 consts=24 upvals=0 protos=0
  ;   K[0]='GetInitBoardInfo'
  ;   K[1]='itemDataTable'
  ;   K[2]='m_itemDataTable'
  ;   K[3]='itemLayerDataTable'
  ;   K[4]='m_itemLayerDataTable'
  ;   K[5]='itemCacheDataTable'
  ;   K[6]='m_itemCacheDataTable'
  ;   K[7]='boardDataTable'
  ;   K[8]='m_boardDataTable'
  ;   K[9]='activityDataTable'
  ;   K[10]='m_dbTable'
  ;   K[11]='initCodeMap'
  ;   K[12]='width'
  ;   K[13]='height'
  ;   K[14]='activityType'
  ;   K[15]='GetType'
  ;   K[16]='itemBookConfig'
  ;   K[17]='m_bookConfig'
  ;   K[18]='fogConfig'
  ;   K[19]='paperBoxExtraRewardKey'
  ;   K[20]='m_strPaperBoxExtraRewardKey'
  ;   K[21]='m_boardModel'
  ;   K[22]='BoardModelClass'
  ;   K[23]='Create'
  ;   locals: self(0-30), horizontalTiles(2-30), verticalTiles(2-30), initCodeMap(2-30), fogConfig(2-30), initArgs(24-30)
  0000  SELF      R2 = R0[K0('GetInitBoardInfo')] (self)
  0001  CALL      R1 = call(R1, 4 args, 1 rets)
  0002  NEWTABLE  R5 = {} (0 items)
  0003  GETTABLE  R6 = R0[K2('m_itemDataTable')]
  0004  SETTABLE  R5[K1('itemDataTable')] = R6
  0005  GETTABLE  R6 = R0[K4('m_itemLayerDataTable')]
  0006  SETTABLE  R5[K3('itemLayerDataTable')] = R6
  0007  GETTABLE  R6 = R0[K6('m_itemCacheDataTable')]
  0008  SETTABLE  R5[K5('itemCacheDataTable')] = R6
  0009  GETTABLE  R6 = R0[K8('m_boardDataTable')]
  0010  SETTABLE  R5[K7('boardDataTable')] = R6
  0011  GETTABLE  R6 = R0[K10('m_dbTable')]
  0012  SETTABLE  R5[K9('activityDataTable')] = R6
  0013  SETTABLE  R5[K11('initCodeMap')] = R3
  0014  SETTABLE  R5[K12('width')] = R1
  0015  SETTABLE  R5[K13('height')] = R2
  0016  SELF      R7 = R0[K15('GetType')] (self)
  0017  CALL      R6 = call(R6, 1 args, 1 rets)
  0018  SETTABLE  R5[K14('activityType')] = R6
  0019  GETTABLE  R6 = R0[K17('m_bookConfig')]
  0020  SETTABLE  R5[K16('itemBookConfig')] = R6
  0021  SETTABLE  R5[K18('fogConfig')] = R4
  0022  GETTABLE  R6 = R0[K20('m_strPaperBoxExtraRewardKey')]
  0023  SETTABLE  R5[K19('paperBoxExtraRewardKey')] = R6
  0024  GETTABLE  R6 = R0[K22('BoardModelClass')]
  0025  GETTABLE  R6 = R6[K23('Create')]
  0026  MOVE      R7 = R0
  0027  CALL      R6 = call(R6, 1 args, 1 rets)
  0028  SETTABLE  R0[K21('m_boardModel')] = R6
  0029  RETURN    return R0..R-1
; ---------- proto20 [GetBoardModel] ----------
  ; fn ?  line 251-253 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_boardModel'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_boardModel')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto21 [GetInitCodeMap] ----------
  ; fn ?  line 259-295 np=1 va=0 ms=21 code=88 consts=20 upvals=1 protos=0
  ;   K[0]='m_boardName'
  ;   K[1]='require'
  ;   K[2]='BoardConfigName'
  ;   K[3]='StringUtil'
  ;   K[4]='IsNilOrEmpty'
  ;   K[5]='FogConfigName'
  ;   K[6]='m_fogName'
  ;   K[7]='Table'
  ;   K[8]='IsEmpty'
  ;   K[9]='Log'
  ;   K[10]='Error'
  ;   K[11]='棋盘名称不存在， 请检查:'
  ;   K[12]='nil'
  ;   K[13]=6
  ;   K[14]=8
  ;   K[15]=1
  ;   K[16]='DeepCopy'
  ;   K[17]='pairs'
  ;   K[18]='GetReplacedUIBoardItem'
  ;   K[19]='unlock'
  ;   upvals: _ENV
  ;   locals: self(0-88), boardName(1-88), fileConfig(4-88), codeMap(5-88), fogConfig(6-88), mapFogConfig(15-17), verticalTiles(37-88), horizontalTiles(39-88), (for generator)(52-66), (for state)(52-66), (for control)(52-66), y(53-64), line(53-64), (for generator)(56-64), (for state)(56-64), (for control)(56-64), x(57-62), code(57-62), (for generator)(75-82), (for state)(75-82), (for control)(75-82), y(76-80), line(76-80)
  0000  GETTABLE  R1 = R0[K0('m_boardName')]
  0001  GETTABUP  R2 = _ENV[K1('require')]
  0002  GETTABLE  R3 = R0[K2('BoardConfigName')]
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  GETTABLE  R3 = R2[R1]
  0005  LOADNIL   R4..R4 = nil
  0006  GETTABUP  R5 = _ENV[K3('StringUtil')]
  0007  GETTABLE  R5 = R5[K4('IsNilOrEmpty')]
  0008  GETTABLE  R6 = R0[K5('FogConfigName')]
  0009  CALL      R5 = call(R5, 1 args, 1 rets)
  0010  TEST      if not R5 then   -> -131059
  0011  JMP       (jump)   -> 17
  0012  GETTABUP  R5 = _ENV[K1('require')]
  0013  GETTABLE  R6 = R0[K5('FogConfigName')]
  0014  CALL      R5 = call(R5, 1 args, 1 rets)
  0015  GETTABLE  R6 = R0[K6('m_fogName')]
  0016  GETTABLE  R4 = R5[R6]
  0017  GETTABUP  R5 = _ENV[K7('Table')]
  0018  GETTABLE  R5 = R5[K8('IsEmpty')]
  0019  MOVE      R6 = R0
  0020  CALL      R5 = call(R5, 1 args, 1 rets)
  0021  TEST      if not R5 then   -> -131049
  0022  JMP       (jump)   -> 36
  0023  GETTABUP  R5 = _ENV[K9('Log')]
  0024  GETTABLE  R5 = R5[K10('Error')]
  0025  LOADK     R6 = K11 '棋盘名称不存在， 请检查:'
  0026  TESTSET   if R1 then R7   -> -130531
  0027  JMP       (jump)   -> 29
  0028  LOADK     R7 = K12 'nil'
  0029  CONCAT    R6 = concat(R6..R6)
  0030  CALL      R5 = call(R5, 0 args, 1 rets)
  0031  LOADK     R5 = K13 6
  0032  LOADK     R6 = K14 8
  0033  NEWTABLE  R7 = {} (0 items)
  0034  MOVE      R8 = R0
  0035  RETURN    return R5..R4
  0036  LEN       R5 = len R0
  0037  GETTABLE  R6 = R3[K15(1)]
  0038  LEN       R6 = len R0
  0039  GETTABUP  R7 = _ENV[K7('Table')]
  0040  GETTABLE  R7 = R7[K16('DeepCopy')]
  0041  MOVE      R8 = R0
  0042  CALL      R7 = call(R7, 1 args, 1 rets)
  0043  MOVE      R3 = R0
  0044  GETTABUP  R7 = _ENV[K7('Table')]
  0045  GETTABLE  R7 = R7[K16('DeepCopy')]
  0046  MOVE      R8 = R0
  0047  CALL      R7 = call(R7, 1 args, 1 rets)
  0048  MOVE      R4 = R0
  0049  GETTABUP  R7 = _ENV[K17('pairs')]
  0050  MOVE      R8 = R0
  0051  CALL      R7 = call(R7, 3 args, 1 rets)
  0052  JMP       (jump)   -> 64
  0053  GETTABUP  R12 = _ENV[K17('pairs')]
  0054  MOVE      R13 = R0
  0055  CALL      R12 = call(R12, 3 args, 1 rets)
  0056  JMP       (jump)   -> 62
  0057  GETTABLE  R17 = R3[R10]
  0058  SELF      R19 = R0[K18('GetReplacedUIBoardItem')] (self)
  0059  MOVE      R20 = R0
  0060  CALL      R18 = call(R18, 1 args, 2 rets)
  0061  SETTABLE  R17[R15] = R18
  0062  TFORCALL  tforcall R12
  0063  TFORLOOP  tforloop R14(sBx=-7)   -> 57
  0064  TFORCALL  tforcall R7
  0065  TFORLOOP  tforloop R9(sBx=-13)   -> 53
  0066  GETTABUP  R7 = _ENV[K7('Table')]
  0067  GETTABLE  R7 = R7[K8('IsEmpty')]
  0068  MOVE      R8 = R0
  0069  CALL      R7 = call(R7, 1 args, 1 rets)
  0070  TEST      if not R7 then   -> -130999
  0071  JMP       (jump)   -> 82
  0072  GETTABUP  R7 = _ENV[K17('pairs')]
  0073  MOVE      R8 = R0
  0074  CALL      R7 = call(R7, 3 args, 1 rets)
  0075  JMP       (jump)   -> 80
  0076  SELF      R13 = R0[K18('GetReplacedUIBoardItem')] (self)
  0077  GETTABLE  R14 = R11[K19('unlock')]
  0078  CALL      R12 = call(R12, 1 args, 2 rets)
  0079  SETTABLE  R11[K19('unlock')] = R12
  0080  TFORCALL  tforcall R7
  0081  TFORLOOP  tforloop R9(sBx=-6)   -> 76
  0082  MOVE      R7 = R0
  0083  MOVE      R8 = R0
  0084  MOVE      R9 = R0
  0085  MOVE      R10 = R0
  0086  RETURN    return R7..R6
  0087  RETURN    return R0..R-1
; ---------- proto22 [GetInitBoardInfo] ----------
  ; fn ?  line 301-307 np=1 va=0 ms=9 code=19 consts=4 upvals=0 protos=0
  ;   K[0]='GetInitCodeMap'
  ;   K[1]='FixedHorizontalTiles'
  ;   K[2]=0
  ;   K[3]='FixedVerticalTiles'
  ;   locals: self(0-19), horizontalTiles(2-19), verticalTiles(2-19), initCodeMap(2-19), fogConfig(2-19)
  0000  SELF      R2 = R0[K0('GetInitCodeMap')] (self)
  0001  CALL      R1 = call(R1, 4 args, 1 rets)
  0002  GETTABLE  R5 = R0[K1('FixedHorizontalTiles')]
  0003  LT        if R0 lt R5   -> 1034
  0004  JMP       (jump)   -> 13
  0005  GETTABLE  R5 = R0[K3('FixedVerticalTiles')]
  0006  LT        if R0 lt R5   -> 1037
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R5 = R0[K1('FixedHorizontalTiles')]
  0009  GETTABLE  R6 = R0[K3('FixedVerticalTiles')]
  0010  MOVE      R7 = R0
  0011  MOVE      R8 = R0
  0012  RETURN    return R5..R4
  0013  MOVE      R5 = R0
  0014  MOVE      R6 = R0
  0015  MOVE      R7 = R0
  0016  MOVE      R8 = R0
  0017  RETURN    return R5..R4
  0018  RETURN    return R0..R-1
; ---------- proto23 [GetEndRewards] ----------
  ; fn ?  line 310-315 np=1 va=0 ms=3 code=10 consts=3 upvals=0 protos=0
  ;   K[0]='m_boardModel'
  ;   K[1]=nil
  ;   K[2]='GetAllCollectRewardsInBoard'
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_boardModel')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  NEWTABLE  R1 = {} (0 items)
  0004  RETURN    return R1..R0
  0005  GETTABLE  R1 = R0[K0('m_boardModel')]
  0006  SELF      R2 = R1[K2('GetAllCollectRewardsInBoard')] (self)
  0007  TAILCALL  tailcall(R1, 0)
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto24 [GetMergeLength] ----------
  ; fn ?  line 320-322 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_maxLevel'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_maxLevel')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto25 [GetItemTypeByIndex] ----------
  ; fn ?  line 324-326 np=2 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_config'
  ;   K[1]='arrMergeLine'
  ;   locals: self(0-5), index(0-5)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  GETTABLE  R2 = R2[K1('arrMergeLine')]
  0002  GETTABLE  R2 = R2[R1]
  0003  RETURN    return R2..R1
  0004  RETURN    return R0..R-1
; ---------- proto26 [GetLevelByItemCode] ----------
  ; fn ?  line 328-340 np=2 va=0 ms=8 code=29 consts=7 upvals=1 protos=0
  ;   K[0]='m_config'
  ;   K[1]='Table'
  ;   K[2]='IsEmpty'
  ;   K[3]='arrMergeLine'
  ;   K[4]=0
  ;   K[5]='GetReplacedUIBoardItem'
  ;   K[6]='ipairs'
  ;   upvals: _ENV
  ;   locals: self(0-29), itemCode(0-29), (for generator)(20-26), (for state)(20-26), (for control)(20-26), i(21-24), v(21-24)
  0000  GETTABLE  R2 = R0[K0('m_config')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 10
  0003  GETTABUP  R2 = _ENV[K1('Table')]
  0004  GETTABLE  R2 = R2[K2('IsEmpty')]
  0005  GETTABLE  R3 = R0[K0('m_config')]
  0006  GETTABLE  R3 = R3[K3('arrMergeLine')]
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  LOADK     R2 = K4 0
  0011  RETURN    return R2..R1
  0012  SELF      R3 = R0[K5('GetReplacedUIBoardItem')] (self)
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 1 args, 2 rets)
  0015  MOVE      R1 = R0
  0016  GETTABUP  R2 = _ENV[K6('ipairs')]
  0017  GETTABLE  R3 = R0[K0('m_config')]
  0018  GETTABLE  R3 = R3[K3('arrMergeLine')]
  0019  CALL      R2 = call(R2, 3 args, 1 rets)
  0020  JMP       (jump)   -> 24
  0021  EQ        if R0 eq R1   -> -127976
  0022  JMP       (jump)   -> 24
  0023  RETURN    return R5..R4
  0024  TFORCALL  tforcall R2
  0025  TFORLOOP  tforloop R4(sBx=-5)   -> 21
  0026  LOADK     R2 = K4 0
  0027  RETURN    return R2..R1
  0028  RETURN    return R0..R-1
; ---------- proto27 [GetItemCodeByLevel] ----------
  ; fn ?  line 342-347 np=2 va=0 ms=4 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_config'
  ;   K[3]='arrMergeLine'
  ;   upvals: _ENV
  ;   locals: self(0-13), lvl(0-13)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  GETTABLE  R3 = R0[K2('m_config')]
  0003  GETTABLE  R3 = R3[K3('arrMergeLine')]
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  TEST      if not R2 then   -> -131065
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  GETTABLE  R2 = R0[K2('m_config')]
  0009  GETTABLE  R2 = R2[K3('arrMergeLine')]
  0010  GETTABLE  R2 = R2[R1]
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto28 [IsSelfItem] ----------
  ; fn ?  line 350-353 np=2 va=0 ms=5 code=17 consts=5 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='StartWith'
  ;   K[2]='m_itemPrefix'
  ;   K[3]='IsCommonItem'
  ;   K[4]='IsSelfToken'
  ;   upvals: _ENV
  ;   locals: self(0-17), type(0-17)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('StartWith')]
  0002  MOVE      R3 = R0
  0003  GETTABLE  R4 = R0[K2('m_itemPrefix')]
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 15
  0007  SELF      R3 = R0[K3('IsCommonItem')] (self)
  0008  MOVE      R4 = R0
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  TEST      if not R2 then   -> -131059
  0011  JMP       (jump)   -> 15
  0012  SELF      R3 = R0[K4('IsSelfToken')] (self)
  0013  MOVE      R4 = R0
  0014  CALL      R2 = call(R2, 1 args, 2 rets)
  0015  RETURN    return R2..R1
  0016  RETURN    return R0..R-1
; ---------- proto29 [GetTokenPropertyType] ----------
  ; fn ?  line 356-361 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_tokenType'
  ;   K[1]=nil
  ;   K[2]='_MakeTokenType'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_tokenType')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  SELF      R2 = R0[K2('_MakeTokenType')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABLE  R1 = R0[K0('m_tokenType')]
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto30 [IsSelfToken] ----------
  ; fn ?  line 364-366 np=2 va=0 ms=5 code=12 consts=2 upvals=0 protos=0
  ;   K[0]='GetTokenPropertyType'
  ;   K[1]='IsCommonToken'
  ;   locals: self(0-12), type(0-12)
  0000  SELF      R3 = R0[K0('GetTokenPropertyType')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  EQ        if R1 eq R2   -> -130554
  0003  JMP       (jump)   -> 9
  0004  SELF      R3 = R0[K1('IsCommonToken')] (self)
  0005  MOVE      R4 = R0
  0006  CALL      R2 = call(R2, 1 args, 2 rets)
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R2 = false
  0009  LOADBOOL  R2 = true
  0010  RETURN    return R2..R1
  0011  RETURN    return R0..R-1
; ---------- proto31 [IsCommonToken] ----------
  ; fn ?  line 369-371 np=2 va=0 ms=3 code=7 consts=1 upvals=0 protos=0
  ;   K[0]='CommonTokenType'
  ;   locals: self(0-7), type(0-7)
  0000  GETTABLE  R2 = R0[K0('CommonTokenType')]
  0001  EQ        if R1 eq R2   -> -130555
  0002  JMP       (jump)   -> 4
  0003  LOADBOOL  R2 = false
  0004  LOADBOOL  R2 = true
  0005  RETURN    return R2..R1
  0006  RETURN    return R0..R-1
; ---------- proto32 [IsCommonItem] ----------
  ; fn ?  line 374-376 np=2 va=0 ms=5 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='StartWith'
  ;   K[2]='CommonItemPrefix'
  ;   K[3]='ebcommon_1_1'
  ;   upvals: _ENV
  ;   locals: self(0-13), type(0-13)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('StartWith')]
  0002  MOVE      R3 = R0
  0003  GETTABLE  R4 = R0[K2('CommonItemPrefix')]
  0004  CALL      R2 = call(R2, 1 args, 2 rets)
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 11
  0007  EQ        if R1 eq K3('ebcommon_1_1')   -> -130292
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R2 = false
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  RETURN    return R0..R-1
; ---------- proto33 [IsMainLineItem] ----------
  ; fn ?  line 379-385 np=2 va=0 ms=6 code=30 consts=8 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='IsNilOrEmpty'
  ;   K[2]='GM'
  ;   K[3]='ItemDataModel'
  ;   K[4]='GetModelConfig'
  ;   K[5]=nil
  ;   K[6]='GetChainLevel'
  ;   K[7]='GetItemCodeByLevel'
  ;   upvals: _ENV
  ;   locals: self(0-30), itemCode(0-30), level(21-30)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('IsNilOrEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 14
  0006  GETTABUP  R2 = _ENV[K2('GM')]
  0007  GETTABLE  R2 = R2[K3('ItemDataModel')]
  0008  SELF      R3 = R2[K4('GetModelConfig')] (self)
  0009  MOVE      R4 = R0
  0010  LOADBOOL  R5 = true
  0011  CALL      R2 = call(R2, 1 args, 3 rets)
  0012  EQ        if R0 eq K5(nil)   -> -129773
  0013  JMP       (jump)   -> 16
  0014  LOADBOOL  R2 = false
  0015  RETURN    return R2..R1
  0016  GETTABUP  R2 = _ENV[K2('GM')]
  0017  GETTABLE  R2 = R2[K3('ItemDataModel')]
  0018  SELF      R3 = R2[K6('GetChainLevel')] (self)
  0019  MOVE      R4 = R0
  0020  CALL      R2 = call(R2, 1 args, 2 rets)
  0021  SELF      R4 = R0[K7('GetItemCodeByLevel')] (self)
  0022  MOVE      R5 = R0
  0023  CALL      R3 = call(R3, 1 args, 2 rets)
  0024  EQ        if R1 eq R1   -> -129509
  0025  JMP       (jump)   -> 27
  0026  LOADBOOL  R3 = false
  0027  LOADBOOL  R3 = true
  0028  RETURN    return R3..R2
  0029  RETURN    return R0..R-1
; ---------- proto34 [GetReplacedUIBoardItem] ----------
  ; fn ?  line 387-389 np=2 va=0 ms=7 code=10 consts=5 upvals=1 protos=0
  ;   K[0]='StringUtil'
  ;   K[1]='Replace'
  ;   K[2]='CommonItemPrefix'
  ;   K[3]='m_itemPrefix'
  ;   K[4]='_'
  ;   upvals: _ENV
  ;   locals: self(0-10), type(0-10)
  0000  GETTABUP  R2 = _ENV[K0('StringUtil')]
  0001  GETTABLE  R2 = R2[K1('Replace')]
  0002  MOVE      R3 = R0
  0003  GETTABLE  R4 = R0[K2('CommonItemPrefix')]
  0004  GETTABLE  R5 = R0[K3('m_itemPrefix')]
  0005  LOADK     R6 = K4 '_'
  0006  CONCAT    R5 = concat(R5..R5)
  0007  TAILCALL  tailcall(R2, 0)
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto35 [GetReplacedUIBoardToken] ----------
  ; fn ?  line 391-393 np=1 va=0 ms=3 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='GetTokenPropertyType'
  ;   locals: self(0-4)
  0000  SELF      R2 = R0[K0('GetTokenPropertyType')] (self)
  0001  TAILCALL  tailcall(R1, 0)
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto36 [IsUIBoardActivityType] ----------
  ; fn ?  line 395-402 np=1 va=0 ms=7 code=15 consts=3 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   upvals: _ENV
  ;   locals: type(0-15), (for generator)(5-12), (for state)(5-12), (for control)(5-12), activityType(6-10), _(6-10)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('UIBoardActivityModel')]
  0002  GETTABLE  R2 = R2[K2('GetAllUIBoardActivityDefinition')]
  0003  CALL      R2 = call(R2, -1 args, 0 rets)
  0004  CALL      R1 = call(R1, 3 args, -1 rets)
  0005  JMP       (jump)   -> 10
  0006  EQ        if R0 eq R0   -> -129016
  0007  JMP       (jump)   -> 10
  0008  LOADBOOL  R6 = true
  0009  RETURN    return R6..R5
  0010  TFORCALL  tforcall R1
  0011  TFORLOOP  tforloop R3(sBx=-6)   -> 6
  0012  LOADBOOL  R1 = false
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
; ---------- proto37 [IsUIBoardActivityItem] ----------
  ; fn ?  line 405-413 np=1 va=0 ms=10 code=30 consts=10 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]='GetState'
  ;   K[7]='ActivityState'
  ;   K[8]='Started'
  ;   K[9]='IsSelfItem'
  ;   upvals: _ENV
  ;   locals: type(0-30), (for generator)(5-27), (for state)(5-27), (for control)(5-27), activityType(6-25), _(6-25), model(11-25)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('UIBoardActivityModel')]
  0002  GETTABLE  R2 = R2[K2('GetAllUIBoardActivityDefinition')]
  0003  CALL      R2 = call(R2, -1 args, 0 rets)
  0004  CALL      R1 = call(R1, 3 args, -1 rets)
  0005  JMP       (jump)   -> 25
  0006  GETTABUP  R6 = _ENV[K3('GM')]
  0007  GETTABLE  R6 = R6[K4('ActivityManager')]
  0008  SELF      R7 = R6[K5('GetModel')] (self)
  0009  MOVE      R8 = R0
  0010  CALL      R6 = call(R6, 1 args, 2 rets)
  0011  SELF      R8 = R6[K6('GetState')] (self)
  0012  CALL      R7 = call(R7, 1 args, 1 rets)
  0013  GETTABUP  R8 = _ENV[K7('ActivityState')]
  0014  GETTABLE  R8 = R8[K8('Started')]
  0015  EQ        if R0 eq R8   -> -127463
  0016  JMP       (jump)   -> 25
  0017  SELF      R8 = R6[K9('IsSelfItem')] (self)
  0018  MOVE      R9 = R0
  0019  CALL      R7 = call(R7, 1 args, 2 rets)
  0020  TEST      if not R7 then   -> -131050
  0021  JMP       (jump)   -> 25
  0022  LOADBOOL  R7 = true
  0023  MOVE      R8 = R0
  0024  RETURN    return R7..R6
  0025  TFORCALL  tforcall R1
  0026  TFORLOOP  tforloop R3(sBx=-21)   -> 6
  0027  LOADBOOL  R1 = false
  0028  RETURN    return R1..R0
  0029  RETURN    return R0..R-1
; ---------- proto38 [IsUIBoardActivityToken] ----------
  ; fn ?  line 416-424 np=1 va=0 ms=10 code=24 consts=7 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]='IsSelfToken'
  ;   upvals: _ENV
  ;   locals: type(0-24), (for generator)(5-21), (for state)(5-21), (for control)(5-21), activityType(6-19), _(6-19), model(11-19)
  0000  GETTABUP  R1 = _ENV[K0('pairs')]
  0001  GETTABUP  R2 = _ENV[K1('UIBoardActivityModel')]
  0002  GETTABLE  R2 = R2[K2('GetAllUIBoardActivityDefinition')]
  0003  CALL      R2 = call(R2, -1 args, 0 rets)
  0004  CALL      R1 = call(R1, 3 args, -1 rets)
  0005  JMP       (jump)   -> 19
  0006  GETTABUP  R6 = _ENV[K3('GM')]
  0007  GETTABLE  R6 = R6[K4('ActivityManager')]
  0008  SELF      R7 = R6[K5('GetModel')] (self)
  0009  MOVE      R8 = R0
  0010  CALL      R6 = call(R6, 1 args, 2 rets)
  0011  SELF      R8 = R6[K6('IsSelfToken')] (self)
  0012  MOVE      R9 = R0
  0013  CALL      R7 = call(R7, 1 args, 2 rets)
  0014  TEST      if not R7 then   -> -131056
  0015  JMP       (jump)   -> 19
  0016  LOADBOOL  R7 = true
  0017  MOVE      R8 = R0
  0018  RETURN    return R7..R6
  0019  TFORCALL  tforcall R1
  0020  TFORLOOP  tforloop R3(sBx=-15)   -> 6
  0021  LOADBOOL  R1 = false
  0022  RETURN    return R1..R0
  0023  RETURN    return R0..R-1
; ---------- proto39 [IsUIBoardCommonItem] ----------
  ; fn ?  line 426-437 np=1 va=0 ms=10 code=33 consts=11 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]=nil
  ;   K[7]='GetState'
  ;   K[8]='ActivityState'
  ;   K[9]='Started'
  ;   K[10]='IsCommonItem'
  ;   upvals: _ENV
  ;   locals: type(0-33), model(1-33), (for generator)(6-30), (for state)(6-30), (for control)(6-30), activityType(7-28), definition(7-28)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('UIBoardActivityModel')]
  0003  GETTABLE  R3 = R3[K2('GetAllUIBoardActivityDefinition')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R2 = call(R2, 3 args, -1 rets)
  0006  JMP       (jump)   -> 28
  0007  GETTABUP  R7 = _ENV[K3('GM')]
  0008  GETTABLE  R7 = R7[K4('ActivityManager')]
  0009  SELF      R8 = R7[K5('GetModel')] (self)
  0010  MOVE      R9 = R0
  0011  CALL      R7 = call(R7, 1 args, 2 rets)
  0012  MOVE      R1 = R0
  0013  EQ        if R1 eq K6(nil)   -> -130283
  0014  JMP       (jump)   -> 28
  0015  SELF      R8 = R1[K7('GetState')] (self)
  0016  CALL      R7 = call(R7, 1 args, 1 rets)
  0017  GETTABUP  R8 = _ENV[K8('ActivityState')]
  0018  GETTABLE  R8 = R8[K9('Started')]
  0019  EQ        if R0 eq R8   -> -127459
  0020  JMP       (jump)   -> 28
  0021  SELF      R8 = R1[K10('IsCommonItem')] (self)
  0022  MOVE      R9 = R0
  0023  CALL      R7 = call(R7, 1 args, 2 rets)
  0024  TEST      if not R7 then   -> -131046
  0025  JMP       (jump)   -> 28
  0026  LOADBOOL  R7 = true
  0027  RETURN    return R7..R6
  0028  TFORCALL  tforcall R2
  0029  TFORLOOP  tforloop R4(sBx=-23)   -> 7
  0030  LOADBOOL  R2 = false
  0031  RETURN    return R2..R1
  0032  RETURN    return R0..R-1
; ---------- proto40 [IsUIBoardCommonToken] ----------
  ; fn ?  line 439-458 np=2 va=0 ms=11 code=50 consts=15 upvals=1 protos=0
  ;   K[0]='ExtraBoardActivityModel'
  ;   K[1]='CommonTokenType'
  ;   K[2]='AdventureBoardActivityModel'
  ;   K[3]='pairs'
  ;   K[4]='UIBoardActivityModel'
  ;   K[5]='GetAllUIBoardActivityDefinition'
  ;   K[6]='GM'
  ;   K[7]='ActivityManager'
  ;   K[8]='GetModel'
  ;   K[9]=nil
  ;   K[10]='GetState'
  ;   K[11]='ActivityState'
  ;   K[12]='Started'
  ;   K[13]='IsTokenMode'
  ;   K[14]='IsCommonToken'
  ;   upvals: _ENV
  ;   locals: type(0-50), bStatic(0-50), model(14-50), (for generator)(19-47), (for state)(19-47), (for control)(19-47), activityType(20-45), definition(20-45)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 13
  0002  GETTABUP  R2 = _ENV[K0('ExtraBoardActivityModel')]
  0003  GETTABLE  R2 = R2[K1('CommonTokenType')]
  0004  EQ        if R1 eq R2   -> -131064
  0005  JMP       (jump)   -> 11
  0006  GETTABUP  R2 = _ENV[K2('AdventureBoardActivityModel')]
  0007  GETTABLE  R2 = R2[K1('CommonTokenType')]
  0008  EQ        if R1 eq R2   -> -131060
  0009  JMP       (jump)   -> 11
  0010  LOADBOOL  R2 = false
  0011  LOADBOOL  R2 = true
  0012  RETURN    return R2..R1
  0013  LOADNIL   R2..R2 = nil
  0014  GETTABUP  R3 = _ENV[K3('pairs')]
  0015  GETTABUP  R4 = _ENV[K4('UIBoardActivityModel')]
  0016  GETTABLE  R4 = R4[K5('GetAllUIBoardActivityDefinition')]
  0017  CALL      R4 = call(R4, -1 args, 0 rets)
  0018  CALL      R3 = call(R3, 3 args, -1 rets)
  0019  JMP       (jump)   -> 45
  0020  GETTABUP  R8 = _ENV[K6('GM')]
  0021  GETTABLE  R8 = R8[K7('ActivityManager')]
  0022  SELF      R9 = R8[K8('GetModel')] (self)
  0023  MOVE      R10 = R0
  0024  CALL      R8 = call(R8, 1 args, 2 rets)
  0025  MOVE      R2 = R0
  0026  EQ        if R1 eq K9(nil)   -> -129755
  0027  JMP       (jump)   -> 45
  0028  SELF      R9 = R2[K10('GetState')] (self)
  0029  CALL      R8 = call(R8, 1 args, 1 rets)
  0030  GETTABUP  R9 = _ENV[K11('ActivityState')]
  0031  GETTABLE  R9 = R9[K12('Started')]
  0032  EQ        if R0 eq R9   -> -126933
  0033  JMP       (jump)   -> 45
  0034  SELF      R9 = R2[K13('IsTokenMode')] (self)
  0035  CALL      R8 = call(R8, 1 args, 1 rets)
  0036  TEST      if not R8 then   -> -131034
  0037  JMP       (jump)   -> 45
  0038  SELF      R9 = R2[K14('IsCommonToken')] (self)
  0039  MOVE      R10 = R0
  0040  CALL      R8 = call(R8, 1 args, 2 rets)
  0041  TEST      if not R8 then   -> -131029
  0042  JMP       (jump)   -> 45
  0043  LOADBOOL  R8 = true
  0044  RETURN    return R8..R7
  0045  TFORCALL  tforcall R3
  0046  TFORLOOP  tforloop R5(sBx=-27)   -> 20
  0047  LOADBOOL  R3 = false
  0048  RETURN    return R3..R2
  0049  RETURN    return R0..R-1
; ---------- proto41 [IsUIBoardMainLineItem] ----------
  ; fn ?  line 460-467 np=1 va=0 ms=5 code=15 consts=4 upvals=1 protos=0
  ;   K[0]='UIBoardActivityModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]=nil
  ;   K[3]='IsMainLineItem'
  ;   upvals: _ENV
  ;   locals: type(0-15), activeModel(3-15)
  0000  GETTABUP  R1 = _ENV[K0('UIBoardActivityModel')]
  0001  GETTABLE  R1 = R1[K1('GetActiveModel')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  EQ        if R1 eq K2(nil)   -> -130297
  0004  JMP       (jump)   -> 12
  0005  SELF      R3 = R1[K3('IsMainLineItem')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 1 args, 2 rets)
  0008  TEST      if not R2 then   -> -131062
  0009  JMP       (jump)   -> 12
  0010  LOADBOOL  R2 = true
  0011  RETURN    return R2..R1
  0012  LOADBOOL  R2 = false
  0013  RETURN    return R2..R1
  0014  RETURN    return R0..R-1
; ---------- proto42 [GetRealBoardItemCode] ----------
  ; fn ?  line 469-478 np=1 va=0 ms=10 code=33 consts=12 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]=nil
  ;   K[7]='GetState'
  ;   K[8]='ActivityState'
  ;   K[9]='Started'
  ;   K[10]='IsCommonItem'
  ;   K[11]='GetReplacedUIBoardItem'
  ;   upvals: _ENV
  ;   locals: type(0-33), model(1-33), (for generator)(6-32), (for state)(6-32), (for control)(6-32), activityType(7-30), definition(7-30)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('UIBoardActivityModel')]
  0003  GETTABLE  R3 = R3[K2('GetAllUIBoardActivityDefinition')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R2 = call(R2, 3 args, -1 rets)
  0006  JMP       (jump)   -> 30
  0007  GETTABUP  R7 = _ENV[K3('GM')]
  0008  GETTABLE  R7 = R7[K4('ActivityManager')]
  0009  SELF      R8 = R7[K5('GetModel')] (self)
  0010  MOVE      R9 = R0
  0011  CALL      R7 = call(R7, 1 args, 2 rets)
  0012  MOVE      R1 = R0
  0013  EQ        if R1 eq K6(nil)   -> -130283
  0014  JMP       (jump)   -> 30
  0015  SELF      R8 = R1[K7('GetState')] (self)
  0016  CALL      R7 = call(R7, 1 args, 1 rets)
  0017  GETTABUP  R8 = _ENV[K8('ActivityState')]
  0018  GETTABLE  R8 = R8[K9('Started')]
  0019  EQ        if R0 eq R8   -> -127459
  0020  JMP       (jump)   -> 30
  0021  SELF      R8 = R1[K10('IsCommonItem')] (self)
  0022  MOVE      R9 = R0
  0023  CALL      R7 = call(R7, 1 args, 2 rets)
  0024  TEST      if not R7 then   -> -131046
  0025  JMP       (jump)   -> 30
  0026  SELF      R8 = R1[K11('GetReplacedUIBoardItem')] (self)
  0027  MOVE      R9 = R0
  0028  TAILCALL  tailcall(R7, 0)
  0029  RETURN    return R7..R6
  0030  TFORCALL  tforcall R2
  0031  TFORLOOP  tforloop R4(sBx=-25)   -> 7
  0032  RETURN    return R0..R-1
; ---------- proto43 [GetRealBoardToken] ----------
  ; fn ?  line 480-494 np=1 va=0 ms=10 code=38 consts=13 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='UIBoardActivityModel'
  ;   K[2]='GetAllUIBoardActivityDefinition'
  ;   K[3]='GM'
  ;   K[4]='ActivityManager'
  ;   K[5]='GetModel'
  ;   K[6]=nil
  ;   K[7]='GetState'
  ;   K[8]='ActivityState'
  ;   K[9]='Started'
  ;   K[10]='IsTokenMode'
  ;   K[11]='IsCommonToken'
  ;   K[12]='GetReplacedUIBoardToken'
  ;   upvals: _ENV
  ;   locals: type(0-38), model(1-38), (for generator)(6-35), (for state)(6-35), (for control)(6-35), activityType(7-33), definition(7-33)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R2 = _ENV[K0('pairs')]
  0002  GETTABUP  R3 = _ENV[K1('UIBoardActivityModel')]
  0003  GETTABLE  R3 = R3[K2('GetAllUIBoardActivityDefinition')]
  0004  CALL      R3 = call(R3, -1 args, 0 rets)
  0005  CALL      R2 = call(R2, 3 args, -1 rets)
  0006  JMP       (jump)   -> 33
  0007  GETTABUP  R7 = _ENV[K3('GM')]
  0008  GETTABLE  R7 = R7[K4('ActivityManager')]
  0009  SELF      R8 = R7[K5('GetModel')] (self)
  0010  MOVE      R9 = R0
  0011  CALL      R7 = call(R7, 1 args, 2 rets)
  0012  MOVE      R1 = R0
  0013  EQ        if R1 eq K6(nil)   -> -130283
  0014  JMP       (jump)   -> 33
  0015  SELF      R8 = R1[K7('GetState')] (self)
  0016  CALL      R7 = call(R7, 1 args, 1 rets)
  0017  GETTABUP  R8 = _ENV[K8('ActivityState')]
  0018  GETTABLE  R8 = R8[K9('Started')]
  0019  EQ        if R0 eq R8   -> -127459
  0020  JMP       (jump)   -> 33
  0021  SELF      R8 = R1[K10('IsTokenMode')] (self)
  0022  CALL      R7 = call(R7, 1 args, 1 rets)
  0023  TEST      if not R7 then   -> -131047
  0024  JMP       (jump)   -> 33
  0025  SELF      R8 = R1[K11('IsCommonToken')] (self)
  0026  MOVE      R9 = R0
  0027  CALL      R7 = call(R7, 1 args, 2 rets)
  0028  TEST      if not R7 then   -> -131042
  0029  JMP       (jump)   -> 33
  0030  SELF      R8 = R1[K12('GetReplacedUIBoardToken')] (self)
  0031  TAILCALL  tailcall(R7, 0)
  0032  RETURN    return R7..R6
  0033  TFORCALL  tforcall R2
  0034  TFORLOOP  tforloop R4(sBx=-28)   -> 7
  0035  LOADNIL   R2..R2 = nil
  0036  RETURN    return R2..R1
  0037  RETURN    return R0..R-1
; ---------- proto44 [GetCacheCount] ----------
  ; fn ?  line 502-508 np=1 va=0 ms=3 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='m_boardModel'
  ;   K[1]=nil
  ;   K[2]=0
  ;   K[3]='GetCachedItemCount'
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_boardModel')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADK     R1 = K2 0
  0004  RETURN    return R1..R0
  0005  GETTABLE  R1 = R0[K0('m_boardModel')]
  0006  SELF      R2 = R1[K3('GetCachedItemCount')] (self)
  0007  TAILCALL  tailcall(R1, 0)
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto45 [GetPaperBoxSprite] ----------
  ; fn ?  line 512-514 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='PaperBoxImageName'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('PaperBoxImageName')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto46 [GetPaperBoxDisappearPrefabName] ----------
  ; fn ?  line 516-518 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='PaperBoxDisappearPrefabName'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('PaperBoxDisappearPrefabName')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto47 [GetCobwebSprite] ----------
  ; fn ?  line 520-522 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='CobwebImageName'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('CobwebImageName')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto48 [GetCobwebSpineViewPrefabName] ----------
  ; fn ?  line 524-526 np=1 va=0 ms=2 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='CobwebSpineViewPrefabName'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  GETTABLE  R1 = R1[K1('CobwebSpineViewPrefabName')]
  0002  RETURN    return R1..R0
  0003  RETURN    return R0..R-1
; ---------- proto49 [GetActivePaperBoxSprite] ----------
  ; fn ?  line 528-533 np=0 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='UIBoardActivityModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]=nil
  ;   K[3]='GetPaperBoxSprite'
  ;   upvals: _ENV
  ;   locals: activeModel(3-9)
  0000  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
  0001  GETTABLE  R0 = R0[K1('GetActiveModel')]
  0002  CALL      R0 = call(R0, 1 args, 0 rets)
  0003  EQ        if R1 eq K2(nil)   -> -130809
  0004  JMP       (jump)   -> 8
  0005  SELF      R2 = R0[K3('GetPaperBoxSprite')] (self)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto50 [GetActivePaperBoxDisappearPrefabName] ----------
  ; fn ?  line 535-540 np=0 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='UIBoardActivityModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]=nil
  ;   K[3]='GetPaperBoxDisappearPrefabName'
  ;   upvals: _ENV
  ;   locals: activeModel(3-9)
  0000  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
  0001  GETTABLE  R0 = R0[K1('GetActiveModel')]
  0002  CALL      R0 = call(R0, 1 args, 0 rets)
  0003  EQ        if R1 eq K2(nil)   -> -130809
  0004  JMP       (jump)   -> 8
  0005  SELF      R2 = R0[K3('GetPaperBoxDisappearPrefabName')] (self)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto51 [GetActiveCobwebSprite] ----------
  ; fn ?  line 542-547 np=0 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='UIBoardActivityModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]=nil
  ;   K[3]='GetCobwebSprite'
  ;   upvals: _ENV
  ;   locals: activeModel(3-9)
  0000  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
  0001  GETTABLE  R0 = R0[K1('GetActiveModel')]
  0002  CALL      R0 = call(R0, 1 args, 0 rets)
  0003  EQ        if R1 eq K2(nil)   -> -130809
  0004  JMP       (jump)   -> 8
  0005  SELF      R2 = R0[K3('GetCobwebSprite')] (self)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto52 [GetActiveCobwebSpineViewPrefabName] ----------
  ; fn ?  line 549-554 np=0 va=0 ms=3 code=9 consts=4 upvals=1 protos=0
  ;   K[0]='UIBoardActivityModel'
  ;   K[1]='GetActiveModel'
  ;   K[2]=nil
  ;   K[3]='GetCobwebSpineViewPrefabName'
  ;   upvals: _ENV
  ;   locals: activeModel(3-9)
  0000  GETTABUP  R0 = _ENV[K0('UIBoardActivityModel')]
  0001  GETTABLE  R0 = R0[K1('GetActiveModel')]
  0002  CALL      R0 = call(R0, 1 args, 0 rets)
  0003  EQ        if R1 eq K2(nil)   -> -130809
  0004  JMP       (jump)   -> 8
  0005  SELF      R2 = R0[K3('GetCobwebSpineViewPrefabName')] (self)
  0006  TAILCALL  tailcall(R1, 0)
  0007  RETURN    return R1..R0
  0008  RETURN    return R0..R-1
; ---------- proto53 [CanPopEndWindow] ----------
  ; fn ?  line 558-560 np=1 va=0 ms=4 code=13 consts=4 upvals=1 protos=0
  ;   K[0]='HasWindowOpenedOnce'
  ;   K[1]='ActivityState'
  ;   K[2]='Started'
  ;   K[3]='Ended'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('HasWindowOpenedOnce')] (self)
  0001  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0002  GETTABLE  R3 = R3[K2('Started')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 11
  0006  SELF      R2 = R0[K0('HasWindowOpenedOnce')] (self)
  0007  GETTABUP  R3 = _ENV[K1('ActivityState')]
  0008  GETTABLE  R3 = R3[K3('Ended')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  NOT       R1 = not R0
  0011  RETURN    return R1..R0
  0012  RETURN    return R0..R-1
; ---------- proto54 [CanShowBookArrow] ----------
  ; fn ?  line 563-565 np=2 va=0 ms=3 code=3 consts=0 upvals=0 protos=0
  ;   locals: self(0-3), itemType(0-3)
  0000  LOADBOOL  R2 = true
  0001  RETURN    return R2..R1
  0002  RETURN    return R0..R-1
; ---------- proto55 [IsLackExtraBoardItem] ----------
  ; fn ?  line 567-573 np=1 va=0 ms=2 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='m_boardModel'
  ;   K[1]=nil
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_boardModel')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 5
  0003  LOADBOOL  R1 = false
  0004  RETURN    return R1..R0
  0005  LOADBOOL  R1 = true
  0006  RETURN    return R1..R0
  0007  RETURN    return R0..R-1
; ---------- proto56 [CheckLackExtraBoardItem] ----------
  ; fn ?  line 575-591 np=2 va=0 ms=10 code=34 consts=12 upvals=1 protos=0
  ;   K[0]='m_boardModel'
  ;   K[1]='GameMode'
  ;   K[2]='GetGameMode'
  ;   K[3]='GM'
  ;   K[4]='TutorialModel'
  ;   K[5]='HasAnyStrongTutorialOngoing'
  ;   K[6]='IsLackExtraBoardItem'
  ;   K[7]='BundleManager'
  ;   K[8]='TryStartBundlePopupChain'
  ;   K[9]='EBundleTriggerType'
  ;   K[10]='LackExtraBoardItem'
  ;   K[11]=1
  ;   upvals: _ENV
  ;   locals: self(0-34), msg(0-34)
  0000  GETTABLE  R2 = R0[K0('m_boardModel')]
  0001  TEST      if not R2 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 12
  0006  GETTABLE  R2 = R1[K1('GameMode')]
  0007  GETTABLE  R3 = R0[K0('m_boardModel')]
  0008  SELF      R4 = R3[K2('GetGameMode')] (self)
  0009  CALL      R3 = call(R3, 1 args, 1 rets)
  0010  EQ        if R1 eq R3   -> -130033
  0011  JMP       (jump)   -> 13
  0012  RETURN    return R0..R-1
  0013  GETTABUP  R2 = _ENV[K3('GM')]
  0014  GETTABLE  R2 = R2[K4('TutorialModel')]
  0015  SELF      R3 = R2[K5('HasAnyStrongTutorialOngoing')] (self)
  0016  CALL      R2 = call(R2, 1 args, 1 rets)
  0017  TEST      if not R2 then   -> -131053
  0018  JMP       (jump)   -> 20
  0019  RETURN    return R0..R-1
  0020  SELF      R3 = R0[K6('IsLackExtraBoardItem')] (self)
  0021  CALL      R2 = call(R2, 1 args, 1 rets)
  0022  TEST      if not R2 then   -> -131048
  0023  JMP       (jump)   -> 33
  0024  GETTABUP  R2 = _ENV[K3('GM')]
  0025  GETTABLE  R2 = R2[K7('BundleManager')]
  0026  SELF      R3 = R2[K8('TryStartBundlePopupChain')] (self)
  0027  GETTABUP  R4 = _ENV[K9('EBundleTriggerType')]
  0028  GETTABLE  R4 = R4[K10('LackExtraBoardItem')]
  0029  LOADNIL   R5..R5 = nil
  0030  LOADBOOL  R8 = true
  0031  LOADK     R9 = K11 1
  0032  CALL      R2 = call(R2, 0 args, 7 rets)
  0033  RETURN    return R0..R-1
