//
// GJBaseGameLayer::rotateObject from 0x100147350 to 0x1001473cc (124 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 __fastcall GJBaseGameLayer::rotateObject(GJBaseGameLayer *a1, GameObject *a2, float a3)
{
if ( a3 != 0.0 && a2->m_canRotateFree )
{
a2->m_rotationXOffset = a2->m_rotationXOffset + a3;
a2->m_rotationYOffset = a2->m_rotationYOffset + a3;
GameObject::addRotation_1(a2, a3);
if ( a2->m_objectType != Decoration )
{
*(_WORD *)&a2->m_isObjectRectDirty = 257;
if ( !a2->m_shouldUseOuterOb )
GameObject::calculateOrientedBox(a2);
}
}
}