//
// GameObject::getObjectDirection from 0x1005be2e0 to 0x1005be314 (52 bytes)
//
// 3 xrefs:
// > LevelEditorLayer::updateGameObjects @ 0x1000de831
// > LevelEditorLayer::updateGameObjects @ 0x1000de859
// > LevelTools::sortChannelOrderObjects @ 0x100502494
//
// 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
//
int __fastcall GameObject::getObjectDirection(GameObject *a1)
{
unsigned int v1; // ecx
int result; // eax
GameObject::determineSlopeDirection(a1);
v1 = a1->m_slopeDirection - 2;
result = 4;
if ( v1 <= 5 )
return dword_100821728[v1];
return result;
}