The macros can be found in the corresponding .generated.h file, search for GENERATED_BODY or GENERATED_BODY_LEGACY. I don’t understand what is going on fully though
The GENERATED_BODY macro simply redirects you to one of the macros in the .generated.h file - it contains to code itself. For the definition of GENERATED_BODY look in ObjectMacros.h