; ; sub_18001FC20 from 0x18001fc20 to 0x18001fcc4 (164 bytes) ; ; 3 xrefs: ; > sub_180020140 @ 0x180020893 ; > sub_180021C90 @ 0x1800220c2 ; > sub_180022820 @ 0x18002282c ; ; This function is hookable on this platform (idp: pc, 32 bit: False, 64 bit: True! ; ; Using BromaIDA 8.3.0 @ https://github.com/Stazzical/BromaIDA ; Using bindings at commit 1c6ec395 at Thu Nov 26 21:29:22 2026 from https://github.com/geode-sdk/bindings ; Generated at Fri, 27 Nov 2026 10:52:57 +0000 ; mov eax, [rcx+3BE8h] ; +0x0, 0x18001fc20 xorps xmm2, xmm2 ; +0x6, 0x18001fc26 movd xmm0, dword ptr [rcx+3BD0h] ; +0x9, 0x18001fc29 cvtdq2ps xmm0, xmm0 ; +0x11, 0x18001fc31 mov dword ptr [rcx+3BBCh], 3F800000h ; +0x14, 0x18001fc34 cvtsi2ss xmm2, rax ; +0x1e, 0x18001fc3e mov rax, [rcx+8] ; +0x23, 0x18001fc43 mulss xmm0, dword ptr [rcx+3BF8h] ; +0x27, 0x18001fc47 divss xmm2, xmm0 ; +0x2f, 0x18001fc4f mulss xmm2, cs:dword_1801457E4 ; +0x33, 0x18001fc53 movss dword ptr [rcx+3BF0h], xmm2 ; +0x3b, 0x18001fc5b movd xmm3, dword ptr [rax+10h] ; +0x43, 0x18001fc63 mov eax, [rcx+3BB8h] ; +0x48, 0x18001fc68 cvtdq2ps xmm3, xmm3 ; +0x4e, 0x18001fc6e mulss xmm3, xmm2 ; +0x51, 0x18001fc71 mulss xmm3, cs:dword_1801457E4 ; +0x55, 0x18001fc75 movaps xmm0, xmm3 ; +0x5d, 0x18001fc7d addss xmm0, cs:dword_18014573C ; +0x60, 0x18001fc80 cvttss2si rdx, xmm0 ; +0x68, 0x18001fc88 mov [rcx+3BB4h], edx ; +0x6d, 0x18001fc8d cmp edx, eax ; +0x73, 0x18001fc93 jnb short loc_18001FC9F ; +0x75, 0x18001fc95 mov [rcx+3BB4h], eax ; +0x77, 0x18001fc97 jmp short loc_18001FCA1 ; +0x7d, 0x18001fc9d mov eax, edx ; +0x7f, 0x18001fc9f xorps xmm0, xmm0 ; +0x81, 0x18001fca1 cvtsi2ss xmm0, rax ; +0x84, 0x18001fca4 xor eax, eax ; +0x89, 0x18001fca9 divss xmm0, xmm3 ; +0x8b, 0x18001fcab movss dword ptr [rcx+3BBCh], xmm0 ; +0x8f, 0x18001fcaf mulss xmm0, xmm2 ; +0x97, 0x18001fcb7 movss dword ptr [rcx+3BF0h], xmm0 ; +0x9b, 0x18001fcbb retn ; +0xa3, 0x18001fcc3