# UI_Window_OrderGroup_OrderDayClearWindow_728.luac
; fn @OrderDayClearWindow.lua  line 0-0 np=0 va=1 ms=3 code=16 consts=8 upvals=1 protos=2
;   K[0]='OrderDayClearWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnCloseView'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canClickWindowMask')] = K3(true)
0003  GETTABUP  R2 = _ENV[K4('BaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('OrderDayClearWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('OrderDayClearWindow')]
0007  GETTABUP  R1 = _ENV[K0('OrderDayClearWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('OrderDayClearWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('OrderDayClearWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnCloseView')] = R1
0015  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-31 np=1 va=0 ms=8 code=68 consts=20 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='TaskManager'
  ;   K[2]='CanFinishOngoingTask'
  ;   K[3]='ChapterDataModel'
  ;   K[4]='GetPreTipTime'
  ;   K[5]=nil
  ;   K[6]='GameTextModel'
  ;   K[7]='GetText'
  ;   K[8]='no_day_tip'
  ;   K[9]='no_day_pretip'
  ;   K[10]='m_descText'
  ;   K[11]='text'
  ;   K[12]='m_comingGo'
  ;   K[13]='SetActive'
  ;   K[14]='m_taskGo'
  ;   K[15]='hint_board_no_order_desc'
  ;   K[16]='m_rainbowSpine'
  ;   K[17]='Init'
  ;   K[18]='PlayAnimation'
  ;   K[19]='appear'
  ;   upvals: _ENV
  ;   locals: self(0-68), finishAllTasks(5-68), desc(8-38), preTipTime(12-38)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('TaskManager')]
  0002  SELF      R2 = R1[K2('CanFinishOngoingTask')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  NOT       R1 = not R0
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 39
  0007  LOADNIL   R2..R2 = nil
  0008  GETTABUP  R3 = _ENV[K0('GM')]
  0009  GETTABLE  R3 = R3[K3('ChapterDataModel')]
  0010  SELF      R4 = R3[K4('GetPreTipTime')] (self)
  0011  CALL      R3 = call(R3, 1 args, 1 rets)
  0012  EQ        if R0 eq K5(nil)   -> -129261
  0013  JMP       (jump)   -> 21
  0014  GETTABUP  R4 = _ENV[K0('GM')]
  0015  GETTABLE  R4 = R4[K6('GameTextModel')]
  0016  SELF      R5 = R4[K7('GetText')] (self)
  0017  LOADK     R6 = K8 'no_day_tip'
  0018  CALL      R4 = call(R4, 1 args, 2 rets)
  0019  MOVE      R2 = R0
  0020  JMP       (jump)   -> 28
  0021  GETTABUP  R4 = _ENV[K0('GM')]
  0022  GETTABLE  R4 = R4[K6('GameTextModel')]
  0023  SELF      R5 = R4[K7('GetText')] (self)
  0024  LOADK     R6 = K9 'no_day_pretip'
  0025  MOVE      R7 = R0
  0026  CALL      R4 = call(R4, 1 args, 3 rets)
  0027  MOVE      R2 = R0
  0028  GETTABLE  R4 = R0[K10('m_descText')]
  0029  SETTABLE  R4[K11('text')] = R2
  0030  GETTABLE  R4 = R0[K12('m_comingGo')]
  0031  SELF      R5 = R4[K13('SetActive')] (self)
  0032  LOADBOOL  R6 = true
  0033  CALL      R4 = call(R4, 0 args, 2 rets)
  0034  GETTABLE  R4 = R0[K14('m_taskGo')]
  0035  SELF      R5 = R4[K13('SetActive')] (self)
  0036  LOADBOOL  R6 = false
  0037  CALL      R4 = call(R4, 0 args, 2 rets)
  0038  JMP       (jump)   -> 54
  0039  GETTABLE  R2 = R0[K10('m_descText')]
  0040  GETTABUP  R3 = _ENV[K0('GM')]
  0041  GETTABLE  R3 = R3[K6('GameTextModel')]
  0042  SELF      R4 = R3[K7('GetText')] (self)
  0043  LOADK     R5 = K15 'hint_board_no_order_desc'
  0044  CALL      R3 = call(R3, 1 args, 2 rets)
  0045  SETTABLE  R2[K11('text')] = R3
  0046  GETTABLE  R2 = R0[K12('m_comingGo')]
  0047  SELF      R3 = R2[K13('SetActive')] (self)
  0048  LOADBOOL  R4 = false
  0049  CALL      R2 = call(R2, 0 args, 2 rets)
  0050  GETTABLE  R2 = R0[K14('m_taskGo')]
  0051  SELF      R3 = R2[K13('SetActive')] (self)
  0052  LOADBOOL  R4 = true
  0053  CALL      R2 = call(R2, 0 args, 2 rets)
  0054  GETTABLE  R2 = R0[K16('m_rainbowSpine')]
  0055  TEST      if not R2 then   -> -131015
  0056  JMP       (jump)   -> 67
  0057  GETTABLE  R2 = R0[K16('m_rainbowSpine')]
  0058  SELF      R3 = R2[K17('Init')] (self)
  0059  CALL      R2 = call(R2, 0 args, 1 rets)
  0060  GETTABLE  R2 = R0[K16('m_rainbowSpine')]
  0061  SELF      R3 = R2[K18('PlayAnimation')] (self)
  0062  LOADK     R4 = K19 'appear'
  0063  CLOSURE   R5 = closure proto0
  0064  LOADBOOL  R6 = false
  0065  LOADBOOL  R7 = true
  0066  CALL      R2 = call(R2, 0 args, 5 rets)
  0067  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 27-29 np=0 va=0 ms=5 code=7 consts=3 upvals=1 protos=0
    ;   K[0]='m_rainbowSpine'
    ;   K[1]='PlayAnimation'
    ;   K[2]='idle'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_rainbowSpine')]
    0001  SELF      R1 = R0[K1('PlayAnimation')] (self)
    0002  LOADK     R2 = K2 'idle'
    0003  LOADNIL   R3..R3 = nil
    0004  LOADBOOL  R4 = true
    0005  CALL      R0 = call(R0, 0 args, 4 rets)
    0006  RETURN    return R0..R-1
; ---------- proto1 [OnCloseView] ----------
  ; fn ?  line 33-39 np=1 va=0 ms=7 code=18 consts=6 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_rainbowSpine'
  ;   K[3]='ThrowCallback'
  ;   K[4]='PlayAnimation'
  ;   K[5]='disappear'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABUP  R1 = _ENV[K0('BaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_rainbowSpine')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 17
  0007  GETTABLE  R1 = R0[K2('m_rainbowSpine')]
  0008  SELF      R2 = R1[K3('ThrowCallback')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  GETTABLE  R1 = R0[K2('m_rainbowSpine')]
  0011  SELF      R2 = R1[K4('PlayAnimation')] (self)
  0012  LOADK     R3 = K5 'disappear'
  0013  LOADNIL   R4..R4 = nil
  0014  LOADBOOL  R5 = false
  0015  LOADBOOL  R6 = true
  0016  CALL      R1 = call(R1, 0 args, 5 rets)
  0017  RETURN    return R0..R-1
