//
// TeleportPortalObject::removeFromGroup from 0x7509ac to 0x750a08 (92 bytes)
//
// 2 xrefs:
// > ??> @ 0x42120
// > ??> @ 0x116ac78
//
// 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; // x0
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);
}
}