//
// GameObject::getObjectRadius from 0x1002628a8 to 0x1002628d4 (44 bytes)
//
// 7 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e4984
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e499c
// > GJBaseGameLayer::updateDebugDraw @ 0x1001e49ac
// > GJBaseGameLayer::damagingObjectsInRect @ 0x1001e5650
// > GJBaseGameLayer::playerIntersectsCircle @ 0x1001e5af4
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001e5b7c
// > ForceBlockGameObject::calculateForceToTarget @ 0x100396dec
//
// 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::getObjectRadius(GameObject *a1)
{
float m_scaleX; // s0
float m_scaleY; // s1
float v3; // s2
bool v4; // zf
float result; // s0
m_scaleX = a1->m_scaleX;
m_scaleY = a1->m_scaleY;
if ( m_scaleX >= m_scaleY )
v3 = a1->m_scaleX;
else
v3 = a1->m_scaleY;
v4 = m_scaleY == 1.0 && m_scaleX == 1.0;
result = a1->m_objectRadius;
if ( !v4 )
return result * v3;
return result;
}