# ReturnUser_View_ReturnUserPopupHelper_931.luac
; fn @ReturnUserPopupHelper.lua  line 0-0 np=0 va=1 ms=3 code=24 consts=12 upvals=1 protos=2
;   K[0]='ReturnUserPopupHelper'
;   K[1]='setmetatable'
;   K[2]='BasePopupHelper'
;   K[3]='__index'
;   K[4]='canPopScene'
;   K[5]='EPopupScene'
;   K[6]='Main'
;   K[7]=true
;   K[8]='Board'
;   K[9]='Create'
;   K[10]='ReturnUserPopupHelper'
;   K[11]='CheckPopup'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BasePopupHelper')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('ReturnUserPopupHelper')] = R0
0005  GETTABUP  R0 = _ENV[K0('ReturnUserPopupHelper')]
0006  GETTABUP  R1 = _ENV[K0('ReturnUserPopupHelper')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('ReturnUserPopupHelper')]
0009  NEWTABLE  R1 = {} (0 items)
0010  GETTABUP  R2 = _ENV[K5('EPopupScene')]
0011  GETTABLE  R2 = R2[K6('Main')]
0012  SETTABLE  R1[R2] = K7(true)
0013  GETTABUP  R2 = _ENV[K5('EPopupScene')]
0014  GETTABLE  R2 = R2[K8('Board')]
0015  SETTABLE  R1[R2] = K7(true)
0016  SETTABLE  R0[K4('canPopScene')] = R1
0017  GETTABUP  R0 = _ENV[K0('ReturnUserPopupHelper')]
0018  CLOSURE   R1 = closure proto0
0019  SETTABLE  R0[K9('Create')] = R1
0020  GETTABUP  R0 = _ENV[K10('ReturnUserPopupHelper')]
0021  CLOSURE   R1 = closure proto1
0022  SETTABLE  R0[K11('CheckPopup')] = R1
0023  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 9-13 np=0 va=0 ms=3 code=8 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='ReturnUserPopupHelper'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: helper(4-8)
  0000  GETTABUP  R0 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R1 = {} (0 items)
  0002  GETTABUP  R2 = _ENV[K1('ReturnUserPopupHelper')]
  0003  CALL      R0 = call(R0, 1 args, 2 rets)
  0004  SELF      R2 = R0[K2('Init')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
  0007  RETURN    return R0..R-1
; ---------- proto1 [CheckPopup] ----------
  ; fn ?  line 15-20 np=1 va=0 ms=5 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='ReturnUserModel'
  ;   K[2]='TryGetReturnReward'
  ;   K[3]=nil
  ;   K[4]='UIPrefabConfigName'
  ;   K[5]='ReturnUserRewardWindow'
  ;   K[6]='table'
  ;   K[7]='pack'
  ;   upvals: _ENV
  ;   locals: self(0-14), arrRewrads(4-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('ReturnUserModel')]
  0002  SELF      R2 = R1[K2('TryGetReturnReward')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  EQ        if R1 eq K3(nil)   -> -130295
  0005  JMP       (jump)   -> 13
  0006  GETTABUP  R2 = _ENV[K4('UIPrefabConfigName')]
  0007  GETTABLE  R2 = R2[K5('ReturnUserRewardWindow')]
  0008  GETTABUP  R3 = _ENV[K6('table')]
  0009  GETTABLE  R3 = R3[K7('pack')]
  0010  MOVE      R4 = R0
  0011  CALL      R3 = call(R3, -1 args, 1 rets)
  0012  RETURN    return R2..R1
  0013  RETURN    return R0..R-1
