You want to iterate over the members of a ustruct and extract the value of each member, correct?
You want to use FYourStruct::StaticClass() as the base. The first child property is the Children property of that struct. That’s a linked list of children, to the second property is Children->Next. The third is Children->Next->Next. Etc.
You want to cast these children to a UProperty object, see this:
The fields of struct is static. I can’t iterate by the fields like a dict in Python.
And while iterating, code don’t know anything about types. Casting void to specified “FStructType” is not good idea.