MCPcopy Create free account
hub / github.com/doldecomp/mkdd / flow_group_get_node

Function flow_group_get_node

tools/custom/decomp_switch.py:97–101  ·  view source on GitHub ↗
(group, addr)

Source from the content-addressed store, hash-verified

95
96
97def flow_group_get_node(group, addr) -> int:
98 for i in range(len(group)):
99 if group[i].addr == addr:
100 return i
101 return -1
102
103
104def build_flow(code) -> list[Flow]:

Callers 1

traverse_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected