{"type": "func", "start": 6443327232, "end": 6443327275, "name": "cocos2d::CCPoint::getDistanceSq", "pseudocode": "// \n// cocos2d::CCPoint::getDistanceSq from 0x1800d5f00 to 0x1800d5f2b (43 bytes)\n// \n// 2 xrefs:\n// > <???> @ 0x18014cf68\n// > <???> @ 0x1801c480c\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 11:22:32 +0000\n// \n\nfloat __fastcall cocos2d::CCPoint::getDistanceSq(cocos2d::CCPoint *this, const struct cocos2d::CCPoint *a2)\n{\n  float *v2; // rax\n  float v4; // [rsp+40h] [rbp+18h] BYREF\n\n  v2 = cocos2d::CCSize::operator-((float *)this, &v4, (float *)a2);\n  return (float)(v2[1] * v2[1]) + (float)(*v2 * *v2);\n}", "assembly": "; \n; cocos2d::CCPoint::getDistanceSq from 0x1800d5f00 to 0x1800d5f2b (43 bytes)\n; \n; 2 xrefs:\n; > <???> @ 0x18014cf68\n; > <???> @ 0x1801c480c\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 11:22:32 +0000\n; \nsub     rsp, 28h                                                       ; +0x0, 0x1800d5f00\nmov     r8, rdx                                                        ; +0x4, 0x1800d5f04\nlea     rdx, [rsp+28h+arg_10]                                          ; +0x7, 0x1800d5f07\ncall    ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0xc, 0x1800d5f0c\nmovss   xmm1, dword ptr [rax]                                          ; +0x11, 0x1800d5f11\nmovss   xmm0, dword ptr [rax+4]                                        ; +0x15, 0x1800d5f15\nmulss   xmm0, xmm0                                                     ; +0x1a, 0x1800d5f1a\nmulss   xmm1, xmm1                                                     ; +0x1e, 0x1800d5f1e\naddss   xmm0, xmm1                                                     ; +0x22, 0x1800d5f22\nadd     rsp, 28h                                                       ; +0x26, 0x1800d5f26\nretn                                                                   ; +0x2a, 0x1800d5f2a", "xrefs": ["<???> @ 0x18014cf68", "<???> @ 0x1801c480c"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}