Cook jasmine rice and let it cool (preferably refrigerate overnight).
Heat 1 tablespoon oil in a wok or large pan, scramble eggs until set; set aside.
Add another tablespoon of oil, stir-fry shrimp until pink and cooked through, set aside.
Add remaining oil, sauté onion until translucent, add snow peas and white parts of scallion.
Add rice, breaking up any clumps; stir-fry until heated through and slightly crispy.
Return shrimp and eggs to pan, season with salt, sugar, white pepper, soy sauce, and Shaoxing wine.
Mix well, drizzle with sesame oil, and toss with green parts of scallion before serving.