//
// TeleportPortalObject::setRotation from 0x3e5396 to 0x3e53d2 (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::setRotation(TeleportPortalObject *a1, float a2)
{
TeleportPortalObject *m_orangePortal; // r0
if ( !GameManager::sharedState()->m_editorEnabled || a1->m_objectID != 749 )
{
GameObject::setRotation(a1, a2);
m_orangePortal = a1->m_orangePortal;
if ( m_orangePortal )
((void (__fastcall *)(TeleportPortalObject *, _DWORD))m_orangePortal->setRotation2)(m_orangePortal, LODWORD(a2));
}
}