//
// EditorSFXActionConfigLayer::onDeleteSound from 0x77bb4e to 0x77bb80 (50 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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:59:23 +0000
//
int __fastcall EditorSFXActionConfigLayer::onDeleteSound(EditorSFXActionConfigLayer *this, cocos2d::CCObject *a2)
{
EditorSFXManager *v3; // r4
EditorSFXManager *v4; // r0
int v5; // r2
v3 = (EditorSFXManager *)(*(int (__fastcall **)(cocos2d::CCObject *))(*(_DWORD *)a2 + 32))(a2);
v4 = (EditorSFXManager *)EditorSFXManager::sharedState(v3);
v5 = (int)v3 - 1000;
if ( (int)v3 - 1000 < 0 )
v5 = (int)v3 - 993;
EditorSFXManager::removeSoundAt(v4, *((_DWORD *)this + 179), v5 >> 3);
return FLAlertLayer::requestRebuild(this);
}