# SurpriseChest_View_SurpriseChestRewardWindow_783.luac
; fn @SurpriseChestRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=16 consts=7 upvals=1 protos=2
;   K[0]='SurpriseChestRewardWindow'
;   K[1]='setmetatable'
;   K[2]='BoxRewardWindow'
;   K[3]='__index'
;   K[4]=0.4
;   K[5]='Init'
;   K[6]='OnAnimationEnd'
;   upvals: _ENV
;   locals: AUTO_CLOSE_DELAY(9-16)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BoxRewardWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('SurpriseChestRewardWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('SurpriseChestRewardWindow')]
0006  GETTABUP  R1 = _ENV[K0('SurpriseChestRewardWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  LOADK     R0 = K4 0.4
0009  GETTABUP  R1 = _ENV[K0('SurpriseChestRewardWindow')]
0010  CLOSURE   R2 = closure proto0
0011  SETTABLE  R1[K5('Init')] = R2
0012  GETTABUP  R1 = _ENV[K0('SurpriseChestRewardWindow')]
0013  CLOSURE   R2 = closure proto1
0014  SETTABLE  R1[K6('OnAnimationEnd')] = R2
0015  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 9-12 np=10 va=0 ms=21 code=18 consts=3 upvals=1 protos=0
  ;   K[0]='BoxRewardWindow'
  ;   K[1]='Init'
  ;   K[2]='m_box'
  ;   upvals: _ENV
  ;   locals: self(0-18), position(0-18), scaleX(0-18), eBoxRewardType(0-18), arrRewards(0-18), titleTextKey(0-18), playRewardAnim(0-18), rewardScene(0-18), initCallback(0-18), closeCallback(0-18)
  0000  GETTABUP  R10 = _ENV[K0('BoxRewardWindow')]
  0001  GETTABLE  R10 = R10[K1('Init')]
  0002  MOVE      R11 = R0
  0003  MOVE      R12 = R0
  0004  MOVE      R13 = R0
  0005  MOVE      R14 = R0
  0006  MOVE      R15 = R0
  0007  MOVE      R16 = R0
  0008  MOVE      R17 = R0
  0009  MOVE      R18 = R0
  0010  MOVE      R19 = R0
  0011  MOVE      R20 = R0
  0012  CALL      R10 = call(R10, 0 args, 10 rets)
  0013  GETTABLE  R10 = R0[K2('m_box')]
  0014  SELF      R11 = R10[K1('Init')] (self)
  0015  MOVE      R12 = R0
  0016  CALL      R10 = call(R10, 0 args, 2 rets)
  0017  RETURN    return R0..R-1
; ---------- proto1 [OnAnimationEnd] ----------
  ; fn ?  line 14-18 np=1 va=0 ms=5 code=6 consts=1 upvals=2 protos=1
  ;   K[0]='DelayExecuteFuncInView'
  ;   upvals: _ENV, AUTO_CLOSE_DELAY
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('DelayExecuteFuncInView')]
  0001  CLOSURE   R2 = closure proto0
  0002  GETUPVAL  R3 = _ENV
  0003  MOVE      R4 = R0
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 15-17 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
