mirror of
https://github.com/farisawan-2000/kirby64.git
synced 2024-11-23 13:20:03 +00:00
11 lines
204 B
Python
11 lines
204 B
Python
import sys
|
|
name = sys.argv[1]
|
|
size = int(sys.argv[2], 16)
|
|
|
|
print("struct "+name+" {")
|
|
counter = 0
|
|
while size >= 0:
|
|
print(" u32 unk"+str(hex(counter))[2:].upper()+";")
|
|
counter+=4
|
|
size-=4;
|
|
print("};") |