//
// __acrt_fenv_get_status from 0x180141cbc to 0x180141d0f (83 bytes)
//
// 1 xrefs:
// > fegetenv @ 0x18014149c
//
// 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
//
__int64 _acrt_fenv_get_status()
{
int v0; // edx
char v2; // [rsp+8h] [rbp+8h]
v2 = _mm_getcsr();
v0 = ((unsigned __int8)(v2 & 0x3F) >> 5)
| (16 * (v2 & 1))
| (2 * (((unsigned __int8)(v2 & 0x3F) >> 4) & 1))
| (4 * (((unsigned __int8)(v2 & 0x3F) >> 3) & 1))
| (8 * (((unsigned __int8)(v2 & 0x3F) >> 2) & 1))
| (32 * (((unsigned __int8)(v2 & 0x3F) >> 1) & 1));
return v0 | (unsigned int)(v0 << 24);
}