list_hooks
View active memory hooks in game processes to monitor and analyze function calls, addresses, and descriptions for reverse engineering.
Instructions
List all active hooks.
Returns:
List of active hooks with addresses and descriptions.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Implementation Reference
- The handler function for the 'list_hooks' tool. It iterates over the global session's hooks dictionary and returns a list of active hooks with their addresses, types, and descriptions.def list_hooks() -> Dict[str, Any]: """ List all active hooks. Returns: List of active hooks with addresses and descriptions. """ hooks = [{"address": addr, "type": h.hook_type, "description": h.description} for addr, h in _session.hooks.items()] return {"count": len(hooks), "hooks": hooks}