; ; cocos2d::CCPoint::getDistance from 0x1800975a0 to 0x1800975e6 (70 bytes) ; ; 6 xrefs: ; > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x18001404f ; > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x18001405d ; > cocos2d::CCDrawNode::drawPreciseCubicBezier @ 0x180014079 ; > cocos2d::CCMotionStreak::update @ 0x18005f723 ; > @ 0x18014cf68 ; > @ 0x1801c08e8 ; ; 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:10 +0000 ; sub rsp, 28h ; +0x0, 0x1800975a0 mov r8, rdx ; +0x4, 0x1800975a4 lea rdx, [rsp+28h+arg_10] ; +0x7, 0x1800975a7 call ??GCCSize@cocos2d@@QEBA?AV01@AEBV01@@Z; cocos2d::CCSize::operator-(cocos2d::CCSize const &) ; +0xc, 0x1800975ac movss xmm0, dword ptr [rax] ; +0x11, 0x1800975b1 movss xmm1, dword ptr [rax+4] ; +0x15, 0x1800975b5 mulss xmm0, xmm0 ; +0x1a, 0x1800975ba mulss xmm1, xmm1 ; +0x1e, 0x1800975be addss xmm1, xmm0 ; +0x22, 0x1800975c2 xorps xmm0, xmm0 ; +0x26, 0x1800975c6 ucomiss xmm0, xmm1 ; +0x29, 0x1800975c9 ja short loc_1800975DA ; +0x2c, 0x1800975cc xorps xmm0, xmm0 ; +0x2e, 0x1800975ce sqrtss xmm0, xmm1 ; +0x31, 0x1800975d1 add rsp, 28h ; +0x35, 0x1800975d5 retn ; +0x39, 0x1800975d9 movaps xmm0, xmm1; X ; +0x3a, 0x1800975da add rsp, 28h ; +0x3d, 0x1800975dd jmp sqrtf ; +0x41, 0x1800975e1