// // cocos2d::CCPoint::getDistanceSq from 0x1800d5f00 to 0x1800d5f2b (43 bytes) // // 2 xrefs: // > @ 0x18014cf68 // > @ 0x1801c480c // // 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 11:22:32 +0000 // float __fastcall cocos2d::CCPoint::getDistanceSq(cocos2d::CCPoint *this, const struct cocos2d::CCPoint *a2) { float *v2; // rax float v4; // [rsp+40h] [rbp+18h] BYREF v2 = cocos2d::CCSize::operator-((float *)this, &v4, (float *)a2); return (float)(v2[1] * v2[1]) + (float)(*v2 * *v2); }