findNodes(dtPolyRef id, dtNode** nodes, const int maxNodes) would be more in style with Detour.