Broke the pins off what? The cpu fan header? The bottom of the cpu? The cpu cooler?
99.9% of the time, whatever you broke pins off of will need replacing, pc's are sorta like a car engine, you can swap out some things, but if you crack the block or the heads, throw a rod, twist a valve, snap the crank then you are done for, need a new motor. So if you broke off the cpu header pins then new mobo. If you broke the cpu pins, new cpu. If you broke the cpu cooler, new cooler. You won't be able to JBWeld on a band-aid.