//
// cocos2d::CCDirector::willSwitchToScene from 0x1800c3b40 to 0x1800c3b80 (64 bytes)
//
// 4 xrefs:
// > cocos2d::CCTransitionScene::hideOutShowIn @ 0x180056454
// > cocos2d::CCTransitionMoveInL::onEnter @ 0x1800577b8
// > ??> @ 0x18014cf68
// > ??> @ 0x1801c36f0
//
// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:22:26 +0000
//
void __fastcall cocos2d::CCDirector::willSwitchToScene(cocos2d::CCDirector *this, struct cocos2d::CCScene *a2)
{
void (__fastcall ***v3)(_QWORD); // rcx
void (__fastcall ***v4)(_QWORD); // rcx
if ( !*((_BYTE *)this + 404) )
{
v3 = *((void (__fastcall ****)(_QWORD))this + 45);
if ( v3 )
(**v3)(v3);
v4 = *((void (__fastcall ****)(_QWORD))a2 + 40);
if ( v4 )
(**v4)(v4);
}
}