// // sub_64A8C from 0x64a8c to 0x64ad8 (76 bytes) // // 2 xrefs: // > sub_64824 @ 0x6485e // > sub_648B0 @ 0x64950 // // 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 11:40:54 +0000 // float *__fastcall sub_64A8C(float *result) { float v1; // s2 float v2; // s4 float v3; // s0 float v4; // s6 float v5; // s0 v1 = *result; v2 = result[1]; v3 = result[2]; v4 = sqrtf((float)((float)(v1 * v1) + (float)(v2 * v2)) + (float)(v3 * v3)); if ( v4 <= 0.0 ) { v5 = 0.0; *result = 0.0; result[1] = 0.0; } else { v5 = v3 / v4; *result = v1 / v4; result[1] = v2 / v4; } result[2] = v5; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source