//
// GJBaseGameLayer::playerIntersectsCircle from 0x100100240 to 0x1001002c6 (134 bytes)
//
// 0 xrefs:
//
// This function is hookable on this platform (idp: pc, 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 12:21:20 +0000
//
bool __fastcall GJBaseGameLayer::playerIntersectsCircle(__int64 a1, __int64 a2, __int64 a3)
{
__int64 v4; // r15
__int64 v5; // rax
_BYTE v7[8]; // [rsp+0h] [rbp-30h] BYREF
float v8; // [rsp+8h] [rbp-28h]
float ObjectRadius; // [rsp+Ch] [rbp-24h]
v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 192LL))(a2);
(*(void (__fastcall **)(_BYTE *, __int64))(*(_QWORD *)a3 + 1360LL))(v7, a3);
v8 = cocos2d::ccpDistance(v4, v7);
ObjectRadius = GameObject::getObjectRadius(a3);
v5 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1328LL))(a2);
return (float)((float)(*(float *)(v5 + 8) * 0.5) + ObjectRadius) >= v8;
}