{"type": "func", "start": 6443646544, "end": 6443646656, "name": "__common_ssin_cout_rare", "pseudocode": "// \n// __common_ssin_cout_rare from 0x180123e50 to 0x180123ec0 (112 bytes)\n// \n// 3 xrefs:\n// > _sse2_sinf4 @ 0x180120ff4\n// > _sse4_sinf4 @ 0x180121934\n// > <???> @ 0x180202624\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 __fastcall _common_ssin_cout_rare(__int64 a1, float *a2)\n{\n  float v2; // xmm1_4\n  __int64 result; // rax\n  float v4; // xmm1_4\n  float v5; // [rsp+20h] [rbp-8h]\n\n  v5 = *(float *)a1;\n  v2 = *(float *)a1;\n  if ( (*(_WORD *)(a1 + 2) & 0x7F80) != 0x7F80 )\n    return 0;\n  HIBYTE(v5) = HIBYTE(*(_DWORD *)a1) & 0x7F;\n  if ( v5 == INFINITY )\n  {\n    result = 1;\n    v4 = v2 * 0.0;\n  }\n  else\n  {\n    v4 = v2 * *(float *)a1;\n    result = 0;\n  }\n  *a2 = v4;\n  return result;\n}", "assembly": "; \n; __common_ssin_cout_rare from 0x180123e50 to 0x180123ec0 (112 bytes)\n; \n; 3 xrefs:\n; > _sse2_sinf4 @ 0x180120ff4\n; > _sse4_sinf4 @ 0x180121934\n; > <???> @ 0x180202624\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\nsub     rsp, 28h                                                       ; +0x0, 0x180123e50\nmov     r8, rdx                                                        ; +0x4, 0x180123e54\nmov     edx, [rcx]                                                     ; +0x7, 0x180123e57\nmovzx   eax, word ptr [rcx+2]                                          ; +0x9, 0x180123e59\nmov     [rsp+28h+var_8], edx                                           ; +0xd, 0x180123e5d\nand     eax, 7F80h                                                     ; +0x11, 0x180123e61\nshr     edx, 18h                                                       ; +0x16, 0x180123e66\nand     edx, 7Fh                                                       ; +0x19, 0x180123e69\nmovss   xmm1, dword ptr [rcx]                                          ; +0x1c, 0x180123e6c\ncmp     eax, 7F80h                                                     ; +0x20, 0x180123e70\njnz     short loc_180123EB0                                            ; +0x25, 0x180123e75\nmov     byte ptr [rsp+28h+var_8+3], dl                                 ; +0x27, 0x180123e77\ncmp     [rsp+28h+var_8], 7F800000h                                     ; +0x2b, 0x180123e7b\njnz     short loc_180123EA0                                            ; +0x33, 0x180123e83\nmovss   xmm0, cs:dword_180206600                                       ; +0x35, 0x180123e85\nmov     eax, 1                                                         ; +0x3d, 0x180123e8d\nmulss   xmm1, xmm0                                                     ; +0x42, 0x180123e92\nmovss   dword ptr [r8], xmm1                                           ; +0x46, 0x180123e96\nadd     rsp, 28h                                                       ; +0x4b, 0x180123e9b\nretn                                                                   ; +0x4f, 0x180123e9f\nmulss   xmm1, dword ptr [rcx]                                          ; +0x50, 0x180123ea0\nxor     eax, eax                                                       ; +0x54, 0x180123ea4\nmovss   dword ptr [r8], xmm1                                           ; +0x56, 0x180123ea6\nadd     rsp, 28h                                                       ; +0x5b, 0x180123eab\nretn                                                                   ; +0x5f, 0x180123eaf\nxor     eax, eax                                                       ; +0x60, 0x180123eb0\nadd     rsp, 28h                                                       ; +0x62, 0x180123eb2\nretn                                                                   ; +0x66, 0x180123eb6\nalign 20h                                                              ; +0x67, 0x180123eb7", "xrefs": ["_sse2_sinf4 @ 0x180120ff4", "_sse4_sinf4 @ 0x180121934", "<???> @ 0x180202624"], "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"}