A mafʿūl maʿahu follows wāw of accompaniment and describes what accompanies the action or its participant.
The book gives four cases based on overt versus implicit verbal sense and permissibility of coordination.
Not every wāw is accompaniment, not every accusative noun is a direct object, and not every kasra indicates genitive case.