//
// GJBaseGameLayer::playerIntersectsCircle from 0x46e74c to 0x46e7cc (128 bytes)
//
// 1 xrefs:
// > GJBaseGameLayer::playerCircleCollision @ 0x46e7da
//
// 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 GJBaseGameLayer::playerIntersectsCircle(GJBaseGameLayer *a1, PlayerObject *a2, GameObject *a3)
{
const cocos2d::CCPoint *v5; // r8
float v6; // s17
float ObjectRadius; // s16
cocos2d::CCPoint v9; // [sp+4h] [bp-Ch] BYREF
v5 = a2->getPosition(a2);
a3->getRealPosition(&v9, a3);
v6 = cocos2d::ccpDistance(v5, &v9);
ObjectRadius = GameObject::getObjectRadius(a3);
return v6 <= (float)(ObjectRadius + (float)(a2->getObjectRect(a2)->size.width * 0.5));
}