//
// GameObject::getSlopeAngle from 0x10025d1d0 to 0x10025d208 (56 bytes)
//
// 4 xrefs:
// > PlayerObject::collidedWithSlopeInternal @ 0x100220a88
// > PlayerObject::collidedWithSlopeInternal @ 0x100221140
// > PlayerObject::collidedWithSlopeInternal @ 0x1002213e8
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x10035a7fc
//
// 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)
{
__int64 v1; // x0
__int64 v3; // [xsp+0h] [xbp-10h] BYREF
float v4; // [xsp+8h] [xbp-8h]
float v5; // [xsp+Ch] [xbp-4h]
v1 = ((__int64 (__fastcall *)(GameObject *))a1->getObjectRect)(a1);
sub_100022B98(&v3, v1);
return atanf(v5 / v4);
}