//
// SFXTriggerGameObject::getUniqueSFXID from 0x10038c064 to 0x10038c098 (52 bytes)
//
// 3 xrefs:
// > GJBaseGameLayer::canProcessSFX @ 0x100205fcc
// > GameManager::playSFXTrigger @ 0x100312744
// > LevelEditorLayer::getNextFreeSFXID @ 0x10035fff8
//
// 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; // w0
if ( !a1->m_unique )
return 0;
result = a1->m_sfxUniqueID;
if ( result <= 0 )
return -a1->m_uniqueID;
return result;
}