# TimeLimitedProgressActivity_View_TimeLimitedProgressFinishWindow_1712.luac
; fn @TimeLimitedProgressFinishWindow.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='TimeLimitedProgressFinishWindow'
;   K[1]='setmetatable'
;   K[2]='TimeLimitedProgressBaseWindow'
;   K[3]='__index'
;   K[4]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('TimeLimitedProgressBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('TimeLimitedProgressFinishWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressFinishWindow')]
0006  GETTABUP  R1 = _ENV[K0('TimeLimitedProgressFinishWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('TimeLimitedProgressFinishWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 5-10 np=1 va=1 ms=7 code=24 consts=12 upvals=1 protos=0
  ;   K[0]='TimeLimitedProgressBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_model'
  ;   K[3]='GetProgressHelper'
  ;   K[4]='HasFinishedAllLevelAndAcquiredRewards'
  ;   K[5]='forestprogress_end_1'
  ;   K[6]='forestprogress_end_2'
  ;   K[7]='m_descText'
  ;   K[8]='text'
  ;   K[9]='GM'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   upvals: _ENV
  ;   locals: self(0-24), progressHelper(8-24), key(16-24)
  0000  GETTABUP  R1 = _ENV[K0('TimeLimitedProgressBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABLE  R1 = R0[K2('m_model')]
  0006  SELF      R2 = R1[K3('GetProgressHelper')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  SELF      R3 = R1[K4('HasFinishedAllLevelAndAcquiredRewards')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  TEST      if not R2 then   -> -131060
  0011  JMP       (jump)   -> 15
  0012  LOADK     R2 = K5 'forestprogress_end_1'
  0013  TEST      if not R2 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  LOADK     R2 = K6 'forestprogress_end_2'
  0016  GETTABLE  R3 = R0[K7('m_descText')]
  0017  GETTABUP  R4 = _ENV[K9('GM')]
  0018  GETTABLE  R4 = R4[K10('GameTextModel')]
  0019  SELF      R5 = R4[K11('GetText')] (self)
  0020  MOVE      R6 = R0
  0021  CALL      R4 = call(R4, 1 args, 2 rets)
  0022  SETTABLE  R3[K8('text')] = R4
  0023  RETURN    return R0..R-1
