//
// EditorSFXActionConfigLayer::sfxBrowserClosed from 0x1008e07b0 to 0x1008e0819 (105 bytes)
//
// 1 xrefs:
// > ??> @ 0x100bb40d0
//
// 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:45 +0000
//
void __fastcall EditorSFXActionConfigLayer::sfxBrowserClosed(__int64 a1, __int64 a2)
{
__int64 v3; // rdi
__int64 NewSound; // rax
__int64 v5; // r14
__int64 v6; // rax
if ( a2 )
{
v3 = *(unsigned int *)(a2 + 1096);
if ( (int)v3 > 0 )
{
NewSound = EditorSFXManager::createNewSound();
if ( NewSound )
{
*(_DWORD *)(NewSound + 1868) = *(_DWORD *)(a2 + 1024);
v5 = NewSound;
v6 = EditorSFXManager::sharedState(v3);
EditorSFXManager::addSound(v6, *(unsigned int *)(a1 + 1024), v5);
cocos2d::CCNode::scheduleOnce(a1, (__int64)EditorSFXActionConfigLayer::refreshRowsAddedDeferred, 0, 0.0);
}
}
}
}