{"type": "func", "start": 6442518144, "end": 6442518289, "name": "sub_180010680", "pseudocode": "// \n// sub_180010680 from 0x180010680 to 0x180010711 (145 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x18016c740\n// > <???> @ 0x18016c9b8\n// > <???> @ 0x1801f6e34\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 sub_180010680(__int64 a1, float a2)\n{\n  if ( (LODWORD(a2) & 0x7F800000) == 0x7F800000 )\n    return 29;\n  else\n    return (*(__int64 (__fastcall **)(__int64))(*(_QWORD *)a1 + 184LL))(a1);\n}", "assembly": "; \n; sub_180010680 from 0x180010680 to 0x180010711 (145 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x18016c740\n; > <???> @ 0x18016c9b8\n; > <???> @ 0x1801f6e34\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, 58h                                                       ; +0x0, 0x180010680\nmovss   [rsp+58h+arg_8], xmm1                                          ; +0x4, 0x180010684\nmov     eax, [rsp+58h+arg_8]                                           ; +0xa, 0x18001068a\nand     eax, 7F800000h                                                 ; +0xe, 0x18001068e\ncmp     eax, 7F800000h                                                 ; +0x13, 0x180010693\njnz     short loc_1800106A4                                            ; +0x18, 0x180010698\nmov     eax, 1Dh                                                       ; +0x1a, 0x18001069a\nadd     rsp, 58h                                                       ; +0x1f, 0x18001069f\nretn                                                                   ; +0x23, 0x1800106a3\ncomiss  xmm1, cs:X                                                     ; +0x24, 0x1800106a4\nmovss   xmm0, cs:dword_180145744                                       ; +0x2b, 0x1800106ab\nxorps   xmm3, xmm3                                                     ; +0x33, 0x1800106b3\njnb     short loc_1800106BD                                            ; +0x36, 0x1800106b6\nxorps   xmm1, xmm1                                                     ; +0x38, 0x1800106b8\njmp     short loc_1800106D3                                            ; +0x3b, 0x1800106bb\ncomiss  xmm1, xmm0                                                     ; +0x3d, 0x1800106bd\njbe     short loc_1800106C7                                            ; +0x40, 0x1800106c0\nmovaps  xmm1, xmm0                                                     ; +0x42, 0x1800106c2\njmp     short loc_1800106D3                                            ; +0x45, 0x1800106c5\naddss   xmm1, xmm0                                                     ; +0x47, 0x1800106c7\nmulss   xmm1, cs:dword_18014573C                                       ; +0x4b, 0x1800106cb\nmov     rax, [rcx]                                                     ; +0x53, 0x1800106d3\nsubss   xmm0, xmm1                                                     ; +0x56, 0x1800106d6\nmovss   [rsp+58h+var_18], xmm3                                         ; +0x5a, 0x1800106da\nxorps   xmm2, xmm2                                                     ; +0x60, 0x1800106e0\nsqrtss  xmm2, xmm1                                                     ; +0x63, 0x1800106e3\nxorps   xmm1, xmm1                                                     ; +0x67, 0x1800106e7\nmovss   [rsp+58h+var_20], xmm3                                         ; +0x6a, 0x1800106ea\nmovss   [rsp+58h+var_28], xmm3                                         ; +0x70, 0x1800106f0\nsqrtss  xmm1, xmm0                                                     ; +0x76, 0x1800106f6\nmovss   [rsp+58h+var_30], xmm3                                         ; +0x7a, 0x1800106fa\nmovss   [rsp+58h+var_38], xmm3                                         ; +0x80, 0x180010700\ncall    qword ptr [rax+0B8h]                                           ; +0x86, 0x180010706\nadd     rsp, 58h                                                       ; +0x8c, 0x18001070c\nretn                                                                   ; +0x90, 0x180010710", "xrefs": ["<???> @ 0x18016c740", "<???> @ 0x18016c9b8", "<???> @ 0x1801f6e34"], "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"}