# UI_Window_Task_TaskClearWindow_464.luac
; fn @TaskClearWindow.lua  line 0-0 np=0 va=1 ms=3 code=16 consts=8 upvals=1 protos=2
;   K[0]='TaskClearWindow'
;   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('TaskClearWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('TaskClearWindow')]
0007  GETTABUP  R1 = _ENV[K0('TaskClearWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('TaskClearWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('TaskClearWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnCloseView')] = R1
0015  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-15 np=1 va=0 ms=7 code=24 consts=10 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ChapterDataModel'
  ;   K[2]='GetPreTipTime'
  ;   K[3]=nil
  ;   K[4]='GameTextModel'
  ;   K[5]='GetText'
  ;   K[6]='no_task_tip'
  ;   K[7]='no_task_pretip'
  ;   K[8]='m_desc'
  ;   K[9]='text'
  ;   upvals: _ENV
  ;   locals: self(0-24), desc(1-24), preTipTime(5-24)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABUP  R2 = _ENV[K0('GM')]
  0002  GETTABLE  R2 = R2[K1('ChapterDataModel')]
  0003  SELF      R3 = R2[K2('GetPreTipTime')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  EQ        if R0 eq K3(nil)   -> -129782
  0006  JMP       (jump)   -> 14
  0007  GETTABUP  R3 = _ENV[K0('GM')]
  0008  GETTABLE  R3 = R3[K4('GameTextModel')]
  0009  SELF      R4 = R3[K5('GetText')] (self)
  0010  LOADK     R5 = K6 'no_task_tip'
  0011  CALL      R3 = call(R3, 1 args, 2 rets)
  0012  MOVE      R1 = R0
  0013  JMP       (jump)   -> 21
  0014  GETTABUP  R3 = _ENV[K0('GM')]
  0015  GETTABLE  R3 = R3[K4('GameTextModel')]
  0016  SELF      R4 = R3[K5('GetText')] (self)
  0017  LOADK     R5 = K7 'no_task_pretip'
  0018  MOVE      R6 = R0
  0019  CALL      R3 = call(R3, 1 args, 3 rets)
  0020  MOVE      R1 = R0
  0021  GETTABLE  R3 = R0[K8('m_desc')]
  0022  SETTABLE  R3[K9('text')] = R1
  0023  RETURN    return R0..R-1
; ---------- proto1 [OnCloseView] ----------
  ; fn ?  line 17-24 np=1 va=0 ms=4 code=15 consts=9 upvals=1 protos=0
  ;   K[0]='BaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]='ActivityType'
  ;   K[6]='BakeOut'
  ;   K[7]=nil
  ;   K[8]='OnReadyStart'
  ;   upvals: _ENV
  ;   locals: self(0-15), bakeOutModel(10-15)
  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  GETTABUP  R1 = _ENV[K2('GM')]
  0005  GETTABLE  R1 = R1[K3('ActivityManager')]
  0006  SELF      R2 = R1[K4('GetModel')] (self)
  0007  GETTABUP  R3 = _ENV[K5('ActivityType')]
  0008  GETTABLE  R3 = R3[K6('BakeOut')]
  0009  CALL      R1 = call(R1, 1 args, 2 rets)
  0010  EQ        if R1 eq K7(nil)   -> -130285
  0011  JMP       (jump)   -> 14
  0012  SELF      R3 = R1[K8('OnReadyStart')] (self)
  0013  CALL      R2 = call(R2, 0 args, 1 rets)
  0014  RETURN    return R0..R-1
