# CookBoostActivity_View_CookBoostActivityAnimationWindow_1655.luac
; fn @CookBoostActivityAnimationWindow.lua  line 0-0 np=0 va=1 ms=3 code=35 consts=15 upvals=1 protos=8
;   K[0]='CookBoostActivityAnimationWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='m_bCloseWhenFinish'
;   K[5]='CookBoostActivityBaseWindow'
;   K[6]='__index'
;   K[7]='Init'
;   K[8]='OnDestroy'
;   K[9]='_InitModelData'
;   K[10]='_HideButton'
;   K[11]='_InitView'
;   K[12]='_SpeedUp'
;   K[13]='_OnProgressAnimationEnd'
;   K[14]='_PlayEntryAnimation'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  SETTABLE  R1[K4('m_bCloseWhenFinish')] = K3(false)
0004  GETTABUP  R2 = _ENV[K5('CookBoostActivityBaseWindow')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('CookBoostActivityAnimationWindow')] = R0
0007  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0008  GETTABUP  R1 = _ENV[K0('CookBoostActivityAnimationWindow')]
0009  SETTABLE  R0[K6('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K7('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K8('OnDestroy')] = R1
0016  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K9('_InitModelData')] = R1
0019  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K10('_HideButton')] = R1
0022  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K11('_InitView')] = R1
0025  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K12('_SpeedUp')] = R1
0028  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0029  CLOSURE   R1 = closure proto6
0030  SETTABLE  R0[K13('_OnProgressAnimationEnd')] = R1
0031  GETTABUP  R0 = _ENV[K0('CookBoostActivityAnimationWindow')]
0032  CLOSURE   R1 = closure proto7
0033  SETTABLE  R0[K14('_PlayEntryAnimation')] = R1
0034  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 28-37 np=4 va=0 ms=9 code=20 consts=8 upvals=1 protos=0
  ;   K[0]='CookBoostActivityBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='_HideButton'
  ;   K[3]='GetModel'
  ;   K[4]='TryTrigger'
  ;   K[5]='UpdatePerSecond'
  ;   K[6]='_InitModelData'
  ;   K[7]='_InitView'
  ;   upvals: _ENV
  ;   locals: self(0-20), activityType(0-20), id(0-20), bAutoPop(0-20)
  0000  GETTABUP  R4 = _ENV[K0('CookBoostActivityBaseWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  CALL      R4 = call(R4, 0 args, 4 rets)
  0007  SELF      R5 = R0[K2('_HideButton')] (self)
  0008  CALL      R4 = call(R4, 0 args, 1 rets)
  0009  SELF      R5 = R0[K3('GetModel')] (self)
  0010  CALL      R4 = call(R4, 1 args, 1 rets)
  0011  SELF      R5 = R4[K4('TryTrigger')] (self)
  0012  CALL      R4 = call(R4, 0 args, 1 rets)
  0013  SELF      R5 = R0[K5('UpdatePerSecond')] (self)
  0014  CALL      R4 = call(R4, 0 args, 1 rets)
  0015  SELF      R5 = R0[K6('_InitModelData')] (self)
  0016  CALL      R4 = call(R4, 0 args, 1 rets)
  0017  SELF      R5 = R0[K7('_InitView')] (self)
  0018  CALL      R4 = call(R4, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 39-48 np=1 va=0 ms=4 code=18 consts=8 upvals=1 protos=0
  ;   K[0]='CookBoostActivityBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='RemoveAllEventLocks'
  ;   K[5]='m_delayEntrySequence'
  ;   K[6]=nil
  ;   K[7]='m_animationTween'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABUP  R1 = _ENV[K0('CookBoostActivityBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('UIManager')]
  0006  SELF      R2 = R1[K4('RemoveAllEventLocks')] (self)
  0007  MOVE      R3 = R0
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABLE  R1 = R0[K5('m_delayEntrySequence')]
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 13
  0012  SETTABLE  R0[K5('m_delayEntrySequence')] = K6(nil)
  0013  GETTABLE  R1 = R0[K7('m_animationTween')]
  0014  TEST      if not R1 then   -> -131056
  0015  JMP       (jump)   -> 17
  0016  SETTABLE  R0[K7('m_animationTween')] = K6(nil)
  0017  RETURN    return R0..R-1
; ---------- proto2 [_InitModelData] ----------
  ; fn ?  line 50-58 np=1 va=0 ms=5 code=28 consts=10 upvals=1 protos=0
  ;   K[0]='GetModel'
  ;   K[1]='m_configIndex'
  ;   K[2]='GetConfigIndex'
  ;   K[3]='m_lastConfigIndex'
  ;   K[4]='GetLastConfigIndex'
  ;   K[5]=1
  ;   K[6]='math'
  ;   K[7]='max'
  ;   K[8]='m_maxConfigIndex'
  ;   K[9]='GetMaxRoundConfigIndex'
  ;   upvals: _ENV
  ;   locals: self(0-28), model(2-28)
  0000  SELF      R2 = R0[K0('GetModel')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  SELF      R3 = R1[K2('GetConfigIndex')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SETTABLE  R0[K1('m_configIndex')] = R2
  0005  SELF      R3 = R1[K4('GetLastConfigIndex')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_lastConfigIndex')] = R2
  0008  GETTABLE  R2 = R0[K3('m_lastConfigIndex')]
  0009  GETTABLE  R3 = R0[K1('m_configIndex')]
  0010  SUB       R3 = K5(1) sub R3
  0011  EQ        if R0 eq R3   -> -130032
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R2 = R0[K3('m_lastConfigIndex')]
  0014  TEST      if not R2 then   -> -131055
  0015  JMP       (jump)   -> 17
  0016  GETTABLE  R2 = R0[K1('m_configIndex')]
  0017  SETTABLE  R0[K3('m_lastConfigIndex')] = R2
  0018  GETTABUP  R2 = _ENV[K6('math')]
  0019  GETTABLE  R2 = R2[K7('max')]
  0020  GETTABLE  R3 = R0[K3('m_lastConfigIndex')]
  0021  LOADK     R4 = K5 1
  0022  CALL      R2 = call(R2, 1 args, 2 rets)
  0023  SETTABLE  R0[K3('m_lastConfigIndex')] = R2
  0024  SELF      R3 = R1[K9('GetMaxRoundConfigIndex')] (self)
  0025  CALL      R2 = call(R2, 1 args, 1 rets)
  0026  SETTABLE  R0[K8('m_maxConfigIndex')] = R2
  0027  RETURN    return R0..R-1
; ---------- proto3 [_HideButton] ----------
  ; fn ?  line 60-66 np=1 va=0 ms=4 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='TutorialHelper'
  ;   K[1]='GetHudButton'
  ;   K[2]='GetModel'
  ;   K[3]='GetActivityDefinition'
  ;   K[4]='EntryButtonKey'
  ;   K[5]=nil
  ;   K[6]='Hide'
  ;   upvals: _ENV
  ;   locals: self(0-13), targetButton(8-13)
  0000  GETTABUP  R1 = _ENV[K0('TutorialHelper')]
  0001  GETTABLE  R1 = R1[K1('GetHudButton')]
  0002  SELF      R3 = R0[K2('GetModel')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SELF      R3 = R2[K3('GetActivityDefinition')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  GETTABLE  R2 = R2[K4('EntryButtonKey')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  EQ        if R1 eq K5(nil)   -> -130289
  0009  JMP       (jump)   -> 12
  0010  SELF      R3 = R1[K6('Hide')] (self)
  0011  CALL      R2 = call(R2, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto4 [_InitView] ----------
  ; fn ?  line 68-93 np=1 va=0 ms=8 code=51 consts=23 upvals=1 protos=1
  ;   K[0]='m_descText'
  ;   K[1]='text'
  ;   K[2]='GM'
  ;   K[3]='GameTextModel'
  ;   K[4]='GetText'
  ;   K[5]='m_configIndex'
  ;   K[6]=1
  ;   K[7]='cookBoost_new_title'
  ;   K[8]='cookBoost_upgrade_title'
  ;   K[9]='m_pot'
  ;   K[10]='Init'
  ;   K[11]='m_lastConfigIndex'
  ;   K[12]='m_maxConfigIndex'
  ;   K[13]='m_configIndexProgress'
  ;   K[14]='DOTween'
  ;   K[15]='Sequence'
  ;   K[16]='AppendInterval'
  ;   K[17]=0.5
  ;   K[18]='AppendCallback'
  ;   K[19]='m_animationTween'
  ;   K[20]='UIManager'
  ;   K[21]='SetEventLock'
  ;   K[22]='_SpeedUp'
  ;   upvals: _ENV
  ;   locals: self(0-51), bIsUpgarde(28-51), sequence(36-51)
  0000  GETTABLE  R1 = R0[K0('m_descText')]
  0001  GETTABUP  R2 = _ENV[K2('GM')]
  0002  GETTABLE  R2 = R2[K3('GameTextModel')]
  0003  SELF      R3 = R2[K4('GetText')] (self)
  0004  GETTABLE  R4 = R0[K5('m_configIndex')]
  0005  EQ        if R0 eq K6(1)   -> -128755
  0006  JMP       (jump)   -> 10
  0007  LOADK     R4 = K7 'cookBoost_new_title'
  0008  TEST      if not R4 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R4 = K8 'cookBoost_upgrade_title'
  0011  CALL      R2 = call(R2, 1 args, 2 rets)
  0012  SETTABLE  R1[K1('text')] = R2
  0013  GETTABLE  R1 = R0[K9('m_pot')]
  0014  SELF      R2 = R1[K10('Init')] (self)
  0015  GETTABLE  R3 = R0[K11('m_lastConfigIndex')]
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  GETTABLE  R1 = R0[K11('m_lastConfigIndex')]
  0018  GETTABLE  R2 = R0[K5('m_configIndex')]
  0019  SUB       R2 = K6(1) sub R2
  0020  EQ        if R1 eq R2   -> -130536
  0021  JMP       (jump)   -> 27
  0022  GETTABLE  R1 = R0[K5('m_configIndex')]
  0023  GETTABLE  R2 = R0[K12('m_maxConfigIndex')]
  0024  EQ        if R1 eq R2   -> -130532
  0025  JMP       (jump)   -> 27
  0026  LOADBOOL  R1 = false
  0027  LOADBOOL  R1 = true
  0028  GETTABLE  R2 = R0[K13('m_configIndexProgress')]
  0029  SELF      R3 = R2[K10('Init')] (self)
  0030  GETTABLE  R4 = R0[K11('m_lastConfigIndex')]
  0031  MOVE      R5 = R0
  0032  CALL      R2 = call(R2, 0 args, 3 rets)
  0033  GETTABUP  R2 = _ENV[K14('DOTween')]
  0034  GETTABLE  R2 = R2[K15('Sequence')]
  0035  CALL      R2 = call(R2, 1 args, 0 rets)
  0036  SELF      R4 = R2[K16('AppendInterval')] (self)
  0037  LOADK     R5 = K17 0.5
  0038  CALL      R3 = call(R3, 0 args, 2 rets)
  0039  SELF      R4 = R2[K18('AppendCallback')] (self)
  0040  CLOSURE   R5 = closure proto0
  0041  CALL      R3 = call(R3, 0 args, 2 rets)
  0042  SETTABLE  R0[K19('m_animationTween')] = R2
  0043  GETTABUP  R3 = _ENV[K2('GM')]
  0044  GETTABLE  R3 = R3[K20('UIManager')]
  0045  SELF      R4 = R3[K21('SetEventLock')] (self)
  0046  LOADBOOL  R5 = true
  0047  MOVE      R6 = R0
  0048  GETTABLE  R7 = R0[K22('_SpeedUp')]
  0049  CALL      R3 = call(R3, 0 args, 4 rets)
  0050  RETURN    return R0..R-1
  ; ---------- proto0 [m_animationTween] ----------
    ; fn ?  line 77-89 np=0 va=0 ms=5 code=21 consts=11 upvals=3 protos=2
    ;   K[0]='m_animationTween'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='AudioModel'
    ;   K[4]='PlayEffect'
    ;   K[5]='AudioFileConfigName'
    ;   K[6]='land_on_board'
    ;   K[7]='m_configIndexProgress'
    ;   K[8]='Change'
    ;   K[9]='m_configIndex'
    ;   K[10]='_OnProgressAnimationEnd'
    ;   upvals: self, bIsUpgarde, _ENV
    0000  SETTABUP  self[K0('m_animationTween')] = K1(nil)
    0001  GETUPVAL  R0 = self
    0002  TEST      if not R0 then   -> -131068
    0003  JMP       (jump)   -> 17
    0004  GETTABUP  R0 = _ENV[K2('GM')]
    0005  GETTABLE  R0 = R0[K3('AudioModel')]
    0006  SELF      R1 = R0[K4('PlayEffect')] (self)
    0007  GETTABUP  R2 = _ENV[K5('AudioFileConfigName')]
    0008  GETTABLE  R2 = R2[K6('land_on_board')]
    0009  CALL      R0 = call(R0, 0 args, 2 rets)
    0010  GETTABUP  R0 = self[K7('m_configIndexProgress')]
    0011  SELF      R1 = R0[K8('Change')] (self)
    0012  GETTABUP  R2 = self[K9('m_configIndex')]
    0013  CLOSURE   R3 = closure proto0
    0014  CLOSURE   R4 = closure proto1
    0015  CALL      R0 = call(R0, 0 args, 4 rets)
    0016  JMP       (jump)   -> 20
    0017  GETUPVAL  R0 = self
    0018  SELF      R1 = R0[K10('_OnProgressAnimationEnd')] (self)
    0019  CALL      R0 = call(R0, 0 args, 1 rets)
    0020  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 81-83 np=0 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
      ;   K[0]='m_pot'
      ;   K[1]='Change'
      ;   K[2]='m_configIndex'
      ;   upvals: self
      0000  GETTABUP  R0 = self[K0('m_pot')]
      0001  SELF      R1 = R0[K1('Change')] (self)
      0002  GETTABUP  R2 = self[K2('m_configIndex')]
      0003  CALL      R0 = call(R0, 0 args, 2 rets)
      0004  RETURN    return R0..R-1
    ; ---------- proto1 [] ----------
      ; fn ?  line 83-85 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
      ;   K[0]='_OnProgressAnimationEnd'
      ;   upvals: self
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('_OnProgressAnimationEnd')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  RETURN    return R0..R-1
; ---------- proto5 [_SpeedUp] ----------
  ; fn ?  line 95-110 np=1 va=0 ms=4 code=24 consts=9 upvals=0 protos=0
  ;   K[0]='m_bSpeedUp'
  ;   K[1]=true
  ;   K[2]='m_animationTween'
  ;   K[3]='Complete'
  ;   K[4]=nil
  ;   K[5]='m_configIndexProgress'
  ;   K[6]='SpeedUp'
  ;   K[7]='m_pot'
  ;   K[8]='m_delayEntrySequence'
  ;   locals: self(0-24)
  0000  SETTABLE  R0[K0('m_bSpeedUp')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_animationTween')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 9
  0004  GETTABLE  R1 = R0[K2('m_animationTween')]
  0005  SELF      R2 = R1[K3('Complete')] (self)
  0006  LOADBOOL  R3 = true
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  SETTABLE  R0[K2('m_animationTween')] = K4(nil)
  0009  GETTABLE  R1 = R0[K5('m_configIndexProgress')]
  0010  SELF      R2 = R1[K6('SpeedUp')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABLE  R1 = R0[K7('m_pot')]
  0013  SELF      R2 = R1[K6('SpeedUp')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  GETTABLE  R1 = R0[K8('m_delayEntrySequence')]
  0016  TEST      if not R1 then   -> -131054
  0017  JMP       (jump)   -> 23
  0018  GETTABLE  R1 = R0[K8('m_delayEntrySequence')]
  0019  SELF      R2 = R1[K3('Complete')] (self)
  0020  LOADBOOL  R3 = true
  0021  CALL      R1 = call(R1, 0 args, 2 rets)
  0022  SETTABLE  R0[K8('m_delayEntrySequence')] = K4(nil)
  0023  RETURN    return R0..R-1
; ---------- proto6 [_OnProgressAnimationEnd] ----------
  ; fn ?  line 112-122 np=1 va=0 ms=5 code=11 consts=6 upvals=1 protos=1
  ;   K[0]='DOTween'
  ;   K[1]='Sequence'
  ;   K[2]='AppendInterval'
  ;   K[3]=1
  ;   K[4]='AppendCallback'
  ;   K[5]='m_delayEntrySequence'
  ;   upvals: _ENV
  ;   locals: self(0-11), sequence(3-11)
  0000  GETTABUP  R1 = _ENV[K0('DOTween')]
  0001  GETTABLE  R1 = R1[K1('Sequence')]
  0002  CALL      R1 = call(R1, 1 args, 0 rets)
  0003  SELF      R3 = R1[K2('AppendInterval')] (self)
  0004  LOADK     R4 = K3 1
  0005  CALL      R2 = call(R2, 0 args, 2 rets)
  0006  SELF      R3 = R1[K4('AppendCallback')] (self)
  0007  CLOSURE   R4 = closure proto0
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  SETTABLE  R0[K5('m_delayEntrySequence')] = R1
  0010  RETURN    return R0..R-1
  ; ---------- proto0 [m_delayEntrySequence] ----------
    ; fn ?  line 116-120 np=0 va=0 ms=5 code=12 consts=7 upvals=2 protos=0
    ;   K[0]='m_delayEntrySequence'
    ;   K[1]=nil
    ;   K[2]='GM'
    ;   K[3]='UIManager'
    ;   K[4]='SetEventLock'
    ;   K[5]='_SpeedUp'
    ;   K[6]='_PlayEntryAnimation'
    ;   upvals: self, _ENV
    0000  SETTABUP  self[K0('m_delayEntrySequence')] = K1(nil)
    0001  GETTABUP  R0 = _ENV[K2('GM')]
    0002  GETTABLE  R0 = R0[K3('UIManager')]
    0003  SELF      R1 = R0[K4('SetEventLock')] (self)
    0004  LOADBOOL  R2 = false
    0005  GETUPVAL  R3 = self
    0006  GETTABUP  R4 = self[K5('_SpeedUp')]
    0007  CALL      R0 = call(R0, 0 args, 4 rets)
    0008  GETUPVAL  R0 = self
    0009  SELF      R1 = R0[K6('_PlayEntryAnimation')] (self)
    0010  CALL      R0 = call(R0, 0 args, 1 rets)
    0011  RETURN    return R0..R-1
; ---------- proto7 [_PlayEntryAnimation] ----------
  ; fn ?  line 124-158 np=1 va=0 ms=10 code=36 consts=17 upvals=1 protos=1
  ;   K[0]='IsActivityValid'
  ;   K[1]='Close'
  ;   K[2]='GetModel'
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='SetEventLock'
  ;   K[6]='DataResource'
  ;   K[7]='UIPrefabConfig'
  ;   K[8]='GetConfig'
  ;   K[9]='GetActivityDefinition'
  ;   K[10]='StartPotPrefabName'
  ;   K[11]='GM'
  ;   K[12]='ResourceLoader'
  ;   K[13]='LoadPrefab'
  ;   K[14]='UIManager'
  ;   K[15]='GetCanvasRoot'
  ;   K[16]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-36), model(9-36), resConfig(23-36), callback(24-36)
  0000  SELF      R2 = R0[K0('IsActivityValid')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 7
  0004  SELF      R2 = R0[K1('Close')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
  0007  SELF      R2 = R0[K2('GetModel')] (self)
  0008  CALL      R1 = call(R1, 1 args, 1 rets)
  0009  GETTABUP  R2 = _ENV[K3('GM')]
  0010  GETTABLE  R2 = R2[K4('UIManager')]
  0011  SELF      R3 = R2[K5('SetEventLock')] (self)
  0012  LOADBOOL  R4 = true
  0013  MOVE      R5 = R0
  0014  CALL      R2 = call(R2, 0 args, 3 rets)
  0015  GETTABUP  R2 = _ENV[K3('GM')]
  0016  GETTABLE  R2 = R2[K6('DataResource')]
  0017  GETTABLE  R2 = R2[K7('UIPrefabConfig')]
  0018  SELF      R3 = R2[K8('GetConfig')] (self)
  0019  SELF      R5 = R1[K9('GetActivityDefinition')] (self)
  0020  CALL      R4 = call(R4, 1 args, 1 rets)
  0021  GETTABLE  R4 = R4[K10('StartPotPrefabName')]
  0022  CALL      R2 = call(R2, 1 args, 2 rets)
  0023  CLOSURE   R3 = closure proto0
  0024  GETTABUP  R4 = _ENV[K11('GM')]
  0025  GETTABLE  R4 = R4[K12('ResourceLoader')]
  0026  SELF      R5 = R4[K13('LoadPrefab')] (self)
  0027  MOVE      R6 = R0
  0028  GETTABUP  R7 = _ENV[K11('GM')]
  0029  GETTABLE  R7 = R7[K14('UIManager')]
  0030  SELF      R8 = R7[K15('GetCanvasRoot')] (self)
  0031  CALL      R7 = call(R7, 1 args, 1 rets)
  0032  GETTABUP  R8 = _ENV[K16('V3Zero')]
  0033  MOVE      R9 = R0
  0034  CALL      R4 = call(R4, 0 args, 5 rets)
  0035  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 135-156 np=1 va=0 ms=10 code=55 consts=25 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='m_maxRoot'
    ;   K[4]='SetParent'
    ;   K[5]='m_maxRootHide'
    ;   K[6]='transform'
    ;   K[7]='position'
    ;   K[8]='m_potRoot'
    ;   K[9]='GetLuaTable'
    ;   K[10]='GetSortingOrder'
    ;   K[11]=1
    ;   K[12]='Init'
    ;   K[13]='m_model'
    ;   K[14]='m_id'
    ;   K[15]='m_configIndex'
    ;   K[16]='m_bSpeedUp'
    ;   K[17]='m_effectUpgradeRectTransformBehind'
    ;   K[18]='GetBehindRoot'
    ;   K[19]='m_effectUpgradeRectTransform'
    ;   K[20]='GetFrontRoot'
    ;   K[21]='UIUtil'
    ;   K[22]='SetActive'
    ;   K[23]='m_potGo'
    ;   K[24]='Close'
    ;   upvals: _ENV, self
    ;   locals: gameObject(0-55), startPot(17-55), sortingOrder(21-55)
    0000  GETTABUP  R1 = _ENV[K0('GM')]
    0001  GETTABLE  R1 = R1[K1('UIManager')]
    0002  SELF      R2 = R1[K2('SetEventLock')] (self)
    0003  LOADBOOL  R3 = false
    0004  GETUPVAL  R4 = _ENV
    0005  CALL      R1 = call(R1, 0 args, 3 rets)
    0006  GETTABUP  R1 = self[K3('m_maxRoot')]
    0007  SELF      R2 = R1[K4('SetParent')] (self)
    0008  GETTABUP  R3 = self[K5('m_maxRootHide')]
    0009  LOADBOOL  R4 = true
    0010  CALL      R1 = call(R1, 0 args, 3 rets)
    0011  GETTABLE  R1 = R0[K6('transform')]
    0012  GETTABUP  R2 = self[K8('m_potRoot')]
    0013  GETTABLE  R2 = R2[K7('position')]
    0014  SETTABLE  R1[K7('position')] = R2
    0015  SELF      R2 = R0[K9('GetLuaTable')] (self)
    0016  CALL      R1 = call(R1, 1 args, 1 rets)
    0017  GETUPVAL  R2 = _ENV
    0018  SELF      R3 = R2[K10('GetSortingOrder')] (self)
    0019  CALL      R2 = call(R2, 1 args, 1 rets)
    0020  SUB       R2 = K11(1) sub R2
    0021  SELF      R4 = R1[K12('Init')] (self)
    0022  GETTABUP  R5 = self[K13('m_model')]
    0023  GETTABUP  R6 = self[K14('m_id')]
    0024  GETTABUP  R7 = self[K15('m_configIndex')]
    0025  MOVE      R8 = R0
    0026  GETTABUP  R9 = self[K15('m_configIndex')]
    0027  EQ        if R0 eq K11(1)   -> -126168
    0028  JMP       (jump)   -> 31
    0029  GETTABUP  R9 = self[K16('m_bSpeedUp')]
    0030  JMP       (jump)   -> 33
    0031  LOADBOOL  R9 = false
    0032  LOADBOOL  R9 = true
    0033  CALL      R3 = call(R3, 0 args, 6 rets)
    0034  GETTABUP  R3 = self[K17('m_effectUpgradeRectTransformBehind')]
    0035  SELF      R4 = R3[K4('SetParent')] (self)
    0036  SELF      R6 = R1[K18('GetBehindRoot')] (self)
    0037  CALL      R5 = call(R5, 1 args, 1 rets)
    0038  LOADBOOL  R6 = true
    0039  CALL      R3 = call(R3, 0 args, 3 rets)
    0040  GETTABUP  R3 = self[K19('m_effectUpgradeRectTransform')]
    0041  SELF      R4 = R3[K4('SetParent')] (self)
    0042  SELF      R6 = R1[K20('GetFrontRoot')] (self)
    0043  CALL      R5 = call(R5, 1 args, 1 rets)
    0044  LOADBOOL  R6 = true
    0045  CALL      R3 = call(R3, 0 args, 3 rets)
    0046  GETTABUP  R3 = _ENV[K21('UIUtil')]
    0047  GETTABLE  R3 = R3[K22('SetActive')]
    0048  GETTABUP  R4 = self[K23('m_potGo')]
    0049  LOADBOOL  R5 = false
    0050  CALL      R3 = call(R3, 0 args, 2 rets)
    0051  GETUPVAL  R3 = _ENV
    0052  SELF      R4 = R3[K24('Close')] (self)
    0053  CALL      R3 = call(R3, 0 args, 1 rets)
    0054  RETURN    return R0..R-1
