wrong export if enum as flags have more than 30 values (original) (raw)

Describe the bug
If add more than 30 values (31 or 32) to enum when checked "Allow multiple values" (act ass flags) exported to json values are wrong.
There is possible overflow on 30 bit.

Question
Why only 32 values if we have today 64 bit computers? Is there any masochist here who programs games on 32 bit windows? 😏

To Reproduce

Expected behavior
right export or unable to add more than 30 values as flags

Specifications: