# UpgradeRace_Model_UpgradeRaceActivityDefinition_1557.luac
; fn @UpgradeRaceActivityDefinition.lua  line 0-0 np=0 va=1 ms=8 code=125 consts=80 upvals=1 protos=0
;   K[0]='UpgradeRaceActivityDefinition'
;   K[1]='ActivityType'
;   K[2]='UpgradeRace'
;   K[3]='ActivityDataTableName'
;   K[4]='VirtualDBTableName'
;   K[5]='ActivityTokenPropertyType'
;   K[6]='EPropertyType'
;   K[7]='StateChangedEvent'
;   K[8]='EEventType'
;   K[9]='UpgradeRaceActivityStateChanged'
;   K[10]='FailEvent'
;   K[11]='UpgradeRaceActivityFail'
;   K[12]='MainWindowOpenedEvent'
;   K[13]='UpgradeRaceActivityMainWindowOpened'
;   K[14]='MainWindowClosedEvent'
;   K[15]='UpgradeRaceActivityMainWindowClosed'
;   K[16]='MainWindowAnimationEndEvent'
;   K[17]='UpgradeRaceActivityMainWindowAnimationEnd'
;   K[18]='MainWindowOpenedAtEventEndedEvent'
;   K[19]='UpgradeRaceMainWindowOpenedAtEventEnded'
;   K[20]='HelpWindowClosedEvent'
;   K[21]='UpgradeRaceHelpWindowClosed'
;   K[22]='SignupBIType'
;   K[23]='EBIType'
;   K[24]='UpgradeRaceSignUp'
;   K[25]='RewardBIType'
;   K[26]='UpgradeRaceReward'
;   K[27]='MainEntryPrefabName'
;   K[28]='UIPrefabConfigName'
;   K[29]='UpgradeRaceActivityMainEntry'
;   K[30]='BoardEntryPrefabName'
;   K[31]='UpgradeRaceActivityBoardEntry'
;   K[32]='MainWindowPrefabName'
;   K[33]='UpgradeRaceActivityMainWindow'
;   K[34]='StartWindowPrefabName'
;   K[35]='UpgradeRaceActivityStartWindow'
;   K[36]='RewardWindowPrefabName'
;   K[37]='UpgradeRaceActivityRewardWindow'
;   K[38]='HelpWindowPrefabName'
;   K[39]='UpgradeRaceActivityHelpWindow'
;   K[40]='NewRoundWindowSmallPrefabName'
;   K[41]='UpgradeRaceActivityNewRoundWindowSmall'
;   K[42]='NewRoundWindowLargePrefabName'
;   K[43]='UpgradeRaceActivityNewRoundWindowLarge'
;   K[44]='FailWindowPrefabName'
;   K[45]='UpgradeRaceActivityFailWindow'
;   K[46]='FinishFailWindowPrefabName'
;   K[47]='UpgradeRaceActivityFinishFailWindow'
;   K[48]='FinishSuccessWindowPrefabName'
;   K[49]='UpgradeRaceActivityFinishSuccessWindow'
;   K[50]='ActivityTokenIconName'
;   K[51]='ImageFileConfigName'
;   K[52]='common_icon_ship'
;   K[53]='EntryButtonKey'
;   K[54]='ESceneViewHudButtonKey'
;   K[55]='TutorialStartCondition'
;   K[56]='ETutorialStartCondition'
;   K[57]='UpgradeRaceStart'
;   K[58]='RoundDefinition'
;   K[59]='PlayerNumber'
;   K[60]=5
;   K[61]='SuccessPlayerNumber'
;   K[62]=3
;   K[63]='SelfTrack'
;   K[64]='MainWindowTitleOutlineColor'
;   K[65]='0F47B3'
;   K[66]='TrackOffsetY'
;   K[67]=0
;   K[68]=2
;   K[69]='B13E00'
;   K[70]=160
;   K[71]=1
;   K[72]='5F0CB1'
;   K[73]=240
;   K[74]='ResourceLabels'
;   K[75]='AddressableLabel'
;   K[76]='pairs'
;   K[77]='EPropertySprite'
;   K[78]='EPropertySpriteBig'
;   K[79]='ActivityTokenIconNameBig'
;   upvals: _ENV
;   locals: (for generator)(110-124), (for state)(110-124), (for control)(110-124), activityType(111-122), activityDefinition(111-122)
0000  NEWTABLE  R0 = {} (0 items)
0001  GETTABUP  R1 = _ENV[K1('ActivityType')]
0002  GETTABLE  R1 = R1[K2('UpgradeRace')]
0003  NEWTABLE  R2 = {} (0 items)
0004  GETTABUP  R3 = _ENV[K4('VirtualDBTableName')]
0005  GETTABLE  R3 = R3[K2('UpgradeRace')]
0006  SETTABLE  R2[K3('ActivityDataTableName')] = R3
0007  GETTABUP  R3 = _ENV[K6('EPropertyType')]
0008  GETTABLE  R3 = R3[K2('UpgradeRace')]
0009  SETTABLE  R2[K5('ActivityTokenPropertyType')] = R3
0010  GETTABUP  R3 = _ENV[K8('EEventType')]
0011  GETTABLE  R3 = R3[K9('UpgradeRaceActivityStateChanged')]
0012  SETTABLE  R2[K7('StateChangedEvent')] = R3
0013  GETTABUP  R3 = _ENV[K8('EEventType')]
0014  GETTABLE  R3 = R3[K11('UpgradeRaceActivityFail')]
0015  SETTABLE  R2[K10('FailEvent')] = R3
0016  GETTABUP  R3 = _ENV[K8('EEventType')]
0017  GETTABLE  R3 = R3[K13('UpgradeRaceActivityMainWindowOpened')]
0018  SETTABLE  R2[K12('MainWindowOpenedEvent')] = R3
0019  GETTABUP  R3 = _ENV[K8('EEventType')]
0020  GETTABLE  R3 = R3[K15('UpgradeRaceActivityMainWindowClosed')]
0021  SETTABLE  R2[K14('MainWindowClosedEvent')] = R3
0022  GETTABUP  R3 = _ENV[K8('EEventType')]
0023  GETTABLE  R3 = R3[K17('UpgradeRaceActivityMainWindowAnimationEnd')]
0024  SETTABLE  R2[K16('MainWindowAnimationEndEvent')] = R3
0025  GETTABUP  R3 = _ENV[K8('EEventType')]
0026  GETTABLE  R3 = R3[K19('UpgradeRaceMainWindowOpenedAtEventEnded')]
0027  SETTABLE  R2[K18('MainWindowOpenedAtEventEndedEvent')] = R3
0028  GETTABUP  R3 = _ENV[K8('EEventType')]
0029  GETTABLE  R3 = R3[K21('UpgradeRaceHelpWindowClosed')]
0030  SETTABLE  R2[K20('HelpWindowClosedEvent')] = R3
0031  GETTABUP  R3 = _ENV[K23('EBIType')]
0032  GETTABLE  R3 = R3[K24('UpgradeRaceSignUp')]
0033  SETTABLE  R2[K22('SignupBIType')] = R3
0034  GETTABUP  R3 = _ENV[K23('EBIType')]
0035  GETTABLE  R3 = R3[K26('UpgradeRaceReward')]
0036  SETTABLE  R2[K25('RewardBIType')] = R3
0037  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0038  GETTABLE  R3 = R3[K29('UpgradeRaceActivityMainEntry')]
0039  SETTABLE  R2[K27('MainEntryPrefabName')] = R3
0040  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0041  GETTABLE  R3 = R3[K31('UpgradeRaceActivityBoardEntry')]
0042  SETTABLE  R2[K30('BoardEntryPrefabName')] = R3
0043  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0044  GETTABLE  R3 = R3[K33('UpgradeRaceActivityMainWindow')]
0045  SETTABLE  R2[K32('MainWindowPrefabName')] = R3
0046  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0047  GETTABLE  R3 = R3[K35('UpgradeRaceActivityStartWindow')]
0048  SETTABLE  R2[K34('StartWindowPrefabName')] = R3
0049  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0050  GETTABLE  R3 = R3[K37('UpgradeRaceActivityRewardWindow')]
0051  SETTABLE  R2[K36('RewardWindowPrefabName')] = R3
0052  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0053  GETTABLE  R3 = R3[K39('UpgradeRaceActivityHelpWindow')]
0054  SETTABLE  R2[K38('HelpWindowPrefabName')] = R3
0055  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0056  GETTABLE  R3 = R3[K41('UpgradeRaceActivityNewRoundWindowSmall')]
0057  SETTABLE  R2[K40('NewRoundWindowSmallPrefabName')] = R3
0058  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0059  GETTABLE  R3 = R3[K43('UpgradeRaceActivityNewRoundWindowLarge')]
0060  SETTABLE  R2[K42('NewRoundWindowLargePrefabName')] = R3
0061  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0062  GETTABLE  R3 = R3[K45('UpgradeRaceActivityFailWindow')]
0063  SETTABLE  R2[K44('FailWindowPrefabName')] = R3
0064  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0065  GETTABLE  R3 = R3[K47('UpgradeRaceActivityFinishFailWindow')]
0066  SETTABLE  R2[K46('FinishFailWindowPrefabName')] = R3
0067  GETTABUP  R3 = _ENV[K28('UIPrefabConfigName')]
0068  GETTABLE  R3 = R3[K49('UpgradeRaceActivityFinishSuccessWindow')]
0069  SETTABLE  R2[K48('FinishSuccessWindowPrefabName')] = R3
0070  GETTABUP  R3 = _ENV[K51('ImageFileConfigName')]
0071  GETTABLE  R3 = R3[K52('common_icon_ship')]
0072  SETTABLE  R2[K50('ActivityTokenIconName')] = R3
0073  GETTABUP  R3 = _ENV[K54('ESceneViewHudButtonKey')]
0074  GETTABLE  R3 = R3[K2('UpgradeRace')]
0075  SETTABLE  R2[K53('EntryButtonKey')] = R3
0076  GETTABUP  R3 = _ENV[K56('ETutorialStartCondition')]
0077  GETTABLE  R3 = R3[K57('UpgradeRaceStart')]
0078  SETTABLE  R2[K55('TutorialStartCondition')] = R3
0079  NEWTABLE  R3 = {} (3 items)
0080  NEWTABLE  R4 = {} (0 items)
0081  SETTABLE  R4[K59('PlayerNumber')] = K60(5)
0082  SETTABLE  R4[K61('SuccessPlayerNumber')] = K62(3)
0083  SETTABLE  R4[K63('SelfTrack')] = K62(3)
0084  SETTABLE  R4[K64('MainWindowTitleOutlineColor')] = K65('0F47B3')
0085  SETTABLE  R4[K66('TrackOffsetY')] = K67(0)
0086  NEWTABLE  R5 = {} (0 items)
0087  SETTABLE  R5[K59('PlayerNumber')] = K62(3)
0088  SETTABLE  R5[K61('SuccessPlayerNumber')] = K68(2)
0089  SETTABLE  R5[K63('SelfTrack')] = K68(2)
0090  SETTABLE  R5[K64('MainWindowTitleOutlineColor')] = K69('B13E00')
0091  SETTABLE  R5[K66('TrackOffsetY')] = K70(160)
0092  NEWTABLE  R6 = {} (0 items)
0093  SETTABLE  R6[K59('PlayerNumber')] = K68(2)
0094  SETTABLE  R6[K61('SuccessPlayerNumber')] = K71(1)
0095  SETTABLE  R6[K63('SelfTrack')] = K71(1)
0096  SETTABLE  R6[K64('MainWindowTitleOutlineColor')] = K72('5F0CB1')
0097  SETTABLE  R6[K66('TrackOffsetY')] = K73(240)
0098  SETLIST   setlist R3[B=1,C=3]
0099  SETTABLE  R2[K58('RoundDefinition')] = R3
0100  NEWTABLE  R3 = {} (1 items)
0101  GETTABUP  R4 = _ENV[K75('AddressableLabel')]
0102  GETTABLE  R4 = R4[K2('UpgradeRace')]
0103  SETLIST   setlist R3[B=1,C=1]
0104  SETTABLE  R2[K74('ResourceLabels')] = R3
0105  SETTABLE  R0[R1] = R2
0106  SETTABUP  _ENV[K0('UpgradeRaceActivityDefinition')] = R0
0107  GETTABUP  R0 = _ENV[K76('pairs')]
0108  GETTABUP  R1 = _ENV[K0('UpgradeRaceActivityDefinition')]
0109  CALL      R0 = call(R0, 3 args, 1 rets)
0110  JMP       (jump)   -> 122
0111  GETTABUP  R5 = _ENV[K77('EPropertySprite')]
0112  GETTABLE  R6 = R4[K5('ActivityTokenPropertyType')]
0113  GETTABLE  R7 = R4[K50('ActivityTokenIconName')]
0114  SETTABLE  R5[R6] = R7
0115  GETTABUP  R5 = _ENV[K78('EPropertySpriteBig')]
0116  GETTABLE  R6 = R4[K5('ActivityTokenPropertyType')]
0117  GETTABLE  R7 = R4[K79('ActivityTokenIconNameBig')]
0118  TEST      if not R7 then   -> -130951
0119  JMP       (jump)   -> 121
0120  GETTABLE  R7 = R4[K50('ActivityTokenIconName')]
0121  SETTABLE  R5[R6] = R7
0122  TFORCALL  tforcall R0
0123  TFORLOOP  tforloop R2(sBx=-13)   -> 111
0124  RETURN    return R0..R-1
