Ps4 has burn marks but motherboard does not

Hey guys i just bought a broken ps4 to see if there was any way to repair it.I dissembled it and saw some burn marks here and there.Of course the problem seems to be the power supply which smells as if it has burned.My question is if you think that the motherboard could withstand such heat although it looks good in condition.Should i try buying a new power supply or its just too risky and should try something else?Thanks in advance for any answer!!