; ; 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 ; PUSH {R4-R6,LR} ; +0x0, 0x4d6584 MOV R5, R0 ; +0x2, 0x4d6586 BL _ZN7cocos2d10CCDirector14sharedDirectorEv; cocos2d::CCDirector::sharedDirector(void) ; +0x4, 0x4d6588 LDR.W R4, [R0,#0xCC] ; +0x8, 0x4d658c MOV R0, R4; this ; +0xc, 0x4d6590 BL _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0xe, 0x4d6592 CMP.W R0, #0x3E8 ; +0x12, 0x4d6596 BLT loc_4D65A6 ; +0x16, 0x4d659a MOV R0, R4; this ; +0x18, 0x4d659c BL _ZN7cocos2d7CCScene16getHighestChildZEv; cocos2d::CCScene::getHighestChildZ(void) ; +0x1a, 0x4d659e ADDS R2, R0, #1 ; +0x1e, 0x4d65a2 B loc_4D65AA ; +0x20, 0x4d65a4 MOV.W R2, #0x3E8 ; +0x22, 0x4d65a6 LDR R3, [R4] ; +0x26, 0x4d65aa MOV R0, R4 ; +0x28, 0x4d65ac MOV R1, R5 ; +0x2a, 0x4d65ae POP.W {R4-R6,LR} ; +0x2c, 0x4d65b0 LDR.W R3, [R3,#0xE0] ; +0x30, 0x4d65b4 BX R3 ; +0x34, 0x4d65b8