Heat 1 tablespoon of the oil in a large nonstick skillet over medium-high heat until hot. Reduce the heat to medium. Combine the eggs with 1/8 teaspoon salt and 1/8 teaspoon pepper and pour into the skillet. Cook, stirring, until scrambled, about 1 minute. Break into small pieces and transfer to a bowl. Add another tablespoon of oil, the onion, and garlic to the pan; cook, stirring 2 minutes. Add the shrimp and peas; cook until the shrimp are cooked through, about 3 minutes. Transfer the mixture to the bowl with the eggs. Heat the remaining tablespoon oil in the same skillet over medium-high heat until hot. Add the rice and cook, stirring occasionally, until slightly crispy. Stir together the soy sauce, rice wine, ginger, and sesame oil; add to the rice in the skillet along with the shrimp, peas, and egg. Cook just until the egg is heated through and serve.