# UI_Window_Setting_FrameInnerRewardItem_591.luac
; fn @FrameInnerRewardItem.lua  line 0-0 np=0 va=1 ms=3 code=15 consts=6 upvals=1 protos=2
;   K[0]='FrameInnerRewardItem'
;   K[1]='setmetatable'
;   K[2]='BaseInnerRewardItem'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_UpdateIcon'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BaseInnerRewardItem')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('FrameInnerRewardItem')] = R0
0005  GETTABUP  R0 = _ENV[K0('FrameInnerRewardItem')]
0006  GETTABUP  R1 = _ENV[K0('FrameInnerRewardItem')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('FrameInnerRewardItem')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('FrameInnerRewardItem')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_UpdateIcon')] = R1
0014  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-20 np=1 va=1 ms=9 code=29 consts=16 upvals=1 protos=1
  ;   K[0]='BaseInnerRewardItem'
  ;   K[1]='Init'
  ;   K[2]='m_icon'
  ;   K[3]='gameObject'
  ;   K[4]='SetActive'
  ;   K[5]='m_reward'
  ;   K[6]='PROPERTY_TYPE'
  ;   K[7]='GM'
  ;   K[8]='DataResource'
  ;   K[9]='UIPrefabConfig'
  ;   K[10]='GetConfig'
  ;   K[11]='UIPrefabConfigName'
  ;   K[12]='ResourceLoader'
  ;   K[13]='LoadPrefab'
  ;   K[14]='m_frameRoot'
  ;   K[15]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-29), frameId(13-29), config(20-29)
  0000  GETTABUP  R1 = _ENV[K0('BaseInnerRewardItem')]
  0001  GETTABLE  R1 = R1[K1('Init')]
  0002  MOVE      R2 = R0
  0003  VARARG    R3 = vararg(0)
  0004  CALL      R1 = call(R1, 0 args, -1 rets)
  0005  GETTABLE  R1 = R0[K2('m_icon')]
  0006  GETTABLE  R1 = R1[K3('gameObject')]
  0007  SELF      R2 = R1[K4('SetActive')] (self)
  0008  LOADBOOL  R3 = false
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  GETTABLE  R1 = R0[K5('m_reward')]
  0011  GETTABUP  R2 = _ENV[K6('PROPERTY_TYPE')]
  0012  GETTABLE  R1 = R1[R2]
  0013  GETTABUP  R2 = _ENV[K7('GM')]
  0014  GETTABLE  R2 = R2[K8('DataResource')]
  0015  GETTABLE  R2 = R2[K9('UIPrefabConfig')]
  0016  SELF      R3 = R2[K10('GetConfig')] (self)
  0017  GETTABUP  R4 = _ENV[K11('UIPrefabConfigName')]
  0018  GETTABLE  R4 = R4[R1]
  0019  CALL      R2 = call(R2, 1 args, 2 rets)
  0020  GETTABUP  R3 = _ENV[K7('GM')]
  0021  GETTABLE  R3 = R3[K12('ResourceLoader')]
  0022  SELF      R4 = R3[K13('LoadPrefab')] (self)
  0023  MOVE      R5 = R0
  0024  GETTABLE  R6 = R0[K14('m_frameRoot')]
  0025  GETTABUP  R7 = _ENV[K15('V3Zero')]
  0026  CLOSURE   R8 = closure proto0
  0027  CALL      R3 = call(R3, 0 args, 5 rets)
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 13-19 np=1 va=0 ms=4 code=7 consts=2 upvals=0 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='Init'
    ;   locals: go(0-7), frameView(2-7)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  TEST      if not R1 then   -> -131068
    0003  JMP       (jump)   -> 6
    0004  SELF      R3 = R1[K1('Init')] (self)
    0005  CALL      R2 = call(R2, 0 args, 1 rets)
    0006  RETURN    return R0..R-1
; ---------- proto1 [_UpdateIcon] ----------
  ; fn ?  line 22-24 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_OnUpdateIconFinished'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_OnUpdateIconFinished')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
