// // cocos2d::CCDirector::popSceneWithTransition from 0x100484440 to 0x100484512 (210 bytes) // // 1 xrefs: // > GameManager::safePopScene @ 0x10038c2dc // // 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; // bl int v4; // eax cocos2d::CCScene *v5; // rax cocos2d::CCScene *v6; // rax bool *p_m_bIsTransitioning; // r14 m_bIsTransitioning = a1->m_bIsTransitioning; if ( !m_bIsTransitioning ) { if ( a1->m_pSceneReference && a1->m_pSceneReference == (cocos2d::CCScene *)sub_1007200E0(a1->m_pobScenesStack) ) a1->m_pSceneReference = nullptr; sub_100720200(a1->m_pobScenesStack, 1); v4 = sub_100720070(a1->m_pobScenesStack); if ( v4 ) { a1->m_bSendCleanupToScene = 1; v5 = (cocos2d::CCScene *)sub_1007200C0(a1->m_pobScenesStack, (unsigned int)(v4 - 1)); a1->m_pNextScene = v5; if ( a3 == kPopTransitionMoveInT ) v6 = cocos2d::CCTransitionMoveInT::create(a2, v5); else v6 = cocos2d::CCTransitionFade::create_1(a2, v5); a1->m_pNextScene = v6; p_m_bIsTransitioning = &a1->m_bIsTransitioning; } else { p_m_bIsTransitioning = &a1->m_bPurgeDirecotorInNextLoop; } *p_m_bIsTransitioning = 1; } return !m_bIsTransitioning; }
GD Web Decomp Icon

GD Web Decomp

Raw Source