public override void Initialize()
    {
        object[] array = GameSection.GetEventData() as object[];
        item = (array[0] as SortCompareData);
        num  = (int)array[1];
        List <SortCompareData> list = new List <SortCompareData>();

        list.Add(item);
        if (MonoBehaviourSingleton <GameSceneManager> .I.GetHierarchyList().Exists((GameSectionHierarchy.HierarchyData x) => x.section.get_name() == "ItemStorageSell"))
        {
            GameSection.SetEventData(new object[3]
            {
                ItemStorageTop.TAB_MODE.MATERIAL,
                list,
                GO_BACK.SELL
            });
        }
        else
        {
            GameSection.SetEventData(new object[3]
            {
                ItemStorageTop.TAB_MODE.MATERIAL,
                list,
                GO_BACK.TOP
            });
        }
        base.Initialize();
        m_isRareConfirm = false;
        list.ForEach(delegate(SortCompareData sort_data)
        {
            if (!m_isRareConfirm && GameDefine.IsRareLithograph(sort_data.GetRarity()))
            {
                m_isRareConfirm = true;
            }
        });
    }