I'm sorry to hear that.
From my own experience (20 year alcoholism, 30 years pot and ministrokes in detox) it took a long time for my cognitive faculties to come back in full, but they did. The Brain is very adept at repairing itself and training other parts of the brain to take over functions.
Do not give up hope
.