; ; DialogLayer::addToMainScene from 0x140175660 to 0x1401756b7 (87 bytes) ; ; 7 xrefs: ; > DailyLevelPage::dailyStatusFailed @ 0x140170cc8 ; > GameSettingsLayer::showPracticeMusicSyncUnlockInfo @ 0x1402c8ae9 ; > LevelListLayer::onClaimReward @ 0x14042e3ab ; > SecretRewardsLayer::onSelectItem @ 0x14056bec3 ; > SecretRewardsLayer::onGoldChest @ 0x14056d43f ; > SongInfoLayer::showCustomMusicUnlockInfo @ 0x140636119 ; > @ 0x140918470 ; ; This function is hookable on this platform (idp: pc, 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:27:32 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x140175660 push rdi ; +0x5, 0x140175665 sub rsp, 20h ; +0x6, 0x140175666 mov rdi, rcx ; +0xa, 0x14017566a call cs:?sharedDirector@CCDirector@cocos2d@@SAPEAV12@XZ; cocos2d::CCDirector::sharedDirector(void) ; +0xd, 0x14017566d mov rbx, [rax+110h] ; +0x13, 0x140175673 mov rcx, rbx ; +0x1a, 0x14017567a call cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x1d, 0x14017567d inc eax ; +0x23, 0x140175683 mov r8d, 3E8h ; +0x25, 0x140175685 cmp eax, r8d ; +0x2b, 0x14017568b jl short loc_14017569D ; +0x2e, 0x14017568e mov rcx, rbx ; +0x30, 0x140175690 call cs:?getHighestChildZ@CCScene@cocos2d@@QEAAHXZ; cocos2d::CCScene::getHighestChildZ(void) ; +0x33, 0x140175693 lea r8d, [rax+1] ; +0x39, 0x140175699 mov rax, [rbx] ; +0x3d, 0x14017569d mov rdx, rdi ; +0x40, 0x1401756a0 mov rcx, rbx ; +0x43, 0x1401756a3 mov rbx, [rsp+28h+arg_0] ; +0x46, 0x1401756a6 add rsp, 20h ; +0x4b, 0x1401756ab pop rdi ; +0x4f, 0x1401756af jmp qword ptr [rax+1C8h] ; +0x50, 0x1401756b0