# AlbumActivity_AlbumActivityDefinition_1099.luac
; fn @AlbumActivityDefinition.lua  line 0-0 np=0 va=1 ms=9 code=34 consts=10 upvals=1 protos=1
;   K[0]='AlbumActivityDefinition'
;   K[1]='ActivityType'
;   K[2]='Album15'
;   K[3]='ResourceLabels'
;   K[4]='AddressableLabel'
;   K[5]='badge_9_1'
;   K[6]='badge_9_2'
;   K[7]='Album16'
;   K[8]='badge_10_1'
;   K[9]='badge_10_2'
;   upvals: _ENV
;   locals: CreateActivityDefinition(3-34)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('AlbumActivityDefinition')] = R0
0002  CLOSURE   R0 = closure proto0
0003  MOVE      R1 = R0
0004  GETTABUP  R2 = _ENV[K1('ActivityType')]
0005  GETTABLE  R2 = R2[K2('Album15')]
0006  LOADK     R3 = K2 'Album15'
0007  NEWTABLE  R4 = {} (0 items)
0008  NEWTABLE  R5 = {} (3 items)
0009  GETTABUP  R6 = _ENV[K4('AddressableLabel')]
0010  GETTABLE  R6 = R6[K2('Album15')]
0011  GETTABUP  R7 = _ENV[K4('AddressableLabel')]
0012  GETTABLE  R7 = R7[K5('badge_9_1')]
0013  GETTABUP  R8 = _ENV[K4('AddressableLabel')]
0014  GETTABLE  R8 = R8[K6('badge_9_2')]
0015  SETLIST   setlist R5[B=1,C=3]
0016  SETTABLE  R4[K3('ResourceLabels')] = R5
0017  CALL      R1 = call(R1, 0 args, 3 rets)
0018  MOVE      R1 = R0
0019  GETTABUP  R2 = _ENV[K1('ActivityType')]
0020  GETTABLE  R2 = R2[K7('Album16')]
0021  LOADK     R3 = K7 'Album16'
0022  NEWTABLE  R4 = {} (0 items)
0023  NEWTABLE  R5 = {} (3 items)
0024  GETTABUP  R6 = _ENV[K4('AddressableLabel')]
0025  GETTABLE  R6 = R6[K7('Album16')]
0026  GETTABUP  R7 = _ENV[K4('AddressableLabel')]
0027  GETTABLE  R7 = R7[K8('badge_10_1')]
0028  GETTABUP  R8 = _ENV[K4('AddressableLabel')]
0029  GETTABLE  R8 = R8[K9('badge_10_2')]
0030  SETLIST   setlist R5[B=1,C=3]
0031  SETTABLE  R4[K3('ResourceLabels')] = R5
0032  CALL      R1 = call(R1, 0 args, 3 rets)
0033  RETURN    return R0..R-1
; ---------- proto0 [] ----------
  ; fn ?  line 25-65 np=3 va=0 ms=8 code=181 consts=49 upvals=1 protos=0
  ;   K[0]='ActivityDataTableName'
  ;   K[1]='VirtualDBTableName'
  ;   K[2]='EntryButtonKey'
  ;   K[3]='ESceneViewHudButtonKey'
  ;   K[4]='StateChangedEvent'
  ;   K[5]='EEventType'
  ;   K[6]='StateChanged'
  ;   K[7]='DoublePackBuffStateChanged'
  ;   K[8]='StartWindowPrefabName'
  ;   K[9]='UIPrefabConfigName'
  ;   K[10]='StartWindow'
  ;   K[11]='EndWindowPrefabName'
  ;   K[12]='EndWindow'
  ;   K[13]='MainWindowPrefabName'
  ;   K[14]='MainWindow'
  ;   K[15]='HelpWindowPrefabName'
  ;   K[16]='HelpWindow'
  ;   K[17]='RMHelpWindowPrefabName'
  ;   K[18]='HasConfig'
  ;   K[19]='RMHelpWindow'
  ;   K[20]='PackWindowPrefabName'
  ;   K[21]='PackWindow'
  ;   K[22]='TakeSetRewardPrefabName'
  ;   K[23]='TakeSetRewardWindow'
  ;   K[24]='TakeFinishRewardPrefabName'
  ;   K[25]='TakeFinishRewardWindow'
  ;   K[26]='GachaWindowPrefabName'
  ;   K[27]='GachaWindow'
  ;   K[28]='AlbumActivityGachaWindow'
  ;   K[29]='SkipGachaWindowPrefabName'
  ;   K[30]='SkipGachaWindow'
  ;   K[31]='AlbumActivitySkipGachaWindow'
  ;   K[32]='EntryPrefabName'
  ;   K[33]='Entry'
  ;   K[34]='CollectEntryPrefabName'
  ;   K[35]='CollectEntry'
  ;   K[36]='CardBg2ImgName'
  ;   K[37]='ImageFileConfigName'
  ;   K[38]='_card_bg2'
  ;   K[39]='GoldCardBg2ImgName'
  ;   K[40]='_gcard_bg2'
  ;   K[41]='TutorialStartCondition'
  ;   K[42]='ETutorialStartCondition'
  ;   K[43]='AlbumActivityStart'
  ;   K[44]='ResourceLabels'
  ;   K[45]='AddressableLabel'
  ;   K[46]='__index'
  ;   K[47]='AlbumActivityDefinition'
  ;   K[48]='setmetatable'
  ;   upvals: _ENV
  ;   locals: activityType(0-181), prefix(0-181), overrideTable(0-181), BaseTable(168-181)
  0000  NEWTABLE  R3 = {} (0 items)
  0001  GETTABUP  R4 = _ENV[K1('VirtualDBTableName')]
  0002  GETTABLE  R4 = R4[R1]
  0003  SETTABLE  R3[K0('ActivityDataTableName')] = R4
  0004  GETTABUP  R4 = _ENV[K3('ESceneViewHudButtonKey')]
  0005  GETTABLE  R4 = R4[R1]
  0006  SETTABLE  R3[K2('EntryButtonKey')] = R4
  0007  GETTABUP  R4 = _ENV[K5('EEventType')]
  0008  MOVE      R5 = R0
  0009  LOADK     R6 = K6 'StateChanged'
  0010  CONCAT    R5 = concat(R5..R5)
  0011  GETTABLE  R4 = R4[R5]
  0012  SETTABLE  R3[K4('StateChangedEvent')] = R4
  0013  GETTABUP  R4 = _ENV[K5('EEventType')]
  0014  MOVE      R5 = R0
  0015  LOADK     R6 = K7 'DoublePackBuffStateChanged'
  0016  CONCAT    R5 = concat(R5..R5)
  0017  GETTABLE  R4 = R4[R5]
  0018  SETTABLE  R3[K7('DoublePackBuffStateChanged')] = R4
  0019  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0020  MOVE      R5 = R0
  0021  LOADK     R6 = K10 'StartWindow'
  0022  CONCAT    R5 = concat(R5..R5)
  0023  GETTABLE  R4 = R4[R5]
  0024  SETTABLE  R3[K8('StartWindowPrefabName')] = R4
  0025  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0026  MOVE      R5 = R0
  0027  LOADK     R6 = K12 'EndWindow'
  0028  CONCAT    R5 = concat(R5..R5)
  0029  GETTABLE  R4 = R4[R5]
  0030  SETTABLE  R3[K11('EndWindowPrefabName')] = R4
  0031  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0032  MOVE      R5 = R0
  0033  LOADK     R6 = K14 'MainWindow'
  0034  CONCAT    R5 = concat(R5..R5)
  0035  GETTABLE  R4 = R4[R5]
  0036  SETTABLE  R3[K13('MainWindowPrefabName')] = R4
  0037  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0038  MOVE      R5 = R0
  0039  LOADK     R6 = K16 'HelpWindow'
  0040  CONCAT    R5 = concat(R5..R5)
  0041  GETTABLE  R4 = R4[R5]
  0042  SETTABLE  R3[K15('HelpWindowPrefabName')] = R4
  0043  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0044  GETTABLE  R4 = R4[K18('HasConfig')]
  0045  MOVE      R5 = R0
  0046  LOADK     R6 = K19 'RMHelpWindow'
  0047  CONCAT    R5 = concat(R5..R5)
  0048  CALL      R4 = call(R4, 1 args, 1 rets)
  0049  TEST      if not R4 then   -> -131021
  0050  JMP       (jump)   -> 58
  0051  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0052  MOVE      R5 = R0
  0053  LOADK     R6 = K19 'RMHelpWindow'
  0054  CONCAT    R5 = concat(R5..R5)
  0055  GETTABLE  R4 = R4[R5]
  0056  TEST      if not R4 then   -> -131013
  0057  JMP       (jump)   -> 59
  0058  LOADNIL   R4..R4 = nil
  0059  SETTABLE  R3[K17('RMHelpWindowPrefabName')] = R4
  0060  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0061  MOVE      R5 = R0
  0062  LOADK     R6 = K21 'PackWindow'
  0063  CONCAT    R5 = concat(R5..R5)
  0064  GETTABLE  R4 = R4[R5]
  0065  SETTABLE  R3[K20('PackWindowPrefabName')] = R4
  0066  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0067  MOVE      R5 = R0
  0068  LOADK     R6 = K23 'TakeSetRewardWindow'
  0069  CONCAT    R5 = concat(R5..R5)
  0070  GETTABLE  R4 = R4[R5]
  0071  SETTABLE  R3[K22('TakeSetRewardPrefabName')] = R4
  0072  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0073  MOVE      R5 = R0
  0074  LOADK     R6 = K25 'TakeFinishRewardWindow'
  0075  CONCAT    R5 = concat(R5..R5)
  0076  GETTABLE  R4 = R4[R5]
  0077  SETTABLE  R3[K24('TakeFinishRewardPrefabName')] = R4
  0078  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0079  GETTABLE  R4 = R4[K18('HasConfig')]
  0080  MOVE      R5 = R0
  0081  LOADK     R6 = K27 'GachaWindow'
  0082  CONCAT    R5 = concat(R5..R5)
  0083  CALL      R4 = call(R4, 1 args, 1 rets)
  0084  TEST      if not R4 then   -> -130986
  0085  JMP       (jump)   -> 93
  0086  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0087  MOVE      R5 = R0
  0088  LOADK     R6 = K27 'GachaWindow'
  0089  CONCAT    R5 = concat(R5..R5)
  0090  GETTABLE  R4 = R4[R5]
  0091  TEST      if not R4 then   -> -130978
  0092  JMP       (jump)   -> 95
  0093  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0094  GETTABLE  R4 = R4[K28('AlbumActivityGachaWindow')]
  0095  SETTABLE  R3[K26('GachaWindowPrefabName')] = R4
  0096  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0097  GETTABLE  R4 = R4[K18('HasConfig')]
  0098  MOVE      R5 = R0
  0099  LOADK     R6 = K30 'SkipGachaWindow'
  0100  CONCAT    R5 = concat(R5..R5)
  0101  CALL      R4 = call(R4, 1 args, 1 rets)
  0102  TEST      if not R4 then   -> -130968
  0103  JMP       (jump)   -> 111
  0104  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0105  MOVE      R5 = R0
  0106  LOADK     R6 = K30 'SkipGachaWindow'
  0107  CONCAT    R5 = concat(R5..R5)
  0108  GETTABLE  R4 = R4[R5]
  0109  TEST      if not R4 then   -> -130960
  0110  JMP       (jump)   -> 113
  0111  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0112  GETTABLE  R4 = R4[K31('AlbumActivitySkipGachaWindow')]
  0113  SETTABLE  R3[K29('SkipGachaWindowPrefabName')] = R4
  0114  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0115  MOVE      R5 = R0
  0116  LOADK     R6 = K33 'Entry'
  0117  CONCAT    R5 = concat(R5..R5)
  0118  GETTABLE  R4 = R4[R5]
  0119  SETTABLE  R3[K32('EntryPrefabName')] = R4
  0120  GETTABUP  R4 = _ENV[K9('UIPrefabConfigName')]
  0121  MOVE      R5 = R0
  0122  LOADK     R6 = K35 'CollectEntry'
  0123  CONCAT    R5 = concat(R5..R5)
  0124  GETTABLE  R4 = R4[R5]
  0125  SETTABLE  R3[K34('CollectEntryPrefabName')] = R4
  0126  GETTABUP  R4 = _ENV[K37('ImageFileConfigName')]
  0127  GETTABLE  R4 = R4[K18('HasConfig')]
  0128  MOVE      R5 = R0
  0129  LOADK     R6 = K38 '_card_bg2'
  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[K37('ImageFileConfigName')]
  0135  MOVE      R5 = R0
  0136  LOADK     R6 = K38 '_card_bg2'
  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[K36('CardBg2ImgName')] = R4
  0143  GETTABUP  R4 = _ENV[K37('ImageFileConfigName')]
  0144  GETTABLE  R4 = R4[K18('HasConfig')]
  0145  MOVE      R5 = R0
  0146  LOADK     R6 = K40 '_gcard_bg2'
  0147  CONCAT    R5 = concat(R5..R5)
  0148  CALL      R4 = call(R4, 1 args, 1 rets)
  0149  TEST      if not R4 then   -> -130921
  0150  JMP       (jump)   -> 158
  0151  GETTABUP  R4 = _ENV[K37('ImageFileConfigName')]
  0152  MOVE      R5 = R0
  0153  LOADK     R6 = K40 '_gcard_bg2'
  0154  CONCAT    R5 = concat(R5..R5)
  0155  GETTABLE  R4 = R4[R5]
  0156  TEST      if not R4 then   -> -130913
  0157  JMP       (jump)   -> 159
  0158  LOADNIL   R4..R4 = nil
  0159  SETTABLE  R3[K39('GoldCardBg2ImgName')] = R4
  0160  GETTABUP  R4 = _ENV[K42('ETutorialStartCondition')]
  0161  GETTABLE  R4 = R4[K43('AlbumActivityStart')]
  0162  SETTABLE  R3[K41('TutorialStartCondition')] = R4
  0163  NEWTABLE  R4 = {} (1 items)
  0164  GETTABUP  R5 = _ENV[K45('AddressableLabel')]
  0165  GETTABLE  R5 = R5[R1]
  0166  SETLIST   setlist R4[B=1,C=1]
  0167  SETTABLE  R3[K44('ResourceLabels')] = R4
  0168  SETTABLE  R3[K46('__index')] = R3
  0169  GETTABUP  R4 = _ENV[K47('AlbumActivityDefinition')]
  0170  GETTABUP  R5 = _ENV[K48('setmetatable')]
  0171  MOVE      R6 = R0
  0172  MOVE      R7 = R0
  0173  CALL      R5 = call(R5, 1 args, 2 rets)
  0174  SETTABLE  R4[R0] = R5
  0175  GETTABUP  R4 = _ENV[K47('AlbumActivityDefinition')]
  0176  GETTABLE  R4 = R4[R0]
  0177  GETTABUP  R5 = _ENV[K47('AlbumActivityDefinition')]
  0178  GETTABLE  R5 = R5[R0]
  0179  SETTABLE  R4[K46('__index')] = R5
  0180  RETURN    return R0..R-1
