// // DialogLayer::addToMainScene from 0x1003c8050 to 0x1003c809c (76 bytes) // // 7 xrefs: // > DailyLevelPage::dailyStatusFailed @ 0x100231cc6 // > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x1002b1afd // > LevelListLayer::onClaimReward @ 0x10035f2a6 // > SongInfoLayer::showCustomMusicUnlockInfo @ 0x100601ee1 // > SecretRewardsLayer::onGoldChest @ 0x1006326c5 // > SecretRewardsLayer::showLockedChest @ 0x1006332b6 // > SecretRewardsLayer::onSelectItem @ 0x100634ad8 // // 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 __fastcall DialogLayer::addToMainScene(DialogLayer *a1) { cocos2d::CCScene *m_pRunningScene; // r14 int HighestChildZ; // eax __int64 v3; // rdx m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; HighestChildZ = cocos2d::CCScene::getHighestChildZ(m_pRunningScene); v3 = 1000; if ( HighestChildZ >= 1000 ) v3 = (unsigned int)(cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1); ((void (__fastcall *)(cocos2d::CCScene *, DialogLayer *, __int64))m_pRunningScene->addChild_0)( m_pRunningScene, a1, v3); }