//
// TeleportPortalObject::removeFromGroup from 0x3e5410 to 0x3e544c (60 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 TeleportPortalObject::removeFromGroup(TeleportPortalObject *a1, int a2)
{
TeleportPortalObject *m_orangePortal; // r0
if ( !GameManager::sharedState()->m_editorEnabled || a1->m_objectID != 749 )
{
GameObject::removeFromGroup(a1, a2);
m_orangePortal = a1->m_orangePortal;
if ( m_orangePortal )
m_orangePortal->removeFromGroup2(m_orangePortal, a2);
}
}