// // cocos2d::CCDirector::popSceneWithTransition from 0x10017616c to 0x10017623c (208 bytes) // // 1 xrefs: // > GameManager::safePopScene @ 0x10031d86c // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // bool __fastcall cocos2d::CCDirector::popSceneWithTransition( cocos2d::CCDirector *a1, float a2, cocos2d::PopTransition a3) { bool m_bIsTransitioning; // w21 bool *p_m_bIsTransitioning; // x22 int v8; // w0 cocos2d::CCScene *v9; // x0 cocos2d::CCScene *v10; // x0 p_m_bIsTransitioning = &a1->m_bIsTransitioning; m_bIsTransitioning = a1->m_bIsTransitioning; if ( !m_bIsTransitioning ) { if ( a1->m_pSceneReference && a1->m_pSceneReference == (cocos2d::CCScene *)sub_10024A398(a1->m_pobScenesStack) ) a1->m_pSceneReference = nullptr; sub_10024A430(a1->m_pobScenesStack, 1); v8 = sub_10024A36C(a1->m_pobScenesStack); if ( v8 ) { a1->m_bSendCleanupToScene = 1; v9 = (cocos2d::CCScene *)sub_10024A388(a1->m_pobScenesStack, (unsigned int)(v8 - 1)); a1->m_pNextScene = v9; if ( a3 == kPopTransitionMoveInT ) v10 = cocos2d::CCTransitionMoveInT::create(a2, v9); else v10 = cocos2d::CCTransitionFade::create_1(a2, v9); a1->m_pNextScene = v10; } else { p_m_bIsTransitioning = &a1->m_bPurgeDirecotorInNextLoop; } *p_m_bIsTransitioning = 1; } return !m_bIsTransitioning; }
GD Web Decomp Icon

GD Web Decomp

Raw Source