//
// 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
//
void __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *this, __int64 a2, struct cocos2d::timezone *a3)
{
struct cocos2d::cc_timeval v4; // [rsp+30h] [rbp+8h] BYREF
cocos2d::CCTime::gettimeofdayCocos2d(&v4, nullptr, a3);
this->m_fSecondsPerFrame = (float)((float)(v4.tv_usec - this->m_pLastUpdate->tv_usec) / 1000000.0)
+ (float)(v4.tv_sec - this->m_pLastUpdate->tv_sec);
}