I have a 98 Pathfinder SE 4x4; in spring of 2010 the engine started making some clunking noises. The oil pan blew in the summer of 2010 cause my father left the car on and revved it (IDK why

), and right when he revved it after being on for an hour w/ clunking noises all I heard was some sort of loud gunshot so I ran outside and i see oil coming out from under my car and my dad just standing there. Now the car has just been sitting in the back since then, and I'm not sure if the engine is repairable or I should do a engine swap?