# BigDayRaceActivity_View_BigDayRaceBoxWindow_1341.luac
; fn @BigDayRaceBoxWindow.lua  line 0-0 np=0 va=1 ms=3 code=26 consts=13 upvals=1 protos=5
;   K[0]='BigDayRaceBoxWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='windowMaskAlpha'
;   K[5]=0
;   K[6]='BigDayRaceBaseWindow'
;   K[7]='__index'
;   K[8]='Init'
;   K[9]='TryClose'
;   K[10]='OnCloseView'
;   K[11]='OnDestroy'
;   K[12]='OnBtnClicked'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  SETTABLE  R1[K4('windowMaskAlpha')] = K5(0)
0004  GETTABUP  R2 = _ENV[K6('BigDayRaceBaseWindow')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('BigDayRaceBoxWindow')] = R0
0007  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0008  GETTABUP  R1 = _ENV[K0('BigDayRaceBoxWindow')]
0009  SETTABLE  R0[K7('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K8('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K9('TryClose')] = R1
0016  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K10('OnCloseView')] = R1
0019  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K11('OnDestroy')] = R1
0022  GETTABUP  R0 = _ENV[K0('BigDayRaceBoxWindow')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K12('OnBtnClicked')] = R1
0025  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-59 np=6 va=0 ms=18 code=109 consts=57 upvals=1 protos=2
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='Init'
  ;   K[2]=nil
  ;   K[3]='Log'
  ;   K[4]='Assert'
  ;   K[5]='Table'
  ;   K[6]='IsEmpty'
  ;   K[7]='param rewards is error'
  ;   K[8]='m_activityType'
  ;   K[9]='m_rank'
  ;   K[10]='m_rewards'
  ;   K[11]='SpriteUtil'
  ;   K[12]='SetImage'
  ;   K[13]='m_boxImg'
  ;   K[14]='rank_box_'
  ;   K[15]='math'
  ;   K[16]='min'
  ;   K[17]=4
  ;   K[18]='m_userAvatar'
  ;   K[19]='SetMySelf'
  ;   K[20]='EAvatarFrame'
  ;   K[21]='Highlight'
  ;   K[22]='IsNull'
  ;   K[23]='Close'
  ;   K[24]='m_lightAnimator'
  ;   K[25]='enabled'
  ;   K[26]=false
  ;   K[27]='UIUtil'
  ;   K[28]='SetActive'
  ;   K[29]='m_bgSpineAnim'
  ;   K[30]='gameObject'
  ;   K[31]='DelayExecuteFuncInView'
  ;   K[32]=0.2
  ;   K[33]='m_boxRect'
  ;   K[34]='localScale'
  ;   K[35]='localPosition'
  ;   K[36]='position'
  ;   K[37]='UIUtil'
  ;   K[38]='SetActive'
  ;   K[39]='gameObject'
  ;   K[40]='GM'
  ;   K[41]='UIManager'
  ;   K[42]='SetEventLock'
  ;   K[43]='DOTween'
  ;   K[44]='Sequence'
  ;   K[45]='Append'
  ;   K[46]='DOLocalJump'
  ;   K[47]=100
  ;   K[48]=1
  ;   K[49]=0.5
  ;   K[50]='SetEase'
  ;   K[51]='Ease'
  ;   K[52]='InOutSine'
  ;   K[53]='Join'
  ;   K[54]='DOScale'
  ;   K[55]='AppendCallback'
  ;   K[56]='m_jumpSeq'
  ;   upvals: _ENV
  ;   locals: self(0-109), activityType(0-109), rank(0-109), rewards(0-109), boxRect(0-109), initCallback(0-109), rect(62-109), originScale(63-109), originLocalPos(66-109), seq(82-109)
  0000  GETTABUP  R6 = _ENV[K0('BigDayRaceBaseWindow')]
  0001  GETTABLE  R6 = R6[K1('Init')]
  0002  MOVE      R7 = R0
  0003  MOVE      R8 = R0
  0004  LOADBOOL  R9 = true
  0005  CALL      R6 = call(R6, 0 args, 3 rets)
  0006  EQ        if R1 eq K2(nil)   -> -128246
  0007  JMP       (jump)   -> 10
  0008  MOVE      R6 = R0
  0009  CALL      R6 = call(R6, 0 args, 0 rets)
  0010  GETTABUP  R6 = _ENV[K3('Log')]
  0011  GETTABLE  R6 = R6[K4('Assert')]
  0012  GETTABUP  R7 = _ENV[K5('Table')]
  0013  GETTABLE  R7 = R7[K6('IsEmpty')]
  0014  MOVE      R8 = R0
  0015  CALL      R7 = call(R7, 1 args, 1 rets)
  0016  NOT       R7 = not R0
  0017  LOADK     R8 = K7 'param rewards is error'
  0018  CALL      R6 = call(R6, 0 args, 2 rets)
  0019  SETTABLE  R0[K8('m_activityType')] = R1
  0020  SETTABLE  R0[K9('m_rank')] = R2
  0021  SETTABLE  R0[K10('m_rewards')] = R3
  0022  GETTABUP  R6 = _ENV[K11('SpriteUtil')]
  0023  GETTABLE  R6 = R6[K12('SetImage')]
  0024  GETTABLE  R7 = R0[K13('m_boxImg')]
  0025  LOADK     R8 = K14 'rank_box_'
  0026  GETTABUP  R9 = _ENV[K15('math')]
  0027  GETTABLE  R9 = R9[K16('min')]
  0028  MOVE      R10 = R0
  0029  LOADK     R11 = K17 4
  0030  CALL      R9 = call(R9, 1 args, 2 rets)
  0031  CONCAT    R8 = concat(R8..R8)
  0032  LOADBOOL  R9 = true
  0033  CALL      R6 = call(R6, 0 args, 3 rets)
  0034  GETTABLE  R6 = R0[K18('m_userAvatar')]
  0035  SELF      R7 = R6[K19('SetMySelf')] (self)
  0036  GETTABUP  R8 = _ENV[K20('EAvatarFrame')]
  0037  GETTABLE  R8 = R8[K21('Highlight')]
  0038  CALL      R6 = call(R6, 0 args, 2 rets)
  0039  EQ        if R1 eq K2(nil)   -> -128725
  0040  JMP       (jump)   -> 45
  0041  SELF      R7 = R4[K22('IsNull')] (self)
  0042  CALL      R6 = call(R6, 1 args, 1 rets)
  0043  TEST      if not R6 then   -> -131027
  0044  JMP       (jump)   -> 48
  0045  SELF      R7 = R0[K23('Close')] (self)
  0046  CALL      R6 = call(R6, 0 args, 1 rets)
  0047  RETURN    return R0..R-1
  0048  GETTABLE  R6 = R0[K24('m_lightAnimator')]
  0049  SETTABLE  R6[K25('enabled')] = K26(false)
  0050  GETTABUP  R6 = _ENV[K27('UIUtil')]
  0051  GETTABLE  R6 = R6[K28('SetActive')]
  0052  GETTABLE  R7 = R0[K29('m_bgSpineAnim')]
  0053  GETTABLE  R7 = R7[K30('gameObject')]
  0054  LOADBOOL  R8 = false
  0055  CALL      R6 = call(R6, 0 args, 2 rets)
  0056  GETTABUP  R6 = _ENV[K31('DelayExecuteFuncInView')]
  0057  CLOSURE   R7 = closure proto0
  0058  LOADK     R8 = K32 0.2
  0059  MOVE      R9 = R0
  0060  CALL      R6 = call(R6, 0 args, 3 rets)
  0061  GETTABLE  R6 = R0[K33('m_boxRect')]
  0062  GETTABLE  R7 = R6[K34('localScale')]
  0063  GETTABLE  R8 = R4[K34('localScale')]
  0064  SETTABLE  R6[K34('localScale')] = R8
  0065  GETTABLE  R8 = R6[K35('localPosition')]
  0066  GETTABLE  R9 = R4[K36('position')]
  0067  SETTABLE  R6[K36('position')] = R9
  0068  GETTABUP  R9 = _ENV[K37('UIUtil')]
  0069  GETTABLE  R9 = R9[K38('SetActive')]
  0070  GETTABLE  R10 = R4[K39('gameObject')]
  0071  LOADBOOL  R11 = false
  0072  CALL      R9 = call(R9, 0 args, 2 rets)
  0073  GETTABUP  R9 = _ENV[K40('GM')]
  0074  GETTABLE  R9 = R9[K41('UIManager')]
  0075  SELF      R10 = R9[K42('SetEventLock')] (self)
  0076  LOADBOOL  R11 = true
  0077  MOVE      R12 = R0
  0078  CALL      R9 = call(R9, 0 args, 3 rets)
  0079  GETTABUP  R9 = _ENV[K43('DOTween')]
  0080  GETTABLE  R9 = R9[K44('Sequence')]
  0081  CALL      R9 = call(R9, 1 args, 0 rets)
  0082  SELF      R11 = R9[K45('Append')] (self)
  0083  SELF      R13 = R6[K46('DOLocalJump')] (self)
  0084  MOVE      R14 = R0
  0085  LOADK     R15 = K47 100
  0086  LOADK     R16 = K48 1
  0087  LOADK     R17 = K49 0.5
  0088  CALL      R12 = call(R12, 1 args, 5 rets)
  0089  SELF      R13 = R12[K50('SetEase')] (self)
  0090  GETTABUP  R14 = _ENV[K51('Ease')]
  0091  GETTABLE  R14 = R14[K52('InOutSine')]
  0092  CALL      R12 = call(R12, -1 args, 2 rets)
  0093  CALL      R10 = call(R10, 0 args, -1 rets)
  0094  SELF      R11 = R9[K53('Join')] (self)
  0095  SELF      R13 = R6[K54('DOScale')] (self)
  0096  MOVE      R14 = R0
  0097  LOADK     R15 = K49 0.5
  0098  CALL      R12 = call(R12, 1 args, 3 rets)
  0099  SELF      R13 = R12[K50('SetEase')] (self)
  0100  GETTABUP  R14 = _ENV[K51('Ease')]
  0101  GETTABLE  R14 = R14[K52('InOutSine')]
  0102  CALL      R12 = call(R12, -1 args, 2 rets)
  0103  CALL      R10 = call(R10, 0 args, -1 rets)
  0104  SELF      R11 = R9[K55('AppendCallback')] (self)
  0105  CLOSURE   R12 = closure proto1
  0106  CALL      R10 = call(R10, 0 args, 2 rets)
  0107  SETTABLE  R0[K56('m_jumpSeq')] = R9
  0108  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 30-36 np=0 va=0 ms=3 code=22 consts=15 upvals=2 protos=0
    ;   K[0]='m_lightAnimator'
    ;   K[1]='enabled'
    ;   K[2]=true
    ;   K[3]='UIUtil'
    ;   K[4]='SetActive'
    ;   K[5]='m_bgSpineAnim'
    ;   K[6]='gameObject'
    ;   K[7]='Init'
    ;   K[8]='PlayAnimation'
    ;   K[9]='idle1'
    ;   K[10]='GM'
    ;   K[11]='AudioModel'
    ;   K[12]='PlayEffect'
    ;   K[13]='AudioFileConfigName'
    ;   K[14]='SfxPkRaceActivityFinish2'
    ;   upvals: self, _ENV
    0000  GETTABUP  R0 = self[K0('m_lightAnimator')]
    0001  SETTABLE  R0[K1('enabled')] = K2(true)
    0002  GETTABUP  R0 = _ENV[K3('UIUtil')]
    0003  GETTABLE  R0 = R0[K4('SetActive')]
    0004  GETTABUP  R1 = self[K5('m_bgSpineAnim')]
    0005  GETTABLE  R1 = R1[K6('gameObject')]
    0006  LOADBOOL  R2 = true
    0007  CALL      R0 = call(R0, 0 args, 2 rets)
    0008  GETTABUP  R0 = self[K5('m_bgSpineAnim')]
    0009  SELF      R1 = R0[K7('Init')] (self)
    0010  CALL      R0 = call(R0, 0 args, 1 rets)
    0011  GETTABUP  R0 = self[K5('m_bgSpineAnim')]
    0012  SELF      R1 = R0[K8('PlayAnimation')] (self)
    0013  LOADK     R2 = K9 'idle1'
    0014  CALL      R0 = call(R0, 0 args, 2 rets)
    0015  GETTABUP  R0 = _ENV[K10('GM')]
    0016  GETTABLE  R0 = R0[K11('AudioModel')]
    0017  SELF      R1 = R0[K12('PlayEffect')] (self)
    0018  GETTABUP  R2 = _ENV[K13('AudioFileConfigName')]
    0019  GETTABLE  R2 = R2[K14('SfxPkRaceActivityFinish2')]
    0020  CALL      R0 = call(R0, 0 args, 2 rets)
    0021  RETURN    return R0..R-1
  ; ---------- proto1 [m_jumpSeq] ----------
    ; fn ?  line 52-56 np=0 va=0 ms=4 code=13 consts=8 upvals=2 protos=0
    ;   K[0]='GM'
    ;   K[1]='UIManager'
    ;   K[2]='SetEventLock'
    ;   K[3]='m_jumpSeq'
    ;   K[4]=nil
    ;   K[5]='UIUtil'
    ;   K[6]='SetActive'
    ;   K[7]='m_caidaiGo'
    ;   upvals: _ENV, self
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('UIManager')]
    0002  SELF      R1 = R0[K2('SetEventLock')] (self)
    0003  LOADBOOL  R2 = false
    0004  GETUPVAL  R3 = _ENV
    0005  CALL      R0 = call(R0, 0 args, 3 rets)
    0006  SETTABUP  self[K3('m_jumpSeq')] = K4(nil)
    0007  GETTABUP  R0 = _ENV[K5('UIUtil')]
    0008  GETTABLE  R0 = R0[K6('SetActive')]
    0009  GETTABUP  R1 = self[K7('m_caidaiGo')]
    0010  LOADBOOL  R2 = true
    0011  CALL      R0 = call(R0, 0 args, 2 rets)
    0012  RETURN    return R0..R-1
; ---------- proto1 [TryClose] ----------
  ; fn ?  line 61-62 np=1 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
  ;   locals: self(0-1)
  0000  RETURN    return R0..R-1
; ---------- proto2 [OnCloseView] ----------
  ; fn ?  line 64-67 np=1 va=0 ms=3 code=7 consts=5 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_boxCanvasGroup'
  ;   K[3]='enabled'
  ;   K[4]=false
  ;   upvals: _ENV
  ;   locals: self(0-7)
  0000  GETTABUP  R1 = _ENV[K0('BigDayRaceBaseWindow')]
  0001  GETTABLE  R1 = R1[K1('OnCloseView')]
  0002  MOVE      R2 = R0
  0003  CALL      R1 = call(R1, 0 args, 1 rets)
  0004  GETTABLE  R1 = R0[K2('m_boxCanvasGroup')]
  0005  SETTABLE  R1[K3('enabled')] = K4(false)
  0006  RETURN    return R0..R-1
; ---------- proto3 [OnDestroy] ----------
  ; fn ?  line 69-78 np=1 va=0 ms=4 code=17 consts=8 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='m_jumpSeq'
  ;   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('BigDayRaceBaseWindow')]
  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_jumpSeq')]
  0005  EQ        if R1 eq K3(nil)   -> -130294
  0006  JMP       (jump)   -> 11
  0007  GETTABLE  R1 = R0[K2('m_jumpSeq')]
  0008  SELF      R2 = R1[K4('Kill')] (self)
  0009  CALL      R1 = call(R1, 0 args, 1 rets)
  0010  SETTABLE  R0[K2('m_jumpSeq')] = 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
; ---------- proto4 [OnBtnClicked] ----------
  ; fn ?  line 80-84 np=1 va=0 ms=10 code=16 consts=10 upvals=1 protos=1
  ;   K[0]='Close'
  ;   K[1]='GM'
  ;   K[2]='UIManager'
  ;   K[3]='OpenView'
  ;   K[4]='UIPrefabConfigName'
  ;   K[5]='AnimatedRewardWindow'
  ;   K[6]='m_rewards'
  ;   K[7]='rewards_window_title_normal'
  ;   K[8]='ERewardScene'
  ;   K[9]='Other'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  0000  SELF      R2 = R0[K0('Close')] (self)
  0001  CALL      R1 = call(R1, 0 args, 1 rets)
  0002  GETTABUP  R1 = _ENV[K1('GM')]
  0003  GETTABLE  R1 = R1[K2('UIManager')]
  0004  SELF      R2 = R1[K3('OpenView')] (self)
  0005  GETTABUP  R3 = _ENV[K4('UIPrefabConfigName')]
  0006  GETTABLE  R3 = R3[K5('AnimatedRewardWindow')]
  0007  GETTABLE  R4 = R0[K6('m_rewards')]
  0008  LOADK     R5 = K7 'rewards_window_title_normal'
  0009  LOADBOOL  R6 = true
  0010  GETTABUP  R7 = _ENV[K8('ERewardScene')]
  0011  GETTABLE  R7 = R7[K9('Other')]
  0012  LOADNIL   R8..R8 = nil
  0013  CLOSURE   R9 = closure proto0
  0014  CALL      R1 = call(R1, 0 args, 8 rets)
  0015  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 82-83 np=0 va=0 ms=2 code=1 consts=0 upvals=0 protos=0
    0000  RETURN    return R0..R-1
