// // cocos2d::extension::CCControlPotentiometer::distanceBetweenPointAndPoint from 0xaa3940 to 0xaa3988 (72 bytes) // // 2 xrefs: // > cocos2d::extension::CCControlPotentiometer::isTouchInside @ 0xaa3a14 // > @ 0xc7a40 // // This function is hookable on this platform! // // Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA // Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings // float cocos2d::extension::CCControlPotentiometer::distanceBetweenPointAndPoint( cocos2d::extension::CCControlPotentiometer *a1, cocos2d::CCPoint a2, cocos2d::CCPoint a3) { float *v3; // x1 float *v4; // x2 float v5; // s1 v5 = v3[1] - v4[1]; return sqrtf((float)(v5 * v5) + (float)((float)(*v3 - *v4) * (float)(*v3 - *v4))); }
GD Web Decomp Icon

GD Web Decomp

Raw Source