//
// cocos2d::CCDrawNode::is_circle_on_screen from 0xd4c55c to 0xd4c5b0 (84 bytes)
//
// 3 xrefs:
// > cocos2d::CCDrawNode::drawDot @ 0xd4c754
// > cocos2d::CCDrawNode::drawCircle @ 0xd4dd70
// > ??> @ 0x6b6b0
//
// This function is hookable on this platform (idp: arm, 32 bit: False, 64 bit: True!
//
// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA
// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings
// Generated at Fri, 27 Nov 2026 13:07:38 +0000
//
__int64 __fastcall cocos2d::CCDrawNode::is_circle_on_screen(
cocos2d::CCDrawNode *this,
const cocos2d::CCRect *a2,
const cocos2d::CCPoint *a3,
float a4)
{
unsigned int v4; // w1
float v5; // s2
v4 = 0;
v5 = *((float *)a3 + 1);
if ( (float)(*(float *)a3 + a4) >= *((float *)this + 99)
&& (float)(*(float *)a3 - a4) <= *((float *)this + 100)
&& (float)(v5 + a4) >= *((float *)this + 102) )
{
return (float)(v5 - a4) <= *((float *)this + 101);
}
return v4;
}