# UI_SubView_Reward_RewardContent_334.luac
; fn @RewardContent.lua  line 0-0 np=0 va=1 ms=3 code=58 consts=22 upvals=1 protos=13
;   K[0]='SimpleRewardContent'
;   K[1]='bNoFilterReward'
;   K[2]=false
;   K[3]='__index'
;   K[4]='EventType'
;   K[5]='OnUpdateRewards'
;   K[6]=1
;   K[7]='Awake'
;   K[8]='OnDestroy'
;   K[9]='Init'
;   K[10]='_AddEventListeners'
;   K[11]='_UpdateRewards'
;   K[12]='SimpleRewardContent'
;   K[13]='ClearRewards'
;   K[14]='GetRewardItem'
;   K[15]='GetRewardItems'
;   K[16]='GetRewardCount'
;   K[17]='PlayRewardAnimation'
;   K[18]='LockRewards'
;   K[19]='RewardContent'
;   K[20]='setmetatable'
;   K[21]='Init'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABLE  R0[K1('bNoFilterReward')] = K2(false)
0002  SETTABUP  _ENV[K0('SimpleRewardContent')] = R0
0003  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0004  GETTABUP  R1 = _ENV[K0('SimpleRewardContent')]
0005  SETTABLE  R0[K3('__index')] = R1
0006  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0007  NEWTABLE  R1 = {} (0 items)
0008  SETTABLE  R1[K5('OnUpdateRewards')] = K6(1)
0009  SETTABLE  R0[K4('EventType')] = R1
0010  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K7('Awake')] = R1
0013  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K8('OnDestroy')] = R1
0016  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K9('Init')] = R1
0019  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K10('_AddEventListeners')] = R1
0022  GETTABUP  R0 = _ENV[K0('SimpleRewardContent')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K11('_UpdateRewards')] = R1
0025  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K13('ClearRewards')] = R1
0028  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0029  CLOSURE   R1 = closure proto6
0030  SETTABLE  R0[K14('GetRewardItem')] = R1
0031  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0032  CLOSURE   R1 = closure proto7
0033  SETTABLE  R0[K15('GetRewardItems')] = R1
0034  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0035  CLOSURE   R1 = closure proto8
0036  SETTABLE  R0[K16('GetRewardCount')] = R1
0037  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0038  CLOSURE   R1 = closure proto9
0039  SETTABLE  R0[K17('PlayRewardAnimation')] = R1
0040  GETTABUP  R0 = _ENV[K12('SimpleRewardContent')]
0041  CLOSURE   R1 = closure proto10
0042  SETTABLE  R0[K18('LockRewards')] = R1
0043  GETTABUP  R0 = _ENV[K20('setmetatable')]
0044  NEWTABLE  R1 = {} (0 items)
0045  GETTABUP  R2 = _ENV[K12('SimpleRewardContent')]
0046  CALL      R0 = call(R0, 1 args, 2 rets)
0047  SETTABUP  _ENV[K19('RewardContent')] = R0
0048  GETTABUP  R0 = _ENV[K19('RewardContent')]
0049  GETTABUP  R1 = _ENV[K19('RewardContent')]
0050  SETTABLE  R0[K3('__index')] = R1
0051  GETTABUP  R0 = _ENV[K19('RewardContent')]
0052  CLOSURE   R1 = closure proto11
0053  SETTABLE  R0[K21('Init')] = R1
0054  GETTABUP  R0 = _ENV[K19('RewardContent')]
0055  CLOSURE   R1 = closure proto12
0056  SETTABLE  R0[K11('_UpdateRewards')] = R1
0057  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 17-22 np=1 va=0 ms=3 code=10 consts=5 upvals=0 protos=0
  ;   K[0]='m_bCanAddListener'
  ;   K[1]='m_bCheckRewardValid'
  ;   K[2]='_AddEventListeners'
  ;   K[3]='m_bAwaked'
  ;   K[4]=true
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_bCanAddListener')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 8
  0003  GETTABLE  R1 = R0[K1('m_bCheckRewardValid')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 8
  0006  SELF      R2 = R0[K2('_AddEventListeners')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SETTABLE  R0[K3('m_bAwaked')] = K4(true)
  0009  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 24-26 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('RemoveTarget')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto2 [Init] ----------
  ; fn ?  line 28-41 np=4 va=0 ms=6 code=21 consts=12 upvals=1 protos=0
  ;   K[0]='event'
  ;   K[1]='PairEvent'
  ;   K[2]='Create'
  ;   K[3]='m_initRewards'
  ;   K[4]='m_rewardScene'
  ;   K[5]='m_detailWindowRefer'
  ;   K[6]='_UpdateRewards'
  ;   K[7]='m_bAwaked'
  ;   K[8]='m_bCheckRewardValid'
  ;   K[9]='_AddEventListeners'
  ;   K[10]='m_bCanAddListener'
  ;   K[11]=true
  ;   upvals: _ENV
  ;   locals: self(0-21), rewards(0-21), rewardScene(0-21), detailWindowRefer(0-21)
  0000  GETTABUP  R4 = _ENV[K1('PairEvent')]
  0001  GETTABLE  R4 = R4[K2('Create')]
  0002  MOVE      R5 = R0
  0003  CALL      R4 = call(R4, 1 args, 1 rets)
  0004  SETTABLE  R0[K0('event')] = R4
  0005  SETTABLE  R0[K3('m_initRewards')] = R1
  0006  SETTABLE  R0[K4('m_rewardScene')] = R2
  0007  SETTABLE  R0[K5('m_detailWindowRefer')] = R3
  0008  SELF      R5 = R0[K6('_UpdateRewards')] (self)
  0009  CALL      R4 = call(R4, 0 args, 1 rets)
  0010  GETTABLE  R4 = R0[K7('m_bAwaked')]
  0011  TEST      if not R4 then   -> -131059
  0012  JMP       (jump)   -> 19
  0013  GETTABLE  R4 = R0[K8('m_bCheckRewardValid')]
  0014  TEST      if not R4 then   -> -131056
  0015  JMP       (jump)   -> 19
  0016  SELF      R5 = R0[K9('_AddEventListeners')] (self)
  0017  CALL      R4 = call(R4, 0 args, 1 rets)
  0018  JMP       (jump)   -> 20
  0019  SETTABLE  R0[K10('m_bCanAddListener')] = K11(true)
  0020  RETURN    return R0..R-1
; ---------- proto3 [_AddEventListeners] ----------
  ; fn ?  line 43-45 np=1 va=0 ms=4 code=6 consts=3 upvals=1 protos=0
  ;   K[0]='RewardApi'
  ;   K[1]='AddFilterRewardEventListener'
  ;   K[2]='_UpdateRewards'
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('RewardApi')]
  0001  GETTABLE  R1 = R1[K1('AddFilterRewardEventListener')]
  0002  MOVE      R2 = R0
  0003  GETTABLE  R3 = R0[K2('_UpdateRewards')]
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  RETURN    return R0..R-1
; ---------- proto4 [_UpdateRewards] ----------
  ; fn ?  line 47-86 np=1 va=0 ms=12 code=86 consts=28 upvals=1 protos=0
  ;   K[0]='m_bLockRewards'
  ;   K[1]='bNoFilterReward'
  ;   K[2]='m_bCheckRewardValid'
  ;   K[3]=false
  ;   K[4]='m_arrRewards'
  ;   K[5]='m_initRewards'
  ;   K[6]='RewardApi'
  ;   K[7]='FilterRewards'
  ;   K[8]='m_rewardScene'
  ;   K[9]='m_rewardItems'
  ;   K[10]=nil
  ;   K[11]='m_rewardGo'
  ;   K[12]='SetActive'
  ;   K[13]=1
  ;   K[14]='PROPERTY_TYPE'
  ;   K[15]='Object'
  ;   K[16]='Instantiate'
  ;   K[17]='m_rewardsRoot'
  ;   K[18]='GetLuaTable'
  ;   K[19]='UIUtil'
  ;   K[20]='gameObject'
  ;   K[21]='Init'
  ;   K[22]='m_detailWindowRefer'
  ;   K[23]='event'
  ;   K[24]='Call'
  ;   K[25]='SimpleRewardContent'
  ;   K[26]='EventType'
  ;   K[27]='OnUpdateRewards'
  ;   upvals: _ENV
  ;   locals: self(0-86), rewards(21-86), rewardGo(31-86), rewardType(31-86), (for index)(34-66), (for limit)(34-66), (for step)(34-66), i(35-65), (for index)(71-79), (for limit)(71-79), (for step)(71-79), i(72-78)
  0000  GETTABLE  R1 = R0[K0('m_bLockRewards')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K1('bNoFilterReward')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 11
  0007  SETTABLE  R0[K2('m_bCheckRewardValid')] = K3(false)
  0008  GETTABLE  R1 = R0[K5('m_initRewards')]
  0009  SETTABLE  R0[K4('m_arrRewards')] = R1
  0010  JMP       (jump)   -> 17
  0011  GETTABUP  R1 = _ENV[K6('RewardApi')]
  0012  GETTABLE  R1 = R1[K7('FilterRewards')]
  0013  GETTABLE  R2 = R0[K5('m_initRewards')]
  0014  GETTABLE  R3 = R0[K8('m_rewardScene')]
  0015  CALL      R1 = call(R1, 1 args, 2 rets)
  0016  SETTABLE  R0[K4('m_arrRewards')] = R1
  0017  GETTABLE  R1 = R0[K4('m_arrRewards')]
  0018  TEST      if not R1 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  NEWTABLE  R1 = {} (0 items)
  0021  GETTABLE  R2 = R0[K9('m_rewardItems')]
  0022  EQ        if R0 eq K10(nil)   -> -129758
  0023  JMP       (jump)   -> 26
  0024  NEWTABLE  R2 = {} (0 items)
  0025  SETTABLE  R0[K9('m_rewardItems')] = R2
  0026  GETTABLE  R2 = R0[K11('m_rewardGo')]
  0027  SELF      R3 = R2[K12('SetActive')] (self)
  0028  LOADBOOL  R4 = false
  0029  CALL      R2 = call(R2, 0 args, 2 rets)
  0030  LOADNIL   R2..R2 = nil
  0031  LOADK     R4 = K13 1
  0032  LEN       R5 = len R0
  0033  LOADK     R6 = K13 1
  0034  FORPREP   forprep R4(sBx=30)   -> 65
  0035  GETTABLE  R8 = R1[R7]
  0036  GETTABUP  R9 = _ENV[K14('PROPERTY_TYPE')]
  0037  GETTABLE  R3 = R8[R9]
  0038  GETTABLE  R2 = R0[K11('m_rewardGo')]
  0039  GETTABLE  R8 = R0[K9('m_rewardItems')]
  0040  GETTABLE  R8 = R8[R7]
  0041  EQ        if R0 eq K10(nil)   -> -126667
  0042  JMP       (jump)   -> 52
  0043  GETTABLE  R8 = R0[K9('m_rewardItems')]
  0044  GETTABUP  R9 = _ENV[K15('Object')]
  0045  GETTABLE  R9 = R9[K16('Instantiate')]
  0046  MOVE      R10 = R0
  0047  GETTABLE  R11 = R0[K17('m_rewardsRoot')]
  0048  CALL      R9 = call(R9, 1 args, 2 rets)
  0049  SELF      R10 = R9[K18('GetLuaTable')] (self)
  0050  CALL      R9 = call(R9, 1 args, 1 rets)
  0051  SETTABLE  R8[R7] = R9
  0052  GETTABUP  R8 = _ENV[K19('UIUtil')]
  0053  GETTABLE  R8 = R8[K12('SetActive')]
  0054  GETTABLE  R9 = R0[K9('m_rewardItems')]
  0055  GETTABLE  R9 = R9[R7]
  0056  GETTABLE  R9 = R9[K20('gameObject')]
  0057  LOADBOOL  R10 = true
  0058  CALL      R8 = call(R8, 0 args, 2 rets)
  0059  GETTABLE  R8 = R0[K9('m_rewardItems')]
  0060  GETTABLE  R8 = R8[R7]
  0061  SELF      R9 = R8[K21('Init')] (self)
  0062  GETTABLE  R10 = R1[R7]
  0063  GETTABLE  R11 = R0[K22('m_detailWindowRefer')]
  0064  CALL      R8 = call(R8, 0 args, 3 rets)
  0065  FORLOOP   forloop R4(sBx=-31)   -> 35
  0066  LEN       R4 = len R0
  0067  ADD       R4 = K13(1) add R4
  0068  GETTABLE  R5 = R0[K9('m_rewardItems')]
  0069  LEN       R5 = len R0
  0070  LOADK     R6 = K13 1
  0071  FORPREP   forprep R4(sBx=6)   -> 78
  0072  GETTABLE  R8 = R0[K9('m_rewardItems')]
  0073  GETTABLE  R8 = R8[R7]
  0074  GETTABLE  R8 = R8[K20('gameObject')]
  0075  SELF      R9 = R8[K12('SetActive')] (self)
  0076  LOADBOOL  R10 = false
  0077  CALL      R8 = call(R8, 0 args, 2 rets)
  0078  FORLOOP   forloop R4(sBx=-7)   -> 72
  0079  GETTABLE  R4 = R0[K23('event')]
  0080  SELF      R5 = R4[K24('Call')] (self)
  0081  GETTABUP  R6 = _ENV[K25('SimpleRewardContent')]
  0082  GETTABLE  R6 = R6[K26('EventType')]
  0083  GETTABLE  R6 = R6[K27('OnUpdateRewards')]
  0084  CALL      R4 = call(R4, 0 args, 2 rets)
  0085  RETURN    return R0..R-1
; ---------- proto5 [ClearRewards] ----------
  ; fn ?  line 88-99 np=1 va=0 ms=8 code=29 consts=9 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_rewardItems'
  ;   K[3]=1
  ;   K[4]='UIUtil'
  ;   K[5]='SetActive'
  ;   K[6]='gameObject'
  ;   K[7]='Object'
  ;   K[8]='Destroy'
  ;   upvals: _ENV
  ;   locals: self(0-29), (for index)(11-26), (for limit)(11-26), (for step)(11-26), i(12-25)
  0000  GETTABUP  R1 = _ENV[K0('Table')]
  0001  GETTABLE  R1 = R1[K1('IsEmpty')]
  0002  GETTABLE  R2 = R0[K2('m_rewardItems')]
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  LOADK     R1 = K3 1
  0008  GETTABLE  R2 = R0[K2('m_rewardItems')]
  0009  LEN       R2 = len R0
  0010  LOADK     R3 = K3 1
  0011  FORPREP   forprep R1(sBx=13)   -> 25
  0012  GETTABUP  R5 = _ENV[K4('UIUtil')]
  0013  GETTABLE  R5 = R5[K5('SetActive')]
  0014  GETTABLE  R6 = R0[K2('m_rewardItems')]
  0015  GETTABLE  R6 = R6[R4]
  0016  GETTABLE  R6 = R6[K6('gameObject')]
  0017  LOADBOOL  R7 = false
  0018  CALL      R5 = call(R5, 0 args, 2 rets)
  0019  GETTABUP  R5 = _ENV[K7('Object')]
  0020  GETTABLE  R5 = R5[K8('Destroy')]
  0021  GETTABLE  R6 = R0[K2('m_rewardItems')]
  0022  GETTABLE  R6 = R6[R4]
  0023  GETTABLE  R6 = R6[K6('gameObject')]
  0024  CALL      R5 = call(R5, 0 args, 1 rets)
  0025  FORLOOP   forloop R1(sBx=-14)   -> 12
  0026  NEWTABLE  R1 = {} (0 items)
  0027  SETTABLE  R0[K2('m_rewardItems')] = R1
  0028  RETURN    return R0..R-1
; ---------- proto6 [GetRewardItem] ----------
  ; fn ?  line 102-104 np=2 va=0 ms=3 code=10 consts=1 upvals=0 protos=0
  ;   K[0]='m_rewardItems'
  ;   locals: self(0-10), index(0-10)
  0000  GETTABLE  R2 = R0[K0('m_rewardItems')]
  0001  TEST      if not R2 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R2 = R0[K0('m_rewardItems')]
  0004  GETTABLE  R2 = R2[R1]
  0005  TEST      if not R2 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADNIL   R2..R2 = nil
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto7 [GetRewardItems] ----------
  ; fn ?  line 106-108 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_rewardItems'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_rewardItems')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto8 [GetRewardCount] ----------
  ; fn ?  line 110-112 np=1 va=0 ms=2 code=10 consts=2 upvals=0 protos=0
  ;   K[0]='m_arrRewards'
  ;   K[1]=0
  ;   locals: self(0-10)
  0000  GETTABLE  R1 = R0[K0('m_arrRewards')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_arrRewards')]
  0004  LEN       R1 = len R0
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  LOADK     R1 = K1 0
  0008  RETURN    return R1..R0
  0009  RETURN    return R0..R-1
; ---------- proto9 [PlayRewardAnimation] ----------
  ; fn ?  line 114-132 np=2 va=0 ms=13 code=43 consts=22 upvals=1 protos=0
  ;   K[0]=nil
  ;   K[1]='GM'
  ;   K[2]='AudioModel'
  ;   K[3]='PlayEffectWithFrameLimit'
  ;   K[4]='AudioFileConfigName'
  ;   K[5]='sfxRewardCollect'
  ;   K[6]='ipairs'
  ;   K[7]='m_arrRewards'
  ;   K[8]='GetRewardItem'
  ;   K[9]='GetIconRectTrans'
  ;   K[10]='position'
  ;   K[11]='m_bUseSpriteScaleForRewardAnimation'
  ;   K[12]='lossyScale'
  ;   K[13]='x'
  ;   K[14]='RewardApi'
  ;   K[15]='AcquireRewardsInView'
  ;   K[16]='arrWorldPos'
  ;   K[17]='eventLock'
  ;   K[18]='arrElementScale'
  ;   K[19]='bNoFilterReward'
  ;   K[20]=true
  ;   K[21]='m_rewardScene'
  ;   upvals: _ENV
  ;   locals: self(0-43), bLockEvent(0-43), iconRectTrans(10-43), arrWorldPos(11-43), arrElementScale(12-43), (for generator)(15-32), (for state)(15-32), (for control)(15-32), i(16-30), rewardData(16-30)
  0000  EQ        if R0 eq K0(nil)   -> -130302
  0001  JMP       (jump)   -> 3
  0002  LOADBOOL  R1 = true
  0003  GETTABUP  R2 = _ENV[K1('GM')]
  0004  GETTABLE  R2 = R2[K2('AudioModel')]
  0005  SELF      R3 = R2[K3('PlayEffectWithFrameLimit')] (self)
  0006  GETTABUP  R4 = _ENV[K4('AudioFileConfigName')]
  0007  GETTABLE  R4 = R4[K5('sfxRewardCollect')]
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  LOADNIL   R2..R2 = nil
  0010  NEWTABLE  R3 = {} (0 items)
  0011  NEWTABLE  R4 = {} (0 items)
  0012  GETTABUP  R5 = _ENV[K6('ipairs')]
  0013  GETTABLE  R6 = R0[K7('m_arrRewards')]
  0014  CALL      R5 = call(R5, 3 args, 1 rets)
  0015  JMP       (jump)   -> 30
  0016  SELF      R11 = R0[K8('GetRewardItem')] (self)
  0017  MOVE      R12 = R0
  0018  CALL      R10 = call(R10, 1 args, 2 rets)
  0019  SELF      R11 = R10[K9('GetIconRectTrans')] (self)
  0020  CALL      R10 = call(R10, 1 args, 1 rets)
  0021  MOVE      R2 = R0
  0022  GETTABLE  R10 = R2[K10('position')]
  0023  SETTABLE  R3[R8] = R10
  0024  GETTABLE  R10 = R0[K11('m_bUseSpriteScaleForRewardAnimation')]
  0025  TEST      if not R10 then   -> -131045
  0026  JMP       (jump)   -> 30
  0027  GETTABLE  R10 = R2[K12('lossyScale')]
  0028  GETTABLE  R10 = R10[K13('x')]
  0029  SETTABLE  R4[R8] = R10
  0030  TFORCALL  tforcall R5
  0031  TFORLOOP  tforloop R7(sBx=-16)   -> 16
  0032  GETTABUP  R5 = _ENV[K14('RewardApi')]
  0033  GETTABLE  R5 = R5[K15('AcquireRewardsInView')]
  0034  GETTABLE  R6 = R0[K7('m_arrRewards')]
  0035  NEWTABLE  R7 = {} (0 items)
  0036  SETTABLE  R7[K16('arrWorldPos')] = R3
  0037  SETTABLE  R7[K17('eventLock')] = R1
  0038  SETTABLE  R7[K18('arrElementScale')] = R4
  0039  SETTABLE  R7[K19('bNoFilterReward')] = K20(true)
  0040  GETTABLE  R8 = R0[K21('m_rewardScene')]
  0041  CALL      R5 = call(R5, 0 args, 3 rets)
  0042  RETURN    return R0..R-1
; ---------- proto10 [LockRewards] ----------
  ; fn ?  line 136-138 np=1 va=0 ms=2 code=2 consts=2 upvals=0 protos=0
  ;   K[0]='m_bLockRewards'
  ;   K[1]=true
  ;   locals: self(0-2)
  0000  SETTABLE  R0[K0('m_bLockRewards')] = K1(true)
  0001  RETURN    return R0..R-1
; ---------- proto11 [Init] ----------
  ; fn ?  line 144-147 np=5 va=0 ms=10 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_scrollNum'
  ;   K[1]='SimpleRewardContent'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-9), rewards(0-9), rewardScene(0-9), detailWindowRefer(0-9), scrollNum(0-9)
  0000  SETTABLE  R0[K0('m_scrollNum')] = R4
  0001  GETTABUP  R5 = _ENV[K1('SimpleRewardContent')]
  0002  GETTABLE  R5 = R5[K2('Init')]
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  MOVE      R8 = R0
  0006  MOVE      R9 = R0
  0007  CALL      R5 = call(R5, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto12 [_UpdateRewards] ----------
  ; fn ?  line 149-164 np=1 va=0 ms=3 code=36 consts=14 upvals=1 protos=0
  ;   K[0]='SimpleRewardContent'
  ;   K[1]='_UpdateRewards'
  ;   K[2]='m_viewportImg'
  ;   K[3]=nil
  ;   K[4]='IsNull'
  ;   K[5]='m_scrollNum'
  ;   K[6]=6
  ;   K[7]='m_arrRewards'
  ;   K[8]='raycastTarget'
  ;   K[9]=false
  ;   K[10]=true
  ;   K[11]='m_scrollViewScro'
  ;   K[12]='verticalNormalizedPosition'
  ;   K[13]=1
  ;   upvals: _ENV
  ;   locals: self(0-36), num(16-25)
  0000  GETTABUP  R1 = _ENV[K0('SimpleRewardContent')]
  0001  GETTABLE  R1 = R1[K1('_UpdateRewards')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_viewportImg')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 25
  0007  GETTABLE  R1 = R0[K2('m_viewportImg')]
  0008  SELF      R2 = R1[K4('IsNull')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 25
  0012  GETTABLE  R1 = R0[K5('m_scrollNum')]
  0013  TEST      if not R1 then   -> -131056
  0014  JMP       (jump)   -> 16
  0015  LOADK     R1 = K6 6
  0016  GETTABLE  R2 = R0[K7('m_arrRewards')]
  0017  LEN       R2 = len R0
  0018  LE        if R0 le R1   -> -130027
  0019  JMP       (jump)   -> 23
  0020  GETTABLE  R2 = R0[K2('m_viewportImg')]
  0021  SETTABLE  R2[K8('raycastTarget')] = K9(false)
  0022  JMP       (jump)   -> 25
  0023  GETTABLE  R2 = R0[K2('m_viewportImg')]
  0024  SETTABLE  R2[K8('raycastTarget')] = K10(true)
  0025  GETTABLE  R1 = R0[K11('m_scrollViewScro')]
  0026  EQ        if R1 eq K3(nil)   -> -130273
  0027  JMP       (jump)   -> 35
  0028  GETTABLE  R1 = R0[K11('m_scrollViewScro')]
  0029  SELF      R2 = R1[K4('IsNull')] (self)
  0030  CALL      R1 = call(R1, 1 args, 1 rets)
  0031  TEST      if not R1 then   -> -131038
  0032  JMP       (jump)   -> 35
  0033  GETTABLE  R1 = R0[K11('m_scrollViewScro')]
  0034  SETTABLE  R1[K12('verticalNormalizedPosition')] = K13(1)
  0035  RETURN    return R0..R-1
