Untitled

mail@pastecode.io avatar
unknown
plain_text
a year ago
96 kB
1
Indexable
Never
using UnityEngine;
public class GameSceneManager : MonoBehaviour
{
    // Fields
    private int CurStep;
    private System.Action<int> OnStepChange;
    private int times;
    private bool HadShowUnLock;
    private FaceRewardPopUp _faceRewardPopUp;
    public MINI_Game.AirPod.AirPod_StepGlue AirPod_StepGlue;
    public MINI_Game.AirPod.AirPod_StepPaint AirPod_StepPaint;
    public AirPod_StepDry AirPod_StepDry;
    public MINI_Game.AirPod.AirPod_StepDecoration Airpod_StepDecoration;
    public MINI_Game.AirPod.AirPod_StepPopItPaint Airpod_StepPopItPaint;
    public MINI_Game.AirPod.AirPod_StepPopItDry Airpod_StepPopItDry;
    public MINI_Game.AirPod.AirPod_StepPopItPlay AirPod__StepPopItPlay;
    public StepPopItPlay _StepPopItPlay;
    public StepPopItDry _StepPopItDry;
    public StepPopItPaint _StepPopItPaint;
    public StepCleanCharing _StepCleanCharing;
    public StepCleanDirty _StepCleanDirty;
    public StepPre_CleaningDirty _StepPreCleaning;
    public StepWaterGlitter _StepWaterGlitter;
    public StepSelectLiquidGlitterBg _SelectLiquidGlitterBg;
    public StepLiquidGlitter StepLiquidGlitter;
    public StepInjection StepInjection;
    public StepGlue StepGlue;
    public StepPaint StepPaint;
    public StepDry StepDry;
    public StepDecoration StepDecoration;
    public StepAcrylic StepAcrylic;
    public StepGlitter StepGlitter;
    public StepVipSelect StepVipSelect;
    public static GameSceneManager Instance;
    public UnityEngine.GameObject ParticleSystem;
    public UnityEngine.CanvasGroup CanvasGroup;
    public SoundManager SoundManager;
    public ProgressBarView FillAmount;
    public UnityEngine.GameObject FillGameobject;
    public PaintType PaintType;
    public DragUI DragUi;
    public int MoveCount;
    public bool IsDrag;
    public UnityEngine.GameObject SceneCharactor;
    public UnityEngine.GameObject Desk;
    public UnityEngine.GameObject Propylene_ani;
    public UnityEngine.GameObject SphereColor;
    public UnityEngine.GameObject BottleColor;
    public UnityEngine.GameObject BrushPen001;
    public UnityEngine.GameObject PenMoveRoot;
    public UnityEngine.GameObject ShapeRayHit;
    public MoreMountains.NiceVibrations.NiceVibrationsDemoManager vibration;
    public UnityEngine.Transform _Canvas;
    public UnityEngine.Transform IconBar;
    public UnityEngine.UI.Image m_iconBg;
    public UnityEngine.Sprite m_normalBg;
    public UnityEngine.Sprite m_multiItemBg;
    public UnityEngine.GameObject LockBar;
    public UnityEngine.UI.Text PercentText;
    public UnityEngine.UI.Image PercentBar;
    public System.Action OnControlMove;
    public System.Action OnEndControlMove;
    public UnityEngine.GameObject ShadowCamera;
    public UnityEngine.GameObject Plan;
    public KeyBar KeyBar;
    public bool ShieldPaint;
    public PaintProgressControl PaintProgress;
    public MarblePaintingController MarblePaintingController;
    public UnityEngine.GameObject MarbleUIRoot;
    public UnityEngine.GameObject InjectLight;
    public UnityEngine.GameObject InjectEndLight;
    public bool CanChange;
    public UnityEngine.GameObject PhoneStar;
    private UnityEngine.Transform m_tipRoot;
    private UnityEngine.GameObject m_phoneEffect;
    public UnityEngine.GameObject SafeAreaMask;
    public bool CanShowUnLock;
    public UnityEngine.CanvasGroup TipQpao;
    public float AlphaAniTime;
    public LeanTweenType scaleHideType;
    public LeanTweenType alphaHideType;
    public UnityEngine.Transform QPGrid;
    public UnityEngine.GameObject SceneLight01;
    public UnityEngine.GameObject SceneLight02;
    public UnityEngine.GameObject InputManager;
    public bool Move3d;
    public UnityEngine.Camera m_ShotCamera;
    public UnityEngine.Camera MainCamera;
    public UnityEngine.Camera UICamera;
    public UnityEngine.GameObject KeyHandTip;
    public bool Draged;
    public UnityEngine.GameObject KeyChain;
    public System.Collections.Generic.List<UnityEngine.GameObject> _3DSticker;
    public System.Collections.Generic.List<UnityEngine.GameObject> _2DSticker;
    public System.Collections.Generic.List<UnityEngine.GameObject> SensorGlitters;
    public NativeEventToggler NativeCampaignToggler;
    public UnityEngine.Texture2D cacheTexture2D;
    public CleanData cacheCleanData;
    public UnityEngine.GameObject LeaderBoard;
    
    // Methods
    private void Awake()
    {
        var val_7;
        var val_8;
        GameSceneManager.Instance = this;
        Game.SaveData.GameDBManager val_1 = TC.Core.Singleton.MonoSingleton<Game.SaveData.GameDBManager, TC.Core.Singleton.ComponentSingletonProvider<Game.SaveData.GameDBManager>>.Instance;
        System.DateTime val_2 = System.DateTime.Now;
        System.DateTime.__il2cppRuntimeField_cctor_finished.__unknownFiledOffset_20 = val_2.dateData;
        BackButtonControl val_3 = MonoSingleton<BackButtonControl>.Instance;
        int val_4 = UnityEngine.PlayerPrefs.GetInt(key:  "Notice");
        if(val_4 == 1)
        {
                val_4.RegisterNotification();
        }
        
        val_7 = null;
        val_7 = null;
        if(LoadingPopup.m_playedLoading == false)
        {
                return;
        }
        
        val_8 = null;
        if((RateUsConfig.ShouldShowRateUs(smallIndex:  GameSettingPrefs.SmallIndex)) == false)
        {
                return;
        }
        
        Tabtale.TTPlugins.TTPRateUs.Popup();
    }
    private void RegisterNotification()
    {
        UnityEngine.PlayerPrefs.SetInt(key:  "Notice", value:  1);
    }
    private void Start()
    {
        this.RegisterLisnterner();
    }
    private void ChangeLight(int pStep)
    {
        UiLightManager.Instance.SetLight(pCurStep:  pStep);
    }
    private void CreatAndSet()
    {
        var val_5 = null;
        if((GameSettingPrefs.ShowSelectPopUp != true) && (CustomerManager.Instance.VipStartGame != true))
        {
                if(MissionManager.Instance.PrepareType != 6)
        {
            goto label_7;
        }
        
        }
        
        UiLightManager.Instance.CreatLight();
        System.Delegate val_4 = System.Delegate.Combine(a:  this.StepVipSelect.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnVipSelectNext()));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_11;
        }
        
        }
        
        this.StepVipSelect.OnNextClick = val_4;
        return;
        label_7:
        UiLightManager.Instance.CreatLight();
        return;
        label_11:
    }
    private void AirPods_LightCreat()
    {
        var val_11;
        var val_12;
        val_11 = null;
        if(GameSettingPrefs.IsSelectPhone == true)
        {
            goto label_3;
        }
        
        val_12 = null;
        if(GameSettingPrefs.Combo_2_4_8 == false)
        {
            goto label_6;
        }
        
        label_3:
        this.CreatAndSet();
        goto label_14;
        label_6:
        if(CustomerManager.Instance.VipStartGame == false)
        {
            goto label_9;
        }
        
        UiLightManager.Instance.AirPod_CreatLight();
        goto label_11;
        label_9:
        UiLightManager.Instance.AirPod_CreatLight();
        if(MissionManager.Instance.PrepareType != 6)
        {
            goto label_14;
        }
        
        label_11:
        System.Delegate val_5 = System.Delegate.Combine(a:  this.StepVipSelect.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnVipSelectNext()));
        if(val_5 != null)
        {
                if(null != null)
        {
            goto label_17;
        }
        
        }
        
        this.StepVipSelect.OnNextClick = val_5;
        label_14:
        System.Collections.Generic.List<GameStepType> val_6 = DeepCloneTool.DeepCopyByBinary<System.Collections.Generic.List<GameStepType>>(obj:  StepManager.Instance.GameStepTypes);
        bool val_7 = val_6.Remove(item:  7);
        if(MissionManager.Instance.PrepareType != 6)
        {
                SingletonTool<KeychainControl>.GetInstance().RandomCanGainKey(pPool:  val_6);
        }
        
        this.KeyBar.gameObject.SetActive(value:  true);
        return;
        label_17:
    }
    private void LightCreat()
    {
        var val_11;
        var val_12;
        val_11 = null;
        if(GameSettingPrefs.IsSelectPhone == true)
        {
            goto label_3;
        }
        
        val_12 = null;
        if(GameSettingPrefs.Combo_2_4_8 == false)
        {
            goto label_6;
        }
        
        label_3:
        this.CreatAndSet();
        goto label_14;
        label_6:
        if(CustomerManager.Instance.VipStartGame == false)
        {
            goto label_9;
        }
        
        UiLightManager.Instance.CreatLight();
        goto label_11;
        label_9:
        UiLightManager.Instance.CreatLight();
        if(MissionManager.Instance.PrepareType != 6)
        {
            goto label_14;
        }
        
        label_11:
        System.Delegate val_5 = System.Delegate.Combine(a:  this.StepVipSelect.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnVipSelectNext()));
        if(val_5 != null)
        {
                if(null != null)
        {
            goto label_17;
        }
        
        }
        
        this.StepVipSelect.OnNextClick = val_5;
        label_14:
        System.Collections.Generic.List<GameStepType> val_6 = DeepCloneTool.DeepCopyByBinary<System.Collections.Generic.List<GameStepType>>(obj:  StepManager.Instance.GameStepTypes);
        bool val_7 = val_6.Remove(item:  7);
        if(MissionManager.Instance.PrepareType != 6)
        {
                SingletonTool<KeychainControl>.GetInstance().RandomCanGainKey(pPool:  val_6);
        }
        
        this.KeyBar.gameObject.SetActive(value:  true);
        return;
        label_17:
    }
    public void RemoveAllBubble()
    {
        if(this.TipQpao == 0)
        {
                return;
        }
        
        CocoTransformExtensions.RemoveAllChildren(target:  this.TipQpao.transform);
    }
    private void InitUI()
    {
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = false;
        this.FillGameobject.SetActive(value:  false);
        this.CanvasGroup.alpha = 0f;
    }
    private void OnGlueResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.SceneLight02.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        this.ShowKeychainPopup();
    }
    private void OnAirPod_GlueResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.SceneLight02.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        this.AirPod_ShowKeychainPopup();
    }
    private void OnPopItResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        UnityEngine.Animator val_2 = GetComponent<UnityEngine.Animator>();
        val_2.Play(stateName:  MLStringDefine.AnimNameStage02_1);
        LTDescr val_5 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_2, pClipName:  MLStringDefine.AnimNameStage02_1), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<OnPopItResult>b__14_0()));
    }
    private void AirPod_sOnPopItResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        UnityEngine.Animator val_2 = GetComponent<UnityEngine.Animator>();
        val_2.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_5 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_2, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<AirPod_sOnPopItResult>b__15_0()));
    }
    private void OnLiquidGlitterResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.SceneLight02.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        transform.Find(n:  MLStringDefine.PhoneScreen).gameObject.SetActive(value:  true);
        UnityEngine.Animator val_5 = GetComponent<UnityEngine.Animator>();
        val_5.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_8 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_5, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<OnLiquidGlitterResult>b__16_0()));
    }
    private void OnMarbleResult()
    {
        this.PaintType = 6;
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight02.SetActive(value:  true);
        this.SceneLight02.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        transform.Find(n:  MLStringDefine.PhoneScreen).gameObject.SetActive(value:  true);
        this.ShowKeychainPopup();
    }
    private void ShowKeychainPopup()
    {
        UnityEngine.Animator val_1 = GetComponent<UnityEngine.Animator>();
        val_1.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_4 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_1, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<ShowKeychainPopup>b__18_0()));
    }
    private void AirPod_ShowKeychainPopup()
    {
        UnityEngine.Animator val_1 = GetComponent<UnityEngine.Animator>();
        val_1.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_4 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_1, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<AirPod_ShowKeychainPopup>b__19_0()));
    }
    public void SetCollider(bool pEnable, bool pEnable2)
    {
        var val_35;
        var val_36;
        UnityEngine.GameObject val_37;
        val_35 = 1152921504775323648;
        if(PhoneManager.Instance.Phone_Glue != 0)
        {
                if(val_3.Length >= 1)
        {
                val_36 = 1152921514922342400;
            var val_36 = 0;
            do
        {
            transform.GetComponentsInChildren<StickerID>()[val_36].transform.GetComponent<UnityEngine.MeshCollider>().enabled = pEnable;
            val_36 = val_36 + 1;
        }
        while(val_36 < val_3.Length);
        
        }
        
        }
        
        if(PhoneManager.Instance.Phone_Glue != 0)
        {
                if(val_8.Length >= 1)
        {
                val_36 = "Canvas/Image";
            var val_38 = 0;
            do
        {
            GetComponentsInChildren<ch.sycoforge.Decal.EasyDecal>()[val_38].transform.Find(n:  "Canvas/Image").GetComponent<UnityEngine.UI.Image>().raycastTarget = pEnable2;
            val_38 = val_38 + 1;
        }
        while(val_38 < val_8.Length);
        
        }
        
        }
        
        if(PhoneManager.Instance.TargetOp != 0)
        {
                if(val_15.Length >= 1)
        {
                val_36 = 1152921514922342400;
            var val_40 = 0;
            do
        {
            transform.GetComponentsInChildren<StickerID>()[val_40].transform.GetComponent<UnityEngine.MeshCollider>().enabled = pEnable;
            val_40 = val_40 + 1;
        }
        while(val_40 < val_15.Length);
        
        }
        
            if(val_19.Length >= 1)
        {
                val_36 = "Canvas/Image";
            var val_42 = 0;
            do
        {
            GetComponentsInChildren<ch.sycoforge.Decal.EasyDecal>()[val_42].transform.Find(n:  "Canvas/Image").GetComponent<UnityEngine.UI.Image>().raycastTarget = pEnable2;
            val_42 = val_42 + 1;
        }
        while(val_42 < val_19.Length);
        
        }
        
        }
        
        val_37 = mem[PhoneManager.Instance + 64];
        val_37 = PhoneManager.Instance.Phone_Marble;
        if(val_37 == 0)
        {
                return;
        }
        
        val_37 = transform.GetComponentsInChildren<StickerID>();
        if(val_26.Length >= 1)
        {
                do
        {
            val_37[0].transform.GetComponent<UnityEngine.MeshCollider>().enabled = pEnable;
            val_35 = 0 + 1;
        }
        while(val_35 < val_26.Length);
        
        }
        
        if(val_30.Length < 1)
        {
                return;
        }
        
        val_35 = 1152921514764552192;
        do
        {
            GetComponentsInChildren<ch.sycoforge.Decal.EasyDecal>()[0].transform.Find(n:  "Canvas/Image").GetComponent<UnityEngine.UI.Image>().raycastTarget = pEnable2;
            val_37 = 0 + 1;
        }
        while(val_37 < val_30.Length);

    
    }
    private void RegisterLisnterner()
    {
        System.Delegate val_2 = System.Delegate.Combine(a:  this.DragUi.Delta, b:  new System.Action<System.Single>(object:  this, method:  System.Void GameSceneManager::RotatePhone(float pDelta)));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_3;
        }
        
        }
        
        this.DragUi.Delta = val_2;
        return;
        label_3:
    }
    private void RotatePhone(float pDelta)
    {
        string val_37;
        this.Draged = true;
        if(PhoneManager.Instance.Phone_Glue != 0)
        {
                UnityEngine.Vector3 val_3 = UnityEngine.Vector3.up;
            transform.Rotate(axis:  new UnityEngine.Vector3() {x = val_3.x, y = val_3.y, z = val_3.z}, angle:  -pDelta);
        }
        
        if(PhoneManager.Instance.Phone_AcrylicModle != 0)
        {
                UnityEngine.Vector3 val_6 = UnityEngine.Vector3.up;
            transform.Rotate(axis:  new UnityEngine.Vector3() {x = val_6.x, y = val_6.y, z = val_6.z}, angle:  -pDelta);
        }
        
        if(PhoneManager.Instance.Phone_Marble != 0)
        {
                UnityEngine.Vector3 val_9 = UnityEngine.Vector3.up;
            transform.Rotate(axis:  new UnityEngine.Vector3() {x = val_9.x, y = val_9.y, z = val_9.z}, angle:  -pDelta);
        }
        
        MiniGameCleanDirty val_10 = MonoSingleton<MiniGameCleanDirty>.Instance;
        if(val_10.DirtyPhone != 0)
        {
                MiniGameCleanDirty val_12 = MonoSingleton<MiniGameCleanDirty>.Instance;
            UnityEngine.Vector3 val_14 = UnityEngine.Vector3.up;
            val_12.DirtyPhone.transform.Rotate(axis:  new UnityEngine.Vector3() {x = val_14.x, y = val_14.y, z = val_14.z}, angle:  -pDelta);
        }
        
        if(MissionManager.Instance.PrepareType != 4)
        {
                return;
        }
        
        UnityEngine.Vector3 val_21 = transform.localEulerAngles;
        if(val_21.y < 46f)
        {
            goto label_50;
        }
        
        UnityEngine.Vector3 val_23 = transform.localEulerAngles;
        if(val_23.y <= 80f)
        {
            goto label_78;
        }
        
        label_50:
        UnityEngine.Vector3 val_25 = transform.localEulerAngles;
        if(val_25.y < 90f)
        {
            goto label_58;
        }
        
        UnityEngine.Vector3 val_27 = transform.localEulerAngles;
        if(val_27.y <= 180f)
        {
            goto label_78;
        }
        
        label_58:
        UnityEngine.Vector3 val_29 = transform.localEulerAngles;
        if(val_29.y < (-180f))
        {
            goto label_66;
        }
        
        UnityEngine.Vector3 val_31 = transform.localEulerAngles;
        if(val_31.y <= (-90f))
        {
            goto label_78;
        }
        
        label_66:
        UnityEngine.Vector3 val_33 = transform.localEulerAngles;
        if(val_33.y < 180f)
        {
            goto label_74;
        }
        
        UnityEngine.Vector3 val_35 = transform.localEulerAngles;
        if(val_35.y <= 270f)
        {
            goto label_78;
        }
        
        label_74:
        val_37 = "_Intensity";
        goto label_80;
        label_78:
        val_37 = "_Intensity";
        label_80:
        this.InjectEndLight.transform.GetChild(index:  0).GetComponent<UnityEngine.Projector>().material.SetFloat(name:  val_37, value:  0f);
    }
    private void RemoveLisnterner()
    {
        System.Delegate val_2 = System.Delegate.Remove(source:  this.DragUi.Delta, value:  new System.Action<System.Single>(object:  this, method:  System.Void GameSceneManager::RotatePhone(float pDelta)));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_3;
        }
        
        }
        
        this.DragUi.Delta = val_2;
        MarblePhoneControl.OnMarbleOver = 0;
        return;
        label_3:
    }
    private void InitMisc()
    {
        PaintType val_4;
        this.m_ShotCamera.gameObject.SetActive(value:  false);
        this.LockBar.SetActive(value:  true);
        this.SceneLight02.SetActive(value:  false);
        this.SceneLight01.SetActive(value:  true);
        if(MissionManager.Instance.PrepareType == 0)
        {
            goto label_7;
        }
        
        if(MissionManager.Instance.PrepareType != 1)
        {
            goto label_9;
        }
        
        val_4 = 8;
        goto label_10;
        label_7:
        val_4 = 0;
        label_10:
        this.PaintType = val_4;
        label_9:
        this.Propylene_ani.SetActive(value:  false);
        this.PenMoveRoot.SetActive(value:  false);
        this.InitUI();
    }
    private void DestroyMove()
    {
        if(this.KeyChain == 0)
        {
                return;
        }
        
        this = this.KeyChain.GetComponent<ChainMove>();
        if(this == 0)
        {
                return;
        }
        
        UnityEngine.Object.Destroy(obj:  this);
    }
    private System.Collections.IEnumerator Haptic()
    {
        .<>1__state = 0;
        return (System.Collections.IEnumerator)new GameSceneManager.<Haptic>d__26();
    }
    public void DoOverGame()
    {
        var val_15;
        float val_17;
        GameSceneManager.<>c__DisplayClass27_0 val_1 = new GameSceneManager.<>c__DisplayClass27_0();
        .<>4__this = this;
        val_15 = null;
        bool val_2 = GameSettingPrefs.IsShock;
        if(val_2 != false)
        {
                UnityEngine.Coroutine val_4 = this.StartCoroutine(routine:  val_2.Haptic());
        }
        
        this.DestroyMove();
        this.ParticleSystem.gameObject.SetActive(value:  true);
        this.SoundManager.PlaySFX(pSoundName:  MLStringDefine.Success, pIsLoop:  false);
        KeyChainTool.ClearKeychainPopup();
        .anim = GetComponent<UnityEngine.Animator>();
        if(MissionManager.Instance.PrepareType == 6)
        {
                (GameSceneManager.<>c__DisplayClass27_0)[1152921515099070144].anim.Play(stateName:  MLStringDefine.AnimNameStage02_2);
            float val_8 = Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass27_0)[1152921515099070144].anim, pClipName:  MLStringDefine.AnimNameStage02_2);
            LTDescr val_10 = LeanTween.delayedCall(delayTime:  val_8, callback:  new System.Action(object:  val_1, method:  System.Void GameSceneManager.<>c__DisplayClass27_0::<DoOverGame>b__1()));
            val_17 = val_8 + (Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass27_0)[1152921515099070144].anim, pClipName:  MLStringDefine.AnimNameStage03));
        }
        else
        {
                (GameSceneManager.<>c__DisplayClass27_0)[1152921515099070144].anim.Play(stateName:  MLStringDefine.AnimNameStage03);
            val_17 = Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass27_0)[1152921515099070144].anim, pClipName:  MLStringDefine.AnimNameStage03);
        }
        
        LTDescr val_14 = LeanTween.delayedCall(delayTime:  val_17, callback:  new System.Action(object:  val_1, method:  System.Void GameSceneManager.<>c__DisplayClass27_0::<DoOverGame>b__0()));
    }
    public void AirPod_DoOverGame()
    {
        var val_10 = null;
        bool val_1 = GameSettingPrefs.IsShock;
        if(val_1 != false)
        {
                UnityEngine.Coroutine val_3 = this.StartCoroutine(routine:  val_1.Haptic());
        }
        
        this.DestroyMove();
        this.ParticleSystem.gameObject.SetActive(value:  true);
        this.SoundManager.PlaySFX(pSoundName:  MLStringDefine.Success, pIsLoop:  false);
        KeyChainTool.ClearKeychainPopup();
        UnityEngine.Animator val_5 = GetComponent<UnityEngine.Animator>();
        LTDescr val_9 = LeanTween.delayedCall(delayTime:  (MissionManager.Instance.PrepareType == 6) ? 2f : 1f, callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<AirPod_DoOverGame>b__28_0()));
    }
    public void Initialized()
    {
        this.InitMisc();
        if(Count >= 1)
        {
                ShowTypeMisc.InitShowType(pIconBar:  this.IconBar, pIconBg:  this.m_iconBg, pMultiItemBg:  this.m_multiItemBg, pNormalBg:  this.m_normalBg);
            return;
        }
        
        this.LockBar.SetActive(value:  false);
    }
    private void DoReset()
    {
        var val_17;
        var val_18;
        var val_19;
        System.Action val_21;
        var val_22;
        var val_23;
        val_17 = null;
        if(GameSettingPrefs.Skin_new_choices_coin == true)
        {
            goto label_3;
        }
        
        val_18 = null;
        if(GameSettingPrefs.Skin_new_choices_RV == false)
        {
            goto label_6;
        }
        
        label_3:
        this.Calculate();
        UnityEngine.Debug.LogError(message:  "----PopSkinPanel----");
        if((MonoSingleton<SkinManager>.Instance.IsAllUnlock(pType:  2)) != false)
        {
                if((MonoSingleton<SkinManager>.Instance.IsAllUnlock(pType:  0)) != false)
        {
                if((MonoSingleton<SkinManager>.Instance.IsAllUnlock(pType:  1)) == true)
        {
            goto label_20;
        }
        
        }
        
        }
        
        val_19 = null;
        val_19 = null;
        val_21 = GameSceneManager.<>c.<>9__30_0;
        if(val_21 == null)
        {
                System.Action val_9 = null;
            val_21 = val_9;
            val_9 = new System.Action(object:  GameSceneManager.<>c.__il2cppRuntimeField_static_fields, method:  System.Void GameSceneManager.<>c::<DoReset>b__30_0());
            GameSceneManager.<>c.<>9__30_0 = val_21;
        }
        
        bool val_10 = Tabtale.TTPlugins.TTPInterstitials.Show(location:  "skinPopupClosed", onContinueAction:  val_9);
        return;
        label_6:
        bool val_11 = GameSettingPrefs.AirPod;
        if(AirPod_Manager.Instance.IsAirPodLevel() != false)
        {
                if(AirPod_Manager.Instance.isLoad == false)
        {
            goto label_31;
        }
        
        }
        
        this.Calculate();
        bool val_13 = GameSettingPrefs.AirPod;
        bool val_14 = GameSettingPrefs.AirPod_specific_levels;
        AirPod_Manager.Instance.SetAirPodCustomersCout();
        label_20:
        val_22 = null;
        val_22 = null;
        UnityEngine.SceneManagement.SceneManager.LoadScene(sceneName:  MLStringDefine.SceneName);
        return;
        label_31:
        this.OnHideInject();
        val_23 = null;
        val_23 = null;
        GameSettingPrefs.StencilPaint = false;
        MINI_Game.AirPod.AirPod_UIPanel.Create().Initialized();
        AirPod_Manager.Instance.isLoad = true;
        UnityEngine.Debug.LogError(message:  "----Create-AirPod-----");
        this.FillAmount.SetFillValue(value:  0f);
        this.FillGameobject.gameObject.SetActive(value:  false);
    }
    private void AirPod_DoReset()
    {
        var val_1;
        EventManager.AirPod_OptionalMissionCompleted();
        this.AirPod_Calculate();
        AirPod_Manager.Instance.AirPodEnd();
        val_1 = null;
        val_1 = null;
        UnityEngine.SceneManagement.SceneManager.LoadScene(sceneName:  MLStringDefine.SceneName);
    }
    private void DelayCallCalcu()
    {
        if(CustomerManager.Instance.VipStartGame == false)
        {
                return;
        }
        
        FaceRewardPopUp val_1 = FaceRewardPopUp.Creat();
        this._faceRewardPopUp = val_1;
        val_1.Init();
    }
    public void ResetScene()
    {
        UnityEngine.Debug.LogError(message:  "ResetScene");
        UnityEngine.Debug.LogError(message:  System.String.Format(format:  "<color=#00ff00>{0}</color>", arg0:  "ResultCallBack"));
        GetComponent<PhoneGirlAnim>().SetDiyPhone();
        this.DelayCallCalcu();
        this.SceneLight01.SetActive(value:  true);
        this.SceneLight02.SetActive(value:  false);
        Recod.HandShowGlue = false;
        Recod.HandShowSpray = false;
        Recod.HandShowSticker = false;
        Recod.HandShowAcrylic = false;
        this.CanvasGroup.alpha = 0f;
        GetComponent<UnityEngine.Animator>().enabled = false;
        UnityEngine.Vector3 val_5 = new UnityEngine.Vector3(x:  0f, y:  3.675f, z:  -1.5f);
        this.MainCamera.transform.localPosition = new UnityEngine.Vector3() {x = val_5.x, y = val_5.y, z = val_5.z};
        UnityEngine.Vector3 val_7 = new UnityEngine.Vector3(x:  45f, y:  180f, z:  0f);
        this.MainCamera.transform.localEulerAngles = new UnityEngine.Vector3() {x = val_7.x, y = val_7.y, z = val_7.z};
        UnityEngine.Vector3 val_9 = UnityEngine.Vector3.one;
        UnityEngine.Vector3 val_10 = UnityEngine.Vector3.op_Multiply(a:  new UnityEngine.Vector3() {x = val_9.x, y = val_9.y, z = val_9.z}, d:  2.5f);
        this.MainCamera.transform.localScale = new UnityEngine.Vector3() {x = val_10.x, y = val_10.y, z = val_10.z};
        this.SceneCharactor.SetActive(value:  true);
        this.Desk.SetActive(value:  false);
        if(this._faceRewardPopUp != 0)
        {
                Play(stateName:  "girl_standby");
            float val_14 = 1.3f;
            val_14 = this._faceRewardPopUp.timer + val_14;
            LTDescr val_13 = LeanTween.delayedCall(delayTime:  val_14, callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::DoFaceAfter()));
            return;
        }
        
        this.DoFaceAfter();
    }
    public void AirPod_ResetScene()
    {
        UnityEngine.Debug.LogError(message:  System.String.Format(format:  "<color=#00ff00>{0}</color>", arg0:  "ResultCallBack"));
        this.DelayCallCalcu();
        this.SceneLight01.SetActive(value:  true);
        this.SceneLight02.SetActive(value:  false);
        Recod.HandShowGlue = false;
        Recod.HandShowSpray = false;
        Recod.HandShowSticker = false;
        Recod.HandShowAcrylic = false;
        this.CanvasGroup.alpha = 0f;
        if(PhoneManager.Instance.Phone_Glue != 0)
        {
                SetActive(value:  false);
        }
        
        if(PhoneManager.Instance.Phone_AcrylicModle != 0)
        {
                SetActive(value:  false);
        }
        
        StepPopItBase val_4 = SingletonTool<StepPopItBase>.GetInstance();
        if(val_4.PopItPhone != 0)
        {
                StepPopItBase val_6 = SingletonTool<StepPopItBase>.GetInstance();
            val_6.PopItPhone.SetActive(value:  false);
        }
        
        if(PhoneManager.Instance.Phone_Marble != 0)
        {
                SetActive(value:  false);
        }
        
        GetComponent<PhoneGirlAnim>().SetDiyAirPodCase();
        GetComponent<UnityEngine.Animator>().enabled = false;
        UnityEngine.Vector3 val_11 = new UnityEngine.Vector3(x:  0f, y:  3.675f, z:  -1.5f);
        this.MainCamera.transform.localPosition = new UnityEngine.Vector3() {x = val_11.x, y = val_11.y, z = val_11.z};
        UnityEngine.Vector3 val_13 = new UnityEngine.Vector3(x:  45f, y:  180f, z:  0f);
        this.MainCamera.transform.localEulerAngles = new UnityEngine.Vector3() {x = val_13.x, y = val_13.y, z = val_13.z};
        UnityEngine.Vector3 val_15 = UnityEngine.Vector3.one;
        UnityEngine.Vector3 val_16 = UnityEngine.Vector3.op_Multiply(a:  new UnityEngine.Vector3() {x = val_15.x, y = val_15.y, z = val_15.z}, d:  2.5f);
        this.MainCamera.transform.localScale = new UnityEngine.Vector3() {x = val_16.x, y = val_16.y, z = val_16.z};
        this.SceneCharactor.SetActive(value:  true);
        this.Desk.SetActive(value:  false);
        if(this._faceRewardPopUp != 0)
        {
                Play(stateName:  "airpods_standby");
            float val_20 = 1.3f;
            val_20 = this._faceRewardPopUp.timer + val_20;
            LTDescr val_19 = LeanTween.delayedCall(delayTime:  val_20, callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::AirPod_DoFaceAfter()));
            return;
        }
        
        this.AirPod_DoFaceAfter();
    }
    public void CachePhoto(UnityEngine.Texture2D _texture2D)
    {
        this.cacheTexture2D = _texture2D;
    }
    public void Calculate()
    {
        var val_49;
        Coco.Jambox.ScoreLocation val_50;
        var val_51;
        var val_52;
        var val_53;
        var val_55;
        var val_56;
        var val_57;
        var val_59;
        var val_60;
        var val_61;
        var val_62;
        var val_63;
        var val_64;
        var val_65;
        var val_66;
        var val_67;
        var val_68;
        var val_69;
        var val_70;
        var val_72;
        var val_73;
        var val_74;
        var val_75;
        var val_76;
        var val_77;
        var val_78;
        var val_79;
        var val_80;
        var val_81;
        var val_82;
        if(this.HadShowUnLock == true)
        {
                return;
        }
        
        val_49 = null;
        if(GameSettingPrefs.LeaderBoard != false)
        {
                if(CustomerManager.Instance.VipStartGame != false)
        {
                val_50 = 2;
        }
        else
        {
                val_50 = 1;
        }
        
            Coco.Jambox.LeaderBoardManager.Instance.LevelCompleteEvent(scoreLocation:  val_50);
            Coco.Jambox.LeaderBoardManager.Instance.Save();
        }
        
        val_51 = null;
        PhotoAlubmData val_6 = new PhotoAlubmData(day:  GameSettingPrefs.ShowDay, vip:  (CustomerManager.Instance.VipStartGame == true) ? 1 : 0, skinID:  SingletonTool<SkinSaveData>.GetInstance().GetSkinSelection(pType:  1), boss:  false);
        val_52 = 0;
        TextureAssetUtils.SavePhoto(texture:  this.cacheTexture2D, fileName:  val_6.GetFileName());
        Game.SaveData.GameDBManager val_8 = TC.Core.Singleton.MonoSingleton<Game.SaveData.GameDBManager, TC.Core.Singleton.ComponentSingletonProvider<Game.SaveData.GameDBManager>>.Instance;
        val_8.<normalData>k__BackingField.AddPhotoAlubmData(data:  val_6);
        Game.SaveData.GameDBManager val_9 = TC.Core.Singleton.MonoSingleton<Game.SaveData.GameDBManager, TC.Core.Singleton.ComponentSingletonProvider<Game.SaveData.GameDBManager>>.Instance;
        val_9.<normalData>k__BackingField.AddCleanData(cleanData:  this.cacheCleanData);
        val_53 = null;
        if(CustomerManager.Instance.VipStartGame == false)
        {
            goto label_22;
        }
        
        int val_10 = GameSettingPrefs.VipTimes;
        int val_11 = GameSettingPrefs.VipTotalTimes;
        val_11 = val_11 + 1;
        GameSettingPrefs.VipTotalTimes = val_11;
        EventManager.SendVIPLevelCompleted();
        int val_12 = GameSettingPrefs.VipTimes;
        val_12 = val_12 + 1;
        GameSettingPrefs.VipTimes = val_12;
        val_55 = null;
        val_55 = null;
        if((UnityEngine.PlayerPrefs.GetInt(key:  MLStringDefine.FirstVip, defaultValue:  0)) == 0)
        {
                val_56 = null;
            val_56 = null;
            UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstVip, value:  1);
        }
        
        val_57 = null;
        if(GameSettingPrefs.AuctionGame == false)
        {
            goto label_35;
        }
        
        Coco.Auction.AuctionManager.Instance.SaveState(turnOn:  true);
        Coco.Auction.AuctionManager.Instance.CustomerAfter(turnOn:  true);
        goto label_35;
        label_22:
        if(GameSettingPrefs.AuctionGame != false)
        {
                val_59 = null;
            if(GameSettingPrefs.AuctionTurnOn != false)
        {
                val_52 = 0;
            Coco.Auction.AuctionManager.Instance.CustomerAfter(turnOn:  true);
        }
        
        }
        
        val_60 = null;
        if(GameSettingPrefs.DayIndex < GameSettingPrefs.MarbleUnlockDay)
        {
            goto label_64;
        }
        
        val_61 = null;
        if(GameSettingPrefs.FirstMarbleFreeUsed == false)
        {
            goto label_48;
        }
        
        val_62 = null;
        int val_20 = GameSettingPrefs.NormalCustomerNum;
        val_20 = val_20 + 1;
        GameSettingPrefs.NormalCustomerNum = val_20;
        val_63 = null;
        val_63 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.HadUpdateTxt, value:  0);
        if((GameSettingPrefs.NormalCustomerNum < 4) || ((MissionManager.Instance.PrepareType.Equals(obj:  2)) == false))
        {
            goto label_64;
        }
        
        val_64 = null;
        val_64 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstMarbled, value:  1);
        GameSettingPrefs.NormalCustomerNum = 0;
        val_65 = null;
        goto label_61;
        label_48:
        if((MissionManager.Instance.PrepareType.Equals(obj:  2)) == false)
        {
            goto label_64;
        }
        
        val_66 = null;
        val_66 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstMarbled, value:  1);
        GameSettingPrefs.NormalCustomerNum = 0;
        val_65 = null;
        label_61:
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.HadUpdateTxt, value:  0);
        label_64:
        EventManager.SendMissionComplete(meetRequirement:  MissionManager.Instance.ComPeleteAllRequire);
        label_35:
        val_67 = null;
        val_68 = null;
        if(GameSettingPrefs.PopUpDailyBonusOnce != false)
        {
                val_68 = null;
            GameSettingPrefs.JustCompeleteFirstDay = true;
        }
        
        int val_29 = GameSettingPrefs.CaseTotalToVip;
        val_29 = val_29 + 1;
        GameSettingPrefs.CaseTotalToVip = val_29;
        if(CustomerManager.Instance.VipStartGame != true)
        {
                val_69 = null;
            int val_30 = GameSettingPrefs.Level;
            val_30 = val_30 + 1;
            GameSettingPrefs.Level = val_30;
        }
        
        val_70 = null;
        val_70 = null;
        if(GameSettingPrefs.StencilPaint != false)
        {
                int val_31 = GameSettingPrefs.StencilTimes;
            val_31 = val_31 + 1;
            GameSettingPrefs.StencilTimes = val_31;
            val_72 = null;
        }
        
        if(GameSettingPrefs.IsSelectPhone == true)
        {
            goto label_88;
        }
        
        val_73 = null;
        if(GameSettingPrefs.Combo_2_4_8 == false)
        {
            goto label_101;
        }
        
        label_88:
        val_74 = null;
        if(GameSettingPrefs.HaveNewSelectRequire != false)
        {
                val_75 = null;
            int val_35 = GameSettingPrefs.SelectPhoneRequireIndex;
            val_35 = val_35 + 1;
            GameSettingPrefs.SelectPhoneRequireIndex = val_35;
        }
        
        val_76 = null;
        if((GameSettingPrefs.ShowSelectPopUp != false) && (CustomerManager.Instance.VipStartGame != true))
        {
                val_77 = null;
            int val_37 = GameSettingPrefs.SelectPhonePrefs;
            val_37 = val_37 + 1;
            GameSettingPrefs.SelectPhonePrefs = val_37;
        }
        
        label_101:
        if(MissionManager.Instance.PrepareType == 4)
        {
                val_78 = null;
            int val_39 = GameSettingPrefs.InjectTimes;
            val_39 = val_39 + 1;
            GameSettingPrefs.InjectTimes = val_39;
        }
        
        if(CommonDebugData.InGodMode != false)
        {
                MissionManager.QShow = false;
        }
        
        RecordMakedInfo.ResetData();
        val_79 = null;
        int val_49 = GameSettingPrefs.DayIndex;
        int val_42 = GameSettingPrefs.SmallIndex;
        PhoneCaseDiyGLD val_43 = MissionManager.Instance.DailyMission;
        if(val_42 < val_43.DailyPhoneCount)
        {
                val_80 = val_42 + 1;
        }
        else
        {
                val_49 = val_49 + 1;
            GameSettingPrefs.ShowDay = val_49;
            val_80 = 1;
        }
        
        GameSettingPrefs.SmallIndex = 1;
        val_81 = null;
        if(GameSettingPrefs.Daily_3_days != false)
        {
                SingletonTool<ThreeDayRewardData>.GetInstance().ClearInstance();
        }
        
        val_82 = null;
        val_82 = null;
        GameSettingPrefs.StencilPaint = false;
        GameSettingPrefs.GlobalMask = false;
        this.HadShowUnLock = true;
        GameSettingPrefs.DebugForStencil = false;
        if(GameSettingPrefs.Pre_Cleaning == false)
        {
                return;
        }
        
        MonoSingleton<MiniGamePre_Cleaning>.Instance.OnSave();
    }
    public void AirPod_Calculate()
    {
        var val_47;
        Coco.Jambox.ScoreLocation val_48;
        var val_49;
        int val_50;
        var val_51;
        var val_52;
        var val_54;
        var val_55;
        var val_56;
        var val_58;
        var val_59;
        var val_60;
        var val_61;
        var val_62;
        var val_63;
        var val_64;
        var val_65;
        var val_66;
        var val_67;
        var val_68;
        var val_69;
        var val_70;
        var val_71;
        var val_72;
        var val_73;
        var val_74;
        var val_75;
        var val_76;
        var val_77;
        var val_78;
        var val_79;
        var val_80;
        if(this.HadShowUnLock == true)
        {
                return;
        }
        
        val_47 = null;
        if(GameSettingPrefs.LeaderBoard != false)
        {
                if(CustomerManager.Instance.VipStartGame != false)
        {
                val_48 = 2;
        }
        else
        {
                val_48 = 1;
        }
        
            Coco.Jambox.LeaderBoardManager.Instance.LevelCompleteEvent(scoreLocation:  val_48);
            Coco.Jambox.LeaderBoardManager.Instance.Save();
        }
        
        val_49 = null;
        val_50 = SingletonTool<SkinSaveData>.GetInstance().GetSkinSelection(pType:  1);
        PhotoAlubmData val_6 = new PhotoAlubmData(day:  GameSettingPrefs.ShowDay, vip:  (CustomerManager.Instance.VipStartGame == true) ? 1 : 0, skinID:  val_50, boss:  false);
        val_51 = 0;
        TextureAssetUtils.SavePhoto(texture:  this.cacheTexture2D, fileName:  val_6.GetFileName());
        Game.SaveData.GameDBManager val_8 = TC.Core.Singleton.MonoSingleton<Game.SaveData.GameDBManager, TC.Core.Singleton.ComponentSingletonProvider<Game.SaveData.GameDBManager>>.Instance;
        val_8.<normalData>k__BackingField.AddPhotoAlubmData(data:  val_6);
        Game.SaveData.GameDBManager val_9 = TC.Core.Singleton.MonoSingleton<Game.SaveData.GameDBManager, TC.Core.Singleton.ComponentSingletonProvider<Game.SaveData.GameDBManager>>.Instance;
        val_9.<normalData>k__BackingField.AddCleanData(cleanData:  this.cacheCleanData);
        val_52 = null;
        if(CustomerManager.Instance.VipStartGame == false)
        {
            goto label_22;
        }
        
        int val_10 = GameSettingPrefs.VipTimes;
        int val_11 = GameSettingPrefs.VipTotalTimes;
        val_11 = val_11 + 1;
        GameSettingPrefs.VipTotalTimes = val_11;
        EventManager.SendVIPLevelCompleted();
        int val_12 = GameSettingPrefs.VipTimes;
        val_12 = val_12 + 1;
        GameSettingPrefs.VipTimes = val_12;
        val_54 = null;
        val_54 = null;
        if((UnityEngine.PlayerPrefs.GetInt(key:  MLStringDefine.FirstVip, defaultValue:  0)) == 0)
        {
                val_55 = null;
            val_55 = null;
            UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstVip, value:  1);
        }
        
        val_56 = null;
        if(GameSettingPrefs.AuctionGame == false)
        {
            goto label_35;
        }
        
        Coco.Auction.AuctionManager.Instance.SaveState(turnOn:  true);
        Coco.Auction.AuctionManager.Instance.CustomerAfter(turnOn:  true);
        goto label_35;
        label_22:
        if(GameSettingPrefs.AuctionGame != false)
        {
                val_58 = null;
            if(GameSettingPrefs.AuctionTurnOn != false)
        {
                val_51 = 0;
            Coco.Auction.AuctionManager.Instance.CustomerAfter(turnOn:  true);
        }
        
        }
        
        val_59 = null;
        if(GameSettingPrefs.DayIndex < GameSettingPrefs.MarbleUnlockDay)
        {
            goto label_64;
        }
        
        val_60 = null;
        if(GameSettingPrefs.FirstMarbleFreeUsed == false)
        {
            goto label_48;
        }
        
        val_61 = null;
        int val_20 = GameSettingPrefs.NormalCustomerNum;
        val_20 = val_20 + 1;
        GameSettingPrefs.NormalCustomerNum = val_20;
        val_50 = 1152921504900882432;
        val_62 = null;
        val_62 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.HadUpdateTxt, value:  0);
        if(GameSettingPrefs.NormalCustomerNum < 4)
        {
            goto label_64;
        }
        
        AirPod_Manager.Instance.TemptPhoneCasePrepareType
        mem2[0] = AirPod_Manager.Instance.TemptPhoneCasePrepareType;
        if((AirPod_Manager.Instance.TemptPhoneCasePrepareType.Equals(obj:  2)) == false)
        {
            goto label_64;
        }
        
        val_63 = null;
        val_63 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstMarbled, value:  1);
        GameSettingPrefs.NormalCustomerNum = 0;
        val_64 = null;
        goto label_61;
        label_48:
        AirPod_Manager.Instance.TemptPhoneCasePrepareType
        mem2[0] = AirPod_Manager.Instance.TemptPhoneCasePrepareType;
        if((AirPod_Manager.Instance.TemptPhoneCasePrepareType.Equals(obj:  2)) == false)
        {
            goto label_64;
        }
        
        val_65 = null;
        val_65 = null;
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.FirstMarbled, value:  1);
        GameSettingPrefs.NormalCustomerNum = 0;
        val_64 = null;
        label_61:
        UnityEngine.PlayerPrefs.SetInt(key:  MLStringDefine.HadUpdateTxt, value:  0);
        label_64:
        EventManager.SendMissionComplete(meetRequirement:  MissionManager.Instance.ComPeleteAllRequire);
        label_35:
        val_66 = null;
        val_67 = null;
        if(GameSettingPrefs.PopUpDailyBonusOnce != false)
        {
                val_67 = null;
            GameSettingPrefs.JustCompeleteFirstDay = true;
        }
        
        int val_27 = GameSettingPrefs.CaseTotalToVip;
        val_27 = val_27 + 1;
        GameSettingPrefs.CaseTotalToVip = val_27;
        if(CustomerManager.Instance.VipStartGame != true)
        {
                val_68 = null;
            int val_28 = GameSettingPrefs.Level;
            val_28 = val_28 + 1;
            GameSettingPrefs.Level = val_28;
        }
        
        if(AirPod_Manager.Instance.phoneStencil != false)
        {
                val_69 = null;
            int val_29 = GameSettingPrefs.StencilTimes;
            val_29 = val_29 + 1;
            GameSettingPrefs.StencilTimes = val_29;
        }
        
        val_70 = null;
        if(GameSettingPrefs.IsSelectPhone == true)
        {
            goto label_87;
        }
        
        val_71 = null;
        if(GameSettingPrefs.Combo_2_4_8 == false)
        {
            goto label_100;
        }
        
        label_87:
        val_72 = null;
        if(GameSettingPrefs.HaveNewSelectRequire != false)
        {
                val_73 = null;
            int val_33 = GameSettingPrefs.SelectPhoneRequireIndex;
            val_33 = val_33 + 1;
            GameSettingPrefs.SelectPhoneRequireIndex = val_33;
        }
        
        val_74 = null;
        if((GameSettingPrefs.ShowSelectPopUp != false) && (CustomerManager.Instance.VipStartGame != true))
        {
                val_75 = null;
            int val_35 = GameSettingPrefs.SelectPhonePrefs;
            val_35 = val_35 + 1;
            GameSettingPrefs.SelectPhonePrefs = val_35;
        }
        
        label_100:
        if(MissionManager.Instance.PrepareType == 4)
        {
                val_76 = null;
            int val_37 = GameSettingPrefs.InjectTimes;
            val_37 = val_37 + 1;
            GameSettingPrefs.InjectTimes = val_37;
        }
        
        if(CommonDebugData.InGodMode != false)
        {
                MissionManager.QShow = false;
        }
        
        RecordMakedInfo.ResetData();
        val_77 = null;
        int val_47 = GameSettingPrefs.DayIndex;
        int val_40 = GameSettingPrefs.SmallIndex;
        PhoneCaseDiyGLD val_41 = MissionManager.Instance.DailyMission;
        if(val_40 < val_41.DailyPhoneCount)
        {
                val_78 = val_40 + 1;
        }
        else
        {
                val_47 = val_47 + 1;
            GameSettingPrefs.ShowDay = val_47;
            val_78 = 1;
        }
        
        GameSettingPrefs.SmallIndex = 1;
        val_79 = null;
        if(GameSettingPrefs.Daily_3_days != false)
        {
                SingletonTool<ThreeDayRewardData>.GetInstance().ClearInstance();
        }
        
        val_80 = null;
        val_80 = null;
        GameSettingPrefs.StencilPaint = false;
        GameSettingPrefs.GlobalMask = false;
        this.HadShowUnLock = true;
        GameSettingPrefs.DebugForStencil = false;
        if(GameSettingPrefs.Pre_Cleaning == false)
        {
                return;
        }
        
        MonoSingleton<MiniGamePre_Cleaning>.Instance.OnSave();
    }
    private void DoFaceAfter()
    {
        object val_22;
        var val_24;
        IntPtr val_26;
        System.Action val_27;
        UnityEngine.Debug.LogError(message:  "DoFaceAfter");
        if(this._faceRewardPopUp != 0)
        {
                UnityEngine.Object.Destroy(obj:  this._faceRewardPopUp.gameObject);
        }
        
        bool val_3 = GameSettingPrefs.AirPod;
        int val_5 = MissionManager.Instance.StarNum;
        if(AirPod_Manager.Instance.IsAirPodLevel() == false)
        {
            goto label_13;
        }
        
        if(val_5 != 3)
        {
            goto label_14;
        }
        
        GameSceneManager.<>c__DisplayClass40_0 val_6 = null;
        val_22 = val_6;
        val_6 = new GameSceneManager.<>c__DisplayClass40_0();
        .<>4__this = this;
        .anim = CustomerManager.Instance.PlayerAnim;
        gameObject.GetComponent<PhoneGirlAnim>().Play();
        (GameSceneManager.<>c__DisplayClass40_0)[1152921515101305664].anim.Play(stateName:  "photo01");
        val_24 = Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass40_0)[1152921515101305664].anim, pClipName:  "photo01");
        val_26 = 1152921515101175744;
        goto label_29;
        label_13:
        if(val_5 != 3)
        {
            goto label_22;
        }
        
        GameSceneManager.<>c__DisplayClass40_2 val_10 = null;
        val_22 = val_10;
        val_10 = new GameSceneManager.<>c__DisplayClass40_2();
        .<>4__this = this;
        .anim = CustomerManager.Instance.PlayerAnim;
        gameObject.GetComponent<PhoneGirlAnim>().Play();
        (GameSceneManager.<>c__DisplayClass40_2)[1152921515101330240].anim.Play(stateName:  "photo01");
        val_24 = Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass40_2)[1152921515101330240].anim, pClipName:  "photo01");
        val_26 = 1152921515101201344;
        goto label_29;
        label_14:
        GameSceneManager.<>c__DisplayClass40_1 val_14 = null;
        val_22 = val_14;
        val_14 = new GameSceneManager.<>c__DisplayClass40_1();
        .<>4__this = this;
        .anim = CustomerManager.Instance.PlayerAnim;
        gameObject.GetComponent<PhoneGirlAnim>().Play();
        (GameSceneManager.<>c__DisplayClass40_1)[1152921515101354816].anim.Play(stateName:  "girl_wave_02");
        val_24 = Util.animClipLength(pAnimator:  (GameSceneManager.<>c__DisplayClass40_1)[1152921515101354816].anim, pClipName:  "girl_wave_02");
        System.Action val_18 = null;
        val_26 = 1152921515101227040;
        label_29:
        val_18 = new System.Action(object:  val_14, method:  val_26);
        val_27 = val_18;
        goto label_38;
        label_22:
        Play(stateName:  "girl_wave");
        System.Action val_20 = new System.Action(object:  this, method:  System.Void GameSceneManager::DoReset());
        float val_22 = 1f;
        val_22 = (Util.animClipLength(pAnimator:  CustomerManager.Instance.PlayerAnim, pClipName:  "girl_wave")) + val_22;
        val_27 = val_20;
        label_38:
        LTDescr val_21 = LeanTween.delayedCall(delayTime:  val_22, callback:  val_20);
    }
    private void AirPod_DoFaceAfter()
    {
        if(this._faceRewardPopUp != 0)
        {
                UnityEngine.Object.Destroy(obj:  this._faceRewardPopUp.gameObject);
        }
        
        Play(stateName:  "airpods");
        float val_6 = 1f;
        val_6 = (Util.animClipLength(pAnimator:  CustomerManager.Instance.PlayerAnim, pClipName:  "airpods")) + val_6;
        LTDescr val_5 = LeanTween.delayedCall(delayTime:  val_6, callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::AirPod_DoReset()));
    }
    private void OnDestroy()
    {
        this.RemoveLisnterner();
    }
    public void CreateEffectTip(System.Action callback, bool pHideText = False)
    {
        .callback = callback;
        .<>4__this = this;
        this.SoundManager.StopLoopSFX();
        this.SoundManager.PlaySFX(pSoundName:  MLStringDefine.Rewarding_small_game, pIsLoop:  false);
        EffectTip.Create(pParent:  this.m_tipRoot, pHideText:  pHideText);
        this.m_phoneEffect.SetActive(value:  true);
        LeanTween.cancel(gameObject:  this.m_phoneEffect);
        LTDescr val_4 = LeanTween.delayedCall(gameObject:  this.m_phoneEffect, delayTime:  2f, callback:  new System.Action(object:  new GameSceneManager.<>c__DisplayClass43_0(), method:  System.Void GameSceneManager.<>c__DisplayClass43_0::<CreateEffectTip>b__0()));
    }
    private void AirPods_GetStencilAction()
    {
        var val_12;
        UnityEngine.Events.UnityAction val_13;
        val_12 = null;
        System.Delegate val_3 = System.Delegate.Combine(a:  this.AirPod_StepGlue.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPod_OnGlueNext()));
        if(val_3 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepGlue.OnNextClick = val_3;
        val_13 = this.AirPod_StepPaint.OnNextClick;
        if(GameSettingPrefs.DayIndex <= 3)
        {
                new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::AirPod_OnEnd());
            System.Delegate val_5 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
            if(val_5 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
            this.AirPod_StepPaint.OnNextClick = val_5;
            return;
        }
        
        new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPods_OnDryNext());
        System.Delegate val_7 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
        if(val_7 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepPaint.OnNextClick = val_7;
        System.Delegate val_9 = System.Delegate.Combine(a:  this.AirPod_StepDry.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPods_OnDryNext()));
        if(val_9 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepDry.OnNextClick = val_9;
        UnityEngine.Events.UnityAction val_10 = null;
        val_13 = val_10;
        val_10 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::AirPod_OnEnd());
        System.Delegate val_11 = System.Delegate.Combine(a:  this.Airpod_StepDecoration.OnNextClick, b:  val_10);
        if(val_11 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.Airpod_StepDecoration.OnNextClick = val_11;
        return;
        label_18:
    }
    private void AirPods_GetSprayAction()
    {
        var val_12;
        UnityEngine.Events.UnityAction val_13;
        val_12 = null;
        System.Delegate val_3 = System.Delegate.Combine(a:  this.AirPod_StepGlue.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPod_OnGlueNext()));
        if(val_3 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepGlue.OnNextClick = val_3;
        System.Delegate val_5 = System.Delegate.Combine(a:  this.AirPod_StepPaint.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPods_OnPaintNext()));
        if(val_5 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepPaint.OnNextClick = val_5;
        val_13 = this.AirPod_StepDry.OnNextClick;
        if(GameSettingPrefs.DayIndex <= 3)
        {
                new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::AirPod_OnEnd());
            System.Delegate val_7 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
            if(val_7 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
            this.AirPod_StepDry.OnNextClick = val_7;
            return;
        }
        
        new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPods_OnDryNext());
        System.Delegate val_9 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
        if(val_9 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.AirPod_StepDry.OnNextClick = val_9;
        UnityEngine.Events.UnityAction val_10 = null;
        val_13 = val_10;
        val_10 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::AirPod_OnEnd());
        System.Delegate val_11 = System.Delegate.Combine(a:  this.Airpod_StepDecoration.OnNextClick, b:  val_10);
        if(val_11 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.Airpod_StepDecoration.OnNextClick = val_11;
        return;
        label_18:
    }
    private void GetSprayAction()
    {
        var val_12;
        UnityEngine.Events.UnityAction val_13;
        val_12 = null;
        System.Delegate val_3 = System.Delegate.Combine(a:  this.StepGlue.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnGlueNext()));
        if(val_3 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepGlue.OnNextClick = val_3;
        System.Delegate val_5 = System.Delegate.Combine(a:  this.StepPaint.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnPaintNext()));
        if(val_5 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepPaint.OnNextClick = val_5;
        val_13 = this.StepDry.OnNextClick;
        if(GameSettingPrefs.DayIndex <= 3)
        {
                new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
            System.Delegate val_7 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
            if(val_7 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
            this.StepDry.OnNextClick = val_7;
            return;
        }
        
        new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnDryNext());
        System.Delegate val_9 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
        if(val_9 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepDry.OnNextClick = val_9;
        UnityEngine.Events.UnityAction val_10 = null;
        val_13 = val_10;
        val_10 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
        System.Delegate val_11 = System.Delegate.Combine(a:  this.StepDecoration.OnNextClick, b:  val_10);
        if(val_11 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepDecoration.OnNextClick = val_11;
        return;
        label_18:
    }
    private void GetAcrylicAction()
    {
        var val_14;
        System.Delegate val_15;
        var val_16;
        var val_17;
        var val_18;
        var val_19;
        val_14 = null;
        if(GameSettingPrefs.DayIndex <= 3)
        {
                UnityEngine.Events.UnityAction val_2 = null;
            val_15 = val_2;
            val_2 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
            System.Delegate val_3 = System.Delegate.Combine(a:  this.StepAcrylic.OnNextClick, b:  val_2);
            if(val_3 != null)
        {
                if(null != null)
        {
            goto label_26;
        }
        
        }
        
            this.StepAcrylic.OnNextClick = val_3;
            return;
        }
        
        val_16 = null;
        if(GameSettingPrefs.DayIndex <= 4)
        {
                val_17 = 1152921504778625024;
            System.Delegate val_6 = System.Delegate.Combine(a:  this.StepAcrylic.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnDryNext()));
            val_18 = null;
            if(val_6 != null)
        {
                if(null != val_18)
        {
            goto label_26;
        }
        
        }
        
            this.StepAcrylic.OnNextClick = val_6;
        }
        else
        {
                val_19 = null;
            if(GameSettingPrefs.DayIndex < 5)
        {
                return;
        }
        
            val_17 = 1152921504778625024;
            System.Delegate val_9 = System.Delegate.Combine(a:  this.StepAcrylic.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnAcrylicNext()));
            if(val_9 != null)
        {
                if(null != null)
        {
            goto label_26;
        }
        
        }
        
            this.StepAcrylic.OnNextClick = val_9;
            System.Delegate val_11 = System.Delegate.Combine(a:  this.StepGlitter.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnDryNext()));
            val_18 = null;
            if(val_11 != null)
        {
                if(null != val_18)
        {
            goto label_26;
        }
        
        }
        
            this.StepGlitter.OnNextClick = val_11;
        }
        
        UnityEngine.Events.UnityAction val_12 = null;
        val_15 = val_12;
        val_12 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
        System.Delegate val_13 = System.Delegate.Combine(a:  this.StepDecoration.OnNextClick, b:  val_12);
        if(val_13 != null)
        {
                if(null != val_17)
        {
            goto label_26;
        }
        
        }
        
        this.StepDecoration.OnNextClick = val_13;
        return;
        label_26:
    }
    private void GetMarbleAction()
    {
        var val_9;
        System.Delegate val_10;
        var val_11;
        val_9 = null;
        if(GameSettingPrefs.DayIndex <= 4)
        {
                System.Action val_2 = null;
            val_10 = val_2;
            val_2 = new System.Action(object:  this, method:  public System.Void GameSceneManager::OnEnd());
            System.Delegate val_3 = System.Delegate.Combine(a:  MarblePhoneControl.OnMarbleOver, b:  val_2);
            if(val_3 != null)
        {
                if(null != null)
        {
                throw new NullReferenceException();
        }
        
        }
        
            MarblePhoneControl.OnMarbleOver = val_3;
            return;
        }
        
        val_11 = null;
        if(GameSettingPrefs.DayIndex < 5)
        {
                return;
        }
        
        System.Delegate val_6 = System.Delegate.Combine(a:  MarblePhoneControl.OnMarbleOver, b:  new System.Action(object:  this, method:  System.Void GameSceneManager::OnDryNext()));
        if(val_6 != null)
        {
                if(null != null)
        {
                throw new NullReferenceException();
        }
        
        }
        
        MarblePhoneControl.OnMarbleOver = val_6;
        UnityEngine.Events.UnityAction val_7 = null;
        val_10 = val_7;
        val_7 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
        System.Delegate val_8 = System.Delegate.Combine(a:  this.StepDecoration.OnNextClick, b:  val_7);
        if(val_8 != null)
        {
                if(null != null)
        {
                throw new NullReferenceException();
        }
        
        }
        
        this.StepDecoration.OnNextClick = val_8;
    }
    private void GetStencilAction()
    {
        var val_12;
        UnityEngine.Events.UnityAction val_13;
        val_12 = null;
        System.Delegate val_3 = System.Delegate.Combine(a:  this.StepGlue.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnGlueNext()));
        if(val_3 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepGlue.OnNextClick = val_3;
        val_13 = this.StepPaint.OnNextClick;
        if(GameSettingPrefs.DayIndex <= 3)
        {
                new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
            System.Delegate val_5 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
            if(val_5 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
            this.StepPaint.OnNextClick = val_5;
            return;
        }
        
        new UnityEngine.Events.UnityAction() = new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnDryNext());
        System.Delegate val_7 = System.Delegate.Combine(a:  val_13, b:  new UnityEngine.Events.UnityAction());
        if(val_7 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepPaint.OnNextClick = val_7;
        System.Delegate val_9 = System.Delegate.Combine(a:  this.StepDry.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnDryNext()));
        if(val_9 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepDry.OnNextClick = val_9;
        UnityEngine.Events.UnityAction val_10 = null;
        val_13 = val_10;
        val_10 = new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd());
        System.Delegate val_11 = System.Delegate.Combine(a:  this.StepDecoration.OnNextClick, b:  val_10);
        if(val_11 != null)
        {
                if(null != null)
        {
            goto label_18;
        }
        
        }
        
        this.StepDecoration.OnNextClick = val_11;
        return;
        label_18:
    }
    private void GetInjectAction()
    {
        System.Delegate val_2 = System.Delegate.Combine(a:  this.StepGlue.OnNextClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnGlueNextToInjection()));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this.StepGlue.OnNextClick = val_2;
        System.Delegate val_4 = System.Delegate.Combine(a:  this.StepInjection.OnNextButtonClick, b:  new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd()));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this.StepInjection.OnNextButtonClick = val_4;
        return;
        label_6:
    }
    private void GetLiquidGlitterAction()
    {
        System.Delegate val_2 = System.Delegate.Combine(a:  this._SelectLiquidGlitterBg.OnNextCallBack, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnGlitterSelectBgNext()));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_9;
        }
        
        }
        
        this._SelectLiquidGlitterBg.OnNextCallBack = val_2;
        System.Delegate val_4 = System.Delegate.Combine(a:  this.StepLiquidGlitter.OnNextCallBack, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnGlitterNext()));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_9;
        }
        
        }
        
        this.StepLiquidGlitter.OnNextCallBack = val_4;
        System.Delegate val_6 = System.Delegate.Combine(a:  this._StepWaterGlitter.OnNextCallBack, b:  new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd()));
        if(val_6 != null)
        {
                if(null != null)
        {
            goto label_9;
        }
        
        }
        
        this._StepWaterGlitter.OnNextCallBack = val_6;
        return;
        label_9:
    }
    private void GetPopItAction()
    {
        System.Delegate val_2 = System.Delegate.Combine(a:  this._StepPopItPaint.OnNextAction, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::OnPopItPaintNext()));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this._StepPopItPaint.OnNextAction = val_2;
        System.Delegate val_4 = System.Delegate.Combine(a:  this._StepPopItDry.OnNextAction, b:  new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::OnEnd()));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this._StepPopItDry.OnNextAction = val_4;
        return;
        label_6:
    }
    private void AirPods_GetPopItAction()
    {
        System.Delegate val_2 = System.Delegate.Combine(a:  this.Airpod_StepPopItPaint.OnNextAction, b:  new UnityEngine.Events.UnityAction(object:  this, method:  System.Void GameSceneManager::AirPod_OnPopItPaintNext()));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this.Airpod_StepPopItPaint.OnNextAction = val_2;
        System.Delegate val_4 = System.Delegate.Combine(a:  this.Airpod_StepPopItDry.OnNextAction, b:  new UnityEngine.Events.UnityAction(object:  this, method:  public System.Void GameSceneManager::AirPod_OnEnd()));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_6;
        }
        
        }
        
        this.Airpod_StepPopItDry.OnNextAction = val_4;
        return;
        label_6:
    }
    public void AirPod_InitNextBtnClick()
    {
        var val_39;
        int val_39 = this.times;
        val_39 = val_39 + 1;
        this.times = val_39;
        System.Delegate val_2 = System.Delegate.Remove(source:  this.OnStepChange, value:  new System.Action<System.Int32>(object:  this, method:  System.Void GameSceneManager::ChangeLight(int pStep)));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_2;
        }
        
        }
        
        this.OnStepChange = val_2;
        System.Delegate val_4 = System.Delegate.Combine(a:  val_2, b:  new System.Action<System.Int32>(object:  this, method:  System.Void GameSceneManager::ChangeLight(int pStep)));
        if(val_4 != null)
        {
                if(null != null)
        {
            goto label_4;
        }
        
        }
        
        this.OnStepChange = val_4;
        this.AirPods_LightCreat();
        this.CurStep = 1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  1);
        }
        
        val_39 = null;
        val_39 = null;
        if(((GameSettingPrefs.StencilPaint == false) ? MissionManager.Instance.PrepareType : 3) > 6)
        {
                return;
        }
        
        var val_40 = 27634252 + (GameSettingPrefs.StencilPaint == false ? val_5 : 3) << 2;
        val_40 = val_40 + 27634252;
        goto (27634252 + (GameSettingPrefs.StencilPaint == false ? val_5 : 3) << 2 + 27634252);
        label_2:
        label_4:
    }
    public void InitNextBtnClick()
    {
        var val_29;
        int val_29 = this.times;
        val_29 = val_29 + 1;
        this.times = val_29;
        System.Delegate val_2 = System.Delegate.Combine(a:  this.OnStepChange, b:  new System.Action<System.Int32>(object:  this, method:  System.Void GameSceneManager::ChangeLight(int pStep)));
        if(val_2 != null)
        {
                if(null != null)
        {
            goto label_2;
        }
        
        }
        
        this.OnStepChange = val_2;
        this.LightCreat();
        this.CurStep = 1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  1);
        }
        
        val_29 = null;
        val_29 = null;
        if(((GameSettingPrefs.StencilPaint == false) ? MissionManager.Instance.PrepareType : 3) > 6)
        {
                return;
        }
        
        var val_30 = 27634280 + (GameSettingPrefs.StencilPaint == false ? val_3 : 3) << 2;
        val_30 = val_30 + 27634280;
        goto (27634280 + (GameSettingPrefs.StencilPaint == false ? val_3 : 3) << 2 + 27634280);
        label_2:
    }
    private void OnVipSelectNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepVipSelect.EndVipSelectStep();
        this.BeginFirstStep();
    }
    public void BeginFirstStep()
    {
        var val_19;
        var val_20;
        if((MissionManager.Instance.PrepareType.Equals(obj:  0)) != true)
        {
                if(MissionManager.Instance.PrepareType != 4)
        {
            goto label_5;
        }
        
        }
        
        val_19 = null;
        if(GameSettingPrefs.DayIndex == 1)
        {
                val_20 = null;
            if(GameSettingPrefs.SmallIndex == 1)
        {
                this.StepPaint.gameObject.SetActive(value:  true);
            this.StepPaint.PrepareToPaint();
            return;
        }
        
        }
        
        this.StepGlue.gameObject.SetActive(value:  true);
        this.StepGlue.ShowGlue();
        this.StepGlue.InitGlueStep();
        return;
        label_5:
        if(MissionManager.Instance.PrepareType == 1)
        {
                this.StepAcrylic.gameObject.SetActive(value:  true);
            this.StepAcrylic.PrepareAcrylic();
            return;
        }
        
        if(MissionManager.Instance.PrepareType == 2)
        {
                this.MarbleUIRoot.SetActive(value:  true);
            UnityEngine.Animator val_11 = GetComponent<UnityEngine.Animator>();
            val_11.Play(stateName:  MLStringDefine.AnimNameStage04);
            float val_12 = Util.animClipLength(pAnimator:  val_11, pClipName:  MLStringDefine.AnimNameStage04);
            MarblePhoneControl val_14 = gameObject.AddComponent<MarblePhoneControl>();
            this.MarblePaintingController.DoStepRequested(step:  1);
            return;
        }
        
        if(MissionManager.Instance.PrepareType == 5)
        {
                this._SelectLiquidGlitterBg.gameObject.SetActive(value:  true);
            this._SelectLiquidGlitterBg.OnStart();
            return;
        }
        
        if(MissionManager.Instance.PrepareType != 6)
        {
                return;
        }
        
        this._StepPopItPaint.gameObject.SetActive(value:  true);
        this._StepPopItPaint.OnGameStart();
    }
    public void AirPod_BeginFirstStep()
    {
        var val_9;
        var val_10;
        if((MissionManager.Instance.PrepareType.Equals(obj:  0)) == false)
        {
            goto label_3;
        }
        
        val_9 = null;
        if(GameSettingPrefs.DayIndex != 1)
        {
            goto label_9;
        }
        
        val_10 = null;
        if(GameSettingPrefs.SmallIndex != 1)
        {
            goto label_9;
        }
        
        this.AirPod_StepPaint.gameObject.SetActive(value:  true);
        this.AirPod_StepPaint.PrepareToPaint();
        return;
        label_3:
        if(MissionManager.Instance.PrepareType != 6)
        {
                return;
        }
        
        this.Airpod_StepPopItPaint.gameObject.SetActive(value:  true);
        this.Airpod_StepPopItPaint.OnGameStart();
        return;
        label_9:
        this.AirPod_StepGlue.gameObject.SetActive(value:  true);
        this.AirPod_StepGlue.ShowGlue();
        this.AirPod_StepGlue.InitGlueStep();
    }
    private void OnGlueNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepGlue.EndGlue();
        this.StepPaint.gameObject.SetActive(value:  true);
    }
    private void AirPod_OnGlueNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.AirPod_StepGlue.EndGlue();
        this.AirPod_StepPaint.gameObject.SetActive(value:  true);
    }
    private void OnGlueNextToStencilPaint()
    {
        int val_5 = this.CurStep;
        val_5 = val_5 + 1;
        this.CurStep = val_5;
        GameUIRoot.<Instance>k__BackingField.transform.Find(n:  "FloatBtn").gameObject.SetActive(value:  false);
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  this.CurStep);
        }
        
        this.StepGlue.EndGlue();
        this.StepPaint.gameObject.SetActive(value:  true);
    }
    private void OnGlueNextToInjection()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepGlue.EndGlue();
        this.StepInjection.gameObject.SetActive(value:  true);
        this.StepInjection.PrepareInjection();
    }
    private void OnPopItPaintNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this._StepPopItDry.gameObject.SetActive(value:  true);
    }
    private void AirPod_OnPopItPaintNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.Airpod_StepPopItDry.gameObject.SetActive(value:  true);
    }
    private void OnGlitterNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this._StepWaterGlitter.gameObject.SetActive(value:  true);
    }
    private void OnGlitterSelectBgNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepLiquidGlitter.gameObject.SetActive(value:  true);
    }
    private void OnPaintNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepPaint.EndPaint();
        this.StepDry.gameObject.SetActive(value:  true);
        this.StepDry.SetTool();
        UnityEngine.Coroutine val_4 = this.StartCoroutine(routine:  this.StepDry.PrepareDry());
    }
    private void AirPods_OnPaintNext()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.AirPod_StepPaint.EndPaint();
        this.AirPod_StepDry.gameObject.SetActive(value:  true);
        this.AirPod_StepDry.SetTool();
        UnityEngine.Coroutine val_4 = this.StartCoroutine(routine:  this.AirPod_StepDry.PrepareDry());
    }
    private void OnDryNext()
    {
        var val_4;
        int val_4 = this.CurStep;
        val_4 = val_4 + 1;
        this.CurStep = val_4;
        val_4 = null;
        val_4 = null;
        if(GameSettingPrefs.StencilPaint != false)
        {
                if(this.StepPaint.gameObject.activeSelf != false)
        {
                this.StepPaint.EndPaint();
        }
        
        }
        
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  this.CurStep);
        }
        
        this.StepDecoration.gameObject.SetActive(value:  true);
        this.StepDecoration.InitBubble();
    }
    private void AirPods_OnDryNext()
    {
        var val_4;
        int val_4 = this.CurStep;
        val_4 = val_4 + 1;
        this.CurStep = val_4;
        val_4 = null;
        val_4 = null;
        if(GameSettingPrefs.StencilPaint != false)
        {
                if(this.AirPod_StepPaint.gameObject.activeSelf != false)
        {
                this.AirPod_StepPaint.EndPaint();
        }
        
        }
        
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  this.CurStep);
        }
        
        this.Airpod_StepDecoration.gameObject.SetActive(value:  true);
        this.Airpod_StepDecoration.InitBubble();
    }
    private void OnAcrylicNext()
    {
        this.PXABText();
    }
    private void PXABText()
    {
        int val_1 = this.CurStep + 1;
        this.CurStep = val_1;
        if(this.OnStepChange != null)
        {
                this.OnStepChange.Invoke(obj:  val_1);
        }
        
        this.StepGlitter.gameObject.SetActive(value:  true);
        this.StepGlitter.PrepareGlitter();
    }
    public void OnEnd()
    {
        var val_10;
        var val_11;
        val_10 = null;
        val_10 = null;
        if(GameSettingPrefs.StencilPaint != false)
        {
                if(this.StepPaint.gameObject.activeSelf != false)
        {
                this.StepPaint.EndPaint();
        }
        
        }
        
        this.ShadowCamera.SetActive(value:  false);
        this.Plan.SetActive(value:  false);
        this.CanvasGroup.alpha = 0f;
        val_11 = null;
        if(GameSettingPrefs.DayIndex > 1)
        {
            goto label_13;
        }
        
        this.DoOverGame();
        goto label_31;
        label_13:
        if(MissionManager.Instance.PrepareType == 0)
        {
            goto label_16;
        }
        
        if(MissionManager.Instance.PrepareType != 2)
        {
            goto label_18;
        }
        
        this.OnMarbleResult();
        goto label_31;
        label_16:
        this.OnGlueResult();
        goto label_31;
        label_18:
        if(MissionManager.Instance.PrepareType == 1)
        {
                this.OnResultClick();
        }
        else
        {
                if(MissionManager.Instance.PrepareType == 4)
        {
                this.OnInjectClick();
        }
        else
        {
                if(MissionManager.Instance.PrepareType == 5)
        {
                this.OnLiquidGlitterResult();
        }
        else
        {
                if(MissionManager.Instance.PrepareType == 6)
        {
                this.OnPopItResult();
        }
        
        }
        
        }
        
        }
        
        label_31:
        ShortTimeHUD.Destroy();
    }
    public void AirPod_OnEnd()
    {
        var val_10;
        var val_11;
        val_10 = null;
        val_10 = null;
        if(GameSettingPrefs.StencilPaint != false)
        {
                if(this.AirPod_StepPaint.gameObject.activeSelf != false)
        {
                this.AirPod_StepPaint.EndPaint();
        }
        
        }
        
        this.ShadowCamera.SetActive(value:  false);
        this.Plan.SetActive(value:  false);
        this.CanvasGroup.alpha = 0f;
        val_11 = null;
        if(GameSettingPrefs.DayIndex > 1)
        {
            goto label_13;
        }
        
        UnityEngine.Animator val_4 = GetComponent<UnityEngine.Animator>();
        val_4.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_7 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_4, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<AirPod_OnEnd>b__164_0()));
        goto label_26;
        label_13:
        if(MissionManager.Instance.PrepareType == 0)
        {
            goto label_23;
        }
        
        if(MissionManager.Instance.PrepareType != 6)
        {
            goto label_26;
        }
        
        this.AirPod_sOnPopItResult();
        goto label_26;
        label_23:
        this.OnAirPod_GlueResult();
        label_26:
        ShortTimeHUD.Destroy();
    }
    private void OnResultClick()
    {
        this.PaintType = 6;
        this.SetCollider(pEnable:  false, pEnable2:  false);
        this.SceneLight02.SetActive(value:  true);
        this.SceneLight01.SetActive(value:  false);
        this.SceneLight01.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        transform.Find(n:  MLStringDefine.PhoneScreen).gameObject.SetActive(value:  true);
        this.ShowKeychainPopup();
    }
    private void OnInjectClick()
    {
        this.SetCollider(pEnable:  false, pEnable2:  false);
        this.SetCollider(pEnable:  false, pEnable2:  false);
        this.DragUi.GetComponent<UnityEngine.UI.Image>().raycastTarget = true;
        this.CanvasGroup.alpha = 0f;
        this.CanvasGroup.blocksRaycasts = false;
        transform.Find(n:  MLStringDefine.PhoneScreen).gameObject.SetActive(value:  true);
        UnityEngine.Animator val_5 = GetComponent<UnityEngine.Animator>();
        val_5.Play(stateName:  MLStringDefine.AnimNameStage02);
        LTDescr val_8 = LeanTween.delayedCall(delayTime:  Util.animClipLength(pAnimator:  val_5, pClipName:  MLStringDefine.AnimNameStage02), callback:  new System.Action(object:  this, method:  System.Void GameSceneManager::<OnInjectClick>b__166_0()));
    }
    public void OnHideInject()
    {
        this.StepInjection.gameObject.SetActive(value:  false);
    }
    public GameSceneManager()
    {
        this._3DSticker = new System.Collections.Generic.List<UnityEngine.GameObject>();
        this._2DSticker = new System.Collections.Generic.List<UnityEngine.GameObject>();
    }
    private void <OnPopItResult>b__14_0()
    {
        this._StepPopItPlay.gameObject.SetActive(value:  true);
        this._StepPopItPlay.Init(pAction:  new System.Action(object:  this, method:  public System.Void GameSceneManager::DoOverGame()));
    }
    private void <AirPod_sOnPopItResult>b__15_0()
    {
        this.AirPod__StepPopItPlay.gameObject.SetActive(value:  true);
        this.AirPod__StepPopItPlay.Init(pAction:  new System.Action(object:  this, method:  public System.Void GameSceneManager::AirPod_DoOverGame()));
    }
    private void <OnLiquidGlitterResult>b__16_0()
    {
        var val_4;
        this._StepWaterGlitter.ShowLift();
        if(MissionManager.Instance.PrepareType != 5)
        {
                return;
        }
        
        val_4 = null;
        if(GameSettingPrefs.GlitterMaker == false)
        {
                return;
        }
        
        LiquidGravitySensor val_3 = AddComponent<LiquidGravitySensor>();
    }
    private void <ShowKeychainPopup>b__18_0()
    {
        KeyChainTool.CreateKeyChainPopup(pOnOver:  new System.Action(object:  this, method:  public System.Void GameSceneManager::DoOverGame()));
    }
    private void <AirPod_ShowKeychainPopup>b__19_0()
    {
        this.AirPod_DoOverGame();
    }
    private void <AirPod_DoOverGame>b__28_0()
    {
        this.ParticleSystem.gameObject.SetActive(value:  false);
        this.AirPod_ResetScene();
    }
    private void <AirPod_OnEnd>b__164_0()
    {
        this.AirPod_DoOverGame();
    }
    private void <OnInjectClick>b__166_0()
    {
        this.StepInjection.SetLiftUi();
        this.StepInjection.SetGravitySensor();
    }

}