//
// GameObject::unclaimParticle from 0x353126 to 0x353156 (48 bytes)
//
// 0 xrefs:
//
// 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
//
void GameObject::unclaimParticle(GameObject *a1)
{
GJBaseGameLayer *m_levelEditorLayer; // r0
if ( a1->m_editorEnabled )
m_levelEditorLayer = GameManager::sharedState()->m_levelEditorLayer;
else
m_levelEditorLayer = GameManager::sharedState()->m_playLayer;
GJBaseGameLayer::unclaimParticle(m_levelEditorLayer, (const char *)a1->m_particleString.m_data.m_data, a1->m_particle);
a1->m_particle = nullptr;
}