{"type": "func", "start": 6443549664, "end": 6443550036, "name": "sub_18010C3E0", "pseudocode": "// \n// sub_18010C3E0 from 0x18010c3e0 to 0x18010c554 (372 bytes)\n// \n// 4 xrefs:\n// > sub_18010D0C0 @ 0x18010d1d3\n// > <???> @ 0x1801908d0\n// > <???> @ 0x1801908e0\n// > <???> @ 0x1802018c8\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\nunsigned __int64 __fastcall sub_18010C3E0(__int64 a1, __int64 *a2, unsigned int a3)\n{\n  unsigned __int64 result; // rax\n  unsigned int v4; // r10d\n  unsigned int v5; // r8d\n  __int64 v6; // r11\n  __int64 v7; // rbx\n  __int64 v8; // rbp\n  __int64 v9; // rsi\n  __int64 v10; // rdi\n  __int64 v11; // r12\n  __int64 v12; // r14\n  __int64 v13; // r15\n  __int64 v14; // rdx\n  __m128 v15; // xmm3\n  __m128 v16; // xmm5\n  __m128 v17; // xmm2\n  __m128 v18; // xmm0\n  __m128 v19; // xmm1\n  __m128 v20; // xmm7\n  __m128 v21; // xmm3\n  __m128 v22; // xmm0\n  __m128 v23; // xmm4\n  __m128 v24; // xmm6\n  __m128 v25; // xmm2\n  __m128 v26; // xmm7\n  __m128 v27; // xmm2\n  __m128 v28; // xmm5\n  _UNKNOWN *retaddr; // [rsp+58h] [rbp+0h] BYREF\n\n  result = (unsigned __int64)&retaddr;\n  v4 = 0;\n  v5 = a3 >> 2;\n  if ( v5 )\n  {\n    v6 = *a2;\n    v7 = a2[1];\n    v8 = a2[4];\n    v9 = a2[3];\n    v10 = a2[2];\n    v11 = a2[7];\n    v12 = a2[5];\n    v13 = a2[6];\n    do\n    {\n      v14 = 24 * v4;\n      v15 = *(__m128 *)(a1 + 4LL * (unsigned int)(v14 + 4));\n      v16 = *(__m128 *)(a1 + 4LL * (unsigned int)(v14 + 8));\n      v17 = *(__m128 *)(a1 + 4LL * (unsigned int)(v14 + 12));\n      v18 = *(__m128 *)(a1 + 4LL * (unsigned int)(v14 + 16));\n      v19 = *(__m128 *)(a1 + 4LL * (unsigned int)(v14 + 20));\n      result = 4 * v4;\n      v20 = _mm_unpacklo_ps(v15, v18);\n      ++v4;\n      v21 = _mm_unpackhi_ps(v15, v18);\n      v22 = _mm_unpackhi_ps(v16, v19);\n      v23 = _mm_unpacklo_ps(*(__m128 *)(a1 + 4 * v14), v17);\n      v24 = _mm_unpackhi_ps(*(__m128 *)(a1 + 4 * v14), v17);\n      v25 = v20;\n      v26 = _mm_unpackhi_ps(v20, v22);\n      v27 = _mm_unpacklo_ps(v25, v22);\n      *(__m128 *)(v6 + 4 * result) = _mm_unpacklo_ps(v23, v21);\n      v28 = _mm_unpacklo_ps(v16, v19);\n      *(__m128 *)(v7 + 4 * result) = _mm_unpackhi_ps(v23, v21);\n      *(__m128 *)(v10 + 4 * result) = _mm_unpacklo_ps(v24, v28);\n      *(__m128 *)(v9 + 4 * result) = _mm_unpackhi_ps(v24, v28);\n      *(__m128 *)(v8 + 4 * result) = _mm_mul_ps(v27, (__m128)xmmword_18016F280);\n      *(__m128 *)(v12 + 4 * result) = _mm_mul_ps(v26, (__m128)xmmword_18016F280);\n      *(__m128 *)(v13 + 4 * result) = _mm_mul_ps(v27, (__m128)xmmword_18016F230);\n      *(__m128 *)(v11 + 4 * result) = _mm_mul_ps(v26, (__m128)xmmword_18016F230);\n    }\n    while ( v4 < v5 );\n  }\n  return result;\n}", "assembly": "; \n; sub_18010C3E0 from 0x18010c3e0 to 0x18010c554 (372 bytes)\n; \n; 4 xrefs:\n; > sub_18010D0C0 @ 0x18010d1d3\n; > <???> @ 0x1801908d0\n; > <???> @ 0x1801908e0\n; > <???> @ 0x1802018c8\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\nmov     rax, rsp                                                       ; +0x0, 0x18010c3e0\nsub     rsp, 58h                                                       ; +0x3, 0x18010c3e3\nmovaps  xmmword ptr [rax-48h], xmm8                                    ; +0x7, 0x18010c3e7\nxor     r10d, r10d                                                     ; +0xc, 0x18010c3ec\nmovaps  xmm8, cs:xmmword_18016F280                                     ; +0xf, 0x18010c3ef\nshr     r8d, 2                                                         ; +0x17, 0x18010c3f7\nmovaps  [rsp+58h+var_58], xmm9                                         ; +0x1b, 0x18010c3fb\nmovaps  xmm9, cs:xmmword_18016F230                                     ; +0x20, 0x18010c400\ntest    r8d, r8d                                                       ; +0x28, 0x18010c408\njz      loc_18010C544                                                  ; +0x2b, 0x18010c40b\nmov     r11, [rdx]                                                     ; +0x31, 0x18010c411\nmov     [rax+8], rbx                                                   ; +0x34, 0x18010c414\nmov     rbx, [rdx+8]                                                   ; +0x38, 0x18010c418\nmov     [rax+10h], rbp                                                 ; +0x3c, 0x18010c41c\nmov     rbp, [rdx+20h]                                                 ; +0x40, 0x18010c420\nmov     [rax+18h], rsi                                                 ; +0x44, 0x18010c424\nmov     rsi, [rdx+18h]                                                 ; +0x48, 0x18010c428\nmov     [rax+20h], rdi                                                 ; +0x4c, 0x18010c42c\nmov     rdi, [rdx+10h]                                                 ; +0x50, 0x18010c430\nmov     [rax-8], r12                                                   ; +0x54, 0x18010c434\nmov     r12, [rdx+38h]                                                 ; +0x58, 0x18010c438\nmov     [rax-10h], r14                                                 ; +0x5c, 0x18010c43c\nmov     r14, [rdx+28h]                                                 ; +0x60, 0x18010c440\nmov     [rax-18h], r15                                                 ; +0x64, 0x18010c444\nmov     r15, [rdx+30h]                                                 ; +0x68, 0x18010c448\nmovaps  xmmword ptr [rax-28h], xmm6                                    ; +0x6c, 0x18010c44c\nmovaps  xmmword ptr [rax-38h], xmm7                                    ; +0x70, 0x18010c450\nnop     dword ptr [rax+00h]                                            ; +0x74, 0x18010c454\nnop     dword ptr [rax+rax+00000000h]                                  ; +0x78, 0x18010c458\nlea     eax, [r10+r10*2]                                               ; +0x80, 0x18010c460\nlea     edx, ds:0[rax*8]                                               ; +0x84, 0x18010c464\nmovups  xmm6, xmmword ptr [rcx+rdx*4]                                  ; +0x8b, 0x18010c46b\nlea     eax, [rdx+4]                                                   ; +0x8f, 0x18010c46f\nmovups  xmm7, xmmword ptr [rcx+rax*4]                                  ; +0x92, 0x18010c472\nmovaps  xmm4, xmm6                                                     ; +0x96, 0x18010c476\nlea     eax, [rdx+8]                                                   ; +0x99, 0x18010c479\nmovaps  xmm3, xmm7                                                     ; +0x9c, 0x18010c47c\nmovups  xmm5, xmmword ptr [rcx+rax*4]                                  ; +0x9f, 0x18010c47f\nlea     eax, [rdx+0Ch]                                                 ; +0xa3, 0x18010c483\nmovups  xmm2, xmmword ptr [rcx+rax*4]                                  ; +0xa6, 0x18010c486\nlea     eax, [rdx+10h]                                                 ; +0xaa, 0x18010c48a\nmovups  xmm0, xmmword ptr [rcx+rax*4]                                  ; +0xad, 0x18010c48d\nlea     eax, [rdx+14h]                                                 ; +0xb1, 0x18010c491\nmovups  xmm1, xmmword ptr [rcx+rax*4]                                  ; +0xb4, 0x18010c494\nlea     eax, ds:0[r10*4]                                               ; +0xb8, 0x18010c498\nunpcklps xmm7, xmm0                                                    ; +0xc0, 0x18010c4a0\ninc     r10d                                                           ; +0xc3, 0x18010c4a3\nunpckhps xmm3, xmm0                                                    ; +0xc6, 0x18010c4a6\nmovaps  xmm0, xmm5                                                     ; +0xc9, 0x18010c4a9\nunpckhps xmm0, xmm1                                                    ; +0xcc, 0x18010c4ac\nunpcklps xmm4, xmm2                                                    ; +0xcf, 0x18010c4af\nunpckhps xmm6, xmm2                                                    ; +0xd2, 0x18010c4b2\nmovaps  xmm2, xmm7                                                     ; +0xd5, 0x18010c4b5\nunpckhps xmm7, xmm0                                                    ; +0xd8, 0x18010c4b8\nunpcklps xmm2, xmm0                                                    ; +0xdb, 0x18010c4bb\nmovaps  xmm0, xmm4                                                     ; +0xde, 0x18010c4be\nunpcklps xmm0, xmm3                                                    ; +0xe1, 0x18010c4c1\nmovups  xmmword ptr [r11+rax*4], xmm0                                  ; +0xe4, 0x18010c4c4\nmovaps  xmm0, xmm6                                                     ; +0xe9, 0x18010c4c9\nunpcklps xmm5, xmm1                                                    ; +0xec, 0x18010c4cc\nmovaps  xmm1, xmm7                                                     ; +0xef, 0x18010c4cf\nunpcklps xmm0, xmm5                                                    ; +0xf2, 0x18010c4d2\nunpckhps xmm4, xmm3                                                    ; +0xf5, 0x18010c4d5\nmovups  xmmword ptr [rbx+rax*4], xmm4                                  ; +0xf8, 0x18010c4d8\nmovups  xmmword ptr [rdi+rax*4], xmm0                                  ; +0xfc, 0x18010c4dc\nmovaps  xmm0, xmm2                                                     ; +0x100, 0x18010c4e0\nmulps   xmm0, xmm8                                                     ; +0x103, 0x18010c4e3\nmulps   xmm1, xmm8                                                     ; +0x107, 0x18010c4e7\nmulps   xmm2, xmm9                                                     ; +0x10b, 0x18010c4eb\nunpckhps xmm6, xmm5                                                    ; +0x10f, 0x18010c4ef\nmovups  xmmword ptr [rsi+rax*4], xmm6                                  ; +0x112, 0x18010c4f2\nmovups  xmmword ptr [rbp+rax*4+0], xmm0                                ; +0x116, 0x18010c4f6\nmovups  xmmword ptr [r14+rax*4], xmm1                                  ; +0x11b, 0x18010c4fb\nmulps   xmm7, xmm9                                                     ; +0x120, 0x18010c500\nmovups  xmmword ptr [r15+rax*4], xmm2                                  ; +0x124, 0x18010c504\nmovups  xmmword ptr [r12+rax*4], xmm7                                  ; +0x129, 0x18010c509\ncmp     r10d, r8d                                                      ; +0x12e, 0x18010c50e\njb      loc_18010C460                                                  ; +0x131, 0x18010c511\nmovaps  xmm7, [rsp+58h+var_38]                                         ; +0x137, 0x18010c517\nmovaps  xmm6, [rsp+58h+var_28]                                         ; +0x13c, 0x18010c51c\nmov     r15, [rsp+58h+var_18]                                          ; +0x141, 0x18010c521\nmov     r14, [rsp+58h+var_10]                                          ; +0x146, 0x18010c526\nmov     r12, [rsp+58h+var_8]                                           ; +0x14b, 0x18010c52b\nmov     rdi, [rsp+58h+arg_18]                                          ; +0x150, 0x18010c530\nmov     rsi, [rsp+58h+arg_10]                                          ; +0x155, 0x18010c535\nmov     rbp, [rsp+58h+arg_8]                                           ; +0x15a, 0x18010c53a\nmov     rbx, [rsp+58h+arg_0]                                           ; +0x15f, 0x18010c53f\nmovaps  xmm8, [rsp+58h+var_48]                                         ; +0x164, 0x18010c544\nmovaps  xmm9, [rsp+58h+var_58]                                         ; +0x16a, 0x18010c54a\nadd     rsp, 58h                                                       ; +0x16f, 0x18010c54f\nretn                                                                   ; +0x173, 0x18010c553", "xrefs": ["sub_18010D0C0 @ 0x18010d1d3", "<???> @ 0x1801908d0", "<???> @ 0x1801908e0", "<???> @ 0x1802018c8"], "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"}