local fn = _gn(0xf8e03db8)
--- This alternative implementation of [`GetWaterQuadAtCoords`](#\_0x17321452) also checks the height of the water level.
-- @param x The X coordinate
-- @param y The Y coordinate
-- @param z The water level inside the water quad
-- @return The water quad index at the given position. Returns -1 if there isn't any there. Also returns -1 if the given point is above the water level.
function Global.GetWaterQuadAtCoords_3d(x, y, z)
	return fn(x, y, z, _ri)
end
