# PairRaceActivity_View_PairRaceActivityBoardEntry_1831.luac
; fn @PairRaceActivityBoardEntry.lua  line 0-0 np=0 va=1 ms=2 code=57 consts=19 upvals=1 protos=17
;   K[0]='PairRaceActivityBoardEntry'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='OnEnable'
;   K[5]='OnDestroy'
;   K[6]='_TryAddListeners'
;   K[7]='GetIconArea'
;   K[8]='UpdatePerSecond'
;   K[9]='_OnStateChange'
;   K[10]='_OnTeamInfoChanged'
;   K[11]='_OnCloseView'
;   K[12]='_OnOpenView'
;   K[13]='UpdateContent'
;   K[14]='_UpdateContent'
;   K[15]='UpdateRedDot'
;   K[16]='OnBtnClicked'
;   K[17]='_OnOrderFinishRewardCollect'
;   K[18]='GetEntryLoader'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivityBoardEntry')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivityBoardEntry')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnEnable')] = R1
0014  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnDestroy')] = R1
0017  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('_TryAddListeners')] = R1
0020  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('GetIconArea')] = R1
0023  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdatePerSecond')] = R1
0026  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('_OnStateChange')] = R1
0029  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('_OnTeamInfoChanged')] = R1
0032  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('_OnCloseView')] = R1
0035  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('_OnOpenView')] = R1
0038  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('UpdateContent')] = R1
0041  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('_UpdateContent')] = R1
0044  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('UpdateRedDot')] = R1
0047  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0048  CLOSURE   R1 = closure proto14
0049  SETTABLE  R0[K16('OnBtnClicked')] = R1
0050  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0051  CLOSURE   R1 = closure proto15
0052  SETTABLE  R0[K17('_OnOrderFinishRewardCollect')] = R1
0053  GETTABUP  R0 = _ENV[K0('PairRaceActivityBoardEntry')]
0054  CLOSURE   R1 = closure proto16
0055  SETTABLE  R0[K18('GetEntryLoader')] = R1
0056  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 4-13 np=1 va=0 ms=4 code=18 consts=10 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]=nil
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_tokenHudButton'
  ;   K[5]='gameObject'
  ;   K[6]='UpdateContent'
  ;   K[7]='UpdateRedDot'
  ;   K[8]='UpdatePerSecond'
  ;   K[9]='_TryAddListeners'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 17
  0003  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0004  GETTABLE  R1 = R1[K3('SetActive')]
  0005  GETTABLE  R2 = R0[K4('m_tokenHudButton')]
  0006  GETTABLE  R2 = R2[K5('gameObject')]
  0007  LOADBOOL  R3 = true
  0008  CALL      R1 = call(R1, 0 args, 2 rets)
  0009  SELF      R2 = R0[K6('UpdateContent')] (self)
  0010  CALL      R1 = call(R1, 0 args, 1 rets)
  0011  SELF      R2 = R0[K7('UpdateRedDot')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  SELF      R2 = R0[K8('UpdatePerSecond')] (self)
  0014  CALL      R1 = call(R1, 0 args, 1 rets)
  0015  SELF      R2 = R0[K9('_TryAddListeners')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 15-36 np=3 va=0 ms=8 code=50 consts=25 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_tokenHudButton'
  ;   K[3]='gameObject'
  ;   K[4]='m_activityType'
  ;   K[5]='GetType'
  ;   K[6]='m_model'
  ;   K[7]='m_id'
  ;   K[8]='GetId'
  ;   K[9]='m_activityDefinition'
  ;   K[10]='GetActivityDefinition'
  ;   K[11]='Init'
  ;   K[12]='SetInBoardView'
  ;   K[13]='m_entryLoader'
  ;   K[14]='activityType'
  ;   K[15]='eLocationType'
  ;   K[16]='EDependencyEntryLocationType'
  ;   K[17]='BoardEntry'
  ;   K[18]='EUILoaderConfigName'
  ;   K[19]='DependencyEntry'
  ;   K[20]='UpdatePerSecond'
  ;   K[21]='UpdateContent'
  ;   K[22]='UpdateRedDot'
  ;   K[23]='activeInHierarchy'
  ;   K[24]='_TryAddListeners'
  ;   upvals: _ENV
  ;   locals: self(0-50), model(0-50), orderArea(0-50)
  0000  GETTABUP  R3 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R3 = R3[K1('SetActive')]
  0002  GETTABLE  R4 = R0[K2('m_tokenHudButton')]
  0003  GETTABLE  R4 = R4[K3('gameObject')]
  0004  LOADBOOL  R5 = true
  0005  CALL      R3 = call(R3, 0 args, 2 rets)
  0006  SELF      R4 = R1[K5('GetType')] (self)
  0007  CALL      R3 = call(R3, 1 args, 1 rets)
  0008  SETTABLE  R0[K4('m_activityType')] = R3
  0009  SETTABLE  R0[K6('m_model')] = R1
  0010  GETTABLE  R3 = R0[K6('m_model')]
  0011  SELF      R4 = R3[K8('GetId')] (self)
  0012  CALL      R3 = call(R3, 1 args, 1 rets)
  0013  SETTABLE  R0[K7('m_id')] = R3
  0014  GETTABLE  R3 = R0[K6('m_model')]
  0015  SELF      R4 = R3[K10('GetActivityDefinition')] (self)
  0016  CALL      R3 = call(R3, 1 args, 1 rets)
  0017  SETTABLE  R0[K9('m_activityDefinition')] = R3
  0018  GETTABLE  R3 = R0[K2('m_tokenHudButton')]
  0019  SELF      R4 = R3[K11('Init')] (self)
  0020  GETTABLE  R5 = R0[K6('m_model')]
  0021  CALL      R3 = call(R3, 0 args, 2 rets)
  0022  GETTABLE  R3 = R0[K2('m_tokenHudButton')]
  0023  SELF      R4 = R3[K12('SetInBoardView')] (self)
  0024  CALL      R3 = call(R3, 0 args, 1 rets)
  0025  GETTABLE  R3 = R0[K13('m_entryLoader')]
  0026  SELF      R4 = R3[K11('Init')] (self)
  0027  MOVE      R5 = R0
  0028  NEWTABLE  R6 = {} (0 items)
  0029  GETTABLE  R7 = R0[K4('m_activityType')]
  0030  SETTABLE  R6[K14('activityType')] = R7
  0031  GETTABUP  R7 = _ENV[K16('EDependencyEntryLocationType')]
  0032  GETTABLE  R7 = R7[K17('BoardEntry')]
  0033  SETTABLE  R6[K15('eLocationType')] = R7
  0034  GETTABUP  R7 = _ENV[K18('EUILoaderConfigName')]
  0035  GETTABLE  R7 = R7[K19('DependencyEntry')]
  0036  CALL      R3 = call(R3, 0 args, 4 rets)
  0037  SELF      R4 = R0[K20('UpdatePerSecond')] (self)
  0038  CALL      R3 = call(R3, 0 args, 1 rets)
  0039  SELF      R4 = R0[K21('UpdateContent')] (self)
  0040  CALL      R3 = call(R3, 0 args, 1 rets)
  0041  SELF      R4 = R0[K22('UpdateRedDot')] (self)
  0042  CALL      R3 = call(R3, 0 args, 1 rets)
  0043  GETTABLE  R3 = R0[K3('gameObject')]
  0044  GETTABLE  R3 = R3[K23('activeInHierarchy')]
  0045  TEST      if not R3 then   -> -131025
  0046  JMP       (jump)   -> 49
  0047  SELF      R4 = R0[K24('_TryAddListeners')] (self)
  0048  CALL      R3 = call(R3, 0 args, 1 rets)
  0049  RETURN    return R0..R-1
; ---------- proto2 [OnEnable] ----------
  ; fn ?  line 38-43 np=1 va=0 ms=3 code=8 consts=4 upvals=0 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]=nil
  ;   K[2]='UpdateRedDot'
  ;   K[3]='UpdatePerSecond'
  ;   locals: self(0-8)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  EQ        if R1 eq K1(nil)   -> -130300
  0002  JMP       (jump)   -> 7
  0003  SELF      R2 = R0[K2('UpdateRedDot')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  SELF      R2 = R0[K3('UpdatePerSecond')] (self)
  0006  CALL      R1 = call(R1, 0 args, 1 rets)
  0007  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 45-47 np=1 va=0 ms=3 code=5 consts=2 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   upvals: _ENV
  ;   locals: self(0-5)
  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  RETURN    return R0..R-1
; ---------- proto4 [_TryAddListeners] ----------
  ; fn ?  line 49-65 np=1 va=0 ms=5 code=72 consts=22 upvals=1 protos=0
  ;   K[0]='m_activityDefinition'
  ;   K[1]='m_bAddListener'
  ;   K[2]='EventDispatcher'
  ;   K[3]='AddListener'
  ;   K[4]='ScoreChangedEvent'
  ;   K[5]='UpdateContent'
  ;   K[6]='TeamInfoChangedEvent'
  ;   K[7]='_OnTeamInfoChanged'
  ;   K[8]='RewardClaimedEvent'
  ;   K[9]='StateChangedEvent'
  ;   K[10]='_OnStateChange'
  ;   K[11]='NewTeamAddedEvent'
  ;   K[12]='UpdateRedDot'
  ;   K[13]='EEventType'
  ;   K[14]='OrderFinishRewardCollect'
  ;   K[15]='_OnOrderFinishRewardCollect'
  ;   K[16]='ScrollBackToOrderFinished'
  ;   K[17]='CloseView'
  ;   K[18]='_OnCloseView'
  ;   K[19]='OpenView'
  ;   K[20]='_OnOpenView'
  ;   K[21]=true
  ;   upvals: _ENV
  ;   locals: self(0-72)
  0000  GETTABLE  R1 = R0[K0('m_activityDefinition')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K1('m_bAddListener')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0008  GETTABLE  R1 = R1[K3('AddListener')]
  0009  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0010  GETTABLE  R2 = R2[K4('ScoreChangedEvent')]
  0011  MOVE      R3 = R0
  0012  GETTABLE  R4 = R0[K5('UpdateContent')]
  0013  CALL      R1 = call(R1, 0 args, 3 rets)
  0014  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0015  GETTABLE  R1 = R1[K3('AddListener')]
  0016  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0017  GETTABLE  R2 = R2[K6('TeamInfoChangedEvent')]
  0018  MOVE      R3 = R0
  0019  GETTABLE  R4 = R0[K7('_OnTeamInfoChanged')]
  0020  CALL      R1 = call(R1, 0 args, 3 rets)
  0021  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0022  GETTABLE  R1 = R1[K3('AddListener')]
  0023  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0024  GETTABLE  R2 = R2[K8('RewardClaimedEvent')]
  0025  MOVE      R3 = R0
  0026  GETTABLE  R4 = R0[K7('_OnTeamInfoChanged')]
  0027  CALL      R1 = call(R1, 0 args, 3 rets)
  0028  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0029  GETTABLE  R1 = R1[K3('AddListener')]
  0030  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0031  GETTABLE  R2 = R2[K9('StateChangedEvent')]
  0032  MOVE      R3 = R0
  0033  GETTABLE  R4 = R0[K10('_OnStateChange')]
  0034  CALL      R1 = call(R1, 0 args, 3 rets)
  0035  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0036  GETTABLE  R1 = R1[K3('AddListener')]
  0037  GETTABLE  R2 = R0[K0('m_activityDefinition')]
  0038  GETTABLE  R2 = R2[K11('NewTeamAddedEvent')]
  0039  MOVE      R3 = R0
  0040  GETTABLE  R4 = R0[K12('UpdateRedDot')]
  0041  CALL      R1 = call(R1, 0 args, 3 rets)
  0042  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0043  GETTABLE  R1 = R1[K3('AddListener')]
  0044  GETTABUP  R2 = _ENV[K13('EEventType')]
  0045  GETTABLE  R2 = R2[K14('OrderFinishRewardCollect')]
  0046  MOVE      R3 = R0
  0047  GETTABLE  R4 = R0[K15('_OnOrderFinishRewardCollect')]
  0048  CALL      R1 = call(R1, 0 args, 3 rets)
  0049  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0050  GETTABLE  R1 = R1[K3('AddListener')]
  0051  GETTABUP  R2 = _ENV[K13('EEventType')]
  0052  GETTABLE  R2 = R2[K16('ScrollBackToOrderFinished')]
  0053  MOVE      R3 = R0
  0054  GETTABLE  R4 = R0[K5('UpdateContent')]
  0055  CALL      R1 = call(R1, 0 args, 3 rets)
  0056  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0057  GETTABLE  R1 = R1[K3('AddListener')]
  0058  GETTABUP  R2 = _ENV[K13('EEventType')]
  0059  GETTABLE  R2 = R2[K17('CloseView')]
  0060  MOVE      R3 = R0
  0061  GETTABLE  R4 = R0[K18('_OnCloseView')]
  0062  CALL      R1 = call(R1, 0 args, 3 rets)
  0063  GETTABUP  R1 = _ENV[K2('EventDispatcher')]
  0064  GETTABLE  R1 = R1[K3('AddListener')]
  0065  GETTABUP  R2 = _ENV[K13('EEventType')]
  0066  GETTABLE  R2 = R2[K19('OpenView')]
  0067  MOVE      R3 = R0
  0068  GETTABLE  R4 = R0[K20('_OnOpenView')]
  0069  CALL      R1 = call(R1, 0 args, 3 rets)
  0070  SETTABLE  R0[K1('m_bAddListener')] = K21(true)
  0071  RETURN    return R0..R-1
; ---------- proto5 [GetIconArea] ----------
  ; fn ?  line 67-69 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_tokenHudButton'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_tokenHudButton')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto6 [UpdatePerSecond] ----------
  ; fn ?  line 71-79 np=1 va=0 ms=9 code=35 consts=17 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetNextStateTime'
  ;   K[2]=nil
  ;   K[3]='math'
  ;   K[4]='max'
  ;   K[5]=0
  ;   K[6]='GM'
  ;   K[7]='GameModel'
  ;   K[8]='GetServerTime'
  ;   K[9]='m_countDownText'
  ;   K[10]='text'
  ;   K[11]='TimeUtil'
  ;   K[12]='ParseTimeDescription'
  ;   K[13]=2
  ;   K[14]='GameTextModel'
  ;   K[15]='GetText'
  ;   K[16]='countdown_finished'
  ;   upvals: _ENV
  ;   locals: self(0-35), nextStateTime(6-35), delta(17-26)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 6
  0003  GETTABLE  R1 = R0[K0('m_model')]
  0004  SELF      R2 = R1[K1('GetNextStateTime')] (self)
  0005  CALL      R1 = call(R1, 1 args, 1 rets)
  0006  EQ        if R1 eq K2(nil)   -> -130294
  0007  JMP       (jump)   -> 27
  0008  GETTABUP  R2 = _ENV[K3('math')]
  0009  GETTABLE  R2 = R2[K4('max')]
  0010  LOADK     R3 = K5 0
  0011  GETTABUP  R4 = _ENV[K6('GM')]
  0012  GETTABLE  R4 = R4[K7('GameModel')]
  0013  SELF      R5 = R4[K8('GetServerTime')] (self)
  0014  CALL      R4 = call(R4, 1 args, 1 rets)
  0015  SUB       R4 = R4 sub R1
  0016  CALL      R2 = call(R2, 1 args, 2 rets)
  0017  GETTABLE  R3 = R0[K9('m_countDownText')]
  0018  GETTABUP  R4 = _ENV[K11('TimeUtil')]
  0019  GETTABLE  R4 = R4[K12('ParseTimeDescription')]
  0020  MOVE      R5 = R0
  0021  LOADK     R6 = K13 2
  0022  LOADBOOL  R7 = false
  0023  LOADBOOL  R8 = false
  0024  CALL      R4 = call(R4, 1 args, 4 rets)
  0025  SETTABLE  R3[K10('text')] = R4
  0026  JMP       (jump)   -> 34
  0027  GETTABLE  R2 = R0[K9('m_countDownText')]
  0028  GETTABUP  R3 = _ENV[K6('GM')]
  0029  GETTABLE  R3 = R3[K14('GameTextModel')]
  0030  SELF      R4 = R3[K15('GetText')] (self)
  0031  LOADK     R5 = K16 'countdown_finished'
  0032  CALL      R3 = call(R3, 1 args, 2 rets)
  0033  SETTABLE  R2[K10('text')] = R3
  0034  RETURN    return R0..R-1
; ---------- proto7 [_OnStateChange] ----------
  ; fn ?  line 81-89 np=1 va=0 ms=4 code=14 consts=7 upvals=0 protos=0
  ;   K[0]='m_id'
  ;   K[1]='m_model'
  ;   K[2]='GetId'
  ;   K[3]='m_tokenHudButton'
  ;   K[4]='SyncToModelValue'
  ;   K[5]='UpdateContent'
  ;   K[6]='UpdateRedDot'
  ;   locals: self(0-14)
  0000  GETTABLE  R1 = R0[K0('m_id')]
  0001  GETTABLE  R2 = R0[K1('m_model')]
  0002  SELF      R3 = R2[K2('GetId')] (self)
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  EQ        if R1 eq R2   -> -130552
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R1 = R0[K3('m_tokenHudButton')]
  0007  SELF      R2 = R1[K4('SyncToModelValue')] (self)
  0008  CALL      R1 = call(R1, 0 args, 1 rets)
  0009  SELF      R2 = R0[K5('UpdateContent')] (self)
  0010  CALL      R1 = call(R1, 0 args, 1 rets)
  0011  SELF      R2 = R0[K6('UpdateRedDot')] (self)
  0012  CALL      R1 = call(R1, 0 args, 1 rets)
  0013  RETURN    return R0..R-1
; ---------- proto8 [_OnTeamInfoChanged] ----------
  ; fn ?  line 91-94 np=1 va=0 ms=3 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='UpdateContent'
  ;   K[1]='UpdateRedDot'
  ;   locals: self(0-5)
  0000  SELF      R2 = R0[K0('UpdateContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  SELF      R2 = R0[K1('UpdateRedDot')] (self)
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  RETURN    return R0..R-1
; ---------- proto9 [_OnCloseView] ----------
  ; fn ?  line 96-101 np=2 va=0 ms=4 code=13 consts=6 upvals=0 protos=0
  ;   K[0]='name'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='MainWindowPrefabName'
  ;   K[3]='m_model'
  ;   K[4]='ClearNewAccepted'
  ;   K[5]='UpdateRedDot'
  ;   locals: self(0-13), msg(0-13)
  0000  TEST      if not R1 then   -> -131070
  0001  JMP       (jump)   -> 12
  0002  GETTABLE  R2 = R1[K0('name')]
  0003  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0004  GETTABLE  R3 = R3[K2('MainWindowPrefabName')]
  0005  EQ        if R0 eq R3   -> -130038
  0006  JMP       (jump)   -> 12
  0007  GETTABLE  R2 = R0[K3('m_model')]
  0008  SELF      R3 = R2[K4('ClearNewAccepted')] (self)
  0009  CALL      R2 = call(R2, 0 args, 1 rets)
  0010  SELF      R3 = R0[K5('UpdateRedDot')] (self)
  0011  CALL      R2 = call(R2, 0 args, 1 rets)
  0012  RETURN    return R0..R-1
; ---------- proto10 [_OnOpenView] ----------
  ; fn ?  line 103-105 np=2 va=0 ms=5 code=4 consts=1 upvals=0 protos=0
  ;   K[0]='_OnCloseView'
  ;   locals: self(0-4), msg(0-4)
  0000  SELF      R3 = R0[K0('_OnCloseView')] (self)
  0001  MOVE      R4 = R0
  0002  CALL      R2 = call(R2, 0 args, 2 rets)
  0003  RETURN    return R0..R-1
; ---------- proto11 [UpdateContent] ----------
  ; fn ?  line 107-109 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='_UpdateContent'
  ;   locals: self(0-3)
  0000  SELF      R2 = R0[K0('_UpdateContent')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  RETURN    return R0..R-1
; ---------- proto12 [_UpdateContent] ----------
  ; fn ?  line 111-132 np=2 va=0 ms=15 code=66 consts=28 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GetMaxClaimableGroupId'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_rewardGo'
  ;   K[5]=nil
  ;   K[6]='m_tokenHudButton'
  ;   K[7]='gameObject'
  ;   K[8]='GetProgressRewardConfig'
  ;   K[9]='iconName'
  ;   K[10]='ImageFileConfigName'
  ;   K[11]='bakeout_chest_3'
  ;   K[12]='SpriteUtil'
  ;   K[13]='SetImage'
  ;   K[14]='m_rewardChestImg'
  ;   K[15]='GetTeamDataByGroupID'
  ;   K[16]='m_userAvatar'
  ;   K[17]='SetAvatar'
  ;   K[18]='EAvatarFrame'
  ;   K[19]='Normal'
  ;   K[20]='icon'
  ;   K[21]='badgeId'
  ;   K[22]='frameId'
  ;   K[23]='SetAnchoredPosition'
  ;   K[24]='m_exclamationGo'
  ;   K[25]='transform'
  ;   K[26]=58
  ;   K[27]=38
  ;   upvals: _ENV
  ;   locals: self(0-66), forceShowToken(0-66), groupId(3-66), maxIndex(3-66), arrRewardConfigs(25-54), rewardConfig(29-54), chestImgName(34-54), teamData(43-54)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('GetMaxClaimableGroupId')] (self)
  0002  CALL      R2 = call(R2, 2 args, 1 rets)
  0003  TEST      if not R1 then   -> -131067
  0004  JMP       (jump)   -> 6
  0005  LOADNIL   R2..R2 = nil
  0006  GETTABUP  R4 = _ENV[K2('UIUtil')]
  0007  GETTABLE  R4 = R4[K3('SetActive')]
  0008  GETTABLE  R5 = R0[K4('m_rewardGo')]
  0009  EQ        if R0 eq K5(nil)   -> -129776
  0010  JMP       (jump)   -> 12
  0011  LOADBOOL  R6 = false
  0012  LOADBOOL  R6 = true
  0013  CALL      R4 = call(R4, 0 args, 2 rets)
  0014  GETTABUP  R4 = _ENV[K2('UIUtil')]
  0015  GETTABLE  R4 = R4[K3('SetActive')]
  0016  GETTABLE  R5 = R0[K6('m_tokenHudButton')]
  0017  GETTABLE  R5 = R5[K7('gameObject')]
  0018  NOT       R6 = not R0
  0019  CALL      R4 = call(R4, 0 args, 2 rets)
  0020  TEST      if not R2 then   -> -131050
  0021  JMP       (jump)   -> 54
  0022  GETTABLE  R4 = R0[K0('m_model')]
  0023  SELF      R5 = R4[K8('GetProgressRewardConfig')] (self)
  0024  CALL      R4 = call(R4, 1 args, 1 rets)
  0025  GETTABLE  R5 = R4[R3]
  0026  TEST      if not R5 then   -> -131043
  0027  JMP       (jump)   -> 29
  0028  NEWTABLE  R5 = {} (0 items)
  0029  GETTABLE  R6 = R5[K9('iconName')]
  0030  TEST      if not R6 then   -> -131039
  0031  JMP       (jump)   -> 34
  0032  GETTABUP  R6 = _ENV[K10('ImageFileConfigName')]
  0033  GETTABLE  R6 = R6[K11('bakeout_chest_3')]
  0034  GETTABUP  R7 = _ENV[K12('SpriteUtil')]
  0035  GETTABLE  R7 = R7[K13('SetImage')]
  0036  GETTABLE  R8 = R0[K14('m_rewardChestImg')]
  0037  MOVE      R9 = R0
  0038  CALL      R7 = call(R7, 0 args, 2 rets)
  0039  GETTABLE  R7 = R0[K0('m_model')]
  0040  SELF      R8 = R7[K15('GetTeamDataByGroupID')] (self)
  0041  MOVE      R9 = R0
  0042  CALL      R7 = call(R7, 1 args, 2 rets)
  0043  TEST      if not R7 then   -> -131027
  0044  JMP       (jump)   -> 54
  0045  GETTABLE  R8 = R0[K16('m_userAvatar')]
  0046  SELF      R9 = R8[K17('SetAvatar')] (self)
  0047  GETTABUP  R10 = _ENV[K18('EAvatarFrame')]
  0048  GETTABLE  R10 = R10[K19('Normal')]
  0049  GETTABLE  R11 = R7[K20('icon')]
  0050  GETTABLE  R12 = R7[K21('badgeId')]
  0051  GETTABLE  R13 = R7[K22('frameId')]
  0052  LOADBOOL  R14 = false
  0053  CALL      R8 = call(R8, 0 args, 6 rets)
  0054  GETTABUP  R4 = _ENV[K2('UIUtil')]
  0055  GETTABLE  R4 = R4[K23('SetAnchoredPosition')]
  0056  GETTABLE  R5 = R0[K24('m_exclamationGo')]
  0057  GETTABLE  R5 = R5[K25('transform')]
  0058  TEST      if not R2 then   -> -131012
  0059  JMP       (jump)   -> 63
  0060  LOADK     R6 = K26 58
  0061  TEST      if not R6 then   -> -131008
  0062  JMP       (jump)   -> 64
  0063  LOADK     R6 = K27 38
  0064  CALL      R4 = call(R4, 0 args, 2 rets)
  0065  RETURN    return R0..R-1
; ---------- proto13 [UpdateRedDot] ----------
  ; fn ?  line 134-138 np=1 va=0 ms=5 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='UIUtil'
  ;   K[1]='SetActive'
  ;   K[2]='m_exclamationGo'
  ;   K[3]='m_model'
  ;   K[4]='HasNewAccepted'
  ;   K[5]='GetMaxClaimableGroupId'
  ;   K[6]=nil
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('UIUtil')]
  0001  GETTABLE  R1 = R1[K1('SetActive')]
  0002  GETTABLE  R2 = R0[K2('m_exclamationGo')]
  0003  GETTABLE  R3 = R0[K3('m_model')]
  0004  SELF      R4 = R3[K4('HasNewAccepted')] (self)
  0005  CALL      R3 = call(R3, 1 args, 1 rets)
  0006  TEST      if not R3 then   -> -131063
  0007  JMP       (jump)   -> 15
  0008  GETTABLE  R3 = R0[K3('m_model')]
  0009  SELF      R4 = R3[K5('GetMaxClaimableGroupId')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  EQ        if R0 eq K6(nil)   -> -129261
  0012  JMP       (jump)   -> 14
  0013  LOADBOOL  R3 = false
  0014  LOADBOOL  R3 = true
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto14 [OnBtnClicked] ----------
  ; fn ?  line 140-144 np=1 va=0 ms=3 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_model'
  ;   K[1]='ClearNewAccepted'
  ;   K[2]='UpdateRedDot'
  ;   K[3]='OnEntryClicked'
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('ClearNewAccepted')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  SELF      R2 = R0[K2('UpdateRedDot')] (self)
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABLE  R1 = R0[K0('m_model')]
  0006  SELF      R2 = R1[K3('OnEntryClicked')] (self)
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto15 [_OnOrderFinishRewardCollect] ----------
  ; fn ?  line 146-150 np=2 va=0 ms=5 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='rewardType'
  ;   K[1]='m_activityDefinition'
  ;   K[2]='ActivityTokenPropertyType'
  ;   K[3]='_UpdateContent'
  ;   locals: self(0-9), msg(0-9)
  0000  GETTABLE  R2 = R1[K0('rewardType')]
  0001  GETTABLE  R3 = R0[K1('m_activityDefinition')]
  0002  GETTABLE  R3 = R3[K2('ActivityTokenPropertyType')]
  0003  EQ        if R0 eq R3   -> -130040
  0004  JMP       (jump)   -> 8
  0005  SELF      R3 = R0[K3('_UpdateContent')] (self)
  0006  LOADBOOL  R4 = true
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto16 [GetEntryLoader] ----------
  ; fn ?  line 152-154 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_entryLoader'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_entryLoader')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
