# UI_Window_Notice_NoticeRewardCell_680.luac
; fn @NoticeRewardCell.lua  line 0-0 np=0 va=1 ms=2 code=9 consts=3 upvals=1 protos=1
;   K[0]='NoticeRewardCell'
;   K[1]='__index'
;   K[2]='Init'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('NoticeRewardCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('NoticeRewardCell')]
0003  GETTABUP  R1 = _ENV[K0('NoticeRewardCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('NoticeRewardCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 6-18 np=2 va=0 ms=9 code=33 consts=17 upvals=1 protos=0
  ;   K[0]='PROPERTY_TYPE'
  ;   K[1]='RewardApi'
  ;   K[2]='GetRewardIconNameAndIsSetNativeSize'
  ;   K[3]='SpriteUtil'
  ;   K[4]='SetImage'
  ;   K[5]='m_iconImage'
  ;   K[6]='m_text'
  ;   K[7]='text'
  ;   K[8]='x'
  ;   K[9]='PROPERTY_COUNT'
  ;   K[10]=1
  ;   K[11]='GM'
  ;   K[12]='PropertyDataManager'
  ;   K[13]='IsPropertyType'
  ;   K[14]=0.8
  ;   K[15]='transform'
  ;   K[16]='SetLocalScaleXY'
  ;   upvals: _ENV
  ;   locals: self(0-33), formattedReward(0-33), rewardType(2-33), spriteName(6-33), setNativeSize(6-33), scale(19-33)
  0000  GETTABUP  R2 = _ENV[K0('PROPERTY_TYPE')]
  0001  GETTABLE  R2 = R1[R2]
  0002  GETTABUP  R3 = _ENV[K1('RewardApi')]
  0003  GETTABLE  R3 = R3[K2('GetRewardIconNameAndIsSetNativeSize')]
  0004  MOVE      R4 = R0
  0005  CALL      R3 = call(R3, 2 args, 1 rets)
  0006  GETTABUP  R5 = _ENV[K3('SpriteUtil')]
  0007  GETTABLE  R5 = R5[K4('SetImage')]
  0008  GETTABLE  R6 = R0[K5('m_iconImage')]
  0009  MOVE      R7 = R0
  0010  MOVE      R8 = R0
  0011  CALL      R5 = call(R5, 0 args, 3 rets)
  0012  GETTABLE  R5 = R0[K6('m_text')]
  0013  LOADK     R6 = K8 'x'
  0014  GETTABUP  R7 = _ENV[K9('PROPERTY_COUNT')]
  0015  GETTABLE  R7 = R1[R7]
  0016  CONCAT    R6 = concat(R6..R6)
  0017  SETTABLE  R5[K7('text')] = R6
  0018  LOADK     R5 = K10 1
  0019  GETTABUP  R6 = _ENV[K11('GM')]
  0020  GETTABLE  R6 = R6[K12('PropertyDataManager')]
  0021  SELF      R7 = R6[K13('IsPropertyType')] (self)
  0022  MOVE      R8 = R0
  0023  CALL      R6 = call(R6, 1 args, 2 rets)
  0024  TEST      if not R6 then   -> -131046
  0025  JMP       (jump)   -> 27
  0026  LOADK     R5 = K14 0.8
  0027  GETTABLE  R6 = R0[K5('m_iconImage')]
  0028  GETTABLE  R6 = R6[K15('transform')]
  0029  SELF      R7 = R6[K16('SetLocalScaleXY')] (self)
  0030  MOVE      R8 = R0
  0031  CALL      R6 = call(R6, 0 args, 2 rets)
  0032  RETURN    return R0..R-1
