//
// SFXTriggerGameObject::getUniqueSFXID from 0x1001c9d40 to 0x1001c9d65 (37 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::getNextFreeSFXID @ 0x1000ecffd
// > GJBaseGameLayer::canProcessSFX @ 0x10015f790
// > GameManager::playSFXTrigger @ 0x100377973
//
// This function is hookable on this platform!
//
// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings
//
int __fastcall SFXTriggerGameObject::getUniqueSFXID(SFXTriggerGameObject *a1)
{
int result; // eax
result = 0;
if ( a1->m_unique )
{
result = a1->m_sfxUniqueID;
if ( result <= 0 )
return -a1->m_uniqueID;
}
return result;
}