# BigDayRaceActivity_View_BigDayRaceEntryDecoration_1333.luac
; fn @BigDayRaceEntryDecoration.lua  line 0-0 np=0 va=1 ms=3 code=33 consts=13 upvals=1 protos=6
;   K[0]='BigDayRaceEntryDecoration'
;   K[1]='__index'
;   K[2]='Awake'
;   K[3]='Init'
;   K[4]='AddListeners'
;   K[5]='OnDestroy'
;   K[6]='UpdateRankInfo'
;   K[7]='BigDayRaceTip'
;   K[8]='setmetatable'
;   K[9]='bClickHide'
;   K[10]=false
;   K[11]='BaseTip'
;   K[12]='Show'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('BigDayRaceEntryDecoration')] = R0
0002  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0003  GETTABUP  R1 = _ENV[K0('BigDayRaceEntryDecoration')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Awake')] = R1
0008  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('Init')] = R1
0011  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('AddListeners')] = R1
0014  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnDestroy')] = R1
0017  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryDecoration')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('UpdateRankInfo')] = R1
0020  GETTABUP  R0 = _ENV[K8('setmetatable')]
0021  NEWTABLE  R1 = {} (0 items)
0022  SETTABLE  R1[K9('bClickHide')] = K10(false)
0023  GETTABUP  R2 = _ENV[K11('BaseTip')]
0024  CALL      R0 = call(R0, 1 args, 2 rets)
0025  SETTABUP  _ENV[K7('BigDayRaceTip')] = R0
0026  GETTABUP  R0 = _ENV[K7('BigDayRaceTip')]
0027  GETTABUP  R1 = _ENV[K7('BigDayRaceTip')]
0028  SETTABLE  R0[K1('__index')] = R1
0029  GETTABUP  R0 = _ENV[K7('BigDayRaceTip')]
0030  CLOSURE   R1 = closure proto5
0031  SETTABLE  R0[K12('Show')] = R1
0032  RETURN    return R0..R-1
; ---------- proto0 [Awake] ----------
  ; fn ?  line 7-12 np=1 va=0 ms=3 code=7 consts=4 upvals=0 protos=0
  ;   K[0]='m_bAwaked'
  ;   K[1]=true
  ;   K[2]='m_bInit'
  ;   K[3]='AddListeners'
  ;   locals: self(0-7)
  0000  SETTABLE  R0[K0('m_bAwaked')] = K1(true)
  0001  GETTABLE  R1 = R0[K2('m_bInit')]
  0002  TEST      if not R1 then   -> -131068
  0003  JMP       (jump)   -> 6
  0004  SELF      R2 = R0[K3('AddListeners')] (self)
  0005  CALL      R1 = call(R1, 0 args, 1 rets)
  0006  RETURN    return R0..R-1
; ---------- proto1 [Init] ----------
  ; fn ?  line 17-30 np=4 va=0 ms=7 code=23 consts=14 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='GM'
  ;   K[2]='ActivityManager'
  ;   K[3]='GetModel'
  ;   K[4]='m_destroyCallback'
  ;   K[5]='UpdateRankInfo'
  ;   K[6]='m_bAwaked'
  ;   K[7]='AddListeners'
  ;   K[8]='m_bInit'
  ;   K[9]=true
  ;   K[10]='UIUtil'
  ;   K[11]='SetActive'
  ;   K[12]='m_rankTip'
  ;   K[13]='gameObject'
  ;   upvals: _ENV
  ;   locals: self(0-23), activityType(0-23), button(0-23), destroyCallback(0-23)
  0000  GETTABUP  R4 = _ENV[K1('GM')]
  0001  GETTABLE  R4 = R4[K2('ActivityManager')]
  0002  SELF      R5 = R4[K3('GetModel')] (self)
  0003  MOVE      R6 = R0
  0004  CALL      R4 = call(R4, 1 args, 2 rets)
  0005  SETTABLE  R0[K0('m_model')] = R4
  0006  SETTABLE  R0[K4('m_destroyCallback')] = R3
  0007  SELF      R5 = R0[K5('UpdateRankInfo')] (self)
  0008  LOADBOOL  R6 = false
  0009  CALL      R4 = call(R4, 0 args, 2 rets)
  0010  GETTABLE  R4 = R0[K6('m_bAwaked')]
  0011  TEST      if not R4 then   -> -131059
  0012  JMP       (jump)   -> 15
  0013  SELF      R5 = R0[K7('AddListeners')] (self)
  0014  CALL      R4 = call(R4, 0 args, 1 rets)
  0015  SETTABLE  R0[K8('m_bInit')] = K9(true)
  0016  GETTABUP  R4 = _ENV[K10('UIUtil')]
  0017  GETTABLE  R4 = R4[K11('SetActive')]
  0018  GETTABLE  R5 = R0[K12('m_rankTip')]
  0019  GETTABLE  R5 = R5[K13('gameObject')]
  0020  LOADBOOL  R6 = false
  0021  CALL      R4 = call(R4, 0 args, 2 rets)
  0022  RETURN    return R0..R-1
; ---------- proto2 [AddListeners] ----------
  ; fn ?  line 32-41 np=1 va=0 ms=5 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='m_bAddListener'
  ;   K[1]='EventDispatcher'
  ;   K[2]='AddListener'
  ;   K[3]='EEventType'
  ;   K[4]='UpdateBigDayRaceTip'
  ;   K[5]='UpdateRankInfo'
  ;   K[6]=true
  ;   upvals: _ENV
  ;   locals: self(0-13)
  0000  GETTABLE  R1 = R0[K0('m_bAddListener')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('EventDispatcher')]
  0005  GETTABLE  R1 = R1[K2('AddListener')]
  0006  GETTABUP  R2 = _ENV[K3('EEventType')]
  0007  GETTABLE  R2 = R2[K4('UpdateBigDayRaceTip')]
  0008  MOVE      R3 = R0
  0009  GETTABLE  R4 = R0[K5('UpdateRankInfo')]
  0010  CALL      R1 = call(R1, 0 args, 3 rets)
  0011  SETTABLE  R0[K0('m_bAddListener')] = K6(true)
  0012  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 43-51 np=1 va=0 ms=3 code=17 consts=7 upvals=1 protos=0
  ;   K[0]='EventDispatcher'
  ;   K[1]='RemoveTarget'
  ;   K[2]='Scheduler'
  ;   K[3]='UnscheduleTarget'
  ;   K[4]='IsFunction'
  ;   K[5]='m_destroyCallback'
  ;   K[6]=nil
  ;   upvals: _ENV
  ;   locals: self(0-17)
  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  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  GETTABUP  R1 = _ENV[K4('IsFunction')]
  0009  GETTABLE  R2 = R0[K5('m_destroyCallback')]
  0010  CALL      R1 = call(R1, 1 args, 1 rets)
  0011  TEST      if not R1 then   -> -131059
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R1 = R0[K5('m_destroyCallback')]
  0014  CALL      R1 = call(R1, 0 args, 0 rets)
  0015  SETTABLE  R0[K5('m_destroyCallback')] = K6(nil)
  0016  RETURN    return R0..R-1
; ---------- proto4 [UpdateRankInfo] ----------
  ; fn ?  line 53-72 np=2 va=0 ms=7 code=30 consts=10 upvals=1 protos=1
  ;   K[0]='m_model'
  ;   K[1]='IsInRace'
  ;   K[2]='GetMyRank'
  ;   K[3]='m_rank'
  ;   K[4]='m_bShowing'
  ;   K[5]='m_rankTip'
  ;   K[6]='Show'
  ;   K[7]=true
  ;   K[8]='DelayExecuteFuncInView'
  ;   K[9]=4
  ;   upvals: _ENV
  ;   locals: self(0-30), bShowTip(0-30), curRank(10-30)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('IsInRace')] (self)
  0002  CALL      R2 = call(R2, 1 args, 1 rets)
  0003  TEST      if not R2 then   -> -131066
  0004  JMP       (jump)   -> 6
  0005  RETURN    return R0..R-1
  0006  GETTABLE  R2 = R0[K0('m_model')]
  0007  SELF      R3 = R2[K2('GetMyRank')] (self)
  0008  LOADBOOL  R4 = true
  0009  CALL      R2 = call(R2, 1 args, 2 rets)
  0010  GETTABLE  R3 = R0[K3('m_rank')]
  0011  EQ        if R1 eq R2   -> -129521
  0012  JMP       (jump)   -> 28
  0013  TEST      if not R1 then   -> -131057
  0014  JMP       (jump)   -> 28
  0015  GETTABLE  R3 = R0[K4('m_bShowing')]
  0016  TEST      if not R3 then   -> -131053
  0017  JMP       (jump)   -> 28
  0018  GETTABLE  R3 = R0[K5('m_rankTip')]
  0019  SELF      R4 = R3[K6('Show')] (self)
  0020  MOVE      R5 = R0
  0021  CALL      R3 = call(R3, 0 args, 2 rets)
  0022  SETTABLE  R0[K4('m_bShowing')] = K7(true)
  0023  GETTABUP  R3 = _ENV[K8('DelayExecuteFuncInView')]
  0024  CLOSURE   R4 = closure proto0
  0025  LOADK     R5 = K9 4
  0026  MOVE      R6 = R0
  0027  CALL      R3 = call(R3, 0 args, 3 rets)
  0028  SETTABLE  R0[K3('m_rank')] = R2
  0029  RETURN    return R0..R-1
  ; ---------- proto0 [m_rank] ----------
    ; fn ?  line 65-68 np=0 va=0 ms=2 code=5 consts=4 upvals=1 protos=0
    ;   K[0]='m_rankTip'
    ;   K[1]='Hide'
    ;   K[2]='m_bShowing'
    ;   K[3]=false
    ;   upvals: self
    0000  GETTABUP  R0 = self[K0('m_rankTip')]
    0001  SELF      R1 = R0[K1('Hide')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  SETTABUP  self[K2('m_bShowing')] = K3(false)
    0004  RETURN    return R0..R-1
; ---------- proto5 [Show] ----------
  ; fn ?  line 79-82 np=2 va=0 ms=6 code=13 consts=7 upvals=1 protos=0
  ;   K[0]='SpriteUtil'
  ;   K[1]='SetImage'
  ;   K[2]='m_rankImg'
  ;   K[3]='bigday_rank_'
  ;   K[4]='BaseTip'
  ;   K[5]='Show'
  ;   K[6]=0
  ;   upvals: _ENV
  ;   locals: self(0-13), rank(0-13)
  0000  GETTABUP  R2 = _ENV[K0('SpriteUtil')]
  0001  GETTABLE  R2 = R2[K1('SetImage')]
  0002  GETTABLE  R3 = R0[K2('m_rankImg')]
  0003  LOADK     R4 = K3 'bigday_rank_'
  0004  MOVE      R5 = R0
  0005  CONCAT    R4 = concat(R4..R4)
  0006  CALL      R2 = call(R2, 0 args, 2 rets)
  0007  GETTABUP  R2 = _ENV[K4('BaseTip')]
  0008  GETTABLE  R2 = R2[K5('Show')]
  0009  MOVE      R3 = R0
  0010  LOADK     R4 = K6 0
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  RETURN    return R0..R-1
