; ; GameManager::fadeInMenuMusic from 0x14017bab0 to 0x14017bb9a (234 bytes) ; ; 14 xrefs: ; > GameManager::returnToLastScene @ 0x14018a305 ; > GJShopLayer::onBack @ 0x1402acf7c ; > LevelAreaLayer::onBack @ 0x1402c631c ; > LoadingLayer::loadAssets @ 0x14032f767 ; > MenuLayer::init @ 0x140333b32 ; > OptionsLayer::onMenuMusic @ 0x140372983 ; > MoreOptionsLayer::dropDownLayerWillClose @ 0x1403765a3 ; > PlayLayer::onQuit @ 0x1403bada3 ; > SecretRewardsLayer::onBack @ 0x1403d7dad ; > SecretLayer::onBack @ 0x1403e1ee4 ; > SecretLayer2::onBack @ 0x1403e98b8 ; > SecretLayer4::onBack @ 0x1403f36d8 ; > SongInfoLayer::onMenuMusic @ 0x14049436a ; > @ 0x1406cb364 ; ; 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 rbx ; +0x0, 0x14017bab0 sub rsp, 40h ; +0x2, 0x14017bab2 mov rbx, rcx ; +0x6, 0x14017bab6 mov rcx, cs:qword_1406C2ED8 ; +0x9, 0x14017bab9 test rcx, rcx ; +0x10, 0x14017bac0 jnz short loc_14017BAF4 ; +0x13, 0x14017bac3 mov ecx, 668h; Size ; +0x15, 0x14017bac5 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x1a, 0x14017baca mov [rsp+48h+arg_8], rax ; +0x1f, 0x14017bacf mov rcx, rax ; +0x24, 0x14017bad4 call sub_14017AB00 ; +0x27, 0x14017bad7 nop ; +0x2c, 0x14017badc mov cs:qword_1406C2ED8, rax ; +0x2d, 0x14017badd mov rdx, [rax] ; +0x34, 0x14017bae4 mov rcx, rax ; +0x37, 0x14017bae7 call qword ptr [rdx+48h] ; +0x3a, 0x14017baea mov rcx, cs:qword_1406C2ED8 ; +0x3d, 0x14017baed lea rdx, a0122; "0122" ; +0x44, 0x14017baf4 call GameManager__getGameVariable ; +0x4b, 0x14017bafb test al, al ; +0x50, 0x14017bb00 jz short loc_14017BB7F ; +0x52, 0x14017bb02 mov rbx, cs:qword_1406C2E88 ; +0x54, 0x14017bb04 test rbx, rbx ; +0x5b, 0x14017bb0b jnz short loc_14017BB3F ; +0x5e, 0x14017bb0e mov ecx, 888h; Size ; +0x60, 0x14017bb10 call ??2@YAPEAX_K@Z; operator new(unsigned __int64) ; +0x65, 0x14017bb15 mov [rsp+48h+arg_8], rax ; +0x6a, 0x14017bb1a mov rcx, rax ; +0x6f, 0x14017bb1f call FMODAudioEngine__FMODAudioEngine ; +0x72, 0x14017bb22 nop ; +0x77, 0x14017bb27 mov cs:qword_1406C2E88, rax ; +0x78, 0x14017bb28 mov rdx, [rax] ; +0x7f, 0x14017bb2f mov rcx, rax ; +0x82, 0x14017bb32 call qword ptr [rdx+48h] ; +0x85, 0x14017bb35 mov rbx, cs:qword_1406C2E88 ; +0x88, 0x14017bb38 cmp qword ptr [rbx+228h], 0 ; +0x8f, 0x14017bb3f jz short loc_14017BB56 ; +0x97, 0x14017bb47 mov rcx, [rbx+228h] ; +0x99, 0x14017bb49 call cs:?stop@ChannelControl@FMOD@@QEAA?AW4FMOD_RESULT@@XZ; FMOD::ChannelControl::stop(void) ; +0xa0, 0x14017bb50 lea rcx, [rbx+428h] ; +0xa6, 0x14017bb56 call sub_14005E0D0 ; +0xad, 0x14017bb5d lea rcx, [rbx+468h] ; +0xb2, 0x14017bb62 call sub_14005E0D0 ; +0xb9, 0x14017bb69 lea rcx, [rbx+4A8h] ; +0xbe, 0x14017bb6e add rsp, 40h ; +0xc5, 0x14017bb75 pop rbx ; +0xc9, 0x14017bb79 jmp sub_14005E0D0 ; +0xca, 0x14017bb7a lea rdx, [rsp+48h+var_28] ; +0xcf, 0x14017bb7f mov rcx, rbx ; +0xd4, 0x14017bb84 call GameManager__getMenuMusicFile ; +0xd7, 0x14017bb87 mov rdx, rax ; +0xdc, 0x14017bb8c call GameManager__fadeInMusic ; +0xdf, 0x14017bb8f add rsp, 40h ; +0xe4, 0x14017bb94 pop rbx ; +0xe8, 0x14017bb98 retn ; +0xe9, 0x14017bb99