//
// GameObject::getSlopeAngle from 0x645eb4 to 0x645f14 (96 bytes)
//
// 5 xrefs:
// > PlayerObject::collidedWithSlopeInternal @ 0x637720
// > PlayerObject::collidedWithSlopeInternal @ 0x6378b0
// > PlayerObject::collidedWithSlopeInternal @ 0x6384b4
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x65ecf8
// > ??> @ 0x2f3a0
//
// 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
//
float GameObject::getSlopeAngle(GameObject *a1)
{
const cocos2d::CCRect *v1; // x0
cocos2d::CCRect v3; // [xsp+28h] [xbp+28h] BYREF
v1 = a1->getObjectRect(a1);
cocos2d::CCRect::CCRect(&v3, v1);
return atanf(v3.size.height / v3.size.width);
}