Use the controller object's geometry to influence hook
If I understand correctly, what you could do is:
Create cube 1 and 2. In cube 1 select the vertex that is supposed to be the parent, assign it to a vertex group. Back to Object mode, put the 3D cursor on this point, create an empty, give it a Copy Location constraint with cube 1 as Target and the vertex as Vertex Group.
Now select the empty, shift select cube 2, go in Edit mode, select the vertex that is supposed to be the child, press CtrlH &gt; Hook to Selected Object. It should work.