Static binding takes place during compilation - function calls are replaced with an instruction saying "go here for the appropriate function definition".
Update: That is for virtual functions. For non-virtual functions it should be known which function to call already after overload resolution ... https://en.cppreference.com/w/cpp/language/overload_resolution
... which I guess is part of the "semantic analysis" phase.