; ; sub_18006C640 from 0x18006c640 to 0x18006c72e (238 bytes) ; ; 4 xrefs: ; > sub_18006B8A0 @ 0x18006b970 ; > sub_18006BA00 @ 0x18006ba03 ; > sub_18006BD40 @ 0x18006be8e ; > @ 0x1801f9738 ; ; 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, 0x18006c640 sub rsp, 20h ; +0x2, 0x18006c642 xor eax, eax ; +0x6, 0x18006c646 mov rbx, rcx ; +0x8, 0x18006c648 mov [rcx+250h], rax ; +0xb, 0x18006c64b mov rcx, [rcx+240h]; void * ; +0x12, 0x18006c652 test rcx, rcx ; +0x19, 0x18006c659 jz short loc_18006C66C ; +0x1c, 0x18006c65c mov r8d, [rbx+24Ch]; Size ; +0x1e, 0x18006c65e xor edx, edx; Val ; +0x25, 0x18006c665 call memset ; +0x27, 0x18006c667 movss xmm1, dword ptr [rbx+8270h] ; +0x2c, 0x18006c66c movss xmm2, dword ptr [rbx+826Ch] ; +0x34, 0x18006c674 movss xmm0, cs:dword_180145744 ; +0x3c, 0x18006c67c movd xmm4, dword ptr [rbx+264h] ; +0x44, 0x18006c684 movss xmm3, dword ptr [rbx+8274h] ; +0x4c, 0x18006c68c movss dword ptr [rbx+224h], xmm1 ; +0x54, 0x18006c694 mulss xmm1, cs:dword_1801670CC ; +0x5c, 0x18006c69c cvtdq2ps xmm4, xmm4 ; +0x64, 0x18006c6a4 subss xmm0, xmm1 ; +0x67, 0x18006c6a7 movss dword ptr [rbx+220h], xmm2 ; +0x6b, 0x18006c6ab movss dword ptr [rbx+228h], xmm1 ; +0x73, 0x18006c6b3 movss xmm1, cs:dword_180166DD0 ; +0x7b, 0x18006c6bb movss dword ptr [rbx+230h], xmm3 ; +0x83, 0x18006c6c3 movss dword ptr [rbx+22Ch], xmm0 ; +0x8b, 0x18006c6cb movaps xmm0, xmm2 ; +0x93, 0x18006c6d3 mulss xmm0, cs:dword_18016808C ; +0x96, 0x18006c6d6 mulss xmm2, cs:dword_18014573C ; +0x9e, 0x18006c6de mulss xmm0, xmm4 ; +0xa6, 0x18006c6e6 mulss xmm0, cs:dword_1801457E4 ; +0xaa, 0x18006c6ea mulss xmm0, xmm2 ; +0xb2, 0x18006c6f2 comiss xmm0, xmm1 ; +0xb6, 0x18006c6f6 movss dword ptr [rbx+25Ch], xmm0 ; +0xb9, 0x18006c6f9 jnb short loc_18006C70F ; +0xc1, 0x18006c701 mov dword ptr [rbx+25Ch], 40800000h ; +0xc3, 0x18006c703 jmp short loc_18006C712 ; +0xcd, 0x18006c70d movaps xmm1, xmm0 ; +0xcf, 0x18006c70f divss xmm3, xmm4 ; +0xd2, 0x18006c712 xor eax, eax ; +0xd6, 0x18006c716 movss dword ptr [rbx+260h], xmm1 ; +0xd8, 0x18006c718 movss dword ptr [rbx+258h], xmm3 ; +0xe0, 0x18006c720 add rsp, 20h ; +0xe8, 0x18006c728 pop rbx ; +0xec, 0x18006c72c retn ; +0xed, 0x18006c72d