// // GJBaseGameLayer::playerIntersectsCircle from 0x58e2a4 to 0x58e324 (128 bytes) // // 1 xrefs: // > GJBaseGameLayer::playerCircleCollision @ 0x58e332 // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 11:53:04 +0000 // bool __fastcall GJBaseGameLayer::playerIntersectsCircle(GJBaseGameLayer *this, PlayerObject *a2, GameObject *a3) { cocos2d *v5; // r8 const cocos2d::CCPoint *v6; // r2 float v7; // s17 float v8; // s16 _BYTE v10[8]; // [sp+4h] [bp-Ch] BYREF v5 = (cocos2d *)(*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a2 + 96))(a2); (*(void (__fastcall **)(_BYTE *, GameObject *))(*(_DWORD *)a3 + 680))(v10, a3); v7 = COERCE_FLOAT(cocos2d::ccpDistance(v5, (const cocos2d::CCPoint *)v10, v6)); v8 = COERCE_FLOAT(GameObject::getObjectRadius(a3)); return v7 <= (float)(v8 + (float)(*(float *)((*(int (__fastcall **)(PlayerObject *))(*(_DWORD *)a2 + 664))(a2) + 8) * 0.5)); }
GD Web Decomp Icon

GD Web Decomp

Raw Source