Fix tww_class_to_cpp not working for pyghidra

This commit is contained in:
LagoLunatic
2026-01-23 21:44:10 -05:00
parent 9cc61c4058
commit e28808ad39
+1 -1
View File
@@ -57,7 +57,7 @@ undefined_member_name_prefix = "field_0x"
# undefined_member_name_prefix = "m"
out_lines = []
for i in range (struct.numComponents):
for i in range (struct.getNumComponents()):
data_type = str(struct.getComponent(i).getDataType().getName())
offset = struct.getComponent(i).getOffset()
hex_offset_string = str("%0*X" % (offset_pad_size, offset))