//
// cocos2d::CCDrawNode::is_circle_on_screen from 0xad98fc to 0xad9950 (84 bytes)
//
// 3 xrefs:
// > cocos2d::CCDrawNode::drawDot @ 0xad9af4
// > cocos2d::CCDrawNode::drawCircle @ 0xadb110
// > ??> @ 0x4c8c0
//
// 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)
{
bool v4; // w1
float y; // s2
v4 = 0;
y = a3->y;
if ( (float)(a3->x + a4) >= a1->m_fMinAreaX
&& (float)(a3->x - a4) <= a1->m_fMaxAreaX
&& (float)(y + a4) >= a1->m_fMinAreaY )
{
return (float)(y - a4) <= a1->m_fMaxAreaY;
}
return v4;
}