get_loc_len
u32 maxlen = get_loc_len(loc);
int maxlen = get_loc_len(*(u32 *)dest);
int maxlen = get_loc_len(*(u32 *)dest);
int maxlen = get_loc_len(*(u32 *)dest);
int maxlen = get_loc_len(loc);