import sys sys.path.insert(0, r"k:\mcp\GhidraMCP") import bridge_mcp_ghidra as bridge comment = ( "Current best live read: compact shared SpriteNode constructor. " "The body allocates 0x34 bytes, stamps the 0x501a node vtable, and initializes the core link/offset lanes; " "current direct callers are overwhelmingly GumpCreate_* wrappers, which supports treating this as the base node " "constructor used by higher-level UI/gump objects rather than a one-off derived leaf." ) print(bridge.set_decompiler_comment("1360:036a", comment)) print(bridge.get_function_by_address("1360:036a"))