; ; __common_scos_cout_rare from 0x180123ec0 to 0x180123f30 (112 bytes) ; ; 4 xrefs: ; > _sse2_cosf4 @ 0x1801220e9 ; > _sse4_cosf4 @ 0x180122a44 ; > @ 0x180202624 ; > @ 0x180202630 ; ; 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 ; sub rsp, 28h ; +0x0, 0x180123ec0 mov r8, rdx ; +0x4, 0x180123ec4 mov edx, [rcx] ; +0x7, 0x180123ec7 movzx eax, word ptr [rcx+2] ; +0x9, 0x180123ec9 mov [rsp+28h+var_8], edx ; +0xd, 0x180123ecd and eax, 7F80h ; +0x11, 0x180123ed1 shr edx, 18h ; +0x16, 0x180123ed6 and edx, 7Fh ; +0x19, 0x180123ed9 cmp eax, 7F80h ; +0x1c, 0x180123edc jnz short loc_180123F20 ; +0x21, 0x180123ee1 mov byte ptr [rsp+28h+var_8+3], dl ; +0x23, 0x180123ee3 cmp [rsp+28h+var_8], 7F800000h ; +0x27, 0x180123ee7 jnz short loc_180123F0C ; +0x2f, 0x180123eef movss xmm0, dword ptr [rcx] ; +0x31, 0x180123ef1 mov eax, 1 ; +0x35, 0x180123ef5 mulss xmm0, cs:dword_180208A00 ; +0x3a, 0x180123efa movss dword ptr [r8], xmm0 ; +0x42, 0x180123f02 add rsp, 28h ; +0x47, 0x180123f07 retn ; +0x4b, 0x180123f0b movss xmm0, dword ptr [rcx] ; +0x4c, 0x180123f0c xor eax, eax ; +0x50, 0x180123f10 mulss xmm0, dword ptr [rcx] ; +0x52, 0x180123f12 movss dword ptr [r8], xmm0 ; +0x56, 0x180123f16 add rsp, 28h ; +0x5b, 0x180123f1b retn ; +0x5f, 0x180123f1f xor eax, eax ; +0x60, 0x180123f20 add rsp, 28h ; +0x62, 0x180123f22 retn ; +0x66, 0x180123f26 align 10h ; +0x67, 0x180123f27