//
// cocos2d::CCDirector::pause from 0x100176488 to 0x1001764cc (68 bytes)
//
// 2 xrefs:
// > AppDelegate::applicationDidEnterBackground @ 0x1002694c0
// > -[AppController applicationWillResignActive:] @ 0x100269ba4
//
// 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 __fastcall cocos2d::CCDirector::pause(cocos2d::CCDirector *a1)
{
if ( !a1->m_bPaused )
{
a1->m_dOldAnimationInterval = a1->m_dAnimationInterval;
((void (__fastcall *)(cocos2d::CCDirector *, double))a1->setAnimationInterval)(a1, 0.25);
a1->m_bPaused = 1;
}
}