{"type": "func", "start": 6443470352, "end": 6443470519, "name": "sub_1800F8E10", "pseudocode": "// \n// sub_1800F8E10 from 0x1800f8e10 to 0x1800f8eb7 (167 bytes)\n// \n// 4 xrefs:\n// > sub_1800FAA20 @ 0x1800faa72\n// > sub_1800FAB00 @ 0x1800fab51\n// > <???> @ 0x180200bb4\n// > <???> @ 0x180200bc0\n// \n// This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n// \n// Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n// Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n// Generated at Fri, 27 Nov 2026 10:54:24 +0000\n// \n\n__int64 __fastcall sub_1800F8E10(__int64 a1, float *a2, float *a3, __int64 a4, float a5)\n{\n  __m128 v5; // xmm0\n  float v10; // xmm4_4\n  float v11; // xmm3_4\n\n  v5 = 0;\n  *(double *)v5.m128_u64 = _libm_sse2_sincosf_(a1, a2, a3);\n  v10 = (float)(_mm_shuffle_ps(v5, v5, 1).m128_f32[0] * *(float *)(*(_QWORD *)a1 + 16LL))\n      + (float)(v5.m128_f32[0] * *(float *)(*(_QWORD *)a1 + 8LL));\n  v11 = fsqrt(2.0 - (float)(v10 * v10));\n  *a2 = (float)((float)((float)(v11 + v10) * a5) * 0.5) + *a2;\n  *a3 = (float)((float)((float)(v11 - v10) * a5) * 0.5) + *a3;\n  return 0;\n}", "assembly": "; \n; sub_1800F8E10 from 0x1800f8e10 to 0x1800f8eb7 (167 bytes)\n; \n; 4 xrefs:\n; > sub_1800FAA20 @ 0x1800faa72\n; > sub_1800FAB00 @ 0x1800fab51\n; > <???> @ 0x180200bb4\n; > <???> @ 0x180200bc0\n; \n; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True!\n; \n; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA\n; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings\n; Generated at Fri, 27 Nov 2026 10:54:24 +0000\n; \nmov     [rsp+arg_0], rbx                                               ; +0x0, 0x1800f8e10\nmov     [rsp+arg_8], rsi                                               ; +0x5, 0x1800f8e15\npush    rdi                                                            ; +0xa, 0x1800f8e1a\nsub     rsp, 20h                                                       ; +0xb, 0x1800f8e1b\nmulss   xmm3, cs:dword_18016E550                                       ; +0xf, 0x1800f8e1f\nxorps   xmm0, xmm0                                                     ; +0x17, 0x1800f8e27\nmov     rsi, r8                                                        ; +0x1a, 0x1800f8e2a\nmov     rdi, rdx                                                       ; +0x1d, 0x1800f8e2d\nmov     rbx, rcx                                                       ; +0x20, 0x1800f8e30\nmovss   xmm0, xmm3                                                     ; +0x23, 0x1800f8e33\ncall    __libm_sse2_sincosf_                                           ; +0x27, 0x1800f8e37\nmov     rax, [rbx]                                                     ; +0x2c, 0x1800f8e3c\nxorps   xmm3, xmm3                                                     ; +0x2f, 0x1800f8e3f\nmov     rbx, [rsp+28h+arg_0]                                           ; +0x32, 0x1800f8e42\nmovaps  xmm4, xmm0                                                     ; +0x37, 0x1800f8e47\nshufps  xmm4, xmm0, 1                                                  ; +0x3a, 0x1800f8e4a\nmulss   xmm0, dword ptr [rax+8]                                        ; +0x3e, 0x1800f8e4e\nmulss   xmm4, dword ptr [rax+10h]                                      ; +0x43, 0x1800f8e53\nxor     eax, eax                                                       ; +0x48, 0x1800f8e58\naddss   xmm4, xmm0                                                     ; +0x4a, 0x1800f8e5a\nmovss   xmm0, cs:flt_180145750                                         ; +0x4e, 0x1800f8e5e\nmovaps  xmm1, xmm4                                                     ; +0x56, 0x1800f8e66\nmulss   xmm1, xmm4                                                     ; +0x59, 0x1800f8e69\nsubss   xmm0, xmm1                                                     ; +0x5d, 0x1800f8e6d\nsqrtss  xmm3, xmm0                                                     ; +0x61, 0x1800f8e71\nmovaps  xmm2, xmm3                                                     ; +0x65, 0x1800f8e75\nsubss   xmm3, xmm4                                                     ; +0x68, 0x1800f8e78\naddss   xmm2, xmm4                                                     ; +0x6c, 0x1800f8e7c\nmulss   xmm3, [rsp+28h+arg_20]                                         ; +0x70, 0x1800f8e80\nmulss   xmm2, [rsp+28h+arg_20]                                         ; +0x76, 0x1800f8e86\nmulss   xmm3, cs:dword_18014573C                                       ; +0x7c, 0x1800f8e8c\nmulss   xmm2, cs:dword_18014573C                                       ; +0x84, 0x1800f8e94\naddss   xmm2, dword ptr [rdi]                                          ; +0x8c, 0x1800f8e9c\nmovss   dword ptr [rdi], xmm2                                          ; +0x90, 0x1800f8ea0\naddss   xmm3, dword ptr [rsi]                                          ; +0x94, 0x1800f8ea4\nmovss   dword ptr [rsi], xmm3                                          ; +0x98, 0x1800f8ea8\nmov     rsi, [rsp+28h+arg_8]                                           ; +0x9c, 0x1800f8eac\nadd     rsp, 20h                                                       ; +0xa1, 0x1800f8eb1\npop     rdi                                                            ; +0xa5, 0x1800f8eb5\nretn                                                                   ; +0xa6, 0x1800f8eb6", "xrefs": ["sub_1800FAA20 @ 0x1800faa72", "sub_1800FAB00 @ 0x1800fab51", "<???> @ 0x180200bb4", "<???> @ 0x180200bc0"], "is_objc": false, "is_32_bit": false, "is_64_bit": true, "idp_name": "pc", "bida_info": "8.3.0 @ https://github.com/Stazzical/BromaIDA", "bindings_info": "commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings"}