# BigDayRaceActivity_View_BigDayRaceNoticeWindow_1337.luac
; fn @BigDayRaceNoticeWindow.lua  line 0-0 np=0 va=1 ms=3 code=64 consts=21 upvals=1 protos=13
;   K[0]='BigDayRaceNoticeWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='BigDayRaceBaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnDestroy'
;   K[8]='UpdatePerSecond'
;   K[9]='OnBtnClicked'
;   K[10]='_OnEntry'
;   K[11]='BigDayRaceDayCell'
;   K[12]='Init'
;   K[13]='BigDayCalendar'
;   K[14]='UpdateDayContent'
;   K[15]='GetStartDayPos'
;   K[16]='GetTargetDayPos'
;   K[17]='BigDayCalendarCell'
;   K[18]='Init'
;   K[19]='SetTextLocalPosY'
;   K[20]='GetTextPos'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  GETTABUP  R2 = _ENV[K4('BigDayRaceBaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('BigDayRaceNoticeWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0007  GETTABUP  R1 = _ENV[K0('BigDayRaceNoticeWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnDestroy')] = R1
0015  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('UpdatePerSecond')] = R1
0018  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('OnBtnClicked')] = R1
0021  GETTABUP  R0 = _ENV[K0('BigDayRaceNoticeWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('_OnEntry')] = R1
0024  NEWTABLE  R0 = {} (0 items)
0025  SETTABUP  _ENV[K11('BigDayRaceDayCell')] = R0
0026  GETTABUP  R0 = _ENV[K11('BigDayRaceDayCell')]
0027  GETTABUP  R1 = _ENV[K11('BigDayRaceDayCell')]
0028  SETTABLE  R0[K5('__index')] = R1
0029  GETTABUP  R0 = _ENV[K11('BigDayRaceDayCell')]
0030  CLOSURE   R1 = closure proto5
0031  SETTABLE  R0[K12('Init')] = R1
0032  NEWTABLE  R0 = {} (0 items)
0033  SETTABUP  _ENV[K13('BigDayCalendar')] = R0
0034  GETTABUP  R0 = _ENV[K13('BigDayCalendar')]
0035  GETTABUP  R1 = _ENV[K13('BigDayCalendar')]
0036  SETTABLE  R0[K5('__index')] = R1
0037  GETTABUP  R0 = _ENV[K13('BigDayCalendar')]
0038  CLOSURE   R1 = closure proto6
0039  SETTABLE  R0[K12('Init')] = R1
0040  GETTABUP  R0 = _ENV[K13('BigDayCalendar')]
0041  CLOSURE   R1 = closure proto7
0042  SETTABLE  R0[K14('UpdateDayContent')] = R1
0043  GETTABUP  R0 = _ENV[K13('BigDayCalendar')]
0044  CLOSURE   R1 = closure proto8
0045  SETTABLE  R0[K15('GetStartDayPos')] = R1
0046  GETTABUP  R0 = _ENV[K13('BigDayCalendar')]
0047  CLOSURE   R1 = closure proto9
0048  SETTABLE  R0[K16('GetTargetDayPos')] = R1
0049  NEWTABLE  R0 = {} (0 items)
0050  SETTABUP  _ENV[K17('BigDayCalendarCell')] = R0
0051  GETTABUP  R0 = _ENV[K17('BigDayCalendarCell')]
0052  GETTABUP  R1 = _ENV[K17('BigDayCalendarCell')]
0053  SETTABLE  R0[K5('__index')] = R1
0054  GETTABUP  R0 = _ENV[K17('BigDayCalendarCell')]
0055  CLOSURE   R1 = closure proto10
0056  SETTABLE  R0[K18('Init')] = R1
0057  GETTABUP  R0 = _ENV[K17('BigDayCalendarCell')]
0058  CLOSURE   R1 = closure proto11
0059  SETTABLE  R0[K19('SetTextLocalPosY')] = R1
0060  GETTABUP  R0 = _ENV[K17('BigDayCalendarCell')]
0061  CLOSURE   R1 = closure proto12
0062  SETTABLE  R0[K20('GetTextPos')] = R1
0063  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-21 np=3 va=0 ms=11 code=80 consts=38 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='PlayerPrefs'
  ;   K[3]='SetInt'
  ;   K[4]='EPlayerPrefKey'
  ;   K[5]='BigDayRaceDailyOpenTime'
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='GetServerTime'
  ;   K[9]='m_configIndex'
  ;   K[10]='m_model'
  ;   K[11]='GetCurrentConfigIndex'
  ;   K[12]='GetTargetScore'
  ;   K[13]=0
  ;   K[14]='m_curDay'
  ;   K[15]='MainBoardModel'
  ;   K[16]='GetCurOrderDay'
  ;   K[17]='m_targetDay'
  ;   K[18]='m_descText'
  ;   K[19]='text'
  ;   K[20]='GameTextModel'
  ;   K[21]='GetText'
  ;   K[22]='bigday_desc'
  ;   K[23]='m_bigDayCalendar'
  ;   K[24]=60
  ;   K[25]=18
  ;   K[26]=-28
  ;   K[27]=-85
  ;   K[28]='m_startSpineRect'
  ;   K[29]='position'
  ;   K[30]='GetStartDayPos'
  ;   K[31]='Vector3'
  ;   K[32]=20
  ;   K[33]='m_targetSpineRect'
  ;   K[34]='GetTargetDayPos'
  ;   K[35]=1
  ;   K[36]=4
  ;   K[37]='UpdatePerSecond'
  ;   upvals: _ENV
  ;   locals: self(0-80), activityType(0-80), bAutoOpen(0-80), day(25-80), arrOffsetX(52-80)
  0000  GETTABUP  R3 = _ENV[K0('BigDayRaceBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  MOVE      R6 = R0
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  GETTABUP  R3 = _ENV[K2('PlayerPrefs')]
  0007  GETTABLE  R3 = R3[K3('SetInt')]
  0008  GETTABUP  R4 = _ENV[K4('EPlayerPrefKey')]
  0009  GETTABLE  R4 = R4[K5('BigDayRaceDailyOpenTime')]
  0010  GETTABUP  R5 = _ENV[K6('GM')]
  0011  GETTABLE  R5 = R5[K7('GameModel')]
  0012  SELF      R6 = R5[K8('GetServerTime')] (self)
  0013  CALL      R5 = call(R5, -1 args, 1 rets)
  0014  CALL      R3 = call(R3, 0 args, -1 rets)
  0015  GETTABLE  R3 = R0[K10('m_model')]
  0016  SELF      R4 = R3[K11('GetCurrentConfigIndex')] (self)
  0017  CALL      R3 = call(R3, 1 args, 1 rets)
  0018  SETTABLE  R0[K9('m_configIndex')] = R3
  0019  GETTABLE  R3 = R0[K10('m_model')]
  0020  SELF      R4 = R3[K12('GetTargetScore')] (self)
  0021  CALL      R3 = call(R3, 1 args, 1 rets)
  0022  TEST      if not R3 then   -> -131047
  0023  JMP       (jump)   -> 25
  0024  LOADK     R3 = K13 0
  0025  GETTABUP  R4 = _ENV[K6('GM')]
  0026  GETTABLE  R4 = R4[K15('MainBoardModel')]
  0027  SELF      R5 = R4[K16('GetCurOrderDay')] (self)
  0028  CALL      R4 = call(R4, 1 args, 1 rets)
  0029  SETTABLE  R0[K14('m_curDay')] = R4
  0030  GETTABLE  R4 = R0[K14('m_curDay')]
  0031  ADD       R4 = R3 add R4
  0032  SETTABLE  R0[K17('m_targetDay')] = R4
  0033  GETTABLE  R4 = R0[K18('m_descText')]
  0034  GETTABUP  R5 = _ENV[K6('GM')]
  0035  GETTABLE  R5 = R5[K20('GameTextModel')]
  0036  SELF      R6 = R5[K21('GetText')] (self)
  0037  LOADK     R7 = K22 'bigday_desc'
  0038  GETTABLE  R8 = R0[K17('m_targetDay')]
  0039  CALL      R5 = call(R5, 1 args, 3 rets)
  0040  SETTABLE  R4[K19('text')] = R5
  0041  GETTABLE  R4 = R0[K23('m_bigDayCalendar')]
  0042  SELF      R5 = R4[K1('Init')] (self)
  0043  GETTABLE  R6 = R0[K14('m_curDay')]
  0044  GETTABLE  R7 = R0[K17('m_targetDay')]
  0045  CALL      R4 = call(R4, 0 args, 3 rets)
  0046  NEWTABLE  R4 = {} (4 items)
  0047  LOADK     R5 = K24 60
  0048  LOADK     R6 = K25 18
  0049  LOADK     R7 = K26 -28
  0050  LOADK     R8 = K27 -85
  0051  SETLIST   setlist R4[B=1,C=4]
  0052  GETTABLE  R5 = R0[K28('m_startSpineRect')]
  0053  GETTABLE  R6 = R0[K23('m_bigDayCalendar')]
  0054  SELF      R7 = R6[K30('GetStartDayPos')] (self)
  0055  CALL      R6 = call(R6, 1 args, 1 rets)
  0056  GETTABUP  R7 = _ENV[K31('Vector3')]
  0057  LOADK     R8 = K32 20
  0058  LOADK     R9 = K13 0
  0059  LOADK     R10 = K13 0
  0060  CALL      R7 = call(R7, 1 args, 3 rets)
  0061  ADD       R6 = R7 add R6
  0062  SETTABLE  R5[K29('position')] = R6
  0063  GETTABLE  R5 = R0[K33('m_targetSpineRect')]
  0064  GETTABLE  R6 = R0[K23('m_bigDayCalendar')]
  0065  SELF      R7 = R6[K34('GetTargetDayPos')] (self)
  0066  CALL      R6 = call(R6, 1 args, 1 rets)
  0067  GETTABUP  R7 = _ENV[K31('Vector3')]
  0068  ADD       R8 = K35(1) add R3
  0069  MOD       R8 = K36(4) mod R8
  0070  ADD       R8 = K35(1) add R8
  0071  GETTABLE  R8 = R4[R8]
  0072  LOADK     R9 = K13 0
  0073  LOADK     R10 = K13 0
  0074  CALL      R7 = call(R7, 1 args, 3 rets)
  0075  ADD       R6 = R7 add R6
  0076  SETTABLE  R5[K29('position')] = R6
  0077  SELF      R6 = R0[K37('UpdatePerSecond')] (self)
  0078  CALL      R5 = call(R5, 0 args, 1 rets)
  0079  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 23-28 np=1 va=0 ms=4 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='GM'
  ;   K[3]='UIManager'
  ;   K[4]='RemoveAllEventLocks'
  ;   K[5]='m_iconTransf'
  ;   K[6]='DOKill'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABUP  R1 = _ENV[K0('BigDayRaceBaseWindow')]
  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_iconTransf')]
  0010  SELF      R2 = R1[K6('DOKill')] (self)
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto2 [UpdatePerSecond] ----------
  ; fn ?  line 30-42 np=1 va=0 ms=10 code=41 consts=21 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetNextStateTime'
  ;   K[2]='GetState'
  ;   K[3]=nil
  ;   K[4]='ActivityState'
  ;   K[5]='Started'
  ;   K[6]='GetEntryGapTime'
  ;   K[7]='math'
  ;   K[8]='max'
  ;   K[9]=0
  ;   K[10]='GM'
  ;   K[11]='GameModel'
  ;   K[12]='GetServerTime'
  ;   K[13]='m_countDownText'
  ;   K[14]='text'
  ;   K[15]='TimeUtil'
  ;   K[16]='ParseTimeDescription'
  ;   K[17]=2
  ;   K[18]='UIUtil'
  ;   K[19]='SetActive'
  ;   K[20]='m_countDownGo'
  ;   upvals: _ENV
  ;   locals: self(0-41), nextTime(3-41), state(6-41), delta(25-34)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetNextStateTime')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABLE  R2 = R0[K0('m_model')]
  0004  SELF      R3 = R2[K2('GetState')] (self)
  0005  CALL      R2 = call(R2, 1 args, 1 rets)
  0006  EQ        if R1 eq K3(nil)   -> -130293
  0007  JMP       (jump)   -> 35
  0008  GETTABUP  R3 = _ENV[K4('ActivityState')]
  0009  GETTABLE  R3 = R3[K5('Started')]
  0010  EQ        if R0 eq R3   -> -130033
  0011  JMP       (jump)   -> 35
  0012  GETTABLE  R3 = R0[K0('m_model')]
  0013  SELF      R4 = R3[K6('GetEntryGapTime')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  SUB       R1 = R3 sub R1
  0016  GETTABUP  R3 = _ENV[K7('math')]
  0017  GETTABLE  R3 = R3[K8('max')]
  0018  LOADK     R4 = K9 0
  0019  GETTABUP  R5 = _ENV[K10('GM')]
  0020  GETTABLE  R5 = R5[K11('GameModel')]
  0021  SELF      R6 = R5[K12('GetServerTime')] (self)
  0022  CALL      R5 = call(R5, 1 args, 1 rets)
  0023  SUB       R5 = R5 sub R1
  0024  CALL      R3 = call(R3, 1 args, 2 rets)
  0025  GETTABLE  R4 = R0[K13('m_countDownText')]
  0026  GETTABUP  R5 = _ENV[K15('TimeUtil')]
  0027  GETTABLE  R5 = R5[K16('ParseTimeDescription')]
  0028  MOVE      R6 = R0
  0029  LOADK     R7 = K17 2
  0030  LOADBOOL  R8 = false
  0031  LOADBOOL  R9 = false
  0032  CALL      R5 = call(R5, 1 args, 4 rets)
  0033  SETTABLE  R4[K14('text')] = R5
  0034  JMP       (jump)   -> 40
  0035  GETTABUP  R3 = _ENV[K18('UIUtil')]
  0036  GETTABLE  R3 = R3[K19('SetActive')]
  0037  GETTABLE  R4 = R0[K20('m_countDownGo')]
  0038  LOADBOOL  R5 = false
  0039  CALL      R3 = call(R3, 0 args, 2 rets)
  0040  RETURN    return R0..R-1
; ---------- proto3 [OnBtnClicked] ----------
  ; fn ?  line 44-46 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_OnEntry'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_OnEntry')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto4 [_OnEntry] ----------
  ; fn ?  line 49-118 np=1 va=0 ms=12 code=72 consts=33 upvals=1 protos=5
  ;   K[0]='m_bClicked'
  ;   K[1]=true
  ;   K[2]='m_model'
  ;   K[3]='GetState'
  ;   K[4]='ActivityState'
  ;   K[5]='Started'
  ;   K[6]='Close'
  ;   K[7]='GM'
  ;   K[8]='UIManager'
  ;   K[9]='SetEventLock'
  ;   K[10]='m_iconTransf'
  ;   K[11]='gameObject'
  ;   K[12]='SetActive'
  ;   K[13]='m_btnTextGo'
  ;   K[14]='DOLocalRotate'
  ;   K[15]='Vector3'
  ;   K[16]=0
  ;   K[17]=-360
  ;   K[18]=0.6
  ;   K[19]='RotateType'
  ;   K[20]='FastBeyond360'
  ;   K[21]='SetEase'
  ;   K[22]='Ease'
  ;   K[23]='Linear'
  ;   K[24]='SetLoops'
  ;   K[25]=-1
  ;   K[26]='LoopType'
  ;   K[27]='Restart'
  ;   K[28]=1
  ;   K[29]='DelayExecuteFuncInView'
  ;   K[30]='TryCompetitionEntry'
  ;   K[31]='m_configIndex'
  ;   K[32]=180
  ;   upvals: _ENV
  ;   locals: self(0-72), state(8-72), minUpdateTime(51-72), matchSuccessFunc(52-72), bCanUpdate(53-72), successCallback(59-72), failCallback(60-72)
  0000  GETTABLE  R1 = R0[K0('m_bClicked')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SETTABLE  R0[K0('m_bClicked')] = K1(true)
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  SELF      R2 = R1[K3('GetState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K4('ActivityState')]
  0009  GETTABLE  R2 = R2[K5('Started')]
  0010  EQ        if R1 eq R2   -> -130546
  0011  JMP       (jump)   -> 15
  0012  SELF      R3 = R0[K6('Close')] (self)
  0013  CALL      R2 = call(R2, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
  0015  GETTABUP  R2 = _ENV[K7('GM')]
  0016  GETTABLE  R2 = R2[K8('UIManager')]
  0017  SELF      R3 = R2[K9('SetEventLock')] (self)
  0018  LOADBOOL  R4 = true
  0019  MOVE      R5 = R0
  0020  CALL      R2 = call(R2, 0 args, 3 rets)
  0021  GETTABLE  R2 = R0[K10('m_iconTransf')]
  0022  GETTABLE  R2 = R2[K11('gameObject')]
  0023  SELF      R3 = R2[K12('SetActive')] (self)
  0024  LOADBOOL  R4 = true
  0025  CALL      R2 = call(R2, 0 args, 2 rets)
  0026  GETTABLE  R2 = R0[K13('m_btnTextGo')]
  0027  SELF      R3 = R2[K12('SetActive')] (self)
  0028  LOADBOOL  R4 = false
  0029  CALL      R2 = call(R2, 0 args, 2 rets)
  0030  GETTABLE  R2 = R0[K10('m_iconTransf')]
  0031  SELF      R3 = R2[K14('DOLocalRotate')] (self)
  0032  GETTABUP  R4 = _ENV[K15('Vector3')]
  0033  LOADK     R5 = K16 0
  0034  LOADK     R6 = K16 0
  0035  LOADK     R7 = K17 -360
  0036  CALL      R4 = call(R4, 1 args, 3 rets)
  0037  LOADK     R5 = K18 0.6
  0038  GETTABUP  R6 = _ENV[K19('RotateType')]
  0039  GETTABLE  R6 = R6[K20('FastBeyond360')]
  0040  CALL      R2 = call(R2, 1 args, 4 rets)
  0041  SELF      R3 = R2[K21('SetEase')] (self)
  0042  GETTABUP  R4 = _ENV[K22('Ease')]
  0043  GETTABLE  R4 = R4[K23('Linear')]
  0044  CALL      R2 = call(R2, 1 args, 2 rets)
  0045  SELF      R3 = R2[K24('SetLoops')] (self)
  0046  LOADK     R4 = K25 -1
  0047  GETTABUP  R5 = _ENV[K26('LoopType')]
  0048  GETTABLE  R5 = R5[K27('Restart')]
  0049  CALL      R2 = call(R2, 0 args, 3 rets)
  0050  LOADK     R2 = K28 1
  0051  CLOSURE   R3 = closure proto0
  0052  LOADBOOL  R4 = false
  0053  GETTABUP  R5 = _ENV[K29('DelayExecuteFuncInView')]
  0054  CLOSURE   R6 = closure proto1
  0055  MOVE      R7 = R0
  0056  MOVE      R8 = R0
  0057  CALL      R5 = call(R5, 0 args, 3 rets)
  0058  CLOSURE   R5 = closure proto2
  0059  CLOSURE   R6 = closure proto3
  0060  GETTABLE  R7 = R0[K2('m_model')]
  0061  SELF      R8 = R7[K30('TryCompetitionEntry')] (self)
  0062  GETTABLE  R9 = R0[K31('m_configIndex')]
  0063  MOVE      R10 = R0
  0064  MOVE      R11 = R0
  0065  CALL      R7 = call(R7, 0 args, 4 rets)
  0066  GETTABUP  R7 = _ENV[K29('DelayExecuteFuncInView')]
  0067  CLOSURE   R8 = closure proto4
  0068  LOADK     R9 = K32 180
  0069  MOVE      R10 = R0
  0070  CALL      R7 = call(R7, 0 args, 3 rets)
  0071  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 68-87 np=0 va=0 ms=6 code=45 consts=22 upvals=2 protos=1
    ;   K[0]='m_bSuccess'
    ;   K[1]='GM'
    ;   K[2]='UIManager'
    ;   K[3]='SetEventLock'
    ;   K[4]=true
    ;   K[5]='gameObject'
    ;   K[6]=nil
    ;   K[7]='IsNull'
    ;   K[8]='m_iconTransf'
    ;   K[9]='DOKill'
    ;   K[10]='DOLocalRotate'
    ;   K[11]='Vector3'
    ;   K[12]=0
    ;   K[13]=-360
    ;   K[14]=0.6
    ;   K[15]='RotateType'
    ;   K[16]='FastBeyond360'
    ;   K[17]='SetEase'
    ;   K[18]='Ease'
    ;   K[19]='Linear'
    ;   K[20]='DelayExecuteFuncInView'
    ;   K[21]=0.7
    ;   upvals: self, _ENV
    0000  GETTABUP  R0 = self[K0('m_bSuccess')]
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 4
    0003  RETURN    return R0..R-1
    0004  GETTABUP  R0 = _ENV[K1('GM')]
    0005  GETTABLE  R0 = R0[K2('UIManager')]
    0006  SELF      R1 = R0[K3('SetEventLock')] (self)
    0007  LOADBOOL  R2 = false
    0008  GETUPVAL  R3 = self
    0009  CALL      R0 = call(R0, 0 args, 3 rets)
    0010  SETTABUP  self[K0('m_bSuccess')] = K4(true)
    0011  GETTABUP  R0 = self[K5('gameObject')]
    0012  EQ        if R1 eq K6(nil)   -> -130796
    0013  JMP       (jump)   -> 19
    0014  GETTABUP  R0 = self[K5('gameObject')]
    0015  SELF      R1 = R0[K7('IsNull')] (self)
    0016  CALL      R0 = call(R0, 1 args, 1 rets)
    0017  TEST      if not R0 then   -> -131053
    0018  JMP       (jump)   -> 20
    0019  RETURN    return R0..R-1
    0020  GETTABUP  R0 = self[K8('m_iconTransf')]
    0021  SELF      R1 = R0[K9('DOKill')] (self)
    0022  CALL      R0 = call(R0, 0 args, 1 rets)
    0023  GETTABUP  R0 = self[K8('m_iconTransf')]
    0024  SELF      R1 = R0[K10('DOLocalRotate')] (self)
    0025  GETTABUP  R2 = _ENV[K11('Vector3')]
    0026  LOADK     R3 = K12 0
    0027  LOADK     R4 = K12 0
    0028  LOADK     R5 = K13 -360
    0029  CALL      R2 = call(R2, 1 args, 3 rets)
    0030  LOADK     R3 = K14 0.6
    0031  GETTABUP  R4 = _ENV[K15('RotateType')]
    0032  GETTABLE  R4 = R4[K16('FastBeyond360')]
    0033  CALL      R0 = call(R0, 1 args, 4 rets)
    0034  SELF      R1 = R0[K17('SetEase')] (self)
    0035  GETTABUP  R2 = _ENV[K18('Ease')]
    0036  GETTABLE  R2 = R2[K19('Linear')]
    0037  CALL      R0 = call(R0, 0 args, 2 rets)
    0038  GETTABUP  R0 = _ENV[K20('DelayExecuteFuncInView')]
    0039  CLOSURE   R1 = closure proto0
    0040  LOADK     R2 = K21 0.7
    0041  GETUPVAL  R3 = self
    0042  LOADBOOL  R4 = true
    0043  CALL      R0 = call(R0, 0 args, 4 rets)
    0044  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 83-86 np=0 va=0 ms=6 code=13 consts=7 upvals=2 protos=0
      ;   K[0]='Close'
      ;   K[1]='GM'
      ;   K[2]='UIManager'
      ;   K[3]='OpenView'
      ;   K[4]='m_activityDefinition'
      ;   K[5]='MainWindowPrefabName'
      ;   K[6]='m_activityType'
      ;   upvals: self, _ENV
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('Close')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  GETTABUP  R0 = _ENV[K1('GM')]
      0004  GETTABLE  R0 = R0[K2('UIManager')]
      0005  SELF      R1 = R0[K3('OpenView')] (self)
      0006  GETTABUP  R2 = self[K4('m_activityDefinition')]
      0007  GETTABLE  R2 = R2[K5('MainWindowPrefabName')]
      0008  GETTABUP  R3 = self[K6('m_activityType')]
      0009  LOADBOOL  R4 = true
      0010  LOADBOOL  R5 = true
      0011  CALL      R0 = call(R0, 0 args, 5 rets)
      0012  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 91-97 np=0 va=0 ms=2 code=9 consts=0 upvals=2 protos=0
    ;   upvals: bCanUpdate, matchSuccessFunc
    0000  GETUPVAL  R0 = bCanUpdate
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 6
    0003  GETUPVAL  R0 = bCanUpdate
    0004  CALL      R0 = call(R0, 0 args, 0 rets)
    0005  JMP       (jump)   -> 8
    0006  LOADBOOL  R0 = true
    0007  SETUPVAL  bCanUpdate = R0
    0008  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 99-105 np=0 va=0 ms=2 code=9 consts=0 upvals=2 protos=0
    ;   upvals: bCanUpdate, matchSuccessFunc
    0000  GETUPVAL  R0 = bCanUpdate
    0001  TEST      if not R0 then   -> -131069
    0002  JMP       (jump)   -> 6
    0003  GETUPVAL  R0 = bCanUpdate
    0004  CALL      R0 = call(R0, 0 args, 0 rets)
    0005  JMP       (jump)   -> 8
    0006  LOADBOOL  R0 = true
    0007  SETUPVAL  bCanUpdate = R0
    0008  RETURN    return R0..R-1
  ; ---------- proto3 [] ----------
    ; fn ?  line 107-110 np=0 va=0 ms=4 code=10 consts=4 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='Close'
    ;   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  GETUPVAL  R3 = _ENV
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  GETUPVAL  R0 = _ENV
    0007  SELF      R1 = R0[K3('Close')] (self)
    0008  CALL      R0 = call(R0, 0 args, 1 rets)
    0009  RETURN    return R0..R-1
  ; ---------- proto4 [] ----------
    ; fn ?  line 115-117 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto5 [Init] ----------
  ; fn ?  line 124-126 np=2 va=0 ms=3 code=3 consts=2 upvals=0 protos=0
  ;   K[0]='m_text'
  ;   K[1]='text'
  ;   locals: self(0-3), day(0-3)
  0000  GETTABLE  R2 = R0[K0('m_text')]
  0001  SETTABLE  R2[K1('text')] = R1
  0002  RETURN    return R0..R-1
; ---------- proto6 [Init] ----------
  ; fn ?  line 131-134 np=4 va=0 ms=8 code=9 consts=3 upvals=0 protos=0
  ;   K[0]='m_curDay'
  ;   K[1]=-1
  ;   K[2]='UpdateDayContent'
  ;   locals: self(0-9), startDay(0-9), targetDay(0-9), curDay(0-9)
  0000  TESTSET   if R1 then R4   -> -129533
  0001  JMP       (jump)   -> 3
  0002  LOADK     R4 = K1 -1
  0003  SETTABLE  R0[K0('m_curDay')] = R4
  0004  SELF      R5 = R0[K2('UpdateDayContent')] (self)
  0005  MOVE      R6 = R0
  0006  MOVE      R7 = R0
  0007  CALL      R4 = call(R4, 0 args, 3 rets)
  0008  RETURN    return R0..R-1
; ---------- proto7 [UpdateDayContent] ----------
  ; fn ?  line 136-181 np=3 va=0 ms=19 code=93 consts=31 upvals=1 protos=0
  ;   K[0]=0.76
  ;   K[1]=0.84
  ;   K[2]=0.92
  ;   K[3]=1
  ;   K[4]=0
  ;   K[5]=13
  ;   K[6]=12
  ;   K[7]=-3
  ;   K[8]=5
  ;   K[9]=10
  ;   K[10]='m_highlightDayNumGo'
  ;   K[11]='m_normalDayNumGo'
  ;   K[12]='GameObject'
  ;   K[13]='Instantiate'
  ;   K[14]='transform'
  ;   K[15]='parent'
  ;   K[16]='GetLuaTable'
  ;   K[17]='UIUtil'
  ;   K[18]='SetActive'
  ;   K[19]='Init'
  ;   K[20]='m_curDay'
  ;   K[21]='SetLocalScale'
  ;   K[22]=4
  ;   K[23]='SetTextLocalPosY'
  ;   K[24]='LayoutRebuilder'
  ;   K[25]='ForceRebuildLayoutImmediate'
  ;   K[26]='m_layoutRect'
  ;   K[27]=nil
  ;   K[28]='m_startPos'
  ;   K[29]='GetTextPos'
  ;   K[30]='m_targetPos'
  ;   upvals: _ENV
  ;   locals: self(0-93), startDay(0-93), targetDay(0-93), arrScale(7-93), arrPosY(13-93), startCell(14-93), targetCell(14-93), index(15-93), prefab(16-93), go(16-93), cell(16-93), (for index)(19-78), (for limit)(19-78), (for step)(19-78), day(20-77)
  0000  NEWTABLE  R3 = {} (5 items)
  0001  LOADK     R4 = K0 0.76
  0002  LOADK     R5 = K1 0.84
  0003  LOADK     R6 = K2 0.92
  0004  LOADK     R7 = K3 1
  0005  LOADK     R8 = K3 1
  0006  SETLIST   setlist R3[B=1,C=5]
  0007  NEWTABLE  R4 = {} (4 items)
  0008  LOADK     R5 = K4 0
  0009  LOADK     R6 = K5 13
  0010  LOADK     R7 = K6 12
  0011  LOADK     R8 = K7 -3
  0012  SETLIST   setlist R4[B=1,C=4]
  0013  LOADNIL   R5..R5 = nil
  0014  LOADK     R7 = K3 1
  0015  LOADNIL   R8..R8 = nil
  0016  SUB       R11 = K8(5) sub R1
  0017  ADD       R12 = K9(10) add R1
  0018  LOADK     R13 = K3 1
  0019  FORPREP   forprep R11(sBx=57)   -> 77
  0020  LE        if R0 le R14   -> -130524
  0021  JMP       (jump)   -> 26
  0022  LE        if R0 le R2   -> -123878
  0023  JMP       (jump)   -> 26
  0024  GETTABLE  R8 = R0[K10('m_highlightDayNumGo')]
  0025  JMP       (jump)   -> 27
  0026  GETTABLE  R8 = R0[K11('m_normalDayNumGo')]
  0027  GETTABUP  R15 = _ENV[K12('GameObject')]
  0028  GETTABLE  R15 = R15[K13('Instantiate')]
  0029  MOVE      R16 = R0
  0030  GETTABLE  R17 = R8[K14('transform')]
  0031  GETTABLE  R17 = R17[K15('parent')]
  0032  CALL      R15 = call(R15, 1 args, 2 rets)
  0033  MOVE      R9 = R0
  0034  SELF      R16 = R9[K16('GetLuaTable')] (self)
  0035  CALL      R15 = call(R15, 1 args, 1 rets)
  0036  MOVE      R10 = R0
  0037  GETTABUP  R15 = _ENV[K17('UIUtil')]
  0038  GETTABLE  R15 = R15[K18('SetActive')]
  0039  MOVE      R16 = R0
  0040  LOADBOOL  R17 = true
  0041  CALL      R15 = call(R15, 0 args, 2 rets)
  0042  SELF      R16 = R10[K19('Init')] (self)
  0043  MOVE      R17 = R0
  0044  GETTABLE  R18 = R0[K20('m_curDay')]
  0045  LT        if R0 lt R18   -> -123839
  0046  JMP       (jump)   -> 49
  0047  LE        if R1 le R14   -> -130497
  0048  JMP       (jump)   -> 50
  0049  LOADBOOL  R18 = false
  0050  LOADBOOL  R18 = true
  0051  CALL      R15 = call(R15, 0 args, 3 rets)
  0052  GETTABUP  R15 = _ENV[K17('UIUtil')]
  0053  GETTABLE  R15 = R15[K21('SetLocalScale')]
  0054  GETTABLE  R16 = R9[K14('transform')]
  0055  LOADNIL   R17..R17 = nil
  0056  SUB       R18 = K3(1) sub R7
  0057  IDIV      R18 = K22(4) idiv R18
  0058  ADD       R18 = K3(1) add R18
  0059  GETTABLE  R18 = R3[R18]
  0060  CALL      R15 = call(R15, 0 args, 3 rets)
  0061  SELF      R16 = R10[K23('SetTextLocalPosY')] (self)
  0062  SUB       R17 = K3(1) sub R7
  0063  IDIV      R17 = K22(4) idiv R17
  0064  ADD       R17 = K3(1) add R17
  0065  GETTABLE  R17 = R4[R17]
  0066  TEST      if not R17 then   -> -131003
  0067  JMP       (jump)   -> 69
  0068  LOADK     R17 = K4 0
  0069  CALL      R15 = call(R15, 0 args, 2 rets)
  0070  ADD       R7 = K3(1) add R7
  0071  EQ        if R0 eq R1   -> -123830
  0072  JMP       (jump)   -> 74
  0073  MOVE      R5 = R0
  0074  EQ        if R0 eq R2   -> -123826
  0075  JMP       (jump)   -> 77
  0076  MOVE      R6 = R0
  0077  FORLOOP   forloop R11(sBx=-58)   -> 20
  0078  GETTABUP  R11 = _ENV[K24('LayoutRebuilder')]
  0079  GETTABLE  R11 = R11[K25('ForceRebuildLayoutImmediate')]
  0080  GETTABLE  R12 = R0[K26('m_layoutRect')]
  0081  CALL      R11 = call(R11, 0 args, 1 rets)
  0082  EQ        if R1 eq K27(nil)   -> -128145
  0083  JMP       (jump)   -> 87
  0084  SELF      R12 = R5[K29('GetTextPos')] (self)
  0085  CALL      R11 = call(R11, 1 args, 1 rets)
  0086  SETTABLE  R0[K28('m_startPos')] = R11
  0087  EQ        if R1 eq K27(nil)   -> -127628
  0088  JMP       (jump)   -> 92
  0089  SELF      R12 = R6[K29('GetTextPos')] (self)
  0090  CALL      R11 = call(R11, 1 args, 1 rets)
  0091  SETTABLE  R0[K30('m_targetPos')] = R11
  0092  RETURN    return R0..R-1
; ---------- proto8 [GetStartDayPos] ----------
  ; fn ?  line 183-185 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_startPos'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_startPos')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto9 [GetTargetDayPos] ----------
  ; fn ?  line 187-189 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_targetPos'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_targetPos')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto10 [Init] ----------
  ; fn ?  line 194-197 np=3 va=0 ms=6 code=8 consts=5 upvals=1 protos=0
  ;   K[0]='m_dayText'
  ;   K[1]='text'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_checkGo'
  ;   upvals: _ENV
  ;   locals: self(0-8), day(0-8), bShowCheck(0-8)
  0000  GETTABLE  R3 = R0[K0('m_dayText')]
  0001  SETTABLE  R3[K1('text')] = R1
  0002  GETTABUP  R3 = _ENV[K2('UIUtil')]
  0003  GETTABLE  R3 = R3[K3('SetActive')]
  0004  GETTABLE  R4 = R0[K4('m_checkGo')]
  0005  MOVE      R5 = R0
  0006  CALL      R3 = call(R3, 0 args, 2 rets)
  0007  RETURN    return R0..R-1
; ---------- proto11 [SetTextLocalPosY] ----------
  ; fn ?  line 199-201 np=2 va=0 ms=6 code=8 consts=4 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetLocalPosition'
  ;   K[2]='m_dayText'
  ;   K[3]='transform'
  ;   upvals: _ENV
  ;   locals: self(0-8), posY(0-8)
  0000  GETTABUP  R2 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R2 = R2[K1('SetLocalPosition')]
  0002  GETTABLE  R3 = R0[K2('m_dayText')]
  0003  GETTABLE  R3 = R3[K3('transform')]
  0004  LOADNIL   R4..R4 = nil
  0005  MOVE      R5 = R0
  0006  CALL      R2 = call(R2, 0 args, 3 rets)
  0007  RETURN    return R0..R-1
; ---------- proto12 [GetTextPos] ----------
  ; fn ?  line 203-205 np=1 va=0 ms=2 code=5 consts=3 upvals=0 protos=0
  ;   K[0]='m_dayText'
  ;   K[1]='transform'
  ;   K[2]='position'
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_dayText')]
  0001  GETTABLE  R1 = R1[K1('transform')]
  0002  GETTABLE  R1 = R1[K2('position')]
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
