// // cocos2d::CCDirector::popSceneWithTransition from 0x1800bebf0 to 0x1800beccf (223 bytes) // // 2 xrefs: // > @ 0x1801438a8 // > @ 0x1801b9228 // // 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 // char __fastcall cocos2d::CCDirector::popSceneWithTransition( cocos2d::CCDirector *this, float a2, enum cocos2d::PopTransition a3) { int v6; // eax cocos2d::CCArray *m_pobScenesStack; // rcx struct cocos2d::CCString *v8; // rax cocos2d::CCScene *v9; // rax if ( this->m_bIsTransitioning ) return 0; if ( this->m_pSceneReference && this->m_pSceneReference == cocos2d::CCArray::lastObject(this->m_pobScenesStack) ) this->m_pSceneReference = nullptr; cocos2d::CCArray::removeLastObject(this->m_pobScenesStack, 1u); v6 = cocos2d::CCArray::count(this->m_pobScenesStack); if ( v6 ) { m_pobScenesStack = this->m_pobScenesStack; this->m_bSendCleanupToScene = 1; v8 = cocos2d::CCArray::stringAtIndex(m_pobScenesStack, v6 - 1); this->m_pNextScene = (cocos2d::CCScene *)v8; if ( a3 == kPopTransitionMoveInT ) v9 = cocos2d::CCTransitionMoveInT::create(a2, (struct cocos2d::CCScene *)v8); else v9 = cocos2d::CCTransitionFade::create(a2, (struct cocos2d::CCScene *)v8); this->m_pNextScene = v9; this->m_bIsTransitioning = 1; return 1; } else { this->m_bPurgeDirecotorInNextLoop = 1; return 1; } }
GD Web Decomp Icon

GD Web Decomp

Raw Source