//
// cocos2d::CCDirector::resume from 0x100207a4c to 0x100207a98 (76 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationWillEnterForeground @ 0x1003072d8
// > -[AppController applicationDidBecomeActive:] @ 0x100307938
//
// 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 11:00:57 +0000
//
__int64 __fastcall cocos2d::CCDirector::resume(__int64 result)
{
__int64 v1; // x19
if ( *(_BYTE *)(result + 256) == 1 )
{
v1 = result;
(*(void (__fastcall **)(__int64, double))(*(_QWORD *)result + 96LL))(result, *(double *)(result + 208));
result = cocos2d::CCTime::gettimeofdayCocos2d(*(_QWORD *)(v1 + 304), 0);
*(_BYTE *)(v1 + 256) = 0;
*(_QWORD *)(v1 + 168) = 0;
}
return result;
}