But what then could the piece circled in yellow be for? it looks sort of like a ratchet mechanism, but if i did engage it would stop the armrest going up.
May be to stop it falling down as you lift it up i think the whole thing works on a retaining spring and the ratchet acctualy hold the arm rest in the up position ..