// // cocos2d::CCDirector::replaceScene from 0x100207554 to 0x100207668 (276 bytes) // // 68 xrefs: // > sub_10002A588 @ 0x10002a674 // > LevelInfoLayer::onBack @ 0x10002c36c // > LevelInfoLayer::playStep4 @ 0x10002e020 // > LevelInfoLayer::onClone @ 0x10002e290 // > LevelSearchLayer::onSearchMode @ 0x10005ba18 // > SecretLayer5::onBack @ 0x10007d678 // > GameLevelManager::gotoLevelPage @ 0x1000ad798 // > CreatorLayer::onSecretVault @ 0x1000dc030 // > CreatorLayer::onTreasureRoom @ 0x1000dc21c // > CreatorLayer::onBack @ 0x1000dc5f0 // > EditLevelLayer::onEdit @ 0x1001102f4 // > sub_1001115F0 @ 0x1001116e4 // > EditLevelLayer::playStep3 @ 0x1001120bc // > EditLevelLayer::onClone @ 0x100112564 // > OptionsLayer::onSecretVault @ 0x1001135bc // > VideoOptionsLayer::onApply @ 0x100114d9c // > sub_10013B72C @ 0x10013b7dc // > GJShopLayer::onBack @ 0x1001ca4f8 // > GJShopLayer::dialogClosed @ 0x1001cbf9c // > sub_100254B84 @ 0x100254bfc // > GauntletSelectLayer::onPlay @ 0x100255590 // > cocos2d::CCTransitionScene::setNewScene @ 0x100265c3c // > LoadingLayer::loadingFinished @ 0x10026f3d0 // > GJGameLoadingLayer::transitionToLoadingLayer @ 0x1002a6360 // > sub_1002A65BC @ 0x1002a661c // > sub_1002CE998 @ 0x1002ce9dc // > LevelListLayer::onBack @ 0x1002e3a30 // > sub_1002E3CF0 @ 0x1002e3e3c // > sub_1002E6A38 @ 0x1002e6a80 // > sub_1002E6C24 @ 0x1002e6c6c // > MenuLayer::onPlay @ 0x100304d10 // > MenuLayer::onGarage @ 0x100304d60 // > MenuLayer::onCreator @ 0x100304db0 // > sub_100314B60 @ 0x100314ba0 // > SecretRewardsLayer::onBack @ 0x100384b8c // > SecretRewardsLayer::showShop @ 0x100389aa4 // > GJGarageLayer::onBack @ 0x1003a1208 // > GJGarageLayer::onShop @ 0x1003a123c // > sub_1003A7408 @ 0x1003a7464 // > SecretLayer2::onDoor @ 0x1003a868c // > sub_1003A8808 @ 0x1003a8884 // > sub_1003ACA78 @ 0x1003acae8 // > GameManager::returnToLastScene @ 0x1003bb320 // > GameManager::returnToLastScene @ 0x1003bb46c // > GameManager::safePopScene @ 0x1003bb4f0 // > sub_1003BB580 @ 0x1003bb5a8 // > GameManager::reloadAll @ 0x1003bb60c // > GameManager::reloadAllStep5 @ 0x1003bb884 // > sub_1003E2E3C @ 0x1003e2ea0 // > LevelAreaLayer::onEnterTower @ 0x1003e3cc8 // > LevelAreaInnerLayer::onBack @ 0x1003e4a08 // > sub_1003E4BD0 @ 0x1003e4c00 // > sub_1003E5450 @ 0x1003e54dc // > sub_1003EFCB0 @ 0x1003efd1c // > sub_1003F471C @ 0x1003f477c // > sub_100464ABC @ 0x100464b24 // > sub_100482C34 @ 0x100482c78 // > LevelPage::onTheTower @ 0x100485454 // > sub_100485D8C @ 0x100485e14 // > sub_1004864C0 @ 0x100486560 // > LevelBrowserLayer::onMyOnlineLevels @ 0x100497570 // > LevelBrowserLayer::onLocalMode @ 0x1004976d0 // > LevelBrowserLayer::onSavedMode @ 0x100497958 // > LevelBrowserLayer::onSaved @ 0x100497a18 // > LevelBrowserLayer::onFavorites @ 0x100497b00 // > LevelBrowserLayer::createNewList @ 0x10049a67c // > LevelBrowserLayer::createNewLevel @ 0x10049a728 // > LevelBrowserLayer::FLAlert_Clicked @ 0x10049b15c // // This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True! // // 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 11:00:57 +0000 // __int64 __fastcall cocos2d::CCDirector::replaceScene(__int64 a1, void *lpsrc) { void *v4; // x0 bool v5; // w22 bool *v6; // x23 bool v8; // w24 int v9; // w21 void (__fastcall ***v10)(_QWORD, void *); // x0 void (__fastcall ***v11)(_QWORD); // x0 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); v5 = v4 != nullptr; v6 = (bool *)(a1 + 176); if ( *(_BYTE *)(a1 + 176) == 1 && v4 != nullptr ) return 0; v8 = v4 != nullptr; } else { v5 = 0; v8 = 0; v6 = (bool *)(a1 + 176); } v9 = sub_1002E757C(*(_QWORD *)(a1 + 296)); *(_BYTE *)(a1 + 288) = 1; if ( *(_QWORD *)(a1 + 96) && *(_QWORD *)(a1 + 96) == sub_1002E75B0(*(_QWORD *)(a1 + 296)) ) *(_QWORD *)(a1 + 96) = 0; sub_1002E7684(*(_QWORD *)(a1 + 296), (unsigned int)(v9 - 1), lpsrc, 1); *(_QWORD *)(a1 + 280) = lpsrc; if ( !v8 && (*(_BYTE *)(a1 + 404) & 1) == 0 ) { v10 = *(void (__fastcall ****)(_QWORD, void *))(a1 + 360); if ( v10 ) (**v10)(v10, lpsrc); v11 = *((void (__fastcall ****)(_QWORD))lpsrc + 40); if ( v11 ) (**v11)(v11); } *v6 = v5; return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source