//
// cocos2d::CCDrawNode::is_circle_on_screen from 0x5c54f2 to 0x5c5550 (94 bytes)
//
// 2 xrefs:
// > cocos2d::CCDrawNode::drawDot @ 0x5c5574
// > cocos2d::CCDrawNode::drawCircle @ 0x5c66ec
//
// 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
//
bool cocos2d::CCDrawNode::is_circle_on_screen(
cocos2d::CCDrawNode *a1,
const cocos2d::CCRect *a2,
const cocos2d::CCPoint *a3,
float a4)
{
float y; // s15
y = a3->y;
return (float)(a3->x + a4) >= a1->m_fMinAreaX
&& (float)(a3->x - a4) <= a1->m_fMaxAreaX
&& (float)(y + a4) >= a1->m_fMinAreaY
&& (float)(y - a4) <= a1->m_fMaxAreaY;
}