ColorMod layout from the Lua Color getters; Entity._splatColor; embed small/placeholder structs (EntityPtr)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
shweetandClaude Opus 5.5 committed 2026-10-24 23:08:54 -04:00
1 parent 78730f0352
commit d806b3b969
3 files changed
+66 -24

No files matched your search

+1 -1
View File
@@ -28,7 +28,7 @@ public class ApplyTypes extends GhidraScript {
case "Vector": return vec;
}
DataType d = dtm.getDataType(new CategoryPath("/"), t); // embedded struct built by an earlier pass
return d instanceof Structure && d.getLength() >= 0x20 ? d : null;
return d instanceof Structure && d.getLength() >= 4 ? d : null; // placeholder structs (EntityPtr) too: a name beats field_0x
}
void addFields(StructureDataType s, String cls, int depth) {