# CrashRace_View_CrashRaceRewardWindow_1092.luac
; fn @CrashRaceRewardWindow.lua  line 0-0 np=0 va=1 ms=3 code=30 consts=14 upvals=1 protos=3
;   K[0]='CrashRaceRewardWindow'
;   K[1]='setmetatable'
;   K[2]='windowMaskAlpha'
;   K[3]='EWindowMaskAlpha'
;   K[4]='SuperDark'
;   K[5]='canClickWindowMask'
;   K[6]=false
;   K[7]='RewardWindow'
;   K[8]='__index'
;   K[9]='Init'
;   K[10]='OnDestroy'
;   K[11]='CrashRaceRoundRewardWindow'
;   K[12]='RewardWindow'
;   K[13]='Init'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  GETTABUP  R2 = _ENV[K3('EWindowMaskAlpha')]
0003  GETTABLE  R2 = R2[K4('SuperDark')]
0004  SETTABLE  R1[K2('windowMaskAlpha')] = R2
0005  SETTABLE  R1[K5('canClickWindowMask')] = K6(false)
0006  GETTABUP  R2 = _ENV[K7('RewardWindow')]
0007  CALL      R0 = call(R0, 1 args, 2 rets)
0008  SETTABUP  _ENV[K0('CrashRaceRewardWindow')] = R0
0009  GETTABUP  R0 = _ENV[K0('CrashRaceRewardWindow')]
0010  GETTABUP  R1 = _ENV[K0('CrashRaceRewardWindow')]
0011  SETTABLE  R0[K8('__index')] = R1
0012  GETTABUP  R0 = _ENV[K0('CrashRaceRewardWindow')]
0013  CLOSURE   R1 = closure proto0
0014  SETTABLE  R0[K9('Init')] = R1
0015  GETTABUP  R0 = _ENV[K0('CrashRaceRewardWindow')]
0016  CLOSURE   R1 = closure proto1
0017  SETTABLE  R0[K10('OnDestroy')] = R1
0018  GETTABUP  R0 = _ENV[K1('setmetatable')]
0019  NEWTABLE  R1 = {} (0 items)
0020  GETTABUP  R2 = _ENV[K12('RewardWindow')]
0021  CALL      R0 = call(R0, 1 args, 2 rets)
0022  SETTABUP  _ENV[K11('CrashRaceRoundRewardWindow')] = R0
0023  GETTABUP  R0 = _ENV[K11('CrashRaceRoundRewardWindow')]
0024  GETTABUP  R1 = _ENV[K11('CrashRaceRoundRewardWindow')]
0025  SETTABLE  R0[K8('__index')] = R1
0026  GETTABUP  R0 = _ENV[K11('CrashRaceRoundRewardWindow')]
0027  CLOSURE   R1 = closure proto2
0028  SETTABLE  R0[K13('Init')] = R1
0029  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 7-40 np=4 va=0 ms=12 code=57 consts=33 upvals=1 protos=2
  ;   K[0]='RewardWindow'
  ;   K[1]='Init'
  ;   K[2]='ERewardScene'
  ;   K[3]='Other'
  ;   K[4]='m_tableGo'
  ;   K[5]='SetActive'
  ;   K[6]='m_ownAvatar'
  ;   K[7]='SetMySelf'
  ;   K[8]='EAvatarFrame'
  ;   K[9]='Normal'
  ;   K[10]='m_descText'
  ;   K[11]='text'
  ;   K[12]='GM'
  ;   K[13]='GameTextModel'
  ;   K[14]='GetText'
  ;   K[15]='crashrace_round_desc'
  ;   K[16]='AudioModel'
  ;   K[17]='PlayEffect'
  ;   K[18]='AudioFileConfigName'
  ;   K[19]='SfxPkRaceActivityFinish1'
  ;   K[20]='m_tableSkeletonGraphic'
  ;   K[21]='Initialize'
  ;   K[22]='m_skipCallback'
  ;   K[23]='DOTween'
  ;   K[24]='Sequence'
  ;   K[25]='AppendInterval'
  ;   K[26]=2.38
  ;   K[27]='AppendCallback'
  ;   K[28]='m_seq'
  ;   K[29]='GM'
  ;   K[30]='UIManager'
  ;   K[31]='SetEventLock'
  ;   K[32]='m_skipCallback'
  ;   upvals: _ENV
  ;   locals: self(0-57), round(0-57), arrRewards(0-57), closeCallback(0-57), seq(42-57)
  0000  GETTABUP  R4 = _ENV[K0('RewardWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  LOADNIL   R7..R7 = nil
  0005  LOADBOOL  R8 = true
  0006  GETTABUP  R9 = _ENV[K2('ERewardScene')]
  0007  GETTABLE  R9 = R9[K3('Other')]
  0008  LOADNIL   R10..R10 = nil
  0009  MOVE      R11 = R0
  0010  CALL      R4 = call(R4, 0 args, 7 rets)
  0011  GETTABLE  R4 = R0[K4('m_tableGo')]
  0012  SELF      R5 = R4[K5('SetActive')] (self)
  0013  LOADBOOL  R6 = false
  0014  CALL      R4 = call(R4, 0 args, 2 rets)
  0015  GETTABLE  R4 = R0[K6('m_ownAvatar')]
  0016  SELF      R5 = R4[K7('SetMySelf')] (self)
  0017  GETTABUP  R6 = _ENV[K8('EAvatarFrame')]
  0018  GETTABLE  R6 = R6[K9('Normal')]
  0019  CALL      R4 = call(R4, 0 args, 2 rets)
  0020  GETTABLE  R4 = R0[K10('m_descText')]
  0021  GETTABUP  R5 = _ENV[K12('GM')]
  0022  GETTABLE  R5 = R5[K13('GameTextModel')]
  0023  SELF      R6 = R5[K14('GetText')] (self)
  0024  LOADK     R7 = K15 'crashrace_round_desc'
  0025  MOVE      R8 = R0
  0026  CALL      R5 = call(R5, 1 args, 3 rets)
  0027  SETTABLE  R4[K11('text')] = R5
  0028  GETTABUP  R4 = _ENV[K12('GM')]
  0029  GETTABLE  R4 = R4[K16('AudioModel')]
  0030  SELF      R5 = R4[K17('PlayEffect')] (self)
  0031  GETTABUP  R6 = _ENV[K18('AudioFileConfigName')]
  0032  GETTABLE  R6 = R6[K19('SfxPkRaceActivityFinish1')]
  0033  CALL      R4 = call(R4, 0 args, 2 rets)
  0034  GETTABLE  R4 = R0[K20('m_tableSkeletonGraphic')]
  0035  SELF      R5 = R4[K21('Initialize')] (self)
  0036  CALL      R4 = call(R4, 0 args, 1 rets)
  0037  CLOSURE   R4 = closure proto0
  0038  SETTABLE  R0[K22('m_skipCallback')] = R4
  0039  GETTABUP  R4 = _ENV[K23('DOTween')]
  0040  GETTABLE  R4 = R4[K24('Sequence')]
  0041  CALL      R4 = call(R4, 1 args, 0 rets)
  0042  SELF      R6 = R4[K25('AppendInterval')] (self)
  0043  LOADK     R7 = K26 2.38
  0044  CALL      R5 = call(R5, 0 args, 2 rets)
  0045  SELF      R6 = R4[K27('AppendCallback')] (self)
  0046  CLOSURE   R7 = closure proto1
  0047  CALL      R5 = call(R5, 0 args, 2 rets)
  0048  SETTABLE  R0[K28('m_seq')] = R4
  0049  GETTABUP  R5 = _ENV[K29('GM')]
  0050  GETTABLE  R5 = R5[K30('UIManager')]
  0051  SELF      R6 = R5[K31('SetEventLock')] (self)
  0052  LOADBOOL  R7 = true
  0053  MOVE      R8 = R0
  0054  GETTABLE  R9 = R0[K32('m_skipCallback')]
  0055  CALL      R5 = call(R5, 0 args, 4 rets)
  0056  RETURN    return R0..R-1
  ; ---------- proto0 [m_skipCallback] ----------
    ; fn ?  line 16-26 np=0 va=0 ms=8 code=25 consts=12 upvals=1 protos=0
    ;   K[0]='m_winAnimator'
    ;   K[1]='GetCurrentAnimatorStateInfo'
    ;   K[2]=0
    ;   K[3]='length'
    ;   K[4]=1
    ;   K[5]='Play'
    ;   K[6]='shortNameHash'
    ;   K[7]=2.38
    ;   K[8]='Update'
    ;   K[9]='m_seq'
    ;   K[10]=nil
    ;   K[11]='Complete'
    ;   upvals: self
    ;   locals: animator(1-25), currentState(4-25), clipLength(8-25)
    0000  GETTABUP  R0 = self[K0('m_winAnimator')]
    0001  SELF      R2 = R0[K1('GetCurrentAnimatorStateInfo')] (self)
    0002  LOADK     R3 = K2 0
    0003  CALL      R1 = call(R1, 1 args, 2 rets)
    0004  GETTABLE  R2 = R1[K3('length')]
    0005  TEST      if not R2 then   -> -131064
    0006  JMP       (jump)   -> 8
    0007  LOADK     R2 = K4 1
    0008  SELF      R4 = R0[K5('Play')] (self)
    0009  GETTABLE  R5 = R1[K6('shortNameHash')]
    0010  LOADK     R6 = K2 0
    0011  DIV       R7 = R2 div K7(2.38)
    0012  CALL      R3 = call(R3, 0 args, 4 rets)
    0013  SELF      R4 = R0[K8('Update')] (self)
    0014  LOADK     R5 = K2 0
    0015  CALL      R3 = call(R3, 0 args, 2 rets)
    0016  GETTABUP  R3 = self[K9('m_seq')]
    0017  EQ        if R1 eq K10(nil)   -> -129251
    0018  JMP       (jump)   -> 24
    0019  GETTABUP  R3 = self[K9('m_seq')]
    0020  SELF      R4 = R3[K11('Complete')] (self)
    0021  LOADBOOL  R5 = true
    0022  CALL      R3 = call(R3, 0 args, 2 rets)
    0023  SETTABUP  self[K9('m_seq')] = K10(nil)
    0024  RETURN    return R0..R-1
  ; ---------- proto1 [m_seq] ----------
    ; fn ?  line 30-35 np=0 va=0 ms=5 code=20 consts=13 upvals=2 protos=0
    ;   K[0]='m_tableGo'
    ;   K[1]='SetActive'
    ;   K[2]='m_tableSkeletonGraphic'
    ;   K[3]='AnimationState'
    ;   K[4]='SetAnimation'
    ;   K[5]=0
    ;   K[6]='show'
    ;   K[7]='GM'
    ;   K[8]='UIManager'
    ;   K[9]='SetEventLock'
    ;   K[10]='m_skipCallback'
    ;   K[11]='m_seq'
    ;   K[12]=nil
    ;   upvals: self, _ENV
    0000  GETTABUP  R0 = self[K0('m_tableGo')]
    0001  SELF      R1 = R0[K1('SetActive')] (self)
    0002  LOADBOOL  R2 = true
    0003  CALL      R0 = call(R0, 0 args, 2 rets)
    0004  GETTABUP  R0 = self[K2('m_tableSkeletonGraphic')]
    0005  GETTABLE  R0 = R0[K3('AnimationState')]
    0006  SELF      R1 = R0[K4('SetAnimation')] (self)
    0007  LOADK     R2 = K5 0
    0008  LOADK     R3 = K6 'show'
    0009  LOADBOOL  R4 = false
    0010  CALL      R0 = call(R0, 0 args, 4 rets)
    0011  GETTABUP  R0 = _ENV[K7('GM')]
    0012  GETTABLE  R0 = R0[K8('UIManager')]
    0013  SELF      R1 = R0[K9('SetEventLock')] (self)
    0014  LOADBOOL  R2 = false
    0015  GETUPVAL  R3 = self
    0016  GETTABUP  R4 = self[K10('m_skipCallback')]
    0017  CALL      R0 = call(R0, 0 args, 4 rets)
    0018  SETTABUP  self[K11('m_seq')] = K12(nil)
    0019  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 42-49 np=1 va=0 ms=4 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='RewardWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_seq'
  ;   K[3]=nil
  ;   K[4]='Kill'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='RemoveAllEventLocks'
  ;   upvals: _ENV
  ;   locals: self(0-17)
  0000  GETTABUP  R1 = _ENV[K0('RewardWindow')]
  0001  GETTABLE  R1 = R1[K1('OnDestroy')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_seq')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_seq')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_seq')] = K3(nil)
  0011  GETTABUP  R1 = _ENV[K5('GM')]
  0012  GETTABLE  R1 = R1[K6('UIManager')]
  0013  SELF      R2 = R1[K7('RemoveAllEventLocks')] (self)
  0014  MOVE      R3 = R0
  0015  CALL      R1 = call(R1, 0 args, 2 rets)
  0016  RETURN    return R0..R-1
; ---------- proto2 [Init] ----------
  ; fn ?  line 57-62 np=4 va=0 ms=12 code=26 consts=14 upvals=1 protos=0
  ;   K[0]='RewardWindow'
  ;   K[1]='Init'
  ;   K[2]='ERewardScene'
  ;   K[3]='Other'
  ;   K[4]='GM'
  ;   K[5]='AudioModel'
  ;   K[6]='PlayEffect'
  ;   K[7]='AudioFileConfigName'
  ;   K[8]='SfxPkRaceActivityFinish2'
  ;   K[9]='m_descText'
  ;   K[10]='text'
  ;   K[11]='GameTextModel'
  ;   K[12]='GetText'
  ;   K[13]='pkrace_round_reward_title'
  ;   upvals: _ENV
  ;   locals: self(0-26), round(0-26), arrRewards(0-26), closeCallback(0-26)
  0000  GETTABUP  R4 = _ENV[K0('RewardWindow')]
  0001  GETTABLE  R4 = R4[K1('Init')]
  0002  MOVE      R5 = R0
  0003  MOVE      R6 = R0
  0004  LOADNIL   R7..R7 = nil
  0005  LOADBOOL  R8 = true
  0006  GETTABUP  R9 = _ENV[K2('ERewardScene')]
  0007  GETTABLE  R9 = R9[K3('Other')]
  0008  LOADNIL   R10..R10 = nil
  0009  MOVE      R11 = R0
  0010  CALL      R4 = call(R4, 0 args, 7 rets)
  0011  GETTABUP  R4 = _ENV[K4('GM')]
  0012  GETTABLE  R4 = R4[K5('AudioModel')]
  0013  SELF      R5 = R4[K6('PlayEffect')] (self)
  0014  GETTABUP  R6 = _ENV[K7('AudioFileConfigName')]
  0015  GETTABLE  R6 = R6[K8('SfxPkRaceActivityFinish2')]
  0016  CALL      R4 = call(R4, 0 args, 2 rets)
  0017  GETTABLE  R4 = R0[K9('m_descText')]
  0018  GETTABUP  R5 = _ENV[K4('GM')]
  0019  GETTABLE  R5 = R5[K11('GameTextModel')]
  0020  SELF      R6 = R5[K12('GetText')] (self)
  0021  LOADK     R7 = K13 'pkrace_round_reward_title'
  0022  MOVE      R8 = R0
  0023  CALL      R5 = call(R5, 1 args, 3 rets)
  0024  SETTABLE  R4[K10('text')] = R5
  0025  RETURN    return R0..R-1
