//
// GameObject::getObjectRadius from 0x359552 to 0x35958e (60 bytes)
//
// 7 xrefs:
// > ForceBlockGameObject::calculateForceToTarget @ 0x3ec6b4
// > GJBaseGameLayer::updateDebugDraw @ 0x46ba3c
// > GJBaseGameLayer::updateDebugDraw @ 0x46ba64
// > GJBaseGameLayer::updateDebugDraw @ 0x46ba7c
// > GJBaseGameLayer::objectIntersectsCircle @ 0x46e62e
// > GJBaseGameLayer::playerIntersectsCircle @ 0x46e78a
// > GJBaseGameLayer::damagingObjectsInRect @ 0x46ed70
//
// 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::getObjectRadius(GameObject *a1)
{
float m_scaleX; // s13
float m_scaleY; // s14
float m_objectRadius; // s15
m_scaleX = a1->m_scaleX;
m_scaleY = a1->m_scaleY;
m_objectRadius = a1->m_objectRadius;
if ( m_scaleX != 1.0 || m_scaleY != 1.0 )
{
if ( m_scaleX >= m_scaleY )
m_scaleY = a1->m_scaleX;
return m_objectRadius * m_scaleY;
}
return m_objectRadius;
}