{"type": "func", "start": 6442633712, "end": 6442635247, "name": "sub_18002C9F0", "pseudocode": "// \n// sub_18002C9F0 from 0x18002c9f0 to 0x18002cfef (1535 bytes)\n// \n// 4 xrefs:\n// > sub_18002CFF0 @ 0x18002d082\n// > <???> @ 0x18017fecc\n// > <???> @ 0x18017fedc\n// > <???> @ 0x1801f7848\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:53:02 +0000\n// \n\n__int64 __fastcall sub_18002C9F0(__int64 a1, int *a2, __int64 a3, __int64 a4, int a5)\n{\n  __int64 v5; // rax\n  __int64 v6; // rbx\n  __int16 *v8; // r12\n  __int64 v10; // r9\n  int v11; // ecx\n  __int64 v12; // r8\n  __int64 v13; // rax\n  int v14; // ecx\n  float *v15; // rdx\n  __int16 v16; // r9\n  float *v17; // rdi\n  __int64 v18; // r13\n  __int64 v19; // rax\n  __int64 v20; // rbp\n  __int64 v21; // r15\n  float v22; // xmm6_4\n  float v23; // xmm0_4\n  __int64 v24; // rbx\n  unsigned __int8 *v25; // rdx\n  __int64 v26; // rax\n  __int64 v27; // rax\n  __int64 v28; // rdx\n  float *v29; // r15\n  __int64 v30; // r13\n  __int64 v31; // rax\n  __int64 v32; // rbp\n  __int64 v33; // rcx\n  __int64 v34; // rbx\n  float v35; // xmm6_4\n  float v36; // xmm0_4\n  float v37; // xmm0_4\n  int v38; // eax\n  float v39; // xmm3_4\n  __int64 v40; // rax\n  float v41; // xmm0_4\n  float v42; // xmm1_4\n  __int64 v43; // rbx\n  __int64 v44; // rdi\n  unsigned int v45; // eax\n  unsigned __int8 *v46; // r8\n  __int64 v47; // r8\n  __int64 v48; // rdx\n  _DWORD *v49; // rax\n  __int64 v50; // rcx\n  __int16 v52; // [rsp+20h] [rbp-E8h]\n  int v53; // [rsp+20h] [rbp-E8h]\n  int v54; // [rsp+24h] [rbp-E4h]\n  __int16 v55; // [rsp+24h] [rbp-E4h]\n  __int64 v56; // [rsp+28h] [rbp-E0h]\n  __int64 v57; // [rsp+28h] [rbp-E0h]\n  __int64 v59; // [rsp+38h] [rbp-D0h]\n  __int64 v60; // [rsp+38h] [rbp-D0h]\n  float *v61; // [rsp+40h] [rbp-C8h]\n  __int64 v63; // [rsp+50h] [rbp-B8h]\n  __int128 v64; // [rsp+60h] [rbp-A8h]\n  __int64 v65; // [rsp+70h] [rbp-98h]\n  void *v66; // [rsp+78h] [rbp-90h]\n  __int64 v67; // [rsp+80h] [rbp-88h]\n  void *v68; // [rsp+88h] [rbp-80h]\n  __int128 v69; // [rsp+90h] [rbp-78h]\n  __int64 v70; // [rsp+A0h] [rbp-68h]\n  void *v71; // [rsp+A8h] [rbp-60h]\n\n  v5 = *(_QWORD *)(a1 + 376);\n  v6 = a1;\n  v8 = *(__int16 **)(v5 + 18504);\n  v10 = a3;\n  v11 = *(_DWORD *)(v5 + 18520);\n  v12 = *(int *)(v5 + 18516);\n  v13 = *(int *)(v5 + 18512);\n  v54 = v11;\n  v14 = a5;\n  v63 = v13;\n  v59 = v12;\n  if ( v12 > 0 )\n  {\n    v15 = (float *)(v10 + 128);\n    v56 = v12;\n    v61 = (float *)(v10 + 128);\n    do\n    {\n      v16 = *v8;\n      v52 = *v8;\n      if ( v13 > 0 )\n      {\n        v17 = v15;\n        v18 = v13;\n        do\n        {\n          v19 = *a2++;\n          if ( (_DWORD)v19 )\n          {\n            v20 = v8[2 * v19 + 1];\n            v21 = v8[2 * v19];\n            if ( (int)v20 >= 0 )\n            {\n              v24 = *(unsigned int *)(a4 + 4LL * v14);\n              v66 = &unk_1801B5EE0;\n              v64 = 0;\n              v68 = &unk_1801B5F40;\n              v71 = &unk_1801B60C0;\n              v65 = 0;\n              v67 = 0;\n              v69 = 0;\n              v70 = 0;\n              v25 = (unsigned __int8 *)(*((_QWORD *)&v64 + v20) + 3LL * (unsigned int)sub_18002B930(a1, v21));\n              *(v17 - 32) = flt_1801B6CC0[64 * (unsigned __int64)*v25 + v24];\n              *v17 = flt_1801B6CC0[64 * (unsigned __int64)v25[1] + v24];\n              v26 = v24 + ((unsigned __int64)v25[2] << 6);\n              v6 = a1;\n              v23 = flt_1801B6CC0[v26];\n            }\n            else\n            {\n              v22 = flt_1801B6CC0[64 * v21 + *(int *)(a4 + 4LL * v14)];\n              *(v17 - 32) = (float)(int)(v20 + sub_18002B930(v6, v21)) * v22;\n              *v17 = (float)(int)(v20 + sub_18002B930(v6, v21)) * v22;\n              v23 = (float)(int)(v20 + sub_18002B930(v6, v21)) * v22;\n            }\n            v14 = a5;\n            a4 += 12;\n            v17[32] = v23;\n          }\n          else\n          {\n            v17[32] = 0.0;\n            *v17 = 0.0;\n            *(v17 - 32) = 0.0;\n          }\n          v17 += 128;\n          --v18;\n        }\n        while ( v18 );\n        v15 = v61;\n        v12 = v56;\n        LOBYTE(v16) = v52;\n      }\n      ++v15;\n      v14 = a5;\n      --v12;\n      v61 = v15;\n      v56 = v12;\n      v8 += 2 * (1 << v16);\n      v13 = v63;\n    }\n    while ( v12 );\n    v12 = v59;\n    v10 = a3;\n  }\n  v27 = v54;\n  v60 = v54;\n  if ( v12 < v54 )\n  {\n    v28 = v14;\n    v57 = v14;\n    v29 = (float *)(v10 + 4 * (v12 + 160));\n    v30 = v54 - v12;\n    do\n    {\n      a2 += 2;\n      v55 = *v8;\n      v31 = *(a2 - 1);\n      if ( (_DWORD)v31 )\n      {\n        v32 = v8[2 * v31 + 1];\n        v33 = v8[2 * v31];\n        v53 = v8[2 * v31];\n        if ( (int)v32 >= 0 )\n        {\n          v43 = *(unsigned int *)(a4 + 4 * v28);\n          v68 = &unk_1801B5F40;\n          v66 = &unk_1801B5EE0;\n          v44 = *(unsigned int *)(a4 + 4 * v28 + 12);\n          v71 = &unk_1801B60C0;\n          v64 = 0;\n          v65 = 0;\n          v67 = 0;\n          v69 = 0;\n          v70 = 0;\n          v45 = sub_18002B930(a1, v33);\n          v28 = v57;\n          a4 += 24;\n          v46 = (unsigned __int8 *)(*((_QWORD *)&v64 + v32) + 3LL * v45);\n          *(v29 - 160) = flt_1801B6CC0[64 * (unsigned __int64)*v46 + v43];\n          *(v29 - 32) = flt_1801B6CC0[64 * (unsigned __int64)*v46 + v44];\n          *(v29 - 128) = flt_1801B6CC0[64 * (unsigned __int64)v46[1] + v43];\n          *v29 = flt_1801B6CC0[64 * (unsigned __int64)v46[1] + v44];\n          *(v29 - 96) = flt_1801B6CC0[64 * (unsigned __int64)v46[2] + v43];\n          v29[32] = flt_1801B6CC0[64 * (unsigned __int64)v46[2] + v44];\n        }\n        else\n        {\n          v34 = v33 << 6;\n          v35 = flt_1801B6CC0[64 * v33 + *(int *)(a4 + 4 * v28 + 12)];\n          v36 = (float)(int)(v32 + sub_18002B930(a1, v33));\n          *(v29 - 160) = v36;\n          *(v29 - 32) = v36 * v35;\n          v37 = (float)(int)(v32 + sub_18002B930(a1, v53));\n          *(v29 - 128) = v37;\n          *v29 = v37 * v35;\n          v38 = sub_18002B930(a1, v53);\n          v28 = v57;\n          v39 = (float)(v32 + v38);\n          *(v29 - 96) = v39;\n          v29[32] = v39 * v35;\n          v40 = *(int *)(a4 + 4 * v57);\n          a4 += 24;\n          v41 = flt_1801B6CC0[v34 + v40];\n          v42 = v41 * *(v29 - 128);\n          *(v29 - 160) = v41 * *(v29 - 160);\n          *(v29 - 96) = v39 * v41;\n          *(v29 - 128) = v42;\n        }\n      }\n      else\n      {\n        v29[32] = 0.0;\n        *v29 = 0.0;\n        *(v29 - 32) = 0.0;\n        *(v29 - 96) = 0.0;\n        *(v29 - 128) = 0.0;\n        *(v29 - 160) = 0.0;\n      }\n      ++v29;\n      v8 += 2 * (1 << v55);\n      --v30;\n    }\n    while ( v30 );\n    v27 = v60;\n  }\n  if ( v27 < 32 )\n  {\n    v47 = 32 - v27;\n    v48 = a3 + 128 + 4 * v27;\n    do\n    {\n      if ( v63 > 0 )\n      {\n        v49 = (_DWORD *)v48;\n        v50 = v63;\n        do\n        {\n          v49[32] = 0;\n          *v49 = 0;\n          *(v49 - 32) = 0;\n          v49 += 128;\n          --v50;\n        }\n        while ( v50 );\n      }\n      v48 += 4;\n      --v47;\n    }\n    while ( v47 );\n  }\n  return 0;\n}", "assembly": "; \n; sub_18002C9F0 from 0x18002c9f0 to 0x18002cfef (1535 bytes)\n; \n; 4 xrefs:\n; > sub_18002CFF0 @ 0x18002d082\n; > <???> @ 0x18017fecc\n; > <???> @ 0x18017fedc\n; > <???> @ 0x1801f7848\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:53:02 +0000\n; \nmov     r11, rsp                                                       ; +0x0, 0x18002c9f0\nsub     rsp, 108h                                                      ; +0x3, 0x18002c9f3\nmov     rax, cs:__security_cookie                                      ; +0xa, 0x18002c9fa\nxor     rax, rsp                                                       ; +0x11, 0x18002ca01\nmov     [rsp+108h+var_58], rax                                         ; +0x14, 0x18002ca04\nmov     rax, [rcx+178h]                                                ; +0x1c, 0x18002ca0c\nxor     r10d, r10d                                                     ; +0x23, 0x18002ca13\nmov     [r11+20h], rbx                                                 ; +0x26, 0x18002ca16\nmov     rbx, rcx                                                       ; +0x2a, 0x18002ca1a\nmov     [r11-8], rbp                                                   ; +0x2d, 0x18002ca1d\nmov     [r11-10h], rsi                                                 ; +0x31, 0x18002ca21\nmov     rsi, rdx                                                       ; +0x35, 0x18002ca25\nmov     [r11-18h], rdi                                                 ; +0x38, 0x18002ca28\nlea     rdi, unk_1801B5EE0                                             ; +0x3c, 0x18002ca2c\nmov     [r11-20h], r12                                                 ; +0x43, 0x18002ca33\nmov     r12, [rax+4848h]                                               ; +0x47, 0x18002ca37\nmov     [r11-28h], r13                                                 ; +0x4e, 0x18002ca3e\nmov     [r11-30h], r14                                                 ; +0x52, 0x18002ca42\nmov     r14, r9                                                        ; +0x56, 0x18002ca46\nmov     [rsp+108h+var_D8], rcx                                         ; +0x59, 0x18002ca49\nmov     r9, r8                                                         ; +0x5e, 0x18002ca4e\nmov     ecx, [rax+4858h]                                               ; +0x61, 0x18002ca51\nmov     [r11-38h], r15                                                 ; +0x67, 0x18002ca57\nmov     [rsp+108h+var_C0], r8                                          ; +0x6b, 0x18002ca5b\nmovsxd  r8, dword ptr [rax+4854h]                                      ; +0x70, 0x18002ca60\nmovsxd  rax, dword ptr [rax+4850h]                                     ; +0x77, 0x18002ca67\nmovaps  xmmword ptr [r11-48h], xmm6                                    ; +0x7e, 0x18002ca6e\nlea     r11, flt_1801B6CC0                                             ; +0x83, 0x18002ca73\nmov     [rsp+108h+var_E4], ecx                                         ; +0x8a, 0x18002ca7a\nmov     ecx, [rsp+108h+arg_20]                                         ; +0x8e, 0x18002ca7e\nmov     [rsp+108h+var_B8], rax                                         ; +0x95, 0x18002ca85\nmov     [rsp+108h+var_D0], r8                                          ; +0x9a, 0x18002ca8a\ntest    r8, r8                                                         ; +0x9f, 0x18002ca8f\njle     loc_18002CC96                                                  ; +0xa2, 0x18002ca92\nlea     rdx, [r9+80h]                                                  ; +0xa8, 0x18002ca98\nmov     [rsp+108h+var_E0], r8                                          ; +0xaf, 0x18002ca9f\nmov     [rsp+108h+var_C8], rdx                                         ; +0xb4, 0x18002caa4\nnop     dword ptr [rax+00000000h]                                      ; +0xb9, 0x18002caa9\nmovsx   r9d, word ptr [r12]                                            ; +0xc0, 0x18002cab0\nmov     [rsp+108h+var_E8], r9d                                         ; +0xc5, 0x18002cab5\ntest    rax, rax                                                       ; +0xca, 0x18002caba\njle     loc_18002CC51                                                  ; +0xcd, 0x18002cabd\nmov     rdi, rdx                                                       ; +0xd3, 0x18002cac3\nmov     r13, rax                                                       ; +0xd6, 0x18002cac6\nnop     dword ptr [rax+00000000h]                                      ; +0xd9, 0x18002cac9\nmovsxd  rax, dword ptr [rsi]                                           ; +0xe0, 0x18002cad0\nadd     rsi, 4                                                         ; +0xe3, 0x18002cad3\ntest    eax, eax                                                       ; +0xe7, 0x18002cad7\njz      loc_18002CC23                                                  ; +0xe9, 0x18002cad9\nmovsx   rbp, word ptr [r12+rax*4+2]                                    ; +0xef, 0x18002cadf\nmovsx   r15, word ptr [r12+rax*4]                                      ; +0xf5, 0x18002cae5\nmovsxd  rax, ecx                                                       ; +0xfa, 0x18002caea\nmov     edx, r15d                                                      ; +0xfd, 0x18002caed\ntest    ebp, ebp                                                       ; +0x100, 0x18002caf0\njns     short loc_18002CB62                                            ; +0x102, 0x18002caf2\nmovsxd  rax, dword ptr [r14+rax*4]                                     ; +0x104, 0x18002caf4\nmov     rcx, r15                                                       ; +0x108, 0x18002caf8\nshl     rcx, 6                                                         ; +0x10b, 0x18002cafb\nadd     rcx, rax                                                       ; +0x10f, 0x18002caff\nmovss   xmm6, dword ptr [r11+rcx*4]                                    ; +0x112, 0x18002cb02\nmov     rcx, rbx                                                       ; +0x118, 0x18002cb08\ncall    sub_18002B930                                                  ; +0x11b, 0x18002cb0b\nadd     eax, ebp                                                       ; +0x120, 0x18002cb10\nmov     edx, r15d                                                      ; +0x122, 0x18002cb12\nmov     rcx, rbx                                                       ; +0x125, 0x18002cb15\nmovd    xmm0, eax                                                      ; +0x128, 0x18002cb18\ncvtdq2ps xmm0, xmm0                                                    ; +0x12c, 0x18002cb1c\nmulss   xmm0, xmm6                                                     ; +0x12f, 0x18002cb1f\nmovss   dword ptr [rdi-80h], xmm0                                      ; +0x133, 0x18002cb23\ncall    sub_18002B930                                                  ; +0x138, 0x18002cb28\nadd     eax, ebp                                                       ; +0x13d, 0x18002cb2d\nmov     edx, r15d                                                      ; +0x13f, 0x18002cb2f\nmov     rcx, rbx                                                       ; +0x142, 0x18002cb32\nmovd    xmm0, eax                                                      ; +0x145, 0x18002cb35\ncvtdq2ps xmm0, xmm0                                                    ; +0x149, 0x18002cb39\nmulss   xmm0, xmm6                                                     ; +0x14c, 0x18002cb3c\nmovss   dword ptr [rdi], xmm0                                          ; +0x150, 0x18002cb40\ncall    sub_18002B930                                                  ; +0x154, 0x18002cb44\nadd     eax, ebp                                                       ; +0x159, 0x18002cb49\nlea     r11, flt_1801B6CC0                                             ; +0x15b, 0x18002cb4b\nmovd    xmm0, eax                                                      ; +0x162, 0x18002cb52\ncvtdq2ps xmm0, xmm0                                                    ; +0x166, 0x18002cb56\nmulss   xmm0, xmm6                                                     ; +0x169, 0x18002cb59\njmp     loc_18002CC0B                                                  ; +0x16d, 0x18002cb5d\nmov     ebx, [r14+rax*4]                                               ; +0x172, 0x18002cb62\nlea     rcx, unk_1801B5EE0                                             ; +0x176, 0x18002cb66\nmov     [rsp+108h+var_90], rcx                                         ; +0x17d, 0x18002cb6d\nxorps   xmm0, xmm0                                                     ; +0x182, 0x18002cb72\nlea     rcx, unk_1801B5F40                                             ; +0x185, 0x18002cb75\nmovdqa  [rsp+108h+var_A8], xmm0                                        ; +0x18c, 0x18002cb7c\nmov     [rsp+108h+var_80], rcx                                         ; +0x192, 0x18002cb82\nlea     rcx, unk_1801B60C0                                             ; +0x19a, 0x18002cb8a\nmov     [rsp+108h+var_60], rcx                                         ; +0x1a1, 0x18002cb91\nmov     rcx, [rsp+108h+var_D8]                                         ; +0x1a9, 0x18002cb99\nmov     [rsp+108h+var_98], r10                                         ; +0x1ae, 0x18002cb9e\nmov     [rsp+108h+var_88], r10                                         ; +0x1b3, 0x18002cba3\nmovdqa  [rsp+108h+var_78], xmm0                                        ; +0x1bb, 0x18002cbab\nmov     [rsp+108h+var_68], r10                                         ; +0x1c4, 0x18002cbb4\ncall    sub_18002B930                                                  ; +0x1cc, 0x18002cbbc\nmov     eax, eax                                                       ; +0x1d1, 0x18002cbc1\nlea     r11, flt_1801B6CC0                                             ; +0x1d3, 0x18002cbc3\nlea     rdx, [rax+rax*2]                                               ; +0x1da, 0x18002cbca\nadd     rdx, qword ptr [rsp+rbp*8+108h+var_A8]                         ; +0x1de, 0x18002cbce\nmovzx   eax, byte ptr [rdx]                                            ; +0x1e3, 0x18002cbd3\nshl     rax, 6                                                         ; +0x1e6, 0x18002cbd6\nadd     rax, rbx                                                       ; +0x1ea, 0x18002cbda\nmov     eax, [r11+rax*4]                                               ; +0x1ed, 0x18002cbdd\nmov     [rdi-80h], eax                                                 ; +0x1f1, 0x18002cbe1\nmovzx   eax, byte ptr [rdx+1]                                          ; +0x1f4, 0x18002cbe4\nshl     rax, 6                                                         ; +0x1f8, 0x18002cbe8\nadd     rax, rbx                                                       ; +0x1fc, 0x18002cbec\nmov     eax, [r11+rax*4]                                               ; +0x1ff, 0x18002cbef\nmov     [rdi], eax                                                     ; +0x203, 0x18002cbf3\nmovzx   eax, byte ptr [rdx+2]                                          ; +0x205, 0x18002cbf5\nshl     rax, 6                                                         ; +0x209, 0x18002cbf9\nadd     rax, rbx                                                       ; +0x20d, 0x18002cbfd\nmov     rbx, [rsp+108h+var_D8]                                         ; +0x210, 0x18002cc00\nmovss   xmm0, dword ptr [r11+rax*4]                                    ; +0x215, 0x18002cc05\nmov     ecx, [rsp+108h+arg_20]                                         ; +0x21b, 0x18002cc0b\nadd     r14, 0Ch                                                       ; +0x222, 0x18002cc12\nxor     r10d, r10d                                                     ; +0x226, 0x18002cc16\nmovss   dword ptr [rdi+80h], xmm0                                      ; +0x229, 0x18002cc19\njmp     short loc_18002CC31                                            ; +0x231, 0x18002cc21\nmov     [rdi+80h], r10d                                                ; +0x233, 0x18002cc23\nmov     [rdi], r10d                                                    ; +0x23a, 0x18002cc2a\nmov     [rdi-80h], r10d                                                ; +0x23d, 0x18002cc2d\nadd     rdi, 200h                                                      ; +0x241, 0x18002cc31\nsub     r13, 1                                                         ; +0x248, 0x18002cc38\njnz     loc_18002CAD0                                                  ; +0x24c, 0x18002cc3c\nmov     rdx, [rsp+108h+var_C8]                                         ; +0x252, 0x18002cc42\nmov     r8, [rsp+108h+var_E0]                                          ; +0x257, 0x18002cc47\nmov     r9d, [rsp+108h+var_E8]                                         ; +0x25c, 0x18002cc4c\nmov     ecx, r9d                                                       ; +0x261, 0x18002cc51\nmov     eax, 1                                                         ; +0x264, 0x18002cc54\nshl     eax, cl                                                        ; +0x269, 0x18002cc59\nadd     rdx, 4                                                         ; +0x26b, 0x18002cc5b\nmov     ecx, [rsp+108h+arg_20]                                         ; +0x26f, 0x18002cc5f\nsub     r8, 1                                                          ; +0x276, 0x18002cc66\ncdqe                                                                   ; +0x27a, 0x18002cc6a\nmov     [rsp+108h+var_C8], rdx                                         ; +0x27c, 0x18002cc6c\nmov     [rsp+108h+var_E0], r8                                          ; +0x281, 0x18002cc71\nlea     r12, [r12+rax*4]                                               ; +0x286, 0x18002cc76\nmov     rax, [rsp+108h+var_B8]                                         ; +0x28a, 0x18002cc7a\njnz     loc_18002CAB0                                                  ; +0x28f, 0x18002cc7f\nmov     r8, [rsp+108h+var_D0]                                          ; +0x295, 0x18002cc85\nlea     rdi, unk_1801B5EE0                                             ; +0x29a, 0x18002cc8a\nmov     r9, [rsp+108h+var_C0]                                          ; +0x2a1, 0x18002cc91\nmovsxd  rax, [rsp+108h+var_E4]                                         ; +0x2a6, 0x18002cc96\nmov     [rsp+108h+var_D0], rax                                         ; +0x2ab, 0x18002cc9b\ncmp     r8, rax                                                        ; +0x2b0, 0x18002cca0\njge     loc_18002CF38                                                  ; +0x2b3, 0x18002cca3\nmovsxd  rdx, ecx                                                       ; +0x2b9, 0x18002cca9\nlea     r15, [r8+0A0h]                                                 ; +0x2bc, 0x18002ccac\nmov     r13, rax                                                       ; +0x2c3, 0x18002ccb3\nmov     [rsp+108h+var_E0], rdx                                         ; +0x2c6, 0x18002ccb6\nlea     r15, [r9+r15*4]                                                ; +0x2cb, 0x18002ccbb\nsub     r13, r8                                                        ; +0x2cf, 0x18002ccbf\nmovsx   eax, word ptr [r12]                                            ; +0x2d2, 0x18002ccc2\nlea     rsi, [rsi+8]                                                   ; +0x2d7, 0x18002ccc7\nmov     [rsp+108h+var_E4], eax                                         ; +0x2db, 0x18002cccb\nmovsxd  rax, dword ptr [rsi-4]                                         ; +0x2df, 0x18002cccf\ntest    eax, eax                                                       ; +0x2e3, 0x18002ccd3\njz      loc_18002CEE3                                                  ; +0x2e5, 0x18002ccd5\nmovsx   rbp, word ptr [r12+rax*4+2]                                    ; +0x2eb, 0x18002ccdb\nmovsx   rcx, word ptr [r12+rax*4]                                      ; +0x2f1, 0x18002cce1\nmov     [rsp+108h+var_E8], ecx                                         ; +0x2f6, 0x18002cce6\ntest    ebp, ebp                                                       ; +0x2fa, 0x18002ccea\njns     loc_18002CDE3                                                  ; +0x2fc, 0x18002ccec\nmovsxd  rax, dword ptr [r14+rdx*4+0Ch]                                 ; +0x302, 0x18002ccf2\nmov     rbx, rcx                                                       ; +0x307, 0x18002ccf7\nmov     rdi, [rsp+108h+var_D8]                                         ; +0x30a, 0x18002ccfa\nmov     edx, ecx                                                       ; +0x30f, 0x18002ccff\nshl     rbx, 6                                                         ; +0x311, 0x18002cd01\nmov     rcx, rdi                                                       ; +0x315, 0x18002cd05\nadd     rax, rbx                                                       ; +0x318, 0x18002cd08\nmovss   xmm6, dword ptr [r11+rax*4]                                    ; +0x31b, 0x18002cd0b\ncall    sub_18002B930                                                  ; +0x321, 0x18002cd11\nmov     edx, [rsp+108h+var_E8]                                         ; +0x326, 0x18002cd16\nadd     eax, ebp                                                       ; +0x32a, 0x18002cd1a\nmov     rcx, rdi                                                       ; +0x32c, 0x18002cd1c\nmovd    xmm0, eax                                                      ; +0x32f, 0x18002cd1f\ncvtdq2ps xmm0, xmm0                                                    ; +0x333, 0x18002cd23\nmovss   dword ptr [r15-280h], xmm0                                     ; +0x336, 0x18002cd26\nmulss   xmm0, xmm6                                                     ; +0x33f, 0x18002cd2f\nmovss   dword ptr [r15-80h], xmm0                                      ; +0x343, 0x18002cd33\ncall    sub_18002B930                                                  ; +0x349, 0x18002cd39\nmov     edx, [rsp+108h+var_E8]                                         ; +0x34e, 0x18002cd3e\nadd     eax, ebp                                                       ; +0x352, 0x18002cd42\nmov     rcx, rdi                                                       ; +0x354, 0x18002cd44\nmovd    xmm0, eax                                                      ; +0x357, 0x18002cd47\ncvtdq2ps xmm0, xmm0                                                    ; +0x35b, 0x18002cd4b\nmovss   dword ptr [r15-200h], xmm0                                     ; +0x35e, 0x18002cd4e\nmulss   xmm0, xmm6                                                     ; +0x367, 0x18002cd57\nmovss   dword ptr [r15], xmm0                                          ; +0x36b, 0x18002cd5b\ncall    sub_18002B930                                                  ; +0x370, 0x18002cd60\nmov     rdx, [rsp+108h+var_E0]                                         ; +0x375, 0x18002cd65\nlea     r9, flt_1801B6CC0                                              ; +0x37a, 0x18002cd6a\nadd     eax, ebp                                                       ; +0x381, 0x18002cd71\nmovd    xmm3, eax                                                      ; +0x383, 0x18002cd73\ncvtdq2ps xmm3, xmm3                                                    ; +0x387, 0x18002cd77\nmovss   dword ptr [r15-180h], xmm3                                     ; +0x38a, 0x18002cd7a\nmovaps  xmm0, xmm3                                                     ; +0x393, 0x18002cd83\nmulss   xmm0, xmm6                                                     ; +0x396, 0x18002cd86\nmovss   dword ptr [r15+80h], xmm0                                      ; +0x39a, 0x18002cd8a\nmovsxd  rax, dword ptr [r14+rdx*4]                                     ; +0x3a3, 0x18002cd93\nadd     r14, 18h                                                       ; +0x3a7, 0x18002cd97\nadd     rax, rbx                                                       ; +0x3ab, 0x18002cd9b\nxor     r10d, r10d                                                     ; +0x3ae, 0x18002cd9e\nmovss   xmm2, dword ptr [r9+rax*4]                                     ; +0x3b1, 0x18002cda1\nmovaps  xmm0, xmm2                                                     ; +0x3b7, 0x18002cda7\nmulss   xmm3, xmm2                                                     ; +0x3ba, 0x18002cdaa\nmulss   xmm0, dword ptr [r15-280h]                                     ; +0x3be, 0x18002cdae\nmovaps  xmm1, xmm2                                                     ; +0x3c7, 0x18002cdb7\nmulss   xmm1, dword ptr [r15-200h]                                     ; +0x3ca, 0x18002cdba\nmovss   dword ptr [r15-280h], xmm0                                     ; +0x3d3, 0x18002cdc3\nmovss   dword ptr [r15-180h], xmm3                                     ; +0x3dc, 0x18002cdcc\nmovss   dword ptr [r15-200h], xmm1                                     ; +0x3e5, 0x18002cdd5\njmp     loc_18002CF06                                                  ; +0x3ee, 0x18002cdde\nmov     ebx, [r14+rdx*4]                                               ; +0x3f3, 0x18002cde3\nlea     rax, unk_1801B5F40                                             ; +0x3f7, 0x18002cde7\nxorps   xmm0, xmm0                                                     ; +0x3fe, 0x18002cdee\nmov     [rsp+108h+var_80], rax                                         ; +0x401, 0x18002cdf1\nlea     rax, unk_1801B60C0                                             ; +0x409, 0x18002cdf9\nmov     [rsp+108h+var_90], rdi                                         ; +0x410, 0x18002ce00\nmov     edi, [r14+rdx*4+0Ch]                                           ; +0x415, 0x18002ce05\nmov     edx, ecx                                                       ; +0x41a, 0x18002ce0a\nmov     rcx, [rsp+108h+var_D8]                                         ; +0x41c, 0x18002ce0c\nmov     [rsp+108h+var_60], rax                                         ; +0x421, 0x18002ce11\nmovdqa  [rsp+108h+var_A8], xmm0                                        ; +0x429, 0x18002ce19\nmov     [rsp+108h+var_98], r10                                         ; +0x42f, 0x18002ce1f\nmov     [rsp+108h+var_88], r10                                         ; +0x434, 0x18002ce24\nmovdqa  [rsp+108h+var_78], xmm0                                        ; +0x43c, 0x18002ce2c\nmov     [rsp+108h+var_68], r10                                         ; +0x445, 0x18002ce35\ncall    sub_18002B930                                                  ; +0x44d, 0x18002ce3d\nmov     rdx, [rsp+108h+var_E0]                                         ; +0x452, 0x18002ce42\nlea     r9, flt_1801B6CC0                                              ; +0x457, 0x18002ce47\nmov     eax, eax                                                       ; +0x45e, 0x18002ce4e\nadd     r14, 18h                                                       ; +0x460, 0x18002ce50\nlea     r8, [rax+rax*2]                                                ; +0x464, 0x18002ce54\nadd     r8, qword ptr [rsp+rbp*8+108h+var_A8]                          ; +0x468, 0x18002ce58\nmovzx   eax, byte ptr [r8]                                             ; +0x46d, 0x18002ce5d\nshl     rax, 6                                                         ; +0x471, 0x18002ce61\nadd     rax, rbx                                                       ; +0x475, 0x18002ce65\nmov     eax, [r9+rax*4]                                                ; +0x478, 0x18002ce68\nmov     [r15-280h], eax                                                ; +0x47c, 0x18002ce6c\nmovzx   eax, byte ptr [r8]                                             ; +0x483, 0x18002ce73\nshl     rax, 6                                                         ; +0x487, 0x18002ce77\nadd     rax, rdi                                                       ; +0x48b, 0x18002ce7b\nmov     eax, [r9+rax*4]                                                ; +0x48e, 0x18002ce7e\nmov     [r15-80h], eax                                                 ; +0x492, 0x18002ce82\nmovzx   eax, byte ptr [r8+1]                                           ; +0x496, 0x18002ce86\nshl     rax, 6                                                         ; +0x49b, 0x18002ce8b\nadd     rax, rbx                                                       ; +0x49f, 0x18002ce8f\nmov     eax, [r9+rax*4]                                                ; +0x4a2, 0x18002ce92\nmov     [r15-200h], eax                                                ; +0x4a6, 0x18002ce96\nmovzx   eax, byte ptr [r8+1]                                           ; +0x4ad, 0x18002ce9d\nshl     rax, 6                                                         ; +0x4b2, 0x18002cea2\nadd     rax, rdi                                                       ; +0x4b6, 0x18002cea6\nmov     eax, [r9+rax*4]                                                ; +0x4b9, 0x18002cea9\nmov     [r15], eax                                                     ; +0x4bd, 0x18002cead\nmovzx   eax, byte ptr [r8+2]                                           ; +0x4c0, 0x18002ceb0\nshl     rax, 6                                                         ; +0x4c5, 0x18002ceb5\nadd     rax, rbx                                                       ; +0x4c9, 0x18002ceb9\nmov     eax, [r9+rax*4]                                                ; +0x4cc, 0x18002cebc\nmov     [r15-180h], eax                                                ; +0x4d0, 0x18002cec0\nmovzx   eax, byte ptr [r8+2]                                           ; +0x4d7, 0x18002cec7\nshl     rax, 6                                                         ; +0x4dc, 0x18002cecc\nadd     rax, rdi                                                       ; +0x4e0, 0x18002ced0\nxor     r10d, r10d                                                     ; +0x4e3, 0x18002ced3\nmov     eax, [r9+rax*4]                                                ; +0x4e6, 0x18002ced6\nmov     [r15+80h], eax                                                 ; +0x4ea, 0x18002ceda\njmp     short loc_18002CF06                                            ; +0x4f1, 0x18002cee1\nmov     [r15+80h], r10d                                                ; +0x4f3, 0x18002cee3\nmov     [r15], r10d                                                    ; +0x4fa, 0x18002ceea\nmov     [r15-80h], r10d                                                ; +0x4fd, 0x18002ceed\nmov     [r15-180h], r10d                                               ; +0x501, 0x18002cef1\nmov     [r15-200h], r10d                                               ; +0x508, 0x18002cef8\nmov     [r15-280h], r10d                                               ; +0x50f, 0x18002ceff\nmov     ecx, [rsp+108h+var_E4]                                         ; +0x516, 0x18002cf06\nlea     r11, flt_1801B6CC0                                             ; +0x51a, 0x18002cf0a\nmov     eax, 1                                                         ; +0x521, 0x18002cf11\nlea     rdi, unk_1801B5EE0                                             ; +0x526, 0x18002cf16\nshl     eax, cl                                                        ; +0x52d, 0x18002cf1d\nadd     r15, 4                                                         ; +0x52f, 0x18002cf1f\ncdqe                                                                   ; +0x533, 0x18002cf23\nlea     r12, [r12+rax*4]                                               ; +0x535, 0x18002cf25\nsub     r13, 1                                                         ; +0x539, 0x18002cf29\njnz     loc_18002CCC2                                                  ; +0x53d, 0x18002cf2d\nmov     rax, [rsp+108h+var_D0]                                         ; +0x543, 0x18002cf33\nmovaps  xmm6, [rsp+108h+var_48]                                        ; +0x548, 0x18002cf38\nmov     r15, [rsp+108h+var_38]                                         ; +0x550, 0x18002cf40\nmov     r14, [rsp+108h+var_30]                                         ; +0x558, 0x18002cf48\nmov     r13, [rsp+108h+var_28]                                         ; +0x560, 0x18002cf50\nmov     r12, [rsp+108h+var_20]                                         ; +0x568, 0x18002cf58\nmov     rdi, [rsp+108h+var_18]                                         ; +0x570, 0x18002cf60\nmov     rsi, [rsp+108h+var_10]                                         ; +0x578, 0x18002cf68\nmov     rbp, [rsp+108h+var_8]                                          ; +0x580, 0x18002cf70\nmov     rbx, [rsp+108h+arg_18]                                         ; +0x588, 0x18002cf78\ncmp     rax, 20h ; ' '                                                 ; +0x590, 0x18002cf80\njge     short loc_18002CFD5                                            ; +0x594, 0x18002cf84\nmov     rdx, [rsp+108h+var_C0]                                         ; +0x596, 0x18002cf86\nmov     r8d, 20h ; ' '                                                 ; +0x59b, 0x18002cf8b\nmov     r9, [rsp+108h+var_B8]                                          ; +0x5a1, 0x18002cf91\nsub     rdx, 0FFFFFFFFFFFFFF80h                                        ; +0x5a6, 0x18002cf96\nsub     r8, rax                                                        ; +0x5aa, 0x18002cf9a\nlea     rdx, [rdx+rax*4]                                               ; +0x5ad, 0x18002cf9d\ntest    r9, r9                                                         ; +0x5b1, 0x18002cfa1\njle     short loc_18002CFCB                                            ; +0x5b4, 0x18002cfa4\nmov     rax, rdx                                                       ; +0x5b6, 0x18002cfa6\nmov     rcx, r9                                                        ; +0x5b9, 0x18002cfa9\nnop     dword ptr [rax+00h]                                            ; +0x5bc, 0x18002cfac\nmov     [rax+80h], r10d                                                ; +0x5c0, 0x18002cfb0\nmov     [rax], r10d                                                    ; +0x5c7, 0x18002cfb7\nmov     [rax-80h], r10d                                                ; +0x5ca, 0x18002cfba\nlea     rax, [rax+200h]                                                ; +0x5ce, 0x18002cfbe\nsub     rcx, 1                                                         ; +0x5d5, 0x18002cfc5\njnz     short loc_18002CFB0                                            ; +0x5d9, 0x18002cfc9\nadd     rdx, 4                                                         ; +0x5db, 0x18002cfcb\nsub     r8, 1                                                          ; +0x5df, 0x18002cfcf\njnz     short loc_18002CFA1                                            ; +0x5e3, 0x18002cfd3\nxor     eax, eax                                                       ; +0x5e5, 0x18002cfd5\nmov     rcx, [rsp+108h+var_58]                                         ; +0x5e7, 0x18002cfd7\nxor     rcx, rsp; StackCookie                                          ; +0x5ef, 0x18002cfdf\ncall    __security_check_cookie                                        ; +0x5f2, 0x18002cfe2\nadd     rsp, 108h                                                      ; +0x5f7, 0x18002cfe7\nretn                                                                   ; +0x5fe, 0x18002cfee", "xrefs": ["sub_18002CFF0 @ 0x18002d082", "<???> @ 0x18017fecc", "<???> @ 0x18017fedc", "<???> @ 0x1801f7848"], "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"}