mirror of
https://github.com/zeldaret/botw
synced 2026-05-23 06:54:18 -04:00
tools: Sort decomp symbols by address
Makes it less tedious to add several decompiled functions to the function list
This commit is contained in:
@@ -22,7 +22,7 @@ config: dict = dict()
|
||||
diff_settings.apply(config, {})
|
||||
myimg: str = config["myimg"]
|
||||
|
||||
entries = [x.strip().split() for x in subprocess.check_output(["nm", myimg], universal_newlines=True).split("\n")]
|
||||
entries = [x.strip().split() for x in subprocess.check_output(["nm", "-n", myimg], universal_newlines=True).split("\n")]
|
||||
|
||||
for entry in entries:
|
||||
if len(entry) == 3:
|
||||
|
||||
Reference in New Issue
Block a user