; ; cocos2d::CCDirector::applySmoothFix from 0x1800bdf90 to 0x1800be012 (130 bytes) ; ; 2 xrefs: ; > cocos2d::CCDirector::calculateDeltaTime @ 0x1800be0ad ; > @ 0x1801438a8 ; ; 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 ; cmp byte ptr [rcx+0A9h], 0 ; +0x0, 0x1800bdf90 jz short locret_1800BE011 ; +0x7, 0x1800bdf97 cmp byte ptr [rcx+0AAh], 0 ; +0x9, 0x1800bdf99 jz short locret_1800BE011 ; +0x10, 0x1800bdfa0 mov edx, [rcx+0ACh] ; +0x12, 0x1800bdfa2 movsd xmm2, qword ptr [rcx+0C0h] ; +0x18, 0x1800bdfa8 movss xmm1, dword ptr [rcx+0A0h] ; +0x20, 0x1800bdfb0 cvtpd2ps xmm2, xmm2 ; +0x28, 0x1800bdfb8 lea eax, [rdx-2] ; +0x2c, 0x1800bdfbc inc edx ; +0x2f, 0x1800bdfbf subss xmm1, xmm2 ; +0x31, 0x1800bdfc1 movaps xmm0, xmm2 ; +0x35, 0x1800bdfc5 mulss xmm0, cs:dword_180107588 ; +0x38, 0x1800bdfc8 andps xmm1, cs:xmmword_1800E6560 ; +0x40, 0x1800bdfd0 comiss xmm1, xmm0 ; +0x47, 0x1800bdfd7 cmovbe edx, eax ; +0x4a, 0x1800bdfda cmp edx, 64h ; 'd' ; +0x4d, 0x1800bdfdd jge short loc_1800BDFFA ; +0x50, 0x1800bdfe0 cmp edx, 0FFFFFF9Ch ; +0x52, 0x1800bdfe2 jg short loc_1800BDFFF ; +0x55, 0x1800bdfe5 movss dword ptr [rcx+0A0h], xmm2 ; +0x57, 0x1800bdfe7 mov dword ptr [rcx+0ACh], 0FFFFFF9Ch ; +0x5f, 0x1800bdfef retn ; +0x69, 0x1800bdff9 mov edx, 64h ; 'd' ; +0x6a, 0x1800bdffa mov [rcx+0ACh], edx ; +0x6f, 0x1800bdfff test edx, edx ; +0x75, 0x1800be005 jg short locret_1800BE011 ; +0x77, 0x1800be007 movss dword ptr [rcx+0A0h], xmm2 ; +0x79, 0x1800be009 retn ; +0x81, 0x1800be011