// // cocos2d::CCPoint::normalize from 0x5bf0b2 to 0x5bf0fa (72 bytes) // // 2 xrefs: // > cocos2d::CCPoint::getAngle @ 0x5bf202 // > cocos2d::CCPoint::getAngle @ 0x5bf20a // // 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 // cocos2d::CCPoint *__fastcall cocos2d::CCPoint::normalize(cocos2d::CCPoint *this, float *a2) { float v4; // s15 v4 = sqrtf((float)(a2[1] * a2[1]) + (float)(*a2 * *a2)); if ( v4 == 0.0 ) cocos2d::CCPoint::CCPoint(this, 1.0, 0.0); else cocos2d::CCPoint::operator/(this, a2, v4); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source