# FrameDecoActivity_View_FrameDecoActivityRewardItem_1748.luac
; fn @FrameDecoActivityRewardItem.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='FrameDecoActivityRewardItem'
;   K[1]='setmetatable'
;   K[2]='RewardItem'
;   K[3]='__index'
;   K[4]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('RewardItem')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('FrameDecoActivityRewardItem')] = R0
0005  GETTABUP  R0 = _ENV[K0('FrameDecoActivityRewardItem')]
0006  GETTABUP  R1 = _ENV[K0('FrameDecoActivityRewardItem')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('FrameDecoActivityRewardItem')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 9-15 np=2 va=0 ms=6 code=29 consts=13 upvals=1 protos=0
  ;   K[0]='RewardItem'
  ;   K[1]='Init'
  ;   K[2]='GM'
  ;   K[3]='UserProfileModel'
  ;   K[4]='IsValidRewardType'
  ;   K[5]='EProfilePropertyType'
  ;   K[6]='Frame'
  ;   K[7]='PROPERTY_TYPE'
  ;   K[8]='UIUtil'
  ;   K[9]='SetActive'
  ;   K[10]='m_normalEffectGo'
  ;   K[11]='m_frameEffectGo'
  ;   K[12]='m_frameEffectFrontGo'
  ;   upvals: _ENV
  ;   locals: self(0-29), data(0-29), bIsFrame(13-29)
  0000  GETTABUP  R2 = _ENV[K0('RewardItem')]
  0001  GETTABLE  R2 = R2[K1('Init')]
  0002  MOVE      R3 = R0
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  GETTABUP  R2 = _ENV[K2('GM')]
  0006  GETTABLE  R2 = R2[K3('UserProfileModel')]
  0007  SELF      R3 = R2[K4('IsValidRewardType')] (self)
  0008  GETTABUP  R4 = _ENV[K5('EProfilePropertyType')]
  0009  GETTABLE  R4 = R4[K6('Frame')]
  0010  GETTABUP  R5 = _ENV[K7('PROPERTY_TYPE')]
  0011  GETTABLE  R5 = R1[R5]
  0012  CALL      R2 = call(R2, 1 args, 3 rets)
  0013  GETTABUP  R3 = _ENV[K8('UIUtil')]
  0014  GETTABLE  R3 = R3[K9('SetActive')]
  0015  GETTABLE  R4 = R0[K10('m_normalEffectGo')]
  0016  NOT       R5 = not R0
  0017  CALL      R3 = call(R3, 0 args, 2 rets)
  0018  GETTABUP  R3 = _ENV[K8('UIUtil')]
  0019  GETTABLE  R3 = R3[K9('SetActive')]
  0020  GETTABLE  R4 = R0[K11('m_frameEffectGo')]
  0021  MOVE      R5 = R0
  0022  CALL      R3 = call(R3, 0 args, 2 rets)
  0023  GETTABUP  R3 = _ENV[K8('UIUtil')]
  0024  GETTABLE  R3 = R3[K9('SetActive')]
  0025  GETTABLE  R4 = R0[K12('m_frameEffectFrontGo')]
  0026  MOVE      R5 = R0
  0027  CALL      R3 = call(R3, 0 args, 2 rets)
  0028  RETURN    return R0..R-1
