# PairRaceActivity_View_PairRaceActivityGroupCell_1849.luac
; fn @PairRaceActivityGroupCell.lua  line 0-0 np=0 va=1 ms=3 code=84 consts=30 upvals=1 protos=23
;   K[0]='PairRaceActivityGroupCell'
;   K[1]='__index'
;   K[2]='Init'
;   K[3]='OnNetError'
;   K[4]='OnClickAdd'
;   K[5]='OnOpenInviteWindow'
;   K[6]='TryShowAddScore'
;   K[7]='_UpdateGroupCellContent'
;   K[8]='UpdateShowContent'
;   K[9]='UpdateSculpture'
;   K[10]='UpdateSculptureShow'
;   K[11]='UpdateClickable'
;   K[12]='UpdateShowFinishState'
;   K[13]='UpdateProgressSliderContent'
;   K[14]='UpdateShowButton'
;   K[15]='OnEntryGroupViewClick'
;   K[16]='PlayHideAvatar'
;   K[17]='GetSculptureRectTrans'
;   K[18]='PlayStartWaterFall'
;   K[19]='UpdateWaterGo'
;   K[20]='GetAddButtonTrans'
;   K[21]='GetAvatarTrans'
;   K[22]='UpdateSculptureState'
;   K[23]='PairRaceActivityScoreTip'
;   K[24]='setmetatable'
;   K[25]='bClickHide'
;   K[26]=false
;   K[27]='BaseTip'
;   K[28]='Show'
;   K[29]='OnOpenView'
;   upvals: _ENV
0000  NEWTABLE  R0 = {} (0 items)
0001  SETTABUP  _ENV[K0('PairRaceActivityGroupCell')] = R0
0002  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0003  GETTABUP  R1 = _ENV[K0('PairRaceActivityGroupCell')]
0004  SETTABLE  R0[K1('__index')] = R1
0005  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0006  CLOSURE   R1 = closure proto0
0007  SETTABLE  R0[K2('Init')] = R1
0008  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0009  CLOSURE   R1 = closure proto1
0010  SETTABLE  R0[K3('OnNetError')] = R1
0011  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0012  CLOSURE   R1 = closure proto2
0013  SETTABLE  R0[K4('OnClickAdd')] = R1
0014  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0015  CLOSURE   R1 = closure proto3
0016  SETTABLE  R0[K5('OnOpenInviteWindow')] = R1
0017  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0018  CLOSURE   R1 = closure proto4
0019  SETTABLE  R0[K6('TryShowAddScore')] = R1
0020  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0021  CLOSURE   R1 = closure proto5
0022  SETTABLE  R0[K7('_UpdateGroupCellContent')] = R1
0023  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0024  CLOSURE   R1 = closure proto6
0025  SETTABLE  R0[K8('UpdateShowContent')] = R1
0026  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0027  CLOSURE   R1 = closure proto7
0028  SETTABLE  R0[K9('UpdateSculpture')] = R1
0029  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0030  CLOSURE   R1 = closure proto8
0031  SETTABLE  R0[K10('UpdateSculptureShow')] = R1
0032  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0033  CLOSURE   R1 = closure proto9
0034  SETTABLE  R0[K11('UpdateClickable')] = R1
0035  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0036  CLOSURE   R1 = closure proto10
0037  SETTABLE  R0[K12('UpdateShowFinishState')] = R1
0038  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0039  CLOSURE   R1 = closure proto11
0040  SETTABLE  R0[K13('UpdateProgressSliderContent')] = R1
0041  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0042  CLOSURE   R1 = closure proto12
0043  SETTABLE  R0[K14('UpdateShowButton')] = R1
0044  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0045  CLOSURE   R1 = closure proto13
0046  SETTABLE  R0[K15('OnEntryGroupViewClick')] = R1
0047  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0048  CLOSURE   R1 = closure proto14
0049  SETTABLE  R0[K16('PlayHideAvatar')] = R1
0050  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0051  CLOSURE   R1 = closure proto15
0052  SETTABLE  R0[K17('GetSculptureRectTrans')] = R1
0053  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0054  CLOSURE   R1 = closure proto16
0055  SETTABLE  R0[K18('PlayStartWaterFall')] = R1
0056  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0057  CLOSURE   R1 = closure proto17
0058  SETTABLE  R0[K19('UpdateWaterGo')] = R1
0059  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0060  CLOSURE   R1 = closure proto18
0061  SETTABLE  R0[K20('GetAddButtonTrans')] = R1
0062  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0063  CLOSURE   R1 = closure proto19
0064  SETTABLE  R0[K21('GetAvatarTrans')] = R1
0065  GETTABUP  R0 = _ENV[K0('PairRaceActivityGroupCell')]
0066  CLOSURE   R1 = closure proto20
0067  SETTABLE  R0[K22('UpdateSculptureState')] = R1
0068  GETTABUP  R0 = _ENV[K24('setmetatable')]
0069  NEWTABLE  R1 = {} (0 items)
0070  SETTABLE  R1[K25('bClickHide')] = K26(false)
0071  GETTABUP  R2 = _ENV[K27('BaseTip')]
0072  CALL      R0 = call(R0, 1 args, 2 rets)
0073  SETTABUP  _ENV[K23('PairRaceActivityScoreTip')] = R0
0074  GETTABUP  R0 = _ENV[K23('PairRaceActivityScoreTip')]
0075  GETTABUP  R1 = _ENV[K23('PairRaceActivityScoreTip')]
0076  SETTABLE  R0[K1('__index')] = R1
0077  GETTABUP  R0 = _ENV[K23('PairRaceActivityScoreTip')]
0078  CLOSURE   R1 = closure proto21
0079  SETTABLE  R0[K28('Show')] = R1
0080  GETTABUP  R0 = _ENV[K23('PairRaceActivityScoreTip')]
0081  CLOSURE   R1 = closure proto22
0082  SETTABLE  R0[K29('OnOpenView')] = R1
0083  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 20-30 np=5 va=0 ms=8 code=17 consts=10 upvals=0 protos=0
  ;   K[0]='m_groupId'
  ;   K[1]='m_teamData'
  ;   K[2]='m_parent'
  ;   K[3]='m_model'
  ;   K[4]='_UpdateGroupCellContent'
  ;   K[5]='UpdateShowButton'
  ;   K[6]='m_orginPos'
  ;   K[7]=nil
  ;   K[8]='transform'
  ;   K[9]='anchoredPosition'
  ;   locals: self(0-17), groupId(0-17), teamData(0-17), parent(0-17), model(0-17)
  0000  SETTABLE  R0[K0('m_groupId')] = R1
  0001  SETTABLE  R0[K1('m_teamData')] = R2
  0002  SETTABLE  R0[K2('m_parent')] = R3
  0003  SETTABLE  R0[K3('m_model')] = R4
  0004  SELF      R6 = R0[K4('_UpdateGroupCellContent')] (self)
  0005  MOVE      R7 = R0
  0006  CALL      R5 = call(R5, 0 args, 2 rets)
  0007  SELF      R6 = R0[K5('UpdateShowButton')] (self)
  0008  MOVE      R7 = R0
  0009  CALL      R5 = call(R5, 0 args, 2 rets)
  0010  GETTABLE  R5 = R0[K6('m_orginPos')]
  0011  EQ        if R0 eq K7(nil)   -> -128236
  0012  JMP       (jump)   -> 16
  0013  GETTABLE  R5 = R0[K8('transform')]
  0014  GETTABLE  R5 = R5[K9('anchoredPosition')]
  0015  SETTABLE  R0[K6('m_orginPos')] = R5
  0016  RETURN    return R0..R-1
; ---------- proto1 [OnNetError] ----------
  ; fn ?  line 32-46 np=2 va=0 ms=8 code=14 consts=7 upvals=1 protos=2
  ;   K[0]='m_model'
  ;   K[1]='OpenNetErrorWindow'
  ;   K[2]='GM'
  ;   K[3]='BIManager'
  ;   K[4]='LogAction'
  ;   K[5]='EBIType'
  ;   K[6]='PairRaceClickAdd'
  ;   upvals: _ENV
  ;   locals: self(0-14), retry(0-14), cancelCallBack(1-14), retryCallBack(2-14)
  0000  CLOSURE   R2 = closure proto0
  0001  CLOSURE   R3 = closure proto1
  0002  GETTABLE  R4 = R0[K0('m_model')]
  0003  SELF      R5 = R4[K1('OpenNetErrorWindow')] (self)
  0004  MOVE      R6 = R0
  0005  MOVE      R7 = R0
  0006  CALL      R4 = call(R4, 0 args, 3 rets)
  0007  GETTABUP  R4 = _ENV[K2('GM')]
  0008  GETTABLE  R4 = R4[K3('BIManager')]
  0009  SELF      R5 = R4[K4('LogAction')] (self)
  0010  GETTABUP  R6 = _ENV[K5('EBIType')]
  0011  GETTABLE  R6 = R6[K6('PairRaceClickAdd')]
  0012  CALL      R4 = call(R4, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 33-35 np=1 va=0 ms=3 code=3 consts=1 upvals=0 protos=0
    ;   K[0]='Close'
    ;   locals: window(0-3)
    0000  SELF      R2 = R0[K0('Close')] (self)
    0001  CALL      R1 = call(R1, 0 args, 1 rets)
    0002  RETURN    return R0..R-1
  ; ---------- proto1 [] ----------
    ; fn ?  line 36-41 np=1 va=0 ms=3 code=8 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: retry
    ;   locals: window(0-8)
    0000  SELF      R2 = R0[K0('Close')] (self)
    0001  CALL      R1 = call(R1, 0 args, 1 rets)
    0002  GETUPVAL  R1 = retry
    0003  TEST      if not R1 then   -> -131067
    0004  JMP       (jump)   -> 7
    0005  GETUPVAL  R1 = retry
    0006  CALL      R1 = call(R1, 0 args, 0 rets)
    0007  RETURN    return R0..R-1
; ---------- proto2 [OnClickAdd] ----------
  ; fn ?  line 48-51 np=1 va=0 ms=4 code=9 consts=6 upvals=1 protos=0
  ;   K[0]='OnOpenInviteWindow'
  ;   K[1]='GM'
  ;   K[2]='AudioModel'
  ;   K[3]='PlayEffect'
  ;   K[4]='AudioFileConfigName'
  ;   K[5]='SfxButtonClick'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  SELF      R2 = R0[K0('OnOpenInviteWindow')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('AudioModel')]
  0004  SELF      R2 = R1[K3('PlayEffect')] (self)
  0005  GETTABUP  R3 = _ENV[K4('AudioFileConfigName')]
  0006  GETTABLE  R3 = R3[K5('SfxButtonClick')]
  0007  CALL      R1 = call(R1, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto3 [OnOpenInviteWindow] ----------
  ; fn ?  line 53-65 np=1 va=0 ms=4 code=18 consts=9 upvals=1 protos=1
  ;   K[0]='EventDispatcher'
  ;   K[1]='DispatchEvent'
  ;   K[2]='EEventType'
  ;   K[3]='PairRaceActivityClickAdd'
  ;   K[4]='m_model'
  ;   K[5]='HasNetwork'
  ;   K[6]='OnNetError'
  ;   K[7]='m_parent'
  ;   K[8]='OnOpenInviteWindow'
  ;   upvals: _ENV
  ;   locals: self(0-18)
  0000  GETTABUP  R1 = _ENV[K0('EventDispatcher')]
  0001  GETTABLE  R1 = R1[K1('DispatchEvent')]
  0002  GETTABUP  R2 = _ENV[K2('EEventType')]
  0003  GETTABLE  R2 = R2[K3('PairRaceActivityClickAdd')]
  0004  CALL      R1 = call(R1, 0 args, 1 rets)
  0005  GETTABLE  R1 = R0[K4('m_model')]
  0006  SELF      R2 = R1[K5('HasNetwork')] (self)
  0007  CALL      R1 = call(R1, 1 args, 1 rets)
  0008  TEST      if not R1 then   -> -131061
  0009  JMP       (jump)   -> 14
  0010  SELF      R2 = R0[K6('OnNetError')] (self)
  0011  CLOSURE   R3 = closure proto0
  0012  CALL      R1 = call(R1, 0 args, 2 rets)
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R1 = R0[K7('m_parent')]
  0015  SELF      R2 = R1[K8('OnOpenInviteWindow')] (self)
  0016  CALL      R1 = call(R1, 0 args, 1 rets)
  0017  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 59-61 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='OnOpenInviteWindow'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('OnOpenInviteWindow')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto4 [TryShowAddScore] ----------
  ; fn ?  line 67-83 np=2 va=0 ms=6 code=30 consts=11 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='m_groupId'
  ;   K[3]='m_model'
  ;   K[4]='IsFinishGroup'
  ;   K[5]='mateScore'
  ;   K[6]='mateShownScore'
  ;   K[7]=0
  ;   K[8]='m_scoreTipLuaTable'
  ;   K[9]='Show'
  ;   K[10]='UpdateShowButton'
  ;   upvals: _ENV
  ;   locals: self(0-30), curTeamData(0-30), score(20-30)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131065
  0005  JMP       (jump)   -> 9
  0006  GETTABLE  R2 = R0[K2('m_groupId')]
  0007  TEST      if not R2 then   -> -131062
  0008  JMP       (jump)   -> 10
  0009  RETURN    return R0..R-1
  0010  GETTABLE  R2 = R0[K3('m_model')]
  0011  SELF      R3 = R2[K4('IsFinishGroup')] (self)
  0012  GETTABLE  R4 = R0[K2('m_groupId')]
  0013  CALL      R2 = call(R2, 1 args, 2 rets)
  0014  TEST      if not R2 then   -> -131056
  0015  JMP       (jump)   -> 17
  0016  RETURN    return R0..R-1
  0017  GETTABLE  R2 = R1[K5('mateScore')]
  0018  GETTABLE  R3 = R1[K6('mateShownScore')]
  0019  SUB       R2 = R3 sub R2
  0020  LT        if R0 lt R2   -> 3608
  0021  JMP       (jump)   -> 29
  0022  GETTABLE  R3 = R0[K8('m_scoreTipLuaTable')]
  0023  SELF      R4 = R3[K9('Show')] (self)
  0024  MOVE      R5 = R0
  0025  CALL      R3 = call(R3, 0 args, 2 rets)
  0026  SELF      R4 = R0[K10('UpdateShowButton')] (self)
  0027  MOVE      R5 = R0
  0028  CALL      R3 = call(R3, 0 args, 2 rets)
  0029  RETURN    return R0..R-1
; ---------- proto5 [_UpdateGroupCellContent] ----------
  ; fn ?  line 85-98 np=2 va=0 ms=7 code=53 consts=13 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='UIUtil'
  ;   K[3]='SetActive'
  ;   K[4]='m_inviteRectTrans'
  ;   K[5]='gameObject'
  ;   K[6]='m_userInfoRectTrans'
  ;   K[7]='UpdateSculptureShow'
  ;   K[8]='m_userViewLuaTable'
  ;   K[9]='Init'
  ;   K[10]=0
  ;   K[11]='m_userRewardViewLuaTable'
  ;   K[12]='UpdateShowContent'
  ;   upvals: _ENV
  ;   locals: self(0-53), teamData(0-53)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 22
  0006  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0007  GETTABLE  R2 = R2[K3('SetActive')]
  0008  GETTABLE  R3 = R0[K4('m_inviteRectTrans')]
  0009  GETTABLE  R3 = R3[K5('gameObject')]
  0010  LOADBOOL  R4 = true
  0011  CALL      R2 = call(R2, 0 args, 2 rets)
  0012  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0013  GETTABLE  R2 = R2[K3('SetActive')]
  0014  GETTABLE  R3 = R0[K6('m_userInfoRectTrans')]
  0015  GETTABLE  R3 = R3[K5('gameObject')]
  0016  LOADBOOL  R4 = false
  0017  CALL      R2 = call(R2, 0 args, 2 rets)
  0018  SELF      R3 = R0[K7('UpdateSculptureShow')] (self)
  0019  LOADBOOL  R4 = false
  0020  CALL      R2 = call(R2, 0 args, 2 rets)
  0021  JMP       (jump)   -> 52
  0022  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0023  GETTABLE  R2 = R2[K3('SetActive')]
  0024  GETTABLE  R3 = R0[K4('m_inviteRectTrans')]
  0025  GETTABLE  R3 = R3[K5('gameObject')]
  0026  LOADBOOL  R4 = false
  0027  CALL      R2 = call(R2, 0 args, 2 rets)
  0028  GETTABUP  R2 = _ENV[K2('UIUtil')]
  0029  GETTABLE  R2 = R2[K3('SetActive')]
  0030  GETTABLE  R3 = R0[K6('m_userInfoRectTrans')]
  0031  GETTABLE  R3 = R3[K5('gameObject')]
  0032  LOADBOOL  R4 = true
  0033  CALL      R2 = call(R2, 0 args, 2 rets)
  0034  GETTABLE  R2 = R0[K8('m_userViewLuaTable')]
  0035  SELF      R3 = R2[K9('Init')] (self)
  0036  MOVE      R4 = R0
  0037  LOADK     R5 = K10 0
  0038  LOADBOOL  R6 = false
  0039  CALL      R2 = call(R2, 0 args, 4 rets)
  0040  GETTABLE  R2 = R0[K11('m_userRewardViewLuaTable')]
  0041  SELF      R3 = R2[K9('Init')] (self)
  0042  MOVE      R4 = R0
  0043  LOADK     R5 = K10 0
  0044  LOADBOOL  R6 = false
  0045  CALL      R2 = call(R2, 0 args, 4 rets)
  0046  SELF      R3 = R0[K12('UpdateShowContent')] (self)
  0047  MOVE      R4 = R0
  0048  CALL      R2 = call(R2, 0 args, 2 rets)
  0049  SELF      R3 = R0[K7('UpdateSculptureShow')] (self)
  0050  LOADBOOL  R4 = true
  0051  CALL      R2 = call(R2, 0 args, 2 rets)
  0052  RETURN    return R0..R-1
; ---------- proto6 [UpdateShowContent] ----------
  ; fn ?  line 100-111 np=2 va=0 ms=5 code=15 consts=5 upvals=0 protos=0
  ;   K[0]='UpdateShowFinishState'
  ;   K[1]='UpdateProgressSliderContent'
  ;   K[2]='UpdateShowButton'
  ;   K[3]='UpdateSculpture'
  ;   K[4]='TryShowAddScore'
  ;   locals: self(0-15), curTeamData(0-15)
  0000  SELF      R3 = R0[K0('UpdateShowFinishState')] (self)
  0001  CALL      R2 = call(R2, 0 args, 1 rets)
  0002  SELF      R3 = R0[K1('UpdateProgressSliderContent')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  SELF      R3 = R0[K2('UpdateShowButton')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  SELF      R3 = R0[K3('UpdateSculpture')] (self)
  0009  MOVE      R4 = R0
  0010  CALL      R2 = call(R2, 0 args, 2 rets)
  0011  SELF      R3 = R0[K4('TryShowAddScore')] (self)
  0012  MOVE      R4 = R0
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  RETURN    return R0..R-1
; ---------- proto7 [UpdateSculpture] ----------
  ; fn ?  line 113-119 np=2 va=0 ms=8 code=18 consts=8 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='claimedRewardIndex'
  ;   K[3]=0
  ;   K[4]='m_sculptureLuaTable'
  ;   K[5]='Init'
  ;   K[6]='m_groupId'
  ;   K[7]='m_model'
  ;   upvals: _ENV
  ;   locals: self(0-18), curTeamData(0-18), index(11-18)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABLE  R2 = R1[K2('claimedRewardIndex')]
  0008  TEST      if not R2 then   -> -131061
  0009  JMP       (jump)   -> 11
  0010  LOADK     R2 = K3 0
  0011  GETTABLE  R3 = R0[K4('m_sculptureLuaTable')]
  0012  SELF      R4 = R3[K5('Init')] (self)
  0013  GETTABLE  R5 = R0[K6('m_groupId')]
  0014  MOVE      R6 = R0
  0015  GETTABLE  R7 = R0[K7('m_model')]
  0016  CALL      R3 = call(R3, 0 args, 4 rets)
  0017  RETURN    return R0..R-1
; ---------- proto8 [UpdateSculptureShow] ----------
  ; fn ?  line 121-123 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_sculptureLuaTable'
  ;   K[1]='UpdateShow'
  ;   locals: self(0-5), isShow(0-5)
  0000  GETTABLE  R2 = R0[K0('m_sculptureLuaTable')]
  0001  SELF      R3 = R2[K1('UpdateShow')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto9 [UpdateClickable] ----------
  ; fn ?  line 125-127 np=2 va=0 ms=3 code=3 consts=2 upvals=0 protos=0
  ;   K[0]='m_sculptureBtn'
  ;   K[1]='enabled'
  ;   locals: self(0-3), canClick(0-3)
  0000  GETTABLE  R2 = R0[K0('m_sculptureBtn')]
  0001  SETTABLE  R2[K1('enabled')] = R1
  0002  RETURN    return R0..R-1
; ---------- proto10 [UpdateShowFinishState] ----------
  ; fn ?  line 129-133 np=1 va=0 ms=5 code=15 consts=7 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='IsFinishGroup'
  ;   K[2]='m_groupId'
  ;   K[3]='UIUtil'
  ;   K[4]='SetActive'
  ;   K[5]='m_checkGo'
  ;   K[6]='m_progressGo'
  ;   upvals: _ENV
  ;   locals: self(0-15), bFinish(4-15)
  0000  GETTABLE  R1 = R0[K0('m_model')]
  0001  SELF      R2 = R1[K1('IsFinishGroup')] (self)
  0002  GETTABLE  R3 = R0[K2('m_groupId')]
  0003  CALL      R1 = call(R1, 1 args, 2 rets)
  0004  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0005  GETTABLE  R2 = R2[K4('SetActive')]
  0006  GETTABLE  R3 = R0[K5('m_checkGo')]
  0007  MOVE      R4 = R0
  0008  CALL      R2 = call(R2, 0 args, 2 rets)
  0009  GETTABUP  R2 = _ENV[K3('UIUtil')]
  0010  GETTABLE  R2 = R2[K4('SetActive')]
  0011  GETTABLE  R3 = R0[K6('m_progressGo')]
  0012  NOT       R4 = not R0
  0013  CALL      R2 = call(R2, 0 args, 2 rets)
  0014  RETURN    return R0..R-1
; ---------- proto11 [UpdateProgressSliderContent] ----------
  ; fn ?  line 135-160 np=2 va=0 ms=12 code=61 consts=21 upvals=1 protos=0
  ;   K[0]='m_model'
  ;   K[1]='IsFinishGroup'
  ;   K[2]='m_groupId'
  ;   K[3]='Table'
  ;   K[4]='IsEmpty'
  ;   K[5]='myScore'
  ;   K[6]='mateLastScore'
  ;   K[7]='claimedRewardIndex'
  ;   K[8]=0
  ;   K[9]='GetProgressRewardConfig'
  ;   K[10]='m_stateText'
  ;   K[11]='text'
  ;   K[12]='string'
  ;   K[13]='format'
  ;   K[14]='%d/%d'
  ;   K[15]='GetScoreByRewardIndex'
  ;   K[16]=1
  ;   K[17]='m_slider'
  ;   K[18]='value'
  ;   K[19]='m_rewardCellLuaTable'
  ;   K[20]='Init'
  ;   upvals: _ENV
  ;   locals: self(0-61), curTeamData(0-61), curTotalScore(17-61), index(21-61), rewards(24-61), nextScore(39-61), preScore(46-61), progressValue(47-61)
  0000  GETTABLE  R2 = R0[K0('m_model')]
  0001  SELF      R3 = R2[K1('IsFinishGroup')] (self)
  0002  GETTABLE  R4 = R0[K2('m_groupId')]
  0003  CALL      R2 = call(R2, 1 args, 2 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  GETTABUP  R2 = _ENV[K3('Table')]
  0008  GETTABLE  R2 = R2[K4('IsEmpty')]
  0009  MOVE      R3 = R0
  0010  CALL      R2 = call(R2, 1 args, 1 rets)
  0011  TEST      if not R2 then   -> -131059
  0012  JMP       (jump)   -> 14
  0013  RETURN    return R0..R-1
  0014  GETTABLE  R2 = R1[K5('myScore')]
  0015  GETTABLE  R3 = R1[K6('mateLastScore')]
  0016  ADD       R2 = R3 add R2
  0017  GETTABLE  R3 = R1[K7('claimedRewardIndex')]
  0018  TEST      if not R3 then   -> -131051
  0019  JMP       (jump)   -> 21
  0020  LOADK     R3 = K8 0
  0021  GETTABLE  R4 = R0[K0('m_model')]
  0022  SELF      R5 = R4[K9('GetProgressRewardConfig')] (self)
  0023  CALL      R4 = call(R4, 1 args, 1 rets)
  0024  GETTABLE  R5 = R0[K10('m_stateText')]
  0025  GETTABUP  R6 = _ENV[K12('string')]
  0026  GETTABLE  R6 = R6[K13('format')]
  0027  LOADK     R7 = K14 '%d/%d'
  0028  MOVE      R8 = R0
  0029  LEN       R9 = len R0
  0030  CALL      R6 = call(R6, 1 args, 3 rets)
  0031  SETTABLE  R5[K11('text')] = R6
  0032  GETTABLE  R5 = R0[K0('m_model')]
  0033  SELF      R6 = R5[K15('GetScoreByRewardIndex')] (self)
  0034  ADD       R7 = K16(1) add R3
  0035  CALL      R5 = call(R5, 1 args, 2 rets)
  0036  TEST      if not R5 then   -> -131033
  0037  JMP       (jump)   -> 39
  0038  LOADK     R5 = K16 1
  0039  GETTABLE  R6 = R0[K0('m_model')]
  0040  SELF      R7 = R6[K15('GetScoreByRewardIndex')] (self)
  0041  MOVE      R8 = R0
  0042  CALL      R6 = call(R6, 1 args, 2 rets)
  0043  TEST      if not R6 then   -> -131026
  0044  JMP       (jump)   -> 46
  0045  LOADK     R6 = K8 0
  0046  LOADK     R7 = K8 0
  0047  LT        if R0 lt R5   -> -127946
  0048  JMP       (jump)   -> 52
  0049  SUB       R8 = R6 sub R2
  0050  SUB       R9 = R6 sub R5
  0051  DIV       R7 = R9 div R8
  0052  GETTABLE  R8 = R0[K17('m_slider')]
  0053  SETTABLE  R8[K18('value')] = R7
  0054  GETTABLE  R8 = R0[K19('m_rewardCellLuaTable')]
  0055  SELF      R9 = R8[K20('Init')] (self)
  0056  ADD       R10 = K16(1) add R3
  0057  GETTABLE  R10 = R4[R10]
  0058  LOADBOOL  R11 = false
  0059  CALL      R8 = call(R8, 0 args, 3 rets)
  0060  RETURN    return R0..R-1
; ---------- proto12 [UpdateShowButton] ----------
  ; fn ?  line 162-179 np=2 va=0 ms=8 code=42 consts=16 upvals=1 protos=0
  ;   K[0]='Table'
  ;   K[1]='IsEmpty'
  ;   K[2]='mateScore'
  ;   K[3]='myScore'
  ;   K[4]='m_model'
  ;   K[5]='GetRewardIndexByScore'
  ;   K[6]='claimedRewardIndex'
  ;   K[7]='UIUtil'
  ;   K[8]='SetActive'
  ;   K[9]='m_haveRewardGo'
  ;   K[10]='m_noRewardGo'
  ;   K[11]='SetLocalPosition'
  ;   K[12]='m_scoreTipRectTrans'
  ;   K[13]='transform'
  ;   K[14]=-282
  ;   K[15]=-311
  ;   upvals: _ENV
  ;   locals: self(0-42), teamData(0-42), bShowButton(8-42), groupShowScore(11-42)
  0000  GETTABUP  R2 = _ENV[K0('Table')]
  0001  GETTABLE  R2 = R2[K1('IsEmpty')]
  0002  MOVE      R3 = R0
  0003  CALL      R2 = call(R2, 1 args, 1 rets)
  0004  TEST      if not R2 then   -> -131066
  0005  JMP       (jump)   -> 7
  0006  RETURN    return R0..R-1
  0007  LOADBOOL  R2 = false
  0008  GETTABLE  R3 = R1[K2('mateScore')]
  0009  GETTABLE  R4 = R1[K3('myScore')]
  0010  ADD       R3 = R4 add R3
  0011  GETTABLE  R4 = R0[K4('m_model')]
  0012  SELF      R5 = R4[K5('GetRewardIndexByScore')] (self)
  0013  MOVE      R6 = R0
  0014  CALL      R4 = call(R4, 1 args, 2 rets)
  0015  GETTABLE  R5 = R1[K6('claimedRewardIndex')]
  0016  LT        if R0 lt R4   -> -128490
  0017  JMP       (jump)   -> 19
  0018  LOADBOOL  R2 = true
  0019  GETTABUP  R4 = _ENV[K7('UIUtil')]
  0020  GETTABLE  R4 = R4[K8('SetActive')]
  0021  GETTABLE  R5 = R0[K9('m_haveRewardGo')]
  0022  MOVE      R6 = R0
  0023  CALL      R4 = call(R4, 0 args, 2 rets)
  0024  GETTABUP  R4 = _ENV[K7('UIUtil')]
  0025  GETTABLE  R4 = R4[K8('SetActive')]
  0026  GETTABLE  R5 = R0[K10('m_noRewardGo')]
  0027  NOT       R6 = not R0
  0028  CALL      R4 = call(R4, 0 args, 2 rets)
  0029  GETTABUP  R4 = _ENV[K7('UIUtil')]
  0030  GETTABLE  R4 = R4[K11('SetLocalPosition')]
  0031  GETTABLE  R5 = R0[K12('m_scoreTipRectTrans')]
  0032  GETTABLE  R5 = R5[K13('transform')]
  0033  LOADNIL   R6..R6 = nil
  0034  TEST      if not R2 then   -> -131036
  0035  JMP       (jump)   -> 39
  0036  LOADK     R7 = K14 -282
  0037  TEST      if not R7 then   -> -131032
  0038  JMP       (jump)   -> 40
  0039  LOADK     R7 = K15 -311
  0040  CALL      R4 = call(R4, 0 args, 3 rets)
  0041  RETURN    return R0..R-1
; ---------- proto13 [OnEntryGroupViewClick] ----------
  ; fn ?  line 181-191 np=1 va=0 ms=4 code=31 consts=15 upvals=1 protos=0
  ;   K[0]='m_groupId'
  ;   K[1]='m_teamData'
  ;   K[2]='UIUtil'
  ;   K[3]='IsEmptyComponent'
  ;   K[4]='m_parent'
  ;   K[5]='GetCurChosenGroupId'
  ;   K[6]=nil
  ;   K[7]='m_scoreTipLuaTable'
  ;   K[8]='Hide'
  ;   K[9]='OnEntryGroupViewClick'
  ;   K[10]='GM'
  ;   K[11]='AudioModel'
  ;   K[12]='PlayEffect'
  ;   K[13]='AudioFileConfigName'
  ;   K[14]='SfxButtonClick'
  ;   upvals: _ENV
  ;   locals: self(0-31)
  0000  GETTABLE  R1 = R0[K0('m_groupId')]
  0001  TEST      if not R1 then   -> -131069
  0002  JMP       (jump)   -> 30
  0003  GETTABLE  R1 = R0[K1('m_teamData')]
  0004  TEST      if not R1 then   -> -131066
  0005  JMP       (jump)   -> 30
  0006  GETTABUP  R1 = _ENV[K2('UIUtil')]
  0007  GETTABLE  R1 = R1[K3('IsEmptyComponent')]
  0008  GETTABLE  R2 = R0[K4('m_parent')]
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131059
  0011  JMP       (jump)   -> 30
  0012  GETTABLE  R1 = R0[K4('m_parent')]
  0013  SELF      R2 = R1[K5('GetCurChosenGroupId')] (self)
  0014  CALL      R1 = call(R1, 1 args, 1 rets)
  0015  EQ        if R0 eq K6(nil)   -> -130281
  0016  JMP       (jump)   -> 30
  0017  GETTABLE  R1 = R0[K7('m_scoreTipLuaTable')]
  0018  SELF      R2 = R1[K8('Hide')] (self)
  0019  CALL      R1 = call(R1, 0 args, 1 rets)
  0020  GETTABLE  R1 = R0[K4('m_parent')]
  0021  SELF      R2 = R1[K9('OnEntryGroupViewClick')] (self)
  0022  GETTABLE  R3 = R0[K0('m_groupId')]
  0023  CALL      R1 = call(R1, 0 args, 2 rets)
  0024  GETTABUP  R1 = _ENV[K10('GM')]
  0025  GETTABLE  R1 = R1[K11('AudioModel')]
  0026  SELF      R2 = R1[K12('PlayEffect')] (self)
  0027  GETTABUP  R3 = _ENV[K13('AudioFileConfigName')]
  0028  GETTABLE  R3 = R3[K14('SfxButtonClick')]
  0029  CALL      R1 = call(R1, 0 args, 2 rets)
  0030  RETURN    return R0..R-1
; ---------- proto14 [PlayHideAvatar] ----------
  ; fn ?  line 193-196 np=2 va=0 ms=5 code=9 consts=4 upvals=0 protos=0
  ;   K[0]='m_userInfoRectTrans'
  ;   K[1]='gameObject'
  ;   K[2]='SetActive'
  ;   K[3]='UpdateClickable'
  ;   locals: self(0-9), bShow(0-9)
  0000  GETTABLE  R2 = R0[K0('m_userInfoRectTrans')]
  0001  GETTABLE  R2 = R2[K1('gameObject')]
  0002  SELF      R3 = R2[K2('SetActive')] (self)
  0003  MOVE      R4 = R0
  0004  CALL      R2 = call(R2, 0 args, 2 rets)
  0005  SELF      R3 = R0[K3('UpdateClickable')] (self)
  0006  MOVE      R4 = R0
  0007  CALL      R2 = call(R2, 0 args, 2 rets)
  0008  RETURN    return R0..R-1
; ---------- proto15 [GetSculptureRectTrans] ----------
  ; fn ?  line 198-200 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_sculptureRectTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_sculptureRectTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto16 [PlayStartWaterFall] ----------
  ; fn ?  line 202-204 np=1 va=0 ms=3 code=4 consts=2 upvals=0 protos=0
  ;   K[0]='m_sculptureLuaTable'
  ;   K[1]='StartWaterFall'
  ;   locals: self(0-4)
  0000  GETTABLE  R1 = R0[K0('m_sculptureLuaTable')]
  0001  SELF      R2 = R1[K1('StartWaterFall')] (self)
  0002  CALL      R1 = call(R1, 0 args, 1 rets)
  0003  RETURN    return R0..R-1
; ---------- proto17 [UpdateWaterGo] ----------
  ; fn ?  line 206-208 np=2 va=0 ms=5 code=5 consts=2 upvals=0 protos=0
  ;   K[0]='m_sculptureLuaTable'
  ;   K[1]='UpdateWaterGo'
  ;   locals: self(0-5), bShowWater(0-5)
  0000  GETTABLE  R2 = R0[K0('m_sculptureLuaTable')]
  0001  SELF      R3 = R2[K1('UpdateWaterGo')] (self)
  0002  MOVE      R4 = R0
  0003  CALL      R2 = call(R2, 0 args, 2 rets)
  0004  RETURN    return R0..R-1
; ---------- proto18 [GetAddButtonTrans] ----------
  ; fn ?  line 210-212 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_addTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_addTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto19 [GetAvatarTrans] ----------
  ; fn ?  line 214-216 np=1 va=0 ms=2 code=3 consts=1 upvals=0 protos=0
  ;   K[0]='m_avatarTrans'
  ;   locals: self(0-3)
  0000  GETTABLE  R1 = R0[K0('m_avatarTrans')]
  0001  RETURN    return R1..R0
  0002  RETURN    return R0..R-1
; ---------- proto20 [UpdateSculptureState] ----------
  ; fn ?  line 218-220 np=3 va=0 ms=7 code=6 consts=2 upvals=0 protos=0
  ;   K[0]='m_sculptureLuaTable'
  ;   K[1]='UpdateSculptureState'
  ;   locals: self(0-6), groupId(0-6), index(0-6)
  0000  GETTABLE  R3 = R0[K0('m_sculptureLuaTable')]
  0001  SELF      R4 = R3[K1('UpdateSculptureState')] (self)
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  CALL      R3 = call(R3, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
; ---------- proto21 [Show] ----------
  ; fn ?  line 230-233 np=2 va=0 ms=6 code=12 consts=6 upvals=1 protos=0
  ;   K[0]='m_scoreTipText'
  ;   K[1]='text'
  ;   K[2]='+'
  ;   K[3]='tostring'
  ;   K[4]='BaseTip'
  ;   K[5]='Show'
  ;   upvals: _ENV
  ;   locals: self(0-12), score(0-12)
  0000  GETTABLE  R2 = R0[K0('m_scoreTipText')]
  0001  LOADK     R3 = K2 '+'
  0002  GETTABUP  R4 = _ENV[K3('tostring')]
  0003  MOVE      R5 = R0
  0004  CALL      R4 = call(R4, 1 args, 1 rets)
  0005  CONCAT    R3 = concat(R3..R3)
  0006  SETTABLE  R2[K1('text')] = R3
  0007  GETTABUP  R2 = _ENV[K4('BaseTip')]
  0008  GETTABLE  R2 = R2[K5('Show')]
  0009  MOVE      R3 = R0
  0010  CALL      R2 = call(R2, 0 args, 1 rets)
  0011  RETURN    return R0..R-1
; ---------- proto22 [OnOpenView] ----------
  ; fn ?  line 235-243 np=1 va=0 ms=4 code=17 consts=9 upvals=1 protos=0
  ;   K[0]='GM'
  ;   K[1]='UIManager'
  ;   K[2]='GetOpenedTopView'
  ;   K[3]=nil
  ;   K[4]='name'
  ;   K[5]='UIPrefabConfigName'
  ;   K[6]='PairRaceActivityMainWindow'
  ;   K[7]='BaseTip'
  ;   K[8]='OnOpenView'
  ;   upvals: _ENV
  ;   locals: self(0-17), topView(4-17)
  0000  GETTABUP  R1 = _ENV[K0('GM')]
  0001  GETTABLE  R1 = R1[K1('UIManager')]
  0002  SELF      R2 = R1[K2('GetOpenedTopView')] (self)
  0003  CALL      R1 = call(R1, 1 args, 1 rets)
  0004  EQ        if R1 eq K3(nil)   -> -130295
  0005  JMP       (jump)   -> 12
  0006  GETTABLE  R2 = R1[K4('name')]
  0007  GETTABUP  R3 = _ENV[K5('UIPrefabConfigName')]
  0008  GETTABLE  R3 = R3[K6('PairRaceActivityMainWindow')]
  0009  EQ        if R1 eq R3   -> -130034
  0010  JMP       (jump)   -> 12
  0011  RETURN    return R0..R-1
  0012  GETTABUP  R2 = _ENV[K7('BaseTip')]
  0013  GETTABLE  R2 = R2[K8('OnOpenView')]
  0014  MOVE      R3 = R0
  0015  CALL      R2 = call(R2, 0 args, 1 rets)
  0016  RETURN    return R0..R-1
