# WeeklyRank_View_WeeklyRankMainWindow_1227.luac
; fn @WeeklyRankMainWindow.lua  line 0-0 np=0 va=1 ms=3 code=91 consts=33 upvals=1 protos=27
;   K[0]='WeeklyRankMainWindow'
;   K[1]='setmetatable'
;   K[2]='TopRankCount'
;   K[3]=3
;   K[4]='WeeklyRankBaseWindow'
;   K[5]='__index'
;   K[6]='Init'
;   K[7]='CheckNetWork'
;   K[8]='CheckPassActivity'
;   K[9]='TryRequestFullRankData'
;   K[10]='GetActivityModel'
;   K[11]='GetRealRankData'
;   K[12]='ShowDescWhenCalculatingSettlement'
;   K[13]='ShowDefaultTopPlayerCell'
;   K[14]='OnDestroy'
;   K[15]='UpdateTop3Info'
;   K[16]='_PlayTop3Animation'
;   K[17]='PlayTopEffect'
;   K[18]='_PlayRankUpAnimationIfNeed'
;   K[19]='UpdateRankContent'
;   K[20]='GetScrollViewRankData'
;   K[21]='_UpdateRanksBeforeRankUpAnim'
;   K[22]='MoveUserCellVisible'
;   K[23]='UpdatePerSecond'
;   K[24]='OnHelpBtnClick'
;   K[25]='OnBtnClicked'
;   K[26]='OpenBoxRewardWindow'
;   K[27]='OnScrollValueChanged'
;   K[28]='ShowRewardTip'
;   K[29]='GetRankTutorialRect'
;   K[30]='GetHelpBtnRectTrans'
;   K[31]='TestAdd10Token'
;   K[32]='TestAdd50Token'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('TopRankCount')] = K3(3)
0003  GETTABUP  R2 = _ENV[K4('WeeklyRankBaseWindow')]
0004  CALL      R0 = call(R0, 1 args, 2 rets)
0005  SETTABUP  _ENV[K0('WeeklyRankMainWindow')] = R0
0006  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0007  GETTABUP  R1 = _ENV[K0('WeeklyRankMainWindow')]
0008  SETTABLE  R0[K5('__index')] = R1
0009  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0010  CLOSURE   R1 = closure proto0
0011  SETTABLE  R0[K6('Init')] = R1
0012  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0013  CLOSURE   R1 = closure proto1
0014  SETTABLE  R0[K7('CheckNetWork')] = R1
0015  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0016  CLOSURE   R1 = closure proto2
0017  SETTABLE  R0[K8('CheckPassActivity')] = R1
0018  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0019  CLOSURE   R1 = closure proto3
0020  SETTABLE  R0[K9('TryRequestFullRankData')] = R1
0021  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0022  CLOSURE   R1 = closure proto4
0023  SETTABLE  R0[K10('GetActivityModel')] = R1
0024  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0025  CLOSURE   R1 = closure proto5
0026  SETTABLE  R0[K11('GetRealRankData')] = R1
0027  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0028  CLOSURE   R1 = closure proto6
0029  SETTABLE  R0[K12('ShowDescWhenCalculatingSettlement')] = R1
0030  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0031  CLOSURE   R1 = closure proto7
0032  SETTABLE  R0[K13('ShowDefaultTopPlayerCell')] = R1
0033  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0034  CLOSURE   R1 = closure proto8
0035  SETTABLE  R0[K14('OnDestroy')] = R1
0036  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0037  CLOSURE   R1 = closure proto9
0038  SETTABLE  R0[K15('UpdateTop3Info')] = R1
0039  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0040  CLOSURE   R1 = closure proto10
0041  SETTABLE  R0[K16('_PlayTop3Animation')] = R1
0042  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0043  CLOSURE   R1 = closure proto11
0044  SETTABLE  R0[K17('PlayTopEffect')] = R1
0045  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0046  CLOSURE   R1 = closure proto12
0047  SETTABLE  R0[K18('_PlayRankUpAnimationIfNeed')] = R1
0048  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0049  CLOSURE   R1 = closure proto13
0050  SETTABLE  R0[K19('UpdateRankContent')] = R1
0051  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0052  CLOSURE   R1 = closure proto14
0053  SETTABLE  R0[K20('GetScrollViewRankData')] = R1
0054  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0055  CLOSURE   R1 = closure proto15
0056  SETTABLE  R0[K21('_UpdateRanksBeforeRankUpAnim')] = R1
0057  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0058  CLOSURE   R1 = closure proto16
0059  SETTABLE  R0[K22('MoveUserCellVisible')] = R1
0060  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0061  CLOSURE   R1 = closure proto17
0062  SETTABLE  R0[K23('UpdatePerSecond')] = R1
0063  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0064  CLOSURE   R1 = closure proto18
0065  SETTABLE  R0[K24('OnHelpBtnClick')] = R1
0066  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0067  CLOSURE   R1 = closure proto19
0068  SETTABLE  R0[K25('OnBtnClicked')] = R1
0069  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0070  CLOSURE   R1 = closure proto20
0071  SETTABLE  R0[K26('OpenBoxRewardWindow')] = R1
0072  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0073  CLOSURE   R1 = closure proto21
0074  SETTABLE  R0[K27('OnScrollValueChanged')] = R1
0075  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0076  CLOSURE   R1 = closure proto22
0077  SETTABLE  R0[K28('ShowRewardTip')] = R1
0078  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0079  CLOSURE   R1 = closure proto23
0080  SETTABLE  R0[K29('GetRankTutorialRect')] = R1
0081  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0082  CLOSURE   R1 = closure proto24
0083  SETTABLE  R0[K30('GetHelpBtnRectTrans')] = R1
0084  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0085  CLOSURE   R1 = closure proto25
0086  SETTABLE  R0[K31('TestAdd10Token')] = R1
0087  GETTABUP  R0 = _ENV[K0('WeeklyRankMainWindow')]
0088  CLOSURE   R1 = closure proto26
0089  SETTABLE  R0[K32('TestAdd50Token')] = R1
0090  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 11-30 np=4 va=0 ms=8 code=48 consts=22 upvals=1 protos=0
  ;   K[0]='WeeklyRankBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_bSettlement'
  ;   K[3]='ShowDefaultTopPlayerCell'
  ;   K[4]='UIUtil'
  ;   K[5]='SetActive'
  ;   K[6]='m_descGo'
  ;   K[7]='m_buttonText'
  ;   K[8]='text'
  ;   K[9]='GM'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   K[12]='cross_promotion_button'
  ;   K[13]='UpdatePerSecond'
  ;   K[14]='CheckNetWork'
  ;   K[15]='m_model'
  ;   K[16]='GetState'
  ;   K[17]='ActivityState'
  ;   K[18]='Started'
  ;   K[19]='CheckPassActivity'
  ;   K[20]='ShowDescWhenCalculatingSettlement'
  ;   K[21]='TryRequestFullRankData'
  ;   upvals: _ENV
  ;   locals: self(0-48), activityType(0-48), bUserClick(0-48), bSettlement(0-48)
  0000  GETTABUP  R4 = _ENV[K0('WeeklyRankBaseWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  MOVE      R7 = R0
  0005  CALL      R4 = call(R4, 0 args, 3 rets)
  0006  SETTABLE  R0[K2('m_bSettlement')] = R3
  0007  SELF      R5 = R0[K3('ShowDefaultTopPlayerCell')] (self)
  0008  CALL      R4 = call(R4, 0 args, 1 rets)
  0009  GETTABUP  R4 = _ENV[K4('UIUtil')]
  0010  GETTABLE  R4 = R4[K5('SetActive')]
  0011  GETTABLE  R5 = R0[K6('m_descGo')]
  0012  LOADBOOL  R6 = false
  0013  CALL      R4 = call(R4, 0 args, 2 rets)
  0014  GETTABLE  R4 = R0[K7('m_buttonText')]
  0015  GETTABUP  R5 = _ENV[K9('GM')]
  0016  GETTABLE  R5 = R5[K10('GameTextModel')]
  0017  SELF      R6 = R5[K11('GetText')] (self)
  0018  LOADK     R7 = K12 'cross_promotion_button'
  0019  CALL      R5 = call(R5, 1 args, 2 rets)
  0020  SETTABLE  R4[K8('text')] = R5
  0021  SELF      R5 = R0[K13('UpdatePerSecond')] (self)
  0022  CALL      R4 = call(R4, 0 args, 1 rets)
  0023  SELF      R5 = R0[K14('CheckNetWork')] (self)
  0024  CALL      R4 = call(R4, 1 args, 1 rets)
  0025  TEST      if not R4 then   -> -131045
  0026  JMP       (jump)   -> 38
  0027  GETTABLE  R4 = R0[K15('m_model')]
  0028  SELF      R5 = R4[K16('GetState')] (self)
  0029  CALL      R4 = call(R4, 1 args, 1 rets)
  0030  GETTABUP  R5 = _ENV[K17('ActivityState')]
  0031  GETTABLE  R5 = R5[K18('Started')]
  0032  EQ        if R0 eq R5   -> -128985
  0033  JMP       (jump)   -> 39
  0034  SELF      R5 = R0[K19('CheckPassActivity')] (self)
  0035  CALL      R4 = call(R4, 1 args, 1 rets)
  0036  TEST      if not R4 then   -> -131033
  0037  JMP       (jump)   -> 39
  0038  RETURN    return R0..R-1
  0039  GETTABLE  R4 = R0[K2('m_bSettlement')]
  0040  TEST      if not R4 then   -> -131030
  0041  JMP       (jump)   -> 45
  0042  SELF      R5 = R0[K20('ShowDescWhenCalculatingSettlement')] (self)
  0043  CALL      R4 = call(R4, 0 args, 1 rets)
  0044  JMP       (jump)   -> 47
  0045  SELF      R5 = R0[K21('TryRequestFullRankData')] (self)
  0046  CALL      R4 = call(R4, 0 args, 1 rets)
  0047  RETURN    return R0..R-1
; ---------- proto1 [CheckNetWork] ----------
  ; fn ?  line 32-39 np=1 va=0 ms=5 code=22 consts=11 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='HasNetwork'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_descGo'
  ;   K[5]='m_descText'
  ;   K[6]='text'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   K[10]='weeklyRank_desc_noconnect'
  ;   upvals: _ENV
  ;   locals: self(0-22)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('HasNetwork')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 19
  0005  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0006  GETTABLE  R1 = R1[K3('SetActive')]
  0007  GETTABLE  R2 = R0[K4('m_descGo')]
  0008  LOADBOOL  R3 = true
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  GETTABLE  R1 = R0[K5('m_descText')]
  0011  GETTABUP  R2 = _ENV[K7('GM')]
  0012  GETTABLE  R2 = R2[K8('GameTextModel')]
  0013  SELF      R3 = R2[K9('GetText')] (self)
  0014  LOADK     R4 = K10 'weeklyRank_desc_noconnect'
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  SETTABLE  R1[K6('text')] = R2
  0017  LOADBOOL  R1 = false
  0018  RETURN    return R1..R0
  0019  LOADBOOL  R1 = true
  0020  RETURN    return R1..R0
  0021  RETURN    return R0..R-1
; ---------- proto2 [CheckPassActivity] ----------
  ; fn ?  line 41-53 np=1 va=0 ms=5 code=45 consts=17 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='CheckPassActivity'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_rankScrollView'
  ;   K[5]='gameObject'
  ;   K[6]='m_descGo'
  ;   K[7]='m_descText'
  ;   K[8]='text'
  ;   K[9]='GM'
  ;   K[10]='GameTextModel'
  ;   K[11]='GetText'
  ;   K[12]='weeklyRank_desc_update'
  ;   K[13]='UpdateHintModel'
  ;   K[14]='NeedOpenWindow'
  ;   K[15]='SetHasPopupWindow'
  ;   K[16]='OpenUpdateHintWindow'
  ;   upvals: _ENV
  ;   locals: self(0-45)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('CheckPassActivity')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TEST      if not R1 then   -> -131066
  0004  JMP       (jump)   -> 42
  0005  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0006  GETTABLE  R1 = R1[K3('SetActive')]
  0007  GETTABLE  R2 = R0[K4('m_rankScrollView')]
  0008  GETTABLE  R2 = R2[K5('gameObject')]
  0009  LOADBOOL  R3 = false
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0012  GETTABLE  R1 = R1[K3('SetActive')]
  0013  GETTABLE  R2 = R0[K6('m_descGo')]
  0014  LOADBOOL  R3 = true
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  GETTABLE  R1 = R0[K7('m_descText')]
  0017  GETTABUP  R2 = _ENV[K9('GM')]
  0018  GETTABLE  R2 = R2[K10('GameTextModel')]
  0019  SELF      R3 = R2[K11('GetText')] (self)
  0020  LOADK     R4 = K12 'weeklyRank_desc_update'
  0021  CALL      R2 = call(R2, 1 args, 2 rets)
  0022  SETTABLE  R1[K8('text')] = R2
  0023  GETTABUP  R1 = _ENV[K9('GM')]
  0024  GETTABLE  R1 = R1[K13('UpdateHintModel')]
  0025  SELF      R2 = R1[K14('NeedOpenWindow')] (self)
  0026  LOADBOOL  R3 = true
  0027  CALL      R1 = call(R1, 1 args, 2 rets)
  0028  TEST      if not R1 then   -> -131042
  0029  JMP       (jump)   -> 40
  0030  GETTABUP  R1 = _ENV[K9('GM')]
  0031  GETTABLE  R1 = R1[K13('UpdateHintModel')]
  0032  SELF      R2 = R1[K15('SetHasPopupWindow')] (self)
  0033  LOADBOOL  R3 = false
  0034  CALL      R1 = call(R1, 0 args, 2 rets)
  0035  GETTABUP  R1 = _ENV[K9('GM')]
  0036  GETTABLE  R1 = R1[K13('UpdateHintModel')]
  0037  SELF      R2 = R1[K16('OpenUpdateHintWindow')] (self)
  0038  LOADBOOL  R3 = true
  0039  CALL      R1 = call(R1, 0 args, 2 rets)
  0040  LOADBOOL  R1 = false
  0041  RETURN    return R1..R0
  0042  LOADBOOL  R1 = true
  0043  RETURN    return R1..R0
  0044  RETURN    return R0..R-1
; ---------- proto3 [TryRequestFullRankData] ----------
  ; fn ?  line 55-122 np=1 va=0 ms=6 code=17 consts=6 upvals=1 protos=1
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_buttonGo'
  ;   K[3]='m_loadingContentGo'
  ;   K[4]='m_model'
  ;   K[5]='RequestFullRankData'
  ;   upvals: _ENV
  ;   locals: self(0-17), callback(11-17)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('m_buttonGo')]
  0003  LOADBOOL  R3 = false
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0006  GETTABLE  R1 = R1[K1('SetActive')]
  0007  GETTABLE  R2 = R0[K3('m_loadingContentGo')]
  0008  LOADBOOL  R3 = true
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  CLOSURE   R1 = closure proto0
  0011  GETTABLE  R2 = R0[K4('m_model')]
  0012  SELF      R3 = R2[K5('RequestFullRankData')] (self)
  0013  MOVE      R4 = R0
  0014  LOADBOOL  R5 = false
  0015  CALL      R2 = call(R2, 0 args, 3 rets)
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 61-119 np=1 va=0 ms=13 code=164 consts=63 upvals=2 protos=2
    ;   K[0]='UIUtil'
    ;   K[1]='IsEmptyComponent'
    ;   K[2]='SetActive'
    ;   K[3]='m_buttonGo'
    ;   K[4]='m_loadingContentGo'
    ;   K[5]='m_model'
    ;   K[6]='GetFullRankData'
    ;   K[7]='m_bFinal'
    ;   K[8]='IsFinal'
    ;   K[9]='m_arrRanks'
    ;   K[10]='Ranks'
    ;   K[11]='ipairs'
    ;   K[12]='Rewards'
    ;   K[13]='GetRewards'
    ;   K[14]='Rank'
    ;   K[15]='m_rankScrollView'
    ;   K[16]='gameObject'
    ;   K[17]='m_bSettlement'
    ;   K[18]='m_closeBtnGo'
    ;   K[19]='m_buttonText'
    ;   K[20]='text'
    ;   K[21]='GM'
    ;   K[22]='GameTextModel'
    ;   K[23]='GetText'
    ;   K[24]='cross_promotion_button'
    ;   K[25]='canCloseByAndroidBack'
    ;   K[26]='Table'
    ;   K[27]='ListSelect'
    ;   K[28]=1
    ;   K[29]=nil
    ;   K[30]='Close'
    ;   K[31]='m_curRank'
    ;   K[32]='m_finalRewards'
    ;   K[33]='TakeFinalRewards'
    ;   K[34]='EBIType'
    ;   K[35]='WeeklyRankRankRewards'
    ;   K[36]='GM'
    ;   K[37]='button_claim'
    ;   K[38]='m_lastRank'
    ;   K[39]='GetDisplayedUserRank'
    ;   K[40]='_PlayTop3Animation'
    ;   K[41]='_PlayRankUpAnimationIfNeed'
    ;   K[42]='SetDisplayedUserRank'
    ;   K[43]='m_canRecordScroll'
    ;   K[44]=false
    ;   K[45]='DelayExecuteFuncInView'
    ;   K[46]=0.5
    ;   K[47]='EventDispatcher'
    ;   K[48]='DispatchEvent'
    ;   K[49]='EEventType'
    ;   K[50]='WeeklyRankGetRankData'
    ;   K[51]='GameConfig'
    ;   K[52]='IsTestMode'
    ;   K[53]='[WeeklyRank]: \n'
    ;   K[54]='BIManager'
    ;   K[55]='TableToString'
    ;   K[56]='\n'
    ;   K[57]='Log'
    ;   K[58]='Info'
    ;   K[59]='ShowDefaultTopPlayerCell'
    ;   K[60]='m_descGo'
    ;   K[61]='m_descText'
    ;   K[62]='weeklyRank_desc_noconnect'
    ;   upvals: _ENV, self
    ;   locals: Success(0-164), fullRankData(21-147), (for generator)(28-36), (for state)(28-36), (for control)(28-36), _(29-34), rankData(29-34), ownRankData(65-147), strInfo(129-147), (for generator)(132-143), (for state)(132-143), (for control)(132-143), _(133-141), info(133-141)
    0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R1 = R1[K1('IsEmptyComponent')]
    0002  GETUPVAL  R2 = _ENV
    0003  CALL      R1 = call(R1, 1 args, 1 rets)
    0004  TEST      if not R1 then   -> -131065
    0005  JMP       (jump)   -> 163
    0006  GETTABUP  R1 = _ENV[K0('UIUtil')]
    0007  GETTABLE  R1 = R1[K2('SetActive')]
    0008  GETTABUP  R2 = self[K3('m_buttonGo')]
    0009  LOADBOOL  R3 = true
    0010  CALL      R1 = call(R1, 0 args, 2 rets)
    0011  GETTABUP  R1 = _ENV[K0('UIUtil')]
    0012  GETTABLE  R1 = R1[K2('SetActive')]
    0013  GETTABUP  R2 = self[K4('m_loadingContentGo')]
    0014  LOADBOOL  R3 = false
    0015  CALL      R1 = call(R1, 0 args, 2 rets)
    0016  TEST      if not R0 then   -> -131054
    0017  JMP       (jump)   -> 148
    0018  GETTABUP  R1 = self[K5('m_model')]
    0019  SELF      R2 = R1[K6('GetFullRankData')] (self)
    0020  CALL      R1 = call(R1, 1 args, 1 rets)
    0021  GETTABLE  R2 = R1[K8('IsFinal')]
    0022  SETTABUP  self[K7('m_bFinal')] = R2
    0023  GETTABLE  R2 = R1[K10('Ranks')]
    0024  SETTABUP  self[K9('m_arrRanks')] = R2
    0025  GETTABUP  R2 = _ENV[K11('ipairs')]
    0026  GETTABUP  R3 = self[K9('m_arrRanks')]
    0027  CALL      R2 = call(R2, 3 args, 1 rets)
    0028  JMP       (jump)   -> 34
    0029  GETTABUP  R7 = self[K5('m_model')]
    0030  SELF      R8 = R7[K13('GetRewards')] (self)
    0031  GETTABLE  R9 = R6[K14('Rank')]
    0032  CALL      R7 = call(R7, 1 args, 2 rets)
    0033  SETTABLE  R6[K12('Rewards')] = R7
    0034  TFORCALL  tforcall R2
    0035  TFORLOOP  tforloop R4(sBx=-7)   -> 29
    0036  GETTABUP  R2 = _ENV[K0('UIUtil')]
    0037  GETTABLE  R2 = R2[K2('SetActive')]
    0038  GETTABUP  R3 = self[K15('m_rankScrollView')]
    0039  GETTABLE  R3 = R3[K16('gameObject')]
    0040  GETTABUP  R4 = self[K17('m_bSettlement')]
    0041  NOT       R4 = not R0
    0042  CALL      R2 = call(R2, 0 args, 2 rets)
    0043  GETTABUP  R2 = _ENV[K0('UIUtil')]
    0044  GETTABLE  R2 = R2[K2('SetActive')]
    0045  GETTABUP  R3 = self[K18('m_closeBtnGo')]
    0046  GETTABUP  R4 = self[K7('m_bFinal')]
    0047  NOT       R4 = not R0
    0048  CALL      R2 = call(R2, 0 args, 2 rets)
    0049  GETTABUP  R2 = self[K19('m_buttonText')]
    0050  GETTABUP  R3 = _ENV[K21('GM')]
    0051  GETTABLE  R3 = R3[K22('GameTextModel')]
    0052  SELF      R4 = R3[K23('GetText')] (self)
    0053  LOADK     R5 = K24 'cross_promotion_button'
    0054  CALL      R3 = call(R3, 1 args, 2 rets)
    0055  SETTABLE  R2[K20('text')] = R3
    0056  GETTABUP  R2 = self[K7('m_bFinal')]
    0057  NOT       R2 = not R0
    0058  SETTABUP  self[K25('canCloseByAndroidBack')] = R2
    0059  GETTABUP  R2 = _ENV[K26('Table')]
    0060  GETTABLE  R2 = R2[K27('ListSelect')]
    0061  GETTABUP  R3 = self[K9('m_arrRanks')]
    0062  CLOSURE   R4 = closure proto0
    0063  CALL      R2 = call(R2, 1 args, 2 rets)
    0064  GETTABLE  R2 = R2[K28(1)]
    0065  EQ        if R0 eq K29(nil)   -> -129696
    0066  JMP       (jump)   -> 71
    0067  GETUPVAL  R3 = _ENV
    0068  SELF      R4 = R3[K30('Close')] (self)
    0069  CALL      R3 = call(R3, 0 args, 1 rets)
    0070  RETURN    return R0..R-1
    0071  GETTABLE  R3 = R2[K14('Rank')]
    0072  SETTABUP  self[K31('m_curRank')] = R3
    0073  GETTABUP  R3 = self[K7('m_bFinal')]
    0074  TEST      if not R3 then   -> -130996
    0075  JMP       (jump)   -> 98
    0076  GETTABUP  R3 = self[K5('m_model')]
    0077  SELF      R4 = R3[K13('GetRewards')] (self)
    0078  GETTABUP  R5 = self[K31('m_curRank')]
    0079  CALL      R3 = call(R3, 1 args, 2 rets)
    0080  SETTABUP  self[K32('m_finalRewards')] = R3
    0081  GETTABUP  R3 = self[K5('m_model')]
    0082  SELF      R4 = R3[K33('TakeFinalRewards')] (self)
    0083  GETTABUP  R5 = self[K32('m_finalRewards')]
    0084  GETTABUP  R6 = _ENV[K34('EBIType')]
    0085  GETTABLE  R6 = R6[K35('WeeklyRankRankRewards')]
    0086  GETTABUP  R7 = self[K31('m_curRank')]
    0087  CALL      R3 = call(R3, 0 args, 4 rets)
    0088  GETTABUP  R3 = self[K32('m_finalRewards')]
    0089  EQ        if R1 eq K29(nil)   -> -129160
    0090  JMP       (jump)   -> 98
    0091  GETTABUP  R3 = self[K19('m_buttonText')]
    0092  GETTABUP  R4 = _ENV[K36('GM')]
    0093  GETTABLE  R4 = R4[K22('GameTextModel')]
    0094  SELF      R5 = R4[K23('GetText')] (self)
    0095  LOADK     R6 = K37 'button_claim'
    0096  CALL      R4 = call(R4, 1 args, 2 rets)
    0097  SETTABLE  R3[K20('text')] = R4
    0098  GETTABUP  R3 = self[K5('m_model')]
    0099  SELF      R4 = R3[K39('GetDisplayedUserRank')] (self)
    0100  CALL      R3 = call(R3, 1 args, 1 rets)
    0101  SETTABUP  self[K38('m_lastRank')] = R3
    0102  GETUPVAL  R3 = _ENV
    0103  SELF      R4 = R3[K40('_PlayTop3Animation')] (self)
    0104  CALL      R3 = call(R3, 0 args, 1 rets)
    0105  GETUPVAL  R3 = _ENV
    0106  SELF      R4 = R3[K41('_PlayRankUpAnimationIfNeed')] (self)
    0107  CALL      R3 = call(R3, 0 args, 1 rets)
    0108  GETTABUP  R3 = self[K5('m_model')]
    0109  SELF      R4 = R3[K42('SetDisplayedUserRank')] (self)
    0110  CALL      R3 = call(R3, 0 args, 1 rets)
    0111  SETTABUP  self[K43('m_canRecordScroll')] = K44(false)
    0112  GETTABUP  R3 = _ENV[K45('DelayExecuteFuncInView')]
    0113  CLOSURE   R4 = closure proto1
    0114  LOADK     R5 = K46 0.5
    0115  GETUPVAL  R6 = _ENV
    0116  CALL      R3 = call(R3, 0 args, 3 rets)
    0117  GETTABUP  R3 = _ENV[K47('EventDispatcher')]
    0118  GETTABLE  R3 = R3[K48('DispatchEvent')]
    0119  GETTABUP  R4 = _ENV[K49('EEventType')]
    0120  GETTABLE  R4 = R4[K50('WeeklyRankGetRankData')]
    0121  GETUPVAL  R5 = _ENV
    0122  CALL      R3 = call(R3, 0 args, 2 rets)
    0123  GETTABUP  R3 = _ENV[K51('GameConfig')]
    0124  GETTABLE  R3 = R3[K52('IsTestMode')]
    0125  CALL      R3 = call(R3, 1 args, 0 rets)
    0126  TEST      if not R3 then   -> -130944
    0127  JMP       (jump)   -> 163
    0128  LOADK     R3 = K53 '[WeeklyRank]: \n'
    0129  GETTABUP  R4 = _ENV[K11('ipairs')]
    0130  GETTABUP  R5 = self[K9('m_arrRanks')]
    0131  CALL      R4 = call(R4, 3 args, 1 rets)
    0132  JMP       (jump)   -> 141
    0133  MOVE      R9 = R0
    0134  GETTABUP  R10 = _ENV[K36('GM')]
    0135  GETTABLE  R10 = R10[K54('BIManager')]
    0136  SELF      R11 = R10[K55('TableToString')] (self)
    0137  MOVE      R12 = R0
    0138  CALL      R10 = call(R10, 1 args, 2 rets)
    0139  LOADK     R11 = K56 '\n'
    0140  CONCAT    R3 = concat(R3..R9)
    0141  TFORCALL  tforcall R4
    0142  TFORLOOP  tforloop R6(sBx=-10)   -> 133
    0143  GETTABUP  R4 = _ENV[K57('Log')]
    0144  GETTABLE  R4 = R4[K58('Info')]
    0145  MOVE      R5 = R0
    0146  CALL      R4 = call(R4, 0 args, 1 rets)
    0147  JMP       (jump)   -> 163
    0148  GETUPVAL  R1 = _ENV
    0149  SELF      R2 = R1[K59('ShowDefaultTopPlayerCell')] (self)
    0150  CALL      R1 = call(R1, 0 args, 1 rets)
    0151  GETTABUP  R1 = _ENV[K0('UIUtil')]
    0152  GETTABLE  R1 = R1[K2('SetActive')]
    0153  GETTABUP  R2 = self[K60('m_descGo')]
    0154  LOADBOOL  R3 = true
    0155  CALL      R1 = call(R1, 0 args, 2 rets)
    0156  GETTABUP  R1 = self[K61('m_descText')]
    0157  GETTABUP  R2 = _ENV[K36('GM')]
    0158  GETTABLE  R2 = R2[K22('GameTextModel')]
    0159  SELF      R3 = R2[K23('GetText')] (self)
    0160  LOADK     R4 = K62 'weeklyRank_desc_noconnect'
    0161  CALL      R2 = call(R2, 1 args, 2 rets)
    0162  SETTABLE  R1[K20('text')] = R2
    0163  RETURN    return R0..R-1
    ; ---------- proto0 [] ----------
      ; fn ?  line 78-78 np=1 va=0 ms=4 code=11 consts=4 upvals=1 protos=0
      ;   K[0]='UserId'
      ;   K[1]='GM'
      ;   K[2]='UserModel'
      ;   K[3]='GetUserId'
      ;   upvals: _ENV
      ;   locals: data(0-11)
      0000  GETTABLE  R1 = R0[K0('UserId')]
      0001  GETTABUP  R2 = _ENV[K1('GM')]
      0002  GETTABLE  R2 = R2[K2('UserModel')]
      0003  SELF      R3 = R2[K3('GetUserId')] (self)
      0004  CALL      R2 = call(R2, 1 args, 1 rets)
      0005  EQ        if R1 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
    ; ---------- proto1 [] ----------
      ; fn ?  line 100-102 np=0 va=0 ms=2 code=2 consts=2 upvals=1 protos=0
      ;   K[0]='m_canRecordScroll'
      ;   K[1]=true
      ;   upvals: self
      0000  SETTABUP  self[K0('m_canRecordScroll')] = K1(true)
      0001  RETURN    return R0..R-1
; ---------- proto4 [GetActivityModel] ----------
  ; fn ?  line 124-126 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
; ---------- proto5 [GetRealRankData] ----------
  ; fn ?  line 128-130 np=1 va=0 ms=4 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='GetScrollViewRankData'
  ;   K[1]='m_arrRanks'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('GetScrollViewRankData')] (self)
  0001  GETTABLE  R3 = R0[K1('m_arrRanks')]
  0002  TAILCALL  tailcall(R1, 0)
  0003  RETURN    return R1..R0
  0004  RETURN    return R0..R-1
; ---------- proto6 [ShowDescWhenCalculatingSettlement] ----------
  ; fn ?  line 132-137 np=1 va=0 ms=5 code=25 consts=12 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_descGo'
  ;   K[3]='m_countdownGo2'
  ;   K[4]='m_countdownText'
  ;   K[5]='text'
  ;   K[6]='GM'
  ;   K[7]='GameTextModel'
  ;   K[8]='GetText'
  ;   K[9]='battlepass_endTitle'
  ;   K[10]='m_descText'
  ;   K[11]='weeklyRank_desc_settle'
  ;   upvals: _ENV
  ;   locals: self(0-25)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('m_descGo')]
  0003  LOADBOOL  R3 = true
  0004  CALL      R1 = call(R1, 0 args, 2 rets)
  0005  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0006  GETTABLE  R1 = R1[K1('SetActive')]
  0007  GETTABLE  R2 = R0[K3('m_countdownGo2')]
  0008  LOADBOOL  R3 = true
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  GETTABLE  R1 = R0[K4('m_countdownText')]
  0011  GETTABUP  R2 = _ENV[K6('GM')]
  0012  GETTABLE  R2 = R2[K7('GameTextModel')]
  0013  SELF      R3 = R2[K8('GetText')] (self)
  0014  LOADK     R4 = K9 'battlepass_endTitle'
  0015  CALL      R2 = call(R2, 1 args, 2 rets)
  0016  SETTABLE  R1[K5('text')] = R2
  0017  GETTABLE  R1 = R0[K10('m_descText')]
  0018  GETTABUP  R2 = _ENV[K6('GM')]
  0019  GETTABLE  R2 = R2[K7('GameTextModel')]
  0020  SELF      R3 = R2[K8('GetText')] (self)
  0021  LOADK     R4 = K11 'weeklyRank_desc_settle'
  0022  CALL      R2 = call(R2, 1 args, 2 rets)
  0023  SETTABLE  R1[K5('text')] = R2
  0024  RETURN    return R0..R-1
; ---------- proto7 [ShowDefaultTopPlayerCell] ----------
  ; fn ?  line 139-143 np=1 va=0 ms=5 code=16 consts=5 upvals=0 protos=0
  ;   K[0]='m_top1PlayerCell'
  ;   K[1]='Init'
  ;   K[2]='m_activityType'
  ;   K[3]='m_top2PlayerCell'
  ;   K[4]='m_top3PlayerCell'
  ;   locals: self(0-16)
  0000  GETTABLE  R1 = R0[K0('m_top1PlayerCell')]
  0001  SELF      R2 = R1[K1('Init')] (self)
  0002  GETTABLE  R3 = R0[K2('m_activityType')]
  0003  LOADBOOL  R4 = true
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  GETTABLE  R1 = R0[K3('m_top2PlayerCell')]
  0006  SELF      R2 = R1[K1('Init')] (self)
  0007  GETTABLE  R3 = R0[K2('m_activityType')]
  0008  LOADBOOL  R4 = true
  0009  CALL      R1 = call(R1, 0 args, 3 rets)
  0010  GETTABLE  R1 = R0[K4('m_top3PlayerCell')]
  0011  SELF      R2 = R1[K1('Init')] (self)
  0012  GETTABLE  R3 = R0[K2('m_activityType')]
  0013  LOADBOOL  R4 = true
  0014  CALL      R1 = call(R1, 0 args, 3 rets)
  0015  RETURN    return R0..R-1
; ---------- proto8 [OnDestroy] ----------
  ; fn ?  line 145-159 np=1 va=0 ms=4 code=28 consts=11 upvals=1 protos=0
  ;   K[0]='WeeklyRankBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='EventDispatcher'
  ;   K[3]='RemoveTarget'
  ;   K[4]='m_scoreTween'
  ;   K[5]=nil
  ;   K[6]='Kill'
  ;   K[7]='m_rewardSeq'
  ;   K[8]='GM'
  ;   K[9]='UIManager'
  ;   K[10]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-28)
  0000  GETTABUP  R1 = _ENV[K0('WeeklyRankBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K3('RemoveTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  GETTABLE  R1 = R0[K4('m_scoreTween')]
  0009  EQ        if R1 eq K5(nil)   -> -130288
  0010  JMP       (jump)   -> 15
  0011  GETTABLE  R1 = R0[K4('m_scoreTween')]
  0012  SELF      R2 = R1[K6('Kill')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  SETTABLE  R0[K4('m_scoreTween')] = K5(nil)
  0015  GETTABLE  R1 = R0[K7('m_rewardSeq')]
  0016  EQ        if R1 eq K5(nil)   -> -130281
  0017  JMP       (jump)   -> 22
  0018  GETTABLE  R1 = R0[K7('m_rewardSeq')]
  0019  SELF      R2 = R1[K6('Kill')] (self)
  0020  CALL      R1 = call(R1, 0 args, 1 rets)
  0021  SETTABLE  R0[K7('m_rewardSeq')] = K5(nil)
  0022  GETTABUP  R1 = _ENV[K8('GM')]
  0023  GETTABLE  R1 = R1[K9('UIManager')]
  0024  SELF      R2 = R1[K10('RemoveAllEventLocks')] (self)
  0025  MOVE      R3 = R0
  0026  CALL      R1 = call(R1, 0 args, 2 rets)
  0027  RETURN    return R0..R-1
; ---------- proto9 [UpdateTop3Info] ----------
  ; fn ?  line 161-169 np=3 va=0 ms=9 code=30 consts=8 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]='m_top1PlayerCell'
  ;   K[2]='Init'
  ;   K[3]='m_activityType'
  ;   K[4]=2
  ;   K[5]='m_top2PlayerCell'
  ;   K[6]=3
  ;   K[7]='m_top3PlayerCell'
  ;   locals: self(0-30), index(0-30), rankData(0-30)
  0000  EQ        if R0 eq K0(1)   -> -130302
  0001  JMP       (jump)   -> 10
  0002  GETTABLE  R3 = R0[K1('m_top1PlayerCell')]
  0003  SELF      R4 = R3[K2('Init')] (self)
  0004  GETTABLE  R5 = R0[K3('m_activityType')]
  0005  LOADBOOL  R6 = false
  0006  MOVE      R7 = R0
  0007  MOVE      R8 = R0
  0008  CALL      R3 = call(R3, 0 args, 5 rets)
  0009  JMP       (jump)   -> 29
  0010  EQ        if R0 eq K4(2)   -> -130288
  0011  JMP       (jump)   -> 20
  0012  GETTABLE  R3 = R0[K5('m_top2PlayerCell')]
  0013  SELF      R4 = R3[K2('Init')] (self)
  0014  GETTABLE  R5 = R0[K3('m_activityType')]
  0015  LOADBOOL  R6 = false
  0016  MOVE      R7 = R0
  0017  MOVE      R8 = R0
  0018  CALL      R3 = call(R3, 0 args, 5 rets)
  0019  JMP       (jump)   -> 29
  0020  EQ        if R0 eq K6(3)   -> -130276
  0021  JMP       (jump)   -> 29
  0022  GETTABLE  R3 = R0[K7('m_top3PlayerCell')]
  0023  SELF      R4 = R3[K2('Init')] (self)
  0024  GETTABLE  R5 = R0[K3('m_activityType')]
  0025  LOADBOOL  R6 = false
  0026  MOVE      R7 = R0
  0027  MOVE      R8 = R0
  0028  CALL      R3 = call(R3, 0 args, 5 rets)
  0029  RETURN    return R0..R-1
; ---------- proto10 [_PlayTop3Animation] ----------
  ; fn ?  line 171-182 np=1 va=0 ms=12 code=21 consts=7 upvals=1 protos=1
  ;   K[0]=3
  ;   K[1]=2
  ;   K[2]=1
  ;   K[3]='ipairs'
  ;   K[4]=0.2
  ;   K[5]=0.1
  ;   K[6]='DelayExecuteFuncInView'
  ;   upvals: _ENV
  ;   locals: self(0-21), ranks(5-21), (for generator)(8-20), (for state)(8-20), (for control)(8-20), i(9-18), rank(9-18), delay(12-17)
  0000  NEWTABLE  R1 = {} (3 items)
  0001  LOADK     R2 = K0 3
  0002  LOADK     R3 = K1 2
  0003  LOADK     R4 = K2 1
  0004  SETLIST   setlist R1[B=1,C=3]
  0005  GETTABUP  R2 = _ENV[K3('ipairs')]
  0006  MOVE      R3 = R0
  0007  CALL      R2 = call(R2, 3 args, 1 rets)
  0008  JMP       (jump)   -> 18
  0009  SUB       R7 = K2(1) sub R5
  0010  MUL       R7 = R7 mul K4(0.2)
  0011  ADD       R7 = K5(0.1) add R7
  0012  GETTABUP  R8 = _ENV[K6('DelayExecuteFuncInView')]
  0013  CLOSURE   R9 = closure proto0
  0014  MOVE      R10 = R0
  0015  MOVE      R11 = R0
  0016  CALL      R8 = call(R8, 0 args, 3 rets)
  0017  JMP       (jump)   -> 18
  0018  TFORCALL  tforcall R2
  0019  TFORLOOP  tforloop R4(sBx=-11)   -> 9
  0020  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 175-180 np=0 va=0 ms=5 code=12 consts=4 upvals=2 protos=0
    ;   K[0]='m_top'
    ;   K[1]='PlayerCell'
    ;   K[2]='PlayAvatarAnimation'
    ;   K[3]='m_bFinal'
    ;   upvals: self, rank
    ;   locals: cell(5-12)
    0000  LOADK     R0 = K0 'm_top'
    0001  GETUPVAL  R1 = self
    0002  LOADK     R2 = K1 'PlayerCell'
    0003  CONCAT    R0 = concat(R0..R0)
    0004  GETTABUP  R0 = self[R0]
    0005  TEST      if not R0 then   -> -131065
    0006  JMP       (jump)   -> 11
    0007  SELF      R2 = R0[K2('PlayAvatarAnimation')] (self)
    0008  GETTABUP  R3 = self[K3('m_bFinal')]
    0009  GETUPVAL  R4 = self
    0010  CALL      R1 = call(R1, 0 args, 3 rets)
    0011  RETURN    return R0..R-1
; ---------- proto11 [PlayTopEffect] ----------
  ; fn ?  line 184-187 np=2 va=0 ms=6 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_top'
  ;   K[1]='Effect'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   upvals: _ENV
  ;   locals: self(0-11), num(0-11), effect(5-11)
  0000  LOADK     R2 = K0 'm_top'
  0001  MOVE      R3 = R0
  0002  LOADK     R4 = K1 'Effect'
  0003  CONCAT    R2 = concat(R2..R2)
  0004  GETTABLE  R2 = R0[R2]
  0005  GETTABUP  R3 = _ENV[K2('UIUtil')]
  0006  GETTABLE  R3 = R3[K3('SetActive')]
  0007  MOVE      R4 = R0
  0008  LOADBOOL  R5 = true
  0009  CALL      R3 = call(R3, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto12 [_PlayRankUpAnimationIfNeed] ----------
  ; fn ?  line 189-204 np=1 va=0 ms=7 code=31 consts=9 upvals=0 protos=1
  ;   K[0]='m_curRank'
  ;   K[1]=nil
  ;   K[2]='m_lastRank'
  ;   K[3]=4
  ;   K[4]='UpdateRankContent'
  ;   K[5]='m_arrRanks'
  ;   K[6]='m_rankScrollView'
  ;   K[7]='PlayRankUpAnimation'
  ;   K[8]='MoveUserCellVisible'
  ;   locals: self(0-31), canPlay(15-31)
  0000  GETTABLE  R1 = R0[K0('m_curRank')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 13
  0003  GETTABLE  R1 = R0[K2('m_lastRank')]
  0004  EQ        if R1 eq K1(nil)   -> -130297
  0005  JMP       (jump)   -> 13
  0006  GETTABLE  R1 = R0[K0('m_curRank')]
  0007  GETTABLE  R2 = R0[K2('m_lastRank')]
  0008  LT        if R0 lt R2   -> -130548
  0009  JMP       (jump)   -> 13
  0010  GETTABLE  R1 = R0[K0('m_curRank')]
  0011  LE        if R1 le R1   -> 1550
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R1 = false
  0014  LOADBOOL  R1 = true
  0015  SELF      R3 = R0[K4('UpdateRankContent')] (self)
  0016  GETTABLE  R4 = R0[K5('m_arrRanks')]
  0017  MOVE      R5 = R0
  0018  CALL      R2 = call(R2, 0 args, 3 rets)
  0019  TEST      if not R1 then   -> -131051
  0020  JMP       (jump)   -> 28
  0021  GETTABLE  R2 = R0[K6('m_rankScrollView')]
  0022  SELF      R3 = R2[K7('PlayRankUpAnimation')] (self)
  0023  GETTABLE  R4 = R0[K2('m_lastRank')]
  0024  GETTABLE  R5 = R0[K0('m_curRank')]
  0025  CLOSURE   R6 = closure proto0
  0026  CALL      R2 = call(R2, 0 args, 4 rets)
  0027  JMP       (jump)   -> 30
  0028  SELF      R3 = R0[K8('MoveUserCellVisible')] (self)
  0029  CALL      R2 = call(R2, 0 args, 1 rets)
  0030  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 193-199 np=0 va=0 ms=4 code=17 consts=9 upvals=1 protos=0
    ;   K[0]='m_rankScrollView'
    ;   K[1]='GetCell'
    ;   K[2]='m_curRank'
    ;   K[3]='TopRankCount'
    ;   K[4]=1
    ;   K[5]='gameObject'
    ;   K[6]='GetLuaTable'
    ;   K[7]=nil
    ;   K[8]='PlayFinalAnim'
    ;   upvals: self
    ;   locals: cell(7-17), tbLua(12-17)
    0000  GETTABUP  R0 = self[K0('m_rankScrollView')]
    0001  SELF      R1 = R0[K1('GetCell')] (self)
    0002  GETTABUP  R2 = self[K2('m_curRank')]
    0003  GETTABUP  R3 = self[K3('TopRankCount')]
    0004  SUB       R2 = R3 sub R2
    0005  SUB       R2 = K4(1) sub R2
    0006  CALL      R0 = call(R0, 1 args, 2 rets)
    0007  TESTSET   if not R0 then R1   -> -131063
    0008  JMP       (jump)   -> 12
    0009  GETTABLE  R1 = R0[K5('gameObject')]
    0010  SELF      R2 = R1[K6('GetLuaTable')] (self)
    0011  CALL      R1 = call(R1, 1 args, 1 rets)
    0012  EQ        if R1 eq K7(nil)   -> -130283
    0013  JMP       (jump)   -> 16
    0014  SELF      R3 = R1[K8('PlayFinalAnim')] (self)
    0015  CALL      R2 = call(R2, 0 args, 1 rets)
    0016  RETURN    return R0..R-1
; ---------- proto13 [UpdateRankContent] ----------
  ; fn ?  line 206-212 np=3 va=0 ms=11 code=20 consts=7 upvals=0 protos=0
  ;   K[0]=1
  ;   K[1]=3
  ;   K[2]='UpdateTop3Info'
  ;   K[3]='GetScrollViewRankData'
  ;   K[4]='m_rankScrollView'
  ;   K[5]='Init'
  ;   K[6]='m_model'
  ;   locals: self(0-20), ranksData(0-20), bPlayAnim(0-20), (for index)(3-9), (for limit)(3-9), (for step)(3-9), i(4-8), arrDataInScrollView(13-20)
  0000  LOADK     R3 = K0 1
  0001  LOADK     R4 = K1 3
  0002  LOADK     R5 = K0 1
  0003  FORPREP   forprep R3(sBx=4)   -> 8
  0004  SELF      R8 = R0[K2('UpdateTop3Info')] (self)
  0005  MOVE      R9 = R0
  0006  GETTABLE  R10 = R1[R6]
  0007  CALL      R7 = call(R7, 0 args, 3 rets)
  0008  FORLOOP   forloop R3(sBx=-5)   -> 4
  0009  SELF      R4 = R0[K3('GetScrollViewRankData')] (self)
  0010  MOVE      R5 = R0
  0011  MOVE      R6 = R0
  0012  CALL      R3 = call(R3, 1 args, 3 rets)
  0013  GETTABLE  R4 = R0[K4('m_rankScrollView')]
  0014  SELF      R5 = R4[K5('Init')] (self)
  0015  GETTABLE  R6 = R0[K6('m_model')]
  0016  MOVE      R7 = R0
  0017  MOVE      R8 = R0
  0018  CALL      R4 = call(R4, 0 args, 4 rets)
  0019  RETURN    return R0..R-1
; ---------- proto14 [GetScrollViewRankData] ----------
  ; fn ?  line 214-226 np=3 va=0 ms=11 code=25 consts=8 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='ShallowCopyArray'
  ;   K[2]='_UpdateRanksBeforeRankUpAnim'
  ;   K[3]=1
  ;   K[4]='TopRankCount'
  ;   K[5]=0
  ;   K[6]='table'
  ;   K[7]='remove'
  ;   upvals: _ENV
  ;   locals: self(0-25), ranksData(0-25), bPlayAnim(0-25), arrDataInScrollView(4-25), (for index)(13-23), (for limit)(13-23), (for step)(13-23), i(14-22)
  0000  GETTABUP  R3 = _ENV[K0('Table')]
  0001  GETTABLE  R3 = R3[K1('ShallowCopyArray')]
  0002  MOVE      R4 = R0
  0003  CALL      R3 = call(R3, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 10
  0006  SELF      R5 = R0[K2('_UpdateRanksBeforeRankUpAnim')] (self)
  0007  MOVE      R6 = R0
  0008  CALL      R4 = call(R4, 1 args, 2 rets)
  0009  MOVE      R3 = R0
  0010  LOADK     R4 = K3 1
  0011  GETTABLE  R5 = R0[K4('TopRankCount')]
  0012  LOADK     R6 = K3 1
  0013  FORPREP   forprep R4(sBx=8)   -> 22
  0014  LEN       R8 = len R0
  0015  LT        if R0 lt R8   -> 2585
  0016  JMP       (jump)   -> 22
  0017  GETTABUP  R8 = _ENV[K6('table')]
  0018  GETTABLE  R8 = R8[K7('remove')]
  0019  MOVE      R9 = R0
  0020  LOADK     R10 = K3 1
  0021  CALL      R8 = call(R8, 0 args, 2 rets)
  0022  FORLOOP   forloop R4(sBx=-9)   -> 14
  0023  RETURN    return R3..R2
  0024  RETURN    return R0..R-1
; ---------- proto15 [_UpdateRanksBeforeRankUpAnim] ----------
  ; fn ?  line 228-239 np=2 va=0 ms=8 code=27 consts=6 upvals=1 protos=1
  ;   K[0]='m_curRank'
  ;   K[1]='Rank'
  ;   K[2]='m_lastRank'
  ;   K[3]=1
  ;   K[4]='table'
  ;   K[5]='sort'
  ;   upvals: _ENV
  ;   locals: self(0-27), arrRanks(0-27), (for index)(9-20), (for limit)(9-20), (for step)(9-20), i(10-19)
  0000  GETTABLE  R2 = R0[K0('m_curRank')]
  0001  GETTABLE  R2 = R1[R2]
  0002  GETTABLE  R3 = R0[K2('m_lastRank')]
  0003  SETTABLE  R2[K1('Rank')] = R3
  0004  LOADK     R2 = K3 1
  0005  GETTABLE  R3 = R0[K2('m_lastRank')]
  0006  GETTABLE  R4 = R0[K0('m_curRank')]
  0007  SUB       R3 = R4 sub R3
  0008  LOADK     R4 = K3 1
  0009  FORPREP   forprep R2(sBx=9)   -> 19
  0010  GETTABLE  R6 = R0[K0('m_curRank')]
  0011  ADD       R6 = R5 add R6
  0012  GETTABLE  R6 = R1[R6]
  0013  GETTABLE  R7 = R0[K0('m_curRank')]
  0014  ADD       R7 = R5 add R7
  0015  GETTABLE  R7 = R1[R7]
  0016  GETTABLE  R7 = R7[K1('Rank')]
  0017  SUB       R7 = K3(1) sub R7
  0018  SETTABLE  R6[K1('Rank')] = R7
  0019  FORLOOP   forloop R2(sBx=-10)   -> 10
  0020  GETTABUP  R2 = _ENV[K4('table')]
  0021  GETTABLE  R2 = R2[K5('sort')]
  0022  MOVE      R3 = R0
  0023  CLOSURE   R4 = closure proto0
  0024  CALL      R2 = call(R2, 0 args, 2 rets)
  0025  RETURN    return R1..R0
  0026  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 233-237 np=2 va=0 ms=4 code=12 consts=1 upvals=0 protos=0
    ;   K[0]='Rank'
    ;   locals: data1(0-12), data2(0-12)
    0000  GETTABLE  R2 = R0[K0('Rank')]
    0001  GETTABLE  R3 = R1[K0('Rank')]
    0002  EQ        if R1 eq R3   -> -130041
    0003  JMP       (jump)   -> 11
    0004  GETTABLE  R2 = R0[K0('Rank')]
    0005  GETTABLE  R3 = R1[K0('Rank')]
    0006  LT        if R1 lt R3   -> -130037
    0007  JMP       (jump)   -> 9
    0008  LOADBOOL  R2 = false
    0009  LOADBOOL  R2 = true
    0010  RETURN    return R2..R1
    0011  RETURN    return R0..R-1
; ---------- proto16 [MoveUserCellVisible] ----------
  ; fn ?  line 241-245 np=1 va=0 ms=5 code=11 consts=6 upvals=0 protos=0
  ;   K[0]='m_curRank'
  ;   K[1]=nil
  ;   K[2]='m_rankScrollView'
  ;   K[3]='MovePanel'
  ;   K[4]='TopRankCount'
  ;   K[5]=1
  ;   locals: self(0-11)
  0000  GETTABLE  R1 = R0[K0('m_curRank')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 10
  0003  GETTABLE  R1 = R0[K2('m_rankScrollView')]
  0004  SELF      R2 = R1[K3('MovePanel')] (self)
  0005  GETTABLE  R3 = R0[K0('m_curRank')]
  0006  GETTABLE  R4 = R0[K4('TopRankCount')]
  0007  SUB       R3 = R4 sub R3
  0008  SUB       R3 = K5(1) sub R3
  0009  CALL      R1 = call(R1, 0 args, 2 rets)
  0010  RETURN    return R0..R-1
; ---------- proto17 [UpdatePerSecond] ----------
  ; fn ?  line 247-270 np=1 va=0 ms=8 code=79 consts=26 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Ended'
  ;   K[5]='m_countdownText'
  ;   K[6]='text'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   K[10]='battlepass_endTitle'
  ;   K[11]='GetNextStateTime'
  ;   K[12]='GameModel'
  ;   K[13]='GetServerTime'
  ;   K[14]='TimeUtil'
  ;   K[15]='ParseTimeDescription'
  ;   K[16]=2
  ;   K[17]='m_bSettlement'
  ;   K[18]='Released'
  ;   K[19]='GetSettlementFinishTime'
  ;   K[20]=0
  ;   K[21]='m_countdownText2'
  ;   K[22]='UIUtil'
  ;   K[23]='SetActive'
  ;   K[24]='m_countdownGo2'
  ;   K[25]='Close'
  ;   upvals: _ENV
  ;   locals: self(0-79), delta(32-41), delta(59-78)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R0 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABLE  R1 = R0[K0('m_model')]
  0005  SELF      R2 = R1[K2('GetState')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0008  GETTABLE  R2 = R2[K4('Ended')]
  0009  EQ        if R0 eq R2   -> -130547
  0010  JMP       (jump)   -> 19
  0011  GETTABLE  R1 = R0[K5('m_countdownText')]
  0012  GETTABUP  R2 = _ENV[K7('GM')]
  0013  GETTABLE  R2 = R2[K8('GameTextModel')]
  0014  SELF      R3 = R2[K9('GetText')] (self)
  0015  LOADK     R4 = K10 'battlepass_endTitle'
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  SETTABLE  R1[K6('text')] = R2
  0018  JMP       (jump)   -> 41
  0019  GETTABLE  R1 = R0[K0('m_model')]
  0020  SELF      R2 = R1[K11('GetNextStateTime')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  EQ        if R1 eq K1(nil)   -> -130279
  0023  JMP       (jump)   -> 41
  0024  GETTABLE  R1 = R0[K0('m_model')]
  0025  SELF      R2 = R1[K11('GetNextStateTime')] (self)
  0026  CALL      R1 = call(R1, 1 args, 1 rets)
  0027  GETTABUP  R2 = _ENV[K7('GM')]
  0028  GETTABLE  R2 = R2[K12('GameModel')]
  0029  SELF      R3 = R2[K13('GetServerTime')] (self)
  0030  CALL      R2 = call(R2, 1 args, 1 rets)
  0031  SUB       R1 = R2 sub R1
  0032  GETTABLE  R2 = R0[K5('m_countdownText')]
  0033  GETTABUP  R3 = _ENV[K14('TimeUtil')]
  0034  GETTABLE  R3 = R3[K15('ParseTimeDescription')]
  0035  MOVE      R4 = R0
  0036  LOADK     R5 = K16 2
  0037  LOADBOOL  R6 = false
  0038  LOADBOOL  R7 = false
  0039  CALL      R3 = call(R3, 1 args, 4 rets)
  0040  SETTABLE  R2[K6('text')] = R3
  0041  GETTABLE  R1 = R0[K17('m_bSettlement')]
  0042  TEST      if not R1 then   -> -131028
  0043  JMP       (jump)   -> 78
  0044  GETTABLE  R1 = R0[K0('m_model')]
  0045  SELF      R2 = R1[K2('GetState')] (self)
  0046  CALL      R1 = call(R1, 1 args, 1 rets)
  0047  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0048  GETTABLE  R2 = R2[K18('Released')]
  0049  EQ        if R1 eq R2   -> -130507
  0050  JMP       (jump)   -> 78
  0051  GETTABLE  R1 = R0[K0('m_model')]
  0052  SELF      R2 = R1[K19('GetSettlementFinishTime')] (self)
  0053  CALL      R1 = call(R1, 1 args, 1 rets)
  0054  GETTABUP  R2 = _ENV[K7('GM')]
  0055  GETTABLE  R2 = R2[K12('GameModel')]
  0056  SELF      R3 = R2[K13('GetServerTime')] (self)
  0057  CALL      R2 = call(R2, 1 args, 1 rets)
  0058  SUB       R1 = R2 sub R1
  0059  LT        if R0 lt R1   -> 10302
  0060  JMP       (jump)   -> 71
  0061  GETTABLE  R2 = R0[K21('m_countdownText2')]
  0062  GETTABUP  R3 = _ENV[K14('TimeUtil')]
  0063  GETTABLE  R3 = R3[K15('ParseTimeDescription')]
  0064  MOVE      R4 = R0
  0065  LOADK     R5 = K16 2
  0066  LOADBOOL  R6 = false
  0067  LOADBOOL  R7 = false
  0068  CALL      R3 = call(R3, 1 args, 4 rets)
  0069  SETTABLE  R2[K6('text')] = R3
  0070  JMP       (jump)   -> 78
  0071  GETTABUP  R2 = _ENV[K22('UIUtil')]
  0072  GETTABLE  R2 = R2[K23('SetActive')]
  0073  GETTABLE  R3 = R0[K24('m_countdownGo2')]
  0074  LOADBOOL  R4 = false
  0075  CALL      R2 = call(R2, 0 args, 2 rets)
  0076  SELF      R3 = R0[K25('Close')] (self)
  0077  CALL      R2 = call(R2, 0 args, 1 rets)
  0078  RETURN    return R0..R-1
; ---------- proto18 [OnHelpBtnClick] ----------
  ; fn ?  line 272-274 np=1 va=0 ms=6 code=9 consts=6 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='m_activityDefinition'
  ;   K[4]='HelpWindowPrefabName'
  ;   K[5]='m_activityType'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('OpenView')] (self)
  0003  GETTABLE  R3 = R0[K3('m_activityDefinition')]
  0004  GETTABLE  R3 = R3[K4('HelpWindowPrefabName')]
  0005  GETTABLE  R4 = R0[K5('m_activityType')]
  0006  LOADBOOL  R5 = true
  0007  CALL      R1 = call(R1, 0 args, 4 rets)
  0008  RETURN    return R0..R-1
; ---------- proto19 [OnBtnClicked] ----------
  ; fn ?  line 276-302 np=1 va=0 ms=7 code=81 consts=28 upvals=1 protos=0
  ;   K[0]='m_bFinal'
  ;   K[1]='Close'
  ;   K[2]='GM'
  ;   K[3]='SceneManager'
  ;   K[4]='GetGameMode'
  ;   K[5]='EGameMode'
  ;   K[6]='Board'
  ;   K[7]='ChangeGameMode'
  ;   K[8]='m_curRank'
  ;   K[9]=3
  ;   K[10]='m_top3PlayerCell'
  ;   K[11]='GetBoxPosition'
  ;   K[12]='OpenBoxRewardWindow'
  ;   K[13]=0.36
  ;   K[14]='weeklyRank_box_3'
  ;   K[15]=2
  ;   K[16]='m_top2PlayerCell'
  ;   K[17]=0.4
  ;   K[18]='weeklyRank_box_2'
  ;   K[19]=1
  ;   K[20]='m_top1PlayerCell'
  ;   K[21]=0.46
  ;   K[22]='weeklyRank_box_1'
  ;   K[23]='m_finalRewards'
  ;   K[24]='m_rankScrollView'
  ;   K[25]='TryGetCellLuaTableByIndex'
  ;   K[26]='TopRankCount'
  ;   K[27]='OpenRewardWindow'
  ;   upvals: _ENV
  ;   locals: self(0-81), position(1-81), myCell(72-77)
  0000  LOADNIL   R1..R1 = nil
  0001  GETTABLE  R2 = R0[K0('m_bFinal')]
  0002  TEST      if not R2 then   -> -131067
  0003  JMP       (jump)   -> 21
  0004  SELF      R3 = R0[K1('Close')] (self)
  0005  CALL      R2 = call(R2, 0 args, 1 rets)
  0006  GETTABUP  R2 = _ENV[K2('GM')]
  0007  GETTABLE  R2 = R2[K3('SceneManager')]
  0008  SELF      R3 = R2[K4('GetGameMode')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  GETTABUP  R3 = _ENV[K5('EGameMode')]
  0011  GETTABLE  R3 = R3[K6('Board')]
  0012  EQ        if R1 eq R3   -> -130031
  0013  JMP       (jump)   -> 80
  0014  GETTABUP  R2 = _ENV[K2('GM')]
  0015  GETTABLE  R2 = R2[K3('SceneManager')]
  0016  SELF      R3 = R2[K7('ChangeGameMode')] (self)
  0017  GETTABUP  R4 = _ENV[K5('EGameMode')]
  0018  GETTABLE  R4 = R4[K6('Board')]
  0019  CALL      R2 = call(R2, 0 args, 2 rets)
  0020  JMP       (jump)   -> 80
  0021  GETTABLE  R2 = R0[K8('m_curRank')]
  0022  EQ        if R0 eq K9(3)   -> -129759
  0023  JMP       (jump)   -> 34
  0024  GETTABLE  R2 = R0[K10('m_top3PlayerCell')]
  0025  SELF      R3 = R2[K11('GetBoxPosition')] (self)
  0026  CALL      R2 = call(R2, 1 args, 1 rets)
  0027  MOVE      R1 = R0
  0028  SELF      R3 = R0[K12('OpenBoxRewardWindow')] (self)
  0029  MOVE      R4 = R0
  0030  LOADK     R5 = K13 0.36
  0031  LOADK     R6 = K14 'weeklyRank_box_3'
  0032  CALL      R2 = call(R2, 0 args, 4 rets)
  0033  JMP       (jump)   -> 80
  0034  GETTABLE  R2 = R0[K8('m_curRank')]
  0035  EQ        if R0 eq K15(2)   -> -129740
  0036  JMP       (jump)   -> 47
  0037  GETTABLE  R2 = R0[K16('m_top2PlayerCell')]
  0038  SELF      R3 = R2[K11('GetBoxPosition')] (self)
  0039  CALL      R2 = call(R2, 1 args, 1 rets)
  0040  MOVE      R1 = R0
  0041  SELF      R3 = R0[K12('OpenBoxRewardWindow')] (self)
  0042  MOVE      R4 = R0
  0043  LOADK     R5 = K17 0.4
  0044  LOADK     R6 = K18 'weeklyRank_box_2'
  0045  CALL      R2 = call(R2, 0 args, 4 rets)
  0046  JMP       (jump)   -> 80
  0047  GETTABLE  R2 = R0[K8('m_curRank')]
  0048  EQ        if R0 eq K19(1)   -> -129723
  0049  JMP       (jump)   -> 60
  0050  GETTABLE  R2 = R0[K20('m_top1PlayerCell')]
  0051  SELF      R3 = R2[K11('GetBoxPosition')] (self)
  0052  CALL      R2 = call(R2, 1 args, 1 rets)
  0053  MOVE      R1 = R0
  0054  SELF      R3 = R0[K12('OpenBoxRewardWindow')] (self)
  0055  MOVE      R4 = R0
  0056  LOADK     R5 = K21 0.46
  0057  LOADK     R6 = K22 'weeklyRank_box_1'
  0058  CALL      R2 = call(R2, 0 args, 4 rets)
  0059  JMP       (jump)   -> 80
  0060  GETTABLE  R2 = R0[K23('m_finalRewards')]
  0061  TEST      if not R2 then   -> -131009
  0062  JMP       (jump)   -> 78
  0063  SELF      R3 = R0[K1('Close')] (self)
  0064  CALL      R2 = call(R2, 0 args, 1 rets)
  0065  GETTABLE  R2 = R0[K24('m_rankScrollView')]
  0066  SELF      R3 = R2[K25('TryGetCellLuaTableByIndex')] (self)
  0067  GETTABLE  R4 = R0[K8('m_curRank')]
  0068  GETTABLE  R5 = R0[K26('TopRankCount')]
  0069  SUB       R4 = R5 sub R4
  0070  SUB       R4 = K19(1) sub R4
  0071  CALL      R2 = call(R2, 1 args, 2 rets)
  0072  TEST      if not R2 then   -> -130998
  0073  JMP       (jump)   -> 80
  0074  SELF      R4 = R2[K27('OpenRewardWindow')] (self)
  0075  GETTABLE  R5 = R0[K23('m_finalRewards')]
  0076  CALL      R3 = call(R3, 0 args, 2 rets)
  0077  JMP       (jump)   -> 80
  0078  SELF      R3 = R0[K1('Close')] (self)
  0079  CALL      R2 = call(R2, 0 args, 1 rets)
  0080  RETURN    return R0..R-1
; ---------- proto20 [OpenBoxRewardWindow] ----------
  ; fn ?  line 304-308 np=4 va=0 ms=16 code=17 consts=8 upvals=1 protos=1
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='OpenView'
  ;   K[3]='UIPrefabConfigName'
  ;   K[4]='BoxRewardWindow'
  ;   K[5]='m_finalRewards'
  ;   K[6]='ERewardScene'
  ;   K[7]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-17), position(0-17), scale(0-17), imgKey(0-17)
  0000  GETTABUP  R4 = _ENV[K0('GM')]
  0001  GETTABLE  R4 = R4[K1('UIManager')]
  0002  SELF      R5 = R4[K2('OpenView')] (self)
  0003  GETTABUP  R6 = _ENV[K3('UIPrefabConfigName')]
  0004  GETTABLE  R6 = R6[K4('BoxRewardWindow')]
  0005  MOVE      R7 = R0
  0006  MOVE      R8 = R0
  0007  MOVE      R9 = R0
  0008  GETTABLE  R10 = R0[K5('m_finalRewards')]
  0009  LOADNIL   R11..R11 = nil
  0010  LOADBOOL  R12 = true
  0011  GETTABUP  R13 = _ENV[K6('ERewardScene')]
  0012  GETTABLE  R13 = R13[K7('Other')]
  0013  LOADNIL   R14..R14 = nil
  0014  CLOSURE   R15 = closure proto0
  0015  CALL      R4 = call(R4, 0 args, 11 rets)
  0016  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 305-307 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto21 [OnScrollValueChanged] ----------
  ; fn ?  line 310-315 np=1 va=0 ms=4 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_canRecordScroll'
  ;   K[1]='m_bClosed'
  ;   K[2]='LogWindowAction'
  ;   K[3]='EBIType'
  ;   K[4]='UIActionType'
  ;   K[5]='Scroll'
  ;   K[6]=false
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_canRecordScroll')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K1('m_bClosed')]
  0004  TEST      if not R1 then   -> -131065
  0005  JMP       (jump)   -> 12
  0006  SELF      R2 = R0[K2('LogWindowAction')] (self)
  0007  GETTABUP  R3 = _ENV[K3('EBIType')]
  0008  GETTABLE  R3 = R3[K4('UIActionType')]
  0009  GETTABLE  R3 = R3[K5('Scroll')]
  0010  CALL      R1 = call(R1, 0 args, 2 rets)
  0011  SETTABLE  R0[K0('m_canRecordScroll')] = K6(false)
  0012  RETURN    return R0..R-1
; ---------- proto22 [ShowRewardTip] ----------
  ; fn ?  line 317-319 np=5 va=0 ms=13 code=11 consts=4 upvals=1 protos=0
  ;   K[0]='m_rewardTip'
  ;   K[1]='Show'
  ;   K[2]='ERewardScene'
  ;   K[3]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-11), rewards(0-11), rectTrans(0-11), offsetX(0-11), offsetY(0-11)
  0000  GETTABLE  R5 = R0[K0('m_rewardTip')]
  0001  SELF      R6 = R5[K1('Show')] (self)
  0002  MOVE      R7 = R0
  0003  GETTABUP  R8 = _ENV[K2('ERewardScene')]
  0004  GETTABLE  R8 = R8[K3('Other')]
  0005  MOVE      R9 = R0
  0006  MOVE      R10 = R0
  0007  MOVE      R11 = R0
  0008  LOADBOOL  R12 = true
  0009  CALL      R5 = call(R5, 0 args, 7 rets)
  0010  RETURN    return R0..R-1
; ---------- proto23 [GetRankTutorialRect] ----------
  ; fn ?  line 321-330 np=1 va=0 ms=6 code=25 consts=10 upvals=0 protos=0
  ;   K[0]='m_curRank'
  ;   K[1]=3
  ;   K[2]='m_rankTutorial1Rect'
  ;   K[3]='m_rankScrollView'
  ;   K[4]='GetCell'
  ;   K[5]='TopRankCount'
  ;   K[6]=1
  ;   K[7]='gameObject'
  ;   K[8]='GetLuaTable'
  ;   K[9]='GetTutorialRect'
  ;   locals: self(0-25), cell(14-24), tbLua(19-24), rankTutorialRect(21-24)
  0000  GETTABLE  R1 = R0[K0('m_curRank')]
  0001  LE        if R0 le K1(3)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  GETTABLE  R1 = R0[K2('m_rankTutorial1Rect')]
  0004  LOADBOOL  R2 = true
  0005  RETURN    return R1..R0
  0006  JMP       (jump)   -> 24
  0007  GETTABLE  R1 = R0[K3('m_rankScrollView')]
  0008  SELF      R2 = R1[K4('GetCell')] (self)
  0009  GETTABLE  R3 = R0[K0('m_curRank')]
  0010  GETTABLE  R4 = R0[K5('TopRankCount')]
  0011  SUB       R3 = R4 sub R3
  0012  SUB       R3 = K6(1) sub R3
  0013  CALL      R1 = call(R1, 1 args, 2 rets)
  0014  TESTSET   if R0 then R2   -> -130544
  0015  JMP       (jump)   -> 19
  0016  GETTABLE  R2 = R1[K7('gameObject')]
  0017  SELF      R3 = R2[K8('GetLuaTable')] (self)
  0018  CALL      R2 = call(R2, 1 args, 1 rets)
  0019  SELF      R4 = R2[K9('GetTutorialRect')] (self)
  0020  CALL      R3 = call(R3, 1 args, 1 rets)
  0021  MOVE      R4 = R0
  0022  LOADBOOL  R5 = false
  0023  RETURN    return R4..R3
  0024  RETURN    return R0..R-1
; ---------- proto24 [GetHelpBtnRectTrans] ----------
  ; fn ?  line 332-334 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_helpRectTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_helpRectTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto25 [TestAdd10Token] ----------
  ; fn ?  line 338-340 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='ObtainBPTokenForWeeklyRank'
  ;   K[4]=10
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('ObtainBPTokenForWeeklyRank')]
  0004  LOADK     R3 = K4 10
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
; ---------- proto26 [TestAdd50Token] ----------
  ; fn ?  line 342-344 np=1 va=0 ms=4 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='ObtainBPTokenForWeeklyRank'
  ;   K[4]=50
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('ObtainBPTokenForWeeklyRank')]
  0004  LOADK     R3 = K4 50
  0005  CALL      R1 = call(R1, 0 args, 2 rets)
  0006  RETURN    return R0..R-1
