Consuming gum that has been washed with laundry detergent or bleach is not recommended. Laundry detergents and bleach contain chemicals that are not meant for ingestion and could potentially be harmful if ingested in significant amounts.
If you accidentally washed your hoodie with gum in the pocket, it's best to discard the gum and avoid consuming it. It's unlikely that the gum will be safe to consume after coming into contact with laundry products.
Additionally, if you have any concerns about your health or the safety of consuming something, it's always best to consult with a healthcare professional who can provide personalized advice based on your specific situation.