// // cocos2d::ccpNormalize from 0x7f6314 to 0x7f635c (72 bytes) // // 19 xrefs: // > HardStreak::updateStroke @ 0x56a5e0 // > HardStreak::updateStroke @ 0x56a630 // > HardStreak::updateStroke @ 0x56a740 // > GJBaseGameLayer::triggerMoveCommand @ 0x5a223a // > GJBaseGameLayer::processDynamicObjectActions @ 0x5ad7e6 // > GJBaseGameLayer::processAdvancedFollowAction @ 0x5bbc4c // > GJBaseGameLayer::processAdvancedFollowAction @ 0x5bc186 // > TouchControlEditLayer::beginDeadzoneDrag @ 0x7a3086 // > cocos2d::CCLens3D::update @ 0x7bace2 // > sub_7CC004 @ 0x7cc026 // > cocos2d::CCParticleSystem::update @ 0x7e3f00 // > cocos2d::CCParticleSystem::update @ 0x7e40ee // > cocos2d::ccpAngle @ 0x7f66b6 // > cocos2d::ccpAngle @ 0x7f66be // > cocos2d::ccVertexLineToPolygon @ 0x7f732a // > cocos2d::ccVertexLineToPolygon @ 0x7f7368 // > cocos2d::ccVertexLineToPolygon @ 0x7f737e // > cocos2d::ccVertexLineToPolygon @ 0x7f73fc // > cocos2d::ccVertexLineToPolygon @ 0x7f741c // // This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False! // // 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 12:01:09 +0000 // cocos2d *__fastcall cocos2d::ccpNormalize(cocos2d *this, const cocos2d::CCPoint *a2) { float v4; // s15 v4 = sqrtf((float)(*((float *)a2 + 1) * *((float *)a2 + 1)) + (float)(*(float *)a2 * *(float *)a2)); if ( v4 == 0.0 ) cocos2d::CCPoint::CCPoint((float *)this, 1.0, 0.0); else cocos2d::CCPoint::operator/((float *)this, (float *)a2, v4); return this; }
GD Web Decomp Icon

GD Web Decomp

Raw Source