//
// EditorSFXManager::hasSoundsForAction from 0x1004c7fc8 to 0x1004c8014 (76 bytes)
//
// 8 xrefs:
// > EditorUI::playSoundForCreatedObject @ 0x100477998
// > EditorSFXManager::playAction @ 0x1004c7fa8
// > PlayLayer::tryShowDeathMarkers @ 0x10051e578
// > PlayLayer::tryShowDeathMarkers @ 0x10051e5e0
// > PlayLayer::tryShowDeathMarkers @ 0x10051e5f8
// > PlayLayer::tryShowDeathMarkers @ 0x10051e624
// > sub_10051E6A8 @ 0x10051e6e8
// > sub_10051E6A8 @ 0x10051e6fc
//
// 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:24 +0000
//
__int64 *__fastcall EditorSFXManager::hasSoundsForAction(_QWORD *a1, int a2)
{
__int64 *result; // x0
__int64 **v3; // x8
int v4; // [xsp+Ch] [xbp-4h] BYREF
v4 = a2;
result = sub_100019268(a1, &v4);
if ( result )
{
v3 = (__int64 **)result[3];
if ( v3 )
{
result = *v3;
if ( *v3 )
return (__int64 *)((unsigned int)sub_1002E757C((__int64)result) != 0);
}
else
{
return nullptr;
}
}
return result;
}