//
// cocos2d::CCDirector::calculateMPF from 0xd4a14c to 0xd4a1cc (128 bytes)
//
// 2 xrefs:
// > cocos2d::CCDirector::drawScene @ 0xd4a298
// > ??> @ 0xf6868
//
// This function is hookable on this platform (idp: arm, 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 13:07:37 +0000
//
float __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *this)
{
float result; // s0
__int64 v3; // [xsp+28h] [xbp+28h] BYREF
int v4; // [xsp+30h] [xbp+30h]
cocos2d::CCTime::gettimeofdayCocos2d(&v3, 0);
result = (float)(v3 - **((_QWORD **)this + 38))
+ (float)((float)(v4 - *(_DWORD *)(*((_QWORD *)this + 38) + 8LL)) / 1000000.0);
*((float *)this + 67) = result;
return result;
}