// // SetupSFXPopup::overridePlaySFX from 0x140448c40 to 0x140448ceb (171 bytes) // // 2 xrefs: // > @ 0x1405f04a8 // > @ 0x1406da67c // // 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 // // Hidden C++ exception states: #wind=2 bool SetupSFXPopup::overridePlaySFX(SetupSFXPopup *a1, SFXInfoObject *a2) { SFXTriggerGameObject *m_multiTriggerContainer; // rbx FMODAudioEngine *v3; // rcx FMODAudioEngine *v5; // [rsp+30h] [rbp+8h] void *v6; // [rsp+30h] [rbp+8h] m_multiTriggerContainer = (SFXTriggerGameObject *)a1[-1].m_multiTriggerContainer; if ( m_multiTriggerContainer ) { if ( m_multiTriggerContainer->m_reverbEnabled ) { v3 = (FMODAudioEngine *)qword_1406C2E88; if ( !qword_1406C2E88 ) { v5 = (FMODAudioEngine *)operator new(0x888u); qword_1406C2E88 = (__int64)FMODAudioEngine::FMODAudioEngine(v5); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2E88 + 72LL))(qword_1406C2E88); v3 = (FMODAudioEngine *)qword_1406C2E88; } FMODAudioEngine::updateReverb(v3, m_multiTriggerContainer->m_reverbPreset, 0); } if ( !qword_1406C2ED8 ) { v6 = operator new(0x668u); qword_1406C2ED8 = sub_14017AB00((__int64)v6); (*(void (__fastcall **)(__int64))(*(_QWORD *)qword_1406C2ED8 + 72LL))(qword_1406C2ED8); } GameManager::playSFXTrigger((GameManager *)a1, m_multiTriggerContainer); } return 1; }
GD Web Decomp Icon

GD Web Decomp

Raw Source