# BigDayRaceActivity_View_BigDayRaceEntryWindow_1345.luac
; fn @BigDayRaceEntryWindow.lua  line 0-0 np=0 va=1 ms=3 code=29 consts=13 upvals=1 protos=6
;   K[0]='BigDayRaceEntryWindow'
;   K[1]='setmetatable'
;   K[2]='canCloseByAndroidBack'
;   K[3]=false
;   K[4]='showWindowMask'
;   K[5]='BigDayRaceBaseWindow'
;   K[6]='__index'
;   K[7]='Init'
;   K[8]='OnDestroy'
;   K[9]='PlayFlyAnim'
;   K[10]='TryClose'
;   K[11]='OnCloseView'
;   K[12]='CloseAfterSkipAnim'
;   upvals: _ENV
0000  GETTABUP  R0 = _ENV[K1('setmetatable')]
0001  NEWTABLE  R1 = {} (0 items)
0002  SETTABLE  R1[K2('canCloseByAndroidBack')] = K3(false)
0003  SETTABLE  R1[K4('showWindowMask')] = K3(false)
0004  GETTABUP  R2 = _ENV[K5('BigDayRaceBaseWindow')]
0005  CALL      R0 = call(R0, 1 args, 2 rets)
0006  SETTABUP  _ENV[K0('BigDayRaceEntryWindow')] = R0
0007  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0008  GETTABUP  R1 = _ENV[K0('BigDayRaceEntryWindow')]
0009  SETTABLE  R0[K6('__index')] = R1
0010  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0011  CLOSURE   R1 = closure proto0
0012  SETTABLE  R0[K7('Init')] = R1
0013  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0014  CLOSURE   R1 = closure proto1
0015  SETTABLE  R0[K8('OnDestroy')] = R1
0016  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0017  CLOSURE   R1 = closure proto2
0018  SETTABLE  R0[K9('PlayFlyAnim')] = R1
0019  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0020  CLOSURE   R1 = closure proto3
0021  SETTABLE  R0[K10('TryClose')] = R1
0022  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0023  CLOSURE   R1 = closure proto4
0024  SETTABLE  R0[K11('OnCloseView')] = R1
0025  GETTABUP  R0 = _ENV[K0('BigDayRaceEntryWindow')]
0026  CLOSURE   R1 = closure proto5
0027  SETTABLE  R0[K12('CloseAfterSkipAnim')] = R1
0028  RETURN    return R0..R-1
; ---------- proto0 [Init] ----------
  ; fn ?  line 8-26 np=3 va=0 ms=8 code=35 consts=11 upvals=1 protos=1
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='Init'
  ;   K[2]='m_bFromMainWindow'
  ;   K[3]='m_entry'
  ;   K[4]='EBigDayRaceEntryWindowRefer'
  ;   K[5]='MainWindow'
  ;   K[6]='RefreshDay'
  ;   K[7]='GetAnimDuration'
  ;   K[8]='DelayExecuteFuncInView'
  ;   K[9]=2
  ;   K[10]='PlayFlyAnim'
  ;   upvals: _ENV
  ;   locals: self(0-35), activityType(0-35), bFromMainWindow(0-35), animDuration(25-30)
  0000  GETTABUP  R3 = _ENV[K0('BigDayRaceBaseWindow')]
  0001  GETTABLE  R3 = R3[K1('Init')]
  0002  MOVE      R4 = R0
  0003  MOVE      R5 = R0
  0004  LOADBOOL  R6 = true
  0005  CALL      R3 = call(R3, 0 args, 3 rets)
  0006  SETTABLE  R0[K2('m_bFromMainWindow')] = R2
  0007  GETTABLE  R3 = R0[K3('m_entry')]
  0008  SELF      R4 = R3[K1('Init')] (self)
  0009  MOVE      R5 = R0
  0010  MOVE      R6 = R0
  0011  TEST      if not R2 then   -> -131059
  0012  JMP       (jump)   -> 17
  0013  GETTABUP  R7 = _ENV[K4('EBigDayRaceEntryWindowRefer')]
  0014  GETTABLE  R7 = R7[K5('MainWindow')]
  0015  TEST      if not R7 then   -> -131054
  0016  JMP       (jump)   -> 19
  0017  GETTABUP  R7 = _ENV[K4('EBigDayRaceEntryWindowRefer')]
  0018  GETTABLE  R7 = R7[K6('RefreshDay')]
  0019  CALL      R3 = call(R3, 0 args, 4 rets)
  0020  TEST      if not R2 then   -> -131049
  0021  JMP       (jump)   -> 30
  0022  GETTABLE  R3 = R0[K3('m_entry')]
  0023  SELF      R4 = R3[K7('GetAnimDuration')] (self)
  0024  CALL      R3 = call(R3, 1 args, 1 rets)
  0025  GETTABUP  R4 = _ENV[K8('DelayExecuteFuncInView')]
  0026  CLOSURE   R5 = closure proto0
  0027  ADD       R6 = K9(2) add R3
  0028  MOVE      R7 = R0
  0029  CALL      R4 = call(R4, 0 args, 3 rets)
  0030  TEST      if not R2 then   -> -131040
  0031  JMP       (jump)   -> 34
  0032  SELF      R4 = R0[K10('PlayFlyAnim')] (self)
  0033  CALL      R3 = call(R3, 0 args, 1 rets)
  0034  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 17-19 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
; ---------- proto1 [OnDestroy] ----------
  ; fn ?  line 28-37 np=1 va=0 ms=3 code=16 consts=7 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='OnDestroy'
  ;   K[2]='Scheduler'
  ;   K[3]='UnscheduleTarget'
  ;   K[4]='m_flySeq'
  ;   K[5]=nil
  ;   K[6]='Kill'
  ;   upvals: _ENV
  ;   locals: self(0-16)
  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  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  GETTABLE  R1 = R0[K4('m_flySeq')]
  0009  EQ        if R1 eq K5(nil)   -> -130288
  0010  JMP       (jump)   -> 15
  0011  GETTABLE  R1 = R0[K4('m_flySeq')]
  0012  SELF      R2 = R1[K6('Kill')] (self)
  0013  CALL      R1 = call(R1, 0 args, 1 rets)
  0014  SETTABLE  R0[K4('m_flySeq')] = K5(nil)
  0015  RETURN    return R0..R-1
; ---------- proto2 [PlayFlyAnim] ----------
  ; fn ?  line 39-72 np=1 va=0 ms=17 code=79 consts=39 upvals=1 protos=2
  ;   K[0]='MainBoardView'
  ;   K[1]='GetInstance'
  ;   K[2]='GetOrderArea'
  ;   K[3]='GetOrderGroupButton'
  ;   K[4]=nil
  ;   K[5]='GM'
  ;   K[6]='MainBoardModel'
  ;   K[7]='GetOrderModel'
  ;   K[8]='IsOrderGroupButtonVisible'
  ;   K[9]='Close'
  ;   K[10]='ModeViewController'
  ;   K[11]='GetBoardInfo'
  ;   K[12]='WorldToScreenPoint'
  ;   K[13]='transform'
  ;   K[14]='position'
  ;   K[15]='PositionUtil'
  ;   K[16]='UICameraScreen2World'
  ;   K[17]='m_entry'
  ;   K[18]='DOTween'
  ;   K[19]='Sequence'
  ;   K[20]='AppendInterval'
  ;   K[21]=2
  ;   K[22]='AppendCallback'
  ;   K[23]='Append'
  ;   K[24]='m_maskImg'
  ;   K[25]='DOFade'
  ;   K[26]=0
  ;   K[27]=0.2
  ;   K[28]='DOMove'
  ;   K[29]=0.5
  ;   K[30]='SetEase'
  ;   K[31]='Ease'
  ;   K[32]='InOutSine'
  ;   K[33]='Join'
  ;   K[34]='DOScale'
  ;   K[35]='Vector3'
  ;   K[36]=0.1
  ;   K[37]=1
  ;   K[38]='m_flySeq'
  ;   upvals: _ENV
  ;   locals: self(0-79), boardView(3-79), orderArea(7-79), orderGroupButton(11-79), boardCamera(28-79), screenPos(32-79), worldPos(36-79), flyRect(38-79), seq(41-79)
  0000  GETTABUP  R1 = _ENV[K0('MainBoardView')]
  0001  SELF      R2 = R1[K1('GetInstance')] (self)
  0002  CALL      R1 = call(R1, 1 args, 1 rets)
  0003  TESTSET   if R0 then R2   -> -130555
  0004  JMP       (jump)   -> 7
  0005  SELF      R3 = R1[K2('GetOrderArea')] (self)
  0006  CALL      R2 = call(R2, 1 args, 1 rets)
  0007  TESTSET   if R0 then R3   -> -130039
  0008  JMP       (jump)   -> 11
  0009  SELF      R4 = R2[K3('GetOrderGroupButton')] (self)
  0010  CALL      R3 = call(R3, 1 args, 1 rets)
  0011  EQ        if R1 eq K4(nil)   -> -129263
  0012  JMP       (jump)   -> 21
  0013  GETTABUP  R4 = _ENV[K5('GM')]
  0014  GETTABLE  R4 = R4[K6('MainBoardModel')]
  0015  SELF      R5 = R4[K7('GetOrderModel')] (self)
  0016  CALL      R4 = call(R4, 1 args, 1 rets)
  0017  SELF      R5 = R4[K8('IsOrderGroupButtonVisible')] (self)
  0018  CALL      R4 = call(R4, 1 args, 1 rets)
  0019  TEST      if not R4 then   -> -131050
  0020  JMP       (jump)   -> 24
  0021  SELF      R5 = R0[K9('Close')] (self)
  0022  CALL      R4 = call(R4, 0 args, 1 rets)
  0023  RETURN    return R0..R-1
  0024  GETTABUP  R4 = _ENV[K5('GM')]
  0025  GETTABLE  R4 = R4[K10('ModeViewController')]
  0026  SELF      R5 = R4[K11('GetBoardInfo')] (self)
  0027  CALL      R4 = call(R4, 1 args, 1 rets)
  0028  SELF      R6 = R4[K12('WorldToScreenPoint')] (self)
  0029  GETTABLE  R7 = R3[K13('transform')]
  0030  GETTABLE  R7 = R7[K14('position')]
  0031  CALL      R5 = call(R5, 1 args, 2 rets)
  0032  GETTABUP  R6 = _ENV[K15('PositionUtil')]
  0033  GETTABLE  R6 = R6[K16('UICameraScreen2World')]
  0034  MOVE      R7 = R0
  0035  CALL      R6 = call(R6, 1 args, 1 rets)
  0036  GETTABLE  R7 = R0[K17('m_entry')]
  0037  GETTABLE  R7 = R7[K13('transform')]
  0038  GETTABUP  R8 = _ENV[K18('DOTween')]
  0039  GETTABLE  R8 = R8[K19('Sequence')]
  0040  CALL      R8 = call(R8, 1 args, 0 rets)
  0041  SELF      R10 = R8[K20('AppendInterval')] (self)
  0042  LOADK     R11 = K21 2
  0043  CALL      R9 = call(R9, 0 args, 2 rets)
  0044  SELF      R10 = R8[K22('AppendCallback')] (self)
  0045  CLOSURE   R11 = closure proto0
  0046  CALL      R9 = call(R9, 0 args, 2 rets)
  0047  SELF      R10 = R8[K23('Append')] (self)
  0048  GETTABLE  R11 = R0[K24('m_maskImg')]
  0049  SELF      R12 = R11[K25('DOFade')] (self)
  0050  LOADK     R13 = K26 0
  0051  LOADK     R14 = K27 0.2
  0052  CALL      R11 = call(R11, -1 args, 3 rets)
  0053  CALL      R9 = call(R9, 0 args, -1 rets)
  0054  SELF      R10 = R8[K23('Append')] (self)
  0055  SELF      R12 = R7[K28('DOMove')] (self)
  0056  MOVE      R13 = R0
  0057  LOADK     R14 = K29 0.5
  0058  CALL      R11 = call(R11, 1 args, 3 rets)
  0059  SELF      R12 = R11[K30('SetEase')] (self)
  0060  GETTABUP  R13 = _ENV[K31('Ease')]
  0061  GETTABLE  R13 = R13[K32('InOutSine')]
  0062  CALL      R11 = call(R11, -1 args, 2 rets)
  0063  CALL      R9 = call(R9, 0 args, -1 rets)
  0064  SELF      R10 = R8[K33('Join')] (self)
  0065  SELF      R12 = R7[K34('DOScale')] (self)
  0066  GETTABUP  R13 = _ENV[K35('Vector3')]
  0067  LOADK     R14 = K36 0.1
  0068  LOADK     R15 = K36 0.1
  0069  LOADK     R16 = K37 1
  0070  CALL      R13 = call(R13, 1 args, 3 rets)
  0071  LOADK     R14 = K29 0.5
  0072  CALL      R11 = call(R11, -1 args, 3 rets)
  0073  CALL      R9 = call(R9, 0 args, -1 rets)
  0074  SELF      R10 = R8[K22('AppendCallback')] (self)
  0075  CLOSURE   R11 = closure proto1
  0076  CALL      R9 = call(R9, 0 args, 2 rets)
  0077  SETTABLE  R0[K38('m_flySeq')] = R8
  0078  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 56-58 np=0 va=0 ms=3 code=7 consts=5 upvals=1 protos=0
    ;   K[0]='GM'
    ;   K[1]='AudioModel'
    ;   K[2]='PlayEffect'
    ;   K[3]='AudioFileConfigName'
    ;   K[4]='SfxRoomSwitch'
    ;   upvals: _ENV
    0000  GETTABUP  R0 = _ENV[K0('GM')]
    0001  GETTABLE  R0 = R0[K1('AudioModel')]
    0002  SELF      R1 = R0[K2('PlayEffect')] (self)
    0003  GETTABUP  R2 = _ENV[K3('AudioFileConfigName')]
    0004  GETTABLE  R2 = R2[K4('SfxRoomSwitch')]
    0005  CALL      R0 = call(R0, 0 args, 2 rets)
    0006  RETURN    return R0..R-1
  ; ---------- proto1 [m_flySeq] ----------
    ; fn ?  line 62-69 np=0 va=0 ms=3 code=19 consts=8 upvals=4 protos=0
    ;   K[0]='UIUtil'
    ;   K[1]='SetActive'
    ;   K[2]='gameObject'
    ;   K[3]='IsEmptyComponent'
    ;   K[4]='PlayBoxHitAnim'
    ;   K[5]='m_flySeq'
    ;   K[6]=nil
    ;   K[7]='Close'
    ;   upvals: _ENV, flyRect, orderGroupButton, self
    0000  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0001  GETTABLE  R0 = R0[K1('SetActive')]
    0002  GETTABUP  R1 = flyRect[K2('gameObject')]
    0003  LOADBOOL  R2 = false
    0004  CALL      R0 = call(R0, 0 args, 2 rets)
    0005  GETTABUP  R0 = _ENV[K0('UIUtil')]
    0006  GETTABLE  R0 = R0[K3('IsEmptyComponent')]
    0007  GETUPVAL  R1 = _ENV
    0008  CALL      R0 = call(R0, 1 args, 1 rets)
    0009  TEST      if not R0 then   -> -131060
    0010  JMP       (jump)   -> 14
    0011  GETUPVAL  R0 = _ENV
    0012  SELF      R1 = R0[K4('PlayBoxHitAnim')] (self)
    0013  CALL      R0 = call(R0, 0 args, 1 rets)
    0014  SETTABUP  self[K5('m_flySeq')] = K6(nil)
    0015  GETUPVAL  R0 = _ENV
    0016  SELF      R1 = R0[K7('Close')] (self)
    0017  CALL      R0 = call(R0, 0 args, 1 rets)
    0018  RETURN    return R0..R-1
; ---------- proto3 [TryClose] ----------
  ; fn ?  line 74-80 np=1 va=0 ms=3 code=9 consts=3 upvals=1 protos=0
  ;   K[0]='m_bFromMainWindow'
  ;   K[1]='BigDayRaceBaseWindow'
  ;   K[2]='TryClose'
  ;   upvals: _ENV
  ;   locals: self(0-9)
  0000  GETTABLE  R1 = R0[K0('m_bFromMainWindow')]
  0001  TEST      if not R1 then   -> -131068
  0002  JMP       (jump)   -> 4
  0003  RETURN    return R0..R-1
  0004  GETTABUP  R1 = _ENV[K1('BigDayRaceBaseWindow')]
  0005  GETTABLE  R1 = R1[K2('TryClose')]
  0006  MOVE      R2 = R0
  0007  CALL      R1 = call(R1, 0 args, 1 rets)
  0008  RETURN    return R0..R-1
; ---------- proto4 [OnCloseView] ----------
  ; fn ?  line 82-93 np=1 va=0 ms=6 code=29 consts=15 upvals=1 protos=0
  ;   K[0]='BigDayRaceBaseWindow'
  ;   K[1]='OnCloseView'
  ;   K[2]='m_bFromMainWindow'
  ;   K[3]='m_model'
  ;   K[4]='CanClaimReward'
  ;   K[5]='GM'
  ;   K[6]='UIManager'
  ;   K[7]='OpenViewWhenIdle'
  ;   K[8]='m_activityDefinition'
  ;   K[9]='MainWindowPrefabName'
  ;   K[10]='m_activityType'
  ;   K[11]='EventDispatcher'
  ;   K[12]='DispatchEvent'
  ;   K[13]='EEventType'
  ;   K[14]='StartBigDayRaceTutorial'
  ;   upvals: _ENV
  ;   locals: self(0-29)
  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_bFromMainWindow')]
  0005  TEST      if not R1 then   -> -131064
  0006  JMP       (jump)   -> 20
  0007  GETTABLE  R1 = R0[K3('m_model')]
  0008  SELF      R2 = R1[K4('CanClaimReward')] (self)
  0009  CALL      R1 = call(R1, 1 args, 1 rets)
  0010  TEST      if not R1 then   -> -131060
  0011  JMP       (jump)   -> 20
  0012  GETTABUP  R1 = _ENV[K5('GM')]
  0013  GETTABLE  R1 = R1[K6('UIManager')]
  0014  SELF      R2 = R1[K7('OpenViewWhenIdle')] (self)
  0015  GETTABLE  R3 = R0[K8('m_activityDefinition')]
  0016  GETTABLE  R3 = R3[K9('MainWindowPrefabName')]
  0017  GETTABLE  R4 = R0[K10('m_activityType')]
  0018  LOADBOOL  R5 = true
  0019  CALL      R1 = call(R1, 0 args, 4 rets)
  0020  GETTABLE  R1 = R0[K2('m_bFromMainWindow')]
  0021  TEST      if not R1 then   -> -131049
  0022  JMP       (jump)   -> 28
  0023  GETTABUP  R1 = _ENV[K11('EventDispatcher')]
  0024  GETTABLE  R1 = R1[K12('DispatchEvent')]
  0025  GETTABUP  R2 = _ENV[K13('EEventType')]
  0026  GETTABLE  R2 = R2[K14('StartBigDayRaceTutorial')]
  0027  CALL      R1 = call(R1, 0 args, 1 rets)
  0028  RETURN    return R0..R-1
; ---------- proto5 [CloseAfterSkipAnim] ----------
  ; fn ?  line 95-99 np=1 va=0 ms=5 code=6 consts=2 upvals=1 protos=1
  ;   K[0]='DelayExecuteFuncInView'
  ;   K[1]=1
  ;   upvals: _ENV
  ;   locals: self(0-6)
  0000  GETTABUP  R1 = _ENV[K0('DelayExecuteFuncInView')]
  0001  CLOSURE   R2 = closure proto0
  0002  LOADK     R3 = K1 1
  0003  MOVE      R4 = R0
  0004  CALL      R1 = call(R1, 0 args, 3 rets)
  0005  RETURN    return R0..R-1
  ; ---------- proto0 [] ----------
    ; fn ?  line 96-98 np=0 va=0 ms=2 code=4 consts=1 upvals=1 protos=0
    ;   K[0]='Close'
    ;   upvals: self
    0000  GETUPVAL  R0 = self
    0001  SELF      R1 = R0[K0('Close')] (self)
    0002  CALL      R0 = call(R0, 0 args, 1 rets)
    0003  RETURN    return R0..R-1
