//
// GameObject::slopeFloorTop from 0x356c90 to 0x356cac (28 bytes)
//
// 13 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x345810
// > PlayerObject::preSlopeCollision @ 0x348274
// > PlayerObject::preSlopeCollision @ 0x34852c
// > PlayerObject::preSlopeCollision @ 0x348538
// > PlayerObject::preSlopeCollision @ 0x34856c
// > PlayerObject::spiderTestJumpInternal @ 0x348f6e
// > PlayerObject::collidedWithSlopeInternal @ 0x34b54a
// > PlayerObject::postCollision @ 0x34c984
// > PlayerObject::postCollision @ 0x34c99a
// > GameObject::slopeYPos @ 0x356d58
// > GameObject::slopeYPos @ 0x356d8e
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x3670ba
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x3670c2
//
// 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 GameObject::slopeFloorTop(GameObject *a1)
{
int m_slopeDirection; // r3
bool result; // r0
m_slopeDirection = a1->m_slopeDirection;
result = m_slopeDirection & 0xFD;
if ( (m_slopeDirection & 0xFFFFFFFD) != 1 )
return m_slopeDirection == 5 || m_slopeDirection == 6;
return result;
}