// // GJBaseGameLayer::objectIntersectsCircle from 0x100280d00 to 0x100280e60 (352 bytes) // // 1 xrefs: // > GJBaseGameLayer::playerCircleCollision @ 0x100280c58 // // 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 11:01:55 +0000 // bool __fastcall GJBaseGameLayer::objectIntersectsCircle(__int64 a1, __int64 a2, __int64 a3) { __int64 v4; // x0 float ObjectRadius; // s8 float v6; // s12 float v7; // s9 float v8; // s10 float v9; // s11 float32x2_t v11; // [xsp+8h] [xbp-78h] BYREF float32x2_t v12; // [xsp+10h] [xbp-70h] BYREF float32x2_t v13; // [xsp+18h] [xbp-68h] BYREF float32x2_t v14; // [xsp+20h] [xbp-60h] BYREF float32x2_t v15; // [xsp+28h] [xbp-58h] BYREF float v16[4]; // [xsp+30h] [xbp-50h] BYREF v4 = (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a2 + 1328LL))(a2); sub_1000264D4(v16, v4); ObjectRadius = GameObject::getObjectRadius(a3); (*(void (__fastcall **)(float32x2_t *__return_ptr, __int64))(*(_QWORD *)a3 + 1360LL))(&v15, a3); v6 = sub_10002656C(v16); v7 = sub_1000265A0((__int64)v16); v8 = sub_1000265A8((__int64)v16); v9 = sub_1000265DC((__int64)v16); if ( sub_1000265E4(v16, (float *)&v15) ) return 1; sub_1000262BC((float *)&v14, v6, v8); if ( fabsf(cocos2d::ccpDistance(&v14, &v15)) < ObjectRadius ) return 1; sub_1000262BC((float *)&v13, v6, v9); if ( fabsf(cocos2d::ccpDistance(&v13, &v15)) < ObjectRadius ) return 1; sub_1000262BC((float *)&v12, v7, v9); if ( fabsf(cocos2d::ccpDistance(&v12, &v15)) < ObjectRadius ) return 1; sub_1000262BC((float *)&v11, v7, v8); return fabsf(cocos2d::ccpDistance(&v11, &v15)) < ObjectRadius; }
GD Web Decomp Icon

GD Web Decomp

Raw Source