; ; sub_180066F20 from 0x180066f20 to 0x180066f7c (92 bytes) ; ; 1 xrefs: ; > @ 0x1801ac930 ; ; 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 r9, [rcx] ; +0x0, 0x180066f20 xorps xmm0, xmm0 ; +0x3, 0x180066f23 movss xmm1, dword ptr [r9+27Ch] ; +0x6, 0x180066f26 comiss xmm1, xmm0 ; +0xf, 0x180066f2f jnb short loc_180066F37 ; +0x12, 0x180066f32 xor eax, eax ; +0x14, 0x180066f34 retn ; +0x16, 0x180066f36 test edx, edx ; +0x17, 0x180066f37 jnz short loc_180066F6B ; +0x19, 0x180066f39 mov rax, [r9+0A8h] ; +0x1b, 0x180066f3b movd xmm0, dword ptr [rax+6D0h] ; +0x22, 0x180066f42 cvtdq2ps xmm0, xmm0 ; +0x2a, 0x180066f4a mulss xmm0, xmm1 ; +0x2d, 0x180066f4d cvttss2si rdx, xmm0 ; +0x31, 0x180066f51 xor eax, eax ; +0x36, 0x180066f56 mov ecx, edx ; +0x38, 0x180066f58 sub ecx, r8d ; +0x3a, 0x180066f5a cmp edx, r8d ; +0x3d, 0x180066f5d cmovbe ecx, eax ; +0x40, 0x180066f60 mov [r9+278h], ecx ; +0x43, 0x180066f63 retn ; +0x4a, 0x180066f6a mov eax, [r9+278h] ; +0x4b, 0x180066f6b mov edx, eax ; +0x52, 0x180066f72 test eax, eax ; +0x54, 0x180066f74 jnz short loc_180066F56 ; +0x56, 0x180066f76 lea eax, [rdx+0Bh] ; +0x58, 0x180066f78 retn ; +0x5b, 0x180066f7b