To prepare the bean curd stir fried with mushrooms and broccoli rice, you'll first need to prepare your ingredients. In a large skillet, heat the oil over medium-high heat. Add the onion and garlic and saute until the onions are translucent and the garlic is fragrant, about 2 minutes. Remove the pan from the heat and add the mushroom mixture and stir-fry for 1 minute. Stir in the soy sauce, sugar, salt, and pepper. Cook the mixture for 2 to 3 minutes, or until it's slightly thickened, then stir it in with the broccoli.