If you did a CPU upgrade, it'd have to be something with at least a 4th Gen Intel processor but given that it's 2025 and that Windows 10 support is winding to a close towards the end of this year, you'd be best served by going with a 8th/9th Gen Intel processor or Ryzen 5 3600 as a cheap option(if you can come across a bundle).
Out of curiosity, is the issue you speak of confined to one game title? I noticed you've mentioned part of your specs in your sig space. We advise users to state their specs int he thread's body since sig space specs can and will change over time. When that happens it can and will render this thread and it's suggestions moot to the end user in the same boat as you're in now.
Please list the specs to your build...