; ; cocos2d::CCDirector::applySmoothFix from 0x1800c17b0 to 0x1800c1832 (130 bytes) ; ; 2 xrefs: ; > cocos2d::CCDirector::calculateDeltaTime @ 0x1800c18cd ; > @ 0x18014cf68 ; ; 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 11:22:25 +0000 ; cmp byte ptr [rcx+0B1h], 0 ; +0x0, 0x1800c17b0 jz short locret_1800C1831 ; +0x7, 0x1800c17b7 cmp byte ptr [rcx+0B2h], 0 ; +0x9, 0x1800c17b9 jz short locret_1800C1831 ; +0x10, 0x1800c17c0 movss xmm1, dword ptr [rcx+0A8h] ; +0x12, 0x1800c17c2 mov edx, [rcx+0B4h] ; +0x1a, 0x1800c17ca movsd xmm2, qword ptr [rcx+0C8h] ; +0x20, 0x1800c17d0 cvtpd2ps xmm2, xmm2 ; +0x28, 0x1800c17d8 lea eax, [rdx-2] ; +0x2c, 0x1800c17dc inc edx ; +0x2f, 0x1800c17df subss xmm1, xmm2 ; +0x31, 0x1800c17e1 movaps xmm0, xmm2 ; +0x35, 0x1800c17e5 mulss xmm0, cs:dword_18010DCE8 ; +0x38, 0x1800c17e8 andps xmm1, cs:xmmword_1800EC5C0 ; +0x40, 0x1800c17f0 comiss xmm1, xmm0 ; +0x47, 0x1800c17f7 cmovbe edx, eax ; +0x4a, 0x1800c17fa cmp edx, 64h ; 'd' ; +0x4d, 0x1800c17fd jge short loc_1800C181A ; +0x50, 0x1800c1800 cmp edx, 0FFFFFF9Ch ; +0x52, 0x1800c1802 jg short loc_1800C181F ; +0x55, 0x1800c1805 movss dword ptr [rcx+0A8h], xmm2 ; +0x57, 0x1800c1807 mov dword ptr [rcx+0B4h], 0FFFFFF9Ch ; +0x5f, 0x1800c180f retn ; +0x69, 0x1800c1819 mov edx, 64h ; 'd' ; +0x6a, 0x1800c181a mov [rcx+0B4h], edx ; +0x6f, 0x1800c181f test edx, edx ; +0x75, 0x1800c1825 jg short locret_1800C1831 ; +0x77, 0x1800c1827 movss dword ptr [rcx+0A8h], xmm2 ; +0x79, 0x1800c1829 retn ; +0x81, 0x1800c1831