# DoubleWheelActivity_View_DoubleWheelActivityRewardItem_2018.luac
; fn @DoubleWheelActivityRewardItem.lua  line 0-0 np=0 va=1 ms=3 code=17 consts=7 upvals=1 protos=2
;   K[0]='DoubleWheelActivityRewardItem'
;   K[1]='setmetatable'
;   K[2]='RewardItemWithItemTipButton'
;   K[3]='__index'
;   K[4]='Show'
;   K[5]='SetClaimed'
;   K[6]='ShowResultEffect'
;   upvals: _ENV
;   locals: ERewardAnimationTrigger(10-17)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('RewardItemWithItemTipButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('DoubleWheelActivityRewardItem')] = R0
0005  GETTABUP  R0 = _ENV[K0('DoubleWheelActivityRewardItem')]
0006  GETTABUP  R1 = _ENV[K0('DoubleWheelActivityRewardItem')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  NEWTABLE  R0 = {} (0 items)
0009  SETTABLE  R0[K4('Show')] = K4('Show')
0010  GETTABUP  R1 = _ENV[K0('DoubleWheelActivityRewardItem')]
0011  CLOSURE   R2 = closure proto0
0012  SETTABLE  R1[K5('SetClaimed')] = R2
0013  GETTABUP  R1 = _ENV[K0('DoubleWheelActivityRewardItem')]
0014  CLOSURE   R2 = closure proto1
0015  SETTABLE  R1[K6('ShowResultEffect')] = R2
0016  RETURN    return R0..R-1
; ---------- proto0 [SetClaimed] ----------
  ; fn ?  line 15-25 np=2 va=0 ms=7 code=32 consts=16 upvals=1 protos=0
  ;   K[0]=0.5
  ;   K[1]=1
  ;   K[2]='m_iconRootCanvasGroup'
  ;   K[3]='alpha'
  ;   K[4]='m_itemTipButtonCanvasGroup'
  ;   K[5]='UIUtil'
  ;   K[6]='IsEmptyComponent'
  ;   K[7]='m_innerRewardItem'
  ;   K[8]='m_innerRewardItemCanvasGroup'
  ;   K[9]=nil
  ;   K[10]='gameObject'
  ;   K[11]='AddComponent'
  ;   K[12]='typeof'
  ;   K[13]='CS'
  ;   K[14]='UnityEngine'
  ;   K[15]='CanvasGroup'
  ;   upvals: _ENV
  ;   locals: self(0-32), bClaimed(0-32), alpha(6-32)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 5
  0002  LOADK     R2 = K0 0.5
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  LOADK     R2 = K1 1
  0006  GETTABLE  R3 = R0[K2('m_iconRootCanvasGroup')]
  0007  SETTABLE  R3[K3('alpha')] = R2
  0008  GETTABLE  R3 = R0[K4('m_itemTipButtonCanvasGroup')]
  0009  SETTABLE  R3[K3('alpha')] = R2
  0010  GETTABUP  R3 = _ENV[K5('UIUtil')]
  0011  GETTABLE  R3 = R3[K6('IsEmptyComponent')]
  0012  GETTABLE  R4 = R0[K7('m_innerRewardItem')]
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  TEST      if not R3 then   -> -131055
  0015  JMP       (jump)   -> 31
  0016  GETTABLE  R3 = R0[K8('m_innerRewardItemCanvasGroup')]
  0017  EQ        if R0 eq K9(nil)   -> -129252
  0018  JMP       (jump)   -> 29
  0019  GETTABLE  R3 = R0[K7('m_innerRewardItem')]
  0020  GETTABLE  R3 = R3[K10('gameObject')]
  0021  SELF      R4 = R3[K11('AddComponent')] (self)
  0022  GETTABUP  R5 = _ENV[K12('typeof')]
  0023  GETTABUP  R6 = _ENV[K13('CS')]
  0024  GETTABLE  R6 = R6[K14('UnityEngine')]
  0025  GETTABLE  R6 = R6[K15('CanvasGroup')]
  0026  CALL      R5 = call(R5, -1 args, 1 rets)
  0027  CALL      R3 = call(R3, 1 args, -1 rets)
  0028  SETTABLE  R0[K8('m_innerRewardItemCanvasGroup')] = R3
  0029  GETTABLE  R3 = R0[K8('m_innerRewardItemCanvasGroup')]
  0030  SETTABLE  R3[K3('alpha')] = R2
  0031  RETURN    return R0..R-1
; ---------- proto1 [ShowResultEffect] ----------
  ; fn ?  line 27-29 np=1 va=0 ms=4 code=5 consts=3 upvals=1 protos=0
  ;   K[0]='m_rewardAnimator'
  ;   K[1]='SetTrigger'
  ;   K[2]='Show'
  ;   upvals: ERewardAnimationTrigger
  ;   locals: self(0-5)
  0000  GETTABLE  R1 = R0[K0('m_rewardAnimator')]
  0001  SELF      R2 = R1[K1('SetTrigger')] (self)
  0002  GETTABUP  R3 = ERewardAnimationTrigger[K2('Show')]
  0003  CALL      R1 = call(R1, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
