; ; sub_18005BEB0 from 0x18005beb0 to 0x18005c12f (639 bytes) ; ; 5 xrefs: ; > @ 0x1801ac4b8 ; > @ 0x1801ac528 ; > @ 0x1801ac598 ; > @ 0x1801f906c ; > @ 0x1801f9078 ; ; 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 rax, rsp ; +0x0, 0x18005beb0 mov [rax+8], rbx ; +0x3, 0x18005beb3 mov [rax+10h], rsi ; +0x7, 0x18005beb7 push rdi ; +0xb, 0x18005bebb sub rsp, 80h ; +0xc, 0x18005bebc cmp [rsp+88h+arg_30], 0 ; +0x13, 0x18005bec3 mov edi, r8d ; +0x1b, 0x18005becb movaps xmmword ptr [rax-18h], xmm6 ; +0x1e, 0x18005bece mov rbx, rdx ; +0x22, 0x18005bed2 movss xmm6, dword ptr [r9] ; +0x25, 0x18005bed5 mov rsi, rcx ; +0x2a, 0x18005beda movaps xmmword ptr [rax-28h], xmm7 ; +0x2d, 0x18005bedd movss xmm7, dword ptr [r9+4] ; +0x31, 0x18005bee1 movaps xmmword ptr [rax-38h], xmm8 ; +0x37, 0x18005bee7 movss xmm8, dword ptr [r9+8] ; +0x3c, 0x18005beec movaps xmmword ptr [rax-48h], xmm9 ; +0x42, 0x18005bef2 movss xmm9, dword ptr [r9+0Ch] ; +0x47, 0x18005bef7 movaps xmmword ptr [rax-58h], xmm10 ; +0x4d, 0x18005befd movss xmm10, dword ptr [r9+10h] ; +0x52, 0x18005bf02 movaps xmmword ptr [rax-68h], xmm11 ; +0x58, 0x18005bf08 movss xmm11, dword ptr [r9+14h] ; +0x5d, 0x18005bf0d jz short loc_18005BF2B ; +0x63, 0x18005bf13 lea eax, [r8+r8*2] ; +0x65, 0x18005bf15 xor edx, edx; Val ; +0x69, 0x18005bf19 lea r8d, [rax+rax] ; +0x6b, 0x18005bf1b mov rcx, rbx; void * ; +0x6f, 0x18005bf1f shl r8, 2; Size ; +0x72, 0x18005bf22 call memset ; +0x76, 0x18005bf26 mov eax, edi ; +0x7b, 0x18005bf2b shr eax, 2 ; +0x7d, 0x18005bf2d test eax, eax ; +0x80, 0x18005bf30 jz loc_18005C096 ; +0x82, 0x18005bf32 nop dword ptr [rax+rax+00000000h] ; +0x88, 0x18005bf38 movaps xmm3, xmm10 ; +0x90, 0x18005bf40 movaps xmm0, xmm9 ; +0x94, 0x18005bf44 mulss xmm0, dword ptr [rsi+0Ch] ; +0x98, 0x18005bf48 movaps xmm1, xmm11 ; +0x9d, 0x18005bf4d mulss xmm1, dword ptr [rsi+14h] ; +0xa1, 0x18005bf51 movaps xmm2, xmm8 ; +0xa6, 0x18005bf56 mulss xmm2, dword ptr [rsi+8] ; +0xaa, 0x18005bf5a movaps xmm4, xmm10 ; +0xaf, 0x18005bf5f addss xmm1, dword ptr [rbx] ; +0xb3, 0x18005bf63 mulss xmm3, dword ptr [rsi+10h] ; +0xb7, 0x18005bf67 mulss xmm4, dword ptr [rsi+28h] ; +0xbc, 0x18005bf6c addss xmm3, xmm0 ; +0xc1, 0x18005bf71 movaps xmm0, xmm6 ; +0xc5, 0x18005bf75 mulss xmm0, dword ptr [rsi] ; +0xc8, 0x18005bf78 addss xmm2, xmm0 ; +0xcc, 0x18005bf7c movaps xmm0, xmm9 ; +0xd0, 0x18005bf80 mulss xmm0, dword ptr [rsi+24h] ; +0xd4, 0x18005bf84 addss xmm3, xmm1 ; +0xd9, 0x18005bf89 movaps xmm1, xmm7 ; +0xdd, 0x18005bf8d mulss xmm1, dword ptr [rsi+4] ; +0xe0, 0x18005bf90 addss xmm4, xmm0 ; +0xe5, 0x18005bf95 movaps xmm0, xmm6 ; +0xe9, 0x18005bf99 mulss xmm0, dword ptr [rsi+18h] ; +0xec, 0x18005bf9c addss xmm2, xmm1 ; +0xf1, 0x18005bfa1 movaps xmm1, xmm11 ; +0xf5, 0x18005bfa5 mulss xmm1, dword ptr [rsi+2Ch] ; +0xf9, 0x18005bfa9 addss xmm1, dword ptr [rbx+18h] ; +0xfe, 0x18005bfae addss xmm3, xmm2 ; +0x103, 0x18005bfb3 movaps xmm2, xmm8 ; +0x107, 0x18005bfb7 mulss xmm2, dword ptr [rsi+20h] ; +0x10b, 0x18005bfbb addss xmm4, xmm1 ; +0x110, 0x18005bfc0 movaps xmm1, xmm7 ; +0x114, 0x18005bfc4 mulss xmm1, dword ptr [rsi+1Ch] ; +0x117, 0x18005bfc7 addss xmm2, xmm0 ; +0x11c, 0x18005bfcc movss dword ptr [rbx], xmm3 ; +0x120, 0x18005bfd0 movaps xmm0, xmm9 ; +0x124, 0x18005bfd4 mulss xmm0, dword ptr [rsi+3Ch] ; +0x128, 0x18005bfd8 movaps xmm3, xmm10 ; +0x12d, 0x18005bfdd mulss xmm3, dword ptr [rsi+40h] ; +0x131, 0x18005bfe1 addss xmm2, xmm1 ; +0x136, 0x18005bfe6 movaps xmm1, xmm11 ; +0x13a, 0x18005bfea mulss xmm1, dword ptr [rsi+44h] ; +0x13e, 0x18005bfee addss xmm3, xmm0 ; +0x143, 0x18005bff3 movaps xmm0, xmm6 ; +0x147, 0x18005bff7 mulss xmm0, dword ptr [rsi+30h] ; +0x14a, 0x18005bffa addss xmm4, xmm2 ; +0x14f, 0x18005bfff addss xmm1, dword ptr [rbx+30h] ; +0x153, 0x18005c003 movaps xmm2, xmm8 ; +0x158, 0x18005c008 mulss xmm2, dword ptr [rsi+38h] ; +0x15c, 0x18005c00c movss dword ptr [rbx+18h], xmm4 ; +0x161, 0x18005c011 movaps xmm4, xmm10 ; +0x166, 0x18005c016 mulss xmm4, dword ptr [rsi+58h] ; +0x16a, 0x18005c01a addss xmm3, xmm1 ; +0x16f, 0x18005c01f addss xmm2, xmm0 ; +0x173, 0x18005c023 movaps xmm1, xmm7 ; +0x177, 0x18005c027 mulss xmm1, dword ptr [rsi+34h] ; +0x17a, 0x18005c02a movaps xmm0, xmm9 ; +0x17f, 0x18005c02f mulss xmm0, dword ptr [rsi+54h] ; +0x183, 0x18005c033 addss xmm2, xmm1 ; +0x188, 0x18005c038 movaps xmm1, xmm11 ; +0x18c, 0x18005c03c mulss xmm1, dword ptr [rsi+5Ch] ; +0x190, 0x18005c040 addss xmm4, xmm0 ; +0x195, 0x18005c045 movaps xmm0, xmm6 ; +0x199, 0x18005c049 mulss xmm0, dword ptr [rsi+48h] ; +0x19c, 0x18005c04c addss xmm1, dword ptr [rbx+48h] ; +0x1a1, 0x18005c051 addss xmm3, xmm2 ; +0x1a6, 0x18005c056 movaps xmm2, xmm8 ; +0x1aa, 0x18005c05a mulss xmm2, dword ptr [rsi+50h] ; +0x1ae, 0x18005c05e addss xmm4, xmm1 ; +0x1b3, 0x18005c063 movaps xmm1, xmm7 ; +0x1b7, 0x18005c067 mulss xmm1, dword ptr [rsi+4Ch] ; +0x1ba, 0x18005c06a addss xmm2, xmm0 ; +0x1bf, 0x18005c06f add rsi, 60h ; '`' ; +0x1c3, 0x18005c073 movss dword ptr [rbx+30h], xmm3 ; +0x1c7, 0x18005c077 addss xmm2, xmm1 ; +0x1cc, 0x18005c07c addss xmm4, xmm2 ; +0x1d0, 0x18005c080 movss dword ptr [rbx+48h], xmm4 ; +0x1d4, 0x18005c084 add rbx, 60h ; '`' ; +0x1d9, 0x18005c089 add eax, 0FFFFFFFFh ; +0x1dd, 0x18005c08d jnz loc_18005BF40 ; +0x1e0, 0x18005c090 and edi, 3 ; +0x1e6, 0x18005c096 jz short loc_18005C0FC ; +0x1e9, 0x18005c099 lea rax, [rsi+8] ; +0x1eb, 0x18005c09b nop ; +0x1ef, 0x18005c09f movaps xmm0, xmm9 ; +0x1f0, 0x18005c0a0 movaps xmm1, xmm11 ; +0x1f4, 0x18005c0a4 mulss xmm0, dword ptr [rax+4] ; +0x1f8, 0x18005c0a8 movaps xmm3, xmm10 ; +0x1fd, 0x18005c0ad mulss xmm3, dword ptr [rax+8] ; +0x201, 0x18005c0b1 movaps xmm2, xmm6 ; +0x206, 0x18005c0b6 mulss xmm1, dword ptr [rax+0Ch] ; +0x209, 0x18005c0b9 mulss xmm2, dword ptr [rax-8] ; +0x20e, 0x18005c0be addss xmm3, xmm0 ; +0x213, 0x18005c0c3 addss xmm1, dword ptr [rbx] ; +0x217, 0x18005c0c7 movaps xmm0, xmm8 ; +0x21b, 0x18005c0cb mulss xmm0, dword ptr [rax] ; +0x21f, 0x18005c0cf addss xmm3, xmm1 ; +0x223, 0x18005c0d3 movaps xmm1, xmm7 ; +0x227, 0x18005c0d7 mulss xmm1, dword ptr [rax-4] ; +0x22a, 0x18005c0da addss xmm2, xmm0 ; +0x22f, 0x18005c0df add rax, 18h ; +0x233, 0x18005c0e3 addss xmm2, xmm1 ; +0x237, 0x18005c0e7 addss xmm3, xmm2 ; +0x23b, 0x18005c0eb movss dword ptr [rbx], xmm3 ; +0x23f, 0x18005c0ef add rbx, 18h ; +0x243, 0x18005c0f3 add edi, 0FFFFFFFFh ; +0x247, 0x18005c0f7 jnz short loc_18005C0A0 ; +0x24a, 0x18005c0fa movaps xmm6, [rsp+88h+var_18] ; +0x24c, 0x18005c0fc lea r11, [rsp+88h+var_8] ; +0x251, 0x18005c101 mov rbx, [r11+10h] ; +0x259, 0x18005c109 mov rsi, [r11+18h] ; +0x25d, 0x18005c10d movaps xmm8, xmmword ptr [r11-30h] ; +0x261, 0x18005c111 movaps xmm9, xmmword ptr [r11-40h] ; +0x266, 0x18005c116 movaps xmm10, xmmword ptr [r11-50h] ; +0x26b, 0x18005c11b movaps xmm11, xmmword ptr [r11-60h] ; +0x270, 0x18005c120 movaps xmm7, [rsp+88h+var_28] ; +0x275, 0x18005c125 mov rsp, r11 ; +0x27a, 0x18005c12a pop rdi ; +0x27d, 0x18005c12d retn ; +0x27e, 0x18005c12e