//
// TeleportPortalObject::setRotation from 0x100387b44 to 0x100387bb8 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1007ff368
//
// 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 __fastcall TeleportPortalObject::setRotation(TeleportPortalObject *a1, float a2)
{
TeleportPortalObject *m_orangePortal; // x0
if ( !GameManager::sharedState()->m_editorEnabled || a1->m_objectID != 749 )
{
GameObject::setRotation(a1, a2);
m_orangePortal = a1->m_orangePortal;
if ( m_orangePortal )
((void (__fastcall *)(TeleportPortalObject *, float))m_orangePortal->setRotation2)(m_orangePortal, a2);
}
}