; ; sub_180010680 from 0x180010680 to 0x180010711 (145 bytes) ; ; 3 xrefs: ; > @ 0x18016c740 ; > @ 0x18016c9b8 ; > @ 0x1801f6e34 ; ; 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, 58h ; +0x0, 0x180010680 movss [rsp+58h+arg_8], xmm1 ; +0x4, 0x180010684 mov eax, [rsp+58h+arg_8] ; +0xa, 0x18001068a and eax, 7F800000h ; +0xe, 0x18001068e cmp eax, 7F800000h ; +0x13, 0x180010693 jnz short loc_1800106A4 ; +0x18, 0x180010698 mov eax, 1Dh ; +0x1a, 0x18001069a add rsp, 58h ; +0x1f, 0x18001069f retn ; +0x23, 0x1800106a3 comiss xmm1, cs:X ; +0x24, 0x1800106a4 movss xmm0, cs:dword_180145744 ; +0x2b, 0x1800106ab xorps xmm3, xmm3 ; +0x33, 0x1800106b3 jnb short loc_1800106BD ; +0x36, 0x1800106b6 xorps xmm1, xmm1 ; +0x38, 0x1800106b8 jmp short loc_1800106D3 ; +0x3b, 0x1800106bb comiss xmm1, xmm0 ; +0x3d, 0x1800106bd jbe short loc_1800106C7 ; +0x40, 0x1800106c0 movaps xmm1, xmm0 ; +0x42, 0x1800106c2 jmp short loc_1800106D3 ; +0x45, 0x1800106c5 addss xmm1, xmm0 ; +0x47, 0x1800106c7 mulss xmm1, cs:dword_18014573C ; +0x4b, 0x1800106cb mov rax, [rcx] ; +0x53, 0x1800106d3 subss xmm0, xmm1 ; +0x56, 0x1800106d6 movss [rsp+58h+var_18], xmm3 ; +0x5a, 0x1800106da xorps xmm2, xmm2 ; +0x60, 0x1800106e0 sqrtss xmm2, xmm1 ; +0x63, 0x1800106e3 xorps xmm1, xmm1 ; +0x67, 0x1800106e7 movss [rsp+58h+var_20], xmm3 ; +0x6a, 0x1800106ea movss [rsp+58h+var_28], xmm3 ; +0x70, 0x1800106f0 sqrtss xmm1, xmm0 ; +0x76, 0x1800106f6 movss [rsp+58h+var_30], xmm3 ; +0x7a, 0x1800106fa movss [rsp+58h+var_38], xmm3 ; +0x80, 0x180010700 call qword ptr [rax+0B8h] ; +0x86, 0x180010706 add rsp, 58h ; +0x8c, 0x18001070c retn ; +0x90, 0x180010710