Action name: SetOpTypeThis command allows you to specify the type of the operand under the cursor.
The operand type must be entered as a C declaration. Currently IDA itself does not use the operand type information. However, it can be used by the Hex-Rays decompiler plugin. Setting operand type is most useful in case of indirect calls: the decompiler will use the type information to determine the input parameters to the call instead of guessing, which can make the decompiled code better.
An example of a type declaration:
int (*func)(int param1, char param2);To delete a type declaration, enter an empty string.
For details on possible calling conventions, see Set function/item type... menu item description.
Set function/item type...