// // cocos2d::CCDirector::replaceScene from 0xad6d88 to 0xad6e78 (240 bytes) // // 87 xrefs: // > MenuLayer::onPlay @ 0x5c2dc8 // > MenuLayer::onCreator @ 0x5c2e20 // > MenuLayer::onGarage @ 0x5c2e78 // > LoadingLayer::loadingFinished @ 0x5c4468 // > LoadingLayer::loadingFinished @ 0x5c448c // > GameManager::reloadMenu @ 0x5e8014 // > GameManager::reloadAllStep5 @ 0x5e8110 // > GameManager::reloadAllStep5 @ 0x5e8134 // > GameManager::safePopScene @ 0x5ee418 // > GameManager::reloadAll @ 0x5ee4d0 // > GameManager::returnToLastScene @ 0x5f1078 // > GameManager::returnToLastScene @ 0x5f115c // > GameManager::returnToLastScene @ 0x5f11c4 // > GameManager::returnToLastScene @ 0x5f1208 // > GameManager::returnToLastScene @ 0x5f122c // > LevelListCell::onClick @ 0x60adf4 // > CreatorLayer::onBack @ 0x6ca7c0 // > CreatorLayer::onSecretVault @ 0x6cb018 // > CreatorLayer::onTreasureRoom @ 0x6cb660 // > LevelSearchLayer::onSearchMode @ 0x6d31ac // > LevelInfoLayer::playStep4 @ 0x6d56c0 // > LevelInfoLayer::onBack @ 0x6d5a54 // > LevelInfoLayer::onPlayReplay @ 0x6d9280 // > LevelInfoLayer::onClone @ 0x6d93e4 // > EditLevelLayer::playStep3 @ 0x6ddf30 // > EditLevelLayer::onTest @ 0x6e2528 // > EditLevelLayer::onEdit @ 0x6e2c00 // > EditLevelLayer::onBack @ 0x6e2d60 // > EditLevelLayer::onClone @ 0x6e2f30 // > UploadPopup::onReturnToLevel @ 0x6e3868 // > LevelBrowserLayer::createNewLevel @ 0x6e9408 // > LevelBrowserLayer::createNewList @ 0x6e9550 // > LevelBrowserLayer::onSavedMode @ 0x6ec6bc // > LevelBrowserLayer::onLocalMode @ 0x6ec77c // > LevelBrowserLayer::onMyOnlineLevels @ 0x6ec890 // > LevelBrowserLayer::onFavorites @ 0x6ecb54 // > LevelBrowserLayer::onSaved @ 0x6ecca8 // > LevelBrowserLayer::FLAlert_Clicked @ 0x6ed4d8 // > GameLevelManager::gotoLevelPage @ 0x7072cc // > GJGarageLayer::onShop @ 0x78ff98 // > GJGarageLayer::onBack @ 0x790128 // > LevelSelectLayer::onBack @ 0x79b220 // > LevelPage::playStep3 @ 0x79b52c // > LevelPage::onTheTower @ 0x79b944 // > LevelPage::onSecretDoor @ 0x79c2bc // > OptionsLayer::onSecretVault @ 0x7c7868 // > VideoOptionsLayer::onApply @ 0x7c7cec // > GraphicsReloadLayer::performReload @ 0x7c7f1c // > VideoOptionsLayer::reloadMenu @ 0x7cc938 // > InfoLayer::onOriginal @ 0x7e159c // > InfoLayer::onSimilar @ 0x7e2d58 // > GJGameLoadingLayer::loadLevel @ 0x855ae0 // > GJGameLoadingLayer::loadLevel @ 0x855b10 // > GJGameLoadingLayer::transitionToLoadingLayer @ 0x86c7dc // > SecretLayer::onBack @ 0x901d4c // > GauntletSelectLayer::onPlay @ 0x917c08 // > GauntletSelectLayer::onBack @ 0x918080 // > GauntletLayer::onBack @ 0x91d5e0 // > GJShopLayer::onBack @ 0x92b480 // > GJShopLayer::dialogClosed @ 0x92c090 // > SecretLayer2::onBack @ 0x93a848 // > SecretLayer2::onSecretLevel @ 0x93b014 // > SecretLayer3::onBack @ 0x941b54 // > SecretLayer2::onDoor @ 0x9463ec // > SecretLayer4::onBack @ 0x9467a8 // > WorldSelectLayer::onBack @ 0x95e27c // > GJWorldNode::playStep3 @ 0x95e654 // > MapSelectLayer::onBack @ 0x97d7f4 // > MultiplayerLayer::onBtn1 @ 0x9b09e0 // > MultiplayerLayer::onBtn2 @ 0x9b0a28 // > MultiplayerLayer::onBack @ 0x9b0a6c // > MPLobbyLayer::onBack @ 0x9ca844 // > LevelAreaInnerLayer::onOnlineVault @ 0xa2d2fc // > LevelAreaLayer::onBack @ 0xa2d50c // > LevelAreaInnerLayer::playStep1 @ 0xa2d7e8 // > LevelAreaInnerLayer::onBack @ 0xa304fc // > LevelAreaLayer::onEnterTower @ 0xa313d8 // > SecretRewardsLayer::onBack @ 0xa6141c // > SecretRewardsLayer::showShop @ 0xa61474 // > UploadListPopup::onBack @ 0xa721c4 // > UploadListPopup::onReturnToList @ 0xa77b10 // > LevelListLayer::cloneList @ 0xa77d6c // > LevelListLayer::onBack @ 0xa78390 // > SecretLayer6::onBack @ 0xa8fe38 // > SecretLayer5::onBack @ 0xa8feac // > cocos2d::CCTransitionScene::setNewScene @ 0xaed388 // > @ 0xb4408 // // 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 cocos2d::CCDirector::replaceScene(cocos2d::CCDirector *a1, cocos2d::CCScene *a2) { bool result; // w0 int v5; // w0 int v6; // w22 bool v7; // w0 int v8; // w0 int v9; // w22 if ( !a2 || !_dynamic_cast( a2, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0) ) { v5 = cocos2d::CCArray::count(a1->m_pobScenesStack); a1->m_bSendCleanupToScene = 1; v6 = v5; cocos2d::CCDirector::checkSceneReference(a1); cocos2d::CCArray::replaceObjectAtIndex(a1->m_pobScenesStack, v6 - 1, (cocos2d::_ccArray *)a2, 1u); a1->m_pNextScene = a2; cocos2d::CCDirector::willSwitchToScene(a1, a2); v7 = 0; LABEL_6: a1->m_bIsTransitioning = v7; return 1; } result = 0; if ( !a1->m_bIsTransitioning ) { v8 = cocos2d::CCArray::count(a1->m_pobScenesStack); a1->m_bSendCleanupToScene = 1; v9 = v8; cocos2d::CCDirector::checkSceneReference(a1); cocos2d::CCArray::replaceObjectAtIndex(a1->m_pobScenesStack, v9 - 1, (cocos2d::_ccArray *)a2, 1u); a1->m_pNextScene = a2; v7 = 1; goto LABEL_6; } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source