; ; sub_18005D950 from 0x18005d950 to 0x18005dd53 (1027 bytes) ; ; 2 xrefs: ; > @ 0x1801ac4d0 ; > @ 0x1801f90cc ; ; 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 ; sub rsp, 68h ; +0x0, 0x18005d950 movss xmm4, dword ptr [r9] ; +0x4, 0x18005d954 mov eax, r8d ; +0x9, 0x18005d959 movss xmm5, dword ptr [r9+80h] ; +0xc, 0x18005d95c movaps [rsp+68h+var_18], xmm6 ; +0x15, 0x18005d965 movss xmm6, dword ptr [r9+100h] ; +0x1a, 0x18005d96a movaps [rsp+68h+var_28], xmm7 ; +0x23, 0x18005d973 movss xmm7, dword ptr [r9+180h] ; +0x28, 0x18005d978 movaps [rsp+68h+var_38], xmm8 ; +0x31, 0x18005d981 movss xmm8, dword ptr [r9+200h] ; +0x37, 0x18005d987 movaps [rsp+68h+var_48], xmm9 ; +0x40, 0x18005d990 movss xmm9, dword ptr [r9+280h] ; +0x46, 0x18005d996 movaps [rsp+68h+var_58], xmm10 ; +0x4f, 0x18005d99f movss xmm10, dword ptr [r9+300h] ; +0x55, 0x18005d9a5 shr eax, 1 ; +0x5e, 0x18005d9ae cmp [rsp+68h+arg_30], 0 ; +0x60, 0x18005d9b0 movaps [rsp+68h+var_68], xmm11 ; +0x68, 0x18005d9b8 movss xmm11, dword ptr [r9+380h] ; +0x6d, 0x18005d9bd jz loc_18005DB48 ; +0x76, 0x18005d9c6 test eax, eax ; +0x7c, 0x18005d9cc jz loc_18005DABB ; +0x7e, 0x18005d9ce nop dword ptr [rax+00h] ; +0x84, 0x18005d9d4 nop dword ptr [rax+rax+00000000h] ; +0x88, 0x18005d9d8 movss xmm2, dword ptr [rcx] ; +0x90, 0x18005d9e0 movss xmm3, dword ptr [rcx+4] ; +0x94, 0x18005d9e4 movaps xmm0, xmm2 ; +0x99, 0x18005d9e9 mulss xmm0, xmm4 ; +0x9c, 0x18005d9ec movaps xmm1, xmm2 ; +0xa0, 0x18005d9f0 add rcx, 8 ; +0xa3, 0x18005d9f3 mulss xmm1, xmm5 ; +0xa7, 0x18005d9f7 movss dword ptr [rdx], xmm0 ; +0xab, 0x18005d9fb movaps xmm0, xmm2 ; +0xaf, 0x18005d9ff mulss xmm0, xmm6 ; +0xb2, 0x18005da02 movss dword ptr [rdx+4], xmm1 ; +0xb6, 0x18005da06 movaps xmm1, xmm2 ; +0xbb, 0x18005da0b mulss xmm1, xmm7 ; +0xbe, 0x18005da0e movss dword ptr [rdx+8], xmm0 ; +0xc2, 0x18005da12 movaps xmm0, xmm2 ; +0xc7, 0x18005da17 mulss xmm0, xmm8 ; +0xca, 0x18005da1a movss dword ptr [rdx+0Ch], xmm1 ; +0xcf, 0x18005da1f movaps xmm1, xmm2 ; +0xd4, 0x18005da24 mulss xmm1, xmm9 ; +0xd7, 0x18005da27 movss dword ptr [rdx+10h], xmm0 ; +0xdc, 0x18005da2c movaps xmm0, xmm2 ; +0xe1, 0x18005da31 mulss xmm0, xmm10 ; +0xe4, 0x18005da34 movss dword ptr [rdx+14h], xmm1 ; +0xe9, 0x18005da39 movaps xmm1, xmm3 ; +0xee, 0x18005da3e mulss xmm1, xmm5 ; +0xf1, 0x18005da41 movss dword ptr [rdx+18h], xmm0 ; +0xf5, 0x18005da45 movaps xmm0, xmm3 ; +0xfa, 0x18005da4a mulss xmm0, xmm4 ; +0xfd, 0x18005da4d movss dword ptr [rdx+24h], xmm1 ; +0x101, 0x18005da51 movaps xmm1, xmm3 ; +0x106, 0x18005da56 mulss xmm1, xmm7 ; +0x109, 0x18005da59 movss dword ptr [rdx+20h], xmm0 ; +0x10d, 0x18005da5d movaps xmm0, xmm3 ; +0x112, 0x18005da62 mulss xmm0, xmm6 ; +0x115, 0x18005da65 movss dword ptr [rdx+2Ch], xmm1 ; +0x119, 0x18005da69 movaps xmm1, xmm3 ; +0x11e, 0x18005da6e mulss xmm2, xmm11 ; +0x121, 0x18005da71 movss dword ptr [rdx+28h], xmm0 ; +0x126, 0x18005da76 movaps xmm0, xmm3 ; +0x12b, 0x18005da7b mulss xmm0, xmm8 ; +0x12e, 0x18005da7e mulss xmm1, xmm9 ; +0x133, 0x18005da83 movss dword ptr [rdx+30h], xmm0 ; +0x138, 0x18005da88 movaps xmm0, xmm3 ; +0x13d, 0x18005da8d mulss xmm0, xmm10 ; +0x140, 0x18005da90 mulss xmm3, xmm11 ; +0x145, 0x18005da95 movss dword ptr [rdx+38h], xmm0 ; +0x14a, 0x18005da9a movss dword ptr [rdx+1Ch], xmm2 ; +0x14f, 0x18005da9f movss dword ptr [rdx+34h], xmm1 ; +0x154, 0x18005daa4 movss dword ptr [rdx+3Ch], xmm3 ; +0x159, 0x18005daa9 add rdx, 40h ; '@' ; +0x15e, 0x18005daae add eax, 0FFFFFFFFh ; +0x162, 0x18005dab2 jnz loc_18005D9E0 ; +0x165, 0x18005dab5 and r8d, 1 ; +0x16b, 0x18005dabb jz loc_18005DD2D ; +0x16f, 0x18005dabf add rdx, 8 ; +0x175, 0x18005dac5 nop dword ptr [rax+00000000h] ; +0x179, 0x18005dac9 movss xmm2, dword ptr [rcx] ; +0x180, 0x18005dad0 lea rdx, [rdx+20h] ; +0x184, 0x18005dad4 lea rcx, [rcx+4] ; +0x188, 0x18005dad8 movaps xmm0, xmm2 ; +0x18c, 0x18005dadc mulss xmm0, xmm4 ; +0x18f, 0x18005dadf movaps xmm1, xmm2 ; +0x193, 0x18005dae3 mulss xmm1, xmm5 ; +0x196, 0x18005dae6 movss dword ptr [rdx-28h], xmm0 ; +0x19a, 0x18005daea movaps xmm0, xmm2 ; +0x19f, 0x18005daef mulss xmm0, xmm6 ; +0x1a2, 0x18005daf2 movss dword ptr [rdx-24h], xmm1 ; +0x1a6, 0x18005daf6 movaps xmm1, xmm2 ; +0x1ab, 0x18005dafb mulss xmm1, xmm7 ; +0x1ae, 0x18005dafe movss dword ptr [rdx-20h], xmm0 ; +0x1b2, 0x18005db02 movaps xmm0, xmm2 ; +0x1b7, 0x18005db07 mulss xmm0, xmm8 ; +0x1ba, 0x18005db0a movss dword ptr [rdx-1Ch], xmm1 ; +0x1bf, 0x18005db0f movaps xmm1, xmm2 ; +0x1c4, 0x18005db14 mulss xmm1, xmm9 ; +0x1c7, 0x18005db17 movss dword ptr [rdx-18h], xmm0 ; +0x1cc, 0x18005db1c movaps xmm0, xmm2 ; +0x1d1, 0x18005db21 mulss xmm0, xmm10 ; +0x1d4, 0x18005db24 mulss xmm2, xmm11 ; +0x1d9, 0x18005db29 movss dword ptr [rdx-14h], xmm1 ; +0x1de, 0x18005db2e movss dword ptr [rdx-10h], xmm0 ; +0x1e3, 0x18005db33 movss dword ptr [rdx-0Ch], xmm2 ; +0x1e8, 0x18005db38 add r8d, 0FFFFFFFFh ; +0x1ed, 0x18005db3d jnz short loc_18005DAD0 ; +0x1f1, 0x18005db41 jmp loc_18005DD2D ; +0x1f3, 0x18005db43 test eax, eax ; +0x1f8, 0x18005db48 jz loc_18005DC7A ; +0x1fa, 0x18005db4a movss xmm2, dword ptr [rcx] ; +0x200, 0x18005db50 movss xmm3, dword ptr [rcx+4] ; +0x204, 0x18005db54 movaps xmm0, xmm2 ; +0x209, 0x18005db59 mulss xmm0, xmm4 ; +0x20c, 0x18005db5c movaps xmm1, xmm2 ; +0x210, 0x18005db60 add rcx, 8 ; +0x213, 0x18005db63 mulss xmm1, xmm5 ; +0x217, 0x18005db67 addss xmm0, dword ptr [rdx] ; +0x21b, 0x18005db6b addss xmm1, dword ptr [rdx+4] ; +0x21f, 0x18005db6f movss dword ptr [rdx], xmm0 ; +0x224, 0x18005db74 movaps xmm0, xmm2 ; +0x228, 0x18005db78 mulss xmm0, xmm6 ; +0x22b, 0x18005db7b movss dword ptr [rdx+4], xmm1 ; +0x22f, 0x18005db7f movaps xmm1, xmm2 ; +0x234, 0x18005db84 mulss xmm1, xmm7 ; +0x237, 0x18005db87 addss xmm0, dword ptr [rdx+8] ; +0x23b, 0x18005db8b addss xmm1, dword ptr [rdx+0Ch] ; +0x240, 0x18005db90 movss dword ptr [rdx+8], xmm0 ; +0x245, 0x18005db95 movaps xmm0, xmm2 ; +0x24a, 0x18005db9a mulss xmm0, xmm8 ; +0x24d, 0x18005db9d movss dword ptr [rdx+0Ch], xmm1 ; +0x252, 0x18005dba2 movaps xmm1, xmm2 ; +0x257, 0x18005dba7 mulss xmm1, xmm9 ; +0x25a, 0x18005dbaa addss xmm0, dword ptr [rdx+10h] ; +0x25f, 0x18005dbaf addss xmm1, dword ptr [rdx+14h] ; +0x264, 0x18005dbb4 movss dword ptr [rdx+10h], xmm0 ; +0x269, 0x18005dbb9 movaps xmm0, xmm2 ; +0x26e, 0x18005dbbe mulss xmm0, xmm10 ; +0x271, 0x18005dbc1 movss dword ptr [rdx+14h], xmm1 ; +0x276, 0x18005dbc6 movaps xmm1, xmm3 ; +0x27b, 0x18005dbcb mulss xmm1, xmm5 ; +0x27e, 0x18005dbce addss xmm0, dword ptr [rdx+18h] ; +0x282, 0x18005dbd2 mulss xmm2, xmm11 ; +0x287, 0x18005dbd7 addss xmm1, dword ptr [rdx+24h] ; +0x28c, 0x18005dbdc addss xmm2, dword ptr [rdx+1Ch] ; +0x291, 0x18005dbe1 movss dword ptr [rdx+18h], xmm0 ; +0x296, 0x18005dbe6 movaps xmm0, xmm3 ; +0x29b, 0x18005dbeb mulss xmm0, xmm4 ; +0x29e, 0x18005dbee movss dword ptr [rdx+24h], xmm1 ; +0x2a2, 0x18005dbf2 movaps xmm1, xmm3 ; +0x2a7, 0x18005dbf7 mulss xmm1, xmm7 ; +0x2aa, 0x18005dbfa addss xmm0, dword ptr [rdx+20h] ; +0x2ae, 0x18005dbfe movss dword ptr [rdx+1Ch], xmm2 ; +0x2b3, 0x18005dc03 addss xmm1, dword ptr [rdx+2Ch] ; +0x2b8, 0x18005dc08 movss dword ptr [rdx+20h], xmm0 ; +0x2bd, 0x18005dc0d movaps xmm0, xmm3 ; +0x2c2, 0x18005dc12 mulss xmm0, xmm6 ; +0x2c5, 0x18005dc15 movss dword ptr [rdx+2Ch], xmm1 ; +0x2c9, 0x18005dc19 movaps xmm1, xmm3 ; +0x2ce, 0x18005dc1e mulss xmm1, xmm9 ; +0x2d1, 0x18005dc21 addss xmm0, dword ptr [rdx+28h] ; +0x2d6, 0x18005dc26 addss xmm1, dword ptr [rdx+34h] ; +0x2db, 0x18005dc2b movss dword ptr [rdx+28h], xmm0 ; +0x2e0, 0x18005dc30 movaps xmm0, xmm3 ; +0x2e5, 0x18005dc35 mulss xmm0, xmm8 ; +0x2e8, 0x18005dc38 movss dword ptr [rdx+34h], xmm1 ; +0x2ed, 0x18005dc3d addss xmm0, dword ptr [rdx+30h] ; +0x2f2, 0x18005dc42 movss dword ptr [rdx+30h], xmm0 ; +0x2f7, 0x18005dc47 movaps xmm0, xmm3 ; +0x2fc, 0x18005dc4c mulss xmm0, xmm10 ; +0x2ff, 0x18005dc4f mulss xmm3, xmm11 ; +0x304, 0x18005dc54 addss xmm0, dword ptr [rdx+38h] ; +0x309, 0x18005dc59 addss xmm3, dword ptr [rdx+3Ch] ; +0x30e, 0x18005dc5e movss dword ptr [rdx+38h], xmm0 ; +0x313, 0x18005dc63 movss dword ptr [rdx+3Ch], xmm3 ; +0x318, 0x18005dc68 add rdx, 40h ; '@' ; +0x31d, 0x18005dc6d add eax, 0FFFFFFFFh ; +0x321, 0x18005dc71 jnz loc_18005DB50 ; +0x324, 0x18005dc74 and r8d, 1 ; +0x32a, 0x18005dc7a jz loc_18005DD2D ; +0x32e, 0x18005dc7e add rdx, 8 ; +0x334, 0x18005dc84 nop dword ptr [rax+rax+00000000h] ; +0x338, 0x18005dc88 movss xmm2, dword ptr [rcx] ; +0x340, 0x18005dc90 add rcx, 4 ; +0x344, 0x18005dc94 movaps xmm0, xmm2 ; +0x348, 0x18005dc98 movaps xmm1, xmm2 ; +0x34b, 0x18005dc9b mulss xmm0, xmm4 ; +0x34e, 0x18005dc9e mulss xmm1, xmm5 ; +0x352, 0x18005dca2 addss xmm0, dword ptr [rdx-8] ; +0x356, 0x18005dca6 addss xmm1, dword ptr [rdx-4] ; +0x35b, 0x18005dcab movss dword ptr [rdx-8], xmm0 ; +0x360, 0x18005dcb0 movaps xmm0, xmm2 ; +0x365, 0x18005dcb5 mulss xmm0, xmm6 ; +0x368, 0x18005dcb8 movss dword ptr [rdx-4], xmm1 ; +0x36c, 0x18005dcbc movaps xmm1, xmm2 ; +0x371, 0x18005dcc1 mulss xmm1, xmm7 ; +0x374, 0x18005dcc4 addss xmm0, dword ptr [rdx] ; +0x378, 0x18005dcc8 addss xmm1, dword ptr [rdx+4] ; +0x37c, 0x18005dccc movss dword ptr [rdx], xmm0 ; +0x381, 0x18005dcd1 movaps xmm0, xmm2 ; +0x385, 0x18005dcd5 mulss xmm0, xmm8 ; +0x388, 0x18005dcd8 movss dword ptr [rdx+4], xmm1 ; +0x38d, 0x18005dcdd movaps xmm1, xmm2 ; +0x392, 0x18005dce2 mulss xmm1, xmm9 ; +0x395, 0x18005dce5 addss xmm0, dword ptr [rdx+8] ; +0x39a, 0x18005dcea addss xmm1, dword ptr [rdx+0Ch] ; +0x39f, 0x18005dcef movss dword ptr [rdx+8], xmm0 ; +0x3a4, 0x18005dcf4 movaps xmm0, xmm2 ; +0x3a9, 0x18005dcf9 mulss xmm0, xmm10 ; +0x3ac, 0x18005dcfc mulss xmm2, xmm11 ; +0x3b1, 0x18005dd01 addss xmm0, dword ptr [rdx+10h] ; +0x3b6, 0x18005dd06 movss dword ptr [rdx+0Ch], xmm1 ; +0x3bb, 0x18005dd0b addss xmm2, dword ptr [rdx+14h] ; +0x3c0, 0x18005dd10 movss dword ptr [rdx+10h], xmm0 ; +0x3c5, 0x18005dd15 movss dword ptr [rdx+14h], xmm2 ; +0x3ca, 0x18005dd1a add rdx, 20h ; ' ' ; +0x3cf, 0x18005dd1f add r8d, 0FFFFFFFFh ; +0x3d3, 0x18005dd23 jnz loc_18005DC90 ; +0x3d7, 0x18005dd27 movaps xmm6, [rsp+68h+var_18] ; +0x3dd, 0x18005dd2d movaps xmm7, [rsp+68h+var_28] ; +0x3e2, 0x18005dd32 movaps xmm8, [rsp+68h+var_38] ; +0x3e7, 0x18005dd37 movaps xmm9, [rsp+68h+var_48] ; +0x3ed, 0x18005dd3d movaps xmm10, [rsp+68h+var_58] ; +0x3f3, 0x18005dd43 movaps xmm11, [rsp+68h+var_68] ; +0x3f9, 0x18005dd49 add rsp, 68h ; +0x3fe, 0x18005dd4e retn ; +0x402, 0x18005dd52