Heat 1 tablespoon of oil in a large skillet or wok over medium-high heat.
Scramble the eggs until just cooked and transfer them to a plate.
Add the remaining oil to the skillet.
Sauté the garlic and onion for about 1 minute.
Add the carrots and cook for 2–3 minutes until slightly tender.
Stir in the peas and cook for another minute.
Add the cold cooked rice and break up any clumps.
Stir-fry for 3–4 minutes until the rice is heated through.
Add the soy sauce, oyster sauce, sesame oil, and white pepper.
Mix well until the rice is evenly coated.
Return the scrambled eggs to the pan.
Stir in the sliced green onions.
Taste and adjust salt if needed.
Garnish with sesame seeds and serve hot.