# AdventureBoardActivity_AdventureBoardDefinition_1376.luac
; fn @AdventureBoardDefinition.lua  line 0-0 np=0 va=1 ms=20 code=64 consts=14 upvals=1 protos=1
;   K[0]='AdventureBoardDefinition'
;   K[1]='ActivityType'
;   K[2]='AdventureBoard12'
;   K[3]='AdventureBoard13'
;   K[4]='AdventureBoard14'
;   K[5]='AdventureBoard15'
;   K[6]='MergeLineScales'
;   K[7]=1
;   K[8]=0.9
;   K[9]=1.1
;   K[10]=1.3
;   K[11]='AdventureBoard16'
;   K[12]=1.15
;   K[13]='AdventureBoard17'
;   upvals: _ENV
;   locals: CreateActivityDefinition(3-64)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('AdventureBoardDefinition')] = R0
0002  CLOSURE   R0 = closure proto0
0003  MOVE      R1 = R0
0004  GETTABUP  R2 = _ENV[K1('ActivityType')]
0005  GETTABLE  R2 = R2[K2('AdventureBoard12')]
0006  LOADK     R3 = K2 'AdventureBoard12'
0007  NEWTABLE  R4 = {} (0 items)
0008  CALL      R1 = call(R1, 0 args, 3 rets)
0009  MOVE      R1 = R0
0010  GETTABUP  R2 = _ENV[K1('ActivityType')]
0011  GETTABLE  R2 = R2[K3('AdventureBoard13')]
0012  LOADK     R3 = K3 'AdventureBoard13'
0013  NEWTABLE  R4 = {} (0 items)
0014  CALL      R1 = call(R1, 0 args, 3 rets)
0015  MOVE      R1 = R0
0016  GETTABUP  R2 = _ENV[K1('ActivityType')]
0017  GETTABLE  R2 = R2[K4('AdventureBoard14')]
0018  LOADK     R3 = K4 'AdventureBoard14'
0019  NEWTABLE  R4 = {} (0 items)
0020  CALL      R1 = call(R1, 0 args, 3 rets)
0021  MOVE      R1 = R0
0022  GETTABUP  R2 = _ENV[K1('ActivityType')]
0023  GETTABLE  R2 = R2[K5('AdventureBoard15')]
0024  LOADK     R3 = K5 'AdventureBoard15'
0025  NEWTABLE  R4 = {} (0 items)
0026  NEWTABLE  R5 = {} (14 items)
0027  LOADK     R6 = K7 1
0028  LOADK     R7 = K7 1
0029  LOADK     R8 = K8 0.9
0030  LOADK     R9 = K7 1
0031  LOADK     R10 = K9 1.1
0032  LOADK     R11 = K7 1
0033  LOADK     R12 = K7 1
0034  LOADK     R13 = K10 1.3
0035  LOADK     R14 = K7 1
0036  LOADK     R15 = K7 1
0037  LOADK     R16 = K7 1
0038  LOADK     R17 = K7 1
0039  LOADK     R18 = K7 1
0040  LOADK     R19 = K9 1.1
0041  SETLIST   setlist R5[B=1,C=14]
0042  SETTABLE  R4[K6('MergeLineScales')] = R5
0043  CALL      R1 = call(R1, 0 args, 3 rets)
0044  MOVE      R1 = R0
0045  GETTABUP  R2 = _ENV[K1('ActivityType')]
0046  GETTABLE  R2 = R2[K11('AdventureBoard16')]
0047  LOADK     R3 = K11 'AdventureBoard16'
0048  NEWTABLE  R4 = {} (0 items)
0049  NEWTABLE  R5 = {} (4 items)
0050  LOADK     R6 = K7 1
0051  LOADK     R7 = K12 1.15
0052  LOADK     R8 = K12 1.15
0053  LOADK     R9 = K12 1.15
0054  SETLIST   setlist R5[B=1,C=4]
0055  SETTABLE  R4[K6('MergeLineScales')] = R5
0056  CALL      R1 = call(R1, 0 args, 3 rets)
0057  MOVE      R1 = R0
0058  GETTABUP  R2 = _ENV[K1('ActivityType')]
0059  GETTABLE  R2 = R2[K13('AdventureBoard17')]
0060  LOADK     R3 = K13 'AdventureBoard17'
0061  NEWTABLE  R4 = {} (0 items)
0062  CALL      R1 = call(R1, 0 args, 3 rets)
0063  RETURN    return R0..R-1
; ---------- proto0 [] ----------
  ; fn ?  line 24-74 np=3 va=0 ms=8 code=176 consts=61 upvals=1 protos=0
  ;   K[0]='EntryButtonKey'
  ;   K[1]='ESceneViewHudButtonKey'
  ;   K[2]='ActivityDataTableName'
  ;   K[3]='VirtualDBTableName'
  ;   K[4]='ItemDataTableName'
  ;   K[5]='Item'
  ;   K[6]='ItemLayerDataTableName'
  ;   K[7]='ItemLayer'
  ;   K[8]='ItemCacheDataTableName'
  ;   K[9]='ItemCache'
  ;   K[10]='BoardDataTableName'
  ;   K[11]='Board'
  ;   K[12]='StateChangedEvent'
  ;   K[13]='EEventType'
  ;   K[14]='StateChanged'
  ;   K[15]='EntryPrefabName'
  ;   K[16]='UIPrefabConfigName'
  ;   K[17]='Entry'
  ;   K[18]='BoardEntryPrefabName'
  ;   K[19]='BoardEntry'
  ;   K[20]='ReadyWindowPrefabName'
  ;   K[21]='ReadyWindow'
  ;   K[22]='MainWindowPrefabName'
  ;   K[23]='MainWindow'
  ;   K[24]='EndWindowPrefabName'
  ;   K[25]='EndWindow'
  ;   K[26]='RewardRecoverWindowPrefabName'
  ;   K[27]='RewardRecoverWindow'
  ;   K[28]='BookWindowPrefabName'
  ;   K[29]='BookWindow'
  ;   K[30]='HelpWindowPrefabName'
  ;   K[31]='AdventureBoardActivityHelpWindow'
  ;   K[32]='CompleteWindowPrefabName'
  ;   K[33]='AdventureBoardCompleteWindow'
  ;   K[34]='ResourceLabels'
  ;   K[35]='AddressableLabel'
  ;   K[36]='AdventureBoardCommon'
  ;   K[37]='TileImageName1'
  ;   K[38]='ImageFileConfigName'
  ;   K[39]='HasConfig'
  ;   K[40]='_tile_bg1'
  ;   K[41]='TileImageName2'
  ;   K[42]='_tile_bg2'
  ;   K[43]='BoardBgImageName'
  ;   K[44]='_board_bg'
  ;   K[45]='MergeLineScales'
  ;   K[46]='TutorialStartCondition'
  ;   K[47]='ETutorialStartCondition'
  ;   K[48]='AdventureBoardStart'
  ;   K[49]='PromptPrefabNamex1'
  ;   K[50]='ExtraBoardPromptx1'
  ;   K[51]='PromptPrefabNamex2'
  ;   K[52]='ExtraBoardPromptx2'
  ;   K[53]='PromptPrefabNamex4'
  ;   K[54]='ExtraBoardPromptx4'
  ;   K[55]='ActivityTokenPropertyType'
  ;   K[56]='EPropertyType'
  ;   K[57]='Token'
  ;   K[58]='__index'
  ;   K[59]='AdventureBoardDefinition'
  ;   K[60]='setmetatable'
  ;   upvals: _ENV
  ;   locals: activityType(0-176), prefix(0-176), overrideTable(0-176), BaseTable(163-176)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K1('ESceneViewHudButtonKey')]
  0002  GETTABLE  R4 = R4[R1]
  0003  SETTABLE  R3[K0('EntryButtonKey')] = R4
  0004  GETTABUP  R4 = _ENV[K3('VirtualDBTableName')]
  0005  GETTABLE  R4 = R4[R1]
  0006  SETTABLE  R3[K2('ActivityDataTableName')] = R4
  0007  GETTABUP  R4 = _ENV[K3('VirtualDBTableName')]
  0008  MOVE      R5 = R0
  0009  LOADK     R6 = K5 'Item'
  0010  CONCAT    R5 = concat(R5..R5)
  0011  GETTABLE  R4 = R4[R5]
  0012  SETTABLE  R3[K4('ItemDataTableName')] = R4
  0013  GETTABUP  R4 = _ENV[K3('VirtualDBTableName')]
  0014  MOVE      R5 = R0
  0015  LOADK     R6 = K7 'ItemLayer'
  0016  CONCAT    R5 = concat(R5..R5)
  0017  GETTABLE  R4 = R4[R5]
  0018  SETTABLE  R3[K6('ItemLayerDataTableName')] = R4
  0019  GETTABUP  R4 = _ENV[K3('VirtualDBTableName')]
  0020  MOVE      R5 = R0
  0021  LOADK     R6 = K9 'ItemCache'
  0022  CONCAT    R5 = concat(R5..R5)
  0023  GETTABLE  R4 = R4[R5]
  0024  SETTABLE  R3[K8('ItemCacheDataTableName')] = R4
  0025  GETTABUP  R4 = _ENV[K3('VirtualDBTableName')]
  0026  MOVE      R5 = R0
  0027  LOADK     R6 = K11 'Board'
  0028  CONCAT    R5 = concat(R5..R5)
  0029  GETTABLE  R4 = R4[R5]
  0030  SETTABLE  R3[K10('BoardDataTableName')] = R4
  0031  GETTABUP  R4 = _ENV[K13('EEventType')]
  0032  MOVE      R5 = R0
  0033  LOADK     R6 = K14 'StateChanged'
  0034  CONCAT    R5 = concat(R5..R5)
  0035  GETTABLE  R4 = R4[R5]
  0036  SETTABLE  R3[K12('StateChangedEvent')] = R4
  0037  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0038  MOVE      R5 = R0
  0039  LOADK     R6 = K17 'Entry'
  0040  CONCAT    R5 = concat(R5..R5)
  0041  GETTABLE  R4 = R4[R5]
  0042  SETTABLE  R3[K15('EntryPrefabName')] = R4
  0043  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0044  MOVE      R5 = R0
  0045  LOADK     R6 = K19 'BoardEntry'
  0046  CONCAT    R5 = concat(R5..R5)
  0047  GETTABLE  R4 = R4[R5]
  0048  SETTABLE  R3[K18('BoardEntryPrefabName')] = R4
  0049  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0050  MOVE      R5 = R0
  0051  LOADK     R6 = K21 'ReadyWindow'
  0052  CONCAT    R5 = concat(R5..R5)
  0053  GETTABLE  R4 = R4[R5]
  0054  SETTABLE  R3[K20('ReadyWindowPrefabName')] = R4
  0055  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0056  MOVE      R5 = R0
  0057  LOADK     R6 = K23 'MainWindow'
  0058  CONCAT    R5 = concat(R5..R5)
  0059  GETTABLE  R4 = R4[R5]
  0060  SETTABLE  R3[K22('MainWindowPrefabName')] = R4
  0061  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0062  MOVE      R5 = R0
  0063  LOADK     R6 = K25 'EndWindow'
  0064  CONCAT    R5 = concat(R5..R5)
  0065  GETTABLE  R4 = R4[R5]
  0066  SETTABLE  R3[K24('EndWindowPrefabName')] = R4
  0067  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0068  MOVE      R5 = R0
  0069  LOADK     R6 = K27 'RewardRecoverWindow'
  0070  CONCAT    R5 = concat(R5..R5)
  0071  GETTABLE  R4 = R4[R5]
  0072  SETTABLE  R3[K26('RewardRecoverWindowPrefabName')] = R4
  0073  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0074  MOVE      R5 = R0
  0075  LOADK     R6 = K29 'BookWindow'
  0076  CONCAT    R5 = concat(R5..R5)
  0077  GETTABLE  R4 = R4[R5]
  0078  SETTABLE  R3[K28('BookWindowPrefabName')] = R4
  0079  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0080  GETTABLE  R4 = R4[K31('AdventureBoardActivityHelpWindow')]
  0081  SETTABLE  R3[K30('HelpWindowPrefabName')] = R4
  0082  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0083  GETTABLE  R4 = R4[K33('AdventureBoardCompleteWindow')]
  0084  SETTABLE  R3[K32('CompleteWindowPrefabName')] = R4
  0085  NEWTABLE  R4 = {} (2 items)
  0086  GETTABUP  R5 = _ENV[K35('AddressableLabel')]
  0087  GETTABLE  R5 = R5[K36('AdventureBoardCommon')]
  0088  GETTABUP  R6 = _ENV[K35('AddressableLabel')]
  0089  GETTABLE  R6 = R6[R1]
  0090  SETLIST   setlist R4[B=1,C=2]
  0091  SETTABLE  R3[K34('ResourceLabels')] = R4
  0092  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0093  GETTABLE  R4 = R4[K39('HasConfig')]
  0094  MOVE      R5 = R0
  0095  LOADK     R6 = K40 '_tile_bg1'
  0096  CONCAT    R5 = concat(R5..R5)
  0097  CALL      R4 = call(R4, 1 args, 1 rets)
  0098  TEST      if not R4 then   -> -130972
  0099  JMP       (jump)   -> 107
  0100  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0101  MOVE      R5 = R0
  0102  LOADK     R6 = K40 '_tile_bg1'
  0103  CONCAT    R5 = concat(R5..R5)
  0104  GETTABLE  R4 = R4[R5]
  0105  TEST      if not R4 then   -> -130964
  0106  JMP       (jump)   -> 108
  0107  LOADNIL   R4..R4 = nil
  0108  SETTABLE  R3[K37('TileImageName1')] = R4
  0109  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0110  GETTABLE  R4 = R4[K39('HasConfig')]
  0111  MOVE      R5 = R0
  0112  LOADK     R6 = K42 '_tile_bg2'
  0113  CONCAT    R5 = concat(R5..R5)
  0114  CALL      R4 = call(R4, 1 args, 1 rets)
  0115  TEST      if not R4 then   -> -130955
  0116  JMP       (jump)   -> 124
  0117  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0118  MOVE      R5 = R0
  0119  LOADK     R6 = K42 '_tile_bg2'
  0120  CONCAT    R5 = concat(R5..R5)
  0121  GETTABLE  R4 = R4[R5]
  0122  TEST      if not R4 then   -> -130947
  0123  JMP       (jump)   -> 125
  0124  LOADNIL   R4..R4 = nil
  0125  SETTABLE  R3[K41('TileImageName2')] = R4
  0126  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0127  GETTABLE  R4 = R4[K39('HasConfig')]
  0128  MOVE      R5 = R0
  0129  LOADK     R6 = K44 '_board_bg'
  0130  CONCAT    R5 = concat(R5..R5)
  0131  CALL      R4 = call(R4, 1 args, 1 rets)
  0132  TEST      if not R4 then   -> -130938
  0133  JMP       (jump)   -> 141
  0134  GETTABUP  R4 = _ENV[K38('ImageFileConfigName')]
  0135  MOVE      R5 = R0
  0136  LOADK     R6 = K44 '_board_bg'
  0137  CONCAT    R5 = concat(R5..R5)
  0138  GETTABLE  R4 = R4[R5]
  0139  TEST      if not R4 then   -> -130930
  0140  JMP       (jump)   -> 142
  0141  LOADNIL   R4..R4 = nil
  0142  SETTABLE  R3[K43('BoardBgImageName')] = R4
  0143  NEWTABLE  R4 = {} (0 items)
  0144  SETTABLE  R3[K45('MergeLineScales')] = R4
  0145  GETTABUP  R4 = _ENV[K47('ETutorialStartCondition')]
  0146  GETTABLE  R4 = R4[K48('AdventureBoardStart')]
  0147  SETTABLE  R3[K46('TutorialStartCondition')] = R4
  0148  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0149  GETTABLE  R4 = R4[K50('ExtraBoardPromptx1')]
  0150  SETTABLE  R3[K49('PromptPrefabNamex1')] = R4
  0151  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0152  GETTABLE  R4 = R4[K52('ExtraBoardPromptx2')]
  0153  SETTABLE  R3[K51('PromptPrefabNamex2')] = R4
  0154  GETTABUP  R4 = _ENV[K16('UIPrefabConfigName')]
  0155  GETTABLE  R4 = R4[K54('ExtraBoardPromptx4')]
  0156  SETTABLE  R3[K53('PromptPrefabNamex4')] = R4
  0157  GETTABUP  R4 = _ENV[K56('EPropertyType')]
  0158  MOVE      R5 = R0
  0159  LOADK     R6 = K57 'Token'
  0160  CONCAT    R5 = concat(R5..R5)
  0161  GETTABLE  R4 = R4[R5]
  0162  SETTABLE  R3[K55('ActivityTokenPropertyType')] = R4
  0163  SETTABLE  R3[K58('__index')] = R3
  0164  GETTABUP  R4 = _ENV[K59('AdventureBoardDefinition')]
  0165  GETTABUP  R5 = _ENV[K60('setmetatable')]
  0166  MOVE      R6 = R0
  0167  MOVE      R7 = R0
  0168  CALL      R5 = call(R5, 1 args, 2 rets)
  0169  SETTABLE  R4[R0] = R5
  0170  GETTABUP  R4 = _ENV[K59('AdventureBoardDefinition')]
  0171  GETTABLE  R4 = R4[R0]
  0172  GETTABUP  R5 = _ENV[K59('AdventureBoardDefinition')]
  0173  GETTABLE  R5 = R5[R0]
  0174  SETTABLE  R4[K58('__index')] = R5
  0175  RETURN    return R0..R-1
