# WeeklyActiveQuest_View_WeeklyActiveQuestBoardBubble_1310.luac
; fn @WeeklyActiveQuestBoardBubble.lua  line 0-0 np=0 va=1 ms=2 code=36 consts=12 upvals=1 protos=10
;   K[0]='WeeklyActiveQuestBoardBubble'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='_AddListeners'
;   K[5]='OnEnable'
;   K[6]='OnDestroy'
;   K[7]='UpdatePerSecond'
;   K[8]='_UpdateContent'
;   K[9]='_UpdateRedDot'
;   K[10]='GetRedPointNum'
;   K[11]='OnClicked'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('WeeklyActiveQuestBoardBubble')] = R0
0002  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0003  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('_AddListeners')] = R1
0014  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnEnable')] = R1
0017  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnDestroy')] = R1
0020  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('UpdatePerSecond')] = R1
0023  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('_UpdateContent')] = R1
0026  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('_UpdateRedDot')] = R1
0029  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('GetRedPointNum')] = R1
0032  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestBoardBubble')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('OnClicked')] = R1
0035  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 6-8 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_AddListeners'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_AddListeners')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 10-22 np=3 va=0 ms=5 code=20 consts=11 upvals=0 protos=0
  ;   K[0]='m_activityType'
  ;   K[1]='GetType'
  ;   K[2]='m_model'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='GetActivityDefinition'
  ;   K[5]='m_orderArea'
  ;   K[6]='UpdatePerSecond'
  ;   K[7]='_UpdateContent'
  ;   K[8]='gameObject'
  ;   K[9]='activeInHierarchy'
  ;   K[10]='_AddListeners'
  ;   locals: self(0-20), model(0-20), orderArea(0-20)
  0000  SELF      R4 = R1[K1('GetType')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  SETTABLE  R0[K0('m_activityType')] = R3
  0003  SETTABLE  R0[K2('m_model')] = R1
  0004  GETTABLE  R3 = R0[K2('m_model')]
  0005  SELF      R4 = R3[K4('GetActivityDefinition')] (self)
  0006  CALL      R3 = call(R3, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_activityDefinition')] = R3
  0008  SETTABLE  R0[K5('m_orderArea')] = R2
  0009  SELF      R4 = R0[K6('UpdatePerSecond')] (self)
  0010  CALL      R3 = call(R3, 0 args, 1 rets)
  0011  SELF      R4 = R0[K7('_UpdateContent')] (self)
  0012  CALL      R3 = call(R3, 0 args, 1 rets)
  0013  GETTABLE  R3 = R0[K8('gameObject')]
  0014  GETTABLE  R3 = R3[K9('activeInHierarchy')]
  0015  TEST      if not R3 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  SELF      R4 = R0[K10('_AddListeners')] (self)
  0018  CALL      R3 = call(R3, 0 args, 1 rets)
  0019  RETURN    return R0..R-1
; ---------- proto2 [_AddListeners] ----------
  ; fn ?  line 24-31 np=1 va=0 ms=5 code=19 consts=7 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='EventDispatcher'
  ;   K[2]='AddListener'
  ;   K[3]='UpdateRedPointEvent'
  ;   K[4]='_UpdateRedDot'
  ;   K[5]='EEventType'
  ;   K[6]='CloseView'
  ;   upvals: _ENV
  ;   locals: self(0-19)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K2('AddListener')]
  0006  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0007  GETTABLE  R2 = R2[K3('UpdateRedPointEvent')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K4('_UpdateRedDot')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  GETTABUP  R1 = _ENV[K1('EventDispatcher')]
  0012  GETTABLE  R1 = R1[K2('AddListener')]
  0013  GETTABUP  R2 = _ENV[K5('EEventType')]
  0014  GETTABLE  R2 = R2[K6('CloseView')]
  0015  MOVE      R3 = R0
  0016  GETTABLE  R4 = R0[K4('_UpdateRedDot')]
  0017  CALL      R1 = call(R1, 0 args, 3 rets)
  0018  RETURN    return R0..R-1
; ---------- proto3 [OnEnable] ----------
  ; fn ?  line 33-35 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='UpdatePerSecond'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('UpdatePerSecond')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto4 [OnDestroy] ----------
  ; fn ?  line 37-39 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  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  RETURN    return R0..R-1
; ---------- proto5 [UpdatePerSecond] ----------
  ; fn ?  line 41-46 np=1 va=0 ms=8 code=21 consts=11 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetNextStateTime'
  ;   K[3]='GM'
  ;   K[4]='GameModel'
  ;   K[5]='GetServerTime'
  ;   K[6]='m_countDownText'
  ;   K[7]='text'
  ;   K[8]='TimeUtil'
  ;   K[9]='ParseTimeDescription'
  ;   K[10]=2
  ;   upvals: _ENV
  ;   locals: self(0-21), delta(11-20)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 20
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K2('GetNextStateTime')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K3('GM')]
  0007  GETTABLE  R2 = R2[K4('GameModel')]
  0008  SELF      R3 = R2[K5('GetServerTime')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SUB       R1 = R2 sub R1
  0011  GETTABLE  R2 = R0[K6('m_countDownText')]
  0012  GETTABUP  R3 = _ENV[K8('TimeUtil')]
  0013  GETTABLE  R3 = R3[K9('ParseTimeDescription')]
  0014  MOVE      R4 = R0
  0015  LOADK     R5 = K10 2
  0016  LOADBOOL  R6 = false
  0017  LOADBOOL  R7 = false
  0018  CALL      R3 = call(R3, 1 args, 4 rets)
  0019  SETTABLE  R2[K7('text')] = R3
  0020  RETURN    return R0..R-1
; ---------- proto6 [_UpdateContent] ----------
  ; fn ?  line 48-50 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_UpdateRedDot'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_UpdateRedDot')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto7 [_UpdateRedDot] ----------
  ; fn ?  line 52-64 np=1 va=0 ms=5 code=25 consts=10 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Released'
  ;   K[4]='GetCanCollectTaskNum'
  ;   K[5]=0
  ;   K[6]='m_redDotGo'
  ;   K[7]='SetActive'
  ;   K[8]='m_redDotText'
  ;   K[9]='text'
  ;   upvals: _ENV
  ;   locals: self(0-25), messageNumber(11-25)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetState')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0004  GETTABLE  R2 = R2[K3('Released')]
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  GETTABLE  R1 = R0[K0('m_model')]
  0009  SELF      R2 = R1[K4('GetCanCollectTaskNum')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  EQ        if R0 eq K5(0)   -> -130286
  0012  JMP       (jump)   -> 18
  0013  GETTABLE  R2 = R0[K6('m_redDotGo')]
  0014  SELF      R3 = R2[K7('SetActive')] (self)
  0015  LOADBOOL  R4 = false
  0016  CALL      R2 = call(R2, 0 args, 2 rets)
  0017  JMP       (jump)   -> 24
  0018  GETTABLE  R2 = R0[K6('m_redDotGo')]
  0019  SELF      R3 = R2[K7('SetActive')] (self)
  0020  LOADBOOL  R4 = true
  0021  CALL      R2 = call(R2, 0 args, 2 rets)
  0022  GETTABLE  R2 = R0[K8('m_redDotText')]
  0023  SETTABLE  R2[K9('text')] = R1
  0024  RETURN    return R0..R-1
; ---------- proto8 [GetRedPointNum] ----------
  ; fn ?  line 67-69 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetCanCollectTaskNum'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetCanCollectTaskNum')] (self)
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto9 [OnClicked] ----------
  ; fn ?  line 71-73 np=1 va=0 ms=6 code=9 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='MainWindowPrefabName'
  ;   K[5]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABLE  R3 = R0[K3('m_activityDefinition')]
  0004  GETTABLE  R3 = R3[K4('MainWindowPrefabName')]
  0005  GETTABLE  R4 = R0[K5('m_activityType')]
  0006  LOADBOOL  R5 = false
  0007  CALL      R1 = call(R1, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
