# NewRecipeReward_View_NewRecipeRewardHelpWindow_1425.luac
; fn @NewRecipeRewardHelpWindow.lua  line 0-0 np=0 va=1 ms=3 code=19 consts=9 upvals=1 protos=3
;   K[0]='NewRecipeRewardHelpWindow'
;   K[1]='setmetatable'
;   K[2]='canClickWindowMask'
;   K[3]=true
;   K[4]='BaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='OnDestroy'
;   K[8]='UpdatePerSecond'
;   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('NewRecipeRewardHelpWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('NewRecipeRewardHelpWindow')]
0007  GETTABUP  R1 = _ENV[K0('NewRecipeRewardHelpWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('NewRecipeRewardHelpWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('NewRecipeRewardHelpWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('OnDestroy')] = R1
0015  GETTABUP  R0 = _ENV[K0('NewRecipeRewardHelpWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('UpdatePerSecond')] = R1
0018  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-16 np=2 va=0 ms=6 code=33 consts=20 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]='ActivityType'
  ;   K[5]='NewRecipeReward'
  ;   K[6]='SetWindowOpened'
  ;   K[7]='UpdatePerSecond'
  ;   K[8]='LogWindowAction'
  ;   K[9]='EBIType'
  ;   K[10]='UIActionType'
  ;   K[11]='Open'
  ;   K[12]='EBIReferType'
  ;   K[13]='AutoPopup'
  ;   K[14]='UserClick'
  ;   K[15]='EventDispatcher'
  ;   K[16]='AddListener'
  ;   K[17]='EEventType'
  ;   K[18]='NewRecipeRewardStateChanged'
  ;   K[19]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-33), bAutoPop(0-33)
  0000  GETTABUP  R2 = _ENV[K1('GM')]
  0001  GETTABLE  R2 = R2[K2('ActivityManager')]
  0002  SELF      R3 = R2[K3('GetModel')] (self)
  0003  GETTABUP  R4 = _ENV[K4('ActivityType')]
  0004  GETTABLE  R4 = R4[K5('NewRecipeReward')]
  0005  CALL      R2 = call(R2, 1 args, 2 rets)
  0006  SETTABLE  R0[K0('m_model')] = R2
  0007  GETTABLE  R2 = R0[K0('m_model')]
  0008  SELF      R3 = R2[K6('SetWindowOpened')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  SELF      R3 = R0[K7('UpdatePerSecond')] (self)
  0011  CALL      R2 = call(R2, 0 args, 1 rets)
  0012  SELF      R3 = R0[K8('LogWindowAction')] (self)
  0013  GETTABUP  R4 = _ENV[K9('EBIType')]
  0014  GETTABLE  R4 = R4[K10('UIActionType')]
  0015  GETTABLE  R4 = R4[K11('Open')]
  0016  TEST      if not R1 then   -> -131054
  0017  JMP       (jump)   -> 22
  0018  GETTABUP  R5 = _ENV[K12('EBIReferType')]
  0019  GETTABLE  R5 = R5[K13('AutoPopup')]
  0020  TEST      if not R5 then   -> -131049
  0021  JMP       (jump)   -> 24
  0022  GETTABUP  R5 = _ENV[K12('EBIReferType')]
  0023  GETTABLE  R5 = R5[K14('UserClick')]
  0024  CALL      R2 = call(R2, 0 args, 3 rets)
  0025  GETTABUP  R2 = _ENV[K15('EventDispatcher')]
  0026  GETTABLE  R2 = R2[K16('AddListener')]
  0027  GETTABUP  R3 = _ENV[K17('EEventType')]
  0028  GETTABLE  R3 = R3[K18('NewRecipeRewardStateChanged')]
  0029  MOVE      R4 = R0
  0030  GETTABLE  R5 = R0[K19('Close')]
  0031  CALL      R2 = call(R2, 0 args, 3 rets)
  0032  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 18-20 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [UpdatePerSecond] ----------
  ; fn ?  line 22-28 np=1 va=0 ms=4 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_countdownText'
  ;   K[2]='text'
  ;   K[3]='GetCountdownText'
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K1('m_countdownText')]
  0005  GETTABLE  R2 = R0[K0('m_model')]
  0006  SELF      R3 = R2[K3('GetCountdownText')] (self)
  0007  CALL      R2 = call(R2, 1 args, 1 rets)
  0008  SETTABLE  R1[K2('text')] = R2
  0009  RETURN    return R0..R-1
