//
// GameObject::getSlopeAngle from 0x1005be2a0 to 0x1005be2d1 (49 bytes)
//
// 4 xrefs:
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x1000e0bb7
// > PlayerObject::collidedWithSlopeInternal @ 0x1004073e1
// > PlayerObject::collidedWithSlopeInternal @ 0x100407d13
// > PlayerObject::collidedWithSlopeInternal @ 0x10040866a
//
// 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 __fastcall GameObject::getSlopeAngle(GameObject *a1)
{
unsigned __int64 *v1; // rax
__m128 v3; // [rsp+0h] [rbp-10h] BYREF
v1 = (unsigned __int64 *)((__int64 (__fastcall *)(GameObject *))a1->getObjectRect)(a1);
sub_10028D180(&v3, v1);
return atanf(v3.f32[3] / v3.f32[2]);
}