// // cocos2d::CCDirector::pushScene from 0x1004841a0 to 0x100484241 (161 bytes) // // 36 xrefs: // > DailyLevelPage::onTheSafe @ 0x100230ef4 // > MapPackCell::onClick @ 0x1002528a6 // > CommentCell::onGoToLevel @ 0x100254e95 // > GJScoreCell::onViewProfile @ 0x10025594d // > LevelListCell::onClick @ 0x10025954b // > UploadPopup::onBack @ 0x100282027 // > CreatorLayer::onSavedLevels @ 0x1002984d5 // > CreatorLayer::onLeaderboards @ 0x100298528 // > CreatorLayer::onGauntlets @ 0x1002989cb // > CreatorLayer::onFeaturedLevels @ 0x100298a26 // > CreatorLayer::onTopLists @ 0x100298ab4 // > CreatorLayer::onMapPacks @ 0x100298b06 // > CreatorLayer::onOnlineLevels @ 0x100298b6a // > CreatorLayer::onMyLevels @ 0x100298c3f // > CreatorLayer::onFameLevels @ 0x100299816 // > LevelInfoLayer::onGarage @ 0x1002c2692 // > GameManager::returnToLastScene @ 0x10038c002 // > WorldSelectLayer::onGarage @ 0x1003c25c2 // > GameLevelManager::gotoLevelPage @ 0x100538129 // > LevelSearchLayer::onSearch @ 0x10062a69c // > LevelSearchLayer::onSearch @ 0x10062a6f6 // > LevelSearchLayer::onSearchUser @ 0x10062a822 // > LevelSearchLayer::onMostDownloaded @ 0x10062aa05 // > LevelSearchLayer::onMostLikes @ 0x10062aa75 // > LevelSearchLayer::onSuggested @ 0x10062aae5 // > LevelSearchLayer::onTrending @ 0x10062ab55 // > LevelSearchLayer::onMostRecent @ 0x10062abc5 // > LevelSearchLayer::onMagic @ 0x10062ac35 // > LevelSearchLayer::onLatestStars @ 0x10062aca5 // > LevelSearchLayer::onFollowed @ 0x10062ad15 // > LevelSearchLayer::onFriends @ 0x10062ad85 // > LevelSearchLayer::onStarAward @ 0x10062adf5 // > ProfilePage::onMyLevels @ 0x1007be2a0 // > ProfilePage::onMyLevels @ 0x1007be3d2 // > ProfilePage::onMyLists @ 0x1007be481 // > ProfilePage::onMyLists @ 0x1007be5c2 // // 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::pushScene(cocos2d::CCDirector *a1, cocos2d::CCScene *a2) { bool m_bIsTransitioning; // bl cocos2d::CCScene *v3; // r15 __int64 v5; // rdx _BOOL8 v6; // rcx void *v7; // rax cocos2d::CCSceneDelegate *m_pAppDelegate; // rdi cocos2d::CCSceneDelegate *m_pDelegate; // rdi m_bIsTransitioning = a1->m_bIsTransitioning; if ( !m_bIsTransitioning ) { v3 = a2; a1->m_bSendCleanupToScene = 0; sub_10071FCD0(a1->m_pobScenesStack, a2); a1->m_pNextScene = a2; if ( !a2 || (a2 = (cocos2d::CCScene *)&`typeinfo for'cocos2d::CCScene, v7 = __dynamic_cast( v3, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0), LOBYTE(v6) = 1, !v7) ) { if ( !a1->m_bDontCallWillSwitch ) { m_pAppDelegate = a1->m_pAppDelegate; if ( m_pAppDelegate ) { a2 = v3; ((void (__fastcall *)(cocos2d::CCSceneDelegate *, cocos2d::CCScene *, __int64, _BOOL8))m_pAppDelegate->willSwitchToScene)( m_pAppDelegate, v3, v5, v6); } m_pDelegate = v3->m_pDelegate; if ( m_pDelegate ) ((void (__fastcall *)(cocos2d::CCSceneDelegate *, cocos2d::CCScene *, __int64, _BOOL8))m_pDelegate->willSwitchToScene)( m_pDelegate, a2, v5, v6); } LOBYTE(v6) = 0; } a1->m_bIsTransitioning = v6; } return !m_bIsTransitioning; }
GD Web Decomp Icon

GD Web Decomp

Raw Source