; ; cocos2d::CCDirector::calculateMPF from 0x1800c18f0 to 0x1800c1941 (81 bytes) ; ; 2 xrefs: ; > @ 0x18014cf68 ; > @ 0x1801c3414 ; ; 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 ; push rbx ; +0x0, 0x1800c18f0 sub rsp, 20h ; +0x2, 0x1800c18f2 mov rbx, rcx ; +0x6, 0x1800c18f6 xor edx, edx; void * ; +0x9, 0x1800c18f9 lea rcx, [rsp+28h+arg_0]; struct cocos2d::cc_timeval * ; +0xb, 0x1800c18fb call ?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x10, 0x1800c1900 mov rdx, [rbx+130h] ; +0x15, 0x1800c1905 mov eax, [rsp+28h+arg_4] ; +0x1c, 0x1800c190c sub eax, [rdx+4] ; +0x20, 0x1800c1910 movd xmm1, eax ; +0x23, 0x1800c1913 mov eax, [rsp+28h+arg_0] ; +0x27, 0x1800c1917 sub eax, [rdx] ; +0x2b, 0x1800c191b cvtdq2ps xmm1, xmm1 ; +0x2d, 0x1800c191d movd xmm0, eax ; +0x30, 0x1800c1920 divss xmm1, cs:dword_18010DCF8 ; +0x34, 0x1800c1924 cvtdq2ps xmm0, xmm0 ; +0x3c, 0x1800c192c addss xmm1, xmm0 ; +0x3f, 0x1800c192f movss dword ptr [rbx+10Ch], xmm1 ; +0x43, 0x1800c1933 add rsp, 20h ; +0x4b, 0x1800c193b pop rbx ; +0x4f, 0x1800c193f retn ; +0x50, 0x1800c1940