; ; sub_18005BB00 from 0x18005bb00 to 0x18005beb0 (944 bytes) ; ; 6 xrefs: ; > @ 0x1801828bc ; > @ 0x1801828cc ; > @ 0x1801ac4c8 ; > @ 0x1801ac538 ; > @ 0x1801ac5a8 ; > @ 0x1801f9054 ; ; 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 ; mov [rsp+arg_0], rbx ; +0x0, 0x18005bb00 mov [rsp+arg_8], rbp ; +0x5, 0x18005bb05 mov [rsp+arg_10], rsi ; +0xa, 0x18005bb0a push rdi ; +0xf, 0x18005bb0f sub rsp, 0C0h ; +0x10, 0x18005bb10 cmp [rsp+0C8h+arg_30], 0 ; +0x17, 0x18005bb17 mov rbx, r9 ; +0x1f, 0x18005bb1f mov edi, r8d ; +0x22, 0x18005bb22 mov rsi, rdx ; +0x25, 0x18005bb25 mov rbp, rcx ; +0x28, 0x18005bb28 jz short loc_18005BB42 ; +0x2b, 0x18005bb2b lea eax, [rdi+rdi*2] ; +0x2d, 0x18005bb2d xor edx, edx; Val ; +0x30, 0x18005bb30 lea r8d, [rax+rax] ; +0x32, 0x18005bb32 mov rcx, rsi; void * ; +0x36, 0x18005bb36 shl r8, 2; Size ; +0x39, 0x18005bb39 call memset ; +0x3d, 0x18005bb3d test edi, edi ; +0x42, 0x18005bb42 jle loc_18005BE97 ; +0x44, 0x18005bb44 movaps [rsp+0C8h+var_18], xmm6 ; +0x4a, 0x18005bb4a lea rax, [rsi+8] ; +0x52, 0x18005bb52 movaps [rsp+0C8h+var_28], xmm7 ; +0x56, 0x18005bb56 lea rcx, [rbp+8] ; +0x5e, 0x18005bb5e movaps [rsp+0C8h+var_38], xmm8 ; +0x62, 0x18005bb62 sub rsi, rbp ; +0x6b, 0x18005bb6b movaps [rsp+0C8h+var_48], xmm9 ; +0x6e, 0x18005bb6e mov rdx, rdi ; +0x77, 0x18005bb77 movaps [rsp+0C8h+var_58], xmm10 ; +0x7a, 0x18005bb7a movaps [rsp+0C8h+var_68], xmm11 ; +0x80, 0x18005bb80 movss xmm11, dword ptr [rbx+4] ; +0x86, 0x18005bb86 movaps [rsp+0C8h+var_78], xmm12 ; +0x8c, 0x18005bb8c movss xmm12, dword ptr [rbx] ; +0x92, 0x18005bb92 movaps [rsp+0C8h+var_88], xmm13 ; +0x97, 0x18005bb97 movss xmm13, dword ptr [rbx+8] ; +0x9d, 0x18005bb9d movaps [rsp+0C8h+var_98], xmm14 ; +0xa3, 0x18005bba3 movss xmm14, dword ptr [rbx+0Ch] ; +0xa9, 0x18005bba9 movaps [rsp+0C8h+var_A8], xmm15 ; +0xaf, 0x18005bbaf movss xmm15, dword ptr [rbx+10h] ; +0xb5, 0x18005bbb5 nop dword ptr [rax+rax+00h] ; +0xbb, 0x18005bbbb movss xmm6, dword ptr [rcx+4] ; +0xc0, 0x18005bbc0 movaps xmm3, xmm15 ; +0xc5, 0x18005bbc5 movss xmm5, dword ptr [rcx+8] ; +0xc9, 0x18005bbc9 movaps xmm0, xmm14 ; +0xce, 0x18005bbce movss xmm7, dword ptr [rcx+0Ch] ; +0xd2, 0x18005bbd2 movaps xmm2, xmm12 ; +0xd7, 0x18005bbd7 movss xmm8, dword ptr [rcx-8] ; +0xdb, 0x18005bbdb movss xmm9, dword ptr [rcx] ; +0xe1, 0x18005bbe1 movss xmm10, dword ptr [rcx-4] ; +0xe6, 0x18005bbe6 movss xmm1, dword ptr [rbx+14h] ; +0xec, 0x18005bbec movss xmm4, dword ptr [rbx+90h] ; +0xf1, 0x18005bbf1 mulss xmm1, xmm7 ; +0xf9, 0x18005bbf9 mulss xmm0, xmm6 ; +0xfd, 0x18005bbfd addss xmm1, dword ptr [rsi+rcx-8] ; +0x101, 0x18005bc01 mulss xmm2, xmm8 ; +0x107, 0x18005bc07 mulss xmm3, xmm5 ; +0x10c, 0x18005bc0c mulss xmm4, xmm5 ; +0x110, 0x18005bc10 addss xmm3, xmm0 ; +0x114, 0x18005bc14 movaps xmm0, xmm13 ; +0x118, 0x18005bc18 mulss xmm0, xmm9 ; +0x11c, 0x18005bc1c addss xmm2, xmm0 ; +0x121, 0x18005bc21 movss xmm0, dword ptr [rbx+8Ch] ; +0x125, 0x18005bc25 addss xmm3, xmm1 ; +0x12d, 0x18005bc2d mulss xmm0, xmm6 ; +0x131, 0x18005bc31 movaps xmm1, xmm11 ; +0x135, 0x18005bc35 mulss xmm1, xmm10 ; +0x139, 0x18005bc39 addss xmm4, xmm0 ; +0x13e, 0x18005bc3e movss xmm0, dword ptr [rbx+88h] ; +0x142, 0x18005bc42 mulss xmm0, xmm9 ; +0x14a, 0x18005bc4a addss xmm2, xmm1 ; +0x14f, 0x18005bc4f movss xmm1, dword ptr [rbx+94h] ; +0x153, 0x18005bc53 mulss xmm1, xmm7 ; +0x15b, 0x18005bc5b addss xmm1, dword ptr [rax-4] ; +0x15f, 0x18005bc5f addss xmm3, xmm2 ; +0x164, 0x18005bc64 movss xmm2, dword ptr [rbx+80h] ; +0x168, 0x18005bc68 mulss xmm2, xmm8 ; +0x170, 0x18005bc70 addss xmm4, xmm1 ; +0x175, 0x18005bc75 movss xmm1, dword ptr [rbx+84h] ; +0x179, 0x18005bc79 addss xmm2, xmm0 ; +0x181, 0x18005bc81 mulss xmm1, xmm10 ; +0x185, 0x18005bc85 movss xmm0, dword ptr [rbx+10Ch] ; +0x18a, 0x18005bc8a mulss xmm0, xmm6 ; +0x192, 0x18005bc92 addss xmm2, xmm1 ; +0x196, 0x18005bc96 movss dword ptr [rsi+rcx-8], xmm3 ; +0x19a, 0x18005bc9a movss xmm1, dword ptr [rbx+114h] ; +0x1a0, 0x18005bca0 movss xmm3, dword ptr [rbx+110h] ; +0x1a8, 0x18005bca8 mulss xmm1, xmm7 ; +0x1b0, 0x18005bcb0 addss xmm4, xmm2 ; +0x1b4, 0x18005bcb4 mulss xmm3, xmm5 ; +0x1b8, 0x18005bcb8 addss xmm1, dword ptr [rax] ; +0x1bc, 0x18005bcbc movss xmm2, dword ptr [rbx+100h] ; +0x1c0, 0x18005bcc0 addss xmm3, xmm0 ; +0x1c8, 0x18005bcc8 mulss xmm2, xmm8 ; +0x1cc, 0x18005bccc movss xmm0, dword ptr [rbx+108h] ; +0x1d1, 0x18005bcd1 mulss xmm0, xmm9 ; +0x1d9, 0x18005bcd9 addss xmm3, xmm1 ; +0x1de, 0x18005bcde movss dword ptr [rax-4], xmm4 ; +0x1e2, 0x18005bce2 movss xmm1, dword ptr [rbx+104h] ; +0x1e7, 0x18005bce7 movss xmm4, dword ptr [rbx+190h] ; +0x1ef, 0x18005bcef addss xmm2, xmm0 ; +0x1f7, 0x18005bcf7 movss xmm0, dword ptr [rbx+18Ch] ; +0x1fb, 0x18005bcfb mulss xmm1, xmm10 ; +0x203, 0x18005bd03 mulss xmm4, xmm5 ; +0x208, 0x18005bd08 addss xmm2, xmm1 ; +0x20c, 0x18005bd0c mulss xmm0, xmm6 ; +0x210, 0x18005bd10 movss xmm1, dword ptr [rbx+194h] ; +0x214, 0x18005bd14 mulss xmm1, xmm7 ; +0x21c, 0x18005bd1c addss xmm4, xmm0 ; +0x220, 0x18005bd20 movss xmm0, dword ptr [rbx+188h] ; +0x224, 0x18005bd24 addss xmm3, xmm2 ; +0x22c, 0x18005bd2c mulss xmm0, xmm9 ; +0x230, 0x18005bd30 addss xmm1, dword ptr [rax+4] ; +0x235, 0x18005bd35 movss xmm2, dword ptr [rbx+180h] ; +0x23a, 0x18005bd3a mulss xmm2, xmm8 ; +0x242, 0x18005bd42 movss dword ptr [rax], xmm3 ; +0x247, 0x18005bd47 addss xmm4, xmm1 ; +0x24b, 0x18005bd4b movss xmm1, dword ptr [rbx+184h] ; +0x24f, 0x18005bd4f addss xmm2, xmm0 ; +0x257, 0x18005bd57 mulss xmm1, xmm10 ; +0x25b, 0x18005bd5b addss xmm2, xmm1 ; +0x260, 0x18005bd60 addss xmm4, xmm2 ; +0x264, 0x18005bd64 movss xmm0, dword ptr [rbx+20Ch] ; +0x268, 0x18005bd68 add rcx, 18h ; +0x270, 0x18005bd70 movss xmm1, dword ptr [rbx+214h] ; +0x274, 0x18005bd74 movss xmm2, dword ptr [rbx+200h] ; +0x27c, 0x18005bd7c movss xmm3, dword ptr [rbx+210h] ; +0x284, 0x18005bd84 mulss xmm1, xmm7 ; +0x28c, 0x18005bd8c mulss xmm0, xmm6 ; +0x290, 0x18005bd90 addss xmm1, dword ptr [rax+8] ; +0x294, 0x18005bd94 mulss xmm2, xmm8 ; +0x299, 0x18005bd99 movss dword ptr [rax+4], xmm4 ; +0x29e, 0x18005bd9e movss xmm4, dword ptr [rbx+290h] ; +0x2a3, 0x18005bda3 mulss xmm3, xmm5 ; +0x2ab, 0x18005bdab mulss xmm4, xmm5 ; +0x2af, 0x18005bdaf addss xmm3, xmm0 ; +0x2b3, 0x18005bdb3 movss xmm0, dword ptr [rbx+208h] ; +0x2b7, 0x18005bdb7 mulss xmm0, xmm9 ; +0x2bf, 0x18005bdbf addss xmm2, xmm0 ; +0x2c4, 0x18005bdc4 movss xmm0, dword ptr [rbx+28Ch] ; +0x2c8, 0x18005bdc8 addss xmm3, xmm1 ; +0x2d0, 0x18005bdd0 mulss xmm0, xmm6 ; +0x2d4, 0x18005bdd4 movss xmm1, dword ptr [rbx+204h] ; +0x2d8, 0x18005bdd8 mulss xmm1, xmm10 ; +0x2e0, 0x18005bde0 addss xmm4, xmm0 ; +0x2e5, 0x18005bde5 movss xmm0, dword ptr [rbx+288h] ; +0x2e9, 0x18005bde9 mulss xmm0, xmm9 ; +0x2f1, 0x18005bdf1 addss xmm2, xmm1 ; +0x2f6, 0x18005bdf6 movss xmm1, dword ptr [rbx+294h] ; +0x2fa, 0x18005bdfa mulss xmm1, xmm7 ; +0x302, 0x18005be02 addss xmm1, dword ptr [rax+0Ch] ; +0x306, 0x18005be06 addss xmm3, xmm2 ; +0x30b, 0x18005be0b movss xmm2, dword ptr [rbx+280h] ; +0x30f, 0x18005be0f mulss xmm2, xmm8 ; +0x317, 0x18005be17 addss xmm4, xmm1 ; +0x31c, 0x18005be1c movss xmm1, dword ptr [rbx+284h] ; +0x320, 0x18005be20 addss xmm2, xmm0 ; +0x328, 0x18005be28 mulss xmm1, xmm10 ; +0x32c, 0x18005be2c movss dword ptr [rax+8], xmm3 ; +0x331, 0x18005be31 addss xmm2, xmm1 ; +0x336, 0x18005be36 addss xmm4, xmm2 ; +0x33a, 0x18005be3a movss dword ptr [rax+0Ch], xmm4 ; +0x33e, 0x18005be3e add rax, 18h ; +0x343, 0x18005be43 sub rdx, 1 ; +0x347, 0x18005be47 jnz loc_18005BBC0 ; +0x34b, 0x18005be4b movaps xmm15, [rsp+0C8h+var_A8] ; +0x351, 0x18005be51 movaps xmm14, [rsp+0C8h+var_98] ; +0x357, 0x18005be57 movaps xmm13, [rsp+0C8h+var_88] ; +0x35d, 0x18005be5d movaps xmm12, [rsp+0C8h+var_78] ; +0x363, 0x18005be63 movaps xmm11, [rsp+0C8h+var_68] ; +0x369, 0x18005be69 movaps xmm10, [rsp+0C8h+var_58] ; +0x36f, 0x18005be6f movaps xmm9, [rsp+0C8h+var_48] ; +0x375, 0x18005be75 movaps xmm8, [rsp+0C8h+var_38] ; +0x37e, 0x18005be7e movaps xmm7, [rsp+0C8h+var_28] ; +0x387, 0x18005be87 movaps xmm6, [rsp+0C8h+var_18] ; +0x38f, 0x18005be8f lea r11, [rsp+0C8h+var_8] ; +0x397, 0x18005be97 mov rbx, [r11+10h] ; +0x39f, 0x18005be9f mov rbp, [r11+18h] ; +0x3a3, 0x18005bea3 mov rsi, [r11+20h] ; +0x3a7, 0x18005bea7 mov rsp, r11 ; +0x3ab, 0x18005beab pop rdi ; +0x3ae, 0x18005beae retn ; +0x3af, 0x18005beaf