{"type": "func", "start": 6442484976, "end": 6442485101, "name": "sub_1800084F0", "pseudocode": "// \n// sub_1800084F0 from 0x1800084f0 to 0x18000856d (125 bytes)\n// \n// 3 xrefs:\n// > <???> @ 0x1801a4238\n// > <???> @ 0x1801a4250\n// > <???> @ 0x1801f63d8\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\nvoid __fastcall sub_1800084F0(__int64 a1, __int64 _RDX, int a3)\n{\n  int v4; // r8d\n\n  v4 = a3 >> 3;\n  __asm { vxorps  xmm6, xmm6, xmm6 }\n  if ( v4 )\n  {\n    _RCX = a1 - _RDX;\n    do\n    {\n      __asm\n      {\n        vmovups ymm1, ymmword ptr [rdx]\n        vmovups ymm3, ymmword ptr [rcx+rdx]\n      }\n      _RDX += 32;\n      __asm\n      {\n        vcmpgtps ymm0, ymm1, ymm6\n        vandnps ymm4, ymm0, ymm1\n        vcmpgtps ymm5, ymm3, ymm6\n        vandps  ymm1, ymm0, ymm1\n        vandnps ymm0, ymm5, ymm1\n        vaddps  ymm2, ymm0, ymm3\n        vandps  ymm1, ymm1, ymm5\n        vsubps  ymm2, ymm2, ymm1\n        vmovups ymmword ptr [rdx-20h], ymm2\n        vandps  ymm0, ymm4, ymm5\n        vaddps  ymm3, ymm0, ymm3\n        vandnps ymm1, ymm5, ymm4\n        vsubps  ymm2, ymm3, ymm1\n        vmovups ymmword ptr [rcx+rdx-20h], ymm2\n      }\n      --v4;\n    }\n    while ( v4 );\n  }\n  __asm\n  {\n    vzeroupper\n    vmovaps xmm6, [rsp+18h+var_18]\n  }\n}", "assembly": "; \n; sub_1800084F0 from 0x1800084f0 to 0x18000856d (125 bytes)\n; \n; 3 xrefs:\n; > <???> @ 0x1801a4238\n; > <???> @ 0x1801a4250\n; > <???> @ 0x1801f63d8\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, 18h                                                       ; +0x0, 0x1800084f0\nsar     r8d, 3                                                         ; +0x4, 0x1800084f4\nvmovaps [rsp+18h+var_18], xmm6                                         ; +0x8, 0x1800084f8\nvxorps  xmm6, xmm6, xmm6                                               ; +0xd, 0x1800084fd\ntest    r8d, r8d                                                       ; +0x11, 0x180008501\njz      short loc_180008560                                            ; +0x14, 0x180008504\nsub     rcx, rdx                                                       ; +0x16, 0x180008506\nnop     dword ptr [rax+00000000h]                                      ; +0x19, 0x180008509\nvmovups ymm1, ymmword ptr [rdx]                                        ; +0x20, 0x180008510\nvmovups ymm3, ymmword ptr [rcx+rdx]                                    ; +0x24, 0x180008514\nlea     rdx, [rdx+20h]                                                 ; +0x29, 0x180008519\nvcmpgtps ymm0, ymm1, ymm6                                              ; +0x2d, 0x18000851d\nvandnps ymm4, ymm0, ymm1                                               ; +0x32, 0x180008522\nvcmpgtps ymm5, ymm3, ymm6                                              ; +0x36, 0x180008526\nvandps  ymm1, ymm0, ymm1                                               ; +0x3b, 0x18000852b\nvandnps ymm0, ymm5, ymm1                                               ; +0x3f, 0x18000852f\nvaddps  ymm2, ymm0, ymm3                                               ; +0x43, 0x180008533\nvandps  ymm1, ymm1, ymm5                                               ; +0x47, 0x180008537\nvsubps  ymm2, ymm2, ymm1                                               ; +0x4b, 0x18000853b\nvmovups ymmword ptr [rdx-20h], ymm2                                    ; +0x4f, 0x18000853f\nvandps  ymm0, ymm4, ymm5                                               ; +0x54, 0x180008544\nvaddps  ymm3, ymm0, ymm3                                               ; +0x58, 0x180008548\nvandnps ymm1, ymm5, ymm4                                               ; +0x5c, 0x18000854c\nvsubps  ymm2, ymm3, ymm1                                               ; +0x60, 0x180008550\nvmovups ymmword ptr [rcx+rdx-20h], ymm2                                ; +0x64, 0x180008554\nsub     r8d, 1                                                         ; +0x6a, 0x18000855a\njnz     short loc_180008510                                            ; +0x6e, 0x18000855e\nvzeroupper                                                             ; +0x70, 0x180008560\nvmovaps xmm6, [rsp+18h+var_18]                                         ; +0x73, 0x180008563\nadd     rsp, 18h                                                       ; +0x78, 0x180008568\nretn                                                                   ; +0x7c, 0x18000856c", "xrefs": ["<???> @ 0x1801a4238", "<???> @ 0x1801a4250", "<???> @ 0x1801f63d8"], "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"}