; ; sub_18004E140 from 0x18004e140 to 0x18004e308 (456 bytes) ; ; 2 xrefs: ; > sub_18004DA30 @ 0x18004dbed ; > @ 0x1801f879c ; ; 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 ; push rbx ; +0x0, 0x18004e140 sub rsp, 50h ; +0x2, 0x18004e142 movsxd r8, dword ptr [rcx] ; +0x6, 0x18004e146 lea rbx, [rdx+8] ; +0x9, 0x18004e149 mov r9, [rcx+10h] ; +0xd, 0x18004e14d mov rax, r8 ; +0x11, 0x18004e151 movaps [rsp+58h+var_18], xmm6 ; +0x14, 0x18004e154 sar rax, 1 ; +0x19, 0x18004e159 movaps [rsp+58h+var_28], xmm7 ; +0x1c, 0x18004e15c movaps [rsp+58h+var_38], xmm8 ; +0x21, 0x18004e161 movaps [rsp+58h+var_48], xmm9 ; +0x27, 0x18004e167 lea r10, [rdx+rax*4] ; +0x2d, 0x18004e16d movaps [rsp+58h+var_58], xmm10 ; +0x31, 0x18004e171 mov rax, [rcx+8] ; +0x36, 0x18004e176 sub rdx, r9 ; +0x3a, 0x18004e17a movss xmm10, cs:dword_18014573C ; +0x3d, 0x18004e17d lea r11, [rax+r8*4] ; +0x46, 0x18004e186 lea r8, [r10+0Ch] ; +0x4a, 0x18004e18a xchg ax, ax ; +0x4e, 0x18004e18e movsxd rax, dword ptr [r9+4] ; +0x50, 0x18004e190 sub r8, 10h ; +0x54, 0x18004e194 movss xmm7, dword ptr [r11+4] ; +0x58, 0x18004e198 movsxd rcx, dword ptr [r9] ; +0x5e, 0x18004e19e movaps xmm0, xmm7 ; +0x61, 0x18004e1a1 movss xmm2, dword ptr [r11] ; +0x64, 0x18004e1a4 movss xmm8, dword ptr [r10+rax*4+4] ; +0x69, 0x18004e1a9 movaps xmm6, xmm2 ; +0x70, 0x18004e1b0 movss xmm4, dword ptr [r10+rcx*4+4] ; +0x73, 0x18004e1b3 movss xmm9, dword ptr [r10+rcx*4] ; +0x7a, 0x18004e1ba movaps xmm3, xmm4 ; +0x80, 0x18004e1c0 subss xmm3, xmm8 ; +0x83, 0x18004e1c3 movaps xmm1, xmm9 ; +0x88, 0x18004e1c8 addss xmm1, dword ptr [r10+rax*4] ; +0x8c, 0x18004e1cc subss xmm9, dword ptr [r10+rax*4] ; +0x92, 0x18004e1d2 addss xmm8, xmm4 ; +0x98, 0x18004e1d8 mulss xmm0, xmm3 ; +0x9d, 0x18004e1dd mulss xmm7, xmm1 ; +0xa1, 0x18004e1e1 mulss xmm6, xmm1 ; +0xa5, 0x18004e1e5 mulss xmm8, xmm10 ; +0xa9, 0x18004e1e9 addss xmm6, xmm0 ; +0xae, 0x18004e1ee mulss xmm2, xmm3 ; +0xb2, 0x18004e1f2 mulss xmm9, xmm10 ; +0xb6, 0x18004e1f6 subss xmm7, xmm2 ; +0xbb, 0x18004e1fb movaps xmm0, xmm6 ; +0xbf, 0x18004e1ff addss xmm0, xmm8 ; +0xc2, 0x18004e202 subss xmm8, xmm6 ; +0xc7, 0x18004e207 movss dword ptr [rdx+r9], xmm0 ; +0xcc, 0x18004e20c movaps xmm0, xmm7 ; +0xd2, 0x18004e212 movss dword ptr [r8-4], xmm8 ; +0xd5, 0x18004e215 addss xmm0, xmm9 ; +0xdb, 0x18004e21b subss xmm7, xmm9 ; +0xe0, 0x18004e220 movss dword ptr [rbx-4], xmm0 ; +0xe5, 0x18004e225 movss dword ptr [r8], xmm7 ; +0xea, 0x18004e22a movsxd rax, dword ptr [r9+0Ch] ; +0xef, 0x18004e22f movsxd rcx, dword ptr [r9+8] ; +0xf3, 0x18004e233 add r9, 10h ; +0xf7, 0x18004e237 movss xmm7, dword ptr [r11+0Ch] ; +0xfb, 0x18004e23b movss xmm2, dword ptr [r11+8] ; +0x101, 0x18004e241 movaps xmm6, xmm7 ; +0x107, 0x18004e247 movss xmm8, dword ptr [r10+rax*4+4] ; +0x10a, 0x18004e24a movaps xmm0, xmm2 ; +0x111, 0x18004e251 movss xmm4, dword ptr [r10+rcx*4+4] ; +0x114, 0x18004e254 add r11, 10h ; +0x11b, 0x18004e25b movss xmm9, dword ptr [r10+rcx*4] ; +0x11f, 0x18004e25f movaps xmm3, xmm4 ; +0x125, 0x18004e265 subss xmm3, xmm8 ; +0x128, 0x18004e268 movaps xmm1, xmm9 ; +0x12d, 0x18004e26d addss xmm1, dword ptr [r10+rax*4] ; +0x131, 0x18004e271 subss xmm9, dword ptr [r10+rax*4] ; +0x137, 0x18004e277 addss xmm8, xmm4 ; +0x13d, 0x18004e27d lea rcx, [r8-0Ch] ; +0x142, 0x18004e282 mulss xmm6, xmm3 ; +0x146, 0x18004e286 lea rax, [rdx+r9] ; +0x14a, 0x18004e28a mulss xmm0, xmm1 ; +0x14e, 0x18004e28e mulss xmm7, xmm1 ; +0x152, 0x18004e292 addss xmm6, xmm0 ; +0x156, 0x18004e296 mulss xmm8, xmm10 ; +0x15a, 0x18004e29a mulss xmm9, xmm10 ; +0x15f, 0x18004e29f mulss xmm2, xmm3 ; +0x164, 0x18004e2a4 movaps xmm0, xmm6 ; +0x168, 0x18004e2a8 addss xmm0, xmm8 ; +0x16b, 0x18004e2ab subss xmm7, xmm2 ; +0x170, 0x18004e2b0 subss xmm8, xmm6 ; +0x174, 0x18004e2b4 movss dword ptr [rbx], xmm0 ; +0x179, 0x18004e2b9 movaps xmm0, xmm7 ; +0x17d, 0x18004e2bd subss xmm7, xmm9 ; +0x180, 0x18004e2c0 addss xmm0, xmm9 ; +0x185, 0x18004e2c5 movss dword ptr [rcx], xmm8 ; +0x18a, 0x18004e2ca movss dword ptr [rbx+4], xmm0 ; +0x18f, 0x18004e2cf add rbx, 10h ; +0x194, 0x18004e2d4 movss dword ptr [r8-8], xmm7 ; +0x198, 0x18004e2d8 cmp rax, rcx ; +0x19e, 0x18004e2de jb loc_18004E190 ; +0x1a1, 0x18004e2e1 movaps xmm6, [rsp+58h+var_18] ; +0x1a7, 0x18004e2e7 movaps xmm7, [rsp+58h+var_28] ; +0x1ac, 0x18004e2ec movaps xmm8, [rsp+58h+var_38] ; +0x1b1, 0x18004e2f1 movaps xmm9, [rsp+58h+var_48] ; +0x1b7, 0x18004e2f7 movaps xmm10, [rsp+58h+var_58] ; +0x1bd, 0x18004e2fd add rsp, 50h ; +0x1c2, 0x18004e302 pop rbx ; +0x1c6, 0x18004e306 retn ; +0x1c7, 0x18004e307