The impact on cognitive function can vary depending on the tumor's location and the extent of surgical intervention. Some patients may experience temporary or permanent changes in memory, attention, or other cognitive abilities. Your neurosurgeon can provide more specific information based on your case.