Preheat oven to 350°.
Combine first 3 ingredients in a large bowl; stir well with a whisk. Stir in onion, corns, and muffin mix. Pour into an 8-inch square baking dish coated with cooking spray. Bake at 350° for 1 hour or until pudding is set and lightly browned.