//
// EditorSFXActionConfigLayer::onDeleteSound from 0x140184bd0 to 0x140184c35 (101 bytes)
//
// 2 xrefs:
// > EditorSFXActionConfigLayer::refreshRows @ 0x1401844a5
// > ??> @ 0x140918d70
//
// 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:27:38 +0000
//
__int64 __fastcall EditorSFXActionConfigLayer::onDeleteSound(__int64 a1, __int64 a2)
{
int v3; // eax
unsigned int v4; // edi
unsigned int v5; // ebx
__int64 v6; // rax
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 56LL))(a2);
v4 = *(_DWORD *)(a1 + 1008);
v5 = (v3 - 1000) / 8;
v6 = EditorSFXManager::sharedState();
EditorSFXManager::removeSoundAt(v6, v4, v5);
return cocos2d::CCNode::scheduleOnce(a1, FLAlertLayer::rebuildContentDeferred);
}