//
// GameObject::canRotateFree from 0x10025d348 to 0x10025d378 (48 bytes)
//
// 5 xrefs:
// > GJBaseGameLayer::loadLevelSettings @ 0x100201f80
// > GJBaseGameLayer::applyLevelSettings @ 0x100201fe8
// > EditorUI::toggleSpecialEditButtons @ 0x1003e64d0
// > EditorUI::toggleSpecialEditButtons @ 0x1003e6500
// > EditorUI::onCreateObject @ 0x1003eb914
//
// 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; // w9
bool v2; // w8
bool v3; // cc
int v4; // w9
m_objectType = a1->m_objectType;
v2 = 1;
v3 = (unsigned int)m_objectType > Slope;
v4 = (1 << m_objectType) & 0x2200001;
if ( !v3 && v4 != 0 )
return a1->m_isNoTouch;
return v2;
}