Enum values are now explicitly defined in the header dump, also fixed a minor typo in a cast, it doesn't effect functionality at all.