You're making two extremely incorrect assumptions here:
The max HP limit is not 9999, it's 255.
The max HP limit, therefore, is contained in a byte, and not a dword.
The amount of work you'd have to put in to achieve what you want is so astronomically large that you should honestly not even...