Here is the Exploded View of the Shimano M785 rear hub. Note that the right, drive side uses 13 loose ball bearings size 3/16 inch. The left, non-drive side also uses 3/16 inch bearings but they are contained in a plastic bearing retainer. You can certainly use loose balls on that side too. Simply fill the race to capacity and then remove one ball. You're likely to use 13 loose balls there or a count of 11 in the retainer.
If it the actual freehub body you wish to service, you should know that Shimano states that their freehub bodies are not serviceable but are sold as replacement parts. Googling "freehub body for FH-M785" yields many results from a variety of sellers for this particular freehub body. It's a part common to several medium to high tier Shimano hubs.
While Shimano states the body is not serviceable, it can, in fact be opened by taking the dust cap off and then removing the bearing race. The race for the axle bearings is the cone for one set of internal bearings. This race has 2 notches a special tool must interface with and the threading is left-handed so to remove this part to access the inner body you would turn the removal tool clockwise. This piece is typically very difficult to remove as it is very tight, the notches don't allow a good deal of purchase. It's very easy to damage both the dust seal and this notched race/come.
Once the notched piece is removed you'll encounter two levels of loose ball bearings and also the pawls, which engage a ring of teeth to propel you forward during a pedal stroke. The most common size of loose ball bearings in Shimano freehub bodies is 1/8 inch. There are 25 bearings in each level of the internal races. You can determine the size of the bearings from your hub by using a caliper. With many loose ball bearing systems, the appropriate number of bearings is completely full race minus one ball. This leaves room for the balls to rotate somewhat freely, grease to move between them and do its thing. My guess is you have 50, 1/8 inch balls to replace.
Here is a video showing the step by step overhaul of a Shimano freehub body. I don't believe it's stated what model of hub it's from, but it appears quite similar to the M785, which, again, is used on several other Shimano model numbers.