//
// GameObject::getSlopeAngle from 0x76f608 to 0x76f668 (96 bytes)
//
// 5 xrefs:
// > PlayerObject::collidedWithSlopeInternal @ 0x75f8f8
// > PlayerObject::collidedWithSlopeInternal @ 0x75fa88
// > PlayerObject::collidedWithSlopeInternal @ 0x760688
// > LevelEditorLayer::rotationForSlopeNearObject @ 0x78b544
// > ??> @ 0x46b70
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// 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 12:53:12 +0000
//
float __fastcall GameObject::getSlopeAngle(GameObject *this)
{
const cocos2d::CCRect *v1; // x0
_BYTE v3[8]; // [xsp+28h] [xbp+28h] BYREF
float v4; // [xsp+30h] [xbp+30h]
float v5; // [xsp+34h] [xbp+34h]
v1 = (const cocos2d::CCRect *)(*(__int64 (__fastcall **)(GameObject *))(*(_QWORD *)this + 1328LL))(this);
cocos2d::CCRect::CCRect((cocos2d::CCRect *)v3, v1);
return atanf(v5 / v4);
}