You get half the proceeds AFTER the mortgage (and any costs of sale are paid). You and she both signed the mortgage (you cosigned for it): you are as liable as she is for the balance and also, the mortgage MUST be paid with the proceeds before the buyer can have good title. Unfortunately, that you paid more doesn't help you here, where you agreed to be liable for the mortgage, too.