//
// cocos2d::CCDirector::pause from 0x5c3a58 to 0x5c3a7c (36 bytes)
//
// 1 xrefs:
// > AppDelegate::applicationDidEnterBackground @ 0x307b10
//
// 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 cocos2d::CCDirector::pause(cocos2d::CCDirector *a1)
{
if ( !a1->m_bPaused )
{
a1->m_dOldAnimationInterval = a1->m_dAnimationInterval;
((void (__fastcall *)(cocos2d::CCDirector *, void (__fastcall *)(cocos2d::CCDirector *__hidden, double), _DWORD, int))a1->setAnimationInterval)(
a1,
a1->setAnimationInterval,
0,
1070596096);
a1->m_bPaused = 1;
}
}