# RecipeCollectActivity_View_RecipeCollectActivityStageRewardItem_1906.luac
; fn @RecipeCollectActivityStageRewardItem.lua  line 0-0 np=0 va=1 ms=3 code=12 consts=5 upvals=1 protos=1
;   K[0]='RecipeCollectActivityStageRewardItem'
;   K[1]='setmetatable'
;   K[2]='RewardItemWithItemTipButton'
;   K[3]='__index'
;   K[4]='SetClaimed'
;   upvals: _ENV
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('RecipeCollectActivityStageRewardItem')] = R0
0005  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityStageRewardItem')]
0006  GETTABUP  R1 = _ENV[K0('RecipeCollectActivityStageRewardItem')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('RecipeCollectActivityStageRewardItem')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('SetClaimed')] = R1
0011  RETURN    return R0..R-1
; ---------- proto0 [SetClaimed] ----------
  ; fn ?  line 12-24 np=2 va=0 ms=7 code=39 consts=19 upvals=1 protos=0
  ;   K[0]=0.5
  ;   K[1]=1
  ;   K[2]='m_iconRootCanvasGroup'
  ;   K[3]='alpha'
  ;   K[4]='m_amountCanvasGroup'
  ;   K[5]='m_itemTipButtonCanvasGroup'
  ;   K[6]='UIUtil'
  ;   K[7]='IsEmptyComponent'
  ;   K[8]='m_innerRewardItem'
  ;   K[9]='m_innerRewardItemCanvasGroup'
  ;   K[10]=nil
  ;   K[11]='gameObject'
  ;   K[12]='AddComponent'
  ;   K[13]='typeof'
  ;   K[14]='CS'
  ;   K[15]='UnityEngine'
  ;   K[16]='CanvasGroup'
  ;   K[17]='SetActive'
  ;   K[18]='m_checkGo'
  ;   upvals: _ENV
  ;   locals: self(0-39), bClaimed(0-39), alpha(6-39)
  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_amountCanvasGroup')]
  0009  SETTABLE  R3[K3('alpha')] = R2
  0010  GETTABLE  R3 = R0[K5('m_itemTipButtonCanvasGroup')]
  0011  SETTABLE  R3[K3('alpha')] = R2
  0012  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0013  GETTABLE  R3 = R3[K7('IsEmptyComponent')]
  0014  GETTABLE  R4 = R0[K8('m_innerRewardItem')]
  0015  CALL      R3 = call(R3, 1 args, 1 rets)
  0016  TEST      if not R3 then   -> -131053
  0017  JMP       (jump)   -> 33
  0018  GETTABLE  R3 = R0[K9('m_innerRewardItemCanvasGroup')]
  0019  EQ        if R0 eq K10(nil)   -> -129249
  0020  JMP       (jump)   -> 31
  0021  GETTABLE  R3 = R0[K8('m_innerRewardItem')]
  0022  GETTABLE  R3 = R3[K11('gameObject')]
  0023  SELF      R4 = R3[K12('AddComponent')] (self)
  0024  GETTABUP  R5 = _ENV[K13('typeof')]
  0025  GETTABUP  R6 = _ENV[K14('CS')]
  0026  GETTABLE  R6 = R6[K15('UnityEngine')]
  0027  GETTABLE  R6 = R6[K16('CanvasGroup')]
  0028  CALL      R5 = call(R5, -1 args, 1 rets)
  0029  CALL      R3 = call(R3, 1 args, -1 rets)
  0030  SETTABLE  R0[K9('m_innerRewardItemCanvasGroup')] = R3
  0031  GETTABLE  R3 = R0[K9('m_innerRewardItemCanvasGroup')]
  0032  SETTABLE  R3[K3('alpha')] = R2
  0033  GETTABUP  R3 = _ENV[K6('UIUtil')]
  0034  GETTABLE  R3 = R3[K17('SetActive')]
  0035  GETTABLE  R4 = R0[K18('m_checkGo')]
  0036  MOVE      R5 = R0
  0037  CALL      R3 = call(R3, 0 args, 2 rets)
  0038  RETURN    return R0..R-1
