//
// TeleportPortalObject::setRotation from 0x10019e800 to 0x10019e85f (95 bytes)
//
// 1 xrefs:
// > ??> @ 0x100ad1a80
//
// This function is hookable on this platform (idp: pc, 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 12:25:58 +0000
//
void __fastcall TeleportPortalObject::setRotation(__int64 a1, __int64 a2, __int64 a3, float a4)
{
__int64 v4; // rax
__int64 v5; // rdi
GameManager::sharedState(a1, a2, a3);
if ( *(_BYTE *)(v4 + 706) != 1 || *(_DWORD *)(a1 + 1028) != 749 )
{
GameObject::setRotation(a1);
v5 = *(_QWORD *)(a1 + 1848);
if ( v5 )
(*(void (__fastcall **)(__int64, float))(*(_QWORD *)v5 + 1864LL))(v5, a4);
}
}