I think the 'NPN' is more likely to be a logic-level N-channel MOSFET, given the appearance of that LED array. The array looks quite current-hungry.
Whatever that IC is, you could replace it with a 555 and re-route the connections appropriately.
As for why the circuit fried, it could be that the...