{"type": "func", "start": 6443769020, "end": 6443769103, "name": "__acrt_fenv_get_status", "pseudocode": "// \n// __acrt_fenv_get_status from 0x180141cbc to 0x180141d0f (83 bytes)\n// \n// 1 xrefs:\n// > fegetenv @ 0x18014149c\n// \n// This function is hookable on this platform!\n// \n// Using BromaIDA 8.0.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings\n// \n\n__int64 _acrt_fenv_get_status()\n{\n  int v0; // edx\n  char v2; // [rsp+8h] [rbp+8h]\n\n  v2 = _mm_getcsr();\n  v0 = ((unsigned __int8)(v2 & 0x3F) >> 5)\n     | (16 * (v2 & 1))\n     | (2 * (((unsigned __int8)(v2 & 0x3F) >> 4) & 1))\n     | (4 * (((unsigned __int8)(v2 & 0x3F) >> 3) & 1))\n     | (8 * (((unsigned __int8)(v2 & 0x3F) >> 2) & 1))\n     | (32 * (((unsigned __int8)(v2 & 0x3F) >> 1) & 1));\n  return v0 | (unsigned int)(v0 << 24);\n}", "assembly": "; \n; __acrt_fenv_get_status from 0x180141cbc to 0x180141d0f (83 bytes)\n; \n; 1 xrefs:\n; > fegetenv @ 0x18014149c\n; \n; This function is hookable on this platform!\n; \n; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA\n; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings\n; \n\nstmxcsr [rsp+arg_0]                                                    ; +0x0, 0x180141cbc\nmov     ecx, [rsp+arg_0]                                               ; +0x5, 0x180141cc1\nand     ecx, 3Fh                                                       ; +0x9, 0x180141cc5\nmov     edx, ecx                                                       ; +0xc, 0x180141cc8\nmov     eax, ecx                                                       ; +0xe, 0x180141cca\nshr     eax, 2                                                         ; +0x10, 0x180141ccc\nand     eax, 1                                                         ; +0x13, 0x180141ccf\nshr     edx, 1                                                         ; +0x16, 0x180141cd2\nshl     eax, 3                                                         ; +0x18, 0x180141cd4\nand     edx, 1                                                         ; +0x1b, 0x180141cd7\nshl     edx, 5                                                         ; +0x1e, 0x180141cda\nor      edx, eax                                                       ; +0x21, 0x180141cdd\nmov     eax, ecx                                                       ; +0x23, 0x180141cdf\nshr     eax, 3                                                         ; +0x25, 0x180141ce1\nand     eax, 1                                                         ; +0x28, 0x180141ce4\nshl     eax, 2                                                         ; +0x2b, 0x180141ce7\nor      edx, eax                                                       ; +0x2e, 0x180141cea\nmov     eax, ecx                                                       ; +0x30, 0x180141cec\nshr     eax, 4                                                         ; +0x32, 0x180141cee\nand     eax, 1                                                         ; +0x35, 0x180141cf1\nadd     eax, eax                                                       ; +0x38, 0x180141cf4\nor      edx, eax                                                       ; +0x3a, 0x180141cf6\nmov     eax, ecx                                                       ; +0x3c, 0x180141cf8\nand     eax, 1                                                         ; +0x3e, 0x180141cfa\nshr     ecx, 5                                                         ; +0x41, 0x180141cfd\nshl     eax, 4                                                         ; +0x44, 0x180141d00\nor      edx, eax                                                       ; +0x47, 0x180141d03\nor      edx, ecx                                                       ; +0x49, 0x180141d05\nmov     eax, edx                                                       ; +0x4b, 0x180141d07\nshl     eax, 18h                                                       ; +0x4d, 0x180141d09\nor      eax, edx                                                       ; +0x50, 0x180141d0c\nretn                                                                   ; +0x52, 0x180141d0e", "xrefs": ["fegetenv @ 0x18014149c"], "is_objc": false, "is_arm32": false, "is_arm64": false, "bida_info": "8.0.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit ba9f177b at Thu Jul 16 22:52:06 2026 from https://github.com/geode-sdk/bindings"}