Ask a car detailer about ozone treatment. They usually offer it as a service to get smells out of cars.
Wipe the guitar down with pure naphtha first several times with clean cloth and clean naphtha each time. Then ozone it.
Ammonia based cleaners like Glass Plus really cut through tobacco goo, but aren’t safe for many guitar finishes. But ok on plastics and plated metals.
A semi-hollow will be hard to clean the inside, hence ozone treatment is the best option.
The case will be more difficult to deodorize. All the soft materials absorb odors. Fairly easy to replace though.