Um... Take a lot of programmer time and mix with a lots of hard work and eventually you will reverse engineer it :).
This is what we have done with the RMS and RiverCAD products. There really is no documentation for it, especially since the HEC-RAS engine source code was (and is) not released to the public domain.
If you want to contact our management, perhaps there is some interest in commercializing your product (or idea) within RMS / RiverCAD product. We have done this quite a bit with our user's suggestions. This is how we can make RMS / RiverCAD a cutting edge product.
Sincerely,
Chris E. Maeder, M.S.
Senior Technical Engineer
chris.maeder@bossintl.com