# WeeklyRank_View_WeeklyRankEntry_1233.luac
; fn @WeeklyRankEntry.lua  line 0-0 np=0 va=1 ms=3 code=51 consts=18 upvals=1 protos=14
;   K[0]='WeeklyRankEntry'
;   K[1]='setmetatable'
;   K[2]='HudGeneralButton'
;   K[3]='__index'
;   K[4]='Init'
;   K[5]='_AddListeners'
;   K[6]='OnDestroy'
;   K[7]='UpdatePerSecond'
;   K[8]='OnGameModeChanged'
;   K[9]='_OnStateChanged'
;   K[10]='_UpdateRank'
;   K[11]='_TryUpdateRank'
;   K[12]='_TryUpdateRankChangeAnim'
;   K[13]='_UpdateRankChangeAnim'
;   K[14]='OnBtnClicked'
;   K[15]='CanUpdateRank'
;   K[16]='_PopTip'
;   K[17]='_StopPopTween'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K2('HudGeneralButton')]
0003  CALL      R0 = call(R0, 1 args, 2 rets)
0004  SETTABUP  _ENV[K0('WeeklyRankEntry')] = R0
0005  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0006  GETTABUP  R1 = _ENV[K0('WeeklyRankEntry')]
0007  SETTABLE  R0[K3('__index')] = R1
0008  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0009  CLOSURE   R1 = closure proto0
0010  SETTABLE  R0[K4('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0012  CLOSURE   R1 = closure proto1
0013  SETTABLE  R0[K5('_AddListeners')] = R1
0014  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0015  CLOSURE   R1 = closure proto2
0016  SETTABLE  R0[K6('OnDestroy')] = R1
0017  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0018  CLOSURE   R1 = closure proto3
0019  SETTABLE  R0[K7('UpdatePerSecond')] = R1
0020  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0021  CLOSURE   R1 = closure proto4
0022  SETTABLE  R0[K8('OnGameModeChanged')] = R1
0023  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0024  CLOSURE   R1 = closure proto5
0025  SETTABLE  R0[K9('_OnStateChanged')] = R1
0026  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0027  CLOSURE   R1 = closure proto6
0028  SETTABLE  R0[K10('_UpdateRank')] = R1
0029  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0030  CLOSURE   R1 = closure proto7
0031  SETTABLE  R0[K11('_TryUpdateRank')] = R1
0032  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0033  CLOSURE   R1 = closure proto8
0034  SETTABLE  R0[K12('_TryUpdateRankChangeAnim')] = R1
0035  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0036  CLOSURE   R1 = closure proto9
0037  SETTABLE  R0[K13('_UpdateRankChangeAnim')] = R1
0038  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0039  CLOSURE   R1 = closure proto10
0040  SETTABLE  R0[K14('OnBtnClicked')] = R1
0041  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0042  CLOSURE   R1 = closure proto11
0043  SETTABLE  R0[K15('CanUpdateRank')] = R1
0044  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0045  CLOSURE   R1 = closure proto12
0046  SETTABLE  R0[K16('_PopTip')] = R1
0047  GETTABUP  R0 = _ENV[K0('WeeklyRankEntry')]
0048  CLOSURE   R1 = closure proto13
0049  SETTABLE  R0[K17('_StopPopTween')] = R1
0050  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-20 np=2 va=0 ms=5 code=28 consts=18 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='m_id'
  ;   K[2]='GetId'
  ;   K[3]='m_activityType'
  ;   K[4]='GetType'
  ;   K[5]='m_activityDefinition'
  ;   K[6]='GetActivityDefinition'
  ;   K[7]='m_rankText'
  ;   K[8]='text'
  ;   K[9]=''
  ;   K[10]='m_tipTrans'
  ;   K[11]='gameObject'
  ;   K[12]='SetActive'
  ;   K[13]='m_spineAnim'
  ;   K[14]='Init'
  ;   K[15]='_AddListeners'
  ;   K[16]='_UpdateRank'
  ;   K[17]='UpdatePerSecond'
  ;   locals: self(0-28), model(0-28)
  0000  SETTABLE  R0[K0('m_model')] = R1
  0001  GETTABLE  R2 = R0[K0('m_model')]
  0002  SELF      R3 = R2[K2('GetId')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  SETTABLE  R0[K1('m_id')] = R2
  0005  SELF      R3 = R1[K4('GetType')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  SETTABLE  R0[K3('m_activityType')] = R2
  0008  SELF      R3 = R1[K6('GetActivityDefinition')] (self)
  0009  CALL      R2 = call(R2, 1 args, 1 rets)
  0010  SETTABLE  R0[K5('m_activityDefinition')] = R2
  0011  GETTABLE  R2 = R0[K7('m_rankText')]
  0012  SETTABLE  R2[K8('text')] = K9('')
  0013  GETTABLE  R2 = R0[K10('m_tipTrans')]
  0014  GETTABLE  R2 = R2[K11('gameObject')]
  0015  SELF      R3 = R2[K12('SetActive')] (self)
  0016  LOADBOOL  R4 = false
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  GETTABLE  R2 = R0[K13('m_spineAnim')]
  0019  SELF      R3 = R2[K14('Init')] (self)
  0020  CALL      R2 = call(R2, 0 args, 1 rets)
  0021  SELF      R3 = R0[K15('_AddListeners')] (self)
  0022  CALL      R2 = call(R2, 0 args, 1 rets)
  0023  SELF      R3 = R0[K16('_UpdateRank')] (self)
  0024  CALL      R2 = call(R2, 0 args, 1 rets)
  0025  SELF      R3 = R0[K17('UpdatePerSecond')] (self)
  0026  CALL      R2 = call(R2, 0 args, 1 rets)
  0027  RETURN    return R0..R-1
; ---------- proto1 [_AddListeners] ----------
  ; fn ?  line 22-25 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='AddListener'
  ;   K[2]='m_activityDefinition'
  ;   K[3]='StateChangedEvent'
  ;   K[4]='_OnStateChanged'
  ;   K[5]='UserRankChangedEvent'
  ;   K[6]='_TryUpdateRank'
  ;   upvals: _ENV
  ;   locals: self(0-15)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('AddListener')]
  0002  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0003  GETTABLE  R2 = R2[K3('StateChangedEvent')]
  0004  MOVE      R3 = R0
  0005  GETTABLE  R4 = R0[K4('_OnStateChanged')]
  0006  CALL      R1 = call(R1, 0 args, 3 rets)
  0007  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K1('AddListener')]
  0009  GETTABLE  R2 = R0[K2('m_activityDefinition')]
  0010  GETTABLE  R2 = R2[K5('UserRankChangedEvent')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K6('_TryUpdateRank')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  RETURN    return R0..R-1
; ---------- proto2 [OnDestroy] ----------
  ; fn ?  line 27-31 np=1 va=0 ms=3 code=11 consts=5 upvals=1 protos=0
  ;   K[0]='HudGeneralButton'
  ;   K[1]='OnDestroy'
  ;   K[2]='Scheduler'
  ;   K[3]='UnscheduleTarget'
  ;   K[4]='_StopPopTween'
  ;   upvals: _ENV
  ;   locals: self(0-11)
  0000  GETTABUP  R1 = _ENV[K0('HudGeneralButton')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABUP  R1 = _ENV[K2('Scheduler')]
  0005  GETTABLE  R1 = R1[K3('UnscheduleTarget')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  SELF      R2 = R0[K4('_StopPopTween')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  RETURN    return R0..R-1
; ---------- proto3 [UpdatePerSecond] ----------
  ; fn ?  line 33-62 np=1 va=0 ms=8 code=88 consts=28 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='HasNetwork'
  ;   K[3]='m_rankText'
  ;   K[4]='text'
  ;   K[5]=''
  ;   K[6]='m_countDownText'
  ;   K[7]='GM'
  ;   K[8]='GameTextModel'
  ;   K[9]='GetText'
  ;   K[10]='weeklyRank_hint_noconnect'
  ;   K[11]='GetState'
  ;   K[12]='ActivityState'
  ;   K[13]='Started'
  ;   K[14]='CheckPassActivity'
  ;   K[15]='weeklyRank_hint_update'
  ;   K[16]='_UpdateRank'
  ;   K[17]='GetNextStateTime'
  ;   K[18]='GameModel'
  ;   K[19]='GetServerTime'
  ;   K[20]='TimeUtil'
  ;   K[21]='ParseTimeDescription'
  ;   K[22]=2
  ;   K[23]='GetSettlementState'
  ;   K[24]='RankSettlementState'
  ;   K[25]='Finished'
  ;   K[26]='bakeout_end_title'
  ;   K[27]='bakeout_settlement_title'
  ;   upvals: _ENV
  ;   locals: self(0-88), delta(55-64)
  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('HasNetwork')] (self)
  0006  CALL      R1 = call(R1, 1 args, 1 rets)
  0007  TEST      if not R1 then   -> -131062
  0008  JMP       (jump)   -> 19
  0009  GETTABLE  R1 = R0[K3('m_rankText')]
  0010  SETTABLE  R1[K4('text')] = K5('')
  0011  GETTABLE  R1 = R0[K6('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 'weeklyRank_hint_noconnect'
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  SETTABLE  R1[K4('text')] = R2
  0018  RETURN    return R0..R-1
  0019  GETTABLE  R1 = R0[K0('m_model')]
  0020  SELF      R2 = R1[K11('GetState')] (self)
  0021  CALL      R1 = call(R1, 1 args, 1 rets)
  0022  GETTABUP  R2 = _ENV[K12('ActivityState')]
  0023  GETTABLE  R2 = R2[K13('Started')]
  0024  EQ        if R0 eq R2   -> -130532
  0025  JMP       (jump)   -> 65
  0026  GETTABLE  R1 = R0[K0('m_model')]
  0027  SELF      R2 = R1[K14('CheckPassActivity')] (self)
  0028  CALL      R1 = call(R1, 1 args, 1 rets)
  0029  TEST      if not R1 then   -> -131040
  0030  JMP       (jump)   -> 41
  0031  GETTABLE  R1 = R0[K3('m_rankText')]
  0032  SETTABLE  R1[K4('text')] = K5('')
  0033  GETTABLE  R1 = R0[K6('m_countDownText')]
  0034  GETTABUP  R2 = _ENV[K7('GM')]
  0035  GETTABLE  R2 = R2[K8('GameTextModel')]
  0036  SELF      R3 = R2[K9('GetText')] (self)
  0037  LOADK     R4 = K15 'weeklyRank_hint_update'
  0038  CALL      R2 = call(R2, 1 args, 2 rets)
  0039  SETTABLE  R1[K4('text')] = R2
  0040  RETURN    return R0..R-1
  0041  GETTABLE  R1 = R0[K3('m_rankText')]
  0042  GETTABLE  R1 = R1[K4('text')]
  0043  EQ        if R0 eq K5('')   -> -130254
  0044  JMP       (jump)   -> 47
  0045  SELF      R2 = R0[K16('_UpdateRank')] (self)
  0046  CALL      R1 = call(R1, 0 args, 1 rets)
  0047  GETTABLE  R1 = R0[K0('m_model')]
  0048  SELF      R2 = R1[K17('GetNextStateTime')] (self)
  0049  CALL      R1 = call(R1, 1 args, 1 rets)
  0050  GETTABUP  R2 = _ENV[K7('GM')]
  0051  GETTABLE  R2 = R2[K18('GameModel')]
  0052  SELF      R3 = R2[K19('GetServerTime')] (self)
  0053  CALL      R2 = call(R2, 1 args, 1 rets)
  0054  SUB       R1 = R2 sub R1
  0055  GETTABLE  R2 = R0[K6('m_countDownText')]
  0056  GETTABUP  R3 = _ENV[K20('TimeUtil')]
  0057  GETTABLE  R3 = R3[K21('ParseTimeDescription')]
  0058  MOVE      R4 = R0
  0059  LOADK     R5 = K22 2
  0060  LOADBOOL  R6 = false
  0061  LOADBOOL  R7 = false
  0062  CALL      R3 = call(R3, 1 args, 4 rets)
  0063  SETTABLE  R2[K4('text')] = R3
  0064  JMP       (jump)   -> 87
  0065  GETTABLE  R1 = R0[K0('m_model')]
  0066  SELF      R2 = R1[K23('GetSettlementState')] (self)
  0067  CALL      R1 = call(R1, 1 args, 1 rets)
  0068  GETTABUP  R2 = _ENV[K24('RankSettlementState')]
  0069  GETTABLE  R2 = R2[K25('Finished')]
  0070  EQ        if R0 eq R2   -> -130486
  0071  JMP       (jump)   -> 80
  0072  GETTABLE  R1 = R0[K6('m_countDownText')]
  0073  GETTABUP  R2 = _ENV[K7('GM')]
  0074  GETTABLE  R2 = R2[K8('GameTextModel')]
  0075  SELF      R3 = R2[K9('GetText')] (self)
  0076  LOADK     R4 = K26 'bakeout_end_title'
  0077  CALL      R2 = call(R2, 1 args, 2 rets)
  0078  SETTABLE  R1[K4('text')] = R2
  0079  JMP       (jump)   -> 87
  0080  GETTABLE  R1 = R0[K6('m_countDownText')]
  0081  GETTABUP  R2 = _ENV[K7('GM')]
  0082  GETTABLE  R2 = R2[K8('GameTextModel')]
  0083  SELF      R3 = R2[K9('GetText')] (self)
  0084  LOADK     R4 = K27 'bakeout_settlement_title'
  0085  CALL      R2 = call(R2, 1 args, 2 rets)
  0086  SETTABLE  R1[K4('text')] = R2
  0087  RETURN    return R0..R-1
; ---------- proto4 [OnGameModeChanged] ----------
  ; fn ?  line 65-68 np=1 va=0 ms=3 code=7 consts=3 upvals=1 protos=0
  ;   K[0]='HudGeneralButton'
  ;   K[1]='OnGameModeChanged'
  ;   K[2]='_TryUpdateRankChangeAnim'
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('HudGeneralButton')]
  0001  GETTABLE  R1 = R1[K1('OnGameModeChanged')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  SELF      R2 = R0[K2('_TryUpdateRankChangeAnim')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto5 [_OnStateChanged] ----------
  ; fn ?  line 70-78 np=1 va=0 ms=4 code=19 consts=9 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='m_id'
  ;   K[3]='GetId'
  ;   K[4]='m_rankText'
  ;   K[5]='text'
  ;   K[6]=''
  ;   K[7]='m_lastRank'
  ;   K[8]='_UpdateRank'
  ;   locals: self(0-19)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 16
  0003  GETTABLE  R1 = R0[K2('m_id')]
  0004  GETTABLE  R2 = R0[K0('m_model')]
  0005  SELF      R3 = R2[K3('GetId')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  EQ        if R1 eq R2   -> -130549
  0008  JMP       (jump)   -> 16
  0009  GETTABLE  R1 = R0[K4('m_rankText')]
  0010  SETTABLE  R1[K5('text')] = K6('')
  0011  SETTABLE  R0[K7('m_lastRank')] = K1(nil)
  0012  GETTABLE  R1 = R0[K0('m_model')]
  0013  SELF      R2 = R1[K3('GetId')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  SETTABLE  R0[K2('m_id')] = R1
  0016  SELF      R2 = R0[K8('_UpdateRank')] (self)
  0017  CALL      R1 = call(R1, 0 args, 1 rets)
  0018  RETURN    return R0..R-1
; ---------- proto6 [_UpdateRank] ----------
  ; fn ?  line 80-91 np=1 va=0 ms=3 code=22 consts=9 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='CanUpdateRank'
  ;   K[3]='m_rankText'
  ;   K[4]='text'
  ;   K[5]=''
  ;   K[6]='IsInGroup'
  ;   K[7]='GetUserRank'
  ;   K[8]='m_lastRank'
  ;   locals: self(0-22), rank(18-21)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  SELF      R2 = R0[K2('CanUpdateRank')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 10
  0007  GETTABLE  R1 = R0[K3('m_rankText')]
  0008  SETTABLE  R1[K4('text')] = K5('')
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R1 = R0[K0('m_model')]
  0011  SELF      R2 = R1[K6('IsInGroup')] (self)
  0012  CALL      R1 = call(R1, 1 args, 1 rets)
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 21
  0015  GETTABLE  R1 = R0[K0('m_model')]
  0016  SELF      R2 = R1[K7('GetUserRank')] (self)
  0017  CALL      R1 = call(R1, 1 args, 1 rets)
  0018  GETTABLE  R2 = R0[K3('m_rankText')]
  0019  SETTABLE  R2[K4('text')] = R1
  0020  SETTABLE  R0[K8('m_lastRank')] = R1
  0021  RETURN    return R0..R-1
; ---------- proto7 [_TryUpdateRank] ----------
  ; fn ?  line 93-99 np=1 va=0 ms=3 code=16 consts=9 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetState'
  ;   K[2]='ActivityState'
  ;   K[3]='Started'
  ;   K[4]='m_rankText'
  ;   K[5]='text'
  ;   K[6]=''
  ;   K[7]='_UpdateRank'
  ;   K[8]='_TryUpdateRankChangeAnim'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('GetState')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  GETTABUP  R2 = _ENV[K2('ActivityState')]
  0004  GETTABLE  R2 = R2[K3('Started')]
  0005  EQ        if R0 eq R2   -> -130551
  0006  JMP       (jump)   -> 13
  0007  GETTABLE  R1 = R0[K4('m_rankText')]
  0008  GETTABLE  R1 = R1[K5('text')]
  0009  EQ        if R0 eq K6('')   -> -130287
  0010  JMP       (jump)   -> 13
  0011  SELF      R2 = R0[K7('_UpdateRank')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  SELF      R2 = R0[K8('_TryUpdateRankChangeAnim')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  RETURN    return R0..R-1
; ---------- proto8 [_TryUpdateRankChangeAnim] ----------
  ; fn ?  line 101-105 np=1 va=0 ms=3 code=14 consts=8 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='SceneManager'
  ;   K[2]='GetGameMode'
  ;   K[3]='EGameMode'
  ;   K[4]='Main'
  ;   K[5]='m_lastRank'
  ;   K[6]=nil
  ;   K[7]='_UpdateRankChangeAnim'
  ;   upvals: _ENV
  ;   locals: self(0-14)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('SceneManager')]
  0002  SELF      R2 = R1[K2('GetGameMode')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  GETTABUP  R2 = _ENV[K3('EGameMode')]
  0005  GETTABLE  R2 = R2[K4('Main')]
  0006  EQ        if R0 eq R2   -> -130550
  0007  JMP       (jump)   -> 13
  0008  GETTABLE  R1 = R0[K5('m_lastRank')]
  0009  EQ        if R1 eq K6(nil)   -> -130287
  0010  JMP       (jump)   -> 13
  0011  SELF      R2 = R0[K7('_UpdateRankChangeAnim')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto9 [_UpdateRankChangeAnim] ----------
  ; fn ?  line 107-132 np=1 va=0 ms=5 code=52 consts=15 upvals=1 protos=3
  ;   K[0]='m_model'
  ;   K[1]=nil
  ;   K[2]='CanUpdateRank'
  ;   K[3]='IsInGroup'
  ;   K[4]='m_curRank'
  ;   K[5]='GetUserRank'
  ;   K[6]='m_lastRank'
  ;   K[7]='m_rankText2'
  ;   K[8]='text'
  ;   K[9]='m_rankText1'
  ;   K[10]='DelayExecuteFuncInView'
  ;   K[11]=0.5
  ;   K[12]=1.667
  ;   K[13]=3
  ;   K[14]=1.867
  ;   upvals: _ENV
  ;   locals: self(0-52)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  SELF      R2 = R0[K2('CanUpdateRank')] (self)
  0004  CALL      R1 = call(R1, 1 args, 1 rets)
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 8
  0007  RETURN    return R0..R-1
  0008  GETTABLE  R1 = R0[K0('m_model')]
  0009  SELF      R2 = R1[K3('IsInGroup')] (self)
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 51
  0013  GETTABLE  R1 = R0[K0('m_model')]
  0014  SELF      R2 = R1[K5('GetUserRank')] (self)
  0015  CALL      R1 = call(R1, 1 args, 1 rets)
  0016  SETTABLE  R0[K4('m_curRank')] = R1
  0017  GETTABLE  R1 = R0[K6('m_lastRank')]
  0018  GETTABLE  R2 = R0[K4('m_curRank')]
  0019  EQ        if R1 eq R2   -> -130537
  0020  JMP       (jump)   -> 51
  0021  GETTABLE  R1 = R0[K7('m_rankText2')]
  0022  GETTABLE  R2 = R0[K4('m_curRank')]
  0023  SETTABLE  R1[K8('text')] = R2
  0024  GETTABLE  R1 = R0[K9('m_rankText1')]
  0025  GETTABLE  R2 = R0[K6('m_lastRank')]
  0026  SETTABLE  R1[K8('text')] = R2
  0027  GETTABUP  R1 = _ENV[K10('DelayExecuteFuncInView')]
  0028  CLOSURE   R2 = closure proto0
  0029  LOADK     R3 = K11 0.5
  0030  MOVE      R4 = R0
  0031  CALL      R1 = call(R1, 0 args, 3 rets)
  0032  GETTABUP  R1 = _ENV[K10('DelayExecuteFuncInView')]
  0033  CLOSURE   R2 = closure proto1
  0034  LOADK     R3 = K12 1.667
  0035  MOVE      R4 = R0
  0036  CALL      R1 = call(R1, 0 args, 3 rets)
  0037  GETTABLE  R1 = R0[K6('m_lastRank')]
  0038  LE        if R0 le K13(3)   -> -130251
  0039  JMP       (jump)   -> 49
  0040  GETTABLE  R1 = R0[K4('m_curRank')]
  0041  GETTABLE  R2 = R0[K6('m_lastRank')]
  0042  LT        if R0 lt R1   -> -130003
  0043  JMP       (jump)   -> 49
  0044  GETTABUP  R1 = _ENV[K10('DelayExecuteFuncInView')]
  0045  CLOSURE   R2 = closure proto2
  0046  LOADK     R3 = K14 1.867
  0047  MOVE      R4 = R0
  0048  CALL      R1 = call(R1, 0 args, 3 rets)
  0049  GETTABLE  R1 = R0[K4('m_curRank')]
  0050  SETTABLE  R0[K6('m_lastRank')] = R1
  0051  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 117-119 np=0 va=0 ms=3 code=5 consts=3 upvals=1 protos=0
    ;   K[0]='m_animator'
    ;   K[1]='SetTrigger'
    ;   K[2]='Show'
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_animator')]
    0001  SELF      R1 = R0[K1('SetTrigger')] (self)
    0002  LOADK     R2 = K2 'Show'
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 120-123 np=0 va=0 ms=4 code=9 consts=4 upvals=1 protos=0
    ;   K[0]='_UpdateRank'
    ;   K[1]='m_spineAnim'
    ;   K[2]='SetAnimation'
    ;   K[3]='idle'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_UpdateRank')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  GETTABUP  R0 = self[K1('m_spineAnim')]
    0004  SELF      R1 = R0[K2('SetAnimation')] (self)
    0005  LOADK     R2 = K3 'idle'
    0006  LOADBOOL  R3 = true
    0007  CALL      R0 = call(R0, 0 args, 3 rets)
    0008  RETURN    return R0..R-1
  ; ---------- proto2 [m_lastRank] ----------
    ; fn ?  line 125-127 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='_PopTip'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_PopTip')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto10 [OnBtnClicked] ----------
  ; fn ?  line 134-139 np=1 va=0 ms=3 code=10 consts=4 upvals=0 protos=0
  ;   K[0]='CanUpdateRank'
  ;   K[1]='_UpdateRank'
  ;   K[2]='m_model'
  ;   K[3]='TryShowMainWindow'
  ;   locals: self(0-10)
  0000  SELF      R2 = R0[K0('CanUpdateRank')] (self)
  0001  CALL      R1 = call(R1, 1 args, 1 rets)
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K1('_UpdateRank')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  GETTABLE  R1 = R0[K2('m_model')]
  0007  SELF      R2 = R1[K3('TryShowMainWindow')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  RETURN    return R0..R-1
; ---------- proto11 [CanUpdateRank] ----------
  ; fn ?  line 141-143 np=1 va=0 ms=3 code=20 consts=6 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='HasNetwork'
  ;   K[2]='GetState'
  ;   K[3]='ActivityState'
  ;   K[4]='Started'
  ;   K[5]='CheckPassActivity'
  ;   upvals: _ENV
  ;   locals: self(0-20)
  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   -> -131067
  0004  JMP       (jump)   -> 18
  0005  GETTABLE  R1 = R0[K0('m_model')]
  0006  SELF      R2 = R1[K2('GetState')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  GETTABUP  R2 = _ENV[K3('ActivityState')]
  0009  GETTABLE  R2 = R2[K4('Started')]
  0010  EQ        if R0 eq R2   -> -130546
  0011  JMP       (jump)   -> 16
  0012  GETTABLE  R1 = R0[K0('m_model')]
  0013  SELF      R2 = R1[K5('CheckPassActivity')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  JMP       (jump)   -> 18
  0016  LOADBOOL  R1 = false
  0017  LOADBOOL  R1 = true
  0018  RETURN    return R1..R0
  0019  RETURN    return R0..R-1
; ---------- proto12 [_PopTip] ----------
  ; fn ?  line 147-161 np=1 va=0 ms=8 code=42 consts=19 upvals=1 protos=1
  ;   K[0]='_StopPopTween'
  ;   K[1]='m_tipTrans'
  ;   K[2]='gameObject'
  ;   K[3]='SetActive'
  ;   K[4]='localScale'
  ;   K[5]='V3Zero'
  ;   K[6]='DOTween'
  ;   K[7]='Sequence'
  ;   K[8]='m_popTween'
  ;   K[9]='Append'
  ;   K[10]='DOScale'
  ;   K[11]=1.03
  ;   K[12]=0.15
  ;   K[13]=1.0
  ;   K[14]=0.07
  ;   K[15]='AppendInterval'
  ;   K[16]=2
  ;   K[17]=0
  ;   K[18]='OnComplete'
  ;   upvals: _ENV
  ;   locals: self(0-42), showTween(13-42)
  0000  SELF      R2 = R0[K0('_StopPopTween')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABLE  R1 = R0[K1('m_tipTrans')]
  0003  GETTABLE  R1 = R1[K2('gameObject')]
  0004  SELF      R2 = R1[K3('SetActive')] (self)
  0005  LOADBOOL  R3 = true
  0006  CALL      R1 = call(R1, 0 args, 2 rets)
  0007  GETTABLE  R1 = R0[K1('m_tipTrans')]
  0008  GETTABUP  R2 = _ENV[K5('V3Zero')]
  0009  SETTABLE  R1[K4('localScale')] = R2
  0010  GETTABUP  R1 = _ENV[K6('DOTween')]
  0011  GETTABLE  R1 = R1[K7('Sequence')]
  0012  CALL      R1 = call(R1, 1 args, 0 rets)
  0013  SETTABLE  R0[K8('m_popTween')] = R1
  0014  SELF      R3 = R1[K9('Append')] (self)
  0015  GETTABLE  R4 = R0[K1('m_tipTrans')]
  0016  SELF      R5 = R4[K10('DOScale')] (self)
  0017  LOADK     R6 = K11 1.03
  0018  LOADK     R7 = K12 0.15
  0019  CALL      R4 = call(R4, -1 args, 3 rets)
  0020  CALL      R2 = call(R2, 0 args, -1 rets)
  0021  SELF      R3 = R1[K9('Append')] (self)
  0022  GETTABLE  R4 = R0[K1('m_tipTrans')]
  0023  SELF      R5 = R4[K10('DOScale')] (self)
  0024  LOADK     R6 = K13 1.0
  0025  LOADK     R7 = K14 0.07
  0026  CALL      R4 = call(R4, -1 args, 3 rets)
  0027  CALL      R2 = call(R2, 0 args, -1 rets)
  0028  SELF      R3 = R1[K15('AppendInterval')] (self)
  0029  LOADK     R4 = K16 2
  0030  CALL      R2 = call(R2, 0 args, 2 rets)
  0031  SELF      R3 = R1[K9('Append')] (self)
  0032  GETTABLE  R4 = R0[K1('m_tipTrans')]
  0033  SELF      R5 = R4[K10('DOScale')] (self)
  0034  LOADK     R6 = K17 0
  0035  LOADK     R7 = K12 0.15
  0036  CALL      R4 = call(R4, -1 args, 3 rets)
  0037  CALL      R2 = call(R2, 0 args, -1 rets)
  0038  SELF      R3 = R1[K18('OnComplete')] (self)
  0039  CLOSURE   R4 = closure proto0
  0040  CALL      R2 = call(R2, 0 args, 2 rets)
  0041  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 158-160 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='_StopPopTween'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('_StopPopTween')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto13 [_StopPopTween] ----------
  ; fn ?  line 163-169 np=1 va=0 ms=4 code=13 consts=6 upvals=0 protos=0
  ;   K[0]='m_popTween'
  ;   K[1]='Kill'
  ;   K[2]=nil
  ;   K[3]='m_tipTrans'
  ;   K[4]='gameObject'
  ;   K[5]='SetActive'
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_popTween')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 12
  0003  GETTABLE  R1 = R0[K0('m_popTween')]
  0004  SELF      R2 = R1[K1('Kill')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  SETTABLE  R0[K0('m_popTween')] = K2(nil)
  0007  GETTABLE  R1 = R0[K3('m_tipTrans')]
  0008  GETTABLE  R1 = R1[K4('gameObject')]
  0009  SELF      R2 = R1[K5('SetActive')] (self)
  0010  LOADBOOL  R3 = false
  0011  CALL      R1 = call(R1, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
