//
// cocos2d::CCDrawNode::is_circle_on_screen from 0x100611230 to 0x100611293 (99 bytes)
//
// 0 xrefs:
//
// 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 __fastcall cocos2d::CCDrawNode::is_circle_on_screen(
cocos2d::CCDrawNode *a1,
const cocos2d::CCRect *a2,
const cocos2d::CCPoint *a3,
float a4)
{
if ( a1->m_fMinAreaX > (float)(a3->x + a4) )
return 0;
if ( (float)(a3->x - a4) > a1->m_fMaxAreaX )
return 0;
if ( a1->m_fMinAreaY <= (float)(a3->y + a4) )
return (float)(a3->y - a4) <= a1->m_fMaxAreaY;
return 0;
}