; ; sub_1800649E0 from 0x1800649e0 to 0x180064e1c (1084 bytes) ; ; 2 xrefs: ; > sub_1800648A0 @ 0x1800648a3 ; > @ 0x1801f92e8 ; ; 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, 0x1800649e0 mov [rsp+arg_8], rbp ; +0x5, 0x1800649e5 mov [rsp+arg_10], rsi ; +0xa, 0x1800649ea mov [rsp+arg_18], rdi ; +0xf, 0x1800649ef push r14 ; +0x14, 0x1800649f4 sub rsp, 30h ; +0x16, 0x1800649f6 mov rax, [rcx+0E8h] ; +0x1a, 0x1800649fa lea r14, [rcx+344h] ; +0x21, 0x180064a01 xor ebp, ebp ; +0x28, 0x180064a08 mov rbx, rcx ; +0x2a, 0x180064a0a mov [r14], ebp ; +0x2d, 0x180064a0d mov edi, ebp ; +0x30, 0x180064a10 cmp [rax+60h], ebp ; +0x32, 0x180064a12 jle short loc_180064A51 ; +0x35, 0x180064a15 mov esi, ebp ; +0x37, 0x180064a17 nop dword ptr [rax+00000000h] ; +0x39, 0x180064a19 mov rax, [rax+68h] ; +0x40, 0x180064a20 mov edx, edi ; +0x44, 0x180064a24 mov rcx, [rax+rsi] ; +0x46, 0x180064a26 movss xmm2, dword ptr [rcx+38h] ; +0x4a, 0x180064a2a mov rcx, rbx ; +0x4f, 0x180064a2f call sub_18009C0C0 ; +0x52, 0x180064a32 test eax, eax ; +0x57, 0x180064a37 jnz loc_180064E01 ; +0x59, 0x180064a39 mov rax, [rbx+0E8h] ; +0x5f, 0x180064a3f inc edi ; +0x66, 0x180064a46 add rsi, 8 ; +0x68, 0x180064a48 cmp edi, [rax+60h] ; +0x6c, 0x180064a4c jl short loc_180064A20 ; +0x6f, 0x180064a4f mov rax, [rbx+0A8h] ; +0x71, 0x180064a51 movss xmm5, dword ptr [rbx+224h] ; +0x78, 0x180064a58 movss dword ptr [rbx+220h], xmm5 ; +0x80, 0x180064a60 mov ecx, [rax+6D0h] ; +0x88, 0x180064a68 test r14, r14 ; +0x8e, 0x180064a6e jz short loc_180064A7C ; +0x91, 0x180064a71 mov eax, [rax+6D4h] ; +0x93, 0x180064a73 mov [r14], eax ; +0x99, 0x180064a79 movss xmm0, dword ptr [rbx+268h] ; +0x9c, 0x180064a7c movss xmm3, cs:dword_1801457E4 ; +0xa4, 0x180064a84 minss xmm0, xmm5 ; +0xac, 0x180064a8c movss xmm2, cs:dword_18014573C ; +0xb0, 0x180064a90 movd xmm4, ecx ; +0xb8, 0x180064a98 cvtdq2ps xmm4, xmm4 ; +0xbc, 0x180064a9c movss dword ptr [rbx+228h], xmm0 ; +0xbf, 0x180064a9f mulss xmm0, xmm4 ; +0xc7, 0x180064aa7 mulss xmm0, xmm3 ; +0xcb, 0x180064aab addss xmm0, xmm2 ; +0xcf, 0x180064aaf cvttss2si eax, xmm0 ; +0xd3, 0x180064ab3 mov [rbx+2A8h], eax ; +0xd7, 0x180064ab7 movss xmm0, dword ptr [rbx+26Ch] ; +0xdd, 0x180064abd minss xmm0, xmm5 ; +0xe5, 0x180064ac5 movss dword ptr [rbx+22Ch], xmm0 ; +0xe9, 0x180064ac9 mulss xmm0, xmm4 ; +0xf1, 0x180064ad1 mulss xmm0, xmm3 ; +0xf5, 0x180064ad5 addss xmm0, xmm2 ; +0xf9, 0x180064ad9 cvttss2si eax, xmm0 ; +0xfd, 0x180064add mov [rbx+2ACh], eax ; +0x101, 0x180064ae1 movss xmm1, dword ptr [rbx+270h] ; +0x107, 0x180064ae7 minss xmm1, xmm5 ; +0x10f, 0x180064aef movss dword ptr [rbx+230h], xmm1 ; +0x113, 0x180064af3 mulss xmm1, xmm4 ; +0x11b, 0x180064afb mulss xmm1, xmm3 ; +0x11f, 0x180064aff addss xmm1, xmm2 ; +0x123, 0x180064b03 cvttss2si eax, xmm1 ; +0x127, 0x180064b07 mov [rbx+2B0h], eax ; +0x12b, 0x180064b0b movss xmm0, dword ptr [rbx+274h] ; +0x131, 0x180064b11 minss xmm0, xmm5 ; +0x139, 0x180064b19 movss dword ptr [rbx+234h], xmm0 ; +0x13d, 0x180064b1d mulss xmm0, xmm4 ; +0x145, 0x180064b25 mulss xmm0, xmm3 ; +0x149, 0x180064b29 addss xmm0, xmm2 ; +0x14d, 0x180064b2d cvttss2si eax, xmm0 ; +0x151, 0x180064b31 mov [rbx+2B4h], eax ; +0x155, 0x180064b35 movss xmm1, dword ptr [rbx+278h] ; +0x15b, 0x180064b3b minss xmm1, xmm5 ; +0x163, 0x180064b43 movss dword ptr [rbx+238h], xmm1 ; +0x167, 0x180064b47 mulss xmm1, xmm4 ; +0x16f, 0x180064b4f mulss xmm1, xmm3 ; +0x173, 0x180064b53 addss xmm1, xmm2 ; +0x177, 0x180064b57 cvttss2si eax, xmm1 ; +0x17b, 0x180064b5b mov [rbx+2B8h], eax ; +0x17f, 0x180064b5f movss xmm0, dword ptr [rbx+27Ch] ; +0x185, 0x180064b65 minss xmm0, xmm5 ; +0x18d, 0x180064b6d movss dword ptr [rbx+23Ch], xmm0 ; +0x191, 0x180064b71 mulss xmm0, xmm4 ; +0x199, 0x180064b79 mulss xmm0, xmm3 ; +0x19d, 0x180064b7d addss xmm0, xmm2 ; +0x1a1, 0x180064b81 cvttss2si eax, xmm0 ; +0x1a5, 0x180064b85 mov [rbx+2BCh], eax ; +0x1a9, 0x180064b89 movss xmm1, dword ptr [rbx+280h] ; +0x1af, 0x180064b8f minss xmm1, xmm5 ; +0x1b7, 0x180064b97 movss dword ptr [rbx+240h], xmm1 ; +0x1bb, 0x180064b9b mulss xmm1, xmm4 ; +0x1c3, 0x180064ba3 mulss xmm1, xmm3 ; +0x1c7, 0x180064ba7 addss xmm1, xmm2 ; +0x1cb, 0x180064bab cvttss2si eax, xmm1 ; +0x1cf, 0x180064baf mov [rbx+2C0h], eax ; +0x1d3, 0x180064bb3 movss xmm0, dword ptr [rbx+284h] ; +0x1d9, 0x180064bb9 minss xmm0, xmm5 ; +0x1e1, 0x180064bc1 movss dword ptr [rbx+244h], xmm0 ; +0x1e5, 0x180064bc5 mulss xmm0, xmm4 ; +0x1ed, 0x180064bcd mulss xmm0, xmm3 ; +0x1f1, 0x180064bd1 addss xmm0, xmm2 ; +0x1f5, 0x180064bd5 cvttss2si eax, xmm0 ; +0x1f9, 0x180064bd9 mov [rbx+2C4h], eax ; +0x1fd, 0x180064bdd movss xmm1, dword ptr [rbx+288h] ; +0x203, 0x180064be3 minss xmm1, xmm5 ; +0x20b, 0x180064beb movss dword ptr [rbx+248h], xmm1 ; +0x20f, 0x180064bef mulss xmm1, xmm4 ; +0x217, 0x180064bf7 mulss xmm1, xmm3 ; +0x21b, 0x180064bfb addss xmm1, xmm2 ; +0x21f, 0x180064bff cvttss2si eax, xmm1 ; +0x223, 0x180064c03 mov [rbx+2C8h], eax ; +0x227, 0x180064c07 movss xmm0, dword ptr [rbx+28Ch] ; +0x22d, 0x180064c0d minss xmm0, xmm5 ; +0x235, 0x180064c15 movss dword ptr [rbx+24Ch], xmm0 ; +0x239, 0x180064c19 mulss xmm0, xmm4 ; +0x241, 0x180064c21 mulss xmm0, xmm3 ; +0x245, 0x180064c25 addss xmm0, xmm2 ; +0x249, 0x180064c29 cvttss2si eax, xmm0 ; +0x24d, 0x180064c2d mov [rbx+2CCh], eax ; +0x251, 0x180064c31 movss xmm1, dword ptr [rbx+290h] ; +0x257, 0x180064c37 minss xmm1, xmm5 ; +0x25f, 0x180064c3f movss dword ptr [rbx+250h], xmm1 ; +0x263, 0x180064c43 mulss xmm1, xmm4 ; +0x26b, 0x180064c4b mulss xmm1, xmm3 ; +0x26f, 0x180064c4f addss xmm1, xmm2 ; +0x273, 0x180064c53 cvttss2si eax, xmm1 ; +0x277, 0x180064c57 mov [rbx+2D0h], eax ; +0x27b, 0x180064c5b movss xmm0, dword ptr [rbx+294h] ; +0x281, 0x180064c61 minss xmm0, xmm5 ; +0x289, 0x180064c69 movss dword ptr [rbx+254h], xmm0 ; +0x28d, 0x180064c6d mulss xmm0, xmm4 ; +0x295, 0x180064c75 mulss xmm0, xmm3 ; +0x299, 0x180064c79 addss xmm0, xmm2 ; +0x29d, 0x180064c7d cvttss2si eax, xmm0 ; +0x2a1, 0x180064c81 mov [rbx+2D4h], eax ; +0x2a5, 0x180064c85 movss xmm1, dword ptr [rbx+298h] ; +0x2ab, 0x180064c8b minss xmm1, xmm5 ; +0x2b3, 0x180064c93 movss dword ptr [rbx+258h], xmm1 ; +0x2b7, 0x180064c97 mulss xmm1, xmm4 ; +0x2bf, 0x180064c9f mulss xmm1, xmm3 ; +0x2c3, 0x180064ca3 addss xmm1, xmm2 ; +0x2c7, 0x180064ca7 cvttss2si eax, xmm1 ; +0x2cb, 0x180064cab mov [rbx+2D8h], eax ; +0x2cf, 0x180064caf movss xmm0, dword ptr [rbx+29Ch] ; +0x2d5, 0x180064cb5 minss xmm0, xmm5 ; +0x2dd, 0x180064cbd movss dword ptr [rbx+25Ch], xmm0 ; +0x2e1, 0x180064cc1 mulss xmm0, xmm4 ; +0x2e9, 0x180064cc9 mulss xmm0, xmm3 ; +0x2ed, 0x180064ccd addss xmm0, xmm2 ; +0x2f1, 0x180064cd1 cvttss2si eax, xmm0 ; +0x2f5, 0x180064cd5 mov [rbx+2DCh], eax ; +0x2f9, 0x180064cd9 movss xmm1, dword ptr [rbx+2A0h] ; +0x2ff, 0x180064cdf minss xmm1, xmm5 ; +0x307, 0x180064ce7 movss dword ptr [rbx+260h], xmm1 ; +0x30b, 0x180064ceb mulss xmm1, xmm4 ; +0x313, 0x180064cf3 mulss xmm1, xmm3 ; +0x317, 0x180064cf7 addss xmm1, xmm2 ; +0x31b, 0x180064cfb cvttss2si eax, xmm1 ; +0x31f, 0x180064cff mov [rbx+2E0h], eax ; +0x323, 0x180064d03 movss xmm0, dword ptr [rbx+2A4h] ; +0x329, 0x180064d09 minss xmm0, xmm5 ; +0x331, 0x180064d11 mulss xmm5, xmm4 ; +0x335, 0x180064d15 mulss xmm5, xmm3 ; +0x339, 0x180064d19 movss dword ptr [rbx+264h], xmm0 ; +0x33d, 0x180064d1d mulss xmm0, xmm4 ; +0x345, 0x180064d25 addss xmm5, xmm2 ; +0x349, 0x180064d29 mulss xmm0, xmm3 ; +0x34d, 0x180064d2d cvttss2si edx, xmm5 ; +0x351, 0x180064d31 addss xmm0, xmm2 ; +0x355, 0x180064d35 inc edx ; +0x359, 0x180064d39 cvttss2si eax, xmm0 ; +0x35b, 0x180064d3b mov [rbx+2E4h], eax ; +0x35f, 0x180064d3f mov rax, [rbx+2F0h] ; +0x365, 0x180064d45 mov [rbx+2FCh], edx ; +0x36c, 0x180064d4c test rax, rax ; +0x372, 0x180064d52 jz short loc_180064D93 ; +0x375, 0x180064d55 mov rcx, cs:off_1801AED20 ; +0x377, 0x180064d57 lea r8, aCBuildagent1Wo_18; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x37e, 0x180064d5e mov r9d, 0AEh ; +0x385, 0x180064d65 mov [rsp+38h+var_18], 1 ; +0x38b, 0x180064d6b mov rdx, rax ; +0x390, 0x180064d70 mov rcx, [rcx+1A0h] ; +0x393, 0x180064d73 call sub_1800B6AA0 ; +0x39a, 0x180064d7a mov edx, [rbx+2FCh] ; +0x39f, 0x180064d7f mov [rbx+2E8h], rbp ; +0x3a5, 0x180064d85 mov [rbx+2F0h], rbp ; +0x3ac, 0x180064d8c imul edx, [r14] ; +0x3b3, 0x180064d93 lea rax, [rbx+2F8h] ; +0x3b7, 0x180064d97 mov r8, rax ; +0x3be, 0x180064d9e mov dword ptr [rsp+38h+var_18], ebp ; +0x3c1, 0x180064da1 mov r9d, 0BAh ; +0x3c5, 0x180064da5 lea r8, aCBuildagent1Wo_18; "C:\\buildagent1\\work\\570ad728b1678096"... ; +0x3cb, 0x180064dab mov [rax], edx ; +0x3d2, 0x180064db2 mov ecx, edx ; +0x3d4, 0x180064db4 lea edx, ds:0[rdx*4] ; +0x3d6, 0x180064db6 mov [rax], edx ; +0x3dd, 0x180064dbd add edx, 10h ; +0x3df, 0x180064dbf mov rcx, cs:off_1801AED20 ; +0x3e2, 0x180064dc2 mov rcx, [rcx+1A0h] ; +0x3e9, 0x180064dc9 call sub_1800B6880 ; +0x3f0, 0x180064dd0 mov [rbx+2F0h], rax ; +0x3f5, 0x180064dd5 lea rcx, [rax+0Fh] ; +0x3fc, 0x180064ddc and rcx, 0FFFFFFFFFFFFFFF0h ; +0x400, 0x180064de0 mov [rbx+2E8h], rcx ; +0x404, 0x180064de4 test rax, rax ; +0x40b, 0x180064deb jnz short loc_180064DF7 ; +0x40e, 0x180064dee mov eax, 26h ; '&' ; +0x410, 0x180064df0 jmp short loc_180064E01 ; +0x415, 0x180064df5 mov rcx, rbx ; +0x417, 0x180064df7 call sub_180066760 ; +0x41a, 0x180064dfa xor eax, eax ; +0x41f, 0x180064dff mov rbx, [rsp+38h+arg_0] ; +0x421, 0x180064e01 mov rbp, [rsp+38h+arg_8] ; +0x426, 0x180064e06 mov rsi, [rsp+38h+arg_10] ; +0x42b, 0x180064e0b mov rdi, [rsp+38h+arg_18] ; +0x430, 0x180064e10 add rsp, 30h ; +0x435, 0x180064e15 pop r14 ; +0x439, 0x180064e19 retn ; +0x43b, 0x180064e1b