; ; sub_18005D4D0 from 0x18005d4d0 to 0x18005d94f (1151 bytes) ; ; 2 xrefs: ; > @ 0x1801ac4a0 ; > @ 0x1801f90c0 ; ; This function is hookable on this platform! ; ; Using BromaIDA 8.0.0 @ https:;github.com/Stazzical/BromaIDA ; Using bindings at commit ba9f177b at Thu Jul 16 22:52:06 2026 from https:;github.com/geode-sdk/bindings ; sub rsp, 48h ; +0x0, 0x18005d4d0 movss xmm4, dword ptr [r9] ; +0x4, 0x18005d4d4 mov eax, r8d ; +0x9, 0x18005d4d9 movss xmm5, dword ptr [r9+80h] ; +0xc, 0x18005d4dc movaps [rsp+48h+var_18], xmm6 ; +0x15, 0x18005d4e5 movss xmm6, dword ptr [r9+100h] ; +0x1a, 0x18005d4ea movaps [rsp+48h+var_28], xmm7 ; +0x23, 0x18005d4f3 movss xmm7, dword ptr [r9+180h] ; +0x28, 0x18005d4f8 movaps [rsp+48h+var_38], xmm8 ; +0x31, 0x18005d501 movss xmm8, dword ptr [r9+200h] ; +0x37, 0x18005d507 shr eax, 2 ; +0x40, 0x18005d510 cmp [rsp+48h+arg_30], 0 ; +0x43, 0x18005d513 movaps [rsp+48h+var_48], xmm9 ; +0x4b, 0x18005d51b movss xmm9, dword ptr [r9+280h] ; +0x50, 0x18005d520 jz loc_18005D6EE ; +0x59, 0x18005d529 test eax, eax ; +0x5f, 0x18005d52f jz loc_18005D67F ; +0x61, 0x18005d531 nop word ptr [rax+rax+00000000h] ; +0x67, 0x18005d537 movss xmm2, dword ptr [rcx] ; +0x70, 0x18005d540 movss xmm3, dword ptr [rcx+4] ; +0x74, 0x18005d544 movaps xmm0, xmm2 ; +0x79, 0x18005d549 mulss xmm0, xmm4 ; +0x7c, 0x18005d54c movaps xmm1, xmm2 ; +0x80, 0x18005d550 mulss xmm1, xmm5 ; +0x83, 0x18005d553 movss dword ptr [rdx], xmm0 ; +0x87, 0x18005d557 movaps xmm0, xmm2 ; +0x8b, 0x18005d55b mulss xmm0, xmm6 ; +0x8e, 0x18005d55e movss dword ptr [rdx+4], xmm1 ; +0x92, 0x18005d562 movaps xmm1, xmm2 ; +0x97, 0x18005d567 mulss xmm1, xmm7 ; +0x9a, 0x18005d56a movss dword ptr [rdx+8], xmm0 ; +0x9e, 0x18005d56e movaps xmm0, xmm2 ; +0xa3, 0x18005d573 mulss xmm0, xmm8 ; +0xa6, 0x18005d576 movss dword ptr [rdx+0Ch], xmm1 ; +0xab, 0x18005d57b movaps xmm1, xmm3 ; +0xb0, 0x18005d580 mulss xmm1, xmm5 ; +0xb3, 0x18005d583 movss dword ptr [rdx+10h], xmm0 ; +0xb7, 0x18005d587 movaps xmm0, xmm3 ; +0xbc, 0x18005d58c mulss xmm0, xmm4 ; +0xbf, 0x18005d58f movss dword ptr [rdx+1Ch], xmm1 ; +0xc3, 0x18005d593 movaps xmm1, xmm3 ; +0xc8, 0x18005d598 mulss xmm1, xmm7 ; +0xcb, 0x18005d59b movss dword ptr [rdx+18h], xmm0 ; +0xcf, 0x18005d59f movaps xmm0, xmm3 ; +0xd4, 0x18005d5a4 mulss xmm0, xmm6 ; +0xd7, 0x18005d5a7 movss dword ptr [rdx+24h], xmm1 ; +0xdb, 0x18005d5ab mulss xmm2, xmm9 ; +0xe0, 0x18005d5b0 movss dword ptr [rdx+20h], xmm0 ; +0xe5, 0x18005d5b5 movaps xmm0, xmm3 ; +0xea, 0x18005d5ba mulss xmm0, xmm8 ; +0xed, 0x18005d5bd movss dword ptr [rdx+14h], xmm2 ; +0xf2, 0x18005d5c2 movss xmm2, dword ptr [rcx+8] ; +0xf7, 0x18005d5c7 movss dword ptr [rdx+28h], xmm0 ; +0xfc, 0x18005d5cc movaps xmm1, xmm2 ; +0x101, 0x18005d5d1 mulss xmm1, xmm5 ; +0x104, 0x18005d5d4 movaps xmm0, xmm2 ; +0x108, 0x18005d5d8 mulss xmm0, xmm4 ; +0x10b, 0x18005d5db movss dword ptr [rdx+34h], xmm1 ; +0x10f, 0x18005d5df movaps xmm1, xmm2 ; +0x114, 0x18005d5e4 mulss xmm1, xmm7 ; +0x117, 0x18005d5e7 movss dword ptr [rdx+30h], xmm0 ; +0x11b, 0x18005d5eb movaps xmm0, xmm2 ; +0x120, 0x18005d5f0 mulss xmm0, xmm6 ; +0x123, 0x18005d5f3 movss dword ptr [rdx+3Ch], xmm1 ; +0x127, 0x18005d5f7 mulss xmm3, xmm9 ; +0x12c, 0x18005d5fc movss dword ptr [rdx+38h], xmm0 ; +0x131, 0x18005d601 movaps xmm0, xmm2 ; +0x136, 0x18005d606 mulss xmm0, xmm8 ; +0x139, 0x18005d609 movss dword ptr [rdx+2Ch], xmm3 ; +0x13e, 0x18005d60e movss xmm3, dword ptr [rcx+0Ch] ; +0x143, 0x18005d613 add rcx, 10h ; +0x148, 0x18005d618 movss dword ptr [rdx+40h], xmm0 ; +0x14c, 0x18005d61c movaps xmm1, xmm3 ; +0x151, 0x18005d621 movaps xmm0, xmm3 ; +0x154, 0x18005d624 mulss xmm1, xmm5 ; +0x157, 0x18005d627 mulss xmm0, xmm4 ; +0x15b, 0x18005d62b movss dword ptr [rdx+4Ch], xmm1 ; +0x15f, 0x18005d62f movaps xmm1, xmm3 ; +0x164, 0x18005d634 mulss xmm2, xmm9 ; +0x167, 0x18005d637 movss dword ptr [rdx+48h], xmm0 ; +0x16c, 0x18005d63c movaps xmm0, xmm3 ; +0x171, 0x18005d641 mulss xmm0, xmm6 ; +0x174, 0x18005d644 mulss xmm1, xmm7 ; +0x178, 0x18005d648 movss dword ptr [rdx+50h], xmm0 ; +0x17c, 0x18005d64c movaps xmm0, xmm3 ; +0x181, 0x18005d651 mulss xmm0, xmm8 ; +0x184, 0x18005d654 mulss xmm3, xmm9 ; +0x189, 0x18005d659 movss dword ptr [rdx+58h], xmm0 ; +0x18e, 0x18005d65e movss dword ptr [rdx+44h], xmm2 ; +0x193, 0x18005d663 movss dword ptr [rdx+54h], xmm1 ; +0x198, 0x18005d668 movss dword ptr [rdx+5Ch], xmm3 ; +0x19d, 0x18005d66d add rdx, 60h ; '`' ; +0x1a2, 0x18005d672 add eax, 0FFFFFFFFh ; +0x1a6, 0x18005d676 jnz loc_18005D540 ; +0x1a9, 0x18005d679 and r8d, 3 ; +0x1af, 0x18005d67f jz loc_18005D935 ; +0x1b3, 0x18005d683 add rdx, 8 ; +0x1b9, 0x18005d689 nop dword ptr [rax] ; +0x1bd, 0x18005d68d movss xmm2, dword ptr [rcx] ; +0x1c0, 0x18005d690 lea rdx, [rdx+18h] ; +0x1c4, 0x18005d694 lea rcx, [rcx+4] ; +0x1c8, 0x18005d698 movaps xmm0, xmm2 ; +0x1cc, 0x18005d69c mulss xmm0, xmm4 ; +0x1cf, 0x18005d69f movaps xmm1, xmm2 ; +0x1d3, 0x18005d6a3 mulss xmm1, xmm5 ; +0x1d6, 0x18005d6a6 movss dword ptr [rdx-20h], xmm0 ; +0x1da, 0x18005d6aa movaps xmm0, xmm2 ; +0x1df, 0x18005d6af mulss xmm0, xmm6 ; +0x1e2, 0x18005d6b2 movss dword ptr [rdx-1Ch], xmm1 ; +0x1e6, 0x18005d6b6 movaps xmm1, xmm2 ; +0x1eb, 0x18005d6bb mulss xmm1, xmm7 ; +0x1ee, 0x18005d6be movss dword ptr [rdx-18h], xmm0 ; +0x1f2, 0x18005d6c2 movaps xmm0, xmm2 ; +0x1f7, 0x18005d6c7 mulss xmm0, xmm8 ; +0x1fa, 0x18005d6ca mulss xmm2, xmm9 ; +0x1ff, 0x18005d6cf movss dword ptr [rdx-14h], xmm1 ; +0x204, 0x18005d6d4 movss dword ptr [rdx-10h], xmm0 ; +0x209, 0x18005d6d9 movss dword ptr [rdx-0Ch], xmm2 ; +0x20e, 0x18005d6de add r8d, 0FFFFFFFFh ; +0x213, 0x18005d6e3 jnz short loc_18005D690 ; +0x217, 0x18005d6e7 jmp loc_18005D935 ; +0x219, 0x18005d6e9 test eax, eax ; +0x21e, 0x18005d6ee jz loc_18005D8B6 ; +0x220, 0x18005d6f0 nop word ptr [rax+rax+00000000h] ; +0x226, 0x18005d6f6 movss xmm2, dword ptr [rcx] ; +0x230, 0x18005d700 movss xmm3, dword ptr [rcx+4] ; +0x234, 0x18005d704 movaps xmm0, xmm2 ; +0x239, 0x18005d709 mulss xmm0, xmm4 ; +0x23c, 0x18005d70c movaps xmm1, xmm2 ; +0x240, 0x18005d710 mulss xmm1, xmm5 ; +0x243, 0x18005d713 addss xmm0, dword ptr [rdx] ; +0x247, 0x18005d717 addss xmm1, dword ptr [rdx+4] ; +0x24b, 0x18005d71b movss dword ptr [rdx], xmm0 ; +0x250, 0x18005d720 movaps xmm0, xmm2 ; +0x254, 0x18005d724 mulss xmm0, xmm6 ; +0x257, 0x18005d727 movss dword ptr [rdx+4], xmm1 ; +0x25b, 0x18005d72b movaps xmm1, xmm2 ; +0x260, 0x18005d730 mulss xmm1, xmm7 ; +0x263, 0x18005d733 addss xmm0, dword ptr [rdx+8] ; +0x267, 0x18005d737 addss xmm1, dword ptr [rdx+0Ch] ; +0x26c, 0x18005d73c movss dword ptr [rdx+8], xmm0 ; +0x271, 0x18005d741 movaps xmm0, xmm2 ; +0x276, 0x18005d746 mulss xmm0, xmm8 ; +0x279, 0x18005d749 movss dword ptr [rdx+0Ch], xmm1 ; +0x27e, 0x18005d74e movaps xmm1, xmm3 ; +0x283, 0x18005d753 mulss xmm1, xmm5 ; +0x286, 0x18005d756 addss xmm0, dword ptr [rdx+10h] ; +0x28a, 0x18005d75a mulss xmm2, xmm9 ; +0x28f, 0x18005d75f addss xmm1, dword ptr [rdx+1Ch] ; +0x294, 0x18005d764 addss xmm2, dword ptr [rdx+14h] ; +0x299, 0x18005d769 movss dword ptr [rdx+10h], xmm0 ; +0x29e, 0x18005d76e movaps xmm0, xmm3 ; +0x2a3, 0x18005d773 mulss xmm0, xmm4 ; +0x2a6, 0x18005d776 movss dword ptr [rdx+1Ch], xmm1 ; +0x2aa, 0x18005d77a movaps xmm1, xmm3 ; +0x2af, 0x18005d77f mulss xmm1, xmm7 ; +0x2b2, 0x18005d782 addss xmm0, dword ptr [rdx+18h] ; +0x2b6, 0x18005d786 movss dword ptr [rdx+14h], xmm2 ; +0x2bb, 0x18005d78b addss xmm1, dword ptr [rdx+24h] ; +0x2c0, 0x18005d790 movss xmm2, dword ptr [rcx+8] ; +0x2c5, 0x18005d795 movss dword ptr [rdx+18h], xmm0 ; +0x2ca, 0x18005d79a movaps xmm0, xmm3 ; +0x2cf, 0x18005d79f mulss xmm0, xmm6 ; +0x2d2, 0x18005d7a2 movss dword ptr [rdx+24h], xmm1 ; +0x2d6, 0x18005d7a6 movaps xmm1, xmm2 ; +0x2db, 0x18005d7ab mulss xmm1, xmm5 ; +0x2de, 0x18005d7ae addss xmm0, dword ptr [rdx+20h] ; +0x2e2, 0x18005d7b2 addss xmm1, dword ptr [rdx+34h] ; +0x2e7, 0x18005d7b7 movss dword ptr [rdx+20h], xmm0 ; +0x2ec, 0x18005d7bc movaps xmm0, xmm3 ; +0x2f1, 0x18005d7c1 mulss xmm0, xmm8 ; +0x2f4, 0x18005d7c4 movss dword ptr [rdx+34h], xmm1 ; +0x2f9, 0x18005d7c9 movaps xmm1, xmm2 ; +0x2fe, 0x18005d7ce mulss xmm1, xmm7 ; +0x301, 0x18005d7d1 addss xmm0, dword ptr [rdx+28h] ; +0x305, 0x18005d7d5 mulss xmm3, xmm9 ; +0x30a, 0x18005d7da addss xmm1, dword ptr [rdx+3Ch] ; +0x30f, 0x18005d7df addss xmm3, dword ptr [rdx+2Ch] ; +0x314, 0x18005d7e4 movss dword ptr [rdx+28h], xmm0 ; +0x319, 0x18005d7e9 movaps xmm0, xmm2 ; +0x31e, 0x18005d7ee mulss xmm0, xmm4 ; +0x321, 0x18005d7f1 movss dword ptr [rdx+3Ch], xmm1 ; +0x325, 0x18005d7f5 movss dword ptr [rdx+2Ch], xmm3 ; +0x32a, 0x18005d7fa addss xmm0, dword ptr [rdx+30h] ; +0x32f, 0x18005d7ff movss xmm3, dword ptr [rcx+0Ch] ; +0x334, 0x18005d804 movaps xmm1, xmm3 ; +0x339, 0x18005d809 mulss xmm1, xmm5 ; +0x33c, 0x18005d80c movss dword ptr [rdx+30h], xmm0 ; +0x340, 0x18005d810 movaps xmm0, xmm2 ; +0x345, 0x18005d815 mulss xmm0, xmm6 ; +0x348, 0x18005d818 addss xmm1, dword ptr [rdx+4Ch] ; +0x34c, 0x18005d81c addss xmm0, dword ptr [rdx+38h] ; +0x351, 0x18005d821 movss dword ptr [rdx+4Ch], xmm1 ; +0x356, 0x18005d826 movss dword ptr [rdx+38h], xmm0 ; +0x35b, 0x18005d82b movaps xmm0, xmm2 ; +0x360, 0x18005d830 mulss xmm0, xmm8 ; +0x363, 0x18005d833 mulss xmm2, xmm9 ; +0x368, 0x18005d838 addss xmm0, dword ptr [rdx+40h] ; +0x36d, 0x18005d83d addss xmm2, dword ptr [rdx+44h] ; +0x372, 0x18005d842 movss dword ptr [rdx+40h], xmm0 ; +0x377, 0x18005d847 movaps xmm0, xmm3 ; +0x37c, 0x18005d84c mulss xmm0, xmm4 ; +0x37f, 0x18005d84f movss dword ptr [rdx+44h], xmm2 ; +0x383, 0x18005d853 addss xmm0, dword ptr [rdx+48h] ; +0x388, 0x18005d858 movss dword ptr [rdx+48h], xmm0 ; +0x38d, 0x18005d85d movaps xmm0, xmm3 ; +0x392, 0x18005d862 movaps xmm1, xmm3 ; +0x395, 0x18005d865 mulss xmm0, xmm6 ; +0x398, 0x18005d868 add rcx, 10h ; +0x39c, 0x18005d86c mulss xmm1, xmm7 ; +0x3a0, 0x18005d870 addss xmm0, dword ptr [rdx+50h] ; +0x3a4, 0x18005d874 addss xmm1, dword ptr [rdx+54h] ; +0x3a9, 0x18005d879 movss dword ptr [rdx+50h], xmm0 ; +0x3ae, 0x18005d87e movaps xmm0, xmm3 ; +0x3b3, 0x18005d883 mulss xmm0, xmm8 ; +0x3b6, 0x18005d886 mulss xmm3, xmm9 ; +0x3bb, 0x18005d88b addss xmm0, dword ptr [rdx+58h] ; +0x3c0, 0x18005d890 movss dword ptr [rdx+54h], xmm1 ; +0x3c5, 0x18005d895 addss xmm3, dword ptr [rdx+5Ch] ; +0x3ca, 0x18005d89a movss dword ptr [rdx+58h], xmm0 ; +0x3cf, 0x18005d89f movss dword ptr [rdx+5Ch], xmm3 ; +0x3d4, 0x18005d8a4 add rdx, 60h ; '`' ; +0x3d9, 0x18005d8a9 add eax, 0FFFFFFFFh ; +0x3dd, 0x18005d8ad jnz loc_18005D700 ; +0x3e0, 0x18005d8b0 and r8d, 3 ; +0x3e6, 0x18005d8b6 jz short loc_18005D935 ; +0x3ea, 0x18005d8ba add rdx, 8 ; +0x3ec, 0x18005d8bc movss xmm2, dword ptr [rcx] ; +0x3f0, 0x18005d8c0 add rcx, 4 ; +0x3f4, 0x18005d8c4 movaps xmm0, xmm2 ; +0x3f8, 0x18005d8c8 movaps xmm1, xmm2 ; +0x3fb, 0x18005d8cb mulss xmm0, xmm4 ; +0x3fe, 0x18005d8ce mulss xmm1, xmm5 ; +0x402, 0x18005d8d2 addss xmm0, dword ptr [rdx-8] ; +0x406, 0x18005d8d6 addss xmm1, dword ptr [rdx-4] ; +0x40b, 0x18005d8db movss dword ptr [rdx-8], xmm0 ; +0x410, 0x18005d8e0 movaps xmm0, xmm2 ; +0x415, 0x18005d8e5 mulss xmm0, xmm6 ; +0x418, 0x18005d8e8 movss dword ptr [rdx-4], xmm1 ; +0x41c, 0x18005d8ec movaps xmm1, xmm2 ; +0x421, 0x18005d8f1 mulss xmm1, xmm7 ; +0x424, 0x18005d8f4 addss xmm0, dword ptr [rdx] ; +0x428, 0x18005d8f8 addss xmm1, dword ptr [rdx+4] ; +0x42c, 0x18005d8fc movss dword ptr [rdx], xmm0 ; +0x431, 0x18005d901 movaps xmm0, xmm2 ; +0x435, 0x18005d905 mulss xmm0, xmm8 ; +0x438, 0x18005d908 mulss xmm2, xmm9 ; +0x43d, 0x18005d90d addss xmm0, dword ptr [rdx+8] ; +0x442, 0x18005d912 movss dword ptr [rdx+4], xmm1 ; +0x447, 0x18005d917 addss xmm2, dword ptr [rdx+0Ch] ; +0x44c, 0x18005d91c movss dword ptr [rdx+8], xmm0 ; +0x451, 0x18005d921 movss dword ptr [rdx+0Ch], xmm2 ; +0x456, 0x18005d926 add rdx, 18h ; +0x45b, 0x18005d92b add r8d, 0FFFFFFFFh ; +0x45f, 0x18005d92f jnz short loc_18005D8C0 ; +0x463, 0x18005d933 movaps xmm6, [rsp+48h+var_18] ; +0x465, 0x18005d935 movaps xmm7, [rsp+48h+var_28] ; +0x46a, 0x18005d93a movaps xmm8, [rsp+48h+var_38] ; +0x46f, 0x18005d93f movaps xmm9, [rsp+48h+var_48] ; +0x475, 0x18005d945 add rsp, 48h ; +0x47a, 0x18005d94a retn ; +0x47e, 0x18005d94e