//
// TeleportPortalObject::removeFromGroup from 0x10042e178 to 0x10042e1e0 (104 bytes)
//
// 1 xrefs:
// > ??> @ 0x100957bc8
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 11:05:05 +0000
//
_BYTE *__fastcall TeleportPortalObject::removeFromGroup(__int64 a1, __int64 a2)
{
_BYTE *result; // x0
result = (_BYTE *)GameManager::sharedState();
if ( result[706] != 1 || *(_DWORD *)(a1 + 1028) != 749 )
{
GameObject::removeFromGroup(a1, a2);
result = *(_BYTE **)(a1 + 1848);
if ( result )
return (_BYTE *)(*(__int64 (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)result + 1880LL))(result, a2);
}
return result;
}