-- @/=[C]:-1
function findObjectsByNameMask(...)
if whatSetPtr[0] == 1 and filterStr ~= "" then
objectIds = Sim.findObjectsByNameMask(ffi.string(imgui.TextFilter_GetInputBuf(filter)), matchInternalName, useGeneratedNamePtr[0])
elseif whatSetPtr[0] == 0 then