# FrameDecoActivity_View_FrameDecoActivityFrameRewardWindow_1744.luac
; fn @FrameDecoActivityFrameRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=32 consts=14 upvals=1 protos=6
;   K[0]='FrameDecoActivityRewardWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=false
;   K[4]='hideHudAnchorType'
;   K[5]='RewardWindow'
;   K[6]='__index'
;   K[7]='Show'
;   K[8]='Init'
;   K[9]='LoadFrame'
;   K[10]='OnClickContinue'
;   K[11]='OnShowFrameAnimationEnd'
;   K[12]='OnClickClaim'
;   K[13]='OnCloseView'
;   upvals: _ENV
;   locals: EAnimatorParameterKey(13-32)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(false)
0003  NEWTABLE  R2 = {} (0 items)
0004  SETTABLE  R1[K4('hideHudAnchorType')] = R2
0005  GETTABUP  R2 = _ENV[K5('RewardWindow')]
0006  CALL      R0 = call(R0, 1 args, 2 rets)
0007  SETTABUP  _ENV[K0('FrameDecoActivityRewardWindow')] = R0
0008  GETTABUP  R0 = _ENV[K0('FrameDecoActivityRewardWindow')]
0009  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0010  SETTABLE  R0[K6('__index')] = R1
0011  NEWTABLE  R0 = {} (0 items)
0012  SETTABLE  R0[K7('Show')] = K7('Show')
0013  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0014  CLOSURE   R2 = closure proto0
0015  SETTABLE  R1[K8('Init')] = R2
0016  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0017  CLOSURE   R2 = closure proto1
0018  SETTABLE  R1[K9('LoadFrame')] = R2
0019  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0020  CLOSURE   R2 = closure proto2
0021  SETTABLE  R1[K10('OnClickContinue')] = R2
0022  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0023  CLOSURE   R2 = closure proto3
0024  SETTABLE  R1[K11('OnShowFrameAnimationEnd')] = R2
0025  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0026  CLOSURE   R2 = closure proto4
0027  SETTABLE  R1[K12('OnClickClaim')] = R2
0028  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardWindow')]
0029  CLOSURE   R2 = closure proto5
0030  SETTABLE  R1[K13('OnCloseView')] = R2
0031  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 19-24 np=1 va=1 ms=4 code=20 consts=8 upvals=1 protos=0
  ;   K[0]='RewardWindow'
  ;   K[1]='Init'
  ;   K[2]='GM'
  ;   K[3]='SceneManager'
  ;   K[4]='GetGameMode'
  ;   K[5]='EGameMode'
  ;   K[6]='Main'
  ;   K[7]='ChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  0000  GETTABUP  R1 = _ENV[K0('RewardWindow')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABUP  R1 = _ENV[K2('GM')]
  0006  GETTABLE  R1 = R1[K3('SceneManager')]
  0007  SELF      R2 = R1[K4('GetGameMode')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABUP  R2 = _ENV[K5('EGameMode')]
  0010  GETTABLE  R2 = R2[K6('Main')]
  0011  EQ        if R1 eq R2   -> -130545
  0012  JMP       (jump)   -> 19
  0013  GETTABUP  R1 = _ENV[K2('GM')]
  0014  GETTABLE  R1 = R1[K3('SceneManager')]
  0015  SELF      R2 = R1[K7('ChangeGameMode')] (self)
  0016  GETTABUP  R3 = _ENV[K5('EGameMode')]
  0017  GETTABLE  R3 = R3[K6('Main')]
  0018  CALL      R1 = call(R1, 0 args, 2 rets)
  0019  RETURN    return R0..R-1
; ---------- proto1 [LoadFrame] ----------
  ; fn ?  line 30-48 np=6 va=0 ms=13 code=36 consts=23 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='m_id'
  ;   K[2]='m_frameId'
  ;   K[3]='m_bLastChance'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='SetEventLock'
  ;   K[7]='DataResource'
  ;   K[8]='UIPrefabConfig'
  ;   K[9]='GetConfig'
  ;   K[10]='UIPrefabConfigName'
  ;   K[11]='string'
  ;   K[12]='format'
  ;   K[13]='%s_transform_reward'
  ;   K[14]='ResourceLoader'
  ;   K[15]='LoadPrefab'
  ;   K[16]='m_transformAnimationViewRoot'
  ;   K[17]='V3Zero'
  ;   K[18]='GM'
  ;   K[19]='AudioModel'
  ;   K[20]='PlayEffect'
  ;   K[21]='AudioFileConfigName'
  ;   K[22]='SfxPkRaceActivityFinish1'
  ;   upvals: _ENV
  ;   locals: self(0-36), frameId(0-36), frameDecoView(0-36), model(0-36), id(0-36), bLastChance(0-36), res(21-36)
  0000  SETTABLE  R0[K0('m_model')] = R3
  0001  SETTABLE  R0[K1('m_id')] = R4
  0002  SETTABLE  R0[K2('m_frameId')] = R1
  0003  SETTABLE  R0[K3('m_bLastChance')] = R5
  0004  GETTABUP  R6 = _ENV[K4('GM')]
  0005  GETTABLE  R6 = R6[K5('UIManager')]
  0006  SELF      R7 = R6[K6('SetEventLock')] (self)
  0007  LOADBOOL  R8 = true
  0008  CALL      R6 = call(R6, 0 args, 2 rets)
  0009  GETTABUP  R6 = _ENV[K4('GM')]
  0010  GETTABLE  R6 = R6[K7('DataResource')]
  0011  GETTABLE  R6 = R6[K8('UIPrefabConfig')]
  0012  SELF      R7 = R6[K9('GetConfig')] (self)
  0013  GETTABUP  R8 = _ENV[K10('UIPrefabConfigName')]
  0014  GETTABUP  R9 = _ENV[K11('string')]
  0015  GETTABLE  R9 = R9[K12('format')]
  0016  LOADK     R10 = K13 '%s_transform_reward'
  0017  MOVE      R11 = R0
  0018  CALL      R9 = call(R9, 1 args, 2 rets)
  0019  GETTABLE  R8 = R8[R9]
  0020  CALL      R6 = call(R6, 1 args, 2 rets)
  0021  GETTABUP  R7 = _ENV[K4('GM')]
  0022  GETTABLE  R7 = R7[K14('ResourceLoader')]
  0023  SELF      R8 = R7[K15('LoadPrefab')] (self)
  0024  MOVE      R9 = R0
  0025  GETTABLE  R10 = R0[K16('m_transformAnimationViewRoot')]
  0026  GETTABUP  R11 = _ENV[K17('V3Zero')]
  0027  CLOSURE   R12 = closure proto0
  0028  CALL      R7 = call(R7, 0 args, 5 rets)
  0029  GETTABUP  R7 = _ENV[K18('GM')]
  0030  GETTABLE  R7 = R7[K19('AudioModel')]
  0031  SELF      R8 = R7[K20('PlayEffect')] (self)
  0032  GETTABUP  R9 = _ENV[K21('AudioFileConfigName')]
  0033  GETTABLE  R9 = R9[K22('SfxPkRaceActivityFinish1')]
  0034  CALL      R7 = call(R7, 0 args, 2 rets)
  0035  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 38-45 np=1 va=0 ms=5 code=18 consts=7 upvals=4 protos=1
    ;   K[0]='m_transformAnimationView'
    ;   K[1]='GetLuaTable'
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='Init'
    ;   K[6]='SetOnShowFrameAnimationEndCallback'
    ;   upvals: self, _ENV, frameId, frameDecoView
    ;   locals: go(0-18)
    0000  SELF      R2 = R0[K1('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SETTABUP  self[K0('m_transformAnimationView')] = R1
    0003  GETTABUP  R1 = _ENV[K2('GM')]
    0004  GETTABLE  R1 = R1[K3('UIManager')]
    0005  SELF      R2 = R1[K4('SetEventLock')] (self)
    0006  LOADBOOL  R3 = false
    0007  CALL      R1 = call(R1, 0 args, 2 rets)
    0008  GETTABUP  R1 = self[K0('m_transformAnimationView')]
    0009  SELF      R2 = R1[K5('Init')] (self)
    0010  GETUPVAL  R3 = self
    0011  GETUPVAL  R4 = self
    0012  CALL      R1 = call(R1, 0 args, 3 rets)
    0013  GETTABUP  R1 = self[K0('m_transformAnimationView')]
    0014  SELF      R2 = R1[K6('SetOnShowFrameAnimationEndCallback')] (self)
    0015  CLOSURE   R3 = closure proto0
    0016  CALL      R1 = call(R1, 0 args, 2 rets)
    0017  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 42-44 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
      ;   K[0]='OnShowFrameAnimationEnd'
      ;   upvals: self
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('OnShowFrameAnimationEnd')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  RETURN    return R0..R-1
; ---------- proto2 [OnClickContinue] ----------
  ; fn ?  line 50-57 np=1 va=0 ms=5 code=27 consts=18 upvals=2 protos=0
  ;   K[0]='m_transformAnimationView'
  ;   K[1]='GetAnimator'
  ;   K[2]='SetBool'
  ;   K[3]='Show'
  ;   K[4]='m_rewardContent'
  ;   K[5]='PlayRewardAnimation'
  ;   K[6]='m_bLockEventDuringAnimation'
  ;   K[7]='m_bPlayRewardAnimation'
  ;   K[8]=false
  ;   K[9]='UIUtil'
  ;   K[10]='SetActive'
  ;   K[11]='m_continueGo'
  ;   K[12]='GM'
  ;   K[13]='UIManager'
  ;   K[14]='SetEventLock'
  ;   K[15]='m_winAnimator'
  ;   K[16]='SetTrigger'
  ;   K[17]='continue'
  ;   upvals: EAnimatorParameterKey, _ENV
  ;   locals: self(0-27)
  0000  GETTABLE  R1 = R0[K0('m_transformAnimationView')]
  0001  SELF      R2 = R1[K1('GetAnimator')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  SELF      R2 = R1[K2('SetBool')] (self)
  0004  GETTABUP  R3 = EAnimatorParameterKey[K3('Show')]
  0005  LOADBOOL  R4 = true
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABLE  R1 = R0[K4('m_rewardContent')]
  0008  SELF      R2 = R1[K5('PlayRewardAnimation')] (self)
  0009  GETTABLE  R3 = R0[K6('m_bLockEventDuringAnimation')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  SETTABLE  R0[K7('m_bPlayRewardAnimation')] = K8(false)
  0012  GETTABUP  R1 = _ENV[K9('UIUtil')]
  0013  GETTABLE  R1 = R1[K10('SetActive')]
  0014  GETTABLE  R2 = R0[K11('m_continueGo')]
  0015  LOADBOOL  R3 = false
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  GETTABUP  R1 = _ENV[K12('GM')]
  0018  GETTABLE  R1 = R1[K13('UIManager')]
  0019  SELF      R2 = R1[K14('SetEventLock')] (self)
  0020  LOADBOOL  R3 = true
  0021  CALL      R1 = call(R1, 0 args, 2 rets)
  0022  GETTABLE  R1 = R0[K15('m_winAnimator')]
  0023  SELF      R2 = R1[K16('SetTrigger')] (self)
  0024  LOADK     R3 = K17 'continue'
  0025  CALL      R1 = call(R1, 0 args, 2 rets)
  0026  RETURN    return R0..R-1
; ---------- proto3 [OnShowFrameAnimationEnd] ----------
  ; fn ?  line 59-61 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='SetEventLock'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('SetEventLock')] (self)
  0003  LOADBOOL  R3 = false
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto4 [OnClickClaim] ----------
  ; fn ?  line 63-65 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='Close'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto5 [OnCloseView] ----------
  ; fn ?  line 67-121 np=1 va=0 ms=24 code=84 consts=47 upvals=1 protos=2
  ;   K[0]='RewardWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_transformAnimationView'
  ;   K[3]='GetUserAvatar'
  ;   K[4]='gameObject'
  ;   K[5]='AddComponent'
  ;   K[6]='typeof'
  ;   K[7]='CS'
  ;   K[8]='UnityEngine'
  ;   K[9]='Canvas'
  ;   K[10]='overrideSorting'
  ;   K[11]=true
  ;   K[12]='sortingOrder'
  ;   K[13]='GetSortingOrder'
  ;   K[14]=1
  ;   K[15]='transform'
  ;   K[16]='SetParent'
  ;   K[17]='GM'
  ;   K[18]='UIManager'
  ;   K[19]='GetCanvasRoot'
  ;   K[20]=0.8
  ;   K[21]='V3Zero'
  ;   K[22]='TutorialHelper'
  ;   K[23]='GetHudButton'
  ;   K[24]='ESceneViewHudButtonKey'
  ;   K[25]='Avatar'
  ;   K[26]='position'
  ;   K[27]='z'
  ;   K[28]=0
  ;   K[29]='lossyScale'
  ;   K[30]='x'
  ;   K[31]=1.5
  ;   K[32]='DataResource'
  ;   K[33]='UIPrefabConfig'
  ;   K[34]='GetConfig'
  ;   K[35]='UIPrefabConfigName'
  ;   K[36]='string'
  ;   K[37]='format'
  ;   K[38]='effect_%s'
  ;   K[39]='m_frameId'
  ;   K[40]='ResourceLoader'
  ;   K[41]='LoadPrefab'
  ;   K[42]='GetScaleTrans'
  ;   K[43]='PropertyAnimationManager'
  ;   K[44]='PlayFlyGoAnimation'
  ;   K[45]='Ease'
  ;   K[46]='InExpo'
  ;   upvals: _ENV
  ;   locals: self(0-84), userAvatar(7-84), canvas(15-84), go(29-84), duration(30-84), targetPos(31-84), hudButton(36-84), fromScale(44-84), middleScale(45-84), targetScale(46-84), bLockEvent(47-84), bDisplay(48-84), res(60-84), hitEffectGo(61-84)
  0000  GETTABUP  R1 = _ENV[K0('RewardWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_transformAnimationView')]
  0005  SELF      R2 = R1[K3('GetUserAvatar')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABLE  R2 = R1[K4('gameObject')]
  0008  SELF      R3 = R2[K5('AddComponent')] (self)
  0009  GETTABUP  R4 = _ENV[K6('typeof')]
  0010  GETTABUP  R5 = _ENV[K7('CS')]
  0011  GETTABLE  R5 = R5[K8('UnityEngine')]
  0012  GETTABLE  R5 = R5[K9('Canvas')]
  0013  CALL      R4 = call(R4, -1 args, 1 rets)
  0014  CALL      R2 = call(R2, 1 args, -1 rets)
  0015  SETTABLE  R2[K10('overrideSorting')] = K11(true)
  0016  SELF      R4 = R0[K13('GetSortingOrder')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  ADD       R3 = K14(1) add R3
  0019  SETTABLE  R2[K12('sortingOrder')] = R3
  0020  GETTABLE  R3 = R1[K15('transform')]
  0021  SELF      R4 = R3[K16('SetParent')] (self)
  0022  GETTABUP  R5 = _ENV[K17('GM')]
  0023  GETTABLE  R5 = R5[K18('UIManager')]
  0024  SELF      R6 = R5[K19('GetCanvasRoot')] (self)
  0025  CALL      R5 = call(R5, 1 args, 1 rets)
  0026  LOADBOOL  R6 = true
  0027  CALL      R3 = call(R3, 0 args, 3 rets)
  0028  GETTABLE  R3 = R1[K4('gameObject')]
  0029  LOADK     R4 = K20 0.8
  0030  GETTABUP  R5 = _ENV[K21('V3Zero')]
  0031  GETTABUP  R6 = _ENV[K22('TutorialHelper')]
  0032  GETTABLE  R6 = R6[K23('GetHudButton')]
  0033  GETTABUP  R7 = _ENV[K24('ESceneViewHudButtonKey')]
  0034  GETTABLE  R7 = R7[K25('Avatar')]
  0035  CALL      R6 = call(R6, 1 args, 1 rets)
  0036  TEST      if not R6 then   -> -131034
  0037  JMP       (jump)   -> 41
  0038  GETTABLE  R7 = R6[K15('transform')]
  0039  GETTABLE  R5 = R7[K26('position')]
  0040  SETTABLE  R5[K27('z')] = K28(0)
  0041  GETTABLE  R7 = R3[K15('transform')]
  0042  GETTABLE  R7 = R7[K29('lossyScale')]
  0043  GETTABLE  R7 = R7[K30('x')]
  0044  MUL       R8 = K31(1.5) mul R7
  0045  LOADK     R9 = K14 1
  0046  LOADBOOL  R10 = true
  0047  LOADBOOL  R11 = false
  0048  GETTABUP  R12 = _ENV[K17('GM')]
  0049  GETTABLE  R12 = R12[K32('DataResource')]
  0050  GETTABLE  R12 = R12[K33('UIPrefabConfig')]
  0051  SELF      R13 = R12[K34('GetConfig')] (self)
  0052  GETTABUP  R14 = _ENV[K35('UIPrefabConfigName')]
  0053  GETTABUP  R15 = _ENV[K36('string')]
  0054  GETTABLE  R15 = R15[K37('format')]
  0055  LOADK     R16 = K38 'effect_%s'
  0056  GETTABLE  R17 = R0[K39('m_frameId')]
  0057  CALL      R15 = call(R15, 1 args, 2 rets)
  0058  GETTABLE  R14 = R14[R15]
  0059  CALL      R12 = call(R12, 1 args, 2 rets)
  0060  LOADNIL   R13..R13 = nil
  0061  GETTABUP  R14 = _ENV[K17('GM')]
  0062  GETTABLE  R14 = R14[K40('ResourceLoader')]
  0063  SELF      R15 = R14[K41('LoadPrefab')] (self)
  0064  MOVE      R16 = R0
  0065  SELF      R18 = R6[K42('GetScaleTrans')] (self)
  0066  CALL      R17 = call(R17, 1 args, 1 rets)
  0067  GETTABUP  R18 = _ENV[K21('V3Zero')]
  0068  CLOSURE   R19 = closure proto0
  0069  CALL      R14 = call(R14, 0 args, 5 rets)
  0070  GETTABUP  R14 = _ENV[K43('PropertyAnimationManager')]
  0071  GETTABLE  R14 = R14[K44('PlayFlyGoAnimation')]
  0072  MOVE      R15 = R0
  0073  MOVE      R16 = R0
  0074  MOVE      R17 = R0
  0075  MOVE      R18 = R0
  0076  MOVE      R19 = R0
  0077  MOVE      R20 = R0
  0078  MOVE      R21 = R0
  0079  CLOSURE   R22 = closure proto1
  0080  GETTABUP  R23 = _ENV[K45('Ease')]
  0081  GETTABLE  R23 = R23[K46('InExpo')]
  0082  CALL      R14 = call(R14, 0 args, 9 rets)
  0083  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 94-100 np=1 va=0 ms=6 code=17 consts=7 upvals=3 protos=0
    ;   K[0]='transform'
    ;   K[1]='localScale'
    ;   K[2]='Vector3'
    ;   K[3]=0.5
    ;   K[4]=1
    ;   K[5]='UIUtil'
    ;   K[6]='SetActive'
    ;   upvals: hitEffectGo, _ENV, bDisplay
    ;   locals: go(0-17)
    0000  SETUPVAL  hitEffectGo = R0
    0001  GETTABLE  R1 = R0[K0('transform')]
    0002  GETTABUP  R2 = _ENV[K2('Vector3')]
    0003  LOADK     R3 = K3 0.5
    0004  LOADK     R4 = K3 0.5
    0005  LOADK     R5 = K4 1
    0006  CALL      R2 = call(R2, 1 args, 3 rets)
    0007  SETTABLE  R1[K1('localScale')] = R2
    0008  GETUPVAL  R1 = hitEffectGo
    0009  TEST      if not R1 then   -> -131060
    0010  JMP       (jump)   -> 16
    0011  GETTABUP  R1 = _ENV[K5('UIUtil')]
    0012  GETTABLE  R1 = R1[K6('SetActive')]
    0013  MOVE      R2 = R0
    0014  LOADBOOL  R3 = false
    0015  CALL      R1 = call(R1, 0 args, 2 rets)
    0016  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 101-120 np=0 va=0 ms=3 code=30 consts=12 upvals=4 protos=1
    ;   K[0]='GM'
    ;   K[1]='UserProfileModel'
    ;   K[2]='RefreshDisplay'
    ;   K[3]='UIUtil'
    ;   K[4]='IsEmptyComponent'
    ;   K[5]='SetActive'
    ;   K[6]='UIManager'
    ;   K[7]='SetEventLock'
    ;   K[8]='PropertyAnimationManager'
    ;   K[9]='AddFlyingCount'
    ;   K[10]='DelayExecuteFunc'
    ;   K[11]=1.2
    ;   upvals: _ENV, hitEffectGo, bDisplay, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UserProfileModel')]
    0002  SELF      R1 = R0[K2('RefreshDisplay')] (self)
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  GETTABUP  R0 = _ENV[K3('UIUtil')]
    0005  GETTABLE  R0 = R0[K4('IsEmptyComponent')]
    0006  GETUPVAL  R1 = _ENV
    0007  CALL      R0 = call(R0, 1 args, 1 rets)
    0008  TEST      if not R0 then   -> -131061
    0009  JMP       (jump)   -> 15
    0010  GETTABUP  R0 = _ENV[K3('UIUtil')]
    0011  GETTABLE  R0 = R0[K5('SetActive')]
    0012  GETUPVAL  R1 = _ENV
    0013  LOADBOOL  R2 = true
    0014  CALL      R0 = call(R0, 0 args, 2 rets)
    0015  LOADBOOL  R0 = true
    0016  SETUPVAL  _ENV = R0
    0017  GETTABUP  R0 = _ENV[K0('GM')]
    0018  GETTABLE  R0 = R0[K6('UIManager')]
    0019  SELF      R1 = R0[K7('SetEventLock')] (self)
    0020  LOADBOOL  R2 = true
    0021  CALL      R0 = call(R0, 0 args, 2 rets)
    0022  GETTABUP  R0 = _ENV[K8('PropertyAnimationManager')]
    0023  GETTABLE  R0 = R0[K9('AddFlyingCount')]
    0024  CALL      R0 = call(R0, 0 args, 0 rets)
    0025  GETTABUP  R0 = _ENV[K10('DelayExecuteFunc')]
    0026  CLOSURE   R1 = closure proto0
    0027  LOADK     R2 = K11 1.2
    0028  CALL      R0 = call(R0, 0 args, 2 rets)
    0029  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 111-119 np=0 va=0 ms=4 code=42 consts=16 upvals=2 protos=0
      ;   K[0]='GM'
      ;   K[1]='UIManager'
      ;   K[2]='SetEventLock'
      ;   K[3]='PropertyAnimationManager'
      ;   K[4]='RemoveFlyingCount'
      ;   K[5]='m_bLastChance'
      ;   K[6]='m_id'
      ;   K[7]='m_model'
      ;   K[8]='GetId'
      ;   K[9]='GetState'
      ;   K[10]='ActivityState'
      ;   K[11]='Ended'
      ;   K[12]='HasClaimedAllRewards'
      ;   K[13]='CanClaimRewardsInStage'
      ;   K[14]='GetCurrentStage'
      ;   K[15]='OpenMainWindow'
      ;   upvals: _ENV, self
      0000  GETTABUP  R0 = _ENV[K0('GM')]
      0001  GETTABLE  R0 = R0[K1('UIManager')]
      0002  SELF      R1 = R0[K2('SetEventLock')] (self)
      0003  LOADBOOL  R2 = false
      0004  CALL      R0 = call(R0, 0 args, 2 rets)
      0005  GETTABUP  R0 = _ENV[K3('PropertyAnimationManager')]
      0006  GETTABLE  R0 = R0[K4('RemoveFlyingCount')]
      0007  CALL      R0 = call(R0, 0 args, 0 rets)
      0008  GETTABUP  R0 = self[K5('m_bLastChance')]
      0009  TEST      if not R0 then   -> -131061
      0010  JMP       (jump)   -> 41
      0011  GETTABUP  R0 = self[K6('m_id')]
      0012  GETTABUP  R1 = self[K7('m_model')]
      0013  SELF      R2 = R1[K8('GetId')] (self)
      0014  CALL      R1 = call(R1, 1 args, 1 rets)
      0015  EQ        if R0 eq R1   -> -131054
      0016  JMP       (jump)   -> 41
      0017  GETTABUP  R0 = self[K7('m_model')]
      0018  SELF      R1 = R0[K9('GetState')] (self)
      0019  CALL      R0 = call(R0, 1 args, 1 rets)
      0020  GETTABUP  R1 = _ENV[K10('ActivityState')]
      0021  GETTABLE  R1 = R1[K11('Ended')]
      0022  EQ        if R0 eq R1   -> -131047
      0023  JMP       (jump)   -> 41
      0024  GETTABUP  R0 = self[K7('m_model')]
      0025  SELF      R1 = R0[K12('HasClaimedAllRewards')] (self)
      0026  CALL      R0 = call(R0, 1 args, 1 rets)
      0027  TEST      if not R0 then   -> -131042
      0028  JMP       (jump)   -> 41
      0029  GETTABUP  R0 = self[K7('m_model')]
      0030  SELF      R1 = R0[K13('CanClaimRewardsInStage')] (self)
      0031  GETTABUP  R2 = self[K7('m_model')]
      0032  SELF      R3 = R2[K14('GetCurrentStage')] (self)
      0033  CALL      R2 = call(R2, -1 args, 1 rets)
      0034  CALL      R0 = call(R0, 1 args, -1 rets)
      0035  TEST      if not R0 then   -> -131035
      0036  JMP       (jump)   -> 41
      0037  GETTABUP  R0 = self[K7('m_model')]
      0038  SELF      R1 = R0[K15('OpenMainWindow')] (self)
      0039  LOADBOOL  R2 = true
      0040  CALL      R0 = call(R0, 0 args, 2 rets)
      0041  RETURN    return R0..R-1
