// // cocos2d::CCPoint::getLength from 0x18000cba0 to 0x18000cbcd (45 bytes) // // 8 xrefs: // > cocos2d::CCDrawNode::drawArchLikeHalfCircle @ 0x180012324 // > cocos2d::CCLens3D::update @ 0x18002e08e // > cocos2d::CCLens3D::update @ 0x18002e0d6 // > cocos2d::CCLens3D::update @ 0x18002e124 // > cocos2d::CCRipple3D::update @ 0x18002e55f // > cocos2d::CCTwirl::update @ 0x18002e9c8 // > cocos2d::CCLayerGradient::updateColor @ 0x18005319f // > @ 0x18014cf68 // // 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:21:20 +0000 // // Alternative name is '?ccpLength@cocos2d@@YAMAEBVCCPoint@1@@Z' float __fastcall cocos2d::CCPoint::getLength(cocos2d::CCPoint *this) { float v1; // xmm1_4 v1 = (float)(*((float *)this + 1) * *((float *)this + 1)) + (float)(*(float *)this * *(float *)this); if ( v1 < 0.0 ) return sqrtf(v1); else return fsqrt(v1); }
GD Web Decomp Icon

GD Web Decomp

Raw Source