To a mixing bowl, combine the minced shrimp with the cream cheese, soy sauce, green onions, cilantro, garlic, ginger, cornstarch, black pepper, salt, red pepper flakes, and egg if needed. The consistency should be sticky and easily shapeable.
Shape the shrimp into a small ball with about 1 to 2 tablespoons of filling.
Coat each ball in the egg roll wrappers and press tightly so it adheres well.
Heat oil in a deep pan until it reaches 350°F.
Place the shrimp balls in the hot oil and fry until beautifully golden brown and cooked in the center. Make sure the heat is not too high or else the outside will brown before the center cooks.
Transfer to a wire rack to let any excess oil drain and then enjoy with sweet chili dipping sauce!