you got the basic part right - ого or его when it is a genitive adjectival ending or used to be one! the г is pronounced /v/. I'm not sure where dragonbreath heard нечего pronounced with a /g/ there....