//
// GameObject::getObjectRadius from 0x64b6a0 to 0x64b6e4 (68 bytes)
//
// 8 xrefs:
// > ForceBlockGameObject::calculateForceToTarget @ 0x76b99c
// > GJBaseGameLayer::updateDebugDraw @ 0x854e84
// > GJBaseGameLayer::updateDebugDraw @ 0x854eb0
// > GJBaseGameLayer::updateDebugDraw @ 0x854ec4
// > GJBaseGameLayer::objectIntersectsCircle @ 0x858f5c
// > GJBaseGameLayer::playerIntersectsCircle @ 0x859148
// > GJBaseGameLayer::damagingObjectsInRect @ 0x8597f4
// > ??> @ 0xb1150
//
// 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; // s2
float m_scaleY; // s1
float m_objectRadius; // s0
m_scaleX = a1->m_scaleX;
m_scaleY = a1->m_scaleY;
if ( m_scaleX == 1.0 && m_scaleY == 1.0 )
return a1->m_objectRadius;
m_objectRadius = a1->m_objectRadius;
if ( m_scaleX >= m_scaleY )
return m_objectRadius * m_scaleX;
else
return m_objectRadius * m_scaleY;
}