import sys sys.path.insert(0, r"k:\mcp\GhidraMCP") import bridge_mcp_ghidra as bridge comments = { "1180:0000": ( "Live re-anchor for raw 0007:ba00 watch_entity_controller_create_global. " "The current live NE build exposes this family more concretely as Camera_Init / Camera_CreateProcess " "rather than under the older watch-entity-controller label." ), "1180:0045": ( "Live re-anchor for raw 0007:ba45 watch_entity_controller_create. " "This family now reads as the camera-process create path: allocates the process object, stores the global at 0x2bd8, and seeds the process-name row at 0x2be4." ), } for address, comment in comments.items(): print(bridge.set_decompiler_comment(address, comment)) print(bridge.get_function_by_address(address)) print()