![]() |
Super Mario 64 Source
A Super Mario 64 decompilation, brought to you by a bunch of clever folks.
|
Functions | |
def | print_hword (x) |
def | emit_cmd (key, op, cmd) |
def | emit_env_cmd (op, cmd) |
def | is_arg_command (cmd_args) |
def | gen_label (ind, tp) |
def | gen_mnemonic (tp, b) |
def | decode_one (state) |
def | decode_rec (state, initial) |
def | main () |
Variables | |
dictionary | commands = {} |
dictionary | commands_layer_base |
bool | print_end_padding = False |
dictionary | cmds = commands['layer_large'] |
list | eu = [] |
list | non_eu = [] |
dictionary | mn = cmds[op][0] |
filename = sys.argv[1] | |
parts = filename.split('/seq_') | |
lang = parts[0][-2:] | |
seq_num = int(parts[1].split('.')[0], 16) | |
data = f.read() | |
file | |
list | output = [None] * len(data) |
list | output_instate = [None] * len(data) |
list | label_name = [None] * len(data) |
list | script_start = [False] * len(data) |
bool | hit_eof = False |
list | errors = [] |
list | seq_writes = [] |
bool | force_large_notes = True |
list | decode_list = [] |
def seq_decoder.decode_one | ( | state | ) |
def seq_decoder.decode_rec | ( | state, | |
initial | |||
) |
def seq_decoder.emit_cmd | ( | key, | |
op, | |||
cmd | |||
) |
def seq_decoder.emit_env_cmd | ( | op, | |
cmd | |||
) |
def seq_decoder.gen_label | ( | ind, | |
tp | |||
) |
def seq_decoder.gen_mnemonic | ( | tp, | |
b | |||
) |
def seq_decoder.is_arg_command | ( | cmd_args | ) |
def seq_decoder.main | ( | ) |
def seq_decoder.print_hword | ( | x | ) |
dictionary seq_decoder.cmds = commands['layer_large'] |
dictionary seq_decoder.commands = {} |
dictionary seq_decoder.commands_layer_base |
seq_decoder.data = f.read() |
list seq_decoder.decode_list = [] |
list seq_decoder.errors = [] |
list seq_decoder.eu = [] |
seq_decoder.file |
seq_decoder.filename = sys.argv[1] |
bool seq_decoder.force_large_notes = True |
bool seq_decoder.hit_eof = False |
string seq_decoder.lang = parts[0][-2:] |
dictionary seq_decoder.mn = cmds[op][0] |
list seq_decoder.non_eu = [] |
seq_decoder.parts = filename.split('/seq_') |
bool seq_decoder.print_end_padding = False |
list seq_decoder.seq_writes = [] |