// // sub_1004FFD14 from 0x1004ffd14 to 0x1004ffd78 (100 bytes) // // 1 xrefs: // > @ 0x100854c48 // // 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_1004FFD14(float *result, float *a2, int a3) { __int64 i; // x8 float v4; // s1 float v5; // s0 float v6; // s1 if ( a3 >= 1 ) { for ( i = (unsigned int)a3; i; --i ) { v5 = *result; v6 = *a2; if ( *result <= 0.0 ) { if ( v6 > 0.0 ) { v5 = v5 + v6; goto LABEL_5; } v4 = v5 - v6; } else { if ( v6 > 0.0 ) { v5 = v5 - v6; goto LABEL_5; } v4 = v5 + v6; } *result = v4; LABEL_5: *a2++ = v5; ++result; } } return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source