//
// 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
//
void __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *this, __int64 a2, struct cocos2d::timezone *a3)
{
int v4; // [rsp+30h] [rbp+8h] BYREF
int v5; // [rsp+34h] [rbp+Ch]
cocos2d::CCTime::gettimeofdayCocos2d((struct cocos2d::cc_timeval *)&v4, nullptr, a3);
*((float *)this + 67) = (float)((float)(v5 - *(_DWORD *)(*((_QWORD *)this + 38) + 4LL)) / 1000000.0)
+ (float)(v4 - **((_DWORD **)this + 38));
}