mirror of
https://github.com/zeldaret/tww.git
synced 2026-07-07 05:14:58 -04:00
Fix tww_class_to_cpp not working for pyghidra
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user