# DoubleWheelActivity_Model_DoubleWheelActivityDefinition_1986.luac
; fn @DoubleWheelActivityDefinition.lua  line 0-0 np=0 va=1 ms=8 code=98 consts=60 upvals=1 protos=0
;   K[0]='DoubleWheelActivityDefinition'
;   K[1]='ActivityType'
;   K[2]='DoubleWheel'
;   K[3]='ActivityDataTableName'
;   K[4]='VirtualDBTableName'
;   K[5]='StateChangedEvent'
;   K[6]='EEventType'
;   K[7]='DoubleWheelActivityStateChanged'
;   K[8]='RefreshEntryEvent'
;   K[9]='DoubleWheelActivityRefreshEntry'
;   K[10]='PurchaseSuccessEvent'
;   K[11]='DoubleWheelActivityPurchaseSuccess'
;   K[12]='ScoreChangedEvent'
;   K[13]='DoubleWheelActivityScoreChanged'
;   K[14]='WheelUpgradedEvent'
;   K[15]='DoubleWheelActivityWheelUpgraded'
;   K[16]='MainWindowOpenedEvent'
;   K[17]='DoubleWheelActivityMainWindowOpened'
;   K[18]='MainWindowAnimationEndEvent'
;   K[19]='DoubleWheelActivityMainWindowAnimationEnd'
;   K[20]='MainWindowStartSpinEvent'
;   K[21]='DoubleWheelActivityMainWindowStartSpin'
;   K[22]='MainWindowSpinEndEvent'
;   K[23]='DoubleWheelActivityMainWindowSpinEnd'
;   K[24]='MainWindowUnlockButtonClickedEvent'
;   K[25]='DoubleWheelActivityMainWindowUnlockButtonClicked'
;   K[26]='MainWindowClosedEvent'
;   K[27]='DoubleWheelActivityMainWindowClosed'
;   K[28]='ActivityTokenPropertyType'
;   K[29]='EPropertyType'
;   K[30]='DoubleWheelToken'
;   K[31]='EntryPrefabName'
;   K[32]='UIPrefabConfigName'
;   K[33]='DoubleWheelActivityMainEntry'
;   K[34]='CollectEntryPrefabName'
;   K[35]='DoubleWheelActivityCollectEntry'
;   K[36]='MainWindowPrefabName'
;   K[37]='DoubleWheelActivityMainWindow'
;   K[38]='PurchaseWindowPrefabName'
;   K[39]='DoubleWheelActivityPurchaseWindow'
;   K[40]='HelpWindowPrefabName'
;   K[41]='DoubleWheelActivityHelpWindow'
;   K[42]='TwoButtonWindowPrefabName'
;   K[43]='DoubleWheelActivityTwoButtonWindow'
;   K[44]='PromptPrefabName'
;   K[45]='SpecialPromptPrefabName'
;   K[46]='EntryButtonKey'
;   K[47]='ESceneViewHudButtonKey'
;   K[48]='ActivityTokenIconName'
;   K[49]='ImageFileConfigName'
;   K[50]='icon_pearl'
;   K[51]='TutorialStartCondition'
;   K[52]='ETutorialStartCondition'
;   K[53]='DoubleWheelStart'
;   K[54]='ResourceLabels'
;   K[55]='AddressableLabel'
;   K[56]='pairs'
;   K[57]='EPropertySprite'
;   K[58]='EPropertySpriteBig'
;   K[59]='ActivityTokenIconNameBig'
;   upvals: _ENV
;   locals: (for generator)(83-97), (for state)(83-97), (for control)(83-97), activityType(84-95), activityDefinition(84-95)
0000  NEWTABLE  R0 = {} (0 items)
0001  GETTABUP  R1 = _ENV[K1('ActivityType')]
0002  GETTABLE  R1 = R1[K2('DoubleWheel')]
0003  NEWTABLE  R2 = {} (0 items)
0004  GETTABUP  R3 = _ENV[K4('VirtualDBTableName')]
0005  GETTABLE  R3 = R3[K2('DoubleWheel')]
0006  SETTABLE  R2[K3('ActivityDataTableName')] = R3
0007  GETTABUP  R3 = _ENV[K6('EEventType')]
0008  GETTABLE  R3 = R3[K7('DoubleWheelActivityStateChanged')]
0009  SETTABLE  R2[K5('StateChangedEvent')] = R3
0010  GETTABUP  R3 = _ENV[K6('EEventType')]
0011  GETTABLE  R3 = R3[K9('DoubleWheelActivityRefreshEntry')]
0012  SETTABLE  R2[K8('RefreshEntryEvent')] = R3
0013  GETTABUP  R3 = _ENV[K6('EEventType')]
0014  GETTABLE  R3 = R3[K11('DoubleWheelActivityPurchaseSuccess')]
0015  SETTABLE  R2[K10('PurchaseSuccessEvent')] = R3
0016  GETTABUP  R3 = _ENV[K6('EEventType')]
0017  GETTABLE  R3 = R3[K13('DoubleWheelActivityScoreChanged')]
0018  SETTABLE  R2[K12('ScoreChangedEvent')] = R3
0019  GETTABUP  R3 = _ENV[K6('EEventType')]
0020  GETTABLE  R3 = R3[K15('DoubleWheelActivityWheelUpgraded')]
0021  SETTABLE  R2[K14('WheelUpgradedEvent')] = R3
0022  GETTABUP  R3 = _ENV[K6('EEventType')]
0023  GETTABLE  R3 = R3[K17('DoubleWheelActivityMainWindowOpened')]
0024  SETTABLE  R2[K16('MainWindowOpenedEvent')] = R3
0025  GETTABUP  R3 = _ENV[K6('EEventType')]
0026  GETTABLE  R3 = R3[K19('DoubleWheelActivityMainWindowAnimationEnd')]
0027  SETTABLE  R2[K18('MainWindowAnimationEndEvent')] = R3
0028  GETTABUP  R3 = _ENV[K6('EEventType')]
0029  GETTABLE  R3 = R3[K21('DoubleWheelActivityMainWindowStartSpin')]
0030  SETTABLE  R2[K20('MainWindowStartSpinEvent')] = R3
0031  GETTABUP  R3 = _ENV[K6('EEventType')]
0032  GETTABLE  R3 = R3[K23('DoubleWheelActivityMainWindowSpinEnd')]
0033  SETTABLE  R2[K22('MainWindowSpinEndEvent')] = R3
0034  GETTABUP  R3 = _ENV[K6('EEventType')]
0035  GETTABLE  R3 = R3[K25('DoubleWheelActivityMainWindowUnlockButtonClicked')]
0036  SETTABLE  R2[K24('MainWindowUnlockButtonClickedEvent')] = R3
0037  GETTABUP  R3 = _ENV[K6('EEventType')]
0038  GETTABLE  R3 = R3[K27('DoubleWheelActivityMainWindowClosed')]
0039  SETTABLE  R2[K26('MainWindowClosedEvent')] = R3
0040  GETTABUP  R3 = _ENV[K29('EPropertyType')]
0041  GETTABLE  R3 = R3[K30('DoubleWheelToken')]
0042  SETTABLE  R2[K28('ActivityTokenPropertyType')] = R3
0043  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0044  GETTABLE  R3 = R3[K33('DoubleWheelActivityMainEntry')]
0045  SETTABLE  R2[K31('EntryPrefabName')] = R3
0046  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0047  GETTABLE  R3 = R3[K35('DoubleWheelActivityCollectEntry')]
0048  SETTABLE  R2[K34('CollectEntryPrefabName')] = R3
0049  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0050  GETTABLE  R3 = R3[K37('DoubleWheelActivityMainWindow')]
0051  SETTABLE  R2[K36('MainWindowPrefabName')] = R3
0052  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0053  GETTABLE  R3 = R3[K39('DoubleWheelActivityPurchaseWindow')]
0054  SETTABLE  R2[K38('PurchaseWindowPrefabName')] = R3
0055  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0056  GETTABLE  R3 = R3[K41('DoubleWheelActivityHelpWindow')]
0057  SETTABLE  R2[K40('HelpWindowPrefabName')] = R3
0058  GETTABUP  R3 = _ENV[K32('UIPrefabConfigName')]
0059  GETTABLE  R3 = R3[K43('DoubleWheelActivityTwoButtonWindow')]
0060  SETTABLE  R2[K42('TwoButtonWindowPrefabName')] = R3
0061  GETTABUP  R3 = _ENV[K45('SpecialPromptPrefabName')]
0062  GETTABLE  R3 = R3[K2('DoubleWheel')]
0063  SETTABLE  R2[K44('PromptPrefabName')] = R3
0064  GETTABUP  R3 = _ENV[K47('ESceneViewHudButtonKey')]
0065  GETTABLE  R3 = R3[K2('DoubleWheel')]
0066  SETTABLE  R2[K46('EntryButtonKey')] = R3
0067  GETTABUP  R3 = _ENV[K49('ImageFileConfigName')]
0068  GETTABLE  R3 = R3[K50('icon_pearl')]
0069  SETTABLE  R2[K48('ActivityTokenIconName')] = R3
0070  GETTABUP  R3 = _ENV[K52('ETutorialStartCondition')]
0071  GETTABLE  R3 = R3[K53('DoubleWheelStart')]
0072  SETTABLE  R2[K51('TutorialStartCondition')] = R3
0073  NEWTABLE  R3 = {} (1 items)
0074  GETTABUP  R4 = _ENV[K55('AddressableLabel')]
0075  GETTABLE  R4 = R4[K2('DoubleWheel')]
0076  SETLIST   setlist R3[B=1,C=1]
0077  SETTABLE  R2[K54('ResourceLabels')] = R3
0078  SETTABLE  R0[R1] = R2
0079  SETTABUP  _ENV[K0('DoubleWheelActivityDefinition')] = R0
0080  GETTABUP  R0 = _ENV[K56('pairs')]
0081  GETTABUP  R1 = _ENV[K0('DoubleWheelActivityDefinition')]
0082  CALL      R0 = call(R0, 3 args, 1 rets)
0083  JMP       (jump)   -> 95
0084  GETTABUP  R5 = _ENV[K57('EPropertySprite')]
0085  GETTABLE  R6 = R4[K28('ActivityTokenPropertyType')]
0086  GETTABLE  R7 = R4[K48('ActivityTokenIconName')]
0087  SETTABLE  R5[R6] = R7
0088  GETTABUP  R5 = _ENV[K58('EPropertySpriteBig')]
0089  GETTABLE  R6 = R4[K28('ActivityTokenPropertyType')]
0090  GETTABLE  R7 = R4[K59('ActivityTokenIconNameBig')]
0091  TEST      if not R7 then   -> -130978
0092  JMP       (jump)   -> 94
0093  GETTABLE  R7 = R4[K48('ActivityTokenIconName')]
0094  SETTABLE  R5[R6] = R7
0095  TFORCALL  tforcall R0
0096  TFORLOOP  tforloop R2(sBx=-13)   -> 84
0097  RETURN    return R0..R-1
