chore: remove dead code and stale comments

This commit is contained in:
xXJSONDeruloXx committed 2026-09-24 21:53:31 -04:00
1 parent 643d82e2fd
commit f21e84be91
17 files changed
+6 -492

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ def enc_len16(n):
return struct.pack('<H', n) if n < 0x8000 else struct.pack('<HH', 0x8000 | (n >> 16), n & 0xffff)
def rewrite(axml, repl):
ftype, fhs, fsize = struct.unpack_from('<HHI', axml, 0)
ftype, fhs = struct.unpack_from('<HH', axml, 0)
assert ftype == 0x0003, 'not binary XML'
sp = fhs
ctype, chs, csize, count, scount, flags, sstart, stystart = struct.unpack_from('<HHIIIIII', axml, sp)