{"type": "func", "start": 6443708320, "end": 6443708436, "name": "_sptype", "pseudocode": "// \n// _sptype from 0x180132fa0 to 0x180133014 (116 bytes)\n// \n// 1 xrefs:\n// > ldexp @ 0x180127527\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 sptype(double a1)\n{\n  if ( HIDWORD(a1) == 2146435072 && !LODWORD(a1) )\n    return 1;\n  if ( HIDWORD(a1) == -1048576 && !LODWORD(a1) )\n    return 2;\n  if ( (HIWORD(a1) & 0x7FF8) == 0x7FF8 )\n    return 3;\n  if ( (HIWORD(a1) & 0x7FF8) == 0x7FF0 && ((HIDWORD(a1) & 0x7FFFF) != 0 || LODWORD(a1)) )\n    return 4;\n  return 0;\n}", "assembly": "; \n; _sptype from 0x180132fa0 to 0x180133014 (116 bytes)\n; \n; 1 xrefs:\n; > ldexp @ 0x180127527\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\nmovsd   [rsp+arg_0], xmm0                                              ; +0x0, 0x180132fa0\nmov     rax, [rsp+arg_0]                                               ; +0x6, 0x180132fa6\nmov     rcx, rax                                                       ; +0xb, 0x180132fab\nshr     rcx, 20h                                                       ; +0xe, 0x180132fae\ncmp     ecx, 7FF00000h                                                 ; +0x12, 0x180132fb2\njnz     short loc_180132FC4                                            ; +0x18, 0x180132fb8\ntest    eax, eax                                                       ; +0x1a, 0x180132fba\njnz     short loc_180132FC4                                            ; +0x1c, 0x180132fbc\nmov     eax, 1                                                         ; +0x1e, 0x180132fbe\nretn                                                                   ; +0x23, 0x180132fc3\ncmp     ecx, 0FFF00000h                                                ; +0x24, 0x180132fc4\njnz     short loc_180132FD6                                            ; +0x2a, 0x180132fca\ntest    eax, eax                                                       ; +0x2c, 0x180132fcc\njnz     short loc_180132FD6                                            ; +0x2e, 0x180132fce\nmov     eax, 2                                                         ; +0x30, 0x180132fd0\nretn                                                                   ; +0x35, 0x180132fd5\nmov     r8d, 7FF8h                                                     ; +0x36, 0x180132fd6\nmov     rdx, rax                                                       ; +0x3c, 0x180132fdc\nshr     rdx, 30h                                                       ; +0x3f, 0x180132fdf\nand     dx, r8w                                                        ; +0x43, 0x180132fe3\ncmp     dx, r8w                                                        ; +0x47, 0x180132fe7\njnz     short loc_180132FF3                                            ; +0x4b, 0x180132feb\nmov     eax, 3                                                         ; +0x4d, 0x180132fed\nretn                                                                   ; +0x52, 0x180132ff2\nmov     r8d, 7FF0h                                                     ; +0x53, 0x180132ff3\ncmp     dx, r8w                                                        ; +0x59, 0x180132ff9\njnz     short loc_180133011                                            ; +0x5d, 0x180132ffd\ntest    ecx, 7FFFFh                                                    ; +0x5f, 0x180132fff\njnz     short loc_18013300B                                            ; +0x65, 0x180133005\ntest    eax, eax                                                       ; +0x67, 0x180133007\njz      short loc_180133011                                            ; +0x69, 0x180133009\nmov     eax, 4                                                         ; +0x6b, 0x18013300b\nretn                                                                   ; +0x70, 0x180133010\nxor     eax, eax                                                       ; +0x71, 0x180133011\nretn                                                                   ; +0x73, 0x180133013", "xrefs": ["ldexp @ 0x180127527"], "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"}