6Transfer the eggs to a bowl of ice water to stop the cooking process.
7In a bowl, prepare the marinade by combining 1/2 cup of mirin, 1/2 cup of dark soy sauce, 1 smashed garlic clove, 1 star anise, 1 tablespoon of brown sugar, 1/2 cup of water and 1/2 teaspoon of red chili flakes.
8Mix the marinade thoroughly.
9Add the eggs to the marinade, ensuring they are completely submerged.
10Cover the bowl with plastic wrap and let the eggs marinate for 36 hours.