@buherator not much of it, I'm afraid. And no decompiler stuff as I did not have a license...
There's some struct-stuff in https://github.com/tmr232/Sark/blob/main/sark/structure.py that maybe relevant?
Truth be told, I didn't touch that code (or IDAPython, or IDA) in years...
@buherator now that I spent a few minutes thinking about this code it seems I remember way too much details about it...