Frame Question

Hi all, thanks for such a great forum with so much information!

I have a question I’m hoping someone can help me with. I currently have a 2004 predator that I have done extensive mods to including a gusseted frame. I blew it up some years ago and it has been sitting. I have priced fixing the engine but it needs a lot of bottom end work so the cost is high. I am looking at used machines and putting my parts on them. I was wondering if I bought a used 2005 if the engine would still fit my frame from my ’04? I would like the ’05 engine because of the close ratio, improved shifting and reverse! just not sure if my frame will work with it! Thanks for any info!

Adam