//
// TeleportPortalObject::setRotation from 0x10042e080 to 0x10042e0f4 (116 bytes)
//
// 1 xrefs:
// > ??> @ 0x1009576e8
//
// 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::setRotation(__int64 a1, float a2)
{
_BYTE *result; // x0
result = (_BYTE *)GameManager::sharedState();
if ( result[706] != 1 || *(_DWORD *)(a1 + 1028) != 749 )
{
GameObject::setRotation(a1, a2);
result = *(_BYTE **)(a1 + 1848);
if ( result )
return (_BYTE *)(*(__int64 (__fastcall **)(_BYTE *, float))(*(_QWORD *)result + 1864LL))(result, a2);
}
return result;
}