# RecipeCollectActivity_View_RecipeCollectActivityCompleteWindow_1899.luac
; fn @RecipeCollectActivityCompleteWindow.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='RecipeCollectActivityCompleteWindow'
;   K[1]='setmetatable'
;   K[2]='RecipeCollectActivityBaseWindow'
;   K[3]='__index'
;   K[4]='_InitView'
;   K[5]='_InitModelData'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('RecipeCollectActivityBaseWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('RecipeCollectActivityCompleteWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityCompleteWindow')]
0006  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityCompleteWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityCompleteWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('_InitView')] = R1
0011  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityCompleteWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_InitModelData')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [_InitView] ----------
  ; fn ?  line 5-13 np=1 va=0 ms=7 code=41 consts=14 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='IsFinalRewardClaimed'
  ;   K[2]='m_topDesc'
  ;   K[3]='text'
  ;   K[4]='GM'
  ;   K[5]='GameTextModel'
  ;   K[6]='GetText'
  ;   K[7]='recipecollect_finish_1'
  ;   K[8]='m_descText'
  ;   K[9]='recipecollect_finish_2'
  ;   K[10]='GetTotalScore'
  ;   K[11]='recipecollect_end_1'
  ;   K[12]='recipecollect_end_2'
  ;   K[13]='GetProgressScore'
  ;   upvals: _ENV
  ;   locals: self(0-41)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('IsFinalRewardClaimed')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 23
  0005  GETTABLE  R1 = R0[K2('m_topDesc')]
  0006  GETTABUP  R2 = _ENV[K4('GM')]
  0007  GETTABLE  R2 = R2[K5('GameTextModel')]
  0008  SELF      R3 = R2[K6('GetText')] (self)
  0009  LOADK     R4 = K7 'recipecollect_finish_1'
  0010  CALL      R2 = call(R2, 1 args, 2 rets)
  0011  SETTABLE  R1[K3('text')] = R2
  0012  GETTABLE  R1 = R0[K8('m_descText')]
  0013  GETTABUP  R2 = _ENV[K4('GM')]
  0014  GETTABLE  R2 = R2[K5('GameTextModel')]
  0015  SELF      R3 = R2[K6('GetText')] (self)
  0016  LOADK     R4 = K9 'recipecollect_finish_2'
  0017  GETTABLE  R5 = R0[K0('m_model')]
  0018  SELF      R6 = R5[K10('GetTotalScore')] (self)
  0019  CALL      R5 = call(R5, -1 args, 1 rets)
  0020  CALL      R2 = call(R2, 1 args, -1 rets)
  0021  SETTABLE  R1[K3('text')] = R2
  0022  JMP       (jump)   -> 40
  0023  GETTABLE  R1 = R0[K2('m_topDesc')]
  0024  GETTABUP  R2 = _ENV[K4('GM')]
  0025  GETTABLE  R2 = R2[K5('GameTextModel')]
  0026  SELF      R3 = R2[K6('GetText')] (self)
  0027  LOADK     R4 = K11 'recipecollect_end_1'
  0028  CALL      R2 = call(R2, 1 args, 2 rets)
  0029  SETTABLE  R1[K3('text')] = R2
  0030  GETTABLE  R1 = R0[K8('m_descText')]
  0031  GETTABUP  R2 = _ENV[K4('GM')]
  0032  GETTABLE  R2 = R2[K5('GameTextModel')]
  0033  SELF      R3 = R2[K6('GetText')] (self)
  0034  LOADK     R4 = K12 'recipecollect_end_2'
  0035  GETTABLE  R5 = R0[K0('m_model')]
  0036  SELF      R6 = R5[K13('GetProgressScore')] (self)
  0037  CALL      R5 = call(R5, -1 args, 1 rets)
  0038  CALL      R2 = call(R2, 1 args, -1 rets)
  0039  SETTABLE  R1[K3('text')] = R2
  0040  RETURN    return R0..R-1
; ---------- proto1 [_InitModelData] ----------
  ; fn ?  line 15-17 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='SetCompleteWindowPoped'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('SetCompleteWindowPoped')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
