plumbers,carpenters, need some help

I have ran into glued floors many times. Cut out all the rotten while leaving half of the stud exposed so you have something to nail to and replace the bad. I always like to add blocks across the studs so I have something to nail to on all four sides.

Some pictures may help us help you.