For the complete documentation index, see llms.txt. This page is also available as Markdown.
hx_AddCast
Description
This command overrides the pointer type of the current expression. It appears in the context menu when the cursor is on an expression with a pointer type.
The user is prompted to enter a new type as a C type declaration. The specified type must be a pointer type; otherwise, an error is displayed. To remove a previously set pointer cast, clear the declaration and press OK.
The pointer cast is stored in the database and reapplied each time the function is decompiled.