decomp: finish basebutton (#762)

* decomp: finish `basebutton`

* decomp: finalize `basebutton` and fix `evilbro`

* fix some methods / args
This commit is contained in:
Tyler Wilding
2021-08-22 23:16:55 -04:00
committed by GitHub
parent 9befd8ed03
commit 05648e0a96
22 changed files with 2402 additions and 125 deletions
+5
View File
@@ -36,6 +36,11 @@ with open(file_path) as f:
labels_with_no_type.remove(label)
next_label_will_be_lambda = False
break
# special case for pairs
if "(offset 2)" in line:
label_lines.append("[\"{}\", \"pair\", true]".format(label))
labels_with_no_type.remove(label)
break
# Check if the previous line has a `.type`
prev_line = content[i-1]
if ".type" in prev_line: