# WeeklyActiveQuest_View_WeeklyActiveQuestPage_1319.luac
; fn @WeeklyActiveQuestPage.lua  line 0-0 np=0 va=1 ms=2 code=21 consts=7 upvals=1 protos=5
;   K[0]='WeeklyActiveQuestPage'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='SetLocked'
;   K[4]='SetTaskCnt'
;   K[5]='SetState'
;   K[6]='OnPageClick'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('WeeklyActiveQuestPage')] = R0
0002  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0003  GETTABUP  R1 = _ENV[K0('WeeklyActiveQuestPage')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('SetLocked')] = R1
0011  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('SetTaskCnt')] = R1
0014  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('SetState')] = R1
0017  GETTABUP  R0 = _ENV[K0('WeeklyActiveQuestPage')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('OnPageClick')] = R1
0020  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 14-23 np=4 va=0 ms=7 code=15 consts=8 upvals=0 protos=0
  ;   K[0]='m_barGo'
  ;   K[1]='SetActive'
  ;   K[2]='m_page'
  ;   K[3]='m_mainwindow'
  ;   K[4]='m_idText1'
  ;   K[5]='text'
  ;   K[6]='m_idText2'
  ;   K[7]='m_idText3'
  ;   locals: self(0-15), page(0-15), mainwindow(0-15), islast(0-15)
  0000  TEST      if not R3 then   -> -131070
  0001  JMP       (jump)   -> 6
  0002  GETTABLE  R4 = R0[K0('m_barGo')]
  0003  SELF      R5 = R4[K1('SetActive')] (self)
  0004  LOADBOOL  R6 = false
  0005  CALL      R4 = call(R4, 0 args, 2 rets)
  0006  SETTABLE  R0[K2('m_page')] = R1
  0007  SETTABLE  R0[K3('m_mainwindow')] = R2
  0008  GETTABLE  R4 = R0[K4('m_idText1')]
  0009  SETTABLE  R4[K5('text')] = R1
  0010  GETTABLE  R4 = R0[K6('m_idText2')]
  0011  SETTABLE  R4[K5('text')] = R1
  0012  GETTABLE  R4 = R0[K7('m_idText3')]
  0013  SETTABLE  R4[K5('text')] = R1
  0014  RETURN    return R0..R-1
; ---------- proto1 [SetLocked] ----------
  ; fn ?  line 25-30 np=1 va=0 ms=4 code=14 consts=6 upvals=0 protos=0
  ;   K[0]='m_bLocked'
  ;   K[1]=true
  ;   K[2]='m_lockGo'
  ;   K[3]='SetActive'
  ;   K[4]='m_redPointGo'
  ;   K[5]='m_finishGo'
  ;   locals: self(0-14)
  0000  SETTABLE  R0[K0('m_bLocked')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_lockGo')]
  0002  SELF      R2 = R1[K3('SetActive')] (self)
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABLE  R1 = R0[K4('m_redPointGo')]
  0006  SELF      R2 = R1[K3('SetActive')] (self)
  0007  LOADBOOL  R3 = false
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  GETTABLE  R1 = R0[K5('m_finishGo')]
  0010  SELF      R2 = R1[K3('SetActive')] (self)
  0011  LOADBOOL  R3 = false
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
; ---------- proto2 [SetTaskCnt] ----------
  ; fn ?  line 32-38 np=3 va=0 ms=6 code=19 consts=9 upvals=0 protos=0
  ;   K[0]='m_bLocked'
  ;   K[1]=false
  ;   K[2]='m_lockGo'
  ;   K[3]='SetActive'
  ;   K[4]='m_redPointGo'
  ;   K[5]=0
  ;   K[6]='m_finishGo'
  ;   K[7]='m_amountText'
  ;   K[8]='text'
  ;   locals: self(0-19), cnt(0-19), isPageFinish(0-19)
  0000  SETTABLE  R0[K0('m_bLocked')] = K1(false)
  0001  GETTABLE  R3 = R0[K2('m_lockGo')]
  0002  SELF      R4 = R3[K3('SetActive')] (self)
  0003  LOADBOOL  R5 = false
  0004  CALL      R3 = call(R3, 0 args, 2 rets)
  0005  GETTABLE  R3 = R0[K4('m_redPointGo')]
  0006  SELF      R4 = R3[K3('SetActive')] (self)
  0007  LT        if R1 lt R1   -> 2570
  0008  JMP       (jump)   -> 10
  0009  LOADBOOL  R5 = false
  0010  LOADBOOL  R5 = true
  0011  CALL      R3 = call(R3, 0 args, 2 rets)
  0012  GETTABLE  R3 = R0[K6('m_finishGo')]
  0013  SELF      R4 = R3[K3('SetActive')] (self)
  0014  MOVE      R5 = R0
  0015  CALL      R3 = call(R3, 0 args, 2 rets)
  0016  GETTABLE  R3 = R0[K7('m_amountText')]
  0017  SETTABLE  R3[K8('text')] = R1
  0018  RETURN    return R0..R-1
; ---------- proto3 [SetState] ----------
  ; fn ?  line 40-55 np=2 va=0 ms=5 code=65 consts=19 upvals=0 protos=0
  ;   K[0]='m_bgGo1'
  ;   K[1]='SetActive'
  ;   K[2]='m_bLocked'
  ;   K[3]='m_bgGo3'
  ;   K[4]='m_bgGo2'
  ;   K[5]='m_buttonRect'
  ;   K[6]='SetLocalPosY'
  ;   K[7]=-18
  ;   K[8]='m_redPointGo'
  ;   K[9]='transform'
  ;   K[10]=-38
  ;   K[11]='m_lockGo'
  ;   K[12]=-23
  ;   K[13]='m_finishGo'
  ;   K[14]=-29
  ;   K[15]=0
  ;   K[16]=-30
  ;   K[17]=-15
  ;   K[18]=-21
  ;   locals: self(0-65), isChosen(0-65)
  0000  GETTABLE  R2 = R0[K0('m_bgGo1')]
  0001  SELF      R3 = R2[K1('SetActive')] (self)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 7
  0004  GETTABLE  R4 = R0[K2('m_bLocked')]
  0005  NOT       R4 = not R0
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R4 = false
  0008  LOADBOOL  R4 = true
  0009  CALL      R2 = call(R2, 0 args, 2 rets)
  0010  GETTABLE  R2 = R0[K3('m_bgGo3')]
  0011  SELF      R3 = R2[K1('SetActive')] (self)
  0012  TEST      if not R1 then   -> -131057
  0013  JMP       (jump)   -> 16
  0014  GETTABLE  R4 = R0[K2('m_bLocked')]
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R4 = false
  0017  LOADBOOL  R4 = true
  0018  CALL      R2 = call(R2, 0 args, 2 rets)
  0019  GETTABLE  R2 = R0[K4('m_bgGo2')]
  0020  SELF      R3 = R2[K1('SetActive')] (self)
  0021  MOVE      R4 = R0
  0022  CALL      R2 = call(R2, 0 args, 2 rets)
  0023  TEST      if not R1 then   -> -131047
  0024  JMP       (jump)   -> 45
  0025  GETTABLE  R2 = R0[K5('m_buttonRect')]
  0026  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0027  LOADK     R4 = K7 -18
  0028  CALL      R2 = call(R2, 0 args, 2 rets)
  0029  GETTABLE  R2 = R0[K8('m_redPointGo')]
  0030  GETTABLE  R2 = R2[K9('transform')]
  0031  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0032  LOADK     R4 = K10 -38
  0033  CALL      R2 = call(R2, 0 args, 2 rets)
  0034  GETTABLE  R2 = R0[K11('m_lockGo')]
  0035  GETTABLE  R2 = R2[K9('transform')]
  0036  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0037  LOADK     R4 = K12 -23
  0038  CALL      R2 = call(R2, 0 args, 2 rets)
  0039  GETTABLE  R2 = R0[K13('m_finishGo')]
  0040  GETTABLE  R2 = R2[K9('transform')]
  0041  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0042  LOADK     R4 = K14 -29
  0043  CALL      R2 = call(R2, 0 args, 2 rets)
  0044  JMP       (jump)   -> 64
  0045  GETTABLE  R2 = R0[K5('m_buttonRect')]
  0046  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0047  LOADK     R4 = K15 0
  0048  CALL      R2 = call(R2, 0 args, 2 rets)
  0049  GETTABLE  R2 = R0[K8('m_redPointGo')]
  0050  GETTABLE  R2 = R2[K9('transform')]
  0051  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0052  LOADK     R4 = K16 -30
  0053  CALL      R2 = call(R2, 0 args, 2 rets)
  0054  GETTABLE  R2 = R0[K11('m_lockGo')]
  0055  GETTABLE  R2 = R2[K9('transform')]
  0056  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0057  LOADK     R4 = K17 -15
  0058  CALL      R2 = call(R2, 0 args, 2 rets)
  0059  GETTABLE  R2 = R0[K13('m_finishGo')]
  0060  GETTABLE  R2 = R2[K9('transform')]
  0061  SELF      R3 = R2[K6('SetLocalPosY')] (self)
  0062  LOADK     R4 = K18 -21
  0063  CALL      R2 = call(R2, 0 args, 2 rets)
  0064  RETURN    return R0..R-1
; ---------- proto4 [OnPageClick] ----------
  ; fn ?  line 57-60 np=1 va=0 ms=4 code=11 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='AudioModel'
  ;   K[2]='PlayEffect'
  ;   K[3]='AudioFileConfigName'
  ;   K[4]='SfxButtonClick'
  ;   K[5]='m_mainwindow'
  ;   K[6]='SetPage'
  ;   K[7]='m_page'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('AudioModel')]
  0002  SELF      R2 = R1[K2('PlayEffect')] (self)
  0003  GETTABUP  R3 = _ENV[K3('AudioFileConfigName')]
  0004  GETTABLE  R3 = R3[K4('SfxButtonClick')]
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  GETTABLE  R1 = R0[K5('m_mainwindow')]
  0007  SELF      R2 = R1[K6('SetPage')] (self)
  0008  GETTABLE  R3 = R0[K7('m_page')]
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
