If a messed up snake can eat and pass waste and shed okay, sometimes they will be fine. I have a few myself that I've taken in from other people. However if there are issues in any of those areas then I would also think euthanasia is the best choice (which sounds like it to me in this case since it's having issues passing prey). What a shame for both the snake and that kid who only wanted to help.