//
// EditorSFXActionConfigLayer::onDeleteSound from 0x1004c6e28 to 0x1004c6e78 (80 bytes)
//
// 1 xrefs:
// > EditorSFXActionConfigLayer::refreshRows @ 0x1004c6ae4
//
// This function is hookable on this platform (idp: arm, 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:06:23 +0000
//
_DWORD *__fastcall EditorSFXActionConfigLayer::onDeleteSound(__int64 a1, __int64 a2)
{
int v3; // w0
__n128 v4; // q0
int v5; // w8
__int64 v6; // x20
__int64 v7; // x0
v3 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 64LL))(a2);
v5 = v3 - 1000;
if ( v3 < 1000 )
v5 = v3 - 993;
v6 = (unsigned int)(v5 >> 3);
v7 = EditorSFXManager::sharedState(v4);
sub_1004C8404(v7, *(unsigned int *)(a1 + 1024), v6);
return FLAlertLayer::requestRebuild(a1);
}