# DayExtraRewardActivity_View_DayExtraRewardActivityRewardContent_1410.luac
; fn @DayExtraRewardActivityRewardContent.lua  line 0-0 np=0 va=1 ms=3 code=49 consts=18 upvals=1 protos=13
;   K[0]='DayExtraRewardActivityRewardContent'
;   K[1]='setmetatable'
;   K[2]='SimpleRewardContent'
;   K[3]='__index'
;   K[4]='rewardCount'
;   K[5]='Init'
;   K[6]='GetModel'
;   K[7]='_IsModelIdChanged'
;   K[8]='_IsAnimatorMode'
;   K[9]='_UpdateRewards'
;   K[10]='ClearRewards'
;   K[11]='GetRewardItem'
;   K[12]='PlayBubbleAppearAnimation'
;   K[13]='TrySetBubbleAnimationSkipOpen'
;   K[14]='PlayAnimation'
;   K[15]='ForceStopAnimation'
;   K[16]='OnAnimationEnd'
;   K[17]='PlayBeforeRewardAnimation'
;   upvals: _ENV
;   locals: AnimatorParameterKey(9-49)
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('SimpleRewardContent')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('DayExtraRewardActivityRewardContent')] = R0
0005  GETTABUP  R0 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0006  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  LOADK     R0 = K4 'rewardCount'
0009  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0010  CLOSURE   R2 = closure proto0
0011  SETTABLE  R1[K5('Init')] = R2
0012  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0013  CLOSURE   R2 = closure proto1
0014  SETTABLE  R1[K6('GetModel')] = R2
0015  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0016  CLOSURE   R2 = closure proto2
0017  SETTABLE  R1[K7('_IsModelIdChanged')] = R2
0018  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0019  CLOSURE   R2 = closure proto3
0020  SETTABLE  R1[K8('_IsAnimatorMode')] = R2
0021  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0022  CLOSURE   R2 = closure proto4
0023  SETTABLE  R1[K9('_UpdateRewards')] = R2
0024  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0025  CLOSURE   R2 = closure proto5
0026  SETTABLE  R1[K10('ClearRewards')] = R2
0027  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0028  CLOSURE   R2 = closure proto6
0029  SETTABLE  R1[K11('GetRewardItem')] = R2
0030  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0031  CLOSURE   R2 = closure proto7
0032  SETTABLE  R1[K12('PlayBubbleAppearAnimation')] = R2
0033  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0034  CLOSURE   R2 = closure proto8
0035  SETTABLE  R1[K13('TrySetBubbleAnimationSkipOpen')] = R2
0036  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0037  CLOSURE   R2 = closure proto9
0038  SETTABLE  R1[K14('PlayAnimation')] = R2
0039  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0040  CLOSURE   R2 = closure proto10
0041  SETTABLE  R1[K15('ForceStopAnimation')] = R2
0042  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0043  CLOSURE   R2 = closure proto11
0044  SETTABLE  R1[K16('OnAnimationEnd')] = R2
0045  GETTABUP  R1 = _ENV[K0('DayExtraRewardActivityRewardContent')]
0046  CLOSURE   R2 = closure proto12
0047  SETTABLE  R1[K17('PlayBeforeRewardAnimation')] = R2
0048  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 23-30 np=5 va=0 ms=9 code=18 consts=9 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_bIsAnimatorMode'
  ;   K[2]='m_maxDisplayCount'
  ;   K[3]='m_id'
  ;   K[4]='GetModel'
  ;   K[5]='GetId'
  ;   K[6]='SimpleRewardContent'
  ;   K[7]='Init'
  ;   K[8]='GetFilteredRewardsByScore'
  ;   upvals: _ENV
  ;   locals: self(0-18), model(0-18), rewardScene(0-18), bIsAnimatorMode(0-18), maxDisplayCount(0-18)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  SETTABLE  R0[K1('m_bIsAnimatorMode')] = R3
  0002  SETTABLE  R0[K2('m_maxDisplayCount')] = R4
  0003  SELF      R6 = R0[K4('GetModel')] (self)
  0004  CALL      R5 = call(R5, 1 args, 1 rets)
  0005  SELF      R6 = R5[K5('GetId')] (self)
  0006  CALL      R5 = call(R5, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_id')] = R5
  0008  GETTABUP  R5 = _ENV[K6('SimpleRewardContent')]
  0009  GETTABLE  R5 = R5[K7('Init')]
  0010  MOVE      R6 = R0
  0011  SELF      R8 = R0[K4('GetModel')] (self)
  0012  CALL      R7 = call(R7, 1 args, 1 rets)
  0013  SELF      R8 = R7[K8('GetFilteredRewardsByScore')] (self)
  0014  CALL      R7 = call(R7, 1 args, 1 rets)
  0015  MOVE      R8 = R0
  0016  CALL      R5 = call(R5, 0 args, 3 rets)
  0017  RETURN    return R0..R-1
; ---------- proto1 [GetModel] ----------
  ; fn ?  line 32-34 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto2 [_IsModelIdChanged] ----------
  ; fn ?  line 36-38 np=1 va=0 ms=4 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='m_id'
  ;   K[1]='GetModel'
  ;   K[2]='GetId'
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_id')]
  0001  SELF      R3 = R0[K1('GetModel')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  SELF      R3 = R2[K2('GetId')] (self)
  0004  CALL      R2 = call(R2, 1 args, 1 rets)
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 8
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto3 [_IsAnimatorMode] ----------
  ; fn ?  line 45-47 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_bIsAnimatorMode'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_bIsAnimatorMode')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto4 [_UpdateRewards] ----------
  ; fn ?  line 50-107 np=1 va=0 ms=14 code=124 consts=38 upvals=2 protos=0
  ;   K[0]='m_bLockRewards'
  ;   K[1]='_IsModelIdChanged'
  ;   K[2]='GetModel'
  ;   K[3]='IsInDuration'
  ;   K[4]='CanClaimReward'
  ;   K[5]='m_initRewards'
  ;   K[6]='GetFilteredRewardsByScore'
  ;   K[7]='_IsAnimatorMode'
  ;   K[8]='SimpleRewardContent'
  ;   K[9]='_UpdateRewards'
  ;   K[10]='TrySetBubbleAnimationSkipOpen'
  ;   K[11]='m_arrRewards'
  ;   K[12]='RewardApi'
  ;   K[13]='FilterRewards'
  ;   K[14]='m_rewardScene'
  ;   K[15]=0
  ;   K[16]='math'
  ;   K[17]='min'
  ;   K[18]='m_maxDisplayCount'
  ;   K[19]=1
  ;   K[20]='PROPERTY_TYPE'
  ;   K[21]='GetRewardItem'
  ;   K[22]=nil
  ;   K[23]='Init'
  ;   K[24]='m_detailWindowRefer'
  ;   K[25]='UIUtil'
  ;   K[26]='SetActive'
  ;   K[27]='gameObject'
  ;   K[28]='IsEmptyComponent'
  ;   K[29]='m_animator'
  ;   K[30]='speed'
  ;   K[31]='SetInteger'
  ;   K[32]='Update'
  ;   K[33]='m_rewardCount'
  ;   K[34]=4
  ;   K[35]='GetIcon'
  ;   K[36]='enabled'
  ;   K[37]=false
  ;   upvals: _ENV, AnimatorParameterKey
  ;   locals: self(0-124), rewards(44-124), rewardType(45-124), rewardItem(45-124), rewardCount(46-124), displayCount(54-124), (for index)(57-80), (for limit)(57-80), (for step)(57-80), i(58-79), (for index)(105-121), (for limit)(105-121), (for step)(105-121), i(106-120)
  0000  GETTABLE  R1 = R0[K0('m_bLockRewards')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 7
  0003  SELF      R2 = R0[K1('_IsModelIdChanged')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  SELF      R2 = R0[K2('GetModel')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  SELF      R2 = R1[K3('IsInDuration')] (self)
  0011  CALL      R1 = call(R1, 1 args, 1 rets)
  0012  TEST      if not R1 then   -> -131057
  0013  JMP       (jump)   -> 21
  0014  SELF      R2 = R0[K2('GetModel')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  SELF      R2 = R1[K4('CanClaimReward')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  TEST      if not R1 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  RETURN    return R0..R-1
  0021  SELF      R2 = R0[K2('GetModel')] (self)
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  SELF      R2 = R1[K6('GetFilteredRewardsByScore')] (self)
  0024  CALL      R1 = call(R1, 1 args, 1 rets)
  0025  SETTABLE  R0[K5('m_initRewards')] = R1
  0026  SELF      R2 = R0[K7('_IsAnimatorMode')] (self)
  0027  CALL      R1 = call(R1, 1 args, 1 rets)
  0028  TEST      if not R1 then   -> -131041
  0029  JMP       (jump)   -> 37
  0030  GETTABUP  R1 = _ENV[K8('SimpleRewardContent')]
  0031  GETTABLE  R1 = R1[K9('_UpdateRewards')]
  0032  MOVE      R2 = R0
  0033  CALL      R1 = call(R1, 0 args, 1 rets)
  0034  SELF      R2 = R0[K10('TrySetBubbleAnimationSkipOpen')] (self)
  0035  CALL      R1 = call(R1, 0 args, 1 rets)
  0036  RETURN    return R0..R-1
  0037  GETTABUP  R1 = _ENV[K12('RewardApi')]
  0038  GETTABLE  R1 = R1[K13('FilterRewards')]
  0039  GETTABLE  R2 = R0[K5('m_initRewards')]
  0040  GETTABLE  R3 = R0[K14('m_rewardScene')]
  0041  CALL      R1 = call(R1, 1 args, 2 rets)
  0042  SETTABLE  R0[K11('m_arrRewards')] = R1
  0043  GETTABLE  R1 = R0[K11('m_arrRewards')]
  0044  LOADNIL   R2..R2 = nil
  0045  LOADK     R4 = K15 0
  0046  GETTABUP  R5 = _ENV[K16('math')]
  0047  GETTABLE  R5 = R5[K17('min')]
  0048  LEN       R6 = len R0
  0049  GETTABLE  R7 = R0[K18('m_maxDisplayCount')]
  0050  TEST      if not R7 then   -> -131019
  0051  JMP       (jump)   -> 53
  0052  LEN       R7 = len R0
  0053  CALL      R5 = call(R5, 1 args, 2 rets)
  0054  LOADK     R6 = K19 1
  0055  LEN       R7 = len R0
  0056  LOADK     R8 = K19 1
  0057  FORPREP   forprep R6(sBx=21)   -> 79
  0058  GETTABLE  R10 = R1[R9]
  0059  GETTABUP  R11 = _ENV[K20('PROPERTY_TYPE')]
  0060  GETTABLE  R2 = R10[R11]
  0061  SELF      R11 = R0[K21('GetRewardItem')] (self)
  0062  ADD       R12 = K19(1) add R4
  0063  CALL      R10 = call(R10, 1 args, 2 rets)
  0064  MOVE      R3 = R0
  0065  EQ        if R1 eq K22(nil)   -> -129191
  0066  JMP       (jump)   -> 79
  0067  SELF      R11 = R3[K23('Init')] (self)
  0068  GETTABLE  R12 = R1[R9]
  0069  GETTABLE  R13 = R0[K24('m_detailWindowRefer')]
  0070  CALL      R10 = call(R10, 0 args, 3 rets)
  0071  GETTABUP  R10 = _ENV[K25('UIUtil')]
  0072  GETTABLE  R10 = R10[K26('SetActive')]
  0073  GETTABLE  R11 = R3[K27('gameObject')]
  0074  LOADBOOL  R12 = true
  0075  CALL      R10 = call(R10, 0 args, 2 rets)
  0076  ADD       R4 = K19(1) add R4
  0077  LE        if R1 le R4   -> -128429
  0078  JMP       (jump)   -> 80
  0079  FORLOOP   forloop R6(sBx=-22)   -> 58
  0080  LT        if R0 lt R4   -> 7766
  0081  JMP       (jump)   -> 101
  0082  GETTABUP  R6 = _ENV[K25('UIUtil')]
  0083  GETTABLE  R6 = R6[K28('IsEmptyComponent')]
  0084  GETTABLE  R7 = R0[K29('m_animator')]
  0085  CALL      R6 = call(R6, 1 args, 1 rets)
  0086  TEST      if not R6 then   -> -130983
  0087  JMP       (jump)   -> 101
  0088  GETTABLE  R6 = R0[K29('m_animator')]
  0089  SETTABLE  R6[K30('speed')] = K19(1)
  0090  GETTABLE  R6 = R0[K29('m_animator')]
  0091  SELF      R7 = R6[K31('SetInteger')] (self)
  0092  GETUPVAL  R8 = _ENV
  0093  MOVE      R9 = R0
  0094  CALL      R6 = call(R6, 0 args, 3 rets)
  0095  GETTABLE  R6 = R0[K29('m_animator')]
  0096  SELF      R7 = R6[K32('Update')] (self)
  0097  LOADK     R8 = K15 0
  0098  CALL      R6 = call(R6, 0 args, 2 rets)
  0099  GETTABLE  R6 = R0[K29('m_animator')]
  0100  SETTABLE  R6[K30('speed')] = K15(0)
  0101  SETTABLE  R0[K33('m_rewardCount')] = R4
  0102  ADD       R6 = K19(1) add R4
  0103  LOADK     R7 = K34 4
  0104  LOADK     R8 = K19 1
  0105  FORPREP   forprep R6(sBx=14)   -> 120
  0106  SELF      R11 = R0[K21('GetRewardItem')] (self)
  0107  MOVE      R12 = R0
  0108  CALL      R10 = call(R10, 1 args, 2 rets)
  0109  MOVE      R3 = R0
  0110  EQ        if R1 eq K22(nil)   -> -129146
  0111  JMP       (jump)   -> 120
  0112  GETTABUP  R10 = _ENV[K25('UIUtil')]
  0113  GETTABLE  R10 = R10[K26('SetActive')]
  0114  GETTABLE  R11 = R3[K27('gameObject')]
  0115  LOADBOOL  R12 = false
  0116  CALL      R10 = call(R10, 0 args, 2 rets)
  0117  SELF      R11 = R3[K35('GetIcon')] (self)
  0118  CALL      R10 = call(R10, 1 args, 1 rets)
  0119  SETTABLE  R10[K36('enabled')] = K37(false)
  0120  FORLOOP   forloop R6(sBx=-15)   -> 106
  0121  SELF      R7 = R0[K10('TrySetBubbleAnimationSkipOpen')] (self)
  0122  CALL      R6 = call(R6, 0 args, 1 rets)
  0123  RETURN    return R0..R-1
; ---------- proto5 [ClearRewards] ----------
  ; fn ?  line 110-116 np=1 va=0 ms=3 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='_IsAnimatorMode'
  ;   K[1]='SimpleRewardContent'
  ;   K[2]='ClearRewards'
  ;   upvals: _ENV
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('_IsAnimatorMode')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 9
  0004  GETTABUP  R1 = _ENV[K1('SimpleRewardContent')]
  0005  GETTABLE  R1 = R1[K2('ClearRewards')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
  0009  RETURN    return R0..R-1
; ---------- proto6 [GetRewardItem] ----------
  ; fn ?  line 121-126 np=2 va=0 ms=5 code=18 consts=5 upvals=1 protos=0
  ;   K[0]='_IsAnimatorMode'
  ;   K[1]='SimpleRewardContent'
  ;   K[2]='GetRewardItem'
  ;   K[3]='m_rewardContent'
  ;   K[4]='tostring'
  ;   upvals: _ENV
  ;   locals: self(0-18), index(0-18)
  0000  SELF      R3 = R0[K0('_IsAnimatorMode')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 10
  0004  GETTABUP  R2 = _ENV[K1('SimpleRewardContent')]
  0005  GETTABLE  R2 = R2[K2('GetRewardItem')]
  0006  MOVE      R3 = R0
  0007  MOVE      R4 = R0
  0008  TAILCALL  tailcall(R2, 0)
  0009  RETURN    return R2..R1
  0010  LOADK     R2 = K3 'm_rewardContent'
  0011  GETTABUP  R3 = _ENV[K4('tostring')]
  0012  MOVE      R4 = R0
  0013  CALL      R3 = call(R3, 1 args, 1 rets)
  0014  CONCAT    R2 = concat(R2..R2)
  0015  GETTABLE  R2 = R0[R2]
  0016  RETURN    return R2..R1
  0017  RETURN    return R0..R-1
; ---------- proto7 [PlayBubbleAppearAnimation] ----------
  ; fn ?  line 128-137 np=1 va=0 ms=9 code=17 consts=7 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='GetRewardCount'
  ;   K[2]='GetRewardItem'
  ;   K[3]=nil
  ;   K[4]='PlayBubbleAppearAnimation'
  ;   K[5]='m_bBubbleAppearAnimationPlayed'
  ;   K[6]=true
  ;   locals: self(0-17), rewardItem(1-17), (for index)(5-15), (for limit)(5-15), (for step)(5-15), i(6-14)
  0000  LOADNIL   R1..R1 = nil
  0001  LOADK     R2 = K0 1
  0002  SELF      R4 = R0[K1('GetRewardCount')] (self)
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  LOADK     R4 = K0 1
  0005  FORPREP   forprep R2(sBx=8)   -> 14
  0006  SELF      R7 = R0[K2('GetRewardItem')] (self)
  0007  MOVE      R8 = R0
  0008  CALL      R6 = call(R6, 1 args, 2 rets)
  0009  MOVE      R1 = R0
  0010  EQ        if R1 eq K3(nil)   -> -130289
  0011  JMP       (jump)   -> 14
  0012  SELF      R7 = R1[K4('PlayBubbleAppearAnimation')] (self)
  0013  CALL      R6 = call(R6, 0 args, 1 rets)
  0014  FORLOOP   forloop R2(sBx=-9)   -> 6
  0015  SETTABLE  R0[K5('m_bBubbleAppearAnimationPlayed')] = K6(true)
  0016  RETURN    return R0..R-1
; ---------- proto8 [TrySetBubbleAnimationSkipOpen] ----------
  ; fn ?  line 139-151 np=1 va=0 ms=9 code=20 consts=6 upvals=0 protos=0
  ;   K[0]='m_bBubbleAppearAnimationPlayed'
  ;   K[1]=1
  ;   K[2]='GetRewardCount'
  ;   K[3]='GetRewardItem'
  ;   K[4]=nil
  ;   K[5]='SetBubbleAnimationSkipOpen'
  ;   locals: self(0-20), rewardItem(5-20), (for index)(9-19), (for limit)(9-19), (for step)(9-19), i(10-18)
  0000  GETTABLE  R1 = R0[K0('m_bBubbleAppearAnimationPlayed')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  LOADNIL   R1..R1 = nil
  0005  LOADK     R2 = K1 1
  0006  SELF      R4 = R0[K2('GetRewardCount')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  LOADK     R4 = K1 1
  0009  FORPREP   forprep R2(sBx=8)   -> 18
  0010  SELF      R7 = R0[K3('GetRewardItem')] (self)
  0011  MOVE      R8 = R0
  0012  CALL      R6 = call(R6, 1 args, 2 rets)
  0013  MOVE      R1 = R0
  0014  EQ        if R1 eq K4(nil)   -> -130284
  0015  JMP       (jump)   -> 18
  0016  SELF      R7 = R1[K5('SetBubbleAnimationSkipOpen')] (self)
  0017  CALL      R6 = call(R6, 0 args, 1 rets)
  0018  FORLOOP   forloop R2(sBx=-9)   -> 10
  0019  RETURN    return R0..R-1
; ---------- proto9 [PlayAnimation] ----------
  ; fn ?  line 154-165 np=2 va=0 ms=4 code=15 consts=7 upvals=0 protos=0
  ;   K[0]='_IsAnimatorMode'
  ;   K[1]='m_rewardCount'
  ;   K[2]=0
  ;   K[3]='m_animator'
  ;   K[4]='speed'
  ;   K[5]=1
  ;   K[6]='m_animationEndCallback'
  ;   locals: self(0-15), callback(0-15)
  0000  SELF      R3 = R0[K0('_IsAnimatorMode')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R2 = R0[K1('m_rewardCount')]
  0006  LT        if R0 lt R2   -> 1034
  0007  JMP       (jump)   -> 12
  0008  GETTABLE  R2 = R0[K3('m_animator')]
  0009  SETTABLE  R2[K4('speed')] = K5(1)
  0010  SETTABLE  R0[K6('m_animationEndCallback')] = R1
  0011  JMP       (jump)   -> 14
  0012  MOVE      R2 = R0
  0013  CALL      R2 = call(R2, 0 args, 0 rets)
  0014  RETURN    return R0..R-1
; ---------- proto10 [ForceStopAnimation] ----------
  ; fn ?  line 167-177 np=1 va=0 ms=3 code=15 consts=8 upvals=1 protos=0
  ;   K[0]='_IsAnimatorMode'
  ;   K[1]='m_animationEndCallback'
  ;   K[2]=nil
  ;   K[3]='UIUtil'
  ;   K[4]='IsEmptyComponent'
  ;   K[5]='m_animator'
  ;   K[6]='speed'
  ;   K[7]=0
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  SELF      R2 = R0[K0('_IsAnimatorMode')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SETTABLE  R0[K1('m_animationEndCallback')] = K2(nil)
  0006  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0007  GETTABLE  R1 = R1[K4('IsEmptyComponent')]
  0008  GETTABLE  R2 = R0[K5('m_animator')]
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 14
  0012  GETTABLE  R1 = R0[K5('m_animator')]
  0013  SETTABLE  R1[K6('speed')] = K7(0)
  0014  RETURN    return R0..R-1
; ---------- proto11 [OnAnimationEnd] ----------
  ; fn ?  line 183-192 np=1 va=0 ms=3 code=12 consts=3 upvals=0 protos=0
  ;   K[0]='_IsAnimatorMode'
  ;   K[1]='m_animationEndCallback'
  ;   K[2]=nil
  ;   locals: self(0-12)
  0000  SELF      R2 = R0[K0('_IsAnimatorMode')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131067
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABLE  R1 = R0[K1('m_animationEndCallback')]
  0006  EQ        if R1 eq K2(nil)   -> -130294
  0007  JMP       (jump)   -> 11
  0008  GETTABLE  R1 = R0[K1('m_animationEndCallback')]
  0009  CALL      R1 = call(R1, 0 args, 0 rets)
  0010  SETTABLE  R0[K1('m_animationEndCallback')] = K2(nil)
  0011  RETURN    return R0..R-1
; ---------- proto12 [PlayBeforeRewardAnimation] ----------
  ; fn ?  line 196-215 np=2 va=0 ms=12 code=29 consts=6 upvals=1 protos=2
  ;   K[0]='m_arrRewards'
  ;   K[1]='_IsAnimatorMode'
  ;   K[2]=0
  ;   K[3]='ipairs'
  ;   K[4]='GetRewardItem'
  ;   K[5]='PlayBeforeRewardAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-29), finishCallback(0-29), count(6-29), OneRewardAnimationCallback(16-29), (for generator)(19-28), (for state)(19-28), (for control)(19-28), i(20-26), rewardData(20-26)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 4
  0002  CLOSURE   R2 = closure proto0
  0003  MOVE      R1 = R0
  0004  GETTABLE  R2 = R0[K0('m_arrRewards')]
  0005  LEN       R2 = len R0
  0006  SELF      R4 = R0[K1('_IsAnimatorMode')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  TEST      if not R3 then   -> -131061
  0009  JMP       (jump)   -> 12
  0010  EQ        if R0 eq K2(0)   -> -129778
  0011  JMP       (jump)   -> 15
  0012  MOVE      R3 = R0
  0013  CALL      R3 = call(R3, 0 args, 0 rets)
  0014  RETURN    return R0..R-1
  0015  CLOSURE   R3 = closure proto1
  0016  GETTABUP  R4 = _ENV[K3('ipairs')]
  0017  GETTABLE  R5 = R0[K0('m_arrRewards')]
  0018  CALL      R4 = call(R4, 3 args, 1 rets)
  0019  JMP       (jump)   -> 26
  0020  SELF      R10 = R0[K4('GetRewardItem')] (self)
  0021  MOVE      R11 = R0
  0022  CALL      R9 = call(R9, 1 args, 2 rets)
  0023  SELF      R10 = R9[K5('PlayBeforeRewardAnimation')] (self)
  0024  MOVE      R11 = R0
  0025  CALL      R9 = call(R9, 0 args, 2 rets)
  0026  TFORCALL  tforcall R4
  0027  TFORLOOP  tforloop R6(sBx=-8)   -> 20
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 197-197 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 205-210 np=0 va=0 ms=2 code=9 consts=2 upvals=2 protos=0
    ;   K[0]=1
    ;   K[1]=0
    ;   upvals: count, finishCallback
    0000  GETUPVAL  R0 = count
    0001  SUB       R0 = K0(1) sub R0
    0002  SETUPVAL  count = R0
    0003  GETUPVAL  R0 = count
    0004  EQ        if R0 eq K1(0)   -> -130809
    0005  JMP       (jump)   -> 8
    0006  GETUPVAL  R0 = count
    0007  CALL      R0 = call(R0, 0 args, 0 rets)
    0008  RETURN    return R0..R-1
