Ensure the cooked jasmine rice is cold and separated. If the rice is fresh, spread it out on a tray to cool down and dry out a bit.
Heat vegetable oil in a large wok or frying pan over medium-high heat.
Add the diced chicken or tofu and cook until golden brown and cooked through. Remove from the pan and set aside.
In the same pan, add a little more oil if needed. Sauté the minced garlic and chopped onion until fragrant and softened.
Add the diced red bell pepper and carrot, and cook for another 2-3 minutes until tender.
Add the peas and cook for an additional 1-2 minutes.
Push the vegetables to one side of the pan. Pour the beaten eggs into the empty space and scramble until fully cooked. Mix the eggs with the vegetables.
Add the cold rice to the pan, breaking up any clumps. Stir to combine with the vegetables and eggs.
Pour in the soy sauce, oyster sauce, kecap manis (or sweet soy sauce), sambal oelek (or chili paste), and ground white pepper. Toss everything together until the rice is evenly coated with the sauces and everything is heated through.
Add the cooked chicken or tofu back into the pan and mix well.
Garnish with chopped green onions and fresh cilantro.
Enjoy your meal!