# UI_SubView_ActivityMainEntryAddScore_388.luac
; fn @ActivityMainEntryAddScore.lua  line 0-0 np=0 va=1 ms=3 code=33 consts=12 upvals=1 protos=8
;   K[0]='ActivityMainEntryAddScore'
;   K[1]='__index'
;   K[2]='Show'
;   K[3]='Hide'
;   K[4]='Init'
;   K[5]='Awake'
;   K[6]='_TryAddListeners'
;   K[7]='OnDestroy'
;   K[8]='_TryKillSequence'
;   K[9]='_OnChangeGameMode'
;   K[10]='_InitCanvas'
;   K[11]='PlayAnimation'
;   upvals: _ENV
;   locals: EAnimatorTriggerKey(8-33)
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('ActivityMainEntryAddScore')] = R0
0002  GETTABUP  R0 = _ENV[K0('ActivityMainEntryAddScore')]
0003  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  NEWTABLE  R0 = {} (0 items)
0006  SETTABLE  R0[K2('Show')] = K2('Show')
0007  SETTABLE  R0[K3('Hide')] = K3('Hide')
0008  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0009  CLOSURE   R2 = closure proto0
0010  SETTABLE  R1[K4('Init')] = R2
0011  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0012  CLOSURE   R2 = closure proto1
0013  SETTABLE  R1[K5('Awake')] = R2
0014  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0015  CLOSURE   R2 = closure proto2
0016  SETTABLE  R1[K6('_TryAddListeners')] = R2
0017  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0018  CLOSURE   R2 = closure proto3
0019  SETTABLE  R1[K7('OnDestroy')] = R2
0020  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0021  CLOSURE   R2 = closure proto4
0022  SETTABLE  R1[K8('_TryKillSequence')] = R2
0023  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0024  CLOSURE   R2 = closure proto5
0025  SETTABLE  R1[K9('_OnChangeGameMode')] = R2
0026  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0027  CLOSURE   R2 = closure proto6
0028  SETTABLE  R1[K10('_InitCanvas')] = R2
0029  GETTABUP  R1 = _ENV[K0('ActivityMainEntryAddScore')]
0030  CLOSURE   R2 = closure proto7
0031  SETTABLE  R1[K11('PlayAnimation')] = R2
0032  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 19-25 np=2 va=0 ms=4 code=7 consts=5 upvals=0 protos=0
  ;   K[0]='m_mainEntry'
  ;   K[1]='_InitCanvas'
  ;   K[2]='m_bInited'
  ;   K[3]=true
  ;   K[4]='_TryAddListeners'
  ;   locals: self(0-7), mainEntry(0-7)
  0000  SETTABLE  R0[K0('m_mainEntry')] = R1
  0001  SELF      R3 = R0[K1('_InitCanvas')] (self)
  0002  CALL      R2 = call(R2, 0 args, 1 rets)
  0003  SETTABLE  R0[K2('m_bInited')] = K3(true)
  0004  SELF      R3 = R0[K4('_TryAddListeners')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto1 [Awake] ----------
  ; fn ?  line 27-30 np=1 va=0 ms=3 code=4 consts=3 upvals=0 protos=0
  ;   K[0]='m_bAwaked'
  ;   K[1]=true
  ;   K[2]='_TryAddListeners'
  ;   locals: self(0-4)
  0000  SETTABLE  R0[K0('m_bAwaked')] = K1(true)
  0001  SELF      R2 = R0[K2('_TryAddListeners')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto2 [_TryAddListeners] ----------
  ; fn ?  line 32-37 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='m_bInited'
  ;   K[1]='m_bAwaked'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='EEventType'
  ;   K[5]='ChangeGameMode'
  ;   K[6]='_OnChangeGameMode'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABLE  R1 = R0[K0('m_bInited')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K1('m_bAwaked')]
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K3('AddListener')]
  0009  GETTABUP  R2 = _ENV[K4('EEventType')]
  0010  GETTABLE  R2 = R2[K5('ChangeGameMode')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K6('_OnChangeGameMode')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 39-42 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='_TryKillSequence'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_TryKillSequence')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto4 [_TryKillSequence] ----------
  ; fn ?  line 44-48 np=1 va=0 ms=3 code=7 consts=3 upvals=0 protos=0
  ;   K[0]='m_sequence'
  ;   K[1]=nil
  ;   K[2]='Kill'
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_sequence')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_sequence')]
  0004  SELF      R2 = R1[K2('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [_OnChangeGameMode] ----------
  ; fn ?  line 50-56 np=1 va=0 ms=4 code=16 consts=9 upvals=2 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='_TryKillSequence'
  ;   K[6]='m_animator'
  ;   K[7]='SetTrigger'
  ;   K[8]='Hide'
  ;   upvals: _ENV, EAnimatorTriggerKey
  ;   locals: self(0-16)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Main')]
  0006  EQ        if R1 eq R2   -> -130550
  0007  JMP       (jump)   -> 15
  0008  SELF      R2 = R0[K5('_TryKillSequence')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  GETTABLE  R1 = R0[K6('m_animator')]
  0011  SELF      R2 = R1[K7('SetTrigger')] (self)
  0012  GETTABUP  R3 = EAnimatorTriggerKey[K8('Hide')]
  0013  CALL      R1 = call(R1, 0 args, 2 rets)
  0014  RETURN    return R0..R-1
  0015  RETURN    return R0..R-1
; ---------- proto6 [_InitCanvas] ----------
  ; fn ?  line 58-71 np=1 va=0 ms=5 code=14 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='GetOpenedViewByName'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='BaseSceneView'
  ;   K[5]=nil
  ;   K[6]='m_canvas'
  ;   K[7]='sortingOrder'
  ;   K[8]='GetSortingOrder'
  ;   K[9]=1
  ;   upvals: _ENV
  ;   locals: self(0-14), baseSceneView(6-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('GetOpenedViewByName')] (self)
  0003  GETTABUP  R3 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R3 = R3[K4('BaseSceneView')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R1 eq K5(nil)   -> -130291
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R2 = R0[K6('m_canvas')]
  0009  SELF      R4 = R1[K8('GetSortingOrder')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  ADD       R3 = K9(1) add R3
  0012  SETTABLE  R2[K7('sortingOrder')] = R3
  0013  RETURN    return R0..R-1
; ---------- proto7 [PlayAnimation] ----------
  ; fn ?  line 75-113 np=3 va=0 ms=10 code=52 consts=28 upvals=2 protos=3
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='ScrollToButtonShow'
  ;   K[4]='trans'
  ;   K[5]='m_mainEntry'
  ;   K[6]='transform'
  ;   K[7]='_TryKillSequence'
  ;   K[8]='gameObject'
  ;   K[9]='localPosition'
  ;   K[10]='localScale'
  ;   K[11]='SpriteUtil'
  ;   K[12]='SetImage'
  ;   K[13]='m_icon'
  ;   K[14]='m_text'
  ;   K[15]='text'
  ;   K[16]='UIUtil'
  ;   K[17]='SetActive'
  ;   K[18]='DOTween'
  ;   K[19]='Sequence'
  ;   K[20]='AppendInterval'
  ;   K[21]='EDurationDefine'
  ;   K[22]='TimePerFrame'
  ;   K[23]=5
  ;   K[24]='AppendCallback'
  ;   K[25]=55
  ;   K[26]='OnKill'
  ;   K[27]='m_sequence'
  ;   upvals: _ENV, EAnimatorTriggerKey
  ;   locals: self(0-52), icon(0-52), text(0-52), transform(13-52), originalPosition(14-52), originalScale(15-52), sequence(31-52)
  0000  GETTABUP  R3 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R3 = R3[K1('DispatchEvent')]
  0002  GETTABUP  R4 = _ENV[K2('EEventType')]
  0003  GETTABLE  R4 = R4[K3('ScrollToButtonShow')]
  0004  NEWTABLE  R5 = {} (0 items)
  0005  GETTABLE  R6 = R0[K5('m_mainEntry')]
  0006  GETTABLE  R6 = R6[K6('transform')]
  0007  SETTABLE  R5[K4('trans')] = R6
  0008  CALL      R3 = call(R3, 0 args, 2 rets)
  0009  SELF      R4 = R0[K7('_TryKillSequence')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  GETTABLE  R3 = R0[K8('gameObject')]
  0012  GETTABLE  R3 = R3[K6('transform')]
  0013  GETTABLE  R4 = R3[K9('localPosition')]
  0014  GETTABLE  R5 = R3[K10('localScale')]
  0015  GETTABUP  R6 = _ENV[K11('SpriteUtil')]
  0016  GETTABLE  R6 = R6[K12('SetImage')]
  0017  GETTABLE  R7 = R0[K13('m_icon')]
  0018  MOVE      R8 = R0
  0019  LOADBOOL  R9 = true
  0020  CALL      R6 = call(R6, 0 args, 3 rets)
  0021  GETTABLE  R6 = R0[K14('m_text')]
  0022  SETTABLE  R6[K15('text')] = R2
  0023  GETTABUP  R6 = _ENV[K16('UIUtil')]
  0024  GETTABLE  R6 = R6[K17('SetActive')]
  0025  GETTABLE  R7 = R0[K8('gameObject')]
  0026  LOADBOOL  R8 = true
  0027  CALL      R6 = call(R6, 0 args, 2 rets)
  0028  GETTABUP  R6 = _ENV[K18('DOTween')]
  0029  GETTABLE  R6 = R6[K19('Sequence')]
  0030  CALL      R6 = call(R6, 1 args, 0 rets)
  0031  SELF      R8 = R6[K20('AppendInterval')] (self)
  0032  GETTABUP  R9 = _ENV[K21('EDurationDefine')]
  0033  GETTABLE  R9 = R9[K22('TimePerFrame')]
  0034  MUL       R9 = R9 mul K23(5)
  0035  CALL      R7 = call(R7, 0 args, 2 rets)
  0036  SELF      R8 = R6[K24('AppendCallback')] (self)
  0037  CLOSURE   R9 = closure proto0
  0038  CALL      R7 = call(R7, 0 args, 2 rets)
  0039  SELF      R8 = R6[K20('AppendInterval')] (self)
  0040  GETTABUP  R9 = _ENV[K21('EDurationDefine')]
  0041  GETTABLE  R9 = R9[K22('TimePerFrame')]
  0042  MUL       R9 = R9 mul K25(55)
  0043  CALL      R7 = call(R7, 0 args, 2 rets)
  0044  SELF      R8 = R6[K24('AppendCallback')] (self)
  0045  CLOSURE   R9 = closure proto1
  0046  CALL      R7 = call(R7, 0 args, 2 rets)
  0047  SELF      R8 = R6[K26('OnKill')] (self)
  0048  CLOSURE   R9 = closure proto2
  0049  CALL      R7 = call(R7, 0 args, 2 rets)
  0050  SETTABLE  R0[K27('m_sequence')] = R6
  0051  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 97-99 np=0 va=0 ms=3 code=5 consts=3 upvals=2 protos=0
    ;   K[0]='m_animator'
    ;   K[1]='SetTrigger'
    ;   K[2]='Show'
    ;   upvals: self, EAnimatorTriggerKey
    0000  GETTABUP  R0 = self[K0('m_animator')]
    0001  SELF      R1 = R0[K1('SetTrigger')] (self)
    0002  GETTABUP  R2 = EAnimatorTriggerKey[K2('Show')]
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
  ; ---------- proto1 [m_sequence] ----------
    ; fn ?  line 103-106 np=0 va=0 ms=3 code=11 consts=7 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='AudioModel'
    ;   K[2]='PlayEffectWithFrameLimit'
    ;   K[3]='AudioFileConfigName'
    ;   K[4]='SfxChooseDuplicate'
    ;   K[5]='m_mainEntry'
    ;   K[6]='IconScaleAnimation'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('AudioModel')]
    0002  SELF      R1 = R0[K2('PlayEffectWithFrameLimit')] (self)
    0003  GETTABUP  R2 = _ENV[K3('AudioFileConfigName')]
    0004  GETTABLE  R2 = R2[K4('SfxChooseDuplicate')]
    0005  CALL      R0 = call(R0, 0 args, 2 rets)
    0006  GETTABUP  R0 = self[K5('m_mainEntry')]
    0007  SELF      R1 = R0[K6('IconScaleAnimation')] (self)
    0008  LOADBOOL  R2 = true
    0009  CALL      R0 = call(R0, 0 args, 2 rets)
    0010  RETURN    return R0..R-1
  ; ---------- proto2 [m_sequence] ----------
    ; fn ?  line 108-110 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
    ;   K[0]='m_sequence'
    ;   K[1]=nil
    ;   upvals: self
    0000  SETTABUP  self[K0('m_sequence')] = K1(nil)
    0001  RETURN    return R0..R-1
