First off, you should not use 2D equation for a dam (see below).
To answer the breach question, it uses the weir coefficient you specify in the breach input window.
If you do have overtopping of a Dam, the weir equation would be the better option to use than 2D equation anyway as that type of flow fails to meet the shallow water equations assumptions. It is more like a waterfall. This would be similar to any large levee that over tops.
The 2D Users Manual states this specifically on page 3-67.