// // __floatsitf from 0xe89550 to 0xe895b4 (100 bytes) // // 2 xrefs: // > sub_D146DC @ 0xd147ac // > @ 0xab378 // // 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 // __n128 __fastcall _floatsitf(unsigned int a1) { unsigned int v1; // w1 unsigned __int8 v2; // w4 __int16 v3; // w5 unsigned __int64 v4; // x0 __n128 result; // q0 if ( a1 ) { v1 = a1 >> 31; if ( (a1 & 0x80000000) != 0 ) a1 = -a1; v2 = v1; v3 = 16446 - __clz(a1); v4 = (unsigned __int64)a1 << (47 - (unsigned __int8)v3); } else { v4 = 0; v3 = 0; v2 = 0; } result.n128_u64[0] = 0; result.n128_u64[1] = v4 & 0xFFFFFFFFFFFFLL | ((unsigned __int64)(v3 & 0x7FFF) << 48) & 0x7FFFFFFFFFFFFFFFLL | ((unsigned __int64)v2 << 63); return result; }
GD Web Decomp Icon

GD Web Decomp

Raw Source