//
// GameObject::getObjectRadius from 0x1005cb710 to 0x1005cb754 (68 bytes)
//
// 10 xrefs:
// > GJBaseGameLayer::updateDebugDraw @ 0x100121c3b
// > GJBaseGameLayer::updateDebugDraw @ 0x100121c5a
// > GJBaseGameLayer::updateDebugDraw @ 0x100121c75
// > GJBaseGameLayer::damagingObjectsInRect @ 0x100122c45
// > GJBaseGameLayer::playerCircleCollision @ 0x1001231ae
// > GJBaseGameLayer::playerIntersectsCircle @ 0x10012323a
// > GJBaseGameLayer::objectIntersectsCircle @ 0x1001232ae
// > GJBaseGameLayer::checkCollisions @ 0x1001267aa
// > GJBaseGameLayer::collisionCheckObjects @ 0x100126d1a
// > ForceBlockGameObject::calculateForceToTarget @ 0x1001ecce3
//
// 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 result; // xmm0_4
__m128 m_scaleY_low; // xmm1
result = a1->m_objectRadius;
m_scaleY_low = (__m128)LODWORD(a1->m_scaleY);
if ( (_mm_cvtsi128_si32((__m128i)_mm_and_ps(
_mm_cmpeq_ps((__m128)0x3F800000u, m_scaleY_low),
_mm_cmpeq_ps((__m128)LODWORD(a1->m_scaleX), (__m128)0x3F800000u)))
& 1) == 0 )
return result * fmaxf(m_scaleY_low.f32[0], a1->m_scaleX);
return result;
}