//
// EditorSFXManager::addSound from 0x1008e35e0 to 0x1008e3605 (37 bytes)
//
// 2 xrefs:
// > EditorSFXActionConfigLayer::sfxBrowserClosed @ 0x1008e07f7
// > sub_1008E0860 @ 0x1008e08ae
//
// 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 12:37:47 +0000
//
__int64 __fastcall EditorSFXManager::addSound(_QWORD *a1, int a2, __int64 a3)
{
__int64 *v4; // rax
__int64 result; // rax
if ( a3 )
{
v4 = (__int64 *)sub_1008E2390(a1, a2);
return sub_1007FEBF0(*v4, a3);
}
return result;
}