Rinse the chicken legs and let them dry or pat them dry with paper towels. Put the rice in the rice cooker's inner container. Wash the rice 2 to 3 times, then drain it.
Cut the onion in half, mince the garlic, and crush the ginger.
Puncture the chicken using the needle meat tenderizer.
Season the legs with sugar, soup powder, garlic powder, and pepper. Mix well and marinate the chicken for 15 to 30 minutes.
Place the marinated chicken in a pot and pour in water, along with the onion, scallions, and ginger. Cover the pot and boil the chicken for 20 minutes over medium heat.Once the legs are cooked, remove them from the pot using tongs. Let them dry, or pat them dry with paper towels. Pour the chicken's boiling water through a sieve into the rice cooker's pot. The water-to-rice ratio should be 1:1. Add star anise, turmeric powder, and salt to the pot. Mix everything well and place the pot into the rice cooker. Cook the rice in standard mode, which takes about 30 to 45 minutes. Pour vegetable oil into a heated pan, add the chicken legs and fry until crispy.
Use a ladle to scoop and pour hot oil over the legs constantly. Keep doing this until the chicken crisps up to your liking, then remove them from the heat. When the rice is cooked, take it out of the cooker and let it cool.
Fry the garlic in cashew oil until fragrant and golden, then set aside. Add the rice to the same pan and fry it on medium heat for 5 to 10 minutes, stirring frequently.
Mix the sate sauce with soy sauce, chili sauce, and brown sugar until well combined.
Enjoy the dish while it's still hot!