# PairRaceActivity_View_PairRaceActivityViewController_1864.luac
; fn @PairRaceActivityViewController.lua  line 0-0 np=0 va=1 ms=2 code=57 consts=20 upvals=1 protos=17
;   K[0]='PairRaceActivityViewController'
;   K[1]='__index'
;   K[2]='Create'
;   K[3]='PairRaceActivityViewController'
;   K[4]='Init'
;   K[5]='Destroy'
;   K[6]='_OnCloseView'
;   K[7]='StartAddMyScoreStep'
;   K[8]='_AddMyScoreStep'
;   K[9]='_RotateTableCallBack'
;   K[10]='_CheckLockEvent'
;   K[11]='_UpdateScoreProgress'
;   K[12]='TryOpenRewardsWindow'
;   K[13]='CheckNextReward'
;   K[14]='_TryOpenFinalRewardWindow'
;   K[15]='Finish'
;   K[16]='CheckBeforeClose'
;   K[17]='UpdateMateScore'
;   K[18]='Close'
;   K[19]='CheckEnd'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivityViewController')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivityViewController')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivityViewController')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivityViewController')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Create')] = R1
0008  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K5('Destroy')] = R1
0014  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K6('_OnCloseView')] = R1
0017  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K7('StartAddMyScoreStep')] = R1
0020  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K8('_AddMyScoreStep')] = R1
0023  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K9('_RotateTableCallBack')] = R1
0026  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K10('_CheckLockEvent')] = R1
0029  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K11('_UpdateScoreProgress')] = R1
0032  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K12('TryOpenRewardsWindow')] = R1
0035  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K13('CheckNextReward')] = R1
0038  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K14('_TryOpenFinalRewardWindow')] = R1
0041  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K15('Finish')] = R1
0044  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K16('CheckBeforeClose')] = R1
0047  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0048  CLOSURE   R1 = closure proto14
0049  SETTABLE  R0[K17('UpdateMateScore')] = R1
0050  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0051  CLOSURE   R1 = closure proto15
0052  SETTABLE  R0[K18('Close')] = R1
0053  GETTABUP  R0 = _ENV[K3('PairRaceActivityViewController')]
0054  CLOSURE   R1 = closure proto16
0055  SETTABLE  R0[K19('CheckEnd')] = R1
0056  RETURN    return R0..R-1
; ---------- proto0 [Create] ----------
  ; fn ?  line 10-14 np=2 va=0 ms=7 code=10 consts=3 upvals=1 protos=0
  ;   K[0]='setmetatable'
  ;   K[1]='PairRaceActivityViewController'
  ;   K[2]='Init'
  ;   upvals: _ENV
  ;   locals: activityType(0-10), index(0-10), viewController(4-10)
  0000  GETTABUP  R2 = _ENV[K0('setmetatable')]
  0001  NEWTABLE  R3 = {} (0 items)
  0002  GETTABUP  R4 = _ENV[K1('PairRaceActivityViewController')]
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  SELF      R4 = R2[K2('Init')] (self)
  0005  MOVE      R5 = R0
  0006  MOVE      R6 = R0
  0007  CALL      R3 = call(R3, 0 args, 3 rets)
  0008  RETURN    return R2..R1
  0009  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 16-25 np=3 va=0 ms=7 code=30 consts=19 upvals=1 protos=0
  ;   K[0]='m_activityType'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='PairRaceActivityDefinition'
  ;   K[3]='m_model'
  ;   K[4]='GM'
  ;   K[5]='ActivityManager'
  ;   K[6]='GetModel'
  ;   K[7]='m_controllerId'
  ;   K[8]='EventDispatcher'
  ;   K[9]='AddListener'
  ;   K[10]='EEventType'
  ;   K[11]='CloseView'
  ;   K[12]='_OnCloseView'
  ;   K[13]='m_mainWindow'
  ;   K[14]='UIManager'
  ;   K[15]='GetOpenedViewByName'
  ;   K[16]='MainWindowPrefabName'
  ;   K[17]='m_groupView'
  ;   K[18]='GetGroupView'
  ;   upvals: _ENV
  ;   locals: self(0-30), activityType(0-30), index(0-30)
  0000  SETTABLE  R0[K0('m_activityType')] = R1
  0001  GETTABUP  R3 = _ENV[K2('PairRaceActivityDefinition')]
  0002  GETTABLE  R3 = R3[R1]
  0003  SETTABLE  R0[K1('m_activityDefinition')] = R3
  0004  GETTABUP  R3 = _ENV[K4('GM')]
  0005  GETTABLE  R3 = R3[K5('ActivityManager')]
  0006  SELF      R4 = R3[K6('GetModel')] (self)
  0007  MOVE      R5 = R0
  0008  CALL      R3 = call(R3, 1 args, 2 rets)
  0009  SETTABLE  R0[K3('m_model')] = R3
  0010  SETTABLE  R0[K7('m_controllerId')] = R2
  0011  GETTABUP  R3 = _ENV[K8('EventDispatcher')]
  0012  GETTABLE  R3 = R3[K9('AddListener')]
  0013  GETTABUP  R4 = _ENV[K10('EEventType')]
  0014  GETTABLE  R4 = R4[K11('CloseView')]
  0015  MOVE      R5 = R0
  0016  GETTABLE  R6 = R0[K12('_OnCloseView')]
  0017  CALL      R3 = call(R3, 0 args, 3 rets)
  0018  GETTABUP  R3 = _ENV[K4('GM')]
  0019  GETTABLE  R3 = R3[K14('UIManager')]
  0020  SELF      R4 = R3[K15('GetOpenedViewByName')] (self)
  0021  GETTABLE  R5 = R0[K1('m_activityDefinition')]
  0022  GETTABLE  R5 = R5[K16('MainWindowPrefabName')]
  0023  CALL      R3 = call(R3, 1 args, 2 rets)
  0024  SETTABLE  R0[K13('m_mainWindow')] = R3
  0025  GETTABLE  R3 = R0[K13('m_mainWindow')]
  0026  SELF      R4 = R3[K18('GetGroupView')] (self)
  0027  CALL      R3 = call(R3, 1 args, 1 rets)
  0028  SETTABLE  R0[K17('m_groupView')] = R3
  0029  RETURN    return R0..R-1
; ---------- proto2 [Destroy] ----------
  ; fn ?  line 27-34 np=1 va=0 ms=4 code=24 consts=11 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='m_locked'
  ;   K[3]='UIUtil'
  ;   K[4]='IsEmptyComponent'
  ;   K[5]='m_groupView'
  ;   K[6]='UpdateSpinButtonImgShowColor'
  ;   K[7]=false
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-24)
  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  GETTABLE  R1 = R0[K2('m_locked')]
  0005  TEST      if not R1 then   -> -131065
  0006  JMP       (jump)   -> 17
  0007  GETTABUP  R1 = _ENV[K3('UIUtil')]
  0008  GETTABLE  R1 = R1[K4('IsEmptyComponent')]
  0009  GETTABLE  R2 = R0[K5('m_groupView')]
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131058
  0012  JMP       (jump)   -> 17
  0013  GETTABLE  R1 = R0[K5('m_groupView')]
  0014  SELF      R2 = R1[K6('UpdateSpinButtonImgShowColor')] (self)
  0015  LOADBOOL  R3 = true
  0016  CALL      R1 = call(R1, 0 args, 2 rets)
  0017  SETTABLE  R0[K2('m_locked')] = K7(false)
  0018  GETTABUP  R1 = _ENV[K8('GM')]
  0019  GETTABLE  R1 = R1[K9('UIManager')]
  0020  SELF      R2 = R1[K10('RemoveAllEventLocks')] (self)
  0021  MOVE      R3 = R0
  0022  CALL      R1 = call(R1, 0 args, 2 rets)
  0023  RETURN    return R0..R-1
; ---------- proto3 [_OnCloseView] ----------
  ; fn ?  line 36-41 np=2 va=0 ms=4 code=8 consts=4 upvals=0 protos=0
  ;   K[0]='name'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='MainWindowPrefabName'
  ;   K[3]='Close'
  ;   locals: self(0-8), msg(0-8)
  0000  GETTABLE  R2 = R1[K0('name')]
  0001  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R3 = R3[K2('MainWindowPrefabName')]
  0003  EQ        if R0 eq R3   -> -130040
  0004  JMP       (jump)   -> 7
  0005  SELF      R3 = R0[K3('Close')] (self)
  0006  CALL      R2 = call(R2, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto4 [StartAddMyScoreStep] ----------
  ; fn ?  line 43-50 np=3 va=0 ms=9 code=13 consts=3 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='DrawScore'
  ;   K[2]='_AddMyScoreStep'
  ;   locals: self(0-13), groupId(0-13), teamData(0-13), score(7-13)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  GETTABLE  R3 = R0[K0('m_model')]
  0004  SELF      R4 = R3[K1('DrawScore')] (self)
  0005  MOVE      R5 = R0
  0006  CALL      R3 = call(R3, 1 args, 2 rets)
  0007  SELF      R5 = R0[K2('_AddMyScoreStep')] (self)
  0008  MOVE      R6 = R0
  0009  MOVE      R7 = R0
  0010  MOVE      R8 = R0
  0011  CALL      R4 = call(R4, 0 args, 4 rets)
  0012  RETURN    return R0..R-1
; ---------- proto5 [_AddMyScoreStep] ----------
  ; fn ?  line 52-85 np=4 va=0 ms=14 code=52 consts=23 upvals=1 protos=2
  ;   K[0]='m_groupId'
  ;   K[1]='m_locked'
  ;   K[2]=true
  ;   K[3]='GM'
  ;   K[4]='UIManager'
  ;   K[5]='SetEventLock'
  ;   K[6]='m_lastScore'
  ;   K[7]='myScore'
  ;   K[8]='mateLastScore'
  ;   K[9]='m_model'
  ;   K[10]='GetCurMultiNum'
  ;   K[11]='ConsumeActivityToken'
  ;   K[12]='EBIType'
  ;   K[13]='PairRaceRollOnce'
  ;   K[14]='AddMyScore'
  ;   K[15]='m_arrClaimedRewards'
  ;   K[16]='m_finalRewards'
  ;   K[17]='m_isFinishGroup'
  ;   K[18]='GetTeamDataByGroupID'
  ;   K[19]='m_newScore'
  ;   K[20]='m_groupView'
  ;   K[21]='UpdateSpinButtonImgShowColor'
  ;   K[22]='RotateToScore'
  ;   upvals: _ENV
  ;   locals: self(0-52), groupId(0-52), teamData(0-52), score(0-52), skipped(6-52), curMultiNum(20-52), rewardList(31-52), finalRewards(31-52), isFinishGroup(31-52), newTeamInfo(38-52)
  0000  TEST      if not R1 then   -> -131069
  0001  JMP       (jump)   -> 3
  0002  RETURN    return R0..R-1
  0003  SETTABLE  R0[K0('m_groupId')] = R1
  0004  SETTABLE  R0[K1('m_locked')] = K2(true)
  0005  LOADBOOL  R4 = false
  0006  GETTABUP  R5 = _ENV[K3('GM')]
  0007  GETTABLE  R5 = R5[K4('UIManager')]
  0008  SELF      R6 = R5[K5('SetEventLock')] (self)
  0009  LOADBOOL  R7 = true
  0010  MOVE      R8 = R0
  0011  CLOSURE   R9 = closure proto0
  0012  CALL      R5 = call(R5, 0 args, 4 rets)
  0013  GETTABLE  R5 = R2[K7('myScore')]
  0014  GETTABLE  R6 = R2[K8('mateLastScore')]
  0015  ADD       R5 = R6 add R5
  0016  SETTABLE  R0[K6('m_lastScore')] = R5
  0017  GETTABLE  R5 = R0[K9('m_model')]
  0018  SELF      R6 = R5[K10('GetCurMultiNum')] (self)
  0019  CALL      R5 = call(R5, 1 args, 1 rets)
  0020  GETTABLE  R6 = R0[K9('m_model')]
  0021  SELF      R7 = R6[K11('ConsumeActivityToken')] (self)
  0022  MOVE      R8 = R0
  0023  GETTABUP  R9 = _ENV[K12('EBIType')]
  0024  GETTABLE  R9 = R9[K13('PairRaceRollOnce')]
  0025  CALL      R6 = call(R6, 0 args, 3 rets)
  0026  GETTABLE  R6 = R0[K9('m_model')]
  0027  SELF      R7 = R6[K14('AddMyScore')] (self)
  0028  MOVE      R8 = R0
  0029  GETTABLE  R9 = R0[K0('m_groupId')]
  0030  CALL      R6 = call(R6, 3 args, 3 rets)
  0031  SETTABLE  R0[K15('m_arrClaimedRewards')] = R6
  0032  SETTABLE  R0[K16('m_finalRewards')] = R7
  0033  SETTABLE  R0[K17('m_isFinishGroup')] = R8
  0034  GETTABLE  R9 = R0[K9('m_model')]
  0035  SELF      R10 = R9[K18('GetTeamDataByGroupID')] (self)
  0036  GETTABLE  R11 = R0[K0('m_groupId')]
  0037  CALL      R9 = call(R9, 1 args, 2 rets)
  0038  GETTABLE  R10 = R9[K7('myScore')]
  0039  GETTABLE  R11 = R9[K8('mateLastScore')]
  0040  ADD       R10 = R11 add R10
  0041  SETTABLE  R0[K19('m_newScore')] = R10
  0042  GETTABLE  R10 = R0[K20('m_groupView')]
  0043  SELF      R11 = R10[K21('UpdateSpinButtonImgShowColor')] (self)
  0044  LOADBOOL  R12 = false
  0045  CALL      R10 = call(R10, 0 args, 2 rets)
  0046  GETTABLE  R10 = R0[K20('m_groupView')]
  0047  SELF      R11 = R10[K22('RotateToScore')] (self)
  0048  MOVE      R12 = R0
  0049  CLOSURE   R13 = closure proto1
  0050  CALL      R10 = call(R10, 0 args, 3 rets)
  0051  RETURN    return R0..R-1
  ; ---------- proto0 [m_lastScore] ----------
    ; fn ?  line 60-68 np=0 va=0 ms=2 code=16 consts=4 upvals=3 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='IsEmptyComponent'
    ;   K[2]='m_groupView'
    ;   K[3]='SpeedUpAnimation'
    ;   upvals: skipped, _ENV, self
    0000  GETUPVAL  R0 = skipped
    0001  TEST      if not R0 then   -> -131068
    0002  JMP       (jump)   -> 9
    0003  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0004  GETTABLE  R0 = R0[K1('IsEmptyComponent')]
    0005  GETTABUP  R1 = self[K2('m_groupView')]
    0006  CALL      R0 = call(R0, 1 args, 1 rets)
    0007  TEST      if not R0 then   -> -131063
    0008  JMP       (jump)   -> 10
    0009  RETURN    return R0..R-1
    0010  LOADBOOL  R0 = true
    0011  SETUPVAL  skipped = R0
    0012  GETTABUP  R0 = self[K2('m_groupView')]
    0013  SELF      R1 = R0[K3('SpeedUpAnimation')] (self)
    0014  CALL      R0 = call(R0, 0 args, 1 rets)
    0015  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 82-84 np=0 va=0 ms=3 code=5 consts=1 upvals=2 protos=0
    ;   K[0]='_RotateTableCallBack'
    ;   upvals: self, score
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_RotateTableCallBack')] (self)
    0002  GETUPVAL  R2 = self
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
; ---------- proto6 [_RotateTableCallBack] ----------
  ; fn ?  line 87-96 np=2 va=0 ms=6 code=16 consts=7 upvals=1 protos=1
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='PairRaceActivitySpinFinished'
  ;   K[4]='CheckEnd'
  ;   K[5]='m_groupView'
  ;   K[6]='UpdateMyScore'
  ;   upvals: _ENV
  ;   locals: self(0-16), score(0-16)
  0000  GETTABUP  R2 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R2 = R2[K1('DispatchEvent')]
  0002  GETTABUP  R3 = _ENV[K2('EEventType')]
  0003  GETTABLE  R3 = R3[K3('PairRaceActivitySpinFinished')]
  0004  CALL      R2 = call(R2, 0 args, 1 rets)
  0005  SELF      R3 = R0[K4('CheckEnd')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TEST      if not R2 then   -> -131063
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R2 = R0[K5('m_groupView')]
  0011  SELF      R3 = R2[K6('UpdateMyScore')] (self)
  0012  MOVE      R4 = R0
  0013  CLOSURE   R5 = closure proto0
  0014  CALL      R2 = call(R2, 0 args, 3 rets)
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 93-95 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='_UpdateScoreProgress'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_UpdateScoreProgress')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto7 [_CheckLockEvent] ----------
  ; fn ?  line 98-103 np=1 va=0 ms=5 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='m_locked'
  ;   K[1]='Table'
  ;   K[2]='IsEmpty'
  ;   K[3]='m_arrClaimedRewards'
  ;   K[4]=true
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='SetEventLock'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABLE  R1 = R0[K0('m_locked')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 16
  0003  GETTABUP  R1 = _ENV[K1('Table')]
  0004  GETTABLE  R1 = R1[K2('IsEmpty')]
  0005  GETTABLE  R2 = R0[K3('m_arrClaimedRewards')]
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131062
  0008  JMP       (jump)   -> 16
  0009  SETTABLE  R0[K0('m_locked')] = K4(true)
  0010  GETTABUP  R1 = _ENV[K5('GM')]
  0011  GETTABLE  R1 = R1[K6('UIManager')]
  0012  SELF      R2 = R1[K7('SetEventLock')] (self)
  0013  LOADBOOL  R3 = true
  0014  MOVE      R4 = R0
  0015  CALL      R1 = call(R1, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
; ---------- proto8 [_UpdateScoreProgress] ----------
  ; fn ?  line 106-127 np=1 va=0 ms=9 code=28 consts=10 upvals=0 protos=1
  ;   K[0]='_CheckLockEvent'
  ;   K[1]='CheckEnd'
  ;   K[2]='m_lastScore'
  ;   K[3]='m_newScore'
  ;   K[4]='m_model'
  ;   K[5]='GetNextScore'
  ;   K[6]=0
  ;   K[7]='m_groupView'
  ;   K[8]='UpdateProgressScore'
  ;   K[9]='Close'
  ;   locals: self(0-28), lastScore(8-28), newScore(9-28), nextRewardScore(14-28), addedScore(16-28)
  0000  SELF      R2 = R0[K0('_CheckLockEvent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('CheckEnd')] (self)
  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  GETTABLE  R1 = R0[K2('m_lastScore')]
  0008  GETTABLE  R2 = R0[K3('m_newScore')]
  0009  GETTABLE  R3 = R0[K4('m_model')]
  0010  SELF      R4 = R3[K5('GetNextScore')] (self)
  0011  GETTABLE  R5 = R0[K2('m_lastScore')]
  0012  GETTABLE  R6 = R0[K3('m_newScore')]
  0013  CALL      R3 = call(R3, 1 args, 3 rets)
  0014  GETTABLE  R4 = R0[K2('m_lastScore')]
  0015  SUB       R4 = R4 sub R3
  0016  SETTABLE  R0[K2('m_lastScore')] = R3
  0017  LT        if R0 lt R4   -> 3095
  0018  JMP       (jump)   -> 25
  0019  GETTABLE  R5 = R0[K7('m_groupView')]
  0020  SELF      R6 = R5[K8('UpdateProgressScore')] (self)
  0021  MOVE      R7 = R0
  0022  CLOSURE   R8 = closure proto0
  0023  CALL      R5 = call(R5, 0 args, 3 rets)
  0024  JMP       (jump)   -> 27
  0025  SELF      R6 = R0[K9('Close')] (self)
  0026  CALL      R5 = call(R5, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 119-123 np=0 va=0 ms=4 code=11 consts=3 upvals=3 protos=0
    ;   K[0]='TryOpenRewardsWindow'
    ;   K[1]='m_groupView'
    ;   K[2]='TryPopScoreTip'
    ;   upvals: self, lastScore, newScore
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('TryOpenRewardsWindow')] (self)
    0002  CALL      R0 = call(R0, 1 args, 1 rets)
    0003  TEST      if not R0 then   -> -131066
    0004  JMP       (jump)   -> 10
    0005  GETTABUP  R0 = self[K1('m_groupView')]
    0006  SELF      R1 = R0[K2('TryPopScoreTip')] (self)
    0007  GETUPVAL  R2 = self
    0008  GETUPVAL  R3 = self
    0009  CALL      R0 = call(R0, 0 args, 3 rets)
    0010  RETURN    return R0..R-1
; ---------- proto9 [TryOpenRewardsWindow] ----------
  ; fn ?  line 129-167 np=1 va=0 ms=14 code=84 consts=28 upvals=1 protos=3
  ;   K[0]='m_locked'
  ;   K[1]=false
  ;   K[2]='m_groupView'
  ;   K[3]='UpdateSpinButtonImgShowColor'
  ;   K[4]='GM'
  ;   K[5]='UIManager'
  ;   K[6]='RemoveAllEventLocks'
  ;   K[7]='CheckEnd'
  ;   K[8]='Table'
  ;   K[9]='IsEmpty'
  ;   K[10]='m_arrClaimedRewards'
  ;   K[11]='CheckNextReward'
  ;   K[12]=1
  ;   K[13]='m_isFinishGroup'
  ;   K[14]='TryOpenRewardGroupWindow'
  ;   K[15]='m_arrClaimedRewards'
  ;   K[16]=1
  ;   K[17]='table'
  ;   K[18]='remove'
  ;   K[19]='CheckNextReward'
  ;   K[20]='OpenView'
  ;   K[21]='UIPrefabConfigName'
  ;   K[22]='AnimatedRewardWindow'
  ;   K[23]='m_arrClaimedRewards'
  ;   K[24]=1
  ;   K[25]='rewards_window_title_normal'
  ;   K[26]='ERewardScene'
  ;   K[27]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-84), reward(38-45), funcOnInit(64-83), funcOnClose(65-83)
  0000  GETTABLE  R1 = R0[K0('m_locked')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 13
  0003  SETTABLE  R0[K0('m_locked')] = K1(false)
  0004  GETTABLE  R1 = R0[K2('m_groupView')]
  0005  SELF      R2 = R1[K3('UpdateSpinButtonImgShowColor')] (self)
  0006  LOADBOOL  R3 = true
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  GETTABUP  R1 = _ENV[K4('GM')]
  0009  GETTABLE  R1 = R1[K5('UIManager')]
  0010  SELF      R2 = R1[K6('RemoveAllEventLocks')] (self)
  0011  MOVE      R3 = R0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  SELF      R2 = R0[K7('CheckEnd')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  TEST      if not R1 then   -> -131055
  0016  JMP       (jump)   -> 19
  0017  LOADBOOL  R1 = false
  0018  RETURN    return R1..R0
  0019  GETTABUP  R1 = _ENV[K8('Table')]
  0020  GETTABLE  R1 = R1[K9('IsEmpty')]
  0021  GETTABLE  R2 = R0[K10('m_arrClaimedRewards')]
  0022  CALL      R1 = call(R1, 1 args, 1 rets)
  0023  TEST      if not R1 then   -> -131047
  0024  JMP       (jump)   -> 29
  0025  SELF      R2 = R0[K11('CheckNextReward')] (self)
  0026  TAILCALL  tailcall(R1, 0)
  0027  RETURN    return R1..R0
  0028  JMP       (jump)   -> 83
  0029  GETTABLE  R1 = R0[K10('m_arrClaimedRewards')]
  0030  LEN       R1 = len R0
  0031  EQ        if R0 eq K12(1)   -> -130259
  0032  JMP       (jump)   -> 46
  0033  GETTABLE  R1 = R0[K13('m_isFinishGroup')]
  0034  TEST      if not R1 then   -> -131036
  0035  JMP       (jump)   -> 46
  0036  GETTABLE  R1 = R0[K10('m_arrClaimedRewards')]
  0037  GETTABLE  R1 = R1[K12(1)]
  0038  GETTABLE  R2 = R0[K2('m_groupView')]
  0039  SELF      R3 = R2[K14('TryOpenRewardGroupWindow')] (self)
  0040  MOVE      R4 = R0
  0041  CLOSURE   R5 = closure proto0
  0042  CALL      R2 = call(R2, 0 args, 3 rets)
  0043  LOADBOOL  R2 = true
  0044  RETURN    return R2..R1
  0045  JMP       (jump)   -> 83
  0046  GETTABUP  R1 = _ENV[K8('Table')]
  0047  GETTABLE  R1 = R1[K9('IsEmpty')]
  0048  GETTABLE  R2 = R0[K15('m_arrClaimedRewards')]
  0049  GETTABLE  R2 = R2[K16(1)]
  0050  CALL      R1 = call(R1, 1 args, 1 rets)
  0051  TEST      if not R1 then   -> -131019
  0052  JMP       (jump)   -> 63
  0053  GETTABUP  R1 = _ENV[K17('table')]
  0054  GETTABLE  R1 = R1[K18('remove')]
  0055  GETTABLE  R2 = R0[K15('m_arrClaimedRewards')]
  0056  LOADK     R3 = K16 1
  0057  CALL      R1 = call(R1, 0 args, 2 rets)
  0058  SELF      R2 = R0[K19('CheckNextReward')] (self)
  0059  CALL      R1 = call(R1, 0 args, 1 rets)
  0060  LOADBOOL  R1 = true
  0061  RETURN    return R1..R0
  0062  JMP       (jump)   -> 83
  0063  CLOSURE   R1 = closure proto1
  0064  CLOSURE   R2 = closure proto2
  0065  GETTABUP  R3 = _ENV[K4('GM')]
  0066  GETTABLE  R3 = R3[K5('UIManager')]
  0067  SELF      R4 = R3[K20('OpenView')] (self)
  0068  GETTABUP  R5 = _ENV[K21('UIPrefabConfigName')]
  0069  GETTABLE  R5 = R5[K22('AnimatedRewardWindow')]
  0070  GETTABLE  R6 = R0[K23('m_arrClaimedRewards')]
  0071  GETTABLE  R6 = R6[K24(1)]
  0072  LOADK     R7 = K25 'rewards_window_title_normal'
  0073  LOADBOOL  R8 = true
  0074  GETTABUP  R9 = _ENV[K26('ERewardScene')]
  0075  GETTABLE  R9 = R9[K27('Other')]
  0076  MOVE      R10 = R0
  0077  MOVE      R11 = R0
  0078  LOADNIL   R12..R12 = nil
  0079  LOADBOOL  R13 = true
  0080  CALL      R3 = call(R3, 0 args, 10 rets)
  0081  LOADBOOL  R3 = true
  0082  RETURN    return R3..R2
  0083  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 145-148 np=0 va=0 ms=3 code=9 consts=5 upvals=2 protos=0
    ;   K[0]='table'
    ;   K[1]='remove'
    ;   K[2]='m_arrClaimedRewards'
    ;   K[3]=1
    ;   K[4]='CheckNextReward'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('table')]
    0001  GETTABLE  R0 = R0[K1('remove')]
    0002  GETTABUP  R1 = self[K2('m_arrClaimedRewards')]
    0003  LOADK     R2 = K3 1
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETUPVAL  R0 = _ENV
    0006  SELF      R1 = R0[K4('CheckNextReward')] (self)
    0007  CALL      R0 = call(R0, 0 args, 1 rets)
    0008  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 156-158 np=0 va=0 ms=3 code=6 consts=4 upvals=2 protos=0
    ;   K[0]='table'
    ;   K[1]='remove'
    ;   K[2]='m_arrClaimedRewards'
    ;   K[3]=1
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('table')]
    0001  GETTABLE  R0 = R0[K1('remove')]
    0002  GETTABUP  R1 = self[K2('m_arrClaimedRewards')]
    0003  LOADK     R2 = K3 1
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  RETURN    return R0..R-1
  ; ---------- proto2 [] ----------
    ; fn ?  line 159-161 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='CheckNextReward'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CheckNextReward')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto10 [CheckNextReward] ----------
  ; fn ?  line 170-190 np=1 va=0 ms=3 code=29 consts=8 upvals=0 protos=0
  ;   K[0]='CheckEnd'
  ;   K[1]='m_lastScore'
  ;   K[2]='m_newScore'
  ;   K[3]='m_finalRewards'
  ;   K[4]=nil
  ;   K[5]='_TryOpenFinalRewardWindow'
  ;   K[6]='CheckBeforeClose'
  ;   K[7]='_UpdateScoreProgress'
  ;   locals: self(0-29)
  0000  SELF      R2 = R0[K0('CheckEnd')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  LOADBOOL  R1 = false
  0005  RETURN    return R1..R0
  0006  GETTABLE  R1 = R0[K1('m_lastScore')]
  0007  GETTABLE  R2 = R0[K2('m_newScore')]
  0008  EQ        if R0 eq R2   -> -130548
  0009  JMP       (jump)   -> 24
  0010  GETTABLE  R1 = R0[K3('m_finalRewards')]
  0011  EQ        if R1 eq K4(nil)   -> -130287
  0012  JMP       (jump)   -> 19
  0013  SELF      R2 = R0[K5('_TryOpenFinalRewardWindow')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  SETTABLE  R0[K3('m_finalRewards')] = K4(nil)
  0016  LOADBOOL  R1 = true
  0017  RETURN    return R1..R0
  0018  JMP       (jump)   -> 28
  0019  SELF      R2 = R0[K6('CheckBeforeClose')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  LOADBOOL  R1 = false
  0022  RETURN    return R1..R0
  0023  JMP       (jump)   -> 28
  0024  SELF      R2 = R0[K7('_UpdateScoreProgress')] (self)
  0025  CALL      R1 = call(R1, 0 args, 1 rets)
  0026  LOADBOOL  R1 = true
  0027  RETURN    return R1..R0
  0028  RETURN    return R0..R-1
; ---------- proto11 [_TryOpenFinalRewardWindow] ----------
  ; fn ?  line 193-204 np=1 va=0 ms=6 code=13 consts=5 upvals=1 protos=1
  ;   K[0]='CheckEnd'
  ;   K[1]='DelayExecuteFuncInView'
  ;   K[2]='EDurationDefine'
  ;   K[3]='PairRaceSliderUp'
  ;   K[4]='m_groupView'
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  SELF      R2 = R0[K0('CheckEnd')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  GETTABUP  R1 = _ENV[K1('DelayExecuteFuncInView')]
  0006  CLOSURE   R2 = closure proto0
  0007  GETTABUP  R3 = _ENV[K2('EDurationDefine')]
  0008  GETTABLE  R3 = R3[K3('PairRaceSliderUp')]
  0009  GETTABLE  R4 = R0[K4('m_groupView')]
  0010  LOADBOOL  R5 = true
  0011  CALL      R1 = call(R1, 0 args, 4 rets)
  0012  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 199-203 np=0 va=0 ms=3 code=5 consts=2 upvals=1 protos=1
    ;   K[0]='m_groupView'
    ;   K[1]='TryOpenFinishRewardWindow'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_groupView')]
    0001  SELF      R1 = R0[K1('TryOpenFinishRewardWindow')] (self)
    0002  CLOSURE   R2 = closure proto0
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 200-202 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
      ;   K[0]='Finish'
      ;   upvals: self
      0000  GETUPVAL  R0 = self
      0001  SELF      R1 = R0[K0('Finish')] (self)
      0002  CALL      R0 = call(R0, 0 args, 1 rets)
      0003  RETURN    return R0..R-1
; ---------- proto12 [Finish] ----------
  ; fn ?  line 206-211 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='CheckEnd'
  ;   K[1]='Close'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('CheckEnd')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K1('Close')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto13 [CheckBeforeClose] ----------
  ; fn ?  line 213-218 np=1 va=0 ms=3 code=8 consts=2 upvals=0 protos=0
  ;   K[0]='CheckEnd'
  ;   K[1]='Close'
  ;   locals: self(0-8)
  0000  SELF      R2 = R0[K0('CheckEnd')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SELF      R2 = R0[K1('Close')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto14 [UpdateMateScore] ----------
  ; fn ?  line 221-236 np=3 va=0 ms=11 code=29 consts=15 upvals=0 protos=1
  ;   K[0]='CheckEnd'
  ;   K[1]='m_groupId'
  ;   K[2]='m_lastScore'
  ;   K[3]='mateLastScore'
  ;   K[4]='myScore'
  ;   K[5]='m_newScore'
  ;   K[6]='mateScore'
  ;   K[7]='m_model'
  ;   K[8]='TrySyncGroupWindowScore'
  ;   K[9]='m_arrClaimedRewards'
  ;   K[10]='m_finalRewards'
  ;   K[11]='m_isFinishGroup'
  ;   K[12]='_CheckLockEvent'
  ;   K[13]='m_groupView'
  ;   K[14]='mateAddScore'
  ;   locals: self(0-29), groupId(0-29), teamData(0-29), scoreAdded(18-29), rewardList(18-29), finalRewards(18-29), isFinishGroup(18-29)
  0000  SELF      R4 = R0[K0('CheckEnd')] (self)
  0001  CALL      R3 = call(R3, 1 args, 1 rets)
  0002  TEST      if not R3 then   -> -131068
  0003  JMP       (jump)   -> 5
  0004  RETURN    return R0..R-1
  0005  SETTABLE  R0[K1('m_groupId')] = R1
  0006  GETTABLE  R3 = R2[K3('mateLastScore')]
  0007  GETTABLE  R4 = R2[K4('myScore')]
  0008  ADD       R3 = R4 add R3
  0009  SETTABLE  R0[K2('m_lastScore')] = R3
  0010  GETTABLE  R3 = R2[K6('mateScore')]
  0011  GETTABLE  R4 = R2[K4('myScore')]
  0012  ADD       R3 = R4 add R3
  0013  SETTABLE  R0[K5('m_newScore')] = R3
  0014  GETTABLE  R3 = R0[K7('m_model')]
  0015  SELF      R4 = R3[K8('TrySyncGroupWindowScore')] (self)
  0016  MOVE      R5 = R0
  0017  CALL      R3 = call(R3, 4 args, 2 rets)
  0018  SETTABLE  R0[K9('m_arrClaimedRewards')] = R4
  0019  SETTABLE  R0[K10('m_finalRewards')] = R5
  0020  SETTABLE  R0[K11('m_isFinishGroup')] = R6
  0021  SELF      R8 = R0[K12('_CheckLockEvent')] (self)
  0022  CALL      R7 = call(R7, 0 args, 1 rets)
  0023  GETTABLE  R7 = R0[K13('m_groupView')]
  0024  SELF      R8 = R7[K14('mateAddScore')] (self)
  0025  MOVE      R9 = R0
  0026  CLOSURE   R10 = closure proto0
  0027  CALL      R7 = call(R7, 0 args, 3 rets)
  0028  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 235-235 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='CheckNextReward'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('CheckNextReward')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto15 [Close] ----------
  ; fn ?  line 238-272 np=1 va=0 ms=14 code=80 consts=26 upvals=1 protos=0
  ;   K[0]='m_controllerId'
  ;   K[1]=nil
  ;   K[2]='Table'
  ;   K[3]='IsEmpty'
  ;   K[4]='m_arrClaimedRewards'
  ;   K[5]='ipairs'
  ;   K[6]='ListAppend'
  ;   K[7]='m_finalRewards'
  ;   K[8]='RewardApi'
  ;   K[9]='GetMergedRewards'
  ;   K[10]='PROPERTY_TYPE'
  ;   K[11]='m_activityDefinition'
  ;   K[12]='ActivityTokenPropertyType'
  ;   K[13]='table'
  ;   K[14]='remove'
  ;   K[15]='GM'
  ;   K[16]='UIManager'
  ;   K[17]='OpenView'
  ;   K[18]='UIPrefabConfigName'
  ;   K[19]='AnimatedRewardWindow'
  ;   K[20]='rewards_window_title_normal'
  ;   K[21]='ERewardScene'
  ;   K[22]='Other'
  ;   K[23]='m_model'
  ;   K[24]='OnViewControllerFinished'
  ;   K[25]='Destroy'
  ;   upvals: _ENV
  ;   locals: self(0-80), allRewards(11-72), (for generator)(14-22), (for state)(14-22), (for control)(14-22), _(15-20), arrRewards(15-20), mergedRewards(34-72), (for generator)(37-52), (for state)(37-52), (for control)(37-52), index(38-50), reward(38-50)
  0000  GETTABLE  R1 = R0[K0('m_controllerId')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K2('Table')]
  0005  GETTABLE  R1 = R1[K3('IsEmpty')]
  0006  GETTABLE  R2 = R0[K4('m_arrClaimedRewards')]
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 72
  0010  NEWTABLE  R1 = {} (0 items)
  0011  GETTABUP  R2 = _ENV[K5('ipairs')]
  0012  GETTABLE  R3 = R0[K4('m_arrClaimedRewards')]
  0013  CALL      R2 = call(R2, 3 args, 1 rets)
  0014  JMP       (jump)   -> 20
  0015  GETTABUP  R7 = _ENV[K2('Table')]
  0016  GETTABLE  R7 = R7[K6('ListAppend')]
  0017  MOVE      R8 = R0
  0018  MOVE      R9 = R0
  0019  CALL      R7 = call(R7, 0 args, 2 rets)
  0020  TFORCALL  tforcall R2
  0021  TFORLOOP  tforloop R4(sBx=-7)   -> 15
  0022  GETTABLE  R2 = R0[K7('m_finalRewards')]
  0023  TEST      if not R2 then   -> -131047
  0024  JMP       (jump)   -> 30
  0025  GETTABUP  R2 = _ENV[K2('Table')]
  0026  GETTABLE  R2 = R2[K6('ListAppend')]
  0027  MOVE      R3 = R0
  0028  GETTABLE  R4 = R0[K7('m_finalRewards')]
  0029  CALL      R2 = call(R2, 0 args, 2 rets)
  0030  GETTABUP  R2 = _ENV[K8('RewardApi')]
  0031  GETTABLE  R2 = R2[K9('GetMergedRewards')]
  0032  MOVE      R3 = R0
  0033  CALL      R2 = call(R2, 1 args, 1 rets)
  0034  GETTABUP  R3 = _ENV[K5('ipairs')]
  0035  MOVE      R4 = R0
  0036  CALL      R3 = call(R3, 3 args, 1 rets)
  0037  JMP       (jump)   -> 50
  0038  GETTABUP  R8 = _ENV[K10('PROPERTY_TYPE')]
  0039  GETTABLE  R8 = R7[R8]
  0040  GETTABLE  R9 = R0[K11('m_activityDefinition')]
  0041  GETTABLE  R9 = R9[K12('ActivityTokenPropertyType')]
  0042  EQ        if R0 eq R9   -> -126923
  0043  JMP       (jump)   -> 50
  0044  GETTABUP  R8 = _ENV[K13('table')]
  0045  GETTABLE  R8 = R8[K14('remove')]
  0046  MOVE      R9 = R0
  0047  MOVE      R10 = R0
  0048  CALL      R8 = call(R8, 0 args, 2 rets)
  0049  JMP       (jump)   -> 52
  0050  TFORCALL  tforcall R3
  0051  TFORLOOP  tforloop R5(sBx=-14)   -> 38
  0052  GETTABUP  R3 = _ENV[K2('Table')]
  0053  GETTABLE  R3 = R3[K3('IsEmpty')]
  0054  MOVE      R4 = R0
  0055  CALL      R3 = call(R3, 1 args, 1 rets)
  0056  TEST      if not R3 then   -> -131013
  0057  JMP       (jump)   -> 71
  0058  GETTABUP  R3 = _ENV[K15('GM')]
  0059  GETTABLE  R3 = R3[K16('UIManager')]
  0060  SELF      R4 = R3[K17('OpenView')] (self)
  0061  GETTABUP  R5 = _ENV[K18('UIPrefabConfigName')]
  0062  GETTABLE  R5 = R5[K19('AnimatedRewardWindow')]
  0063  MOVE      R6 = R0
  0064  LOADK     R7 = K20 'rewards_window_title_normal'
  0065  LOADBOOL  R8 = true
  0066  GETTABUP  R9 = _ENV[K21('ERewardScene')]
  0067  GETTABLE  R9 = R9[K22('Other')]
  0068  LOADNIL   R10..R10 = nil
  0069  LOADBOOL  R13 = true
  0070  CALL      R3 = call(R3, 0 args, 10 rets)
  0071  SETTABLE  R0[K4('m_arrClaimedRewards')] = K1(nil)
  0072  GETTABLE  R1 = R0[K23('m_model')]
  0073  SELF      R2 = R1[K24('OnViewControllerFinished')] (self)
  0074  GETTABLE  R3 = R0[K0('m_controllerId')]
  0075  CALL      R1 = call(R1, 0 args, 2 rets)
  0076  SETTABLE  R0[K0('m_controllerId')] = K1(nil)
  0077  SELF      R2 = R0[K25('Destroy')] (self)
  0078  CALL      R1 = call(R1, 0 args, 1 rets)
  0079  RETURN    return R0..R-1
; ---------- proto16 [CheckEnd] ----------
  ; fn ?  line 274-281 np=1 va=0 ms=4 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='GetOpenedViewByName'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='MainWindowPrefabName'
  ;   K[5]=nil
  ;   K[6]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('GetOpenedViewByName')] (self)
  0003  GETTABLE  R3 = R0[K3('m_activityDefinition')]
  0004  GETTABLE  R3 = R3[K4('MainWindowPrefabName')]
  0005  CALL      R1 = call(R1, 1 args, 2 rets)
  0006  EQ        if R0 eq K5(nil)   -> -130291
  0007  JMP       (jump)   -> 12
  0008  SELF      R2 = R0[K6('Close')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  LOADBOOL  R1 = true
  0011  RETURN    return R1..R0
  0012  LOADBOOL  R1 = false
  0013  RETURN    return R1..R0
  0014  RETURN    return R0..R-1
