//
// cocos2d::CCDirector::calculateMPF from 0x100483550 to 0x10048359f (79 bytes)
//
// 0 xrefs:
//
// 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
//
void __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *a1)
{
cocos2d::cc_timeval v1; // [rsp+8h] [rbp-18h] BYREF
cocos2d::CCTime::gettimeofdayCocos2d(&v1, nullptr);
a1->m_fSecondsPerFrame = (float)((float)(v1.tv_usec - a1->m_pLastUpdate->tv_usec) / 1000000.0)
+ (float)(LODWORD(v1.tv_sec) - a1->m_pLastUpdate->tv_sec);
}