// // sub_7B358 from 0x7b358 to 0x7b3a4 (76 bytes) // // 2 xrefs: // > sub_7B0C4 @ 0x7b118 // > sub_7B170 @ 0x7b21c // // 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 *__fastcall sub_7B358(float *result) { float v1; // s0 float v2; // s1 float v3; // s2 float v4; // s3 float v5; // s3 float v6; // 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 ) { *(_QWORD *)result = 0; v6 = 0.0; } else { v5 = 1.0 / v4; *result = v1 * v5; result[1] = v2 * v5; v6 = v3 * v5; } result[2] = v6; return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source