// // normalize from 0x6aa078 to 0x6aa110 (152 bytes) // // 1 xrefs: // > @ 0xed940 // // This function is hookable on this platform (idp: arm, 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 12:50:47 +0000 // cocos2d::CCPoint *__usercall normalize@(float *a1@, cocos2d::CCPoint *a2@) { float v2; // s1 float v3; // s2 float v4; // s3 float v5; // s3 v2 = a1[1]; v3 = *a1; v4 = sqrtf((float)(v2 * v2) + (float)(v3 * v3)); if ( v4 >= 0.00000011921 ) v5 = 1.0 / v4; else v5 = 1000.0; *a1 = v3 * v5; a1[1] = v2 * v5; cocos2d::CCPoint::CCPoint(a2, (const cocos2d::CCPoint *)a1); return a2; }
GD Web Decomp Icon

GD Web Decomp

Raw Source