; ; sub_18005C650 from 0x18005c650 to 0x18005cb92 (1346 bytes) ; ; 5 xrefs: ; > @ 0x18018297c ; > @ 0x18018298c ; > @ 0x1801ac4e0 ; > @ 0x1801ac550 ; > @ 0x1801f9090 ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:53:22 +0000 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005c650 mov [rsp+arg_8], rbp ; +0x5, 0x18005c655 mov [rsp+arg_10], rsi ; +0xa, 0x18005c65a push rdi ; +0xf, 0x18005c65f sub rsp, 0C0h ; +0x10, 0x18005c660 cmp [rsp+0C8h+arg_30], 0 ; +0x17, 0x18005c667 mov rbx, r9 ; +0x1f, 0x18005c66f mov edi, r8d ; +0x22, 0x18005c672 mov rsi, rdx ; +0x25, 0x18005c675 mov rbp, rcx ; +0x28, 0x18005c678 jz short loc_18005C697 ; +0x2b, 0x18005c67b mov r8d, edi ; +0x2d, 0x18005c67d xor edx, edx; Val ; +0x30, 0x18005c680 imul r8d, [rsp+0C8h+arg_28] ; +0x32, 0x18005c682 mov rcx, rsi; void * ; +0x3b, 0x18005c68b shl r8, 2; Size ; +0x3e, 0x18005c68e call memset ; +0x42, 0x18005c692 test edi, edi ; +0x47, 0x18005c697 jle loc_18005CB79 ; +0x49, 0x18005c699 movaps [rsp+0C8h+var_18], xmm6 ; +0x4f, 0x18005c69f add rbp, 8 ; +0x57, 0x18005c6a7 movaps [rsp+0C8h+var_28], xmm7 ; +0x5b, 0x18005c6ab mov rax, rdi ; +0x63, 0x18005c6b3 movaps [rsp+0C8h+var_38], xmm8 ; +0x66, 0x18005c6b6 movaps [rsp+0C8h+var_48], xmm9 ; +0x6f, 0x18005c6bf movaps [rsp+0C8h+var_58], xmm10 ; +0x78, 0x18005c6c8 movaps [rsp+0C8h+var_68], xmm11 ; +0x7e, 0x18005c6ce movaps [rsp+0C8h+var_78], xmm12 ; +0x84, 0x18005c6d4 movaps [rsp+0C8h+var_88], xmm13 ; +0x8a, 0x18005c6da movss xmm13, dword ptr [rbx] ; +0x90, 0x18005c6e0 movaps [rsp+0C8h+var_98], xmm14 ; +0x95, 0x18005c6e5 movss xmm14, dword ptr [rbx+4] ; +0x9b, 0x18005c6eb movaps [rsp+0C8h+var_A8], xmm15 ; +0xa1, 0x18005c6f1 movss xmm15, dword ptr [rbx+8] ; +0xa7, 0x18005c6f7 nop dword ptr [rax] ; +0xad, 0x18005c6fd movss xmm5, dword ptr [rbp+10h] ; +0xb0, 0x18005c700 movaps xmm3, xmm15 ; +0xb5, 0x18005c705 movss xmm10, dword ptr [rbp+14h] ; +0xb9, 0x18005c709 movss xmm7, dword ptr [rbp+4] ; +0xbf, 0x18005c70f movss xmm8, dword ptr [rbp+8] ; +0xc4, 0x18005c714 movss xmm6, dword ptr [rbp+0Ch] ; +0xca, 0x18005c71a movss xmm11, dword ptr [rbp-8] ; +0xcf, 0x18005c71f movss xmm9, dword ptr [rbp-4] ; +0xd5, 0x18005c725 movss xmm12, dword ptr [rbp+0] ; +0xdb, 0x18005c72b movss xmm4, dword ptr [rbx+1Ch] ; +0xe1, 0x18005c731 movss xmm0, dword ptr [rbx+18h] ; +0xe6, 0x18005c736 movss xmm1, dword ptr [rbx+14h] ; +0xeb, 0x18005c73b movss xmm2, dword ptr [rbx+10h] ; +0xf0, 0x18005c740 mulss xmm0, xmm5 ; +0xf5, 0x18005c745 mulss xmm4, xmm10 ; +0xf9, 0x18005c749 mulss xmm1, xmm6 ; +0xfe, 0x18005c74e addss xmm4, xmm0 ; +0x102, 0x18005c752 mulss xmm3, xmm12 ; +0x106, 0x18005c756 movss xmm0, dword ptr [rbx+0Ch] ; +0x10b, 0x18005c75b mulss xmm0, xmm7 ; +0x110, 0x18005c760 addss xmm4, xmm1 ; +0x114, 0x18005c764 mulss xmm2, xmm8 ; +0x118, 0x18005c768 movaps xmm1, xmm13 ; +0x11d, 0x18005c76d mulss xmm1, xmm11 ; +0x121, 0x18005c771 addss xmm2, xmm0 ; +0x126, 0x18005c776 movaps xmm0, xmm14 ; +0x12a, 0x18005c77a mulss xmm0, xmm9 ; +0x12e, 0x18005c77e addss xmm1, dword ptr [rsi] ; +0x133, 0x18005c783 addss xmm3, xmm0 ; +0x137, 0x18005c787 movaps xmm0, xmm5 ; +0x13b, 0x18005c78b mulss xmm0, dword ptr [rbx+98h] ; +0x13e, 0x18005c78e addss xmm4, xmm2 ; +0x146, 0x18005c796 movaps xmm2, xmm8 ; +0x14a, 0x18005c79a mulss xmm2, dword ptr [rbx+90h] ; +0x14e, 0x18005c79e addss xmm3, xmm1 ; +0x156, 0x18005c7a6 movaps xmm1, xmm6 ; +0x15a, 0x18005c7aa mulss xmm1, dword ptr [rbx+94h] ; +0x15d, 0x18005c7ad addss xmm4, xmm3 ; +0x165, 0x18005c7b5 movaps xmm3, xmm12 ; +0x169, 0x18005c7b9 mulss xmm3, dword ptr [rbx+88h] ; +0x16d, 0x18005c7bd movss dword ptr [rsi], xmm4 ; +0x175, 0x18005c7c5 movaps xmm4, xmm10 ; +0x179, 0x18005c7c9 mulss xmm4, dword ptr [rbx+9Ch] ; +0x17d, 0x18005c7cd addss xmm4, xmm0 ; +0x185, 0x18005c7d5 movaps xmm0, xmm7 ; +0x189, 0x18005c7d9 mulss xmm0, dword ptr [rbx+8Ch] ; +0x18c, 0x18005c7dc addss xmm4, xmm1 ; +0x194, 0x18005c7e4 movaps xmm1, xmm11 ; +0x198, 0x18005c7e8 mulss xmm1, dword ptr [rbx+80h] ; +0x19c, 0x18005c7ec addss xmm2, xmm0 ; +0x1a4, 0x18005c7f4 movaps xmm0, xmm9 ; +0x1a8, 0x18005c7f8 mulss xmm0, dword ptr [rbx+84h] ; +0x1ac, 0x18005c7fc addss xmm1, dword ptr [rsi+4] ; +0x1b4, 0x18005c804 addss xmm4, xmm2 ; +0x1b9, 0x18005c809 movaps xmm2, xmm8 ; +0x1bd, 0x18005c80d mulss xmm2, dword ptr [rbx+110h] ; +0x1c1, 0x18005c811 addss xmm3, xmm0 ; +0x1c9, 0x18005c819 movaps xmm0, xmm5 ; +0x1cd, 0x18005c81d mulss xmm0, dword ptr [rbx+118h] ; +0x1d0, 0x18005c820 addss xmm3, xmm1 ; +0x1d8, 0x18005c828 movaps xmm1, xmm6 ; +0x1dc, 0x18005c82c mulss xmm1, dword ptr [rbx+114h] ; +0x1df, 0x18005c82f addss xmm4, xmm3 ; +0x1e7, 0x18005c837 movaps xmm3, xmm12 ; +0x1eb, 0x18005c83b mulss xmm3, dword ptr [rbx+108h] ; +0x1ef, 0x18005c83f movss dword ptr [rsi+4], xmm4 ; +0x1f7, 0x18005c847 movaps xmm4, xmm10 ; +0x1fc, 0x18005c84c mulss xmm4, dword ptr [rbx+11Ch] ; +0x200, 0x18005c850 addss xmm4, xmm0 ; +0x208, 0x18005c858 movaps xmm0, xmm7 ; +0x20c, 0x18005c85c mulss xmm0, dword ptr [rbx+10Ch] ; +0x20f, 0x18005c85f addss xmm4, xmm1 ; +0x217, 0x18005c867 movaps xmm1, xmm11 ; +0x21b, 0x18005c86b mulss xmm1, dword ptr [rbx+100h] ; +0x21f, 0x18005c86f addss xmm2, xmm0 ; +0x227, 0x18005c877 movaps xmm0, xmm9 ; +0x22b, 0x18005c87b mulss xmm0, dword ptr [rbx+104h] ; +0x22f, 0x18005c87f addss xmm1, dword ptr [rsi+8] ; +0x237, 0x18005c887 addss xmm4, xmm2 ; +0x23c, 0x18005c88c addss xmm3, xmm0 ; +0x240, 0x18005c890 addss xmm3, xmm1 ; +0x244, 0x18005c894 addss xmm4, xmm3 ; +0x248, 0x18005c898 movaps xmm0, xmm5 ; +0x24c, 0x18005c89c mulss xmm0, dword ptr [rbx+198h] ; +0x24f, 0x18005c89f movaps xmm1, xmm6 ; +0x257, 0x18005c8a7 mulss xmm1, dword ptr [rbx+194h] ; +0x25a, 0x18005c8aa movaps xmm2, xmm8 ; +0x262, 0x18005c8b2 mulss xmm2, dword ptr [rbx+190h] ; +0x266, 0x18005c8b6 movaps xmm3, xmm12 ; +0x26e, 0x18005c8be mulss xmm3, dword ptr [rbx+188h] ; +0x272, 0x18005c8c2 movss dword ptr [rsi+8], xmm4 ; +0x27a, 0x18005c8ca movaps xmm4, xmm10 ; +0x27f, 0x18005c8cf mulss xmm4, dword ptr [rbx+19Ch] ; +0x283, 0x18005c8d3 addss xmm4, xmm0 ; +0x28b, 0x18005c8db movaps xmm0, xmm7 ; +0x28f, 0x18005c8df mulss xmm0, dword ptr [rbx+18Ch] ; +0x292, 0x18005c8e2 addss xmm4, xmm1 ; +0x29a, 0x18005c8ea movaps xmm1, xmm11 ; +0x29e, 0x18005c8ee mulss xmm1, dword ptr [rbx+180h] ; +0x2a2, 0x18005c8f2 addss xmm2, xmm0 ; +0x2aa, 0x18005c8fa movaps xmm0, xmm9 ; +0x2ae, 0x18005c8fe mulss xmm0, dword ptr [rbx+184h] ; +0x2b2, 0x18005c902 addss xmm1, dword ptr [rsi+0Ch] ; +0x2ba, 0x18005c90a addss xmm4, xmm2 ; +0x2bf, 0x18005c90f movaps xmm2, xmm8 ; +0x2c3, 0x18005c913 mulss xmm2, dword ptr [rbx+210h] ; +0x2c7, 0x18005c917 addss xmm3, xmm0 ; +0x2cf, 0x18005c91f movaps xmm0, xmm5 ; +0x2d3, 0x18005c923 mulss xmm0, dword ptr [rbx+218h] ; +0x2d6, 0x18005c926 addss xmm3, xmm1 ; +0x2de, 0x18005c92e movaps xmm1, xmm6 ; +0x2e2, 0x18005c932 mulss xmm1, dword ptr [rbx+214h] ; +0x2e5, 0x18005c935 addss xmm4, xmm3 ; +0x2ed, 0x18005c93d movaps xmm3, xmm12 ; +0x2f1, 0x18005c941 mulss xmm3, dword ptr [rbx+208h] ; +0x2f5, 0x18005c945 movss dword ptr [rsi+0Ch], xmm4 ; +0x2fd, 0x18005c94d movaps xmm4, xmm10 ; +0x302, 0x18005c952 mulss xmm4, dword ptr [rbx+21Ch] ; +0x306, 0x18005c956 addss xmm4, xmm0 ; +0x30e, 0x18005c95e movaps xmm0, xmm7 ; +0x312, 0x18005c962 mulss xmm0, dword ptr [rbx+20Ch] ; +0x315, 0x18005c965 addss xmm4, xmm1 ; +0x31d, 0x18005c96d movaps xmm1, xmm11 ; +0x321, 0x18005c971 mulss xmm1, dword ptr [rbx+200h] ; +0x325, 0x18005c975 addss xmm2, xmm0 ; +0x32d, 0x18005c97d movaps xmm0, xmm9 ; +0x331, 0x18005c981 mulss xmm0, dword ptr [rbx+204h] ; +0x335, 0x18005c985 addss xmm1, dword ptr [rsi+10h] ; +0x33d, 0x18005c98d addss xmm4, xmm2 ; +0x342, 0x18005c992 movaps xmm2, xmm8 ; +0x346, 0x18005c996 mulss xmm2, dword ptr [rbx+290h] ; +0x34a, 0x18005c99a addss xmm3, xmm0 ; +0x352, 0x18005c9a2 movaps xmm0, xmm5 ; +0x356, 0x18005c9a6 mulss xmm0, dword ptr [rbx+298h] ; +0x359, 0x18005c9a9 addss xmm3, xmm1 ; +0x361, 0x18005c9b1 movaps xmm1, xmm6 ; +0x365, 0x18005c9b5 mulss xmm1, dword ptr [rbx+294h] ; +0x368, 0x18005c9b8 addss xmm4, xmm3 ; +0x370, 0x18005c9c0 movaps xmm3, xmm12 ; +0x374, 0x18005c9c4 mulss xmm3, dword ptr [rbx+288h] ; +0x378, 0x18005c9c8 movss dword ptr [rsi+10h], xmm4 ; +0x380, 0x18005c9d0 movaps xmm4, xmm10 ; +0x385, 0x18005c9d5 mulss xmm4, dword ptr [rbx+29Ch] ; +0x389, 0x18005c9d9 addss xmm4, xmm0 ; +0x391, 0x18005c9e1 movaps xmm0, xmm7 ; +0x395, 0x18005c9e5 mulss xmm0, dword ptr [rbx+28Ch] ; +0x398, 0x18005c9e8 addss xmm4, xmm1 ; +0x3a0, 0x18005c9f0 movaps xmm1, xmm11 ; +0x3a4, 0x18005c9f4 mulss xmm1, dword ptr [rbx+280h] ; +0x3a8, 0x18005c9f8 addss xmm2, xmm0 ; +0x3b0, 0x18005ca00 movaps xmm0, xmm9 ; +0x3b4, 0x18005ca04 mulss xmm0, dword ptr [rbx+284h] ; +0x3b8, 0x18005ca08 addss xmm1, dword ptr [rsi+14h] ; +0x3c0, 0x18005ca10 addss xmm4, xmm2 ; +0x3c5, 0x18005ca15 addss xmm3, xmm0 ; +0x3c9, 0x18005ca19 movaps xmm0, xmm5 ; +0x3cd, 0x18005ca1d mulss xmm0, dword ptr [rbx+318h] ; +0x3d0, 0x18005ca20 addss xmm3, xmm1 ; +0x3d8, 0x18005ca28 addss xmm4, xmm3 ; +0x3dc, 0x18005ca2c movss dword ptr [rsi+14h], xmm4 ; +0x3e0, 0x18005ca30 movaps xmm4, xmm10 ; +0x3e5, 0x18005ca35 mulss xmm4, dword ptr [rbx+31Ch] ; +0x3e9, 0x18005ca39 mulss xmm10, dword ptr [rbx+39Ch] ; +0x3f1, 0x18005ca41 addss xmm4, xmm0 ; +0x3fa, 0x18005ca4a add rbp, 20h ; ' ' ; +0x3fe, 0x18005ca4e mulss xmm5, dword ptr [rbx+398h] ; +0x402, 0x18005ca52 movaps xmm3, xmm12 ; +0x40a, 0x18005ca5a mulss xmm3, dword ptr [rbx+308h] ; +0x40e, 0x18005ca5e movaps xmm0, xmm7 ; +0x416, 0x18005ca66 mulss xmm0, dword ptr [rbx+30Ch] ; +0x419, 0x18005ca69 movaps xmm1, xmm6 ; +0x421, 0x18005ca71 mulss xmm1, dword ptr [rbx+314h] ; +0x424, 0x18005ca74 addss xmm10, xmm5 ; +0x42c, 0x18005ca7c mulss xmm12, dword ptr [rbx+388h] ; +0x431, 0x18005ca81 movaps xmm2, xmm8 ; +0x43a, 0x18005ca8a mulss xmm2, dword ptr [rbx+310h] ; +0x43e, 0x18005ca8e addss xmm4, xmm1 ; +0x446, 0x18005ca96 mulss xmm6, dword ptr [rbx+394h] ; +0x44a, 0x18005ca9a movaps xmm1, xmm11 ; +0x452, 0x18005caa2 mulss xmm1, dword ptr [rbx+300h] ; +0x456, 0x18005caa6 addss xmm2, xmm0 ; +0x45e, 0x18005caae mulss xmm8, dword ptr [rbx+390h] ; +0x462, 0x18005cab2 movaps xmm0, xmm9 ; +0x46b, 0x18005cabb mulss xmm0, dword ptr [rbx+304h] ; +0x46f, 0x18005cabf addss xmm10, xmm6 ; +0x477, 0x18005cac7 addss xmm1, dword ptr [rsi+18h] ; +0x47c, 0x18005cacc mulss xmm7, dword ptr [rbx+38Ch] ; +0x481, 0x18005cad1 addss xmm4, xmm2 ; +0x489, 0x18005cad9 mulss xmm9, dword ptr [rbx+384h] ; +0x48d, 0x18005cadd addss xmm3, xmm0 ; +0x496, 0x18005cae6 mulss xmm11, dword ptr [rbx+380h] ; +0x49a, 0x18005caea addss xmm8, xmm7 ; +0x4a3, 0x18005caf3 addss xmm12, xmm9 ; +0x4a8, 0x18005caf8 addss xmm3, xmm1 ; +0x4ad, 0x18005cafd addss xmm11, dword ptr [rsi+1Ch] ; +0x4b1, 0x18005cb01 addss xmm10, xmm8 ; +0x4b7, 0x18005cb07 addss xmm4, xmm3 ; +0x4bc, 0x18005cb0c addss xmm12, xmm11 ; +0x4c0, 0x18005cb10 movss dword ptr [rsi+18h], xmm4 ; +0x4c5, 0x18005cb15 addss xmm10, xmm12 ; +0x4ca, 0x18005cb1a movss dword ptr [rsi+1Ch], xmm10 ; +0x4cf, 0x18005cb1f add rsi, 20h ; ' ' ; +0x4d5, 0x18005cb25 sub rax, 1 ; +0x4d9, 0x18005cb29 jnz loc_18005C700 ; +0x4dd, 0x18005cb2d movaps xmm15, [rsp+0C8h+var_A8] ; +0x4e3, 0x18005cb33 movaps xmm14, [rsp+0C8h+var_98] ; +0x4e9, 0x18005cb39 movaps xmm13, [rsp+0C8h+var_88] ; +0x4ef, 0x18005cb3f movaps xmm12, [rsp+0C8h+var_78] ; +0x4f5, 0x18005cb45 movaps xmm11, [rsp+0C8h+var_68] ; +0x4fb, 0x18005cb4b movaps xmm10, [rsp+0C8h+var_58] ; +0x501, 0x18005cb51 movaps xmm9, [rsp+0C8h+var_48] ; +0x507, 0x18005cb57 movaps xmm8, [rsp+0C8h+var_38] ; +0x510, 0x18005cb60 movaps xmm7, [rsp+0C8h+var_28] ; +0x519, 0x18005cb69 movaps xmm6, [rsp+0C8h+var_18] ; +0x521, 0x18005cb71 lea r11, [rsp+0C8h+var_8] ; +0x529, 0x18005cb79 mov rbx, [r11+10h] ; +0x531, 0x18005cb81 mov rbp, [r11+18h] ; +0x535, 0x18005cb85 mov rsi, [r11+20h] ; +0x539, 0x18005cb89 mov rsp, r11 ; +0x53d, 0x18005cb8d pop rdi ; +0x540, 0x18005cb90 retn ; +0x541, 0x18005cb91