# UI_Window_OrderDayBoxRewardWindow_440.luac
; fn @OrderDayBoxRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=39 consts=14 upvals=1 protos=10
;   K[0]='OrderDayBoxRewardWindow'
;   K[1]='setmetatable'
;   K[2]='BoxRewardWindow'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_IsDayExtraRewardActivityValid'
;   K[6]='_RefreshDayExtraRewardActivityRootGo'
;   K[7]='SetSprite'
;   K[8]='OnDayExtraRewardActivityBubbleAppear'
;   K[9]='_UpdateRewardContent'
;   K[10]='ClaimReward'
;   K[11]='_TryLockRewards'
;   K[12]='Close'
;   K[13]='OnCloseView'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('BoxRewardWindow')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('OrderDayBoxRewardWindow')] = R0
0005  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0006  GETTABUP  R1 = _ENV[K0('OrderDayBoxRewardWindow')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_IsDayExtraRewardActivityValid')] = R1
0014  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('_RefreshDayExtraRewardActivityRootGo')] = R1
0017  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('SetSprite')] = R1
0020  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('OnDayExtraRewardActivityBubbleAppear')] = R1
0023  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('_UpdateRewardContent')] = R1
0026  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('ClaimReward')] = R1
0029  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('_TryLockRewards')] = R1
0032  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('Close')] = R1
0035  GETTABUP  R0 = _ENV[K0('OrderDayBoxRewardWindow')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('OnCloseView')] = R1
0038  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 17-35 np=11 va=0 ms=23 code=49 consts=19 upvals=1 protos=0
  ;   K[0]='pairs'
  ;   K[1]='DayExtraRewardActivityDefinition'
  ;   K[2]='GM'
  ;   K[3]='ActivityManager'
  ;   K[4]='GetModel'
  ;   K[5]=nil
  ;   K[6]='CanClaimReward'
  ;   K[7]='m_dayExtraRewardActivityModel'
  ;   K[8]='EventDispatcher'
  ;   K[9]='AddListener'
  ;   K[10]='StateChangedEvent'
  ;   K[11]='_RefreshDayExtraRewardActivityRootGo'
  ;   K[12]='BoxRewardWindow'
  ;   K[13]='Init'
  ;   K[14]='m_claimRewardCallback'
  ;   K[15]='LogWindowAction'
  ;   K[16]='EBIType'
  ;   K[17]='UIActionType'
  ;   K[18]='Open'
  ;   upvals: _ENV
  ;   locals: self(0-49), position(0-49), scaleX(0-49), eBoxRewardType(0-49), arrRewards(0-49), titleTextKey(0-49), playRewardAnim(0-49), rewardScene(0-49), initCallback(0-49), closeCallback(0-49), claimRewardCallback(0-49), activityModel(1-49), (for generator)(4-27), (for state)(4-27), (for control)(4-27), activityType(5-25), definition(5-25)
  0000  LOADNIL   R11..R11 = nil
  0001  GETTABUP  R12 = _ENV[K0('pairs')]
  0002  GETTABUP  R13 = _ENV[K1('DayExtraRewardActivityDefinition')]
  0003  CALL      R12 = call(R12, 3 args, 1 rets)
  0004  JMP       (jump)   -> 25
  0005  GETTABUP  R17 = _ENV[K2('GM')]
  0006  GETTABLE  R17 = R17[K3('ActivityManager')]
  0007  SELF      R18 = R17[K4('GetModel')] (self)
  0008  MOVE      R19 = R0
  0009  CALL      R17 = call(R17, 1 args, 2 rets)
  0010  MOVE      R11 = R0
  0011  EQ        if R1 eq K5(nil)   -> -125166
  0012  JMP       (jump)   -> 25
  0013  SELF      R18 = R11[K6('CanClaimReward')] (self)
  0014  CALL      R17 = call(R17, 1 args, 1 rets)
  0015  TEST      if not R17 then   -> -131055
  0016  JMP       (jump)   -> 25
  0017  SETTABLE  R0[K7('m_dayExtraRewardActivityModel')] = R11
  0018  GETTABUP  R17 = _ENV[K8('EventDispatcher')]
  0019  GETTABLE  R17 = R17[K9('AddListener')]
  0020  GETTABLE  R18 = R16[K10('StateChangedEvent')]
  0021  MOVE      R19 = R0
  0022  GETTABLE  R20 = R0[K11('_RefreshDayExtraRewardActivityRootGo')]
  0023  CALL      R17 = call(R17, 0 args, 3 rets)
  0024  JMP       (jump)   -> 27
  0025  TFORCALL  tforcall R12
  0026  TFORLOOP  tforloop R14(sBx=-22)   -> 5
  0027  GETTABUP  R12 = _ENV[K12('BoxRewardWindow')]
  0028  GETTABLE  R12 = R12[K13('Init')]
  0029  MOVE      R13 = R0
  0030  MOVE      R14 = R0
  0031  MOVE      R15 = R0
  0032  MOVE      R16 = R0
  0033  MOVE      R17 = R0
  0034  MOVE      R18 = R0
  0035  MOVE      R19 = R0
  0036  MOVE      R20 = R0
  0037  MOVE      R21 = R0
  0038  MOVE      R22 = R0
  0039  CALL      R12 = call(R12, 0 args, 10 rets)
  0040  SETTABLE  R0[K14('m_claimRewardCallback')] = R10
  0041  SELF      R13 = R0[K11('_RefreshDayExtraRewardActivityRootGo')] (self)
  0042  CALL      R12 = call(R12, 0 args, 1 rets)
  0043  SELF      R13 = R0[K15('LogWindowAction')] (self)
  0044  GETTABUP  R14 = _ENV[K16('EBIType')]
  0045  GETTABLE  R14 = R14[K17('UIActionType')]
  0046  GETTABLE  R14 = R14[K18('Open')]
  0047  CALL      R12 = call(R12, 0 args, 2 rets)
  0048  RETURN    return R0..R-1
; ---------- proto1 [_IsDayExtraRewardActivityValid] ----------
  ; fn ?  line 37-39 np=1 va=0 ms=3 code=11 consts=3 upvals=0 protos=0
  ;   K[0]='m_dayExtraRewardActivityModel'
  ;   K[1]=nil
  ;   K[2]='CanClaimReward'
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_dayExtraRewardActivityModel')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K0('m_dayExtraRewardActivityModel')]
  0004  SELF      R2 = R1[K2('CanClaimReward')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  JMP       (jump)   -> 9
  0007  LOADBOOL  R1 = false
  0008  LOADBOOL  R1 = true
  0009  RETURN    return R1..R0
  0010  RETURN    return R0..R-1
; ---------- proto2 [_RefreshDayExtraRewardActivityRootGo] ----------
  ; fn ?  line 41-72 np=1 va=0 ms=9 code=53 consts=21 upvals=1 protos=1
  ;   K[0]='m_bLockLayout'
  ;   K[1]='_IsDayExtraRewardActivityValid'
  ;   K[2]='m_bUseNewLayout'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='m_rewardContentGo'
  ;   K[6]='m_newLayoutGo'
  ;   K[7]='m_dayExtraRewardActivityRootGo'
  ;   K[8]='m_dayExtraRewardActivityRewardContent'
  ;   K[9]=nil
  ;   K[10]='m_dayExtraRewardActivityModel'
  ;   K[11]='GetActivityDefinition'
  ;   K[12]='OrderDayRewardWindowRewardContentPrefabName'
  ;   K[13]='GM'
  ;   K[14]='ResourceLoader'
  ;   K[15]='LoadPrefab'
  ;   K[16]='DataResource'
  ;   K[17]='UIPrefabConfig'
  ;   K[18]='GetConfig'
  ;   K[19]='transform'
  ;   K[20]='V3Zero'
  ;   upvals: _ENV
  ;   locals: self(0-53), dayExtraRewardActivityValid(6-53), prefabName(38-52)
  0000  GETTABLE  R1 = R0[K0('m_bLockLayout')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  SELF      R2 = R0[K1('_IsDayExtraRewardActivityValid')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  SETTABLE  R0[K2('m_bUseNewLayout')] = R1
  0007  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0008  GETTABLE  R2 = R2[K4('SetActive')]
  0009  GETTABLE  R3 = R0[K5('m_rewardContentGo')]
  0010  GETTABLE  R4 = R0[K2('m_bUseNewLayout')]
  0011  NOT       R4 = not R0
  0012  CALL      R2 = call(R2, 0 args, 2 rets)
  0013  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0014  GETTABLE  R2 = R2[K4('SetActive')]
  0015  GETTABLE  R3 = R0[K6('m_newLayoutGo')]
  0016  GETTABLE  R4 = R0[K2('m_bUseNewLayout')]
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0019  GETTABLE  R2 = R2[K4('SetActive')]
  0020  GETTABLE  R3 = R0[K7('m_dayExtraRewardActivityRootGo')]
  0021  TESTSET   if R0 then R4   -> -130537
  0022  JMP       (jump)   -> 28
  0023  GETTABLE  R4 = R0[K8('m_dayExtraRewardActivityRewardContent')]
  0024  EQ        if R0 eq K9(nil)   -> -128733
  0025  JMP       (jump)   -> 27
  0026  LOADBOOL  R4 = false
  0027  LOADBOOL  R4 = true
  0028  CALL      R2 = call(R2, 0 args, 2 rets)
  0029  TEST      if not R1 then   -> -131041
  0030  JMP       (jump)   -> 52
  0031  GETTABLE  R2 = R0[K8('m_dayExtraRewardActivityRewardContent')]
  0032  EQ        if R0 eq K9(nil)   -> -129749
  0033  JMP       (jump)   -> 52
  0034  GETTABLE  R2 = R0[K10('m_dayExtraRewardActivityModel')]
  0035  SELF      R3 = R2[K11('GetActivityDefinition')] (self)
  0036  CALL      R2 = call(R2, 1 args, 1 rets)
  0037  GETTABLE  R2 = R2[K12('OrderDayRewardWindowRewardContentPrefabName')]
  0038  GETTABUP  R3 = _ENV[K13('GM')]
  0039  GETTABLE  R3 = R3[K14('ResourceLoader')]
  0040  SELF      R4 = R3[K15('LoadPrefab')] (self)
  0041  GETTABUP  R5 = _ENV[K13('GM')]
  0042  GETTABLE  R5 = R5[K16('DataResource')]
  0043  GETTABLE  R5 = R5[K17('UIPrefabConfig')]
  0044  SELF      R6 = R5[K18('GetConfig')] (self)
  0045  MOVE      R7 = R0
  0046  CALL      R5 = call(R5, 1 args, 2 rets)
  0047  GETTABLE  R6 = R0[K7('m_dayExtraRewardActivityRootGo')]
  0048  GETTABLE  R6 = R6[K19('transform')]
  0049  GETTABUP  R7 = _ENV[K20('V3Zero')]
  0050  CLOSURE   R8 = closure proto0
  0051  CALL      R3 = call(R3, 0 args, 5 rets)
  0052  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 56-70 np=1 va=0 ms=7 code=25 consts=13 upvals=2 protos=0
    ;   K[0]='m_dayExtraRewardActivityRewardContent'
    ;   K[1]=nil
    ;   K[2]='AddressableLoader'
    ;   K[3]='Destroy'
    ;   K[4]='GetLuaTable'
    ;   K[5]='Init'
    ;   K[6]='m_dayExtraRewardActivityModel'
    ;   K[7]='ERewardScene'
    ;   K[8]='Other'
    ;   K[9]='UIUtil'
    ;   K[10]='SetActive'
    ;   K[11]='m_dayExtraRewardActivityRootGo'
    ;   K[12]='_IsDayExtraRewardActivityValid'
    ;   upvals: self, _ENV
    ;   locals: go(0-25), rewardContent(10-25)
    0000  GETTABUP  R1 = self[K0('m_dayExtraRewardActivityRewardContent')]
    0001  EQ        if R1 eq K1(nil)   -> -130300
    0002  JMP       (jump)   -> 8
    0003  GETTABUP  R1 = _ENV[K2('AddressableLoader')]
    0004  GETTABLE  R1 = R1[K3('Destroy')]
    0005  MOVE      R2 = R0
    0006  CALL      R1 = call(R1, 0 args, 1 rets)
    0007  RETURN    return R0..R-1
    0008  SELF      R2 = R0[K4('GetLuaTable')] (self)
    0009  CALL      R1 = call(R1, 1 args, 1 rets)
    0010  SELF      R3 = R1[K5('Init')] (self)
    0011  GETTABUP  R4 = self[K6('m_dayExtraRewardActivityModel')]
    0012  GETTABUP  R5 = _ENV[K7('ERewardScene')]
    0013  GETTABLE  R5 = R5[K8('Other')]
    0014  LOADBOOL  R6 = false
    0015  CALL      R2 = call(R2, 0 args, 4 rets)
    0016  SETTABUP  self[K0('m_dayExtraRewardActivityRewardContent')] = R1
    0017  GETTABUP  R2 = _ENV[K9('UIUtil')]
    0018  GETTABLE  R2 = R2[K10('SetActive')]
    0019  GETTABUP  R3 = self[K11('m_dayExtraRewardActivityRootGo')]
    0020  GETUPVAL  R4 = self
    0021  SELF      R5 = R4[K12('_IsDayExtraRewardActivityValid')] (self)
    0022  CALL      R4 = call(R4, -1 args, 1 rets)
    0023  CALL      R2 = call(R2, 0 args, -1 rets)
    0024  RETURN    return R0..R-1
; ---------- proto3 [SetSprite] ----------
  ; fn ?  line 75-89 np=2 va=0 ms=11 code=32 consts=16 upvals=1 protos=1
  ;   K[0]='_IsDayExtraRewardActivityValid'
  ;   K[1]='m_dayExtraRewardActivityModel'
  ;   K[2]='GetActivityDefinition'
  ;   K[3]='OrderGroupButtonDecorationPrefabName'
  ;   K[4]='GM'
  ;   K[5]='ResourceLoader'
  ;   K[6]='LoadPrefab'
  ;   K[7]='DataResource'
  ;   K[8]='UIPrefabConfig'
  ;   K[9]='GetConfig'
  ;   K[10]='m_boxPrefabRoot'
  ;   K[11]='Vector3'
  ;   K[12]=0
  ;   K[13]=-138
  ;   K[14]='BoxRewardWindow'
  ;   K[15]='SetSprite'
  ;   upvals: _ENV
  ;   locals: self(0-32), eBoxRewardType(0-32), prefabName(8-25)
  0000  SELF      R3 = R0[K0('_IsDayExtraRewardActivityValid')] (self)
  0001  CALL      R2 = call(R2, 1 args, 1 rets)
  0002  TEST      if not R2 then   -> -131068
  0003  JMP       (jump)   -> 26
  0004  GETTABLE  R2 = R0[K1('m_dayExtraRewardActivityModel')]
  0005  SELF      R3 = R2[K2('GetActivityDefinition')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  GETTABLE  R2 = R2[K3('OrderGroupButtonDecorationPrefabName')]
  0008  GETTABUP  R3 = _ENV[K4('GM')]
  0009  GETTABLE  R3 = R3[K5('ResourceLoader')]
  0010  SELF      R4 = R3[K6('LoadPrefab')] (self)
  0011  GETTABUP  R5 = _ENV[K4('GM')]
  0012  GETTABLE  R5 = R5[K7('DataResource')]
  0013  GETTABLE  R5 = R5[K8('UIPrefabConfig')]
  0014  SELF      R6 = R5[K9('GetConfig')] (self)
  0015  MOVE      R7 = R0
  0016  CALL      R5 = call(R5, 1 args, 2 rets)
  0017  GETTABLE  R6 = R0[K10('m_boxPrefabRoot')]
  0018  GETTABUP  R7 = _ENV[K11('Vector3')]
  0019  LOADK     R8 = K12 0
  0020  LOADK     R9 = K13 -138
  0021  LOADK     R10 = K12 0
  0022  CALL      R7 = call(R7, 1 args, 3 rets)
  0023  CLOSURE   R8 = closure proto0
  0024  CALL      R3 = call(R3, 0 args, 5 rets)
  0025  JMP       (jump)   -> 31
  0026  GETTABUP  R2 = _ENV[K14('BoxRewardWindow')]
  0027  GETTABLE  R2 = R2[K15('SetSprite')]
  0028  MOVE      R3 = R0
  0029  MOVE      R4 = R0
  0030  CALL      R2 = call(R2, 0 args, 2 rets)
  0031  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 78-85 np=1 va=0 ms=7 code=17 consts=9 upvals=2 protos=0
    ;   K[0]='GetLuaTable'
    ;   K[1]='Init'
    ;   K[2]='m_dayExtraRewardActivityModel'
    ;   K[3]='GetType'
    ;   K[4]='HideBubbles'
    ;   K[5]=2.6315789473684212
    ;   K[6]='UIUtil'
    ;   K[7]='SetLocalScale'
    ;   K[8]='transform'
    ;   upvals: self, _ENV
    ;   locals: go(0-17), decoration(2-17), scale(10-17)
    0000  SELF      R2 = R0[K0('GetLuaTable')] (self)
    0001  CALL      R1 = call(R1, 1 args, 1 rets)
    0002  SELF      R3 = R1[K1('Init')] (self)
    0003  GETTABUP  R4 = self[K2('m_dayExtraRewardActivityModel')]
    0004  SELF      R5 = R4[K3('GetType')] (self)
    0005  CALL      R4 = call(R4, -1 args, 1 rets)
    0006  CALL      R2 = call(R2, 0 args, -1 rets)
    0007  SELF      R3 = R1[K4('HideBubbles')] (self)
    0008  CALL      R2 = call(R2, 0 args, 1 rets)
    0009  LOADK     R2 = K5 2.6315789473684212
    0010  GETTABUP  R3 = _ENV[K6('UIUtil')]
    0011  GETTABLE  R3 = R3[K7('SetLocalScale')]
    0012  GETTABLE  R4 = R1[K8('transform')]
    0013  MOVE      R5 = R0
    0014  MOVE      R6 = R0
    0015  CALL      R3 = call(R3, 0 args, 3 rets)
    0016  RETURN    return R0..R-1
; ---------- proto4 [OnDayExtraRewardActivityBubbleAppear] ----------
  ; fn ?  line 92-97 np=1 va=0 ms=3 code=8 consts=3 upvals=0 protos=0
  ;   K[0]='m_dayExtraRewardActivityRewardContent'
  ;   K[1]=nil
  ;   K[2]='PlayBubbleAppearAnimation'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_dayExtraRewardActivityRewardContent')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_dayExtraRewardActivityRewardContent')]
  0005  SELF      R2 = R1[K2('PlayBubbleAppearAnimation')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto5 [_UpdateRewardContent] ----------
  ; fn ?  line 100-105 np=1 va=0 ms=5 code=18 consts=11 upvals=1 protos=0
  ;   K[0]='BoxRewardWindow'
  ;   K[1]='_UpdateRewardContent'
  ;   K[2]='m_rewardContentNew'
  ;   K[3]='Init'
  ;   K[4]='m_arrRewards'
  ;   K[5]='m_rewardScene'
  ;   K[6]='UIUtil'
  ;   K[7]='UpdateSortingOrder'
  ;   K[8]='gameObject'
  ;   K[9]='GetSortingOrder'
  ;   K[10]=1
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABUP  R1 = _ENV[K0('BoxRewardWindow')]
  0001  GETTABLE  R1 = R1[K1('_UpdateRewardContent')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_rewardContentNew')]
  0005  SELF      R2 = R1[K3('Init')] (self)
  0006  GETTABLE  R3 = R0[K4('m_arrRewards')]
  0007  GETTABLE  R4 = R0[K5('m_rewardScene')]
  0008  CALL      R1 = call(R1, 0 args, 3 rets)
  0009  GETTABUP  R1 = _ENV[K6('UIUtil')]
  0010  GETTABLE  R1 = R1[K7('UpdateSortingOrder')]
  0011  GETTABLE  R2 = R0[K2('m_rewardContentNew')]
  0012  GETTABLE  R2 = R2[K8('gameObject')]
  0013  SELF      R4 = R0[K9('GetSortingOrder')] (self)
  0014  CALL      R3 = call(R3, 1 args, 1 rets)
  0015  SUB       R3 = K10(1) sub R3
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  RETURN    return R0..R-1
; ---------- proto6 [ClaimReward] ----------
  ; fn ?  line 107-112 np=1 va=0 ms=2 code=7 consts=2 upvals=0 protos=0
  ;   K[0]='m_claimRewardCallback'
  ;   K[1]=nil
  ;   locals: self(0-7)
  0000  GETTABLE  R1 = R0[K0('m_claimRewardCallback')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_claimRewardCallback')]
  0004  CALL      R1 = call(R1, 0 args, 0 rets)
  0005  SETTABLE  R0[K0('m_claimRewardCallback')] = K1(nil)
  0006  RETURN    return R0..R-1
; ---------- proto7 [_TryLockRewards] ----------
  ; fn ?  line 114-125 np=1 va=0 ms=3 code=22 consts=10 upvals=0 protos=0
  ;   K[0]='m_bUseNewLayout'
  ;   K[1]='m_bPlayRewardAnimation'
  ;   K[2]='m_dayExtraRewardActivityRootGo'
  ;   K[3]='activeSelf'
  ;   K[4]='m_dayExtraRewardActivityRewardContent'
  ;   K[5]=nil
  ;   K[6]='m_bLockLayout'
  ;   K[7]=true
  ;   K[8]='m_rewardContentNew'
  ;   K[9]='LockRewards'
  ;   locals: self(0-22)
  0000  GETTABLE  R1 = R0[K0('m_bUseNewLayout')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 13
  0003  GETTABLE  R1 = R0[K1('m_bPlayRewardAnimation')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 13
  0006  GETTABLE  R1 = R0[K2('m_dayExtraRewardActivityRootGo')]
  0007  GETTABLE  R1 = R1[K3('activeSelf')]
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 13
  0010  GETTABLE  R1 = R0[K4('m_dayExtraRewardActivityRewardContent')]
  0011  EQ        if R0 eq K5(nil)   -> -130286
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  SETTABLE  R0[K6('m_bLockLayout')] = K7(true)
  0015  GETTABLE  R1 = R0[K8('m_rewardContentNew')]
  0016  SELF      R2 = R1[K9('LockRewards')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  GETTABLE  R1 = R0[K4('m_dayExtraRewardActivityRewardContent')]
  0019  SELF      R2 = R1[K9('LockRewards')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
; ---------- proto8 [Close] ----------
  ; fn ?  line 128-146 np=1 va=0 ms=5 code=28 consts=11 upvals=1 protos=1
  ;   K[0]='_TryLockRewards'
  ;   K[1]='ClaimReward'
  ;   K[2]='m_bUseNewLayout'
  ;   K[3]='m_bPlayRewardAnimation'
  ;   K[4]='m_dayExtraRewardActivityRootGo'
  ;   K[5]='activeSelf'
  ;   K[6]='m_dayExtraRewardActivityRewardContent'
  ;   K[7]=nil
  ;   K[8]='BoxRewardWindow'
  ;   K[9]='Close'
  ;   K[10]='PlayBeforeRewardAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-28), BaseClose(23-28)
  0000  SELF      R2 = R0[K0('_TryLockRewards')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('ClaimReward')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_bUseNewLayout')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 17
  0007  GETTABLE  R1 = R0[K3('m_bPlayRewardAnimation')]
  0008  TEST      if not R1 then   -> -131062
  0009  JMP       (jump)   -> 17
  0010  GETTABLE  R1 = R0[K4('m_dayExtraRewardActivityRootGo')]
  0011  GETTABLE  R1 = R1[K5('activeSelf')]
  0012  TEST      if not R1 then   -> -131058
  0013  JMP       (jump)   -> 17
  0014  GETTABLE  R1 = R0[K6('m_dayExtraRewardActivityRewardContent')]
  0015  EQ        if R0 eq K7(nil)   -> -130280
  0016  JMP       (jump)   -> 22
  0017  GETTABUP  R1 = _ENV[K8('BoxRewardWindow')]
  0018  GETTABLE  R1 = R1[K9('Close')]
  0019  MOVE      R2 = R0
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  RETURN    return R0..R-1
  0022  CLOSURE   R1 = closure proto0
  0023  GETTABLE  R2 = R0[K6('m_dayExtraRewardActivityRewardContent')]
  0024  SELF      R3 = R2[K10('PlayBeforeRewardAnimation')] (self)
  0025  MOVE      R4 = R0
  0026  CALL      R2 = call(R2, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 140-142 np=0 va=0 ms=2 code=5 consts=2 upvals=2 protos=0
    ;   K[0]='BoxRewardWindow'
    ;   K[1]='Close'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('BoxRewardWindow')]
    0001  GETTABLE  R0 = R0[K1('Close')]
    0002  GETUPVAL  R1 = _ENV
    0003  CALL      R0 = call(R0, 0 args, 1 rets)
    0004  RETURN    return R0..R-1
; ---------- proto9 [OnCloseView] ----------
  ; fn ?  line 149-176 np=1 va=0 ms=15 code=67 consts=20 upvals=1 protos=0
  ;   K[0]='m_bUseNewLayout'
  ;   K[1]='BoxRewardWindow'
  ;   K[2]='OnCloseView'
  ;   K[3]='BaseWindow'
  ;   K[4]='m_closeCallback'
  ;   K[5]=nil
  ;   K[6]='m_bPlayRewardAnimation'
  ;   K[7]='m_rewardContentNew'
  ;   K[8]='PlayRewardAnimation'
  ;   K[9]='m_bLockEventDuringAnimation'
  ;   K[10]='m_dayExtraRewardActivityRewardContent'
  ;   K[11]='ipairs'
  ;   K[12]='m_arrRewards'
  ;   K[13]='m_dayExtraRewardActivityModel'
  ;   K[14]='GetFilteredRewardsByScore'
  ;   K[15]='GM'
  ;   K[16]='PropertyDataManager'
  ;   K[17]='IsPropertyType'
  ;   K[18]='PROPERTY_TYPE'
  ;   K[19]='PlayPropertyIncreaseAnimation'
  ;   upvals: _ENV
  ;   locals: self(0-67), (for generator)(42-66), (for state)(42-66), (for control)(42-66), _(43-64), arrRewards(43-64), (for generator)(46-64), (for state)(46-64), (for control)(46-64), _(47-62), rewardData(47-62)
  0000  GETTABLE  R1 = R0[K0('m_bUseNewLayout')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 8
  0003  GETTABUP  R1 = _ENV[K1('BoxRewardWindow')]
  0004  GETTABLE  R1 = R1[K2('OnCloseView')]
  0005  MOVE      R2 = R0
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
  0008  GETTABUP  R1 = _ENV[K3('BaseWindow')]
  0009  GETTABLE  R1 = R1[K2('OnCloseView')]
  0010  MOVE      R2 = R0
  0011  CALL      R1 = call(R1, 0 args, 1 rets)
  0012  GETTABLE  R1 = R0[K4('m_closeCallback')]
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 19
  0015  GETTABLE  R1 = R0[K4('m_closeCallback')]
  0016  MOVE      R2 = R0
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  SETTABLE  R0[K4('m_closeCallback')] = K5(nil)
  0019  GETTABLE  R1 = R0[K6('m_bPlayRewardAnimation')]
  0020  TEST      if not R1 then   -> -131050
  0021  JMP       (jump)   -> 34
  0022  GETTABLE  R1 = R0[K7('m_rewardContentNew')]
  0023  SELF      R2 = R1[K8('PlayRewardAnimation')] (self)
  0024  GETTABLE  R3 = R0[K9('m_bLockEventDuringAnimation')]
  0025  CALL      R1 = call(R1, 0 args, 2 rets)
  0026  GETTABLE  R1 = R0[K10('m_dayExtraRewardActivityRewardContent')]
  0027  EQ        if R1 eq K5(nil)   -> -130270
  0028  JMP       (jump)   -> 66
  0029  GETTABLE  R1 = R0[K10('m_dayExtraRewardActivityRewardContent')]
  0030  SELF      R2 = R1[K8('PlayRewardAnimation')] (self)
  0031  GETTABLE  R3 = R0[K9('m_bLockEventDuringAnimation')]
  0032  CALL      R1 = call(R1, 0 args, 2 rets)
  0033  JMP       (jump)   -> 66
  0034  GETTABUP  R1 = _ENV[K11('ipairs')]
  0035  NEWTABLE  R2 = {} (1 items)
  0036  GETTABLE  R3 = R0[K12('m_arrRewards')]
  0037  GETTABLE  R4 = R0[K13('m_dayExtraRewardActivityModel')]
  0038  SELF      R5 = R4[K14('GetFilteredRewardsByScore')] (self)
  0039  CALL      R4 = call(R4, -1 args, 1 rets)
  0040  SETLIST   setlist R2[B=1,C=0]
  0041  CALL      R1 = call(R1, 3 args, 1 rets)
  0042  JMP       (jump)   -> 64
  0043  GETTABUP  R6 = _ENV[K11('ipairs')]
  0044  MOVE      R7 = R0
  0045  CALL      R6 = call(R6, 3 args, 1 rets)
  0046  JMP       (jump)   -> 62
  0047  GETTABUP  R11 = _ENV[K15('GM')]
  0048  GETTABLE  R11 = R11[K16('PropertyDataManager')]
  0049  SELF      R12 = R11[K17('IsPropertyType')] (self)
  0050  GETTABUP  R13 = _ENV[K18('PROPERTY_TYPE')]
  0051  GETTABLE  R13 = R10[R13]
  0052  CALL      R11 = call(R11, 1 args, 2 rets)
  0053  TEST      if not R11 then   -> -131017
  0054  JMP       (jump)   -> 62
  0055  GETTABUP  R11 = _ENV[K15('GM')]
  0056  GETTABLE  R11 = R11[K16('PropertyDataManager')]
  0057  SELF      R12 = R11[K19('PlayPropertyIncreaseAnimation')] (self)
  0058  NEWTABLE  R13 = {} (1 items)
  0059  MOVE      R14 = R0
  0060  SETLIST   setlist R13[B=1,C=1]
  0061  CALL      R11 = call(R11, 0 args, 2 rets)
  0062  TFORCALL  tforcall R6
  0063  TFORLOOP  tforloop R8(sBx=-17)   -> 47
  0064  TFORCALL  tforcall R1
  0065  TFORLOOP  tforloop R3(sBx=-23)   -> 43
  0066  RETURN    return R0..R-1
