Can I resolder this?
if pins from capacitor not broken you can resolder if broken you need new
if it from same board where chips dead you need new capacitor as it will be fail
That looks like a capacitor to me at it is a SMD (surface mount technologies) meaning it should be placed exactly on the spot it break off from and doesnt have any pins or legs extending from it . all you have to do is either use hot air soldering station or normal soldering iron add some flux and lead and put it back to its place .
it might sound hard but watch this video on how to solder
if you still feel doubt full go to a normal repair shop they will do it for you cheap .