; ; cocos2d::CCDirector::calculateMPF from 0x1800be0d0 to 0x1800be121 (81 bytes) ; ; 2 xrefs: ; > @ 0x1801438a8 ; > @ 0x1801b915c ; ; 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 ; push rbx ; +0x0, 0x1800be0d0 sub rsp, 20h ; +0x2, 0x1800be0d2 mov rbx, rcx ; +0x6, 0x1800be0d6 xor edx, edx; void * ; +0x9, 0x1800be0d9 lea rcx, [rsp+28h+arg_0]; struct cocos2d::cc_timeval * ; +0xb, 0x1800be0db call ?gettimeofdayCocos2d@CCTime@cocos2d@@SAHPEAUcc_timeval@2@PEAX@Z; cocos2d::CCTime::gettimeofdayCocos2d(cocos2d::cc_timeval *,void *) ; +0x10, 0x1800be0e0 mov rdx, [rbx+128h] ; +0x15, 0x1800be0e5 mov eax, [rsp+28h+arg_4] ; +0x1c, 0x1800be0ec sub eax, [rdx+4] ; +0x20, 0x1800be0f0 movd xmm1, eax ; +0x23, 0x1800be0f3 mov eax, [rsp+28h+arg_0] ; +0x27, 0x1800be0f7 sub eax, [rdx] ; +0x2b, 0x1800be0fb cvtdq2ps xmm1, xmm1 ; +0x2d, 0x1800be0fd movd xmm0, eax ; +0x30, 0x1800be100 divss xmm1, cs:dword_1801075A4 ; +0x34, 0x1800be104 cvtdq2ps xmm0, xmm0 ; +0x3c, 0x1800be10c addss xmm1, xmm0 ; +0x3f, 0x1800be10f movss dword ptr [rbx+104h], xmm1 ; +0x43, 0x1800be113 add rsp, 20h ; +0x4b, 0x1800be11b pop rbx ; +0x4f, 0x1800be11f retn ; +0x50, 0x1800be120