//
// cocos2d::CCDirector::calculateMPF from 0x7cadd4 to 0x7cae2c (88 bytes)
//
// 1 xrefs:
// > cocos2d::CCDirector::drawScene @ 0x7caecc
//
// This function is hookable on this platform (idp: arm, 32 bit: True, 64 bit: False!
//
// 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 12:00:30 +0000
//
int __fastcall cocos2d::CCDirector::calculateMPF(cocos2d::CCDirector *this)
{
int result; // r0
_DWORD v3[2]; // [sp+4h] [bp-10h] BYREF
result = cocos2d::CCTime::gettimeofdayCocos2d(v3, 0);
*((float *)this + 54) = (float)(v3[0] - **((_DWORD **)this + 59))
+ (float)((float)(v3[1] - *(_DWORD *)(*((_DWORD *)this + 59) + 4)) / 1000000.0);
return result;
}