// // cocos2d::CCDirector::popScene from 0x5c377a to 0x5c37b8 (62 bytes) // // 1 xrefs: // > GJGarageLayer::onBack @ 0x4023da // // 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 // void cocos2d::CCDirector::popScene(cocos2d::CCDirector *a1) { int v2; // r2 bool v3; // r3 unsigned int v4; // r1 cocos2d::CCArray *m_pobScenesStack; // r0 cocos2d::CCDirector::checkSceneReference(a1); cocos2d::CCArray::removeLastObject(a1->m_pobScenesStack, 1, v2, v3); v4 = cocos2d::CCArray::count(a1->m_pobScenesStack); if ( v4 ) { m_pobScenesStack = a1->m_pobScenesStack; a1->m_bSendCleanupToScene = 1; a1->m_pNextScene = (cocos2d::CCScene *)cocos2d::CCArray::objectAtIndex(m_pobScenesStack, v4 - 1); } else { cocos2d::CCDirector::end(a1); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source