Heat 1 tablespoon oil in a wok or large skillet over medium-high heat.
Add eggs and scramble quickly. Once cooked, remove and set aside.
Add remaining oil to the pan. Add garlic and peas. Stir-fry for 1–2 minutes until fragrant.
Add cold rice. Break apart any clumps with a spatula and stir-fry for 3–4 minutes until heated through and slightly crisp.
Pour in soy sauce, sesame oil (if using), and season with salt and pepper. Stir to coat evenly.
Add cooked eggs back to the pan and stir to combine.
Toss in green onions. Serve hot.