// // cocos2d::CCDirector::replaceScene from 0x7ca96c to 0x7ca9e0 (116 bytes) // // 81 xrefs: // > MenuLayer::onPlay @ 0x3f9a8e // > MenuLayer::onCreator @ 0x3f9ac6 // > MenuLayer::onGarage @ 0x3f9afe // > LoadingLayer::loadingFinished @ 0x3faff4 // > GameManager::reloadMenu @ 0x412f9a // > GameManager::reloadAllStep5 @ 0x413068 // > GameManager::safePopScene @ 0x414ea8 // > GameManager::reloadAll @ 0x414f44 // > GameManager::returnToLastScene @ 0x4169fc // > GameManager::returnToLastScene @ 0x416ade // > LevelListCell::onClick @ 0x424944 // > CreatorLayer::onBack @ 0x4936ac // > CreatorLayer::onSecretVault @ 0x493db8 // > CreatorLayer::onTreasureRoom @ 0x493fba // > LevelSearchLayer::onSearchMode @ 0x499758 // > LevelInfoLayer::playStep4 @ 0x499ca2 // > LevelInfoLayer::onBack @ 0x499f3a // > LevelInfoLayer::loadReplay @ 0x49a430 // > LevelInfoLayer::onEdit @ 0x49b1f8 // > LevelInfoLayer::onClone @ 0x49b2c8 // > EditLevelLayer::playStep3 @ 0x49f538 // > EditLevelLayer::onTest @ 0x49f882 // > EditLevelLayer::onEdit @ 0x4a04ec // > EditLevelLayer::onBack @ 0x4a0598 // > EditLevelLayer::onClone @ 0x4a214e // > UploadPopup::onReturnToLevel @ 0x4a270a // > LevelBrowserLayer::createNewLevel @ 0x4a4ab0 // > LevelBrowserLayer::createNewList @ 0x4a4fa4 // > LevelBrowserLayer::onSavedMode @ 0x4a83ae // > LevelBrowserLayer::onLocalMode @ 0x4a841c // > LevelBrowserLayer::onMyOnlineLevels @ 0x4a8524 // > LevelBrowserLayer::onFavorites @ 0x4a85ca // > LevelBrowserLayer::onSaved @ 0x4a8662 // > LevelBrowserLayer::FLAlert_Clicked @ 0x4a8fac // > GameLevelManager::gotoLevelPage @ 0x4b58d0 // > GJGarageLayer::onShop @ 0x50ae72 // > GJGarageLayer::onBack @ 0x50aeea // > LevelSelectLayer::onBack @ 0x511780 // > LevelPage::onTheTower @ 0x51392e // > LevelPage::onSecretDoor @ 0x513b70 // > LevelPage::playStep3 @ 0x514e0c // > VideoOptionsLayer::reloadMenu @ 0x52d2ca // > VideoOptionsLayer::onApply @ 0x52e4c8 // > GraphicsReloadLayer::performReload @ 0x52fc36 // > OptionsLayer::onSecretVault @ 0x532734 // > InfoLayer::onSimilar @ 0x53d3d0 // > InfoLayer::onOriginal @ 0x53d472 // > GJGameLoadingLayer::loadLevel @ 0x58b7d8 // > GJGameLoadingLayer::transitionToLoadingLayer @ 0x59b802 // > SecretLayer::onBack @ 0x5fc990 // > GauntletSelectLayer::onBack @ 0x60a194 // > GauntletSelectLayer::onPlay @ 0x60afec // > GauntletLayer::onBack @ 0x60dae4 // > GJShopLayer::onBack @ 0x611458 // > GJShopLayer::dialogClosed @ 0x6115fa // > SecretLayer2::onBack @ 0x61a44c // > SecretLayer3::onBack @ 0x61ae8e // > SecretLayer2::onSecretLevel @ 0x61b9f8 // > SecretLayer2::onDoor @ 0x61e512 // > SecretLayer4::onBack @ 0x620cac // > WorldSelectLayer::onBack @ 0x62ca94 // > GJWorldNode::playStep3 @ 0x62f8b2 // > MapSelectLayer::onBack @ 0x63ee4a // > MultiplayerLayer::onBtn1 @ 0x65cea4 // > MultiplayerLayer::onBtn2 @ 0x65ced4 // > MultiplayerLayer::onBack @ 0x65cf00 // > MPLobbyLayer::onBack @ 0x66a568 // > LevelAreaInnerLayer::onOnlineVault @ 0x6a3744 // > LevelAreaLayer::onBack @ 0x6a387e // > LevelAreaInnerLayer::onBack @ 0x6a396e // > LevelAreaInnerLayer::playStep1 @ 0x6a49fe // > LevelAreaLayer::onEnterTower @ 0x6a5cfe // > SecretRewardsLayer::onBack @ 0x6caa56 // > SecretRewardsLayer::showShop @ 0x6caa88 // > UploadListPopup::onBack @ 0x6d49be // > LevelListLayer::onBack @ 0x6d826e // > UploadListPopup::onReturnToList @ 0x6d9a1c // > LevelListLayer::cloneList @ 0x6d9bca // > SecretLayer6::onBack @ 0x6e2816 // > SecretLayer5::onBack @ 0x6e2866 // > cocos2d::CCTransitionScene::setNewScene @ 0x7d8fca // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings // Generated at Fri, 27 Nov 2026 12:00:30 +0000 // int __fastcall cocos2d::CCDirector::replaceScene(cocos2d::CCDirector *this, cocos2d::CCScene *lpsrc) { _BOOL4 v4; // r6 int v5; // r0 int v6; // r8 if ( lpsrc ) v4 = _dynamic_cast( lpsrc, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCScene, (const struct __class_type_info *)&`typeinfo for'cocos2d::CCTransitionScene, 0) != nullptr; else v4 = 0; if ( *((_BYTE *)this + 140) && v4 ) return 0; v5 = cocos2d::CCArray::count(*((cocos2d::CCArray **)this + 58)); *((_BYTE *)this + 228) = 1; v6 = v5; cocos2d::CCDirector::checkSceneReference((int)this); cocos2d::CCArray::replaceObjectAtIndex(*((cocos2d::CCArray **)this + 58), v6 - 1, lpsrc, 1); *((_DWORD *)this + 56) = lpsrc; if ( !v4 ) cocos2d::CCDirector::willSwitchToScene((int)this, (int)lpsrc); *((_BYTE *)this + 140) = v4; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source