That actually looks like a pretty good floor to me ! Give it another good brush, put a screw in anything that’s loose or squeaks, then a quick coat of 3:1 water:SBR. Put down your 6mm Hardie, on top of a bed of Adhesive that’s been trowelled on with a 6mm notch. ‘Screw as you go’ with 25mm...