//
// GameObject::slopeFloorTop from 0x44e2a4 to 0x44e2c0 (28 bytes)
//
// 13 xrefs:
// > PlayerObject::collidedWithObjectInternal @ 0x43c668
// > PlayerObject::preSlopeCollision @ 0x440d24
// > PlayerObject::preSlopeCollision @ 0x440fdc
// > PlayerObject::preSlopeCollision @ 0x440fe8
// > PlayerObject::preSlopeCollision @ 0x44101c
// > PlayerObject::collidedWithSlopeInternal @ 0x441492
// > PlayerObject::postCollision @ 0x442d38
// > PlayerObject::postCollision @ 0x442d4e
// > PlayerObject::spiderTestJumpInternal @ 0x4441d6
// > GameObject::slopeYPos @ 0x44e36c
// > GameObject::slopeYPos @ 0x44e3a2
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x460fe2
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x460fea
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 11:48:35 +0000
//
unsigned int __fastcall GameObject::slopeFloorTop(GameObject *this)
{
int v1; // r3
unsigned int result; // r0
v1 = *((_DWORD *)this + 237);
result = v1 & 0xFFFFFFFD;
if ( (v1 & 0xFFFFFFFD) != 1 )
return v1 == 5 || v1 == 6;
return result;
}