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

Function parse_imm

tools/custom/decomp_switch.py:90–94  ·  view source on GitHub ↗
(imm)

Source from the content-addressed store, hash-verified

88
89
90def parse_imm(imm) -> int:
91 imm = imm.casefold()
92 if imm.startswith("0x"):
93 return int(imm[2:], 16)
94 return int(imm)
95
96
97def flow_group_get_node(group, addr) -> int:

Callers 1

build_flowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected