Convert the string *p to an address stored in *ea if it exists within the currently disassembled file(s), return true on success. This function is defined in kernwin.hpp.
Examples:
#include <kernwin.hpp>
// Just some random address
char *addr_s = "010100F0";
ea_t addr;
// If 010100F0 is in the binary, print the address
if (str2ea(addr_s, &addr, 0))
msg("Address: %a\n", addr);