// // OptionsLayer::onMenuMusic from 0x1404cba10 to 0x1404cbb1c (268 bytes) // // 2 xrefs: // > OptionsLayer::customSetup @ 0x1404cb9bb // > @ 0x1409295f4 // // 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:32:58 +0000 // // Hidden C++ exception states: #wind=4 __int64 __fastcall OptionsLayer::onMenuMusic(__int64 a1) { _QWORD *v1; // rbx __int64 v2; // rcx __int64 v4; // rcx void *v5; // [rsp+40h] [rbp+18h] void *v6; // [rsp+40h] [rbp+18h] void *v7; // [rsp+40h] [rbp+18h] if ( !qword_14090BFD0 ) { v5 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); } if ( (unsigned __int8)GameManager::toggleGameVariable(a1, "0122") ) { v1 = (_QWORD *)qword_14090BF60; if ( !qword_14090BF60 ) { v6 = operator new(0x8A8u); qword_14090BF60 = FMODAudioEngine::FMODAudioEngine((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BF60 + 72LL))(qword_14090BF60); v1 = (_QWORD *)qword_14090BF60; } v2 = v1[69]; if ( v2 ) FMOD::ChannelControl::stop(v2); sub_14003EB60(v1 + 137); sub_14003EB60(v1 + 145); return sub_14003EB60(v1 + 153); } else { v4 = qword_14090BFD0; if ( !qword_14090BFD0 ) { v7 = operator new(0x6E8u); qword_14090BFD0 = GameManager::GameManager((__int64)v7); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_14090BFD0 + 72LL))(qword_14090BFD0); v4 = qword_14090BFD0; } return GameManager::fadeInMenuMusic(v4); } }
GD Web Decomp Icon

GD Web Decomp

Raw Source