//
// TeleportPortalObject::removeFromGroup from 0x100387c3c to 0x100387ca4 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007ff848
//
// 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
//
// local variable allocation has failed, the output may be wrong!
void __fastcall TeleportPortalObject::removeFromGroup(TeleportPortalObject *a1, int a2)
{
__int64 v2; // x19
TeleportPortalObject *m_orangePortal; // x0
v2 = *(_QWORD *)&a2;
if ( !GameManager::sharedState()->m_editorEnabled || a1->m_objectID != 749 )
{
GameObject::removeFromGroup(a1, v2);
m_orangePortal = a1->m_orangePortal;
if ( m_orangePortal )
((void (__fastcall *)(TeleportPortalObject *, __int64))m_orangePortal->removeFromGroup2)(m_orangePortal, v2);
}
}