//
// GameObject::canRotateFree from 0x1005be430 to 0x1005be454 (36 bytes)
//
// 5 xrefs:
// > EditorUI::toggleSpecialEditButtons @ 0x10002d472
// > EditorUI::toggleSpecialEditButtons @ 0x10002d4b1
// > EditorUI::onCreateObject @ 0x1000355d5
// > GJBaseGameLayer::loadLevelSettings @ 0x100158d73
// > GJBaseGameLayer::applyLevelSettings @ 0x100158dcb
//
// 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
//
bool __fastcall GameObject::canRotateFree(GameObject *a1)
{
GameObjectType m_objectType; // ecx
bool result; // al
int v3; // edx
m_objectType = a1->m_objectType;
result = 1;
if ( (unsigned int)m_objectType <= Slope )
{
v3 = 35651585;
if ( _bittest(&v3, m_objectType) )
return a1->m_isNoTouch;
}
return result;
}