Code
for (int i = 0; i < sizeof(used_assets) / sizeof(used_assets[0]); i++) {
This GPT-generated code clearly does not know how the Zorro macros work. It seems to think the macro is a struct.

You should discipline your GPT.