// // DialogLayer::addToMainScene from 0x4d6584 to 0x4d65ba (54 bytes) // // 7 xrefs: // > SongInfoLayer::showCustomMusicUnlockInfo @ 0x42d876 // > GameOptionsLayer::showPracticeMusicSyncUnlockInfo @ 0x4b1986 // > DailyLevelPage::dailyStatusFailed @ 0x4d39c0 // > SecretRewardsLayer::showLockedChest @ 0x58547e // > SecretRewardsLayer::onSelectItem @ 0x585ca2 // > SecretRewardsLayer::onGoldChest @ 0x5873fc // > LevelListLayer::onClaimReward @ 0x58ed72 // // 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 DialogLayer::addToMainScene(DialogLayer *a1) { cocos2d::CCScene *m_pRunningScene; // r4 int v3; // r2 m_pRunningScene = cocos2d::CCDirector::sharedDirector()->m_pRunningScene; if ( cocos2d::CCScene::getHighestChildZ(m_pRunningScene) < 1000 ) v3 = 1000; else v3 = cocos2d::CCScene::getHighestChildZ(m_pRunningScene) + 1; m_pRunningScene->addChild_0(m_pRunningScene, a1, v3); }