mirror of
https://github.com/pret/pmd-sky.git
synced 2026-03-22 09:45:18 -05:00
9 lines
137 B
Python
9 lines
137 B
Python
import sys
|
|
|
|
with open(sys.argv[1], 'rb') as fp:
|
|
data = fp.read()
|
|
x = data.find(b'\x21\x06\xc0\xde')
|
|
if x != -1:
|
|
x -= 28
|
|
print(x)
|