#include <ua.hpp>
// Get the entry point address
ea_t addr = inf.startIP;
// Fill cmd with information about the instruction at the entry point
ua_ana0(addr);
// Loop through each operand (until one of o_void type is reached), displaying the operand text.
for (int i = 0; cmd.Operands[i].type != o_void; i++)
{
char op[MAXSTR];
ua_outop(addr, op, sizeof(op)-1, i);
msg("Operand %d: %s\n", i, op);
}







