Since this is described as a condo I will presume none of the purchase price was allocated to land and no asset is on the books for land. Also, I will use in my example only the condo building and no other assets as part of the purchase (even though in some cases there may be both real property, a building, and other personal property, furniture or landscaping or fences or other, that may be part of a purchase.
The HUD-1 has a contract (or sales) price and also has a column for expenses paid by each the buyer and the seller. HUD-1 page 2 has a total of the expenses at the bottom for each party. Most of the page 2 expenses are part of the cost basis of the property except for any items that were reserves and for any currently deductible expenses, such as property taxes paid.
If you take the total of the contract price and the total expenses less any reserves that will likely be the total cost basis (unless there were some HUD-1 items currently deducted). There may or may not be expenses that are Paid Outside Closing and those may or may not have been noted on the HUD-1 - usually as a note next to the description marked as POC and these are not listed in the column.
HUD-1 page 1 has a section of items paid by or for each other. If items are paid by the seller for the buyer those would reduce the cost basis or the expense from page 2. Items paid by the buyer for the seller will increase the expense taken or the cost basis.
All of that was just to allow you to get a figure from the HUD-1 to compare to the assets that were recorded for the sale since you were not confident that the purchase was recorded properly. This figure is your cost basis and should be the total recorded as the purchase price of the asset(s).
You must continue to take depreciation expense for the part of the year that you owned the asset in the method and convention for that asset. For example, if the building was straight line depreciation and midmonth convention (as usual) and you had 1200 depreciation expense per year in a prior full year you would take a fraction equal to the middle of the month is was disposed. For selling in May you would take 4 1/2 months ( or 4.5/ 12 times 1200 full year ). Depreciation expense and accumulated depreciation are recorded in the usual manner.
The sale of the asset is recorded by decreasing the asset account and the accumulated depreciation for the totals for the asset sold and increasing cash by the net from the sale. The difference will be recorded as gain on the P&L, often as an Other Income account so as to be distinguishable as a one time event on the P&L.
I hope these additional answers are useful as you work through recording the sale of the asset. You may want to consider a consultation with a local tax practitioner that could look at the actual HUD-1 and journals to verify that the entries are correct using your particular figures.