wtf are you talking about, schizo? The whore did not appear after they both went invisible
according to your special needs logic, Sanji went invisible and was exhausting himself for no reason. He just happened to get lucky that a whore came and happened to be lucky that Queen had a grudge against her. Otherwise if not for her appearing, he would've just exhausted and collapsed for no reason whatsoever.
While I'm saying that Sanji was mocking Queen's invisibility which was part of Germa tech, and was preparing to do Ifrit Jambe. While the whore appearing only made Sanji realize that he did not hurt her and it was Queen who did.