//
// GameObject::canRotateFree from 0x10068fae0 to 0x10068fb04 (36 bytes)
//
// 5 xrefs:
// > EditorUI::toggleSpecialEditButtons @ 0x10000c132
// > EditorUI::toggleSpecialEditButtons @ 0x10000c171
// > EditorUI::onCreateObject @ 0x100011785
// > GJBaseGameLayer::loadLevelSettings @ 0x100138203
// > GJBaseGameLayer::applyLevelSettings @ 0x10013825b
//
// 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:35:07 +0000
//
char __fastcall GameObject::canRotateFree(__int64 a1)
{
unsigned int v1; // ecx
char result; // al
int v3; // edx
v1 = *(_DWORD *)(a1 + 920);
result = 1;
if ( v1 <= 0x19 )
{
v3 = 35651585;
if ( _bittest(&v3, v1) )
return *(_BYTE *)(a1 + 1214);
}
return result;
}